|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6XX":function(D,_,e){var g=e("y1pI");function f(y){return g(this.__data__,y)>-1}D.exports=f},"+BJd":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6MrE"),m=e.n(y)},"+QRC":function(D,_,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},y="Copy to clipboard: #{key}, Enter";function m(h){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,c)}function v(h,c){var a,i,r,o,d,n,l=!1;c||(c={}),a=c.debug||!1;try{r=g(),o=document.createRange(),d=document.getSelection(),n=document.createElement("span"),n.textContent=h,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(s){if(s.stopPropagation(),c.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=f[c.format]||f.default;window.clipboardData.setData(u,h)}else s.clipboardData.clearData(),s.clipboardData.setData(c.format,h);c.onCopy&&(s.preventDefault(),c.onCopy(s.clipboardData))}),document.body.appendChild(n),o.selectNodeContents(n),d.addRange(o);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(s){a&&console.error("unable to copy using execCommand: ",s),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",h),c.onCopy&&c.onCopy(window.clipboardData),l=!0}catch(u){a&&console.error("unable to copy using clipboardData: ",u),a&&console.error("falling back to prompt"),i=m("message"in c?c.message:y),window.prompt(i,h)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(o):d.removeAllRanges()),n&&document.body.removeChild(n),r()}return l}D.exports=v},"+TT/":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),m=y.parsePercent,v=e("7aKB"),h=g.each,c=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function i(b,E,A,S,T){var L=0,x=0;S==null&&(S=Infinity),T==null&&(T=Infinity);var C=0;E.eachChild(function(O,N){var F=O.position,k=O.getBoundingRect(),P=E.childAt(N+1),B=P&&P.getBoundingRect(),z,R;if(b==="horizontal"){var U=k.width+(B?-B.x+k.x:0);z=L+U,z>S||O.newline?(L=0,z=U,x+=C+A,C=k.height):C=Math.max(C,k.height)}else{var j=k.height+(B?-B.y+k.y:0);R=x+j,R>T||O.newline?(L+=C+A,x=0,R=j,C=k.width):C=Math.max(C,k.width)}if(O.newline)return;F[0]=L,F[1]=x,b==="horizontal"?L=z+A:x=R+A})}var r=i,o=g.curry(i,"vertical"),d=g.curry(i,"horizontal");function n(b,E,A){var S=E.width,T=E.height,L=m(b.x,S),x=m(b.y,T),C=m(b.x2,S),O=m(b.y2,T);return(isNaN(L)||isNaN(parseFloat(b.x)))&&(L=0),(isNaN(C)||isNaN(parseFloat(b.x2)))&&(C=S),(isNaN(x)||isNaN(parseFloat(b.y)))&&(x=0),(isNaN(O)||isNaN(parseFloat(b.y2)))&&(O=T),A=v.normalizeCssArray(A||0),{width:Math.max(C-L-A[1]-A[3],0),height:Math.max(O-x-A[0]-A[2],0)}}function l(b,E,A){A=v.normalizeCssArray(A||0);var S=E.width,T=E.height,L=m(b.left,S),x=m(b.top,T),C=m(b.right,S),O=m(b.bottom,T),N=m(b.width,S),F=m(b.height,T),k=A[2]+A[0],P=A[1]+A[3],B=b.aspect;isNaN(N)&&(N=S-C-P-L),isNaN(F)&&(F=T-O-k-x),B!=null&&(isNaN(N)&&isNaN(F)&&(B>S/T?N=S*.8:F=T*.8),isNaN(N)&&(N=B*F),isNaN(F)&&(F=N/B)),isNaN(L)&&(L=S-C-N-P),isNaN(x)&&(x=T-O-F-k);switch(b.left||b.right){case"center":L=S/2-N/2-A[3];break;case"right":L=S-N-P;break}switch(b.top||b.bottom){case"middle":case"center":x=T/2-F/2-A[0];break;case"bottom":x=T-F-k;break}L=L||0,x=x||0,isNaN(N)&&(N=S-P-L-(C||0)),isNaN(F)&&(F=T-k-x-(O||0));var z=new f(L+A[3],x+A[0],N,F);return z.margin=A,z}function t(b,E,A,S,T){var L=!T||!T.hv||T.hv[0],x=!T||!T.hv||T.hv[1],C=T&&T.boundingMode||"all";if(!L&&!x)return;var O;if(C==="raw")O=b.type==="group"?new f(0,0,+E.width||0,+E.height||0):b.getBoundingRect();else if(O=b.getBoundingRect(),b.needLocalTransform()){var N=b.getLocalTransform();O=O.clone(),O.applyTransform(N)}E=l(g.defaults({width:O.width,height:O.height},E),A,S);var F=b.position,k=L?E.x-O.x:0,P=x?E.y-O.y:0;b.attr("position",C==="raw"?[k,P]:[F[0]+k,F[1]+P])}function s(b,E){return b[a[E][0]]!=null||b[a[E][1]]!=null&&b[a[E][2]]!=null}function u(b,E,A){!g.isObject(A)&&(A={});var S=A.ignoreSize;!g.isArray(S)&&(S=[S,S]);var T=x(a[0],0),L=x(a[1],1);N(a[0],b,T),N(a[1],b,L);function x(F,k){var P={},B=0,z={},R=0,U=2;if(h(F,function(V){z[V]=b[V]}),h(F,function(V){C(E,V)&&(P[V]=z[V]=E[V]),O(P,V)&&B++,O(z,V)&&R++}),S[k])return O(E,F[1])?z[F[2]]=null:O(E,F[2])&&(z[F[1]]=null),z;if(R===U||!B)return z;if(B>=U)return P;for(var j=0;j<F.length;j++){var H=F[j];if(!C(P,H)&&C(b,H)){P[H]=b[H];break}}return P}function C(F,k){return F.hasOwnProperty(k)}function O(F,k){return F[k]!=null&&F[k]!=="auto"}function N(F,k,P){h(F,function(B){k[B]=P[B]})}}function p(b){return w({},b)}function w(b,E){return E&&b&&h(c,function(A){E.hasOwnProperty(A)&&(b[A]=E[A])}),b}_.LOCATION_PARAMS=c,_.HV_NAMES=a,_.box=r,_.vbox=o,_.hbox=d,_.getAvailableSize=n,_.getLayoutRect=l,_.positionElement=t,_.sizeCalculable=s,_.mergeLayoutParam=u,_.getLayoutParams=p,_.copyLayoutParams=w},"+Zaj":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ugBc")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CalendarOutlined";var c=y.forwardRef(h);_.default=c},"+d4F":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"+eQT":function(D,_,e){"use strict";var g=e("wd/R"),f=e.n(g),y=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(jt){var Jt=jt.clone().locale("en_US");return Jt.weekday()+Jt.localeData().firstDayOfWeek()},getYear:function(jt){return jt.year()},getMonth:function(jt){return jt.month()},getDate:function(jt){return jt.date()},getHour:function(jt){return jt.hour()},getMinute:function(jt){return jt.minute()},getSecond:function(jt){return jt.second()},addYear:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"year")},addMonth:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"month")},addDate:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"day")},setYear:function(jt,Jt){var nr=jt.clone();return nr.year(Jt)},setMonth:function(jt,Jt){var nr=jt.clone();return nr.month(Jt)},setDate:function(jt,Jt){var nr=jt.clone();return nr.date(Jt)},setHour:function(jt,Jt){var nr=jt.clone();return nr.hour(Jt)},setMinute:function(jt,Jt){var nr=jt.clone();return nr.minute(Jt)},setSecond:function(jt,Jt){var nr=jt.clone();return nr.second(Jt)},isAfter:function(jt,Jt){return jt.isAfter(Jt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Jt=f()().locale(jt);return Jt.localeData().firstDayOfWeek()},getWeek:function(jt,Jt){var nr=Jt.clone(),Or=nr.locale(jt);return Or.week()},getShortWeekDays:function(jt){var Jt=f()().locale(jt);return Jt.localeData().weekdaysMin()},getShortMonths:function(jt){var Jt=f()().locale(jt);return Jt.localeData().monthsShort()},format:function(jt,Jt,nr){var Or=Jt.clone(),wr=Or.locale(jt);return wr.format(nr)},parse:function(jt,Jt,nr){for(var Or=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],zr=Jt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Jr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Zr=zr.match(/[-\d]+/g);Jr&&Zr?(Er=Jr.join(""),zr=Zr.join("")):Or.push(Er.replace(/o/g,""))}var an=f()(zr,Er,jt,!0);if(an.isValid())return an}for(var St=0;St<Or.length;St+=1){var Vt=f()(Jt,Or[St],jt,!1);if(Vt.isValid())return Object(y.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Vt}return null}}},v=m,h=e("pVnL"),c=e.n(h),a=e("q1tI"),i=e("2/Rp");function r(rt){return a.createElement(i.a,c()({size:"small",type:"primary"},rt))}var o=e("mr32");function d(rt){return a.createElement(o.a,c()({color:"blue"},rt))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),s=e.n(t),u=e("W8MJ"),p=e.n(u),w=e("7W2i"),b=e.n(w),E=e("LQ03"),A=e.n(E),S=e("TSYQ"),T=e.n(S),L=e("r/2G"),x=e.n(L),C=e("XzQk"),O=e.n(C),N=e("kbBi"),F=e.n(N),k=e("1OyB"),P=e("vuIU"),B=e("Ji7U"),z=e("LK+K"),R=e("rePB"),U=e("VTBJ"),j=e("ODXe"),H=e("6cGi"),V=e("U8pU"),X=e("4IlW"),W=a.createContext({}),G=W,$={visibility:"hidden"};function ge(rt){var jt=rt.prefixCls,Jt=rt.prevIcon,nr=Jt===void 0?"\u2039":Jt,Or=rt.nextIcon,wr=Or===void 0?"\u203A":Or,Er=rt.superPrevIcon,zr=Er===void 0?"\xAB":Er,Jr=rt.superNextIcon,Zr=Jr===void 0?"\xBB":Jr,an=rt.onSuperPrev,St=rt.onSuperNext,Vt=rt.onPrev,sr=rt.onNext,br=rt.children,Mr=a.useContext(G),Dr=Mr.hideNextBtn,rn=Mr.hidePrevBtn;return a.createElement("div",{className:jt},an&&a.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(jt,"-super-prev-btn"),style:rn?$:{}},zr),Vt&&a.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?$:{}},nr),a.createElement("div",{className:"".concat(jt,"-view")},br),sr&&a.createElement("button",{type:"button",onClick:sr,tabIndex:-1,className:"".concat(jt,"-next-btn"),style:Dr?$:{}},wr),St&&a.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?$:{}},Zr))}var q=ge;function Se(rt){var jt=a.useContext(G),Jt=jt.hideHeader;if(Jt)return null;var nr=rt.prefixCls,Or=rt.generateConfig,wr=rt.locale,Er=rt.value,zr=rt.format,Jr="".concat(nr,"-header");return a.createElement(q,{prefixCls:Jr},Er?Or.locale.format(wr.locale,Er,zr):"\xA0")}var Ce=Se,Ae=e("YrtM"),Ue=e("KQm4"),Qe=new Map;function gt(rt,jt,Jt){if(Qe.get(rt)&&cancelAnimationFrame(Qe.get(rt)),Jt<=0){Qe.set(rt,requestAnimationFrame(function(){rt.scrollTop=jt}));return}var nr=jt-rt.scrollTop,Or=nr/Jt*10;Qe.set(rt,requestAnimationFrame(function(){rt.scrollTop+=Or,rt.scrollTop!==jt&>(rt,jt,Jt-10)}))}function _e(rt,jt){var Jt=jt.onLeftRight,nr=jt.onCtrlLeftRight,Or=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,zr=rt.which,Jr=rt.ctrlKey,Zr=rt.metaKey;switch(zr){case X.a.LEFT:if(Jr||Zr){if(nr)return nr(-1),!0}else if(Jt)return Jt(-1),!0;break;case X.a.RIGHT:if(Jr||Zr){if(nr)return nr(1),!0}else if(Jt)return Jt(1),!0;break;case X.a.UP:if(Or)return Or(-1),!0;break;case X.a.DOWN:if(Or)return Or(1),!0;break;case X.a.PAGE_UP:if(wr)return wr(-1),!0;break;case X.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case X.a.ENTER:if(Er)return Er(),!0;break}return!1}function Oe(rt,jt,Jt,nr){var Or=rt;if(!Or)switch(jt){case"time":Or=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=Jt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function lt(rt,jt){var Jt=rt==="time"?8:10;return Math.max(Jt,jt.length)+2}var ce=null,Y=new Set;function K(rt){return!ce&&typeof window!="undefined"&&window.addEventListener&&(ce=function(Jt){Object(Ue.a)(Y).forEach(function(nr){nr(Jt)})},window.addEventListener("mousedown",ce)),Y.add(rt),function(){Y.delete(rt),Y.size===0&&(window.removeEventListener("mousedown",ce),ce=null)}}var Q=function(jt){return jt==="month"||jt==="date"?"year":jt},ye=function(jt){return jt==="date"?"month":jt},ue=function(jt){return jt==="month"||jt==="date"?"quarter":jt},Ne=function(jt){return jt==="date"?"week":jt},Te={year:Q,month:ye,quarter:ue,week:Ne,time:null,date:null};function oe(rt,jt){return rt.some(function(Jt){return Jt&&Jt.contains(jt)})}function de(rt){var jt=rt.prefixCls,Jt=rt.units,nr=rt.onSelect,Or=rt.value,wr=rt.active,Er=rt.hideDisabledOptions,zr="".concat(jt,"-cell"),Jr=a.useContext(G),Zr=Jr.open,an=a.useRef(null),St=a.useRef(new Map);return a.useLayoutEffect(function(){var Vt=St.current.get(Or);Vt&&Zr!==!1&>(an.current,Vt.offsetTop,120)},[Or]),a.useLayoutEffect(function(){if(Zr){var Vt=St.current.get(Or);Vt&>(an.current,Vt.offsetTop,0)}},[Zr]),a.createElement("ul",{className:T()("".concat(jt,"-column"),Object(R.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Jt.map(function(Vt){var sr;return Er&&Vt.disabled?null:a.createElement("li",{key:Vt.value,ref:function(Mr){St.current.set(Vt.value,Mr)},className:T()(zr,(sr={},Object(R.a)(sr,"".concat(zr,"-disabled"),Vt.disabled),Object(R.a)(sr,"".concat(zr,"-selected"),Or===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},a.createElement("div",{className:"".concat(zr,"-inner")},Vt.label))}))}var Le=de;function Ge(rt,jt){for(var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(rt);nr.length<jt;)nr="".concat(Jt).concat(rt);return nr}var ht=function(){for(var jt=arguments.length,Jt=new Array(jt),nr=0;nr<jt;nr++)Jt[nr]=arguments[nr];return Jt};function Et(rt){return rt==null?[]:Array.isArray(rt)?rt:[rt]}function Be(rt){var jt={};return Object.keys(rt).forEach(function(Jt){(Jt.substr(0,5)==="data-"||Jt.substr(0,5)==="aria-"||Jt==="role"||Jt==="name")&&Jt.substr(0,7)!=="data-__"&&(jt[Jt]=rt[Jt])}),jt}function Dt(rt,jt){return rt?rt[jt]:null}function Ke(rt,jt,Jt){var nr=[Dt(rt,0),Dt(rt,1)];return nr[Jt]=typeof jt=="function"?jt(nr[Jt]):jt,!nr[0]&&!nr[1]?null:nr}function At(rt,jt,Jt,nr,Or){var wr=rt.setHour(jt,Jt);return wr=rt.setMinute(wr,nr),wr=rt.setSecond(wr,Or),wr}function Xe(rt,jt,Jt,nr,Or,wr){var Er=Math.floor(rt/nr)*nr;if(Er<rt)return[Er,60-Or,60-wr];var zr=Math.floor(jt/Or)*Or;if(zr<jt)return[Er,zr,60-wr];var Jr=Math.floor(Jt/wr)*wr;return[Er,zr,Jr]}function et(rt,jt){if(rt.length!==jt.length)return!0;for(var Jt=0;Jt<rt.length;Jt+=1)if(rt[Jt].disabled!==jt[Jt].disabled)return!0;return!1}function tt(rt,jt,Jt,nr){for(var Or=[],wr=rt;wr<=jt;wr+=Jt)Or.push({label:Ge(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return Or}function ot(rt){var jt=rt.generateConfig,Jt=rt.prefixCls,nr=rt.operationRef,Or=rt.activeColumnIndex,wr=rt.value,Er=rt.showHour,zr=rt.showMinute,Jr=rt.showSecond,Zr=rt.use12Hours,an=rt.hourStep,St=an===void 0?1:an,Vt=rt.minuteStep,sr=Vt===void 0?1:Vt,br=rt.secondStep,Mr=br===void 0?1:br,Dr=rt.disabledHours,rn=rt.disabledMinutes,fn=rt.disabledSeconds,wn=rt.hideDisabledOptions,Hn=rt.onSelect,Sn=[],bn="".concat(Jt,"-content"),Mn="".concat(Jt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,In=wr?jt.getSecond(wr):-1,Xn=function(hi,qi,va,Ea){var ya=wr||jt.getNow(),oa=Math.max(0,qi),sa=Math.max(0,va),Ni=Math.max(0,Ea);return ya=At(jt,ya,!Zr||!hi?oa:oa+12,sa,Ni),ya},ai=tt(0,23,St,Dr&&Dr()),ri=Object(Ae.a)(function(){return ai},ai,et);Zr&&(vn=Rn>=12,Rn%=12);var Di=a.useMemo(function(){if(!Zr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var qi=hi.disabled,va=hi.value;if(qi)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Zr,ri]),yi=Object(j.a)(Di,2),xi=yi[0],Li=yi[1],Un=a.useMemo(function(){return Zr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,qi=hi===0?"12":Ge(hi,2);return Object(U.a)(Object(U.a)({},mi),{},{label:qi,value:hi})}):ri},[Zr,ri]),Ri=tt(0,59,sr,rn&&rn(Rn)),fa=tt(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[Or];if(qi)for(var va=qi.units.findIndex(function(sa){return sa.value===qi.value}),Ea=qi.units.length,ya=1;ya<Ea;ya+=1){var oa=qi.units[(va+hi*ya+Ea)%Ea];if(oa.disabled!==!0){qi.onSelect(oa.value);break}}}};function Ui(mi,hi,qi,va,Ea){mi!==!1&&Sn.push({node:a.cloneElement(hi,{prefixCls:Mn,value:qi,active:Or===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,a.createElement(Le,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,In),"mouse")}),Ui(zr,a.createElement(Le,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,In),"mouse")}),Ui(Jr,a.createElement(Le,{key:"second"}),In,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Zr===!0,a.createElement(Le,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Li}],function(mi){Hn(Xn(!!mi,Rn,En,In),"mouse")}),a.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=ot,se=function(jt){return jt.filter(function(Jt){return Jt!==!1}).length};function re(rt){var jt=rt.generateConfig,Jt=rt.format,nr=Jt===void 0?"HH:mm:ss":Jt,Or=rt.prefixCls,wr=rt.active,Er=rt.operationRef,zr=rt.showHour,Jr=rt.showMinute,Zr=rt.showSecond,an=rt.use12Hours,St=an===void 0?!1:an,Vt=rt.onSelect,sr=rt.value,br="".concat(Or,"-time-panel"),Mr=a.useRef(),Dr=a.useState(-1),rn=Object(j.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=se([zr,Jr,Zr,St]);return Er.current={onKeyDown:function(bn){return _e(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Mr.current&&Mr.current.onUpDown(vn)},onEnter:function(){Vt(sr||jt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},a.createElement("div",{className:T()(br,Object(R.a)({},"".concat(br,"-active"),wr))},a.createElement(Ce,Object.assign({},rt,{format:nr,prefixCls:Or})),a.createElement(Ve,Object.assign({},rt,{prefixCls:Or,activeColumnIndex:fn,operationRef:Mr})))}var it=re,qe=7;function be(rt,jt){return!rt&&!jt?!0:!rt||!jt?!1:void 0}function Zt(rt,jt,Jt){var nr=be(jt,Jt);if(typeof nr=="boolean")return nr;var Or=Math.floor(rt.getYear(jt)/10),wr=Math.floor(rt.getYear(Jt)/10);return Or===wr}function dt(rt,jt,Jt){var nr=be(jt,Jt);return typeof nr=="boolean"?nr:rt.getYear(jt)===rt.getYear(Jt)}function ct(rt,jt){var Jt=Math.floor(rt.getMonth(jt)/3);return Jt+1}function yt(rt,jt,Jt){var nr=be(jt,Jt);return typeof nr=="boolean"?nr:dt(rt,jt,Jt)&&ct(rt,jt)===ct(rt,Jt)}function _t(rt,jt,Jt){var nr=be(jt,Jt);return typeof nr=="boolean"?nr:dt(rt,jt,Jt)&&rt.getMonth(jt)===rt.getMonth(Jt)}function or(rt,jt,Jt){var nr=be(jt,Jt);return typeof nr=="boolean"?nr:rt.getYear(jt)===rt.getYear(Jt)&&rt.getMonth(jt)===rt.getMonth(Jt)&&rt.getDate(jt)===rt.getDate(Jt)}function Bt(rt,jt,Jt){var nr=be(jt,Jt);return typeof nr=="boolean"?nr:rt.getHour(jt)===rt.getHour(Jt)&&rt.getMinute(jt)===rt.getMinute(Jt)&&rt.getSecond(jt)===rt.getSecond(Jt)}function we(rt,jt,Jt,nr){var Or=be(Jt,nr);return typeof Or=="boolean"?Or:rt.locale.getWeek(jt,Jt)===rt.locale.getWeek(jt,nr)}function ve(rt,jt,Jt){return or(rt,jt,Jt)&&Bt(rt,jt,Jt)}function me(rt,jt,Jt,nr){return!jt||!Jt||!nr?!1:!or(rt,jt,nr)&&!or(rt,Jt,nr)&&rt.isAfter(nr,jt)&&rt.isAfter(Jt,nr)}function he(rt,jt,Jt){var nr=jt.locale.getWeekFirstDay(rt),Or=jt.setDate(Jt,1),wr=jt.getWeekDay(Or),Er=jt.addDate(Or,nr-wr);return jt.getMonth(Er)===jt.getMonth(Jt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function Re(rt,jt,Jt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Jt.addYear(rt,nr*10);case"quarter":case"month":return Jt.addYear(rt,nr);default:return Jt.addMonth(rt,nr)}}var He=a.createContext({}),ze=He;function Ye(rt){var jt=rt.cellPrefixCls,Jt=rt.generateConfig,nr=rt.rangedValue,Or=rt.hoverRangedValue,wr=rt.isInView,Er=rt.isSameCell,zr=rt.offsetCell,Jr=rt.today,Zr=rt.value;function an(St){var Vt,sr=zr(St,-1),br=zr(St,1),Mr=Dt(nr,0),Dr=Dt(nr,1),rn=Dt(Or,0),fn=Dt(Or,1),wn=me(Jt,rn,fn,St);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,St),Mn=Er(fn,St),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(R.a)(Vt,"".concat(jt,"-in-view"),wr(St)),Object(R.a)(Vt,"".concat(jt,"-in-range"),me(Jt,Mr,Dr,St)),Object(R.a)(Vt,"".concat(jt,"-range-start"),Hn(St)),Object(R.a)(Vt,"".concat(jt,"-range-end"),Sn(St)),Object(R.a)(Vt,"".concat(jt,"-range-start-single"),Hn(St)&&!Dr),Object(R.a)(Vt,"".concat(jt,"-range-end-single"),Sn(St)&&!Mr),Object(R.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(St)&&(Er(sr,rn)||me(Jt,rn,fn,sr))),Object(R.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(St)&&(Er(br,fn)||me(Jt,rn,fn,br))),Object(R.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(R.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(R.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(R.a)(Vt,"".concat(jt,"-today"),Er(Jr,St)),Object(R.a)(Vt,"".concat(jt,"-selected"),Er(Zr,St)),Vt}return an}function Pe(rt){for(var jt=rt.prefixCls,Jt=rt.disabledDate,nr=rt.onSelect,Or=rt.rowNum,wr=rt.colNum,Er=rt.prefixColumn,zr=rt.rowClassName,Jr=rt.baseDate,Zr=rt.getCellClassName,an=rt.getCellText,St=rt.getCellNode,Vt=rt.getCellDate,sr=rt.titleCell,br=rt.headerCells,Mr=a.useContext(G),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<Or;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var In=Hn*wr+En,Xn=Vt(Jr,In),ai=Jt&&Jt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(a.createElement("td",{key:En,title:sr&&sr(Xn),className:T()(fn,Object(U.a)(Object(R.a)({},"".concat(fn,"-disabled"),ai),Zr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},St?St(Xn):a.createElement("div",{className:"".concat(fn,"-inner")},an(Xn))))},vn=0;vn<wr;vn+=1)Mn(vn);wn.push(a.createElement("tr",{key:Hn,className:zr&&zr(bn)},Sn))}return a.createElement("div",{className:"".concat(jt,"-body")},a.createElement("table",{className:"".concat(jt,"-content")},br&&a.createElement("thead",null,a.createElement("tr",null,br)),a.createElement("tbody",null,wn)))}function nt(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.prefixColumn,Or=rt.locale,wr=rt.rowCount,Er=rt.viewDate,zr=rt.value,Jr=rt.dateRender,Zr=a.useContext(ze),an=Zr.rangedValue,St=Zr.hoverRangedValue,Vt=he(Or.locale,Jt,Er),sr="".concat(jt,"-cell"),br=Jt.locale.getWeekFirstDay(Or.locale),Mr=Jt.getNow(),Dr=[],rn=Or.shortWeekDays||(Jt.locale.getShortWeekDays?Jt.locale.getShortWeekDays(Or.locale):[]);nr&&Dr.push(a.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<qe;fn+=1)Dr.push(a.createElement("th",{key:fn},rn[(fn+br)%qe]));var wn=Ye({cellPrefixCls:sr,today:Mr,value:zr,generateConfig:Jt,rangedValue:nr?null:an,hoverRangedValue:nr?null:St,isSameCell:function(bn,Mn){return or(Jt,bn,Mn)},isInView:function(bn){return _t(Jt,bn,Er)},offsetCell:function(bn,Mn){return Jt.addDate(bn,Mn)}}),Hn=Jr?function(Sn){return Jr(Sn,Mr)}:void 0;return a.createElement(Pe,Object.assign({},rt,{rowNum:wr,colNum:qe,baseDate:Vt,getCellNode:Hn,getCellText:Jt.getDate,getCellClassName:wn,getCellDate:Jt.addDate,titleCell:function(bn){return Jt.locale.format(Or.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var bt=nt;function Ot(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.locale,Or=rt.viewDate,wr=rt.onNextMonth,Er=rt.onPrevMonth,zr=rt.onNextYear,Jr=rt.onPrevYear,Zr=rt.onYearClick,an=rt.onMonthClick,St=a.useContext(G),Vt=St.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Jt.locale.getShortMonths?Jt.locale.getShortMonths(nr.locale):[]),Mr=Jt.getMonth(Or),Dr=a.createElement("button",{type:"button",key:"year",onClick:Zr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)),rn=a.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Jt.locale.format(nr.locale,Or,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return a.createElement(q,Object.assign({},rt,{prefixCls:sr,onSuperPrev:Jr,onPrev:Er,onNext:wr,onSuperNext:zr}),fn)}var ae=Ot,pe=6;function J(rt){var jt=rt.prefixCls,Jt=rt.panelName,nr=Jt===void 0?"date":Jt,Or=rt.keyboardConfig,wr=rt.active,Er=rt.operationRef,zr=rt.generateConfig,Jr=rt.value,Zr=rt.viewDate,an=rt.onViewDateChange,St=rt.onPanelChange,Vt=rt.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return _e(rn,Object(U.a)({onLeftRight:function(wn){Vt(zr.addDate(Jr||Zr,wn),"key")},onCtrlLeftRight:function(wn){Vt(zr.addYear(Jr||Zr,wn),"key")},onUpDown:function(wn){Vt(zr.addDate(Jr||Zr,wn*qe),"key")},onPageUpDown:function(wn){Vt(zr.addMonth(Jr||Zr,wn),"key")}},Or))}};var br=function(rn){var fn=zr.addYear(Zr,rn);an(fn),St(null,fn)},Mr=function(rn){var fn=zr.addMonth(Zr,rn);an(fn),St(null,fn)};return a.createElement("div",{className:T()(sr,Object(R.a)({},"".concat(sr,"-active"),wr))},a.createElement(ae,Object.assign({},rt,{prefixCls:jt,value:Jr,viewDate:Zr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){St("month",Zr)},onYearClick:function(){St("year",Zr)}})),a.createElement(bt,Object.assign({},rt,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Jr,viewDate:Zr,rowCount:pe})))}var ne=J;function xe(rt,jt,Jt){if(!Jt)return jt;var nr=jt;return nr=rt.setHour(nr,rt.getHour(Jt)),nr=rt.setMinute(nr,rt.getMinute(Jt)),nr=rt.setSecond(nr,rt.getSecond(Jt)),nr}var De=ht("date","time");function Fe(rt){var jt=rt.prefixCls,Jt=rt.operationRef,nr=rt.generateConfig,Or=rt.value,wr=rt.defaultValue,Er=rt.disabledTime,zr=rt.showTime,Jr=rt.onSelect,Zr="".concat(jt,"-datetime-panel"),an=a.useState(null),St=Object(j.a)(an,2),Vt=St[0],sr=St[1],br=a.useRef({}),Mr=a.useRef({}),Dr=Object(V.a)(zr)==="object"?Object(U.a)({},zr):{};function rn(Sn){var bn=De.indexOf(Vt)+Sn,Mn=De[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Jt.current={onKeyDown:function(bn){if(bn.which===X.a.TAB){var Mn=rn(bn.shiftKey?-1:1);return sr(Mn),Mn&&bn.preventDefault(),!0}if(Vt){var vn=Vt==="date"?br:Mr;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[X.a.LEFT,X.a.RIGHT,X.a.UP,X.a.DOWN].includes(bn.which)?(sr("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Mn){var vn=bn;Mn==="date"&&!Or&&Dr.defaultValue?(vn=nr.setHour(vn,nr.getHour(Dr.defaultValue)),vn=nr.setMinute(vn,nr.getMinute(Dr.defaultValue)),vn=nr.setSecond(vn,nr.getSecond(Dr.defaultValue))):Mn==="time"&&!Or&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Jr&&Jr(vn,"mouse")},Hn=Er?Er(Or||null):{};return a.createElement("div",{className:T()(Zr,Object(R.a)({},"".concat(Zr,"-active"),Vt))},a.createElement(ne,Object.assign({},rt,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(xe(nr,bn,zr&&Object(V.a)(zr)==="object"?zr.defaultValue:null),"date")}})),a.createElement(it,Object.assign({},rt,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var $e=Fe;function vt(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.locale,Or=rt.value,wr="".concat(jt,"-cell"),Er=function(an){return a.createElement("td",{key:"week",className:T()(wr,"".concat(wr,"-week"))},Jt.locale.getWeek(nr.locale,an))},zr="".concat(jt,"-week-panel-row"),Jr=function(an){return T()(zr,Object(R.a)({},"".concat(zr,"-selected"),we(Jt,nr.locale,Or,an)))};return a.createElement(ne,Object.assign({},rt,{panelName:"week",prefixColumn:Er,rowClassName:Jr,keyboardConfig:{onLeftRight:null}}))}var Wt=vt;function $t(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.locale,Or=rt.viewDate,wr=rt.onNextYear,Er=rt.onPrevYear,zr=rt.onYearClick,Jr=a.useContext(G),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return a.createElement(q,Object.assign({},rt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)))}var Rt=$t,Kt=3,Gt=4;function Qt(rt){var jt=rt.prefixCls,Jt=rt.locale,nr=rt.value,Or=rt.viewDate,wr=rt.generateConfig,Er=rt.monthCellRender,zr=a.useContext(ze),Jr=zr.rangedValue,Zr=zr.hoverRangedValue,an="".concat(jt,"-cell"),St=Ye({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Jr,hoverRangedValue:Zr,isSameCell:function(Dr,rn){return _t(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Jt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Jt.locale):[]),sr=wr.setMonth(Or,0),br=Er?function(Mr){return Er(Mr,Jt)}:void 0;return a.createElement(Pe,Object.assign({},rt,{rowNum:Gt,colNum:Kt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Jt.monthFormat?wr.locale.format(Jt.locale,Dr,Jt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:St,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Jt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(rt){var jt=rt.prefixCls,Jt=rt.operationRef,nr=rt.onViewDateChange,Or=rt.generateConfig,wr=rt.value,Er=rt.viewDate,zr=rt.onPanelChange,Jr=rt.onSelect,Zr="".concat(jt,"-month-panel");Jt.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Jr(Or.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Jr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Or.addMonth(wr||Er,br*Kt),"key")},onEnter:function(){zr("date",wr||Er)}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),zr(null,sr)};return a.createElement("div",{className:Zr},a.createElement(Rt,Object.assign({},rt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),a.createElement(Mt,Object.assign({},rt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse"),zr("date",Vt)}})))}var er=dr;function st(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.locale,Or=rt.viewDate,wr=rt.onNextYear,Er=rt.onPrevYear,zr=rt.onYearClick,Jr=a.useContext(G),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return a.createElement(q,Object.assign({},rt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Or,nr.yearFormat)))}var xt=st,ut=4,pt=1;function It(rt){var jt=rt.prefixCls,Jt=rt.locale,nr=rt.value,Or=rt.viewDate,wr=rt.generateConfig,Er=a.useContext(ze),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=Ye({cellPrefixCls:Zr,value:nr,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(sr,br){return yt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),St=wr.setDate(wr.setMonth(Or,0),1);return a.createElement(Pe,Object.assign({},rt,{rowNum:pt,colNum:ut,baseDate:St,getCellText:function(sr){return wr.locale.format(Jt.locale,sr,Jt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Jt.locale,sr,"YYYY-[Q]Q")}}))}var Tt=It;function ft(rt){var jt=rt.prefixCls,Jt=rt.operationRef,nr=rt.onViewDateChange,Or=rt.generateConfig,wr=rt.value,Er=rt.viewDate,zr=rt.onPanelChange,Jr=rt.onSelect,Zr="".concat(jt,"-quarter-panel");Jt.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Jr(Or.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Jr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Or.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),zr(null,sr)};return a.createElement("div",{className:Zr},a.createElement(xt,Object.assign({},rt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),a.createElement(Tt,Object.assign({},rt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse")}})))}var Ht=ft;function Ft(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.viewDate,Or=rt.onPrevDecade,wr=rt.onNextDecade,Er=rt.onDecadeClick,zr=a.useContext(G),Jr=zr.hideHeader;if(Jr)return null;var Zr="".concat(jt,"-header"),an=Jt.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1;return a.createElement(q,Object.assign({},rt,{prefixCls:Zr,onSuperPrev:Or,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},St,"-",Vt))}var ir=Ft,Xt=3,mr=4;function Ar(rt){var jt=rt.prefixCls,Jt=rt.value,nr=rt.viewDate,Or=rt.locale,wr=rt.generateConfig,Er=a.useContext(ze),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=wr.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1,sr=wr.setYear(nr,St-Math.ceil((Xt*mr-Fr)/2)),br=function(rn){var fn=wr.getYear(rn);return St<=fn&&fn<=Vt},Mr=Ye({cellPrefixCls:Zr,value:Jt,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(rn,fn){return dt(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return a.createElement(Pe,Object.assign({},rt,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(Or.locale,rn,"YYYY")}}))}var Nr=Ar,Fr=10;function tn(rt){var jt=rt.prefixCls,Jt=rt.operationRef,nr=rt.onViewDateChange,Or=rt.generateConfig,wr=rt.value,Er=rt.viewDate,zr=rt.sourceMode,Jr=rt.onSelect,Zr=rt.onPanelChange,an="".concat(jt,"-year-panel");Jt.current={onKeyDown:function(sr){return _e(sr,{onLeftRight:function(Mr){Jr(Or.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Jr(Or.addYear(wr||Er,Mr*Fr),"key")},onUpDown:function(Mr){Jr(Or.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Zr(zr==="date"?"date":"month",wr||Er)}})}};var St=function(sr){var br=Or.addYear(Er,sr*10);nr(br),Zr(null,br)};return a.createElement("div",{className:an},a.createElement(ir,Object.assign({},rt,{prefixCls:jt,onPrevDecade:function(){St(-1)},onNextDecade:function(){St(1)},onDecadeClick:function(){Zr("decade",Er)}})),a.createElement(Nr,Object.assign({},rt,{prefixCls:jt,onSelect:function(sr){Zr(zr==="date"?"date":"month",sr),Jr(sr,"mouse")}})))}var qr=tn;function Lr(rt){var jt=rt.prefixCls,Jt=rt.generateConfig,nr=rt.viewDate,Or=rt.onPrevDecades,wr=rt.onNextDecades,Er=a.useContext(G),zr=Er.hideHeader;if(zr)return null;var Jr="".concat(jt,"-header"),Zr=Jt.getYear(nr),an=Math.floor(Zr/xr)*xr,St=an+xr-1;return a.createElement(q,Object.assign({},rt,{prefixCls:Jr,onSuperPrev:Or,onSuperNext:wr}),an,"-",St)}var Qr=Lr,_r=3,ur=4;function pr(rt){var jt=fr-1,Jt=rt.prefixCls,nr=rt.viewDate,Or=rt.generateConfig,wr=rt.disabledDate,Er="".concat(Jt,"-cell"),zr=Or.getYear(nr),Jr=Math.floor(zr/fr)*fr,Zr=Math.floor(zr/xr)*xr,an=Zr+xr-1,St=Or.setYear(nr,Zr-Math.ceil((_r*ur*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=Or.getYear(br),fn=rn+jt;return Mr={},Object(R.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(R.a)(Mr,"".concat(Er,"-in-view"),Zr<=rn&&fn<=an),Object(R.a)(Mr,"".concat(Er,"-selected"),rn===Jr),Mr};return a.createElement(Pe,Object.assign({},rt,{rowNum:ur,colNum:_r,baseDate:St,getCellText:function(br){var Mr=Or.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return Or.addYear(br,Mr*fr)}}))}var cr=pr,fr=10,xr=fr*10;function Yr(rt){var jt=rt.prefixCls,Jt=rt.onViewDateChange,nr=rt.generateConfig,Or=rt.viewDate,wr=rt.operationRef,Er=rt.onSelect,zr=rt.onPanelChange,Jr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Er(nr.addYear(Or,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(Or,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(Or,br*fr*_r),"key")},onEnter:function(){zr("year",Or)}})}};var Zr=function(Vt){var sr=nr.addYear(Or,Vt*xr);Jt(sr),zr(null,sr)},an=function(Vt){Er(Vt,"mouse"),zr("year",Vt)};return a.createElement("div",{className:Jr},a.createElement(Qr,Object.assign({},rt,{prefixCls:jt,onPrevDecades:function(){Zr(-1)},onNextDecades:function(){Zr(1)}})),a.createElement(cr,Object.assign({},rt,{prefixCls:jt,onSelect:an})))}var un=Yr;function Nn(rt,jt,Jt){return Jt?a.createElement("div",{className:"".concat(rt,"-footer-extra")},Jt(jt)):null}function jr(rt){var jt=rt.prefixCls,Jt=rt.rangeList,nr=Jt===void 0?[]:Jt,Or=rt.components,wr=Or===void 0?{}:Or,Er=rt.needConfirmButton,zr=rt.onNow,Jr=rt.onOk,Zr=rt.okDisabled,an=rt.showNow,St=rt.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=a.createElement(a.Fragment,null,nr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return a.createElement("li",{key:rn,className:"".concat(jt,"-preset")},a.createElement(br,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(Er){var Mr=wr.button||"button";zr&&!Vt&&an!==!1&&(Vt=a.createElement("li",{className:"".concat(jt,"-now")},a.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:zr},St.now))),sr=Er&&a.createElement("li",{className:"".concat(jt,"-ok")},a.createElement(Mr,{disabled:Zr,onClick:Jr},St.ok))}return!Vt&&!sr?null:a.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(rt){var jt,Jt=rt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Or=rt.className,wr=rt.style,Er=rt.locale,zr=rt.generateConfig,Jr=rt.value,Zr=rt.defaultValue,an=rt.pickerValue,St=rt.defaultPickerValue,Vt=rt.disabledDate,sr=rt.mode,br=rt.picker,Mr=br===void 0?"date":br,Dr=rt.tabIndex,rn=Dr===void 0?0:Dr,fn=rt.showNow,wn=rt.showTime,Hn=rt.showToday,Sn=rt.renderExtraFooter,bn=rt.hideHeader,Mn=rt.onSelect,vn=rt.onChange,Rn=rt.onPanelChange,En=rt.onMouseDown,In=rt.onPickerValueChange,Xn=rt.onOk,ai=rt.components,ri=rt.direction,Di=rt.hourStep,yi=Di===void 0?1:Di,xi=rt.minuteStep,Li=xi===void 0?1:xi,Un=rt.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%Li===0,mi=60%Ri===0,hi=a.useContext(G),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=a.useContext(ze),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,Ii=sa.hoverRangedValue,Vi=a.useRef({}),Xi=a.useRef(!0),bi=Object(H.a)(null,{value:Jr,defaultValue:Zr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(j.a)(bi,2),ca=Aa[0],la=Aa[1],gi=Object(H.a)(null,{value:an,defaultValue:St||ca,postState:function(pi){return pi||zr.getNow()}}),Pa=Object(j.a)(gi,2),Ma=Pa[0],ra=Pa[1],Yi=function(pi){ra(pi),In&&In(pi)},Xa=function(pi){var Gi=Te[Mr];return Gi?Gi(pi):pi},Ki=Object(H.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),zi=Object(j.a)(Ki,2),ba=zi[0],Ua=zi[1];a.useEffect(function(){Ua(Mr)},[Mr]);var wa=a.useState(function(){return ba}),vi=Object(j.a)(wa,2),Ya=vi[0],Ka=vi[1],pa=function(pi,Gi){var oo=Xa(pi||ba);Ka(ba),Ua(oo),Rn&&(ba!==oo||ve(zr,Ma,Ma))&&Rn(Gi,oo)},Oi=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Mr||oo)&&(la(pi),Mn&&Mn(pi),Ea&&Ea(pi,Gi),vn&&!ve(zr,pi,ca)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([X.a.LEFT,X.a.RIGHT,X.a.UP,X.a.DOWN,X.a.PAGE_UP,X.a.PAGE_DOWN,X.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(y.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},za=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};qi&&$n!=="right"&&(qi.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),a.useEffect(function(){Jr&&!Xi.current&&ra(Jr)},[Jr]),a.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(U.a)(Object(U.a)({},rt),{},{operationRef:Vi,prefixCls:nr,viewDate:Ma,value:ca,onViewDateChange:Yi,sourceMode:Ya,onPanelChange:pa,disabledDate:ba!=="decade"?Vt:void 0});delete qa.onChange,delete qa.onSelect;switch(ba){case"decade":ja=a.createElement(un,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"year":ja=a.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"month":ja=a.createElement(er,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"quarter":ja=a.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"week":ja=a.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"time":delete qa.showTime,ja=a.createElement(it,Object.assign({},qa,Object(V.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;default:wn?ja=a.createElement($e,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}})):ja=a.createElement(ne,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}))}var ho,Ca,to=function(){var pi=zr.getNow(),Gi=Xe(zr.getHour(pi),zr.getMinute(pi),zr.getSecond(pi),Ui?yi:1,Mi?Li:1,mi?Ri:1),oo=At(zr,pi,Gi[0],Gi[1],Gi[2]);Oi(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ca||Vt&&Vt(ca),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ca&&(Oi(ca,"submit",!0),Xn&&Xn(ca))}}));var Lo;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var Ia=zr.getNow(),Fi="".concat(nr,"-today-btn"),Ja=Vt&&Vt(Ia);Lo=a.createElement("a",{className:T()(Fi,Ja&&"".concat(Fi,"-disabled")),"aria-disabled":Ja,onClick:function(){Ja||Oi(Ia,"mouse",!0)}},Er.today)}return a.createElement(G.Provider,{value:Object(U.a)(Object(U.a)({},hi),{},{hideHeader:"hideHeader"in rt?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},a.createElement("div",{tabIndex:rn,className:T()("".concat(nr,"-panel"),Or,(jt={},Object(R.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(R.a)(jt,"".concat(nr,"-panel-has-range-hover"),Ii&&Ii[0]&&Ii[1]),Object(R.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:za,onMouseDown:En,ref:va},ja,ho||Ca||Lo?a.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,Lo):null))}var gn=Tn,Pn=e("uciX"),zn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function qn(rt){var jt,Jt=rt.prefixCls,nr=rt.popupElement,Or=rt.popupStyle,wr=rt.visible,Er=rt.dropdownClassName,zr=rt.dropdownAlign,Jr=rt.transitionName,Zr=rt.getPopupContainer,an=rt.children,St=rt.range,Vt=rt.popupPlacement,sr=rt.direction,br="".concat(Jt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return a.createElement(Pn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:zn,prefixCls:br,popupTransitionName:Jr,popup:nr,popupAlign:zr,popupVisible:wr,popupClassName:T()(Er,(jt={},Object(R.a)(jt,"".concat(br,"-range"),St),Object(R.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:Or,getPopupContainer:Zr},an)}var Yn=qn;function Vn(rt){var jt=rt.open,Jt=rt.value,nr=rt.isClickOutside,Or=rt.triggerOpen,wr=rt.forwardKeyDown,Er=rt.blurToCancel,zr=rt.onSubmit,Jr=rt.onCancel,Zr=rt.onFocus,an=rt.onBlur,St=Object(a.useState)(!1),Vt=Object(j.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(a.useState)(!1),Dr=Object(j.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(a.useRef)(!1),Hn=Object(a.useRef)(!1),Sn={onMouseDown:function(){br(!0),Or(!0)},onKeyDown:function(Mn){switch(Mn.which){case X.a.ENTER:{jt?zr()!==!1&&br(!0):Or(!0),Mn.preventDefault();return}case X.a.TAB:{sr&&jt&&!Mn.shiftKey?(br(!1),Mn.preventDefault()):!sr&&jt&&(!wr(Mn)&&Mn.shiftKey&&(br(!0),Mn.preventDefault()));return}case X.a.ESC:{br(!0),Jr();return}}!jt&&![X.a.SHIFT].includes(Mn.which)?Or(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Zr&&Zr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Jr()},0):jt&&(Or(!1),Hn.current&&zr()),fn(!1),an&&an(Mn)}};return Object(a.useEffect)(function(){Hn.current=!1},[jt]),Object(a.useEffect)(function(){Hn.current=!0},[Jt]),Object(a.useEffect)(function(){return K(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||Or(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(rt){var jt=rt.valueTexts,Jt=rt.onTextChange,nr=a.useState(""),Or=Object(j.a)(nr,2),wr=Or[0],Er=Or[1],zr=a.useRef([]);zr.current=jt;function Jr(an){Er(an),Jt(an)}function Zr(){Er(zr.current[0])}return a.useEffect(function(){jt.every(function(an){return an!==wr})&&Zr()},[jt.join("||")]),[wr,Jr,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(rt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Or=jt.locale;return Object(Ae.a)(function(){if(!rt)return[[""],""];for(var wr="",Er=[],zr=0;zr<Jt.length;zr+=1){var Jr=Jt[zr],Zr=nr.locale.format(Or.locale,rt,Jr);Er.push(Zr),zr===0&&(wr=Zr)}return[Er,wr]},[rt,Jt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(rt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Or=jt.locale,wr=Object(a.useState)(null),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=xa(zr,{formatList:Jt,generateConfig:nr,locale:Or}),an=Object(j.a)(Zr,2),St=an[1];function Vt(br){Jr(br)}function sr(){Jr(null)}return Object(a.useEffect)(function(){sr()},[rt]),[St,Vt,sr]}function _i(rt){var jt,Jt=rt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Or=rt.id,wr=rt.tabIndex,Er=rt.style,zr=rt.className,Jr=rt.dropdownClassName,Zr=rt.dropdownAlign,an=rt.popupStyle,St=rt.transitionName,Vt=rt.generateConfig,sr=rt.locale,br=rt.inputReadOnly,Mr=rt.allowClear,Dr=rt.autoFocus,rn=rt.showTime,fn=rt.picker,wn=fn===void 0?"date":fn,Hn=rt.format,Sn=rt.use12Hours,bn=rt.value,Mn=rt.defaultValue,vn=rt.open,Rn=rt.defaultOpen,En=rt.defaultOpenValue,In=rt.suffixIcon,Xn=rt.clearIcon,ai=rt.disabled,ri=rt.disabledDate,Di=rt.placeholder,yi=rt.getPopupContainer,xi=rt.pickerRef,Li=rt.panelRender,Un=rt.onChange,Ri=rt.onOpenChange,fa=rt.onFocus,Ui=rt.onBlur,Mi=rt.onMouseDown,mi=rt.onMouseUp,hi=rt.onMouseEnter,qi=rt.onMouseLeave,va=rt.onContextMenu,Ea=rt.onClick,ya=rt.direction,oa=rt.autoComplete,sa=oa===void 0?"off":oa,Ni=a.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=Et(Oe(Hn,wn,rn,Sn)),Ii=a.useRef(null),Vi=a.useRef(null),Xi=Object(H.a)(null,{value:bn,defaultValue:Mn}),bi=Object(j.a)(Xi,2),Aa=bi[0],ca=bi[1],la=a.useState(Aa),gi=Object(j.a)(la,2),Pa=gi[0],Ma=gi[1],ra=a.useRef(null),Yi=Object(H.a)(!1,{value:vn,defaultValue:Rn,postState:function(Zi){return ai?!1:Zi},onChange:function(Zi){Ri&&Ri(Zi),!Zi&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(j.a)(Yi,2),Ki=Xa[0],zi=Xa[1],ba=xa(Pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(j.a)(ba,2),wa=Ua[0],vi=Ua[1],Ya=An({valueTexts:wa,onTextChange:function(Zi){var xo=Vt.locale.parse(sr.locale,Zi,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),Ka=Object(j.a)(Ya,3),pa=Ka[0],Oi=Ka[1],So=Ka[2],za=function(Zi){Ma(Zi),ca(Zi),Un&&!ve(Vt,Aa,Zi)&&Un(Zi,Zi?Vt.locale.format(sr.locale,Zi,Ai[0]):"")},ja=function(Zi){if(ai&&Zi)return;zi(Zi)},qa=function(Zi){return Ki&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Zi):(Object(y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Ni.current&&(Ni.current.focus(),ja(!0))},Ca=Vn({blurToCancel:$n,open:Ki,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Zi){return!oe([Ii.current,Vi.current],Zi)},onSubmit:function(){return ri&&ri(Pa)?!1:(za(Pa),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(j.a)(Ca,2),Lo=to[0],Ia=to[1],Fi=Ia.focused,Ja=Ia.typing;a.useEffect(function(){Ki||(Ma(Aa),!wa.length||wa[0]===""?Oi(""):vi!==pa&&So())},[Ki,wa]),a.useEffect(function(){Ki||So()},[wn]),a.useEffect(function(){Ma(Aa)},[Aa]),xi&&(xi.current={focus:function(){Ni.current&&Ni.current.focus()},blur:function(){Ni.current&&Ni.current.blur()}});var Da=Object(U.a)(Object(U.a)({},rt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=a.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:T()(Object(R.a)({},"".concat(nr,"-panel-focused"),!Ja)),value:Pa,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));Li&&(pi=Li(pi));var Gi=a.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Zi){Zi.preventDefault()}},pi),oo;In&&(oo=a.createElement("span",{className:"".concat(nr,"-suffix")},In));var go;Mr&&Aa&&!ai&&(go=a.createElement("span",{onMouseDown:function(Zi){Zi.preventDefault(),Zi.stopPropagation()},onMouseUp:function(Zi){Zi.preventDefault(),Zi.stopPropagation(),za(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||a.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Zi,xo){(xo==="submit"||xo!=="key"&&!$n)&&(za(Zi),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",ki=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(j.a)(ki,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return a.createElement(G.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Ii,onSelect:fo,open:Ki,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},a.createElement(Yn,{visible:Ki,popupElement:Gi,popupStyle:an,prefixCls:nr,dropdownClassName:Jr,dropdownAlign:Zr,getPopupContainer:yi,transitionName:St,popupPlacement:Ta,direction:ya},a.createElement("div",{className:T()(nr,zr,(jt={},Object(R.a)(jt,"".concat(nr,"-disabled"),ai),Object(R.a)(jt,"".concat(nr,"-focused"),Fi),Object(R.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},a.createElement("div",{className:T()("".concat(nr,"-input"),Object(R.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},a.createElement("input",Object.assign({id:Or,tabIndex:wr,disabled:ai,readOnly:br||!Ja,value:Vo||pa,onChange:function(Zi){Oi(Zi.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},Lo,{size:lt(wn,Ai[0])},Be(rt),{autoComplete:sa})),oo,go))))}var Ci=function(rt){Object(B.a)(Jt,rt);var jt=Object(z.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=a.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(P.a)(Jt,[{key:"render",value:function(){return a.createElement(_i,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(a.Component),Gn=Ci;function Oa(rt,jt,Jt){var nr=rt.picker,Or=rt.locale,wr=rt.selectedValue,Er=rt.disabledDate,zr=rt.disabled,Jr=rt.generateConfig,Zr=Dt(wr,0),an=Dt(wr,1);function St(Dr){var rn=Jr.getYear(Dr),fn=Jr.locale.getWeek(Or.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Jr.getYear(Dr),fn=Jr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Jr.getYear(Dr),fn=ct(Jr,Dr);return rn*10+fn}var br=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[1]&&an)return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an);if(jt&&an)switch(nr){case"quarter":return sr(Dr)>sr(an);case"month":return Vt(Dr)>Vt(an);case"week":return St(Dr)>St(an);default:return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an)}return!1},[Er,zr[1],an,jt]),Mr=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[0]&&Zr)return!or(Jr,Dr,an)&&Jr.isAfter(Zr,Dr);if(Jt&&Zr)switch(nr){case"quarter":return sr(Dr)<sr(Zr);case"month":return Vt(Dr)<Vt(Zr);case"week":return St(Dr)<St(Zr);default:return!or(Jr,Dr,Zr)&&Jr.isAfter(Zr,Dr)}return!1},[Er,zr[0],Zr,Jt]);return[br,Mr]}function mn(rt,jt,Jt,nr){var Or=Re(rt,Jt,nr,1);function wr(Er){return Er(rt,jt)?"same":Er(Or,jt)?"closing":"far"}switch(Jt){case"year":return wr(function(Er,zr){return Zt(nr,Er,zr)});case"quarter":case"month":return wr(function(Er,zr){return dt(nr,Er,zr)});default:return wr(function(Er,zr){return _t(nr,Er,zr)})}}function On(rt,jt,Jt,nr){var Or=Dt(rt,0),wr=Dt(rt,1);if(jt===0)return Or;if(Or&&wr){var Er=mn(Or,wr,Jt,nr);switch(Er){case"same":return Or;case"closing":return Or;default:return Re(wr,Jt,nr,-1)}}return Or}function Ln(rt){var jt=rt.values,Jt=rt.picker,nr=rt.defaultDates,Or=rt.generateConfig,wr=a.useState(function(){return[Dt(nr,0),Dt(nr,1)]}),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=a.useState(null),an=Object(j.a)(Zr,2),St=an[0],Vt=an[1],sr=Dt(jt,0),br=Dt(jt,1);function Mr(rn){return zr[rn]?zr[rn]:Dt(St,rn)||On(jt,rn,Jt,Or)||sr||br||Or.getNow()}function Dr(rn,fn){if(rn){var wn=Ke(St,rn,fn);Jr(Ke(zr,null,fn)||[null,null]);var Hn=(fn+1)%2;Dt(jt,Hn)||(wn=Ke(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function _n(rt,jt){return rt&&rt[0]&&rt[1]&&jt.isAfter(rt[0],rt[1])?[rt[1],rt[0]]:rt}function jn(rt,jt,Jt,nr){return rt||nr&&nr[jt]?!0:!!Jt[(jt+1)%2]}function ni(rt){var jt,Jt,nr,Or=rt.prefixCls,wr=Or===void 0?"rc-picker":Or,Er=rt.id,zr=rt.style,Jr=rt.className,Zr=rt.popupStyle,an=rt.dropdownClassName,St=rt.transitionName,Vt=rt.dropdownAlign,sr=rt.getPopupContainer,br=rt.generateConfig,Mr=rt.locale,Dr=rt.placeholder,rn=rt.autoFocus,fn=rt.disabled,wn=rt.format,Hn=rt.picker,Sn=Hn===void 0?"date":Hn,bn=rt.showTime,Mn=rt.use12Hours,vn=rt.separator,Rn=vn===void 0?"~":vn,En=rt.value,In=rt.defaultValue,Xn=rt.defaultPickerValue,ai=rt.open,ri=rt.defaultOpen,Di=rt.disabledDate,yi=rt.disabledTime,xi=rt.dateRender,Li=rt.panelRender,Un=rt.ranges,Ri=rt.allowEmpty,fa=rt.allowClear,Ui=rt.suffixIcon,Mi=rt.clearIcon,mi=rt.pickerRef,hi=rt.inputReadOnly,qi=rt.mode,va=rt.renderExtraFooter,Ea=rt.onChange,ya=rt.onOpenChange,oa=rt.onPanelChange,sa=rt.onCalendarChange,Ni=rt.onFocus,$n=rt.onBlur,Ai=rt.onOk,Ii=rt.components,Vi=rt.order,Xi=rt.direction,bi=rt.activePickerIndex,Aa=rt.autoComplete,ca=Aa===void 0?"off":Aa,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(a.useRef)({}),Pa=Object(a.useRef)(null),Ma=Object(a.useRef)(null),ra=Object(a.useRef)(null),Yi=Object(a.useRef)(null),Xa=Object(a.useRef)(null),Ki=Object(a.useRef)(null),zi=Object(a.useRef)(null),ba=Et(Oe(wn,Sn,bn,Mn)),Ua=Object(H.a)(0,{value:bi}),wa=Object(j.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Object(a.useRef)(null),pa=a.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Oi=Object(H.a)(null,{value:En,defaultValue:In,postState:function(ui){return Sn==="time"&&!Vi?ui:_n(ui,br)}}),So=Object(j.a)(Oi,2),za=So[0],ja=So[1],qa=Ln({values:za,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(j.a)(qa,2),Ca=ho[0],to=ho[1],Lo=Object(H.a)(za,{postState:function(ui){var Bi=ui;if(pa[0]&&pa[1])return Bi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Dt(Bi,Wn)&&!Dt(Ri,Wn)&&(Bi=Ke(Bi,br.getNow(),Wn));return Bi}}),Ia=Object(j.a)(Lo,2),Fi=Ia[0],Ja=Ia[1],Da=Object(H.a)([Sn,Sn],{value:qi}),pi=Object(j.a)(Da,2),Gi=pi[0],oo=pi[1];Object(a.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ui,Bi){oo(ui),oa&&oa(Bi,ui)},fo=Oa({picker:Sn,selectedValue:Fi,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(j.a)(fo,2),ki=Ta[0],Ra=Ta[1],Vo=Object(H.a)(!1,{value:ai,defaultValue:ri,postState:function(ui){return pa[vi]?!1:ui},onChange:function(ui){ya&&ya(ui),!ui&&Ka.current&&Ka.current.onClose&&Ka.current.onClose()}}),ro=Object(j.a)(Vo,2),vo=ro[0],po=ro[1],Zi=vo&&vi===0,xo=vo&&vi===1,is=Object(a.useState)(0),Jo=Object(j.a)(is,2),_s=Jo[0],Cs=Jo[1];Object(a.useEffect)(function(){!vo&&Pa.current&&Cs(Pa.current.offsetWidth)},[vo]);var Ts=a.useRef();function Go(ua,ui){if(ua)clearTimeout(Ts.current),gi.current[ui]=!0,Ya(ui),po(ua),vo||to(null,ui);else if(vi===ui){po(ua);var Bi=gi.current;Ts.current=setTimeout(function(){Bi===gi.current&&(gi.current={})})}}function bo(ua){Go(!0,ua),setTimeout(function(){var ui=[Ki,zi][ua];ui.current&&ui.current.focus()},0)}function Za(ua,ui){var Bi=ua,Wn=Dt(Bi,0),io=Dt(Bi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!we(br,Mr.locale,Wn,io)||Sn==="quarter"&&!yt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ui===0?(Bi=[Wn,null],io=null):(Wn=null,Bi=[null,io]),gi.current=Object(R.a)({},ui,!0)):(Sn!=="time"||Vi!==!1)&&(Bi=_n(Bi,br))),Ja(Bi);var qo=Bi&&Bi[0]?br.locale.format(Mr.locale,Bi[0],ba[0]):"",gs=Bi&&Bi[1]?br.locale.format(Mr.locale,Bi[1],ba[0]):"";if(sa){var os={range:ui===0?"start":"end"};sa(Bi,[qo,gs],os)}var Zo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Bi===null||Zo&&$o;ws&&(ja(Bi),Ea&&(!ve(br,Dt(za,0),Wn)||!ve(br,Dt(za,1),io))&&Ea(Bi,[qo,gs]));var Ho=null;ui===0&&!pa[1]?Ho=1:ui===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!Dt(Bi,Ho))&&Dt(Bi,ui)?bo(Ho):Go(!1,ui)}var Ga=function(ui){return vo&&Ka.current&&Ka.current.onKeyDown?Ka.current.onKeyDown(ui):(Object(y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:br,locale:Mr},ps=xa(Dt(Fi,0),so),Sr=Object(j.a)(ps,2),Xo=Sr[0],ss=Sr[1],Ls=xa(Dt(Fi,1),so),Fa=Object(j.a)(Ls,2),La=Fa[0],Oo=Fa[1],Io=function(ui,Bi){var Wn=br.locale.parse(Mr.locale,ui,ba),io=Bi===0?ki:Ra;Wn&&!io(Wn)&&(Ja(Ke(Fi,Wn,Bi)),to(Wn,Bi))},ts=An({valueTexts:Xo,onTextChange:function(ui){return Io(ui,0)}}),Bo=Object(j.a)(ts,3),rs=Bo[0],ms=Bo[1],ls=Bo[2],Ns=An({valueTexts:La,onTextChange:function(ui){return Io(ui,1)}}),Ds=Object(j.a)(Ns,3),as=Ds[0],$s=Ds[1],cs=Ds[2],Mo=Object(a.useState)(null),Dn=Object(j.a)(Mo,2),Vs=Dn[0],Os=Dn[1],Pt=Object(a.useState)(null),le=Object(j.a)(Pt,2),Ee=le[0],Ie=le[1],We=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Ct=Object(j.a)(We,3),Ut=Ct[0],hr=Ct[1],gr=Ct[2],Rr=ta(as,{formatList:ba,generateConfig:br,locale:Mr}),$r=Object(j.a)(Rr,3),ln=$r[0],yn=$r[1],Cn=$r[2],Qn=function(ui){Ie(Ke(Fi,ui,vi)),vi===0?hr(ui):yn(ui)},ti=function(){Ie(Ke(Fi,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ui,Bi){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:$n,isClickOutside:function(io){return!oe([Ma.current,ra.current,Yi.current],io)},onFocus:function(io){Ya(ui),Ni&&Ni(io)},triggerOpen:function(io){Go(io,ui)},onSubmit:function(){Za(Fi,ui),Bi()},onCancel:function(){Go(!1,ui),Ja(za),Bi()}}},ea=Vn(Object(U.a)(Object(U.a)({},wi(0,ls)),{},{open:Zi,value:rs})),ji=Object(j.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(U.a)(Object(U.a)({},wi(1,cs)),{},{open:xo,value:as})),$a=Object(j.a)(Ao,2),Fo=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,ko=function(ui){!vo&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ui){vo&&(Wa||Ha)&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&ui.preventDefault()},wo=za&&za[0]?br.locale.format(Mr.locale,za[0],"YYYYMMDDHHmmss"):"",us=za&&za[1]?br.locale.format(Mr.locale,za[1],"YYYYMMDDHHmmss"):"";Object(a.useEffect)(function(){vo||(Ja(za),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!La.length||La[0]===""?$s(""):Oo!==as&&cs())},[vo,Xo,La]),Object(a.useEffect)(function(){Ja(za)},[wo,us]),mi&&(mi.current={focus:function(){Ki.current&&Ki.current.focus()},blur:function(){Ki.current&&Ki.current.blur(),zi.current&&zi.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ua){var ui=Un[ua],Bi=typeof ui=="function"?ui():ui;return{label:ua,onClick:function(){Za(Bi,null),Go(!1,vi)},onMouseEnter:function(){Os(Bi)},onMouseLeave:function(){Os(null)}}});function Ys(){var ua=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=null;vo&&Ee&&Ee[0]&&Ee[1]&&br.isAfter(Ee[1],Ee[0])&&(Bi=Ee);var Wn=bn;if(bn&&Object(V.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(U.a)(Object(U.a)({},bn),{},{defaultValue:Dt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),a.createElement(ze.Provider,{value:{inRange:!0,panelPosition:ua,rangedValue:Vs||Fi,hoverRangedValue:Bi}},a.createElement(gn,Object.assign({},rt,ui,{dateRender:qo,showTime:Wn,mode:Gi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?ki:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:T()(Object(R.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Dt(Fi,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Zo){go(Ke(Gi,Zo,vi),Ke(Fi,os,vi));var $o=os;ua==="right"&&Gi[vi]===Zo&&($o=Re($o,Zo,br,-1)),to($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Yo=0,Eo=0;vi&&ra.current&&Xa.current&&Ma.current&&(Yo=ra.current.offsetWidth+Xa.current.offsetWidth,Ma.current.offsetWidth&&Yo>Ma.current.offsetWidth&&(Eo=Yo));var ds=Xi==="rtl"?{right:Yo}:{left:Yo};function hs(){var ua,ui=Nn(wr,Gi[vi],va),Bi=jr({prefixCls:wr,components:Ii,needConfirmButton:la,okDisabled:!Dt(Fi,vi)||Di&&Di(Fi[vi]),locale:Mr,rangeList:Xs,onOk:function(){Dt(Fi,vi)&&(Za(Fi,vi),Ai&&Ai(Fi))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=Re(Wn,Sn,br),qo=Gi[vi],gs=qo===Sn,os=Ys(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Ys("right",{pickerValue:io,onPickerValueChange:function(Ho){to(Re(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ua=a.createElement(a.Fragment,null,Zo,gs&&os):ua=a.createElement(a.Fragment,null,os,gs&&Zo)}else ua=Ys();var $o=a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(wr,"-panels")},ua),(ui||Bi)&&a.createElement("div",{className:"".concat(wr,"-footer")},ui,Bi));return Li&&($o=Li($o)),a.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:Eo},ref:Ma,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=a.createElement("div",{className:T()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:_s}},a.createElement("div",{className:"".concat(wr,"-range-arrow"),style:ds}),hs()),Do;Ui&&(Do=a.createElement("span",{className:"".concat(wr,"-suffix")},Ui));var ys;fa&&(Dt(za,0)&&!pa[0]||Dt(za,1)&&!pa[1])&&(ys=a.createElement("span",{onMouseDown:function(ui){ui.preventDefault(),ui.stopPropagation()},onMouseUp:function(ui){ui.preventDefault(),ui.stopPropagation();var Bi=za;pa[0]||(Bi=Ke(Bi,null,0)),pa[1]||(Bi=Ke(Bi,null,1)),Za(Bi,null),Go(!1,vi)},className:"".concat(wr,"-clear")},Mi||a.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:lt(Sn,ba[0])},As=0,Fs=0;ra.current&&Yi.current&&Xa.current&&(vi===0?Fs=ra.current.offsetWidth:(As=Yo,Fs=Yi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ui,Bi){var Wn=Ke(Fi,ui,vi);Bi==="submit"||Bi!=="key"&&!la?Za(Wn,vi):Ja(Wn)};return a.createElement(G.Provider,{value:{operationRef:Ka,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},a.createElement(Yn,{visible:vo,popupElement:Rs,popupStyle:Zr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:St,range:!0,direction:Xi},a.createElement("div",Object.assign({ref:Pa,className:T()(wr,"".concat(wr,"-range"),Jr,(jt={},Object(R.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(R.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(R.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:zr,onClick:ko,onMouseDown:Qo},Be(rt)),a.createElement("div",{className:T()("".concat(wr,"-input"),(Jt={},Object(R.a)(Jt,"".concat(wr,"-input-active"),vi===0),Object(R.a)(Jt,"".concat(wr,"-input-placeholder"),!!Ut),Jt)),ref:ra},a.createElement("input",Object.assign({id:Er,disabled:pa[0],readOnly:hi||!yo,value:Ut||rs,onChange:function(ui){ms(ui.target.value)},autoFocus:rn,placeholder:Dt(Dr,0)||"",ref:Ki},Sa,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),a.createElement("div",{className:T()("".concat(wr,"-input"),(nr={},Object(R.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(R.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Yi},a.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ui){$s(ui.target.value)},placeholder:Dt(Dr,1)||"",ref:zi},Fo,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(U.a)(Object(U.a)({},Hs),{},{width:Fs,position:"absolute"})}),Do,ys)))}var di=function(rt){Object(B.a)(Jt,rt);var jt=Object(z.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=a.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(P.a)(Jt,[{key:"render",value:function(){return a.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(a.Component),Na=di,Qi=Gn,ma=e("61s2");function Ba(rt,jt,Jt){return Jt!==void 0?Jt:rt==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:rt==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:rt==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:rt==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:rt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(rt,jt,Jt){return Jt!==void 0?Jt:rt==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:rt==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:rt==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:rt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.rangePlaceholder:jt.lang.rangePlaceholder}var Wi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(rt,jt){var Jt={};for(var nr in rt)Object.prototype.hasOwnProperty.call(rt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=rt[nr]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(rt);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(rt,nr[Or])&&(Jt[nr[Or]]=rt[nr[Or]]);return Jt};function ha(rt){function jt(Jr,Zr){var an=function(St){b()(sr,St);var Vt=A()(sr);function sr(br){var Mr;return s()(this,sr),Mr=Vt.call(this,br),Mr.pickerRef=a.createRef(),Mr.focus=function(){Mr.pickerRef.current&&Mr.pickerRef.current.focus()},Mr.blur=function(){Mr.pickerRef.current&&Mr.pickerRef.current.blur()},Mr.getDefaultLocale=function(){var Dr=Mr.props.locale,rn=c()(c()({},ma.a),Dr);return rn.lang=c()(c()({},rn.lang),(Dr||{}).lang),rn},Mr.renderPicker=function(Dr){var rn=Mr.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Mr.props,bn=Sn.prefixCls,Mn=Sn.getPopupContainer,vn=Sn.className,Rn=Sn.size,En=Sn.bordered,In=En===void 0?!0:En,Xn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Mr.props,Di=ri.format,yi=ri.showTime,xi=fn("picker",bn),Li={showToday:!0},Un={};Jr&&(Un.picker=Jr);var Ri=Jr||Mr.props.picker;return Un=c()(c()(c()({},Un),yi?rr(c()({format:Di,picker:Ri},yi)):{}),Ri==="time"?rr(c()(c()({format:Di},Mr.props),{picker:Ri})):{}),a.createElement(Hi.b.Consumer,null,function(fa){var Ui,Mi=Rn||fa;return a.createElement(Qi,c()({ref:Mr.pickerRef,placeholder:Ba(Ri,Dr,Xn),suffixIcon:Ri==="time"?a.createElement(O.a,null):a.createElement(x.a,null),clearIcon:a.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Li,ai,Un,{locale:Dr.lang,className:T()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!In),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:rt,prevIcon:a.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:To,direction:wn}))})},Object(Wi.a)(Jr!=="quarter",Zr,"DatePicker.".concat(Zr," is legacy usage. Please use DatePicker[picker='").concat(Jr,"'] directly.")),Mr}return p()(sr,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(a.Component);return an.contextType=Co.b,Zr&&(an.displayName=Zr),an}var Jt=jt(),nr=jt("week","WeekPicker"),Or=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),zr=jt("quarter","QuarterPicker");return{DatePicker:Jt,WeekPicker:nr,MonthPicker:Or,YearPicker:wr,TimePicker:Er,QuarterPicker:zr}}var mo=e("8ISB"),kn=e.n(mo),$i=function(rt,jt){var Jt={};for(var nr in rt)Object.prototype.hasOwnProperty.call(rt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=rt[nr]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(rt);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(rt,nr[Or])&&(Jt[nr[Or]]=rt[nr[Or]]);return Jt};function eo(rt){var jt=function(Jt){b()(Or,Jt);var nr=A()(Or);function Or(){var wr;return s()(this,Or),wr=nr.apply(this,arguments),wr.pickerRef=a.createRef(),wr.focus=function(){wr.pickerRef.current&&wr.pickerRef.current.focus()},wr.blur=function(){wr.pickerRef.current&&wr.pickerRef.current.blur()},wr.getDefaultLocale=function(){var Er=wr.props.locale,zr=c()(c()({},ma.a),Er);return zr.lang=c()(c()({},zr.lang),(Er||{}).lang),zr},wr.renderPicker=function(Er){var zr=wr.context,Jr=zr.getPrefixCls,Zr=zr.direction,an=zr.getPopupContainer,St=wr.props,Vt=St.prefixCls,sr=St.getPopupContainer,br=St.className,Mr=St.size,Dr=St.bordered,rn=Dr===void 0?!0:Dr,fn=St.placeholder,wn=$i(St,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Jr("picker",Vt),Rn={};return Rn=c()(c()(c()({},Rn),bn?rr(c()({format:Sn,picker:Mn},bn)):{}),Mn==="time"?rr(c()(c()({format:Sn},wr.props),{picker:Mn})):{}),a.createElement(Hi.b.Consumer,null,function(En){var In,Xn=Mr||En;return a.createElement(Na,c()({separator:a.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},a.createElement(kn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?a.createElement(O.a,null):a.createElement(x.a,null),clearIcon:a.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:T()(br,(In={},l()(In,"".concat(vn,"-").concat(Xn),Xn),l()(In,"".concat(vn,"-borderless"),!rn),In)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:rt,prevIcon:a.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:To,direction:Zr}))})},wr}return p()(Or,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(a.Component);return jt.contextType=Co.b,jt}var To={button:r,rangeItem:d};function uo(rt){return rt?Array.isArray(rt)?rt:[rt]:[]}function rr(rt){var jt=rt.format,Jt=rt.picker,nr=rt.showHour,Or=rt.showMinute,wr=rt.showSecond,Er=rt.use12Hours,zr=uo(jt)[0],Jr=c()({},rt);return zr&&(!zr.includes("s")&&wr===void 0&&(Jr.showSecond=!1),!zr.includes("m")&&Or===void 0&&(Jr.showMinute=!1),!zr.includes("H")&&!zr.includes("h")&&nr===void 0&&(Jr.showHour=!1),(zr.includes("a")||zr.includes("A"))&&Er===void 0&&(Jr.use12Hours=!0)),Jt==="time"?Jr:{showTime:Jr}}function Tr(rt){var jt=ha(rt),Jt=jt.DatePicker,nr=jt.WeekPicker,Or=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,zr=jt.QuarterPicker,Jr=eo(rt),Zr=Jt;return Zr.WeekPicker=nr,Zr.MonthPicker=Or,Zr.YearPicker=wr,Zr.RangePicker=Jr,Zr.TimePicker=Er,Zr.QuarterPicker=zr,Zr}var Pr=Tr,Wr=Pr(v),hn=_.a=Wr},"+lIL":function(D,_,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),y=e("7Phj");g.registerVisual(f),g.registerLayout(y)},"+nKL":function(D,_,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),y=e.n(f),m=e("t23M");function v(Xe,et){var tt=Object.keys(Xe);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Xe);et&&(ot=ot.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),tt.push.apply(tt,ot)}return tt}function h(Xe){for(var et=1;et<arguments.length;et++){var tt=arguments[et]!=null?arguments[et]:{};et%2?v(Object(tt),!0).forEach(function(ot){c(Xe,ot,tt[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(tt)):v(Object(tt)).forEach(function(ot){Object.defineProperty(Xe,ot,Object.getOwnPropertyDescriptor(tt,ot))})}return Xe}function c(Xe,et,tt){return et in Xe?Object.defineProperty(Xe,et,{value:tt,enumerable:!0,configurable:!0,writable:!0}):Xe[et]=tt,Xe}var a=function(et){var tt=et.height,ot=et.offset,Ve=et.children,se=et.prefixCls,re=et.onInnerResize,it={},qe={display:"flex",flexDirection:"column"};return ot!==void 0&&(it={height:tt,position:"relative",overflow:"hidden"},qe=h(h({},qe),{},{transform:"translateY(".concat(ot,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:it},g.createElement(m.a,{onResize:function(Zt){var dt=Zt.offsetHeight;dt&&re()}},g.createElement("div",{style:qe,className:y()(c({},"".concat(se,"-holder-inner"),se))},Ve)))},i=a,r=e("wgJM");function o(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(tt){return typeof tt}:o=function(tt){return tt&&typeof Symbol=="function"&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt},o(Xe)}function d(Xe,et,tt){return et in Xe?Object.defineProperty(Xe,et,{value:tt,enumerable:!0,configurable:!0,writable:!0}):Xe[et]=tt,Xe}function n(Xe,et){if(!(Xe instanceof et))throw new TypeError("Cannot call a class as a function")}function l(Xe,et){for(var tt=0;tt<et.length;tt++){var ot=et[tt];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(Xe,ot.key,ot)}}function t(Xe,et,tt){return et&&l(Xe.prototype,et),tt&&l(Xe,tt),Xe}function s(Xe,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Xe.prototype=Object.create(et&&et.prototype,{constructor:{value:Xe,writable:!0,configurable:!0}}),et&&u(Xe,et)}function u(Xe,et){return u=Object.setPrototypeOf||function(ot,Ve){return ot.__proto__=Ve,ot},u(Xe,et)}function p(Xe){var et=E();return function(){var ot=A(Xe),Ve;if(et){var se=A(this).constructor;Ve=Reflect.construct(ot,arguments,se)}else Ve=ot.apply(this,arguments);return w(this,Ve)}}function w(Xe,et){return et&&(o(et)==="object"||typeof et=="function")?et:b(Xe)}function b(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Xe){return!1}}function A(Xe){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(tt){return tt.__proto__||Object.getPrototypeOf(tt)},A(Xe)}var S=20,T=function(Xe){s(tt,Xe);var et=p(tt);function tt(){var ot;return n(this,tt),ot=et.apply(this,arguments),ot.moveRaf=null,ot.visibleTimeout=null,ot.state={dragging:!1,pageY:null,startTop:null,visible:!1},ot.delayHidden=function(){clearTimeout(ot.visibleTimeout),ot.setState({visible:!0}),ot.visibleTimeout=setTimeout(function(){ot.setState({visible:!1})},2e3)},ot.patchEvents=function(){window.addEventListener("mousemove",ot.onMouseMove),window.addEventListener("mouseup",ot.onMouseUp)},ot.removeEvents=function(){window.removeEventListener("mousemove",ot.onMouseMove),window.removeEventListener("mouseup",ot.onMouseUp),r.a.cancel(ot.moveRaf)},ot.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},ot.onMouseDown=function(Ve){var se=ot.props.onStartMove;ot.setState({dragging:!0,pageY:Ve.pageY,startTop:ot.getTop()}),se(),ot.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},ot.onMouseMove=function(Ve){var se=ot.state,re=se.dragging,it=se.pageY,qe=se.startTop,be=ot.props.onScroll;if(r.a.cancel(ot.moveRaf),re){var Zt=Ve.pageY-it,dt=qe+Zt,ct=ot.getEnableScrollRange(),yt=ot.getEnableHeightRange(),_t=dt/yt,or=Math.ceil(_t*ct);ot.moveRaf=Object(r.a)(function(){be(or)})}},ot.onMouseUp=function(){var Ve=ot.props.onStopMove;ot.setState({dragging:!1}),Ve(),ot.removeEvents()},ot.getSpinHeight=function(){var Ve=ot.props,se=Ve.height,re=Ve.count,it=se/re*10;return it=Math.max(it,S),it=Math.min(it,se/2),Math.floor(it)},ot.getEnableScrollRange=function(){var Ve=ot.props,se=Ve.scrollHeight,re=Ve.height;return se-re},ot.getEnableHeightRange=function(){var Ve=ot.props.height,se=ot.getSpinHeight();return Ve-se},ot.getTop=function(){var Ve=ot.props.scrollTop,se=ot.getEnableScrollRange(),re=ot.getEnableHeightRange(),it=Ve/se;return it*re},ot}return t(tt,[{key:"componentDidUpdate",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ve=this.state,se=Ve.visible,re=Ve.dragging,it=this.props.prefixCls,qe=this.getSpinHeight(),be=this.getTop();return g.createElement("div",{className:"".concat(it,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:se?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:y()("".concat(it,"-scrollbar-thumb"),d({},"".concat(it,"-scrollbar-thumb-moving"),re)),style:{width:"100%",height:qe,top:be,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),tt}(g.Component);function L(Xe){var et=Xe.children,tt=Xe.setRef,ot=g.useCallback(function(Ve){tt(Ve)},[]);return g.cloneElement(et,{ref:ot})}function x(Xe,et,tt,ot,Ve,se){var re=se.getKey;return Xe.slice(et,tt+1).map(function(it,qe){var be=et+qe,Zt=Ve(it,be,{}),dt=re(it);return g.createElement(L,{key:dt,setRef:function(yt){return ot(it,yt)}},Zt)})}var C=e("m+aA");function O(Xe,et){if(!(Xe instanceof et))throw new TypeError("Cannot call a class as a function")}function N(Xe,et){for(var tt=0;tt<et.length;tt++){var ot=et[tt];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(Xe,ot.key,ot)}}function F(Xe,et,tt){return et&&N(Xe.prototype,et),tt&&N(Xe,tt),Xe}var k=function(){function Xe(){O(this,Xe),this.maps={},this.maps.prototype=null}return F(Xe,[{key:"set",value:function(tt,ot){this.maps[tt]=ot}},{key:"get",value:function(tt){return this.maps[tt]}}]),Xe}(),P=k;function B(Xe,et){return H(Xe)||j(Xe,et)||R(Xe,et)||z()}function z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R(Xe,et){if(!Xe)return;if(typeof Xe=="string")return U(Xe,et);var tt=Object.prototype.toString.call(Xe).slice(8,-1);if(tt==="Object"&&Xe.constructor&&(tt=Xe.constructor.name),tt==="Map"||tt==="Set")return Array.from(Xe);if(tt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tt))return U(Xe,et)}function U(Xe,et){(et==null||et>Xe.length)&&(et=Xe.length);for(var tt=0,ot=new Array(et);tt<et;tt++)ot[tt]=Xe[tt];return ot}function j(Xe,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var tt=[],ot=!0,Ve=!1,se=void 0;try{for(var re=Xe[Symbol.iterator](),it;!(ot=(it=re.next()).done)&&!(tt.push(it.value),et&&tt.length===et);ot=!0);}catch(qe){Ve=!0,se=qe}finally{try{!ot&&re.return!=null&&re.return()}finally{if(Ve)throw se}}return tt}function H(Xe){if(Array.isArray(Xe))return Xe}function V(Xe,et,tt){var ot=g.useState(0),Ve=B(ot,2),se=Ve[0],re=Ve[1],it=Object(g.useRef)(new Map),qe=Object(g.useRef)(new P);function be(dt,ct){var yt=Xe(dt),_t=it.current.get(yt);ct?it.current.set(yt,ct):it.current.delete(yt),!_t!==!ct&&(ct?et==null||et(dt):tt==null||tt(dt))}function Zt(){var dt=!1;it.current.forEach(function(ct,yt){if(ct&&ct.offsetParent){var _t=Object(C.a)(ct),or=_t.offsetHeight;qe.current.get(yt)!==or&&(dt=!0,qe.current.set(yt,_t.offsetHeight))}}),dt&&re(function(ct){return ct+1})}return[be,Zt,qe.current,se]}function X(Xe,et){var tt=Object(g.useRef)(),ot=Object(g.useRef)();return tt.current=Xe,ot.current=et,function(Ve){var se=Math.max(Ve,0),re=tt.current-ot.current;return Number.isNaN(re)||(se=Math.min(se,re)),se}}function W(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(tt){return typeof tt}:W=function(tt){return tt&&typeof Symbol=="function"&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt},W(Xe)}function G(Xe,et,tt,ot,Ve,se,re){var it=g.useRef();return function(qe){if(r.a.cancel(it.current),typeof qe=="number")re(qe);else if(qe&&W(qe)==="object"){var be,Zt=qe.align;"index"in qe?be=qe.index:be=et.findIndex(function(ct){return Ve(ct)===qe.key});var dt=function ct(yt,_t){if(yt<0||!Xe.current)return;var or=Xe.current.clientHeight,Bt=!1,we=_t;if(or){for(var ve=_t||Zt,me=0,he=0,Re=0,He=0;He<=be;He+=1){var ze=Ve(et[He]);he=me;var Ye=tt.get(ze);Re=he+(Ye===void 0?ot:Ye),me=Re,He===be&&Ye===void 0&&(Bt=!0)}var Pe=null;switch(ve){case"top":Pe=he;break;case"bottom":Pe=Re-or;break;default:{var nt=Xe.current.scrollTop,bt=nt+or;he<nt?we="top":Re>bt&&(we="bottom")}}Pe!==null&&Pe!==Xe.current.scrollTop&&re(Pe)}it.current=Object(r.a)(function(){Bt&&se(),ct(yt-1,we)})};dt(3)}}}function $(Xe,et,tt,ot){var Ve=tt-Xe,se=et-tt,re=Math.min(Ve,se)*2;if(ot<=re){var it=Math.floor(ot/2);return ot%2?tt+it+1:tt-it}return Ve>se?tt-(ot-se):tt+(ot-Ve)}function ge(Xe,et,tt){var ot=Xe.length,Ve=et.length,se,re;if(ot===0&&Ve===0)return null;ot<Ve?(se=Xe,re=et):(se=et,re=Xe);var it={__EMPTY_ITEM__:!0};function qe(_t){return _t!==void 0?tt(_t):it}for(var be=null,Zt=Math.abs(ot-Ve)!==1,dt=0;dt<re.length;dt+=1){var ct=qe(se[dt]),yt=qe(re[dt]);if(ct!==yt){be=dt,Zt=Zt||ct!==qe(re[dt+1]);break}}return be===null?null:{index:be,multiple:Zt}}function q(Xe,et){return Qe(Xe)||Ue(Xe,et)||Ce(Xe,et)||Se()}function Se(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ce(Xe,et){if(!Xe)return;if(typeof Xe=="string")return Ae(Xe,et);var tt=Object.prototype.toString.call(Xe).slice(8,-1);if(tt==="Object"&&Xe.constructor&&(tt=Xe.constructor.name),tt==="Map"||tt==="Set")return Array.from(Xe);if(tt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tt))return Ae(Xe,et)}function Ae(Xe,et){(et==null||et>Xe.length)&&(et=Xe.length);for(var tt=0,ot=new Array(et);tt<et;tt++)ot[tt]=Xe[tt];return ot}function Ue(Xe,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var tt=[],ot=!0,Ve=!1,se=void 0;try{for(var re=Xe[Symbol.iterator](),it;!(ot=(it=re.next()).done)&&!(tt.push(it.value),et&&tt.length===et);ot=!0);}catch(qe){Ve=!0,se=qe}finally{try{!ot&&re.return!=null&&re.return()}finally{if(Ve)throw se}}return tt}function Qe(Xe){if(Array.isArray(Xe))return Xe}function gt(Xe,et,tt){var ot=g.useState(Xe),Ve=q(ot,2),se=Ve[0],re=Ve[1],it=g.useState(null),qe=q(it,2),be=qe[0],Zt=qe[1];return g.useEffect(function(){var dt=ge(se||[],Xe||[],et);(dt==null?void 0:dt.index)!==void 0&&(tt==null||tt(dt.index),Zt(Xe[dt.index])),re(Xe)},[Xe]),[be]}function _e(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_e=function(tt){return typeof tt}:_e=function(tt){return tt&&typeof Symbol=="function"&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt},_e(Xe)}var Oe=(typeof navigator=="undefined"?"undefined":_e(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),lt=Oe;function ce(Xe,et){var tt=Object(g.useRef)(0),ot=Object(g.useRef)(null),Ve=Object(g.useRef)(null),se=Object(g.useRef)(!1);function re(qe){if(!Xe)return;lt||qe.preventDefault(),r.a.cancel(ot.current),tt.current+=qe.deltaY,Ve.current=qe.deltaY,ot.current=Object(r.a)(function(){var be=se.current?10:1;et(tt.current*be),tt.current=0})}function it(qe){if(!Xe)return;qe.preventDefault(),se.current=qe.detail===Ve.current}return[re,it]}function Y(Xe,et){var tt=Object.keys(Xe);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Xe);et&&(ot=ot.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),tt.push.apply(tt,ot)}return tt}function K(Xe){for(var et=1;et<arguments.length;et++){var tt=arguments[et]!=null?arguments[et]:{};et%2?Y(Object(tt),!0).forEach(function(ot){Q(Xe,ot,tt[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(tt)):Y(Object(tt)).forEach(function(ot){Object.defineProperty(Xe,ot,Object.getOwnPropertyDescriptor(tt,ot))})}return Xe}function Q(Xe,et,tt){return et in Xe?Object.defineProperty(Xe,et,{value:tt,enumerable:!0,configurable:!0,writable:!0}):Xe[et]=tt,Xe}function ye(Xe,et){return de(Xe)||oe(Xe,et)||Ne(Xe,et)||ue()}function ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ne(Xe,et){if(!Xe)return;if(typeof Xe=="string")return Te(Xe,et);var tt=Object.prototype.toString.call(Xe).slice(8,-1);if(tt==="Object"&&Xe.constructor&&(tt=Xe.constructor.name),tt==="Map"||tt==="Set")return Array.from(Xe);if(tt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tt))return Te(Xe,et)}function Te(Xe,et){(et==null||et>Xe.length)&&(et=Xe.length);for(var tt=0,ot=new Array(et);tt<et;tt++)ot[tt]=Xe[tt];return ot}function oe(Xe,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var tt=[],ot=!0,Ve=!1,se=void 0;try{for(var re=Xe[Symbol.iterator](),it;!(ot=(it=re.next()).done)&&!(tt.push(it.value),et&&tt.length===et);ot=!0);}catch(qe){Ve=!0,se=qe}finally{try{!ot&&re.return!=null&&re.return()}finally{if(Ve)throw se}}return tt}function de(Xe){if(Array.isArray(Xe))return Xe}function Le(Xe,et){if(Xe==null)return{};var tt=Ge(Xe,et),ot,Ve;if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(Xe);for(Ve=0;Ve<se.length;Ve++){if(ot=se[Ve],et.indexOf(ot)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xe,ot))continue;tt[ot]=Xe[ot]}}return tt}function Ge(Xe,et){if(Xe==null)return{};var tt={},ot=Object.keys(Xe),Ve,se;for(se=0;se<ot.length;se++){if(Ve=ot[se],et.indexOf(Ve)>=0)continue;tt[Ve]=Xe[Ve]}return tt}var ht=[],Et={overflowY:"auto",overflowAnchor:"none"};function Be(Xe,et){var tt=Xe.prefixCls,ot=tt===void 0?"rc-virtual-list":tt,Ve=Xe.className,se=Xe.height,re=Xe.itemHeight,it=Xe.fullHeight,qe=it===void 0?!0:it,be=Xe.style,Zt=Xe.data,dt=Xe.children,ct=Xe.itemKey,yt=Xe.virtual,_t=Xe.component,or=_t===void 0?"div":_t,Bt=Xe.onScroll,we=Le(Xe,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),ve=yt!==!1&&se&&re&&Zt&&re*Zt.length>se,me=g.useState(0),he=ye(me,2),Re=he[0],He=he[1],ze=g.useState(!1),Ye=ye(ze,2),Pe=Ye[0],nt=Ye[1],bt=y()(ot,Ve),Ot=Zt||ht,ae=Object(g.useRef)(),pe=g.useCallback(function(Ar){return typeof ct=="function"?ct(Ar):Ar[ct]},[ct]),J={getKey:pe};function ne(Ar){He(function(Nr){var Fr;return typeof Ar=="function"?Fr=Ar(Nr):Fr=Ar,ae.current.scrollTop=Fr,Fr})}var xe=Object(g.useRef)({start:0,end:Ot.length}),De=Object(g.useRef)(),Fe=gt(Ot,pe),$e=ye(Fe,1),vt=$e[0];De.current=vt;var Wt=V(pe,null,null),$t=ye(Wt,4),Rt=$t[0],Kt=$t[1],Gt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!ve)return{scrollHeight:void 0,start:0,end:Ot.length-1,offset:void 0};for(var Ar=0,Nr,Fr,tn,qr=Ot.length,Lr=0;Lr<qr;Lr+=1){var Qr=Ot[Lr],_r=pe(Qr),ur=Gt.get(_r),pr=Ar+(ur===void 0?re:ur);pr>=Re&&Nr===void 0&&(Nr=Lr,Fr=Ar),pr>Re+se&&tn===void 0&&(tn=Lr),Ar=pr}return Nr===void 0&&(Nr=0,Fr=0),tn===void 0&&(tn=Ot.length-1),tn=Math.min(tn+1,Ot.length),{scrollHeight:Ar,start:Nr,end:tn,offset:Fr}},[ve,Re,Ot,Qt,se]),dr=Mt.scrollHeight,er=Mt.start,st=Mt.end,xt=Mt.offset;xe.current.start=er,xe.current.end=st;var ut=X(dr,se);function pt(Ar){var Nr=ut(Ar);Nr!==Re&&ne(Nr)}function It(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==Re&&ne(Nr),Bt==null||Bt(Ar)}var Tt=ce(ve,function(Ar){ne(function(Nr){var Fr=ut(Nr+Ar);return Fr})}),ft=ye(Tt,2),Ht=ft[0],Ft=ft[1];g.useEffect(function(){return ae.current.addEventListener("wheel",Ht),ae.current.addEventListener("DOMMouseScroll",Ft),function(){ae.current.removeEventListener("wheel",Ht),ae.current.removeEventListener("DOMMouseScroll",Ft)}},[ve]);var ir=G(ae,Ot,Gt,re,pe,Kt,ne);g.useImperativeHandle(et,function(){return{scrollTo:ir}});var Xt=x(Ot,er,st,Rt,dt,J),mr=null;return se&&(mr=K(Q({},qe?"height":"maxHeight",se),Et),ve&&(mr.overflowY="hidden",Pe&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:K(K({},be),{},{position:"relative"}),className:bt},we),g.createElement(or,{className:"".concat(ot,"-holder"),style:mr,ref:ae,onScroll:It},g.createElement(i,{prefixCls:ot,height:dr,offset:xt,onInnerResize:Kt},Xt)),ve&&g.createElement(T,{prefixCls:ot,scrollTop:Re,height:se,scrollHeight:dr,count:Ot.length,onScroll:pt,onStartMove:function(){nt(!0)},onStopMove:function(){nt(!1)}}))}var Dt=g.forwardRef(Be);Dt.displayName="List";var Ke=Dt,At=_.a=Ke},"+rIm":function(D,_,e){var g=e("bYtY"),f=g.retrieve,y=g.defaults,m=g.extend,v=g.each,h=e("7aKB"),c=e("IwbS"),a=e("Qxkt"),i=e("OELB"),r=i.isRadianAroundZero,o=i.remRadian,d=e("oVpE"),n=d.createSymbol,l=e("Fofx"),t=e("QBsz"),s=t.applyTransform,u=e("aX7z"),p=u.shouldShowAllLabels,w=Math.PI,b=function(R,U){this.opt=U,this.axisModel=R,y(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var j=new c.Group({position:U.position.slice(),rotation:U.rotation});j.updateTransform(),this._transform=j.transform,this._dumbGroup=j};b.prototype={constructor:b,hasBuilder:function(R){return!!E[R]},add:function(R){E[R].call(this)},getGroup:function(){return this.group}};var E={axisLine:function(){var R=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var j=this.axisModel.axis.getExtent(),H=this._transform,V=[j[0],0],X=[j[1],0];H&&(s(V,V,H),s(X,X,H));var W=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:V[0],y1:V[1],x2:X[0],y2:X[1]},style:W,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var G=U.get("axisLine.symbol"),$=U.get("axisLine.symbolSize"),ge=U.get("axisLine.symbolOffset")||0;if(typeof ge=="number"&&(ge=[ge,ge]),G!=null){typeof G=="string"&&(G=[G,G]),(typeof $=="string"||typeof $=="number")&&($=[$,$]);var q=$[0],Se=$[1];v([{rotate:R.rotation+Math.PI/2,offset:ge[0],r:0},{rotate:R.rotation-Math.PI/2,offset:ge[1],r:Math.sqrt((V[0]-X[0])*(V[0]-X[0])+(V[1]-X[1])*(V[1]-X[1]))}],function(Ce,Ae){if(G[Ae]!=="none"&&G[Ae]!=null){var Ue=n(G[Ae],-q/2,-Se/2,q,Se,W.stroke,!0),Qe=Ce.r+Ce.offset,gt=[V[0]+Qe*Math.cos(R.rotation),V[1]-Qe*Math.sin(R.rotation)];Ue.attr({rotation:Ce.rotate,position:gt,silent:!0,z2:11}),this.group.add(Ue)}},this)}},axisTickLabel:function(){var R=this.axisModel,U=this.opt,j=k(this,R,U),H=B(this,R,U);x(R,H,j),P(this,R,U)},axisName:function(){var R=this.opt,U=this.axisModel,j=f(R.axisName,U.get("name"));if(!j)return;var H=U.get("nameLocation"),V=R.nameDirection,X=U.getModel("nameTextStyle"),W=U.get("nameGap")||0,G=this.axisModel.axis.getExtent(),$=G[0]>G[1]?-1:1,ge=[H==="start"?G[0]-$*W:H==="end"?G[1]+$*W:(G[0]+G[1])/2,N(H)?R.labelOffset+V*W:0],q,Se=U.get("nameRotate");Se!=null&&(Se=Se*w/180);var Ce;N(H)?q=S(R.rotation,Se!=null?Se:R.rotation,V):(q=T(R,H,Se||0,G),Ce=R.axisNameAvailableWidth,Ce!=null&&(Ce=Math.abs(Ce/Math.sin(q.rotation)),!isFinite(Ce)&&(Ce=null)));var Ae=X.getFont(),Ue=U.get("nameTruncate",!0)||{},Qe=Ue.ellipsis,gt=f(R.nameTruncateMaxWidth,Ue.maxWidth,Ce),_e=Qe!=null&>!=null?h.truncateText(j,gt,Ae,Qe,{minChar:2,placeholder:Ue.placeholder}):j,Oe=U.get("tooltip",!0),lt=U.mainType,ce={componentType:lt,name:j,$vars:["name"]};ce[lt+"Index"]=U.componentIndex;var Y=new c.Text({anid:"name",__fullText:j,__truncatedText:_e,position:ge,rotation:q.rotation,silent:L(U),z2:1,tooltip:Oe&&Oe.show?m({content:j,formatter:function(){return j},formatterParams:ce},Oe):null});c.setTextStyle(Y.style,X,{text:_e,textFont:Ae,textFill:X.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:X.get("align")||q.textAlign,textVerticalAlign:X.get("verticalAlign")||q.textVerticalAlign}),U.get("triggerEvent")&&(Y.eventData=A(U),Y.eventData.targetType="axisName",Y.eventData.name=j),this._dumbGroup.add(Y),Y.updateTransform(),this.group.add(Y),Y.decomposeTransform()}},A=b.makeAxisEventDataBase=function(R){var U={componentType:R.mainType,componentIndex:R.componentIndex};return U[R.mainType+"Index"]=R.componentIndex,U},S=b.innerTextLayout=function(R,U,j){var H=o(U-R),V,X;return r(H)?(X=j>0?"top":"bottom",V="center"):r(H-w)?(X=j>0?"bottom":"top",V="center"):(X="middle",H>0&&H<w?V=j>0?"right":"left":V=j>0?"left":"right"),{rotation:H,textAlign:V,textVerticalAlign:X}};function T(R,U,j,H){var V=o(j-R.rotation),X,W,G=H[0]>H[1],$=U==="start"&&!G||U!=="start"&&G;return r(V-w/2)?(W=$?"bottom":"top",X="center"):r(V-w*1.5)?(W=$?"top":"bottom",X="center"):(W="middle",V<w*1.5&&V>w/2?X=$?"left":"right":X=$?"right":"left"),{rotation:V,textAlign:X,textVerticalAlign:W}}var L=b.isLabelSilent=function(R){var U=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||U&&U.show)};function x(R,U,j){if(p(R.axis))return;var H=R.get("axisLabel.showMinLabel"),V=R.get("axisLabel.showMaxLabel");U=U||[],j=j||[];var X=U[0],W=U[1],G=U[U.length-1],$=U[U.length-2],ge=j[0],q=j[1],Se=j[j.length-1],Ce=j[j.length-2];H===!1?(C(X),C(ge)):O(X,W)&&(H?(C(W),C(q)):(C(X),C(ge))),V===!1?(C(G),C(Se)):O($,G)&&(V?(C($),C(Ce)):(C(G),C(Se)))}function C(R){R&&(R.ignore=!0)}function O(R,U,j){var H=R&&R.getBoundingRect().clone(),V=U&&U.getBoundingRect().clone();if(!H||!V)return;var X=l.identity([]);return l.rotate(X,X,-R.rotation),H.applyTransform(l.mul([],X,R.getLocalTransform())),V.applyTransform(l.mul([],X,U.getLocalTransform())),H.intersect(V)}function N(R){return R==="middle"||R==="center"}function F(R,U,j,H,V){for(var X=[],W=[],G=[],$=0;$<R.length;$++){var ge=R[$].coord;W[0]=ge,W[1]=0,G[0]=ge,G[1]=j,U&&(s(W,W,U),s(G,G,U));var q=new c.Line({anid:V+"_"+R[$].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:G[0],y2:G[1]},style:H,z2:2,silent:!0});X.push(q)}return X}function k(R,U,j){var H=U.axis,V=U.getModel("axisTick");if(!V.get("show")||H.scale.isBlank())return;for(var X=V.getModel("lineStyle"),W=j.tickDirection*V.get("length"),G=H.getTicksCoords(),$=F(G,R._transform,W,y(X.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),ge=0;ge<$.length;ge++)R.group.add($[ge]);return $}function P(R,U,j){var H=U.axis,V=U.getModel("minorTick");if(!V.get("show")||H.scale.isBlank())return;var X=H.getMinorTicksCoords();if(!X.length)return;for(var W=V.getModel("lineStyle"),G=j.tickDirection*V.get("length"),$=y(W.getLineStyle(),y(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),ge=0;ge<X.length;ge++)for(var q=F(X[ge],R._transform,G,$,"minorticks_"+ge),Se=0;Se<q.length;Se++)R.group.add(q[Se])}function B(R,U,j){var H=U.axis,V=f(j.axisLabelShow,U.get("axisLabel.show"));if(!V||H.scale.isBlank())return;var X=U.getModel("axisLabel"),W=X.get("margin"),G=H.getViewLabels(),$=(f(j.labelRotate,X.get("rotate"))||0)*w/180,ge=S(j.rotation,$,j.labelDirection),q=U.getCategories&&U.getCategories(!0),Se=[],Ce=L(U),Ae=U.get("triggerEvent");return v(G,function(Ue,Qe){var gt=Ue.tickValue,_e=Ue.formattedLabel,Oe=Ue.rawLabel,lt=X;q&&q[gt]&&q[gt].textStyle&&(lt=new a(q[gt].textStyle,X,U.ecModel));var ce=lt.getTextColor()||U.get("axisLine.lineStyle.color"),Y=H.dataToCoord(gt),K=[Y,j.labelOffset+j.labelDirection*W],Q=new c.Text({anid:"label_"+gt,position:K,rotation:ge.rotation,silent:Ce,z2:10});c.setTextStyle(Q.style,lt,{text:_e,textAlign:lt.getShallow("align",!0)||ge.textAlign,textVerticalAlign:lt.getShallow("verticalAlign",!0)||lt.getShallow("baseline",!0)||ge.textVerticalAlign,textFill:typeof ce=="function"?ce(H.type==="category"?Oe:H.type==="value"?gt+"":gt,Qe):ce}),Ae&&(Q.eventData=A(U),Q.eventData.targetType="axisLabel",Q.eventData.value=Oe),R._dumbGroup.add(Q),Q.updateTransform(),Se.push(Q),R.group.add(Q),Q.decomposeTransform()}),Se}var z=b;D.exports=z},"+wW9":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.isArray,m=g.isObject,v=e("JuEJ"),h=e("4NO4"),c=h.normalizeToArray;function a(l,t){t=t.split(",");for(var s=l,u=0;u<t.length&&!(s=s&&s[t[u]],s==null);u++);return s}function i(l,t,s,u){t=t.split(",");for(var p=l,w,b=0;b<t.length-1;b++)w=t[b],p[w]==null&&(p[w]={}),p=p[w];(u||p[t[b]]==null)&&(p[t[b]]=s)}function r(l){f(o,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var o=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],d=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(l,t){v(l,t),l.series=c(l.series),f(l.series,function(s){if(!m(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var p=a(s,"pointer.color");p!=null&&i(s,"itemStyle.color",p)}r(s)}),l.dataRange&&(l.visualMap=l.dataRange),f(d,function(s){var u=l[s];u&&(y(u)||(u=[u]),f(u,function(p){r(p)}))})}D.exports=n},"/IIm":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("H6uX"),v=e("IwbS"),h=e("pP6R"),c=e("gPAo"),a=y.curry,i=y.each,r=y.map,o=Math.min,d=Math.max,n=Math.pow,l=1e4,t=6,s=6,u="globalPan",p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},w={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},E=0;function A(oe){m.call(this),this._zr=oe,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+E++,this._handlers={},i(K,function(de,Le){this._handlers[Le]=y.bind(de,this)},this)}A.prototype={constructor:A,enableBrush:function(oe){return this._brushType&&T(this),oe.brushType&&S(this,oe),this},setPanels:function(oe){if(oe&&oe.length){var de=this._panels={};y.each(oe,function(Le){de[Le.panelId]=y.clone(Le)})}else this._panels=null;return this},mount:function(oe){oe=oe||{},this._enableGlobalPan=oe.enableGlobalPan;var de=this.group;return this._zr.add(de),de.attr({position:oe.position||[0,0],rotation:oe.rotation||0,scale:oe.scale||[1,1]}),this._transform=de.getLocalTransform(),this},eachCover:function(oe,de){i(this._covers,oe,de)},updateCovers:function(oe){oe=y.map(oe,function(Xe){return y.merge(y.clone(b),Xe,!0)});var de="\0-brush-index-",Le=this._covers,Ge=this._covers=[],ht=this,Et=this._creatingCover;return new c(Le,oe,Dt,Be).add(Ke).update(Ke).remove(At).execute(),this;function Be(Xe,et){return(Xe.id!=null?Xe.id:de+et)+"-"+Xe.brushType}function Dt(Xe,et){return Be(Xe.__brushOption,et)}function Ke(Xe,et){var tt=oe[Xe];if(et!=null&&Le[et]===Et)Ge[Xe]=Le[et];else{var ot=Ge[Xe]=et!=null?(Le[et].__brushOption=tt,Le[et]):O(ht,C(ht,tt));k(ht,ot)}}function At(Xe){Le[Xe]!==Et&&ht.group.remove(Le[Xe])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},y.mixin(A,m);function S(oe,de){var Le=oe._zr;oe._enableGlobalPan||h.take(Le,u,oe._uid),L(Le,oe._handlers),oe._brushType=de.brushType,oe._brushOption=y.merge(y.clone(b),de,!0)}function T(oe){var de=oe._zr;h.release(de,u,oe._uid),x(de,oe._handlers),oe._brushType=oe._brushOption=null}function L(oe,de){i(de,function(Le,Ge){oe.on(Ge,Le)})}function x(oe,de){i(de,function(Le,Ge){oe.off(Ge,Le)})}function C(oe,de){var Le=ue[de.brushType].createCover(oe,de);return Le.__brushOption=de,F(Le,de),oe.group.add(Le),Le}function O(oe,de){var Le=P(de);return Le.endCreating&&(Le.endCreating(oe,de),F(de,de.__brushOption)),de}function N(oe,de){var Le=de.__brushOption;P(de).updateCoverShape(oe,de,Le.range,Le)}function F(oe,de){var Le=de.z;Le==null&&(Le=l),oe.traverse(function(Ge){Ge.z=Le,Ge.z2=Le})}function k(oe,de){P(de).updateCommon(oe,de),N(oe,de)}function P(oe){return ue[oe.__brushOption.brushType]}function B(oe,de,Le){var Ge=oe._panels;if(!Ge)return!0;var ht,Et=oe._transform;return i(Ge,function(Be){Be.isTargetByCursor(de,Le,Et)&&(ht=Be)}),ht}function z(oe,de){var Le=oe._panels;if(!Le)return!0;var Ge=de.__brushOption.panelId;return Ge!=null?Le[Ge]:!0}function R(oe){var de=oe._covers,Le=de.length;return i(de,function(Ge){oe.group.remove(Ge)},oe),de.length=0,!!Le}function U(oe,de){var Le=r(oe._covers,function(Ge){var ht=Ge.__brushOption,Et=y.clone(ht.range);return{brushType:ht.brushType,panelId:ht.panelId,range:Et}});oe.trigger("brush",Le,{isEnd:!!de.isEnd,removeOnClick:!!de.removeOnClick})}function j(oe){var de=oe._track;if(!de.length)return!1;var Le=de[de.length-1],Ge=de[0],ht=Le[0]-Ge[0],Et=Le[1]-Ge[1],Be=n(ht*ht+Et*Et,.5);return Be>t}function H(oe){var de=oe.length-1;return de<0&&(de=0),[oe[0],oe[de]]}function V(oe,de,Le,Ge){var ht=new v.Group;return ht.add(new v.Rect({name:"main",style:$(Le),silent:!0,draggable:!0,cursor:"move",drift:a(oe,de,ht,"nswe"),ondragend:a(U,de,{isEnd:!0})})),i(Ge,function(Et){ht.add(new v.Rect({name:Et,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:a(oe,de,ht,Et),ondragend:a(U,de,{isEnd:!0})}))}),ht}function X(oe,de,Le,Ge){var ht=Ge.brushStyle.lineWidth||0,Et=d(ht,s),Be=Le[0][0],Dt=Le[1][0],Ke=Be-ht/2,At=Dt-ht/2,Xe=Le[0][1],et=Le[1][1],tt=Xe-Et+ht/2,ot=et-Et+ht/2,Ve=Xe-Be,se=et-Dt,re=Ve+ht,it=se+ht;G(oe,de,"main",Be,Dt,Ve,se),Ge.transformable&&(G(oe,de,"w",Ke,At,Et,it),G(oe,de,"e",tt,At,Et,it),G(oe,de,"n",Ke,At,re,Et),G(oe,de,"s",Ke,ot,re,Et),G(oe,de,"nw",Ke,At,Et,Et),G(oe,de,"ne",tt,At,Et,Et),G(oe,de,"sw",Ke,ot,Et,Et),G(oe,de,"se",tt,ot,Et,Et))}function W(oe,de){var Le=de.__brushOption,Ge=Le.transformable,ht=de.childAt(0);ht.useStyle($(Le)),ht.attr({silent:!Ge,cursor:Ge?"move":"default"}),i(["w","e","n","s","se","sw","ne","nw"],function(Et){var Be=de.childOfName(Et),Dt=Se(oe,Et);Be&&Be.attr({silent:!Ge,invisible:!Ge,cursor:Ge?w[Dt]+"-resize":null})})}function G(oe,de,Le,Ge,ht,Et,Be){var Dt=de.childOfName(Le);Dt&&Dt.setShape(gt(Qe(oe,de,[[Ge,ht],[Ge+Et,ht+Be]])))}function $(oe){return y.defaults({strokeNoScale:!0},oe.brushStyle)}function ge(oe,de,Le,Ge){var ht=[o(oe,Le),o(de,Ge)],Et=[d(oe,Le),d(de,Ge)];return[[ht[0],Et[0]],[ht[1],Et[1]]]}function q(oe){return v.getTransform(oe.group)}function Se(oe,de){if(de.length>1){de=de.split("");var Le=[Se(oe,de[0]),Se(oe,de[1])];return(Le[0]==="e"||Le[0]==="w")&&Le.reverse(),Le.join("")}else{var Ge={w:"left",e:"right",n:"top",s:"bottom"},ht={left:"w",right:"e",top:"n",bottom:"s"},Le=v.transformDirection(Ge[de],q(oe));return ht[Le]}}function Ce(oe,de,Le,Ge,ht,Et,Be,Dt){var Ke=Ge.__brushOption,At=oe(Ke.range),Xe=Ue(Le,Et,Be);i(ht.split(""),function(et){var tt=p[et];At[tt[0]][tt[1]]+=Xe[tt[0]]}),Ke.range=de(ge(At[0][0],At[1][0],At[0][1],At[1][1])),k(Le,Ge),U(Le,{isEnd:!1})}function Ae(oe,de,Le,Ge,ht){var Et=de.__brushOption.range,Be=Ue(oe,Le,Ge);i(Et,function(Dt){Dt[0]+=Be[0],Dt[1]+=Be[1]}),k(oe,de),U(oe,{isEnd:!1})}function Ue(oe,de,Le){var Ge=oe.group,ht=Ge.transformCoordToLocal(de,Le),Et=Ge.transformCoordToLocal(0,0);return[ht[0]-Et[0],ht[1]-Et[1]]}function Qe(oe,de,Le){var Ge=z(oe,de);return Ge&&Ge!==!0?Ge.clipPath(Le,oe._transform):y.clone(Le)}function gt(oe){var de=o(oe[0][0],oe[1][0]),Le=o(oe[0][1],oe[1][1]),Ge=d(oe[0][0],oe[1][0]),ht=d(oe[0][1],oe[1][1]);return{x:de,y:Le,width:Ge-de,height:ht-Le}}function _e(oe,de,Le){if(!oe._brushType||ye(oe,de))return;var Ge=oe._zr,ht=oe._covers,Et=B(oe,de,Le);if(!oe._dragging)for(var Be=0;Be<ht.length;Be++){var Dt=ht[Be].__brushOption;if(Et&&(Et===!0||Dt.panelId===Et.panelId)&&ue[Dt.brushType].contain(ht[Be],Le[0],Le[1]))return}Et&&Ge.setCursorStyle("crosshair")}function Oe(oe){var de=oe.event;de.preventDefault&&de.preventDefault()}function lt(oe,de,Le){return oe.childOfName("main").contain(de,Le)}function ce(oe,de,Le,Ge){var ht=oe._creatingCover,Et=oe._creatingPanel,Be=oe._brushOption,Dt;if(oe._track.push(Le.slice()),j(oe)||ht){if(Et&&!ht){Be.brushMode==="single"&&R(oe);var Ke=y.clone(Be);Ke.brushType=Y(Ke.brushType,Et),Ke.panelId=Et===!0?null:Et.panelId,ht=oe._creatingCover=C(oe,Ke),oe._covers.push(ht)}if(ht){var At=ue[Y(oe._brushType,Et)],Xe=ht.__brushOption;Xe.range=At.getCreatingRange(Qe(oe,ht,oe._track)),Ge&&(O(oe,ht),At.updateCommon(oe,ht)),N(oe,ht),Dt={isEnd:Ge}}}else Ge&&Be.brushMode==="single"&&Be.removeOnClick&&(B(oe,de,Le)&&R(oe)&&(Dt={isEnd:Ge,removeOnClick:!0}));return Dt}function Y(oe,de){return oe==="auto"?de.defaultBrushType:oe}var K={mousedown:function(oe){if(this._dragging)Q(this,oe);else if(!oe.target||!oe.target.draggable){Oe(oe);var de=this.group.transformCoordToLocal(oe.offsetX,oe.offsetY);this._creatingCover=null;var Le=this._creatingPanel=B(this,oe,de);Le&&(this._dragging=!0,this._track=[de.slice()])}},mousemove:function(oe){var de=oe.offsetX,Le=oe.offsetY,Ge=this.group.transformCoordToLocal(de,Le);if(_e(this,oe,Ge),this._dragging){Oe(oe);var ht=ce(this,oe,Ge,!1);ht&&U(this,ht)}},mouseup:function(oe){Q(this,oe)}};function Q(oe,de){if(oe._dragging){Oe(de);var Le=de.offsetX,Ge=de.offsetY,ht=oe.group.transformCoordToLocal(Le,Ge),Et=ce(oe,de,ht,!0);oe._dragging=!1,oe._track=[],oe._creatingCover=null,Et&&U(oe,Et)}}function ye(oe,de,Le){var Ge=oe._zr;return de<0||de>Ge.getWidth()||Le<0||Le>Ge.getHeight()}var ue={lineX:Ne(0),lineY:Ne(1),rect:{createCover:function(oe,de){return V(a(Ce,function(Le){return Le},function(Le){return Le}),oe,de,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(oe){var de=H(oe);return ge(de[1][0],de[1][1],de[0][0],de[0][1])},updateCoverShape:function(oe,de,Le,Ge){X(oe,de,Le,Ge)},updateCommon:W,contain:lt},polygon:{createCover:function(oe,de){var Le=new v.Group;return Le.add(new v.Polyline({name:"main",style:$(de),silent:!0})),Le},getCreatingRange:function(oe){return oe},endCreating:function(oe,de){de.remove(de.childAt(0)),de.add(new v.Polygon({name:"main",draggable:!0,drift:a(Ae,oe,de),ondragend:a(U,oe,{isEnd:!0})}))},updateCoverShape:function(oe,de,Le,Ge){de.childAt(0).setShape({points:Qe(oe,de,Le)})},updateCommon:W,contain:lt}};function Ne(oe){return{createCover:function(de,Le){return V(a(Ce,function(Ge){var ht=[Ge,[0,100]];return oe&&ht.reverse(),ht},function(Ge){return Ge[oe]}),de,Le,[["w","e"],["n","s"]][oe])},getCreatingRange:function(de){var Le=H(de),Ge=o(Le[0][oe],Le[1][oe]),ht=d(Le[0][oe],Le[1][oe]);return[Ge,ht]},updateCoverShape:function(de,Le,Ge,ht){var Et,Be=z(de,Le);if(Be!==!0&&Be.getLinearBrushOtherExtent)Et=Be.getLinearBrushOtherExtent(oe,de._transform);else{var Dt=de._zr;Et=[0,[Dt.getWidth(),Dt.getHeight()][1-oe]]}var Ke=[Ge,Et];oe&&Ke.reverse(),X(de,Le,Ke,ht)},updateCommon:W,contain:lt}}var Te=A;D.exports=Te},"/MfK":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DeleteOutlined";var h=_.a=g.forwardRef(v)},"/POA":function(D,_,e){!function(g,f){if(!0)D.exports=f();else var y,m}(window,function(){return function(g){var f={};function y(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(m,v,h){y.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},y.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},y.t=function(m,v){if(1&v&&(m=y(m)),8&v)return m;if(4&v&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),2&v&&typeof m!="string")for(var c in m)y.d(h,c,function(a){return m[a]}.bind(null,c));return h},y.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return y.d(v,"a",v),v},y.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},y.p="",y(y.s=34)}([function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(a){return c._listeners.push(a),{dispose:function(){if(!c._disposed){for(var r=0;r<c._listeners.length;r++)if(c._listeners[r]===a)return void c._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(h,c){for(var a=[],i=0;i<this._listeners.length;i++)a.push(this._listeners[i]);for(i=0;i<a.length;i++)a[i].call(void 0,h,c)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();f.EventEmitter=m,f.forwardEvent=function(v,h){return v(function(c){return h.fire(c)})}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.IUnicodeService=f.IOptionsService=f.ILogService=f.IInstantiationService=f.IDirtyRowService=f.ICharsetService=f.ICoreService=f.ICoreMouseService=f.IBufferService=void 0;var m=y(14);f.IBufferService=m.createDecorator("BufferService"),f.ICoreMouseService=m.createDecorator("CoreMouseService"),f.ICoreService=m.createDecorator("CoreService"),f.ICharsetService=m.createDecorator("CharsetService"),f.IDirtyRowService=m.createDecorator("DirtyRowService"),f.IInstantiationService=m.createDecorator("InstantiationService"),f.ILogService=m.createDecorator("LogService"),f.IOptionsService=m.createDecorator("OptionsService"),f.IUnicodeService=m.createDecorator("UnicodeService")},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var m=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var c=0,a=this._disposables;c<a.length;c++)a[c].dispose();this._disposables.length=0},h.prototype.register=function(c){return this._disposables.push(c),c},h.prototype.unregister=function(c){var a=this._disposables.indexOf(c);a!==-1&&this._disposables.splice(a,1)},h}();function v(h){for(var c=0,a=h;c<a.length;c++)a[c].dispose();h.length=0}f.Disposable=m,f.disposeArray=v,f.getDisposeArrayDisposable=function(h){return{dispose:function(){return v(h)}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WHITESPACE_CELL_CODE=f.WHITESPACE_CELL_WIDTH=f.WHITESPACE_CELL_CHAR=f.NULL_CELL_CODE=f.NULL_CELL_WIDTH=f.NULL_CELL_CHAR=f.CHAR_DATA_CODE_INDEX=f.CHAR_DATA_WIDTH_INDEX=f.CHAR_DATA_CHAR_INDEX=f.CHAR_DATA_ATTR_INDEX=f.DEFAULT_ATTR=f.DEFAULT_COLOR=void 0,f.DEFAULT_COLOR=256,f.DEFAULT_ATTR=256|f.DEFAULT_COLOR<<9,f.CHAR_DATA_ATTR_INDEX=0,f.CHAR_DATA_CHAR_INDEX=1,f.CHAR_DATA_WIDTH_INDEX=2,f.CHAR_DATA_CODE_INDEX=3,f.NULL_CELL_CHAR="",f.NULL_CELL_WIDTH=1,f.NULL_CELL_CODE=0,f.WHITESPACE_CELL_CHAR=" ",f.WHITESPACE_CELL_WIDTH=1,f.WHITESPACE_CELL_CODE=32},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var h=y(8),c=y(3),a=y(6),i=function(r){function o(){var d=r!==null&&r.apply(this,arguments)||this;return d.content=0,d.fg=0,d.bg=0,d.extended=new a.ExtendedAttrs,d.combinedData="",d}return v(o,r),o.fromCharData=function(d){var n=new o;return n.setFromCharData(d),n},o.prototype.isCombined=function(){return 2097152&this.content},o.prototype.getWidth=function(){return this.content>>22},o.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?h.stringFromCodePoint(2097151&this.content):""},o.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},o.prototype.setFromCharData=function(d){this.fg=d[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(d[c.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(d[c.CHAR_DATA_CHAR_INDEX].length===2){var l=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|d[c.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|d[c.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=d[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|d[c.CHAR_DATA_WIDTH_INDEX]<<22)},o.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},o}(a.AttributeData);f.CellData=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=y(14);f.ICharSizeService=m.createDecorator("CharSizeService"),f.ICoreBrowserService=m.createDecorator("CoreBrowserService"),f.IMouseService=m.createDecorator("MouseService"),f.IRenderService=m.createDecorator("RenderService"),f.ISelectionService=m.createDecorator("SelectionService"),f.ISoundService=m.createDecorator("SoundService")},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var m=function(){function h(){this.fg=0,this.bg=0,this.extended=new v}return h.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},h.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},h.prototype.clone=function(){var c=new h;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();f.AttributeData=m;var v=function(){function h(c,a){c===void 0&&(c=0),a===void 0&&(a=-1),this.underlineStyle=c,this.underlineColor=a}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();f.ExtendedAttrs=v},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,v,h,c){m.addEventListener(v,h,c);var a=!1;return{dispose:function(){a||(a=!0,m.removeEventListener(v,h,c))}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},f.utf32ToString=function(h,c,a){c===void 0&&(c=0),a===void 0&&(a=h.length);for(var i="",r=c;r<a;++r){var o=h[r];o>65535?(o-=65536,i+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):i+=String.fromCharCode(o)}return i};var m=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(c,a){var i=c.length;if(!i)return 0;var r=0,o=0;this._interim&&(56320<=(l=c.charCodeAt(o++))&&l<=57343?a[r++]=1024*(this._interim-55296)+l-56320+65536:(a[r++]=this._interim,a[r++]=l),this._interim=0);for(var d=o;d<i;++d){var n=c.charCodeAt(d);if(55296<=n&&n<=56319){if(++d>=i)return this._interim=n,r;var l;56320<=(l=c.charCodeAt(d))&&l<=57343?a[r++]=1024*(n-55296)+l-56320+65536:(a[r++]=n,a[r++]=l)}else a[r++]=n}return r},h}();f.StringToUtf32=m;var v=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(c,a){var i=c.length;if(!i)return 0;var r,o,d,n,l=0,t=0,s=0;if(this.interim[0]){var u=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var w=0,b=void 0;(b=63&this.interim[++w])&&w<4;)p<<=6,p|=b;for(var E=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,A=E-w;s<A;){if(s>=i)return 0;if((192&(b=c[s++]))!=128){s--,u=!0;break}this.interim[w++]=b,p<<=6,p|=63&b}u||(E===2?p<128?s--:a[l++]=p:E===3?p<2048||p>=55296&&p<=57343||(a[l++]=p):p<65536||p>1114111||(a[l++]=p)),this.interim.fill(0)}for(var S=i-4,T=s;T<i;){for(;!(!(T<S)||128&(r=c[T])||128&(o=c[T+1])||128&(d=c[T+2])||128&(n=c[T+3]));)a[l++]=r,a[l++]=o,a[l++]=d,a[l++]=n,T+=4;if((r=c[T++])<128)a[l++]=r;else if((224&r)==192){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if((t=(31&r)<<6|63&o)<128){T--;continue}a[l++]=t}else if((240&r)==224){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[T++]))!=128){T--;continue}if((t=(15&r)<<12|(63&o)<<6|63&d)<2048||t>=55296&&t<=57343)continue;a[l++]=t}else if((248&r)==240){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,this.interim[2]=d,l;if((192&(n=c[T++]))!=128){T--;continue}if((t=(7&r)<<18|(63&o)<<12|(63&d)<<6|63&n)<65536||t>1114111)continue;a[l++]=t}}return l},h}();f.Utf8ToUtf32=v},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CHAR_ATLAS_CELL_SPACING=f.DIM_OPACITY=f.INVERTED_DEFAULT_COLOR=void 0,f.INVERTED_DEFAULT_COLOR=257,f.DIM_OPACITY=.5,f.CHAR_ATLAS_CELL_SPACING=1},function(g,f,y){"use strict";var m,v,h,c;function a(r){var o=r.toString(16);return o.length<2?"0"+o:o}function i(r,o){return r<o?(o+.05)/(r+.05):(r+.05)/(o+.05)}Object.defineProperty(f,"__esModule",{value:!0}),f.contrastRatio=f.toPaddedHex=f.rgba=f.rgb=f.css=f.color=f.channels=void 0,function(r){r.toCss=function(o,d,n,l){return l!==void 0?"#"+a(o)+a(d)+a(n)+a(l):"#"+a(o)+a(d)+a(n)},r.toRgba=function(o,d,n,l){return l===void 0&&(l=255),(o<<24|d<<16|n<<8|l)>>>0}}(m=f.channels||(f.channels={})),(v=f.color||(f.color={})).blend=function(r,o){var d=(255&o.rgba)/255;if(d===1)return{css:o.css,rgba:o.rgba};var n=o.rgba>>24&255,l=o.rgba>>16&255,t=o.rgba>>8&255,s=r.rgba>>24&255,u=r.rgba>>16&255,p=r.rgba>>8&255,w=s+Math.round((n-s)*d),b=u+Math.round((l-u)*d),E=p+Math.round((t-p)*d);return{css:m.toCss(w,b,E),rgba:m.toRgba(w,b,E)}},v.isOpaque=function(r){return(255&r.rgba)==255},v.ensureContrastRatio=function(r,o,d){var n=c.ensureContrastRatio(r.rgba,o.rgba,d);if(n)return c.toColor(n>>24&255,n>>16&255,n>>8&255)},v.opaque=function(r){var o=(255|r.rgba)>>>0,d=c.toChannels(o),n=d[0],l=d[1],t=d[2];return{css:m.toCss(n,l,t),rgba:o}},v.opacity=function(r,o){var d=Math.round(255*o),n=c.toChannels(r.rgba),l=n[0],t=n[1],s=n[2];return{css:m.toCss(l,t,s,d),rgba:m.toRgba(l,t,s,d)}},(f.css||(f.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function o(d,n,l){var t=d/255,s=n/255,u=l/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4))}r.relativeLuminance=function(d){return o(d>>16&255,d>>8&255,255&d)},r.relativeLuminance2=o}(h=f.rgb||(f.rgb={})),function(r){function o(n,l,t){for(var s=n>>24&255,u=n>>16&255,p=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));A<t&&(w>0||b>0||E>0);)w-=Math.max(0,Math.ceil(.1*w)),b-=Math.max(0,Math.ceil(.1*b)),E-=Math.max(0,Math.ceil(.1*E)),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));return(w<<24|b<<16|E<<8|255)>>>0}function d(n,l,t){for(var s=n>>24&255,u=n>>16&255,p=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));A<t&&(w<255||b<255||E<255);)w=Math.min(255,w+Math.ceil(.1*(255-w))),b=Math.min(255,b+Math.ceil(.1*(255-b))),E=Math.min(255,E+Math.ceil(.1*(255-E))),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));return(w<<24|b<<16|E<<8|255)>>>0}r.ensureContrastRatio=function(n,l,t){var s=h.relativeLuminance(n>>8),u=h.relativeLuminance(l>>8);if(i(s,u)<t)return u<s?o(n,l,t):d(n,l,t)},r.reduceLuminance=o,r.increaseLuminance=d,r.toChannels=function(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]},r.toColor=function(n,l,t){return{css:m.toCss(n,l,t),rgba:m.toRgba(n,l,t)}}}(c=f.rgba||(f.rgba={})),f.toPaddedHex=a,f.contrastRatio=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isLinux=f.isWindows=f.isIphone=f.isIpad=f.isMac=f.isSafari=f.isFirefox=void 0;var m=typeof navigator=="undefined",v=m?"node":navigator.userAgent,h=m?"node":navigator.platform;function c(a,i){return a.indexOf(i)>=0}f.isFirefox=!!~v.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(v),f.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],h),f.isIpad=h==="iPad",f.isIphone=h==="iPhone",f.isWindows=c(["Windows","Win16","Win32","WinCE"],h),f.isLinux=h.indexOf("Linux")>=0},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.C1=f.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=`
|
|
|
`,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(f.C0||(f.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(f.C1||(f.C1={}))},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=y(3),v=y(9),h=y(25),c=y(6),a=y(28),i=y(10),r=y(17),o=function(){function d(n,l,t,s,u,p,w,b){this._container=n,this._alpha=s,this._colors=u,this._rendererId=p,this._bufferService=w,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return d.prototype.dispose=function(){var n;r.removeElementFromParent(this._canvas),(n=this._charAtlas)===null||n===void 0||n.dispose()},d.prototype._initCanvas=function(){this._ctx=a.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},d.prototype.onOptionsChanged=function(){},d.prototype.onBlur=function(){},d.prototype.onFocus=function(){},d.prototype.onCursorMove=function(){},d.prototype.onGridChanged=function(n,l){},d.prototype.onSelectionChanged=function(n,l,t){t===void 0&&(t=!1)},d.prototype.setColors=function(n){this._refreshCharAtlas(n)},d.prototype._setTransparency=function(n){if(n!==this._alpha){var l=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},d.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},d.prototype.resize=function(n){this._scaledCellWidth=n.scaledCellWidth,this._scaledCellHeight=n.scaledCellHeight,this._scaledCharWidth=n.scaledCharWidth,this._scaledCharHeight=n.scaledCharHeight,this._scaledCharLeft=n.scaledCharLeft,this._scaledCharTop=n.scaledCharTop,this._canvas.width=n.scaledCanvasWidth,this._canvas.height=n.scaledCanvasHeight,this._canvas.style.width=n.canvasWidth+"px",this._canvas.style.height=n.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},d.prototype._fillCells=function(n,l,t,s){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight)},d.prototype._fillBottomLineAtCells=function(n,l,t){t===void 0&&(t=1),this._ctx.fillRect(n*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},d.prototype._fillLeftLineAtCell=function(n,l,t){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},d.prototype._strokeRectAtCell=function(n,l,t,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},d.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},d.prototype._clearCells=function(n,l,t,s){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight))},d.prototype._fillCharTrueColor=function(n,l,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},d.prototype._drawChars=function(n,l,t){var s,u,p=this._getContrastColor(n);p||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,l,t,p):(n.isInverse()?(s=n.isBgDefault()?v.INVERTED_DEFAULT_COLOR:n.getBgColor(),u=n.isFgDefault()?v.INVERTED_DEFAULT_COLOR:n.getFgColor()):(u=n.isBgDefault()?m.DEFAULT_COLOR:n.getBgColor(),s=n.isFgDefault()?m.DEFAULT_COLOR:n.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=u,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,l,t))},d.prototype._drawUncachedChars=function(n,l,t,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(s)this._ctx.fillStyle=s.css;else if(n.isBgDefault())this._ctx.fillStyle=i.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var u=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}else if(s)this._ctx.fillStyle=s.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var p=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(t),n.isDim()&&(this._ctx.globalAlpha=v.DIM_OPACITY),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},d.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},d.prototype._getFont=function(n,l){return(l?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},d.prototype._getContrastColor=function(n){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(n.bg,n.fg);if(l!==void 0)return l||void 0;var t=n.getFgColor(),s=n.getFgColorMode(),u=n.getBgColor(),p=n.getBgColorMode(),w=!!n.isInverse(),b=!!n.isInverse();if(w){var E=t;t=u,u=E;var A=s;s=p,p=A}var S=this._resolveBackgroundRgba(p,u,w),T=this._resolveForegroundRgba(s,t,w,b),L=i.rgba.ensureContrastRatio(S,T,this._optionsService.options.minimumContrastRatio);if(L){var x={css:i.channels.toCss(L>>24&255,L>>16&255,L>>8&255),rgba:L};return this._colors.contrastCache.setColor(n.bg,n.fg,x),x}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},d.prototype._resolveBackgroundRgba=function(n,l,t){switch(n){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},d.prototype._resolveForegroundRgba=function(n,l,t,s){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},d}();f.BaseRenderLayer=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(v,h,c){h.di$target===h?h.di$dependencies.push({id:v,index:c}):(h.di$dependencies=[{id:v,index:c}],h.di$target=h)}f.serviceRegistry=new Map,f.getServiceDependencies=function(v){return v.di$dependencies||[]},f.createDecorator=function(v){if(f.serviceRegistry.has(v))return f.serviceRegistry.get(v);var h=function c(a,i,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(c,a,r)};return h.toString=function(){return v},f.serviceRegistry.set(v,h),h}},function(g,f,y){"use strict";function m(v,h,c,a){if(c===void 0&&(c=0),a===void 0&&(a=v.length),c>=v.length)return v;c=(v.length+c)%v.length,a=a>=v.length?v.length:(v.length+a)%v.length;for(var i=c;i<a;++i)v[i]=h;return v}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(v,h,c,a){return v.fill?v.fill(h,c,a):m(v,h,c,a)},f.fillFallback=m,f.concat=function(v,h){var c=new v.constructor(v.length+h.length);return c.set(v),c.set(h,v.length),c}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=y(8),v=y(3),h=y(4),c=y(6);f.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var a=function(){function i(r,o,d){d===void 0&&(d=!1),this.isWrapped=d,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*r);for(var n=o||h.CellData.fromCharData([0,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),l=0;l<r;++l)this.setCell(l,n);this.length=r}return i.prototype.get=function(r){var o=this._data[3*r+0],d=2097151&o;return[this._data[3*r+1],2097152&o?this._combined[r]:d?m.stringFromCodePoint(d):"",o>>22,2097152&o?this._combined[r].charCodeAt(this._combined[r].length-1):d]},i.prototype.set=function(r,o){this._data[3*r+1]=o[v.CHAR_DATA_ATTR_INDEX],o[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=o[1],this._data[3*r+0]=2097152|r|o[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=o[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|o[v.CHAR_DATA_WIDTH_INDEX]<<22},i.prototype.getWidth=function(r){return this._data[3*r+0]>>22},i.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},i.prototype.getFg=function(r){return this._data[3*r+1]},i.prototype.getBg=function(r){return this._data[3*r+2]},i.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},i.prototype.getCodePoint=function(r){var o=this._data[3*r+0];return 2097152&o?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&o},i.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},i.prototype.getString=function(r){var o=this._data[3*r+0];return 2097152&o?this._combined[r]:2097151&o?m.stringFromCodePoint(2097151&o):""},i.prototype.loadCell=function(r,o){var d=3*r;return o.content=this._data[d+0],o.fg=this._data[d+1],o.bg=this._data[d+2],2097152&o.content&&(o.combinedData=this._combined[r]),268435456&o.bg&&(o.extended=this._extendedAttrs[r]),o},i.prototype.setCell=function(r,o){2097152&o.content&&(this._combined[r]=o.combinedData),268435456&o.bg&&(this._extendedAttrs[r]=o.extended),this._data[3*r+0]=o.content,this._data[3*r+1]=o.fg,this._data[3*r+2]=o.bg},i.prototype.setCellFromCodePoint=function(r,o,d,n,l,t){268435456&l&&(this._extendedAttrs[r]=t),this._data[3*r+0]=o|d<<22,this._data[3*r+1]=n,this._data[3*r+2]=l},i.prototype.addCodepointToCell=function(r,o){var d=this._data[3*r+0];2097152&d?this._combined[r]+=m.stringFromCodePoint(o):(2097151&d?(this._combined[r]=m.stringFromCodePoint(2097151&d)+m.stringFromCodePoint(o),d&=-2097152,d|=2097152):d=o|1<<22,this._data[3*r+0]=d)},i.prototype.insertCells=function(r,o,d,n){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs),o<this.length-r){for(var l=new h.CellData,t=this.length-r-o-1;t>=0;--t)this.setCell(r+o+t,this.loadCell(r+t,l));for(t=0;t<o;++t)this.setCell(r+t,d)}else for(t=r;t<this.length;++t)this.setCell(t,d);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs)},i.prototype.deleteCells=function(r,o,d,n){if(r%=this.length,o<this.length-r){for(var l=new h.CellData,t=0;t<this.length-r-o;++t)this.setCell(r+t,this.loadCell(r+o+t,l));for(t=this.length-o;t<this.length;++t)this.setCell(t,d)}else for(t=r;t<this.length;++t)this.setCell(t,d);r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs),this.getWidth(r)!==0||this.hasContent(r)||this.setCellFromCodePoint(r,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs)},i.prototype.replaceCells=function(r,o,d,n){for(r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs),o<this.length&&this.getWidth(o-1)===2&&this.setCellFromCodePoint(o,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new c.ExtendedAttrs);r<o&&r<this.length;)this.setCell(r++,d)},i.prototype.resize=function(r,o){if(r!==this.length){if(r>this.length){var d=new Uint32Array(3*r);this.length&&(3*r<this._data.length?d.set(this._data.subarray(0,3*r)):d.set(this._data)),this._data=d;for(var n=this.length;n<r;++n)this.setCell(n,o)}else if(r){(d=new Uint32Array(3*r)).set(this._data.subarray(0,3*r)),this._data=d;var l=Object.keys(this._combined);for(n=0;n<l.length;n++){var t=parseInt(l[n],10);t>=r&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},i.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var o=0;o<this.length;++o)this.setCell(o,r)},i.prototype.copyFrom=function(r){for(var o in this.length!==r.length?this._data=new Uint32Array(r._data):this._data.set(r._data),this.length=r.length,this._combined={},r._combined)this._combined[o]=r._combined[o];for(var o in this._extendedAttrs={},r._extendedAttrs)this._extendedAttrs[o]=r._extendedAttrs[o];this.isWrapped=r.isWrapped},i.prototype.clone=function(){var r=new i(0);for(var o in r._data=new Uint32Array(this._data),r.length=this.length,this._combined)r._combined[o]=this._combined[o];for(var o in this._extendedAttrs)r._extendedAttrs[o]=this._extendedAttrs[o];return r.isWrapped=this.isWrapped,r},i.prototype.getTrimmedLength=function(){for(var r=this.length-1;r>=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},i.prototype.copyCellsFrom=function(r,o,d,n,l){var t=r._data;if(l)for(var s=n-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(d+s)+u]=t[3*(o+s)+u];else for(s=0;s<n;s++)for(u=0;u<3;u++)this._data[3*(d+s)+u]=t[3*(o+s)+u];var p=Object.keys(r._combined);for(u=0;u<p.length;u++){var w=parseInt(p[u],10);w>=o&&(this._combined[w-o+d]=r._combined[w])}},i.prototype.translateToString=function(r,o,d){r===void 0&&(r=!1),o===void 0&&(o=0),d===void 0&&(d=this.length),r&&(d=Math.min(d,this.getTrimmedLength()));for(var n="";o<d;){var l=this._data[3*o+0],t=2097151&l;n+=2097152&l?this._combined[o]:t?m.stringFromCodePoint(t):v.WHITESPACE_CELL_CHAR,o+=l>>22||1}return n},i}();f.BufferLine=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];for(var c=0,a=v;c<a.length;c++){var i=a[c];(m=i==null?void 0:i.parentElement)===null||m===void 0||m.removeChild(i)}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tooMuchOutput=f.promptLabel=void 0,f.promptLabel="Terminal input",f.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(L,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,O){C.__proto__=O}||function(C,O){for(var N in O)O.hasOwnProperty(N)&&(C[N]=O[N])})(L,x)},function(T,L){function x(){this.constructor=T}m(T,L),T.prototype=L===null?Object.create(L):(x.prototype=L.prototype,new x)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,c=y(12),a=y(20),i=y(39),r=y(2),o=y(15),d=y(8),n=y(16),l=y(0),t=y(3),s=y(4),u=y(6),p=y(22),w=y(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function E(T,L){if(T>24)return L.setWinLines||!1;switch(T){case 1:return!!L.restoreWin;case 2:return!!L.minimizeWin;case 3:return!!L.setWinPosition;case 4:return!!L.setWinSizePixels;case 5:return!!L.raiseWin;case 6:return!!L.lowerWin;case 7:return!!L.refreshWin;case 8:return!!L.setWinSizeChars;case 9:return!!L.maximizeWin;case 10:return!!L.fullscreenWin;case 11:return!!L.getWinState;case 13:return!!L.getWinPosition;case 14:return!!L.getWinSizePixels;case 15:return!!L.getScreenSizePixels;case 16:return!!L.getCellSizePixels;case 18:return!!L.getWinSizeChars;case 19:return!!L.getScreenSizeChars;case 20:return!!L.getIconTitle;case 21:return!!L.getWinTitle;case 22:return!!L.pushTitle;case 23:return!!L.popTitle;case 24:return!!L.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var A=function(){function T(L,x,C,O){this._bufferService=L,this._coreService=x,this._logService=C,this._optionsService=O,this._data=new Uint32Array(0)}return T.prototype.hook=function(L){this._data=new Uint32Array(0)},T.prototype.put=function(L,x,C){this._data=o.concat(this._data,L.subarray(x,C))},T.prototype.unhook=function(L){if(L){var x=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),x){case'"q':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r0"q'+c.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r61;1"p'+c.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+C+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+O+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),S=function(T){function L(x,C,O,N,F,k,P,B,z){z===void 0&&(z=new i.EscapeSequenceParser);var R=T.call(this)||this;R._bufferService=x,R._charsetService=C,R._coreService=O,R._dirtyRowService=N,R._logService=F,R._optionsService=k,R._coreMouseService=P,R._unicodeService=B,R._parser=z,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new d.StringToUtf32,R._utf8Decoder=new d.Utf8ToUtf32,R._workCell=new s.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=n.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(V,X){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(V),params:X.toArray()})}),R._parser.setEscHandlerFallback(function(V){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(V)})}),R._parser.setExecuteHandlerFallback(function(V){R._logService.debug("Unknown EXECUTE code: ",{code:V})}),R._parser.setOscHandlerFallback(function(V,X,W){R._logService.debug("Unknown OSC code: ",{identifier:V,action:X,data:W})}),R._parser.setDcsHandlerFallback(function(V,X,W){X==="HOOK"&&(W=W.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(V),action:X,payload:W})}),R._parser.setPrintHandler(function(V,X,W){return R.print(V,X,W)}),R._parser.setCsiHandler({final:"@"},function(V){return R.insertChars(V)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(V){return R.scrollLeft(V)}),R._parser.setCsiHandler({final:"A"},function(V){return R.cursorUp(V)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(V){return R.scrollRight(V)}),R._parser.setCsiHandler({final:"B"},function(V){return R.cursorDown(V)}),R._parser.setCsiHandler({final:"C"},function(V){return R.cursorForward(V)}),R._parser.setCsiHandler({final:"D"},function(V){return R.cursorBackward(V)}),R._parser.setCsiHandler({final:"E"},function(V){return R.cursorNextLine(V)}),R._parser.setCsiHandler({final:"F"},function(V){return R.cursorPrecedingLine(V)}),R._parser.setCsiHandler({final:"G"},function(V){return R.cursorCharAbsolute(V)}),R._parser.setCsiHandler({final:"H"},function(V){return R.cursorPosition(V)}),R._parser.setCsiHandler({final:"I"},function(V){return R.cursorForwardTab(V)}),R._parser.setCsiHandler({final:"J"},function(V){return R.eraseInDisplay(V)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(V){return R.eraseInDisplay(V)}),R._parser.setCsiHandler({final:"K"},function(V){return R.eraseInLine(V)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(V){return R.eraseInLine(V)}),R._parser.setCsiHandler({final:"L"},function(V){return R.insertLines(V)}),R._parser.setCsiHandler({final:"M"},function(V){return R.deleteLines(V)}),R._parser.setCsiHandler({final:"P"},function(V){return R.deleteChars(V)}),R._parser.setCsiHandler({final:"S"},function(V){return R.scrollUp(V)}),R._parser.setCsiHandler({final:"T"},function(V){return R.scrollDown(V)}),R._parser.setCsiHandler({final:"X"},function(V){return R.eraseChars(V)}),R._parser.setCsiHandler({final:"Z"},function(V){return R.cursorBackwardTab(V)}),R._parser.setCsiHandler({final:"`"},function(V){return R.charPosAbsolute(V)}),R._parser.setCsiHandler({final:"a"},function(V){return R.hPositionRelative(V)}),R._parser.setCsiHandler({final:"b"},function(V){return R.repeatPrecedingCharacter(V)}),R._parser.setCsiHandler({final:"c"},function(V){return R.sendDeviceAttributesPrimary(V)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(V){return R.sendDeviceAttributesSecondary(V)}),R._parser.setCsiHandler({final:"d"},function(V){return R.linePosAbsolute(V)}),R._parser.setCsiHandler({final:"e"},function(V){return R.vPositionRelative(V)}),R._parser.setCsiHandler({final:"f"},function(V){return R.hVPosition(V)}),R._parser.setCsiHandler({final:"g"},function(V){return R.tabClear(V)}),R._parser.setCsiHandler({final:"h"},function(V){return R.setMode(V)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(V){return R.setModePrivate(V)}),R._parser.setCsiHandler({final:"l"},function(V){return R.resetMode(V)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(V){return R.resetModePrivate(V)}),R._parser.setCsiHandler({final:"m"},function(V){return R.charAttributes(V)}),R._parser.setCsiHandler({final:"n"},function(V){return R.deviceStatus(V)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(V){return R.deviceStatusPrivate(V)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(V){return R.softReset(V)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(V){return R.setCursorStyle(V)}),R._parser.setCsiHandler({final:"r"},function(V){return R.setScrollRegion(V)}),R._parser.setCsiHandler({final:"s"},function(V){return R.saveCursor(V)}),R._parser.setCsiHandler({final:"t"},function(V){return R.windowOptions(V)}),R._parser.setCsiHandler({final:"u"},function(V){return R.restoreCursor(V)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(V){return R.insertColumns(V)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(V){return R.deleteColumns(V)}),R._parser.setExecuteHandler(c.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(c.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(c.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(c.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(c.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(c.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(c.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(c.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(c.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new p.OscHandler(function(V){R.setTitle(V),R.setIconName(V)})),R._parser.setOscHandler(1,new p.OscHandler(function(V){return R.setIconName(V)})),R._parser.setOscHandler(2,new p.OscHandler(function(V){return R.setTitle(V)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var U=function(X){j._parser.setEscHandler({intermediates:"(",final:X},function(){return R.selectCharset("("+X)}),j._parser.setEscHandler({intermediates:")",final:X},function(){return R.selectCharset(")"+X)}),j._parser.setEscHandler({intermediates:"*",final:X},function(){return R.selectCharset("*"+X)}),j._parser.setEscHandler({intermediates:"+",final:X},function(){return R.selectCharset("+"+X)}),j._parser.setEscHandler({intermediates:"-",final:X},function(){return R.selectCharset("-"+X)}),j._parser.setEscHandler({intermediates:".",final:X},function(){return R.selectCharset("."+X)}),j._parser.setEscHandler({intermediates:"/",final:X},function(){return R.selectCharset("/"+X)})},j=this;for(var H in a.CHARSETS)U(H);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(V){return R._logService.error("Parsing error: ",V),V}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new A(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(L,T),Object.defineProperty(L.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),L.prototype.dispose=function(){T.prototype.dispose.call(this)},L.prototype.parse=function(x){var C=this._bufferService.buffer,O=C.x,N=C.y;if(this._logService.debug("parsing data",x),this._parseBuffer.length<x.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(x.length,131072))),this._dirtyRowService.clearRange(),x.length>131072)for(var F=0;F<x.length;F+=131072){var k=F+131072<x.length?F+131072:x.length,P=typeof x=="string"?this._stringDecoder.decode(x.substring(F,k),this._parseBuffer):this._utf8Decoder.decode(x.subarray(F,k),this._parseBuffer);this._parser.parse(this._parseBuffer,P)}else P=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,P);(C=this._bufferService.buffer).x===O&&C.y===N||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},L.prototype.print=function(x,C,O){var N,F,k=this._bufferService.buffer,P=this._charsetService.charset,B=this._optionsService.options.screenReaderMode,z=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,j=this._curAttrData,H=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&O-C>0&&H.getWidth(k.x-1)===2&&H.setCellFromCodePoint(k.x-1,0,1,j.fg,j.bg,j.extended);for(var V=C;V<O;++V){if(N=x[V],F=this._unicodeService.wcwidth(N),N<127&&P){var X=P[String.fromCharCode(N)];X&&(N=X.charCodeAt(0))}if(B&&this._onA11yChar.fire(d.stringFromCodePoint(N)),F||!k.x){if(k.x+F-1>=z){if(R){for(;k.x<z;)H.setCellFromCodePoint(k.x++,0,1,j.fg,j.bg,j.extended);k.x=0,k.y++,k.y===k.scrollBottom+1?(k.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(k.y>=this._bufferService.rows&&(k.y=this._bufferService.rows-1),k.lines.get(k.ybase+k.y).isWrapped=!0),H=k.lines.get(k.ybase+k.y)}else if(k.x=z-1,F===2)continue}if(U&&(H.insertCells(k.x,F,k.getNullCell(j),j),H.getWidth(z-1)===2&&H.setCellFromCodePoint(z-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,j.fg,j.bg,j.extended)),H.setCellFromCodePoint(k.x++,N,F,j.fg,j.bg,j.extended),F>0)for(;--F;)H.setCellFromCodePoint(k.x++,0,0,j.fg,j.bg,j.extended)}else H.getWidth(k.x-1)?H.addCodepointToCell(k.x-1,N):H.addCodepointToCell(k.x-2,N)}O-C>0&&(H.loadCell(k.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),k.x<z&&O-C>0&&H.getWidth(k.x)===0&&!H.hasContent(k.x)&&H.setCellFromCodePoint(k.x,0,1,j.fg,j.bg,j.extended),this._dirtyRowService.markDirty(k.y)},L.prototype.addCsiHandler=function(x,C){var O=this;return x.final!=="t"||x.prefix||x.intermediates?this._parser.addCsiHandler(x,C):this._parser.addCsiHandler(x,function(N){return!E(N.params[0],O._optionsService.options.windowOptions)||C(N)})},L.prototype.addDcsHandler=function(x,C){return this._parser.addDcsHandler(x,new w.DcsHandler(C))},L.prototype.addEscHandler=function(x,C){return this._parser.addEscHandler(x,C)},L.prototype.addOscHandler=function(x,C){return this._parser.addOscHandler(x,new p.OscHandler(C))},L.prototype.bell=function(){this._onRequestBell.fire()},L.prototype.lineFeed=function(){var x=this._bufferService.buffer;this._dirtyRowService.markDirty(x.y),this._optionsService.options.convertEol&&(x.x=0),x.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),x.x>=this._bufferService.cols&&x.x--,this._dirtyRowService.markDirty(x.y),this._onLineFeed.fire()},L.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},L.prototype.backspace=function(){var x,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&((x=C.lines.get(C.ybase+C.y))===null||x===void 0?void 0:x.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var O=C.lines.get(C.ybase+C.y);O.hasWidth(C.x)&&!O.hasContent(C.x)&&C.x--}this._restrictCursor()},L.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var x=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-x)}},L.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},L.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},L.prototype._restrictCursor=function(x){x===void 0&&(x=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(x,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},L.prototype._setCursor=function(x,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=x,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=x,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},L.prototype._moveCursor=function(x,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+C)},L.prototype.cursorUp=function(x){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,x.params[0]||1)):this._moveCursor(0,-(x.params[0]||1))},L.prototype.cursorDown=function(x){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,x.params[0]||1)):this._moveCursor(0,x.params[0]||1)},L.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},L.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},L.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},L.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},L.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},L.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},L.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},L.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},L.prototype.hVPosition=function(x){this.cursorPosition(x)},L.prototype.tabClear=function(x){var C=x.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},L.prototype.cursorForwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},L.prototype.cursorBackwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1,O=this._bufferService.buffer;C--;)O.x=O.prevStop()},L.prototype._eraseInBufferLine=function(x,C,O,N){N===void 0&&(N=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);F.replaceCells(C,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),N&&(F.isWrapped=!1)},L.prototype._resetBufferLine=function(x){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},L.prototype.eraseInDisplay=function(x){var C;switch(this._restrictCursor(),x.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C<this._bufferService.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},L.prototype.eraseInLine=function(x){switch(this._restrictCursor(),x.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},L.prototype.insertLines=function(x){this._restrictCursor();var C=x.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){for(var N=O.ybase+O.y,F=this._bufferService.rows-1-O.scrollBottom,k=this._bufferService.rows-1+O.ybase-F+1;C--;)O.lines.splice(k-1,1),O.lines.splice(N,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},L.prototype.deleteLines=function(x){this._restrictCursor();var C=x.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){var N,F=O.ybase+O.y;for(N=this._bufferService.rows-1-O.scrollBottom,N=this._bufferService.rows-1+O.ybase-N;C--;)O.lines.splice(F,1),O.lines.splice(N,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},L.prototype.insertChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.deleteChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.scrollUp=function(x){for(var C=x.params[0]||1,O=this._bufferService.buffer;C--;)O.lines.splice(O.ybase+O.scrollTop,1),O.lines.splice(O.ybase+O.scrollBottom,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},L.prototype.scrollDown=function(x){for(var C=x.params[0]||1,O=this._bufferService.buffer;C--;)O.lines.splice(O.ybase+O.scrollBottom,1),O.lines.splice(O.ybase+O.scrollTop,0,O.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},L.prototype.scrollLeft=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(0,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.scrollRight=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.insertCells(0,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.insertColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=this._bufferService.buffer.lines.get(C.ybase+N);F.insertCells(C.x,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.deleteColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var O=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(C.x,O,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.eraseChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(x.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.repeatPrecedingCharacter=function(x){if(this._parser.precedingCodepoint){for(var C=x.params[0]||1,O=new Uint32Array(C),N=0;N<C;++N)O[N]=this._parser.precedingCodepoint;this.print(O,0,O.length)}},L.prototype.sendDeviceAttributesPrimary=function(x){x.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(c.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(c.C0.ESC+"[?6c"))},L.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(c.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(c.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},L.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},L.prototype.setMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!0}},L.prototype.setModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),this._charsetService.setgCharset(1,a.DEFAULT_CHARSET),this._charsetService.setgCharset(2,a.DEFAULT_CHARSET),this._charsetService.setgCharset(3,a.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},L.prototype.resetMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!1}},L.prototype.resetModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),x.params[C]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},L.prototype._updateAttrColor=function(x,C,O,N,F){return C===2?(x|=50331648,x&=-16777216,x|=u.AttributeData.fromColorRGB([O,N,F])):C===5&&(x&=-50331904,x|=33554432|255&O),x},L.prototype._extractColor=function(x,C,O){var N=[0,0,-1,0,0,0],F=0,k=0;do{if(N[k+F]=x.params[C+k],x.hasSubParams(C+k)){var P=x.getSubParams(C+k),B=0;do N[1]===5&&(F=1),N[k+B+1+F]=P[B];while(++B<P.length&&B+k+1+F<N.length);break}if(N[1]===5&&k+F>=2||N[1]===2&&k+F>=5)break;N[1]&&(F=1)}while(++k+C<x.length&&k+F<N.length);for(B=2;B<N.length;++B)N[B]===-1&&(N[B]=0);switch(N[0]){case 38:O.fg=this._updateAttrColor(O.fg,N[1],N[3],N[4],N[5]);break;case 48:O.bg=this._updateAttrColor(O.bg,N[1],N[3],N[4],N[5]);break;case 58:O.extended=O.extended.clone(),O.extended.underlineColor=this._updateAttrColor(O.extended.underlineColor,N[1],N[3],N[4],N[5])}return k},L.prototype._processUnderline=function(x,C){C.extended=C.extended.clone(),(!~x||x>5)&&(x=1),C.extended.underlineStyle=x,C.fg|=268435456,x===0&&(C.fg&=-268435457),C.updateExtended()},L.prototype.charAttributes=function(x){if(x.length===1&&x.params[0]===0)return this._curAttrData.fg=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var C,O=x.length,N=this._curAttrData,F=0;F<O;F++)(C=x.params[F])>=30&&C<=37?(N.fg&=-50331904,N.fg|=16777216|C-30):C>=40&&C<=47?(N.bg&=-50331904,N.bg|=16777216|C-40):C>=90&&C<=97?(N.fg&=-50331904,N.fg|=16777224|C-90):C>=100&&C<=107?(N.bg&=-50331904,N.bg|=16777224|C-100):C===0?(N.fg=n.DEFAULT_ATTR_DATA.fg,N.bg=n.DEFAULT_ATTR_DATA.bg):C===1?N.fg|=134217728:C===3?N.bg|=67108864:C===4?(N.fg|=268435456,this._processUnderline(x.hasSubParams(F)?x.getSubParams(F)[0]:1,N)):C===5?N.fg|=536870912:C===7?N.fg|=67108864:C===8?N.fg|=1073741824:C===2?N.bg|=134217728:C===21?this._processUnderline(2,N):C===22?(N.fg&=-134217729,N.bg&=-134217729):C===23?N.bg&=-67108865:C===24?N.fg&=-268435457:C===25?N.fg&=-536870913:C===27?N.fg&=-67108865:C===28?N.fg&=-1073741825:C===39?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):C===49?(N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?F+=this._extractColor(x,F,N):C===59?(N.extended=N.extended.clone(),N.extended.underlineColor=-1,N.updateExtended()):C===100?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},L.prototype.deviceStatus=function(x){switch(x.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+C+";"+O+"R")}},L.prototype.deviceStatusPrivate=function(x){switch(x.params[0]){case 6:var C=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+C+";"+O+"R")}},L.prototype.softReset=function(x){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},L.prototype.setCursorStyle=function(x){var C=x.params[0]||1;switch(C){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=C%2==1;this._optionsService.options.cursorBlink=O},L.prototype.setScrollRegion=function(x){var C,O=x.params[0]||1;(x.length<2||(C=x.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},L.prototype.windowOptions=function(x){if(E(x.params[0],this._optionsService.options.windowOptions)){var C=x.length>1?x.params[1]:0;switch(x.params[0]){case 14:C!==2&&this._onRequestWindowsOptionsReport.fire(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(c.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},L.prototype.saveCursor=function(x){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},L.prototype.restoreCursor=function(x){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},L.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},L.prototype.setIconName=function(x){this._iconName=x},L.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},L.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},L.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},L.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET)},L.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(b[x[0]],a.CHARSETS[x[1]]||a.DEFAULT_CHARSET):this.selectDefaultCharset()},L.prototype.index=function(){this._restrictCursor();var x=this._bufferService.buffer;this._bufferService.buffer.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),this._restrictCursor()},L.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},L.prototype.reverseIndex=function(){this._restrictCursor();var x=this._bufferService.buffer;if(x.y===x.scrollTop){var C=x.scrollBottom-x.scrollTop;x.lines.shiftElements(x.ybase+x.y,C,1),x.lines.set(x.ybase+x.y,x.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)}else x.y--,this._restrictCursor()},L.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},L.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},L.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},L.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},L.prototype.screenAlignmentPattern=function(){var x=new s.CellData;x.content=1<<22|"E".charCodeAt(0),x.fg=this._curAttrData.fg,x.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O<this._bufferService.rows;++O){var N=C.ybase+C.y+O,F=C.lines.get(N);F&&(F.fill(x),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},L}(r.Disposable);f.InputHandler=S},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DEFAULT_CHARSET=f.CHARSETS=void 0,f.CHARSETS={},f.DEFAULT_CHARSET=f.CHARSETS.B,f.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},f.CHARSETS.A={"#":"\xA3"},f.CHARSETS.B=void 0,f.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},f.CHARSETS.C=f.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},f.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},f.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},f.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},f.CHARSETS.E=f.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},f.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},f.CHARSETS.H=f.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function v(h,c){if(h===void 0&&(h=32),c===void 0&&(c=32),this.maxLength=h,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(h){var c=new v;if(!h.length)return c;for(var a=h[0]instanceof Array?1:0;a<h.length;++a){var i=h[a];if(i instanceof Array)for(var r=0;r<i.length;++r)c.addSubParam(i[r]);else c.addParam(i)}return c},v.prototype.clone=function(){var h=new v(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},v.prototype.toArray=function(){for(var h=[],c=0;c<this.length;++c){h.push(this.params[c]);var a=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-a>0&&h.push(Array.prototype.slice.call(this._subParams,a,i))}return h},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},v.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},v.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},v.prototype.getSubParams=function(h){var c=this._subParamsIdx[h]>>8,a=255&this._subParamsIdx[h];return a-c>0?this._subParams.subarray(c,a):null},v.prototype.getSubParamsAll=function(){for(var h={},c=0;c<this.length;++c){var a=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-a>0&&(h[c]=this._subParams.slice(a,i))}return h},v.prototype.addDigit=function(h){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var a=this._digitIsSub?this._subParams:this.params,i=a[c-1];a[c-1]=~i?Math.min(10*i+h,2147483647):h}},v}();f.Params=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=y(23),v=y(8),h=function(){function a(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return a.prototype.addHandler=function(i,r){this._handlers[i]===void 0&&(this._handlers[i]=[]);var o=this._handlers[i];return o.push(r),{dispose:function(){var n=o.indexOf(r);n!==-1&&o.splice(n,1)}}},a.prototype.setHandler=function(i,r){this._handlers[i]=[r]},a.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},a.prototype.setHandlerFallback=function(i){this._handlerFb=i},a.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},a.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},a.prototype._start=function(){var i=this._handlers[this._id];if(i)for(var r=i.length-1;r>=0;r--)i[r].start();else this._handlerFb(this._id,"START")},a.prototype._put=function(i,r,o){var d=this._handlers[this._id];if(d)for(var n=d.length-1;n>=0;n--)d[n].put(i,r,o);else this._handlerFb(this._id,"PUT",v.utf32ToString(i,r,o))},a.prototype._end=function(i){var r=this._handlers[this._id];if(r){for(var o=r.length-1;o>=0&&r[o].end(i)===!1;o--);for(o--;o>=0;o--)r[o].end(!1)}else this._handlerFb(this._id,"END",i)},a.prototype.start=function(){this.reset(),this._id=-1,this._state=1},a.prototype.put=function(i,r,o){if(this._state!==3){if(this._state===1)for(;r<o;){var d=i[r++];if(d===59){this._state=2,this._start();break}if(d<48||57<d)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+d-48}this._state===2&&o-r>0&&this._put(i,r,o)}},a.prototype.end=function(i){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(i)),this._id=-1,this._state=0)},a}();f.OscParser=h;var c=function(){function a(i){this._handler=i,this._data="",this._hitLimit=!1}return a.prototype.start=function(){this._data="",this._hitLimit=!1},a.prototype.put=function(i,r,o){this._hitLimit||(this._data+=v.utf32ToString(i,r,o),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},a.prototype.end=function(i){var r;return this._hitLimit?r=!1:i&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},a}();f.OscHandler=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=y(8),v=y(21),h=y(23),c=[],a=function(){function r(){this._handlers=Object.create(null),this._active=c,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(o,d){this._handlers[o]===void 0&&(this._handlers[o]=[]);var n=this._handlers[o];return n.push(d),{dispose:function(){var t=n.indexOf(d);t!==-1&&n.splice(t,1)}}},r.prototype.setHandler=function(o,d){this._handlers[o]=[d]},r.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},r.prototype.setHandlerFallback=function(o){this._handlerFb=o},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=c,this._ident=0},r.prototype.hook=function(o,d){if(this.reset(),this._ident=o,this._active=this._handlers[o]||c,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(d);else this._handlerFb(this._ident,"HOOK",d)},r.prototype.put=function(o,d,n){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(o,d,n);else this._handlerFb(this._ident,"PUT",m.utf32ToString(o,d,n))},r.prototype.unhook=function(o){if(this._active.length){for(var d=this._active.length-1;d>=0&&this._active[d].unhook(o)===!1;d--);for(d--;d>=0;d--)this._active[d].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",o);this._active=c,this._ident=0},r}();f.DcsParser=a;var i=function(){function r(o){this._handler=o,this._data="",this._hitLimit=!1}return r.prototype.hook=function(o){this._params=o.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(o,d,n){this._hitLimit||(this._data+=m.utf32ToString(o,d,n),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(o){var d;return this._hitLimit?d=!1:o&&(d=this._handler(this._data,this._params||new v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,d},r}();f.DcsHandler=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=y(26),v=y(43),h=[];f.acquireCharAtlas=function(c,a,i,r,o){for(var d=m.generateConfig(r,o,c,i),n=0;n<h.length;n++){var l=(t=h[n]).ownedBy.indexOf(a);if(l>=0){if(m.configEquals(t.config,d))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),h.splice(n,1)):t.ownedBy.splice(l,1);break}}for(n=0;n<h.length;n++){var t=h[n];if(m.configEquals(t.config,d))return t.ownedBy.push(a),t.atlas}var s={atlas:new v.DynamicCharAtlas(document,d),config:d,ownedBy:[a]};return h.push(s),s.atlas},f.removeTerminalFromCache=function(c){for(var a=0;a<h.length;a++){var i=h[a].ownedBy.indexOf(c);if(i!==-1){h[a].ownedBy.length===1?(h[a].atlas.dispose(),h.splice(a,1)):h[a].ownedBy.splice(i,1);break}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=y(3);f.generateConfig=function(v,h,c,a){var i={foreground:a.foreground,background:a.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:a.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:h,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:i}},f.configEquals=function(v,h){for(var c=0;c<v.colors.ansi.length;c++)if(v.colors.ansi[c].rgba!==h.colors.ansi[c].rgba)return!1;return v.devicePixelRatio===h.devicePixelRatio&&v.fontFamily===h.fontFamily&&v.fontSize===h.fontSize&&v.fontWeight===h.fontWeight&&v.fontWeightBold===h.fontWeightBold&&v.allowTransparency===h.allowTransparency&&v.scaledCharWidth===h.scaledCharWidth&&v.scaledCharHeight===h.scaledCharHeight&&v.colors.foreground===h.colors.foreground&&v.colors.background===h.colors.background},f.is256Color=function(v){return v<m.DEFAULT_COLOR}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=y(10),v=y(45),h=m.css.toColor("#ffffff"),c=m.css.toColor("#000000"),a=m.css.toColor("#ffffff"),i=m.css.toColor("#000000"),r={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var d=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],n=[0,95,135,175,215,255],l=0;l<216;l++){var t=n[l/36%6|0],s=n[l/6%6|0],u=n[l%6];d.push({css:m.channels.toCss(t,s,u),rgba:m.channels.toRgba(t,s,u)})}for(l=0;l<24;l++){var p=8+10*l;d.push({css:m.channels.toCss(p,p,p),rgba:m.channels.toRgba(p,p,p)})}return d}();var o=function(){function d(n,l){this.allowTransparency=l;var t=n.createElement("canvas");t.width=1,t.height=1;var s=t.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new v.ColorContrastCache,this.colors={foreground:h,background:c,cursor:a,cursorAccent:i,selectionTransparent:r,selectionOpaque:m.color.blend(c,r),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return d.prototype.onOptionsChange=function(n){n==="minimumContrastRatio"&&this._contrastCache.clear()},d.prototype.setTheme=function(n){(n===void 0&&(n={}),this.colors.foreground=this._parseColor(n.foreground,h),this.colors.background=this._parseColor(n.background,c),this.colors.cursor=this._parseColor(n.cursor,a,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,i,!0),this.colors.selectionTransparent=this._parseColor(n.selection,r,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(n.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},d.prototype._parseColor=function(n,l,t){if(t===void 0&&(t=this.allowTransparency),n===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+n+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!t)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(S){return Number(S)}),p=u[0],w=u[1],b=u[2],E=u[3],A=Math.round(255*E);return{rgba:m.channels.toRgba(p,w,b,A),css:n}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},d}();f.ColorManager=o},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfFalsy=void 0,f.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(d,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,t){l.__proto__=t}||function(l,t){for(var s in t)t.hasOwnProperty(s)&&(l[s]=t[s])})(d,n)},function(o,d){function n(){this.constructor=o}m(o,d),o.prototype=d===null?Object.create(d):(n.prototype=d.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var h=y(6),c=y(3),a=y(4),i=function(o){function d(n,l,t){var s=o.call(this)||this;return s.content=0,s.combinedData="",s.fg=n.fg,s.bg=n.bg,s.combinedData=l,s._width=t,s}return v(d,o),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(n){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(h.AttributeData);f.JoinedCellData=i;var r=function(){function o(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.CellData}return o.prototype.registerCharacterJoiner=function(d){var n={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(n),n.id},o.prototype.deregisterCharacterJoiner=function(d){for(var n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===d)return this._characterJoiners.splice(n,1),!0;return!1},o.prototype.getJoinedCharacters=function(d){if(this._characterJoiners.length===0)return[];var n=this._bufferService.buffer.lines.get(d);if(!n||n.length===0)return[];for(var l=[],t=n.translateToString(!0),s=0,u=0,p=0,w=n.getFg(0),b=n.getBg(0),E=0;E<n.getTrimmedLength();E++)if(n.loadCell(E,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==w||this._workCell.bg!==b){if(E-s>1)for(var A=this._getJoinedRanges(t,p,u,n,s),S=0;S<A.length;S++)l.push(A[S]);s=E,p=u,w=this._workCell.fg,b=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(A=this._getJoinedRanges(t,p,u,n,s),S=0;S<A.length;S++)l.push(A[S]);return l},o.prototype._getJoinedRanges=function(d,n,l,t,s){for(var u=d.substring(n,l),p=this._characterJoiners[0].handler(u),w=1;w<this._characterJoiners.length;w++)for(var b=this._characterJoiners[w].handler(u),E=0;E<b.length;E++)o._mergeRanges(p,b[E]);return this._stringRangesToCellRanges(p,t,s),p},o.prototype._stringRangesToCellRanges=function(d,n,l){var t=0,s=!1,u=0,p=d[t];if(p){for(var w=l;w<this._bufferService.cols;w++){var b=n.getWidth(w),E=n.getString(w).length||c.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!s&&p[0]<=u&&(p[0]=w,s=!0),p[1]<=u){if(p[1]=w,!(p=d[++t]))break;p[0]<=u?(p[0]=w,s=!0):s=!1}u+=E}}p&&(p[1]=this._bufferService.cols)}},o._mergeRanges=function(d,n){for(var l=!1,t=0;t<d.length;t++){var s=d[t];if(l){if(n[1]<=s[0])return d[t-1][1]=n[1],d;if(n[1]<=s[1])return d[t-1][1]=Math.max(n[1],s[1]),d.splice(t,1),d;d.splice(t,1),t--}else{if(n[1]<=s[0])return d.splice(t,0,n),d;if(n[1]<=s[1])return s[0]=Math.min(n[0],s[0]),d;n[0]<s[1]&&(s[0]=Math.min(n[0],s[0]),l=!0)}}return l?d[d.length-1][1]=n[1]:d.push(n),d},o}();f.CharacterJoinerRegistry=r},function(g,f,y){"use strict";function m(v,h){var c=h.getBoundingClientRect();return[v.clientX-c.left,v.clientY-c.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(v,h,c,a,i,r,o,d){if(i){var n=m(v,h);if(n)return n[0]=Math.ceil((n[0]+(d?r/2:0))/r),n[1]=Math.ceil(n[1]/o),n[0]=Math.min(Math.max(n[0],1),c+(d?1:0)),n[1]=Math.min(Math.max(n[1],1),a),n}},f.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function v(h){this._renderCallback=h}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(h,c,a){var i=this;this._rowCount=a,h=h!==void 0?h:0,c=c!==void 0?c:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,c)}},v}();f.RenderDebouncer=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(a,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])})(a,i)},function(c,a){function i(){this.constructor=c}m(c,a),c.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var h=function(c){function a(){var i=c!==null&&c.apply(this,arguments)||this;return i._currentDevicePixelRatio=window.devicePixelRatio,i}return v(a,c),a.prototype.setListener=function(i){var r=this;this._listener&&this.clearListener(),this._listener=i,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},a.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},a.prototype._updateDpr=function(){var i;this._outerListener&&((i=this._resolutionMediaMatchList)===null||i===void 0||i.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},a.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},a}(y(2).Disposable);f.ScreenDprMonitor=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(v,h){if(h===void 0&&(h=5),typeof v!="object")return v;var c=Array.isArray(v)?[]:{};for(var a in v)c[a]=h<=1?v[a]:v[a]?m(v[a],h-1):v[a];return c}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=y(4),v=y(35),h=y(18),c=y(0),a=y(83),i=function(){function t(s){this._core=new v.Terminal(s),this._addonManager=new a.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new n(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new o(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(s,u){this._verifyIntegers(s,u),this._core.resize(s,u)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,u,p){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,p)},t.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},t.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},t.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},t.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},t.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},t.prototype.addMarker=function(s){return this.registerMarker(s)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(s,u,p){this._verifyIntegers(s,u,p),this._core.select(s,u,p)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(s,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},t.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(s,u){this._core.write(s,u)},t.prototype.writeUtf8=function(s,u){this._core.write(s,u)},t.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
|
|
|
`,u)},t.prototype.paste=function(s){this._core.paste(s)},t.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},t.prototype.setOption=function(s,u){this._core.optionsService.setOption(s,u)},t.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var p=0,w=s;p<w.length;p++){var b=w[p];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=i;var r=function(){function t(s,u){this._buffer=s,this.type=u}return t.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(s){var u=this._buffer.lines.get(s);if(u)return new d(u)},t.prototype.getNullCell=function(){return new m.CellData},t}(),o=function(){function t(s){var u=this;this._buffers=s,this._onBufferChange=new c.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),d=function(){function t(s){this._line=s}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(s,u){if(!(s<0||s>=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new m.CellData)},t.prototype.translateToString=function(s,u,p){return this._line.translateToString(s,u,p)},t}(),n=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(p){return u(p.toArray())})},t.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},t.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(p,w){return u(p,w.toArray())})},t.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},t.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},t.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},t.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},t.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},t}(),l=function(){function t(s){this._core=s}return t.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),t}()},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(R,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,H){j.__proto__=H}||function(j,H){for(var V in H)H.hasOwnProperty(V)&&(j[V]=H[V])})(R,U)},function(z,R){function U(){this.constructor=z}m(z,R),z.prototype=R===null?Object.create(R):(U.prototype=R.prototype,new U)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=y(36),c=y(37),a=y(38),i=y(12),r=y(19),o=y(40),d=y(50),n=y(51),l=y(11),t=y(7),s=y(18),u=y(54),p=y(55),w=y(56),b=y(57),E=y(59),A=y(0),S=y(16),T=y(27),L=y(60),x=y(5),C=y(61),O=y(62),N=y(63),F=y(64),k=y(65),P=typeof window!="undefined"?window.document:null,B=function(z){function R(U){U===void 0&&(U={});var j=z.call(this,U)||this;return j.browser=l,j._keyDownHandled=!1,j._onCursorMove=new A.EventEmitter,j._onKey=new A.EventEmitter,j._onRender=new A.EventEmitter,j._onSelectionChange=new A.EventEmitter,j._onTitleChange=new A.EventEmitter,j._onFocus=new A.EventEmitter,j._onBlur=new A.EventEmitter,j._onA11yCharEmitter=new A.EventEmitter,j._onA11yTabEmitter=new A.EventEmitter,j._setup(),j.linkifier=j._instantiationService.createInstance(d.Linkifier),j.linkifier2=j.register(j._instantiationService.createInstance(N.Linkifier2)),j.register(j._inputHandler.onRequestBell(function(){return j.bell()})),j.register(j._inputHandler.onRequestRefreshRows(function(H,V){return j.refresh(H,V)})),j.register(j._inputHandler.onRequestReset(function(){return j.reset()})),j.register(j._inputHandler.onRequestScroll(function(H,V){return j.scroll(H,V||void 0)})),j.register(j._inputHandler.onRequestWindowsOptionsReport(function(H){return j._reportWindowsOptions(H)})),j.register(A.forwardEvent(j._inputHandler.onCursorMove,j._onCursorMove)),j.register(A.forwardEvent(j._inputHandler.onTitleChange,j._onTitleChange)),j.register(A.forwardEvent(j._inputHandler.onA11yChar,j._onA11yCharEmitter)),j.register(A.forwardEvent(j._inputHandler.onA11yTab,j._onA11yTabEmitter)),j.register(j._bufferService.onResize(function(H){return j._afterResize(H.cols,H.rows)})),j}return v(R,z),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var U,j,H;this._isDisposed||(z.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(j=this.element)===null||j===void 0?void 0:j.parentNode)===null||H===void 0||H.removeChild(this.element))},R.prototype._setup=function(){z.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(U){var j,H,V,X;switch(z.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(j=this._renderService)===null||j===void 0||j.clear(),(H=this._charSizeService)===null||H===void 0||H.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(V=this.viewport)===null||V===void 0||V.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)):((X=this._accessibilityManager)===null||X===void 0||X.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),j=this._bufferService.buffer.y*U,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=j+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(H){U.hasSelection()&&a.copyHandler(H,U._selectionService)}));var j=function(V){return a.handlePasteEvent(V,U.textarea,U._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",j)),this.register(t.addDisposableDomListener(this.element,"paste",j)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(H){H.button===2&&a.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(H){a.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&a.moveTextAreaUnderMouseCursor(H,U.textarea,U.screenElement)}))},R.prototype._bindKeys=function(){var U=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(j){return U._keyUp(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(j){return U._keyDown(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(j){return U._keyPress(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(j){return U._compositionHelper.compositionupdate(j)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(j){return U._queueLinkification(j.start,j.end)}))},R.prototype.open=function(U){var j=this;if(!U)throw new Error("Terminal requires a parent element.");P.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),U.appendChild(this.element);var H=P.createDocumentFragment();this._viewportElement=P.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=P.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=P.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=P.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=P.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(W){return j._onTextAreaFocus(W)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return j._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var V=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,V),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=P.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(H),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(P,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return j._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var X=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(L.RenderService,X,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return j._onRender.fire(W)})),this.onResize(function(W){return j._renderService.resize(W.cols,W.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(x.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(x.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(W,G){return j.scrollLines(W,G)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return j.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){j._renderService.onCursorMove(),j._syncTextArea()})),this.register(this.onResize(function(){return j._renderService.onResize(j.cols,j.rows)})),this.register(this.onBlur(function(){return j._renderService.onBlur()})),this.register(this.onFocus(function(){return j._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return j.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(n.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(W){return j.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return j._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return j._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){j.textarea.value=W,j.textarea.focus(),j.textarea.select()})),this.register(this.onScroll(function(){j.viewport.syncScrollArea(),j._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return j._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return j._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(W){return j._selectionService.onMouseDown(W)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(o.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(U){var j,H,V;this._theme=U,(j=this._colorManager)===null||j===void 0||j.setTheme(U),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(V=this.viewport)===null||V===void 0||V.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var U=this,j=this,H=this.element;function V(q){var Se,Ce,Ae=j._mouseService.getRawByteCoords(q,j.screenElement,j.cols,j.rows);if(!Ae)return!1;switch(q.overrideType||q.type){case"mousemove":Ce=32,q.buttons===void 0?(Se=3,q.button!==void 0&&(Se=q.button<3?q.button:3)):Se=1&q.buttons?0:4&q.buttons?1:2&q.buttons?2:3;break;case"mouseup":Ce=0,Se=q.button<3?q.button:3;break;case"mousedown":Ce=1,Se=q.button<3?q.button:3;break;case"wheel":q.deltaY!==0&&(Ce=q.deltaY<0?0:1),Se=4;break;default:return!1}return!(Ce===void 0||Se===void 0||Se>4)&&j._coreMouseService.triggerMouseEvent({col:Ae.x-33,row:Ae.y-33,button:Se,action:Ce,ctrl:q.ctrlKey,alt:q.altKey,shift:q.shiftKey})}var X={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(Se){return V(Se),Se.buttons||(U._document.removeEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.removeEventListener("mousemove",X.mousedrag)),U.cancel(Se)},G=function(Se){return V(Se),Se.preventDefault(),U.cancel(Se)},$=function(Se){Se.buttons&&V(Se)},ge=function(Se){Se.buttons||V(Se)};this.register(this._coreMouseService.onProtocolChange(function(q){q?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(q)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&q?X.mousemove||(H.addEventListener("mousemove",ge),X.mousemove=ge):(H.removeEventListener("mousemove",X.mousemove),X.mousemove=null),16&q?X.wheel||(H.addEventListener("wheel",G,{passive:!1}),X.wheel=G):(H.removeEventListener("wheel",X.wheel),X.wheel=null),2&q?X.mouseup||(X.mouseup=W):(U._document.removeEventListener("mouseup",X.mouseup),X.mouseup=null),4&q?X.mousedrag||(X.mousedrag=$):(U._document.removeEventListener("mousemove",X.mousedrag),X.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(H,"mousedown",function(q){if(q.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(q))return V(q),X.mouseup&&U._document.addEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.addEventListener("mousemove",X.mousedrag),U.cancel(q)})),this.register(t.addDisposableDomListener(H,"wheel",function(q){if(!X.wheel){if(!U.buffer.hasScrollback){var Se=U.viewport.getLinesScrolled(q);if(Se===0)return;for(var Ce=i.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(q.deltaY<0?"A":"B"),Ae="",Ue=0;Ue<Math.abs(Se);Ue++)Ae+=Ce;U._coreService.triggerDataEvent(Ae,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(H,"wheel",function(q){if(!X.wheel)return U.viewport.onWheel(q)?void 0:U.cancel(q)},{passive:!1})),this.register(t.addDisposableDomListener(H,"touchstart",function(q){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(q),U.cancel(q)},{passive:!0})),this.register(t.addDisposableDomListener(H,"touchmove",function(q){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(q)?void 0:U.cancel(q)},{passive:!1}))},R.prototype.refresh=function(U,j){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(U,j)},R.prototype._queueLinkification=function(U,j){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(U,j)},R.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(U,j){z.prototype.scrollLines.call(this,U,j),this.refresh(0,this.rows-1)},R.prototype.paste=function(U){a.paste(U,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},R.prototype.registerLinkMatcher=function(U,j,H){var V=this.linkifier.registerLinkMatcher(U,j,H);return this.refresh(0,this.rows-1),V},R.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},R.prototype.registerCharacterJoiner=function(U){var j=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),j},R.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(U,j,H){this._selectionService.setSelection(U,j,H)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},R.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},R.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},R.prototype.selectLines=function(U,j){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(U,j)},R.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var j=E.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),j.type===3||j.type===2){var H=this.rows-1;return this.scrollLines(j.type===2?-H:H),this.cancel(U,!0)}return j.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(j.cancel&&this.cancel(U,!0),!j.key||(j.key!==i.C0.ETX&&j.key!==i.C0.CR||(this.textarea.value=""),this._onKey.fire({key:j.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},R.prototype._isThirdLevelShift=function(U,j){var H=U.isMac&&!this.options.macOptionIsMeta&&j.altKey&&!j.ctrlKey&&!j.metaKey||U.isWindows&&j.altKey&&j.ctrlKey&&!j.metaKey;return j.type==="keypress"?H:H&&(!j.keyCode||j.keyCode>47)},R.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(j){return j.keyCode===16||j.keyCode===17||j.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},R.prototype._keyPress=function(U){var j;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)j=U.charCode;else if(U.which===null||U.which===void 0)j=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;j=U.which}return!(!j||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(j=String.fromCharCode(j),this._onKey.fire({key:j,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(U,j){U!==this.cols||j!==this.rows?z.prototype.resize.call(this,U,j):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(U,j){var H,V;(H=this._charSizeService)===null||H===void 0||H.measure(),(V=this.viewport)===null||V===void 0||V.syncScrollArea(!0)},R.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var U=1;U<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(S.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var U,j;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),z.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(j=this.viewport)===null||j===void 0||j.syncScrollArea()},R.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var j=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[4;"+H+";"+j+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var V=this._renderService.dimensions.scaledCellWidth.toFixed(0),X=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[6;"+X+";"+V+"t")}},R.prototype.cancel=function(U,j){if(this.options.cancelEvents||j)return U.preventDefault(),U.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(k.CoreTerminal);f.Terminal=B},function(g,f,y){"use strict";var m=this&&this.__decorate||function(i,r,o,d){var n,l=arguments.length,t=l<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,o):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,r,o,d);else for(var s=i.length-1;s>=0;s--)(n=i[s])&&(t=(l<3?n(t):l>3?n(r,o,t):n(r,o))||t);return l>3&&t&&Object.defineProperty(r,o,t),t},v=this&&this.__param||function(i,r){return function(o,d){r(o,d,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var h=y(5),c=y(1),a=function(){function i(r,o,d,n,l,t){this._textarea=r,this._compositionView=o,this._bufferService=d,this._optionsService=n,this._charSizeService=l,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(i.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),i.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},i.prototype.compositionupdate=function(r){var o=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){o._compositionPosition.end=o._textarea.value.length},0)},i.prototype.compositionend=function(){this._finalizeComposition(!0)},i.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},i.prototype._finalizeComposition=function(r){var o=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var d={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(o._isSendingComposition){o._isSendingComposition=!1;var l=void 0;l=o._isComposing?o._textarea.value.substring(d.start,d.end):o._textarea.value.substring(d.start),o._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},i.prototype._handleAnyTextareaChanges=function(){var r=this,o=this._textarea.value;setTimeout(function(){if(!r._isComposing){var d=r._textarea.value.replace(o,"");d.length>0&&r._coreService.triggerDataEvent(d,!0)}},0)},i.prototype.updateCompositionElements=function(r){var o=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var d=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*d,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=d+"px",this._compositionView.style.lineHeight=d+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=n+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}r||setTimeout(function(){return o.updateCompositionElements(!0)},0)}},i=m([v(2,c.IBufferService),v(3,c.IOptionsService),v(4,h.ICharSizeService),v(5,c.ICoreService)],i)}();f.CompositionHelper=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var a=y(2),i=y(7),r=y(5),o=y(1),d=function(n){function l(t,s,u,p,w,b,E){var A=n.call(this)||this;return A._scrollLines=t,A._viewportElement=s,A._scrollArea=u,A._bufferService=p,A._optionsService=w,A._charSizeService=b,A._renderService=E,A.scrollBarWidth=0,A._currentRowHeight=0,A._lastRecordedBufferLength=0,A._lastRecordedViewportHeight=0,A._lastRecordedBufferHeight=0,A._lastTouchY=0,A._lastScrollTop=0,A._wheelPartialScroll=0,A._refreshAnimationFrame=null,A._ignoreNextScrollEvent=!1,A.scrollBarWidth=A._viewportElement.offsetWidth-A._scrollArea.offsetWidth||15,A.register(i.addDisposableDomListener(A._viewportElement,"scroll",A._onScroll.bind(A))),setTimeout(function(){return A.syncScrollArea()},0),A}return v(l,n),l.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},l.prototype._refresh=function(t){var s=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},l.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(t,s){var u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},l.prototype.onWheel=function(t){var s=this._getPixelsScrolled(t);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(t,s){var u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="shift"&&s.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},l.prototype.onTouchMove=function(t){var s=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l=h([c(3,o.IBufferService),c(4,o.IOptionsService),c(5,r.ICharSizeService),c(6,r.IRenderService)],l)}(a.Disposable);f.Viewport=d},function(g,f,y){"use strict";function m(a){return a.replace(/\r?\n/g,"\r")}function v(a,i){return i?"[200~"+a+"[201~":a}function h(a,i,r){a=v(a=m(a),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(a,!0),i.value=""}function c(a,i,r){var o=r.getBoundingClientRect(),d=a.clientX-o.left-10,n=a.clientY-o.top-10;i.style.width="20px",i.style.height="20px",i.style.left=d+"px",i.style.top=n+"px",i.style.zIndex="1000",i.focus()}Object.defineProperty(f,"__esModule",{value:!0}),f.rightClickHandler=f.moveTextAreaUnderMouseCursor=f.paste=f.handlePasteEvent=f.copyHandler=f.bracketTextForPaste=f.prepareTextForTerminal=void 0,f.prepareTextForTerminal=m,f.bracketTextForPaste=v,f.copyHandler=function(a,i){a.clipboardData&&a.clipboardData.setData("text/plain",i.selectionText),a.preventDefault()},f.handlePasteEvent=function(a,i,r){a.stopPropagation(),a.clipboardData&&h(a.clipboardData.getData("text/plain"),i,r)},f.paste=h,f.moveTextAreaUnderMouseCursor=c,f.rightClickHandler=function(a,i,r,o,d){c(a,i,r),d&&!o.isClickInSelection(a)&&o.selectWordAtCursor(a),i.value=o.selectionText,i.select()}},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var h=y(2),c=y(15),a=y(21),i=y(22),r=y(24),o=function(){function n(l){this.table=new Uint8Array(l)}return n.prototype.setDefault=function(l,t){c.fill(this.table,l<<4|t)},n.prototype.add=function(l,t,s,u){this.table[t<<8|l]=s<<4|u},n.prototype.addMany=function(l,t,s,u){for(var p=0;p<l.length;p++)this.table[t<<8|l[p]]=s<<4|u},n}();f.TransitionTable=o,f.VT500_TRANSITION_TABLE=function(){var n=new o(4095),l=Array.apply(null,Array(256)).map(function(b,E){return E}),t=function(E,A){return l.slice(E,A)},s=t(32,127),u=t(0,24);u.push(25),u.push.apply(u,t(28,32));var p,w=t(0,14);for(p in n.setDefault(1,0),n.addMany(s,0,2,0),w)n.addMany([24,26,153,154],p,3,0),n.addMany(t(128,144),p,3,0),n.addMany(t(144,152),p,3,0),n.add(156,p,0,0),n.add(27,p,11,1),n.add(157,p,4,8),n.addMany([152,158,159],p,0,7),n.add(155,p,11,3),n.add(144,p,11,9);return n.addMany(u,0,3,0),n.addMany(u,1,3,1),n.add(127,1,0,1),n.addMany(u,8,0,8),n.addMany(u,3,3,3),n.add(127,3,0,3),n.addMany(u,4,3,4),n.add(127,4,0,4),n.addMany(u,6,3,6),n.addMany(u,5,3,5),n.add(127,5,0,5),n.addMany(u,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(s,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(t(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(s,7,0,7),n.addMany(u,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(t(64,127),3,7,0),n.addMany(t(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(t(48,60),4,8,4),n.addMany(t(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(t(32,64),6,0,6),n.add(127,6,0,6),n.addMany(t(64,127),6,0,0),n.addMany(t(32,48),3,9,5),n.addMany(t(32,48),5,9,5),n.addMany(t(48,64),5,0,6),n.addMany(t(64,127),5,7,0),n.addMany(t(32,48),4,9,5),n.addMany(t(32,48),1,9,2),n.addMany(t(32,48),2,9,2),n.addMany(t(48,127),2,10,0),n.addMany(t(48,80),1,10,0),n.addMany(t(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(t(96,127),1,10,0),n.add(80,1,11,9),n.addMany(u,9,0,9),n.add(127,9,0,9),n.addMany(t(28,32),9,0,9),n.addMany(t(32,48),9,9,12),n.addMany(t(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(u,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(u,10,0,10),n.add(127,10,0,10),n.addMany(t(28,32),10,0,10),n.addMany(t(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(t(32,48),10,9,12),n.addMany(u,12,0,12),n.add(127,12,0,12),n.addMany(t(28,32),12,0,12),n.addMany(t(32,48),12,9,12),n.addMany(t(48,64),12,0,11),n.addMany(t(64,127),12,12,13),n.addMany(t(64,127),10,12,13),n.addMany(t(64,127),9,12,13),n.addMany(u,13,13,13),n.addMany(s,13,13,13),n.add(127,13,0,13),n.addMany([27,156,24,26],13,14,0),n.add(160,0,2,0),n.add(160,8,5,8),n.add(160,6,0,6),n.add(160,11,0,11),n.add(160,13,13,13),n}();var d=function(n){function l(t){t===void 0&&(t=f.VT500_TRANSITION_TABLE);var s=n.call(this)||this;return s._transitions=t,s.initialState=0,s.currentState=s.initialState,s._params=new a.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,p,w){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,p){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new i.OscParser,s._dcsParser=new r.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return v(l,n),l.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var u=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=t.prefix.charCodeAt(0))&&60>u||u>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;p<t.intermediates.length;++p){var w=t.intermediates.charCodeAt(p);if(32>w||w>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=w}}if(t.final.length!==1)throw new Error("final must be a single byte");var b=t.final.charCodeAt(0);if(s[0]>b||b>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=b},l.prototype.identToString=function(t){for(var s=[];t;)s.push(String.fromCharCode(255&t)),t>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(t){this._printHandler=t},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(t,s){var u=this._identifier(t,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var p=this._escHandlers[u];return p.push(s),{dispose:function(){var b=p.indexOf(s);b!==-1&&p.splice(b,1)}}},l.prototype.setEscHandler=function(t,s){this._escHandlers[this._identifier(t,[48,126])]=[s]},l.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},l.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},l.prototype.setExecuteHandler=function(t,s){this._executeHandlers[t.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},l.prototype.addCsiHandler=function(t,s){var u=this._identifier(t);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var p=this._csiHandlers[u];return p.push(s),{dispose:function(){var b=p.indexOf(s);b!==-1&&p.splice(b,1)}}},l.prototype.setCsiHandler=function(t,s){this._csiHandlers[this._identifier(t)]=[s]},l.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},l.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},l.prototype.addDcsHandler=function(t,s){return this._dcsParser.addHandler(this._identifier(t),s)},l.prototype.setDcsHandler=function(t,s){this._dcsParser.setHandler(this._identifier(t),s)},l.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},l.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},l.prototype.addOscHandler=function(t,s){return this._oscParser.addHandler(t,s)},l.prototype.setOscHandler=function(t,s){this._oscParser.setHandler(t,s)},l.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},l.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},l.prototype.setErrorHandler=function(t){this._errorHandler=t},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(t,s){for(var u=0,p=0,w=this.currentState,b=this._oscParser,E=this._dcsParser,A=this._collect,S=this._params,T=this._transitions.table,L=0;L<s;++L){switch((p=T[w<<8|((u=t[L])<160?u:160)])>>4){case 2:for(var x=L+1;;++x){if(x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:L,code:u,currentState:w,collect:A,params:S,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[A<<8|u],O=C?C.length-1:-1;O>=0&&C[O](S)===!1;O--);O<0&&this._csiHandlerFb(A<<8|u,S),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(u-48)}while(++L<s&&(u=t[L])>47&&u<60);L--;break;case 9:A<<=8,A|=u;break;case 10:for(var N=this._escHandlers[A<<8|u],F=N?N.length-1:-1;F>=0&&N[F]()===!1;F--);F<0&&this._escHandlerFb(A<<8|u),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),A=0;break;case 12:E.hook(A<<8|u,S);break;case 13:for(var k=L+1;;++k)if(k>=s||(u=t[k])===24||u===26||u===27||u>127&&u<160){E.put(t,L,k),L=k-1;break}break;case 14:E.unhook(u!==24&&u!==26),u===27&&(p|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var P=L+1;;P++)if(P>=s||(u=t[P])<32||u>127&&u<=159){b.put(t,L,P),L=P-1;break}break;case 6:b.end(u!==24&&u!==26),u===27&&(p|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0}w=15&p}this._collect=A,this.currentState=w},l}(h.Disposable);f.EscapeSequenceParser=d},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(E,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var L in T)T.hasOwnProperty(L)&&(S[L]=T[L])})(E,A)},function(b,E){function A(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,L=arguments.length,x=L<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(L<3?T(x):L>3?T(E,A,x):T(E,A))||x);return L>3&&x&&Object.defineProperty(E,A,x),x},c=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var a=y(41),i=y(47),r=y(48),o=y(49),d=y(29),n=y(2),l=y(5),t=y(1),s=y(25),u=y(0),p=1,w=function(b){function E(A,S,T,L,x,C,O,N,F){var k=b.call(this)||this;k._colors=A,k._screenElement=S,k._bufferService=x,k._charSizeService=C,k._optionsService=O,k._id=p++,k._onRequestRedraw=new u.EventEmitter;var P=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new d.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new a.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,P,k._id,k._bufferService,O),new i.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,O),new o.LinkRenderLayer(k._screenElement,2,k._colors,k._id,T,L,k._bufferService,O),new r.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,O,N,F)],k.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},k._devicePixelRatio=window.devicePixelRatio,k._updateDimensions(),k.onOptionsChanged(),k}return v(E,b),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){for(var A=0,S=this._renderLayers;A<S.length;A++)S[A].dispose();b.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},E.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},E.prototype.setColors=function(A){this._colors=A;for(var S=0,T=this._renderLayers;S<T.length;S++){var L=T[S];L.setColors(this._colors),L.reset()}},E.prototype.onResize=function(A,S){this._updateDimensions();for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},E.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},E.prototype.onBlur=function(){this._runOperation(function(A){return A.onBlur()})},E.prototype.onFocus=function(){this._runOperation(function(A){return A.onFocus()})},E.prototype.onSelectionChanged=function(A,S,T){T===void 0&&(T=!1),this._runOperation(function(L){return L.onSelectionChanged(A,S,T)})},E.prototype.onCursorMove=function(){this._runOperation(function(A){return A.onCursorMove()})},E.prototype.onOptionsChanged=function(){this._runOperation(function(A){return A.onOptionsChanged()})},E.prototype.clear=function(){this._runOperation(function(A){return A.reset()})},E.prototype._runOperation=function(A){for(var S=0,T=this._renderLayers;S<T.length;S++)A(T[S])},E.prototype.renderRows=function(A,S){for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].onGridChanged(A,S)},E.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},E.prototype.registerCharacterJoiner=function(A){return this._characterJoinerRegistry.registerCharacterJoiner(A)},E.prototype.deregisterCharacterJoiner=function(A){return this._characterJoinerRegistry.deregisterCharacterJoiner(A)},E=h([c(4,t.IBufferService),c(5,l.ICharSizeService),c(6,t.IOptionsService),c(7,t.ICoreService),c(8,l.ICoreBrowserService)],E)}(n.Disposable);f.Renderer=w},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var h=y(42),c=y(13),a=y(6),i=y(3),r=y(29),o=y(4),d=function(n){function l(t,s,u,p,w,b,E,A){var S=n.call(this,t,"text",s,w,u,b,E,A)||this;return S._characterWidth=0,S._characterFont="",S._characterOverlapCache={},S._workCell=new o.CellData,S._state=new h.GridCache,S._characterJoinerRegistry=p,S}return v(l,n),l.prototype.resize=function(t){n.prototype.resize.call(this,t);var s=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===s||(this._characterWidth=t.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(t,s,u,p){for(var w=t;w<=s;w++)for(var b=w+this._bufferService.buffer.ydisp,E=this._bufferService.buffer.lines.get(b),A=u?u.getJoinedCharacters(b):[],S=0;S<this._bufferService.cols;S++){E.loadCell(S,this._workCell);var T=this._workCell,L=!1,x=S;if(T.getWidth()!==0){if(A.length>0&&S===A[0][0]){L=!0;var C=A.shift();T=new r.JoinedCellData(this._workCell,E.translateToString(!0,C[0],C[1]),C[1]-C[0]),x=C[1]-1}!L&&this._isOverlapping(T)&&x<E.length-1&&E.getCodePoint(x+1)===i.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),p(T,S,w),S=x}}},l.prototype._drawBackground=function(t,s){var u=this,p=this._ctx,w=this._bufferService.cols,b=0,E=0,A=null;p.save(),this._forEachCell(t,s,null,function(S,T,L){var x=null;S.isInverse()?x=S.isFgDefault()?u._colors.foreground.css:S.isFgRGB()?"rgb("+a.AttributeData.toColorRGB(S.getFgColor()).join(",")+")":u._colors.ansi[S.getFgColor()].css:S.isBgRGB()?x="rgb("+a.AttributeData.toColorRGB(S.getBgColor()).join(",")+")":S.isBgPalette()&&(x=u._colors.ansi[S.getBgColor()].css),A===null&&(b=T,E=L),L!==E?(p.fillStyle=A||"",u._fillCells(b,E,w-b,1),b=T,E=L):A!==x&&(p.fillStyle=A||"",u._fillCells(b,E,T-b,1),b=T,E=L),A=x}),A!==null&&(p.fillStyle=A,this._fillCells(b,E,w-b,1)),p.restore()},l.prototype._drawForeground=function(t,s){var u=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(p,w,b){if(!p.isInvisible()&&(u._drawChars(p,w,b),p.isUnderline())){if(u._ctx.save(),p.isInverse())if(p.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(p.isBgRGB())u._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(p.getBgColor()).join(",")+")";else{var E=p.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&E<8&&(E+=8),u._ctx.fillStyle=u._colors.ansi[E].css}else if(p.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(p.isFgRGB())u._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(p.getFgColor()).join(",")+")";else{var A=p.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&A<8&&(A+=8),u._ctx.fillStyle=u._colors.ansi[A].css}u._fillBottomLineAtCells(w,b,p.getWidth()),u._ctx.restore()}})},l.prototype.onGridChanged=function(t,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,s-t+1),this._drawBackground(t,s),this._drawForeground(t,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var s=t.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var u=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},l}(c.BaseRenderLayer);f.TextRenderLayer=d},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function v(){this.cache=[]}return v.prototype.resize=function(h,c){for(var a=0;a<h;a++){this.cache.length<=a&&this.cache.push([]);for(var i=this.cache[a].length;i<c;i++)this.cache[a].push(void 0);this.cache[a].length=c}this.cache.length=h},v.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var c=0;c<this.cache[h].length;c++)this.cache[h][c]=void 0},v}();f.GridCache=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(p,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var A in E)E.hasOwnProperty(A)&&(b[A]=E[A])})(p,w)},function(u,p){function w(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(w.prototype=p.prototype,new w)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=y(9),c=y(44),a=y(27),i=y(46),r=y(11),o=y(28),d=y(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}f.getGlyphCacheKey=l;var t=function(u){function p(w,b){var E=u.call(this)||this;E._config=b,E._drawToCacheCount=0,E._glyphsWaitingOnBitmap=[],E._bitmapCommitTimeout=null,E._bitmap=null,E._cacheCanvas=w.createElement("canvas"),E._cacheCanvas.width=1024,E._cacheCanvas.height=1024,E._cacheCtx=o.throwIfFalsy(E._cacheCanvas.getContext("2d",{alpha:!0}));var A=w.createElement("canvas");A.width=E._config.scaledCharWidth,A.height=E._config.scaledCharHeight,E._tmpCtx=o.throwIfFalsy(A.getContext("2d",{alpha:E._config.allowTransparency})),E._width=Math.floor(1024/E._config.scaledCharWidth),E._height=Math.floor(1024/E._config.scaledCharHeight);var S=E._width*E._height;return E._cacheMap=new i.LRUMap(S),E._cacheMap.prealloc(S),E}return v(p,u),p.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},p.prototype.beginFrame=function(){this._drawToCacheCount=0},p.prototype.draw=function(w,b,E,A){if(b.code===32)return!0;if(!this._canCache(b))return!1;var S=l(b),T=this._cacheMap.get(S);if(T!=null)return this._drawFromCache(w,T,E,A),!0;if(this._drawToCacheCount<100){var L=void 0;L=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(b,L);return this._cacheMap.set(S,x),this._drawFromCache(w,x,E,A),!0}return!1},p.prototype._canCache=function(w){return w.code<256},p.prototype._toCoordinateX=function(w){return w%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(w){return Math.floor(w/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(w,b,E,A){if(!b.isEmpty){var S=this._toCoordinateX(b.index),T=this._toCoordinateY(b.index);w.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,S,T,this._config.scaledCharWidth,this._config.scaledCharHeight,E,A,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(w){return w<this._config.colors.ansi.length?this._config.colors.ansi[w]:a.DEFAULT_ANSI_COLORS[w]},p.prototype._getBackgroundColor=function(w){return this._config.allowTransparency?n:w.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:w.bg<256?this._getColorFromAnsiIndex(w.bg):this._config.colors.background},p.prototype._getForegroundColor=function(w){return w.fg===h.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):w.fg<256?this._getColorFromAnsiIndex(w.fg):this._config.colors.foreground},p.prototype._drawToCache=function(w,b){this._drawToCacheCount++,this._tmpCtx.save();var E=this._getBackgroundColor(w);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=E.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var A=w.bold?this._config.fontWeightBold:this._config.fontWeight,S=w.italic?"italic":"";this._tmpCtx.font=S+" "+A+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(w).css,w.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(w.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),L=!1;this._config.allowTransparency||(L=function(N,F){for(var k=!0,P=F.rgba>>>24,B=F.rgba>>>16&255,z=F.rgba>>>8&255,R=0;R<N.data.length;R+=4)N.data[R]===P&&N.data[R+1]===B&&N.data[R+2]===z?N.data[R+3]=0:k=!1;return k}(T,E));var x=this._toCoordinateX(b),C=this._toCoordinateY(b);this._cacheCtx.putImageData(T,x,C);var O={index:b,isEmpty:L,inBitmap:!1};return this._addGlyphToBitmap(O),O},p.prototype._addGlyphToBitmap=function(w){var b=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(w),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var w=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(E){w._bitmap=E;for(var A=0;A<b.length;A++)b[A].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(c.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(u){function p(w,b){return u.call(this)||this}return v(p,u),p.prototype.draw=function(w,b,E,A){return!1},p}(c.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();f.BaseCharAtlas=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(h,c,a){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][c]=a},v.prototype.getCss=function(h,c){return this._rgba[h]?this._rgba[h][c]:void 0},v.prototype.setColor=function(h,c,a){this._color[h]||(this._color[h]={}),this._color[h][c]=a},v.prototype.getColor=function(h,c){return this._color[h]?this._color[h][c]:void 0},v}();f.ColorContrastCache=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function v(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(h){var c=h.prev,a=h.next;h===this._head&&(this._head=a),h===this._tail&&(this._tail=c),c!==null&&(c.next=a),a!==null&&(a.prev=c)},v.prototype._appendNode=function(h){var c=this._tail;c!==null&&(c.next=h),h.prev=c,h.next=null,this._tail=h,this._head===null&&(this._head=h)},v.prototype.prealloc=function(h){for(var c=this._nodePool,a=0;a<h;a++)c.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(h){var c=this._map[h];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},v.prototype.peekValue=function(h){var c=this._map[h];return c!==void 0?c.value:null},v.prototype.peek=function(){var h=this._head;return h===null?null:h.value},v.prototype.set=function(h,c){var a=this._map[h];if(a!==void 0)a=this._map[h],this._unlinkNode(a),a.value=c;else if(this.size>=this.capacity)a=this._head,this._unlinkNode(a),delete this._map[a.key],a.key=h,a.value=c,this._map[h]=a;else{var i=this._nodePool;i.length>0?((a=i.pop()).key=h,a.value=c):a={prev:null,next:null,key:h,value:c},this._map[h]=a,this.size++}this._appendNode(a)},v}();f.LRUMap=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(a,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])})(a,i)},function(c,a){function i(){this.constructor=c}m(c,a),c.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var h=function(c){function a(i,r,o,d,n,l){var t=c.call(this,i,"selection",r,!0,o,d,n,l)||this;return t._clearState(),t}return v(a,c),a.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},a.prototype.resize=function(i){c.prototype.resize.call(this,i),this._clearState()},a.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},a.prototype.onSelectionChanged=function(i,r,o){if(this._didStateChange(i,r,o,this._bufferService.buffer.ydisp))if(this._clearAll(),i&&r){var d=i[1]-this._bufferService.buffer.ydisp,n=r[1]-this._bufferService.buffer.ydisp,l=Math.max(d,0),t=Math.min(n,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,o){var s=i[0],u=r[0]-s,p=t-l+1;this._fillCells(s,l,u,p)}else{s=d===l?i[0]:0;var w=l===t?r[0]:this._bufferService.cols;this._fillCells(s,l,w-s,1);var b=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,b),l!==t){var E=n===t?r[0]:this._bufferService.cols;this._fillCells(0,t,E,1)}}this._state.start=[i[0],i[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=o,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},a.prototype._didStateChange=function(i,r,o,d){return!this._areCoordinatesEqual(i,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||o!==this._state.columnSelectMode||d!==this._state.ydisp},a.prototype._areCoordinatesEqual=function(i,r){return!(!i||!r)&&i[0]===r[0]&&i[1]===r[1]},a}(y(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var h=y(13),c=y(4),a=function(r){function o(d,n,l,t,s,u,p,w,b){var E=r.call(this,d,"cursor",n,!0,l,t,u,p)||this;return E._onRequestRedraw=s,E._coreService=w,E._coreBrowserService=b,E._cell=new c.CellData,E._state={x:0,y:0,isFocused:!1,style:"",width:0},E._cursorRenderers={bar:E._renderBarCursor.bind(E),block:E._renderBlockCursor.bind(E),underline:E._renderUnderlineCursor.bind(E)},E}return v(o,r),o.prototype.resize=function(d){r.prototype.resize.call(this,d),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},o.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},o.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onOptionsChanged=function(){var d,n=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new i(this._coreBrowserService.isFocused,function(){n._render(!0)})):((d=this._cursorBlinkStateManager)===null||d===void 0||d.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},o.prototype.onGridChanged=function(d,n){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},o.prototype._render=function(d){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=n-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(n).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](t,l,this._cell):this._renderBlurCursor(t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},o.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},o.prototype._renderBarCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(d,n,this._optionsService.options.cursorWidth),this._ctx.restore()},o.prototype._renderBlockCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(d,n,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,d,n),this._ctx.restore()},o.prototype._renderUnderlineCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(d,n),this._ctx.restore()},o.prototype._renderBlurCursor=function(d,n,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(d,n,l.getWidth(),1),this._ctx.restore()},o}(h.BaseRenderLayer);f.CursorRenderLayer=a;var i=function(){function r(o,d){this._renderCallback=d,this.isCursorVisible=!0,o&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.restartBlinkAnimation=function(){var o=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){o._renderCallback(),o._animationFrame=void 0})))},r.prototype._restartInterval=function(o){var d=this;o===void 0&&(o=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(d._animationTimeRestarted){var n=600-(Date.now()-d._animationTimeRestarted);if(d._animationTimeRestarted=void 0,n>0)return void d._restartInterval(n)}d.isCursorVisible=!1,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0}),d._blinkInterval=window.setInterval(function(){if(d._animationTimeRestarted){var l=600-(Date.now()-d._animationTimeRestarted);return d._animationTimeRestarted=void 0,void d._restartInterval(l)}d.isCursorVisible=!d.isCursorVisible,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0})},600)},o)},r.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var h=y(13),c=y(9),a=y(26),i=function(r){function o(d,n,l,t,s,u,p,w){var b=r.call(this,d,"link",n,!0,l,t,p,w)||this;return s.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),s.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),u.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),u.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),b}return v(o,r),o.prototype.resize=function(d){r.prototype.resize.call(this,d),this._state=void 0},o.prototype.reset=function(){this._clearCurrentLink()},o.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},o.prototype._onShowLinkUnderline=function(d){if(d.fg===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&a.is256Color(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var n=d.y1+1;n<d.y2;n++)this._fillBottomLineAtCells(0,n,d.cols);this._fillBottomLineAtCells(0,d.y2,d.x2)}this._state=d},o.prototype._onHideLinkUnderline=function(d){this._clearCurrentLink()},o}(h.BaseRenderLayer);f.LinkRenderLayer=i},function(g,f,y){"use strict";var m=this&&this.__decorate||function(r,o,d,n){var l,t=arguments.length,s=t<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,d):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,o,d,n);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(s=(t<3?l(s):t>3?l(o,d,s):l(o,d))||s);return t>3&&s&&Object.defineProperty(o,d,s),s},v=this&&this.__param||function(r,o){return function(d,n){o(d,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var h=y(0),c=y(1),a=function(){function r(o,d,n){this._bufferService=o,this._logService=d,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(o,d){this._element=o,this._mouseZoneManager=d},r.prototype.linkifyRows=function(o,d){var n=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=o,this._rowsToLinkify.end=d):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,o),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,d)),this._mouseZoneManager.clearAll(o,d),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return n._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var o=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var d=o.ydisp+this._rowsToLinkify.start;if(!(d>=o.lines.length)){for(var n=o.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,d,n,l,l);t.hasNext();)for(var s=t.next(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},r.prototype.registerLinkMatcher=function(o,d,n){if(n===void 0&&(n={}),!d)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:o,handler:d,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(l),l.id},r.prototype._addLinkMatcherToList=function(o){if(this._linkMatchers.length!==0){for(var d=this._linkMatchers.length-1;d>=0;d--)if(o.priority<=this._linkMatchers[d].priority)return void this._linkMatchers.splice(d+1,0,o);this._linkMatchers.splice(0,0,o)}else this._linkMatchers.push(o)},r.prototype.deregisterLinkMatcher=function(o){for(var d=0;d<this._linkMatchers.length;d++)if(this._linkMatchers[d].id===o)return this._linkMatchers.splice(d,1),!0;return!1},r.prototype._doLinkifyRow=function(o,d,n){for(var l,t=this,s=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),u=-1,p=function(){var E=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!E)return w._logService.debug("match found without corresponding matchIndex",l,n),"break";if(u=d.indexOf(E,u+1),s.lastIndex=u+E.length,u<0)return"break";var A=w._bufferService.buffer.stringIndexToBufferIndex(o,u);if(A[0]<0)return"break";var S=w._bufferService.buffer.lines.get(A[0]);if(!S)return"break";var T=S.getFg(A[1]),L=T?T>>9&511:void 0;n.validationCallback?n.validationCallback(E,function(x){t._rowsTimeoutId||x&&t._addLink(A[1],A[0]-t._bufferService.buffer.ydisp,E,n,L)}):w._addLink(A[1],A[0]-w._bufferService.buffer.ydisp,E,n,L)},w=this;(l=s.exec(d))!==null&&!(p()==="break"););},r.prototype._addLink=function(o,d,n,l,t){var s=this;if(this._mouseZoneManager&&this._element){var u=this._unicodeService.getStringCellWidth(n),p=o%this._bufferService.cols,w=d+Math.floor(o/this._bufferService.cols),b=(p+u)%this._bufferService.cols,E=w+Math.floor((p+u)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,E--),this._mouseZoneManager.add(new i(p+1,w+1,b+1,E+1,function(A){if(l.handler)return l.handler(A,n);var S=window.open();S?(S.opener=null,S.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(p,w,b,E,t)),s._element.classList.add("xterm-cursor-pointer")},function(A){s._onLinkTooltip.fire(s._createLinkHoverEvent(p,w,b,E,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(A,n,{start:{x:p,y:w},end:{x:b,y:E}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(p,w,b,E,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(A){return!l.willLinkActivate||l.willLinkActivate(A,n)}))}},r.prototype._createLinkHoverEvent=function(o,d,n,l,t){return{x1:o,y1:d,x2:n,y2:l,cols:this._bufferService.cols,fg:t}},r._timeBeforeLatency=200,r=m([v(0,c.IBufferService),v(1,c.ILogService),v(2,c.IUnicodeService)],r)}();f.Linkifier=a;var i=function(o,d,n,l,t,s,u,p,w){this.x1=o,this.y1=d,this.x2=n,this.y2=l,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=p,this.willLinkActivate=w};f.MouseZone=i},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(E,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var L in T)T.hasOwnProperty(L)&&(S[L]=T[L])})(E,A)},function(b,E){function A(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,L=arguments.length,x=L<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(L<3?T(x):L>3?T(E,A,x):T(E,A))||x);return L>3&&x&&Object.defineProperty(E,A,x),x},c=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var a=y(11),i=y(52),r=y(4),o=y(0),d=y(5),n=y(1),l=y(30),t=y(53),s=y(2),u=String.fromCharCode(160),p=new RegExp(u,"g"),w=function(b){function E(A,S,T,L,x,C,O){var N=b.call(this)||this;return N._element=A,N._screenElement=S,N._bufferService=T,N._coreService=L,N._mouseService=x,N._optionsService=C,N._renderService=O,N._dragScrollAmount=0,N._enabled=!0,N._workCell=new r.CellData,N._mouseDownTimeStamp=0,N._onLinuxMouseSelection=N.register(new o.EventEmitter),N._onRedrawRequest=N.register(new o.EventEmitter),N._onSelectionChange=N.register(new o.EventEmitter),N._onRequestScrollLines=N.register(new o.EventEmitter),N._mouseMoveListener=function(F){return N._onMouseMove(F)},N._mouseUpListener=function(F){return N._onMouseUp(F)},N._coreService.onUserInput(function(){N.hasSelection&&N.clearSelection()}),N._trimListener=N._bufferService.buffer.lines.onTrim(function(F){return N._onTrim(F)}),N.register(N._bufferService.buffers.onBufferActivate(function(F){return N._onBufferActivate(F)})),N.enable(),N._model=new i.SelectionModel(N._bufferService),N._activeSelectionMode=0,N}return v(E,b),Object.defineProperty(E.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._removeMouseDownListeners()},E.prototype.reset=function(){this.clearSelection()},E.prototype.disable=function(){this.clearSelection(),this._enabled=!1},E.prototype.enable=function(){this._enabled=!0},Object.defineProperty(E.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"hasSelection",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!S||!T)&&(S[0]!==T[0]||S[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!S||!T)return"";var L=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(S[0]===T[0])return"";for(var C=S[1];C<=T[1];C++){var O=L.translateBufferLineToString(C,!0,S[0],T[0]);x.push(O)}}else{var N=S[1]===T[1]?T[0]:void 0;for(x.push(L.translateBufferLineToString(S[1],!0,S[0],N)),C=S[1]+1;C<=T[1]-1;C++){var F=L.lines.get(C);O=L.translateBufferLineToString(C,!0),F&&F.isWrapped?x[x.length-1]+=O:x.push(O)}S[1]!==T[1]&&(F=L.lines.get(T[1]),O=L.translateBufferLineToString(T[1],!0,0,T[0]),F&&F.isWrapped?x[x.length-1]+=O:x.push(O))}return x.map(function(k){return k.replace(p," ")}).join(a.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),E.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},E.prototype.refresh=function(A){var S=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return S._refresh()})),a.isLinux&&A)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},E.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},E.prototype.isClickInSelection=function(A){var S=this._getMouseBufferCoords(A),T=this._model.finalSelectionStart,L=this._model.finalSelectionEnd;return!!(T&&L&&S)&&this._areCoordsInSelection(S,T,L)},E.prototype._areCoordsInSelection=function(A,S,T){return A[1]>S[1]&&A[1]<T[1]||S[1]===T[1]&&A[1]===S[1]&&A[0]>=S[0]&&A[0]<T[0]||S[1]<T[1]&&A[1]===T[1]&&A[0]<T[0]||S[1]<T[1]&&A[1]===S[1]&&A[0]>=S[0]},E.prototype.selectWordAtCursor=function(A){var S=this._getMouseBufferCoords(A);S&&(this._selectWordAt(S,!1),this._model.selectionEnd=void 0,this.refresh(!0))},E.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},E.prototype.selectLines=function(A,S){this._model.clearSelection(),A=Math.max(A,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,A],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},E.prototype._onTrim=function(A){this._model.onTrim(A)&&this.refresh()},E.prototype._getMouseBufferCoords=function(A){var S=this._mouseService.getCoords(A,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},E.prototype._getMouseEventScrollAmount=function(A){var S=l.getCoordsRelativeToElement(A,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return S>=0&&S<=T?0:(S>T&&(S-=T),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},E.prototype.shouldForceSelection=function(A){return a.isMac?A.altKey&&this._optionsService.options.macOptionClickForcesSelection:A.shiftKey},E.prototype.onMouseDown=function(A){if(this._mouseDownTimeStamp=A.timeStamp,(A.button!==2||!this.hasSelection)&&A.button===0){if(!this._enabled){if(!this.shouldForceSelection(A))return;A.stopPropagation()}A.preventDefault(),this._dragScrollAmount=0,this._enabled&&A.shiftKey?this._onIncrementalClick(A):A.detail===1?this._onSingleClick(A):A.detail===2?this._onDoubleClick(A):A.detail===3&&this._onTripleClick(A),this._addMouseDownListeners(),this.refresh(!0)}},E.prototype._addMouseDownListeners=function(){var A=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return A._dragScroll()},50)},E.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},E.prototype._onIncrementalClick=function(A){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(A))},E.prototype._onSingleClick=function(A){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(A)?3:0,this._model.selectionStart=this._getMouseBufferCoords(A),this._model.selectionStart){this._model.selectionEnd=void 0;var S=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);S&&S.length!==this._model.selectionStart[0]&&S.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},E.prototype._onDoubleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},E.prototype._onTripleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},E.prototype.shouldColumnSelect=function(A){return A.altKey&&!(a.isMac&&this._optionsService.options.macOptionClickForcesSelection)},E.prototype._onMouseMove=function(A){if(A.stopImmediatePropagation(),this._model.selectionStart){var S=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(A),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(A),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]<T.lines.length){var L=T.lines.get(this._model.selectionEnd[1]);L&&L.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}S&&S[0]===this._model.selectionEnd[0]&&S[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},E.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var A=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(A.ydisp+this._bufferService.rows,A.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=A.ydisp),this.refresh()}},E.prototype._onMouseUp=function(A){var S=A.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&A.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(A,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var L=t.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(L,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},E.prototype._onBufferActivate=function(A){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=A.activeBuffer.lines.onTrim(function(T){return S._onTrim(T)})},E.prototype._convertViewportColToCharacterIndex=function(A,S){for(var T=S[0],L=0;S[0]>=L;L++){var x=A.loadCell(L,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:x>1&&S[0]!==L&&(T+=x-1)}return T},E.prototype.setSelection=function(A,S,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[A,S],this._model.selectionStartLength=T,this.refresh()},E.prototype._getWordAt=function(A,S,T,L){if(T===void 0&&(T=!0),L===void 0&&(L=!0),!(A[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,C=x.lines.get(A[1]);if(C){var O=x.translateBufferLineToString(A[1],!1),N=this._convertViewportColToCharacterIndex(C,A),F=N,k=A[0]-N,P=0,B=0,z=0,R=0;if(O.charAt(N)===" "){for(;N>0&&O.charAt(N-1)===" ";)N--;for(;F<O.length&&O.charAt(F+1)===" ";)F++}else{var U=A[0],j=A[0];C.getWidth(U)===0&&(P++,U--),C.getWidth(j)===2&&(B++,j++);var H=C.getString(j).length;for(H>1&&(R+=H-1,F+=H-1);U>0&&N>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===0?(P++,U--):V>1&&(z+=V-1,N-=V-1),N--,U--}for(;j<C.length&&F+1<O.length&&!this._isCharWordSeparator(C.loadCell(j+1,this._workCell));){C.loadCell(j+1,this._workCell);var X=this._workCell.getChars().length;this._workCell.getWidth()===2?(B++,j++):X>1&&(R+=X-1,F+=X-1),F++,j++}}F++;var W=N+k-P+z,G=Math.min(this._bufferService.cols,F-N+P+B-z-R);if(S||O.slice(N,F).trim()!==""){if(T&&W===0&&C.getCodePoint(0)!==32){var $=x.lines.get(A[1]-1);if($&&C.isWrapped&&$.getCodePoint(this._bufferService.cols-1)!==32){var ge=this._getWordAt([this._bufferService.cols-1,A[1]-1],!1,!0,!1);if(ge){var q=this._bufferService.cols-ge.start;W-=q,G+=q}}}if(L&&W+G===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var Se=x.lines.get(A[1]+1);if(Se&&Se.isWrapped&&Se.getCodePoint(0)!==32){var Ce=this._getWordAt([0,A[1]+1],!1,!1,!0);Ce&&(G+=Ce.length)}}return{start:W,length:G}}}}},E.prototype._selectWordAt=function(A,S){var T=this._getWordAt(A,S);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,A[1]--;this._model.selectionStart=[T.start,A[1]],this._model.selectionStartLength=T.length}},E.prototype._selectToWordAt=function(A){var S=this._getWordAt(A,!0);if(S){for(var T=A[1];S.start<0;)S.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,T]}},E.prototype._isCharWordSeparator=function(A){return A.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(A.getChars())>=0},E.prototype._selectLineAt=function(A){var S=this._bufferService.buffer.getWrappedRangeForLine(A);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.last],this._model.selectionStartLength=0},E=h([c(2,n.IBufferService),c(3,n.ICoreService),c(4,d.IMouseService),c(5,n.IOptionsService),c(6,d.IRenderService)],E)}(s.Disposable);f.SelectionService=w},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function v(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var c=this.selectionStart[0]+this.selectionStartLength;return c>this._bufferService.cols?[c%this._bufferService.cols,this.selectionStart[1]+Math.floor(c/this._bufferService.cols)]:[c,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),v.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,c=this.selectionEnd;return!(!h||!c)&&(h[1]>c[1]||h[1]===c[1]&&h[0]>c[0])},v.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},v}();f.SelectionModel=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=y(12);function v(o,d,n,l){var t=o-h(n,o),s=d-h(n,d);return r(Math.abs(t-s)-function(u,p,w){for(var b=0,E=u-h(w,u),A=p-h(w,p),S=0;S<Math.abs(E-A);S++){var T=c(u,p)==="A"?-1:1,L=w.buffer.lines.get(E+T*S);L&&L.isWrapped&&b++}return b}(o,d,n),i(c(o,d),l))}function h(o,d){for(var n=0,l=o.buffer.lines.get(d),t=l&&l.isWrapped;t&&d>=0&&d<o.rows;)n++,t=(l=o.buffer.lines.get(--d))&&l.isWrapped;return n}function c(o,d){return o>d?"A":"B"}function a(o,d,n,l,t,s){for(var u=o,p=d,w="";u!==n||p!==l;)u+=t?1:-1,t&&u>s.cols-1?(w+=s.buffer.translateBufferLineToString(p,!1,o,u),u=0,o=0,p++):!t&&u<0&&(w+=s.buffer.translateBufferLineToString(p,!1,0,o+1),o=u=s.cols-1,p--);return w+s.buffer.translateBufferLineToString(p,!1,o,u)}function i(o,d){var n=d?"O":"[";return m.C0.ESC+n+o}function r(o,d){o=Math.floor(o);for(var n="",l=0;l<o;l++)n+=d;return n}f.moveToCellSequence=function(o,d,n,l){var t,s=n.buffer.x,u=n.buffer.y;if(!n.buffer.hasScrollback)return function(w,b,E,A,S,T){return v(b,A,S,T).length===0?"":r(a(w,b,w,b-h(S,b),!1,S).length,i("D",T))}(s,u,0,d,n,l)+v(u,d,n,l)+function(w,b,E,A,S,T){var L;L=v(b,A,S,T).length>0?A-h(S,A):b;var x=A,C=function(O,N,F,k,P,B){var z;return z=v(F,k,P,B).length>0?k-h(P,k):N,O<F&&z<=k||O>=F&&z<k?"C":"D"}(w,b,E,A,S,T);return r(a(w,L,E,x,C==="C",S).length,i(C,T))}(s,u,o,d,n,l);if(u===d)return t=s>o?"D":"C",r(Math.abs(s-o),i(t,l));t=u>d?"D":"C";var p=Math.abs(u-d);return r(function(w,b){return b.cols-w}(u>d?o:s,n)+(p-1)*n.cols+1+((u>d?s:o)-1),i(t,l))}},function(g,f,y){"use strict";var m=this&&this.__decorate||function(a,i,r,o){var d,n=arguments.length,l=n<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,r,o);else for(var t=a.length-1;t>=0;t--)(d=a[t])&&(l=(n<3?d(l):n>3?d(i,r,l):d(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(a,i){return function(r,o){i(r,o,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var h=y(1),c=function(){function a(i){this._optionsService=i}return Object.defineProperty(a,"audioContext",{get:function(){if(!a._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;a._audioContext=new r}return a._audioContext},enumerable:!1,configurable:!0}),a.prototype.playBellSound=function(){var i=a.audioContext;if(i){var r=i.createBufferSource();i.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(o){r.buffer=o,r.connect(i.destination),r.start(0)})}},a.prototype._base64ToArrayBuffer=function(i){for(var r=window.atob(i),o=r.length,d=new Uint8Array(o),n=0;n<o;n++)d[n]=r.charCodeAt(n);return d.buffer},a.prototype._removeMimeType=function(i){return i.split(",")[1]},a=m([v(0,h.IOptionsService)],a)}();f.SoundService=c},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var a=y(2),i=y(7),r=y(5),o=y(1),d=function(n){function l(t,s,u,p,w,b){var E=n.call(this)||this;return E._element=t,E._screenElement=s,E._bufferService=u,E._mouseService=p,E._selectionService=w,E._optionsService=b,E._zones=[],E._areZonesActive=!1,E._lastHoverCoords=[void 0,void 0],E._initialSelectionLength=0,E.register(i.addDisposableDomListener(E._element,"mousedown",function(A){return E._onMouseDown(A)})),E._mouseMoveListener=function(A){return E._onMouseMove(A)},E._mouseLeaveListener=function(A){return E._onMouseLeave(A)},E._clickListener=function(A){return E._onClick(A)},E}return v(l,n),l.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(t,s){if(this._zones.length!==0){t&&s||(t=0,s=this._bufferService.rows-1);for(var u=0;u<this._zones.length;u++){var p=this._zones[u];(p.y1>t&&p.y1<=s+1||p.y2>t&&p.y2<=s+1||p.y1<t&&p.y2>s+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(u--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},l.prototype._onHover=function(t){var s=this,u=this._findZoneEventAt(t);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(t);s&&s.tooltipCallback&&s.tooltipCallback(t)},l.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(t);(s==null?void 0:s.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(t){var s=this._findZoneEventAt(t),u=this._getSelectionLength();s&&u===this._initialSelectionLength&&(s.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},l.prototype._findZoneEventAt=function(t){var s=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var u=s[0],p=s[1],w=0;w<this._zones.length;w++){var b=this._zones[w];if(b.y1===b.y2){if(p===b.y1&&u>=b.x1&&u<b.x2)return b}else if(p===b.y1&&u>=b.x1||p===b.y2&&u<b.x2||p>b.y1&&p<b.y2)return b}},l=h([c(2,o.IBufferService),c(3,r.IMouseService),c(4,r.ISelectionService),c(5,o.IOptionsService)],l)}(a.Disposable);f.MouseZoneManager=d},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(t,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var w in p)p.hasOwnProperty(w)&&(u[w]=p[w])})(t,s)},function(l,t){function s(){this.constructor=l}m(l,t),l.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var h=y(18),c=y(11),a=y(31),i=y(7),r=y(2),o=y(32),d=y(17),n=function(l){function t(s,u){var p=l.call(this)||this;p._terminal=s,p._renderService=u,p._liveRegionLineCount=0,p._charsToConsume=[],p._charsToAnnounce="",p._accessibilityTreeRoot=document.createElement("div"),p._accessibilityTreeRoot.classList.add("xterm-accessibility"),p._rowContainer=document.createElement("div"),p._rowContainer.classList.add("xterm-accessibility-tree"),p._rowContainer.setAttribute("role","list"),p._rowElements=[];for(var w=0;w<p._terminal.rows;w++)p._rowElements[w]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[w]);if(p._topBoundaryFocusListener=function(b){return p._onBoundaryFocus(b,0)},p._bottomBoundaryFocusListener=function(b){return p._onBoundaryFocus(b,1)},p._rowElements[0].addEventListener("focus",p._topBoundaryFocusListener),p._rowElements[p._rowElements.length-1].addEventListener("focus",p._bottomBoundaryFocusListener),p._refreshRowsDimensions(),p._accessibilityTreeRoot.appendChild(p._rowContainer),p._renderRowsDebouncer=new a.RenderDebouncer(p._renderRows.bind(p)),p._refreshRows(),p._liveRegion=document.createElement("div"),p._liveRegion.classList.add("live-region"),p._liveRegion.setAttribute("aria-live","assertive"),p._accessibilityTreeRoot.appendChild(p._liveRegion),!p._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return p._terminal.element.insertAdjacentElement("afterbegin",p._accessibilityTreeRoot),p.register(p._renderRowsDebouncer),p.register(p._terminal.onResize(function(b){return p._onResize(b.rows)})),p.register(p._terminal.onRender(function(b){return p._refreshRows(b.start,b.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(b){return p._onChar(b)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
|
|
|
`)})),p.register(p._terminal.onA11yTab(function(b){return p._onTab(b)})),p.register(p._terminal.onKey(function(b){return p._onKey(b.key)})),p.register(p._terminal.onBlur(function(){return p._clearLiveRegion()})),p.register(p._renderService.onDimensionsChange(function(){return p._refreshRowsDimensions()})),p._screenDprMonitor=new o.ScreenDprMonitor,p.register(p._screenDprMonitor),p._screenDprMonitor.setListener(function(){return p._refreshRowsDimensions()}),p.register(i.addDisposableDomListener(window,"resize",function(){return p._refreshRowsDimensions()})),p}return v(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,u){var p=s.target,w=this._rowElements[u===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===w){var b,E;if(u===0?(b=p,E=this._rowElements.pop(),this._rowContainer.removeChild(E)):(b=this._rowElements.shift(),E=p,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),E.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var A=this._createAccessibilityTreeNode();this._rowElements.unshift(A),this._rowContainer.insertAdjacentElement("afterbegin",A)}else A=this._createAccessibilityTreeNode(),this._rowElements.push(A),this._rowContainer.appendChild(A);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},t.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},t.prototype._onTab=function(s){for(var u=0;u<s;u++)this._onChar(" ")},t.prototype._onChar=function(s){var u=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=h.tooMuchOutput)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&d.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},t.prototype._renderRows=function(s,u){for(var p=this._terminal.buffer,w=p.lines.length.toString(),b=s;b<=u;b++){var E=p.translateBufferLineToString(p.ydisp+b,!0),A=(p.ydisp+b+1).toString(),S=this._rowElements[b];S&&(E.length===0?S.innerHTML=" ":S.textContent=E,S.setAttribute("aria-posinset",A),S.setAttribute("aria-setsize",w))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},t.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(r.Disposable);f.AccessibilityManager=n},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,A){E.__proto__=A}||function(E,A){for(var S in A)A.hasOwnProperty(S)&&(E[S]=A[S])})(w,b)},function(p,w){function b(){this.constructor=p}m(p,w),p.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),h=this&&this.__decorate||function(p,w,b,E){var A,S=arguments.length,T=S<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(p,w,b,E);else for(var L=p.length-1;L>=0;L--)(A=p[L])&&(T=(S<3?A(T):S>3?A(w,b,T):A(w,b))||T);return S>3&&T&&Object.defineProperty(w,b,T),T},c=this&&this.__param||function(p,w){return function(b,E){w(b,E,p)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var a=y(58),i=y(9),r=y(2),o=y(5),d=y(1),n=y(0),l=y(10),t=y(17),s=1,u=function(p){function w(b,E,A,S,T,L,x,C,O){var N=p.call(this)||this;return N._colors=b,N._element=E,N._screenElement=A,N._viewportElement=S,N._linkifier=T,N._linkifier2=L,N._charSizeService=x,N._optionsService=C,N._bufferService=O,N._terminalClass=s++,N._rowElements=[],N._rowContainer=document.createElement("div"),N._rowContainer.classList.add("xterm-rows"),N._rowContainer.style.lineHeight="normal",N._rowContainer.setAttribute("aria-hidden","true"),N._refreshRowElements(N._bufferService.cols,N._bufferService.rows),N._selectionContainer=document.createElement("div"),N._selectionContainer.classList.add("xterm-selection"),N._selectionContainer.setAttribute("aria-hidden","true"),N.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},N._updateDimensions(),N._injectCss(),N._rowFactory=new a.DomRendererRowFactory(document,N._optionsService,N._colors),N._element.classList.add("xterm-dom-renderer-owner-"+N._terminalClass),N._screenElement.appendChild(N._rowContainer),N._screenElement.appendChild(N._selectionContainer),N._linkifier.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N._linkifier2.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier2.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N}return v(w,p),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),w.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},w.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,E=this._rowElements;b<E.length;b++){var A=E[b];A.style.width=this.dimensions.canvasWidth+"px",A.style.height=this.dimensions.actualCellHeight+"px",A.style.lineHeight=this.dimensions.actualCellHeight+"px",A.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var S=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=S,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.setColors=function(b){this._colors=b,this._injectCss()},w.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var E=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";E+=this._terminalSelector+" span:not(."+a.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+a.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+a.ITALIC_CLASS+" { font-style: italic;}",E+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",E+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",E+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+":not(."+a.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",E+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(A,S){E+=b._terminalSelector+" .xterm-fg-"+S+" { color: "+A.css+"; }"+b._terminalSelector+" .xterm-bg-"+S+" { background-color: "+A.css+"; }"}),E+=this._terminalSelector+" .xterm-fg-"+i.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+i.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=E},w.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},w.prototype._refreshRowElements=function(b,E){for(var A=this._rowElements.length;A<=E;A++){var S=document.createElement("div");this._rowContainer.appendChild(S),this._rowElements.push(S)}for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop())},w.prototype.onResize=function(b,E){this._refreshRowElements(b,E),this._updateDimensions()},w.prototype.onCharSizeChanged=function(){this._updateDimensions()},w.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},w.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},w.prototype.onSelectionChanged=function(b,E,A){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&E){var S=b[1]-this._bufferService.buffer.ydisp,T=E[1]-this._bufferService.buffer.ydisp,L=Math.max(S,0),x=Math.min(T,this._bufferService.rows-1);if(!(L>=this._bufferService.rows||x<0)){var C=document.createDocumentFragment();if(A)C.appendChild(this._createSelectionElement(L,b[0],E[0],x-L+1));else{var O=S===L?b[0]:0,N=L===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(L,O,N));var F=x-L-1;if(C.appendChild(this._createSelectionElement(L+1,0,this._bufferService.cols,F)),L!==x){var k=T===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(x,0,k))}}this._selectionContainer.appendChild(C)}}},w.prototype._createSelectionElement=function(b,E,A,S){S===void 0&&(S=1);var T=document.createElement("div");return T.style.height=S*this.dimensions.actualCellHeight+"px",T.style.top=b*this.dimensions.actualCellHeight+"px",T.style.left=E*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(A-E)+"px",T},w.prototype.onCursorMove=function(){},w.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},w.prototype.clear=function(){for(var b=0,E=this._rowElements;b<E.length;b++)E[b].innerHTML=""},w.prototype.renderRows=function(b,E){for(var A=this._bufferService.buffer.ybase+this._bufferService.buffer.y,S=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,L=b;L<=E;L++){var x=this._rowElements[L];x.innerHTML="";var C=L+this._bufferService.buffer.ydisp,O=this._bufferService.buffer.lines.get(C),N=this._optionsService.options.cursorStyle;x.appendChild(this._rowFactory.createRow(O,C===A,N,S,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(w.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),w.prototype.registerCharacterJoiner=function(b){return-1},w.prototype.deregisterCharacterJoiner=function(b){return!1},w.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},w.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},w.prototype._setCellUnderline=function(b,E,A,S,T,L){for(;b!==E||A!==S;){var x=this._rowElements[A];if(!x)return;var C=x.children[b];C&&(C.style.textDecoration=L?"underline":"none"),++b>=T&&(b=0,A++)}},w=h([c(6,o.ICharSizeService),c(7,d.IOptionsService),c(8,d.IBufferService)],w)}(r.Disposable);f.DomRenderer=u},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DomRendererRowFactory=f.CURSOR_STYLE_UNDERLINE_CLASS=f.CURSOR_STYLE_BAR_CLASS=f.CURSOR_STYLE_BLOCK_CLASS=f.CURSOR_BLINK_CLASS=f.CURSOR_CLASS=f.UNDERLINE_CLASS=f.ITALIC_CLASS=f.DIM_CLASS=f.BOLD_CLASS=void 0;var m=y(9),v=y(3),h=y(4),c=y(10);f.BOLD_CLASS="xterm-bold",f.DIM_CLASS="xterm-dim",f.ITALIC_CLASS="xterm-italic",f.UNDERLINE_CLASS="xterm-underline",f.CURSOR_CLASS="xterm-cursor",f.CURSOR_BLINK_CLASS="xterm-cursor-blink",f.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",f.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",f.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var a=function(){function r(o,d,n){this._document=o,this._optionsService=d,this._colors=n,this._workCell=new h.CellData}return r.prototype.setColors=function(o){this._colors=o},r.prototype.createRow=function(o,d,n,l,t,s,u){for(var p=this._document.createDocumentFragment(),w=0,b=Math.min(o.length,u)-1;b>=0;b--)if(o.loadCell(b,this._workCell).getCode()!==v.NULL_CELL_CODE||d&&b===l){w=b+1;break}for(b=0;b<w;b++){o.loadCell(b,this._workCell);var E=this._workCell.getWidth();if(E!==0){var A=this._document.createElement("span");if(E>1&&(A.style.width=s*E+"px"),d&&b===l)switch(A.classList.add(f.CURSOR_CLASS),t&&A.classList.add(f.CURSOR_BLINK_CLASS),n){case"bar":A.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":A.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:A.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&A.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&A.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&A.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&A.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?A.textContent=v.WHITESPACE_CELL_CHAR:A.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),L=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var O=S;S=L,L=O;var N=T;T=x,x=N}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(A,this._colors.background,this._colors.ansi[S])||A.classList.add("xterm-fg-"+S);break;case 50331648:var F=c.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(A,this._colors.background,F)||this._addStyle(A,"color:#"+i(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(A,this._colors.background,this._colors.foreground)||C&&A.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:A.classList.add("xterm-bg-"+L);break;case 50331648:this._addStyle(A,"background-color:#"+i(L.toString(16),"0",6));break;case 0:default:C&&A.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}p.appendChild(A)}}return p},r.prototype._applyMinimumContrast=function(o,d,n){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=c.color.ensureContrastRatio(d,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(o,"color:"+l.css),!0)},r.prototype._addStyle=function(o,d){o.setAttribute("style",""+(o.getAttribute("style")||"")+d+";")},r}();function i(r,o,d){for(;r.length<d;)r=o+r;return r}f.DomRendererRowFactory=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=y(12),v={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};f.evaluateKeyboardEvent=function(h,c,a,i){var r={type:0,cancel:!1,key:void 0},o=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?r.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?r.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?r.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(r.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(h.shiftKey){r.key=m.C0.BS;break}if(h.altKey){r.key=m.C0.ESC+m.C0.DEL;break}r.key=m.C0.DEL;break;case 9:if(h.shiftKey){r.key=m.C0.ESC+"[Z";break}r.key=m.C0.HT,r.cancel=!0;break;case 13:r.key=h.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,r.cancel=!0;break;case 27:r.key=m.C0.ESC,h.altKey&&(r.key=m.C0.ESC+m.C0.ESC),r.cancel=!0;break;case 37:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"D",r.key===m.C0.ESC+"[1;3D"&&(r.key=m.C0.ESC+(a?"b":"[1;5D"))):r.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"C",r.key===m.C0.ESC+"[1;3C"&&(r.key=m.C0.ESC+(a?"f":"[1;5C"))):r.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"A",a||r.key!==m.C0.ESC+"[1;3A"||(r.key=m.C0.ESC+"[1;5A")):r.key=c?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"B",a||r.key!==m.C0.ESC+"[1;3B"||(r.key=m.C0.ESC+"[1;5B")):r.key=c?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(r.key=m.C0.ESC+"[2~");break;case 46:r.key=o?m.C0.ESC+"[3;"+(o+1)+"~":m.C0.ESC+"[3~";break;case 36:r.key=o?m.C0.ESC+"[1;"+(o+1)+"H":c?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:r.key=o?m.C0.ESC+"[1;"+(o+1)+"F":c?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:h.shiftKey?r.type=2:r.key=m.C0.ESC+"[5~";break;case 34:h.shiftKey?r.type=3:r.key=m.C0.ESC+"[6~";break;case 112:r.key=o?m.C0.ESC+"[1;"+(o+1)+"P":m.C0.ESC+"OP";break;case 113:r.key=o?m.C0.ESC+"[1;"+(o+1)+"Q":m.C0.ESC+"OQ";break;case 114:r.key=o?m.C0.ESC+"[1;"+(o+1)+"R":m.C0.ESC+"OR";break;case 115:r.key=o?m.C0.ESC+"[1;"+(o+1)+"S":m.C0.ESC+"OS";break;case 116:r.key=o?m.C0.ESC+"[15;"+(o+1)+"~":m.C0.ESC+"[15~";break;case 117:r.key=o?m.C0.ESC+"[17;"+(o+1)+"~":m.C0.ESC+"[17~";break;case 118:r.key=o?m.C0.ESC+"[18;"+(o+1)+"~":m.C0.ESC+"[18~";break;case 119:r.key=o?m.C0.ESC+"[19;"+(o+1)+"~":m.C0.ESC+"[19~";break;case 120:r.key=o?m.C0.ESC+"[20;"+(o+1)+"~":m.C0.ESC+"[20~";break;case 121:r.key=o?m.C0.ESC+"[21;"+(o+1)+"~":m.C0.ESC+"[21~";break;case 122:r.key=o?m.C0.ESC+"[23;"+(o+1)+"~":m.C0.ESC+"[23~";break;case 123:r.key=o?m.C0.ESC+"[24;"+(o+1)+"~":m.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(a&&!i||!h.altKey||h.metaKey)a&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(r.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?r.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(r.key=m.C0.US);else{var d=v[h.keyCode],n=d&&d[h.shiftKey?1:0];if(n)r.key=m.C0.ESC+n;else if(h.keyCode>=65&&h.keyCode<=90){var l=h.ctrlKey?h.keyCode-64:h.keyCode+32;r.key=m.C0.ESC+String.fromCharCode(l)}}else h.keyCode>=65&&h.keyCode<=90?r.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?r.key=m.C0.NUL:h.keyCode>=51&&h.keyCode<=55?r.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?r.key=m.C0.DEL:h.keyCode===219?r.key=m.C0.ESC:h.keyCode===220?r.key=m.C0.FS:h.keyCode===221&&(r.key=m.C0.GS)}return r}},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var E in b)b.hasOwnProperty(E)&&(w[E]=b[E])})(u,p)},function(s,u){function p(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(p.prototype=u.prototype,new p)}),h=this&&this.__decorate||function(s,u,p,w){var b,E=arguments.length,A=E<3?u:w===null?w=Object.getOwnPropertyDescriptor(u,p):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(s,u,p,w);else for(var S=s.length-1;S>=0;S--)(b=s[S])&&(A=(E<3?b(A):E>3?b(u,p,A):b(u,p))||A);return E>3&&A&&Object.defineProperty(u,p,A),A},c=this&&this.__param||function(s,u){return function(p,w){u(p,w,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var a=y(31),i=y(0),r=y(2),o=y(32),d=y(7),n=y(1),l=y(5),t=function(s){function u(p,w,b,E,A,S){var T=s.call(this)||this;if(T._renderer=p,T._rowCount=w,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new i.EventEmitter,T._onRender=new i.EventEmitter,T._onRefreshRequest=new i.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new a.RenderDebouncer(function(x,C){return T._renderRows(x,C)}),T.register(T._renderDebouncer),T._screenDprMonitor=new o.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(S.onResize(function(x){return T._fullRefresh()})),T.register(E.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(A.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(x){return T.refreshRows(x.start,x.end,!0)}),T.register(d.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var L=new IntersectionObserver(function(x){return T._onIntersectionChange(x[x.length-1])},{threshold:0});L.observe(b),T.register({dispose:function(){return L.disconnect()}})}return T}return v(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(p,w,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,w,this._rowCount))},u.prototype._renderRows=function(p,w){this._renderer.renderRows(p,w),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:w}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(p,w){this._rowCount=w,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(p){var w=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(b){return w.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(p,w){this._renderer.onResize(p,w),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(p,w,b){this._selectionState.start=p,this._selectionState.end=w,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(p,w,b)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},u.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},u=h([c(3,n.IOptionsService),c(4,l.ICharSizeService),c(5,n.IBufferService)],u)}(r.Disposable);f.RenderService=t},function(g,f,y){"use strict";var m=this&&this.__decorate||function(r,o,d,n){var l,t=arguments.length,s=t<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,d):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,o,d,n);else for(var u=r.length-1;u>=0;u--)(l=r[u])&&(s=(t<3?l(s):t>3?l(o,d,s):l(o,d))||s);return t>3&&s&&Object.defineProperty(o,d,s),s},v=this&&this.__param||function(r,o){return function(d,n){o(d,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var h=y(1),c=y(0),a=function(){function r(o,d,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new i(o,d,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.prototype.measure=function(){var o=this._measureStrategy.measure();o.width===this.width&&o.height===this.height||(this.width=o.width,this.height=o.height,this._onCharSizeChange.fire())},r=m([v(2,h.IOptionsService)],r)}();f.CharSizeService=a;var i=function(){function r(o,d,n){this._document=o,this._parentElement=d,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return r.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var o=this._measureElement.getBoundingClientRect();return o.width!==0&&o.height!==0&&(this._result.width=o.width,this._result.height=Math.ceil(o.height)),this._result},r}()},function(g,f,y){"use strict";var m=this&&this.__decorate||function(i,r,o,d){var n,l=arguments.length,t=l<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,o):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,r,o,d);else for(var s=i.length-1;s>=0;s--)(n=i[s])&&(t=(l<3?n(t):l>3?n(r,o,t):n(r,o))||t);return l>3&&t&&Object.defineProperty(r,o,t),t},v=this&&this.__param||function(i,r){return function(o,d){r(o,d,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var h=y(5),c=y(30),a=function(){function i(r,o){this._renderService=r,this._charSizeService=o}return i.prototype.getCoords=function(r,o,d,n,l){return c.getCoords(r,o,d,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},i.prototype.getRawByteCoords=function(r,o,d,n){var l=this.getCoords(r,o,d,n);return c.getRawByteCoords(l)},i=m([v(0,h.IRenderService),v(1,h.ICharSizeService)],i)}();f.MouseService=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var a=y(1),i=y(0),r=y(2),o=y(7),d=function(n){function l(t){var s=n.call(this)||this;return s._bufferService=t,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new i.EventEmitter),s._onHideLinkUnderline=s.register(new i.EventEmitter),s.register(r.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return v(l,n),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(t){var s=this;return this._linkProviders.push(t),{dispose:function(){var p=s._linkProviders.indexOf(t);p!==-1&&s._linkProviders.splice(p,1)}}},l.prototype.attachToDom=function(t,s,u){var p=this;this._element=t,this._mouseService=s,this._renderService=u,this.register(o.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(o.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(o.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var u=t.composedPath(),p=0;p<u.length;p++){var w=u[p];if(w.classList.contains("xterm"))break;if(w.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},l.prototype._askForLink=function(t,s){var u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var p=!1;this._linkProviders.forEach(function(w,b){var E;s?((E=u._activeProviderReplies)===null||E===void 0?void 0:E.get(b))&&(p=u._checkLinkProviderResult(b,t,p)):w.provideLinks(t.y,function(A){var S,T;if(!u._isMouseOut){var L=A==null?void 0:A.map(function(x){return{link:x}});(S=u._activeProviderReplies)===null||S===void 0||S.set(b,L),p=u._checkLinkProviderResult(b,t,p),((T=u._activeProviderReplies)===null||T===void 0?void 0:T.size)===u._linkProviders.length&&u._removeIntersectingLinks(t.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,s){for(var u=new Set,p=0;p<s.size;p++){var w=s.get(p);if(w)for(var b=0;b<w.length;b++)for(var E=w[b],A=E.link.range.start.y<t?0:E.link.range.start.x,S=E.link.range.end.y>t?this._bufferService.cols:E.link.range.end.x,T=A;T<=S;T++){if(u.has(T)){w.splice(b--,1);break}u.add(T)}}},l.prototype._checkLinkProviderResult=function(t,s,u){var p,w=this;if(!this._activeProviderReplies)return u;for(var b=this._activeProviderReplies.get(t),E=!1,A=0;A<t;A++)this._activeProviderReplies.has(A)&&!this._activeProviderReplies.get(A)||(E=!0);if(!E&&b){var S=b.find(function(L){return w._linkAtPosition(L.link,s)});S&&(u=!0,this._handleNewLink(S))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(A=0;A<this._activeProviderReplies.size;A++){var T=(p=this._activeProviderReplies.get(A))===null||p===void 0?void 0:p.find(function(L){return w._linkAtPosition(L.link,s)});if(T){u=!0,this._handleNewLink(T);break}}return u},l.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(t,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!s||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(t){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(t.link,u)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.pointerCursor},set:function(w){var b,E;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&s._currentLink.state.decorations.pointerCursor!==w&&(s._currentLink.state.decorations.pointerCursor=w,s._currentLink.state.isHovered&&((E=s._element)===null||E===void 0||E.classList.toggle("xterm-cursor-pointer",w)))}},underline:{get:function(){var w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline},set:function(w){var b,E,A;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&((A=(E=s._currentLink)===null||E===void 0?void 0:E.state)===null||A===void 0?void 0:A.decorations.underline)!==w&&(s._currentLink.state.decorations.underline=w,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,w))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var w=p.start===0?0:p.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(w,p.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,s,u){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(u,s.text)},l.prototype._fireUnderlineEvent=function(t,s){var u=t.range,p=this._bufferService.buffer.ydisp,w=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-p-1,u.end.x,u.end.y-p-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(w)},l.prototype._linkLeave=function(t,s,u){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(u,s.text)},l.prototype._linkAtPosition=function(t,s){var u=t.range.start.y===t.range.end.y,p=t.range.start.y<s.y,w=t.range.end.y>s.y;return(u&&t.range.start.x<=s.x&&t.range.end.x>=s.x||p&&t.range.end.x>=s.x||w&&t.range.start.x<=s.x||p&&w)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(t,s,u){var p=u.getCoords(t,s,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(t,s,u,p,w){return{x1:t,y1:s,x2:u,y2:p,cols:this._bufferService.cols,fg:w}},l=h([c(0,a.IBufferService)],l)}(r.Disposable);f.Linkifier2=d},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function v(h){this._textarea=h}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();f.CoreBrowserService=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(S,T){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,x){L.__proto__=x}||function(L,x){for(var C in x)x.hasOwnProperty(C)&&(L[C]=x[C])})(S,T)},function(A,S){function T(){this.constructor=A}m(A,S),A.prototype=S===null?Object.create(S):(T.prototype=S.prototype,new T)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=y(2),c=y(1),a=y(66),i=y(67),r=y(68),o=y(74),d=y(75),n=y(0),l=y(76),t=y(77),s=y(78),u=y(80),p=y(81),w=y(19),b=y(82),E=function(A){function S(T){var L=A.call(this)||this;return L._onBinary=new n.EventEmitter,L._onData=new n.EventEmitter,L._onLineFeed=new n.EventEmitter,L._onResize=new n.EventEmitter,L._onScroll=new n.EventEmitter,L._instantiationService=new a.InstantiationService,L.optionsService=new o.OptionsService(T),L._instantiationService.setService(c.IOptionsService,L.optionsService),L._bufferService=L.register(L._instantiationService.createInstance(r.BufferService)),L._instantiationService.setService(c.IBufferService,L._bufferService),L._logService=L._instantiationService.createInstance(i.LogService),L._instantiationService.setService(c.ILogService,L._logService),L._coreService=L.register(L._instantiationService.createInstance(d.CoreService,function(){return L.scrollToBottom()})),L._instantiationService.setService(c.ICoreService,L._coreService),L._coreMouseService=L._instantiationService.createInstance(l.CoreMouseService),L._instantiationService.setService(c.ICoreMouseService,L._coreMouseService),L._dirtyRowService=L._instantiationService.createInstance(t.DirtyRowService),L._instantiationService.setService(c.IDirtyRowService,L._dirtyRowService),L.unicodeService=L._instantiationService.createInstance(s.UnicodeService),L._instantiationService.setService(c.IUnicodeService,L.unicodeService),L._charsetService=L._instantiationService.createInstance(u.CharsetService),L._instantiationService.setService(c.ICharsetService,L._charsetService),L._inputHandler=new w.InputHandler(L._bufferService,L._charsetService,L._coreService,L._dirtyRowService,L._logService,L.optionsService,L._coreMouseService,L.unicodeService),L.register(n.forwardEvent(L._inputHandler.onLineFeed,L._onLineFeed)),L.register(L._inputHandler),L.register(n.forwardEvent(L._bufferService.onResize,L._onResize)),L.register(n.forwardEvent(L._coreService.onData,L._onData)),L.register(n.forwardEvent(L._coreService.onBinary,L._onBinary)),L.register(L.optionsService.onOptionChange(function(x){return L._updateOptions(x)})),L._writeBuffer=new b.WriteBuffer(function(x){return L._inputHandler.parse(x)}),L}return v(S,A),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var T;this._isDisposed||(A.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},S.prototype.write=function(T,L){this._writeBuffer.write(T,L)},S.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},S.prototype.resize=function(T,L){isNaN(T)||isNaN(L)||(T=Math.max(T,r.MINIMUM_COLS),L=Math.max(L,r.MINIMUM_ROWS),this._bufferService.resize(T,L))},S.prototype.scroll=function(T,L){L===void 0&&(L=!1);var x,C=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===T.fg&&x.getBg(0)===T.bg||(x=C.getBlankLine(T,L),this._cachedBlankLine=x),x.isWrapped=L;var O=C.ybase+C.scrollTop,N=C.ybase+C.scrollBottom;if(C.scrollTop===0){var F=C.lines.isFull;N===C.lines.length-1?F?C.lines.recycle().copyFrom(x):C.lines.push(x.clone()):C.lines.splice(N+1,0,x.clone()),F?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var k=N-O+1;C.lines.shiftElements(O+1,k-1,-1),C.lines.set(N,x.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},S.prototype.scrollLines=function(T,L){var x=this._bufferService.buffer;if(T<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var C=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+T,x.ybase),0),C!==x.ydisp&&(L||this._onScroll.fire(x.ydisp))},S.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},S.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},S.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},S.prototype.scrollToLine=function(T){var L=T-this._bufferService.buffer.ydisp;L!==0&&this.scrollLines(L)},S.prototype.addEscHandler=function(T,L){return this._inputHandler.addEscHandler(T,L)},S.prototype.addDcsHandler=function(T,L){return this._inputHandler.addDcsHandler(T,L)},S.prototype.addCsiHandler=function(T,L){return this._inputHandler.addCsiHandler(T,L)},S.prototype.addOscHandler=function(T,L){return this._inputHandler.addOscHandler(T,L)},S.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},S.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},S.prototype._updateOptions=function(T){var L;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((L=this._windowsMode)===null||L===void 0||L.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var L=[];L.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),L.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,O=L;C<O.length;C++)O[C].dispose()}}}},S}(h.Disposable);f.CoreTerminal=E},function(g,f,y){"use strict";var m=this&&this.__spreadArrays||function(){for(var i=0,r=0,o=arguments.length;r<o;r++)i+=arguments[r].length;var d=Array(i),n=0;for(r=0;r<o;r++)for(var l=arguments[r],t=0,s=l.length;t<s;t++,n++)d[n]=l[t];return d};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var v=y(1),h=y(14),c=function(){function i(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];this._entries=new Map;for(var d=0,n=r;d<n.length;d++){var l=n[d],t=l[0],s=l[1];this.set(t,s)}}return i.prototype.set=function(r,o){var d=this._entries.get(r);return this._entries.set(r,o),d},i.prototype.forEach=function(r){this._entries.forEach(function(o,d){return r(d,o)})},i.prototype.has=function(r){return this._entries.has(r)},i.prototype.get=function(r){return this._entries.get(r)},i}();f.ServiceCollection=c;var a=function(){function i(){this._services=new c,this._services.set(v.IInstantiationService,this)}return i.prototype.setService=function(r,o){this._services.set(r,o)},i.prototype.getService=function(r){return this._services.get(r)},i.prototype.createInstance=function(r){for(var o=[],d=1;d<arguments.length;d++)o[d-1]=arguments[d];for(var n=h.getServiceDependencies(r).sort(function(b,E){return b.index-E.index}),l=[],t=0,s=n;t<s.length;t++){var u=s[t],p=this._services.get(u.id);if(!p)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+u.id+".");l.push(p)}var w=n.length>0?n[0].index:o.length;if(o.length!==w)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(w+1)+" conflicts with "+o.length+" static arguments");return new(r.bind.apply(r,m([void 0],m(o,l))))},i}();f.InstantiationService=a},function(g,f,y){"use strict";var m=this&&this.__decorate||function(o,d,n,l){var t,s=arguments.length,u=s<3?d:l===null?l=Object.getOwnPropertyDescriptor(d,n):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(o,d,n,l);else for(var p=o.length-1;p>=0;p--)(t=o[p])&&(u=(s<3?t(u):s>3?t(d,n,u):t(d,n))||u);return s>3&&u&&Object.defineProperty(d,n,u),u},v=this&&this.__param||function(o,d){return function(n,l){d(n,l,o)}},h=this&&this.__spreadArrays||function(){for(var o=0,d=0,n=arguments.length;d<n;d++)o+=arguments[d].length;var l=Array(o),t=0;for(d=0;d<n;d++)for(var s=arguments[d],u=0,p=s.length;u<p;u++,t++)l[t]=s[u];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var c,a=y(1);!function(o){o[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR",o[o.OFF=4]="OFF"}(c=f.LogLevel||(f.LogLevel={}));var i={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.OFF},r=function(){function o(d){var n=this;this._optionsService=d,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&n._updateLogLevel()})}return o.prototype._updateLogLevel=function(){this._logLevel=i[this._optionsService.options.logLevel]},o.prototype._evalLazyOptionalParams=function(d){for(var n=0;n<d.length;n++)typeof d[n]=="function"&&(d[n]=d[n]())},o.prototype._log=function(d,n,l){this._evalLazyOptionalParams(l),d.call.apply(d,h([console,"xterm.js: "+n],l))},o.prototype.debug=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=c.DEBUG&&this._log(console.log,d,n)},o.prototype.info=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=c.INFO&&this._log(console.info,d,n)},o.prototype.warn=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=c.WARN&&this._log(console.warn,d,n)},o.prototype.error=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=c.ERROR&&this._log(console.error,d,n)},o=m([v(0,a.IOptionsService)],o)}();f.LogService=r},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var a=y(1),i=y(69),r=y(0),o=y(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var d=function(n){function l(t){var s=n.call(this)||this;return s._optionsService=t,s.isUserScrolling=!1,s._onResize=new r.EventEmitter,s.cols=Math.max(t.options.cols,f.MINIMUM_COLS),s.rows=Math.max(t.options.rows,f.MINIMUM_ROWS),s.buffers=new i.BufferSet(t,s),s}return v(l,n),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){n.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(t,s){this.cols=t,this.rows=s,this.buffers.resize(t,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new i.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([c(0,a.IOptionsService)],l)}(o.Disposable);f.BufferService=d},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(r,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,n){d.__proto__=n}||function(d,n){for(var l in n)n.hasOwnProperty(l)&&(d[l]=n[l])})(r,o)},function(i,r){function o(){this.constructor=i}m(i,r),i.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var h=y(70),c=y(0),a=function(i){function r(o,d){var n=i.call(this)||this;return n._onBufferActivate=n.register(new c.EventEmitter),n._normal=new h.Buffer(!0,o,d),n._normal.fillViewportRows(),n._alt=new h.Buffer(!1,o,d),n._activeBuffer=n._normal,n.setupTabStops(),n}return v(r,i),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},r.prototype.activateAltBuffer=function(o){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(o),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},r.prototype.resize=function(o,d){this._normal.resize(o,d),this._alt.resize(o,d)},r.prototype.setupTabStops=function(o){this._normal.setupTabStops(o),this._alt.setupTabStops(o)},r}(y(2).Disposable);f.BufferSet=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=y(71),v=y(16),h=y(4),c=y(3),a=y(72),i=y(73),r=y(20),o=y(6);f.MAX_BUFFER_SIZE=4294967295;var d=function(){function l(t,s,u){this._hasScrollback=t,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new o.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new o.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(t,s){return new v.BufferLine(this._bufferService.cols,this.getNullCell(t),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var s=t+this._optionsService.options.scrollback;return s>f.MAX_BUFFER_SIZE?f.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=v.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(t))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(t,s){var u=this.getNullCell(v.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(s);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols<t)for(var w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,u);var b=0;if(this._rows<s)for(var E=this._rows;E<s;E++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,u)));else for(E=this._rows;E>s;E--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p<this.lines.maxLength){var A=this.lines.length-p;A>0&&(this.lines.trimStart(A),this.ybase=Math.max(this.ybase-A,0),this.ydisp=Math.max(this.ydisp-A,0),this.savedY=Math.max(this.savedY-A,0)),this.lines.maxLength=p}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(t,s),this._cols>t))for(w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,u);this._cols=t,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(t,s){this._cols!==t&&(t>this._cols?this._reflowLarger(t,s):this._reflowSmaller(t,s))},l.prototype._reflowLarger=function(t,s){var u=a.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(u.length>0){var p=a.reflowLargerCreateNewLayout(this.lines,u);a.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(t,s,p.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,s,u){for(var p=this.getNullCell(v.DEFAULT_ATTR_DATA),w=u;w-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new v.BufferLine(t,p))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(t,s){for(var u=this.getNullCell(v.DEFAULT_ATTR_DATA),p=[],w=0,b=this.lines.length-1;b>=0;b--){var E=this.lines.get(b);if(!(!E||!E.isWrapped&&E.getTrimmedLength()<=t)){for(var A=[E];E.isWrapped&&b>0;)E=this.lines.get(--b),A.unshift(E);var S=this.ybase+this.y;if(!(S>=b&&S<b+A.length)){var T=A[A.length-1].getTrimmedLength(),L=a.reflowSmallerGetNewLineLengths(A,this._cols,t),x=L.length-A.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+x):Math.max(0,this.lines.length-this.lines.maxLength+x);for(var O=[],N=0;N<x;N++){var F=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);O.push(F)}O.length>0&&(p.push({start:b+A.length+w,newLines:O}),w+=O.length),A.push.apply(A,O);var k=L.length-1,P=L[k];P===0&&(P=L[--k]);for(var B=A.length-x-1,z=T;B>=0;){var R=Math.min(z,P);if(A[k].copyCellsFrom(A[B],z-R,P-R,R,!0),(P-=R)===0&&(P=L[--k]),(z-=R)===0){B--;var U=Math.max(B,0);z=a.getWrappedLineTrimmedLength(A,U,this._cols)}}for(N=0;N<A.length;N++)L[N]<t&&A[N].setCell(L[N],u);for(var j=x-C;j-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+w)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+s-1)}}}if(p.length>0){var H=[],V=[];for(N=0;N<this.lines.length;N++)V.push(this.lines.get(N));var X=this.lines.length,W=X-1,G=0,$=p[G];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+w);var ge=0;for(N=Math.min(this.lines.maxLength-1,X+w-1);N>=0;N--)if($&&$.start>W+ge){for(var q=$.newLines.length-1;q>=0;q--)this.lines.set(N--,$.newLines[q]);N++,H.push({index:W+1,amount:$.newLines.length}),ge+=$.newLines.length,$=p[++G]}else this.lines.set(N,V[W--]);var Se=0;for(N=H.length-1;N>=0;N--)H[N].index+=Se,this.lines.onInsertEmitter.fire(H[N]),Se+=H[N].amount;var Ce=Math.max(0,X+w-this.lines.maxLength);Ce>0&&this.lines.onTrimEmitter.fire(Ce)}},l.prototype.stringIndexToBufferIndex=function(t,s,u){for(u===void 0&&(u=!1);s;){var p=this.lines.get(t);if(!p)return[-1,-1];for(var w=u?p.getTrimmedLength():p.length,b=0;b<w;++b)if(p.get(b)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=p.get(b)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,b];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,u,p){u===void 0&&(u=0);var w=this.lines.get(t);return w?w.translateToString(s,u,p):""},l.prototype.getWrappedRangeForLine=function(t){for(var s=t,u=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},l.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},l.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.addMarker=function(t){var s=this,u=new i.Marker(t);return this.markers.push(u),u.register(this.lines.onTrim(function(p){u.line-=p,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(p){u.line>=p.index&&(u.line+=p.amount)})),u.register(this.lines.onDelete(function(p){u.line>=p.index&&u.line<p.index+p.amount&&u.dispose(),u.line>p.index&&(u.line-=p.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,s,u,p,w){return new n(this,t,s,u,p,w)},l}();f.Buffer=d;var n=function(){function l(t,s,u,p,w,b){u===void 0&&(u=0),p===void 0&&(p=t.lines.length),w===void 0&&(w=0),b===void 0&&(b=0),this._buffer=t,this._trimRight=s,this._startIndex=u,this._endIndex=p,this._startOverscan=w,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var s="",u=t.first;u<=t.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=t.last+1,{range:t,content:s}},l}();f.BufferStringIterator=n},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=y(0),v=function(){function h(c){this._maxLength=c,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(a){if(this._maxLength!==a){for(var i=new Array(a),r=0;r<Math.min(a,this.length);r++)i[r]=this._array[this._getCyclicIndex(r)];this._array=i,this._maxLength=a,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(a){if(a>this._length)for(var i=this._length;i<a;i++)this._array[i]=void 0;this._length=a},enumerable:!1,configurable:!0}),h.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},h.prototype.set=function(c,a){this._array[this._getCyclicIndex(c)]=a},h.prototype.push=function(c){this._array[this._getCyclicIndex(this._length)]=c,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(c,a){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(a){for(var o=c;o<this._length-a;o++)this._array[this._getCyclicIndex(o)]=this._array[this._getCyclicIndex(o+a)];this._length-=a}for(o=this._length-1;o>=c;o--)this._array[this._getCyclicIndex(o+i.length)]=this._array[this._getCyclicIndex(o)];for(o=0;o<i.length;o++)this._array[this._getCyclicIndex(c+o)]=i[o];if(this._length+i.length>this._maxLength){var d=this._length+i.length-this._maxLength;this._startIndex+=d,this._length=this._maxLength,this.onTrimEmitter.fire(d)}else this._length+=i.length},h.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},h.prototype.shiftElements=function(c,a,i){if(!(a<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var r=a-1;r>=0;r--)this.set(c+r+i,this.get(c+r));var o=c+a+i-this._length;if(o>0)for(this._length+=o;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<a;r++)this.set(c+r+i,this.get(c+r))}},h.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},h}();f.CircularList=v},function(g,f,y){"use strict";function m(v,h,c){if(h===v.length-1)return v[h].getTrimmedLength();var a=!v[h].hasContent(c-1)&&v[h].getWidth(c-1)===1,i=v[h+1].getWidth(0)===2;return a&&i?c-1:c}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(v,h,c,a,i){for(var r=[],o=0;o<v.length-1;o++){var d=o,n=v.get(++d);if(n.isWrapped){for(var l=[v.get(o)];d<v.length&&n.isWrapped;)l.push(n),n=v.get(++d);if(a>=o&&a<d)o+=l.length-1;else{for(var t=0,s=m(l,t,h),u=1,p=0;u<l.length;){var w=m(l,u,h),b=w-p,E=c-s,A=Math.min(b,E);l[t].copyCellsFrom(l[u],p,s,A,!1),(s+=A)===c&&(t++,s=0),(p+=A)===w&&(u++,p=0),s===0&&t!==0&&l[t-1].getWidth(c-1)===2&&(l[t].copyCellsFrom(l[t-1],c-1,s++,1,!1),l[t-1].setCell(c-1,i))}l[t].replaceCells(s,c,i);for(var S=0,T=l.length-1;T>0&&(T>t||l[T].getTrimmedLength()===0);T--)S++;S>0&&(r.push(o+l.length-S),r.push(S)),o+=l.length-1}}}return r},f.reflowLargerCreateNewLayout=function(v,h){for(var c=[],a=0,i=h[a],r=0,o=0;o<v.length;o++)if(i===o){var d=h[++a];v.onDeleteEmitter.fire({index:o-r,amount:d}),o+=d-1,r+=d,i=h[++a]}else c.push(o);return{layout:c,countRemoved:r}},f.reflowLargerApplyNewLayout=function(v,h){for(var c=[],a=0;a<h.length;a++)c.push(v.get(h[a]));for(a=0;a<c.length;a++)v.set(a,c[a]);v.length=h.length},f.reflowSmallerGetNewLineLengths=function(v,h,c){for(var a=[],i=v.map(function(s,u){return m(v,u,h)}).reduce(function(s,u){return s+u}),r=0,o=0,d=0;d<i;){if(i-d<c){a.push(i-d);break}r+=c;var n=m(v,o,h);r>n&&(r-=n,o++);var l=v[o].getWidth(r-1)===2;l&&r--;var t=l?c-1:c;a.push(t),d+=t}return a},f.getWrappedLineTrimmedLength=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(i,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var n in d)d.hasOwnProperty(n)&&(o[n]=d[n])})(i,r)},function(a,i){function r(){this.constructor=a}m(a,i),a.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var h=y(0),c=function(a){function i(r){var o=a.call(this)||this;return o.line=r,o._id=i._nextId++,o.isDisposed=!1,o._onDispose=new h.EventEmitter,o}return v(i,a),Object.defineProperty(i.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},i._nextId=1,i}(y(2).Disposable);f.Marker=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=y(0),v=y(11),h=y(33);f.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",f.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:f.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],a=function(){function i(r){this._onOptionChange=new m.EventEmitter,this.options=h.clone(f.DEFAULT_OPTIONS);for(var o=0,d=Object.keys(r);o<d.length;o++){var n=d[o];if(n in this.options){var l=r[n];this.options[n]=l}}}return Object.defineProperty(i.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),i.prototype.setOption=function(r,o){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(c.indexOf(r)!==-1)throw new Error('Option "'+r+'" can only be set in the constructor');this.options[r]!==o&&(o=this._sanitizeAndValidateOption(r,o),this.options[r]!==o&&(this.options[r]=o,this._onOptionChange.fire(r)))},i.prototype._sanitizeAndValidateOption=function(r,o){switch(r){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":o||(o=f.DEFAULT_OPTIONS[r]);break;case"cursorWidth":o=Math.floor(o);case"lineHeight":case"tabStopWidth":if(o<1)throw new Error(r+" cannot be less than 1, value: "+o);break;case"minimumContrastRatio":o=Math.max(1,Math.min(21,Math.round(10*o)/10));break;case"scrollback":if((o=Math.min(o,4294967295))<0)throw new Error(r+" cannot be less than 0, value: "+o);break;case"fastScrollSensitivity":case"scrollSensitivity":if(o<=0)throw new Error(r+" cannot be less than or equal to 0, value: "+o)}return o},i.prototype.getOption=function(r){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},i}();f.OptionsService=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,w){p.__proto__=w}||function(p,w){for(var b in w)w.hasOwnProperty(b)&&(p[b]=w[b])})(s,u)},function(t,s){function u(){this.constructor=t}m(t,s),t.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),h=this&&this.__decorate||function(t,s,u,p){var w,b=arguments.length,E=b<3?s:p===null?p=Object.getOwnPropertyDescriptor(s,u):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(t,s,u,p);else for(var A=t.length-1;A>=0;A--)(w=t[A])&&(E=(b<3?w(E):b>3?w(s,u,E):w(s,u))||E);return b>3&&E&&Object.defineProperty(s,u,E),E},c=this&&this.__param||function(t,s){return function(u,p){s(u,p,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var a=y(1),i=y(0),r=y(33),o=y(2),d=Object.freeze({insertMode:!1}),n=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(t){function s(u,p,w,b){var E=t.call(this)||this;return E._bufferService=p,E._logService=w,E._optionsService=b,E.isCursorInitialized=!1,E.isCursorHidden=!1,E._onData=E.register(new i.EventEmitter),E._onUserInput=E.register(new i.EventEmitter),E._onBinary=E.register(new i.EventEmitter),E._scrollToBottom=u,E.register({dispose:function(){return E._scrollToBottom=void 0}}),E.modes=r.clone(d),E.decPrivateModes=r.clone(n),E}return v(s,t),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=r.clone(d),this.decPrivateModes=r.clone(n)},s.prototype.triggerDataEvent=function(u,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var w=this._bufferService.buffer;w.ybase!==w.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(u))},s=h([c(1,a.IBufferService),c(2,a.ILogService),c(3,a.IOptionsService)],s)}(o.Disposable);f.CoreService=l},function(g,f,y){"use strict";var m=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},v=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var h=y(1),c=y(0),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function i(n,l){var t=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return n.button===4?(t|=64,t|=n.action):(t|=3&n.button,4&n.button&&(t|=64),8&n.button&&(t|=128),n.action===32?t|=32:n.action!==0||l||(t|=3)),t}var r=String.fromCharCode,o={DEFAULT:function(l){var t=[i(l,!1)+32,l.col+32,l.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+r(t[0])+r(t[1])+r(t[2])},SGR:function(l){var t=l.action===0&&l.button!==4?"m":"M";return"[<"+i(l,!0)+";"+l.col+";"+l.row+t}},d=function(){function n(l,t){this._bufferService=l,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new c.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(a);s<u.length;s++){var p=u[s];this.addProtocol(p,a[p])}for(var w=0,b=Object.keys(o);w<b.length;w++){var E=b[w];this.addEncoding(E,o[E])}this.reset()}return n.prototype.addProtocol=function(l,t){this._protocols[l]=t},n.prototype.addEncoding=function(l,t){this._encodings[l]=t},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(n.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),n.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var t=this._encodings[this._activeEncoding](l);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=l,!0},n.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},n.prototype._compareEvents=function(l,t){return l.col===t.col&&l.row===t.row&&l.button===t.button&&l.action===t.action&&l.ctrl===t.ctrl&&l.alt===t.alt&&l.shift===t.shift},n=m([v(0,h.IBufferService),v(1,h.ICoreService)],n)}();f.CoreMouseService=d},function(g,f,y){"use strict";var m=this&&this.__decorate||function(a,i,r,o){var d,n=arguments.length,l=n<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,r,o);else for(var t=a.length-1;t>=0;t--)(d=a[t])&&(l=(n<3?d(l):n>3?d(i,r,l):d(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(a,i){return function(r,o){i(r,o,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var h=y(1),c=function(){function a(i){this._bufferService=i,this.clearRange()}return Object.defineProperty(a.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),a.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},a.prototype.markDirty=function(i){i<this._start?this._start=i:i>this._end&&(this._end=i)},a.prototype.markRangeDirty=function(i,r){if(i>r){var o=i;i=r,r=o}i<this._start&&(this._start=i),r>this._end&&(this._end=r)},a.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},a=m([v(0,h.IBufferService)],a)}();f.DirtyRowService=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=y(0),v=y(79),h=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var a=new v.UnicodeV6;this.register(a),this._active=a.version,this._activeProvider=a}return Object.defineProperty(c.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"activeVersion",{get:function(){return this._active},set:function(i){if(!this._providers[i])throw new Error('unknown Unicode version "'+i+'"');this._active=i,this._activeProvider=this._providers[i],this._onChange.fire(i)},enumerable:!1,configurable:!0}),c.prototype.register=function(a){this._providers[a.version]=a},c.prototype.wcwidth=function(a){return this._activeProvider.wcwidth(a)},c.prototype.getStringCellWidth=function(a){for(var i=0,r=a.length,o=0;o<r;++o){var d=a.charCodeAt(o);if(55296<=d&&d<=56319){if(++o>=r)return i+this.wcwidth(d);var n=a.charCodeAt(o);56320<=n&&n<=57343?d=1024*(d-55296)+n-56320+65536:i+=this.wcwidth(n)}i+=this.wcwidth(d)}return i},c}();f.UnicodeService=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,v=y(15),h=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],c=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],a=function(){function i(){if(this.version="6",!m){m=new Uint8Array(65536),v.fill(m,1),m[0]=0,v.fill(m,0,1,32),v.fill(m,0,127,160),v.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,v.fill(m,2,11904,42192),m[12351]=1,v.fill(m,2,44032,55204),v.fill(m,2,63744,64256),v.fill(m,2,65040,65050),v.fill(m,2,65072,65136),v.fill(m,2,65280,65377),v.fill(m,2,65504,65511);for(var r=0;r<h.length;++r)v.fill(m,0,h[r][0],h[r][1]+1)}}return i.prototype.wcwidth=function(r){return r<32?0:r<127?1:r<65536?m[r]:function(o,d){var n,l=0,t=d.length-1;if(o<d[0][0]||o>d[t][1])return!1;for(;t>=l;)if(o>d[n=l+t>>1][1])l=n+1;else{if(!(o<d[n][0]))return!0;t=n-1}return!1}(r,c)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},i}();f.UnicodeV6=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},v.prototype.setgCharset=function(h,c){this._charsets[h]=c,this.glevel===h&&(this.charset=c)},v}();f.CharsetService=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=y(3);f.updateWindowsModeWrappedState=function(v){var h=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),c=h==null?void 0:h.get(v.cols-1),a=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);a&&c&&(a.isWrapped=c[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&c[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function v(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var a=this._writeBuffer[c],i=this._callbacks[c];this._action(a),i&&i()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},v.prototype.write=function(h,c){var a=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return a._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(c)},v.prototype._innerWrite=function(){for(var h=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var a=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(a),this._pendingData-=a.length,i&&i(),Date.now()-c>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},v}();f.WriteBuffer=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},v.prototype.loadAddon=function(h,c){var a=this,i={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(i),c.dispose=function(){return a._wrappedAddonDispose(i)},c.activate(h)},v.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var c=-1,a=0;a<this._addons.length;a++)if(this._addons[a]===h){c=a;break}if(c===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(c,1)}},v}();f.AddonManager=m}])})},"/SeX":function(D,_,e){var g=e("knOB"),f=e("qZFw"),y=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new g,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};y.prototype={type:"polar",axisPointerEnabled:!0,constructor:y,dimensions:["radius","angle"],model:null,containPoint:function(v){var h=this.pointToCoord(v);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var h=[],c=this._angleAxis,a=this._radiusAxis;return c.scale.type===v&&h.push(c),a.scale.type===v&&h.push(a),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var h=this._angleAxis;return v===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var h=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(v,h){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],h),this._angleAxis.dataToAngle(v[1],h)])},pointToData:function(v,h){var c=this.pointToCoord(v);return[this._radiusAxis.radiusToData(c[0],h),this._angleAxis.angleToData(c[1],h)]},pointToCoord:function(v){var h=v[0]-this.cx,c=v[1]-this.cy,a=this.getAngleAxis(),i=a.getExtent(),r=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);a.inverse?r=o-360:o=r+360;var d=Math.sqrt(h*h+c*c);h/=d,c/=d;for(var n=Math.atan2(-c,h)/Math.PI*180,l=n<r?1:-1;n<r||n>o;)n+=l*360;return[d,n]},coordToPoint:function(v){var h=v[0],c=v[1]/180*Math.PI,a=Math.cos(c)*h+this.cx,i=-Math.sin(c)*h+this.cy;return[a,i]},getArea:function(){var v=this.getAngleAxis(),h=this.getRadiusAxis(),c=h.getExtent().slice();c[0]>c[1]&&c.reverse();var a=v.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-a[0]*i,endAngle:-a[1]*i,clockwise:v.inverse,contain:function(r,o){var d=r-this.cx,n=o-this.cy,l=d*d+n*n,t=this.r,s=this.r0;return l<=t*t&&l>=s*s}}}};var m=y;D.exports=m},"/WM3":function(D,_,e){var g=e("QuXc"),f=e("bYtY"),y=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,h){var c=v.getData(),a=(v.visualColorAccessPath||"itemStyle.color").split("."),i=v.get(a),r=y(i)&&!(i instanceof g)?i:null;(!i||r)&&(i=v.getColorFromPalette(v.name,null,h.getSeriesCount())),c.setVisual("color",i);var o=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),d=v.get(o);if(c.setVisual("borderColor",d),!h.isSeriesFiltered(v)){r&&c.each(function(l){c.setItemVisual(l,"color",r(v.getDataParams(l)))});var n=function(l,t){var s=l.getItemModel(t),u=s.get(a,!0),p=s.get(o,!0);u!=null&&l.setItemVisual(t,"color",u),p!=null&&l.setItemVisual(t,"borderColor",p)};return{dataEach:c.hasItemOption?n:null}}}};D.exports=m},"/d5a":function(D,_){var e={average:function(y){for(var m=0,v=0,h=0;h<y.length;h++)isNaN(y[h])||(m+=y[h],v++);return v===0?NaN:m/v},sum:function(y){for(var m=0,v=0;v<y.length;v++)m+=y[v]||0;return m},max:function(y){for(var m=-Infinity,v=0;v<y.length;v++)y[v]>m&&(m=y[v]);return isFinite(m)?m:NaN},min:function(y){for(var m=Infinity,v=0;v<y.length;v++)y[v]<m&&(m=y[v]);return isFinite(m)?m:NaN},nearest:function(y){return y[0]}},g=function(y,m){return Math.round(y.length/2)};function f(y){return{seriesType:y,modifyOutputEnd:!0,reset:function(m,v,h){var c=m.getData(),a=m.get("sampling"),i=m.coordinateSystem;if(i.type==="cartesian2d"&&a){var r=i.getBaseAxis(),o=i.getOtherAxis(r),d=r.getExtent(),n=d[1]-d[0],l=Math.round(c.count()/n);if(l>1){var t;typeof a=="string"?t=e[a]:typeof a=="function"&&(t=a),t&&m.setData(c.downSample(c.mapDimension(o.dim),1/l,t,g))}}}}}D.exports=f},"/ezw":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("cDf5"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=function(j){var H=j.prefixCls,V=j.className,X=j.width,W=j.style;return c.createElement("h3",{className:i()(H,V),style:m()({width:X},W)})},o=r,d=e("RIqP"),n=e.n(d),l=function(j){var H=function(q){var Se=j.width,Ce=j.rows,Ae=Ce===void 0?2:Ce;return Array.isArray(Se)?Se[q]:Ae-1===q?Se:void 0},V=j.prefixCls,X=j.className,W=j.style,G=j.rows,$=n()(Array(G)).map(function(ge,q){return c.createElement("li",{key:q,style:{width:H(q)}})});return c.createElement("ul",{className:i()(V,X),style:W},$)},t=l,s=e("H84U"),u=function(j){var H,V,X=j.prefixCls,W=j.className,G=j.style,$=j.size,ge=j.shape,q=i()((H={},f()(H,"".concat(X,"-lg"),$==="large"),f()(H,"".concat(X,"-sm"),$==="small"),H)),Se=i()((V={},f()(V,"".concat(X,"-circle"),ge==="circle"),f()(V,"".concat(X,"-square"),ge==="square"),f()(V,"".concat(X,"-round"),ge==="round"),V)),Ce=typeof $=="number"?{width:$,height:$,lineHeight:"".concat($,"px")}:{};return c.createElement("span",{className:i()(X,W,q,Se),style:m()(m()({},Ce),G)})},p=u,w=e("BGR+"),b=function(j){var H=function(X){var W=X.getPrefixCls,G=j.prefixCls,$=j.className,ge=j.active,q=W("skeleton",G),Se=Object(w.default)(j,["prefixCls"]),Ce=i()(q,$,"".concat(q,"-element"),f()({},"".concat(q,"-active"),ge));return c.createElement("div",{className:Ce},c.createElement(p,m()({prefixCls:"".concat(q,"-avatar")},Se)))};return c.createElement(s.a,null,H)};b.defaultProps={size:"default",shape:"circle"};var E=b,A=function(j){var H=function(X){var W=X.getPrefixCls,G=j.prefixCls,$=j.className,ge=j.active,q=W("skeleton",G),Se=Object(w.default)(j,["prefixCls"]),Ce=i()(q,$,"".concat(q,"-element"),f()({},"".concat(q,"-active"),ge));return c.createElement("div",{className:Ce},c.createElement(p,m()({prefixCls:"".concat(q,"-button")},Se)))};return c.createElement(s.a,null,H)};A.defaultProps={size:"default"};var S=A,T=function(j){var H=function(X){var W=X.getPrefixCls,G=j.prefixCls,$=j.className,ge=j.active,q=W("skeleton",G),Se=Object(w.default)(j,["prefixCls"]),Ce=i()(q,$,"".concat(q,"-element"),f()({},"".concat(q,"-active"),ge));return c.createElement("div",{className:Ce},c.createElement(p,m()({prefixCls:"".concat(q,"-input")},Se)))};return c.createElement(s.a,null,H)};T.defaultProps={size:"default"};var L=T,x="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",C=function(j){var H=function(X){var W=X.getPrefixCls,G=j.prefixCls,$=j.className,ge=j.style,q=W("skeleton",G),Se=i()(q,$,"".concat(q,"-element"));return c.createElement("div",{className:Se},c.createElement("div",{className:i()("".concat(q,"-image"),$),style:ge},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(q,"-image-svg")},c.createElement("path",{d:x,className:"".concat(q,"-image-path")}))))};return c.createElement(s.a,null,H)},O=C;function N(U){return U&&h()(U)==="object"?U:{}}function F(U,j){return U&&!j?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(U,j){return!U&&j?{width:"38%"}:U&&j?{width:"50%"}:{}}function P(U,j){var H={};return(!U||!j)&&(H.width="61%"),!U&&j?H.rows=3:H.rows=2,H}var B=function(j){var H=function(X){var W=X.getPrefixCls,G=X.direction,$=j.prefixCls,ge=j.loading,q=j.className,Se=j.children,Ce=j.avatar,Ae=j.title,Ue=j.paragraph,Qe=j.active,gt=j.round,_e=W("skeleton",$);if(ge||!("loading"in j)){var Oe,lt=!!Ce,ce=!!Ae,Y=!!Ue,K;if(lt){var Q=m()(m()({prefixCls:"".concat(_e,"-avatar")},F(ce,Y)),N(Ce));K=c.createElement("div",{className:"".concat(_e,"-header")},c.createElement(p,Q))}var ye;if(ce||Y){var ue;if(ce){var Ne=m()(m()({prefixCls:"".concat(_e,"-title")},k(lt,Y)),N(Ae));ue=c.createElement(o,Ne)}var Te;if(Y){var oe=m()(m()({prefixCls:"".concat(_e,"-paragraph")},P(lt,ce)),N(Ue));Te=c.createElement(t,oe)}ye=c.createElement("div",{className:"".concat(_e,"-content")},ue,Te)}var de=i()(_e,q,(Oe={},f()(Oe,"".concat(_e,"-with-avatar"),lt),f()(Oe,"".concat(_e,"-active"),Qe),f()(Oe,"".concat(_e,"-rtl"),G==="rtl"),f()(Oe,"".concat(_e,"-round"),gt),Oe));return c.createElement("div",{className:de},K,ye)}return Se};return c.createElement(s.a,null,H)};B.defaultProps={avatar:!1,title:!0,paragraph:!0},B.Button=S,B.Avatar=E,B.Input=L,B.Image=O;var z=B,R=_.a=z},"/iHx":function(D,_,e){var g=e("6GrX"),f=e("IwbS"),y=["textStyle","color"],m={getTextColor:function(v){var h=this.ecModel;return this.getShallow("color")||(!v&&h?h.get(y):null)},getFont:function(){return f.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(v){return g.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};D.exports=m},"/ry/":function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),m=y.seriesModelMixin,v=f.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});g.mixin(v,m,!0);var h=v;D.exports=h},"/stD":function(D,_,e){var g=e("bYtY"),f=e("IUWy"),y=e("Kagy"),m=y.toolbox.brush;function v(a,i,r){this.model=a,this.ecModel=i,this.api=r,this._brushType,this._brushMode}v.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:g.clone(m.title)};var h=v.prototype;h.render=h.updateView=function(a,i,r){var o,d,n;i.eachComponent({mainType:"brush"},function(l){o=l.brushType,d=l.brushOption.brushMode||"single",n|=l.areas.length}),this._brushType=o,this._brushMode=d,g.each(a.get("type",!0),function(l){a.setIconStatus(l,(l==="keep"?d==="multiple":l==="clear"?n:l===o)?"emphasis":"normal")})},h.getIcons=function(){var a=this.model,i=a.get("icon",!0),r={};return g.each(a.get("type",!0),function(o){i[o]&&(r[o]=i[o])}),r},h.onclick=function(a,i,r){var o=this._brushType,d=this._brushMode;r==="clear"?(i.dispatchAction({type:"axisAreaSelect",intervals:[]}),i.dispatchAction({type:"brush",command:"clear",areas:[]})):i.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?o:o===r?!1:r,brushMode:r==="keep"?d==="multiple"?"single":"multiple":d}})},f.register("brush",v);var c=v;D.exports=c},"/wGt":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("Ff2n"),u=e("1OyB"),p=e("vuIU"),w=e("Ji7U"),b=e("md7G"),E=e("foSv"),A=e("1W/9"),S=e("rePB"),T=e("JX7q"),L=e("TSYQ"),x=e.n(L),C=e("qx4F"),O=e("4IlW");function N(ue){return Array.isArray(ue)?ue:[ue]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(F).filter(function(ue){if(typeof document=="undefined")return!1;var Ne=document.getElementsByTagName("html")[0];return ue in(Ne?Ne.style:{})})[0],P=F[k];function B(ue,Ne,Te,oe){ue.addEventListener?ue.addEventListener(Ne,Te,oe):ue.attachEvent&&ue.attachEvent("on".concat(Ne),Te)}function z(ue,Ne,Te,oe){ue.removeEventListener?ue.removeEventListener(Ne,Te,oe):ue.attachEvent&&ue.detachEvent("on".concat(Ne),Te)}function R(ue,Ne){var Te=typeof ue=="function"?ue(Ne):ue;return Array.isArray(Te)?Te.length===2?Te:[Te[0],Te[1]]:[Te]}var U=function(Ne){return!isNaN(parseFloat(Ne))&&isFinite(Ne)},j=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function ue(Ne,Te,oe,de){if(!Te||Te===document||Te instanceof Document)return!1;if(Te===Ne.parentNode)return!0;var Le=Math.max(Math.abs(oe),Math.abs(de))===Math.abs(de),Ge=Math.max(Math.abs(oe),Math.abs(de))===Math.abs(oe),ht=Te.scrollHeight-Te.clientHeight,Et=Te.scrollWidth-Te.clientWidth,Be=document.defaultView.getComputedStyle(Te),Dt=Be.overflowY==="auto"||Be.overflowY==="scroll",Ke=Be.overflowX==="auto"||Be.overflowX==="scroll",At=ht&&Dt,Xe=Et&&Ke;return Le&&(!At||At&&(Te.scrollTop>=ht&&de<0||Te.scrollTop<=0&&de>0))||Ge&&(!Xe||Xe&&(Te.scrollLeft>=Et&&oe<0||Te.scrollLeft<=0&&oe>0))?ue(Ne,Te.parentNode,oe,de):!1};function V(ue){var Ne=X();return function(){var oe=Object(E.a)(ue),de;if(Ne){var Le=Object(E.a)(this).constructor;de=Reflect.construct(oe,arguments,Le)}else de=oe.apply(this,arguments);return Object(b.a)(this,de)}}function X(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ue){return!1}}var W={},G=function(ue){Object(w.a)(Te,ue);var Ne=V(Te);function Te(oe){var de;return Object(u.a)(this,Te),de=Ne.call(this,oe),de.domFocus=function(){de.dom&&de.dom.focus()},de.removeStartHandler=function(Le){if(Le.touches.length>1)return;de.startPos={x:Le.touches[0].clientX,y:Le.touches[0].clientY}},de.removeMoveHandler=function(Le){if(Le.changedTouches.length>1)return;var Ge=Le.currentTarget,ht=Le.changedTouches[0].clientX-de.startPos.x,Et=Le.changedTouches[0].clientY-de.startPos.y;(Ge===de.maskDom||Ge===de.handlerDom||Ge===de.contentDom&&H(Ge,Le.target,ht,Et))&&Le.cancelable&&Le.preventDefault()},de.transitionEnd=function(Le){var Ge=Le.target;z(Ge,P,de.transitionEnd),Ge.style.transition=""},de.onKeyDown=function(Le){if(Le.keyCode===O.a.ESC){var Ge=de.props.onClose;Le.stopPropagation(),Ge&&Ge(Le)}},de.onWrapperTransitionEnd=function(Le){var Ge=de.props,ht=Ge.open,Et=Ge.afterVisibleChange;Le.target===de.contentWrapper&&Le.propertyName.match(/transform$/)&&(de.dom.style.transition="",!ht&&de.getCurrentDrawerSome()&&(document.body.style.overflowX="",de.maskDom&&(de.maskDom.style.left="",de.maskDom.style.width="")),Et&&Et(!!ht))},de.openLevelTransition=function(){var Le=de.props,Ge=Le.open,ht=Le.width,Et=Le.height,Be=de.getHorizontalBoolAndPlacementName(),Dt=Be.isHorizontal,Ke=Be.placementName,At=de.contentDom?de.contentDom.getBoundingClientRect()[Dt?"width":"height"]:0,Xe=(Dt?ht:Et)||At;de.setLevelAndScrolling(Ge,Ke,Xe)},de.setLevelTransform=function(Le,Ge,ht,Et){var Be=de.props,Dt=Be.placement,Ke=Be.levelMove,At=Be.duration,Xe=Be.ease,et=Be.showMask;de.levelDom.forEach(function(tt){tt.style.transition="transform ".concat(At," ").concat(Xe),B(tt,P,de.transitionEnd);var ot=Le?ht:0;if(Ke){var Ve=R(Ke,{target:tt,open:Le});ot=Le?Ve[0]:Ve[1]||0}var se=typeof ot=="number"?"".concat(ot,"px"):ot,re=Dt==="left"||Dt==="top"?se:"-".concat(se);re=et&&Dt==="right"&&Et?"calc(".concat(re," + ").concat(Et,"px)"):re,tt.style.transform=ot?"".concat(Ge,"(").concat(re,")"):""})},de.setLevelAndScrolling=function(Le,Ge,ht){var Et=de.props.onChange;if(!j){var Be=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;de.setLevelTransform(Le,Ge,ht,Be),de.toggleScrollingToDrawerAndBody(Be)}Et&&Et(Le)},de.toggleScrollingToDrawerAndBody=function(Le){var Ge=de.props,ht=Ge.getOpenCount,Et=Ge.getContainer,Be=Ge.showMask,Dt=Ge.open,Ke=Et&&Et(),At=ht&&ht();if(Ke&&Ke.parentNode===document.body&&Be){var Xe=["touchstart"],et=[document.body,de.maskDom,de.handlerDom,de.contentDom];Dt&&document.body.style.overflow!=="hidden"?(Le&&de.addScrollingEffect(Le),At===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",et.forEach(function(tt,ot){if(!tt)return;B(tt,Xe[ot]||"touchmove",ot?de.removeMoveHandler:de.removeStartHandler,de.passive)})):de.getCurrentDrawerSome()&&(At||(document.body.style.overflow=""),document.body.style.touchAction="",Le&&de.remScrollingEffect(Le),et.forEach(function(tt,ot){if(!tt)return;z(tt,Xe[ot]||"touchmove",ot?de.removeMoveHandler:de.removeStartHandler,de.passive)}))}},de.addScrollingEffect=function(Le){var Ge=de.props,ht=Ge.placement,Et=Ge.duration,Be=Ge.ease,Dt=Ge.getOpenCount,Ke=Ge.switchScrollingEffect,At=Dt&&Dt();At===1&&Ke();var Xe="width ".concat(Et," ").concat(Be),et="transform ".concat(Et," ").concat(Be);de.dom.style.transition="none";switch(ht){case"right":de.dom.style.transform="translateX(-".concat(Le,"px)");break;case"top":case"bottom":de.dom.style.width="calc(100% - ".concat(Le,"px)"),de.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(de.timeout),de.timeout=setTimeout(function(){de.dom&&(de.dom.style.transition="".concat(et,",").concat(Xe),de.dom.style.width="",de.dom.style.transform="")})},de.remScrollingEffect=function(Le){var Ge=de.props,ht=Ge.placement,Et=Ge.duration,Be=Ge.ease,Dt=Ge.getOpenCount,Ke=Ge.switchScrollingEffect,At=Dt&&Dt();At||Ke(!0),k&&(document.body.style.overflowX="hidden"),de.dom.style.transition="none";var Xe,et="width ".concat(Et," ").concat(Be),tt="transform ".concat(Et," ").concat(Be);switch(ht){case"left":{de.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Et);break}case"right":{de.dom.style.transform="translateX(".concat(Le,"px)"),de.dom.style.width="100%",et="width 0s ".concat(Be," ").concat(Et),de.maskDom&&(de.maskDom.style.left="-".concat(Le,"px"),de.maskDom.style.width="calc(100% + ".concat(Le,"px)"));break}case"top":case"bottom":{de.dom.style.width="calc(100% + ".concat(Le,"px)"),de.dom.style.height="100%",de.dom.style.transform="translateZ(0)",Xe="height 0s ".concat(Be," ").concat(Et);break}default:break}clearTimeout(de.timeout),de.timeout=setTimeout(function(){de.dom&&(de.dom.style.transition="".concat(tt,",").concat(Xe?"".concat(Xe,","):"").concat(et),de.dom.style.transform="",de.dom.style.width="",de.dom.style.height="")})},de.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(Le){return W[Le]})},de.getLevelDom=function(Le){var Ge=Le.level,ht=Le.getContainer;if(j)return;var Et=ht&&ht(),Be=Et?Et.parentNode:null;if(de.levelDom=[],Ge==="all"){var Dt=Be?Array.prototype.slice.call(Be.children):[];Dt.forEach(function(Ke){Ke.nodeName!=="SCRIPT"&&Ke.nodeName!=="STYLE"&&Ke.nodeName!=="LINK"&&Ke!==Et&&de.levelDom.push(Ke)})}else Ge&&N(Ge).forEach(function(Ke){document.querySelectorAll(Ke).forEach(function(At){de.levelDom.push(At)})})},de.getHorizontalBoolAndPlacementName=function(){var Le=de.props.placement,Ge=Le==="left"||Le==="right",ht="translate".concat(Ge?"X":"Y");return{isHorizontal:Ge,placementName:ht}},de.state={_self:Object(T.a)(de)},de}return Object(p.a)(Te,[{key:"componentDidMount",value:function(){var de=this;if(!j){var Le=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Le=!0,null}}))}catch(Dt){}this.passive=Le?{passive:!1}:!1}var Ge=this.props,ht=Ge.open,Et=Ge.getContainer,Be=Et&&Et();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),ht&&(Be&&Be.parentNode===document.body&&(W[this.drawerId]=ht),this.openLevelTransition(),this.forceUpdate(function(){de.domFocus()}))}},{key:"componentDidUpdate",value:function(de){var Le=this.props,Ge=Le.open,ht=Le.getContainer,Et=ht&&ht();Ge!==de.open&&(Ge&&this.domFocus(),Et&&Et.parentNode===document.body&&(W[this.drawerId]=!!Ge),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var de=this.props,Le=de.getOpenCount,Ge=de.open,ht=de.switchScrollingEffect,Et=typeof Le=="function"&&Le();delete W[this.drawerId],Ge&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Et||(document.body.style.overflow="",ht(!0))}},{key:"render",value:function(){var de,Le=this,Ge=this.props,ht=Ge.className,Et=Ge.children,Be=Ge.style,Dt=Ge.width,Ke=Ge.height,At=Ge.defaultOpen,Xe=Ge.open,et=Ge.prefixCls,tt=Ge.placement,ot=Ge.level,Ve=Ge.levelMove,se=Ge.ease,re=Ge.duration,it=Ge.getContainer,qe=Ge.handler,be=Ge.onChange,Zt=Ge.afterVisibleChange,dt=Ge.showMask,ct=Ge.maskClosable,yt=Ge.maskStyle,_t=Ge.onClose,or=Ge.onHandleClick,Bt=Ge.keyboard,we=Ge.getOpenCount,ve=Ge.switchScrollingEffect,me=Object(s.a)(Ge,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),he=this.dom?Xe:!1,Re=x()(et,(de={},Object(S.a)(de,"".concat(et,"-").concat(tt),!0),Object(S.a)(de,"".concat(et,"-open"),he),Object(S.a)(de,ht||"",!!ht),Object(S.a)(de,"no-mask",!dt),de)),He=this.getHorizontalBoolAndPlacementName(),ze=He.placementName,Ye=tt==="left"||tt==="top"?"-100%":"100%",Pe=he?"":"".concat(ze,"(").concat(Ye,")"),nt=qe&&t.cloneElement(qe,{onClick:function(Ot){qe.props.onClick&&qe.props.onClick(),or&&or(Ot)},ref:function(Ot){Le.handlerDom=Ot}});return t.createElement("div",Object.assign({},me,{tabIndex:-1,className:Re,style:Be,ref:function(Ot){Le.dom=Ot},onKeyDown:he&&Bt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),dt&&t.createElement("div",{className:"".concat(et,"-mask"),onClick:ct?_t:void 0,style:yt,ref:function(Ot){Le.maskDom=Ot}}),t.createElement("div",{className:"".concat(et,"-content-wrapper"),style:{transform:Pe,msTransform:Pe,width:U(Dt)?"".concat(Dt,"px"):Dt,height:U(Ke)?"".concat(Ke,"px"):Ke},ref:function(Ot){Le.contentWrapper=Ot}},t.createElement("div",{className:"".concat(et,"-content"),ref:function(Ot){Le.contentDom=Ot},onTouchStart:he&&dt?this.removeStartHandler:void 0,onTouchMove:he&&dt?this.removeMoveHandler:void 0},Et),nt))}}],[{key:"getDerivedStateFromProps",value:function(de,Le){var Ge=Le.prevProps,ht=Le._self,Et={prevProps:de};if(Ge!==void 0){var Be=de.placement,Dt=de.level;Be!==Ge.placement&&(ht.contentDom=null),Dt!==Ge.level&&ht.getLevelDom(de)}return Et}}]),Te}(t.Component);G.defaultProps={switchScrollingEffect:function(){}};var $=G;function ge(ue){var Ne=q();return function(){var oe=Object(E.a)(ue),de;if(Ne){var Le=Object(E.a)(this).constructor;de=Reflect.construct(oe,arguments,Le)}else de=oe.apply(this,arguments);return Object(b.a)(this,de)}}function q(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ue){return!1}}var Se=function(ue){Object(w.a)(Te,ue);var Ne=ge(Te);function Te(oe){var de;Object(u.a)(this,Te),de=Ne.call(this,oe),de.onHandleClick=function(Ge){var ht=de.props,Et=ht.onHandleClick,Be=ht.open;if(Et&&Et(Ge),typeof Be=="undefined"){var Dt=de.state.open;de.setState({open:!Dt})}},de.onClose=function(Ge){var ht=de.props,Et=ht.onClose,Be=ht.open;Et&&Et(Ge),typeof Be=="undefined"&&de.setState({open:!1})};var Le=typeof oe.open!="undefined"?oe.open:!!oe.defaultOpen;return de.state={open:Le},"onMaskClick"in oe&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),de}return Object(p.a)(Te,[{key:"render",value:function(){var de=this,Le=this.props,Ge=Le.defaultOpen,ht=Le.getContainer,Et=Le.wrapperClassName,Be=Le.forceRender,Dt=Le.handler,Ke=Object(s.a)(Le,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),At=this.state.open;if(!ht)return t.createElement("div",{className:Et,ref:function(tt){de.dom=tt}},t.createElement($,Object.assign({},Ke,{open:At,handler:Dt,getContainer:function(){return de.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Xe=!!Dt||Be;return t.createElement(A.a,{visible:At,forceRender:Xe,getContainer:ht,wrapperClassName:Et},function(et){var tt=et.visible,ot=et.afterClose,Ve=Object(s.a)(et,["visible","afterClose"]);return t.createElement($,Object.assign({},Ke,Ve,{open:tt!==void 0?tt:At,afterVisibleChange:ot!==void 0?ot:Ke.afterVisibleChange,handler:Dt,onClose:de.onClose,onHandleClick:de.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(de,Le){var Ge=Le.prevProps,ht={prevProps:de};return typeof Ge!="undefined"&&de.open!==Ge.open&&(ht.open=de.open),ht}}]),Te}(t.Component);Se.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ce=Se,Ae=Ce,Ue=e("V/uB"),Qe=e.n(Ue),gt=e("BGR+"),_e=e("H84U"),Oe=e("CWQg"),lt=function(ue,Ne){var Te={};for(var oe in ue)Object.prototype.hasOwnProperty.call(ue,oe)&&Ne.indexOf(oe)<0&&(Te[oe]=ue[oe]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,oe=Object.getOwnPropertySymbols(ue);de<oe.length;de++)Ne.indexOf(oe[de])<0&&Object.prototype.propertyIsEnumerable.call(ue,oe[de])&&(Te[oe[de]]=ue[oe[de]]);return Te},ce=t.createContext(null),Y=Object(Oe.a)("top","right","bottom","left"),K={distance:180},Q=function(ue){d()(Te,ue);var Ne=l()(Te);function Te(){var oe;return h()(this,Te),oe=Ne.apply(this,arguments),oe.state={push:!1},oe.push=function(){oe.props.push&&oe.setState({push:!0})},oe.pull=function(){oe.props.push&&oe.setState({push:!1})},oe.onDestroyTransitionEnd=function(){var de=oe.getDestroyOnClose();if(!de)return;oe.props.visible||(oe.destroyClose=!0,oe.forceUpdate())},oe.getDestroyOnClose=function(){return oe.props.destroyOnClose&&!oe.props.visible},oe.getPushDistance=function(){var de=oe.props.push,Le;return typeof de=="boolean"?Le=de?K.distance:0:Le=de.distance,parseFloat(String(Le||0))},oe.getPushTransform=function(de){var Le=oe.getPushDistance();if(de==="left"||de==="right")return"translateX(".concat(de==="left"?Le:-Le,"px)");if(de==="top"||de==="bottom")return"translateY(".concat(de==="top"?Le:-Le,"px)")},oe.getRcDrawerStyle=function(){var de=oe.props,Le=de.zIndex,Ge=de.placement,ht=de.mask,Et=de.style,Be=oe.state.push,Dt=ht?{}:oe.getOffsetStyle();return m()(m()({zIndex:Le,transform:Be?oe.getPushTransform(Ge):void 0},Dt),Et)},oe.renderBody=function(){var de=oe.props,Le=de.bodyStyle,Ge=de.drawerStyle,ht=de.prefixCls,Et=de.visible;if(oe.destroyClose&&!Et)return null;oe.destroyClose=!1;var Be={},Dt=oe.getDestroyOnClose();return Dt&&(Be.opacity=0,Be.transition="opacity .3s"),t.createElement("div",{className:"".concat(ht,"-wrapper-body"),style:m()(m()({},Be),Ge),onTransitionEnd:oe.onDestroyTransitionEnd},oe.renderHeader(),t.createElement("div",{className:"".concat(ht,"-body"),style:Le},oe.props.children),oe.renderFooter())},oe.renderProvider=function(de){return oe.parentDrawer=de,t.createElement(_e.a,null,function(Le){var Ge=Le.getPopupContainer,ht=Le.getPrefixCls,Et=oe.props,Be=Et.prefixCls,Dt=Et.placement,Ke=Et.className,At=Et.mask,Xe=Et.direction,et=Et.visible,tt=lt(Et,["prefixCls","placement","className","mask","direction","visible"]),ot=ht("select",Be),Ve=x()(Ke,f()({"no-mask":!At},"".concat(ot,"-rtl"),Xe==="rtl")),se=At?oe.getOffsetStyle():{};return t.createElement(ce.Provider,{value:r()(oe)},t.createElement(Ae,m()({handler:!1},Object(gt.default)(tt,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:tt.getContainer===void 0&&Ge?function(){return Ge(document.body)}:tt.getContainer},se,{prefixCls:ot,open:et,showMask:At,placement:Dt,style:oe.getRcDrawerStyle(),className:Ve}),oe.renderBody()))})},oe}return a()(Te,[{key:"componentDidMount",value:function(){var de=this.props.visible;de&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(de){var Le=this.props.visible;de.visible!==Le&&this.parentDrawer&&(Le?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var de=this.props,Le=de.placement,Ge=de.width,ht=de.height,Et=de.visible,Be=de.mask;if(!Et&&!Be)return{};var Dt={};return Le==="left"||Le==="right"?Dt.width=Ge:Dt.height=ht,Dt}},{key:"renderHeader",value:function(){var de=this.props,Le=de.title,Ge=de.prefixCls,ht=de.closable,Et=de.headerStyle;if(!Le&&!ht)return null;var Be=Le?"".concat(Ge,"-header"):"".concat(Ge,"-header-no-title");return t.createElement("div",{className:Be,style:Et},Le&&t.createElement("div",{className:"".concat(Ge,"-title")},Le),ht&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var de=this.props,Le=de.footer,Ge=de.footerStyle,ht=de.prefixCls;if(!Le)return null;var Et="".concat(ht,"-footer");return t.createElement("div",{className:Et,style:Ge},Le)}},{key:"renderCloseIcon",value:function(){var de=this.props,Le=de.closable,Ge=de.closeIcon,ht=Ge===void 0?t.createElement(Qe.a,null):Ge,Et=de.prefixCls,Be=de.onClose;return Le&&t.createElement("button",{onClick:Be,"aria-label":"Close",className:"".concat(Et,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},ht)}},{key:"render",value:function(){return t.createElement(ce.Consumer,null,this.renderProvider)}}]),Te}(t.Component);Q.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:K};var ye=_.a=Object(_e.c)({prefixCls:"drawer"})(Q)},"/y7N":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),m=e("7aKB"),v=e("Fofx"),h=e("aX7z"),c=e("+rIm");function a(u){var p=u.get("type"),w=u.getModel(p+"Style"),b;return p==="line"?(b=w.getLineStyle(),b.fill=null):p==="shadow"&&(b=w.getAreaStyle(),b.stroke=null),b}function i(u,p,w,b,E){var A=w.get("value"),S=o(A,p.axis,p.ecModel,w.get("seriesDataIndices"),{precision:w.get("label.precision"),formatter:w.get("label.formatter")}),T=w.getModel("label"),L=m.normalizeCssArray(T.get("padding")||0),x=T.getFont(),C=y.getBoundingRect(S,x),O=E.position,N=C.width+L[1]+L[3],F=C.height+L[0]+L[2],k=E.align;k==="right"&&(O[0]-=N),k==="center"&&(O[0]-=N/2);var P=E.verticalAlign;P==="bottom"&&(O[1]-=F),P==="middle"&&(O[1]-=F/2),r(O,N,F,b);var B=T.get("backgroundColor");(!B||B==="auto")&&(B=p.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:N,height:F,r:T.get("borderRadius")},position:O.slice(),style:{text:S,textFont:x,textFill:T.getTextColor(),textPosition:"inside",textPadding:L,fill:B,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function r(u,p,w,b){var E=b.getWidth(),A=b.getHeight();u[0]=Math.min(u[0]+p,E)-p,u[1]=Math.min(u[1]+w,A)-w,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function o(u,p,w,b,E){u=p.scale.parse(u);var A=p.scale.getLabel(u,{precision:E.precision}),S=E.formatter;if(S){var T={value:h.getAxisRawValue(p,u),axisDimension:p.dim,axisIndex:p.index,seriesData:[]};g.each(b,function(L){var x=w.getSeriesByIndex(L.seriesIndex),C=L.dataIndexInside,O=x&&x.getDataParams(C);O&&T.seriesData.push(O)}),g.isString(S)?A=S.replace("{value}",A):g.isFunction(S)&&(A=S(T))}return A}function d(u,p,w){var b=v.create();return v.rotate(b,b,w.rotation),v.translate(b,b,w.position),f.applyTransform([u.dataToCoord(p),(w.labelOffset||0)+(w.labelDirection||1)*(w.labelMargin||0)],b)}function n(u,p,w,b,E,A){var S=c.innerTextLayout(w.rotation,0,w.labelDirection);w.labelMargin=E.get("label.margin"),i(p,b,E,A,{position:d(b.axis,u,w),align:S.textAlign,verticalAlign:S.textVerticalAlign})}function l(u,p,w){return w=w||0,{x1:u[w],y1:u[1-w],x2:p[w],y2:p[1-w]}}function t(u,p,w){return w=w||0,{x:u[w],y:u[1-w],width:p[w],height:p[1-w]}}function s(u,p,w,b,E,A){return{cx:u,cy:p,r0:w,r:b,startAngle:E,endAngle:A,clockwise:!0}}_.buildElStyle=a,_.buildLabelElOption=i,_.getValueLabel=o,_.getTransformedPosition=d,_.buildCartesianSingleLabelElOption=n,_.makeLineShape=l,_.makeRectShape=t,_.makeSectorShape=s},"/zsF":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bE4E"),m=e.n(y)},"0/Rx":function(D,_){function e(g){return{seriesType:g,reset:function(f,y){var m=y.findComponents({mainType:"legend"});if(!m||!m.length)return;var v=f.getData();v.filterSelf(function(h){for(var c=v.getName(h),a=0;a<m.length;a++)if(!m[a].isSelected(c))return!1;return!0})}}}D.exports=e},"01d+":function(D,_,e){var g=e("bYtY"),f=g.each,y=e("HF/U"),m=y.simpleLayout,v=y.simpleLayoutEdge;function h(c,a){c.eachSeriesByType("graph",function(i){var r=i.get("layout"),o=i.coordinateSystem;if(o&&o.type!=="view"){var d=i.getData(),n=[];f(o.dimensions,function(w){n=n.concat(d.mapDimension(w,!0))});for(var l=0;l<d.count();l++){for(var t=[],s=!1,u=0;u<n.length;u++){var p=d.get(n[u],l);isNaN(p)||(s=!0),t.push(p)}s?d.setItemLayout(l,o.dataToPoint(t)):d.setItemLayout(l,[NaN,NaN])}v(d.graph)}else(!r||r==="none")&&m(i)})}D.exports=h},"03A+":function(D,_,e){var g=e("JTzB"),f=e("ExA7"),y=Object.prototype,m=y.hasOwnProperty,v=y.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(c){return f(c)&&m.call(c,"callee")&&!v.call(c,"callee")};D.exports=h},"06DH":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("Kagy"),m=e("IUWy"),v=y.toolbox.magicType,h="__ec_magicType_stack__";function c(d){this.model=d}c.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:f.clone(v.title),option:{},seriesIndex:{}};var a=c.prototype;a.getIcons=function(){var d=this.model,n=d.get("icon"),l={};return f.each(d.get("type"),function(t){n[t]&&(l[t]=n[t])}),l};var i={line:function(d,n,l,t){if(d==="bar")return f.merge({id:n,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(d,n,l,t){if(d==="line")return f.merge({id:n,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(d,n,l,t){var s=l.get("stack")===h;if(d==="line"||d==="bar")return t.setIconStatus("stack",s?"normal":"emphasis"),f.merge({id:n,stack:s?"":h},t.get("option.stack")||{},!0)}},r=[["line","bar"],["stack"]];a.onclick=function(d,n,l){var t=this.model,s=t.get("seriesIndex."+l);if(!i[l])return;var u={series:[]},p=function(E){var A=E.subType,S=E.id,T=i[l](A,S,E,t);T&&(f.defaults(T,E.option),u.series.push(T));var L=E.coordinateSystem;if(L&&L.type==="cartesian2d"&&(l==="line"||l==="bar")){var x=L.getAxesByScale("ordinal")[0];if(x){var C=x.dim,O=C+"Axis",N=d.queryComponents({mainType:O,index:E.get(name+"Index"),id:E.get(name+"Id")})[0],F=N.componentIndex;u[O]=u[O]||[];for(var k=0;k<=F;k++)u[O][F]=u[O][F]||{};u[O][F].boundaryGap=l==="bar"}}};f.each(r,function(E){f.indexOf(E,l)>=0&&f.each(E,function(A){t.setIconStatus(A,"normal")})}),t.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},p);var w;if(l==="stack"){var b=u.series&&u.series[0]&&u.series[0].stack===h;w=b?f.merge({stack:v.title.tiled},v.title):f.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:w,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,n){n.mergeOption(d.newOption)}),m.register("magicType",c);var o=c;D.exports=o},"06Qe":function(D,_,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",y=typeof window=="undefined"?null:window,m=!1,v=y&&y.document;function h(i){return c(i)}var c;if(v&&!g.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",f),c=function(r){return v.createElement("<zrvml:"+r+' class="zrvml">')}}catch(i){c=function(o){return v.createElement("<"+o+' xmlns="'+f+'" class="zrvml">')}}function a(){if(m||!v)return;m=!0;var i=v.styleSheets;i.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):i[0].addRule(".zrvml","behavior:url(#default#VML)")}_.doc=v,_.createNode=h,_.initVML=a},"09Wf":function(D,_,e){"use strict";e.d(_,"b",function(){return f}),e.d(_,"a",function(){return y});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),y=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(D,_,e){var g=e("T4UG"),f=e("I3/A"),y=e("7aKB"),m=y.encodeHTML,v=e("Qxkt"),h=e("Tghj"),c=h.__DEV__,a=g.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,o){for(var d=r.edges||r.links,n=r.data||r.nodes,l=r.levels,t=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(t[l[s].depth]=new v(l[s],this,o));if(n&&d){var u=f(n,d,this,!0,p);return u.data}function p(w,b){w.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,L=T.getData().getItemLayout(A).depth,x=T.levelModels[L];return x||this.parentModel}),E}),b.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,L=T.getGraph().getEdgeByIndex(A),x=L.node1.getLayout().depth,C=T.levelModels[x];return C||this.parentModel}),E})}},setNodePosition:function(r,o){var d=this.option.data[r];d.localX=o[0],d.localY=o[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,o,d){if(d==="edge"){var n=this.getDataParams(r,d),l=n.data,t=l.source+" -- "+l.target;return n.value&&(t+=" : "+n.value),m(t)}else if(d==="node"){var s=this.getGraph().getNodeByIndex(r),u=s.getLayout().value,p=this.getDataParams(r,d).data.name;if(u)var t=p+" : "+u;return m(t)}return a.superCall(this,"formatTooltip",r,o)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,o){var d=a.superCall(this,"getDataParams",r,o);if(d.value==null&&o==="node"){var n=this.getGraph().getNodeByIndex(r),l=n.getLayout().value;d.value=l}return d},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),i=a;D.exports=i},"0Cz8":function(D,_,e){var g=e("Xi7e"),f=e("ebwN"),y=e("e4Nc"),m=200;function v(h,c){var a=this.__data__;if(a instanceof g){var i=a.__data__;if(!f||i.length<m-1)return i.push([h,c]),this.size=++a.size,this;a=this.__data__=new y(i)}return a.set(h,c),this.size=a.size,this}D.exports=v},"0HBW":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function y(m,v){v.update="updateView",g.registerAction(v,function(h,c){var a={};return c.eachComponent({mainType:"geo",query:h},function(i){i[m](h.name);var r=i.coordinateSystem;f.each(r.regions,function(o){a[o.name]=i.isSelected(o.name)||!1})}),{selected:a,name:h.name}})}y("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),y("select",{type:"geoSelect",event:"geoselected"}),y("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(D,_,e){var g=e("bYtY"),f=e("+TT/"),y=e("OELB"),m=e("IDmD"),v=864e5;function h(i,r,o){this._model=i}h.prototype={constructor:h,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(i){i=y.parseDate(i);var r=i.getFullYear(),o=i.getMonth()+1;o=o<10?"0"+o:o;var d=i.getDate();d=d<10?"0"+d:d;var n=i.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:r,m:o,d,day:n,time:i.getTime(),formatedDate:r+"-"+o+"-"+d,date:i}},getNextNDay:function(i,r){return r=r||0,r===0?this.getDateInfo(i):(i=new Date(this.getDateInfo(i).time),i.setDate(i.getDate()+r),this.getDateInfo(i))},update:function(i,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var o=this._rangeInfo.weeks||1,d=["width","height"],n=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[o,7]:[7,o];g.each([0,1],function(w){p(n,w)&&(l[d[w]]=n[w]*t[w])});var s={width:r.getWidth(),height:r.getHeight()},u=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(w){p(n,w)||(n[w]=u[d[w]]/t[w])});function p(w,b){return w[b]!=null&&w[b]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(i,r){g.isArray(i)&&(i=i[0]),r==null&&(r=!0);var o=this.getDateInfo(i),d=this._rangeInfo,n=o.formatedDate;if(r&&!(o.time>=d.start.time&&o.time<d.end.time+v))return[NaN,NaN];var l=o.day,t=this._getRangeInfo([d.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(i){var r=this.pointToDate(i);return r&&r.time},dataToRect:function(i,r){var o=this.dataToPoint(i,r);return{contentShape:{x:o[0]-(this._sw-this._lineWidth)/2,y:o[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:o,tl:[o[0]-this._sw/2,o[1]-this._sh/2],tr:[o[0]+this._sw/2,o[1]-this._sh/2],br:[o[0]+this._sw/2,o[1]+this._sh/2],bl:[o[0]-this._sw/2,o[1]+this._sh/2]}},pointToDate:function(i){var r=Math.floor((i[0]-this._rect.x)/this._sw)+1,o=Math.floor((i[1]-this._rect.y)/this._sh)+1,d=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(o,r-1,d):this._getDateByWeeksAndDay(r,o-1,d)},convertToPixel:g.curry(c,"dataToPoint"),convertFromPixel:g.curry(c,"pointToData"),_initRangeOption:function(){var i=this._model.get("range"),r=i;if(g.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(i=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var o=this.getDateInfo(r),d=o.date;d.setMonth(d.getMonth()+1);var n=this.getNextNDay(d,-1);i=[o.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(i=[r,r]);var l=this._getRangeInfo(i);return l.start.time>l.end.time&&i.reverse(),i},_getRangeInfo:function(i){i=[this.getDateInfo(i[0]),this.getDateInfo(i[1])];var r;i[0].time>i[1].time&&(r=!0,i.reverse());var o=Math.floor(i[1].time/v)-Math.floor(i[0].time/v)+1,d=new Date(i[0].time),n=d.getDate(),l=i[1].date.getDate();d.setDate(n+o-1);var t=d.getDate();if(t!==l)for(var s=d.getTime()-i[1].time>0?1:-1;(t=d.getDate())!==l&&(d.getTime()-i[1].time)*s>0;)o-=s,d.setDate(t-s);var u=Math.floor((o+i[0].day+6)/7),p=r?-u+1:u-1;return r&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:o,weeks:u,nthWeek:p,fweek:i[0].day,lweek:i[1].day}},_getDateByWeeksAndDay:function(i,r,o){var d=this._getRangeInfo(o);if(i>d.weeks||i===0&&r<d.fweek||i===d.weeks&&r>d.lweek)return!1;var n=(i-1)*7-d.fweek+r,l=new Date(d.start.time);return l.setDate(d.start.d+n),this.getDateInfo(l)}},h.dimensions=h.prototype.dimensions,h.getDimensionsInfo=h.prototype.getDimensionsInfo,h.create=function(i,r){var o=[];return i.eachComponent("calendar",function(d){var n=new h(d,i,r);o.push(n),d.coordinateSystem=n}),i.eachSeries(function(d){d.get("coordinateSystem")==="calendar"&&(d.coordinateSystem=o[d.get("calendarIndex")||0])}),o};function c(i,r,o,d){var n=o.calendarModel,l=o.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[i](d):null}m.register("calendar",h);var a=h;D.exports=a},"0JQy":function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+a+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",u=t+l+s,p="(?:"+[r+c+"?",c,o,d,h].join("|")+")",w=RegExp(a+"(?="+a+")|"+p+u,"g");function b(E){return E.match(w)||[]}D.exports=b},"0NbB":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CaretDownOutlined";var h=_.a=g.forwardRef(v)},"0V0F":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.each;function m(h){var c=f();h.eachSeries(function(a){var i=a.get("stack");if(i){var r=c.get(i)||c.set(i,[]),o=a.getData(),d={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:a};if(!d.stackedDimension||!(d.isStackedByIndex||d.stackedByDimension))return;r.length&&o.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(d)}}),c.each(v)}function v(h){y(h,function(c,a){var i=[],r=[NaN,NaN],o=[c.stackResultDimension,c.stackedOverDimension],d=c.data,n=c.isStackedByIndex,l=d.map(o,function(t,s,u){var p=d.get(c.stackedDimension,u);if(isNaN(p))return r;var w,b;n?b=d.getRawIndex(u):w=d.get(c.stackedByDimension,u);for(var E=NaN,A=a-1;A>=0;A--){var S=h[A];if(n||(b=S.data.rawIndexOf(S.stackedByDimension,w)),b>=0){var T=S.data.getByRawIndex(S.stackResultDimension,b);if(p>=0&&T>0||p<=0&&T<0){p+=T,E=T;break}}}return i[0]=p,i[1]=E,i});d.hostModel.setData(l),c.data=l})}D.exports=m},"0XgM":function(D,_,e){},"0fbx":function(D,_,e){},"0o9m":function(D,_,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),y=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),y.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(D,_,e){var g=e("ProS");g.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),g.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(D,_){var e=arguments[3],g=arguments[4],f=arguments[5],y=JSON.stringify;D.exports=function(m,v){for(var h,c=Object.keys(f),a=0,i=c.length;a<i;a++){var r=c[a],o=f[r].exports;if(o===m||o&&o.default===m){h=r;break}}if(!h){h=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},a=0,i=c.length;a<i;a++){var r=c[a];d[r]=r}g[h]=["function(require,module,exports){"+m+"(self); }",d]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[h]=h,g[n]=["function(require,module,exports){var f = require("+y(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(n);function s(A){t[A]=!0;for(var S in g[A][1]){var T=g[A][1][S];t[T]||s(T)}}var u="("+e+")({"+Object.keys(t).map(function(A){return y(A)+":["+g[A][0]+","+y(g[A][1])+"]"}).join(",")+"},{},["+y(n)+"])",p=window.URL||window.webkitURL||window.mozURL||window.msURL,w=new Blob([u],{type:"text/javascript"});if(v&&v.bare)return w;var b=p.createObjectURL(w),E=new Worker(b);return E.objectURL=b,E}},"0s+r":function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("y23F"),m=e("H6uX"),v=e("YH21"),h=e("C0SR"),c="silent";function a(s,u,p){return{type:s,event:p,target:u.target,topTarget:u.topTarget,cancelBubble:!1,offsetX:p.zrX,offsetY:p.zrY,gestureEvent:p.gestureEvent,pinchX:p.pinchX,pinchY:p.pinchY,pinchScale:p.pinchScale,wheelDelta:p.zrDelta,zrByTouch:p.zrByTouch,which:p.which,stop:i}}function i(){v.stop(this.event)}function r(){}r.prototype.dispose=function(){};var o=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(u,p,w,b){m.call(this),this.storage=u,this.painter=p,this.painterRoot=b,w=w||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,y.call(this),this.setHandlerProxy(w)};d.prototype={constructor:d,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(g.each(o,function(p){u.on&&u.on(p,this[p],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var p=u.zrX,w=u.zrY,b=l(this,p,w),E=this._hovered,A=E.target;A&&!A.__zr&&(E=this.findHover(E.x,E.y),A=E.target);var S=this._hovered=b?{x:p,y:w}:this.findHover(p,w),T=S.target,L=this.proxy;L.setCursor&&L.setCursor(T?T.cursor:"default"),A&&T!==A&&this.dispatchToElement(E,"mouseout",u),this.dispatchToElement(S,"mousemove",u),T&&T!==A&&this.dispatchToElement(S,"mouseover",u)},mouseout:function(u){var p=u.zrEventControl,w=u.zrIsToLocalDOM;p!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),p!=="no_globalout"&&(!w&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,p){var w=this[u];w&&w.call(this,p)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var p=this.proxy;p.setCursor&&p.setCursor(u)},dispatchToElement:function(u,p,w){u=u||{};var b=u.target;if(b&&b.silent)return;for(var E="on"+p,A=a(p,u,w);b&&!(b[E]&&(A.cancelBubble=b[E].call(b,A)),b.trigger(p,A),b=b.parent,A.cancelBubble););A.cancelBubble||(this.trigger(p,A),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[E]=="function"&&S[E].call(S,A),S.trigger&&S.trigger(p,A)}))},findHover:function(u,p,w){for(var b=this.storage.getDisplayList(),E={x:u,y:p},A=b.length-1;A>=0;A--){var S;if(b[A]!==w&&!b[A].ignore&&(S=n(b[A],u,p))&&(!E.topTarget&&(E.topTarget=b[A]),S!==c)){E.target=b[A];break}}return E},processGesture:function(u,p){this._gestureMgr||(this._gestureMgr=new h);var w=this._gestureMgr;p==="start"&&w.clear();var b=w.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(p==="end"&&w.clear(),b){var E=b.type;u.gestureEvent=E,this.dispatchToElement({target:b.target},E,b.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){d.prototype[s]=function(u){var p=u.zrX,w=u.zrY,b=l(this,p,w),E,A;if((s!=="mouseup"||!b)&&(E=this.findHover(p,w),A=E.target),s==="mousedown")this._downEl=A,this._downPoint=[u.zrX,u.zrY],this._upEl=A;else if(s==="mouseup")this._upEl=A;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(E,s,u)}});function n(s,u,p){if(s[s.rectHover?"rectContain":"contain"](u,p)){for(var w=s,b;w;){if(w.clipPath&&!w.clipPath.contain(u,p))return!1;w.silent&&(b=!0),w=w.parent}return b?c:!0}return!1}function l(s,u,p){var w=s.painter;return u<0||u>w.getWidth()||p<0||p>w.getHeight()}g.mixin(d,m),g.mixin(d,y);var t=d;D.exports=t},"0ycA":function(D,_){function e(){return[]}D.exports=e},"10cm":function(D,_,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};g.registerAction(m,function(v,h){h.eachComponent({mainType:"series",query:v},function(c){var a=c.coordinateSystem,i=y(a,v);c.setCenter&&c.setCenter(i.center),c.setZoom&&c.setZoom(i.zoom)})})},"15/o":function(D,_,e){},"19Vz":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){g.defineOption("placeholder","",function(a,i,r){var o=r&&r!=g.Init;if(i&&!o)a.on("blur",v),a.on("change",h),a.on("swapDoc",h),g.on(a.getInputField(),"compositionupdate",a.state.placeholderCompose=function(){m(a)}),h(a);else if(!i&&o){a.off("blur",v),a.off("change",h),a.off("swapDoc",h),g.off(a.getInputField(),"compositionupdate",a.state.placeholderCompose),f(a);var d=a.getWrapperElement();d.className=d.className.replace(" CodeMirror-empty","")}i&&!a.hasFocus()&&v(a)});function f(a){a.state.placeholder&&(a.state.placeholder.parentNode.removeChild(a.state.placeholder),a.state.placeholder=null)}function y(a){f(a);var i=a.state.placeholder=document.createElement("pre");i.style.cssText="height: 0; overflow: visible",i.style.direction=a.getOption("direction"),i.className="CodeMirror-placeholder CodeMirror-line-like";var r=a.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),i.appendChild(r),a.display.lineSpace.insertBefore(i,a.display.lineSpace.firstChild)}function m(a){setTimeout(function(){var i=!1,r=a.getInputField();r.nodeName=="TEXTAREA"?i=!r.value:a.lineCount()==1&&(i=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),i?y(a):f(a)},20)}function v(a){c(a)&&y(a)}function h(a){var i=a.getWrapperElement(),r=c(a);i.className=i.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?y(a):f(a)}function c(a){return a.lineCount()===1&&a.getLine(0)===""}})},"1Jh7":function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,h){f.buildPath(v,h,!1)}});D.exports=y},"1LEl":function(D,_,e){var g=e("ProS"),f=e("F9bG"),y=g.extendComponentView({type:"axisPointer",render:function(v,h,c){var a=h.getComponent("tooltip"),i=v.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";f.register("axisPointer",c,function(r,o,d){i!=="none"&&(r==="leave"||i.indexOf(r)>=0)&&d({type:"updateAxisPointer",currTrigger:r,x:o&&o.offsetX,y:o&&o.offsetY})})},remove:function(v,h){f.unregister(h.getZr(),"axisPointer"),y.superApply(this._model,"remove",arguments)},dispose:function(v,h){f.unregister("axisPointer",h),y.superApply(this._model,"dispose",arguments)}}),m=y;D.exports=m},"1MYJ":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,v=this.shape.paths,h=0;h<v.length;h++)m=m||v[h].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],v=this.getGlobalScale(),h=0;h<m.length;h++)m[h].path||m[h].createPathProxy(),m[h].path.setScale(v[0],v[1],m[h].segmentIgnoreThreshold)},buildPath:function(m,v){for(var h=v.paths||[],c=0;c<h.length;c++)h[c].buildPath(m,h[c].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],v=0;v<m.length;v++)m[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),g.prototype.getBoundingRect.call(this)}});D.exports=f},"1NG9":function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),y=e("iXp4"),m=f.min,v=f.max,h=f.scaleAndAdd,c=f.copy,a=[],i=[],r=[];function o(p){return isNaN(p[0])||isNaN(p[1])}function d(p,w,b,E,A,S,T,L,x,C,O){return C==="none"||!C?l.apply(this,arguments):n.apply(this,arguments)}function n(p,w,b,E,A,S,T,L,x,C,O){for(var N=0,F=b,k=0;k<E;k++){var P=w[F];if(F>=A||F<0)break;if(o(P)){if(O){F+=S;continue}break}if(F===b)p[S>0?"moveTo":"lineTo"](P[0],P[1]);else if(x>0){var B=w[N],z=C==="y"?1:0,R=(P[z]-B[z])*x;c(i,B),i[z]=B[z]+R,c(r,P),r[z]=P[z]-R,p.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1])}else p.lineTo(P[0],P[1]);N=F,F+=S}return k}function l(p,w,b,E,A,S,T,L,x,C,O){for(var N=0,F=b,k=0;k<E;k++){var P=w[F];if(F>=A||F<0)break;if(o(P)){if(O){F+=S;continue}break}if(F===b)p[S>0?"moveTo":"lineTo"](P[0],P[1]),c(i,P);else if(x>0){var B=F+S,z=w[B];if(O)for(;z&&o(w[B]);)B+=S,z=w[B];var R=.5,U=w[N],z=w[B];if(!z||o(z))c(r,P);else{o(z)&&!O&&(z=P),f.sub(a,z,U);var j,H;if(C==="x"||C==="y"){var V=C==="x"?0:1;j=Math.abs(P[V]-U[V]),H=Math.abs(P[V]-z[V])}else j=f.dist(P,U),H=f.dist(P,z);R=H/(H+j),h(r,P,a,-x*(1-R))}m(i,i,L),v(i,i,T),m(r,r,L),v(r,r,T),p.bezierCurveTo(i[0],i[1],r[0],r[1],P[0],P[1]),h(i,P,a,x*R)}else p.lineTo(P[0],P[1]);N=F,F+=S}return k}function t(p,w){var b=[Infinity,Infinity],E=[-Infinity,-Infinity];if(w)for(var A=0;A<p.length;A++){var S=p[A];S[0]<b[0]&&(b[0]=S[0]),S[1]<b[1]&&(b[1]=S[1]),S[0]>E[0]&&(E[0]=S[0]),S[1]>E[1]&&(E[1]=S[1])}return{min:w?b:E,max:w?E:b}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:y(g.prototype.brush),buildPath:function(p,w){var b=w.points,E=0,A=b.length,S=t(b,w.smoothConstraint);if(w.connectNulls){for(;A>0&&o(b[A-1]);A--);for(;E<A&&o(b[E]);E++);}for(;E<A;)E+=d(p,b,E,A,A,1,S.min,S.max,w.smooth,w.smoothMonotone,w.connectNulls)+1}}),u=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:y(g.prototype.brush),buildPath:function(p,w){var b=w.points,E=w.stackedOnPoints,A=0,S=b.length,T=w.smoothMonotone,L=t(b,w.smoothConstraint),x=t(E,w.smoothConstraint);if(w.connectNulls){for(;S>0&&o(b[S-1]);S--);for(;A<S&&o(b[A]);A++);}for(;A<S;){var C=d(p,b,A,S,S,1,L.min,L.max,w.smooth,T,w.connectNulls);d(p,E,A+C-1,C,S,-1,x.min,x.max,w.stackedOnSmooth,T,w.connectNulls),A+=C+1,p.closePath()}}});_.Polyline=s,_.Polygon=u},"1RvN":function(D,_){var e=function(){this.head=null,this.tail=null,this._len=0},g=e.prototype;g.insert=function(h){var c=new f(h);return this.insertEntry(c),c},g.insertEntry=function(h){this.head?(this.tail.next=h,h.prev=this.tail,h.next=null,this.tail=h):this.head=this.tail=h,this._len++},g.remove=function(h){var c=h.prev,a=h.next;c?c.next=a:this.head=a,a?a.prev=c:this.tail=c,h.next=h.prev=null,this._len--},g.len=function(){return this._len},g.clear=function(){this.head=this.tail=null,this._len=0};var f=function(c){this.value=c,this.next,this.prev},y=function(c){this._list=new e,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=y.prototype;m.put=function(h,c){var a=this._list,i=this._map,r=null;if(i[h]==null){var o=a.len(),d=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var n=a.head;a.remove(n),delete i[n.key],r=n.value,this._lastRemovedEntry=n}d?d.value=c:d=new f(c),d.key=h,a.insertEntry(d),i[h]=d}return r},m.get=function(h){var c=this._map[h],a=this._list;if(c!=null)return c!==a.tail&&(a.remove(c),a.insertEntry(c)),c.value},m.clear=function(){this._list.clear(),this._map={}};var v=y;D.exports=v},"1bdT":function(D,_,e){var g=e("3gBT"),f=e("H6uX"),y=e("DN4a"),m=e("vWvF"),v=e("bYtY"),h=function(i){y.call(this,i),f.call(this,i),m.call(this,i),this.id=i.id||g()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(i,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":i=0;break}var o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=i,o[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(i,r){},attrKV:function(i,r){if(i==="position"||i==="scale"||i==="origin"){if(r){var o=this[i];o||(o=this[i]=[]),o[0]=r[0],o[1]=r[1]}}else this[i]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(i,r){if(typeof i=="string")this.attrKV(i,r);else if(v.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.attrKV(o,i[o]);return this.dirty(!1),this},setClipPath:function(i){var r=this.__zr;r&&i.addSelfToZr(r),this.clipPath&&this.clipPath!==i&&this.removeClipPath(),this.clipPath=i,i.__zr=r,i.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var i=this.clipPath;i&&(i.__zr&&i.removeSelfFromZr(i.__zr),i.__zr=null,i.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(i){this.__zr=i;var r=this.animators;if(r)for(var o=0;o<r.length;o++)i.animation.addAnimator(r[o]);this.clipPath&&this.clipPath.addSelfToZr(i)},removeSelfFromZr:function(i){this.__zr=null;var r=this.animators;if(r)for(var o=0;o<r.length;o++)i.animation.removeAnimator(r[o]);this.clipPath&&this.clipPath.removeSelfFromZr(i)}},v.mixin(h,m),v.mixin(h,y),v.mixin(h,f);var c=h;D.exports=c},"1dTM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GQ8N"),f=C(e("Lo0S")),y=e("VSMT"),m=e("GdRQ"),v=e("SZEN"),h=e("vewr"),c=L(e("YJ9k")),a=L(e("MZdM")),i=L(e("ItS6")),r=L(e("whVF")),o=L(e("Fv0C")),d=L(e("LCi9")),n=L(e("rwxt")),l=L(e("Mmt2")),t=L(e("iUHT")),s=L(e("mHUz")),u=L(e("P2ho")),p=e("NBmB");e("mdZa");var w=L(e("34/K")),b=L(e("hXwI")),E=L(e("SgaC")),A=L(e("3690")),S=L(e("8K/p")),T=L(e("xO64"));function L(ye){return ye&&ye.__esModule?ye:{default:ye}}function x(){if(typeof WeakMap!="function")return null;var ye=new WeakMap;return x=function(){return ye},ye}function C(ye){if(ye&&ye.__esModule)return ye;if(ye===null||O(ye)!=="object"&&typeof ye!="function")return{default:ye};var ue=x();if(ue&&ue.has(ye))return ue.get(ye);var Ne={},Te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var oe in ye)if(Object.prototype.hasOwnProperty.call(ye,oe)){var de=Te?Object.getOwnPropertyDescriptor(ye,oe):null;de&&(de.get||de.set)?Object.defineProperty(Ne,oe,de):Ne[oe]=ye[oe]}return Ne.default=ye,ue&&ue.set(ye,Ne),Ne}function O(ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(Ne){return typeof Ne}:O=function(Ne){return Ne&&typeof Symbol=="function"&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},O(ye)}function N(ye,ue){if(!(ye instanceof ue))throw new TypeError("Cannot call a class as a function")}function F(ye,ue){for(var Ne=0;Ne<ue.length;Ne++){var Te=ue[Ne];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(ye,Te.key,Te)}}function k(ye,ue,Ne){return ue&&F(ye.prototype,ue),Ne&&F(ye,Ne),ye}function P(ye,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");ye.prototype=Object.create(ue&&ue.prototype,{constructor:{value:ye,writable:!0,configurable:!0}}),ue&&B(ye,ue)}function B(ye,ue){return B=Object.setPrototypeOf||function(Te,oe){return Te.__proto__=oe,Te},B(ye,ue)}function z(ye){var ue=j();return function(){var Te=H(ye),oe;if(ue){var de=H(this).constructor;oe=Reflect.construct(Te,arguments,de)}else oe=Te.apply(this,arguments);return R(this,oe)}}function R(ye,ue){return ue&&(O(ue)==="object"||typeof ue=="function")?ue:U(ye)}function U(ye){if(ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye}function j(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ye){return!1}}function H(ye){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Ne){return Ne.__proto__||Object.getPrototypeOf(Ne)},H(ye)}var V=3,X="rgb(40, 40, 40)",W=17,G=50,$=19,ge=75,q=50,Se=1e3,Ce=50,Ae=1,Ue=1<<1,Qe=1<<2,gt=1<<3,_e=1<<4,Oe=1<<24,lt=1<<25,ce=1<<26,Y=1<<27,K=1<<28,Q=function(ye){P(Ne,ye);var ue=z(Ne);function Ne(Te,oe,de){var Le;if(N(this,Ne),!Te)throw new Error("Must specify target");if(!oe)throw new Error("Must specify URL");Le=ue.call(this),Le._target=Te,Le._url=oe,de=de||{},Le._rfbCredentials=de.credentials||{},Le._shared="shared"in de?!!de.shared:!0,Le._repeaterID=de.repeaterID||"",Le._wsProtocols=de.wsProtocols||[],Le._rfbConnectionState="",Le._rfbInitState="",Le._rfbAuthScheme=-1,Le._rfbCleanDisconnect=!0,Le._rfbVersion=0,Le._rfbMaxVersion=3.8,Le._rfbTightVNC=!1,Le._rfbVeNCryptState=0,Le._rfbXvpVer=0,Le._fbWidth=0,Le._fbHeight=0,Le._fbName="",Le._capabilities={power:!1},Le._supportsFence=!1,Le._supportsContinuousUpdates=!1,Le._enabledContinuousUpdates=!1,Le._supportsSetDesktopSize=!1,Le._screenID=0,Le._screenFlags=0,Le._qemuExtKeyEventSupported=!1,Le._clipboardText=null,Le._clipboardServerCapabilitiesActions={},Le._clipboardServerCapabilitiesFormats={},Le._sock=null,Le._display=null,Le._flushing=!1,Le._keyboard=null,Le._gestures=null,Le._disconnTimer=null,Le._resizeTimeout=null,Le._mouseMoveTimer=null,Le._decoders={},Le._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Le._mousePos={},Le._mouseButtonMask=0,Le._mouseLastMoveTime=0,Le._viewportDragging=!1,Le._viewportDragPos={},Le._viewportHasMoved=!1,Le._accumulatedWheelDeltaX=0,Le._accumulatedWheelDeltaY=0,Le._gestureLastTapTime=null,Le._gestureFirstDoubleTapEv=null,Le._gestureLastMagnitudeX=0,Le._gestureLastMagnitudeY=0,Le._eventHandlers={focusCanvas:Le._focusCanvas.bind(U(Le)),windowResize:Le._windowResize.bind(U(Le)),handleMouse:Le._handleMouse.bind(U(Le)),handleWheel:Le._handleWheel.bind(U(Le)),handleGesture:Le._handleGesture.bind(U(Le))},f.Debug(">> RFB.constructor"),Le._screen=document.createElement("div"),Le._screen.style.display="flex",Le._screen.style.width="100%",Le._screen.style.height="100%",Le._screen.style.overflow="auto",Le._screen.style.background=X,Le._canvas=document.createElement("canvas"),Le._canvas.style.margin="auto",Le._canvas.style.outline="none",Le._canvas.style.flexShrink="0",Le._canvas.width=0,Le._canvas.height=0,Le._canvas.tabIndex=-1,Le._screen.appendChild(Le._canvas),Le._cursor=new n.default,Le._cursorImage=Ne.cursors.none,Le._decoders[p.encodings.encodingRaw]=new w.default,Le._decoders[p.encodings.encodingCopyRect]=new b.default,Le._decoders[p.encodings.encodingRRE]=new E.default,Le._decoders[p.encodings.encodingHextile]=new A.default,Le._decoders[p.encodings.encodingTight]=new S.default,Le._decoders[p.encodings.encodingTightPNG]=new T.default;try{Le._display=new a.default(Le._canvas)}catch(Ge){throw f.Error("Display exception: "+Ge),Ge}return Le._display.onflush=Le._onFlush.bind(U(Le)),Le._keyboard=new o.default(Le._canvas),Le._keyboard.onkeyevent=Le._handleKeyEvent.bind(U(Le)),Le._gestures=new d.default,Le._sock=new l.default,Le._sock.on("message",function(){Le._handleMessage()}),Le._sock.on("open",function(){Le._rfbConnectionState==="connecting"&&Le._rfbInitState===""?(Le._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):Le._fail("Unexpected server connection while "+Le._rfbConnectionState)}),Le._sock.on("close",function(Ge){f.Debug("WebSocket on-close event");var ht="";Ge.code&&(ht="(code: "+Ge.code,Ge.reason&&(ht+=", reason: "+Ge.reason),ht+=")");switch(Le._rfbConnectionState){case"connecting":Le._fail("Connection closed "+ht);break;case"connected":Le._updateConnectionState("disconnecting"),Le._updateConnectionState("disconnected");break;case"disconnecting":Le._updateConnectionState("disconnected");break;case"disconnected":Le._fail("Unexpected server disconnect when already disconnected "+ht);break;default:Le._fail("Unexpected server disconnect before connecting "+ht);break}Le._sock.off("close")}),Le._sock.on("error",function(Ge){return f.Warn("WebSocket on-error event")}),setTimeout(Le._updateConnectionState.bind(U(Le),"connecting")),f.Debug("<< RFB.constructor"),Le.dragViewport=!1,Le.focusOnClick=!0,Le._viewOnly=!1,Le._clipViewport=!1,Le._scaleViewport=!1,Le._resizeSession=!1,Le._showDotCursor=!1,de.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Le._showDotCursor=de.showDotCursor),Le._qualityLevel=6,Le._compressionLevel=2,Le}return k(Ne,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(oe){this._rfbCredentials=oe,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;f.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(oe,de,Le){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Le===void 0){this.sendKey(oe,de,!0),this.sendKey(oe,de,!1);return}var Ge=u.default[de];if(this._qemuExtKeyEventSupported&&Ge)oe=oe||0,f.Info("Sending key ("+(Le?"down":"up")+"): keysym "+oe+", scancode "+Ge),Ne.messages.QEMUExtendedKeyEvent(this._sock,oe,Le,Ge);else{if(!oe)return;f.Info("Sending keysym ("+(Le?"down":"up")+"): "+oe),Ne.messages.keyEvent(this._sock,oe,Le?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(oe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Ae]&&this._clipboardServerCapabilitiesActions[Y])this._clipboardText=oe,Ne.messages.extendedClipboardNotify(this._sock,[Ae]);else{for(var de=new Uint8Array(oe.length),Le=0;Le<oe.length;Le++)de[Le]=oe.charCodeAt(Le);Ne.messages.clientCutText(this._sock,de)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(oe){oe.name==="SyntaxError"?this._fail("Invalid host or port ("+oe+")"):this._fail("Error when opening socket ("+oe+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),f.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){f.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(oe){if(!(oe.name==="NotFoundError"))throw oe}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(oe){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(oe){this._fbName=oe,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(oe){var de=this;window.requestAnimationFrame(function(){de._updateClip(),de._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var oe=this._display.clipViewport,de=this._clipViewport;if(this._scaleViewport&&(de=!1),oe!==de&&(this._display.clipViewport=de),de){var Le=this._screenSize();this._display.viewportChangeSize(Le.w,Le.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var oe=this._screenSize();this._display.autoscale(oe.w,oe.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var oe=this._screenSize();Ne.messages.setDesktopSize(this._sock,Math.floor(oe.w),Math.floor(oe.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+oe.w+"x"+oe.h)}},{key:"_screenSize",value:function(){var oe=this._screen.getBoundingClientRect();return{w:oe.width,h:oe.height}}},{key:"_fixScrollbars",value:function(){var oe=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=oe}},{key:"_updateConnectionState",value:function(oe){var de=this,Le=this._rfbConnectionState;if(oe===Le){f.Debug("Already in state '"+oe+"', ignoring");return}if(Le==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(oe){case"connected":if(Le!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+Le);return}break;case"disconnected":if(Le!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+Le);return}break;case"connecting":if(Le!==""){f.Error("Bad transition to connecting state, previous connection state: "+Le);return}break;case"disconnecting":if(Le!=="connected"&&Le!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+Le);return}break;default:f.Error("Unknown connection state: "+oe);return}this._rfbConnectionState=oe,f.Debug("New state '"+oe+"', was '"+Le+"'."),this._disconnTimer&&oe!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(oe){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){f.Error("Disconnection timed out."),de._updateConnectionState("disconnected")},V*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(oe){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+oe);break;case"connected":f.Error("Failed while connected: "+oe);break;case"connecting":f.Error("Failed when connecting: "+oe);break;default:f.Error("RFB failure: "+oe);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(oe,de){this._capabilities[oe]=de,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){f.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":f.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(oe,de,Le){this.sendKey(oe,de,Le)}},{key:"_handleMouse",value:function(oe){if(oe.type==="click"&&oe.target!==this._canvas)return;if(oe.stopPropagation(),oe.preventDefault(),oe.type==="click"||oe.type==="contextmenu")return;var de=(0,v.clientToElement)(oe.clientX,oe.clientY,this._canvas);switch(oe.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(de.x,de.y,!0,1<<oe.button);break;case"mouseup":this._handleMouseButton(de.x,de.y,!1,1<<oe.button);break;case"mousemove":this._handleMouseMove(de.x,de.y);break}}},{key:"_handleMouseButton",value:function(oe,de,Le,Ge){if(this.dragViewport)if(Le&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:oe,y:de},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(oe,de,Ge)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(oe,de,this._mouseButtonMask)),Le?this._mouseButtonMask|=Ge:this._mouseButtonMask&=~Ge,this._sendMouse(oe,de,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(oe,de){var Le=this;if(this._viewportDragging){var Ge=this._viewportDragPos.x-oe,ht=this._viewportDragPos.y-de;(this._viewportHasMoved||Math.abs(Ge)>m.dragThreshold||Math.abs(ht)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:oe,y:de},this._display.viewportChangePos(Ge,ht));return}if(this._mousePos={x:oe,y:de},this._mouseMoveTimer==null){var Et=Date.now()-this._mouseLastMoveTime;Et>W?(this._sendMouse(oe,de,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Le._handleDelayedMouseMove()},W-Et)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(oe,de,Le){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ne.messages.pointerEvent(this._sock,this._display.absX(oe),this._display.absY(de),Le)}},{key:"_handleWheel",value:function(oe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;oe.stopPropagation(),oe.preventDefault();var de=(0,v.clientToElement)(oe.clientX,oe.clientY,this._canvas),Le=oe.deltaX,Ge=oe.deltaY;oe.deltaMode!==0&&(Le*=$,Ge*=$),this._accumulatedWheelDeltaX+=Le,this._accumulatedWheelDeltaY+=Ge,Math.abs(this._accumulatedWheelDeltaX)>=G&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(de.x,de.y,!0,1<<5),this._handleMouseButton(de.x,de.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(de.x,de.y,!0,1<<6),this._handleMouseButton(de.x,de.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=G&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(de.x,de.y,!0,1<<3),this._handleMouseButton(de.x,de.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(de.x,de.y,!0,1<<4),this._handleMouseButton(de.x,de.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(oe,de,Le){this._handleMouseMove(de,Le),this._cursor.move(oe.detail.clientX,oe.detail.clientY)}},{key:"_handleTapEvent",value:function(oe,de){var Le=(0,v.clientToElement)(oe.detail.clientX,oe.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<Se&&this._gestureFirstDoubleTapEv.detail.type===oe.detail.type){var Ge=this._gestureFirstDoubleTapEv.detail.clientX-oe.detail.clientX,ht=this._gestureFirstDoubleTapEv.detail.clientY-oe.detail.clientY,Et=Math.hypot(Ge,ht);Et<Ce?Le=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=oe}else this._gestureFirstDoubleTapEv=oe;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,de),this._handleMouseButton(Le.x,Le.y,!1,de)}},{key:"_handleGesture",value:function(oe){var de,Le=(0,v.clientToElement)(oe.detail.clientX,oe.detail.clientY,this._canvas);switch(oe.type){case"gesturestart":switch(oe.detail.type){case"onetap":this._handleTapEvent(oe,1);break;case"twotap":this._handleTapEvent(oe,4);break;case"threetap":this._handleTapEvent(oe,2);break;case"drag":this._fakeMouseMove(oe,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,1);break;case"longpress":this._fakeMouseMove(oe,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=oe.detail.magnitudeX,this._gestureLastMagnitudeY=oe.detail.magnitudeY,this._fakeMouseMove(oe,Le.x,Le.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(oe.detail.magnitudeX,oe.detail.magnitudeY),this._fakeMouseMove(oe,Le.x,Le.y);break}break;case"gesturemove":switch(oe.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(oe,Le.x,Le.y);break;case"twodrag":for(this._fakeMouseMove(oe,Le.x,Le.y);oe.detail.magnitudeY-this._gestureLastMagnitudeY>q;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeY+=q;for(;oe.detail.magnitudeY-this._gestureLastMagnitudeY<-q;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeY-=q;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX>q;)this._handleMouseButton(Le.x,Le.y,!0,32),this._handleMouseButton(Le.x,Le.y,!1,32),this._gestureLastMagnitudeX+=q;for(;oe.detail.magnitudeX-this._gestureLastMagnitudeX<-q;)this._handleMouseButton(Le.x,Le.y,!0,64),this._handleMouseButton(Le.x,Le.y,!1,64),this._gestureLastMagnitudeX-=q;break;case"pinch":if(this._fakeMouseMove(oe,Le.x,Le.y),de=Math.hypot(oe.detail.magnitudeX,oe.detail.magnitudeY),Math.abs(de-this._gestureLastMagnitudeX)>ge){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);de-this._gestureLastMagnitudeX>ge;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeX+=ge;for(;de-this._gestureLastMagnitudeX<-ge;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeX-=ge}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(oe.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(oe,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,1);break;case"longpress":this._fakeMouseMove(oe,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var oe=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+oe);var de=0;switch(oe){case"000.000":de=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+oe)}if(de){for(var Le="ID:"+this._repeaterID;Le.length<250;)Le+="\0";return this._sock.sendString(Le),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Ge="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Ge+`
|
|
|
`),f.Debug("Sent ProtocolVersion: "+Ge),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function oe(Ge,ht){for(var Et=0;Et<ht.length;Et++)if(ht[Et]===Ge)return!0;return!1}if(this._rfbVersion>=3.7){var de=this._sock.rQshift8();if(this._sock.rQwait("security type",de,1))return!1;if(de===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Le=this._sock.rQshiftBytes(de);if(f.Debug("Server security types: "+Le),oe(1,Le))this._rfbAuthScheme=1;else if(oe(22,Le))this._rfbAuthScheme=22;else if(oe(16,Le))this._rfbAuthScheme=16;else if(oe(2,Le))this._rfbAuthScheme=2;else if(oe(19,Le))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Le+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",f.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var oe=this._sock.rQshift32(),de="";if(oe>0){if(this._sock.rQwait("reason",oe,4))return!1;de=this._sock.rQshiftStr(oe)}return de!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:de}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+de+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var oe=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(oe),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var oe=this._sock.rQshift8(),de=this._sock.rQshift8();if(!(oe==0&&de==2))return this._fail("Unsupported VeNCrypt version "+oe+"."+de);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Le=this._sock.rQshift8();if(Le!=0)return this._fail("VeNCrypt failure "+Le);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Ge=this._sock.rQshift8();if(Ge<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Ge,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var ht=[],Et=0;Et<this._rfbVeNCryptSubtypesLength;Et++)ht.push(this._sock.rQshift32());if(ht.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Be=(0,y.encodeUTF8)(this._rfbCredentials.username),Dt=(0,y.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Be.length]),this._sock.send([0,0,0,Dt.length]),this._sock.sendString(Be),this._sock.sendString(Dt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var oe=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),de=Ne.genDES(this._rfbCredentials.password,oe);return this._sock.send(de),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(oe){for(var de={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Le={},Ge=0;Ge<oe;Ge++){var ht=this._sock.rQshift32(),Et=this._sock.rQshiftStr(4),Be=this._sock.rQshiftStr(8);Le[ht]={vendor:Et,signature:Be}}return f.Debug("Server Tight tunnel types: "+Le),Le[1]&&Le[1].vendor==="SICR"&&Le[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Le[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Le[0]?Le[0].vendor!=de[0].vendor||Le[0].signature!=de[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+de[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var oe=this._sock.rQshift32();if(oe>0&&this._sock.rQwait("tunnel capabilities",16*oe,4))return!1;if(this._rfbTightVNC=!0,oe>0)return this._negotiateTightTunnels(oe),!1}if(this._sock.rQwait("sub auth count",4))return!1;var de=this._sock.rQshift32();if(de===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*de,4))return!1;for(var Le={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Ge=[],ht=0;ht<de;ht++){this._sock.rQshift32();var Et=this._sock.rQshiftStr(12);Ge.push(Et)}f.Debug("Server Tight authentication types: "+Ge);for(var Be in Le)if(Ge.indexOf(Be)!=-1){this._sock.send([0,0,0,Le[Be]]),f.Debug("Selected authentication type: "+Be);switch(Be){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Be+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var oe=this._sock.rQshift32();return oe===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=oe,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:oe}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var oe=this._sock.rQshift16(),de=this._sock.rQshift16(),Le=this._sock.rQshift8(),Ge=this._sock.rQshift8(),ht=this._sock.rQshift8(),Et=this._sock.rQshift8(),Be=this._sock.rQshift16(),Dt=this._sock.rQshift16(),Ke=this._sock.rQshift16(),At=this._sock.rQshift8(),Xe=this._sock.rQshift8(),et=this._sock.rQshift8();this._sock.rQskipBytes(3);var tt=this._sock.rQshift32();if(this._sock.rQwait("server init name",tt,24))return!1;var ot=this._sock.rQshiftStr(tt);if(ot=(0,y.decodeUTF8)(ot,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+tt))return!1;var Ve=this._sock.rQshift16(),se=this._sock.rQshift16(),re=this._sock.rQshift16();this._sock.rQskipBytes(2);var it=(Ve+se+re)*16;if(this._sock.rQwait("TightVNC extended server init header",it,32+tt))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*se),this._sock.rQskipBytes(16*re)}return f.Info("Screen: "+oe+"x"+de+", bpp: "+Le+", depth: "+Ge+", bigEndian: "+ht+", trueColor: "+Et+", redMax: "+Be+", greenMax: "+Dt+", blueMax: "+Ke+", redShift: "+At+", greenShift: "+Xe+", blueShift: "+et),this._setDesktopName(ot),this._resize(oe,de),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(f.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Ne.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ne.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var oe=[];oe.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(oe.push(p.encodings.encodingTight),oe.push(p.encodings.encodingTightPNG),oe.push(p.encodings.encodingHextile),oe.push(p.encodings.encodingRRE)),oe.push(p.encodings.encodingRaw),oe.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),oe.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),oe.push(p.encodings.pseudoEncodingDesktopSize),oe.push(p.encodings.pseudoEncodingLastRect),oe.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),oe.push(p.encodings.pseudoEncodingExtendedDesktopSize),oe.push(p.encodings.pseudoEncodingXvp),oe.push(p.encodings.pseudoEncodingFence),oe.push(p.encodings.pseudoEncodingContinuousUpdates),oe.push(p.encodings.pseudoEncodingDesktopName),oe.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(oe.push(p.encodings.pseudoEncodingVMwareCursor),oe.push(p.encodings.pseudoEncodingCursor)),Ne.messages.clientEncodings(this._sock,oe)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return f.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(f.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32();if(oe=(0,g.toSigned32bit)(oe),this._sock.rQwait("ServerCutText content",Math.abs(oe),8))return!1;if(oe>=0){var de=this._sock.rQshiftStr(oe);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:de}}))}else{oe=Math.abs(oe);var Le=this._sock.rQshift32(),Ge=Le&65535,ht=Le&4278190080,Et=!!(ht&Oe);if(Et){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Be=0;Be<=15;Be++){var Dt=1<<Be;Ge&Dt&&(this._clipboardServerCapabilitiesFormats[Dt]=!0,this._sock.rQshift32())}for(var Ke=24;Ke<=31;Ke++){var At=1<<Ke;this._clipboardServerCapabilitiesActions[At]=!!(ht&At)}var Xe=[Oe,lt,ce,Y,K];Ne.messages.extendedClipboardCaps(this._sock,Xe,{extendedClipboardFormatText:0})}else if(ht===lt){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[K]&&(Ge&Ae&&Ne.messages.extendedClipboardProvide(this._sock,[Ae],[this._clipboardText]))}else if(ht===ce){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Y]&&(this._clipboardText!=null?Ne.messages.extendedClipboardNotify(this._sock,[Ae]):Ne.messages.extendedClipboardNotify(this._sock,[]))}else if(ht===Y){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[lt]&&(Ge&Ae&&Ne.messages.extendedClipboardRequest(this._sock,[Ae]))}else if(ht===K){if(this._viewOnly)return!0;if(!(Ge&Ae))return!0;this._clipboardText=null;var et=this._sock.rQshiftBytes(oe-4),tt=new i.default,ot=null;tt.setInput(et);for(var Ve=0;Ve<=15;Ve++){var se=1<<Ve;if(Ge&se){var re=0,it=tt.inflate(4);re|=it[0]<<24,re|=it[1]<<16,re|=it[2]<<8,re|=it[3];var qe=tt.inflate(re);se===Ae&&(ot=qe)}}if(tt.setInput(null),ot!==null){for(var be="",Zt=0;Zt<ot.length;Zt++)be+=String.fromCharCode(ot[Zt]);ot=be,ot=(0,y.decodeUTF8)(ot),ot.length>0&&ot.charAt(ot.length-1)==="\0"&&(ot=ot.slice(0,-1)),ot=ot.replace(`\r
|
|
|
`,`
|
|
|
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ot}}))}}else return this._fail("Unexpected action in extended clipboard message: "+ht)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var oe=this._sock.rQshift32(),de=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",de,9))return!1;de>64&&(f.Warn("Bad payload length ("+de+") in fence response"),de=64);var Le=this._sock.rQshiftStr(de);return this._supportsFence=!0,oe&1<<31?(oe&=1<<0|1<<1,Ne.messages.clientFence(this._sock,oe,Le),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var oe=this._sock.rQshift8(),de=this._sock.rQshift8();switch(de){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=oe,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+de+")");break}return!0}},{key:"_normalMsg",value:function(){var oe;this._FBU.rects>0?oe=0:oe=this._sock.rQshift8();var de,Le;switch(oe){case 0:return Le=this._framebufferUpdate(),Le&&!this._enabledContinuousUpdates&&Ne.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Le;case 1:return this._handleSetColourMapMsg();case 2:return f.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return de=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,de&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),f.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+oe+")"),f.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var oe=this._sock.rQshiftBytes(12);this._FBU.x=(oe[0]<<8)+oe[1],this._FBU.y=(oe[2]<<8)+oe[3],this._FBU.width=(oe[4]<<8)+oe[5],this._FBU.height=(oe[6]<<8)+oe[7],this._FBU.encoding=parseInt((oe[8]<<24)+(oe[9]<<16)+(oe[10]<<8)+oe[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var oe=document.createEvent("keyboardEvent");oe.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(de){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var oe=this._FBU.x,de=this._FBU.y,Le=this._FBU.width,Ge=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var ht=this._sock.rQshift8();this._sock.rQshift8();var Et,Be=4;if(ht==0){var Dt=4294967040|0;if(Et=new Array(Le*Ge*Be),this._sock.rQwait("VMware cursor classic encoding",Le*Ge*Be*2,2))return!1;for(var Ke=new Array(Le*Ge),At=0;At<Le*Ge;At++)Ke[At]=this._sock.rQshift32();for(var Xe=new Array(Le*Ge),et=0;et<Le*Ge;et++)Xe[et]=this._sock.rQshift32();for(var tt=0;tt<Le*Ge;tt++)if(Ke[tt]==0){var ot=Xe[tt],Ve=ot>>8&255,se=ot>>16&255,re=ot>>24&255;Et[tt*Be]=Ve,Et[tt*Be+1]=se,Et[tt*Be+2]=re,Et[tt*Be+3]=255}else(Ke[tt]&Dt)==Dt?Xe[tt]==0?(Et[tt*Be]=0,Et[tt*Be+1]=0,Et[tt*Be+2]=0,Et[tt*Be+3]=0):((Xe[tt]&Dt)==Dt,Et[tt*Be]=0,Et[tt*Be+1]=0,Et[tt*Be+2]=0,Et[tt*Be+3]=255):(Et[tt*Be]=0,Et[tt*Be+1]=0,Et[tt*Be+2]=0,Et[tt*Be+3]=255)}else if(ht==1){if(this._sock.rQwait("VMware cursor alpha encoding",Le*Ge*4,2))return!1;Et=new Array(Le*Ge*Be);for(var it=0;it<Le*Ge;it++){var qe=this._sock.rQshift32();Et[it*4]=qe>>24&255,Et[it*4+1]=qe>>16&255,Et[it*4+2]=qe>>8&255,Et[it*4+3]=qe&255}}else return f.Warn("The given cursor type is not supported: "+ht+" given."),!1;return this._updateCursor(Et,oe,de,Le,Ge),!0}},{key:"_handleCursor",value:function(){var oe=this._FBU.x,de=this._FBU.y,Le=this._FBU.width,Ge=this._FBU.height,ht=Le*Ge*4,Et=Math.ceil(Le/8)*Ge,Be=ht+Et;if(this._sock.rQwait("cursor encoding",Be))return!1;for(var Dt=this._sock.rQshiftBytes(ht),Ke=this._sock.rQshiftBytes(Et),At=new Uint8Array(Le*Ge*4),Xe=0,et=0;et<Ge;et++)for(var tt=0;tt<Le;tt++){var ot=et*Math.ceil(Le/8)+Math.floor(tt/8),Ve=Ke[ot]<<tt%8&128?255:0;At[Xe]=Dt[Xe+2],At[Xe+1]=Dt[Xe+1],At[Xe+2]=Dt[Xe],At[Xe+3]=Ve,Xe+=4}return this._updateCursor(At,oe,de,Le,Ge),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var oe=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",oe,4))return!1;var de=this._sock.rQshiftStr(oe);return de=(0,y.decodeUTF8)(de,!0),this._setDesktopName(de),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var oe=this._sock.rQpeek8(),de=4+oe*16;if(this._sock.rQwait("ExtendedDesktopSize",de))return!1;var Le=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Le&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Ge=0;Ge<oe;Ge+=1)Ge===0?(this._screenID=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(this._FBU.x===1&&this._FBU.y!==0){var ht="";switch(this._FBU.y){case 1:ht="Resize is administratively prohibited";break;case 2:ht="Out of resources";break;case 3:ht="Invalid screen layout";break;default:ht="Unknown reason";break}f.Warn("Server did not accept the resize request: "+ht)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var oe=this._decoders[this._FBU.encoding];if(!oe)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return oe.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(de){return this._fail("Error decoding rect: "+de),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Ne.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(oe,de){this._fbWidth=oe,this._fbHeight=de,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(oe,de){if(this._rfbXvpVer<oe)return;f.Info("Sending XVP operation "+de+" (version "+oe+")"),Ne.messages.xvpOp(this._sock,oe,de)}},{key:"_updateCursor",value:function(oe,de,Le,Ge,ht){this._cursorImage={rgbaPixels:oe,hotx:de,hoty:Le,w:Ge,h:ht},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var oe=3;oe<this._cursorImage.rgbaPixels.length;oe+=4)if(this._cursorImage.rgbaPixels[oe])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var oe=this._shouldShowDotCursor()?Ne.cursors.dot:this._cursorImage;this._cursor.change(oe.rgbaPixels,oe.hotx,oe.hoty,oe.w,oe.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(oe){this._viewOnly=oe,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(oe?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(oe){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(oe){this._clipViewport=oe,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(oe){this._scaleViewport=oe,oe&&this._clipViewport&&this._updateClip(),this._updateScale(),!oe&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(oe){this._resizeSession=oe,oe&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(oe){this._showDotCursor=oe,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(oe){this._screen.style.background=oe}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(oe){if(!Number.isInteger(oe)||oe<0||oe>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===oe)return;this._qualityLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(oe){if(!Number.isInteger(oe)||oe<0||oe>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===oe)return;this._compressionLevel=oe,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(oe,de){var Le=oe.split("").map(function(Ge){return Ge.charCodeAt(0)});return new t.default(Le).encrypt(de)}}]),Ne}(c.default);_.default=Q,Q.messages={keyEvent:function(ue,Ne,Te){var oe=ue._sQ,de=ue._sQlen;oe[de]=4,oe[de+1]=Te,oe[de+2]=0,oe[de+3]=0,oe[de+4]=Ne>>24,oe[de+5]=Ne>>16,oe[de+6]=Ne>>8,oe[de+7]=Ne,ue._sQlen+=8,ue.flush()},QEMUExtendedKeyEvent:function(ue,Ne,Te,oe){function de(Et){var Be=oe>>8,Dt=oe&255;return Be===224&&Dt<127?Dt|128:Et}var Le=ue._sQ,Ge=ue._sQlen;Le[Ge]=255,Le[Ge+1]=0,Le[Ge+2]=Te>>8,Le[Ge+3]=Te,Le[Ge+4]=Ne>>24,Le[Ge+5]=Ne>>16,Le[Ge+6]=Ne>>8,Le[Ge+7]=Ne;var ht=de(oe);Le[Ge+8]=ht>>24,Le[Ge+9]=ht>>16,Le[Ge+10]=ht>>8,Le[Ge+11]=ht,ue._sQlen+=12,ue.flush()},pointerEvent:function(ue,Ne,Te,oe){var de=ue._sQ,Le=ue._sQlen;de[Le]=5,de[Le+1]=oe,de[Le+2]=Ne>>8,de[Le+3]=Ne,de[Le+4]=Te>>8,de[Le+5]=Te,ue._sQlen+=6,ue.flush()},_buildExtendedClipboardFlags:function(ue,Ne){for(var Te=new Uint8Array(4),oe=0,de=0,Le=0;Le<ue.length;Le++)de|=ue[Le];for(var Ge=0;Ge<Ne.length;Ge++)oe|=Ne[Ge];return Te[0]=de>>24,Te[1]=0,Te[2]=0,Te[3]=oe,Te},extendedClipboardProvide:function(ue,Ne,Te){for(var oe=new r.default,de=[],Le=0;Le<Ne.length;Le++){if(Ne[Le]!=Ae)throw new Error("Unsupported extended clipboard format for Provide message.");Te[Le]=Te[Le].replace(/\r\n|\r|\n/gm,`\r
|
|
|
`);var Ge=(0,y.encodeUTF8)(Te[Le]+"\0");de.push(Ge.length>>24&255,Ge.length>>16&255,Ge.length>>8&255,Ge.length&255);for(var ht=0;ht<Ge.length;ht++)de.push(Ge.charCodeAt(ht))}var Et=oe.deflate(new Uint8Array(de)),Be=new Uint8Array(4+Et.length);Be.set(Q.messages._buildExtendedClipboardFlags([K],Ne)),Be.set(Et,4),Q.messages.clientCutText(ue,Be,!0)},extendedClipboardNotify:function(ue,Ne){var Te=Q.messages._buildExtendedClipboardFlags([Y],Ne);Q.messages.clientCutText(ue,Te,!0)},extendedClipboardRequest:function(ue,Ne){var Te=Q.messages._buildExtendedClipboardFlags([lt],Ne);Q.messages.clientCutText(ue,Te,!0)},extendedClipboardCaps:function(ue,Ne,Te){var oe=Object.keys(Te),de=new Uint8Array(4+4*oe.length);oe.map(function(ht){return parseInt(ht)}),oe.sort(function(ht,Et){return ht-Et}),de.set(Q.messages._buildExtendedClipboardFlags(Ne,[]));for(var Le=4,Ge=0;Ge<oe.length;Ge++)de[Le]=Te[oe[Ge]]>>24,de[Le+1]=Te[oe[Ge]]>>16,de[Le+2]=Te[oe[Ge]]>>8,de[Le+3]=Te[oe[Ge]]>>0,Le+=4,de[3]|=1<<oe[Ge];Q.messages.clientCutText(ue,de,!0)},clientCutText:function(ue,Ne){var Te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,oe=ue._sQ,de=ue._sQlen;oe[de]=6,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0;var Le;Te?Le=(0,g.toUnsigned32bit)(-Ne.length):Le=Ne.length,oe[de+4]=Le>>24,oe[de+5]=Le>>16,oe[de+6]=Le>>8,oe[de+7]=Le,ue._sQlen+=8;for(var Ge=0,ht=Ne.length;ht>0;){for(var Et=Math.min(ht,ue._sQbufferSize-ue._sQlen),Be=0;Be<Et;Be++)oe[ue._sQlen+Be]=Ne[Ge+Be];ue._sQlen+=Et,ue.flush(),ht-=Et,Ge+=Et}},setDesktopSize:function(ue,Ne,Te,oe,de){var Le=ue._sQ,Ge=ue._sQlen;Le[Ge]=251,Le[Ge+1]=0,Le[Ge+2]=Ne>>8,Le[Ge+3]=Ne,Le[Ge+4]=Te>>8,Le[Ge+5]=Te,Le[Ge+6]=1,Le[Ge+7]=0,Le[Ge+8]=oe>>24,Le[Ge+9]=oe>>16,Le[Ge+10]=oe>>8,Le[Ge+11]=oe,Le[Ge+12]=0,Le[Ge+13]=0,Le[Ge+14]=0,Le[Ge+15]=0,Le[Ge+16]=Ne>>8,Le[Ge+17]=Ne,Le[Ge+18]=Te>>8,Le[Ge+19]=Te,Le[Ge+20]=de>>24,Le[Ge+21]=de>>16,Le[Ge+22]=de>>8,Le[Ge+23]=de,ue._sQlen+=24,ue.flush()},clientFence:function(ue,Ne,Te){var oe=ue._sQ,de=ue._sQlen;oe[de]=248,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0,oe[de+4]=Ne>>24,oe[de+5]=Ne>>16,oe[de+6]=Ne>>8,oe[de+7]=Ne;var Le=Te.length;oe[de+8]=Le;for(var Ge=0;Ge<Le;Ge++)oe[de+9+Ge]=Te.charCodeAt(Ge);ue._sQlen+=9+Le,ue.flush()},enableContinuousUpdates:function(ue,Ne,Te,oe,de,Le){var Ge=ue._sQ,ht=ue._sQlen;Ge[ht]=150,Ge[ht+1]=Ne,Ge[ht+2]=Te>>8,Ge[ht+3]=Te,Ge[ht+4]=oe>>8,Ge[ht+5]=oe,Ge[ht+6]=de>>8,Ge[ht+7]=de,Ge[ht+8]=Le>>8,Ge[ht+9]=Le,ue._sQlen+=10,ue.flush()},pixelFormat:function(ue,Ne,Te){var oe=ue._sQ,de=ue._sQlen,Le;Ne>16?Le=32:Ne>8?Le=16:Le=8;var Ge=Math.floor(Ne/3);oe[de]=0,oe[de+1]=0,oe[de+2]=0,oe[de+3]=0,oe[de+4]=Le,oe[de+5]=Ne,oe[de+6]=0,oe[de+7]=Te?1:0,oe[de+8]=0,oe[de+9]=(1<<Ge)-1,oe[de+10]=0,oe[de+11]=(1<<Ge)-1,oe[de+12]=0,oe[de+13]=(1<<Ge)-1,oe[de+14]=Ge*2,oe[de+15]=Ge*1,oe[de+16]=Ge*0,oe[de+17]=0,oe[de+18]=0,oe[de+19]=0,ue._sQlen+=20,ue.flush()},clientEncodings:function(ue,Ne){var Te=ue._sQ,oe=ue._sQlen;Te[oe]=2,Te[oe+1]=0,Te[oe+2]=Ne.length>>8,Te[oe+3]=Ne.length;for(var de=oe+4,Le=0;Le<Ne.length;Le++){var Ge=Ne[Le];Te[de]=Ge>>24,Te[de+1]=Ge>>16,Te[de+2]=Ge>>8,Te[de+3]=Ge,de+=4}ue._sQlen+=de-oe,ue.flush()},fbUpdateRequest:function(ue,Ne,Te,oe,de,Le){var Ge=ue._sQ,ht=ue._sQlen;typeof Te=="undefined"&&(Te=0),typeof oe=="undefined"&&(oe=0),Ge[ht]=3,Ge[ht+1]=Ne?1:0,Ge[ht+2]=Te>>8&255,Ge[ht+3]=Te&255,Ge[ht+4]=oe>>8&255,Ge[ht+5]=oe&255,Ge[ht+6]=de>>8&255,Ge[ht+7]=de&255,Ge[ht+8]=Le>>8&255,Ge[ht+9]=Le&255,ue._sQlen+=10,ue.flush()},xvpOp:function(ue,Ne,Te){var oe=ue._sQ,de=ue._sQlen;oe[de]=250,oe[de+1]=0,oe[de+2]=Ne,oe[de+3]=Te,ue._sQlen+=4,ue.flush()}},Q.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},y={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};g.defineMode("xml",function(m,v){var h=m.indentUnit,c={},a=v.htmlMode?f:y;for(var i in a)c[i]=a[i];for(var i in v)c[i]=v[i];var r,o;function d(N,F){function k(z){return F.tokenize=z,z(N,F)}var P=N.next();if(P=="<")return N.eat("!")?N.eat("[")?N.match("CDATA[")?k(t("atom","]]>")):null:N.match("--")?k(t("comment","-->")):N.match("DOCTYPE",!0,!0)?(N.eatWhile(/[\w\._\-]/),k(s(1))):null:N.eat("?")?(N.eatWhile(/[\w\._\-]/),F.tokenize=t("meta","?>"),"meta"):(r=N.eat("/")?"closeTag":"openTag",F.tokenize=n,"tag bracket");if(P=="&"){var B;return N.eat("#")?N.eat("x")?B=N.eatWhile(/[a-fA-F\d]/)&&N.eat(";"):B=N.eatWhile(/[\d]/)&&N.eat(";"):B=N.eatWhile(/[\w\.\-:]/)&&N.eat(";"),B?"atom":"error"}else return N.eatWhile(/[^&<]/),null}d.isInText=!0;function n(N,F){var k=N.next();if(k==">"||k=="/"&&N.eat(">"))return F.tokenize=d,r=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return r="equals",null;if(k=="<"){F.tokenize=d,F.state=b,F.tagName=F.tagStart=null;var P=F.tokenize(N,F);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(k)?(F.tokenize=l(k),F.stringStartCol=N.column(),F.tokenize(N,F)):(N.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(N){var F=function(P,B){for(;!P.eol();)if(P.next()==N){B.tokenize=n;break}return"string"};return F.isInAttribute=!0,F}function t(N,F){return function(k,P){for(;!k.eol();){if(k.match(F)){P.tokenize=d;break}k.next()}return N}}function s(N){return function(F,k){for(var P;(P=F.next())!=null;){if(P=="<")return k.tokenize=s(N+1),k.tokenize(F,k);if(P==">")if(N==1){k.tokenize=d;break}else return k.tokenize=s(N-1),k.tokenize(F,k)}return"meta"}}function u(N,F,k){this.prev=N.context,this.tagName=F,this.indent=N.indented,this.startOfLine=k,(c.doNotIndent.hasOwnProperty(F)||N.context&&N.context.noIndent)&&(this.noIndent=!0)}function p(N){N.context&&(N.context=N.context.prev)}function w(N,F){for(var k;;){if(!N.context)return;if(k=N.context.tagName,!c.contextGrabbers.hasOwnProperty(k)||!c.contextGrabbers[k].hasOwnProperty(F))return;p(N)}}function b(N,F,k){return N=="openTag"?(k.tagStart=F.column(),E):N=="closeTag"?A:b}function E(N,F,k){return N=="word"?(k.tagName=F.current(),o="tag",L):c.allowMissingTagName&&N=="endTag"?(o="tag bracket",L(N,F,k)):(o="error",E)}function A(N,F,k){if(N=="word"){var P=F.current();return k.context&&k.context.tagName!=P&&c.implicitlyClosed.hasOwnProperty(k.context.tagName)&&p(k),k.context&&k.context.tagName==P||c.matchClosing===!1?(o="tag",S):(o="tag error",T)}else return c.allowMissingTagName&&N=="endTag"?(o="tag bracket",S(N,F,k)):(o="error",T)}function S(N,F,k){return N!="endTag"?(o="error",S):(p(k),b)}function T(N,F,k){return o="error",S(N,F,k)}function L(N,F,k){if(N=="word")return o="attribute",x;if(N=="endTag"||N=="selfcloseTag"){var P=k.tagName,B=k.tagStart;return k.tagName=k.tagStart=null,N=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(P)?w(k,P):(w(k,P),k.context=new u(k,P,B==k.indented)),b}return o="error",L}function x(N,F,k){return N=="equals"?C:(c.allowMissing||(o="error"),L(N,F,k))}function C(N,F,k){return N=="string"?O:N=="word"&&c.allowUnquoted?(o="string",L):(o="error",L(N,F,k))}function O(N,F,k){return N=="string"?O:L(N,F,k)}return{startState:function(F){var k={tokenize:d,state:b,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(k.baseIndent=F),k},token:function(F,k){if(!k.tagName&&F.sol()&&(k.indented=F.indentation()),F.eatSpace())return null;r=null;var P=k.tokenize(F,k);return(P||r)&&P!="comment"&&(o=null,k.state=k.state(r||P,F,k),o&&(P=o=="error"?P+" error":o)),P},indent:function(F,k,P){var B=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+h;if(B&&B.noIndent)return g.Pass;if(F.tokenize!=n&&F.tokenize!=d)return P?P.match(/^(\s*)/)[0].length:0;if(F.tagName)return c.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+h*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var z=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(z&&z[1])for(;B;)if(B.tagName==z[2]){B=B.prev;break}else if(c.implicitlyClosed.hasOwnProperty(B.tagName))B=B.prev;else break;else if(z)for(;B;){var R=c.contextGrabbers[B.tagName];if(R&&R.hasOwnProperty(z[2]))B=B.prev;else break}for(;B&&B.prev&&!B.startOfLine;)B=B.prev;return B?B.indent+h:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(F){F.state==C&&(F.state=L)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var k=[],P=F.context;P;P=P.prev)P.tagName&&k.push(P.tagName);return k.reverse()}}}),g.defineMIME("text/xml","xml"),g.defineMIME("application/xml","xml"),g.mimeModes.hasOwnProperty("text/html")||g.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(D,_,e){var g=e("e4Nc"),f=e("ftKO"),y=e("3A9y");function m(v){var h=-1,c=v==null?0:v.length;for(this.__data__=new g;++h<c;)this.add(v[h])}m.prototype.add=m.prototype.push=f,m.prototype.has=y,D.exports=m},"1j5w":function(D,_,e){"use strict";e.d(_,"e",function(){return Xe}),e.d(_,"b",function(){return me}),e.d(_,"d",function(){return me}),e.d(_,"c",function(){return Re}),e.d(_,"a",function(){return ze});var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),m=e("JX7q"),v=e("Ji7U"),h=e("LK+K"),c=e("q1tI"),a=function(){var Pe=function(bt,Ot){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,pe){ae.__proto__=pe}||function(ae,pe){for(var J in pe)pe.hasOwnProperty(J)&&(ae[J]=pe[J])},Pe(bt,Ot)};return function(nt,bt){Pe(nt,bt);function Ot(){this.constructor=nt}nt.prototype=bt===null?Object.create(bt):(Ot.prototype=bt.prototype,new Ot)}}(),i=c.createContext(null),r=function(Pe){a(nt,Pe);function nt(){return Pe!==null&&Pe.apply(this,arguments)||this}return nt.prototype.render=function(){return c.createElement(i.Provider,{value:this.props.store},this.props.children)},nt}(c.Component),o=e("Gytx"),d=e.n(o),n=e("2mql"),l=e.n(n),t=function(){var Pe=function(bt,Ot){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,pe){ae.__proto__=pe}||function(ae,pe){for(var J in pe)pe.hasOwnProperty(J)&&(ae[J]=pe[J])},Pe(bt,Ot)};return function(nt,bt){Pe(nt,bt);function Ot(){this.constructor=nt}nt.prototype=bt===null?Object.create(bt):(Ot.prototype=bt.prototype,new Ot)}}(),s=function(){return s=Object.assign||function(Pe){for(var nt,bt=1,Ot=arguments.length;bt<Ot;bt++){nt=arguments[bt];for(var ae in nt)Object.prototype.hasOwnProperty.call(nt,ae)&&(Pe[ae]=nt[ae])}return Pe},s.apply(this,arguments)};function u(Pe){return Pe.displayName||Pe.name||"Component"}var p=function(){return{}};function w(Pe,nt){nt===void 0&&(nt={});var bt=!!Pe,Ot=Pe||p;return function(pe){var J=function(xe){t(De,xe);function De(Fe,$e){var vt=xe.call(this,Fe,$e)||this;return vt.unsubscribe=null,vt.handleChange=function(){if(!vt.unsubscribe)return;var Wt=Ot(vt.store.getState(),vt.props);vt.setState({subscribed:Wt})},vt.store=vt.context,vt.state={subscribed:Ot(vt.store.getState(),Fe),store:vt.store,props:Fe},vt}return De.getDerivedStateFromProps=function(Fe,$e){return Pe&&Pe.length===2&&Fe!==$e.props?{subscribed:Ot($e.store.getState(),Fe),props:Fe}:{props:Fe}},De.prototype.componentDidMount=function(){this.trySubscribe()},De.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},De.prototype.shouldComponentUpdate=function(Fe,$e){return!d()(this.props,Fe)||!d()(this.state.subscribed,$e.subscribed)},De.prototype.trySubscribe=function(){bt&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},De.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},De.prototype.render=function(){var Fe=s(s(s({},this.props),this.state.subscribed),{store:this.store});return c.createElement(pe,s({},Fe,{ref:this.props.miniStoreForwardedRef}))},De.displayName="Connect("+u(pe)+")",De.contextType=i,De}(c.Component);if(nt.forwardRef){var ne=c.forwardRef(function(xe,De){return c.createElement(J,s({},xe,{miniStoreForwardedRef:De}))});return l()(ne,pe)}return l()(J,pe)}}var b=function(){return b=Object.assign||function(Pe){for(var nt,bt=1,Ot=arguments.length;bt<Ot;bt++){nt=arguments[bt];for(var ae in nt)Object.prototype.hasOwnProperty.call(nt,ae)&&(Pe[ae]=nt[ae])}return Pe},b.apply(this,arguments)};function E(Pe){var nt=Pe,bt=[];function Ot(J){nt=b(b({},nt),J);for(var ne=0;ne<bt.length;ne++)bt[ne]()}function ae(){return nt}function pe(J){return bt.push(J),function(){var xe=bt.indexOf(J);bt.splice(xe,1)}}return{setState:Ot,getState:ae,subscribe:pe}}var A=e("BGR+"),S=e("wx14"),T=e("rePB"),L=e("4IlW"),x=e("2GS6"),C=e("TSYQ"),O=e.n(C),N=e("U8pU"),F=e("ODXe"),k=/iPhone/i,P=/iPod/i,B=/iPad/i,z=/\bAndroid(?:.+)Mobile\b/i,R=/Android/i,U=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,V=/\bWindows(?:.+)ARM\b/i,X=/BlackBerry/i,W=/BB10/i,G=/Opera Mini/i,$=/\b(CriOS|Chrome)(?:.+)Mobile/i,ge=/Mobile(?:.+)Firefox\b/i;function q(Pe,nt){return Pe.test(nt)}function Se(Pe){var nt=Pe||(typeof navigator!="undefined"?navigator.userAgent:""),bt=nt.split("[FBAN");if(typeof bt[1]!="undefined"){var Ot=bt,ae=Object(F.a)(Ot,1);nt=ae[0]}if(bt=nt.split("Twitter"),typeof bt[1]!="undefined"){var pe=bt,J=Object(F.a)(pe,1);nt=J[0]}var ne={apple:{phone:q(k,nt)&&!q(H,nt),ipod:q(P,nt),tablet:!q(k,nt)&&q(B,nt)&&!q(H,nt),device:(q(k,nt)||q(P,nt)||q(B,nt))&&!q(H,nt)},amazon:{phone:q(U,nt),tablet:!q(U,nt)&&q(j,nt),device:q(U,nt)||q(j,nt)},android:{phone:!q(H,nt)&&q(U,nt)||!q(H,nt)&&q(z,nt),tablet:!q(H,nt)&&!q(U,nt)&&!q(z,nt)&&(q(j,nt)||q(R,nt)),device:!q(H,nt)&&(q(U,nt)||q(j,nt)||q(z,nt)||q(R,nt))||q(/\bokhttp\b/i,nt)},windows:{phone:q(H,nt),tablet:q(V,nt),device:q(H,nt)||q(V,nt)},other:{blackberry:q(X,nt),blackberry10:q(W,nt),opera:q(G,nt),firefox:q(ge,nt),chrome:q($,nt),device:q(X,nt)||q(W,nt)||q(G,nt)||q(ge,nt)||q($,nt)},any:null,phone:null,tablet:null};return ne.any=ne.apple.device||ne.android.device||ne.windows.device||ne.other.device,ne.phone=ne.apple.phone||ne.android.phone||ne.windows.phone,ne.tablet=ne.apple.tablet||ne.android.tablet||ne.windows.tablet,ne}var Ce=Object(g.a)(Object(g.a)({},Se()),{},{isMobile:Se}),Ae=Ce;function Ue(){}function Qe(Pe,nt,bt){var Ot=nt||"";return Pe.key||"".concat(Ot,"item_").concat(bt)}function gt(Pe){return"".concat(Pe,"-menu-")}function _e(Pe,nt){var bt=-1;c.Children.forEach(Pe,function(Ot){bt+=1,Ot&&Ot.type&&Ot.type.isMenuItemGroup?c.Children.forEach(Ot.props.children,function(ae){bt+=1,nt(ae,bt)}):nt(Ot,bt)})}function Oe(Pe,nt,bt){if(!Pe||bt.find)return;c.Children.forEach(Pe,function(Ot){if(Ot){var ae=Ot.type;if(!ae||!(ae.isSubMenu||ae.isMenuItem||ae.isMenuItemGroup))return;nt.indexOf(Ot.key)!==-1?bt.find=!0:Ot.props.children&&Oe(Ot.props.children,nt,bt)}})}var lt=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],ce=function(nt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=nt&&typeof nt.getBoundingClientRect=="function"&&nt.getBoundingClientRect().width;if(Ot){if(bt){var ae=getComputedStyle(nt),pe=ae.marginLeft,J=ae.marginRight;Ot+=+pe.replace("px","")+ +J.replace("px","")}Ot=+Ot.toFixed(6)}return Ot||0},Y=function(nt,bt,Ot){nt&&Object(N.a)(nt.style)==="object"&&(nt.style[bt]=Ot)},K=function(){return Ae.any},Q=e("KQm4"),ye=e("Ff2n"),ue=e("i8i4"),Ne=e("bdgK"),Te=e("uciX"),oe=e("8XRh"),de={adjustX:1,adjustY:1},Le={topLeft:{points:["bl","tl"],overflow:de,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:de,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:de,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:de,offset:[4,0]}},Ge={topLeft:{points:["bl","tl"],overflow:de,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:de,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:de,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:de,offset:[4,0]}},ht=Le,Et=0,Be={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Dt=function(nt,bt,Ot){var ae=gt(bt),pe=nt.getState();nt.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},pe.defaultActiveFirst),{},Object(T.a)({},ae,Ot))})},Ke=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(Ot){var ae;Object(f.a)(this,bt),ae=nt.call(this,Ot),ae.onDestroy=function(Fe){ae.props.onDestroy(Fe)},ae.onKeyDown=function(Fe){var $e=Fe.keyCode,vt=ae.menuInstance,Wt=ae.props,$t=Wt.isOpen,Rt=Wt.store;if($e===L.a.ENTER)return ae.onTitleClick(Fe),Dt(Rt,ae.props.eventKey,!0),!0;if($e===L.a.RIGHT)return $t?vt.onKeyDown(Fe):(ae.triggerOpenChange(!0),Dt(Rt,ae.props.eventKey,!0)),!0;if($e===L.a.LEFT){var Kt;if($t)Kt=vt.onKeyDown(Fe);else return;return Kt||(ae.triggerOpenChange(!1),Kt=!0),Kt}return $t&&($e===L.a.UP||$e===L.a.DOWN)?vt.onKeyDown(Fe):void 0},ae.onOpenChange=function(Fe){ae.props.onOpenChange(Fe)},ae.onPopupVisibleChange=function(Fe){ae.triggerOpenChange(Fe,Fe?"mouseenter":"mouseleave")},ae.onMouseEnter=function(Fe){var $e=ae.props,vt=$e.eventKey,Wt=$e.onMouseEnter,$t=$e.store;Dt($t,ae.props.eventKey,!1),Wt({key:vt,domEvent:Fe})},ae.onMouseLeave=function(Fe){var $e=ae.props,vt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onMouseLeave;vt.subMenuInstance=Object(m.a)(ae),$t({key:Wt,domEvent:Fe})},ae.onTitleMouseEnter=function(Fe){var $e=ae.props,vt=$e.eventKey,Wt=$e.onItemHover,$t=$e.onTitleMouseEnter;Wt({key:vt,hover:!0}),$t({key:vt,domEvent:Fe})},ae.onTitleMouseLeave=function(Fe){var $e=ae.props,vt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onItemHover,Rt=$e.onTitleMouseLeave;vt.subMenuInstance=Object(m.a)(ae),$t({key:Wt,hover:!1}),Rt({key:Wt,domEvent:Fe})},ae.onTitleClick=function(Fe){var $e=Object(m.a)(ae),vt=$e.props;if(vt.onTitleClick({key:vt.eventKey,domEvent:Fe}),vt.triggerSubMenuAction==="hover")return;ae.triggerOpenChange(!vt.isOpen,"click"),Dt(vt.store,ae.props.eventKey,!1)},ae.onSubMenuClick=function(Fe){typeof ae.props.onClick=="function"&&ae.props.onClick(ae.addKeyPath(Fe))},ae.onSelect=function(Fe){ae.props.onSelect(Fe)},ae.onDeselect=function(Fe){ae.props.onDeselect(Fe)},ae.getPrefixCls=function(){return"".concat(ae.props.rootPrefixCls,"-submenu")},ae.getActiveClassName=function(){return"".concat(ae.getPrefixCls(),"-active")},ae.getDisabledClassName=function(){return"".concat(ae.getPrefixCls(),"-disabled")},ae.getSelectedClassName=function(){return"".concat(ae.getPrefixCls(),"-selected")},ae.getOpenClassName=function(){return"".concat(ae.props.rootPrefixCls,"-submenu-open")},ae.saveMenuInstance=function(Fe){ae.menuInstance=Fe},ae.addKeyPath=function(Fe){return Object(g.a)(Object(g.a)({},Fe),{},{keyPath:(Fe.keyPath||[]).concat(ae.props.eventKey)})},ae.triggerOpenChange=function(Fe,$e){var vt=ae.props.eventKey,Wt=function(){ae.onOpenChange({key:vt,item:Object(m.a)(ae),trigger:$e,open:Fe})};$e==="mouseenter"?ae.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},ae.isChildrenSelected=function(){var Fe={find:!1};return Oe(ae.props.children,ae.props.selectedKeys,Fe),Fe.find},ae.isOpen=function(){return ae.props.openKeys.indexOf(ae.props.eventKey)!==-1},ae.adjustWidth=function(){if(!ae.subMenuTitle||!ae.menuInstance)return;var Fe=ue.findDOMNode(ae.menuInstance);if(Fe.offsetWidth>=ae.subMenuTitle.offsetWidth)return;Fe.style.minWidth="".concat(ae.subMenuTitle.offsetWidth,"px")},ae.saveSubMenuTitle=function(Fe){ae.subMenuTitle=Fe},ae.getBaseProps=function(){var Fe=Object(m.a)(ae),$e=Fe.props;return{mode:$e.mode==="horizontal"?"vertical":$e.mode,visible:ae.props.isOpen,level:$e.level+1,inlineIndent:$e.inlineIndent,focusable:!1,onClick:ae.onSubMenuClick,onSelect:ae.onSelect,onDeselect:ae.onDeselect,onDestroy:ae.onDestroy,selectedKeys:$e.selectedKeys,eventKey:"".concat($e.eventKey,"-menu-"),openKeys:$e.openKeys,motion:$e.motion,onOpenChange:ae.onOpenChange,subMenuOpenDelay:$e.subMenuOpenDelay,parentMenu:Object(m.a)(ae),subMenuCloseDelay:$e.subMenuCloseDelay,forceSubMenuRender:$e.forceSubMenuRender,triggerSubMenuAction:$e.triggerSubMenuAction,builtinPlacements:$e.builtinPlacements,defaultActiveFirst:$e.store.getState().defaultActiveFirst[gt($e.eventKey)],multiple:$e.multiple,prefixCls:$e.rootPrefixCls,id:ae.internalMenuId,manualRef:ae.saveMenuInstance,itemIcon:$e.itemIcon,expandIcon:$e.expandIcon,direction:$e.direction}},ae.getMotion=function(Fe,$e){var vt=Object(m.a)(ae),Wt=vt.haveRendered,$t=ae.props,Rt=$t.motion,Kt=$t.rootPrefixCls,Gt=Object(g.a)(Object(g.a)({},Rt),{},{leavedClassName:"".concat(Kt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!$e||Fe!=="inline"});return Gt};var pe=Ot.store,J=Ot.eventKey,ne=pe.getState(),xe=ne.defaultActiveFirst;ae.isRootMenu=!1;var De=!1;return xe&&(De=xe[J]),Dt(pe,J,De),ae}return Object(y.a)(bt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ae=this,pe=this.props,J=pe.mode,ne=pe.parentMenu,xe=pe.manualRef;if(xe&&xe(this),J!=="horizontal"||!ne.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ae.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ae=this.props,pe=ae.onDestroy,J=ae.eventKey;pe&&pe(J),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ae){var pe=this,J=this.getBaseProps(),ne=this.getMotion(J.mode,J.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||J.visible||J.forceSubMenuRender,!this.haveOpened)return c.createElement("div",null);var xe=J.direction;return c.createElement(oe.default,Object.assign({visible:J.visible},ne),function(De){var Fe=De.className,$e=De.style,vt=O()("".concat(J.prefixCls,"-sub"),Fe,Object(T.a)({},"".concat(J.prefixCls,"-rtl"),xe==="rtl"));return c.createElement(ct,Object.assign({},J,{id:pe.internalMenuId,className:vt,style:$e}),ae)})}},{key:"render",value:function(){var ae,pe=Object(g.a)({},this.props),J=pe.isOpen,ne=this.getPrefixCls(),xe=pe.mode==="inline",De=O()(ne,"".concat(ne,"-").concat(pe.mode),(ae={},Object(T.a)(ae,pe.className,!!pe.className),Object(T.a)(ae,this.getOpenClassName(),J),Object(T.a)(ae,this.getActiveClassName(),pe.active||J&&!xe),Object(T.a)(ae,this.getDisabledClassName(),pe.disabled),Object(T.a)(ae,this.getSelectedClassName(),this.isChildrenSelected()),ae));this.internalMenuId||(pe.eventKey?this.internalMenuId="".concat(pe.eventKey,"$Menu"):(Et+=1,this.internalMenuId="$__$".concat(Et,"$Menu")));var Fe={},$e={},vt={};pe.disabled||(Fe={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},$e={onClick:this.onTitleClick},vt={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=pe.direction;xe&&($t==="rtl"?Wt.paddingRight=pe.inlineIndent*pe.level:Wt.paddingLeft=pe.inlineIndent*pe.level);var Rt={};this.props.isOpen&&(Rt={"aria-owns":this.internalMenuId});var Kt=null;pe.mode!=="horizontal"&&(Kt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Kt=c.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Gt=c.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(ne,"-title"),role:"button"},vt,$e,{"aria-expanded":J},Rt,{"aria-haspopup":"true",title:typeof pe.title=="string"?pe.title:void 0}),pe.title,Kt||c.createElement("i",{className:"".concat(ne,"-arrow")})),Qt=this.renderChildren(pe.children),Mt=pe.parentMenu.isRootMenu?pe.parentMenu.props.getPopupContainer:function(Ft){return Ft.parentNode},dr=Be[pe.mode],er=pe.popupOffset?{offset:pe.popupOffset}:{},st=pe.mode==="inline"?"":pe.popupClassName;st+=$t==="rtl"?" ".concat(ne,"-rtl"):"";var xt=pe.disabled,ut=pe.triggerSubMenuAction,pt=pe.subMenuOpenDelay,It=pe.forceSubMenuRender,Tt=pe.subMenuCloseDelay,ft=pe.builtinPlacements;lt.forEach(function(Ft){return delete pe[Ft]}),delete pe.onClick;var Ht=$t==="rtl"?Object.assign({},Ge,ft):Object.assign({},Le,ft);return delete pe.direction,c.createElement("li",Object.assign({},pe,Fe,{className:De,role:"menuitem"}),xe&&Gt,xe&&Qt,!xe&&c.createElement(Te.a,{prefixCls:ne,popupClassName:O()("".concat(ne,"-popup"),st),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:J,popupAlign:er,popup:Qt,action:xt?[]:[ut],mouseEnterDelay:pt,mouseLeaveDelay:Tt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:It},Gt))}}]),bt}(c.Component);Ke.defaultProps={onMouseEnter:Ue,onMouseLeave:Ue,onTitleMouseEnter:Ue,onTitleMouseLeave:Ue,onTitleClick:Ue,manualRef:Ue,mode:"vertical",title:""};var At=w(function(Pe,nt){var bt=Pe.openKeys,Ot=Pe.activeKey,ae=Pe.selectedKeys,pe=nt.eventKey,J=nt.subMenuKey;return{isOpen:bt.indexOf(pe)>-1,active:Ot[J]===pe,selectedKeys:ae}})(Ke);At.isSubMenu=!0;var Xe=At,et="menuitem-overflowed",tt=.5,ot=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(){var Ot;return Object(f.a)(this,bt),Ot=nt.apply(this,arguments),Ot.resizeObserver=null,Ot.mutationObserver=null,Ot.originalTotalWidth=0,Ot.overflowedItems=[],Ot.menuItemSizes=[],Ot.cancelFrameId=null,Ot.state={lastVisibleIndex:void 0},Ot.getMenuItemNodes=function(){var ae=Ot.props.prefixCls,pe=ue.findDOMNode(Object(m.a)(Ot));return pe?[].slice.call(pe.children).filter(function(J){return J.className.split(" ").indexOf("".concat(ae,"-overflowed-submenu"))<0}):[]},Ot.getOverflowedSubMenuItem=function(ae,pe,J){var ne=Ot.props,xe=ne.overflowedIndicator,De=ne.level,Fe=ne.mode,$e=ne.prefixCls,vt=ne.theme;if(De!==1||Fe!=="horizontal")return null;var Wt=Ot.props.children[0],$t=Wt.props,Rt=$t.children,Kt=$t.title,Gt=$t.style,Qt=Object(ye.a)($t,["children","title","style"]),Mt=Object(g.a)({},Gt),dr="".concat(ae,"-overflowed-indicator"),er="".concat(ae,"-overflowed-indicator");pe.length===0&&J!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):J&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var st=vt?"".concat($e,"-").concat(vt):"",xt={};return lt.forEach(function(ut){Qt[ut]!==void 0&&(xt[ut]=Qt[ut])}),c.createElement(Xe,Object.assign({title:xe,className:"".concat($e,"-overflowed-submenu"),popupClassName:st},xt,{key:dr,eventKey:er,disabled:!1,style:Mt}),pe)},Ot.setChildrenWidthAndResize=function(){if(Ot.props.mode!=="horizontal")return;var ae=ue.findDOMNode(Object(m.a)(Ot));if(!ae)return;var pe=ae.children;if(!pe||pe.length===0)return;var J=ae.children[pe.length-1];Y(J,"display","inline-block");var ne=Ot.getMenuItemNodes(),xe=ne.filter(function(De){return De.className.split(" ").indexOf(et)>=0});xe.forEach(function(De){Y(De,"display","inline-block")}),Ot.menuItemSizes=ne.map(function(De){return ce(De,!0)}),xe.forEach(function(De){Y(De,"display","none")}),Ot.overflowedIndicatorWidth=ce(ae.children[ae.children.length-1],!0),Ot.originalTotalWidth=Ot.menuItemSizes.reduce(function(De,Fe){return De+Fe},0),Ot.handleResize(),Y(J,"display","none")},Ot.handleResize=function(){if(Ot.props.mode!=="horizontal")return;var ae=ue.findDOMNode(Object(m.a)(Ot));if(!ae)return;var pe=ce(ae);Ot.overflowedItems=[];var J=0,ne;Ot.originalTotalWidth>pe+tt&&(ne=-1,Ot.menuItemSizes.forEach(function(xe){J+=xe,J+Ot.overflowedIndicatorWidth<=pe&&(ne+=1)})),Ot.setState({lastVisibleIndex:ne})},Ot}return Object(y.a)(bt,[{key:"componentDidMount",value:function(){var ae=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var pe=ue.findDOMNode(this);if(!pe)return;this.resizeObserver=new Ne.default(function(J){J.forEach(function(){var ne=ae.cancelFrameId;cancelAnimationFrame(ne),ae.cancelFrameId=requestAnimationFrame(ae.setChildrenWidthAndResize)})}),[].slice.call(pe.children).concat(pe).forEach(function(J){ae.resizeObserver.observe(J)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ae.resizeObserver.disconnect(),[].slice.call(pe.children).concat(pe).forEach(function(J){ae.resizeObserver.observe(J)}),ae.setChildrenWidthAndResize()}),this.mutationObserver.observe(pe,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(ae){var pe=this,J=this.state.lastVisibleIndex;return(ae||[]).reduce(function(ne,xe,De){var Fe=xe;if(pe.props.mode==="horizontal"){var $e=pe.getOverflowedSubMenuItem(xe.props.eventKey,[]);J!==void 0&&pe.props.className.indexOf("".concat(pe.props.prefixCls,"-root"))!==-1&&(De>J&&(Fe=c.cloneElement(xe,{style:{display:"none"},eventKey:"".concat(xe.props.eventKey,"-hidden"),className:"".concat(et)})),De===J+1&&(pe.overflowedItems=ae.slice(J+1).map(function(Wt){return c.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),$e=pe.getOverflowedSubMenuItem(xe.props.eventKey,pe.overflowedItems)));var vt=[].concat(Object(Q.a)(ne),[$e,Fe]);return De===ae.length-1&&vt.push(pe.getOverflowedSubMenuItem(xe.props.eventKey,[],!0)),vt}return[].concat(Object(Q.a)(ne),[Fe])},[])}},{key:"render",value:function(){var ae=this.props,pe=ae.visible,J=ae.prefixCls,ne=ae.overflowedIndicator,xe=ae.mode,De=ae.level,Fe=ae.tag,$e=ae.children,vt=ae.theme,Wt=Object(ye.a)(ae,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Fe;return c.createElement($t,Object.assign({},Wt),this.renderChildren($e))}}]),bt}(c.Component);ot.defaultProps={tag:"div",className:""};var Ve=ot;function se(Pe){return Pe.length?Pe.every(function(nt){return!!nt.props.disabled}):!0}function re(Pe,nt,bt){var Ot=Pe.getState();Pe.setState({activeKey:Object(g.a)(Object(g.a)({},Ot.activeKey),{},Object(T.a)({},nt,bt))})}function it(Pe){return Pe.eventKey||"0-menu-"}function qe(Pe,nt){var bt=nt,Ot=Pe.children,ae=Pe.eventKey;if(bt){var pe;if(_e(Ot,function(J,ne){J&&J.props&&!J.props.disabled&&bt===Qe(J,ae,ne)&&(pe=!0)}),pe)return bt}return bt=null,Pe.defaultActiveFirst&&_e(Ot,function(J,ne){!bt&&J&&!J.props.disabled&&(bt=Qe(J,ae,ne))}),bt}function be(Pe){if(Pe){var nt=this.instanceArray.indexOf(Pe);nt!==-1?this.instanceArray[nt]=Pe:this.instanceArray.push(Pe)}}var Zt=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(Ot){var ae;return Object(f.a)(this,bt),ae=nt.call(this,Ot),ae.onKeyDown=function(pe,J){var ne=pe.keyCode,xe;if(ae.getFlatInstanceArray().forEach(function(Fe){Fe&&Fe.props.active&&Fe.onKeyDown&&(xe=Fe.onKeyDown(pe))}),xe)return 1;var De=null;return(ne===L.a.UP||ne===L.a.DOWN)&&(De=ae.step(ne===L.a.UP?-1:1)),De?(pe.preventDefault(),re(ae.props.store,it(ae.props),De.props.eventKey),typeof J=="function"&&J(De),1):void 0},ae.onItemHover=function(pe){var J=pe.key,ne=pe.hover;re(ae.props.store,it(ae.props),ne?J:null)},ae.onDeselect=function(pe){ae.props.onDeselect(pe)},ae.onSelect=function(pe){ae.props.onSelect(pe)},ae.onClick=function(pe){ae.props.onClick(pe)},ae.onOpenChange=function(pe){ae.props.onOpenChange(pe)},ae.onDestroy=function(pe){ae.props.onDestroy(pe)},ae.getFlatInstanceArray=function(){return ae.instanceArray},ae.step=function(pe){var J=ae.getFlatInstanceArray(),ne=ae.props.store.getState().activeKey[it(ae.props)],xe=J.length;if(!xe)return null;pe<0&&(J=J.concat().reverse());var De=-1;if(J.every(function(Wt,$t){return Wt&&Wt.props.eventKey===ne?(De=$t,!1):!0}),!ae.props.defaultActiveFirst&&De!==-1&&se(J.slice(De,xe-1)))return;var Fe=(De+1)%xe,$e=Fe;do{var vt=J[$e];if(!vt||vt.props.disabled)$e=($e+1)%xe;else return vt}while($e!==Fe);return null},ae.renderCommonMenuItem=function(pe,J,ne){var xe=ae.props.store.getState(),De=Object(m.a)(ae),Fe=De.props,$e=Qe(pe,Fe.eventKey,J),vt=pe.props;if(!vt||typeof pe.type=="string")return pe;var Wt=$e===xe.activeKey,$t=Object(g.a)(Object(g.a)({mode:vt.mode||Fe.mode,level:Fe.level,inlineIndent:Fe.inlineIndent,renderMenuItem:ae.renderMenuItem,rootPrefixCls:Fe.prefixCls,index:J,parentMenu:Fe.parentMenu,manualRef:vt.disabled?void 0:Object(x.a)(pe.ref,be.bind(Object(m.a)(ae))),eventKey:$e,active:!vt.disabled&&Wt,multiple:Fe.multiple,onClick:function(Kt){(vt.onClick||Ue)(Kt),ae.onClick(Kt)},onItemHover:ae.onItemHover,motion:Fe.motion,subMenuOpenDelay:Fe.subMenuOpenDelay,subMenuCloseDelay:Fe.subMenuCloseDelay,forceSubMenuRender:Fe.forceSubMenuRender,onOpenChange:ae.onOpenChange,onDeselect:ae.onDeselect,onSelect:ae.onSelect,builtinPlacements:Fe.builtinPlacements,itemIcon:vt.itemIcon||ae.props.itemIcon,expandIcon:vt.expandIcon||ae.props.expandIcon},ne),{},{direction:Fe.direction});return(Fe.mode==="inline"||K())&&($t.triggerSubMenuAction="click"),c.cloneElement(pe,$t)},ae.renderMenuItem=function(pe,J,ne){if(!pe)return null;var xe=ae.props.store.getState(),De={openKeys:xe.openKeys,selectedKeys:xe.selectedKeys,triggerSubMenuAction:ae.props.triggerSubMenuAction,subMenuKey:ne};return ae.renderCommonMenuItem(pe,J,De)},Ot.store.setState({activeKey:Object(g.a)(Object(g.a)({},Ot.store.getState().activeKey),{},Object(T.a)({},Ot.eventKey,qe(Ot,Ot.activeKey)))}),ae.instanceArray=[],ae}return Object(y.a)(bt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ae){return this.props.visible||ae.visible||this.props.className!==ae.className||!d()(this.props.style,ae.style)}},{key:"componentDidUpdate",value:function(ae){var pe=this.props,J="activeKey"in pe?pe.activeKey:pe.store.getState().activeKey[it(pe)],ne=qe(pe,J);if(ne!==J)re(pe.store,it(pe),ne);else if("activeKey"in ae){var xe=qe(ae,ae.activeKey);ne!==xe&&re(pe.store,it(pe),ne)}}},{key:"render",value:function(){var ae=this,pe=Object(S.a)({},this.props);this.instanceArray=[];var J=O()(pe.prefixCls,pe.className,"".concat(pe.prefixCls,"-").concat(pe.mode)),ne={className:J,role:pe.role||"menu"};pe.id&&(ne.id=pe.id),pe.focusable&&(ne.tabIndex=0,ne.onKeyDown=this.onKeyDown);var xe=pe.prefixCls,De=pe.eventKey,Fe=pe.visible,$e=pe.level,vt=pe.mode,Wt=pe.overflowedIndicator,$t=pe.theme;return lt.forEach(function(Rt){return delete pe[Rt]}),delete pe.onClick,c.createElement(Ve,Object.assign({},pe,{prefixCls:xe,mode:vt,tag:"ul",level:$e,theme:$t,visible:Fe,overflowedIndicator:Wt},ne),c.Children.map(pe.children,function(Rt,Kt){return ae.renderMenuItem(Rt,Kt,De||"0-menu-")}))}}]),bt}(c.Component);Zt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Ue};var dt=w()(Zt),ct=dt,yt=e("Kwbf");function _t(Pe,nt,bt){var Ot=Pe.prefixCls,ae=Pe.motion,pe=Pe.defaultMotions,J=pe===void 0?{}:pe,ne=Pe.openAnimation,xe=Pe.openTransitionName,De=nt.switchingModeFromInline;if(ae)return ae;if(Object(N.a)(ne)==="object"&&ne)Object(yt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof ne=="string")return{motionName:"".concat(Ot,"-open-").concat(ne)};if(xe)return{motionName:xe};var Fe=J[bt];return Fe||(De?null:J.other)}var or=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(Ot){var ae;Object(f.a)(this,bt),ae=nt.call(this,Ot),ae.inlineOpenKeys=[],ae.onSelect=function(ne){var xe=Object(m.a)(ae),De=xe.props;if(De.selectable){var Fe=ae.store.getState(),$e=Fe.selectedKeys,vt=ne.key;De.multiple?$e=$e.concat([vt]):$e=[vt],"selectedKeys"in De||ae.store.setState({selectedKeys:$e}),De.onSelect(Object(g.a)(Object(g.a)({},ne),{},{selectedKeys:$e}))}},ae.onClick=function(ne){var xe=ae.getRealMenuMode(),De=Object(m.a)(ae),Fe=De.store,$e=De.props.onOpenChange;xe!=="inline"&&!("openKeys"in ae.props)&&(Fe.setState({openKeys:[]}),$e([])),ae.props.onClick(ne)},ae.onKeyDown=function(ne,xe){ae.innerMenu.getWrappedInstance().onKeyDown(ne,xe)},ae.onOpenChange=function(ne){var xe=Object(m.a)(ae),De=xe.props,Fe=ae.store.getState().openKeys.concat(),$e=!1,vt=function($t){var Rt=!1;if($t.open)Rt=Fe.indexOf($t.key)===-1,Rt&&Fe.push($t.key);else{var Kt=Fe.indexOf($t.key);Rt=Kt!==-1,Rt&&Fe.splice(Kt,1)}$e=$e||Rt};Array.isArray(ne)?ne.forEach(vt):vt(ne),$e&&("openKeys"in ae.props||ae.store.setState({openKeys:Fe}),De.onOpenChange(Fe))},ae.onDeselect=function(ne){var xe=Object(m.a)(ae),De=xe.props;if(De.selectable){var Fe=ae.store.getState().selectedKeys.concat(),$e=ne.key,vt=Fe.indexOf($e);vt!==-1&&Fe.splice(vt,1),"selectedKeys"in De||ae.store.setState({selectedKeys:Fe}),De.onDeselect(Object(g.a)(Object(g.a)({},ne),{},{selectedKeys:Fe}))}},ae.onMouseEnter=function(ne){ae.restoreModeVerticalFromInline();var xe=ae.props.onMouseEnter;xe&&xe(ne)},ae.onTransitionEnd=function(ne){var xe=ne.propertyName==="width"&&ne.target===ne.currentTarget,De=ne.target.className,Fe=Object.prototype.toString.call(De)==="[object SVGAnimatedString]"?De.animVal:De,$e=ne.propertyName==="font-size"&&Fe.indexOf("anticon")>=0;(xe||$e)&&ae.restoreModeVerticalFromInline()},ae.setInnerMenu=function(ne){ae.innerMenu=ne},ae.isRootMenu=!0;var pe=Ot.defaultSelectedKeys,J=Ot.defaultOpenKeys;return"selectedKeys"in Ot&&(pe=Ot.selectedKeys||[]),"openKeys"in Ot&&(J=Ot.openKeys||[]),ae.store=E({selectedKeys:pe,openKeys:J,activeKey:{"0-menu-":qe(Ot,Ot.activeKey)}}),ae.state={switchingModeFromInline:!1},ae}return Object(y.a)(bt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ae){this.updateOpentKeysWhenSwitchMode(ae),this.updateMiniStore();var pe=this.props,J=pe.siderCollapsed,ne=pe.inlineCollapsed,xe=pe.onOpenChange;(!ae.inlineCollapsed&&ne||!ae.siderCollapsed&&J)&&xe([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ae){var pe=this.props,J=this.store,ne=this.inlineOpenKeys,xe=J.getState(),De={};ae.mode==="inline"&&pe.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in pe||((pe.inlineCollapsed&&!ae.inlineCollapsed||pe.siderCollapsed&&!ae.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=xe.openKeys.concat(),De.openKeys=[]),(!pe.inlineCollapsed&&ae.inlineCollapsed||!pe.siderCollapsed&&ae.siderCollapsed)&&(De.openKeys=ne,this.inlineOpenKeys=[])),Object.keys(De).length&&J.setState(De)}},{key:"updateMenuDisplay",value:function(){var ae=this.props.collapsedWidth,pe=this.store,J=this.prevOpenKeys,ne=this.getInlineCollapsed()&&(ae===0||ae==="0"||ae==="0px");ne?(this.prevOpenKeys=pe.getState().openKeys.concat(),this.store.setState({openKeys:[]})):J&&(this.store.setState({openKeys:J}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ae=this.props.mode,pe=this.state.switchingModeFromInline,J=this.getInlineCollapsed();return pe&&J?"inline":J?"vertical":ae}},{key:"getInlineCollapsed",value:function(){var ae=this.props,pe=ae.inlineCollapsed,J=ae.siderCollapsed;return J!==void 0?J:pe}},{key:"restoreModeVerticalFromInline",value:function(){var ae=this.state.switchingModeFromInline;ae&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var ae=Object(g.a)({},Object(A.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),pe=this.getRealMenuMode();return ae.className+=" ".concat(ae.prefixCls,"-root"),ae.direction==="rtl"&&(ae.className+=" ".concat(ae.prefixCls,"-rtl")),ae=Object(g.a)(Object(g.a)({},ae),{},{mode:pe,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:_t(this.props,this.state,pe)}),delete ae.openAnimation,delete ae.openTransitionName,c.createElement(r,{store:this.store},c.createElement(ct,Object.assign({},ae,{ref:this.setInnerMenu}),this.props.children))}}]),bt}(c.Component);or.defaultProps={selectable:!0,onClick:Ue,onSelect:Ue,onOpenChange:Ue,onDeselect:Ue,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:c.createElement("span",null,"\xB7\xB7\xB7")};var Bt=or,we=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(){var Ot;return Object(f.a)(this,bt),Ot=nt.apply(this,arguments),Ot.onKeyDown=function(ae){var pe=ae.keyCode;return pe===L.a.ENTER?(Ot.onClick(ae),!0):void 0},Ot.onMouseLeave=function(ae){var pe=Ot.props,J=pe.eventKey,ne=pe.onItemHover,xe=pe.onMouseLeave;ne({key:J,hover:!1}),xe({key:J,domEvent:ae})},Ot.onMouseEnter=function(ae){var pe=Ot.props,J=pe.eventKey,ne=pe.onItemHover,xe=pe.onMouseEnter;ne({key:J,hover:!0}),xe({key:J,domEvent:ae})},Ot.onClick=function(ae){var pe=Ot.props,J=pe.eventKey,ne=pe.multiple,xe=pe.onClick,De=pe.onSelect,Fe=pe.onDeselect,$e=pe.isSelected,vt={key:J,keyPath:[J],item:Object(m.a)(Ot),domEvent:ae};xe(vt),ne?$e?Fe(vt):De(vt):$e||De(vt)},Ot.saveNode=function(ae){Ot.node=ae},Ot}return Object(y.a)(bt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ae=this.props;ae.onDestroy&&ae.onDestroy(ae.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var ae,pe=Object(g.a)({},this.props),J=O()(this.getPrefixCls(),pe.className,(ae={},Object(T.a)(ae,this.getActiveClassName(),!pe.disabled&&pe.active),Object(T.a)(ae,this.getSelectedClassName(),pe.isSelected),Object(T.a)(ae,this.getDisabledClassName(),pe.disabled),ae)),ne=Object(g.a)(Object(g.a)({},pe.attribute),{},{title:typeof pe.title=="string"?pe.title:void 0,className:J,role:pe.role||"menuitem","aria-disabled":pe.disabled});pe.role==="option"?ne=Object(g.a)(Object(g.a)({},ne),{},{role:"option","aria-selected":pe.isSelected}):(pe.role===null||pe.role==="none")&&(ne.role="none");var xe={onClick:pe.disabled?null:this.onClick,onMouseLeave:pe.disabled?null:this.onMouseLeave,onMouseEnter:pe.disabled?null:this.onMouseEnter},De=Object(g.a)({},pe.style);pe.mode==="inline"&&(pe.direction==="rtl"?De.paddingRight=pe.inlineIndent*pe.level:De.paddingLeft=pe.inlineIndent*pe.level),lt.forEach(function($e){return delete pe[$e]}),delete pe.direction;var Fe=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Fe=c.createElement(this.props.itemIcon,this.props)),c.createElement("li",Object.assign({},Object(A.default)(pe,["onClick","onMouseEnter","onMouseLeave","onSelect"]),ne,xe,{style:De,ref:this.saveNode}),pe.children,Fe)}}]),bt}(c.Component);we.isMenuItem=!0,we.defaultProps={onSelect:Ue,onMouseEnter:Ue,onMouseLeave:Ue,manualRef:Ue};var ve=w(function(Pe,nt){var bt=Pe.activeKey,Ot=Pe.selectedKeys,ae=nt.eventKey,pe=nt.subMenuKey;return{active:bt[pe]===ae,isSelected:Ot.indexOf(ae)!==-1}})(we),me=ve,he=function(Pe){Object(v.a)(bt,Pe);var nt=Object(h.a)(bt);function bt(){var Ot;return Object(f.a)(this,bt),Ot=nt.apply(this,arguments),Ot.renderInnerMenuItem=function(ae){var pe=Ot.props,J=pe.renderMenuItem,ne=pe.index;return J(ae,ne,Ot.props.subMenuKey)},Ot}return Object(y.a)(bt,[{key:"render",value:function(){var ae=Object(S.a)({},this.props),pe=ae.className,J=pe===void 0?"":pe,ne=ae.rootPrefixCls,xe="".concat(ne,"-item-group-title"),De="".concat(ne,"-item-group-list"),Fe=ae.title,$e=ae.children;return lt.forEach(function(vt){return delete ae[vt]}),delete ae.onClick,delete ae.direction,c.createElement("li",Object.assign({},ae,{className:"".concat(J," ").concat(ne,"-item-group")}),c.createElement("div",{className:xe,title:typeof Fe=="string"?Fe:void 0},Fe),c.createElement("ul",{className:De},c.Children.map($e,this.renderInnerMenuItem)))}}]),bt}(c.Component);he.isMenuItemGroup=!0,he.defaultProps={disabled:!0};var Re=he,He=function(nt){var bt=nt.className,Ot=nt.rootPrefixCls,ae=nt.style;return c.createElement("li",{className:"".concat(bt," ").concat(Ot,"-item-divider"),style:ae})};He.defaultProps={disabled:!0,className:"",style:{}};var ze=He,Ye=_.f=Bt},"1n7x":function(D,_,e){(function(g,f){(function(y,m){D.exports=m(e("5RHE"),e("wOnQ"))})(this,function(y,m){"use strict";y=y&&y.hasOwnProperty("default")?y.default:y,m=m&&m.hasOwnProperty("default")?m.default:m;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},h=Object.assign||function(A){for(var S=1;S<arguments.length;S++){var T=arguments[S];for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(A[L]=T[L])}return A},c=function(S){var T=typeof S=="undefined"?"undefined":v(S);return T==="undefined"?"undefined":T==="string"||S instanceof String?"string":T==="number"||S instanceof Number?"number":T==="function"||S instanceof Function?"function":!!S&&S.constructor===Array?"array":S&&S.nodeType===1?"element":T==="object"?"object":"unknown"},a=function(S,T){var L=document.createElement(S);if(T.className&&(L.className=T.className),T.innerHTML){L.innerHTML=T.innerHTML;for(var x=L.getElementsByTagName("script"),C=x.length;C-- >0;null)x[C].parentNode.removeChild(x[C])}for(var O in T.style)L.style[O]=T.style[O];return L},i=function A(S,T){for(var L=S.nodeType===3?document.createTextNode(S.nodeValue):S.cloneNode(!1),x=S.firstChild;x;x=x.nextSibling)(T===!0||x.nodeType!==1||x.nodeName!=="SCRIPT")&&L.appendChild(A(x,T));return S.nodeType===1&&(S.nodeName==="CANVAS"?(L.width=S.width,L.height=S.height,L.getContext("2d").drawImage(S,0,0)):(S.nodeName==="TEXTAREA"||S.nodeName==="SELECT")&&(L.value=S.value),L.addEventListener("load",function(){L.scrollTop=S.scrollTop,L.scrollLeft=S.scrollLeft},!0)),L},r=function(S,T){if(c(S)==="number")return S*72/96/T;var L={};for(var x in S)L[x]=S[x]*72/96/T;return L},o=function(S,T){return Math.floor(S*T/72*96)},d=typeof window!="undefined"?window:typeof g!="undefined"?g:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(A,S){return S={exports:{}},A(S,S.exports),S.exports}var t=l(function(A,S){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.5+7f2b526d
|
|
|
*/(function(T,L){A.exports=L()})(d,function(){function T(dt){var ct=typeof dt;return dt!==null&&(ct==="object"||ct==="function")}function L(dt){return typeof dt=="function"}var x=void 0;Array.isArray?x=Array.isArray:x=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var C=x,O=0,N=void 0,F=void 0,k=function(ct,yt){ge[O]=ct,ge[O+1]=yt,O+=2,O===2&&(F?F(q):Ce())};function P(dt){F=dt}function B(dt){k=dt}var z=typeof window!="undefined"?window:void 0,R=z||{},U=R.MutationObserver||R.WebKitMutationObserver,j=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function V(){return function(){return f.nextTick(q)}}function X(){return typeof N!="undefined"?function(){N(q)}:$()}function W(){var dt=0,ct=new U(q),yt=document.createTextNode("");return ct.observe(yt,{characterData:!0}),function(){yt.data=dt=++dt%2}}function G(){var dt=new MessageChannel;return dt.port1.onmessage=q,function(){return dt.port2.postMessage(0)}}function $(){var dt=setTimeout;return function(){return dt(q,1)}}var ge=new Array(1e3);function q(){for(var dt=0;dt<O;dt+=2){var ct=ge[dt],yt=ge[dt+1];ct(yt),ge[dt]=void 0,ge[dt+1]=void 0}O=0}function Se(){try{var dt=Function("return this")().require("vertx");return N=dt.runOnLoop||dt.runOnContext,X()}catch(ct){return $()}}var Ce=void 0;j?Ce=V():U?Ce=W():H?Ce=G():z===void 0&&typeof n=="function"?Ce=Se():Ce=$();function Ae(dt,ct){var yt=this,_t=new this.constructor(gt);_t[Qe]===void 0&&et(_t);var or=yt._state;if(or){var Bt=arguments[or-1];k(function(){return Dt(or,_t,Bt,yt._result)})}else ht(yt,_t,dt,ct);return _t}function Ue(dt){var ct=this;if(dt&&typeof dt=="object"&&dt.constructor===ct)return dt;var yt=new ct(gt);return oe(yt,dt),yt}var Qe=Math.random().toString(36).substring(2);function gt(){}var _e=void 0,Oe=1,lt=2,ce={error:null};function Y(){return new TypeError("You cannot resolve a promise with itself")}function K(){return new TypeError("A promises callback cannot return that same promise.")}function Q(dt){try{return dt.then}catch(ct){return ce.error=ct,ce}}function ye(dt,ct,yt,_t){try{dt.call(ct,yt,_t)}catch(or){return or}}function ue(dt,ct,yt){k(function(_t){var or=!1,Bt=ye(yt,ct,function(we){if(or)return;or=!0,ct!==we?oe(_t,we):Le(_t,we)},function(we){if(or)return;or=!0,Ge(_t,we)},"Settle: "+(_t._label||" unknown promise"));!or&&Bt&&(or=!0,Ge(_t,Bt))},dt)}function Ne(dt,ct){ct._state===Oe?Le(dt,ct._result):ct._state===lt?Ge(dt,ct._result):ht(ct,void 0,function(yt){return oe(dt,yt)},function(yt){return Ge(dt,yt)})}function Te(dt,ct,yt){ct.constructor===dt.constructor&&yt===Ae&&ct.constructor.resolve===Ue?Ne(dt,ct):yt===ce?(Ge(dt,ce.error),ce.error=null):yt===void 0?Le(dt,ct):L(yt)?ue(dt,ct,yt):Le(dt,ct)}function oe(dt,ct){dt===ct?Ge(dt,Y()):T(ct)?Te(dt,ct,Q(ct)):Le(dt,ct)}function de(dt){dt._onerror&&dt._onerror(dt._result),Et(dt)}function Le(dt,ct){if(dt._state!==_e)return;dt._result=ct,dt._state=Oe,dt._subscribers.length!==0&&k(Et,dt)}function Ge(dt,ct){if(dt._state!==_e)return;dt._state=lt,dt._result=ct,k(de,dt)}function ht(dt,ct,yt,_t){var or=dt._subscribers,Bt=or.length;dt._onerror=null,or[Bt]=ct,or[Bt+Oe]=yt,or[Bt+lt]=_t,Bt===0&&dt._state&&k(Et,dt)}function Et(dt){var ct=dt._subscribers,yt=dt._state;if(ct.length===0)return;for(var _t=void 0,or=void 0,Bt=dt._result,we=0;we<ct.length;we+=3)_t=ct[we],or=ct[we+yt],_t?Dt(yt,_t,or,Bt):or(Bt);dt._subscribers.length=0}function Be(dt,ct){try{return dt(ct)}catch(yt){return ce.error=yt,ce}}function Dt(dt,ct,yt,_t){var or=L(yt),Bt=void 0,we=void 0,ve=void 0,me=void 0;if(or){if(Bt=Be(yt,_t),Bt===ce?(me=!0,we=Bt.error,Bt.error=null):ve=!0,ct===Bt){Ge(ct,K());return}}else Bt=_t,ve=!0;ct._state!==_e||(or&&ve?oe(ct,Bt):me?Ge(ct,we):dt===Oe?Le(ct,Bt):dt===lt&&Ge(ct,Bt))}function Ke(dt,ct){try{ct(function(_t){oe(dt,_t)},function(_t){Ge(dt,_t)})}catch(yt){Ge(dt,yt)}}var At=0;function Xe(){return At++}function et(dt){dt[Qe]=At++,dt._state=void 0,dt._result=void 0,dt._subscribers=[]}function tt(){return new Error("Array Methods must be provided an Array")}var ot=function(){function dt(ct,yt){this._instanceConstructor=ct,this.promise=new ct(gt),this.promise[Qe]||et(this.promise),C(yt)?(this.length=yt.length,this._remaining=yt.length,this._result=new Array(this.length),this.length===0?Le(this.promise,this._result):(this.length=this.length||0,this._enumerate(yt),this._remaining===0&&Le(this.promise,this._result))):Ge(this.promise,tt())}return dt.prototype._enumerate=function(yt){for(var _t=0;this._state===_e&&_t<yt.length;_t++)this._eachEntry(yt[_t],_t)},dt.prototype._eachEntry=function(yt,_t){var or=this._instanceConstructor,Bt=or.resolve;if(Bt===Ue){var we=Q(yt);if(we===Ae&&yt._state!==_e)this._settledAt(yt._state,_t,yt._result);else if(typeof we!="function")this._remaining--,this._result[_t]=yt;else if(or===be){var ve=new or(gt);Te(ve,yt,we),this._willSettleAt(ve,_t)}else this._willSettleAt(new or(function(me){return me(yt)}),_t)}else this._willSettleAt(Bt(yt),_t)},dt.prototype._settledAt=function(yt,_t,or){var Bt=this.promise;Bt._state===_e&&(this._remaining--,yt===lt?Ge(Bt,or):this._result[_t]=or),this._remaining===0&&Le(Bt,this._result)},dt.prototype._willSettleAt=function(yt,_t){var or=this;ht(yt,void 0,function(Bt){return or._settledAt(Oe,_t,Bt)},function(Bt){return or._settledAt(lt,_t,Bt)})},dt}();function Ve(dt){return new ot(this,dt).promise}function se(dt){var ct=this;return C(dt)?new ct(function(yt,_t){for(var or=dt.length,Bt=0;Bt<or;Bt++)ct.resolve(dt[Bt]).then(yt,_t)}):new ct(function(yt,_t){return _t(new TypeError("You must pass an array to race."))})}function re(dt){var ct=this,yt=new ct(gt);return Ge(yt,dt),yt}function it(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function qe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var be=function(){function dt(ct){this[Qe]=Xe(),this._result=this._state=void 0,this._subscribers=[],gt!==ct&&(typeof ct!="function"&&it(),this instanceof dt?Ke(this,ct):qe())}return dt.prototype.catch=function(yt){return this.then(null,yt)},dt.prototype.finally=function(yt){var _t=this,or=_t.constructor;return L(yt)?_t.then(function(Bt){return or.resolve(yt()).then(function(){return Bt})},function(Bt){return or.resolve(yt()).then(function(){throw Bt})}):_t.then(yt,yt)},dt}();be.prototype.then=Ae,be.all=Ve,be.race=se,be.resolve=Ue,be.reject=re,be._setScheduler=P,be._setAsap=B,be._asap=k;function Zt(){var dt=void 0;if(typeof d!="undefined")dt=d;else if(typeof self!="undefined")dt=self;else try{dt=Function("return this")()}catch(_t){throw new Error("polyfill failed because global object is unavailable in this environment")}var ct=dt.Promise;if(ct){var yt=null;try{yt=Object.prototype.toString.call(ct.resolve())}catch(_t){}if(yt==="[object Promise]"&&!ct.cast)return}dt.Promise=be}return be.polyfill=Zt,be.Promise=be,be})}),s=t.Promise,u=function A(S){var T=h(A.convert(s.resolve()),JSON.parse(JSON.stringify(A.template))),L=A.convert(s.resolve(),T);return L=L.setProgress(1,A,1,[A]),L=L.set(S),L};u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.convert=function(S,T){return S.__proto__=T||u.prototype,S},u.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},u.prototype.from=function(S,T){function L(x){switch(c(x)){case"string":return"string";case"element":return x.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){T=T||L(S);switch(T){case"string":return this.set({src:a("div",{innerHTML:S})});case"element":return this.set({src:S});case"canvas":return this.set({canvas:S});case"img":return this.set({img:S});default:return this.error("Unknown source type.")}})},u.prototype.to=function(S){switch(S){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.prototype.toContainer=function(){var S=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(S).then(function(){var L={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},x={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};L.opacity=0;var C=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=a("div",{className:"html2pdf__overlay",style:L}),this.prop.container=a("div",{className:"html2pdf__container",style:x}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},u.prototype.toCanvas=function(){var S=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(S).then(function(){var L=h({},this.opt.html2canvas);return delete L.onrendered,m(this.prop.container,L)}).then(function(L){var x=this.opt.html2canvas.onrendered||function(){};x(L),this.prop.canvas=L,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var L=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=L})},u.prototype.toPdf=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var L=this.prop.canvas,x=this.opt,C=L.height,O=Math.floor(L.width*this.prop.pageSize.inner.ratio),N=Math.ceil(C/O),F=this.prop.pageSize.inner.height,k=document.createElement("canvas"),P=k.getContext("2d");k.width=L.width,k.height=O,this.prop.pdf=this.prop.pdf||new y(x.jsPDF);for(var B=0;B<N;B++){B===N-1&&C%O!==0&&(k.height=C%O,F=k.height*this.prop.pageSize.inner.width/k.width);var z=k.width,R=k.height;P.fillStyle="white",P.fillRect(0,0,z,R),P.drawImage(L,0,B*O,z,R,0,0,z,R),B&&this.prop.pdf.addPage();var U=k.toDataURL("image/"+x.image.type,x.image.quality);this.prop.pdf.addImage(U,x.image.type,x.margin[1],x.margin[0],this.prop.pageSize.inner.width,F)}})},u.prototype.output=function(S,T,L){return L=L||"pdf",L.toLowerCase()==="img"||L.toLowerCase()==="image"?this.outputImg(S,T):this.outputPdf(S,T)},u.prototype.outputPdf=function(S,T){var L=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(L).then(function(){return this.prop.pdf.output(S,T)})},u.prototype.outputImg=function(S,T){var L=[function(){return this.prop.img||this.toImg()}];return this.thenList(L).then(function(){switch(S){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+S+'" is not supported.'}})},u.prototype.save=function(S){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).set(S?{filename:S}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.set=function(S){if(c(S)!=="object")return this;var T=Object.keys(S||{}).map(function(L){if(L in u.template.prop)return function(){this.prop[L]=S[L]};switch(L){case"margin":return this.setMargin.bind(this,S.margin);case"jsPDF":return function(){return this.opt.jsPDF=S.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,S.pageSize);default:return function(){this.opt[L]=S[L]}}},this);return this.then(function(){return this.thenList(T)})},u.prototype.get=function(S,T){return this.then(function(){var x=S in u.template.prop?this.prop[S]:this.opt[S];return T?T(x):x})},u.prototype.setMargin=function(S){return this.then(function(){switch(c(S)){case"number":S=[S,S,S,S];case"array":if(S.length===2&&(S=[S[0],S[1],S[0],S[1]]),S.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=S}).then(this.setPageSize)},u.prototype.setPageSize=function(S){return this.then(function(){S=S||y.getPageSize(this.opt.jsPDF),S.hasOwnProperty("inner")||(S.inner={width:S.width-this.opt.margin[1]-this.opt.margin[3],height:S.height-this.opt.margin[0]-this.opt.margin[2]},S.inner.px={width:o(S.inner.width,S.k),height:o(S.inner.height,S.k)},S.inner.ratio=S.inner.height/S.inner.width),this.prop.pageSize=S})},u.prototype.setProgress=function(S,T,L,x){return S!=null&&(this.progress.val=S),T!=null&&(this.progress.state=T),L!=null&&(this.progress.n=L),x!=null&&(this.progress.stack=x),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(S,T,L,x){return this.setProgress(S?this.progress.val+S:null,T||null,L?this.progress.n+L:null,x?this.progress.stack.concat(x):null)},u.prototype.then=function(S,T){var L=this;return this.thenCore(S,T,function(C,O){return L.updateProgress(null,null,1,[C]),s.prototype.then.call(this,function(F){return L.updateProgress(null,C),F}).then(C,O).then(function(F){return L.updateProgress(1),F})})},u.prototype.thenCore=function(S,T,L){L=L||s.prototype.then;var x=this;S&&(S=S.bind(x)),T&&(T=T.bind(x));var C=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",O=C?x:u.convert(h({},x),s.prototype),N=L.call(O,S,T);return u.convert(N,x.__proto__)},u.prototype.thenExternal=function(S,T){return s.prototype.then.call(this,S,T)},u.prototype.thenList=function(S){var T=this;return S.forEach(function(x){T=T.thenCore(x)}),T},u.prototype.catch=function(A){A&&(A=A.bind(this));var S=s.prototype.catch.call(this,A);return u.convert(S,this)},u.prototype.catchExternal=function(S){return s.prototype.catch.call(this,S)},u.prototype.error=function(S){return this.then(function(){throw new Error(S)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,y.getPageSize=function(A,S,T){if((typeof A=="undefined"?"undefined":v(A))==="object"){var L=A;A=L.orientation,S=L.unit||S,T=L.format||T}S=S||"mm",T=T||"a4",A=(""+(A||"P")).toLowerCase();var x=(""+T).toLowerCase(),C={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(S){case"pt":var O=1;break;case"mm":var O=72/25.4;break;case"cm":var O=72/2.54;break;case"in":var O=72;break;case"px":var O=72/96;break;case"pc":var O=12;break;case"em":var O=12;break;case"ex":var O=6;break;default:throw"Invalid unit: "+S}if(C.hasOwnProperty(x))var N=C[x][1]/O,F=C[x][0]/O;else try{var N=T[1],F=T[0]}catch(B){throw new Error("Invalid format: "+T)}if(A==="p"||A==="portrait"){if(A="p",F>N){var k=F;F=N,N=k}}else if(A==="l"||A==="landscape"){if(A="l",N>F){var k=F;F=N,N=k}}else throw"Invalid orientation: "+A;var P={width:F,height:N,unit:S,k:O};return P};var p={toContainer:u.prototype.toContainer};u.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},u.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){var T=this.prop.container,L=this.prop.pageSize.inner.px.height,x=[].concat(this.opt.pagebreak.mode),C={avoidAll:x.indexOf("avoid-all")!==-1,css:x.indexOf("css")!==-1,legacy:x.indexOf("legacy")!==-1},O={},N=this;["before","after","avoid"].forEach(function(P){var B=C.avoidAll&&P==="avoid";O[P]=B?[]:[].concat(N.opt.pagebreak[P]||[]),O[P].length>0&&(O[P]=Array.prototype.slice.call(T.querySelectorAll(O[P].join(", "))))});var F=T.querySelectorAll(".html2pdf__page-break");F=Array.prototype.slice.call(F);var k=T.querySelectorAll("*");Array.prototype.forEach.call(k,function(B){var z={before:!1,after:C.legacy&&F.indexOf(B)!==-1,avoid:C.avoidAll};if(C.css){var R=window.getComputedStyle(B),U=["always","page","left","right"],j=["avoid","avoid-page"];z={before:z.before||U.indexOf(R.breakBefore||R.pageBreakBefore)!==-1,after:z.after||U.indexOf(R.breakAfter||R.pageBreakAfter)!==-1,avoid:z.avoid||j.indexOf(R.breakInside||R.pageBreakInside)!==-1}}Object.keys(z).forEach(function($){z[$]=z[$]||O[$].indexOf(B)!==-1});var H=B.getBoundingClientRect();if(z.avoid&&!z.before){var V=Math.floor(H.top/L),X=Math.floor(H.bottom/L),W=Math.abs(H.bottom-H.top)/L;X!==V&&W<=1&&(z.before=!0)}if(z.before){var G=a("div",{style:{display:"block",height:L-H.top%L+"px"}});B.parentNode.insertBefore(G,B)}if(z.after){var G=a("div",{style:{display:"block",height:L-H.bottom%L+"px"}});B.parentNode.insertBefore(G,B.nextSibling)}})})};var w=[],b={toContainer:u.prototype.toContainer,toPdf:u.prototype.toPdf};u.prototype.toContainer=function(){return b.toContainer.call(this).then(function(){if(this.opt.enableLinks){var T=this.prop.container,L=T.querySelectorAll("a"),x=r(T.getBoundingClientRect(),this.prop.pageSize.k);w=[],Array.prototype.forEach.call(L,function(C){for(var O=C.getClientRects(),N=0;N<O.length;N++){var F=r(O[N],this.prop.pageSize.k);F.left-=x.left,F.top-=x.top;var k=Math.floor(F.top/this.prop.pageSize.inner.height)+1,P=this.opt.margin[0]+F.top%this.prop.pageSize.inner.height,B=this.opt.margin[1]+F.left;w.push({page:k,top:P,left:B,clientRect:F,link:C})}},this)}})},u.prototype.toPdf=function(){return b.toPdf.call(this).then(function(){if(this.opt.enableLinks){w.forEach(function(L){this.prop.pdf.setPage(L.page),this.prop.pdf.link(L.left,L.top,L.clientRect.width,L.clientRect.height,{url:L.link.href})},this);var T=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(T)}})};var E=function A(S,T){var L=new A.Worker(T);return S?L.from(S).save():L};return E.Worker=u,E})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"1tlw":function(D,_,e){var g=e("MBQ8"),f=g.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,f.superApply(this,"getInitialData",arguments)}}),y=f;D.exports=y},"1u/T":function(D,_,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(y,m){m.eachComponent({mainType:"visualMap",query:y},function(v){v.setSelected(y.selected)})})},"1vzs":function(D,_,e){"use strict";e.d(_,"a",function(){return t});var g=e("q1tI"),f=e.n(g),y=e("HQEm"),m=e.n(y),v=e("gZBC"),h=e.n(v),c=e("NAnI"),a=e.n(c),i=e("V/uB"),r=e.n(i),o=e("kbBi"),d=e.n(o),n=e("w6Tc"),l=e.n(n);function t(s){var u=s.suffixIcon,p=s.clearIcon,w=s.menuItemSelectedIcon,b=s.removeIcon,E=s.loading,A=s.multiple,S=s.prefixCls,T=p;p||(T=g.createElement(d.a,null));var L=null;if(u!==void 0)L=u;else if(E)L=g.createElement(h.a,{spin:!0});else{var x="".concat(S,"-suffix");L=function(F){var k=F.open,P=F.showSearch;return k&&P?g.createElement(l.a,{className:x}):g.createElement(m.a,{className:x})}}var C=null;w!==void 0?C=w:A?C=g.createElement(a.a,null):C=null;var O=null;return b!==void 0?O=b:O=g.createElement(r.a,null),{clearIcon:T,suffixIcon:L,itemIcon:C,removeIcon:O}}},"1xaR":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var y=e("mOdp"),m=e("y3NT"),v=e("0/Rx");g.registerVisual(f.curry(y,"sunburst")),g.registerLayout(f.curry(m,"sunburst")),g.registerProcessor(f.curry(v,"sunburst"))},"24YM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SensorTabIndex=_.SensorClassName=_.SizeSensorId=void 0;var g="size-sensor-id";_.SizeSensorId=g;var f="size-sensor-object";_.SensorClassName=f;var y="-1";_.SensorTabIndex=y},"2548":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("6GrX"),m=e("IUWy"),v=e("IwbS"),h=e("Qxkt"),c=e("gPAo"),a=e("eRkO"),i=g.extendComponentView({type:"toolbox",render:function(o,d,n,l){var t=this.group;if(t.removeAll(),!o.get("show"))return;var s=+o.get("itemSize"),u=o.get("feature")||{},p=this._features||(this._features={}),w=[];f.each(u,function(A,S){w.push(S)}),new c(this._featureNames||[],w).add(b).update(b).remove(f.curry(b,null)).execute(),this._featureNames=w;function b(A,S){var T=w[A],L=w[S],x=u[T],C=new h(x,o,o.ecModel),O;if(l&&l.newTitle!=null&&l.featureName===T&&(x.title=l.newTitle),T&&!L){if(r(T))O={model:C,onclick:C.option.onclick,featureName:T};else{var N=m.get(T);if(!N)return;O=new N(C,d,n)}p[T]=O}else{if(O=p[L],!O)return;O.model=C,O.ecModel=d,O.api=n}if(!T&&L){O.dispose&&O.dispose(d,n);return}if(!C.get("show")||O.unusable){O.remove&&O.remove(d,n);return}E(C,O,T),C.setIconStatus=function(F,k){var P=this.option,B=this.iconPaths;P.iconStatus=P.iconStatus||{},P.iconStatus[F]=k,B[F]&&B[F].trigger(k)},O.render&&O.render(C,d,n,l)}function E(A,S,T){var L=A.getModel("iconStyle"),x=A.getModel("emphasis.iconStyle"),C=S.getIcons?S.getIcons():A.get("icon"),O=A.get("title")||{};if(typeof C=="string"){var N=C,F=O;C={},O={},C[T]=N,O[T]=F}var k=A.iconPaths={};f.each(C,function(P,B){var z=v.createIcon(P,{},{x:-s/2,y:-s/2,width:s,height:s});z.setStyle(L.getItemStyle()),z.hoverStyle=x.getItemStyle(),z.setStyle({text:O[B],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var R=o.getModel("tooltip");R&&R.get("show")&&z.attr("tooltip",f.extend({content:O[B],formatter:R.get("formatter",!0)||function(){return O[B]},formatterParams:{componentType:"toolbox",name:B,title:O[B],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(z),o.get("showTitle")&&(z.__title=O[B],z.on("mouseover",function(){var U=x.getItemStyle(),j=o.get("orient")==="vertical"?o.get("right")==null?"right":"left":o.get("bottom")==null?"bottom":"top";z.setStyle({textFill:x.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||j})}).on("mouseout",function(){z.setStyle({textFill:null,textBackgroundColor:null})})),z.trigger(A.get("iconStatus."+B)||"normal"),t.add(z),z.on("click",f.bind(S.onclick,S,d,n,B)),k[B]=z})}a.layout(t,o,n),t.add(a.makeBackground(t.getBoundingRect(),o)),t.eachChild(function(A){var S=A.__title,T=A.hoverStyle;if(T&&S){var L=y.getBoundingRect(S,y.makeFont(T)),x=A.position[0]+t.position[0],C=A.position[1]+t.position[1]+s,O=!1;C+L.height>n.getHeight()&&(T.textPosition="top",O=!0);var N=O?-5-L.height:s+8;x+L.width/2>n.getWidth()?(T.textPosition=["100%",N],T.textAlign="right"):x-L.width/2<0&&(T.textPosition=[0,N],T.textAlign="left")}})},updateView:function(o,d,n,l){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,d,n,l)})},remove:function(o,d){f.each(this._features,function(n){n.remove&&n.remove(o,d)}),this.group.removeAll()},dispose:function(o,d){f.each(this._features,function(n){n.dispose&&n.dispose(o,d)})}});function r(o){return o.indexOf("my")===0}D.exports=i},"2B6p":function(D,_){function e(g,f,y){var m=g.getZoom(),v=g.getCenter(),h=f.zoom,c=g.dataToPoint(v);if(f.dx!=null&&f.dy!=null){c[0]-=f.dx,c[1]-=f.dy;var v=g.pointToData(c);g.setCenter(v)}if(h!=null){if(y){var a=y.min||0,i=y.max||Infinity;h=Math.max(Math.min(m*h,i),a)/m}g.scale[0]*=h,g.scale[1]*=h;var r=g.position,o=(f.originX-r[0])*(h-1),d=(f.originY-r[1])*(h-1);r[0]-=o,r[1]-=d,g.updateTransform();var v=g.pointToData(c);g.setCenter(v),g.setZoom(h*m)}return{center:g.getCenter(),zoom:g.getZoom()}}_.updateCenterAndZoom=e},"2BaD":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseCircleOutlined";var h=_.a=g.forwardRef(v)},"2DNl":function(D,_,e){var g=e("IMiH"),f=e("loD1"),y=e("59Ip"),m=e("aKvl"),v=e("n1HI"),h=e("hX1E"),c=h.normalizeRadian,a=e("Sj9i"),i=e("hyiK"),r=g.CMD,o=Math.PI*2,d=1e-4;function n(S,T){return Math.abs(S-T)<d}var l=[-1,-1,-1],t=[-1,-1];function s(){var S=t[0];t[0]=t[1],t[1]=S}function u(S,T,L,x,C,O,N,F,k,P){if(P>T&&P>x&&P>O&&P>F||P<T&&P<x&&P<O&&P<F)return 0;var B=a.cubicRootAt(T,x,O,F,P,l);if(B===0)return 0;for(var z=0,R=-1,U,j,H=0;H<B;H++){var V=l[H],X=V===0||V===1?.5:1,W=a.cubicAt(S,L,C,N,V);if(W<k)continue;R<0&&(R=a.cubicExtrema(T,x,O,F,t),t[1]<t[0]&&R>1&&s(),U=a.cubicAt(T,x,O,F,t[0]),R>1&&(j=a.cubicAt(T,x,O,F,t[1]))),R===2?V<t[0]?z+=U<T?X:-X:V<t[1]?z+=j<U?X:-X:z+=F<j?X:-X:V<t[0]?z+=U<T?X:-X:z+=F<U?X:-X}return z}function p(S,T,L,x,C,O,N,F){if(F>T&&F>x&&F>O||F<T&&F<x&&F<O)return 0;var k=a.quadraticRootAt(T,x,O,F,l);if(k===0)return 0;var P=a.quadraticExtremum(T,x,O);if(P>=0&&P<=1){for(var B=0,z=a.quadraticAt(T,x,O,P),R=0;R<k;R++){var U=l[R]===0||l[R]===1?.5:1,j=a.quadraticAt(S,L,C,l[R]);if(j<N)continue;l[R]<P?B+=z<T?U:-U:B+=O<z?U:-U}return B}else{var U=l[0]===0||l[0]===1?.5:1,j=a.quadraticAt(S,L,C,l[0]);return j<N?0:O<T?U:-U}}function w(S,T,L,x,C,O,N,F){if(F-=T,F>L||F<-L)return 0;var k=Math.sqrt(L*L-F*F);l[0]=-k,l[1]=k;var P=Math.abs(x-C);if(P<1e-4)return 0;if(P%o<1e-4){x=0,C=o;var B=O?1:-1;return N>=l[0]+S&&N<=l[1]+S?B:0}if(O){var k=x;x=c(C),C=c(k)}else x=c(x),C=c(C);x>C&&(C+=o);for(var z=0,R=0;R<2;R++){var U=l[R];if(U+S>N){var j=Math.atan2(F,U),B=O?1:-1;j<0&&(j=o+j),(j>=x&&j<=C||j+o>=x&&j+o<=C)&&(j>Math.PI/2&&j<Math.PI*1.5&&(B=-B),z+=B)}}return z}function b(S,T,L,x,C){for(var O=0,N=0,F=0,k=0,P=0,B=0;B<S.length;){var z=S[B++];z===r.M&&B>1&&(L||(O+=i(N,F,k,P,x,C))),B===1&&(N=S[B],F=S[B+1],k=N,P=F);switch(z){case r.M:k=S[B++],P=S[B++],N=k,F=P;break;case r.L:if(L){if(f.containStroke(N,F,S[B],S[B+1],T,x,C))return!0}else O+=i(N,F,S[B],S[B+1],x,C)||0;N=S[B++],F=S[B++];break;case r.C:if(L){if(y.containStroke(N,F,S[B++],S[B++],S[B++],S[B++],S[B],S[B+1],T,x,C))return!0}else O+=u(N,F,S[B++],S[B++],S[B++],S[B++],S[B],S[B+1],x,C)||0;N=S[B++],F=S[B++];break;case r.Q:if(L){if(m.containStroke(N,F,S[B++],S[B++],S[B],S[B+1],T,x,C))return!0}else O+=p(N,F,S[B++],S[B++],S[B],S[B+1],x,C)||0;N=S[B++],F=S[B++];break;case r.A:var R=S[B++],U=S[B++],j=S[B++],H=S[B++],V=S[B++],X=S[B++];B+=1;var W=1-S[B++],G=Math.cos(V)*j+R,$=Math.sin(V)*H+U;B>1?O+=i(N,F,G,$,x,C):(k=G,P=$);var ge=(x-R)*H/j+R;if(L){if(v.containStroke(R,U,H,V,V+X,W,T,ge,C))return!0}else O+=w(R,U,H,V,V+X,W,ge,C);N=Math.cos(V+X)*j+R,F=Math.sin(V+X)*H+U;break;case r.R:k=N=S[B++],P=F=S[B++];var q=S[B++],Se=S[B++],G=k+q,$=P+Se;if(L){if(f.containStroke(k,P,G,P,T,x,C)||f.containStroke(G,P,G,$,T,x,C)||f.containStroke(G,$,k,$,T,x,C)||f.containStroke(k,$,k,P,T,x,C))return!0}else O+=i(G,P,G,$,x,C),O+=i(k,$,k,P,x,C);break;case r.Z:if(L){if(f.containStroke(N,F,k,P,T,x,C))return!0}else O+=i(N,F,k,P,x,C);N=k,F=P;break}}return!L&&!n(F,P)&&(O+=i(N,F,k,P,x,C)||0),O!==0}function E(S,T,L){return b(S,0,!1,T,L)}function A(S,T,L,x){return b(S,T,!0,L,x)}_.contain=E,_.containStroke=A},"2Qr1":function(D,_,e){"use strict";e.d(_,"d",function(){return n}),e.d(_,"c",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"b",function(){return w}),e.d(_,"f",function(){return b}),e.d(_,"g",function(){return E}),e.d(_,"a",function(){return A});var g=e("rePB"),f=e("KQm4"),y=e("DSFK"),m=e("25BE"),v=e("BsWD"),h=e("PYwp");function c(S){return Object(y.a)(S)||Object(m.a)(S)||Object(v.a)(S)||Object(h.a)()}var a=e("U8pU"),i=e("VTBJ"),r=e("Kwbf"),o=e("WKfj");function d(S,T){var L=S.key,x;return"value"in S&&(x=S.value),L!=null?L:x!==void 0?x:"rc-index-key-".concat(T)}function n(S){var T=[];function L(x,C){x.forEach(function(O){C||!("options"in O)?T.push({key:d(O,T.length),groupOption:C,data:O}):(T.push({key:d(O,T.length),group:!0,data:O}),L(O.options,!0))})}return L(S,!1),T}function l(S){var T=Object(i.a)({},S);return"props"in T||Object.defineProperty(T,"props",{get:function(){return Object(r.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),T}}),T}function t(S,T){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=L.prevValueOptions,C=x===void 0?[]:x,O=new Map;return T.forEach(function(N){if(!N.group){var F=N.data;O.set(F.value,F)}}),S.map(function(N){var F=O.get(N);return F||(F=Object(i.a)({},C.find(function(k){return k._INTERNAL_OPTION_VALUE_===N}))),l(F)})}var s=function(T,L){var x=L.options,C=L.prevValue,O=L.labelInValue,N=L.optionLabelProp,F=t([T],x)[0],k={value:T},P,B=Object(o.d)(C);return O&&(P=B.find(function(z){return Object(a.a)(z)==="object"&&"value"in z?z.value===T:z.key===T})),P&&Object(a.a)(P)==="object"&&"label"in P?(k.label=P.label,F&&typeof P.label=="string"&&typeof F[N]=="string"&&P.label.trim()!==F[N].trim()&&Object(r.a)(!1,"`label` of `value` is not same as `label` in Select options.")):F&&N in F?k.label=F[N]:k.label=T,k.key=k.value,k};function u(S){return Object(o.d)(S).join("")}function p(S){return function(T,L){var x=T.toLowerCase();if("options"in L)return u(L.label).toLowerCase().includes(x);var C=L[S],O=u(C).toLowerCase();return O.includes(x)&&!L.disabled}}function w(S,T,L){var x=L.optionFilterProp,C=L.filterOption,O=[],N;return C===!1?T:(typeof C=="function"?N=C:N=p(x),T.forEach(function(F){if("options"in F){var k=N(S,F);if(k)O.push(F);else{var P=F.options.filter(function(B){return N(S,B)});P.length&&O.push(Object(i.a)(Object(i.a)({},F),{},{options:P}))}return}N(S,l(F))&&O.push(F)}),O)}function b(S,T){if(!T||!T.length)return null;var L=!1;function x(O,N){var F=c(N),k=F[0],P=F.slice(1);if(!k)return[O];var B=O.split(k);return L=L||B.length>1,B.reduce(function(z,R){return[].concat(Object(f.a)(z),Object(f.a)(x(R,P)))},[]).filter(function(z){return z})}var C=x(S,T);return L?C:null}function E(S,T){var L=t([S],T)[0];return L.disabled}function A(S,T,L,x){var C=Object(o.d)(T).slice().sort(),O=Object(f.a)(S),N=new Set;return S.forEach(function(F){F.options?F.options.forEach(function(k){N.add(k.value)}):N.add(F.value)}),C.forEach(function(F){var k=x?F.value:F;if(!N.has(k)){var P;O.push(x?(P={},Object(g.a)(P,L,F.label),Object(g.a)(P,"value",k),P):{value:k})}}),O}},"2dDv":function(D,_,e){var g=e("bYtY"),f=e("Fofx"),y=e("+TT/"),m=e("aX7z"),v=e("D1WM"),h=e("IwbS"),c=e("OELB"),a=e("72pK"),i=g.each,r=Math.min,o=Math.max,d=Math.floor,n=Math.ceil,l=c.round,t=Math.PI;function s(E,A,S){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=E.dimensions,this._rect,this._model=E,this._init(E,A,S)}s.prototype={type:"parallel",constructor:s,_init:function(E,A,S){var T=E.dimensions,L=E.parallelAxisIndex;i(T,function(x,C){var O=L[C],N=A.getComponent("parallelAxis",O),F=this._axesMap.set(x,new v(x,m.createScaleByModel(N),[0,0],N.get("type"),O)),k=F.type==="category";F.onBand=k&&N.get("boundaryGap"),F.inverse=N.get("inverse"),N.axis=F,F.model=N,F.coordinateSystem=N.coordinateSystem=this},this)},update:function(E,A){this._updateAxesFromSeries(this._model,E)},containPoint:function(E){var A=this._makeLayoutInfo(),S=A.axisBase,T=A.layoutBase,L=A.pixelDimIndex,x=E[1-L],C=E[L];return x>=S&&x<=S+A.axisLength&&C>=T&&C<=T+A.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(E,A){A.eachSeries(function(S){if(!E.contains(S,A))return;var T=S.getData();i(this.dimensions,function(L){var x=this._axesMap.get(L);x.scale.unionExtentFromData(T,T.mapDimension(L)),m.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(E,A){this._rect=y.getLayoutRect(E.getBoxLayoutParams(),{width:A.getWidth(),height:A.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var E=this._model,A=this._rect,S=["x","y"],T=["width","height"],L=E.get("layout"),x=L==="horizontal"?0:1,C=A[T[x]],O=[0,C],N=this.dimensions.length,F=u(E.get("axisExpandWidth"),O),k=u(E.get("axisExpandCount")||0,[0,N]),P=E.get("axisExpandable")&&N>3&&N>k&&k>1&&F>0&&C>0,B=E.get("axisExpandWindow"),z;if(B)z=u(B[1]-B[0],O),B[1]=B[0]+z;else{z=u(F*(k-1),O);var R=E.get("axisExpandCenter")||d(N/2);B=[F*R-z/2],B[1]=B[0]+z}var U=(C-z)/(N-k);U<3&&(U=0);var j=[d(l(B[0]/F,1))+1,n(l(B[1]/F,1))-1],H=U/F*B[0];return{layout:L,pixelDimIndex:x,layoutBase:A[S[x]],layoutLength:C,axisBase:A[S[1-x]],axisLength:A[T[1-x]],axisExpandable:P,axisExpandWidth:F,axisCollapseWidth:U,axisExpandWindow:B,axisCount:N,winInnerIndices:j,axisExpandWindow0Pos:H}},_layoutAxes:function(){var E=this._rect,A=this._axesMap,S=this.dimensions,T=this._makeLayoutInfo(),L=T.layout;A.each(function(x){var C=[0,T.axisLength],O=x.inverse?1:0;x.setExtent(C[O],C[1-O])}),i(S,function(x,C){var O=(T.axisExpandable?w:p)(C,T),N={horizontal:{x:O.position,y:T.axisLength},vertical:{x:0,y:O.position}},F={horizontal:t/2,vertical:0},k=[N[L].x+E.x,N[L].y+E.y],P=F[L],B=f.create();f.rotate(B,B,P),f.translate(B,B,k),this._axesLayout[x]={position:k,rotation:P,transform:B,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(E){return this._axesMap.get(E)},dataToPoint:function(E,A){return this.axisCoordToPoint(this._axesMap.get(A).dataToCoord(E),A)},eachActiveState:function(E,A,S,T){S==null&&(S=0),T==null&&(T=E.count());var L=this._axesMap,x=this.dimensions,C=[],O=[];g.each(x,function(U){C.push(E.mapDimension(U)),O.push(L.get(U).model)});for(var N=this.hasAxisBrushed(),F=S;F<T;F++){var k;if(!N)k="normal";else{k="active";for(var P=E.getValues(C,F),B=0,z=x.length;B<z;B++){var R=O[B].getActiveState(P[B]);if(R==="inactive"){k="inactive";break}}}A(k,F)}},hasAxisBrushed:function(){for(var E=this.dimensions,A=this._axesMap,S=!1,T=0,L=E.length;T<L;T++)A.get(E[T]).model.getActiveState()!=="normal"&&(S=!0);return S},axisCoordToPoint:function(E,A){var S=this._axesLayout[A];return h.applyTransform([E,0],S.transform)},getAxisLayout:function(E){return g.clone(this._axesLayout[E])},getSlidedAxisExpandWindow:function(E){var A=this._makeLayoutInfo(),S=A.pixelDimIndex,T=A.axisExpandWindow.slice(),L=T[1]-T[0],x=[0,A.axisExpandWidth*(A.axisCount-1)];if(!this.containPoint(E))return{behavior:"none",axisExpandWindow:T};var C=E[S]-A.layoutBase-A.axisExpandWindow0Pos,O,N="slide",F=A.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),P=k[0]!=null;if(F)P&&F&&C<L*k[0]?(N="jump",O=C-L*k[2]):P&&F&&C>L*(1-k[0])?(N="jump",O=C-L*(1-k[2])):(O=C-L*k[1])>=0&&(O=C-L*(1-k[1]))<=0&&(O=0),O*=A.axisExpandWidth/F,O?a(O,T,x,"all"):N="none";else{var L=T[1]-T[0],B=x[1]*C/L;T=[o(0,B-L/2)],T[1]=r(x[1],T[0]+L),T[0]=T[1]-L}return{axisExpandWindow:T,behavior:N}}};function u(E,A){return r(o(E,A[0]),A[1])}function p(E,A){var S=A.layoutLength/(A.axisCount-1);return{position:S*E,axisNameAvailableWidth:S,axisLabelShow:!0}}function w(E,A){var S=A.layoutLength,T=A.axisExpandWidth,L=A.axisCount,x=A.axisCollapseWidth,C=A.winInnerIndices,O,N=x,F=!1,k;return E<C[0]?(O=E*x,k=x):E<=C[1]?(O=A.axisExpandWindow0Pos+E*T-A.axisExpandWindow[0],N=T,F=!0):(O=S-(L-1-E)*x,k=x),{position:O,axisNameAvailableWidth:N,axisLabelShow:F,nameTruncateMaxWidth:k}}var b=s;D.exports=b},"2fGM":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});g.merge(v.prototype,m);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(a,i){return i.type||(i.data?"category":"value")}y("angle",v,c,h.angle),y("radius",v,c,h.radius)},"2fM7":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),s=e.n(t),u=e("1OyB"),p=e("vuIU"),w=e("Ji7U"),b=e("LK+K"),E=e("rePB"),A=e("Ff2n"),S=e("ODXe"),T=e("4IlW"),L=e("bX4T"),x=e("YrtM"),C=e("+nKL"),O=e("8OUc"),N=function(K,Q){var ye=K.prefixCls,ue=K.id,Ne=K.flattenOptions,Te=K.childrenAsData,oe=K.values,de=K.searchValue,Le=K.multiple,Ge=K.defaultActiveFirstOption,ht=K.height,Et=K.itemHeight,Be=K.notFoundContent,Dt=K.open,Ke=K.menuItemSelectedIcon,At=K.virtual,Xe=K.onSelect,et=K.onToggleOpen,tt=K.onActiveValue,ot=K.onScroll,Ve=K.onMouseEnter,se="".concat(ye,"-item"),re=Object(x.a)(function(){return Ne},[Dt,Ne],function(ve,me){return me[0]&&ve[1]!==me[1]}),it=n.useRef(null),qe=function(me){me.preventDefault()},be=function(me){it.current&&it.current.scrollTo({index:me})},Zt=function(me){for(var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Re=re.length,He=0;He<Re;He+=1){var ze=(me+He*he+Re)%Re,Ye=re[ze],Pe=Ye.group,nt=Ye.data;if(!Pe&&!nt.disabled)return ze}return-1},dt=n.useState(function(){return Zt(0)}),ct=Object(S.a)(dt,2),yt=ct[0],_t=ct[1],or=function(me){_t(me);var he=re[me];if(!he){tt(null,-1);return}tt(he.data.value,me)};n.useEffect(function(){or(Ge!==!1?Zt(0):-1)},[re.length,de]),n.useEffect(function(){var ve=setTimeout(function(){if(!Le&&Dt&&oe.size===1){var me=Array.from(oe)[0],he=re.findIndex(function(Re){var He=Re.data;return He.value===me});or(he),be(he)}});return function(){return clearTimeout(ve)}},[Dt]);var Bt=function(me){me!==void 0&&Xe(me,{selected:!oe.has(me)}),Le||et(!1)};if(n.useImperativeHandle(Q,function(){return{onKeyDown:function(me){var he=me.which;switch(he){case T.a.UP:case T.a.DOWN:{var Re=0;if(he===T.a.UP?Re=-1:he===T.a.DOWN&&(Re=1),Re!==0){var He=Zt(yt+Re,Re);be(He),or(He)}break}case T.a.ENTER:{var ze=re[yt];ze&&!ze.data.disabled?Bt(ze.data.value):Bt(void 0),Dt&&me.preventDefault();break}case T.a.ESC:et(!1)}},onKeyUp:function(){},scrollTo:function(me){be(me)}}}),re.length===0)return n.createElement("div",{role:"listbox",id:"".concat(ue,"_list"),className:"".concat(se,"-empty"),onMouseDown:qe},Be);function we(ve){var me=re[ve];if(!me)return null;var he=me.data||{},Re=he.value,He=he.label,ze=he.children,Ye=Object(L.a)(he,!0),Pe=Te?ze:He;return me?n.createElement("div",Object.assign({"aria-label":typeof Pe=="string"?Pe:null},Ye,{key:ve,role:"option",id:"".concat(ue,"_list_").concat(ve),"aria-selected":oe.has(Re)}),Re):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(ue,"_list"),style:{height:0,width:0,overflow:"hidden"}},we(yt-1),we(yt),we(yt+1)),n.createElement(C.a,{itemKey:"key",ref:it,data:re,height:ht,itemHeight:Et,fullHeight:!1,onMouseDown:qe,onScroll:ot,virtual:At,onMouseEnter:Ve},function(ve,me){var he,Re=ve.group,He=ve.groupOption,ze=ve.data,Ye=ze.label,Pe=ze.key;if(Re)return n.createElement("div",{className:s()(se,"".concat(se,"-group"))},Ye!==void 0?Ye:Pe);var nt=ze.disabled,bt=ze.value,Ot=ze.title,ae=ze.children,pe=ze.style,J=ze.className,ne=Object(A.a)(ze,["disabled","value","title","children","style","className"]),xe=oe.has(bt),De="".concat(se,"-option"),Fe=s()(se,De,J,(he={},Object(E.a)(he,"".concat(De,"-grouped"),He),Object(E.a)(he,"".concat(De,"-active"),yt===me&&!nt),Object(E.a)(he,"".concat(De,"-disabled"),nt),Object(E.a)(he,"".concat(De,"-selected"),xe),he)),$e=Te?ae:Ye,vt=!Ke||typeof Ke=="function"||xe;return n.createElement("div",Object.assign({},ne,{"aria-selected":xe,className:Fe,title:Ot,onMouseMove:function(){if(yt===me||nt)return;or(me)},onClick:function(){nt||Bt(bt)},style:pe}),n.createElement("div",{className:"".concat(De,"-content")},$e||bt),n.isValidElement(Ke)||xe,vt&&n.createElement(O.a,{className:"".concat(se,"-option-state"),customizeIcon:Ke,customizeIconProps:{isSelected:xe}},xe?"\u2713":null))}))},F=n.forwardRef(N);F.displayName="OptionList";var k=F,P=function(){return null};P.isSelectOption=!0;var B=P,z=function(){return null};z.isSelectOptGroup=!0;var R=z,U=e("VTBJ"),j=e("Zm9Q");function H(Y){var K=Y.key,Q=Y.props,ye=Q.children,ue=Q.value,Ne=Object(A.a)(Q,["children","value"]);return Object(U.a)({key:K,value:ue!==void 0?ue:K,children:ye},Ne)}function V(Y){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(j.a)(Y).map(function(Q,ye){if(!n.isValidElement(Q)||!Q.type)return null;var ue=Q.type.isSelectOptGroup,Ne=Q.key,Te=Q.props,oe=Te.children,de=Object(A.a)(Te,["children"]);return K||!ue?H(Q):Object(U.a)(Object(U.a)({key:"__RC_SELECT_GRP__".concat(Ne===null?ye:Ne,"__"),label:Ne},de),{},{options:V(oe)})}).filter(function(Q){return Q})}var X=e("2Qr1"),W=e("qNPg"),G=e("U8pU"),$=e("Kwbf"),ge=e("WKfj");function q(Y){var K=Y.mode,Q=Y.options,ye=Y.children,ue=Y.backfill,Ne=Y.allowClear,Te=Y.placeholder,oe=Y.getInputElement,de=Y.showSearch,Le=Y.onSearch,Ge=Y.defaultOpen,ht=Y.autoFocus,Et=Y.labelInValue,Be=Y.value,Dt=Y.inputValue,Ke=Y.optionLabelProp,At=K==="multiple"||K==="tags",Xe=de!==void 0?de:At||K==="combobox",et=Q||V(ye);if(Object($.a)(K!=="tags"||et.every(function(se){return!se.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),K==="tags"||K==="combobox"){var tt=et.some(function(se){return se.options?se.options.some(function(re){return typeof("value"in re?re.value:re.key)=="number"}):typeof("value"in se?se.value:se.key)=="number"});Object($.a)(!tt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object($.a)(K!=="combobox"||!Ke,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object($.a)(K==="combobox"||!ue,"`backfill` only works with `combobox` mode."),Object($.a)(K==="combobox"||!oe,"`getInputElement` only work with `combobox` mode."),Object($.b)(K!=="combobox"||!oe||!Ne||!Te,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Le&&!Xe&&K!=="combobox"&&K!=="tags"&&Object($.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object($.b)(!Ge||ht,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Be!=null){var ot=Object(ge.d)(Be);Object($.a)(!Et||ot.every(function(se){return Object(G.a)(se)==="object"&&("key"in se||"value"in se)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object($.a)(!At||Array.isArray(Be),"`value` should be array when `mode` is `multiple` or `tags`")}if(ye){var Ve=null;Object(j.a)(ye).some(function(se){if(!n.isValidElement(se)||!se.type)return!1;var re=se.type;if(re.isSelectOption)return!1;if(re.isSelectOptGroup){var it=Object(j.a)(se.props.children).every(function(qe){return!n.isValidElement(qe)||!se.type||qe.type.isSelectOption?!0:(Ve=qe.type,!1)});return!it}return Ve=re,!0}),Ve&&Object($.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object($.a)(Dt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var Se=q,Ce=Object(W.a)({prefixCls:"rc-select",components:{optionList:k},convertChildrenToData:V,flattenOptions:X.d,getLabeledValue:X.e,filterOptions:X.b,isValueDisabled:X.g,findValueOption:X.c,warningProps:Se,fillOptionsWithMissingValue:X.a}),Ae=function(Y){Object(w.a)(Q,Y);var K=Object(b.a)(Q);function Q(){var ye;return Object(u.a)(this,Q),ye=K.apply(this,arguments),ye.selectRef=n.createRef(),ye.focus=function(){ye.selectRef.current.focus()},ye.blur=function(){ye.selectRef.current.blur()},ye}return Object(p.a)(Q,[{key:"render",value:function(){return n.createElement(Ce,Object.assign({ref:this.selectRef},this.props))}}]),Q}(n.Component);Ae.Option=B,Ae.OptGroup=R;var Ue=Ae,Qe=Ue,gt=e("H84U"),_e=e("1vzs"),Oe=e("3Nzz"),lt=function(Y){r()(Q,Y);var K=d()(Q);function Q(){var ye;return h()(this,Q),ye=K.apply(this,arguments),ye.selectRef=n.createRef(),ye.focus=function(){ye.selectRef.current&&ye.selectRef.current.focus()},ye.blur=function(){ye.selectRef.current&&ye.selectRef.current.blur()},ye.getMode=function(){var ue=ye.props.mode;return ue==="combobox"?void 0:ue===Q.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":ue},ye.renderSelect=function(ue){var Ne=ue.getPopupContainer,Te=ue.getPrefixCls,oe=ue.renderEmpty,de=ue.direction,Le=ue.virtual,Ge=ue.dropdownMatchSelectWidth,ht=ye.props,Et=ht.prefixCls,Be=ht.notFoundContent,Dt=ht.className,Ke=ht.size,At=ht.listHeight,Xe=At===void 0?256:At,et=ht.listItemHeight,tt=et===void 0?24:et,ot=ht.getPopupContainer,Ve=ht.dropdownClassName,se=ht.bordered,re=Te("select",Et),it=ye.getMode(),qe=it==="multiple"||it==="tags",be;Be!==void 0?be=Be:it==="combobox"?be=null:be=oe("Select");var Zt=Object(_e.a)(m()(m()({},ye.props),{multiple:qe,prefixCls:re})),dt=Zt.suffixIcon,ct=Zt.itemIcon,yt=Zt.removeIcon,_t=Zt.clearIcon,or=Object(l.default)(ye.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Bt=s()(Ve,f()({},"".concat(re,"-dropdown-").concat(de),de==="rtl"));return n.createElement(Oe.b.Consumer,null,function(we){var ve,me=Ke||we,he=s()(Dt,(ve={},f()(ve,"".concat(re,"-lg"),me==="large"),f()(ve,"".concat(re,"-sm"),me==="small"),f()(ve,"".concat(re,"-rtl"),de==="rtl"),f()(ve,"".concat(re,"-borderless"),!se),ve));return n.createElement(Qe,m()({ref:ye.selectRef,virtual:Le,dropdownMatchSelectWidth:Ge},or,{listHeight:Xe,listItemHeight:tt,mode:it,prefixCls:re,direction:de,inputIcon:dt,menuItemSelectedIcon:ct,removeIcon:yt,clearIcon:_t,notFoundContent:be,className:he,getPopupContainer:ot||Ne,dropdownClassName:Bt}))})},ye}return a()(Q,[{key:"render",value:function(){return n.createElement(gt.a,null,this.renderSelect)}}]),Q}(n.Component);lt.Option=B,lt.OptGroup=R,lt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",lt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ce=_.a=lt},"2fw6":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,v,h){h&&m.moveTo(v.cx+v.r,v.cy),m.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});D.exports=f},"2gN3":function(D,_,e){var g=e("Kz5y"),f=g["__core-js_shared__"];D.exports=f},"2jpz":function(D,_,e){"use strict";e.d(_,"a",function(){return p});var g=e("cDf5"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("TSYQ"),h=e.n(v),c=e("gZBC"),a=e.n(c),i=e("vk+C"),r=e.n(i),o=e("pG52"),d=e.n(o),n=e("Csr3"),l=e.n(n),t=e("e5VY"),s=e.n(t),u=e("0n0R");function p(w,b,E,A){var S=A.isLeaf,T=A.expanded,L=A.loading;if(L)return y.createElement(a.a,{className:"".concat(w,"-switcher-loading-icon")});var x;if(E&&f()(E)==="object"&&(x=E.showLeafIcon),S)return E?f()(E)==="object"&&!x?y.createElement("span",{className:"".concat(w,"-switcher-leaf-line")}):y.createElement(r.a,{className:"".concat(w,"-switcher-line-icon")}):null;var C="".concat(w,"-switcher-icon");return Object(u.b)(b)?Object(u.a)(b,{className:h()(b.props.className||"",C)}):b||(E?T?y.createElement(d.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(l.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(s.a,{className:C}))}},"2oIt":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};_.default=g},"2uGb":function(D,_,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),y=e("nKiI");g.registerVisual(f),g.registerLayout(y)},"2w7y":function(D,_,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(D,_,e){var g=e("ProS"),f=e("b9oc"),y=e("Kagy"),m=e("IUWy"),v=y.toolbox.restore;function h(i){this.model=i}h.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:v.title};var c=h.prototype;c.onclick=function(i,r,o){f.clear(i),r.dispatchAction({type:"restore",from:this.uid})},m.register("restore",h),g.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(i,r){r.resetOption("recreate")});var a=h;D.exports=a},"34/K":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._lines=0}return y(v,[{key:"decodeRect",value:function(c,a,i,r,o,d,n){this._lines===0&&(this._lines=r);var l=n==8?1:4,t=i*l;if(o.rQwait("RAW",t))return!1;var s=a+(r-this._lines),u=Math.min(this._lines,Math.floor(o.rQlen/t)),p=o.rQ,w=o.rQi;if(n==8){for(var b=i*u,E=new Uint8Array(b*4),A=0;A<b;A++)E[A*4+0]=(p[w+A]>>0&3)*255/3,E[A*4+1]=(p[w+A]>>2&3)*255/3,E[A*4+2]=(p[w+A]>>4&3)*255/3,E[A*4+4]=0;p=E,w=0}return d.blitImage(c,s,i,u,p,w),o.rQskipBytes(u*t),this._lines-=u,!(this._lines>0)}}]),v}();_.default=m},"3690":function(D,_,e){"use strict";function g(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(o){return typeof o}:g=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},g(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return y=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||g(i)!=="object"&&typeof i!="function")return{default:i};var r=y();if(r&&r.has(i))return r.get(i);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var l=d?Object.getOwnPropertyDescriptor(i,n):null;l&&(l.get||l.set)?Object.defineProperty(o,n,l):o[n]=i[n]}return o.default=i,r&&r.set(i,o),o}function v(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function h(i,r){for(var o=0;o<r.length;o++){var d=r[o];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(i,d.key,d)}}function c(i,r,o){return r&&h(i.prototype,r),o&&h(i,o),i}var a=function(){function i(){v(this,i),this._tiles=0,this._lastsubencoding=0}return c(i,[{key:"decodeRect",value:function(o,d,n,l,t,s,u){for(this._tiles===0&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var p=1;if(t.rQwait("HEXTILE",p))return!1;var w=t.rQ,b=t.rQi,E=w[b];if(E>30)throw new Error("Illegal hextile subencoding (subencoding: "+E+")");var A=this._totalTiles-this._tiles,S=A%this._tilesX,T=Math.floor(A/this._tilesX),L=o+S*16,x=d+T*16,C=Math.min(16,o+n-L),O=Math.min(16,d+l-x);if(E&1)p+=C*O*4;else if(E&2&&(p+=4),E&4&&(p+=4),E&8){if(p++,t.rQwait("HEXTILE",p))return!1;var N=w[b+p-1];E&16?p+=N*(4+2):p+=N*2}if(t.rQwait("HEXTILE",p))return!1;if(b++,E===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(L,x,C,O,this._background);else if(E&1)s.blitImage(L,x,C,O,w,b),b+=p-1;else{if(E&2&&(this._background=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),E&4&&(this._foreground=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),s.startTile(L,x,C,O,this._background),E&8){var F=w[b];b++;for(var k=0;k<F;k++){var P=void 0;E&16?(P=[w[b],w[b+1],w[b+2],w[b+3]],b+=4):P=this._foreground;var B=w[b];b++;var z=B>>4,R=B&15,U=w[b];b++;var j=(U>>4)+1,H=(U&15)+1;s.subTile(z,R,j,H,P)}}s.finishTile()}t.rQi=b,this._lastsubencoding=E,this._tiles--}return!0}}]),i}();_.default=a},"3A9y":function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},"3C/r":function(D,_){var e=function(y,m){this.image=y,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;D.exports=g},"3CBa":function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),m=e("SUKs"),v=e("y+Vt"),h=e("Dagg"),c=e("dqUG"),a=e("DBLp"),i=e("sW+o"),r=e("n6Mw"),o=e("vKoX"),d=e("P47w"),n=d.path,l=d.image,t=d.text;function s(C){return parseInt(C,10)}function u(C){return C instanceof v?n:C instanceof h?l:C instanceof c?t:n}function p(C,O){return O&&C&&O.parentNode!==C}function w(C,O,N){if(p(C,O)&&N){var F=N.nextSibling;F?C.insertBefore(O,F):C.appendChild(O)}}function b(C,O){if(p(C,O)){var N=C.firstChild;N?C.insertBefore(O,N):C.appendChild(O)}}function E(C,O){O&&C&&O.parentNode===C&&C.removeChild(O)}function A(C){return C.__textSvgEl}function S(C){return C.__svgEl}var T=function(O,N,F,k){this.root=O,this.storage=N,this._opts=F=y.extend({},F||{});var P=f("svg");P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P.setAttribute("version","1.1"),P.setAttribute("baseProfile","full"),P.style.cssText="user-select:none;position:absolute;left:0;top:0;";var B=f("g");P.appendChild(B);var z=f("g");P.appendChild(z),this.gradientManager=new i(k,z),this.clipPathManager=new r(k,z),this.shadowManager=new o(k,z);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=z,this._backgroundRoot=B,this._viewport=R,O.appendChild(R),R.appendChild(P),this.resize(F.width,F.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var N=f("rect");N.setAttribute("width",this.getWidth()),N.setAttribute("height",this.getHeight()),N.setAttribute("x",0),N.setAttribute("y",0),N.setAttribute("id",0),N.style.fill=O,this._backgroundRoot.appendChild(N),this._backgroundNode=N},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var N=this._svgRoot,F=this._visibleList,k=O.length,P=[],B;for(B=0;B<k;B++){var z=O[B],R=u(z),U=S(z)||A(z);z.invisible||(z.__dirty&&(R&&R.brush(z),this.clipPathManager.update(z),z.style&&(this.gradientManager.update(z.style.fill),this.gradientManager.update(z.style.stroke),this.shadowManager.update(U,z)),z.__dirty=!1),P.push(z))}var j=a(F,P),H;for(B=0;B<j.length;B++){var V=j[B];if(V.removed)for(var X=0;X<V.count;X++){var z=F[V.indices[X]],U=S(z),W=A(z);E(N,U),E(N,W)}}for(B=0;B<j.length;B++){var V=j[B];if(V.added)for(var X=0;X<V.count;X++){var z=P[V.indices[X]],U=S(z),W=A(z);H?w(N,U,H):b(N,U),U?w(N,W,U):H?w(N,W,H):b(N,W),w(N,W,U),H=W||U||H,this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z)}else if(!V.removed)for(var X=0;X<V.count;X++){var z=P[V.indices[X]],U=S(z),W=A(z),U=S(z),W=A(z);this.gradientManager.markUsed(z),this.gradientManager.addWithoutUpdate(U||W,z),this.shadowManager.markUsed(z),this.shadowManager.addWithoutUpdate(U||W,z),this.clipPathManager.markUsed(z),W&&w(N,W,U),H=U||W||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=P},_getDefs:function(O){var N=this._svgDom,F=N.getElementsByTagName("defs");if(F.length===0)if(O){var F=N.insertBefore(f("defs"),N.firstChild);return F.contains||(F.contains=function(P){var B=F.children;if(!B)return!1;for(var z=B.length-1;z>=0;--z)if(B[z]===P)return!0;return!1}),F}else return null;else return F[0]},resize:function(O,N){var F=this._viewport;F.style.display="none";var k=this._opts;if(O!=null&&(k.width=O),N!=null&&(k.height=N),O=this._getSize(0),N=this._getSize(1),F.style.display="",this._width!==O||this._height!==N){this._width=O,this._height=N;var P=F.style;P.width=O+"px",P.height=N+"px";var B=this._svgDom;B.setAttribute("width",O),B.setAttribute("height",N)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",N))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var N=this._opts,F=["width","height"][O],k=["clientWidth","clientHeight"][O],P=["paddingLeft","paddingTop"][O],B=["paddingRight","paddingBottom"][O];if(N[F]!=null&&N[F]!=="auto")return parseFloat(N[F]);var z=this.root,R=document.defaultView.getComputedStyle(z);return(z[k]||s(R[F])||s(z.style[F]))-(s(R[P])||0)-(s(R[B])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function L(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}y.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){T.prototype[C]=L(C)});var x=T;D.exports=x},"3Fdi":function(D,_){var e=Function.prototype,g=e.toString;function f(y){if(y!=null){try{return g.call(y)}catch(m){}try{return y+""}catch(m){}}return""}D.exports=f},"3LNs":function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),y=e("IwbS"),m=e("zTMp"),v=e("YH21"),h=e("iLNv"),c=e("4NO4"),a=c.makeInner,i=a(),r=g.clone,o=g.bind;function d(){}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(w,b,E,A){var S=b.get("value"),T=b.get("status");if(this._axisModel=w,this._axisPointerModel=b,this._api=E,!A&&this._lastValue===S&&this._lastStatus===T)return;this._lastValue=S,this._lastStatus=T;var L=this._group,x=this._handle;if(!T||T==="hide"){L&&L.hide(),x&&x.hide();return}L&&L.show(),x&&x.show();var C={};this.makeElOption(C,S,w,b,E);var O=C.graphicKey;O!==this._lastGraphicKey&&this.clear(E),this._lastGraphicKey=O;var N=this._moveAnimation=this.determineAnimation(w,b);if(!L)L=this._group=new y.Group,this.createPointerEl(L,C,w,b),this.createLabelEl(L,C,w,b),E.getZr().add(L);else{var F=g.curry(n,b,N);this.updatePointerEl(L,C,F,b),this.updateLabelEl(L,C,F,b)}u(L,b,!0),this._renderHandle(S)},remove:function(w){this.clear(w)},dispose:function(w){this.clear(w)},determineAnimation:function(w,b){var E=b.get("animation"),A=w.axis,S=A.type==="category",T=b.get("snap");if(!T&&!S)return!1;if(E==="auto"||E==null){var L=this.animationThreshold;if(S&&A.getBandWidth()>L)return!0;if(T){var x=m.getAxisInfo(w).seriesDataCount,C=A.getExtent();return Math.abs(C[0]-C[1])/x>L}return!1}return E===!0},makeElOption:function(w,b,E,A,S){},createPointerEl:function(w,b,E,A){var S=b.pointer;if(S){var T=i(w).pointerEl=new y[S.type](r(b.pointer));w.add(T)}},createLabelEl:function(w,b,E,A){if(b.label){var S=i(w).labelEl=new y.Rect(r(b.label));w.add(S),t(S,A)}},updatePointerEl:function(w,b,E){var A=i(w).pointerEl;A&&b.pointer&&(A.setStyle(b.pointer.style),E(A,{shape:b.pointer.shape}))},updateLabelEl:function(w,b,E,A){var S=i(w).labelEl;S&&(S.setStyle(b.label.style),E(S,{shape:b.label.shape,position:b.label.position}),t(S,A))},_renderHandle:function(w){if(this._dragging||!this.updateHandleTransform)return;var b=this._axisPointerModel,E=this._api.getZr(),A=this._handle,S=b.getModel("handle"),T=b.get("status");if(!S.get("show")||!T||T==="hide"){A&&E.remove(A),this._handle=null;return}var L;this._handle||(L=!0,A=this._handle=y.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){v.stop(O.event)},onmousedown:o(this._onHandleDragMove,this,0,0),drift:o(this._onHandleDragMove,this),ondragend:o(this._onHandleDragEnd,this)}),E.add(A)),u(A,b,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];A.setStyle(S.getItemStyle(null,x));var C=S.get("size");g.isArray(C)||(C=[C,C]),A.attr("scale",[C[0]/2,C[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(w,L)},_moveHandleToValue:function(w,b){n(this._axisPointerModel,!b&&this._moveAnimation,this._handle,s(this.getHandleTransform(w,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(w,b){var E=this._handle;if(!E)return;this._dragging=!0;var A=this.updateHandleTransform(s(E),[w,b],this._axisModel,this._axisPointerModel);this._payloadInfo=A,E.stopAnimation(),E.attr(s(A)),i(E).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var w=this._handle;if(!w)return;var b=this._payloadInfo,E=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:b.cursorPoint[0],y:b.cursorPoint[1],tooltipOption:b.tooltipOption,axesInfo:[{axisDim:E.axis.dim,axisIndex:E.componentIndex}]})},_onHandleDragEnd:function(w){this._dragging=!1;var b=this._handle;if(!b)return;var E=this._axisPointerModel.get("value");this._moveHandleToValue(E),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(w){this._lastValue=null,this._lastStatus=null;var b=w.getZr(),E=this._group,A=this._handle;b&&E&&(this._lastGraphicKey=null,E&&b.remove(E),A&&b.remove(A),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(w,b,E){return E=E||0,{x:w[E],y:w[1-E],width:b[E],height:b[1-E]}}},d.prototype.constructor=d;function n(w,b,E,A){l(i(E).lastProp,A)||(i(E).lastProp=A,b?y.updateProps(E,A,w):(E.stopAnimation(),E.attr(A)))}function l(w,b){if(g.isObject(w)&&g.isObject(b)){var E=!0;return g.each(b,function(A,S){E=E&&l(w[S],A)}),!!E}else return w===b}function t(w,b){w[b.get("label.show")?"show":"hide"]()}function s(w){return{position:w.position.slice(),rotation:w.rotation||0}}function u(w,b,E){var A=b.get("z"),S=b.get("zlevel");w&&w.traverse(function(T){T.type!=="group"&&(A!=null&&(T.z=A),S!=null&&(T.zlevel=S),T.silent=E)})}f.enableClassExtend(d);var p=d;D.exports=p},"3OrL":function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),m=e("y+Vt"),v=["itemStyle"],h=["emphasis","itemStyle"],c=f.extend({type:"boxplot",render:function(n,l,t){var s=n.getData(),u=this.group,p=this._data;this._data||u.removeAll();var w=n.get("layout")==="horizontal"?1:0;s.diff(p).add(function(b){if(s.hasValue(b)){var E=s.getItemLayout(b),A=i(E,s,b,w,!0);s.setItemGraphicEl(b,A),u.add(A)}}).update(function(b,E){var A=p.getItemGraphicEl(E);if(!s.hasValue(b)){u.remove(A);return}var S=s.getItemLayout(b);A?r(S,A,s,b):A=i(S,s,b,w),u.add(A),s.setItemGraphicEl(b,A)}).remove(function(b){var E=p.getItemGraphicEl(b);E&&u.remove(E)}).execute(),this._data=s},remove:function(n){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:g.noop}),a=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,l){var t=l.points,s=0;for(n.moveTo(t[s][0],t[s][1]),s++;s<4;s++)n.lineTo(t[s][0],t[s][1]);for(n.closePath();s<t.length;s++)n.moveTo(t[s][0],t[s][1]),s++,n.lineTo(t[s][0],t[s][1])}});function i(n,l,t,s,u){var p=n.ends,w=new a({shape:{points:u?o(p,s,n):p}});return r(n,w,l,t,u),w}function r(n,l,t,s,u){var p=t.hostModel,w=y[u?"initProps":"updateProps"];w(l,{shape:{points:n.ends}},p,s);var b=t.getItemModel(s),E=b.getModel(v),A=t.getItemVisual(s,"color"),S=E.getItemStyle(["borderColor"]);S.stroke=A,S.strokeNoScale=!0,l.useStyle(S),l.z2=100;var T=b.getModel(h).getItemStyle();y.setHoverStyle(l,T)}function o(n,l,t){return g.map(n,function(s){return s=s.slice(),s[l]=t.initBaseline,s})}var d=c;D.exports=d},"3S7+":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("q1tI"),a=e.n(c),i=e("uciX"),r={adjustX:1,adjustY:1},o=[0,0],d={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}},n=d,l=function(W){var G=W.overlay,$=W.prefixCls,ge=W.id,q=W.overlayInnerStyle;return a.a.createElement("div",{className:"".concat($,"-inner"),id:ge,role:"tooltip",style:q},typeof G=="function"?G():G)},t=l;function s(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(G){return typeof G}:s=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},s(X)}function u(X,W){var G=Object.keys(X);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(X);W&&($=$.filter(function(ge){return Object.getOwnPropertyDescriptor(X,ge).enumerable})),G.push.apply(G,$)}return G}function p(X){for(var W=1;W<arguments.length;W++){var G=arguments[W]!=null?arguments[W]:{};W%2?u(Object(G),!0).forEach(function($){w(X,$,G[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(G)):u(Object(G)).forEach(function($){Object.defineProperty(X,$,Object.getOwnPropertyDescriptor(G,$))})}return X}function w(X,W,G){return W in X?Object.defineProperty(X,W,{value:G,enumerable:!0,configurable:!0,writable:!0}):X[W]=G,X}function b(X,W){if(X==null)return{};var G=E(X,W),$,ge;if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(X);for(ge=0;ge<q.length;ge++){if($=q[ge],W.indexOf($)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(X,$))continue;G[$]=X[$]}}return G}function E(X,W){if(X==null)return{};var G={},$=Object.keys(X),ge,q;for(q=0;q<$.length;q++){if(ge=$[q],W.indexOf(ge)>=0)continue;G[ge]=X[ge]}return G}var A=function(W,G){var $=W.overlayClassName,ge=W.trigger,q=ge===void 0?["hover"]:ge,Se=W.mouseEnterDelay,Ce=Se===void 0?0:Se,Ae=W.mouseLeaveDelay,Ue=Ae===void 0?.1:Ae,Qe=W.overlayStyle,gt=W.prefixCls,_e=gt===void 0?"rc-tooltip":gt,Oe=W.children,lt=W.onVisibleChange,ce=W.afterVisibleChange,Y=W.transitionName,K=W.animation,Q=W.placement,ye=Q===void 0?"right":Q,ue=W.align,Ne=ue===void 0?{}:ue,Te=W.destroyTooltipOnHide,oe=Te===void 0?!1:Te,de=W.defaultVisible,Le=W.getTooltipContainer,Ge=W.overlayInnerStyle,ht=b(W,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Et=Object(c.useRef)(null);Object(c.useImperativeHandle)(G,function(){return Et.current});var Be=p({},ht);"visible"in W&&(Be.popupVisible=W.visible);var Dt=function(){var tt=W.arrowContent,ot=tt===void 0?null:tt,Ve=W.overlay,se=W.id;return[a.a.createElement("div",{className:"".concat(_e,"-arrow"),key:"arrow"},ot),a.a.createElement(t,{key:"content",prefixCls:_e,id:se,overlay:Ve,overlayInnerStyle:Ge})]},Ke=!1,At=!1;if(typeof oe=="boolean")Ke=oe;else if(oe&&s(oe)==="object"){var Xe=oe.keepParent;Ke=Xe===!0,At=Xe===!1}return a.a.createElement(i.a,Object.assign({popupClassName:$,prefixCls:_e,popup:Dt,action:q,builtinPlacements:d,popupPlacement:ye,ref:Et,popupAlign:Ne,getPopupContainer:Le,onPopupVisibleChange:lt,afterPopupVisibleChange:ce,popupTransitionName:Y,popupAnimation:K,defaultPopupVisible:de,destroyPopupOnHide:Ke,autoDestroy:At,mouseLeaveDelay:Ue,popupStyle:Qe,mouseEnterDelay:Ce},Be),Oe)},S=Object(c.forwardRef)(A),T=S,L=e("TSYQ"),x=e.n(L),C={adjustX:1,adjustY:1},O={adjustX:0,adjustY:0},N=[0,0];function F(X){return typeof X=="boolean"?X?C:O:h()(h()({},O),X)}function k(X){var W=X.arrowWidth,G=W===void 0?5:W,$=X.horizontalArrowShift,ge=$===void 0?16:$,q=X.verticalArrowShift,Se=q===void 0?8:q,Ce=X.autoAdjustOverflow,Ae={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(ge+G),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(Se+G)]},topRight:{points:["br","tc"],offset:[ge+G,-4]},rightTop:{points:["tl","cr"],offset:[4,-(Se+G)]},bottomRight:{points:["tr","bc"],offset:[ge+G,4]},rightBottom:{points:["bl","cr"],offset:[4,Se+G]},bottomLeft:{points:["tl","bc"],offset:[-(ge+G),4]},leftBottom:{points:["br","cl"],offset:[-4,Se+G]}};return Object.keys(Ae).forEach(function(Ue){Ae[Ue]=X.arrowPointAtCenter?h()(h()({},Ae[Ue]),{overflow:F(Ce),targetOffset:N}):h()(h()({},d[Ue]),{overflow:F(Ce)}),Ae[Ue].ignoreShake=!0}),Ae}var P=e("0n0R"),B=e("H84U"),z=e("09Wf"),R=function(W,G){var $={},ge=h()({},W);return G.forEach(function(q){W&&q in W&&($[q]=W[q],delete ge[q])}),{picked:$,omitted:ge}},U=new RegExp("^(".concat(z.a.join("|"),")(-inverse)?$"));function j(X,W){var G=X.type;if((G.__ANT_BUTTON===!0||G.__ANT_SWITCH===!0||G.__ANT_CHECKBOX===!0||X.type==="button")&&X.props.disabled){var $=R(X.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ge=$.picked,q=$.omitted,Se=h()(h()({display:"inline-block"},ge),{cursor:"not-allowed",width:X.props.block?"100%":null}),Ce=h()(h()({},q),{pointerEvents:"none"}),Ae=Object(P.a)(X,{style:Ce,className:null});return c.createElement("span",{style:Se,className:x()(X.props.className,"".concat(W,"-disabled-compatible-wrapper"))},Ae)}return X}var H=c.forwardRef(function(X,W){var G,$=c.useContext(B.b),ge=$.getPopupContainer,q=$.getPrefixCls,Se=$.direction,Ce=c.useState(!!X.visible||!!X.defaultVisible),Ae=m()(Ce,2),Ue=Ae[0],Qe=Ae[1];c.useEffect(function(){"visible"in X&&Qe(X.visible)},[X.visible]);var gt=function(){var Xe=X.title,et=X.overlay;return!Xe&&!et&&Xe!==0},_e=function(Xe){"visible"in X||Qe(gt()?!1:Xe),X.onVisibleChange&&!gt()&&X.onVisibleChange(Xe)},Oe=function(){var Xe=X.builtinPlacements,et=X.arrowPointAtCenter,tt=X.autoAdjustOverflow;return Xe||k({arrowPointAtCenter:et,autoAdjustOverflow:tt})},lt=function(Xe,et){var tt=Oe(),ot=Object.keys(tt).filter(function(re){return tt[re].points[0]===et.points[0]&&tt[re].points[1]===et.points[1]})[0];if(!ot)return;var Ve=Xe.getBoundingClientRect(),se={top:"50%",left:"50%"};ot.indexOf("top")>=0||ot.indexOf("Bottom")>=0?se.top="".concat(Ve.height-et.offset[1],"px"):(ot.indexOf("Top")>=0||ot.indexOf("bottom")>=0)&&(se.top="".concat(-et.offset[1],"px")),ot.indexOf("left")>=0||ot.indexOf("Right")>=0?se.left="".concat(Ve.width-et.offset[0],"px"):(ot.indexOf("right")>=0||ot.indexOf("Left")>=0)&&(se.left="".concat(-et.offset[0],"px")),Xe.style.transformOrigin="".concat(se.left," ").concat(se.top)},ce=function(){var Xe=X.title,et=X.overlay;return Xe===0?Xe:et||Xe||""},Y=X.prefixCls,K=X.openClassName,Q=X.getPopupContainer,ye=X.getTooltipContainer,ue=X.overlayClassName,Ne=X.color,Te=X.overlayInnerStyle,oe=X.children,de=q("tooltip",Y),Le=Ue;!("visible"in X)&>()&&(Le=!1);var Ge=j(Object(P.b)(oe)?oe:c.createElement("span",null,oe),de),ht=Ge.props,Et=x()(ht.className,f()({},K||"".concat(de,"-open"),!0)),Be=x()(ue,(G={},f()(G,"".concat(de,"-rtl"),Se==="rtl"),f()(G,"".concat(de,"-").concat(Ne),Ne&&U.test(Ne)),G)),Dt,Ke;return Ne&&!U.test(Ne)&&(Dt=h()(h()({},Te),{background:Ne}),Ke={background:Ne}),c.createElement(T,h()({},X,{prefixCls:de,overlayClassName:Be,getTooltipContainer:Q||ye||ge,ref:W,builtinPlacements:Oe(),overlay:ce(),visible:Le,onVisibleChange:_e,onPopupAlign:lt,overlayInnerStyle:Dt,arrowContent:c.createElement("span",{className:"".concat(de,"-arrow-content"),style:Ke})}),Le?Object(P.a)(Ge,{className:Et}):Ge)});H.displayName="Tooltip",H.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var V=_.a=H},"3TkU":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(D,_,e){var g=e("bYtY"),f=e("7a+S"),y=e("OKJ2"),m=f.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});g.mixin(m,y);var v=m;D.exports=v},"3dVZ":function(D,_,e){},"3e3G":function(D,_,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,c,a,i,r){this.x=h==null?.5:h,this.y=c==null?.5:c,this.r=a==null?.5:a,this.type="radial",this.global=r||!1,f.call(this,i)};y.prototype={constructor:y},g.inherits(y,f);var m=y;D.exports=m},"3gBT":function(D,_){var e=2311;function g(){return e++}D.exports=g},"3hzK":function(D,_){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};D.exports=e},"3m61":function(D,_){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(y){var m=y.getGraph(),v=y.getEdgeData(),h=e(y.get("edgeSymbol")),c=e(y.get("edgeSymbolSize")),a="lineStyle.color".split("."),i="lineStyle.opacity".split(".");v.setVisual("fromSymbol",h&&h[0]),v.setVisual("toSymbol",h&&h[1]),v.setVisual("fromSymbolSize",c&&c[0]),v.setVisual("toSymbolSize",c&&c[1]),v.setVisual("color",y.get(a)),v.setVisual("opacity",y.get(i)),v.each(function(r){var o=v.getItemModel(r),d=m.getEdgeByIndex(r),n=e(o.getShallow("symbol",!0)),l=e(o.getShallow("symbolSize",!0)),t=o.get(a),s=o.get(i);switch(t){case"source":t=d.node1.getVisual("color");break;case"target":t=d.node2.getVisual("color");break}n[0]&&d.setVisual("fromSymbol",n[0]),n[1]&&d.setVisual("toSymbol",n[1]),l[0]&&d.setVisual("fromSymbolSize",l[0]),l[1]&&d.setVisual("toSymbolSize",l[1]),d.setVisual("color",t),d.setVisual("opacity",s)})})}D.exports=g},"3ouR":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseSquareOutlined";var h=_.a=g.forwardRef(v)},"3zoK":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("KCsZ"),m=e("nkfE"),v=e("OELB"),h=e("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return y([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(o){var d=this.activeIntervals=g.clone(o);if(d)for(var n=d.length-1;n>=0;n--)v.asc(d[n])},getActiveState:function(o){var d=this.activeIntervals;if(!d.length)return"normal";if(o==null||isNaN(o))return"inactive";if(d.length===1){var n=d[0];if(n[0]<=o&&o<=n[1])return"active"}else for(var l=0,t=d.length;l<t;l++)if(d[l][0]<=o&&o<=d[l][1])return"active";return"inactive"}}),a={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};g.merge(c.prototype,h);function i(o,d){return d.type||(d.data?"category":"value")}m("parallel",c,i,a);var r=c;D.exports=r},"49sm":function(D,_){var e={}.toString;D.exports=Array.isArray||function(g){return e.call(g)=="[object Array]"}},"4Feb":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("IwbS"),v=e("x3X8"),h=v.getDefaultLabel,c=e("MwEJ"),a=e("nVfU"),i=a.getLayoutOnAxis,r=e("gPAo"),o=e("T4UG"),d=e("Qxkt"),n=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,s=e("qj72"),u=e("ANjR"),p=e("MHtr"),w=e("6usn"),b=e("Rx6q"),E=m.CACHED_LABEL_STYLE_PROPERTIES,A=["itemStyle"],S=["emphasis","itemStyle"],T=["label"],L=["emphasis","label"],x="e\0\0",C={cartesian2d:s,geo:u,singleAxis:p,polar:w,calendar:b};o.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(q,Se){return c(this.getSource(),this)},getDataParams:function(q,Se,Ce){var Ae=o.prototype.getDataParams.apply(this,arguments);return Ce&&(Ae.info=Ce.info),Ae}}),n.extend({type:"custom",_data:null,render:function(q,Se,Ce,Ae){var Ue=this._data,Qe=q.getData(),gt=this.group,_e=k(q,Qe,Se,Ce);Qe.diff(Ue).add(function(lt){B(null,lt,_e(lt,Ae),q,gt,Qe)}).update(function(lt,ce){var Y=Ue.getItemGraphicEl(ce);B(Y,lt,_e(lt,Ae),q,gt,Qe)}).remove(function(lt){var ce=Ue.getItemGraphicEl(lt);ce&>.remove(ce)}).execute();var Oe=q.get("clip",!0)?t(q.coordinateSystem,!1,q):null;Oe?gt.setClipPath(Oe):gt.removeClipPath(),this._data=Qe},incrementalPrepareRender:function(q,Se,Ce){this.group.removeAll(),this._data=null},incrementalRender:function(q,Se,Ce,Ae,Ue){var Qe=Se.getData(),gt=k(Se,Qe,Ce,Ae);function _e(ce){ce.isGroup||(ce.incremental=!0,ce.useHoverLayer=!0)}for(var Oe=q.start;Oe<q.end;Oe++){var lt=B(null,Oe,gt(Oe,Ue),Se,this.group,Qe);lt.traverse(_e)}},dispose:y.noop,filterForExposedEvent:function(q,Se,Ce,Ae){var Ue=Se.element;if(Ue==null||Ce.name===Ue)return!0;for(;(Ce=Ce.parent)&&Ce!==this.group;)if(Ce.name===Ue)return!0;return!1}});function O(q){var Se=q.type,Ce;if(Se==="path"){var Ae=q.shape,Ue=Ae.width!=null&&Ae.height!=null?{x:Ae.x||0,y:Ae.y||0,width:Ae.width,height:Ae.height}:null,Qe=G(Ae);Ce=m.makePath(Qe,null,Ue,Ae.layout||"center"),Ce.__customPathData=Qe}else if(Se==="image")Ce=new m.Image({}),Ce.__customImagePath=q.style.image;else if(Se==="text")Ce=new m.Text({}),Ce.__customText=q.style.text;else if(Se==="group")Ce=new m.Group;else{if(Se==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var gt=m.getShapeClass(Se);Ce=new gt}return Ce.__customGraphicType=Se,Ce.name=q.name,Ce}function N(q,Se,Ce,Ae,Ue,Qe,gt){var _e={},Oe=Ce.style||{};if(Ce.shape&&(_e.shape=y.clone(Ce.shape)),Ce.position&&(_e.position=Ce.position.slice()),Ce.scale&&(_e.scale=Ce.scale.slice()),Ce.origin&&(_e.origin=Ce.origin.slice()),Ce.rotation&&(_e.rotation=Ce.rotation),q.type==="image"&&Ce.style){var lt=_e.style={};y.each(["x","y","width","height"],function(K){F(K,lt,Oe,q.style,Qe)})}if(q.type==="text"&&Ce.style){var lt=_e.style={};y.each(["x","y"],function(Q){F(Q,lt,Oe,q.style,Qe)}),!Oe.hasOwnProperty("textFill")&&Oe.fill&&(Oe.textFill=Oe.fill),!Oe.hasOwnProperty("textStroke")&&Oe.stroke&&(Oe.textStroke=Oe.stroke)}if(q.type!=="group"&&(q.useStyle(Oe),Qe)){q.style.opacity=0;var ce=Oe.opacity;ce==null&&(ce=1),m.initProps(q,{style:{opacity:ce}},Ae,Se)}Qe?q.attr(_e):m.updateProps(q,_e,Ae,Se),Ce.hasOwnProperty("z2")&&q.attr("z2",Ce.z2||0),Ce.hasOwnProperty("silent")&&q.attr("silent",Ce.silent),Ce.hasOwnProperty("invisible")&&q.attr("invisible",Ce.invisible),Ce.hasOwnProperty("ignore")&&q.attr("ignore",Ce.ignore),Ce.hasOwnProperty("info")&&q.attr("info",Ce.info);var Y=Ce.styleEmphasis;m.setElementHoverStyle(q,Y),gt&&m.setAsHighDownDispatcher(q,Y!==!1)}function F(q,Se,Ce,Ae,Ue){Ce[q]!=null&&!Ue&&(Se[q]=Ce[q],Ce[q]=Ae[q])}function k(q,Se,Ce,Ae){var Ue=q.get("renderItem"),Qe=q.coordinateSystem,gt={};Qe&&(gt=Qe.prepareCustoms?Qe.prepareCustoms():C[Qe.type](Qe));var _e=y.defaults({getWidth:Ae.getWidth,getHeight:Ae.getHeight,getZr:Ae.getZr,getDevicePixelRatio:Ae.getDevicePixelRatio,value:Ne,style:Te,styleEmphasis:oe,visual:de,barLayout:Le,currentSeriesIndices:Ge,font:ht},gt.api||{}),Oe={context:{},seriesId:q.id,seriesName:q.name,seriesIndex:q.seriesIndex,coordSys:gt.coordSys,dataInsideLength:Se.count(),encode:P(q.getData())},lt,ce=!0,Y,K,Q,ye;return function(Et,Be){return lt=Et,ce=!0,Ue&&Ue(y.defaults({dataIndexInside:Et,dataIndex:Se.getRawIndex(Et),actionType:Be?Be.type:null},Oe),_e)};function ue(Et){Et==null&&(Et=lt),ce&&(Y=Se.getItemModel(Et),K=Y.getModel(T),Q=Y.getModel(L),ye=Se.getItemVisual(Et,"color"),ce=!1)}function Ne(Et,Be){return Be==null&&(Be=lt),Se.get(Se.getDimension(Et||0),Be)}function Te(Et,Be){Be==null&&(Be=lt),ue(Be);var Dt=Y.getModel(A).getItemStyle();ye!=null&&(Dt.fill=ye);var Ke=Se.getItemVisual(Be,"opacity");Ke!=null&&(Dt.opacity=Ke);var At=Et?V(Et,K):K;return m.setTextStyle(Dt,At,null,{autoColor:ye,isRectText:!0}),Dt.text=At.getShallow("show")?y.retrieve2(q.getFormattedLabel(Be,"normal"),h(Se,Be)):null,Et&&X(Dt,Et),Dt}function oe(Et,Be){Be==null&&(Be=lt),ue(Be);var Dt=Y.getModel(S).getItemStyle(),Ke=Et?V(Et,Q):Q;return m.setTextStyle(Dt,Ke,null,{isRectText:!0},!0),Dt.text=Ke.getShallow("show")?y.retrieve3(q.getFormattedLabel(Be,"emphasis"),q.getFormattedLabel(Be,"normal"),h(Se,Be)):null,Et&&X(Dt,Et),Dt}function de(Et,Be){return Be==null&&(Be=lt),Se.getItemVisual(Be,Et)}function Le(Et){if(Qe.getBaseAxis){var Be=Qe.getBaseAxis();return i(y.defaults({axis:Be},Et),Ae)}}function Ge(){return Ce.getCurrentSeriesIndices()}function ht(Et){return m.getFont(Et,Ce)}}function P(q){var Se={};return y.each(q.dimensions,function(Ce,Ae){var Ue=q.getDimensionInfo(Ce);if(!Ue.isExtraCoord){var Qe=Ue.coordDim,gt=Se[Qe]=Se[Qe]||[];gt[Ue.coordDimIndex]=Ae}}),Se}function B(q,Se,Ce,Ae,Ue,Qe){return q=z(q,Se,Ce,Ae,Ue,Qe,!0),q&&Qe.setItemGraphicEl(Se,q),q}function z(q,Se,Ce,Ae,Ue,Qe,gt){var _e=!Ce;Ce=Ce||{};var Oe=Ce.type,lt=Ce.shape,ce=Ce.style;if(q&&(_e||Oe!=null&&Oe!==q.__customGraphicType||Oe==="path"&&$(lt)&&G(lt)!==q.__customPathData||Oe==="image"&&ge(ce,"image")&&ce.image!==q.__customImagePath||Oe==="text"&&ge(lt,"text")&&ce.text!==q.__customText)&&(Ue.remove(q),q=null),_e)return;var Y=!q;return!q&&(q=O(Ce)),N(q,Se,Ce,Ae,Qe,Y,gt),Oe==="group"&&R(q,Se,Ce,Ae,Qe),Ue.add(q),q}function R(q,Se,Ce,Ae,Ue){var Qe=Ce.children,gt=Qe?Qe.length:0,_e=Ce.$mergeChildren,Oe=_e==="byName"||Ce.diffChildrenByName,lt=_e===!1;if(!gt&&!Oe&&!lt)return;if(Oe){U({oldChildren:q.children()||[],newChildren:Qe||[],dataIndex:Se,animatableModel:Ae,group:q,data:Ue});return}lt&&q.removeAll();for(var ce=0;ce<gt;ce++)Qe[ce]&&z(q.childAt(ce),Se,Qe[ce],Ae,q,Ue)}function U(q){new r(q.oldChildren,q.newChildren,j,j,q).add(H).update(H).remove(W).execute()}function j(q,Se){var Ce=q&&q.name;return Ce!=null?Ce:x+Se}function H(q,Se){var Ce=this.context,Ae=q!=null?Ce.newChildren[q]:null,Ue=Se!=null?Ce.oldChildren[Se]:null;z(Ue,Ce.dataIndex,Ae,Ce.animatableModel,Ce.group,Ce.data)}function V(q,Se){var Ce=new d({},Se);return y.each(E,function(Ae,Ue){q.hasOwnProperty(Ae)&&(Ce.option[Ue]=q[Ae])}),Ce}function X(q,Se){for(var Ce in Se)(Se.hasOwnProperty(Ce)||!E.hasOwnProperty(Ce))&&(q[Ce]=Se[Ce])}function W(q){var Se=this.context,Ce=Se.oldChildren[q];Ce&&Se.group.remove(Ce)}function G(q){return q&&(q.pathData||q.d)}function $(q){return q&&(q.hasOwnProperty("pathData")||q.hasOwnProperty("d"))}function ge(q,Se){return q&&q.hasOwnProperty(Se)}},"4HMb":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("4NO4"),m=y.makeInner,v=e("aX7z"),h=v.makeLabelFormatter,c=v.getOptionCategoryInterval,a=v.shouldShowAllLabels,i=m();function r(T){return T.type==="category"?d(T):t(T)}function o(T,L){return T.type==="category"?l(T,L):{ticks:T.scale.getTicks()}}function d(T){var L=T.getLabelModel(),x=n(T,L);return!L.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function n(T,L){var x=s(T,"labels"),C=c(L),O=u(x,C);if(O)return O;var N,F;return g.isFunction(C)?N=S(T,C):(F=C==="auto"?w(T):C,N=A(T,F)),p(x,C,{labels:N,labelCategoryInterval:F})}function l(T,L){var x=s(T,"ticks"),C=c(L),O=u(x,C);if(O)return O;var N,F;if((!L.get("show")||T.scale.isBlank())&&(N=[]),g.isFunction(C))N=S(T,C,!0);else if(C==="auto"){var k=n(T,T.getLabelModel());F=k.labelCategoryInterval,N=g.map(k.labels,function(P){return P.tickValue})}else F=C,N=A(T,F,!0);return p(x,C,{ticks:N,tickCategoryInterval:F})}function t(T){var L=T.scale.getTicks(),x=h(T);return{labels:g.map(L,function(C,O){return{formattedLabel:x(C,O),rawLabel:T.scale.getLabel(C),tickValue:C}})}}function s(T,L){return i(T)[L]||(i(T)[L]=[])}function u(T,L){for(var x=0;x<T.length;x++)if(T[x].key===L)return T[x].value}function p(T,L,x){return T.push({key:L,value:x}),x}function w(T){var L=i(T).autoInterval;return L!=null?L:i(T).autoInterval=T.calculateCategoryInterval()}function b(T){var L=E(T),x=h(T),C=(L.axisRotate-L.labelRotate)/180*Math.PI,O=T.scale,N=O.getExtent(),F=O.count();if(N[1]-N[0]<1)return 0;var k=1;F>40&&(k=Math.max(1,Math.floor(F/40)));for(var P=N[0],B=T.dataToCoord(P+1)-T.dataToCoord(P),z=Math.abs(B*Math.cos(C)),R=Math.abs(B*Math.sin(C)),U=0,j=0;P<=N[1];P+=k){var H=0,V=0,X=f.getBoundingRect(x(P),L.font,"center","top");H=X.width*1.3,V=X.height*1.3,U=Math.max(U,H,7),j=Math.max(j,V,7)}var W=U/z,G=j/R;isNaN(W)&&(W=Infinity),isNaN(G)&&(G=Infinity);var $=Math.max(0,Math.floor(Math.min(W,G))),ge=i(T.model),q=T.getExtent(),Se=ge.lastAutoInterval,Ce=ge.lastTickCount;return Se!=null&&Ce!=null&&Math.abs(Se-$)<=1&&Math.abs(Ce-F)<=1&&Se>$&&ge.axisExtend0===q[0]&&ge.axisExtend1===q[1]?$=Se:(ge.lastTickCount=F,ge.lastAutoInterval=$,ge.axisExtend0=q[0],ge.axisExtend1=q[1]),$}function E(T){var L=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:L.get("rotate")||0,font:L.getFont()}}function A(T,L,x){var C=h(T),O=T.scale,N=O.getExtent(),F=T.getLabelModel(),k=[],P=Math.max((L||0)+1,1),B=N[0],z=O.count();B!==0&&P>1&&z/P>2&&(B=Math.round(Math.ceil(B/P)*P));var R=a(T),U=F.get("showMinLabel")||R,j=F.get("showMaxLabel")||R;U&&B!==N[0]&&V(N[0]);for(var H=B;H<=N[1];H+=P)V(H);j&&H-P!==N[1]&&V(N[1]);function V(X){k.push(x?X:{formattedLabel:C(X),rawLabel:O.getLabel(X),tickValue:X})}return k}function S(T,L,x){var C=T.scale,O=h(T),N=[];return g.each(C.getTicks(),function(F){var k=C.getLabel(F);L(F,k)&&N.push(x?F:{formattedLabel:O(F),rawLabel:k,tickValue:F})}),N}_.createAxisLabels=r,_.createAxisTicks=o,_.calculateCategoryInterval=b},"4NO4":function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=g.each,m=g.isObject,v=g.isArray,h="series\0";function c(x){return x instanceof Array?x:x==null?[]:[x]}function a(x,C,O){if(x){x[C]=x[C]||{},x.emphasis=x.emphasis||{},x.emphasis[C]=x.emphasis[C]||{};for(var N=0,F=O.length;N<F;N++){var k=O[N];!x.emphasis[C].hasOwnProperty(k)&&x[C].hasOwnProperty(k)&&(x.emphasis[C][k]=x[C][k])}}}var i=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function r(x){return m(x)&&!v(x)&&!(x instanceof Date)?x.value:x}function o(x){return m(x)&&!(x instanceof Array)}function d(x,C){C=(C||[]).slice();var O=g.map(x||[],function(N,F){return{exist:N}});return y(C,function(N,F){if(!m(N))return;for(var k=0;k<O.length;k++)if(!O[k].option&&N.id!=null&&O[k].exist.id===N.id+""){O[k].option=N,C[F]=null;return}for(var k=0;k<O.length;k++){var P=O[k].exist;if(!O[k].option&&(P.id==null||N.id==null)&&N.name!=null&&!t(N)&&!t(P)&&P.name===N.name+""){O[k].option=N,C[F]=null;return}}}),y(C,function(N,F){if(!m(N))return;for(var k=0;k<O.length;k++){var P=O[k].exist;if(!O[k].option&&!t(P)&&N.id==null){O[k].option=N;break}}k>=O.length&&O.push({option:N})}),O}function n(x){var C=g.createHashMap();y(x,function(O,N){var F=O.exist;F&&C.set(F.id,O)}),y(x,function(O,N){var F=O.option;g.assert(!F||F.id==null||!C.get(F.id)||C.get(F.id)===O,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&C.set(F.id,O),!O.keyInfo&&(O.keyInfo={})}),y(x,function(O,N){var F=O.exist,k=O.option,P=O.keyInfo;if(!m(k))return;if(P.name=k.name!=null?k.name+"":F?F.name:h+N,F)P.id=F.id;else if(k.id!=null)P.id=k.id+"";else{var B=0;do P.id="\0"+P.name+"\0"+B++;while(C.get(P.id))}C.set(P.id,O)})}function l(x){var C=x.name;return!!(C&&C.indexOf(h))}function t(x){return m(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,C){var O={},N={};return F(x||[],O),F(C||[],N,O),[k(O),k(N)];function F(P,B,z){for(var R=0,U=P.length;R<U;R++)for(var j=P[R].seriesId,H=c(P[R].dataIndex),V=z&&z[j],X=0,W=H.length;X<W;X++){var G=H[X];V&&V[G]?V[G]=null:(B[j]||(B[j]={}))[G]=1}}function k(P,B){var z=[];for(var R in P)if(P.hasOwnProperty(R)&&P[R]!=null)if(B)z.push(+R);else{var U=k(P[R],!0);U.length&&z.push({seriesId:R,dataIndex:U})}return z}}function u(x,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return g.isArray(C.dataIndex)?g.map(C.dataIndex,function(O){return x.indexOfRawIndex(O)}):x.indexOfRawIndex(C.dataIndex);if(C.name!=null)return g.isArray(C.name)?g.map(C.name,function(O){return x.indexOfName(O)}):x.indexOfName(C.name)}function p(){var x="__\0ec_inner_"+w+++"_"+Math.random().toFixed(5);return function(C){return C[x]||(C[x]={})}}var w=0;function b(x,C,O){if(g.isString(C)){var N={};N[C+"Index"]=0,C=N}var F=O&&O.defaultMainType;F&&!E(C,F+"Index")&&!E(C,F+"Id")&&!E(C,F+"Name")&&(C[F+"Index"]=0);var k={};return y(C,function(P,B){var P=C[B];if(B==="dataIndex"||B==="dataIndexInside"){k[B]=P;return}var z=B.match(/^(\w+)(Index|Id|Name)$/)||[],R=z[1],U=(z[2]||"").toLowerCase();if(!R||!U||P==null||U==="index"&&P==="none"||O&&O.includeMainTypes&&g.indexOf(O.includeMainTypes,R)<0)return;var j={mainType:R};(U!=="index"||P!=="all")&&(j[U]=P);var H=x.queryComponents(j);k[R+"Models"]=H,k[R+"Model"]=H[0]}),k}function E(x,C){return x&&x.hasOwnProperty(C)}function A(x,C,O){x.setAttribute?x.setAttribute(C,O):x[C]=O}function S(x,C){return x.getAttribute?x.getAttribute(C):x[C]}function T(x){return x==="auto"?f.domSupported?"html":"richText":x||"html"}function L(x,C){var O=g.createHashMap(),N=[];return g.each(x,function(F){var k=C(F);(O.get(k)||(N.push(k),O.set(k,[]))).push(F)}),{keys:N,buckets:O}}_.normalizeToArray=c,_.defaultEmphasis=a,_.TEXT_STYLE_OPTIONS=i,_.getDataItemValue=r,_.isDataItemOption=o,_.mappingToExists=d,_.makeIdAndName=n,_.isNameSpecified=l,_.isIdInner=t,_.compressBatches=s,_.queryDataIndex=u,_.makeInner=p,_.parseFinder=b,_.setAttribute=A,_.getAttribute=S,_.getTooltipRenderMode=T,_.groupData=L},"4NgU":function(D,_,e){var g=e("Yl7c");function f(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}f.prototype.parse=function(m){return m},f.prototype.getSetting=function(m){return this._setting[m]},f.prototype.contain=function(m){var v=this._extent;return m>=v[0]&&m<=v[1]},f.prototype.normalize=function(m){var v=this._extent;return v[1]===v[0]?.5:(m-v[0])/(v[1]-v[0])},f.prototype.scale=function(m){var v=this._extent;return m*(v[1]-v[0])+v[0]},f.prototype.unionExtent=function(m){var v=this._extent;m[0]<v[0]&&(v[0]=m[0]),m[1]>v[1]&&(v[1]=m[1])},f.prototype.unionExtentFromData=function(m,v){this.unionExtent(m.getApproximateExtent(v))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,v){var h=this._extent;isNaN(m)||(h[0]=m),isNaN(v)||(h[1]=v)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(m){this._isBlank=m},f.prototype.getLabel=null,g.enableClassExtend(f),g.enableClassManagement(f,{registerWhenExtend:!0});var y=f;D.exports=y},"4fz+":function(D,_,e){var g=e("bYtY"),f=e("1bdT"),y=e("mFDi"),m=function(c){c=c||{},f.call(this,c);for(var a in c)c.hasOwnProperty(a)&&(this[a]=c[a]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(c){return this._children[c]},childOfName:function(c){for(var a=this._children,i=0;i<a.length;i++)if(a[i].name===c)return a[i]},childCount:function(){return this._children.length},add:function(c){return c&&c!==this&&c.parent!==this&&(this._children.push(c),this._doAdd(c)),this},addBefore:function(c,a){if(c&&c!==this&&c.parent!==this&&a&&a.parent===this){var i=this._children,r=i.indexOf(a);r>=0&&(i.splice(r,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var a=this.__storage,i=this.__zr;a&&a!==c.__storage&&(a.addToStorage(c),c instanceof m&&c.addChildrenToStorage(a)),i&&i.refresh()},remove:function(c){var a=this.__zr,i=this.__storage,r=this._children,o=g.indexOf(r,c);return o<0?this:(r.splice(o,1),c.parent=null,i&&(i.delFromStorage(c),c instanceof m&&c.delChildrenFromStorage(i)),a&&a.refresh(),this)},removeAll:function(){var c=this._children,a=this.__storage,i,r;for(r=0;r<c.length;r++)i=c[r],a&&(a.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(a)),i.parent=null;return c.length=0,this},eachChild:function(c,a){for(var i=this._children,r=0;r<i.length;r++){var o=i[r];c.call(a,o,r)}return this},traverse:function(c,a){for(var i=0;i<this._children.length;i++){var r=this._children[i];c.call(a,r),r.type==="group"&&r.traverse(c,a)}return this},addChildrenToStorage:function(c){for(var a=0;a<this._children.length;a++){var i=this._children[a];c.addToStorage(i),i instanceof m&&i.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var a=0;a<this._children.length;a++){var i=this._children[a];c.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var a=null,i=new y(0,0,0,0),r=c||this._children,o=[],d=0;d<r.length;d++){var n=r[d];if(n.ignore||n.invisible)continue;var l=n.getBoundingRect(),t=n.getLocalTransform(o);t?(i.copy(l),i.applyTransform(t),a=a||i.clone(),a.union(i)):(a=a||l.clone(),a.union(l))}return a||i}},g.inherits(m,f);var v=m;D.exports=v},"4i/N":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseOutlined";var h=_.a=g.forwardRef(v)},"4kuk":function(D,_,e){var g=e("SfRM"),f=e("Hvzi"),y=e("u8Dt"),m=e("ekgI"),v=e("JSQU");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},"4mN7":function(D,_,e){var g=e("QBsz"),f=e("Sj9i"),y=Math.min,m=Math.max,v=Math.sin,h=Math.cos,c=Math.PI*2,a=g.create(),i=g.create(),r=g.create();function o(p,w,b){if(p.length===0)return;var E=p[0],A=E[0],S=E[0],T=E[1],L=E[1],x;for(x=1;x<p.length;x++)E=p[x],A=y(A,E[0]),S=m(S,E[0]),T=y(T,E[1]),L=m(L,E[1]);w[0]=A,w[1]=T,b[0]=S,b[1]=L}function d(p,w,b,E,A,S){A[0]=y(p,b),A[1]=y(w,E),S[0]=m(p,b),S[1]=m(w,E)}var n=[],l=[];function t(p,w,b,E,A,S,T,L,x,C){var O=f.cubicExtrema,N=f.cubicAt,F,k=O(p,b,A,T,n);for(x[0]=Infinity,x[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,F=0;F<k;F++){var P=N(p,b,A,T,n[F]);x[0]=y(P,x[0]),C[0]=m(P,C[0])}for(k=O(w,E,S,L,l),F=0;F<k;F++){var B=N(w,E,S,L,l[F]);x[1]=y(B,x[1]),C[1]=m(B,C[1])}x[0]=y(p,x[0]),C[0]=m(p,C[0]),x[0]=y(T,x[0]),C[0]=m(T,C[0]),x[1]=y(w,x[1]),C[1]=m(w,C[1]),x[1]=y(L,x[1]),C[1]=m(L,C[1])}function s(p,w,b,E,A,S,T,L){var x=f.quadraticExtremum,C=f.quadraticAt,O=m(y(x(p,b,A),1),0),N=m(y(x(w,E,S),1),0),F=C(p,b,A,O),k=C(w,E,S,N);T[0]=y(p,A,F),T[1]=y(w,S,k),L[0]=m(p,A,F),L[1]=m(w,S,k)}function u(p,w,b,E,A,S,T,L,x){var C=g.min,O=g.max,N=Math.abs(A-S);if(N%c<1e-4&&N>1e-4){L[0]=p-b,L[1]=w-E,x[0]=p+b,x[1]=w+E;return}if(a[0]=h(A)*b+p,a[1]=v(A)*E+w,i[0]=h(S)*b+p,i[1]=v(S)*E+w,C(L,a,i),O(x,a,i),A=A%c,A<0&&(A=A+c),S=S%c,S<0&&(S=S+c),A>S&&!T?S+=c:A<S&&T&&(A+=c),T){var F=S;S=A,A=F}for(var k=0;k<S;k+=Math.PI/2)k>A&&(r[0]=h(k)*b+p,r[1]=v(k)*E+w,C(L,r,L),O(x,r,x))}_.fromPoints=o,_.fromLine=d,_.fromCubic=t,_.fromQuadratic=s,_.fromArc=u},"4vCz":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("X2/X")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusSquareOutlined";var c=y.forwardRef(h);_.default=c},"4xFK":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};_.default=g},"56rv":function(D,_,e){var g=e("IwbS"),f=e("x3X8"),y=f.getDefaultLabel;function m(h,c,a,i,r,o,d){var n=a.getModel("label"),l=a.getModel("emphasis.label");g.setLabelStyle(h,c,n,l,{labelFetcher:r,labelDataIndex:o,defaultText:y(r.getData(),o),isRectText:!0,autoColor:i}),v(h),v(c)}function v(h,c){h.textPosition==="outside"&&(h.textPosition=c)}_.setLabel=m},"59Ip":function(D,_,e){var g=e("Sj9i");function f(y,m,v,h,c,a,i,r,o,d,n){if(o===0)return!1;var l=o;if(n>m+l&&n>h+l&&n>a+l&&n>r+l||n<m-l&&n<h-l&&n<a-l&&n<r-l||d>y+l&&d>v+l&&d>c+l&&d>i+l||d<y-l&&d<v-l&&d<c-l&&d<i-l)return!1;var t=g.cubicProjectPoint(y,m,v,h,c,a,i,r,d,n,null);return t<=l/2}_.containStroke=f},"5Dmo":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("5YgA"),m=e.n(y)},"5GOC":function(D,_,e){"use strict";var g=e("cIOH"),f=e("b56q"),y=e("15/o")},"5GhG":function(D,_,e){var g=e("5GtS"),f=e("bYtY"),y=e("L0Ub"),m=y.getDimensionTypeByAxis,v=e("D5nY"),h=v.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(a,i){var r,o=i.getComponent("xAxis",this.get("xAxisIndex")),d=i.getComponent("yAxis",this.get("yAxisIndex")),n=o.get("type"),l=d.get("type"),t;n==="category"?(a.layout="horizontal",r=o.getOrdinalMeta(),t=!0):l==="category"?(a.layout="vertical",r=d.getOrdinalMeta(),t=!0):a.layout=a.layout||"horizontal";var s=["x","y"],u=a.layout==="horizontal"?0:1,p=this._baseAxisDim=s[u],w=s[1-u],b=[o,d],E=b[u].get("type"),A=b[1-u].get("type"),S=a.data;if(S&&t){var T=[];f.each(S,function(C,O){var N;C.value&&f.isArray(C.value)?(N=C.value.slice(),C.value.unshift(O)):f.isArray(C)?(N=C.slice(),C.unshift(O)):N=C,T.push(N)}),a.data=T}var L=this.defaultValueDimensions,x=[{name:p,type:m(E),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:w,type:m(A),dimsDef:L.slice()}];return g(this,{coordDimensions:x,dimensionsCount:L.length+1,encodeDefaulter:f.curry(h,x,this)})},getBaseAxis:function(){var a=this._baseAxisDim;return this.ecModel.getComponent(a+"Axis",this.get(a+"AxisIndex")).axis}};_.seriesModelMixin=c},"5GtS":function(D,_,e){var g=e("sdST"),f=e("YXkt"),y=e("bYtY"),m=y.extend,v=y.isArray;function h(c,a,i){a=v(a)&&{coordDimensions:a}||m({},a);var r=c.getSource(),o=g(r,a),d=new f(o,c);return d.initData(r,i),d}D.exports=h},"5Hur":function(D,_,e){var g=e("4NO4"),f=g.makeInner,y=g.normalizeToArray,m=f();function v(c,a){for(var i=c.length,r=0;r<i;r++)if(c[r].length>a)return c[r];return c[i-1]}var h={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(c,a,i){a=a||this;var r=m(a),o=r.colorIdx||0,d=r.colorNameMap=r.colorNameMap||{};if(d.hasOwnProperty(c))return d[c];var n=y(this.get("color",!0)),l=this.get("colorLayer",!0),t=i==null||!l?n:v(l,i);if(t=t||n,!t||!t.length)return;var s=t[o];return c&&(d[c]=s),r.colorIdx=(o+1)%t.length,s}};D.exports=h},"5NDa":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OnYD"),m=e.n(y),v=e("+L6B")},"5NHt":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(D,_,e){"use strict";var g=e("J4zp"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("ACnJ");function h(){var c=Object(y.useState)({}),a=f()(c,2),i=a[0],r=a[1];return Object(y.useEffect)(function(){var o=v.a.subscribe(function(d){r(d)});return function(){return v.a.unsubscribe(o)}},[]),i}_.a=h},"5RHE":function(D,_,e){(function(g){var f,y,y;!function(m){!(f=m,y=typeof f=="function"?f.call(_,e,_,D):f,y!==void 0&&(D.exports=y))}(function(){"use strict";/** @license
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
|
|
* CommitID d93d28db14
|
|
|
*
|
|
|
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
|
|
* 2010 Aaron Spike, https://github.com/acspike
|
|
|
* 2012 Willow Systems Corporation, willow-systems.com
|
|
|
* 2012 Pablo Hess, https://github.com/pablohess
|
|
|
* 2012 Florian Jenett, https://github.com/fjenett
|
|
|
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
|
|
* 2013 Youssef Beddad, https://github.com/lifof
|
|
|
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
|
|
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
|
|
* 2013 Jeremy Morel, https://github.com/jmorel
|
|
|
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
|
|
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
|
|
* 2014 James Makes, https://github.com/dollaruw
|
|
|
* 2014 Diego Casorran, https://github.com/diegocr
|
|
|
* 2014 Steven Spungin, https://github.com/Flamenco
|
|
|
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
|
|
*
|
|
|
* Licensed under the MIT License
|
|
|
*
|
|
|
* Contributor(s):
|
|
|
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
|
|
* kim3er, mfo, alnorth, Flamenco
|
|
|
*/function m(we){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ve){return typeof ve}:function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve})(we)}!function(we){if(m(we.console)!=="object"){we.console={};for(var ve,me,he=we.console,Re=function(){},He=["memory"],ze="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");ve=He.pop();)he[ve]||(he[ve]={});for(;me=ze.pop();)he[me]||(he[me]=Re)}var Ye,Pe,nt,bt,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";we.btoa===void 0&&(we.btoa=function(ae){var pe,J,ne,xe,De,Fe=0,$e=0,vt="",Wt=[];if(!ae)return ae;for(;pe=(De=ae.charCodeAt(Fe++)<<16|ae.charCodeAt(Fe++)<<8|ae.charCodeAt(Fe++))>>18&63,J=De>>12&63,ne=De>>6&63,xe=63&De,Wt[$e++]=Ot.charAt(pe)+Ot.charAt(J)+Ot.charAt(ne)+Ot.charAt(xe),Fe<ae.length;);vt=Wt.join("");var $t=ae.length%3;return($t?vt.slice(0,$t-3):vt)+"===".slice($t||3)}),we.atob===void 0&&(we.atob=function(ae){var pe,J,ne,xe,De,Fe,$e=0,vt=0,Wt=[];if(!ae)return ae;for(ae+="";pe=(Fe=Ot.indexOf(ae.charAt($e++))<<18|Ot.indexOf(ae.charAt($e++))<<12|(xe=Ot.indexOf(ae.charAt($e++)))<<6|(De=Ot.indexOf(ae.charAt($e++))))>>16&255,J=Fe>>8&255,ne=255&Fe,Wt[vt++]=xe==64?String.fromCharCode(pe):De==64?String.fromCharCode(pe,J):String.fromCharCode(pe,J,ne),$e<ae.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(ae){if(this==null||typeof ae!="function")throw new TypeError;for(var pe=Object(this),J=pe.length>>>0,ne=new Array(J),xe=1<arguments.length?arguments[1]:void 0,De=0;De<J;De++)De in pe&&(ne[De]=ae.call(xe,pe[De],De,pe));return ne}),Array.isArray||(Array.isArray=function(ae){return Object.prototype.toString.call(ae)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ae,pe){if(this==null||typeof ae!="function")throw new TypeError;for(var J=Object(this),ne=J.length>>>0,xe=0;xe<ne;xe++)xe in J&&ae.call(pe,J[xe],xe,J)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(pe){if(this==null)throw new TypeError('"this" is null or not defined');var J=Object(this),ne=J.length>>>0;if(typeof pe!="function")throw new TypeError("predicate must be a function");for(var xe=arguments[1],De=0;De<ne;){var Fe=J[De];if(pe.call(xe,Fe,De,J))return Fe;De++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Ye=Object.prototype.hasOwnProperty,Pe=!{toString:null}.propertyIsEnumerable("toString"),bt=(nt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ae){if(m(ae)!=="object"&&(typeof ae!="function"||ae===null))throw new TypeError;var pe,J,ne=[];for(pe in ae)Ye.call(ae,pe)&&ne.push(pe);if(Pe)for(J=0;J<bt;J++)Ye.call(ae,nt[J])&&ne.push(nt[J]);return ne})),typeof Object.assign!="function"&&(Object.assign=function(ae){if(ae==null)throw new TypeError("Cannot convert undefined or null to object");ae=Object(ae);for(var pe=1;pe<arguments.length;pe++){var J=arguments[pe];if(J!=null)for(var ne in J)Object.prototype.hasOwnProperty.call(J,ne)&&(ae[ne]=J[ne])}return ae}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(ae){return typeof ae=="number"&&isFinite(ae)&&Math.floor(ae)===ae}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L,x,C,O,N,F,k,P,B,z,R,U,j,H,V,X,W,G,$,ge,q,Se,Ce,Ae,Ue,Qe,gt,_e,Oe,lt,ce,Y,K,Q,ye,ue,Ne,Te,oe,de,Le,Ge,ht=function(we){function ve(he){if(m(he)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Re={};this.subscribe=function(He,ze,Ye){if(Ye=Ye||!1,typeof He!="string"||typeof ze!="function"||typeof Ye!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Re.hasOwnProperty(He)||(Re[He]={});var Pe=Math.random().toString(35);return Re[He][Pe]=[ze,!!Ye],Pe},this.unsubscribe=function(He){for(var ze in Re)if(Re[ze][He])return delete Re[ze][He],Object.keys(Re[ze]).length===0&&delete Re[ze],!0;return!1},this.publish=function(He){if(Re.hasOwnProperty(He)){var ze=Array.prototype.slice.call(arguments,1),Ye=[];for(var Pe in Re[He]){var nt=Re[He][Pe];try{nt[0].apply(he,ze)}catch(bt){we.console&&console.error("jsPDF PubSub Error",bt.message,bt)}nt[1]&&Ye.push(Pe)}Ye.length&&Ye.forEach(this.unsubscribe)}},this.getTopics=function(){return Re}}function me(he,Re,He,ze){var Ye={},Pe=[],nt=1;m(he)==="object"&&(he=(Ye=he).orientation,Re=Ye.unit||Re,He=Ye.format||He,ze=Ye.compress||Ye.compressPdf||ze,Pe=Ye.filters||(ze===!0?["FlateEncode"]:Pe),nt=typeof Ye.userUnit=="number"?Math.abs(Ye.userUnit):1),Re=Re||"mm",he=(""+(he||"P")).toLowerCase();var bt=Ye.putOnlyUsedFonts||!0,Ot={},ae={internal:{},__private__:{}};ae.__private__.PubSub=ve;var pe="1.3",J=ae.__private__.getPdfVersion=function(){return pe},ne=(ae.__private__.setPdfVersion=function(St){pe=St},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),xe=(ae.__private__.getPageFormats=function(){return ne},ae.__private__.getPageFormat=function(St){return ne[St]});typeof He=="string"&&(He=xe(He)),He=He||xe("a4");var De,Fe=ae.f2=ae.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return St.toFixed(2)},$e=ae.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return St.toFixed(3)},vt="00000000000000000000000000000000",Wt=ae.__private__.getFileId=function(){return vt},$t=ae.__private__.setFileId=function(St){return St=St||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),vt=St};ae.setFileId=function(St){return $t(St),this},ae.getFileId=function(){return Wt()};var Rt=ae.__private__.convertDateToPDFDate=function(St){var Vt=St.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,Tt(br),"'",Tt(Mr),"'"].join("");return["D:",St.getFullYear(),Tt(St.getMonth()+1),Tt(St.getDate()),Tt(St.getHours()),Tt(St.getMinutes()),Tt(St.getSeconds()),Dr].join("")},Kt=ae.__private__.convertPDFDateToDate=function(St){var Vt=parseInt(St.substr(2,4),10),sr=parseInt(St.substr(6,2),10)-1,br=parseInt(St.substr(8,2),10),Mr=parseInt(St.substr(10,2),10),Dr=parseInt(St.substr(12,2),10),rn=parseInt(St.substr(14,2),10);return parseInt(St.substr(16,2),10),parseInt(St.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Gt=ae.__private__.setCreationDate=function(St){var Vt;if(St===void 0&&(St=new Date),m(St)==="object"&&Object.prototype.toString.call(St)==="[object Date]")Vt=Rt(St);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=St}return De=Vt},Qt=ae.__private__.getCreationDate=function(St){var Vt=De;return St==="jsDate"&&(Vt=Kt(De)),Vt};ae.setCreationDate=function(St){return Gt(St),this},ae.getCreationDate=function(St){return Qt(St)};var Mt,dr,er,st,xt,ut,pt,It,Tt=ae.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},ft=!1,Ht=[],Ft=[],ir=0,Xt=(ae.__private__.setCustomOutputDestination=function(St){dr=St},ae.__private__.resetCustomOutputDestination=function(St){dr=void 0},ae.__private__.out=function(St){var Vt;return St=typeof St=="string"?St:St.toString(),(Vt=dr===void 0?ft?Ht[Mt]:Ft:dr).push(St),ft||(ir+=St.length+1),Vt}),mr=ae.__private__.write=function(St){return Xt(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ar=ae.__private__.getArrayBuffer=function(St){for(var Vt=St.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=St.charCodeAt(Vt);return sr},Nr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],Fr=(ae.__private__.getStandardFonts=function(St){return Nr},Ye.fontSize||16),tn=(ae.__private__.setFontSize=ae.setFontSize=function(St){return Fr=St,this},ae.__private__.getFontSize=ae.getFontSize=function(){return Fr}),qr=Ye.R2L||!1,Lr=(ae.__private__.setR2L=ae.setR2L=function(St){return qr=St,this},ae.__private__.getR2L=ae.getR2L=function(St){return qr},ae.__private__.setZoomMode=function(St){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(St))er=St;else if(isNaN(St)){if(Vt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');er=St}else er=parseInt(St,10)}),Qr=(ae.__private__.getZoomMode=function(){return er},ae.__private__.setPageMode=function(St){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(St)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+St+'" is not recognized.');st=St}),_r=(ae.__private__.getPageMode=function(){return st},ae.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');xt=St}),ur=(ae.__private__.getLayoutMode=function(){return xt},ae.__private__.setDisplayMode=ae.setDisplayMode=function(St,Vt,sr){return Lr(St),_r(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ae.__private__.getDocumentProperty=function(St){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ur[St]},ae.__private__.getDocumentProperties=function(St){return ur},ae.__private__.setDocumentProperties=ae.setProperties=ae.setDocumentProperties=function(St){for(var Vt in ur)ur.hasOwnProperty(Vt)&&St[Vt]&&(ur[Vt]=St[Vt]);return this},ae.__private__.setDocumentProperty=function(St,Vt){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ur[St]=Vt},0),cr=[],fr={},xr={},Yr=0,un=[],Nn=[],jr=new ve(ae),Tn=Ye.hotfixes||[],gn=ae.__private__.newObject=function(){var St=Pn();return zn(St,!0),St},Pn=ae.__private__.newObjectDeferred=function(){return cr[++pr]=function(){return ir},pr},zn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,cr[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=ae.__private__.newAdditionalObject=function(){var St={objId:Pn(),content:""};return Nn.push(St),St},Yn=Pn(),Vn=Pn(),An=ae.__private__.decodeColorString=function(St){var Vt=St.split(" ");if(Vt.length===2&&(Vt[1]==="g"||Vt[1]==="G")){var sr=parseFloat(Vt[0]);Vt=[sr,sr,sr,"r"]}for(var br="#",Mr=0;Mr<3;Mr++)br+=("0"+Math.floor(255*parseFloat(Vt[Mr])).toString(16)).slice(-2);return br},on=ae.__private__.encodeColorString=function(St){var Vt;typeof St=="string"&&(St={ch1:St});var sr=St.ch1,br=St.ch2,Mr=St.ch3,Dr=St.ch4,rn=(St.precision,St.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof sr=="string"&&sr.charAt(0)!=="#"){var fn=new RGBColor(sr);if(fn.ok)sr=fn.toHex();else if(!/^\d*\.?\d*$/.test(sr))throw new Error('Invalid color "'+sr+'" passed to jsPDF.encodeColorString.')}if(typeof sr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(sr)&&(sr="#"+sr[1]+sr[1]+sr[2]+sr[2]+sr[3]+sr[3]),typeof sr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(sr)){var wn=parseInt(sr.substr(1),16);sr=wn>>16&255,br=wn>>8&255,Mr=255&wn}if(br===void 0||Dr===void 0&&sr===br&&br===Mr)if(typeof sr=="string")Vt=sr+" "+rn[0];else switch(St.precision){case 2:Vt=Fe(sr/255)+" "+rn[0];break;case 3:default:Vt=$e(sr/255)+" "+rn[0]}else if(Dr===void 0||m(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return Vt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof sr=="string")Vt=[sr,br,Mr,rn[1]].join(" ");else switch(St.precision){case 2:Vt=[Fe(sr/255),Fe(br/255),Fe(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(St.precision){case 2:Vt=[Fe(sr/255),Fe(br/255),Fe(Mr/255),Fe(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),$e(Dr/255),rn[2]].join(" ")}return Vt},ia=ae.__private__.getFilters=function(){return Pe},xa=ae.__private__.putStream=function(St){var Vt=(St=St||{}).data||"",sr=St.filters||ia(),br=St.alreadyAppliedFilters||[],Mr=St.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=St.additionalKeyValues||[],wn=(rn=me.API.processDataByFilters!==void 0?me.API.processDataByFilters(Vt,sr):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(br)?br.join(" "):br.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Mr===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Xt("<<");for(var Hn=0;Hn<fn.length;Hn++)Xt("/"+fn[Hn].key+" "+fn[Hn].value);Xt(">>"),rn.data.length!==0&&(Xt("stream"),Xt(rn.data),Xt("endstream"))},ta=ae.__private__.putPage=function(St){St.mediaBox;var Vt=St.number,sr=St.data,br=St.objId,Mr=St.contentsObjId;zn(br,!0),un[Mt].mediaBox.topRightX,un[Mt].mediaBox.bottomLeftX,un[Mt].mediaBox.topRightY,un[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+St.rootDictionaryObjId+" 0 R"),Xt("/Resources "+St.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Fe(St.mediaBox.bottomLeftX))+" "+parseFloat(Fe(St.mediaBox.bottomLeftY))+" "+Fe(St.mediaBox.topRightX)+" "+Fe(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&Xt("/CropBox ["+Fe(St.cropBox.bottomLeftX)+" "+Fe(St.cropBox.bottomLeftY)+" "+Fe(St.cropBox.topRightX)+" "+Fe(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&Xt("/BleedBox ["+Fe(St.bleedBox.bottomLeftX)+" "+Fe(St.bleedBox.bottomLeftY)+" "+Fe(St.bleedBox.topRightX)+" "+Fe(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&Xt("/TrimBox ["+Fe(St.trimBox.bottomLeftX)+" "+Fe(St.trimBox.bottomLeftY)+" "+Fe(St.trimBox.topRightX)+" "+Fe(St.trimBox.topRightY)+"]"),St.artBox!==null&&Xt("/ArtBox ["+Fe(St.artBox.bottomLeftX)+" "+Fe(St.artBox.bottomLeftY)+" "+Fe(St.artBox.topRightX)+" "+Fe(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&Xt("/UserUnit "+St.userUnit),jr.publish("putPage",{objId:br,pageContext:un[Vt],pageNumber:Vt,page:sr}),Xt("/Contents "+Mr+" 0 R"),Xt(">>"),Xt("endobj");var Dr=sr.join(`
|
|
|
`);return zn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},_i=ae.__private__.putPages=function(){var St,Vt,sr=[];for(St=1;St<=Yr;St++)un[St].objId=Pn(),un[St].contentsObjId=Pn();for(St=1;St<=Yr;St++)sr.push(ta({number:St,data:Ht[St],objId:un[St].objId,contentsObjId:un[St].contentsObjId,mediaBox:un[St].mediaBox,cropBox:un[St].cropBox,bleedBox:un[St].bleedBox,trimBox:un[St].trimBox,artBox:un[St].artBox,userUnit:un[St].userUnit,rootDictionaryObjId:Yn,resourceDictionaryObjId:Vn}));zn(Yn,!0),Xt("<</Type /Pages");var br="/Kids [";for(Vt=0;Vt<Yr;Vt++)br+=sr[Vt]+" 0 R ";Xt(br+"]"),Xt("/Count "+Yr),Xt(">>"),Xt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Vt in fr)fr.hasOwnProperty(Vt)&&(bt===!1||bt===!0&&Ot.hasOwnProperty(Vt))&&(sr=fr[Vt],jr.publish("putFont",{font:sr,out:Xt,newObject:gn,putStream:xa}),sr.isAlreadyPutted!==!0&&(sr.objectNumber=gn(),Xt("<<"),Xt("/Type /Font"),Xt("/BaseFont /"+sr.postScriptName),Xt("/Subtype /Type1"),typeof sr.encoding=="string"&&Xt("/Encoding /"+sr.encoding),Xt("/FirstChar 32"),Xt("/LastChar 255"),Xt(">>"),Xt("endobj")));var sr}(),jr.publish("putResources"),zn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(bt===!1||bt===!0&&Ot.hasOwnProperty(Vt))&&Xt("/"+Vt+" "+fr[Vt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),jr.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),jr.publish("postPutResources")},Gn=function(Vt,sr,br){xr.hasOwnProperty(sr)||(xr[sr]={}),xr[sr][br]=Vt},Oa=function(Vt,sr,br,Mr,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),fn={id:rn,postScriptName:Vt,fontName:sr,fontStyle:br,encoding:Mr,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(fr[rn]=fn,Gn(rn,sr,br)),rn},mn=ae.__private__.pdfEscape=ae.pdfEscape=function(St,Vt){return function(sr,br){var Mr,Dr,rn,fn,wn,Hn,Sn,bn,Mn;if(rn=(br=br||{}).sourceEncoding||"Unicode",wn=br.outputEncoding,(br.autoencode||wn)&&fr[ut].metadata&&fr[ut].metadata[rn]&&fr[ut].metadata[rn].encoding&&(fn=fr[ut].metadata[rn].encoding,!wn&&fr[ut].encoding&&(wn=fr[ut].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Mr=0,Dr=sr.length;Mr<Dr;Mr++)(bn=wn[sr.charCodeAt(Mr)])?Hn.push(String.fromCharCode(bn)):Hn.push(sr[Mr]),Hn[Mr].charCodeAt(0)>>8&&(Sn=!0);sr=Hn.join("")}for(Mr=sr.length;Sn===void 0&&Mr!==0;)sr.charCodeAt(Mr-1)>>8&&(Sn=!0),Mr--;if(!Sn)return sr;for(Hn=br.noBOM?[]:[254,255],Mr=0,Dr=sr.length;Mr<Dr;Mr++){if((Mn=(bn=sr.charCodeAt(Mr))>>8)>>8)throw new Error("Character at position "+Mr+" of string '"+sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Mn),Hn.push(bn-(Mn<<8))}return String.fromCharCode.apply(void 0,Hn)}(St,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},On=ae.__private__.beginPage=function(St,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof St=="string"&&(sr=xe(St.toLowerCase()))&&(St=sr[0],Vt=sr[1]),Array.isArray(St)&&(Vt=St[1],St=St[0]),(isNaN(St)||isNaN(Vt))&&(St=He[0],Vt=He[1]),br){switch(br.substr(0,1)){case"l":St<Vt&&(br="s");break;case"p":Vt<St&&(br="s")}br==="s"&&(sr=St,St=Vt,Vt=sr)}(14400<St||14400<Vt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),St=Math.min(14400,St),Vt=Math.min(14400,Vt)),He=[St,Vt],ft=!0,Ht[++Yr]=[],un[Yr]={objId:0,contentsObjId:0,userUnit:Number(nt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St),topRightY:Number(Vt)}},_n(Yr)},Ln=function(){On.apply(this,arguments),To(eo),Xt(jt),zr!==0&&Xt(zr+" J"),Zr!==0&&Xt(Zr+" j"),jr.publish("addPage",{pageNumber:Yr})},_n=function(Vt){0<Vt&&Vt<=Yr&&(Mt=Vt)},jn=ae.__private__.getNumberOfPages=ae.getNumberOfPages=function(){return Ht.length-1},ni=function(Vt,sr,br){var Mr,Dr=void 0;return br=br||{},Vt=Vt!==void 0?Vt:fr[ut].fontName,sr=sr!==void 0?sr:fr[ut].fontStyle,Mr=Vt.toLowerCase(),xr[Mr]!==void 0&&xr[Mr][sr]!==void 0?Dr=xr[Mr][sr]:xr[Vt]!==void 0&&xr[Vt][sr]!==void 0?Dr=xr[Vt][sr]:br.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Vt+"', '"+sr+"'. Refer to getFontList() for available fonts."),Dr||br.noFallback||(Dr=xr.times[sr])==null&&(Dr=xr.times.normal),Dr},di=ae.__private__.putInfo=function(){for(var St in gn(),Xt("<<"),Xt("/Producer (jsPDF "+me.version+")"),ur)ur.hasOwnProperty(St)&&ur[St]&&Xt("/"+St.substr(0,1).toUpperCase()+St.substr(1)+" ("+mn(ur[St])+")");Xt("/CreationDate ("+De+")"),Xt(">>"),Xt("endobj")},Na=ae.__private__.putCatalog=function(St){var Vt=(St=St||{}).rootDictionaryObjId||Yn;switch(gn(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Vt+" 0 R"),er||(er="fullwidth"),er){case"fullwidth":Xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xt("/OpenAction [3 0 R /Fit]");break;case"original":Xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var sr=""+er;sr.substr(sr.length-1)==="%"&&(er=parseInt(er)/100),typeof er=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Fe(er)+"]")}switch(xt||(xt="continuous"),xt){case"continuous":Xt("/PageLayout /OneColumn");break;case"single":Xt("/PageLayout /SinglePage");break;case"two":case"twoleft":Xt("/PageLayout /TwoColumnLeft");break;case"tworight":Xt("/PageLayout /TwoColumnRight")}st&&Xt("/PageMode /"+st),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=ae.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+vt+"> <"+vt+"> ]"),Xt(">>")},ma=ae.__private__.putHeader=function(){Xt("%PDF-"+pe),Xt("%\xBA\xDF\xAC\xE0")},Ba=ae.__private__.putXRef=function(){var St=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),St=1;St<=pr;St++)typeof cr[St]=="function"?Xt((Vt+cr[St]()).slice(-10)+" 00000 n "):cr[St]!==void 0?Xt((Vt+cr[St]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=ae.__private__.buildDocument=function(){ft=!1,ir=pr=0,Ft=[],cr=[],Nn=[],Yn=Pn(),Vn=Pn(),jr.publish("buildDocument"),ma(),_i(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];zn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var St=ir;return Ba(),Qi(),Xt("startxref"),Xt(""+St),Xt("%%EOF"),ft=!0,Ft.join(`
|
|
|
`)},Wi=ae.__private__.getBlob=function(St){return new Blob([Ar(St)],{type:"application/pdf"})},Co=ae.output=ae.__private__.output=((It=function(Vt,sr){sr=sr||{};var br=Qa();switch(typeof sr=="string"?sr={filename:sr}:sr.filename=sr.filename||"generated.pdf",Vt){case void 0:return br;case"save":ae.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(we.URL!==void 0&&typeof we.URL.createObjectURL=="function")return we.URL&&we.URL.createObjectURL(Wi(br))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);case"dataurlnewwindow":var Mr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=we.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return we.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return It.apply(this,arguments)}catch(sr){var St=sr.stack||"";~St.indexOf(" at ")&&(St=St.split(" at ")[1]);var Vt="Error in function "+St.split(`
|
|
|
`)[0].split("<")[0]+": "+sr.message;if(!we.console)throw new Error(Vt);we.console.error(Vt,sr),we.alert&&alert(Vt)}},(It.foo.bar=It).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(Re){case"pt":pt=1;break;case"mm":pt=72/25.4;break;case"cm":pt=72/2.54;break;case"in":pt=72;break;case"px":pt=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":pt=12;break;case"ex":pt=6;break;default:throw new Error("Invalid unit: "+Re)}Gt(),$t();var Hi=ae.__private__.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:un[St].objId,pageNumber:St,pageContext:un[St]}},ga=ae.__private__.getPageInfoByObjId=function(St){for(var Vt in un)if(un[Vt].objId===St)break;if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=ae.__private__.getCurrentPageInfo=function(){return{objId:un[Mt].objId,pageNumber:Mt,pageContext:un[Mt]}};ae.addPage=function(){return Ln.apply(this,arguments),this},ae.setPage=function(){return _n.apply(this,arguments),this},ae.insertPage=function(St){return this.addPage(),this.movePage(Mt,St),this},ae.movePage=function(St,Vt){if(Vt<St){for(var sr=Ht[St],br=un[St],Mr=St;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],un[Mr]=un[Mr-1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}else if(St<Vt){for(sr=Ht[St],br=un[St],Mr=St;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],un[Mr]=un[Mr+1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}return this},ae.deletePage=function(){return function(St){0<St&&St<=Yr&&(Ht.splice(St,1),--Yr<Mt&&(Mt=Yr),this.setPage(Mt))}.apply(this,arguments),this},ae.__private__.text=ae.text=function(St,Vt,sr,br){var Mr;typeof St!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=St,St=Mr);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(m(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),br={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(Vt)||isNaN(sr)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.length===0)return bn;var wn,Hn="",Sn=typeof br.lineHeightFactor=="number"?br.lineHeightFactor:$i,bn=br.scope||this;function Mn(ra){for(var Yi,Xa=ra.concat(),Ki=[],zi=Xa.length;zi--;)typeof(Yi=Xa.shift())=="string"?Ki.push(Yi):Array.isArray(ra)&&Yi.length===1?Ki.push(Yi[0]):Ki.push([Yi[0],Yi[1],Yi[2]]);return Ki}function vn(ra,Yi){var Xa;if(typeof ra=="string")Xa=Yi(ra)[0];else if(Array.isArray(ra)){for(var Ki,zi,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(Ki=ba.shift())=="string"?Ua.push(Yi(Ki)[0]):Array.isArray(Ki)&&Ki[0]==="string"&&(zi=Yi(Ki[0],Ki[1],Ki[2]),Ua.push([zi[0],zi[1],zi[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof St=="string")Rn=!0;else if(Array.isArray(St)){for(var In,Xn=St.concat(),ai=[],ri=Xn.length;ri--;)(typeof(In=Xn.shift())!="string"||Array.isArray(In)&&typeof In[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');var Di=fr[ut].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(St=vn(St,function(ra,Yi,Xa){return[(Ki=ra,Ki=Ki.split(" ").join(Array(br.TabLen||9).join(" ")),mn(Ki,Dr)),Yi,Xa];var Ki})),typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var yi=Fr/bn.internal.scaleFactor,xi=yi*($i-1);switch(br.baseline){case"bottom":sr-=xi;break;case"top":sr+=yi-xi;break;case"hanging":sr+=yi-2*xi;break;case"middle":sr+=yi/2-xi}0<(sa=br.maxWidth||0)&&(typeof St=="string"?St=bn.splitTextToSize(St,sa):Object.prototype.toString.call(St)==="[object Array]"&&(St=bn.splitTextToSize(St.join(" "),sa)));var Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}};jr.publish("preProcessText",Li),St=Li.text,rn=(br=Li.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Fe(fa),Fe(Ui),Fe(-1*Ui),Fe(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=$e(oa*Un)+` Tc
|
|
|
`),br.lang;var Mi=-1,mi=br.renderingMode!==void 0?br.renderingMode:br.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Mi=0;break;case 1:case!0:case"stroke":Mi=1;break;case 2:case"fillThenStroke":Mi=2;break;case 3:case"invisible":Mi=3;break;case 4:case"fillAndAddForClipping":Mi=4;break;case 5:case"strokeAndAddPathForClipping":Mi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mi=6;break;case 7:case"addToPathForClipping":Mi=7}var qi=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Mi!==-1?Hn+=Mi+` Tr
|
|
|
`:qi!==-1&&(Hn+=`0 Tr
|
|
|
`),Mi!==-1&&(hi.usedRenderingMode=Mi),fn=br.align||"left";var va=Fr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[ut]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(St)==="[object Array]"){var $n,Ai;ai=Mn(St),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:Fr})*Fr/Un}));var Ii,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],St=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(Ii=Pr(Vt),Wr(sr)):(Ii=(Xi-Ai[bi])*Un,-va),St.push([ai[bi],Ii,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,St=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(Ii=Pr(Vt),Wr(sr)):(Ii=(Xi-Ai[bi])/2*Un,-va),St.push([ai[bi],Ii,$n]),Xi=Ai[bi];else if(fn==="left")for(St=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Ii=bi===0?Pr(Vt):0,St.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(St=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Ii=bi===0?Pr(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),St.push([ai[bi],Ii,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(St=vn(St,function(ra,Yi,Xa){return[ra.split("").reverse().join(""),Yi,Xa]})),Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}},jr.publish("postProcessText",Li),St=Li.text,wn=Li.mutex.isHex,ai=Mn(St),St=[];var Aa,ca,la,gi=0,Pa=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Pa="",Array.isArray(ai[bi])?(Aa=parseFloat(ai[bi][1]),ca=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(Aa=Pr(Vt),ca=Wr(sr),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Ni!==void 0&&Ni[bi]!==void 0&&(Pa=Ni[bi]+` Tw
|
|
|
`),Ri.length!==0&&bi===0?St.push(Pa+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ca.toFixed(2)+` Tm
|
|
|
`+la):gi===1||gi===0&&bi===0?St.push(Pa+Aa.toFixed(2)+" "+ca.toFixed(2)+` Td
|
|
|
`+la):St.push(Pa+la);St=gi===0?St.join(` Tj
|
|
|
T* `):St.join(` Tj
|
|
|
`),St+=` Tj
|
|
|
`;var Ma=`BT
|
|
|
/`+ut+" "+Fr+` Tf
|
|
|
`+(Fr*Sn).toFixed(2)+` TL
|
|
|
`+nr+`
|
|
|
`;return Ma+=Hn,Ma+=St,Xt(Ma+="ET"),Ot[ut]=!0,bn},ae.__private__.lstext=ae.lstext=function(St,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(St,Vt,sr,{charSpace:br})},ae.__private__.clip=ae.clip=function(St){Xt(St==="evenodd"?"W*":"W"),Xt("n")},ae.__private__.clip_fixed=ae.clip_fixed=function(St){console.log("clip_fixed is deprecated"),ae.clip(St)};var mo=ae.__private__.isValidStyle=function(St){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(St)!==-1&&(Vt=!0),Vt},kn=ae.__private__.getStyle=function(St){var Vt="S";return St==="F"?Vt="f":St==="FD"||St==="DF"?Vt="B":St!=="f"&&St!=="f*"&&St!=="B"&&St!=="B*"||(Vt=St),Vt};ae.__private__.line=ae.line=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-St,br-Vt]],St,Vt)},ae.__private__.lines=ae.lines=function(St,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,In,Xn;if(typeof St=="number"&&(Xn=sr,sr=Vt,Vt=St,St=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(St)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt($e(Pr(Vt))+" "+$e(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=St.length,En=Vt,In=sr,wn=0;wn<Hn;wn++)(Sn=St[wn]).length===2?(En=Sn[0]*rn+En,In=Sn[1]*fn+In,Xt($e(Pr(En))+" "+$e(Wr(In))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+In,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+In,En=Sn[4]*rn+En,In=Sn[5]*fn+In,Xt($e(Pr(bn))+" "+$e(Wr(Mn))+" "+$e(Pr(vn))+" "+$e(Wr(Rn))+" "+$e(Pr(En))+" "+$e(Wr(In))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.rect=ae.rect=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Fe(Pr(St)),Fe(Wr(Vt)),Fe(sr*pt),Fe(-br*pt),"re"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.triangle=ae.triangle=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[sr-St,br-Vt],[Mr-sr,Dr-br],[St-Mr,Vt-Dr]],St,Vt,[1,1],rn,!0),this},ae.__private__.roundedRect=ae.roundedRect=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[sr-2*Mr,0],[Mr*fn,0,Mr,Dr-Dr*fn,Mr,Dr],[0,br-2*Dr],[0,Dr*fn,-Mr*fn,Dr,-Mr,Dr],[2*Mr-sr,0],[-Mr*fn,0,-Mr,-Dr*fn,-Mr,-Dr],[0,2*Dr-br],[0,-Dr*fn,Mr*fn,-Dr,Mr,-Dr]],St+Mr,Vt,[1,1],rn),this},ae.__private__.ellipse=ae.ellipse=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*sr,rn=4/3*(Math.SQRT2-1)*br;return Xt([Fe(Pr(St+sr)),Fe(Wr(Vt)),"m",Fe(Pr(St+sr)),Fe(Wr(Vt-rn)),Fe(Pr(St+Dr)),Fe(Wr(Vt-br)),Fe(Pr(St)),Fe(Wr(Vt-br)),"c"].join(" ")),Xt([Fe(Pr(St-Dr)),Fe(Wr(Vt-br)),Fe(Pr(St-sr)),Fe(Wr(Vt-rn)),Fe(Pr(St-sr)),Fe(Wr(Vt)),"c"].join(" ")),Xt([Fe(Pr(St-sr)),Fe(Wr(Vt+rn)),Fe(Pr(St-Dr)),Fe(Wr(Vt+br)),Fe(Pr(St)),Fe(Wr(Vt+br)),"c"].join(" ")),Xt([Fe(Pr(St+Dr)),Fe(Wr(Vt+br)),Fe(Pr(St+sr)),Fe(Wr(Vt+rn)),Fe(Pr(St+sr)),Fe(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.circle=ae.circle=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,Vt,sr,sr,br)},ae.setFont=function(St,Vt){return ut=ni(St,Vt,{disableWarning:!1}),this},ae.setFontStyle=ae.setFontType=function(St){return ut=ni(void 0,St),this},ae.__private__.getFontList=ae.getFontList=function(){var St,Vt,sr,br={};for(St in xr)if(xr.hasOwnProperty(St))for(Vt in br[St]=sr=[],xr[St])xr[St].hasOwnProperty(Vt)&&sr.push(Vt);return br},ae.addFont=function(St,Vt,sr,br){Oa.call(this,St,Vt,sr,br=br||"Identity-H")};var $i,eo=Ye.lineWidth||.200025,To=ae.__private__.setLineWidth=ae.setLineWidth=function(St){return Xt((St*pt).toFixed(2)+" w"),this},uo=(ae.__private__.setLineDash=me.API.setLineDash=function(St,Vt){if(St=St||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(sr){return(sr*pt).toFixed(3)}).join(" "),Vt=parseFloat((Vt*pt).toFixed(3)),Xt("["+St+"] "+Vt+" d"),this},ae.__private__.getLineHeight=ae.getLineHeight=function(){return Fr*$i}),rr=(uo=ae.__private__.getLineHeight=ae.getLineHeight=function(){return Fr*$i},ae.__private__.setLineHeightFactor=ae.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&($i=St),this}),Tr=ae.__private__.getLineHeightFactor=ae.getLineHeightFactor=function(){return $i};rr(Ye.lineHeight);var Pr=ae.__private__.getHorizontalCoordinate=function(St){return St*pt},Wr=ae.__private__.getVerticalCoordinate=function(St){return un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*pt},hn=ae.__private__.getHorizontalCoordinateString=function(St){return Fe(St*pt)},rt=ae.__private__.getVerticalCoordinateString=function(St){return Fe(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*pt)},jt=Ye.strokeColor||"0 G",Jt=(ae.__private__.getStrokeColor=ae.getDrawColor=function(){return An(jt)},ae.__private__.setStrokeColor=ae.setDrawColor=function(St,Vt,sr,br){return jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},Ye.fillColor||"0 g"),nr=(ae.__private__.getFillColor=ae.getFillColor=function(){return An(Jt)},ae.__private__.setFillColor=ae.setFillColor=function(St,Vt,sr,br){return Jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Jt),this},Ye.textColor||"0 g"),Or=ae.__private__.getTextColor=ae.getTextColor=function(){return An(nr)},wr=(ae.__private__.setTextColor=ae.setTextColor=function(St,Vt,sr,br){return nr=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},Ye.charSpace||0),Er=ae.__private__.getCharSpace=ae.getCharSpace=function(){return wr},zr=(ae.__private__.setCharSpace=ae.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=St,this},0);ae.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ae.__private__.setLineCap=ae.setLineCap=function(St){var Vt=ae.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((zr=Vt)+" J"),this};var Jr,Zr=0;ae.__private__.setLineJoin=ae.setLineJoin=function(St){var Vt=ae.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Zr=Vt)+" j"),this},ae.__private__.setMiterLimit=ae.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Jr=parseFloat(Fe(St*pt)),Xt(Jr+" M"),this};for(var an in ae.save=function(St,Vt){if(St=St||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Zt(Wi(Qa()),St);typeof Zt.unload=="function"&&we.setTimeout&&setTimeout(Zt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Zt(Wi(Qa()),St),typeof Zt.unload=="function"&&we.setTimeout&&setTimeout(Zt.unload,911)},me.API)me.API.hasOwnProperty(an)&&(an==="events"&&me.API.events.length?function(St,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],St.subscribe.apply(St,[sr].concat(typeof br=="function"?[br]:br))}(jr,me.API.events):ae[an]=me.API[an]);return ae.internal={pdfEscape:mn,getStyle:kn,getFont:function(){return fr[ni.apply(ae,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:Or,getLineHeight:uo,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Pr,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:rt,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Pn,newObjectDeferredBegin:zn,getFilters:ia,putStream:xa,events:jr,scaleFactor:pt,pageSize:{getWidth:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/pt},setWidth:function(Vt){un[Mt].mediaBox.topRightX=Vt*pt+un[Mt].mediaBox.bottomLeftX},getHeight:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/pt},setHeight:function(Vt){un[Mt].mediaBox.topRightY=Vt*pt+un[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Fe,f3:$e,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:J,hasHotfix:aa},Object.defineProperty(ae.internal.pageSize,"width",{get:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/pt},set:function(Vt){un[Mt].mediaBox.topRightX=Vt*pt+un[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ae.internal.pageSize,"height",{get:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/pt},set:function(Vt){un[Mt].mediaBox.topRightY=Vt*pt+un[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(St){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=Oa(St[Vt][0],St[Vt][1],St[Vt][2],Nr[Vt][3],!0);Ot[br]=!0;var Mr=St[Vt][0].split("-");Gn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),ut="F1",Ln(He,he),jr.publish("initialized"),ae}return me.API={events:[]},me.version="1.5.3",!(y=function(){return me}.call(_,e,_,D),y!==void 0&&(D.exports=y)),me}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
|
|
|
* @license
|
|
|
* Copyright (c) 2016 Alexander Weidt,
|
|
|
* https://github.com/BiggA94
|
|
|
*
|
|
|
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
|
|
*/(function(we,ve){var me,he=1,Re=function(ur){return ur.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},He=function(ur){return ur.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ze=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(2)},Ye=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(5)};we.__acroform__={};var Pe=function(ur,pr){ur.prototype=Object.create(pr.prototype),ur.prototype.constructor=ur},nt=function(ur){return ur*he},bt=function(ur){return ur/he},Ot=function(ur){var pr=new pt,cr=Lr.internal.getHeight(ur)||0,fr=Lr.internal.getWidth(ur)||0;return pr.BBox=[0,0,Number(ze(fr)),Number(ze(cr))],pr},ae=we.__acroform__.setBit=function(_r,ur){if(_r=_r||0,ur=ur||0,isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return _r|=1<<ur},pe=we.__acroform__.clearBit=function(_r,ur){if(_r=_r||0,ur=ur||0,isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return _r&=~(1<<ur)},J=we.__acroform__.getBit=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(_r&1<<ur)==0?0:1},ne=we.__acroform__.getBitForPdf=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return J(_r,ur-1)},xe=we.__acroform__.setBitForPdf=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ae(_r,ur-1)},De=we.__acroform__.clearBitForPdf=function(_r,ur,pr){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return pe(_r,ur-1)},Fe=we.__acroform__.calculateCoordinates=function(_r){var ur=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,cr=_r[0],fr=_r[1],xr=_r[2],Yr=_r[3],un={};return un.lowerLeft_X=ur(cr)||0,un.lowerLeft_Y=pr(fr+Yr)||0,un.upperRight_X=ur(cr+xr)||0,un.upperRight_Y=pr(fr)||0,[Number(ze(un.lowerLeft_X)),Number(ze(un.lowerLeft_Y)),Number(ze(un.upperRight_X)),Number(ze(un.upperRight_Y))]},$e=function(ur){if(ur.appearanceStreamContent)return ur.appearanceStreamContent;if(ur.V||ur.DV){var pr=[],cr=ur.V||ur.DV,fr=vt(ur,cr),xr=me.internal.getFont(ur.fontName,ur.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(me.__private__.encodeColorString(ur.color)),pr.push("/"+xr+" "+ze(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Yr=new Ot(ur);return Yr.stream=pr.join(`
|
|
|
`),Yr}},vt=function(ur,pr){var cr=ur.maxFontSize||12,fr=(ur.fontName,{text:"",fontSize:""}),xr=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Yr=(me.__private__.encodeColorString(ur.color),cr),un=Lr.internal.getHeight(ur)||0;un=un<0?-un:un;var Nn=Lr.internal.getWidth(ur)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,On,Ln){if(mn+1<xr.length){var _n=On+" "+xr[mn+1];return Wt(_n,ur,Ln).width<=Nn-4}return!1};Yr++;e:for(;;){pr="";var Tn=Wt("3",ur,--Yr).height,gn=ur.multiline?un-Yr:(un-Tn)/2,Pn=-2,zn=gn+=2,qn=0,Yn=0,Vn=0;if(Yr<=0){pr=`(...) Tj
|
|
|
`,pr+="% Width of Text: "+Wt(pr,ur,Yr=12).width+", FieldWidth:"+Nn+`
|
|
|
`;break}Vn=Wt(xr[0]+" ",ur,Yr).width;var An="",on=0;for(var ia in xr)if(xr.hasOwnProperty(ia)){An=(An+=xr[ia]+" ").substr(An.length-1)==" "?An.substr(0,An.length-1):An;var xa=parseInt(ia);Vn=Wt(An+" ",ur,Yr).width;var ta=jr(xa,An,Yr),_i=ia>=xr.length-1;if(ta&&!_i){An+=" ";continue}if(ta||_i){if(_i)Yn=xa;else if(ur.multiline&&un<(Tn+2)*(on+2)+2)continue e}else{if(!ur.multiline)continue e;if(un<(Tn+2)*(on+2)+2)continue e;Yn=xa}for(var Ci="",Gn=qn;Gn<=Yn;Gn++)Ci+=xr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=Wt(Ci,ur,Yr).width,ur.textAlign){case"right":Pn=Nn-Vn-2;break;case"center":Pn=(Nn-Vn)/2;break;case"left":default:Pn=2}pr+=ze(Pn)+" "+ze(zn)+` Td
|
|
|
`,pr+="("+Re(Ci)+`) Tj
|
|
|
`,pr+=-ze(Pn)+` 0 Td
|
|
|
`,zn=-(Yr+2),Vn=0,qn=Yn+1,on++,An=""}break}return fr.text=pr,fr.fontSize=Yr,fr},Wt=function(ur,pr,cr){var fr=me.internal.getFont(pr.fontName,pr.fontStyle),xr=me.getStringUnitWidth(ur,{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr);return{height:me.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr)*1.5,width:xr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Rt=function(){me.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ur=me.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=ur[pr];cr.objId=void 0,cr.hasAnnotation&&Kt.call(me,cr)}},Kt=function(ur){var pr={type:"reference",object:ur};me.internal.getPageInfo(ur.page).pageContext.annotations.find(function(cr){return cr.type===pr.type&&cr.object===pr.object})===void 0&&me.internal.getPageInfo(ur.page).pageContext.annotations.push(pr)},Gt=function(){if(me.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");me.internal.write("/AcroForm "+me.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){me.internal.events.unsubscribe(me.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete me.internal.acroformPlugin.acroFormDictionaryRoot._eventID,me.internal.acroformPlugin.printedOut=!0},Mt=function(ur){var pr=!ur;ur||(me.internal.newObjectDeferredBegin(me.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),me.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ur=ur||me.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var cr in ur)if(ur.hasOwnProperty(cr)){var fr=ur[cr],xr=[],Yr=fr.Rect;if(fr.Rect&&(fr.Rect=Fe.call(this,fr.Rect)),me.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=Lr.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Yr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var un=$e.call(this,fr);xr.push({key:"AP",value:"<</N "+un+">>"}),me.internal.acroformPlugin.xForms.push(un)}if(fr.appearanceStreamContent){var Nn="";for(var jr in fr.appearanceStreamContent)if(fr.appearanceStreamContent.hasOwnProperty(jr)){var Tn=fr.appearanceStreamContent[jr];if(Nn+="/"+jr+" ",Nn+="<<",1<=Object.keys(Tn).length||Array.isArray(Tn))for(var cr in Tn){var gn;Tn.hasOwnProperty(cr)&&(typeof(gn=Tn[cr])=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn+" ",0<=me.internal.acroformPlugin.xForms.indexOf(gn)||me.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn,0<=me.internal.acroformPlugin.xForms.indexOf(gn)||me.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
|
|
|
`+Nn+">>"})}me.internal.putStream({additionalKeyValues:xr}),me.internal.out("endobj")}pr&&dr.call(this,me.internal.acroformPlugin.xForms)},dr=function(ur){for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=pr,fr=ur[pr];me.internal.newObjectDeferredBegin(fr&&fr.objId,!0),m(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete ur[cr]}},er=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(me=this,Tt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");he=me.internal.scaleFactor,me.internal.acroformPlugin.acroFormDictionaryRoot=new It,me.internal.acroformPlugin.acroFormDictionaryRoot._eventID=me.internal.events.subscribe("postPutResources",Qt),me.internal.events.subscribe("buildDocument",Rt),me.internal.events.subscribe("putCatalog",Gt),me.internal.events.subscribe("postPutPages",Mt),me.internal.acroformPlugin.isInitialized=!0}},st=we.__acroform__.arrayToPdfArray=function(_r){if(Array.isArray(_r)){for(var ur="[",pr=0;pr<_r.length;pr++)switch(pr!==0&&(ur+=" "),m(_r[pr])){case"boolean":case"number":case"object":ur+=_r[pr].toString();break;case"string":_r[pr].substr(0,1)!=="/"?ur+="("+Re(_r[pr].toString())+")":ur+=_r[pr].toString()}return ur+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},xt=function(ur){return(ur=ur||"").toString(),ur="("+Re(ur)+")"},ut=function(){var ur;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(ur||(ur=me.internal.newObjectDeferred()),!ur)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return ur},set:function(cr){ur=cr}})};ut.prototype.toString=function(){return this.objId+" 0 R"},ut.prototype.putStream=function(){var _r=this.getKeyValueListForStream();me.internal.putStream({data:this.stream,additionalKeyValues:_r}),me.internal.out("endobj")},ut.prototype.getKeyValueListForStream=function(){return function(_r){var ur=[],pr=Object.getOwnPropertyNames(_r).filter(function(Yr){return Yr!="content"&&Yr!="appearanceStreamContent"&&Yr.substring(0,1)!="_"});for(var cr in pr)if(Object.getOwnPropertyDescriptor(_r,pr[cr]).configurable===!1){var fr=pr[cr],xr=_r[fr];xr&&(Array.isArray(xr)?ur.push({key:fr,value:st(xr)}):xr instanceof ut?ur.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&ur.push({key:fr,value:xr}))}return ur}(this)};var pt=function(){ut.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var ur,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(fr){pr=fr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(fr){ur=fr.trim()},get:function(){return ur||null}})};Pe(pt,ut);var It=function(){ut.call(this);var ur,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(ur)return"("+ur+")"},set:function(fr){ur=fr}})};Pe(It,ut);var Tt=function _r(){ut.call(this);var ur=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');ur=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(ur,3))},set:function(on){Boolean(on)===!0?this.F=xe(ur,3):this.F=De(ur,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');pr=on}});var cr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(cr.length!==0)return cr},set:function(on){cr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[0])?0:bt(cr[0])},set:function(on){cr[0]=nt(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[1])?0:bt(cr[1])},set:function(on){cr[1]=nt(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[2])?0:bt(cr[2])},set:function(on){cr[2]=nt(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[3])?0:bt(cr[3])},set:function(on){cr[3]=nt(on)}});var fr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return fr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":fr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var xr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!xr||xr.length<1){if(this instanceof Nr)return;xr="FieldObject"+_r.FieldNum++}return"("+Re(xr)+")"},set:function(on){xr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return xr},set:function(on){xr=on}});var Yr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Yr},set:function(on){Yr=on}});var un="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return un},set:function(on){un=on}});var Nn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return bt(Nn)},set:function(on){Nn=nt(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return bt(jr)},set:function(on){jr=nt(on)}});var Tn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Tn},set:function(on){Tn=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return xt(gn)},set:function(on){on=on.toString(),gn=on}});var Pn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Pn)return this instanceof Xt==!1?xt(Pn):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!1?on.substr(0,1)==="("?He(on.substr(1,on.length-2)):He(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?He(Pn.substr(1,Pn.length-1)):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!0?"/"+on:on}});var zn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zn)return this instanceof Xt==!1?xt(zn):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!1?on.substr(0,1)==="("?He(on.substr(1,on.length-2)):He(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?He(zn.substr(1,zn.length-1)):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var qn,Yn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Yn},set:function(on){on=Boolean(on),Yn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(qn)return qn},set:function(on){qn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=xe(this.Ff,1):this.Ff=De(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=xe(this.Ff,2):this.Ff=De(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=xe(this.Ff,3):this.Ff=De(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};Pe(Tt,ut);var ft=function(){Tt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var ur=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(fr){ur=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return st(pr)},set:function(fr){var xr,Yr;Yr=[],typeof(xr=fr)=="string"&&(Yr=function(un,Nn,jr){jr||(jr=1);for(var Tn,gn=[];Tn=Nn.exec(un);)gn.push(Tn[jr]);return gn}(xr,/\((.*?)\)/g)),pr=Yr}}),this.getOptions=function(){return pr},this.setOptions=function(cr){pr=cr,this.sort&&pr.sort()},this.addOption=function(cr){cr=(cr=cr||"").toString(),pr.push(cr),this.sort&&pr.sort()},this.removeOption=function(cr,fr){for(fr=fr||!1,cr=(cr=cr||"").toString();pr.indexOf(cr)!==-1&&(pr.splice(pr.indexOf(cr),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,18):this.Ff=De(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=xe(this.Ff,19):this.Ff=De(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=xe(this.Ff,20),pr.sort()):this.Ff=De(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,22):this.Ff=De(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,23):this.Ff=De(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,27):this.Ff=De(this.Ff,27)}}),this.hasAppearanceStream=!1};Pe(ft,Tt);var Ht=function(){ft.call(this),this.fontName="helvetica",this.combo=!1};Pe(Ht,ft);var Ft=function(){Ht.call(this),this.combo=!0};Pe(Ft,Ht);var ir=function(){Ft.call(this),this.edit=!0};Pe(ir,Ft);var Xt=function(){Tt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,15):this.Ff=De(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,16):this.Ff=De(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,17):this.Ff=De(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=xe(this.Ff,26):this.Ff=De(this.Ff,26)}});var ur,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var fr,xr=[];for(fr in xr.push("<<"),pr)xr.push("/"+fr+" ("+pr[fr]+")");return xr.push(">>"),xr.join(`
|
|
|
`)}},set:function(fr){m(fr)==="object"&&(pr=fr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(fr){typeof fr=="string"&&(pr.CA=fr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ur.substr(1,ur.length-1)},set:function(fr){ur="/"+fr}})};Pe(Xt,Tt);var mr=function(){Xt.call(this),this.pushButton=!0};Pe(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var ur=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr!==void 0?cr:[]}})};Pe(Ar,Xt);var Nr=function(){var ur,pr;Tt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(Yr){ur=Yr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Yr){pr=Yr}});var cr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Yr,un=[];for(Yr in un.push("<<"),fr)un.push("/"+Yr+" ("+fr[Yr]+")");return un.push(">>"),un.join(`
|
|
|
`)},set:function(Yr){m(Yr)==="object"&&(fr=Yr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(Yr){typeof Yr=="string"&&(fr.CA=Yr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Yr){cr=Yr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Yr){cr="/"+Yr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Lr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Pe(Nr,Tt),Ar.prototype.setAppearance=function(_r){if(!("createAppearanceStream"in _r&&"getCA"in _r))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ur in this.Kids)if(this.Kids.hasOwnProperty(ur)){var pr=this.Kids[ur];pr.appearanceStreamContent=_r.createAppearanceStream(pr.optionName),pr.caption=_r.getCA()}},Ar.prototype.createOption=function(_r){this.Kids.length;var ur=new Nr;return ur.Parent=this,ur.optionName=_r,this.Kids.push(ur),Qr.call(this,ur),ur};var Fr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Lr.CheckBox.createAppearanceStream()};Pe(Fr,Xt);var tn=function(){Tt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,13))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,13):this.Ff=De(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,21))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,21):this.Ff=De(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,23))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,23):this.Ff=De(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,24))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,24):this.Ff=De(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,25))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,25):this.Ff=De(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,26))},set:function(cr){Boolean(cr)===!0?this.Ff=xe(this.Ff,26):this.Ff=De(this.Ff,26)}});var ur=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(cr){Number.isInteger(cr)&&(ur=cr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Pe(tn,Tt);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=xe(this.Ff,14):this.Ff=De(this.Ff,14)}}),this.password=!0};Pe(qr,tn);var Lr={CheckBox:{createAppearanceStream:function(){return{N:{On:Lr.CheckBox.YesNormal},D:{On:Lr.CheckBox.YesPushDown,Off:Lr.CheckBox.OffPushDown}}},YesPushDown:function(ur){var pr=Ot(ur),cr=[],fr=me.internal.getFont(ur.fontName,ur.fontStyle).id,xr=me.__private__.encodeColorString(ur.color),Yr=vt(ur,ur.caption);return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),cr.push("BMC"),cr.push("q"),cr.push("0 0 1 rg"),cr.push("/"+fr+" "+ze(Yr.fontSize)+" Tf "+xr),cr.push("BT"),cr.push(Yr.text),cr.push("ET"),cr.push("Q"),cr.push("EMC"),pr.stream=cr.join(`
|
|
|
`),pr},YesNormal:function(ur){var pr=Ot(ur),cr=me.internal.getFont(ur.fontName,ur.fontStyle).id,fr=me.__private__.encodeColorString(ur.color),xr=[],Yr=Lr.internal.getHeight(ur),un=Lr.internal.getWidth(ur),Nn=vt(ur,ur.caption);return xr.push("1 g"),xr.push("0 0 "+ze(un)+" "+ze(Yr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+ze(un-1)+" "+ze(Yr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+cr+" "+ze(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Circle.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Circle.YesNormal,pr.D[ur]=Lr.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4;fr=Number((.9*fr).toFixed(5));var xr=Lr.internal.Bezier_C,Yr=Number((fr*xr).toFixed(5));return cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+Yr+" "+Yr+" "+fr+" 0 "+fr+" c"),cr.push("-"+Yr+" "+fr+" -"+fr+" "+Yr+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+Yr+" -"+Yr+" -"+fr+" 0 -"+fr+" c"),cr.push(Yr+" -"+fr+" "+fr+" -"+Yr+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},YesPushDown:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5)),un=Number((fr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),cr.push("0 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+un+" "+un+" "+fr+" 0 "+fr+" c"),cr.push("-"+un+" "+fr+" -"+fr+" "+un+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+un+" -"+un+" -"+fr+" 0 -"+fr+" c"),cr.push(un+" -"+fr+" "+fr+" -"+un+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Ye(Lr.internal.getWidth(ur)/2)+" "+Ye(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr}},Cross:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Cross.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Cross.YesNormal,pr.D[ur]=Lr.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(ur){var pr=Ot(ur),cr=[],fr=Lr.internal.calculateCross(ur);return cr.push("q"),cr.push("1 1 "+ze(Lr.internal.getWidth(ur)-2)+" "+ze(Lr.internal.getHeight(ur)-2)+" re"),cr.push("W"),cr.push("n"),cr.push(ze(fr.x1.x)+" "+ze(fr.x1.y)+" m"),cr.push(ze(fr.x2.x)+" "+ze(fr.x2.y)+" l"),cr.push(ze(fr.x4.x)+" "+ze(fr.x4.y)+" m"),cr.push(ze(fr.x3.x)+" "+ze(fr.x3.y)+" l"),cr.push("s"),cr.push("Q"),pr.stream=cr.join(`
|
|
|
`),pr},YesPushDown:function(ur){var pr=Ot(ur),cr=Lr.internal.calculateCross(ur),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+ze(Lr.internal.getWidth(ur)-2)+" "+ze(Lr.internal.getHeight(ur)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(ze(cr.x1.x)+" "+ze(cr.x1.y)+" m"),fr.push(ze(cr.x2.x)+" "+ze(cr.x2.y)+" l"),fr.push(ze(cr.x4.x)+" "+ze(cr.x4.y)+" m"),fr.push(ze(cr.x3.x)+" "+ze(cr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
|
|
|
`),pr},OffPushDown:function(ur){var pr=Ot(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
|
|
|
`),pr}}},createDefaultAppearanceStream:function(ur){var pr=me.internal.getFont(ur.fontName,ur.fontStyle).id,cr=me.__private__.encodeColorString(ur.color);return"/"+pr+" "+ur.fontSize+" Tf "+cr}};Lr.internal={Bezier_C:.551915024494,calculateCross:function(ur){var pr=Lr.internal.getWidth(ur),cr=Lr.internal.getHeight(ur),fr=Math.min(pr,cr);return{x1:{x:(pr-fr)/2,y:(cr-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(cr-fr)/2},x3:{x:(pr-fr)/2,y:(cr-fr)/2},x4:{x:(pr-fr)/2+fr,y:(cr-fr)/2+fr}}}},Lr.internal.getWidth=function(_r){var ur=0;return m(_r)==="object"&&(ur=nt(_r.Rect[2])),ur},Lr.internal.getHeight=function(_r){var ur=0;return m(_r)==="object"&&(ur=nt(_r.Rect[3])),ur};var Qr=we.addField=function(_r){if(er.call(this),!(_r instanceof Tt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(ur){me.internal.acroformPlugin.printedOut&&(me.internal.acroformPlugin.printedOut=!1,me.internal.acroformPlugin.acroFormDictionaryRoot=null),me.internal.acroformPlugin.acroFormDictionaryRoot||er.call(me),me.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ur)}.call(this,_r),_r.page=me.internal.getCurrentPageInfo().pageNumber,this};we.addButton=function(_r){if(_r instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,_r)},we.addTextField=function(_r){if(_r instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,_r)},we.addChoiceField=function(_r){if(_r instanceof ft==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,_r)},m(ve)=="object"&&ve.ChoiceField===void 0&&ve.ListBox===void 0&&ve.ComboBox===void 0&&ve.EditBox===void 0&&ve.Button===void 0&&ve.PushButton===void 0&&ve.RadioButton===void 0&&ve.CheckBox===void 0&&ve.TextField===void 0&&ve.PasswordField===void 0?(ve.ChoiceField=ft,ve.ListBox=Ht,ve.ComboBox=Ft,ve.EditBox=ir,ve.Button=Xt,ve.PushButton=mr,ve.RadioButton=Ar,ve.CheckBox=Fr,ve.TextField=tn,ve.PasswordField=qr,ve.AcroForm={Appearance:Lr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),we.AcroFormChoiceField=ft,we.AcroFormListBox=Ht,we.AcroFormComboBox=Ft,we.AcroFormEditBox=ir,we.AcroFormButton=Xt,we.AcroFormPushButton=mr,we.AcroFormRadioButton=Ar,we.AcroFormCheckBox=Fr,we.AcroFormTextField=tn,we.AcroFormPasswordField=qr,we.AcroFormAppearance=Lr,we.AcroForm={ChoiceField:ft,ListBox:Ht,ComboBox:Ft,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:Fr,TextField:tn,PasswordField:qr,Appearance:Lr}})((window.tmp=ht).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(we){var ve="addImage_",me={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},he=we.getImageFileTypeByImageData=function(ae,pe){var J,ne;pe=pe||"UNKNOWN";var xe,De,Fe,$e="UNKNOWN";for(Fe in we.isArrayBufferView(ae)&&(ae=we.arrayBufferToBinaryString(ae)),me)for(xe=me[Fe],J=0;J<xe.length;J+=1){for(De=!0,ne=0;ne<xe[J].length;ne+=1)if(xe[J][ne]!==void 0&&xe[J][ne]!==ae.charCodeAt(ne)){De=!1;break}if(De===!0){$e=Fe;break}}return $e==="UNKNOWN"&&pe!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+pe+'".'),$e=pe),$e},Re=function ae(pe){for(var J=this.internal.newObject(),ne=this.internal.write,xe=this.internal.putStream,De=(0,this.internal.getFilters)();De.indexOf("FlateEncode")!==-1;)De.splice(De.indexOf("FlateEncode"),1);pe.n=J;var Fe=[];if(Fe.push({key:"Type",value:"/XObject"}),Fe.push({key:"Subtype",value:"/Image"}),Fe.push({key:"Width",value:pe.w}),Fe.push({key:"Height",value:pe.h}),pe.cs===this.color_spaces.INDEXED?Fe.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(pe.pal.length/3-1)+" "+("smask"in pe?J+2:J+1)+" 0 R]"}):(Fe.push({key:"ColorSpace",value:"/"+pe.cs}),pe.cs===this.color_spaces.DEVICE_CMYK&&Fe.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Fe.push({key:"BitsPerComponent",value:pe.bpc}),"dp"in pe&&Fe.push({key:"DecodeParms",value:"<<"+pe.dp+">>"}),"trns"in pe&&pe.trns.constructor==Array){for(var $e="",vt=0,Wt=pe.trns.length;vt<Wt;vt++)$e+=pe.trns[vt]+" "+pe.trns[vt]+" ";Fe.push({key:"Mask",value:"["+$e+"]"})}"smask"in pe&&Fe.push({key:"SMask",value:J+1+" 0 R"});var $t=pe.f!==void 0?["/"+pe.f]:void 0;if(xe({data:pe.data,additionalKeyValues:Fe,alreadyAppliedFilters:$t}),ne("endobj"),"smask"in pe){var Rt="/Predictor "+pe.p+" /Colors 1 /BitsPerComponent "+pe.bpc+" /Columns "+pe.w,Kt={w:pe.w,h:pe.h,cs:"DeviceGray",bpc:pe.bpc,dp:Rt,data:pe.smask};"f"in pe&&(Kt.f=pe.f),ae.call(this,Kt)}pe.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),xe({data:this.arrayBufferToBinaryString(new Uint8Array(pe.pal))}),ne("endobj"))},He=function(){var pe=this.internal.collections[ve+"images"];for(var J in pe)Re.call(this,pe[J])},ze=function(){var pe,J=this.internal.collections[ve+"images"],ne=this.internal.write;for(var xe in J)ne("/I"+(pe=J[xe]).i,pe.n,"0","R")},Ye=function(pe){return typeof we["process"+pe.toUpperCase()]=="function"},Pe=function(pe){return m(pe)==="object"&&pe.nodeType===1},nt=function(pe,J){if(pe.nodeName==="IMG"&&pe.hasAttribute("src")){var ne=""+pe.getAttribute("src");if(ne.indexOf("data:image/")===0)return unescape(ne);var xe=we.loadFile(ne);if(xe!==void 0)return btoa(xe)}if(pe.nodeName==="CANVAS"){var De=pe;return pe.toDataURL("image/jpeg",1)}(De=document.createElement("canvas")).width=pe.clientWidth||pe.width,De.height=pe.clientHeight||pe.height;var Fe=De.getContext("2d");if(!Fe)throw"addImage requires canvas to be supported by browser.";return Fe.drawImage(pe,0,0,De.width,De.height),De.toDataURL((""+J).toLowerCase()=="png"?"image/png":"image/jpeg")},bt=function(pe,J){var ne;if(J){for(var xe in J)if(pe===J[xe].alias){ne=J[xe];break}}return ne};we.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},we.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},we.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},we.sHashCode=function(ae){var pe,J=0;if((ae=ae||"").length===0)return J;for(pe=0;pe<ae.length;pe++)J=(J<<5)-J+ae.charCodeAt(pe),J|=0;return J},we.isString=function(ae){return typeof ae=="string"},we.validateStringAsBase64=function(ae){(ae=ae||"").toString().trim();var pe=!0;return ae.length===0&&(pe=!1),ae.length%4!=0&&(pe=!1),/^[A-Za-z0-9+\/]+$/.test(ae.substr(0,ae.length-2))===!1&&(pe=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ae.substr(-2))===!1&&(pe=!1),pe},we.extractInfoFromBase64DataURI=function(ae){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ae)},we.extractImageFromDataUrl=function(ae){var pe=(ae=ae||"").split("base64,"),J=null;if(pe.length===2){var ne=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(pe[0]);Array.isArray(ne)&&(J={mimeType:ne[1],charset:ne[2],data:pe[1]})}return J},we.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},we.isArrayBuffer=function(ae){return!!this.supportsArrayBuffer()&&ae instanceof ArrayBuffer},we.isArrayBufferView=function(ae){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ae instanceof Int8Array||ae instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ae instanceof Uint8ClampedArray||ae instanceof Int16Array||ae instanceof Uint16Array||ae instanceof Int32Array||ae instanceof Uint32Array||ae instanceof Float32Array||ae instanceof Float64Array)},we.binaryStringToUint8Array=function(ae){for(var pe=ae.length,J=new Uint8Array(pe),ne=0;ne<pe;ne++)J[ne]=ae.charCodeAt(ne);return J},we.arrayBufferToBinaryString=function(ae){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ae))},we.arrayBufferToBase64=function(ae){for(var pe,J="",ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xe=new Uint8Array(ae),De=xe.byteLength,Fe=De%3,$e=De-Fe,vt=0;vt<$e;vt+=3)J+=ne[(16515072&(pe=xe[vt]<<16|xe[vt+1]<<8|xe[vt+2]))>>18]+ne[(258048&pe)>>12]+ne[(4032&pe)>>6]+ne[63&pe];return Fe==1?J+=ne[(252&(pe=xe[$e]))>>2]+ne[(3&pe)<<4]+"==":Fe==2&&(J+=ne[(64512&(pe=xe[$e]<<8|xe[$e+1]))>>10]+ne[(1008&pe)>>4]+ne[(15&pe)<<2]+"="),J},we.createImageInfo=function(ae,pe,J,ne,xe,De,Fe,$e,vt,Wt,$t,Rt,Kt){var Gt={alias:$e,w:pe,h:J,cs:ne,bpc:xe,i:Fe,data:ae};return De&&(Gt.f=De),vt&&(Gt.dp=vt),Wt&&(Gt.trns=Wt),$t&&(Gt.pal=$t),Rt&&(Gt.smask=Rt),Kt&&(Gt.p=Kt),Gt},we.addImage=function(ae,pe,J,ne,xe,De,Fe,$e,vt){var Wt="";if(typeof pe!="string"){var $t=De;De=xe,xe=ne,ne=J,J=pe,pe=$t}if(m(ae)==="object"&&!Pe(ae)&&"imageData"in ae){var Rt=ae;ae=Rt.imageData,pe=Rt.format||pe||"UNKNOWN",J=Rt.x||J||0,ne=Rt.y||ne||0,xe=Rt.w||xe,De=Rt.h||De,Fe=Rt.alias||Fe,$e=Rt.compression||$e,vt=Rt.rotation||Rt.angle||vt}var Kt=this.internal.getFilters();if($e===void 0&&Kt.indexOf("FlateEncode")!==-1&&($e="SLOW"),typeof ae=="string"&&(ae=unescape(ae)),isNaN(J)||isNaN(ne))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Gt,Qt,Mt,dr,er,st,xt,ut=function(){var pt=this.internal.collections[ve+"images"];return pt||(this.internal.collections[ve+"images"]=pt={},this.internal.events.subscribe("putResources",He),this.internal.events.subscribe("putXobjectDict",ze)),pt}.call(this);if(!((Gt=bt(ae,ut))||(Pe(ae)&&(ae=nt(ae,pe)),((xt=Fe)==null||xt.length===0)&&(Fe=typeof(st=ae)=="string"?we.sHashCode(st):we.isArrayBufferView(st)?we.sHashCode(we.arrayBufferToBinaryString(st)):null),Gt=bt(Fe,ut)))){if(this.isString(ae)&&((Wt=this.convertStringToImageData(ae))!==""||(Wt=we.loadFile(ae))!==void 0)&&(ae=Wt),pe=this.getImageFileTypeByImageData(ae,pe),!Ye(pe))throw new Error("addImage does not support files of type '"+pe+"', please ensure that a plugin for '"+pe+"' support is added.");if(this.supportsArrayBuffer()&&(ae instanceof Uint8Array||(Qt=ae,ae=this.binaryStringToUint8Array(ae))),!(Gt=this["process"+pe.toUpperCase()](ae,(er=0,(dr=ut)&&(er=Object.keys?Object.keys(dr).length:function(pt){var It=0;for(var Tt in pt)pt.hasOwnProperty(Tt)&&It++;return It}(dr)),er),Fe,((Mt=$e)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in we.image_compression?Mt:we.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(pt,It,Tt,ft,Ht,Ft,ir,Xt){var mr=function(Qr,_r,ur){return Qr||_r||(_r=Qr=-96),Qr<0&&(Qr=-1*ur.w*72/Qr/this.internal.scaleFactor),_r<0&&(_r=-1*ur.h*72/_r/this.internal.scaleFactor),Qr===0&&(Qr=_r*ur.w/ur.h),_r===0&&(_r=Qr*ur.h/ur.w),[Qr,_r]}.call(this,Tt,ft,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(Tt=mr[0],ft=mr[1],ir[Ft]=Ht,Xt){Xt*=Math.PI/180;var Fr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(_r){return _r.toFixed(4)},Lr=[qr(Fr),qr(tn),qr(-1*tn),qr(Fr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(pt),Nr(It+ft),"cm"].join(" ")),this.internal.write(Lr.join(" ")),this.internal.write([Ar(Tt),"0","0",Ar(ft),"0","0","cm"].join(" "))):this.internal.write([Ar(Tt),"0","0",Ar(ft),Ar(pt),Nr(It+ft),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,J,ne,xe,De,Gt,Gt.i,ut,vt),this},we.convertStringToImageData=function(ae){var pe,J="";if(this.isString(ae)){var ne;pe=(ne=this.extractImageFromDataUrl(ae))!==null?ne.data:ae;try{J=atob(pe)}catch(xe){throw we.validateStringAsBase64(pe)?new Error("atob-Error in jsPDF.convertStringToImageData "+xe.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return J};var Ot=function(pe,J){return pe.subarray(J,J+5)};we.processJPEG=function(ae,pe,J,ne,xe,De){var Fe,$e=this.decode.DCT_DECODE;if(!this.isString(ae)&&!this.isArrayBuffer(ae)&&!this.isArrayBufferView(ae))return null;if(this.isString(ae)&&(Fe=function(vt){var Wt;if(he(vt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*vt.charCodeAt(4)+vt.charCodeAt(5),Rt=4,Kt=vt.length;Rt<Kt;){if(Rt+=$t,vt.charCodeAt(Rt)!==255)throw new Error("getJpegSize could not find the size of the image");if(vt.charCodeAt(Rt+1)===192||vt.charCodeAt(Rt+1)===193||vt.charCodeAt(Rt+1)===194||vt.charCodeAt(Rt+1)===195||vt.charCodeAt(Rt+1)===196||vt.charCodeAt(Rt+1)===197||vt.charCodeAt(Rt+1)===198||vt.charCodeAt(Rt+1)===199)return Wt=256*vt.charCodeAt(Rt+5)+vt.charCodeAt(Rt+6),[256*vt.charCodeAt(Rt+7)+vt.charCodeAt(Rt+8),Wt,vt.charCodeAt(Rt+9)];Rt+=2,$t=256*vt.charCodeAt(Rt)+vt.charCodeAt(Rt+1)}}(ae)),this.isArrayBuffer(ae)&&(ae=new Uint8Array(ae)),this.isArrayBufferView(ae)&&(Fe=function(vt){if((vt[0]<<8|vt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=vt.length,Rt=(vt[4]<<8)+vt[5],Kt=4;Kt<$t;){if(Rt=((Wt=Ot(vt,Kt+=Rt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Rt)return{width:((Wt=Ot(vt,Kt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};Kt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ae),ae=xe||this.arrayBufferToBinaryString(ae)),De===void 0)switch(Fe.numcomponents){case 1:De=this.color_spaces.DEVICE_GRAY;break;case 4:De=this.color_spaces.DEVICE_CMYK;break;default:case 3:De=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ae,Fe.width,Fe.height,De,8,$e,pe,J)},we.processJPG=function(){return this.processJPEG.apply(this,arguments)},we.getImageProperties=function(ae){var pe,J,ne="";if(Pe(ae)&&(ae=nt(ae)),this.isString(ae)&&((ne=this.convertStringToImageData(ae))!==""||(ne=we.loadFile(ae))!==void 0)&&(ae=ne),J=this.getImageFileTypeByImageData(ae),!Ye(J))throw new Error("addImage does not support files of type '"+J+"', please ensure that a plugin for '"+J+"' support is added.");if(this.supportsArrayBuffer()&&(ae instanceof Uint8Array||(ae=this.binaryStringToUint8Array(ae))),!(pe=this["process"+J.toUpperCase()](ae)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:J,width:pe.w,height:pe.h,colorSpace:pe.cs,compressionMode:pe.f,bitsPerComponent:pe.bpc}}}(ht.API),v=ht.API,ht.API.events.push(["addPage",function(we){this.internal.getPageInfo(we.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(we){for(var ve=this.internal.getPageInfoByObjId(we.objId),me=we.pageContext.annotations,he=function($e){if($e!==void 0&&$e!="")return!0},Re=!1,He=0;He<me.length&&!Re;He++)switch((Pe=me[He]).type){case"link":if(he(Pe.options.url)||he(Pe.options.pageNumber)){Re=!0;break}case"reference":case"text":case"freetext":Re=!0}if(Re!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var ze=this.internal.getCoordinateString,Ye=this.internal.getVerticalCoordinateString;for(He=0;He<me.length;He++){var Pe;switch((Pe=me[He]).type){case"reference":this.internal.write(" "+Pe.object.objId+" 0 R ");break;case"text":var nt=this.internal.newAdditionalObject(),bt=this.internal.newAdditionalObject(),Ot=Pe.title||"Note";xe="<</Type /Annot /Subtype /Text "+(pe="/Rect ["+ze(Pe.bounds.x)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+" "+ze(Pe.bounds.x+Pe.bounds.w)+" "+Ye(Pe.bounds.y)+"] ")+"/Contents ("+Pe.contents+")",xe+=" /Popup "+bt.objId+" 0 R",xe+=" /P "+ve.objId+" 0 R",xe+=" /T ("+Ot+") >>",nt.content=xe;var ae=nt.objId+" 0 R";xe="<</Type /Annot /Subtype /Popup "+(pe="/Rect ["+ze(Pe.bounds.x+30)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+" "+ze(Pe.bounds.x+Pe.bounds.w+30)+" "+Ye(Pe.bounds.y)+"] ")+" /Parent "+ae,Pe.open&&(xe+=" /Open true"),xe+=" >>",bt.content=xe,this.internal.write(nt.objId,"0 R",bt.objId,"0 R");break;case"freetext":var pe="/Rect ["+ze(Pe.bounds.x)+" "+Ye(Pe.bounds.y)+" "+ze(Pe.bounds.x+Pe.bounds.w)+" "+Ye(Pe.bounds.y+Pe.bounds.h)+"] ",J=Pe.color||"#000000";xe="<</Type /Annot /Subtype /FreeText "+pe+"/Contents ("+Pe.contents+")",xe+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+J+")",xe+=" /Border [0 0 0]",xe+=" >>",this.internal.write(xe);break;case"link":if(Pe.options.name){var ne=this.annotations._nameMap[Pe.options.name];Pe.options.pageNumber=ne.page,Pe.options.top=ne.y}else Pe.options.top||(Pe.options.top=0);pe="/Rect ["+ze(Pe.x)+" "+Ye(Pe.y)+" "+ze(Pe.x+Pe.w)+" "+Ye(Pe.y+Pe.h)+"] ";var xe="";if(Pe.options.url)xe="<</Type /Annot /Subtype /Link "+pe+"/Border [0 0 0] /A <</S /URI /URI ("+Pe.options.url+") >>";else if(Pe.options.pageNumber)switch(xe="<</Type /Annot /Subtype /Link "+pe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Pe.options.pageNumber).objId+" 0 R",Pe.options.magFactor=Pe.options.magFactor||"XYZ",Pe.options.magFactor){case"Fit":xe+=" /Fit]";break;case"FitH":xe+=" /FitH "+Pe.options.top+"]";break;case"FitV":Pe.options.left=Pe.options.left||0,xe+=" /FitV "+Pe.options.left+"]";break;case"XYZ":default:var De=Ye(Pe.options.top);Pe.options.left=Pe.options.left||0,Pe.options.zoom===void 0&&(Pe.options.zoom=0),xe+=" /XYZ "+Pe.options.left+" "+De+" "+Pe.options.zoom+"]"}xe!=""&&(xe+=" >>",this.internal.write(xe))}}this.internal.write("]")}}]),v.createAnnotation=function(we){var ve=this.internal.getCurrentPageInfo();switch(we.type){case"link":this.link(we.bounds.x,we.bounds.y,we.bounds.w,we.bounds.h,we);break;case"text":case"freetext":ve.pageContext.annotations.push(we)}},v.link=function(we,ve,me,he,Re){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:we,y:ve,w:me,h:he,options:Re,type:"link"})},v.textWithLink=function(we,ve,me,he){var Re=this.getTextWidth(we),He=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(we,ve,me),me+=.2*He,this.link(ve,me-He,Re,He,he),Re},v.getTextWidth=function(we){var ve=this.internal.getFontSize();return this.getStringUnitWidth(we)*ve/this.internal.scaleFactor},function(we){var ve={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},me={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},he={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Re=[1570,1571,1573,1575];we.__arabicParser__={};var He=we.__arabicParser__.isInArabicSubstitutionA=function(J){return ve[J.charCodeAt(0)]!==void 0},ze=we.__arabicParser__.isArabicLetter=function(J){return typeof J=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(J)},Ye=we.__arabicParser__.isArabicEndLetter=function(J){return ze(J)&&He(J)&&ve[J.charCodeAt(0)].length<=2},Pe=we.__arabicParser__.isArabicAlfLetter=function(J){return ze(J)&&0<=Re.indexOf(J.charCodeAt(0))},nt=(we.__arabicParser__.arabicLetterHasIsolatedForm=function(J){return ze(J)&&He(J)&&1<=ve[J.charCodeAt(0)].length},we.__arabicParser__.arabicLetterHasFinalForm=function(J){return ze(J)&&He(J)&&2<=ve[J.charCodeAt(0)].length}),bt=(we.__arabicParser__.arabicLetterHasInitialForm=function(J){return ze(J)&&He(J)&&3<=ve[J.charCodeAt(0)].length},we.__arabicParser__.arabicLetterHasMedialForm=function(J){return ze(J)&&He(J)&&ve[J.charCodeAt(0)].length==4}),Ot=we.__arabicParser__.resolveLigatures=function(J){var ne=0,xe=me,De=0,Fe="",$e=0;for(ne=0;ne<J.length;ne+=1)xe[J.charCodeAt(ne)]!==void 0?($e++,typeof(xe=xe[J.charCodeAt(ne)])=="number"&&(De=(De=ae(J.charAt(ne),J.charAt(ne-$e),J.charAt(ne+1)))!==-1?De:0,Fe+=String.fromCharCode(xe),xe=me,$e=0),ne===J.length-1&&(xe=me,Fe+=J.charAt(ne-($e-1)),ne-=$e-1,$e=0)):(xe=me,Fe+=J.charAt(ne-$e),ne-=$e,$e=0);return Fe},ae=(we.__arabicParser__.isArabicDiacritic=function(J){return J!==void 0&&he[J.charCodeAt(0)]!==void 0},we.__arabicParser__.getCorrectForm=function(J,ne,xe){return ze(J)?He(J)===!1?-1:!nt(J)||!ze(ne)&&!ze(xe)||!ze(xe)&&Ye(ne)||Ye(J)&&!ze(ne)||Ye(J)&&Pe(ne)||Ye(J)&&Ye(ne)?0:bt(J)&&ze(ne)&&!Ye(ne)&&ze(xe)&&nt(xe)?3:Ye(J)||!ze(xe)?1:2:-1}),pe=we.__arabicParser__.processArabic=we.processArabic=function(J){var ne=0,xe=0,De=0,Fe="",$e="",vt="",Wt=(J=J||"").split("\\s+"),$t=[];for(ne=0;ne<Wt.length;ne+=1){for($t.push(""),xe=0;xe<Wt[ne].length;xe+=1)Fe=Wt[ne][xe],$e=Wt[ne][xe-1],vt=Wt[ne][xe+1],ze(Fe)?(De=ae(Fe,$e,vt),$t[ne]+=De!==-1?String.fromCharCode(ve[Fe.charCodeAt(0)][De]):Fe):$t[ne]+=Fe;$t[ne]=Ot($t[ne])}return $t.join(" ")};we.events.push(["preProcessText",function(J){var ne=J.text,xe=(J.x,J.y,J.options||{}),De=(J.mutex,xe.lang,[]);if(Object.prototype.toString.call(ne)==="[object Array]"){var Fe=0;for(De=[],Fe=0;Fe<ne.length;Fe+=1)Object.prototype.toString.call(ne[Fe])==="[object Array]"?De.push([pe(ne[Fe][0]),ne[Fe][1],ne[Fe][2]]):De.push([pe(ne[Fe])]);J.text=De}else J.text=pe(ne)}])}(ht.API),ht.API.autoPrint=function(we){var ve;switch((we=we||{}).variant=we.variant||"non-conform",we.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){ve=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ve+" 0 R")})}return this},h=ht.API,(c=function(){var ve=void 0;Object.defineProperty(this,"pdf",{get:function(){return ve},set:function(Ye){ve=Ye}});var me=150;Object.defineProperty(this,"width",{get:function(){return me},set:function(Ye){me=isNaN(Ye)||Number.isInteger(Ye)===!1||Ye<0?150:Ye,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=me+1)}});var he=300;Object.defineProperty(this,"height",{get:function(){return he},set:function(Ye){he=isNaN(Ye)||Number.isInteger(Ye)===!1||Ye<0?300:Ye,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=he+1)}});var Re=[];Object.defineProperty(this,"childNodes",{get:function(){return Re},set:function(Ye){Re=Ye}});var He={};Object.defineProperty(this,"style",{get:function(){return He},set:function(Ye){He=Ye}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(we,ve){var me;if((we=we||"2d")!=="2d")return null;for(me in ve)this.pdf.context2d.hasOwnProperty(me)&&(this.pdf.context2d[me]=ve[me]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),a=ht.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,d=function(ve,me,he,Re,He){r={x:ve,y:me,w:he,h:Re,ln:He}},n=function(){return r},l={left:0,top:0,bottom:0},a.setHeaderFunction=function(we){i=we},a.getTextDimensions=function(we,ve){var me=this.table_font_size||this.internal.getFontSize(),he=(this.internal.getFont().fontStyle,(ve=ve||{}).scaleFactor||this.internal.scaleFactor),Re=0,He=0,ze=0;if(typeof we=="string")(Re=this.getStringUnitWidth(we)*me)!=0&&(He=1);else{if(Object.prototype.toString.call(we)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Ye=0;Ye<we.length;Ye++)Re<(ze=this.getStringUnitWidth(we[Ye])*me)&&(Re=ze);Re!==0&&(He=we.length)}return{w:Re/=he,h:Math.max((He*me*this.getLineHeightFactor()-me*(this.getLineHeightFactor()-1))/he,0)}},a.cellAddPage=function(){var we=this.margins||l;this.addPage(),d(we.left,we.top,void 0,void 0),o+=1},a.cellInitialize=function(){r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1},a.cell=function(we,ve,me,he,Re,He,ze){var Ye=n(),Pe=!1;if(Ye.ln!==void 0)if(Ye.ln===He)we=Ye.x+Ye.w,ve=Ye.y;else{var nt=this.margins||l;Ye.y+Ye.h+he+13>=this.internal.pageSize.getHeight()-nt.bottom&&(this.cellAddPage(),Pe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(He,!0)),ve=n().y+n().h,Pe&&(ve=23)}if(Re[0]!==void 0)if(this.printingHeaderRow?this.rect(we,ve,me,he,"FD"):this.rect(we,ve,me,he),ze==="right"){Re instanceof Array||(Re=[Re]);for(var bt=0;bt<Re.length;bt++){var Ot=Re[bt],ae=this.getStringUnitWidth(Ot)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(Ot,we+me-ae-3,ve+this.internal.getLineHeight()*(bt+1))}}else this.text(Re,we+3,ve+this.internal.getLineHeight());return d(we,ve,me,he,He),this},a.arrayMax=function(we,ve){var me,he,Re,He=we[0];for(me=0,he=we.length;me<he;me+=1)Re=we[me],ve?ve(He,Re)===-1&&(He=Re):He<Re&&(He=Re);return He},a.table=function(we,ve,me,he,Re){if(!me)throw"No data for PDF table";var He,ze,Ye,Pe,nt,bt,Ot,ae,pe,J,ne=[],xe=[],De={},Fe={},$e=[],vt=[],Wt=!1,$t=!0,Rt=12,Kt=l;if(Kt.width=this.internal.pageSize.getWidth(),Re&&(Re.autoSize===!0&&(Wt=!0),Re.printHeaders===!1&&($t=!1),Re.fontSize&&(Rt=Re.fontSize),Re.css&&Re.css["font-size"]!==void 0&&(Rt=16*Re.css["font-size"]),Re.margins&&(Kt=Re.margins)),this.lnMod=0,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,this.printHeaders=$t,this.margins=Kt,this.setFontSize(Rt),this.table_font_size=Rt,he==null)ne=Object.keys(me[0]);else if(he[0]&&typeof he[0]!="string")for(ze=0,Ye=he.length;ze<Ye;ze+=1)He=he[ze],ne.push(He.name),xe.push(He.prompt),Fe[He.name]=He.width*(19.049976/25.4);else ne=he;if(Wt)for(J=function(Mt){return Mt[He]},ze=0,Ye=ne.length;ze<Ye;ze+=1){for(De[He=ne[ze]]=me.map(J),$e.push(this.getTextDimensions(xe[ze]||He,{scaleFactor:1}).w),Ot=0,Pe=(bt=De[He]).length;Ot<Pe;Ot+=1)nt=bt[Ot],$e.push(this.getTextDimensions(nt,{scaleFactor:1}).w);Fe[He]=a.arrayMax($e),$e=[]}if($t){var Gt=this.calculateLineHeight(ne,Fe,xe.length?xe:ne);for(ze=0,Ye=ne.length;ze<Ye;ze+=1)He=ne[ze],vt.push([we,ve,Fe[He],Gt,String(xe.length?xe[ze]:He)]);this.setTableHeaderRow(vt),this.printHeaderRow(1,!1)}for(ze=0,Ye=me.length;ze<Ye;ze+=1)for(ae=me[ze],Gt=this.calculateLineHeight(ne,Fe,ae),Ot=0,pe=ne.length;Ot<pe;Ot+=1)He=ne[Ot],this.cell(we,ve,Fe[He],Gt,ae[He],ze+2,He.align);return this.lastCellPos=r,this.table_x=we,this.table_y=ve,this},a.calculateLineHeight=function(we,ve,me){for(var he,Re=0,He=0;He<we.length;He++){me[he=we[He]]=this.splitTextToSize(String(me[he]),ve[he]-3);var ze=this.internal.getLineHeight()*me[he].length+3;Re<ze&&(Re=ze)}return Re},a.setTableHeaderRow=function(we){this.tableHeaderRow=we},a.printHeaderRow=function(we,ve){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var me,he,Re,He;if(this.printingHeaderRow=!0,i!==void 0){var ze=i(this,o);d(ze[0],ze[1],ze[2],ze[3],-1)}this.setFontStyle("bold");var Ye=[];for(Re=0,He=this.tableHeaderRow.length;Re<He;Re+=1)this.setFillColor(200,200,200),me=this.tableHeaderRow[Re],ve&&(this.margins.top=13,me[1]=this.margins&&this.margins.top||0,Ye.push(me)),he=[].concat(me),this.cell.apply(this,he.concat(we));0<Ye.length&&this.setTableHeaderRow(Ye),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(we,ve){var me,he,Re,He,ze,Ye=function(ft){return ft=ft||{},this.isStrokeTransparent=ft.isStrokeTransparent||!1,this.strokeOpacity=ft.strokeOpacity||1,this.strokeStyle=ft.strokeStyle||"#000000",this.fillStyle=ft.fillStyle||"#000000",this.isFillTransparent=ft.isFillTransparent||!1,this.fillOpacity=ft.fillOpacity||1,this.font=ft.font||"10px sans-serif",this.textBaseline=ft.textBaseline||"alphabetic",this.textAlign=ft.textAlign||"left",this.lineWidth=ft.lineWidth||1,this.lineJoin=ft.lineJoin||"miter",this.lineCap=ft.lineCap||"butt",this.path=ft.path||[],this.transform=ft.transform!==void 0?ft.transform.clone():new It,this.globalCompositeOperation=ft.globalCompositeOperation||"normal",this.globalAlpha=ft.globalAlpha||1,this.clip_path=ft.clip_path||[],this.currentPoint=ft.currentPoint||new ut,this.miterLimit=ft.miterLimit||10,this.lastPoint=ft.lastPoint||new ut,this.ignoreClearRect=typeof ft.ignoreClearRect!="boolean"||ft.ignoreClearRect,this};we.events.push(["initialized",function(){this.context2d=new Pe(this),me=this.internal.f2,this.internal.f3,he=this.internal.getCoordinateString,Re=this.internal.getVerticalCoordinateString,He=this.internal.getHorizontalCoordinate,ze=this.internal.getVerticalCoordinate}]);var Pe=function(ft){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return ft}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(Lr){Ht=Boolean(Lr)}});var Ft=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Ft},set:function(Lr){Ft=Boolean(Lr)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(Lr){isNaN(Lr)||(ir=Lr)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(Lr){isNaN(Lr)||(Xt=Lr)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Lr){mr=Boolean(Lr)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Lr){Ar=Lr}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(Lr){Nr=Lr}});var Fr=new Ye;Object.defineProperty(this,"ctx",{get:function(){return Fr},set:function(Lr){Lr instanceof Ye&&(Fr=Lr)}}),Object.defineProperty(this,"path",{get:function(){return Fr.path},set:function(Lr){Fr.path=Lr}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(Lr){tn=Lr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lr){var Qr;Qr=nt(Lr),this.ctx.fillStyle=Qr.style,this.ctx.isFillTransparent=Qr.a===0,this.ctx.fillOpacity=Qr.a,this.pdf.setFillColor(Qr.r,Qr.g,Qr.b,{a:Qr.a}),this.pdf.setTextColor(Qr.r,Qr.g,Qr.b,{a:Qr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lr){var Qr=nt(Lr);this.ctx.strokeStyle=Qr.style,this.ctx.isStrokeTransparent=Qr.a===0,this.ctx.strokeOpacity=Qr.a,Qr.a===0?this.pdf.setDrawColor(255,255,255):(Qr.a,this.pdf.setDrawColor(Qr.r,Qr.g,Qr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lr){["butt","round","square"].indexOf(Lr)!==-1&&(this.ctx.lineCap=Lr,this.pdf.setLineCap(Lr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lr){isNaN(Lr)||(this.ctx.lineWidth=Lr,this.pdf.setLineWidth(Lr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lr){["bevel","round","miter"].indexOf(Lr)!==-1&&(this.ctx.lineJoin=Lr,this.pdf.setLineJoin(Lr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lr){isNaN(Lr)||(this.ctx.miterLimit=Lr,this.pdf.setMiterLimit(Lr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lr){this.ctx.textBaseline=Lr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lr){["right","end","center","left","start"].indexOf(Lr)!==-1&&(this.ctx.textAlign=Lr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Qr;if(this.ctx.font=Lr,(Qr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Lr))!==null){var _r=Qr[1],ur=(Qr[2],Qr[3]),pr=Qr[4],cr=Qr[5],fr=Qr[6];pr=cr==="px"?Math.floor(parseFloat(pr)):cr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var xr="";(ur==="bold"||700<=parseInt(ur,10)||_r==="bold")&&(xr="bold"),_r==="italic"&&(xr+="italic"),xr.length===0&&(xr="normal");for(var Yr="",un=fr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Nn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<un.length;jr++){if(this.pdf.internal.getFont(un[jr],xr,{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr];break}if(xr==="bolditalic"&&this.pdf.internal.getFont(un[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Yr=un[jr],xr="bold";else if(this.pdf.internal.getFont(un[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr],xr="normal";break}}if(Yr===""){for(jr=0;jr<un.length;jr++)if(Nn[un[jr]]){Yr=Nn[un[jr]];break}}Yr=Yr===""?"Times":Yr,this.pdf.setFont(Yr,xr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Lr){this.ctx.globalCompositeOperation=Lr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Lr){this.ctx.globalAlpha=Lr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Lr){this.ctx.ignoreClearRect=Boolean(Lr)}})};Pe.prototype.fill=function(){ne.call(this,"fill",!1)},Pe.prototype.stroke=function(){ne.call(this,"stroke",!1)},Pe.prototype.beginPath=function(){this.path=[{type:"begin"}]},Pe.prototype.moveTo=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Tt,ft)},Pe.prototype.closePath=function(){var Tt=new ut(0,0),ft=0;for(ft=this.path.length-1;ft!==-1;ft--)if(this.path[ft].type==="begin"&&m(this.path[ft+1])==="object"&&typeof this.path[ft+1].x=="number"){Tt=new ut(this.path[ft+1].x,this.path[ft+1].y),this.path.push({type:"lt",x:Tt.x,y:Tt.y});break}m(this.path[ft+2])==="object"&&typeof this.path[ft+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[ft+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new ut(Tt.x,Tt.y)},Pe.prototype.lineTo=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ht=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Ht.x,Ht.y)},Pe.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),ne.call(this,null,!0)},Pe.prototype.quadraticCurveTo=function(Tt,ft,Ht,Ft){if(isNaN(Ht)||isNaN(Ft)||isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ir=this.ctx.transform.applyToPoint(new ut(Ht,Ft)),Xt=this.ctx.transform.applyToPoint(new ut(Tt,ft));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new ut(ir.x,ir.y)},Pe.prototype.bezierCurveTo=function(Tt,ft,Ht,Ft,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new ut(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new ut(Tt,ft)),Nr=this.ctx.transform.applyToPoint(new ut(Ht,Ft));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new ut(mr.x,mr.y)},Pe.prototype.arc=function(Tt,ft,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft)||isNaN(ir))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Xt=Boolean(Xt),!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new ut(Tt,ft));Tt=mr.x,ft=mr.y;var Ar=this.ctx.transform.applyToPoint(new ut(0,Ht)),Nr=this.ctx.transform.applyToPoint(new ut(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-Ft)>=2*Math.PI&&(Ft=0,ir=2*Math.PI),this.path.push({type:"arc",x:Tt,y:ft,radius:Ht,startAngle:Ft,endAngle:ir,counterclockwise:Xt})},Pe.prototype.arcTo=function(Tt,ft,Ht,Ft,ir){throw new Error("arcTo not implemented.")},Pe.prototype.rect=function(Tt,ft,Ht,Ft){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Tt,ft),this.lineTo(Tt+Ht,ft),this.lineTo(Tt+Ht,ft+Ft),this.lineTo(Tt,ft+Ft),this.lineTo(Tt,ft),this.lineTo(Tt+Ht,ft),this.lineTo(Tt,ft)},Pe.prototype.fillRect=function(Tt,ft,Ht,Ft){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!bt.call(this)){var ir={};this.lineCap!=="butt"&&(ir.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ir.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Tt,ft,Ht,Ft),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Pe.prototype.strokeRect=function(Tt,ft,Ht,Ft){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ot.call(this)||(this.beginPath(),this.rect(Tt,ft,Ht,Ft),this.stroke())},Pe.prototype.clearRect=function(Tt,ft,Ht,Ft){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Tt,ft,Ht,Ft))},Pe.prototype.save=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ft=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("q");if(this.pdf.setPage(ft),Tt){this.ctx.fontSize=this.pdf.internal.getFontSize();var Ft=new Ye(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Ft}},Pe.prototype.restore=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ft=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("Q");this.pdf.setPage(ft),Tt&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},Pe.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var nt=function(ft){var Ht,Ft,ir,Xt;if(ft.isCanvasGradient===!0&&(ft=ft.getColor()),!ft)return{r:0,g:0,b:0,a:0,style:ft};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(ft))Xt=ir=Ft=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(ft);if(mr!==null)Ht=parseInt(mr[1]),Ft=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=1;else if((mr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(ft))!==null)Ht=parseInt(mr[1]),Ft=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof ft=="string"&&ft.charAt(0)!=="#"){var Ar=new RGBColor(ft);ft=Ar.ok?Ar.toHex():"#000000"}ft.length===4?(Ht=ft.substring(1,2),Ht+=Ht,Ft=ft.substring(2,3),Ft+=Ft,ir=ft.substring(3,4),ir+=ir):(Ht=ft.substring(1,3),Ft=ft.substring(3,5),ir=ft.substring(5,7)),Ht=parseInt(Ht,16),Ft=parseInt(Ft,16),ir=parseInt(ir,16)}}return{r:Ht,g:Ft,b:ir,a:Xt,style:ft}},bt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},Ot=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Pe.prototype.fillText=function(Tt,ft,Ht,Ft){if(isNaN(ft)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Ft=isNaN(Ft)?void 0:Ft,!bt.call(this)){Ht=De.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ft,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:Ft})}},Pe.prototype.strokeText=function(Tt,ft,Ht,Ft){if(isNaN(ft)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!Ot.call(this)){Ft=isNaN(Ft)?void 0:Ft,Ht=De.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ft,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:Ft})}},Pe.prototype.measureText=function(Tt){if(typeof Tt!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var ft=this.pdf,Ht=this.pdf.internal.scaleFactor,Ft=ft.internal.getFontSize(),ir=ft.getStringUnitWidth(Tt)*Ft/ft.internal.scaleFactor;return new function(Xt){var mr=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:ir*=Math.round(96*Ht/72*1e4)/1e4})},Pe.prototype.scale=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new It(Tt,0,0,ft,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Pe.prototype.rotate=function(Tt){if(isNaN(Tt))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var ft=new It(Math.cos(Tt),Math.sin(Tt),-Math.sin(Tt),Math.cos(Tt),0,0);this.ctx.transform=this.ctx.transform.multiply(ft)},Pe.prototype.translate=function(Tt,ft){if(isNaN(Tt)||isNaN(ft))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new It(1,0,0,1,Tt,ft);this.ctx.transform=this.ctx.transform.multiply(Ht)},Pe.prototype.transform=function(Tt,ft,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ft)||isNaN(Ht)||isNaN(Ft)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new It(Tt,ft,Ht,Ft,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Pe.prototype.setTransform=function(Tt,ft,Ht,Ft,ir,Xt){Tt=isNaN(Tt)?1:Tt,ft=isNaN(ft)?0:ft,Ht=isNaN(Ht)?0:Ht,Ft=isNaN(Ft)?1:Ft,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new It(Tt,ft,Ht,Ft,ir,Xt)},Pe.prototype.drawImage=function(Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr){var Fr=this.pdf.getImageProperties(Tt),tn=1,qr=1,Lr=1,Qr=1;Ft!==void 0&&Ar!==void 0&&(Lr=Ar/Ft,Qr=Nr/ir,tn=Fr.width/Ft*Ar/Ft,qr=Fr.height/ir*Nr/ir),Xt===void 0&&(Xt=ft,mr=Ht,Ht=ft=0),Ft!==void 0&&Ar===void 0&&(Ar=Ft,Nr=ir),Ft===void 0&&Ar===void 0&&(Ar=Fr.width,Nr=Fr.height);var _r=this.ctx.transform.decompose(),ur=dr(_r.rotate.shx);_r.scale.sx,_r.scale.sy;for(var pr,cr=new It,fr=((cr=(cr=(cr=cr.multiply(_r.translate)).multiply(_r.skew)).multiply(_r.scale)).applyToPoint(new ut(Ar,Nr)),cr.applyToRectangle(new pt(Xt-ft*Lr,mr-Ht*Qr,Ft*tn,ir*qr))),xr=ae.call(this,fr),Yr=[],un=0;un<xr.length;un+=1)Yr.indexOf(xr[un])===-1&&Yr.push(xr[un]);if(Yr.sort(),this.autoPaging)for(var Nn=Yr[0],jr=Yr[Yr.length-1],Tn=Nn;Tn<jr+1;Tn++){if(this.pdf.setPage(Tn),this.ctx.clip_path.length!==0){var gn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=J(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),xe.call(this,"fill",!0),this.path=gn}var Pn=JSON.parse(JSON.stringify(fr));Pn=J([Pn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(Tt,"jpg",Pn.x,Pn.y,Pn.w,Pn.h,null,null,ur)}else this.pdf.addImage(Tt,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,ur)};var ae=function(ft,Ht,Ft){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,Ft=Ft||this.pdf.internal.pageSize.height,ft.type){default:case"mt":case"lt":ir.push(Math.floor((ft.y+this.posY)/Ft)+1);break;case"arc":ir.push(Math.floor((ft.y+this.posY-ft.radius)/Ft)+1),ir.push(Math.floor((ft.y+this.posY+ft.radius)/Ft)+1);break;case"qct":var Xt=st(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ft.x1,ft.y1,ft.x,ft.y);ir.push(Math.floor(Xt.y/Ft)+1),ir.push(Math.floor((Xt.y+Xt.h)/Ft)+1);break;case"bct":var mr=xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ft.x1,ft.y1,ft.x2,ft.y2,ft.x,ft.y);ir.push(Math.floor(mr.y/Ft)+1),ir.push(Math.floor((mr.y+mr.h)/Ft)+1);break;case"rect":ir.push(Math.floor((ft.y+this.posY)/Ft)+1),ir.push(Math.floor((ft.y+ft.h+this.posY)/Ft)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)pe.call(this);return ir},pe=function(){var ft=this.fillStyle,Ht=this.strokeStyle,Ft=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=ft,this.strokeStyle=Ht,this.font=Ft,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},J=function(ft,Ht,Ft){for(var ir=0;ir<ft.length;ir++)switch(ft[ir].type){case"bct":ft[ir].x2+=Ht,ft[ir].y2+=Ft;case"qct":ft[ir].x1+=Ht,ft[ir].y1+=Ft;case"mt":case"lt":case"arc":default:ft[ir].x+=Ht,ft[ir].y+=Ft}return ft},ne=function(ft,Ht){for(var Ft,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,Fr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),Lr=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var _r=ae.call(this,qr[Qr]),ur=0;ur<_r.length;ur+=1)Lr.indexOf(_r[ur])===-1&&Lr.push(_r[ur]);for(Qr=0;Qr<Lr.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<Lr[Qr];)pe.call(this);if(Lr.sort(),this.autoPaging){var pr=Lr[0],cr=Lr[Lr.length-1];for(Qr=pr;Qr<cr+1;Qr++){if(this.pdf.setPage(Qr),this.fillStyle=Xt,this.strokeStyle=mr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=Fr,this.ctx.clip_path.length!==0){var fr=this.path;Ft=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=J(Ft,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),xe.call(this,ft,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=J(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||xe.call(this,ft,Ht)}}else xe.call(this,ft,Ht);this.path=tn},xe=function(ft,Ht){if((ft!=="stroke"||Ht||!Ot.call(this))&&(ft==="stroke"||Ht||!bt.call(this))){var Ft=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,mr=0;mr<Xt.length;mr++){var Ar=Xt[mr];switch(Ar.type){case"begin":Ft.push({begin:!0});break;case"close":Ft.push({close:!0});break;case"mt":Ft.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=Ft.length;if(!isNaN(Xt[mr-1].x)){var Fr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(Ft[Nr-1].close!==!0&&Ft[Nr-1].begin!==!0){Ft[Nr-1].deltas.push(Fr),Ft[Nr-1].abs.push(Ar);break}}}break;case"bct":Fr=[Ar.x1-Xt[mr-1].x,Ar.y1-Xt[mr-1].y,Ar.x2-Xt[mr-1].x,Ar.y2-Xt[mr-1].y,Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y],Ft[Ft.length-1].deltas.push(Fr);break;case"qct":var tn=Xt[mr-1].x+2/3*(Ar.x1-Xt[mr-1].x),qr=Xt[mr-1].y+2/3*(Ar.y1-Xt[mr-1].y),Lr=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),_r=Ar.x,ur=Ar.y;Fr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,Lr-Xt[mr-1].x,Qr-Xt[mr-1].y,_r-Xt[mr-1].x,ur-Xt[mr-1].y],Ft[Ft.length-1].deltas.push(Fr);break;case"arc":Ft.push({deltas:[],abs:[],arc:!0}),Array.isArray(Ft[Ft.length-1].abs)&&Ft[Ft.length-1].abs.push(Ar)}}for(ir=Ht?null:ft==="stroke"?"stroke":"fill",mr=0;mr<Ft.length;mr++){if(Ft[mr].arc)for(var pr=Ft[mr].abs,cr=0;cr<pr.length;cr++){var fr=pr[cr];if(fr.startAngle!==void 0){var xr=dr(fr.startAngle),Yr=dr(fr.endAngle),un=fr.x,Nn=fr.y;Fe.call(this,un,Nn,fr.radius,xr,Yr,fr.counterclockwise,ir,Ht)}else Rt.call(this,fr.x,fr.y)}!Ft[mr].arc&&Ft[mr].close!==!0&&Ft[mr].begin!==!0&&(un=Ft[mr].start.x,Nn=Ft[mr].start.y,Kt.call(this,Ft[mr].deltas,un,Nn,null,null))}ir&&$e.call(this,ir),Ht&&vt.call(this)}},De=function(ft){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Ft=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return ft-Ft;case"top":return ft+Ht-Ft;case"hanging":return ft+Ht-2*Ft;case"middle":return ft+Ht/2-Ft;case"ideographic":return ft;case"alphabetic":default:return ft}};Pe.prototype.createLinearGradient=function(){var Tt=function(){};return Tt.colorStops=[],Tt.addColorStop=function(ft,Ht){this.colorStops.push([ft,Ht])},Tt.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Tt.isCanvasGradient=!0,Tt},Pe.prototype.createPattern=function(){return this.createLinearGradient()},Pe.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Fe=function(ft,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var Fr=er(ir),tn=er(Xt),qr=Qt.call(this,Ft,Fr,tn,mr),Lr=0;Lr<qr.length;Lr++){var Qr=qr[Lr];Lr===0&&Wt.call(this,Qr.x1+ft,Qr.y1+Ht),Gt.call(this,ft,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?vt.call(this):$e.call(this,Ar)},$e=function(ft){switch(ft){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},vt=function(){this.pdf.clip()},Wt=function(ft,Ht){this.pdf.internal.out(he(ft)+" "+Re(Ht)+" m")},$t=function(ft){var Ht;switch(ft.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var Ft=this.ctx.transform.applyToPoint(new ut(ft.x,ft.y)),ir=this.ctx.transform.decompose(),Xt=new It;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(ft.text),Nr=this.ctx.transform.applyToRectangle(new pt(ft.x,ft.y,Ar.w,Ar.h)),Fr=Xt.applyToRectangle(new pt(ft.x,ft.y-Ar.h,Ar.w,Ar.h)),tn=ae.call(this,Fr),qr=[],Lr=0;Lr<tn.length;Lr+=1)qr.indexOf(tn[Lr])===-1&&qr.push(tn[Lr]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],_r=qr[qr.length-1],ur=Qr;ur<_r+1;ur++){if(this.pdf.setPage(ur),this.ctx.clip_path.length!==0){var pr=this.path;mr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=J(mr,this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY),xe.call(this,"fill",!0),this.path=pr}var cr=JSON.parse(JSON.stringify(Nr));if(cr=J([cr],this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY)[0],.01<=ft.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*ft.scale)}this.pdf.text(ft.text,cr.x,cr.y,{angle:ft.angle,align:Ht,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),.01<=ft.scale&&this.pdf.setFontSize(fr)}else .01<=ft.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*ft.scale)),this.pdf.text(ft.text,Ft.x+this.posX,Ft.y+this.posY,{angle:ft.angle,align:Ht,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),.01<=ft.scale&&this.pdf.setFontSize(fr)},Rt=function(ft,Ht,Ft,ir){Ft=Ft||0,ir=ir||0,this.pdf.internal.out(he(ft+Ft)+" "+Re(Ht+ir)+" l")},Kt=function(ft,Ht,Ft){return this.pdf.lines(ft,Ht,Ft,null,null)},Gt=function(ft,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([me(He(Ft+ft)),me(ze(ir+Ht)),me(He(Xt+ft)),me(ze(mr+Ht)),me(He(Ar+ft)),me(ze(Nr+Ht)),"c"].join(" "))},Qt=function(ft,Ht,Ft,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=Ft;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],Fr=Math.PI/2,tn=ir?-1:1,qr=Ht,Lr=Math.min(Xt,Math.abs(Ar-mr));1e-5<Lr;){var Qr=qr+tn*Math.min(Lr,Fr);Nr.push(Mt.call(this,ft,qr,Qr)),Lr-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(ft,Ht,Ft){var ir=(Ft-Ht)/2,Xt=ft*Math.cos(ir),mr=ft*Math.sin(ir),Ar=Xt,Nr=-mr,Fr=Ar*Ar+Nr*Nr,tn=Fr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*Fr*tn)-tn)/(Ar*mr-Nr*Xt),Lr=Ar-qr*Nr,Qr=Nr+qr*Ar,_r=Lr,ur=-Qr,pr=ir+Ht,cr=Math.cos(pr),fr=Math.sin(pr);return{x1:ft*Math.cos(Ht),y1:ft*Math.sin(Ht),x2:Lr*cr-Qr*fr,y2:Lr*fr+Qr*cr,x3:_r*cr-ur*fr,y3:_r*fr+ur*cr,x4:ft*Math.cos(Ft),y4:ft*Math.sin(Ft)}},dr=function(ft){return 180*ft/Math.PI},er=function(ft){return ft*Math.PI/180},st=function(ft,Ht,Ft,ir,Xt,mr){var Ar=ft+.5*(Ft-ft),Nr=Ht+.5*(ir-Ht),Fr=Xt+.5*(Ft-Xt),tn=mr+.5*(ir-mr),qr=Math.min(ft,Xt,Ar,Fr),Lr=Math.max(ft,Xt,Ar,Fr),Qr=Math.min(Ht,mr,Nr,tn),_r=Math.max(Ht,mr,Nr,tn);return new pt(qr,Qr,Lr-qr,_r-Qr)},xt=function(ft,Ht,Ft,ir,Xt,mr,Ar,Nr){for(var Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr,Yr,un,Nn=Ft-ft,jr=ir-Ht,Tn=Xt-Ft,gn=mr-ir,Pn=Ar-Xt,zn=Nr-mr,qn=0;qn<41;qn++)pr=(_r=(tn=ft+(Fr=qn/40)*Nn)+Fr*((Lr=Ft+Fr*Tn)-tn))+Fr*(Lr+Fr*(Xt+Fr*Pn-Lr)-_r),cr=(ur=(qr=Ht+Fr*jr)+Fr*((Qr=ir+Fr*gn)-qr))+Fr*(Qr+Fr*(mr+Fr*zn-Qr)-ur),un=qn==0?(Yr=fr=pr,xr=cr):(fr=Math.min(fr,pr),xr=Math.min(xr,cr),Yr=Math.max(Yr,pr),Math.max(un,cr));return new pt(Math.round(fr),Math.round(xr),Math.round(Yr-fr),Math.round(un-xr))},ut=function(ft,Ht){var Ft=ft||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ft},set:function(Ar){isNaN(Ar)||(Ft=parseFloat(Ar))}});var ir=Ht||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Ar){isNaN(Ar)||(ir=parseFloat(Ar))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Ar){Xt=Ar.toString()}}),this},pt=function(ft,Ht,Ft,ir){ut.call(this,ft,Ht),this.type="rect";var Xt=Ft||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Nr){isNaN(Nr)||(Xt=parseFloat(Nr))}});var mr=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return mr},set:function(Nr){isNaN(Nr)||(mr=parseFloat(Nr))}}),this},It=function(ft,Ht,Ft,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(Fr){Ar[0]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(Fr){Ar[1]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(Fr){Ar[2]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(Fr){Ar[3]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(Fr){Ar[4]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(Fr){Ar[5]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(ft)?1:ft,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(Ft)?0:Ft,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};It.prototype.multiply=function(Tt){var ft=Tt.sx*this.sx+Tt.shy*this.shx,Ht=Tt.sx*this.shy+Tt.shy*this.sy,Ft=Tt.shx*this.sx+Tt.sy*this.shx,ir=Tt.shx*this.shy+Tt.sy*this.sy,Xt=Tt.tx*this.sx+Tt.ty*this.shx+this.tx,mr=Tt.tx*this.shy+Tt.ty*this.sy+this.ty;return new It(ft,Ht,Ft,ir,Xt,mr)},It.prototype.decompose=function(){var Tt=this.sx,ft=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(Tt*Tt+ft*ft),Ar=(Tt/=mr)*Ht+(ft/=mr)*Ft;Ht-=Tt*Ar,Ft-=ft*Ar;var Nr=Math.sqrt(Ht*Ht+Ft*Ft);return Ar/=Nr,Tt*(Ft/=Nr)<ft*(Ht/=Nr)&&(Tt=-Tt,ft=-ft,Ar=-Ar,mr=-mr),{scale:new It(mr,0,0,Nr,0,0),translate:new It(1,0,0,1,ir,Xt),rotate:new It(Tt,ft,-ft,Tt,0,0),skew:new It(1,0,Ar,1,0,0)}},It.prototype.applyToPoint=function(Tt){var ft=Tt.x*this.sx+Tt.y*this.shx+this.tx,Ht=Tt.x*this.shy+Tt.y*this.sy+this.ty;return new ut(ft,Ht)},It.prototype.applyToRectangle=function(Tt){var ft=this.applyToPoint(Tt),Ht=this.applyToPoint(new ut(Tt.x+Tt.w,Tt.y+Tt.h));return new pt(ft.x,ft.y,Ht.x-ft.x,Ht.y-ft.y)},It.prototype.clone=function(){var Tt=this.sx,ft=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty;return new It(Tt,ft,Ht,Ft,ir,Xt)}}(ht.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=ht.API,s=function(ve){var me,he,Re,He,ze,Ye,Pe,nt,bt,Ot;for(/[^\x00-\xFF]/.test(ve),he=[],Re=0,He=(ve+=me="\0\0\0\0".slice(ve.length%4||4)).length;Re<He;Re+=4)(ze=(ve.charCodeAt(Re)<<24)+(ve.charCodeAt(Re+1)<<16)+(ve.charCodeAt(Re+2)<<8)+ve.charCodeAt(Re+3))!==0?(Ye=(ze=((ze=((ze=((ze=(ze-(Ot=ze%85))/85)-(bt=ze%85))/85)-(nt=ze%85))/85)-(Pe=ze%85))/85)%85,he.push(Ye+33,Pe+33,nt+33,bt+33,Ot+33)):he.push(122);return function(ae,pe){for(var J=me.length;0<J;J--)ae.pop()}(he),String.fromCharCode.apply(String,he)+"~>"},u=function(ve){var me,he,Re,He,ze,Ye=String,Pe="length",nt="charCodeAt",bt="slice",Ot="replace";for(ve[bt](-2),ve=ve[bt](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Re=[],He=0,ze=(ve+=me="uuuuu"[bt](ve[Pe]%5||5))[Pe];He<ze;He+=5)he=52200625*(ve[nt](He)-33)+614125*(ve[nt](He+1)-33)+7225*(ve[nt](He+2)-33)+85*(ve[nt](He+3)-33)+(ve[nt](He+4)-33),Re.push(255&he>>24,255&he>>16,255&he>>8,255&he);return function(ae,pe){for(var J=me[Pe];0<J;J--)ae.pop()}(Re),Ye.fromCharCode.apply(Ye,Re)},p=function(ve){for(var me="",he=0;he<ve.length;he+=1)me+=("0"+ve.charCodeAt(he).toString(16)).slice(-2);return me+=">"},w=function(ve){var me=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),me.test(ve)===!1)return"";for(var he="",Re=0;Re<ve.length;Re+=2)he+=String.fromCharCode("0x"+(ve[Re]+ve[Re+1]));return he},b=function(ve,me){me=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},me);for(var he,Re,He=[],ze=ve.length;ze--;)He[ze]=ve.charCodeAt(ze);return he=t.adler32cs.from(ve),(Re=new Deflater(6)).append(new Uint8Array(He)),ve=Re.flush(),(He=new Uint8Array(ve.length+6)).set(new Uint8Array([120,156])),He.set(ve,2),He.set(new Uint8Array([255&he,he>>8&255,he>>16&255,he>>24&255]),ve.length+2),ve=String.fromCharCode.apply(null,He)},t.processDataByFilters=function(we,ve){var me=0,he=we||"",Re=[];for(typeof(ve=ve||[])=="string"&&(ve=[ve]),me=0;me<ve.length;me+=1)switch(ve[me]){case"ASCII85Decode":case"/ASCII85Decode":he=u(he),Re.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":he=s(he),Re.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":he=w(he),Re.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":he=p(he),Re.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":he=b(he),Re.push("/FlateDecode");break;default:throw'The filter: "'+ve[me]+'" is not implemented'}return{data:he,reverseChain:Re.reverse().join(" ")}},(E=ht.API).loadFile=function(we,ve,me){var he;ve=ve||!0,me=me||function(){};try{he=function(Re,He,ze){var Ye=new XMLHttpRequest,Pe=[],nt=0,bt=function(ae){var pe=ae.length,J=String.fromCharCode;for(nt=0;nt<pe;nt+=1)Pe.push(J(255&ae.charCodeAt(nt)));return Pe.join("")};if(Ye.open("GET",Re,!He),Ye.overrideMimeType("text/plain; charset=x-user-defined"),He===!1&&(Ye.onload=function(){return bt(this.responseText)}),Ye.send(null),Ye.status===200)return He?bt(Ye.responseText):void 0;console.warn('Unable to load file "'+Re+'"')}(we,ve)}catch(Re){he=void 0}return he},E.loadImageFile=E.loadFile,A=ht.API,S=typeof window!="undefined"&&window||typeof g!="undefined"&&g,T=function(ve){var me=m(ve);return me==="undefined"?"undefined":me==="string"||ve instanceof String?"string":me==="number"||ve instanceof Number?"number":me==="function"||ve instanceof Function?"function":ve&&ve.constructor===Array?"array":ve&&ve.nodeType===1?"element":me==="object"?"object":"unknown"},L=function(ve,me){var he=document.createElement(ve);if(me.className&&(he.className=me.className),me.innerHTML){he.innerHTML=me.innerHTML;for(var Re=he.getElementsByTagName("script"),He=Re.length;0<He--;null)Re[He].parentNode.removeChild(Re[He])}for(var ze in me.style)he.style[ze]=me.style[ze];return he},(((x=function we(ve){var me=Object.assign(we.convert(Promise.resolve()),JSON.parse(JSON.stringify(we.template))),he=we.convert(Promise.resolve(),me);return he=(he=he.setProgress(1,we,1,[we])).set(ve)}).prototype=Object.create(Promise.prototype)).constructor=x).convert=function(we,ve){return we.__proto__=ve||x.prototype,we},x.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},x.prototype.from=function(we,ve){return this.then(function(){switch(ve=ve||function(me){switch(T(me)){case"string":return"string";case"element":return me.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(we)){case"string":return this.set({src:L("div",{innerHTML:we})});case"element":return this.set({src:we});case"canvas":return this.set({canvas:we});case"img":return this.set({img:we});default:return this.error("Unknown source type.")}})},x.prototype.to=function(we){switch(we){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},x.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var we={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},ve=function me(he,Re){for(var He=he.nodeType===3?document.createTextNode(he.nodeValue):he.cloneNode(!1),ze=he.firstChild;ze;ze=ze.nextSibling)Re!==!0&&ze.nodeType===1&&ze.nodeName==="SCRIPT"||He.appendChild(me(ze,Re));return he.nodeType===1&&(he.nodeName==="CANVAS"?(He.width=he.width,He.height=he.height,He.getContext("2d").drawImage(he,0,0)):he.nodeName!=="TEXTAREA"&&he.nodeName!=="SELECT"||(He.value=he.value),He.addEventListener("load",function(){He.scrollTop=he.scrollTop,He.scrollLeft=he.scrollLeft},!0)),He}(this.prop.src,this.opt.html2canvas.javascriptEnabled);ve.tagName==="BODY"&&(we.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=L("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=L("div",{className:"html2pdf__container",style:we}),this.prop.container.appendChild(ve),this.prop.container.firstChild.appendChild(L("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},x.prototype.toCanvas=function(){var we=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(we).then(function(){var ve=Object.assign({},this.opt.html2canvas);if(delete ve.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,ve)}).then(function(ve){(this.opt.html2canvas.onrendered||function(){})(ve),this.prop.canvas=ve,document.body.removeChild(this.prop.overlay)})},x.prototype.toContext2d=function(){var we=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(we).then(function(){var ve=this.opt.jsPDF,me=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete me.onrendered,ve.context2d.autoPaging=!0,ve.context2d.posX=this.opt.x,ve.context2d.posY=this.opt.y,me.windowHeight=me.windowHeight||0,me.windowHeight=me.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):me.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,me)}).then(function(ve){(this.opt.html2canvas.onrendered||function(){})(ve),this.prop.canvas=ve,document.body.removeChild(this.prop.overlay)})},x.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var we=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=we})},x.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},x.prototype.output=function(we,ve,me){return(me=me||"pdf").toLowerCase()==="img"||me.toLowerCase()==="image"?this.outputImg(we,ve):this.outputPdf(we,ve)},x.prototype.outputPdf=function(we,ve){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(we,ve)})},x.prototype.outputImg=function(we,ve){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(we){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+we+'" is not supported.'}})},x.prototype.isHtml2CanvasLoaded=function(){var we=S.html2canvas!==void 0;return we||console.error("html2canvas not loaded."),we},x.prototype.save=function(we){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(we?{filename:we}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},x.prototype.doCallback=function(we){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},x.prototype.set=function(we){if(T(we)!=="object")return this;var ve=Object.keys(we||{}).map(function(me){if(me in x.template.prop)return function(){this.prop[me]=we[me]};switch(me){case"margin":return this.setMargin.bind(this,we.margin);case"jsPDF":return function(){return this.opt.jsPDF=we.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,we.pageSize);default:return function(){this.opt[me]=we[me]}}},this);return this.then(function(){return this.thenList(ve)})},x.prototype.get=function(we,ve){return this.then(function(){var me=we in x.template.prop?this.prop[we]:this.opt[we];return ve?ve(me):me})},x.prototype.setMargin=function(we){return this.then(function(){switch(T(we)){case"number":we=[we,we,we,we];case"array":if(we.length===2&&(we=[we[0],we[1],we[0],we[1]]),we.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=we}).then(this.setPageSize)},x.prototype.setPageSize=function(we){function ve(me,he){return Math.floor(me*he/72*96)}return this.then(function(){(we=we||ht.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(we.inner={width:we.width-this.opt.margin[1]-this.opt.margin[3],height:we.height-this.opt.margin[0]-this.opt.margin[2]},we.inner.px={width:ve(we.inner.width,we.k),height:ve(we.inner.height,we.k)},we.inner.ratio=we.inner.height/we.inner.width),this.prop.pageSize=we})},x.prototype.setProgress=function(we,ve,me,he){return we!=null&&(this.progress.val=we),ve!=null&&(this.progress.state=ve),me!=null&&(this.progress.n=me),he!=null&&(this.progress.stack=he),this.progress.ratio=this.progress.val/this.progress.state,this},x.prototype.updateProgress=function(we,ve,me,he){return this.setProgress(we?this.progress.val+we:null,ve||null,me?this.progress.n+me:null,he?this.progress.stack.concat(he):null)},x.prototype.then=function(we,ve){var me=this;return this.thenCore(we,ve,function(he,Re){return me.updateProgress(null,null,1,[he]),Promise.prototype.then.call(this,function(He){return me.updateProgress(null,he),He}).then(he,Re).then(function(He){return me.updateProgress(1),He})})},x.prototype.thenCore=function(we,ve,me){me=me||Promise.prototype.then;var he=this;we&&(we=we.bind(he)),ve&&(ve=ve.bind(he));var Re=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?he:x.convert(Object.assign({},he),Promise.prototype),He=me.call(Re,we,ve);return x.convert(He,he.__proto__)},x.prototype.thenExternal=function(we,ve){return Promise.prototype.then.call(this,we,ve)},x.prototype.thenList=function(we){var ve=this;return we.forEach(function(me){ve=ve.thenCore(me)}),ve},x.prototype.catch=function(we){we&&(we=we.bind(this));var ve=Promise.prototype.catch.call(this,we);return x.convert(ve,this)},x.prototype.catchExternal=function(we){return Promise.prototype.catch.call(this,we)},x.prototype.error=function(we){return this.then(function(){throw new Error(we)})},x.prototype.using=x.prototype.set,x.prototype.saveAs=x.prototype.save,x.prototype.export=x.prototype.output,x.prototype.run=x.prototype.then,ht.getPageSize=function(we,ve,me){if(m(we)==="object"){var he=we;we=he.orientation,ve=he.unit||ve,me=he.format||me}ve=ve||"mm",me=me||"a4",we=(""+(we||"P")).toLowerCase();var Re=(""+me).toLowerCase(),He={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(ve){case"pt":var ze=1;break;case"mm":ze=72/25.4;break;case"cm":ze=72/2.54;break;case"in":ze=72;break;case"px":ze=.75;break;case"pc":case"em":ze=12;break;case"ex":ze=6;break;default:throw"Invalid unit: "+ve}if(He.hasOwnProperty(Re))var Ye=He[Re][1]/ze,Pe=He[Re][0]/ze;else try{Ye=me[1],Pe=me[0]}catch(bt){throw new Error("Invalid format: "+me)}if(we==="p"||we==="portrait"){if(we="p",Ye<Pe){var nt=Pe;Pe=Ye,Ye=nt}}else{if(we!=="l"&&we!=="landscape")throw"Invalid orientation: "+we;we="l",Pe<Ye&&(nt=Pe,Pe=Ye,Ye=nt)}return{width:Pe,height:Ye,unit:ve,k:ze}},A.html=function(we,ve){(ve=ve||{}).callback=ve.callback||function(){},ve.html2canvas=ve.html2canvas||{},ve.html2canvas.canvas=ve.html2canvas.canvas||this.canvas,ve.jsPDF=ve.jsPDF||this,ve.jsPDF;var me=new x(ve);return ve.worker?me:me.from(we).doCallback()},ht.API.addJS=function(we){return N=we,this.internal.events.subscribe("postPutResources",function(ve){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),O=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+N+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&O!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(F=ht.API).events.push(["postPutResources",function(){var we=this,ve=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var me=we.outline.render().split(/\r\n/),he=0;he<me.length;he++){var Re=me[he],He=ve.exec(Re);if(He!=null){var ze=He[1];we.internal.newObjectDeferredBegin(ze,!1)}we.internal.write(Re)}if(this.outline.createNamedDestinations){var Ye=this.internal.pages.length,Pe=[];for(he=0;he<Ye;he++){var nt=we.internal.newObject();Pe.push(nt);var bt=we.internal.getPageInfo(he+1);we.internal.write("<< /D["+bt.objId+" 0 R /XYZ null null null]>> endobj")}var Ot=we.internal.newObject();for(we.internal.write("<< /Names [ "),he=0;he<Pe.length;he++)we.internal.write("(page_"+(he+1)+")"+Pe[he]+" 0 R");we.internal.write(" ] >>","endobj"),we.internal.newObject(),we.internal.write("<< /Dests "+Ot+" 0 R"),we.internal.write(">>","endobj")}}]),F.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),F.events.push(["initialized",function(){var we=this;we.outline={createNamedDestinations:!1,root:{children:[]}},we.outline.add=function(ve,me,he){var Re={title:me,options:he,children:[]};return ve==null&&(ve=this.root),ve.children.push(Re),Re},we.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=we,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},we.outline.genIds_r=function(ve){ve.id=we.internal.newObjectDeferred();for(var me=0;me<ve.children.length;me++)this.genIds_r(ve.children[me])},we.outline.renderRoot=function(ve){this.objStart(ve),this.line("/Type /Outlines"),0<ve.children.length&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1]))),this.line("/Count "+this.count_r({count:0},ve)),this.objEnd()},we.outline.renderItems=function(ve){this.ctx.pdf.internal.getCoordinateString;for(var me=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he<ve.children.length;he++){var Re=ve.children[he];this.objStart(Re),this.line("/Title "+this.makeString(Re.title)),this.line("/Parent "+this.makeRef(ve)),0<he&&this.line("/Prev "+this.makeRef(ve.children[he-1])),he<ve.children.length-1&&this.line("/Next "+this.makeRef(ve.children[he+1])),0<Re.children.length&&(this.line("/First "+this.makeRef(Re.children[0])),this.line("/Last "+this.makeRef(Re.children[Re.children.length-1])));var He=this.count=this.count_r({count:0},Re);if(0<He&&this.line("/Count "+He),Re.options&&Re.options.pageNumber){var ze=we.internal.getPageInfo(Re.options.pageNumber);this.line("/Dest ["+ze.objId+" 0 R /XYZ 0 "+me(0)+" 0]")}this.objEnd()}for(he=0;he<ve.children.length;he++)Re=ve.children[he],this.renderItems(Re)},we.outline.line=function(ve){this.ctx.val+=ve+`\r
|
|
|
`},we.outline.makeRef=function(ve){return ve.id+" 0 R"},we.outline.makeString=function(ve){return"("+we.internal.pdfEscape(ve)+")"},we.outline.objStart=function(ve){this.ctx.val+=`\r
|
|
|
`+ve.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},we.outline.objEnd=function(ve){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},we.outline.count_r=function(ve,me){for(var he=0;he<me.children.length;he++)ve.count++,this.count_r(ve,me.children[he]);return ve.count}}]),k=ht.API,P=function(){var ve=typeof Deflater=="function";if(!ve)throw new Error("requires deflate.js for compression");return ve},B=function(ve,me,he,Re){var He=5,ze=V;switch(Re){case k.image_compression.FAST:He=3,ze=H;break;case k.image_compression.MEDIUM:He=6,ze=X;break;case k.image_compression.SLOW:He=9,ze=W}ve=U(ve,me,he,ze);var Ye=new Uint8Array(z(He)),Pe=R(ve),nt=new Deflater(He),bt=nt.append(ve),Ot=nt.flush(),ae=Ye.length+bt.length+Ot.length,pe=new Uint8Array(ae+4);return pe.set(Ye),pe.set(bt,Ye.length),pe.set(Ot,Ye.length+bt.length),pe[ae++]=Pe>>>24&255,pe[ae++]=Pe>>>16&255,pe[ae++]=Pe>>>8&255,pe[ae++]=255&Pe,k.arrayBufferToBinaryString(pe)},z=function(ve,me){var he=Math.LOG2E*Math.log(32768)-8<<4|8,Re=he<<8;return Re|=Math.min(3,(me-1&255)>>1)<<6,Re|=0,[he,255&(Re+=31-Re%31)]},R=function(ve,me){for(var he,Re=1,He=0,ze=ve.length,Ye=0;0<ze;){for(ze-=he=me<ze?me:ze;He+=Re+=ve[Ye++],--he;);Re%=65521,He%=65521}return(He<<16|Re)>>>0},U=function(ve,me,he,Re){for(var He,ze,Ye,Pe=ve.length/me,nt=new Uint8Array(ve.length+Pe),bt=$(),Ot=0;Ot<Pe;Ot++){if(Ye=Ot*me,He=ve.subarray(Ye,Ye+me),Re)nt.set(Re(He,he,ze),Ye+Ot);else{for(var ae=0,pe=bt.length,J=[];ae<pe;ae++)J[ae]=bt[ae](He,he,ze);var ne=ge(J.concat());nt.set(J[ne],Ye+Ot)}ze=He}return nt},j=function(ve,me,he){var Re=Array.apply([],ve);return Re.unshift(0),Re},H=function(ve,me,he){var Re,He=[],ze=0,Ye=ve.length;for(He[0]=1;ze<Ye;ze++)Re=ve[ze-me]||0,He[ze+1]=ve[ze]-Re+256&255;return He},V=function(ve,me,he){var Re,He=[],ze=0,Ye=ve.length;for(He[0]=2;ze<Ye;ze++)Re=he&&he[ze]||0,He[ze+1]=ve[ze]-Re+256&255;return He},X=function(ve,me,he){var Re,He,ze=[],Ye=0,Pe=ve.length;for(ze[0]=3;Ye<Pe;Ye++)Re=ve[Ye-me]||0,He=he&&he[Ye]||0,ze[Ye+1]=ve[Ye]+256-(Re+He>>>1)&255;return ze},W=function(ve,me,he){var Re,He,ze,Ye,Pe=[],nt=0,bt=ve.length;for(Pe[0]=4;nt<bt;nt++)Re=ve[nt-me]||0,He=he&&he[nt]||0,ze=he&&he[nt-me]||0,Ye=G(Re,He,ze),Pe[nt+1]=ve[nt]-Ye+256&255;return Pe},G=function(ve,me,he){var Re=ve+me-he,He=Math.abs(Re-ve),ze=Math.abs(Re-me),Ye=Math.abs(Re-he);return He<=ze&&He<=Ye?ve:ze<=Ye?me:he},$=function(){return[j,H,V,X,W]},ge=function(ve){for(var me,he,Re,He=0,ze=ve.length;He<ze;)((me=q(ve[He].slice(1)))<he||!he)&&(he=me,Re=He),He++;return Re},q=function(ve){for(var me=0,he=ve.length,Re=0;me<he;)Re+=Math.abs(ve[me++]);return Re},k.processPNG=function(we,ve,me,he,Re){var He,ze,Ye,Pe,nt,bt,Ot=this.color_spaces.DEVICE_RGB,ae=this.decode.FLATE_DECODE,pe=8;if(this.isArrayBuffer(we)&&(we=new Uint8Array(we)),this.isArrayBufferView(we)){if(typeof PNG!="function"||typeof Bt!="function")throw new Error("PNG support requires png.js and zlib.js");if(we=(He=new PNG(we)).imgData,pe=He.bits,Ot=He.colorSpace,Pe=He.colors,[4,6].indexOf(He.colorType)!==-1){if(He.bits===8)for(var J,ne=(Qt=He.pixelBitlength==32?new Uint32Array(He.decodePixels().buffer):He.pixelBitlength==16?new Uint16Array(He.decodePixels().buffer):new Uint8Array(He.decodePixels().buffer)).length,xe=new Uint8Array(ne*He.colors),De=new Uint8Array(ne),Fe=He.pixelBitlength-He.bits,$e=0,vt=0;$e<ne;$e++){for(Wt=Qt[$e],J=0;J<Fe;)xe[vt++]=Wt>>>J&255,J+=He.bits;De[$e]=Wt>>>J&255}if(He.bits===16){ne=(Qt=new Uint32Array(He.decodePixels().buffer)).length,xe=new Uint8Array(ne*(32/He.pixelBitlength)*He.colors),De=new Uint8Array(ne*(32/He.pixelBitlength));for(var Wt,$t=1<He.colors,Rt=vt=$e=0;$e<ne;)Wt=Qt[$e++],xe[vt++]=Wt>>>0&255,$t&&(xe[vt++]=Wt>>>16&255,Wt=Qt[$e++],xe[vt++]=Wt>>>0&255),De[Rt++]=Wt>>>16&255;pe=8}he!==k.image_compression.NONE&&P()?(we=B(xe,He.width*He.colors,He.colors,he),bt=B(De,He.width,1,he)):(we=xe,bt=De,ae=null)}if(He.colorType===3&&(Ot=this.color_spaces.INDEXED,nt=He.palette,He.transparency.indexed)){var Kt=He.transparency.indexed,Gt=0;for($e=0,ne=Kt.length;$e<ne;++$e)Gt+=Kt[$e];if((Gt/=255)==ne-1&&Kt.indexOf(0)!==-1)Ye=[Kt.indexOf(0)];else if(Gt!==ne){var Qt=He.decodePixels();for(De=new Uint8Array(Qt.length),$e=0,ne=Qt.length;$e<ne;$e++)De[$e]=Kt[Qt[$e]];bt=B(De,He.width,1)}}var Mt=function(dr){var er;switch(dr){case k.image_compression.FAST:er=11;break;case k.image_compression.MEDIUM:er=13;break;case k.image_compression.SLOW:er=14;break;default:er=12}return er}(he);return ze=ae===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Pe+" /BitsPerComponent "+pe+" /Columns "+He.width:"/Colors "+Pe+" /BitsPerComponent "+pe+" /Columns "+He.width,(this.isArrayBuffer(we)||this.isArrayBufferView(we))&&(we=this.arrayBufferToBinaryString(we)),(bt&&this.isArrayBuffer(bt)||this.isArrayBufferView(bt))&&(bt=this.arrayBufferToBinaryString(bt)),this.createImageInfo(we,He.width,He.height,Ot,pe,ae,ve,me,ze,Ye,nt,bt,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(Se=ht.API).processGIF89A=function(we,ve,me,he,Re){var He=new dt(we),ze=He.width,Ye=He.height,Pe=[];He.decodeAndBlitFrameRGBA(0,Pe);var nt={data:Pe,width:ze,height:Ye},bt=new yt(100).encode(nt,100);return Se.processJPEG.call(this,bt,ve,me,he)},Se.processGIF87A=Se.processGIF89A,(Ce=ht.API).processBMP=function(we,ve,me,he,Re){var He=new _t(we,!1),ze=He.width,Ye=He.height,Pe={data:He.getData(),width:ze,height:Ye},nt=new yt(100).encode(Pe,100);return Ce.processJPEG.call(this,nt,ve,me,he)},ht.API.setLanguage=function(we){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[we]!==void 0&&(this.internal.languageSettings.languageCode=we,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Ae=ht.API,Ue=Ae.getCharWidthsArray=function(we,ve){var me,he,Re,He=(ve=ve||{}).font||this.internal.getFont(),ze=ve.fontSize||this.internal.getFontSize(),Ye=ve.charSpace||this.internal.getCharSpace(),Pe=ve.widths?ve.widths:He.metadata.Unicode.widths,nt=Pe.fof?Pe.fof:1,bt=ve.kerning?ve.kerning:He.metadata.Unicode.kerning,Ot=bt.fof?bt.fof:1,ae=0,pe=Pe[0]||nt,J=[];for(me=0,he=we.length;me<he;me++)Re=we.charCodeAt(me),typeof He.metadata.widthOfString=="function"?J.push((He.metadata.widthOfGlyph(He.metadata.characterToGlyph(Re))+Ye*(1e3/ze)||0)/1e3):J.push((Pe[Re]||pe)/nt+(bt[Re]&&bt[Re][ae]||0)/Ot),ae=Re;return J},Qe=Ae.getArraySum=function(we){for(var ve=we.length,me=0;ve;)me+=we[--ve];return me},gt=Ae.getStringUnitWidth=function(we,ve){var me=(ve=ve||{}).fontSize||this.internal.getFontSize(),he=ve.font||this.internal.getFont(),Re=ve.charSpace||this.internal.getCharSpace();return typeof he.metadata.widthOfString=="function"?he.metadata.widthOfString(we,me,Re)/me:Qe(Ue.apply(this,arguments))},_e=function(ve,me,he,Re){for(var He=[],ze=0,Ye=ve.length,Pe=0;ze!==Ye&&Pe+me[ze]<he;)Pe+=me[ze],ze++;He.push(ve.slice(0,ze));var nt=ze;for(Pe=0;ze!==Ye;)Pe+me[ze]>Re&&(He.push(ve.slice(nt,ze)),Pe=0,nt=ze),Pe+=me[ze],ze++;return nt!==ze&&He.push(ve.slice(nt,ze)),He},Oe=function(ve,me,he){he||(he={});var Re,He,ze,Ye,Pe,nt,bt=[],Ot=[bt],ae=he.textIndent||0,pe=0,J=0,ne=ve.split(" "),xe=Ue.apply(this,[" ",he])[0];if(nt=he.lineIndent===-1?ne[0].length+2:he.lineIndent||0){var De=Array(nt).join(" "),Fe=[];ne.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Fe=Fe.concat(Wt.map(function($t,Rt){return(Rt&&$t.length?`
|
|
|
`:"")+$t})):Fe.push(Wt[0])}),ne=Fe,nt=gt.apply(this,[De,he])}for(ze=0,Ye=ne.length;ze<Ye;ze++){var $e=0;if(Re=ne[ze],nt&&Re[0]==`
|
|
|
`&&(Re=Re.substr(1),$e=1),He=Ue.apply(this,[Re,he]),me<ae+pe+(J=Qe(He))||$e){if(me<J){for(Pe=_e.apply(this,[Re,He,me-(ae+pe),me]),bt.push(Pe.shift()),bt=[Pe.pop()];Pe.length;)Ot.push([Pe.shift()]);J=Qe(He.slice(Re.length-(bt[0]?bt[0].length:0)))}else bt=[Re];Ot.push(bt),ae=J+nt,pe=xe}else bt.push(Re),ae+=pe+J,pe=xe}if(nt)var vt=function($t,Rt){return(Rt?De:"")+$t.join(" ")};else vt=function($t){return $t.join(" ")};return Ot.map(vt)},Ae.splitTextToSize=function(we,ve,me){var he,Re=(me=me||{}).fontSize||this.internal.getFontSize(),He=function(bt){var Ot={0:1},ae={};if(bt.widths&&bt.kerning)return{widths:bt.widths,kerning:bt.kerning};var pe=this.internal.getFont(bt.fontName,bt.fontStyle),J="Unicode";return pe.metadata[J]?{widths:pe.metadata[J].widths||Ot,kerning:pe.metadata[J].kerning||ae}:{font:pe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,me);he=Array.isArray(we)?we:we.split(/\r?\n/);var ze=1*this.internal.scaleFactor*ve/Re;He.textIndent=me.textIndent?1*me.textIndent*this.internal.scaleFactor/Re:0,He.lineIndent=me.lineIndent;var Ye,Pe,nt=[];for(Ye=0,Pe=he.length;Ye<Pe;Ye++)nt=nt.concat(Oe.apply(this,[he[Ye],ze,He]));return nt},lt=ht.API,Y={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(ce=function(ve){for(var me="klmnopqrstuvwxyz",he={},Re=0;Re<me.length;Re++)he[me[Re]]="0123456789abcdef"[Re];var He,ze,Ye,Pe,nt,bt={},Ot=1,ae=bt,pe=[],J="",ne="",xe=ve.length-1;for(Re=1;Re!=xe;)nt=ve[Re],Re+=1,nt=="'"?ze=ze?(Pe=ze.join(""),He):[]:ze?ze.push(nt):nt=="{"?(pe.push([ae,Pe]),ae={},Pe=He):nt=="}"?((Ye=pe.pop())[0][Ye[1]]=ae,Pe=He,ae=Ye[0]):nt=="-"?Ot=-1:Pe===He?he.hasOwnProperty(nt)?(J+=he[nt],Pe=parseInt(J,16)*Ot,Ot=1,J=""):J+=nt:he.hasOwnProperty(nt)?(ne+=he[nt],ae[Pe]=parseInt(ne,16)*Ot,Ot=1,Pe=He,ne=""):ne+=nt;return bt})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},K={Unicode:{Courier:Y,"Courier-Bold":Y,"Courier-BoldOblique":Y,"Courier-Oblique":Y,Helvetica:Y,"Helvetica-Bold":Y,"Helvetica-BoldOblique":Y,"Helvetica-Oblique":Y,"Times-Roman":Y,"Times-Bold":Y,"Times-BoldItalic":Y,"Times-Italic":Y}},Q={Unicode:{"Courier-Oblique":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ce("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":ce("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ce("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:ce("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ce("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":ce("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:ce("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ce("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":ce("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":ce("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},lt.events.push(["addFont",function(we){var ve,me,he,Re=we.font,He="Unicode";(ve=Q[He][Re.postScriptName])&&((me=Re.metadata[He]?Re.metadata[He]:Re.metadata[He]={}).widths=ve.widths,me.kerning=ve.kerning),(he=K[He][Re.postScriptName])&&((me=Re.metadata[He]?Re.metadata[He]:Re.metadata[He]={}).encoding=he).codePages&&he.codePages.length&&(Re.encoding=he.codePages[0])}]),ye=ht,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),ye.API.events.push(["addFont",function(we){var ve=we.font,me=we.instance;if(me!==void 0&&me.existsFileInVFS(ve.postScriptName)){var he=me.getFileFromVFS(ve.postScriptName);if(typeof he!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+ve.postScriptName+"').");ve.metadata=ye.API.TTFFont.open(ve.postScriptName,ve.fontName,he,ve.encoding),ve.metadata.Unicode=ve.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ve.metadata.glyIdsUsed=[0]}else if(ve.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+ve.postScriptName+"').")}]),(ue=ht.API).addSvg=function(we,ve,me,he,Re){if(ve===void 0||me===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function He(Kt){for(var Gt=parseFloat(Kt[1]),Qt=parseFloat(Kt[2]),Mt=[],dr=3,er=Kt.length;dr<er;)Kt[dr]==="c"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2]),parseFloat(Kt[dr+3]),parseFloat(Kt[dr+4]),parseFloat(Kt[dr+5]),parseFloat(Kt[dr+6])]),dr+=7):Kt[dr]==="l"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2])]),dr+=3):dr+=1;return[Gt,Qt,Mt]}var ze,Ye,Pe,nt,bt,Ot,ae,pe,J=(nt=document,pe=nt.createElement("iframe"),bt=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ae=(Ot=nt).createElement("style")).type="text/css",ae.styleSheet?ae.styleSheet.cssText=bt:ae.appendChild(Ot.createTextNode(bt)),Ot.getElementsByTagName("head")[0].appendChild(ae),pe.name="childframe",pe.setAttribute("width",0),pe.setAttribute("height",0),pe.setAttribute("frameborder","0"),pe.setAttribute("scrolling","no"),pe.setAttribute("seamless","seamless"),pe.setAttribute("class","jsPDF_sillysvg_iframe"),nt.body.appendChild(pe),pe),ne=(ze=we,(Pe=((Ye=J).contentWindow||Ye.contentDocument).document).write(ze),Pe.close(),Pe.getElementsByTagName("svg")[0]),xe=[1,1],De=parseFloat(ne.getAttribute("width")),Fe=parseFloat(ne.getAttribute("height"));De&&Fe&&(he&&Re?xe=[he/De,Re/Fe]:he?xe=[he/De,he/De]:Re&&(xe=[Re/Fe,Re/Fe]));var $e,vt,Wt,$t,Rt=ne.childNodes;for($e=0,vt=Rt.length;$e<vt;$e++)(Wt=Rt[$e]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=He(Wt.getAttribute("d").split(" ")))[0]=$t[0]*xe[0]+ve,$t[1]=$t[1]*xe[1]+me,this.lines.call(this,$t[2],$t[0],$t[1],xe));return this},ue.addSVG=ue.addSvg,ue.addSvgAsImage=function(we,ve,me,he,Re,He,ze,Ye){if(isNaN(ve)||isNaN(me))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(he)||isNaN(Re))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Pe=document.createElement("canvas");Pe.width=he,Pe.height=Re;var nt=Pe.getContext("2d");return nt.fillStyle="#fff",nt.fillRect(0,0,Pe.width,Pe.height),canvg(Pe,we,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Pe.toDataURL("image/jpeg",1),ve,me,he,Re,ze,Ye),this},ht.API.putTotalPages=function(we){var ve,me=0;me=parseInt(this.internal.getFont().id.substr(1),10)<15?(ve=new RegExp(we,"g"),this.internal.getNumberOfPages()):(ve=new RegExp(this.pdfEscape16(we,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var he=1;he<=this.internal.getNumberOfPages();he++)for(var Re=0;Re<this.internal.pages[he].length;Re++)this.internal.pages[he][Re]=this.internal.pages[he][Re].replace(ve,me);return this},ht.API.viewerPreferences=function(we,ve){var me;we=we||{},ve=ve||!1;var he,Re,He={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},ze=Object.keys(He),Ye=[],Pe=0,nt=0,bt=0,Ot=!0;function ae(J,ne){var xe,De=!1;for(xe=0;xe<J.length;xe+=1)J[xe]===ne&&(De=!0);return De}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(He)),this.internal.viewerpreferences.isSubscribed=!1),me=this.internal.viewerpreferences.configuration,we==="reset"||ve===!0){var pe=ze.length;for(bt=0;bt<pe;bt+=1)me[ze[bt]].value=me[ze[bt]].defaultValue,me[ze[bt]].explicitSet=!1}if(m(we)==="object"){for(he in we)if(Re=we[he],ae(ze,he)&&Re!==void 0){if(me[he].type==="boolean"&&typeof Re=="boolean")me[he].value=Re;else if(me[he].type==="name"&&ae(me[he].valueSet,Re))me[he].value=Re;else if(me[he].type==="integer"&&Number.isInteger(Re))me[he].value=Re;else if(me[he].type==="array"){for(Pe=0;Pe<Re.length;Pe+=1)if(Ot=!0,Re[Pe].length===1&&typeof Re[Pe][0]=="number")Ye.push(String(Re[Pe]-1));else if(1<Re[Pe].length){for(nt=0;nt<Re[Pe].length;nt+=1)typeof Re[Pe][nt]!="number"&&(Ot=!1);Ot===!0&&Ye.push([Re[Pe][0]-1,Re[Pe][1]-1].join(" "))}me[he].value="["+Ye.join(" ")+"]"}else me[he].value=me[he].defaultValue;me[he].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var J,ne=[];for(J in me)me[J].explicitSet===!0&&(me[J].type==="name"?ne.push("/"+J+" /"+me[J].value):ne.push("/"+J+" "+me[J].value));ne.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+ne.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=me,this},Ne=ht.API,de=oe=Te="",Ne.addMetadata=function(we,ve){return oe=ve||"http://jspdf.default.namespaceuri/",Te=we,this.internal.events.subscribe("postPutResources",function(){if(Te){var me='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+oe+'"><jspdf:metadata>',he=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Re=unescape(encodeURIComponent(me)),He=unescape(encodeURIComponent(Te)),ze=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Ye=unescape(encodeURIComponent("</x:xmpmeta>")),Pe=Re.length+He.length+ze.length+he.length+Ye.length;de=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Pe+" >>"),this.internal.write("stream"),this.internal.write(he+Re+He+ze+Ye),this.internal.write("endstream"),this.internal.write("endobj")}else de=""}),this.internal.events.subscribe("putCatalog",function(){de&&this.internal.write("/Metadata "+de+" 0 R")}),this},function(we,ve){var me=we.API,he=me.pdfEscape16=function(ze,Ye){for(var Pe,nt=Ye.metadata.Unicode.widths,bt=["","0","00","000","0000"],Ot=[""],ae=0,pe=ze.length;ae<pe;++ae){if(Pe=Ye.metadata.characterToGlyph(ze.charCodeAt(ae)),Ye.metadata.glyIdsUsed.push(Pe),Ye.metadata.toUnicode[Pe]=ze.charCodeAt(ae),nt.indexOf(Pe)==-1&&(nt.push(Pe),nt.push([parseInt(Ye.metadata.widthOfGlyph(Pe),10)])),Pe=="0")return Ot.join("");Pe=Pe.toString(16),Ot.push(bt[4-Pe.length],Pe)}return Ot.join("")},Re=function(Ye){var Pe,nt,bt,Ot,ae,pe,J;for(ae=`/CIDInit /ProcSet findresource begin
|
|
|
12 dict begin
|
|
|
begincmap
|
|
|
/CIDSystemInfo <<
|
|
|
/Registry (Adobe)
|
|
|
/Ordering (UCS)
|
|
|
/Supplement 0
|
|
|
>> def
|
|
|
/CMapName /Adobe-Identity-UCS def
|
|
|
/CMapType 2 def
|
|
|
1 begincodespacerange
|
|
|
<0000><ffff>
|
|
|
endcodespacerange`,bt=[],pe=0,J=(nt=Object.keys(Ye).sort(function(ne,xe){return ne-xe})).length;pe<J;pe++)Pe=nt[pe],100<=bt.length&&(ae+=`
|
|
|
`+bt.length+` beginbfchar
|
|
|
`+bt.join(`
|
|
|
`)+`
|
|
|
endbfchar`,bt=[]),Ot=("0000"+Ye[Pe].toString(16)).slice(-4),Pe=("0000"+(+Pe).toString(16)).slice(-4),bt.push("<"+Pe+"><"+Ot+">");return bt.length&&(ae+=`
|
|
|
`+bt.length+` beginbfchar
|
|
|
`+bt.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),ae+=`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};me.events.push(["putFont",function(ze){!function(Ye,Pe,nt,bt){if(Ye.metadata instanceof we.API.TTFFont&&Ye.encoding==="Identity-H"){for(var Ot=Ye.metadata.Unicode.widths,ae=Ye.metadata.subset.encode(Ye.metadata.glyIdsUsed,1),pe="",J=0;J<ae.length;J++)pe+=String.fromCharCode(ae[J]);var ne=nt();bt({data:pe,addLength1:!0}),Pe("endobj");var xe=nt();bt({data:Re(Ye.metadata.toUnicode),addLength1:!0}),Pe("endobj");var De=nt();Pe("<<"),Pe("/Type /FontDescriptor"),Pe("/FontName /"+Ye.fontName),Pe("/FontFile2 "+ne+" 0 R"),Pe("/FontBBox "+we.API.PDFObject.convert(Ye.metadata.bbox)),Pe("/Flags "+Ye.metadata.flags),Pe("/StemV "+Ye.metadata.stemV),Pe("/ItalicAngle "+Ye.metadata.italicAngle),Pe("/Ascent "+Ye.metadata.ascender),Pe("/Descent "+Ye.metadata.decender),Pe("/CapHeight "+Ye.metadata.capHeight),Pe(">>"),Pe("endobj");var Fe=nt();Pe("<<"),Pe("/Type /Font"),Pe("/BaseFont /"+Ye.fontName),Pe("/FontDescriptor "+De+" 0 R"),Pe("/W "+we.API.PDFObject.convert(Ot)),Pe("/CIDToGIDMap /Identity"),Pe("/DW 1000"),Pe("/Subtype /CIDFontType2"),Pe("/CIDSystemInfo"),Pe("<<"),Pe("/Supplement 0"),Pe("/Registry (Adobe)"),Pe("/Ordering ("+Ye.encoding+")"),Pe(">>"),Pe(">>"),Pe("endobj"),Ye.objectNumber=nt(),Pe("<<"),Pe("/Type /Font"),Pe("/Subtype /Type0"),Pe("/ToUnicode "+xe+" 0 R"),Pe("/BaseFont /"+Ye.fontName),Pe("/Encoding /"+Ye.encoding),Pe("/DescendantFonts ["+Fe+" 0 R]"),Pe(">>"),Pe("endobj"),Ye.isAlreadyPutted=!0}}(ze.font,ze.out,ze.newObject,ze.putStream)}]),me.events.push(["putFont",function(ze){!function(Ye,Pe,nt,bt){if(Ye.metadata instanceof we.API.TTFFont&&Ye.encoding==="WinAnsiEncoding"){Ye.metadata.Unicode.widths;for(var Ot=Ye.metadata.rawData,ae="",pe=0;pe<Ot.length;pe++)ae+=String.fromCharCode(Ot[pe]);var J=nt();bt({data:ae,addLength1:!0}),Pe("endobj");var ne=nt();bt({data:Re(Ye.metadata.toUnicode),addLength1:!0}),Pe("endobj");var xe=nt();for(Pe("<<"),Pe("/Descent "+Ye.metadata.decender),Pe("/CapHeight "+Ye.metadata.capHeight),Pe("/StemV "+Ye.metadata.stemV),Pe("/Type /FontDescriptor"),Pe("/FontFile2 "+J+" 0 R"),Pe("/Flags 96"),Pe("/FontBBox "+we.API.PDFObject.convert(Ye.metadata.bbox)),Pe("/FontName /"+Ye.fontName),Pe("/ItalicAngle "+Ye.metadata.italicAngle),Pe("/Ascent "+Ye.metadata.ascender),Pe(">>"),Pe("endobj"),Ye.objectNumber=nt(),pe=0;pe<Ye.metadata.hmtx.widths.length;pe++)Ye.metadata.hmtx.widths[pe]=parseInt(Ye.metadata.hmtx.widths[pe]*(1e3/Ye.metadata.head.unitsPerEm));Pe("<</Subtype/TrueType/Type/Font/ToUnicode "+ne+" 0 R/BaseFont/"+Ye.fontName+"/FontDescriptor "+xe+" 0 R/Encoding/"+Ye.encoding+" /FirstChar 29 /LastChar 255 /Widths "+we.API.PDFObject.convert(Ye.metadata.hmtx.widths)+">>"),Pe("endobj"),Ye.isAlreadyPutted=!0}}(ze.font,ze.out,ze.newObject,ze.putStream)}]);var He=function(Ye){var Pe,nt,bt=Ye.text||"",Ot=Ye.x,ae=Ye.y,pe=Ye.options||{},J=Ye.mutex||{},ne=J.pdfEscape,xe=J.activeFontKey,De=J.fonts,Fe=(J.activeFontSize,""),$e=0,vt="",Wt=De[nt=xe].encoding;if(De[nt].encoding!=="Identity-H")return{text:bt,x:Ot,y:ae,options:pe,mutex:J};for(vt=bt,nt=xe,Object.prototype.toString.call(bt)==="[object Array]"&&(vt=bt[0]),$e=0;$e<vt.length;$e+=1)De[nt].metadata.hasOwnProperty("cmap")&&(Pe=De[nt].metadata.cmap.unicode.codeMap[vt[$e].charCodeAt(0)]),Pe||vt[$e].charCodeAt(0)<256&&De[nt].metadata.hasOwnProperty("Unicode")?Fe+=vt[$e]:Fe+="";var $t="";return parseInt(nt.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Rt){for(var Kt="",Gt=0;Gt<Rt.length;Gt++)Kt+=""+Rt.charCodeAt(Gt).toString(16);return Kt}(ne(Fe,nt)):Wt==="Identity-H"&&($t=he(Fe,De[nt])),J.isHex=!0,{text:$t,x:Ot,y:ae,options:pe,mutex:J}};me.events.push(["postProcessText",function(ze){var Ye=ze.text||"",Pe=ze.x,nt=ze.y,bt=ze.options,Ot=ze.mutex,ae=(bt.lang,[]),pe={text:Ye,x:Pe,y:nt,options:bt,mutex:Ot};if(Object.prototype.toString.call(Ye)==="[object Array]"){var J=0;for(J=0;J<Ye.length;J+=1)Object.prototype.toString.call(Ye[J])==="[object Array]"&&Ye[J].length===3?ae.push([He(Object.assign({},pe,{text:Ye[J][0]})).text,Ye[J][1],Ye[J][2]]):ae.push(He(Object.assign({},pe,{text:Ye[J]})).text);ze.text=ae}else ze.text=He(Object.assign({},pe,{text:Ye})).text}])}(ht,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),Le=ht.API,Ge=function(ve){return ve!==void 0&&(ve.vFS===void 0&&(ve.vFS={}),!0)},Le.existsFileInVFS=function(we){return!!Ge(this.internal)&&this.internal.vFS[we]!==void 0},Le.addFileToVFS=function(we,ve){return Ge(this.internal),this.internal.vFS[we]=ve,this},Le.getFileFromVFS=function(we){return Ge(this.internal),this.internal.vFS[we]!==void 0?this.internal.vFS[we]:null},ht.API.addHTML=function(we,ve,me,he,Re){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof ve!="number"&&(he=ve,Re=me),typeof he=="function"&&(Re=he,he=null),typeof Re!="function"&&(Re=function(){});var He=this.internal,ze=He.scaleFactor,Ye=He.pageSize.getWidth(),Pe=He.pageSize.getHeight();if((he=he||{}).onrendered=function(bt){ve=parseInt(ve)||0,me=parseInt(me)||0;var Ot=he.dim||{},ae=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},he.margin),pe=Ot.h||Math.min(Pe,bt.height/ze),J=Ot.w||Math.min(Ye,bt.width/ze)-ve,ne=he.format||"JPEG",xe=he.imageCompression||"SLOW";if(bt.height>Pe-ae.top-ae.bottom&&he.pagesplit){var De=function(Rt,Kt,Gt,Qt,Mt){var dr=document.createElement("canvas");dr.height=Mt,dr.width=Qt;var er=dr.getContext("2d");return er.mozImageSmoothingEnabled=!1,er.webkitImageSmoothingEnabled=!1,er.msImageSmoothingEnabled=!1,er.imageSmoothingEnabled=!1,er.fillStyle=he.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Rt,Kt,Gt,Qt,Mt,0,0,Qt,Mt),dr},Fe=function(){for(var $t,Rt,Kt=0,Gt=0,Qt={},Mt=!1;;){var dr;if(Gt=0,Qt.top=Kt!==0?ae.top:me,Qt.left=Kt!==0?ae.left:ve,Mt=(Ye-ae.left-ae.right)*ze<bt.width,ae.useFor==="content"?Kt===0?($t=Math.min((Ye-ae.left)*ze,bt.width),Rt=Math.min((Pe-ae.top)*ze,bt.height-Kt)):($t=Math.min(Ye*ze,bt.width),Rt=Math.min(Pe*ze,bt.height-Kt),Qt.top=0):($t=Math.min((Ye-ae.left-ae.right)*ze,bt.width),Rt=Math.min((Pe-ae.bottom-ae.top)*ze,bt.height-Kt)),Mt)for(;;){ae.useFor==="content"&&(Gt===0?$t=Math.min((Ye-ae.left)*ze,bt.width):($t=Math.min(Ye*ze,bt.width-Gt),Qt.left=0));var er=[dr=De(bt,Gt,Kt,$t,Rt),Qt.left,Qt.top,dr.width/ze,dr.height/ze,ne,null,xe];if(this.addImage.apply(this,er),(Gt+=$t)>=bt.width)break;this.addPage()}else er=[dr=De(bt,0,Kt,$t,Rt),Qt.left,Qt.top,dr.width/ze,dr.height/ze,ne,null,xe],this.addImage.apply(this,er);if((Kt+=Rt)>=bt.height)break;this.addPage()}Re(J,Kt,null,er)}.bind(this);if(bt.nodeName==="CANVAS"){var $e=new Image;$e.onload=Fe,$e.src=bt.toDataURL("image/png"),bt=$e}else Fe()}else{var vt=Math.random().toString(35),Wt=[bt,ve,me,J,pe,ne,vt,xe];this.addImage.apply(this,Wt),Re(J,pe,vt,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!he.rstz)return html2canvas(we,he);if(typeof rasterizeHTML=="undefined")return null;var nt="drawDocument";return typeof we=="string"&&(nt=/^http/.test(we)?"drawURL":"drawHTML"),he.width=he.width||Ye*ze,rasterizeHTML[nt](we,void 0,he).then(function(bt){he.onrendered(bt.image)},function(bt){Re(null,bt)})},function(we){var ve,me,he,Re,He,ze,Ye,Pe,nt,bt,Ot,ae,pe,J,ne,xe,De,Fe,$e,vt;ve=function(){return function(Kt){return Rt.prototype=Kt,new Rt};function Rt(){}}(),bt=function(Kt){var Gt,Qt,Mt,dr,er,st,xt;for(Qt=0,Mt=Kt.length,Gt=void 0,st=dr=!1;!dr&&Qt!==Mt;)(Gt=Kt[Qt]=Kt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!st&&Qt!==-1;)(Gt=Kt[Qt]=Kt[Qt].trimRight())&&(st=!0),Qt--;for(er=/\s+$/g,xt=!0,Qt=0;Qt!==Mt;)Kt[Qt]!="\u2028"&&(Gt=Kt[Qt].replace(/\s+/g," "),xt&&(Gt=Gt.trimLeft()),Gt&&(xt=er.test(Gt)),Kt[Qt]=Gt),Qt++;return Kt},ae=function(Kt){var Gt,Qt,Mt;for(Gt=void 0,Qt=(Mt=Kt.split(",")).shift();!Gt&&Qt;)Gt=he[Qt.trim().toLowerCase()],Qt=Mt.shift();return Gt},pe=function(Kt){var Gt;return-1<(Kt=Kt==="auto"?"0px":Kt).indexOf("em")&&!isNaN(Number(Kt.replace("em","")))&&(Kt=18.719*Number(Kt.replace("em",""))+"px"),-1<Kt.indexOf("pt")&&!isNaN(Number(Kt.replace("pt","")))&&(Kt=1.333*Number(Kt.replace("pt",""))+"px"),(Gt=J[Kt])?Gt:(Gt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Kt])!==void 0||(Gt=parseFloat(Kt))?J[Kt]=Gt/16:(Gt=Kt.match(/([\d\.]+)(px)/),Array.isArray(Gt)&&Gt.length===3?J[Kt]=parseFloat(Gt[1])/16:J[Kt]=1)},nt=function(Kt){var Gt,Qt,Mt,dr,er;return er=Kt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Gt={})["font-family"]=ae((Mt=function(xt){return xt=xt.replace(/-\D/g,function(ut){return ut.charAt(1).toUpperCase()}),dr[xt]})("font-family"))||"times",Gt["font-style"]=Re[Mt("font-style")]||"normal",Gt["text-align"]=He[Mt("text-align")]||"left",(Qt=ze[Mt("font-weight")]||"normal")==="bold"&&(Gt["font-style"]==="normal"?Gt["font-style"]=Qt:Gt["font-style"]=Qt+Gt["font-style"]),Gt["font-size"]=pe(Mt("font-size"))||1,Gt["line-height"]=pe(Mt("line-height"))||1,Gt.display=Mt("display")==="inline"?"inline":"block",Qt=Gt.display==="block",Gt["margin-top"]=Qt&&pe(Mt("margin-top"))||0,Gt["margin-bottom"]=Qt&&pe(Mt("margin-bottom"))||0,Gt["padding-top"]=Qt&&pe(Mt("padding-top"))||0,Gt["padding-bottom"]=Qt&&pe(Mt("padding-bottom"))||0,Gt["margin-left"]=Qt&&pe(Mt("margin-left"))||0,Gt["margin-right"]=Qt&&pe(Mt("margin-right"))||0,Gt["padding-left"]=Qt&&pe(Mt("padding-left"))||0,Gt["padding-right"]=Qt&&pe(Mt("padding-right"))||0,Gt["page-break-before"]=Mt("page-break-before")||"auto",Gt.float=Ye[Mt("cssFloat")]||"none",Gt.clear=Pe[Mt("clear")]||"none",Gt.color=Mt("color"),Gt},ne=function(Kt,Gt,Qt){var Mt,dr,er,st,xt;if(er=!1,st=dr=void 0,Mt=Qt["#"+Kt.id])if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;if(Mt=Qt[Kt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;for(xt=typeof Kt.className=="string"?Kt.className.split(" "):[],dr=0;dr<xt.length;dr++)if(Mt=Qt["."+xt[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,st=Mt.length;!er&&dr!==st;)er=Mt[dr](Kt,Gt),dr++;return er},vt=function(Kt,Gt){var Qt,Mt,dr,er,st,xt,ut,pt,It;for(Qt=[],Mt=[],dr=0,It=Kt.rows[0].cells.length,ut=Kt.clientWidth;dr<It;)pt=Kt.rows[0].cells[dr],Mt[dr]={name:pt.textContent.toLowerCase().replace(/\s+/g,""),prompt:pt.textContent.replace(/\r?\n/g,""),width:pt.clientWidth/ut*Gt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<Kt.rows.length;){for(xt=Kt.rows[dr],st={},er=0;er<xt.cells.length;)st[Mt[er].name]=xt.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(st),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;me=function(Kt,Gt,Qt){var Mt,dr,er,st,xt,ut,pt,It;for(dr=Kt.childNodes,Mt=void 0,(xt=(er=nt(Kt)).display==="block")&&(Gt.setBlockBoundary(),Gt.setBlockStyle(er)),st=0,ut=dr.length;st<ut;){if(m(Mt=dr[st])==="object"){if(Gt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var Tt=Mt,ft=Gt.pdf.margins_doc.top;Gt.pdf.internal.events.subscribe("addPage",function(cr){Gt.y=ft,me(Tt,Gt,Qt),Gt.pdf.margins_doc.top=Gt.y+10,Gt.y+=10},!1)}if(Mt.nodeType===8&&Mt.nodeName==="#comment")~Mt.textContent.indexOf("ADD_PAGE")&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top);else if(Mt.nodeType!==1||Wt[Mt.nodeName])if(Mt.nodeType===3){var Ht=Mt.nodeValue;if(Mt.nodeValue&&Mt.parentNode.nodeName==="LI")if(Mt.parentNode.parentNode.nodeName==="OL")Ht=$t+++". "+Ht;else{var Ft=er["font-size"],ir=(3-.75*Ft)*Gt.pdf.internal.scaleFactor,Xt=.75*Ft*Gt.pdf.internal.scaleFactor,mr=1.74*Ft/Gt.pdf.internal.scaleFactor;It=function(fr,xr){this.pdf.circle(fr+ir,xr+Xt,mr,"FD")}}16&Mt.ownerDocument.body.compareDocumentPosition(Mt)&&Gt.addText(Ht,er)}else typeof Mt=="string"&&Gt.addText(Mt,er);else{var Ar;if(Mt.nodeName==="IMG"){var Nr=Mt.getAttribute("src");Ar=xe[Gt.pdf.sHashCode(Nr)||Nr]}if(Ar){Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom<Gt.y+Mt.height&&Gt.y>Gt.pdf.margins_doc.top&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top,Gt.executeWatchFunctions(Mt));var Fr=nt(Mt),tn=Gt.x,qr=12/Gt.pdf.internal.scaleFactor,Lr=(Fr["margin-left"]+Fr["padding-left"])*qr,Qr=(Fr["margin-right"]+Fr["padding-right"])*qr,_r=(Fr["margin-top"]+Fr["padding-top"])*qr,ur=(Fr["margin-bottom"]+Fr["padding-bottom"])*qr;Fr.float!==void 0&&Fr.float==="right"?tn+=Gt.settings.width-Mt.width-Qr:tn+=Lr,Gt.pdf.addImage(Ar,tn,Gt.y+_r,Mt.width,Mt.height),Ar=void 0,Fr.float==="right"||Fr.float==="left"?(Gt.watchFunctions.push(function(cr,fr,xr,Yr){return Gt.y>=fr?(Gt.x+=cr,Gt.settings.width+=xr,!0):!!(Yr&&Yr.nodeType===1&&!Wt[Yr.nodeName]&&Gt.x+Yr.width>Gt.pdf.margins_doc.left+Gt.pdf.margins_doc.width)&&(Gt.x+=cr,Gt.y=fr,Gt.settings.width+=xr,!0)}.bind(this,Fr.float==="left"?-Mt.width-Lr-Qr:0,Gt.y+Mt.height+_r+ur,Mt.width)),Gt.watchFunctions.push(function(cr,fr,xr){return!(Gt.y<cr&&fr===Gt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&nt(xr).clear==="both"&&(Gt.y=cr,!0)}.bind(this,Gt.y+Mt.height,Gt.pdf.internal.getNumberOfPages())),Gt.settings.width-=Mt.width+Lr+Qr,Fr.float==="left"&&(Gt.x+=Mt.width+Lr+Qr)):Gt.y+=Mt.height+_r+ur}else if(Mt.nodeName==="TABLE")pt=vt(Mt,Gt),Gt.y+=10,Gt.pdf.table(Gt.x,Gt.y,pt.rows,pt.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Gt.pdf.margins_doc,css:nt(Mt)}),Gt.y=Gt.pdf.lastCellPos.y+Gt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,ne(Mt,Gt,Qt)||me(Mt,Gt,Qt),Gt.y+=10;else if(Mt.nodeName==="LI"){var pr=Gt.x;Gt.x+=20/Gt.pdf.internal.scaleFactor,Gt.y+=3,ne(Mt,Gt,Qt)||me(Mt,Gt,Qt),Gt.x=pr}else Mt.nodeName==="BR"?(Gt.y+=er["font-size"]*Gt.pdf.internal.scaleFactor,Gt.addText("\u2028",ve(er))):ne(Mt,Gt,Qt)||me(Mt,Gt,Qt)}}st++}if(Qt.outY=Gt.y,xt)return Gt.setBlockBoundary(It)},xe={},De=function(Kt,Gt,Qt,Mt){var dr,er=Kt.getElementsByTagName("img"),st=er.length,xt=0;function ut(){Gt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function pt(It,Tt,ft){if(It){var Ht=new Image;dr=++xt,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=Tt||Ht.width||0,Ht.height=ft||Ht.height||0),Ht.width+Ht.height)){var Ft=Gt.pdf.sHashCode(It)||It;xe[Ft]=xe[Ft]||Ht}--xt||ut()},Ht.src=It}}for(;st--;)pt(er[st].getAttribute("src"),er[st].width,er[st].height);return xt||ut()},Fe=function(Kt,Gt,Qt){var Mt=Kt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Gt.pdf.internal.write,er=Gt.y;Gt.pdf.internal.write=function(){},me(Mt,Gt,Qt);var st=Math.ceil(Gt.y-er)+5;Gt.y=er,Gt.pdf.internal.write=dr,Gt.pdf.margins_doc.bottom+=st;for(var xt=function(Tt){var ft=Tt!==void 0?Tt.pageNumber:1,Ht=Gt.y;Gt.y=Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom,Gt.pdf.margins_doc.bottom-=st;for(var Ft=Mt.getElementsByTagName("span"),ir=0;ir<Ft.length;++ir)-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(Ft[ir].innerHTML=ft),-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(Ft[ir].innerHTML="###jsPDFVarTotalPages###");me(Mt,Gt,Qt),Gt.pdf.margins_doc.bottom+=st,Gt.y=Ht},ut=Mt.getElementsByTagName("span"),pt=0;pt<ut.length;++pt)-1<(" "+ut[pt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Gt.pdf.internal.events.subscribe("htmlRenderingFinished",Gt.pdf.putTotalPages.bind(Gt.pdf,"###jsPDFVarTotalPages###"),!0);Gt.pdf.internal.events.subscribe("addPage",xt,!1),xt(),Wt.FOOTER=1}},$e=function(Kt,Gt,Qt,Mt,dr,er){if(!Gt)return!1;var st,xt,ut,pt;typeof Gt=="string"||Gt.parentNode||(Gt=""+Gt.innerHTML),typeof Gt=="string"&&(st=Gt.replace(/<\/?script[^>]*?>/gi,""),pt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(ut=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",ut.innerHTML='<iframe style="height:1px;width:1px" name="'+pt+'" />',document.body.appendChild(ut),(xt=window.frames[pt]).document.open(),xt.document.writeln(st),xt.document.close(),Gt=xt.document.body);var It,Tt=new Ot(Kt,Qt,Mt,dr);return De.call(this,Gt,Tt,dr.elementHandlers,function(ft){Fe(Gt,Tt,dr.elementHandlers),me(Gt,Tt,dr.elementHandlers),Tt.pdf.internal.events.publish("htmlRenderingFinished"),It=Tt.dispose(),typeof er=="function"?er(It):ft&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),It||{x:Tt.x,y:Tt.y}},(Ot=function(Kt,Gt,Qt,Mt){return this.pdf=Kt,this.x=Gt,this.y=Qt,this.settings=Mt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},Ot.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},Ot.prototype.executeWatchFunctions=function(Rt){var Kt=!1,Gt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Rt)===!0?Kt=!0:Gt.push(this.watchFunctions[Qt]);this.watchFunctions=Gt}return Kt},Ot.prototype.splitFragmentsIntoLines=function(Rt,Kt){var Gt,Qt,Mt,dr,er,st,xt,ut,pt,It,Tt,ft,Ht,Ft;for(It=this.pdf.internal.scaleFactor,dr={},st=xt=ut=Ft=er=Mt=pt=Qt=void 0,ft=[Tt=[]],Gt=0,Ht=this.settings.width;Rt.length;)if(er=Rt.shift(),Ft=Kt.shift(),er)if((Mt=dr[(Qt=Ft["font-family"])+(pt=Ft["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,pt).metadata.Unicode,dr[Qt+pt]=Mt),ut={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*Ft["font-size"],textIndent:Gt},xt=this.pdf.getStringUnitWidth(er,ut)*ut.fontSize/It,er=="\u2028")Tt=[],ft.push(Tt);else if(Ht<Gt+xt){for(st=this.pdf.splitTextToSize(er,Ht,ut),Tt.push([st.shift(),Ft]);st.length;)Tt=[[st.shift(),Ft]],ft.push(Tt);Gt=this.pdf.getStringUnitWidth(Tt[0][0],ut)*ut.fontSize/It}else Tt.push([er,Ft]),Gt+=xt;if(Ft["text-align"]!==void 0&&(Ft["text-align"]==="center"||Ft["text-align"]==="right"||Ft["text-align"]==="justify"))for(var ir=0;ir<ft.length;++ir){var Xt=this.pdf.getStringUnitWidth(ft[ir][0][0],ut)*ut.fontSize/It;0<ir&&(ft[ir][0][1]=ve(ft[ir][0][1]));var mr=Ht-Xt;if(Ft["text-align"]==="right")ft[ir][0][1]["margin-left"]=mr;else if(Ft["text-align"]==="center")ft[ir][0][1]["margin-left"]=mr/2;else if(Ft["text-align"]==="justify"){var Ar=ft[ir][0][0].split(" ").length-1;ft[ir][0][1]["word-spacing"]=mr/Ar,ir===ft.length-1&&(ft[ir][0][1]["word-spacing"]=0)}}return ft},Ot.prototype.RenderTextFragment=function(Rt,Kt){var Gt,Qt;Qt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(Kt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,Kt["line-height"],Kt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Gt=this.pdf.internal.getFont(Kt["font-family"],Kt["font-style"]);var Mt=this.getPdfColor(Kt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),Kt["word-spacing"]!==void 0&&0<Kt["word-spacing"]&&this.pdf.internal.write(Kt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Gt.id,(12*Kt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Rt)+") Tj"),Kt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},Ot.prototype.getPdfColor=function(Rt){var Kt,Gt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Rt);if(Mt!=null)Kt=parseInt(Mt[1]),Gt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Rt=="string"&&Rt.charAt(0)!="#"){var dr=new RGBColor(Rt);Rt=dr.ok?dr.toHex():"#000000"}Kt=Rt.substring(1,3),Kt=parseInt(Kt,16),Gt=Rt.substring(3,5),Gt=parseInt(Gt,16),Qt=Rt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof Kt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Kt)){var er=parseInt(Kt.substr(1),16);Kt=er>>16&255,Gt=er>>8&255,Qt=255&er}var st=this.f3;return Kt===0&&Gt===0&&Qt===0||Gt===void 0?st(Kt/255)+" g":[st(Kt/255),st(Gt/255),st(Qt/255),"rg"].join(" ")},Ot.prototype.f3=function(Rt){return Rt.toFixed(3)},Ot.prototype.renderParagraph=function(Rt){var Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,It,Tt,ft;if(Qt=bt(this.paragraph.text),Tt=this.paragraph.style,Kt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Kt},Qt.join("").trim()){st=this.splitFragmentsIntoLines(Qt,Tt),xt=er=void 0,Gt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,It=(Math.max((Kt["margin-top"]||0)-this.priorMarginBottom,0)+(Kt["padding-top"]||0))*Gt,pt=((Kt["margin-bottom"]||0)+(Kt["padding-bottom"]||0))*Gt,this.priorMarginBottom=Kt["margin-bottom"]||0,Kt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,It=((Kt["margin-top"]||0)+(Kt["padding-top"]||0))*Gt),ut=this.pdf.internal.write,dr=Mt=void 0,this.y+=It,ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;st.length;){for(Mt=xt=0,dr=(er=st.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(xt=Math.max(xt,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),ft=7*er[Mt][1]["font-size"]),Mt++;var Ft=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(Ft=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),ut(Ft+Math.max(Kt["margin-left"]||0,0)*Gt,(-12*xt).toFixed(2),"Td"),Mt=0,dr=er.length;Mt!==dr;)er[Mt][0]&&this.RenderTextFragment(er[Mt][0],er[Mt][1]),Mt++;if(this.y+=xt*Gt,this.executeWatchFunctions(er[0][1])&&0<st.length){var Xt=[],mr=[];st.forEach(function(Ar){for(var Nr=0,Fr=Ar.length;Nr!==Fr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),st=this.splitFragmentsIntoLines(bt(Xt),mr),ut("ET","Q"),ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Rt&&typeof Rt=="function"&&Rt.call(this,this.x-9,this.y-ft/2),ut("ET","Q"),this.y+=pt}},Ot.prototype.setBlockBoundary=function(Rt){return this.renderParagraph(Rt)},Ot.prototype.setBlockStyle=function(Rt){return this.paragraph.blockstyle=Rt},Ot.prototype.addText=function(Rt,Kt){return this.paragraph.text.push(Rt),this.paragraph.style.push(Kt)},he={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},ze={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Re={normal:"normal",italic:"italic",oblique:"italic"},He={left:"left",right:"right",center:"center",justify:"justify"},Ye={none:"none",right:"right",left:"left"},Pe={none:"none",both:"both"},J={normal:1},we.fromHTML=function(Rt,Kt,Gt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),$e(this,Rt,isNaN(Kt)?4:Kt,isNaN(Gt)?4:Gt,Qt,Mt)}}(ht.API),ht.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(we,ve,me){var he=ve.canvas;if(he){var Re,He;if((he.pdf=ve).annotations={_nameMap:[],createAnnotation:function(Ot,ae){var pe,J=ve.context2d._wrapX(ae.left),ne=ve.context2d._wrapY(ae.top),xe=(ve.context2d._page(ae.top),Ot.indexOf("#"));pe=0<=xe?{name:Ot.substring(xe+1)}:{url:Ot},ve.link(J,ne,ae.right-ae.left,ae.bottom-ae.top,pe)},setName:function(Ot,ae){var pe=ve.context2d._wrapX(ae.left),J=ve.context2d._wrapY(ae.top),ne=ve.context2d._page(ae.top);this._nameMap[Ot]={page:ne,x:pe,y:J}}},he.annotations=ve.annotations,ve.context2d._pageBreakAt=function(bt){this.pageBreaks.push(bt)},ve.context2d._gotoPage=function(bt){for(;ve.internal.getNumberOfPages()<bt;)ve.addPage();ve.setPage(bt)},typeof we=="string"){we=we.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var ze,Ye,Pe=document.createElement("iframe");document.body.appendChild(Pe),(ze=Pe.contentDocument)!=null&&ze!=null||(ze=Pe.contentWindow.document),ze.open(),ze.write(we),ze.close(),Re=ze.body,Ye=ze.body||{},we=ze.documentElement||{},He=Math.max(Ye.scrollHeight,Ye.offsetHeight,we.clientHeight,we.scrollHeight,we.offsetHeight)}else Ye=(Re=we).body||{},He=Math.max(Ye.scrollHeight,Ye.offsetHeight,we.clientHeight,we.scrollHeight,we.offsetHeight);var nt={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:he,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:He=ve.internal.pageSize.getHeight(),scrollY:He};ve.context2d.pageWrapYEnabled=!0,ve.context2d.pageWrapY=ve.internal.pageSize.getHeight(),html2canvas(Re,nt).then(function(bt){me&&(Pe&&Pe.parentElement.removeChild(Pe),me(ve))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(we){var ve=we.BlobBuilder||we.WebKitBlobBuilder||we.MSBlobBuilder||we.MozBlobBuilder;we.URL=we.URL||we.webkitURL||function(J,ne){return(ne=document.createElement("a")).href=J,ne};var me=we.Blob,he=URL.createObjectURL,Re=URL.revokeObjectURL,He=we.Symbol&&we.Symbol.toStringTag,ze=!1,Ye=!1,Pe=!!we.ArrayBuffer,nt=ve&&ve.prototype.append&&ve.prototype.getBlob;try{ze=new Blob(["\xE4"]).size===2,Ye=new Blob([new Uint8Array([1,2])]).size===2}catch(J){}function bt(J){return J.map(function(ne){if(ne.buffer instanceof ArrayBuffer){var xe=ne.buffer;if(ne.byteLength!==xe.byteLength){var De=new Uint8Array(ne.byteLength);De.set(new Uint8Array(xe,ne.byteOffset,ne.byteLength)),xe=De.buffer}return xe}return ne})}function Ot(J,ne){ne=ne||{};var xe=new ve;return bt(J).forEach(function(De){xe.append(De)}),ne.type?xe.getBlob(ne.type):xe.getBlob()}function ae(J,ne){return new me(bt(J),ne||{})}if(we.Blob&&(Ot.prototype=Blob.prototype,ae.prototype=Blob.prototype),He)try{File.prototype[He]="File",Blob.prototype[He]="Blob",FileReader.prototype[He]="FileReader"}catch(J){}function pe(){var J=!!we.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,ne=we.XMLHttpRequest&&we.XMLHttpRequest.prototype.send;J&&ne&&(XMLHttpRequest.prototype.send=function(De){De instanceof Blob&&this.setRequestHeader("Content-Type",De.type),ne.call(this,De)});try{new File([],"")}catch(De){try{var xe=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();we.File=xe}catch(Fe){xe=function(vt,Wt,$t){var Rt=new Blob(vt,$t),Kt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Rt.name=Wt,Rt.lastModifiedDate=Kt,Rt.lastModified=+Kt,Rt.toString=function(){return"[object File]"},He&&(Rt[He]="File"),Rt},we.File=xe}}}ze?(pe(),we.Blob=Ye?we.Blob:ae):nt?(pe(),we.Blob=Ot):function(){function J(Qt){for(var Mt=[],dr=0;dr<Qt.length;dr++){var er=Qt.charCodeAt(dr);er<128?Mt.push(er):er<2048?Mt.push(192|er>>6,128|63&er):er<55296||57344<=er?Mt.push(224|er>>12,128|er>>6&63,128|63&er):(dr++,er=65536+((1023&er)<<10|1023&Qt.charCodeAt(dr)),Mt.push(240|er>>18,128|er>>12&63,128|er>>6&63,128|63&er))}return Mt}function ne(Qt){var Mt,dr,er,st,xt,ut;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((st=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(st);break;case 12:case 13:xt=Qt[dr++],Mt+=String.fromCharCode((31&st)<<6|63&xt);break;case 14:xt=Qt[dr++],ut=Qt[dr++],Mt+=String.fromCharCode((15&st)<<12|(63&xt)<<6|(63&ut)<<0)}return Mt}function xe(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function De(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var st=Qt[er],xt=er+1<Qt.length,ut=xt?Qt[er+1]:0,pt=er+2<Qt.length,It=pt?Qt[er+2]:0,Tt=st>>2,ft=(3&st)<<4|ut>>4,Ht=(15&ut)<<2|It>>6,Ft=63&It;pt||(Ft=64,xt||(Ht=64)),dr.push(Mt[Tt],Mt[ft],Mt[Ht],Mt[Ft])}return dr.join("")}var Fe=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Pe)var $e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],vt=ArrayBuffer.isView||function(Qt){return Qt&&-1<$e.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var st=Qt[dr];st instanceof Wt?Qt[dr]=st._buffer:typeof st=="string"?Qt[dr]=J(st):Pe&&(ArrayBuffer.prototype.isPrototypeOf(st)||vt(st))?Qt[dr]=xe(st):Pe&&(xt=st)&&DataView.prototype.isPrototypeOf(xt)?Qt[dr]=xe(st.buffer):Qt[dr]=J(String(st))}var xt;this._buffer=[].concat.apply([],Qt),this.size=this._buffer.length,this.type=Mt&&Mt.type||""}function $t(Qt,Mt,dr){var er=Wt.call(this,Qt,dr=dr||{})||this;return er.name=Mt,er.lastModifiedDate=dr.lastModified?new Date(dr.lastModified):new Date,er.lastModified=+er.lastModifiedDate,er}if(Wt.prototype.slice=function(Qt,Mt,dr){return new Wt([this._buffer.slice(Qt||0,Mt||this._buffer.length)],{type:dr})},Wt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Fe(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Rt(){if(!(this instanceof Rt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Qt=document.createDocumentFragment();this.addEventListener=Qt.addEventListener,this.dispatchEvent=function(Mt){var dr=this["on"+Mt.type];typeof dr=="function"&&dr(Mt),Qt.dispatchEvent(Mt)},this.removeEventListener=Qt.removeEventListener}function Kt(Qt,Mt,dr){if(!(Mt instanceof Wt))throw new TypeError("Failed to execute '"+dr+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Qt.result="",setTimeout(function(){this.readyState=Rt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Rt.EMPTY=0,Rt.LOADING=1,Rt.DONE=2,Rt.prototype.error=null,Rt.prototype.onabort=null,Rt.prototype.onerror=null,Rt.prototype.onload=null,Rt.prototype.onloadend=null,Rt.prototype.onloadstart=null,Rt.prototype.onprogress=null,Rt.prototype.readAsDataURL=function(Qt){Kt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+De(Qt._buffer)},Rt.prototype.readAsText=function(Qt){Kt(this,Qt,"readAsText"),this.result=ne(Qt._buffer)},Rt.prototype.readAsArrayBuffer=function(Qt){Kt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Rt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+De(Qt._buffer):he.call(URL,Qt)},URL.revokeObjectURL=function(Qt){Re&&Re.call(URL,Qt)};var Gt=we.XMLHttpRequest&&we.XMLHttpRequest.prototype.send;Gt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Gt.call(this,ne(Qt._buffer))):Gt.call(this,Qt)}),we.FileReader=Rt,we.File=$t,we.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var Et,Be,Dt,Ke,At,Xe,et,tt,ot,Ve,se,re,it,qe,be,Zt=Zt||function(we){if(!(we===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var ve=we.document,me=function(){return we.URL||we.webkitURL||we},he=ve.createElementNS("http://www.w3.org/1999/xhtml","a"),Re="download"in he,He=/constructor/i.test(we.HTMLElement)||we.safari,ze=/CriOS\/[\d]+/.test(navigator.userAgent),Ye=we.setImmediate||we.setTimeout,Pe=function(J){Ye(function(){throw J},0)},nt=function(J){setTimeout(function(){typeof J=="string"?me().revokeObjectURL(J):J.remove()},4e4)},bt=function(J){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(J.type)?new Blob([String.fromCharCode(65279),J],{type:J.type}):J},Ot=function(J,ne,xe){xe||(J=bt(J));var De,Fe=this,$e=J.type==="application/octet-stream",vt=function(){!function($t,Rt,Kt){for(var Gt=(Rt=[].concat(Rt)).length;Gt--;){var Qt=$t["on"+Rt[Gt]];if(typeof Qt=="function")try{Qt.call($t,Kt||$t)}catch(Mt){Pe(Mt)}}}(Fe,"writestart progress write writeend".split(" "))};if(Fe.readyState=Fe.INIT,Re)return De=me().createObjectURL(J),void Ye(function(){var Wt,$t;he.href=De,he.download=ne,Wt=he,$t=new MouseEvent("click"),Wt.dispatchEvent($t),vt(),nt(De),Fe.readyState=Fe.DONE},0);!function(){if((ze||$e&&He)&&we.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=ze?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");we.open($t,"_blank")||(we.location.href=$t),$t=void 0,Fe.readyState=Fe.DONE,vt()},Wt.readAsDataURL(J),Fe.readyState=Fe.INIT}De||(De=me().createObjectURL(J)),$e?we.location.href=De:we.open(De,"_blank")||(we.location.href=De),Fe.readyState=Fe.DONE,vt(),nt(De)}()},ae=Ot.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(pe,J,ne){return J=J||pe.name||"download",ne||(pe=bt(pe)),navigator.msSaveOrOpenBlob(pe,J)}:(ae.abort=function(){},ae.readyState=ae.INIT=0,ae.WRITING=1,ae.DONE=2,ae.error=ae.onwritestart=ae.onprogress=ae.onwrite=ae.onabort=ae.onerror=ae.onwriteend=null,function(pe,J,ne){return new Ot(pe,J||pe.name||"download",ne)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function dt(we){var ve=0;if(we[ve++]!==71||we[ve++]!==73||we[ve++]!==70||we[ve++]!==56||(we[ve++]+1&253)!=56||we[ve++]!==97)throw"Invalid GIF 87a/89a header.";var me=we[ve++]|we[ve++]<<8,he=we[ve++]|we[ve++]<<8,Re=we[ve++],He=Re>>7,ze=1<<(7&Re)+1;we[ve++],we[ve++];var Ye=null;He&&(Ye=ve,ve+=3*ze);var Pe=!0,nt=[],bt=0,Ot=null,ae=0,pe=null;for(this.width=me,this.height=he;Pe&&ve<we.length;)switch(we[ve++]){case 33:switch(we[ve++]){case 255:if(we[ve]!==11||we[ve+1]==78&&we[ve+2]==69&&we[ve+3]==84&&we[ve+4]==83&&we[ve+5]==67&&we[ve+6]==65&&we[ve+7]==80&&we[ve+8]==69&&we[ve+9]==50&&we[ve+10]==46&&we[ve+11]==48&&we[ve+12]==3&&we[ve+13]==1&&we[ve+16]==0)ve+=14,pe=we[ve++]|we[ve++]<<8,ve++;else for(ve+=12;!((Kt=we[ve++])===0);)ve+=Kt;break;case 249:if(we[ve++]!==4||we[ve+4]!==0)throw"Invalid graphics extension block.";var J=we[ve++];bt=we[ve++]|we[ve++]<<8,Ot=we[ve++],(1&J)==0&&(Ot=null),ae=J>>2&7,ve++;break;case 254:for(;!((Kt=we[ve++])===0);)ve+=Kt;break;default:throw"Unknown graphic control label: 0x"+we[ve-1].toString(16)}break;case 44:var ne=we[ve++]|we[ve++]<<8,xe=we[ve++]|we[ve++]<<8,De=we[ve++]|we[ve++]<<8,Fe=we[ve++]|we[ve++]<<8,$e=we[ve++],vt=$e>>6&1,Wt=Ye,$t=!1;$e>>7&&($t=!0,Wt=ve,ve+=3*(1<<(7&$e)+1));var Rt=ve;for(ve++;;){var Kt;if((Kt=we[ve++])===0)break;ve+=Kt}nt.push({x:ne,y:xe,width:De,height:Fe,has_local_palette:$t,palette_offset:Wt,data_offset:Rt,data_length:ve-Rt,transparent_index:Ot,interlaced:!!vt,delay:bt,disposal:ae});break;case 59:Pe=!1;break;default:throw"Unknown gif block: 0x"+we[ve-1].toString(16)}this.numFrames=function(){return nt.length},this.loopCount=function(){return pe},this.frameInfo=function(Gt){if(Gt<0||Gt>=nt.length)throw"Frame index out of range.";return nt[Gt]},this.decodeAndBlitFrameBGRA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(we,Mt.data_offset,er,dr);var st=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,pt=me-ut,It=ut,Tt=4*(Mt.y*me+Mt.x),ft=4*((Mt.y+Mt.height)*me+Mt.x),Ht=Tt,Ft=4*pt;Mt.interlaced===!0&&(Ft+=4*(ut+pt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(It===0&&(It=ut,ft<=(Ht+=Ft)&&(Ft=pt+4*(ut+pt)*(ir-1),Ht=Tt+(ut+pt)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=we[st+3*Ar],Fr=we[st+3*Ar+1],tn=we[st+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=Fr,Qt[Ht++]=Nr,Qt[Ht++]=255}--It}},this.decodeAndBlitFrameRGBA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(we,Mt.data_offset,er,dr);var st=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,pt=me-ut,It=ut,Tt=4*(Mt.y*me+Mt.x),ft=4*((Mt.y+Mt.height)*me+Mt.x),Ht=Tt,Ft=4*pt;Mt.interlaced===!0&&(Ft+=4*(ut+pt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(It===0&&(It=ut,ft<=(Ht+=Ft)&&(Ft=pt+4*(ut+pt)*(ir-1),Ht=Tt+(ut+pt)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=we[st+3*Ar],Fr=we[st+3*Ar+1],tn=we[st+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=Fr,Qt[Ht++]=tn,Qt[Ht++]=255}--It}}}function ct(we,ve,me,he){for(var Re=we[ve++],He=1<<Re,ze=He+1,Ye=ze+1,Pe=Re+1,nt=(1<<Pe)-1,bt=0,Ot=0,ae=0,pe=we[ve++],J=new Int32Array(4096),ne=null;;){for(;bt<16&&pe!==0;)Ot|=we[ve++]<<bt,bt+=8,pe===1?pe=we[ve++]:--pe;if(bt<Pe)break;var xe=Ot&nt;if(Ot>>=Pe,bt-=Pe,xe!==He){if(xe===ze)break;for(var De=xe<Ye?xe:ne,Fe=0,$e=De;He<$e;)$e=J[$e]>>8,++Fe;var vt=$e;if(he<ae+Fe+(De!==xe?1:0))return void console.log("Warning, gif stream longer than expected.");me[ae++]=vt;var Wt=ae+=Fe;for(De!==xe&&(me[ae++]=vt),$e=De;Fe--;)$e=J[$e],me[--Wt]=255&$e,$e>>=8;ne!==null&&Ye<4096&&(J[Ye++]=ne<<8|vt,nt+1<=Ye&&Pe<12&&(++Pe,nt=nt<<1|1)),ne=xe}else Ye=ze+1,nt=(1<<(Pe=Re+1))-1,ne=null}return ae!==he&&console.log("Warning, gif stream shorter than expected."),me}try{_.GifWriter=function(we,ve,me,he){var Re=0,He=(he=he===void 0?{}:he).loop===void 0?null:he.loop,ze=he.palette===void 0?null:he.palette;if(ve<=0||me<=0||65535<ve||65535<me)throw"Width/Height invalid.";function Ye(ne){var xe=ne.length;if(xe<2||256<xe||xe&xe-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return xe}we[Re++]=71,we[Re++]=73,we[Re++]=70,we[Re++]=56,we[Re++]=57,we[Re++]=97;var Pe=0,nt=0;if(ze!==null){for(var bt=Ye(ze);bt>>=1;)++Pe;if(bt=1<<Pe,--Pe,he.background!==void 0){if(bt<=(nt=he.background))throw"Background index out of range.";if(nt===0)throw"Background index explicitly passed as 0."}}if(we[Re++]=255&ve,we[Re++]=ve>>8&255,we[Re++]=255&me,we[Re++]=me>>8&255,we[Re++]=(ze!==null?128:0)|Pe,we[Re++]=nt,we[Re++]=0,ze!==null)for(var Ot=0,ae=ze.length;Ot<ae;++Ot){var pe=ze[Ot];we[Re++]=pe>>16&255,we[Re++]=pe>>8&255,we[Re++]=255&pe}if(He!==null){if(He<0||65535<He)throw"Loop count invalid.";we[Re++]=33,we[Re++]=255,we[Re++]=11,we[Re++]=78,we[Re++]=69,we[Re++]=84,we[Re++]=83,we[Re++]=67,we[Re++]=65,we[Re++]=80,we[Re++]=69,we[Re++]=50,we[Re++]=46,we[Re++]=48,we[Re++]=3,we[Re++]=1,we[Re++]=255&He,we[Re++]=He>>8&255,we[Re++]=0}var J=!1;this.addFrame=function(ne,xe,De,Fe,$e,vt){if(J===!0&&(--Re,J=!1),vt=vt===void 0?{}:vt,ne<0||xe<0||65535<ne||65535<xe)throw"x/y invalid.";if(De<=0||Fe<=0||65535<De||65535<Fe)throw"Width/Height invalid.";if($e.length<De*Fe)throw"Not enough pixels for the frame size.";var Wt=!0,$t=vt.palette;if($t==null&&(Wt=!1,$t=ze),$t==null)throw"Must supply either a local or global palette.";for(var Rt=Ye($t),Kt=0;Rt>>=1;)++Kt;Rt=1<<Kt;var Gt=vt.delay===void 0?0:vt.delay,Qt=vt.disposal===void 0?0:vt.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(vt.transparent!==void 0&&vt.transparent!==null&&(Mt=!0,(dr=vt.transparent)<0||Rt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Gt!==0)&&(we[Re++]=33,we[Re++]=249,we[Re++]=4,we[Re++]=Qt<<2|(Mt===!0?1:0),we[Re++]=255&Gt,we[Re++]=Gt>>8&255,we[Re++]=dr,we[Re++]=0),we[Re++]=44,we[Re++]=255&ne,we[Re++]=ne>>8&255,we[Re++]=255&xe,we[Re++]=xe>>8&255,we[Re++]=255&De,we[Re++]=De>>8&255,we[Re++]=255&Fe,we[Re++]=Fe>>8&255,we[Re++]=Wt===!0?128|Kt-1:0,Wt===!0)for(var er=0,st=$t.length;er<st;++er){var xt=$t[er];we[Re++]=xt>>16&255,we[Re++]=xt>>8&255,we[Re++]=255&xt}Re=function(ut,pt,It,Tt){ut[pt++]=It;var ft=pt++,Ht=1<<It,Ft=Ht-1,ir=Ht+1,Xt=ir+1,mr=It+1,Ar=0,Nr=0;function Fr(fr){for(;fr<=Ar;)ut[pt++]=255&Nr,Nr>>=8,Ar-=8,pt===ft+256&&(ut[ft]=255,ft=pt++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,Fr(8)}var qr=Tt[0]&Ft,Lr={};tn(Ht);for(var Qr=1,_r=Tt.length;Qr<_r;++Qr){var ur=Tt[Qr]&Ft,pr=qr<<8|ur,cr=Lr[pr];if(cr===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)ut[pt++]=255&Nr,Nr>>=8,Ar-=8,pt===ft+256&&(ut[ft]=255,ft=pt++);Xt===4096?(tn(Ht),Xt=ir+1,mr=It+1,Lr={}):(1<<mr<=Xt&&++mr,Lr[pr]=Xt++),qr=ur}else qr=cr}return tn(qr),tn(ir),Fr(1),ft+1===pt?ut[ft]=0:(ut[ft]=pt-ft-1,ut[pt++]=0),pt}(we,Re,Kt<2?2:Kt,$e)},this.end=function(){return J===!1&&(we[Re++]=59,J=!0),Re}},_.GifReader=dt}catch(we){}function yt(we){var ve,me,he,Re,He,ze=Math.floor,Ye=new Array(64),Pe=new Array(64),nt=new Array(64),bt=new Array(64),Ot=new Array(65535),ae=new Array(65535),pe=new Array(64),J=new Array(64),ne=[],xe=0,De=7,Fe=new Array(64),$e=new Array(64),vt=new Array(64),Wt=new Array(256),$t=new Array(2048),Rt=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Kt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gt=[0,1,2,3,4,5,6,7,8,9,10,11],Qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Mt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],dr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],st=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],xt=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function ut(Ft,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var Fr=1;Fr<=Ft[Nr];Fr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function pt(Ft){for(var ir=Ft[0],Xt=Ft[1]-1;0<=Xt;)ir&1<<Xt&&(xe|=1<<De),Xt--,--De<0&&(xe==255?(It(255),It(0)):It(xe),De=7,xe=0)}function It(Ft){ne.push(Ft)}function Tt(Ft){It(Ft>>8&255),It(255&Ft)}function ft(Ft,ir,Xt,mr,Ar){for(var Nr,Fr=Ar[0],tn=Ar[240],qr=function(Yr,un){var Nn,jr,Tn,gn,Pn,zn,qn,Yn,Vn,An,on=0;for(Vn=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+1],Tn=Yr[on+2],gn=Yr[on+3],Pn=Yr[on+4],zn=Yr[on+5],qn=Yr[on+6];var ia=Nn+(Yn=Yr[on+7]),xa=Nn-Yn,ta=jr+qn,_i=jr-qn,Ci=Tn+zn,Gn=Tn-zn,Oa=gn+Pn,mn=gn-Pn,On=ia+Oa,Ln=ia-Oa,_n=ta+Ci,jn=ta-Ci;Yr[on]=On+_n,Yr[on+4]=On-_n;var ni=.707106781*(jn+Ln);Yr[on+2]=Ln+ni,Yr[on+6]=Ln-ni;var di=.382683433*((On=mn+Gn)-(jn=_i+xa)),Na=.5411961*On+di,Qi=1.306562965*jn+di,ma=.707106781*(_n=Gn+_i),Ba=xa+ma,Qa=xa-ma;Yr[on+5]=Qa+Na,Yr[on+3]=Qa-Na,Yr[on+1]=Ba+Qi,Yr[on+7]=Ba-Qi,on+=8}for(Vn=on=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+8],Tn=Yr[on+16],gn=Yr[on+24],Pn=Yr[on+32],zn=Yr[on+40],qn=Yr[on+48];var Wi=Nn+(Yn=Yr[on+56]),Co=Nn-Yn,aa=jr+qn,Hi=jr-qn,ga=Tn+zn,ha=Tn-zn,mo=gn+Pn,kn=gn-Pn,$i=Wi+mo,eo=Wi-mo,To=aa+ga,uo=aa-ga;Yr[on]=$i+To,Yr[on+32]=$i-To;var rr=.707106781*(uo+eo);Yr[on+16]=eo+rr,Yr[on+48]=eo-rr;var Tr=.382683433*(($i=kn+ha)-(uo=Hi+Co)),Pr=.5411961*$i+Tr,Wr=1.306562965*uo+Tr,hn=.707106781*(To=ha+Hi),rt=Co+hn,jt=Co-hn;Yr[on+40]=jt+Pr,Yr[on+24]=jt-Pr,Yr[on+8]=rt+Wr,Yr[on+56]=rt-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Yr[Vn]*un[Vn],pe[Vn]=0<An?An+.5|0:An-.5|0;return pe}(Ft,ir),Lr=0;Lr<64;++Lr)J[Rt[Lr]]=qr[Lr];var Qr=J[0]-Xt;Xt=J[0],Qr==0?pt(mr[0]):(pt(mr[ae[Nr=32767+Qr]]),pt(Ot[Nr]));for(var _r=63;0<_r&&J[_r]==0;_r--);if(_r==0)return pt(Fr),Xt;for(var ur,pr=1;pr<=_r;){for(var cr=pr;J[pr]==0&&pr<=_r;++pr);var fr=pr-cr;if(16<=fr){ur=fr>>4;for(var xr=1;xr<=ur;++xr)pt(tn);fr&=15}Nr=32767+J[pr],pt(Ar[(fr<<4)+ae[Nr]]),pt(Ot[Nr]),pr++}return _r!=63&&pt(Fr),Xt}function Ht(Ft){(Ft<=0&&(Ft=1),100<Ft&&(Ft=100),He!=Ft)&&(function(ir){for(var Xt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Ar=ze((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),Ye[Rt[mr]]=Ar}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Fr=0;Fr<64;Fr++){var tn=ze((Nr[Fr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Pe[Rt[Fr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,Qr=0;Qr<8;Qr++)for(var _r=0;_r<8;_r++)nt[Lr]=1/(Ye[Rt[Lr]]*qr[Qr]*qr[_r]*8),bt[Lr]=1/(Pe[Rt[Lr]]*qr[Qr]*qr[_r]*8),Lr++}(Ft<50?Math.floor(5e3/Ft):Math.floor(200-2*Ft)),He=Ft)}this.encode=function(Ft,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),ne=new Array,xe=0,De=7,Tt(65496),Tt(65504),Tt(16),It(74),It(70),It(73),It(70),It(0),It(1),It(1),It(0),Tt(1),Tt(1),It(0),It(0),function(){Tt(65499),Tt(132),It(0);for(var gn=0;gn<64;gn++)It(Ye[gn]);It(1);for(var Pn=0;Pn<64;Pn++)It(Pe[Pn])}(),Xt=Ft.width,mr=Ft.height,Tt(65472),Tt(17),It(8),Tt(mr),Tt(Xt),It(3),It(1),It(17),It(0),It(2),It(17),It(1),It(3),It(17),It(1),function(){Tt(65476),Tt(418),It(0);for(var gn=0;gn<16;gn++)It(Kt[gn+1]);for(var Pn=0;Pn<=11;Pn++)It(Gt[Pn]);It(16);for(var zn=0;zn<16;zn++)It(Qt[zn+1]);for(var qn=0;qn<=161;qn++)It(Mt[qn]);It(1);for(var Yn=0;Yn<16;Yn++)It(dr[Yn+1]);for(var Vn=0;Vn<=11;Vn++)It(er[Vn]);It(17);for(var An=0;An<16;An++)It(st[An+1]);for(var on=0;on<=161;on++)It(xt[on])}(),Tt(65498),Tt(12),It(3),It(1),It(0),It(2),It(17),It(3),It(17),It(0),It(63),It(0);var Ar=0,Nr=0,Fr=0;xe=0,De=7,this.encode.displayName="_encode_";for(var tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr=Ft.data,Yr=Ft.width,un=Ft.height,Nn=4*Yr,jr=0;jr<un;){for(tn=0;tn<Nn;){for(ur=_r=Nn*jr+tn,pr=-1,fr=cr=0;fr<64;fr++)ur=_r+(cr=fr>>3)*Nn+(pr=4*(7&fr)),un<=jr+cr&&(ur-=Nn*(jr+1+cr-un)),Nn<=tn+pr&&(ur-=tn+pr-Nn+4),qr=xr[ur++],Lr=xr[ur++],Qr=xr[ur++],Fe[fr]=($t[qr]+$t[Lr+256>>0]+$t[Qr+512>>0]>>16)-128,$e[fr]=($t[qr+768>>0]+$t[Lr+1024>>0]+$t[Qr+1280>>0]>>16)-128,vt[fr]=($t[qr+1280>>0]+$t[Lr+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=ft(Fe,nt,Ar,ve,he),Nr=ft($e,bt,Nr,me,Re),Fr=ft(vt,bt,Fr,me,Re),tn+=32}jr+=8}if(0<=De){var Tn=[];Tn[1]=De+1,Tn[0]=(1<<De+1)-1,pt(Tn)}return Tt(65497),new Uint8Array(ne)},function(){new Date().getTime(),we||(we=50),function(){for(var Ft=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=Ft(ir)}(),ve=ut(Kt,Gt),me=ut(dr,er),he=ut(Qt,Mt),Re=ut(st,xt),function(){for(var Ft=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=Ft;mr<ir;mr++)ae[32767+mr]=Xt,Ot[32767+mr]=[],Ot[32767+mr][1]=Xt,Ot[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-Ft;Ar++)ae[32767+Ar]=Xt,Ot[32767+Ar]=[],Ot[32767+Ar][1]=Xt,Ot[32767+Ar][0]=ir-1+Ar;Ft<<=1,ir<<=1}}(),function(){for(var Ft=0;Ft<256;Ft++)$t[Ft]=19595*Ft,$t[Ft+256>>0]=38470*Ft,$t[Ft+512>>0]=7471*Ft+32768,$t[Ft+768>>0]=-11059*Ft,$t[Ft+1024>>0]=-21709*Ft,$t[Ft+1280>>0]=32768*Ft+8421375,$t[Ft+1536>>0]=-27439*Ft,$t[Ft+1792>>0]=-5329*Ft}(),Ht(we),new Date().getTime()}()}function _t(we,ve){if(this.pos=0,this.buffer=we,this.datav=new DataView(we.buffer),this.is_with_alpha=!!ve,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=dt,ht.API.adler32cs=(Xe=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",et=null,tt=function(){if(!Xe)return function(){return!1};try{var we={};typeof we.Buffer=="function"&&(et=we.Buffer)}catch(ve){}return function(ve){return ve instanceof ArrayBuffer||et!==null&&ve instanceof et}}(),ot=et!==null?function(we){return new et(we,"utf8").toString("binary")}:function(we){return unescape(encodeURIComponent(we))},Ve=function(ve,me){for(var he=65535&ve,Re=ve>>>16,He=0,ze=me.length;He<ze;He++)he=(he+(255&me.charCodeAt(He)))%65521,Re=(Re+he)%65521;return(Re<<16|he)>>>0},se=function(ve,me){for(var he=65535&ve,Re=ve>>>16,He=0,ze=me.length;He<ze;He++)he=(he+me[He])%65521,Re=(Re+he)%65521;return(Re<<16|he)>>>0},it=(re={}).Adler32=(((At=(Ke=function(ve){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(ve=ve==null?1:+ve))throw new Error("First arguments needs to be a finite number.");this.checksum=ve>>>0}).prototype={}).constructor=Ke).from=((Et=function(ve){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(ve==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,ve.toString())}).prototype=At,Et),Ke.fromUtf8=((Be=function(ve){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(ve==null)throw new Error("First argument needs to be a string.");var me=ot(ve.toString());this.checksum=Ve(1,me)}).prototype=At,Be),Xe&&(Ke.fromBuffer=((Dt=function(ve){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(!tt(ve))throw new Error("First argument needs to be ArrayBuffer.");var me=new Uint8Array(ve);return this.checksum=se(1,me)}).prototype=At,Dt)),At.update=function(we){if(we==null)throw new Error("First argument needs to be a string.");return we=we.toString(),this.checksum=Ve(this.checksum,we)},At.updateUtf8=function(we){if(we==null)throw new Error("First argument needs to be a string.");var ve=ot(we.toString());return this.checksum=Ve(this.checksum,ve)},Xe&&(At.updateBuffer=function(we){if(!tt(we))throw new Error("First argument needs to be ArrayBuffer.");var ve=new Uint8Array(we);return this.checksum=se(this.checksum,ve)}),At.clone=function(){return new it(this.checksum)},Ke),re.from=function(we){if(we==null)throw new Error("First argument needs to be a string.");return Ve(1,we.toString())},re.fromUtf8=function(we){if(we==null)throw new Error("First argument needs to be a string.");var ve=ot(we.toString());return Ve(1,ve)},Xe&&(re.fromBuffer=function(we){if(!tt(we))throw new Error("First argument need to be ArrayBuffer.");var ve=new Uint8Array(we);return se(1,ve)}),re),function(we){we.__bidiEngine__=we.prototype.__bidiEngine__=function(he){var Re,He,ze,Ye,Pe,nt,bt,Ot=ve,ae=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],pe=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],J={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},ne={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},xe=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],De=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Fe=!1,$e=0;this.__bidiEngine__={};var vt=function(dr){var er=dr.charCodeAt(),st=er>>8,xt=ne[st];return xt!==void 0?Ot[256*xt+(255&er)]:st===252||st===253?"AL":De.test(st)?"L":st===8?"R":"N"},Wt=function(dr){for(var er,st=0;st<dr.length;st++){if((er=vt(dr.charAt(st)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,st,xt){var ut,pt,It,Tt,ft=er[xt];switch(ft){case"L":case"R":Fe=!1;break;case"N":case"AN":break;case"EN":Fe&&(ft="AN");break;case"AL":Fe=!0,ft="R";break;case"WS":ft="N";break;case"CS":xt<1||xt+1>=er.length||(ut=st[xt-1])!=="EN"&&ut!=="AN"||(pt=er[xt+1])!=="EN"&&pt!=="AN"?ft="N":Fe&&(pt="AN"),ft=pt===ut?pt:"N";break;case"ES":ft=(ut=0<xt?st[xt-1]:"B")==="EN"&&xt+1<er.length&&er[xt+1]==="EN"?"EN":"N";break;case"ET":if(0<xt&&st[xt-1]==="EN"){ft="EN";break}if(Fe){ft="N";break}for(It=xt+1,Tt=er.length;It<Tt&&er[It]==="ET";)It++;ft=It<Tt&&er[It]==="EN"?"EN":"N";break;case"NSM":if(ze&&!Ye){for(Tt=er.length,It=xt+1;It<Tt&&er[It]==="NSM";)It++;if(It<Tt){var Ht=dr[xt],Ft=1425<=Ht&&Ht<=2303||Ht===64286;if(ut=er[It],Ft&&(ut==="R"||ut==="AL")){ft="R";break}}}ft=xt<1||(ut=er[xt-1])==="B"?"N":st[xt-1];break;case"B":Re=!(Fe=!1),ft=$e;break;case"S":He=!0,ft="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Fe=!1;break;case"BN":ft="N"}return ft},Rt=function(dr,er,st){var xt=dr.split("");return st&&Kt(xt,st,{hiLevel:$e}),xt.reverse(),er&&er.reverse(),xt.join("")},Kt=function(dr,er,st){var xt,ut,pt,It,Tt,ft=-1,Ht=dr.length,Ft=0,ir=[],Xt=$e?pe:ae,mr=[];for(He=Re=Fe=!1,ut=0;ut<Ht;ut++)mr[ut]=vt(dr[ut]);for(pt=0;pt<Ht;pt++){if(Tt=Ft,ir[pt]=$t(dr,mr,ir,pt),xt=240&(Ft=Xt[Tt][J[ir[pt]]]),Ft&=15,er[pt]=It=Xt[Ft][5],0<xt)if(xt===16){for(ut=ft;ut<pt;ut++)er[ut]=1;ft=-1}else ft=-1;if(Xt[Ft][6])ft===-1&&(ft=pt);else if(-1<ft){for(ut=ft;ut<pt;ut++)er[ut]=It;ft=-1}mr[pt]==="B"&&(er[pt]=0),st.hiLevel|=It}He&&function(Ar,Nr,Fr){for(var tn=0;tn<Fr;tn++)if(Ar[tn]==="S"){Nr[tn]=$e;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=$e}}(mr,er,Ht)},Gt=function(dr,er,st,xt,ut){if(!(ut.hiLevel<dr)){if(dr===1&&$e===1&&!Re)return er.reverse(),void(st&&st.reverse());for(var pt,It,Tt,ft,Ht=er.length,Ft=0;Ft<Ht;){if(xt[Ft]>=dr){for(Tt=Ft+1;Tt<Ht&&xt[Tt]>=dr;)Tt++;for(ft=Ft,It=Tt-1;ft<It;ft++,It--)pt=er[ft],er[ft]=er[It],er[It]=pt,st&&(pt=st[ft],st[ft]=st[It],st[It]=pt);Ft=Tt}Ft++}}},Qt=function(dr,er,st){var xt=dr.split(""),ut={hiLevel:$e};return st||(st=[]),Kt(xt,st,ut),function(pt,It,Tt){if(Tt.hiLevel!==0&&bt)for(var ft,Ht=0;Ht<pt.length;Ht++)It[Ht]===1&&0<=(ft=xe.indexOf(pt[Ht]))&&(pt[Ht]=xe[ft+1])}(xt,st,ut),Gt(2,xt,er,st,ut),Gt(1,xt,er,st,ut),xt.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(xt,ut){if(ut)for(var pt=0;pt<xt.length;pt++)ut[pt]=pt;Ye===void 0&&(Ye=Wt(xt)),nt===void 0&&(nt=Wt(xt))}(Mt,dr),ze||!Pe||nt)if(ze&&Pe&&Ye^nt)$e=Ye?1:0,Mt=Rt(Mt,dr,er);else if(!ze&&Pe&&nt)$e=Ye?1:0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!ze||Ye||Pe||nt){if(ze&&!Pe&&Ye^nt)Mt=Rt(Mt,dr),Mt=Ye?($e=0,Qt(Mt,dr,er)):($e=1,Mt=Qt(Mt,dr,er),Rt(Mt,dr));else if(ze&&Ye&&!Pe&&nt)$e=1,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!ze&&!Pe&&Ye^nt){var st=bt;Ye?($e=1,Mt=Qt(Mt,dr,er),$e=0,bt=!1,Mt=Qt(Mt,dr,er),bt=st):($e=0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr),bt=!($e=1),Mt=Qt(Mt,dr,er),bt=st,Mt=Rt(Mt,dr))}}else $e=0,Mt=Qt(Mt,dr,er);else $e=Ye?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(ze=Mt.isInputVisual,Pe=Mt.isOutputVisual,Ye=Mt.isInputRtl,nt=Mt.isOutputRtl,bt=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(he),this.__bidiEngine__};var ve=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],me=new we.__bidiEngine__({isInputVisual:!0});we.API.events.push(["postProcessText",function(he){var Re=he.text,He=(he.x,he.y,he.options||{}),ze=(he.mutex,He.lang,[]);if(Object.prototype.toString.call(Re)==="[object Array]"){var Ye=0;for(ze=[],Ye=0;Ye<Re.length;Ye+=1)Object.prototype.toString.call(Re[Ye])==="[object Array]"?ze.push([me.doBidiReorder(Re[Ye][0]),Re[Ye][1],Re[Ye][2]]):ze.push([me.doBidiReorder(Re[Ye])]);he.text=ze}else he.text=me.doBidiReorder(Re)}])}(ht),window.tmp=yt,_t.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var we=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(we);for(var ve=0;ve<we;ve++){var me=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Re=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0);this.palette[ve]={red:Re,green:he,blue:me,quad:He}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_t.prototype.parseBGR=function(){this.pos=this.offset;try{var we="bit"+this.bitPP,ve=this.width*this.height*4;this.data=new Uint8Array(ve),this[we]()}catch(me){console.log("bit decode error:"+me)}},_t.prototype.bit1=function(){var we=Math.ceil(this.width/8),ve=we%4,me=0<=this.height?this.height-1:-this.height;for(me=this.height-1;0<=me;me--){for(var he=this.bottom_up?me:this.height-1-me,Re=0;Re<we;Re++)for(var He=this.datav.getUint8(this.pos++,!0),ze=he*this.width*4+8*Re*4,Ye=0;Ye<8&&8*Re+Ye<this.width;Ye++){var Pe=this.palette[He>>7-Ye&1];this.data[ze+4*Ye]=Pe.blue,this.data[ze+4*Ye+1]=Pe.green,this.data[ze+4*Ye+2]=Pe.red,this.data[ze+4*Ye+3]=255}ve!=0&&(this.pos+=4-ve)}},_t.prototype.bit4=function(){for(var we=Math.ceil(this.width/2),ve=we%4,me=this.height-1;0<=me;me--){for(var he=this.bottom_up?me:this.height-1-me,Re=0;Re<we;Re++){var He=this.datav.getUint8(this.pos++,!0),ze=he*this.width*4+2*Re*4,Ye=He>>4,Pe=15&He,nt=this.palette[Ye];if(this.data[ze]=nt.blue,this.data[ze+1]=nt.green,this.data[ze+2]=nt.red,this.data[ze+3]=255,2*Re+1>=this.width)break;nt=this.palette[Pe],this.data[ze+4]=nt.blue,this.data[ze+4+1]=nt.green,this.data[ze+4+2]=nt.red,this.data[ze+4+3]=255}ve!=0&&(this.pos+=4-ve)}},_t.prototype.bit8=function(){for(var we=this.width%4,ve=this.height-1;0<=ve;ve--){for(var me=this.bottom_up?ve:this.height-1-ve,he=0;he<this.width;he++){var Re=this.datav.getUint8(this.pos++,!0),He=me*this.width*4+4*he;if(Re<this.palette.length){var ze=this.palette[Re];this.data[He]=ze.red,this.data[He+1]=ze.green,this.data[He+2]=ze.blue,this.data[He+3]=255}else this.data[He]=255,this.data[He+1]=255,this.data[He+2]=255,this.data[He+3]=255}we!=0&&(this.pos+=4-we)}},_t.prototype.bit15=function(){for(var we=this.width%3,ve=parseInt("11111",2),me=this.height-1;0<=me;me--){for(var he=this.bottom_up?me:this.height-1-me,Re=0;Re<this.width;Re++){var He=this.datav.getUint16(this.pos,!0);this.pos+=2;var ze=(He&ve)/ve*255|0,Ye=(He>>5&ve)/ve*255|0,Pe=(He>>10&ve)/ve*255|0,nt=He>>15?255:0,bt=he*this.width*4+4*Re;this.data[bt]=Pe,this.data[bt+1]=Ye,this.data[bt+2]=ze,this.data[bt+3]=nt}this.pos+=we}},_t.prototype.bit16=function(){for(var we=this.width%3,ve=parseInt("11111",2),me=parseInt("111111",2),he=this.height-1;0<=he;he--){for(var Re=this.bottom_up?he:this.height-1-he,He=0;He<this.width;He++){var ze=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ye=(ze&ve)/ve*255|0,Pe=(ze>>5&me)/me*255|0,nt=(ze>>11)/ve*255|0,bt=Re*this.width*4+4*He;this.data[bt]=nt,this.data[bt+1]=Pe,this.data[bt+2]=Ye,this.data[bt+3]=255}this.pos+=we}},_t.prototype.bit24=function(){for(var we=this.height-1;0<=we;we--){for(var ve=this.bottom_up?we:this.height-1-we,me=0;me<this.width;me++){var he=this.datav.getUint8(this.pos++,!0),Re=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),ze=ve*this.width*4+4*me;this.data[ze]=He,this.data[ze+1]=Re,this.data[ze+2]=he,this.data[ze+3]=255}this.pos+=this.width%4}},_t.prototype.bit32=function(){for(var we=this.height-1;0<=we;we--)for(var ve=this.bottom_up?we:this.height-1-we,me=0;me<this.width;me++){var he=this.datav.getUint8(this.pos++,!0),Re=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),ze=this.datav.getUint8(this.pos++,!0),Ye=ve*this.width*4+4*me;this.data[Ye]=He,this.data[Ye+1]=Re,this.data[Ye+2]=he,this.data[Ye+3]=ze}},_t.prototype.getData=function(){return this.data},window.tmp=_t,function(we){var ve=15,me=573,he=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Re(){var pe=this;function J(ne,xe){for(var De=0;De|=1&ne,ne>>>=1,De<<=1,0<--xe;);return De>>>1}pe.build_tree=function(ne){var xe,De,Fe,$e=pe.dyn_tree,vt=pe.stat_desc.static_tree,Wt=pe.stat_desc.elems,$t=-1;for(ne.heap_len=0,ne.heap_max=me,xe=0;xe<Wt;xe++)$e[2*xe]!==0?(ne.heap[++ne.heap_len]=$t=xe,ne.depth[xe]=0):$e[2*xe+1]=0;for(;ne.heap_len<2;)$e[2*(Fe=ne.heap[++ne.heap_len]=$t<2?++$t:0)]=1,ne.depth[Fe]=0,ne.opt_len--,vt&&(ne.static_len-=vt[2*Fe+1]);for(pe.max_code=$t,xe=Math.floor(ne.heap_len/2);1<=xe;xe--)ne.pqdownheap($e,xe);for(Fe=Wt;xe=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],ne.pqdownheap($e,1),De=ne.heap[1],ne.heap[--ne.heap_max]=xe,ne.heap[--ne.heap_max]=De,$e[2*Fe]=$e[2*xe]+$e[2*De],ne.depth[Fe]=Math.max(ne.depth[xe],ne.depth[De])+1,$e[2*xe+1]=$e[2*De+1]=Fe,ne.heap[1]=Fe++,ne.pqdownheap($e,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],function(Rt){var Kt,Gt,Qt,Mt,dr,er,st=pe.dyn_tree,xt=pe.stat_desc.static_tree,ut=pe.stat_desc.extra_bits,pt=pe.stat_desc.extra_base,It=pe.stat_desc.max_length,Tt=0;for(Mt=0;Mt<=ve;Mt++)Rt.bl_count[Mt]=0;for(st[2*Rt.heap[Rt.heap_max]+1]=0,Kt=Rt.heap_max+1;Kt<me;Kt++)It<(Mt=st[2*st[2*(Gt=Rt.heap[Kt])+1]+1]+1)&&(Mt=It,Tt++),st[2*Gt+1]=Mt,Gt>pe.max_code||(Rt.bl_count[Mt]++,dr=0,pt<=Gt&&(dr=ut[Gt-pt]),er=st[2*Gt],Rt.opt_len+=er*(Mt+dr),xt&&(Rt.static_len+=er*(xt[2*Gt+1]+dr)));if(Tt!==0){do{for(Mt=It-1;Rt.bl_count[Mt]===0;)Mt--;Rt.bl_count[Mt]--,Rt.bl_count[Mt+1]+=2,Rt.bl_count[It]--,Tt-=2}while(0<Tt);for(Mt=It;Mt!==0;Mt--)for(Gt=Rt.bl_count[Mt];Gt!==0;)(Qt=Rt.heap[--Kt])>pe.max_code||(st[2*Qt+1]!=Mt&&(Rt.opt_len+=(Mt-st[2*Qt+1])*st[2*Qt],st[2*Qt+1]=Mt),Gt--)}}(ne),function(Rt,Kt,Gt){var Qt,Mt,dr,er=[],st=0;for(Qt=1;Qt<=ve;Qt++)er[Qt]=st=st+Gt[Qt-1]<<1;for(Mt=0;Mt<=Kt;Mt++)(dr=Rt[2*Mt+1])!==0&&(Rt[2*Mt]=J(er[dr]++,dr))}($e,pe.max_code,ne.bl_count)}}function He(pe,J,ne,xe,De){this.static_tree=pe,this.extra_bits=J,this.extra_base=ne,this.elems=xe,this.max_length=De}Re._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Re.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Re.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Re.d_code=function(pe){return pe<256?he[pe]:he[256+(pe>>>7)]},Re.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Re.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Re.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Re.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],He.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],He.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],He.static_l_desc=new He(He.static_ltree,Re.extra_lbits,257,286,ve),He.static_d_desc=new He(He.static_dtree,Re.extra_dbits,0,30,ve),He.static_bl_desc=new He(null,Re.extra_blbits,0,19,7);function ze(pe,J,ne,xe,De){this.good_length=pe,this.max_lazy=J,this.nice_length=ne,this.max_chain=xe,this.func=De}var Ye=[new ze(0,0,0,0,0),new ze(4,4,8,4,1),new ze(4,5,16,8,1),new ze(4,6,32,32,1),new ze(4,4,16,16,2),new ze(8,16,32,32,2),new ze(8,16,128,128,2),new ze(8,32,128,256,2),new ze(32,128,258,1024,2),new ze(32,258,258,4096,2)],Pe=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function nt(pe,J,ne,xe){var De=pe[2*J],Fe=pe[2*ne];return De<Fe||De==Fe&&xe[J]<=xe[ne]}function bt(){var pe,J,ne,xe,De,Fe,$e,vt,Wt,$t,Rt,Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr=this,Yr=new Re,un=new Re,Nn=new Re;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)Fr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=ur=0}function Tn(mn,On){var Ln,_n,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(On+1)+1]=65535,Ln=0;Ln<=On;Ln++)_n=ni,ni=mn[2*(Ln+1)+1],++di<Na&&_n==ni||(di<Qi?tn[2*_n]+=di:_n!==0?(_n!=jn&&tn[2*_n]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=_n,Qi=(di=0)===ni?(Na=138,3):_n==ni?(Na=6,3):(Na=7,4))}function gn(mn){xr.pending_buf[xr.pending++]=mn}function Pn(mn){gn(255&mn),gn(mn>>>8&255)}function zn(mn,On){var Ln,_n=On;16-_n<fr?(Pn(cr|=(Ln=mn)<<fr&65535),cr=Ln>>>16-fr,fr+=_n-16):(cr|=mn<<fr&65535,fr+=_n)}function qn(mn,On){var Ln=2*mn;zn(65535&On[Ln],65535&On[Ln+1])}function Yn(mn,On){var Ln,_n,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),Ln=0;Ln<=On;Ln++)if(_n=ni,ni=mn[2*(Ln+1)+1],!(++di<Na&&_n==ni)){if(di<Qi)for(;qn(_n,tn),--di!=0;);else _n!==0?(_n!=jn&&(qn(_n,tn),di--),qn(16,tn),zn(di-3,2)):di<=10?(qn(17,tn),zn(di-3,3)):(qn(18,tn),zn(di-11,7));jn=_n,Qi=(di=0)===ni?(Na=138,3):_n==ni?(Na=6,3):(Na=7,4)}}function Vn(){fr==16?(Pn(cr),fr=cr=0):8<=fr&&(gn(255&cr),cr>>>=8,fr-=8)}function An(mn,On){var Ln,_n,jn;if(xr.pending_buf[_r+2*Qr]=mn>>>8&255,xr.pending_buf[_r+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&On,Qr++,mn===0?Nr[2*On]++:(ur++,mn--,Nr[2*(Re._length_code[On]+256+1)]++,Fr[2*Re.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(Ln=8*Qr,_n=pt-er,jn=0;jn<30;jn++)Ln+=Fr[2*jn]*(5+Re.extra_dbits[jn]);if(Ln>>>=3,ur<Math.floor(Qr/2)&&Ln<Math.floor(_n/2))return!0}return Qr==Lr-1}function on(mn,On){var Ln,_n,jn,ni,di=0;if(Qr!==0)for(;Ln=xr.pending_buf[_r+2*di]<<8&65280|255&xr.pending_buf[_r+2*di+1],_n=255&xr.pending_buf[qr+di],di++,Ln===0?qn(_n,mn):(qn((jn=Re._length_code[_n])+256+1,mn),(ni=Re.extra_lbits[jn])!==0&&zn(_n-=Re.base_length[jn],ni),qn(jn=Re.d_code(--Ln),On),(ni=Re.extra_dbits[jn])!==0&&zn(Ln-=Re.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Pn(cr):0<fr&&gn(255&cr),fr=cr=0}function xa(mn,On,Ln){var _n,jn,ni;zn(0+(Ln?1:0),3),_n=mn,jn=On,ni=!0,ia(),pr=8,ni&&(Pn(jn),Pn(~jn)),xr.pending_buf.set(vt.subarray(_n,_n+jn),xr.pending),xr.pending+=jn}function ta(mn,On,Ln){var _n,jn,ni=0;0<ir?(Yr.build_tree(xr),un.build_tree(xr),ni=function(){var di;for(Tn(Nr,Yr.max_code),Tn(Fr,un.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*Re.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),_n=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=_n&&(_n=jn)):_n=jn=On+5,On+4<=_n&&mn!=-1?xa(mn,On,Ln):jn==_n?(zn(2+(Ln?1:0),3),on(He.static_ltree,He.static_dtree)):(zn(4+(Ln?1:0),3),function(di,Na,Qi){var ma;for(zn(di-257,5),zn(Na-1,5),zn(Qi-4,4),ma=0;ma<Qi;ma++)zn(tn[2*Re.bl_order[ma]+1],3);Yn(Nr,di-1),Yn(Fr,Na-1)}(Yr.max_code+1,un.max_code+1,ni+1),on(Nr,Fr)),jr(),Ln&&ia()}function _i(mn){ta(0<=er?er:-1,pt-er,mn),er=pt,pe.flush_pending()}function Ci(){var mn,On,Ln,_n;do{if((_n=Wt-Tt-pt)===0&&pt===0&&Tt===0)_n=De;else if(_n==-1)_n--;else if(De+De-262<=pt){for(vt.set(vt.subarray(De,De+De),0),It-=De,pt-=De,er-=De,Ln=mn=Gt;On=65535&Rt[--Ln],Rt[Ln]=De<=On?On-De:0,--mn!=0;);for(Ln=mn=De;On=65535&$t[--Ln],$t[Ln]=De<=On?On-De:0,--mn!=0;);_n+=De}if(pe.avail_in===0)return;mn=pe.read_buf(vt,pt+Tt,_n),3<=(Tt+=mn)&&(Kt=((Kt=255&vt[pt])<<dr^255&vt[pt+1])&Mt)}while(Tt<262&&pe.avail_in!==0)}function Gn(mn){var On,Ln,_n=Ht,jn=pt,ni=ft,di=De-262<pt?pt-(De-262):0,Na=Ar,Qi=$e,ma=pt+258,Ba=vt[jn+ni-1],Qa=vt[jn+ni];mr<=ft&&(_n>>=2),Tt<Na&&(Na=Tt);do if(vt[(On=mn)+ni]==Qa&&vt[On+ni-1]==Ba&&vt[On]==vt[jn]&&vt[++On]==vt[jn+1]){jn+=2,On++;do;while(vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&vt[++jn]==vt[++On]&&jn<ma);if(Ln=258-(ma-jn),jn=ma-258,ni<Ln){if(It=mn,Na<=(ni=Ln))break;Ba=vt[jn+ni-1],Qa=vt[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--_n!=0);return ni<=Tt?ni:Tt}function Oa(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,J=113,xe=0,Yr.dyn_tree=Nr,Yr.stat_desc=He.static_l_desc,un.dyn_tree=Fr,un.stat_desc=He.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=He.static_bl_desc,fr=cr=0,pr=8,jr(),function(){var On;for(Wt=2*De,On=Rt[Gt-1]=0;On<Gt-1;On++)Rt[On]=0;Ft=Ye[ir].max_lazy,mr=Ye[ir].good_length,Ar=Ye[ir].nice_length,Ht=Ye[ir].max_chain,st=ft=2,Kt=ut=Tt=er=pt=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],Fr=[],tn=[],xr.pqdownheap=function(mn,On){for(var Ln=xr.heap,_n=Ln[On],jn=On<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&nt(mn,Ln[jn+1],Ln[jn],xr.depth)&&jn++,!nt(mn,_n,Ln[jn],xr.depth));)Ln[On]=Ln[jn],On=jn,jn<<=1;Ln[On]=_n},xr.deflateInit=function(mn,On,Ln,_n,jn,ni){return _n||(_n=8),jn||(jn=8),ni||(ni=0),mn.msg=null,On==-1&&(On=6),jn<1||9<jn||_n!=8||Ln<9||15<Ln||On<0||9<On||ni<0||2<ni?-2:(mn.dstate=xr,$e=(De=1<<(Fe=Ln))-1,Mt=(Gt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),vt=new Uint8Array(2*De),$t=[],Rt=[],Lr=1<<jn+6,xr.pending_buf=new Uint8Array(4*Lr),ne=4*Lr,_r=Math.floor(Lr/2),qr=3*Lr,ir=On,Xt=ni,Oa(mn))},xr.deflateEnd=function(){return J!=42&&J!=113&&J!=666?-2:(xr.pending_buf=null,vt=$t=Rt=null,xr.dstate=null,J==113?-3:0)},xr.deflateParams=function(mn,On,Ln){var _n=0;return On==-1&&(On=6),On<0||9<On||Ln<0||2<Ln?-2:(Ye[ir].func!=Ye[On].func&&mn.total_in!==0&&(_n=mn.deflate(1)),ir!=On&&(Ft=Ye[ir=On].max_lazy,mr=Ye[ir].good_length,Ar=Ye[ir].nice_length,Ht=Ye[ir].max_chain),Xt=Ln,_n)},xr.deflateSetDictionary=function(mn,On,Ln){var _n,jn=Ln,ni=0;if(!On||J!=42)return-2;if(jn<3)return 0;for(De-262<jn&&(ni=Ln-(jn=De-262)),vt.set(On.subarray(ni,ni+jn),0),er=pt=jn,Kt=((Kt=255&vt[0])<<dr^255&vt[1])&Mt,_n=0;_n<=jn-3;_n++)Kt=(Kt<<dr^255&vt[_n+2])&Mt,$t[_n&$e]=Rt[Kt],Rt[Kt]=_n;return 0},xr.deflate=function(mn,On){var Ln,_n,jn,ni,di,Na;if(4<On||On<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||J==666&&On!=4)return mn.msg=Pe[4],-2;if(mn.avail_out===0)return mn.msg=Pe[7],-5;if(pe=mn,ni=xe,xe=On,J==42&&(_n=8+(Fe-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),_n|=jn<<6,pt!==0&&(_n|=32),J=113,gn((Na=_n+=31-_n%31)>>8&255),gn(255&Na)),xr.pending!==0){if(pe.flush_pending(),pe.avail_out===0)return xe=-1,0}else if(pe.avail_in===0&&On<=ni&&On!=4)return pe.msg=Pe[7],-5;if(J==666&&pe.avail_in!==0)return mn.msg=Pe[7],-5;if(pe.avail_in!==0||Tt!==0||On!=0&&J!=666){switch(di=-1,Ye[ir].func){case 0:di=function(Qi){var ma,Ba=65535;for(ne-5<Ba&&(Ba=ne-5);;){if(Tt<=1){if(Ci(),Tt===0&&Qi==0)return 0;if(Tt===0)break}if(pt+=Tt,ma=er+Ba,((Tt=0)===pt||ma<=pt)&&(Tt=pt-ma,pt=ma,_i(!1),pe.avail_out===0))return 0;if(De-262<=pt-er&&(_i(!1),pe.avail_out===0))return 0}return _i(Qi==4),pe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 1:di=function(Qi){for(var ma,Ba=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&vt[pt+2])&Mt,Ba=65535&Rt[Kt],$t[pt&$e]=Rt[Kt],Rt[Kt]=pt),Ba!==0&&(pt-Ba&65535)<=De-262&&Xt!=2&&(st=Gn(Ba)),3<=st)if(ma=An(pt-It,st-3),Tt-=st,st<=Ft&&3<=Tt){for(st--;Kt=(Kt<<dr^255&vt[++pt+2])&Mt,Ba=65535&Rt[Kt],$t[pt&$e]=Rt[Kt],Rt[Kt]=pt,--st!=0;);pt++}else pt+=st,st=0,Kt=((Kt=255&vt[pt])<<dr^255&vt[pt+1])&Mt;else ma=An(0,255&vt[pt]),Tt--,pt++;if(ma&&(_i(!1),pe.avail_out===0))return 0}return _i(Qi==4),pe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 2:di=function(Qi){for(var ma,Ba,Qa=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&vt[pt+2])&Mt,Qa=65535&Rt[Kt],$t[pt&$e]=Rt[Kt],Rt[Kt]=pt),ft=st,xt=It,st=2,Qa!==0&&ft<Ft&&(pt-Qa&65535)<=De-262&&(Xt!=2&&(st=Gn(Qa)),st<=5&&(Xt==1||st==3&&4096<pt-It)&&(st=2)),3<=ft&&st<=ft){for(Ba=pt+Tt-3,ma=An(pt-1-xt,ft-3),Tt-=ft-1,ft-=2;++pt<=Ba&&(Kt=(Kt<<dr^255&vt[pt+2])&Mt,Qa=65535&Rt[Kt],$t[pt&$e]=Rt[Kt],Rt[Kt]=pt),--ft!=0;);if(ut=0,st=2,pt++,ma&&(_i(!1),pe.avail_out===0))return 0}else if(ut!==0){if((ma=An(0,255&vt[pt-1]))&&_i(!1),pt++,Tt--,pe.avail_out===0)return 0}else ut=1,pt++,Tt--}return ut!==0&&(ma=An(0,255&vt[pt-1]),ut=0),_i(Qi==4),pe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On)}if(di!=2&&di!=3||(J=666),di==0||di==2)return pe.avail_out===0&&(xe=-1),0;if(di==1){if(On==1)zn(2,3),qn(256,He.static_ltree),Vn(),1+pr+10-fr<9&&(zn(2,3),qn(256,He.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),On==3)for(Ln=0;Ln<Gt;Ln++)Rt[Ln]=0;if(pe.flush_pending(),pe.avail_out===0)return xe=-1,0}}return On!=4?0:1}}function Ot(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}Ot.prototype={deflateInit:function(J,ne){return this.dstate=new bt,ne||(ne=ve),this.dstate.deflateInit(this,J,ne)},deflate:function(J){return this.dstate?this.dstate.deflate(this,J):-2},deflateEnd:function(){if(!this.dstate)return-2;var J=this.dstate.deflateEnd();return this.dstate=null,J},deflateParams:function(J,ne){return this.dstate?this.dstate.deflateParams(this,J,ne):-2},deflateSetDictionary:function(J,ne){return this.dstate?this.dstate.deflateSetDictionary(this,J,ne):-2},read_buf:function(J,ne,xe){var De=this.avail_in;return xe<De&&(De=xe),De===0?0:(this.avail_in-=De,J.set(this.next_in.subarray(this.next_in_index,this.next_in_index+De),ne),this.next_in_index+=De,this.total_in+=De,De)},flush_pending:function(){var J=this,ne=J.dstate.pending;ne>J.avail_out&&(ne=J.avail_out),ne!==0&&(J.next_out.set(J.dstate.pending_buf.subarray(J.dstate.pending_out,J.dstate.pending_out+ne),J.next_out_index),J.next_out_index+=ne,J.dstate.pending_out+=ne,J.total_out+=ne,J.avail_out-=ne,J.dstate.pending-=ne,J.dstate.pending===0&&(J.dstate.pending_out=0))}};var ae=we.zip||we;ae.Deflater=ae._jzlib_Deflater=function(pe){var J=new Ot,ne=new Uint8Array(512),xe=pe?pe.level:-1;xe===void 0&&(xe=-1),J.deflateInit(xe),J.next_out=ne,this.append=function(De,Fe){var $e,vt=[],Wt=0,$t=0,Rt=0;if(De.length){J.next_in_index=0,J.next_in=De,J.avail_in=De.length;do{if(J.next_out_index=0,J.avail_out=512,J.deflate(0)!=0)throw new Error("deflating: "+J.msg);J.next_out_index&&(J.next_out_index==512?vt.push(new Uint8Array(ne)):vt.push(new Uint8Array(ne.subarray(0,J.next_out_index)))),Rt+=J.next_out_index,Fe&&0<J.next_in_index&&J.next_in_index!=Wt&&(Fe(J.next_in_index),Wt=J.next_in_index)}while(0<J.avail_in||J.avail_out===0);return $e=new Uint8Array(Rt),vt.forEach(function(Kt){$e.set(Kt,$t),$t+=Kt.length}),$e}},this.flush=function(){var De,Fe,$e=[],vt=0,Wt=0;do{if(J.next_out_index=0,J.avail_out=512,(De=J.deflate(4))!=1&&De!=0)throw new Error("deflating: "+J.msg);0<512-J.avail_out&&$e.push(new Uint8Array(ne.subarray(0,J.next_out_index))),Wt+=J.next_out_index}while(0<J.avail_in||J.avail_out===0);return J.deflateEnd(),Fe=new Uint8Array(Wt),$e.forEach(function($t){Fe.set($t,vt),vt+=$t.length}),Fe}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(we){var ve;we=we||"",this.ok=!1,we.charAt(0)=="#"&&(we=we.substr(1,6)),we=(we=we.replace(/ /g,"")).toLowerCase();var me={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var he in me)we==he&&(we=me[he]);for(var Re=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(bt){return[parseInt(bt[1]),parseInt(bt[2]),parseInt(bt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(bt){return[parseInt(bt[1],16),parseInt(bt[2],16),parseInt(bt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(bt){return[parseInt(bt[1]+bt[1],16),parseInt(bt[2]+bt[2],16),parseInt(bt[3]+bt[3],16)]}}],He=0;He<Re.length;He++){var ze=Re[He].re,Ye=Re[He].process,Pe=ze.exec(we);Pe&&(ve=Ye(Pe),this.r=ve[0],this.g=ve[1],this.b=ve[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var nt=this.r.toString(16),bt=this.g.toString(16),Ot=this.b.toString(16);return nt.length==1&&(nt="0"+nt),bt.length==1&&(bt="0"+bt),Ot.length==1&&(Ot="0"+Ot),"#"+nt+bt+Ot}},function(we){var ve="+".charCodeAt(0),me="/".charCodeAt(0),he="0".charCodeAt(0),Re="a".charCodeAt(0),He="A".charCodeAt(0),ze="-".charCodeAt(0),Ye="_".charCodeAt(0),Pe=function(xt){var ut=xt.charCodeAt(0);return ut===ve||ut===ze?62:ut===me||ut===Ye?63:ut<he?-1:ut<he+10?ut-he+26+26:ut<He+26?ut-He:ut<Re+26?ut-Re+26:void 0};we.API.TTFFont=function(){function st(xt,ut,pt){var It;if(this.rawData=xt,It=this.contents=new bt(xt),this.contents.pos=4,It.readString(4)==="ttcf")throw ut?new Error("Font "+ut+" not found in TTC file."):new Error("Must specify a font name for TTC files.");It.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return st.open=function(xt,ut,pt,It){if(typeof pt!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new st(function(Tt){var ft,Ht,Ft,ir,Xt,mr;if(0<Tt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=Tt.length;Xt=Tt.charAt(Ar-2)==="="?2:Tt.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*Tt.length/4-Xt),Ft=0<Xt?Tt.length-4:Tt.length;var Nr=0;function Fr(tn){mr[Nr++]=tn}for(Ht=ft=0;ft<Ft;ft+=4,Ht+=3)Fr((16711680&(ir=Pe(Tt.charAt(ft))<<18|Pe(Tt.charAt(ft+1))<<12|Pe(Tt.charAt(ft+2))<<6|Pe(Tt.charAt(ft+3))))>>16),Fr((65280&ir)>>8),Fr(255&ir);return Xt===2?Fr(255&(ir=Pe(Tt.charAt(ft))<<2|Pe(Tt.charAt(ft+1))>>4)):Xt===1&&(Fr((ir=Pe(Tt.charAt(ft))<<10|Pe(Tt.charAt(ft+1))<<4|Pe(Tt.charAt(ft+2))>>2)>>8&255),Fr(255&ir)),mr}(pt),ut,It)},st.prototype.parse=function(){return this.directory=new Ot(this.contents),this.head=new J(this),this.name=new Wt(this),this.cmap=new xe(this),this.toUnicode=new Map,this.hhea=new De(this),this.maxp=new $t(this),this.hmtx=new Rt(this),this.post=new $e(this),this.os2=new Fe(this),this.loca=new dr(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},st.prototype.registerTTF=function(){var xt,ut,pt,It,Tt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ft,Ht,Ft,ir;for(ir=[],ft=0,Ht=(Ft=this.bbox).length;ft<Ht;ft++)xt=Ft[ft],ir.push(Math.round(xt*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(pt=255&(It=this.post.italic_angle),!0&(ut=It>>16)&&(ut=-(1+(65535^ut))),this.italicAngle=+(ut+"."+pt)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(Tt=this.familyClass)===1||Tt===2||Tt===3||Tt===4||Tt===5||Tt===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},st.prototype.characterToGlyph=function(xt){var ut;return((ut=this.cmap.unicode)!=null?ut.codeMap[xt]:void 0)||0},st.prototype.widthOfGlyph=function(xt){var ut;return ut=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(xt).advance*ut},st.prototype.widthOfString=function(xt,ut,pt){var It,Tt,ft,Ht,Ft;for(Tt=Ht=ft=0,Ft=(xt=""+xt).length;0<=Ft?Ht<Ft:Ft<Ht;Tt=0<=Ft?++Ht:--Ht)It=xt.charCodeAt(Tt),ft+=this.widthOfGlyph(this.characterToGlyph(It))+pt*(1e3/ut)||0;return ft*(ut/1e3)},st.prototype.lineHeight=function(xt,ut){var pt;return ut==null&&(ut=!1),pt=ut?this.lineGap:0,(this.ascender+pt-this.decender)/1e3*xt},st}();var nt,bt=function(){function st(xt){this.data=xt!=null?xt:[],this.pos=0,this.length=this.data.length}return st.prototype.readByte=function(){return this.data[this.pos++]},st.prototype.writeByte=function(xt){return this.data[this.pos++]=xt},st.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},st.prototype.writeUInt32=function(xt){return this.writeByte(xt>>>24&255),this.writeByte(xt>>16&255),this.writeByte(xt>>8&255),this.writeByte(255&xt)},st.prototype.readInt32=function(){var xt;return 2147483648<=(xt=this.readUInt32())?xt-4294967296:xt},st.prototype.writeInt32=function(xt){return xt<0&&(xt+=4294967296),this.writeUInt32(xt)},st.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},st.prototype.writeUInt16=function(xt){return this.writeByte(xt>>8&255),this.writeByte(255&xt)},st.prototype.readInt16=function(){var xt;return 32768<=(xt=this.readUInt16())?xt-65536:xt},st.prototype.writeInt16=function(xt){return xt<0&&(xt+=65536),this.writeUInt16(xt)},st.prototype.readString=function(xt){var ut,pt,It;for(pt=[],ut=It=0;0<=xt?It<xt:xt<It;ut=0<=xt?++It:--It)pt[ut]=String.fromCharCode(this.readByte());return pt.join("")},st.prototype.writeString=function(xt){var ut,pt,It,Tt;for(Tt=[],ut=pt=0,It=xt.length;0<=It?pt<It:It<pt;ut=0<=It?++pt:--pt)Tt.push(this.writeByte(xt.charCodeAt(ut)));return Tt},st.prototype.readShort=function(){return this.readInt16()},st.prototype.writeShort=function(xt){return this.writeInt16(xt)},st.prototype.readLongLong=function(){var xt,ut,pt,It,Tt,ft,Ht,Ft;return xt=this.readByte(),ut=this.readByte(),pt=this.readByte(),It=this.readByte(),Tt=this.readByte(),ft=this.readByte(),Ht=this.readByte(),Ft=this.readByte(),128&xt?-1*(72057594037927940*(255^xt)+281474976710656*(255^ut)+1099511627776*(255^pt)+4294967296*(255^It)+16777216*(255^Tt)+65536*(255^ft)+256*(255^Ht)+(255^Ft)+1):72057594037927940*xt+281474976710656*ut+1099511627776*pt+4294967296*It+16777216*Tt+65536*ft+256*Ht+Ft},st.prototype.writeLongLong=function(xt){var ut,pt;return ut=Math.floor(xt/4294967296),pt=4294967295&xt,this.writeByte(ut>>24&255),this.writeByte(ut>>16&255),this.writeByte(ut>>8&255),this.writeByte(255&ut),this.writeByte(pt>>24&255),this.writeByte(pt>>16&255),this.writeByte(pt>>8&255),this.writeByte(255&pt)},st.prototype.readInt=function(){return this.readInt32()},st.prototype.writeInt=function(xt){return this.writeInt32(xt)},st.prototype.read=function(xt){var ut,pt;for(ut=[],pt=0;0<=xt?pt<xt:xt<pt;0<=xt?++pt:--pt)ut.push(this.readByte());return ut},st.prototype.write=function(xt){var ut,pt,It,Tt;for(Tt=[],pt=0,It=xt.length;pt<It;pt++)ut=xt[pt],Tt.push(this.writeByte(ut));return Tt},st}(),Ot=function(){var st;function xt(ut){var pt,It,Tt;for(this.scalarType=ut.readInt(),this.tableCount=ut.readShort(),this.searchRange=ut.readShort(),this.entrySelector=ut.readShort(),this.rangeShift=ut.readShort(),this.tables={},It=0,Tt=this.tableCount;0<=Tt?It<Tt:Tt<It;0<=Tt?++It:--It)pt={tag:ut.readString(4),checksum:ut.readInt(),offset:ut.readInt(),length:ut.readInt()},this.tables[pt.tag]=pt}return xt.prototype.encode=function(ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn;for(tn in Nr=Object.keys(ut).length,Ft=Math.log(2),mr=16*Math.floor(Math.log(Nr)/Ft),ft=Math.floor(mr/Ft),Xt=16*Nr-mr,(It=new bt).writeInt(this.scalarType),It.writeShort(Nr),It.writeShort(mr),It.writeShort(ft),It.writeShort(Xt),Tt=16*Nr,ir=It.pos+Tt,Ht=null,Fr=[],ut)for(Ar=ut[tn],It.writeString(tn),It.writeInt(st(Ar)),It.writeInt(ir),It.writeInt(Ar.length),Fr=Fr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)Fr.push(0),ir++;return It.write(Fr),pt=2981146554-st(It.data),It.pos=Ht+8,It.writeUInt32(pt),It.data},st=function(pt){var It,Tt,ft,Ht;for(pt=Kt.call(pt);pt.length%4;)pt.push(0);for(Tt=new bt(pt),ft=It=0,Ht=pt.length;ft<Ht;ft+=4)It+=Tt.readUInt32();return 4294967295&It},xt}(),ae={}.hasOwnProperty,pe=function(xt,ut){for(var pt in ut)ae.call(ut,pt)&&(xt[pt]=ut[pt]);function It(){this.constructor=xt}return It.prototype=ut.prototype,xt.prototype=new It,xt.__super__=ut.prototype,xt};nt=function(){function st(xt){var ut;this.file=xt,ut=this.file.directory.tables[this.tag],this.exists=!!ut,ut&&(this.offset=ut.offset,this.length=ut.length,this.parse(this.file.contents))}return st.prototype.parse=function(){},st.prototype.encode=function(){},st.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},st}();var J=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="head",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.revision=ut.readInt(),this.checkSumAdjustment=ut.readInt(),this.magicNumber=ut.readInt(),this.flags=ut.readShort(),this.unitsPerEm=ut.readShort(),this.created=ut.readLongLong(),this.modified=ut.readLongLong(),this.xMin=ut.readShort(),this.yMin=ut.readShort(),this.xMax=ut.readShort(),this.yMax=ut.readShort(),this.macStyle=ut.readShort(),this.lowestRecPPEM=ut.readShort(),this.fontDirectionHint=ut.readShort(),this.indexToLocFormat=ut.readShort(),this.glyphDataFormat=ut.readShort()},xt.prototype.encode=function(ut){var pt;return(pt=new bt).writeInt(this.version),pt.writeInt(this.revision),pt.writeInt(this.checkSumAdjustment),pt.writeInt(this.magicNumber),pt.writeShort(this.flags),pt.writeShort(this.unitsPerEm),pt.writeLongLong(this.created),pt.writeLongLong(this.modified),pt.writeShort(this.xMin),pt.writeShort(this.yMin),pt.writeShort(this.xMax),pt.writeShort(this.yMax),pt.writeShort(this.macStyle),pt.writeShort(this.lowestRecPPEM),pt.writeShort(this.fontDirectionHint),pt.writeShort(ut),pt.writeShort(this.glyphDataFormat),pt.data},xt}(),ne=function(){function st(xt,ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur;switch(this.platformID=xt.readUInt16(),this.encodingID=xt.readShort(),this.offset=ut+xt.readInt(),mr=xt.pos,xt.pos=this.offset,this.format=xt.readUInt16(),this.length=xt.readUInt16(),this.language=xt.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(Ft=Lr=0;Lr<256;Ft=++Lr)this.codeMap[Ft]=xt.readByte();break;case 4:for(Nr=xt.readUInt16(),Ar=Nr/2,xt.pos+=6,Tt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),xt.pos+=2,tn=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),ir=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Xt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),It=(this.length-xt.pos+this.offset)/2,Ht=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=It?pr<It:It<pr;Ft=0<=It?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Ft=Qr=0,ur=Tt.length;Qr<ur;Ft=++Qr)for(qr=Tt[Ft],pt=_r=Fr=tn[Ft];Fr<=qr?_r<=qr:qr<=_r;pt=Fr<=qr?++_r:--_r)Xt[Ft]===0?ft=pt+ir[Ft]:(ft=Ht[Xt[Ft]/2+(pt-Fr)-(Ar-Ft)]||0)!==0&&(ft+=ir[Ft]),this.codeMap[pt]=65535&ft}xt.pos=mr}return st.encode=function(xt,ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr,Yr,un,Nn,jr,Tn,gn,Pn,zn,qn,Yn,Vn,An,on,ia,xa,ta,_i,Ci,Gn,Oa,mn,On,Ln,_n;switch(gn=new bt,ft=Object.keys(xt).sort(function(jn,ni){return jn-ni}),ut){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],Fr=jn=0;jn<256;Fr=++jn)ni.push(0);return ni}(),Qr={0:0},Tt={},Pn=0,Vn=ft.length;Pn<Vn;Pn++)Qr[mn=xt[It=ft[Pn]]]==null&&(Qr[mn]=++tn),Tt[It]={old:xt[It],new:Qr[xt[It]]},qr[It]=Qr[xt[It]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:Tt,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},pt={},Lr=ir=null,zn=_r=0,An=ft.length;zn<An;zn++)Qr[pr=xt[It=ft[zn]]]==null&&(Qr[pr]=++_r),pt[It]={old:pr,new:Qr[pr]},Ht=Qr[pr]-It,Lr!=null&&Ht===ir||(Lr&&mr.push(Lr),jr.push(It),ir=Ht),Lr=It;for(Lr&&mr.push(Lr),mr.push(65535),jr.push(65535),un=2*(Yr=jr.length),xr=2*Math.pow(Math.log(Yr)/Math.LN2,2),Ar=Math.log(xr/2)/Math.LN2,fr=2*Yr-xr,Ft=[],cr=[],Nr=[],Fr=qn=0,on=jr.length;qn<on;Fr=++qn){if(Nn=jr[Fr],Xt=mr[Fr],Nn===65535){Ft.push(0),cr.push(0);break}if(32768<=Nn-(Tn=pt[Nn].new))for(Ft.push(0),cr.push(2*(Nr.length+Yr-Fr)),It=Yn=Nn;Nn<=Xt?Yn<=Xt:Xt<=Yn;It=Nn<=Xt?++Yn:--Yn)Nr.push(pt[It].new);else Ft.push(Tn-Nn),cr.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Yr+2*Nr.length),gn.writeUInt16(0),gn.writeUInt16(un),gn.writeUInt16(xr),gn.writeUInt16(Ar),gn.writeUInt16(fr),Gn=0,ia=mr.length;Gn<ia;Gn++)It=mr[Gn],gn.writeUInt16(It);for(gn.writeUInt16(0),Oa=0,xa=jr.length;Oa<xa;Oa++)It=jr[Oa],gn.writeUInt16(It);for(On=0,ta=Ft.length;On<ta;On++)Ht=Ft[On],gn.writeUInt16(Ht);for(Ln=0,_i=cr.length;Ln<_i;Ln++)ur=cr[Ln],gn.writeUInt16(ur);for(_n=0,Ci=Nr.length;_n<Ci;_n++)tn=Nr[_n],gn.writeUInt16(tn);return{charMap:pt,subtable:gn.data,maxGlyphID:_r+1}}},st}(),xe=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="cmap",xt.prototype.parse=function(ut){var pt,It,Tt;for(ut.pos=this.offset,this.version=ut.readUInt16(),It=ut.readUInt16(),this.tables=[],this.unicode=null,Tt=0;0<=It?Tt<It:It<Tt;0<=It?++Tt:--Tt)pt=new ne(ut,this.offset),this.tables.push(pt),pt.isUnicode&&this.unicode==null&&(this.unicode=pt);return!0},xt.encode=function(ut,pt){var It,Tt;return pt==null&&(pt="macroman"),It=ne.encode(ut,pt),(Tt=new bt).writeUInt16(0),Tt.writeUInt16(1),It.table=Tt.data.concat(It.subtable),It},xt}(),De=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="hhea",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.ascender=ut.readShort(),this.decender=ut.readShort(),this.lineGap=ut.readShort(),this.advanceWidthMax=ut.readShort(),this.minLeftSideBearing=ut.readShort(),this.minRightSideBearing=ut.readShort(),this.xMaxExtent=ut.readShort(),this.caretSlopeRise=ut.readShort(),this.caretSlopeRun=ut.readShort(),this.caretOffset=ut.readShort(),ut.pos+=8,this.metricDataFormat=ut.readShort(),this.numberOfMetrics=ut.readUInt16()},xt}(),Fe=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="OS/2",xt.prototype.parse=function(ut){if(ut.pos=this.offset,this.version=ut.readUInt16(),this.averageCharWidth=ut.readShort(),this.weightClass=ut.readUInt16(),this.widthClass=ut.readUInt16(),this.type=ut.readShort(),this.ySubscriptXSize=ut.readShort(),this.ySubscriptYSize=ut.readShort(),this.ySubscriptXOffset=ut.readShort(),this.ySubscriptYOffset=ut.readShort(),this.ySuperscriptXSize=ut.readShort(),this.ySuperscriptYSize=ut.readShort(),this.ySuperscriptXOffset=ut.readShort(),this.ySuperscriptYOffset=ut.readShort(),this.yStrikeoutSize=ut.readShort(),this.yStrikeoutPosition=ut.readShort(),this.familyClass=ut.readShort(),this.panose=function(){var pt,It;for(It=[],pt=0;pt<10;++pt)It.push(ut.readByte());return It}(),this.charRange=function(){var pt,It;for(It=[],pt=0;pt<4;++pt)It.push(ut.readInt());return It}(),this.vendorID=ut.readString(4),this.selection=ut.readShort(),this.firstCharIndex=ut.readShort(),this.lastCharIndex=ut.readShort(),0<this.version&&(this.ascent=ut.readShort(),this.descent=ut.readShort(),this.lineGap=ut.readShort(),this.winAscent=ut.readShort(),this.winDescent=ut.readShort(),this.codePageRange=function(){var pt,It;for(It=[],pt=0;pt<2;++pt)It.push(ut.readInt());return It}(),1<this.version))return this.xHeight=ut.readShort(),this.capHeight=ut.readShort(),this.defaultChar=ut.readShort(),this.breakChar=ut.readShort(),this.maxContext=ut.readShort()},xt}(),$e=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="post",xt.prototype.parse=function(ut){var pt,It,Tt,ft;switch(ut.pos=this.offset,this.format=ut.readInt(),this.italicAngle=ut.readInt(),this.underlinePosition=ut.readShort(),this.underlineThickness=ut.readShort(),this.isFixedPitch=ut.readInt(),this.minMemType42=ut.readInt(),this.maxMemType42=ut.readInt(),this.minMemType1=ut.readInt(),this.maxMemType1=ut.readInt(),this.format){case 65536:break;case 131072:for(It=ut.readUInt16(),this.glyphNameIndex=[],Tt=0;0<=It?Tt<It:It<Tt;0<=It?++Tt:--Tt)this.glyphNameIndex.push(ut.readUInt16());for(this.names=[],ft=[];ut.pos<this.offset+this.length;)pt=ut.readByte(),ft.push(this.names.push(ut.readString(pt)));return ft;case 151552:return It=ut.readUInt16(),this.offsets=ut.read(It);case 196608:break;case 262144:return this.map=function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=this.file.maxp.numGlyphs;0<=Ft?Ht<Ft:Ft<Ht;0<=Ft?++Ht:--Ht)ir.push(ut.readUInt32());return ir}.call(this)}},xt}(),vt=function(xt,ut){this.raw=xt,this.length=xt.length,this.platformID=ut.platformID,this.encodingID=ut.encodingID,this.languageID=ut.languageID},Wt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="name",xt.prototype.parse=function(ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr;for(ut.pos=this.offset,ut.readShort(),pt=ut.readShort(),Ft=ut.readShort(),It=[],ft=mr=0;0<=pt?mr<pt:pt<mr;ft=0<=pt?++mr:--mr)It.push({platformID:ut.readShort(),encodingID:ut.readShort(),languageID:ut.readShort(),nameID:ut.readShort(),length:ut.readShort(),offset:this.offset+Ft+ut.readShort()});for(ir={},ft=Ar=0,Nr=It.length;Ar<Nr;ft=++Ar)Tt=It[ft],ut.pos=Tt.offset,Xt=ut.readString(Tt.length),Ht=new vt(Xt,Tt),ir[Fr=Tt.nameID]==null&&(ir[Fr]=[]),ir[Tt.nameID].push(Ht);this.strings=ir,this.copyright=ir[0],this.fontFamily=ir[1],this.fontSubfamily=ir[2],this.uniqueSubfamily=ir[3],this.fontName=ir[4],this.version=ir[5];try{this.postscriptName=ir[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=ir[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ir[7],this.manufacturer=ir[8],this.designer=ir[9],this.description=ir[10],this.vendorUrl=ir[11],this.designerUrl=ir[12],this.license=ir[13],this.licenseUrl=ir[14],this.preferredFamily=ir[15],this.preferredSubfamily=ir[17],this.compatibleFull=ir[18],this.sampleText=ir[19]},xt}(),$t=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="maxp",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.numGlyphs=ut.readUInt16(),this.maxPoints=ut.readUInt16(),this.maxContours=ut.readUInt16(),this.maxCompositePoints=ut.readUInt16(),this.maxComponentContours=ut.readUInt16(),this.maxZones=ut.readUInt16(),this.maxTwilightPoints=ut.readUInt16(),this.maxStorage=ut.readUInt16(),this.maxFunctionDefs=ut.readUInt16(),this.maxInstructionDefs=ut.readUInt16(),this.maxStackElements=ut.readUInt16(),this.maxSizeOfInstructions=ut.readUInt16(),this.maxComponentElements=ut.readUInt16(),this.maxComponentDepth=ut.readUInt16()},xt}(),Rt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="hmtx",xt.prototype.parse=function(ut){var pt,It,Tt,ft,Ht,Ft,ir;for(ut.pos=this.offset,this.metrics=[],ft=0,Ft=this.file.hhea.numberOfMetrics;0<=Ft?ft<Ft:Ft<ft;0<=Ft?++ft:--ft)this.metrics.push({advance:ut.readUInt16(),lsb:ut.readInt16()});for(It=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=It?Xt<It:It<Xt;0<=It?++Xt:--Xt)mr.push(ut.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)Tt=Ar[Xt],Nr.push(Tt.advance);return Nr}.call(this),pt=this.widths[this.widths.length-1],ir=[],Ht=0;0<=It?Ht<It:It<Ht;0<=It?++Ht:--Ht)ir.push(this.widths.push(pt));return ir},xt.prototype.forGlyph=function(ut){return ut in this.metrics?this.metrics[ut]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ut-this.metrics.length]}},xt}(),Kt=[].slice,Gt=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="glyf",xt.prototype.parse=function(ut){return this.cache={}},xt.prototype.glyphFor=function(ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar;return(ut=ut)in this.cache?this.cache[ut]:(ft=this.file.loca,pt=this.file.contents,It=ft.indexOf(ut),(Tt=ft.lengthOf(ut))===0?this.cache[ut]=null:(pt.pos=this.offset+It,Ht=(Ft=new bt(pt.read(Tt))).readShort(),Xt=Ft.readShort(),Ar=Ft.readShort(),ir=Ft.readShort(),mr=Ft.readShort(),this.cache[ut]=Ht===-1?new Mt(Ft,Xt,Ar,ir,mr):new Qt(Ft,Ht,Xt,Ar,ir,mr),this.cache[ut]))},xt.prototype.encode=function(ut,pt,It){var Tt,ft,Ht,Ft,ir;for(Ht=[],ft=[],Ft=0,ir=pt.length;Ft<ir;Ft++)Tt=ut[pt[Ft]],ft.push(Ht.length),Tt&&(Ht=Ht.concat(Tt.encode(It)));return ft.push(Ht.length),{table:Ht,offsets:ft}},xt}(),Qt=function(){function st(xt,ut,pt,It,Tt,ft){this.raw=xt,this.numberOfContours=ut,this.xMin=pt,this.yMin=It,this.xMax=Tt,this.yMax=ft,this.compound=!1}return st.prototype.encode=function(){return this.raw.data},st}(),Mt=function(){function st(xt,ut,pt,It,Tt){var ft,Ht;for(this.raw=xt,this.xMin=ut,this.yMin=pt,this.xMax=It,this.yMax=Tt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ft=this.raw;Ht=ft.readShort(),this.glyphOffsets.push(ft.pos),this.glyphIDs.push(ft.readShort()),32&Ht;)ft.pos+=1&Ht?4:2,128&Ht?ft.pos+=8:64&Ht?ft.pos+=4:8&Ht&&(ft.pos+=2)}return st.prototype.encode=function(xt){var ut,pt,It,Tt,ft;for(pt=new bt(Kt.call(this.raw.data)),ut=It=0,Tt=(ft=this.glyphIDs).length;It<Tt;ut=++It)ft[ut],pt.pos=this.glyphOffsets[ut];return pt.data},st}(),dr=function(st){function xt(){return xt.__super__.constructor.apply(this,arguments)}return pe(xt,nt),xt.prototype.tag="loca",xt.prototype.parse=function(ut){var pt;return ut.pos=this.offset,pt=this.file.head.indexToLocFormat,this.offsets=pt===0?function(){var It,Tt,ft;for(ft=[],It=0,Tt=this.length;It<Tt;It+=2)ft.push(2*ut.readUInt16());return ft}.call(this):function(){var It,Tt,ft;for(ft=[],It=0,Tt=this.length;It<Tt;It+=4)ft.push(ut.readUInt32());return ft}.call(this)},xt.prototype.indexOf=function(ut){return this.offsets[ut]},xt.prototype.lengthOf=function(ut){return this.offsets[ut+1]-this.offsets[ut]},xt.prototype.encode=function(ut,pt){for(var It=new Uint32Array(this.offsets.length),Tt=0,ft=0,Ht=0;Ht<It.length;++Ht)if(It[Ht]=Tt,ft<pt.length&&pt[ft]==Ht){++ft,It[Ht]=Tt;var Ft=this.offsets[Ht],ir=this.offsets[Ht+1]-Ft;0<ir&&(Tt+=ir)}for(var Xt=new Array(4*It.length),mr=0;mr<It.length;++mr)Xt[4*mr+3]=255&It[mr],Xt[4*mr+2]=(65280&It[mr])>>8,Xt[4*mr+1]=(16711680&It[mr])>>16,Xt[4*mr]=(4278190080&It[mr])>>24;return Xt},xt}(),er=function(){function st(xt){this.font=xt,this.subset={},this.unicodes={},this.next=33}return st.prototype.generateCmap=function(){var xt,ut,pt,It,Tt;for(ut in It=this.font.cmap.tables[0].codeMap,xt={},Tt=this.subset)pt=Tt[ut],xt[ut]=It[pt];return xt},st.prototype.glyphsFor=function(xt){var ut,pt,It,Tt,ft,Ht,Ft;for(It={},ft=0,Ht=xt.length;ft<Ht;ft++)It[Tt=xt[ft]]=this.font.glyf.glyphFor(Tt);for(Tt in ut=[],It)((pt=It[Tt])!=null?pt.compound:void 0)&&ut.push.apply(ut,pt.glyphIDs);if(0<ut.length)for(Tt in Ft=this.glyphsFor(ut))pt=Ft[Tt],It[Tt]=pt;return It},st.prototype.encode=function(xt,ut){var pt,It,Tt,ft,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr;for(It in pt=xe.encode(this.generateCmap(),"unicode"),ft=this.glyphsFor(xt),Nr={0:0},Lr=pt.charMap)Nr[(Ft=Lr[It]).old]=Ft.new;for(Fr in Ar=pt.maxGlyphID,ft)Fr in Nr||(Nr[Fr]=Ar++);return Xt=function(Qr){var _r,ur;for(_r in ur={},Qr)ur[Qr[_r]]=_r;return ur}(Nr),mr=Object.keys(Xt).sort(function(Qr,_r){return Qr-_r}),tn=function(){var Qr,_r,ur;for(ur=[],Qr=0,_r=mr.length;Qr<_r;Qr++)Ht=mr[Qr],ur.push(Xt[Ht]);return ur}(),Tt=this.font.glyf.encode(ft,tn,Nr),ir=this.font.loca.encode(Tt.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:Tt.table,loca:ir,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(ut)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},st}();we.API.PDFObject=function(){var st;function xt(){}return st=function(pt,It){return(Array(It+1).join("0")+pt).slice(-It)},xt.convert=function(ut){var pt,It,Tt,ft;if(Array.isArray(ut))return"["+function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=ut.length;Ht<Ft;Ht++)pt=ut[Ht],ir.push(xt.convert(pt));return ir}().join(" ")+"]";if(typeof ut=="string")return"/"+ut;if(ut!=null?ut.isString:void 0)return"("+ut+")";if(ut instanceof Date)return"(D:"+st(ut.getUTCFullYear(),4)+st(ut.getUTCMonth(),2)+st(ut.getUTCDate(),2)+st(ut.getUTCHours(),2)+st(ut.getUTCMinutes(),2)+st(ut.getUTCSeconds(),2)+"Z)";if({}.toString.call(ut)!=="[object Object]")return""+ut;for(It in Tt=["<<"],ut)ft=ut[It],Tt.push("/"+It+" "+xt.convert(ft));return Tt.push(">>"),Tt.join(`
|
|
|
`)},xt}()}(ht),qe=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),be=function(){var we,ve,me;function he(Re){var He,ze,Ye,Pe,nt,bt,Ot,ae,pe,J,ne,xe,De,Fe;for(this.data=Re,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},bt=null;;){switch(He=this.readUInt32(),pe=function(){var $e,vt;for(vt=[],$e=0;$e<4;++$e)vt.push(String.fromCharCode(this.data[this.pos++]));return vt}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(He);break;case"fcTL":bt&&this.animation.frames.push(bt),this.pos+=4,bt={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},nt=this.readUInt16(),Pe=this.readUInt16()||100,bt.delay=1e3*nt/Pe,bt.disposeOp=this.data[this.pos++],bt.blendOp=this.data[this.pos++],bt.data=[];break;case"IDAT":case"fdAT":for(pe==="fdAT"&&(this.pos+=4,He-=4),Re=(bt!=null?bt.data:void 0)||this.imgData,xe=0;0<=He?xe<He:He<xe;0<=He?++xe:--xe)Re.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Ye=this.palette.length/3,this.transparency.indexed=this.read(He),this.transparency.indexed.length>Ye)throw new Error("More transparent colors than palette size");if(0<(J=Ye-this.transparency.indexed.length))for(De=0;0<=J?De<J:J<De;0<=J?++De:--De)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(He)[0];break;case 2:this.transparency.rgb=this.read(He)}break;case"tEXt":Ot=(ne=this.read(He)).indexOf(0),ae=String.fromCharCode.apply(String,ne.slice(0,Ot)),this.text[ae]=String.fromCharCode.apply(String,ne.slice(Ot+1));break;case"IEND":return bt&&this.animation.frames.push(bt),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Fe=this.colorType)===4||Fe===6,ze=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*ze,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=He}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}he.load=function(Re,He,ze){var Ye;return typeof He=="function"&&(ze=He),(Ye=new XMLHttpRequest).open("GET",Re,!0),Ye.responseType="arraybuffer",Ye.onload=function(){var Pe;return Pe=new he(new Uint8Array(Ye.response||Ye.mozResponseArrayBuffer)),typeof(He!=null?He.getContext:void 0)=="function"&&Pe.render(He),typeof ze=="function"?ze(Pe):void 0},Ye.send(null)},he.prototype.read=function(Re){var He,ze;for(ze=[],He=0;0<=Re?He<Re:Re<He;0<=Re?++He:--He)ze.push(this.data[this.pos++]);return ze},he.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},he.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},he.prototype.decodePixels=function(Re){var He=this.pixelBitlength/8,ze=new Uint8Array(this.width*this.height*He),Ye=0,Pe=this;if(Re==null&&(Re=this.imgData),Re.length===0)return new Uint8Array(0);function nt(bt,Ot,ae,pe){var J,ne,xe,De,Fe,$e,vt,Wt,$t,Rt,Kt,Gt,Qt,Mt,dr,er,st,xt,ut,pt,It,Tt=Math.ceil((Pe.width-bt)/ae),ft=Math.ceil((Pe.height-Ot)/pe),Ht=Pe.width==Tt&&Pe.height==ft;for(Mt=He*Tt,Gt=Ht?ze:new Uint8Array(Mt*ft),$e=Re.length,ne=Qt=0;Qt<ft&&Ye<$e;){switch(Re[Ye++]){case 0:for(De=st=0;st<Mt;De=st+=1)Gt[ne++]=Re[Ye++];break;case 1:for(De=xt=0;xt<Mt;De=xt+=1)J=Re[Ye++],Fe=De<He?0:Gt[ne-He],Gt[ne++]=(J+Fe)%256;break;case 2:for(De=ut=0;ut<Mt;De=ut+=1)J=Re[Ye++],xe=(De-De%He)/He,dr=Qt&&Gt[(Qt-1)*Mt+xe*He+De%He],Gt[ne++]=(dr+J)%256;break;case 3:for(De=pt=0;pt<Mt;De=pt+=1)J=Re[Ye++],xe=(De-De%He)/He,Fe=De<He?0:Gt[ne-He],dr=Qt&&Gt[(Qt-1)*Mt+xe*He+De%He],Gt[ne++]=(J+Math.floor((Fe+dr)/2))%256;break;case 4:for(De=It=0;It<Mt;De=It+=1)J=Re[Ye++],xe=(De-De%He)/He,Fe=De<He?0:Gt[ne-He],Qt===0?dr=er=0:(dr=Gt[(Qt-1)*Mt+xe*He+De%He],er=xe&&Gt[(Qt-1)*Mt+(xe-1)*He+De%He]),vt=Fe+dr-er,Wt=Math.abs(vt-Fe),Rt=Math.abs(vt-dr),Kt=Math.abs(vt-er),$t=Wt<=Rt&&Wt<=Kt?Fe:Rt<=Kt?dr:er,Gt[ne++]=(J+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+Re[Ye-1])}if(!Ht){var Ft=((Ot+Qt*pe)*Pe.width+bt)*He,ir=Qt*Mt;for(De=0;De<Tt;De+=1){for(var Xt=0;Xt<He;Xt+=1)ze[Ft++]=Gt[ir++];Ft+=(ae-1)*He}}Qt++}}return Re=(Re=new Bt(Re)).getBytes(),Pe.interlaceMethod==1?(nt(0,0,8,8),nt(4,0,8,8),nt(0,4,4,8),nt(2,0,4,4),nt(0,2,2,4),nt(1,0,2,2),nt(0,1,1,2)):nt(0,0,1,1),ze},he.prototype.decodePalette=function(){var Re,He,ze,Ye,Pe,nt,bt,Ot,ae;for(ze=this.palette,nt=this.transparency.indexed||[],Pe=new Uint8Array((nt.length||0)+ze.length),Ye=0,ze.length,He=bt=Re=0,Ot=ze.length;bt<Ot;He=bt+=3)Pe[Ye++]=ze[He],Pe[Ye++]=ze[He+1],Pe[Ye++]=ze[He+2],Pe[Ye++]=(ae=nt[Re++])!=null?ae:255;return Pe},he.prototype.copyToImageData=function(Re,He){var ze,Ye,Pe,nt,bt,Ot,ae,pe,J,ne,xe;if(Ye=this.colors,J=null,ze=this.hasAlphaChannel,this.palette.length&&(J=(xe=this._decodedPalette)!=null?xe:this._decodedPalette=this.decodePalette(),Ye=4,ze=!0),pe=(Pe=Re.data||Re).length,bt=J||He,nt=Ot=0,Ye===1)for(;nt<pe;)ae=J?4*He[nt/4]:Ot,ne=bt[ae++],Pe[nt++]=ne,Pe[nt++]=ne,Pe[nt++]=ne,Pe[nt++]=ze?bt[ae++]:255,Ot=ae;else for(;nt<pe;)ae=J?4*He[nt/4]:Ot,Pe[nt++]=bt[ae++],Pe[nt++]=bt[ae++],Pe[nt++]=bt[ae++],Pe[nt++]=ze?bt[ae++]:255,Ot=ae},he.prototype.decode=function(){var Re;return Re=new Uint8Array(this.width*this.height*4),this.copyToImageData(Re,this.decodePixels()),Re};try{ve=qe.document.createElement("canvas"),me=ve.getContext("2d")}catch(Re){return-1}return we=function(He){var ze;return me.width=He.width,me.height=He.height,me.clearRect(0,0,He.width,He.height),me.putImageData(He,0,0),(ze=new Image).src=ve.toDataURL(),ze},he.prototype.decodeFrames=function(Re){var He,ze,Ye,Pe,nt,bt,Ot,ae;if(this.animation){for(ae=[],ze=nt=0,bt=(Ot=this.animation.frames).length;nt<bt;ze=++nt)He=Ot[ze],Ye=Re.createImageData(He.width,He.height),Pe=this.decodePixels(new Uint8Array(He.data)),this.copyToImageData(Ye,Pe),He.imageData=Ye,ae.push(He.image=we(Ye));return ae}},he.prototype.renderFrame=function(Re,He){var ze,Ye,Pe;return ze=(Ye=this.animation.frames)[He],Pe=Ye[He-1],He===0&&Re.clearRect(0,0,this.width,this.height),(Pe!=null?Pe.disposeOp:void 0)===1?Re.clearRect(Pe.xOffset,Pe.yOffset,Pe.width,Pe.height):(Pe!=null?Pe.disposeOp:void 0)===2&&Re.putImageData(Pe.imageData,Pe.xOffset,Pe.yOffset),ze.blendOp===0&&Re.clearRect(ze.xOffset,ze.yOffset,ze.width,ze.height),Re.drawImage(ze.image,ze.xOffset,ze.yOffset)},he.prototype.animate=function(Re){var He,ze,Ye,Pe,nt,bt,Ot=this;return ze=0,bt=this.animation,Pe=bt.numFrames,Ye=bt.frames,nt=bt.numPlays,(He=function(){var pe,J;if(pe=ze++%Pe,J=Ye[pe],Ot.renderFrame(Re,pe),1<Pe&&ze/Pe<nt)return Ot.animation._timeout=setTimeout(He,J.delay)})()},he.prototype.stopAnimation=function(){var Re;return clearTimeout((Re=this.animation)!=null?Re._timeout:void 0)},he.prototype.render=function(Re){var He,ze;return Re._png&&Re._png.stopAnimation(),Re._png=this,Re.width=this.width,Re.height=this.height,He=Re.getContext("2d"),this.animation?(this.decodeFrames(He),this.animate(He)):(ze=He.createImageData(this.width,this.height),this.copyToImageData(ze,this.decodePixels()),He.putImageData(ze,0,0))},he}(),qe.PNG=be;var or=function(){function we(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return we.prototype={ensureBuffer:function(me){var he=this.buffer,Re=he?he.byteLength:0;if(me<Re)return he;for(var He=512;He<me;)He<<=1;for(var ze=new Uint8Array(He),Ye=0;Ye<Re;++Ye)ze[Ye]=he[Ye];return this.buffer=ze},getByte:function(){for(var me=this.pos;this.bufferLength<=me;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(me){var he=this.pos;if(me){this.ensureBuffer(he+me);for(var Re=he+me;!this.eof&&this.bufferLength<Re;)this.readBlock();var He=this.bufferLength;He<Re&&(Re=He)}else{for(;!this.eof;)this.readBlock();Re=this.bufferLength}return this.pos=Re,this.buffer.subarray(he,Re)},lookChar:function(){for(var me=this.pos;this.bufferLength<=me;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var me=this.pos;this.bufferLength<=me;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(me,he,Re){for(var He=me+he;this.bufferLength<=He&&!this.eof;)this.readBlock();return new Stream(this.buffer,me,he,Re)},skip:function(me){me||(me=1),this.pos+=me},reset:function(){this.pos=0}},we}(),Bt=function(){if(typeof Uint32Array!="undefined"){var we=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ve=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),me=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),he=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Re=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(ze.prototype=Object.create(or.prototype)).getBits=function(Ye){for(var Pe,nt=this.codeSize,bt=this.codeBuf,Ot=this.bytes,ae=this.bytesPos;nt<Ye;)(Pe=Ot[ae++])===void 0&&He("Bad encoding in flate stream"),bt|=Pe<<nt,nt+=8;return Pe=bt&(1<<Ye)-1,this.codeBuf=bt>>Ye,this.codeSize=nt-=Ye,this.bytesPos=ae,Pe},ze.prototype.getCode=function(Ye){for(var Pe=Ye[0],nt=Ye[1],bt=this.codeSize,Ot=this.codeBuf,ae=this.bytes,pe=this.bytesPos;bt<nt;){var J;(J=ae[pe++])===void 0&&He("Bad encoding in flate stream"),Ot|=J<<bt,bt+=8}var ne=Pe[Ot&(1<<nt)-1],xe=ne>>16,De=65535≠return(bt==0||bt<xe||xe==0)&&He("Bad encoding in flate stream"),this.codeBuf=Ot>>xe,this.codeSize=bt-xe,this.bytesPos=pe,De},ze.prototype.generateHuffmanTable=function(Ye){for(var Pe=Ye.length,nt=0,bt=0;bt<Pe;++bt)Ye[bt]>nt&&(nt=Ye[bt]);for(var Ot=1<<nt,ae=new Uint32Array(Ot),pe=1,J=0,ne=2;pe<=nt;++pe,J<<=1,ne<<=1)for(var xe=0;xe<Pe;++xe)if(Ye[xe]==pe){var De=0,Fe=J;for(bt=0;bt<pe;++bt)De=De<<1|1&Fe,Fe>>=1;for(bt=De;bt<Ot;bt+=ne)ae[bt]=pe<<16|xe;++J}return[ae,nt]},ze.prototype.readBlock=function(){function Ye(ft,Ht,Ft,ir,Xt){for(var mr=ft.getBits(Ft)+ir;0<mr--;)Ht[ne++]=Xt}var Pe=this.getBits(3);if(1&Pe&&(this.eof=!0),(Pe>>=1)!=0){var nt,bt;if(Pe==1)nt=he,bt=Re;else if(Pe==2){for(var Ot=this.getBits(5)+257,ae=this.getBits(5)+1,pe=this.getBits(4)+4,J=Array(we.length),ne=0;ne<pe;)J[we[ne++]]=this.getBits(3);for(var xe=this.generateHuffmanTable(J),De=0,Fe=(ne=0,Ot+ae),$e=new Array(Fe);ne<Fe;){var vt=this.getCode(xe);vt==16?Ye(this,$e,2,3,De):vt==17?Ye(this,$e,3,3,De=0):vt==18?Ye(this,$e,7,11,De=0):$e[ne++]=De=vt}nt=this.generateHuffmanTable($e.slice(0,Ot)),bt=this.generateHuffmanTable($e.slice(Ot,Fe))}else He("Unknown block type in flate stream");for(var Wt=(pt=this.buffer)?pt.length:0,$t=this.bufferLength;;){var Rt=this.getCode(nt);if(Rt<256)Wt<=$t+1&&(Wt=(pt=this.ensureBuffer($t+1)).length),pt[$t++]=Rt;else{if(Rt==256)return void(this.bufferLength=$t);var Kt=(Rt=ve[Rt-=257])>>16;0<Kt&&(Kt=this.getBits(Kt)),De=(65535&Rt)+Kt,Rt=this.getCode(bt),0<(Kt=(Rt=me[Rt])>>16)&&(Kt=this.getBits(Kt));var Gt=(65535&Rt)+Kt;Wt<=$t+De&&(Wt=(pt=this.ensureBuffer($t+De)).length);for(var Qt=0;Qt<De;++Qt,++$t)pt[$t]=pt[$t-Gt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream");var st=Mt;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream"),st|=Mt<<8,(Mt=dr[er++])===void 0&&He("Bad block header in flate stream");var xt=Mt;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream"),(xt|=Mt<<8)!=(65535&~st)&&He("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var ut=this.bufferLength,pt=this.ensureBuffer(ut+st),It=ut+st;this.bufferLength=It;for(var Tt=ut;Tt<It;++Tt){if((Mt=dr[er++])===void 0){this.eof=!0;break}pt[Tt]=Mt}this.bytesPos=er}},ze}function He(Ye){throw new Error(Ye)}function ze(Ye){var Pe=0,nt=Ye[Pe++],bt=Ye[Pe++];nt!=-1&&bt!=-1||He("Invalid header in flate stream"),(15&nt)!=8&&He("Unknown compression method in flate stream"),((nt<<8)+bt)%31!=0&&He("Bad FCHECK in flate stream"),32&bt&&He("FDICT bit set in flate stream"),this.bytes=Ye,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Bt});try{D.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},"5RzL":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e.n(n),t=e("1OyB"),s=e("vuIU"),u=e("Ji7U"),p=e("LK+K"),w=e("KQm4"),b=e("U8pU"),E=e("ODXe"),A=e("VTBJ"),S=e("qNPg"),T=e("2Qr1"),L=e("815F"),x=e("NvD2"),C=e("wPlo"),O=e("6cGi"),N=e("Kwbf"),F=e("4IlW"),k=e("YrtM"),P=e("fAei"),B=l.a.createContext(null);function z(yt,_t){if(!yt)return!0;var or=yt.data,Bt=or.disabled,we=or.disableCheckbox;switch(_t){case"select":return Bt;case"checkbox":return Bt||we}return!1}function R(yt,_t){var or=l.a.useCallback(function(we){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",me=arguments.length>2?arguments[2]:void 0,he=yt.get(we);return!me&&z(he,ve)?null:he},[yt]),Bt=l.a.useCallback(function(we){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",me=arguments.length>2?arguments[2]:void 0,he=_t.get(we);return!me&&z(he,ve)?null:he},[_t]);return[or,Bt]}function U(yt){return l.a.useMemo(function(){var _t=new Map,or=new Map;return yt.forEach(function(Bt){_t.set(Bt.key,Bt),or.set(Bt.data.value,Bt)}),[_t,or]},[yt])}var j={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},H=function(_t,or){var Bt=_t.prefixCls,we=_t.height,ve=_t.itemHeight,me=_t.virtual,he=_t.options,Re=_t.flattenOptions,He=_t.multiple,ze=_t.searchValue,Ye=_t.onSelect,Pe=_t.onToggleOpen,nt=_t.open,bt=_t.notFoundContent,Ot=_t.onMouseEnter,ae=l.a.useContext(B),pe=ae.checkable,J=ae.checkedKeys,ne=ae.halfCheckedKeys,xe=ae.treeExpandedKeys,De=ae.treeDefaultExpandAll,Fe=ae.treeDefaultExpandedKeys,$e=ae.onTreeExpand,vt=ae.treeIcon,Wt=ae.showTreeIcon,$t=ae.switcherIcon,Rt=ae.treeLine,Kt=ae.treeNodeFilterProp,Gt=ae.loadData,Qt=ae.treeLoadedKeys,Mt=ae.treeMotion,dr=ae.onTreeLoad,er=l.a.useRef(),st=Object(k.a)(function(){return he},[nt,he],function(Pn,zn){return zn[0]&&Pn[1]!==zn[1]}),xt=U(Re),ut=Object(E.a)(xt,2),pt=ut[0],It=ut[1],Tt=R(pt,It),ft=Object(E.a)(Tt,2),Ht=ft[0],Ft=ft[1],ir=l.a.useMemo(function(){return J.map(function(Pn){var zn=Ft(Pn);return zn?zn.key:null})},[J]),Xt=l.a.useMemo(function(){return pe?{checked:ir,halfChecked:ne}:null},[ir,ne,pe]);l.a.useEffect(function(){if(nt&&!He&&ir.length){var Pn;(Pn=er.current)===null||Pn===void 0||Pn.scrollTo({key:ir[0]})}},[nt]);var mr=String(ze).toLowerCase(),Ar=function(zn){return mr?String(zn[Kt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Fe),Fr=Object(E.a)(Nr,2),tn=Fr[0],qr=Fr[1],Lr=l.a.useState(null),Qr=Object(E.a)(Lr,2),_r=Qr[0],ur=Qr[1],pr=l.a.useMemo(function(){return xe?Object(w.a)(xe):ze?_r:tn},[tn,_r,mr,xe]);l.a.useEffect(function(){ze&&ur(Re.map(function(Pn){return Pn.key}))},[ze]);var cr=function(zn){qr(zn),ur(zn),$e&&$e(zn)},fr=function(zn){zn.preventDefault()},xr=function(zn,qn){var Yn=qn.node.key,Vn=Ht(Yn,pe?"checkbox":"select");Vn!==null&&Ye(Vn.data.value,{selected:!J.includes(Vn.data.value)}),He||Pe(!1)},Yr=l.a.useState(null),un=Object(E.a)(Yr,2),Nn=un[0],jr=un[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(zn){var qn,Yn=zn.which;switch(Yn){case F.a.UP:case F.a.DOWN:case F.a.LEFT:case F.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(zn);break;case F.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!J.includes(Tn.data.value)});break}case F.a.ESC:Pe(!1)}},onKeyUp:function(){}}}),st.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Bt,"-empty"),onMouseDown:fr},bt);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:Ot},Tn&&nt&&l.a.createElement("span",{style:j,"aria-live":"assertive"},Tn.data.value),l.a.createElement(P.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Bt,"-tree"),treeData:st,height:we,itemHeight:ve,virtual:me,multiple:He,icon:vt,showIcon:Wt,switcherIcon:$t,showLine:Rt,loadData:ze?null:Gt,motion:Mt,checkable:pe,checkStrictly:!0,checkedKeys:Xt,selectedKeys:pe?[]:ir,defaultExpandAll:De},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:cr,onLoad:dr,filterTreeNode:Ar})))},V=l.a.forwardRef(H);V.displayName="OptionList";var X=V,W=function(){return null},G=W,$=e("Ff2n"),ge=e("Zm9Q");function q(yt){return Object(ge.a)(yt).map(function(_t){if(!l.a.isValidElement(_t)||!_t.type)return null;var or=_t.key,Bt=_t.props,we=Bt.children,ve=Bt.value,me=Object($.a)(Bt,["children","value"]),he=Object(A.a)({key:or,value:ve},me),Re=q(we);return Re.length&&(he.children=Re),he}).filter(function(_t){return _t})}function Se(yt){if(!yt)return yt;var _t=Object(A.a)({},yt);return"props"in _t||Object.defineProperty(_t,"props",{get:function(){return Object(N.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),_t}}),_t}function Ce(yt,_t,or,Bt,we){var ve=null,me=null;function he(){function Re(He){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return He.map(function(Pe,nt){var bt="".concat(ze,"-").concat(nt),Ot=or.includes(Pe.value),ae=Re(Pe.children||[],bt,Ot),pe=l.a.createElement(G,Object.assign({},Pe),ae.map(function(ne){return ne.node}));if(_t===Pe.value&&(ve=pe),Ot){var J={pos:bt,node:pe,children:ae};return Ye||me.push(J),J}return null}).filter(function(Pe){return Pe})}me||(me=[],Re(Bt),me.sort(function(He,ze){var Ye=He.node.props.value,Pe=ze.node.props.value,nt=or.indexOf(Ye),bt=or.indexOf(Pe);return nt-bt}))}Object.defineProperty(yt,"triggerNode",{get:function(){return Object(N.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),he(),ve}}),Object.defineProperty(yt,"allCheckedNodes",{get:function(){return Object(N.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),he(),we?me:me.map(function(He){var ze=He.node;return ze})}})}function Ae(yt){return Array.isArray(yt)?yt:yt!==void 0?[yt]:[]}function Ue(yt,_t){var or=new Map;return _t.forEach(function(Bt){var we=Bt.data;or.set(we.value,we)}),yt.map(function(Bt){return Se(or.get(Bt))})}function Qe(yt,_t){var or=Ue([yt],_t)[0];return or?or.disabled:!1}function gt(yt){return yt.disabled||yt.disableCheckbox||yt.checkable===!1}function _e(yt){for(var _t=yt.parent,or=0,Bt=_t;Bt;)Bt=Bt.parent,or+=1;return or}function Oe(yt){function _t(Bt){return(Bt||[]).map(function(we){var ve=we.value,me=we.key,he=we.children,Re=Object(A.a)(Object(A.a)({},we),{},{key:"key"in we?me:ve});return he&&(Re.children=_t(he)),Re})}var or=Object(L.d)(_t(yt),!0);return or.map(function(Bt){return{key:Bt.data.key,data:Bt.data,level:_e(Bt)}})}function lt(yt){return function(_t,or){var Bt=or[yt];return String(Bt).toLowerCase().includes(String(_t).toLowerCase())}}function ce(yt,_t,or){var Bt=or.optionFilterProp,we=or.filterOption;if(we===!1)return _t;var ve;typeof we=="function"?ve=we:ve=lt(Bt);function me(he){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return he.map(function(He){var ze=He.children,Ye=Re||ve(yt,Se(He)),Pe=me(ze||[],Ye);return Ye||Pe.length?Object(A.a)(Object(A.a)({},He),{},{children:Pe}):null}).filter(function(He){return He})}return me(_t)}function Y(yt,_t,or,Bt){var we=new Map;return Ae(_t).forEach(function(ve){ve&&Object(b.a)(ve)==="object"&&"value"in ve&&we.set(ve.value,ve)}),yt.map(function(ve){var me={value:ve},he=or(ve,"select",!0),Re=he?Bt(he.data):ve;if(we.has(ve)){var He=we.get(ve);me.label="label"in He?He.label:Re,"halfChecked"in He&&(me.halfChecked=He.halfChecked)}else me.label=Re;return me})}function K(yt,_t){var or=new Set(yt);return or.add(_t),Array.from(or)}function Q(yt,_t){var or=new Set(yt);return or.delete(_t),Array.from(or)}function ye(yt){var _t=yt.searchPlaceholder,or=yt.treeCheckStrictly,Bt=yt.treeCheckable,we=yt.labelInValue,ve=yt.value,me=yt.multiple;Object(N.a)(!_t,"`searchPlaceholder` has been removed."),or&&we===!1&&Object(N.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(we||or)&&Object(N.a)(Ae(ve).every(function(he){return he&&Object(b.a)(he)==="object"&&"value"in he}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||me||Bt?Object(N.a)(!ve||Array.isArray(ve),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(N.a)(!Array.isArray(ve),"`value` should not be array when `TreeSelect` is single mode.")}var ue=ye,Ne=10;function Te(yt,_t){var or=_t.id,Bt=_t.pId,we=_t.rootPId,ve={},me=[],he=yt.map(function(Re){var He=Object(A.a)({},Re),ze=He[or];return ve[ze]=He,He.key=He.key||ze,He});return he.forEach(function(Re){var He=Re[Bt],ze=ve[He];ze&&(ze.children=ze.children||[],ze.children.push(Re)),(He===we||!ze&&we===null)&&me.push(Re)}),me}function oe(yt,_t){var or=0,Bt=new Set;function we(ve){return(ve||[]).map(function(me){var he=me.key,Re=me.value,He=me.children,ze=Object($.a)(me,["key","value","children"]),Ye="value"in me?Re:he,Pe=Object(A.a)(Object(A.a)({},ze),{},{key:he!=null?he:Ye,value:Ye,title:_t(me)});return"children"in me&&(Pe.children=we(He)),Pe})}return we(yt)}function de(yt,_t,or){var Bt=or.getLabelProp,we=or.simpleMode,ve=l.a.useRef({});return yt?(ve.current.formatTreeData=ve.current.treeData===yt?ve.current.formatTreeData:oe(we?Te(yt,Object(A.a)({id:"id",pId:"pId",rootPId:null},we!==!0?we:{})):yt,Bt),ve.current.treeData=yt):ve.current.formatTreeData=ve.current.children===_t?ve.current.formatTreeData:oe(q(_t),Bt),ve.current.formatTreeData}var Le="SHOW_ALL",Ge="SHOW_PARENT",ht="SHOW_CHILD";function Et(yt,_t,or){var Bt=new Set(yt);return _t===ht?yt.filter(function(we){var ve=or[we];return!(ve&&ve.children&&ve.children.every(function(me){var he=me.node;return gt(he)||Bt.has(he.key)}))}):_t===Ge?yt.filter(function(we){var ve=or[we],me=ve?ve.parent:null;return!(me&&!gt(me.node)&&Bt.has(me.node.key))}):yt}function Be(yt,_t){var or=_t.value,Bt=_t.getEntityByValue,we=_t.getEntityByKey,ve=_t.treeConduction,me=_t.showCheckedStrategy,he=_t.conductKeyEntities,Re=_t.getLabelProp;return l.a.useMemo(function(){var He=yt;if(ve){var ze=Et(yt.map(function(Ye){var Pe=Bt(Ye);return Pe?Pe.key:Ye}),me,he);He=ze.map(function(Ye){var Pe=we(Ye);return Pe?Pe.data.value:Ye})}return Y(He,or,Bt,Re)},[yt,or,ve,me,Bt])}var Dt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Ke=Object(S.a)({prefixCls:"rc-tree-select",components:{optionList:X},convertChildrenToData:function(){return null},flattenOptions:Oe,getLabeledValue:T.e,filterOptions:ce,isValueDisabled:Qe,findValueOption:Ue,omitDOMProps:function(_t){var or=Object(A.a)({},_t);return Dt.forEach(function(Bt){delete or[Bt]}),or}});Ke.displayName="Select";var At=n.forwardRef(function(yt,_t){var or=yt.multiple,Bt=yt.treeCheckable,we=yt.treeCheckStrictly,ve=yt.showCheckedStrategy,me=ve===void 0?"SHOW_CHILD":ve,he=yt.labelInValue,Re=yt.loadData,He=yt.treeLoadedKeys,ze=yt.treeNodeFilterProp,Ye=ze===void 0?"value":ze,Pe=yt.treeNodeLabelProp,nt=yt.treeDataSimpleMode,bt=yt.treeData,Ot=yt.treeExpandedKeys,ae=yt.treeDefaultExpandedKeys,pe=yt.treeDefaultExpandAll,J=yt.children,ne=yt.treeIcon,xe=yt.showTreeIcon,De=yt.switcherIcon,Fe=yt.treeLine,$e=yt.treeMotion,vt=yt.filterTreeNode,Wt=yt.dropdownPopupAlign,$t=yt.onChange,Rt=yt.onTreeExpand,Kt=yt.onTreeLoad,Gt=yt.onDropdownVisibleChange,Qt=yt.onSelect,Mt=yt.onDeselect,dr=Bt||we,er=or||dr,st=Bt&&!we,xt=we||he,ut=n.useRef(null);n.useImperativeHandle(_t,function(){return{focus:ut.current.focus,blur:ut.current.blur}});var pt=function(Yn){return bt&&Yn.label||Yn.title},It=function(Yn){return Pe?Yn[Pe]:pt(Yn)},Tt=de(bt,J,{getLabelProp:pt,simpleMode:nt}),ft=Object(n.useMemo)(function(){return Oe(Tt)},[Tt]),Ht=U(ft),Ft=Object(E.a)(Ht,2),ir=Ft[0],Xt=Ft[1],mr=R(ir,Xt),Ar=Object(E.a)(mr,2),Nr=Ar[0],Fr=Ar[1],tn=Object(n.useMemo)(function(){return st?Object(L.a)(Tt):{keyEntities:null}},[Tt,Bt,we]),qr=tn.keyEntities,Lr=Object(O.a)(yt.defaultValue,{value:yt.value}),Qr=Object(E.a)(Lr,2),_r=Qr[0],ur=Qr[1],pr=function(Yn){var Vn=[],An=[];return Yn.forEach(function(on){Fr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},cr=Object(n.useMemo)(function(){var qn=[],Yn=[];if(Ae(_r).forEach(function(Ci){if(Ci&&Object(b.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&we){var Gn=Fr(Ci.value);qn.push(Gn?Gn.key:Ci.value)}else Yn.push(Ci.value);else Yn.push(Ci)}),st){var Vn=pr(Yn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return Fr(Ci).key}),xa=Object(x.a)(ia,!0,qr),ta=xa.checkedKeys,_i=xa.halfCheckedKeys;return[[].concat(Object(w.a)(An),Object(w.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),_i]}return[Yn,qn]},[_r,er,xt,Bt,we]),fr=Object(E.a)(cr,2),xr=fr[0],Yr=fr[1],un=Be(xr,{treeConduction:st,value:_r,showCheckedStrategy:me,conductKeyEntities:qr,getEntityByValue:Fr,getEntityByKey:Nr,getLabelProp:It}),Nn=function(Yn,Vn,An){if(ur(er?Yn:Yn[0]),$t){var on=Yn;if(st&&me!=="SHOW_ALL"){var ia=Yn.map(function(Ln){var _n=Fr(Ln);return _n?_n.key:Ln}),xa=Et(ia,me,qr);on=xa.map(function(Ln){var _n=Nr(Ln);return _n?_n.data.value:Ln})}var ta=Vn||{triggerValue:void 0,selected:void 0},_i=ta.triggerValue,Ci=ta.selected,Gn=xt?Y(on,_r,Fr,It):on;if(we){var Oa=Yr.map(function(Ln){var _n=Nr(Ln);return _n?_n.data.value:Ln}).filter(function(Ln){return!on.includes(Ln)});Gn=[].concat(Object(w.a)(Gn),Object(w.a)(Y(Oa,_r,Fr,It)))}var mn={preValue:un,triggerValue:_i},On=!0;(we||An==="selection"&&!Ci)&&(On=!1),Ce(mn,_i,Yn,Tt,On),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Gn:Gn[0],xt?null:on.map(function(Ln){var _n=Fr(Ln);return _n?It(_n.data):null}),mn)}},jr=function(Yn,Vn,An){var on=Yn;if(!er)Nn([Yn],{selected:!0,triggerValue:Yn},An);else{var ia=K(xr,Yn);if(st){var xa=pr(ia),ta=xa.missingRawValues,_i=xa.existRawValues,Ci=_i.map(function(mn){return Fr(mn).key}),Gn=Object(x.a)(Ci,!0,qr),Oa=Gn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!0,triggerValue:Yn},An)}Qt&&Qt(on,Vn)},Tn=function(Yn,Vn,An){var on=Yn,ia=Q(xr,Yn);if(st){var xa=pr(ia),ta=xa.missingRawValues,_i=xa.existRawValues,Ci=_i.map(function(mn){return Fr(mn).key}),Gn=Object(x.a)(Ci,{checked:!1,halfCheckedKeys:Yr},qr),Oa=Gn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Yn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Pn=n.useCallback(function(qn){if(Gt){var Yn={};Object.defineProperty(Yn,"documentClickClose",{get:function(){return Object(N.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Gt(qn,Yn)}},[Gt]),zn={optionLabelProp:null,optionFilterProp:Ye,dropdownAlign:Wt,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in yt&&(zn.filterOption=vt),n.createElement(B.Provider,{value:{checkable:dr,loadData:Re,treeLoadedKeys:He,onTreeLoad:Kt,checkedKeys:xr,halfCheckedKeys:Yr,treeDefaultExpandAll:pe,treeExpandedKeys:Ot,treeDefaultExpandedKeys:ae,onTreeExpand:Rt,treeIcon:ne,treeMotion:$e,showTreeIcon:xe,switcherIcon:De,treeLine:Fe,treeNodeFilterProp:Ye}},n.createElement(Ke,Object.assign({ref:ut,mode:er?"multiple":null},yt,zn,{value:un,labelInValue:!0,options:Tt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Pn})))}),Xe=function(yt){Object(u.a)(or,yt);var _t=Object(p.a)(or);function or(){var Bt;return Object(t.a)(this,or),Bt=_t.apply(this,arguments),Bt.selectRef=n.createRef(),Bt.focus=function(){Bt.selectRef.current.focus()},Bt.blur=function(){Bt.selectRef.current.blur()},Bt}return Object(s.a)(or,[{key:"render",value:function(){return n.createElement(At,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Xe.TreeNode=G,Xe.SHOW_ALL=Le,Xe.SHOW_PARENT=Ge,Xe.SHOW_CHILD=ht;var et=Xe,tt=et,ot=e("TSYQ"),Ve=e.n(ot),se=e("BGR+"),re=e("H84U"),it=e("uaoM"),qe=e("1vzs"),be=e("2jpz"),Zt=e("3Nzz"),dt=function(yt){r()(or,yt);var _t=d()(or);function or(Bt){var we;return h()(this,or),we=_t.call(this,Bt),we.selectRef=n.createRef(),we.renderTreeSelect=function(ve){var me=ve.getPopupContainer,he=ve.getPrefixCls,Re=ve.renderEmpty,He=ve.direction,ze=ve.virtual,Ye=ve.dropdownMatchSelectWidth,Pe=we.props,nt=Pe.prefixCls,bt=Pe.size,Ot=Pe.className,ae=Pe.treeCheckable,pe=Pe.multiple,J=Pe.listHeight,ne=J===void 0?256:J,xe=Pe.listItemHeight,De=xe===void 0?26:xe,Fe=Pe.notFoundContent,$e=Pe.switcherIcon,vt=Pe.treeLine,Wt=Pe.getPopupContainer,$t=Pe.dropdownClassName,Rt=Pe.bordered,Kt=Pe.treeIcon,Gt=Kt===void 0?!1:Kt,Qt=he("select",nt),Mt=he("select-tree",nt),dr=he("tree-select",nt),er=Ve()($t,"".concat(dr,"-dropdown"),m()({},"".concat(dr,"-dropdown-rtl"),He==="rtl")),st=!!(ae||pe),xt=Object(qe.a)(f()(f()({},we.props),{multiple:st,prefixCls:Qt})),ut=xt.suffixIcon,pt=xt.itemIcon,It=xt.removeIcon,Tt=xt.clearIcon,ft;Fe!==void 0?ft=Fe:ft=Re("Select");var Ht=Object(se.default)(we.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Zt.b.Consumer,null,function(Ft){var ir,Xt=bt||Ft,mr=Ve()(!nt&&dr,(ir={},m()(ir,"".concat(Qt,"-lg"),Xt==="large"),m()(ir,"".concat(Qt,"-sm"),Xt==="small"),m()(ir,"".concat(Qt,"-rtl"),He==="rtl"),m()(ir,"".concat(Qt,"-borderless"),!Rt),ir),Ot);return n.createElement(tt,f()({virtual:ze,dropdownMatchSelectWidth:Ye},Ht,{ref:we.selectRef,prefixCls:Qt,className:mr,listHeight:ne,listItemHeight:De,treeCheckable:ae&&n.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:ut,menuItemSelectedIcon:pt,removeIcon:It,clearIcon:Tt,switcherIcon:function(Nr){return Object(be.a)(Mt,$e,vt,Nr)},showTreeIcon:Gt,notFoundContent:ft,getPopupContainer:Wt||me,treeMotion:null,dropdownClassName:er}))})},Object(it.a)(Bt.multiple!==!1||!Bt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),we}return a()(or,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(re.a,null,this.renderTreeSelect)}}]),or}(n.Component);dt.TreeNode=G,dt.SHOW_ALL=Le,dt.SHOW_PARENT=Ge,dt.SHOW_CHILD=ht,dt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ct=_.a=dt},"5Uyt":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"5YOS":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"5YgA":function(D,_,e){},"5bA4":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LeftOutlined";var h=_.a=g.forwardRef(v)},"5nXd":function(D,_,e){var g=e("MFOe"),f=g.slice,y=g.pluck,m=g.each,v=g.bind,h=g.create,c=g.isList,a=g.isFunction,i=g.isObject;D.exports={createStore:d};var r={version:"2.0.12",enabled:!1,get:function(l,t){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(s,u){l.call(t,t._deserialize(s),(u||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return d(this.storage,this.plugins,l)}};function o(){var n=typeof console=="undefined"?null:console;if(!n)return;var l=n.warn?n.warn:n.log;l.apply(n,arguments)}function d(n,l,t){t||(t=""),n&&!c(n)&&(n=[n]),l&&!c(l)&&(l=[l]);var s=t?"__storejs_"+t+"_":"",u=t?new RegExp("^"+s):null,p=/^[a-zA-Z0-9_\-]*$/;if(!p.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var w={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(A){try{var S="__storejs__test__";A.write(S,S);var T=A.read(S)===S;return A.remove(S),T}catch(L){return!1}},_assignPluginFnProp:function(A,S){var T=this[S];this[S]=function(){var x=f(arguments,0),C=this;function O(){return T?(m(arguments,function(F,k){x[k]=F}),T.apply(C,x)):void 0}var N=[O].concat(x);return A.apply(C,N)}},_serialize:function(A){return JSON.stringify(A)},_deserialize:function(A,S){if(!A)return S;var T="";try{T=JSON.parse(A)}catch(L){T=A}return T!==void 0?T:S},_addStorage:function(A){if(this.enabled)return;this._testStorage(A)&&(this.storage=A,this.enabled=!0)},_addPlugin:function(A){var S=this;if(c(A)){m(A,function(x){S._addPlugin(x)});return}var T=y(this.plugins,function(x){return A===x});if(T)return;if(this.plugins.push(A),!a(A))throw new Error("Plugins must be function values that return objects");var L=A.call(this);if(!i(L))throw new Error("Plugins must return an object of function properties");m(L,function(x,C){if(!a(x))throw new Error("Bad plugin property: "+C+" from plugin "+A.name+". Plugins should only return functions.");S._assignPluginFnProp(x,C)})},addStorage:function(A){o("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(A)}},b=h(w,r,{plugins:[]});return b.raw={},m(b,function(E,A){a(E)&&(b.raw[A]=v(b,E))}),m(n,function(E){b._addStorage(E)}),m(l,function(E){b._addPlugin(E)}),b}},"5rEg":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lwsE"),m=e.n(y),v=e("W8MJ"),h=e.n(v),c=e("7W2i"),a=e.n(c),i=e("LQ03"),r=e.n(i),o=e("lSNA"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),u=e("kbBi"),p=e.n(u),w=e("CWQg"),b=e("0n0R"),E=Object(w.a)("text","input");function A(Q){return!!(Q.prefix||Q.suffix||Q.allowClear)}var S=function(Q){a()(ue,Q);var ye=r()(ue);function ue(){var Ne;return m()(this,ue),Ne=ye.apply(this,arguments),Ne.containerRef=n.createRef(),Ne.onInputMouseUp=function(Te){var oe;if((oe=Ne.containerRef.current)===null||oe===void 0?void 0:oe.contains(Te.target)){var de=Ne.props.triggerFocus;de()}},Ne}return h()(ue,[{key:"renderClearIcon",value:function(Te){var oe=this.props,de=oe.allowClear,Le=oe.value,Ge=oe.disabled,ht=oe.readOnly,Et=oe.inputType,Be=oe.handleReset;if(!de)return null;var Dt=!Ge&&!ht&&Le,Ke=Et===E[0]?"".concat(Te,"-textarea-clear-icon"):"".concat(Te,"-clear-icon");return n.createElement(p.a,{onClick:Be,className:t()(Ke,d()({},"".concat(Ke,"-hidden"),!Dt)),role:"button"})}},{key:"renderSuffix",value:function(Te){var oe=this.props,de=oe.suffix,Le=oe.allowClear;return de||Le?n.createElement("span",{className:"".concat(Te,"-suffix")},this.renderClearIcon(Te),de):null}},{key:"renderLabeledIcon",value:function(Te,oe){var de,Le=this.props,Ge=Le.focused,ht=Le.value,Et=Le.prefix,Be=Le.className,Dt=Le.size,Ke=Le.suffix,At=Le.disabled,Xe=Le.allowClear,et=Le.direction,tt=Le.style,ot=Le.readOnly,Ve=Le.bordered,se=this.renderSuffix(Te);if(!A(this.props))return Object(b.a)(oe,{value:ht});var re=Et?n.createElement("span",{className:"".concat(Te,"-prefix")},Et):null,it=t()(Be,"".concat(Te,"-affix-wrapper"),(de={},d()(de,"".concat(Te,"-affix-wrapper-focused"),Ge),d()(de,"".concat(Te,"-affix-wrapper-disabled"),At),d()(de,"".concat(Te,"-affix-wrapper-sm"),Dt==="small"),d()(de,"".concat(Te,"-affix-wrapper-lg"),Dt==="large"),d()(de,"".concat(Te,"-affix-wrapper-input-with-clear-btn"),Ke&&Xe&&ht),d()(de,"".concat(Te,"-affix-wrapper-rtl"),et==="rtl"),d()(de,"".concat(Te,"-affix-wrapper-readonly"),ot),d()(de,"".concat(Te,"-affix-wrapper-borderless"),!Ve),de));return n.createElement("span",{ref:this.containerRef,className:it,style:tt,onMouseUp:this.onInputMouseUp},re,Object(b.a)(oe,{style:null,value:ht,className:F(Te,Ve,Dt,At)}),se)}},{key:"renderInputWithLabel",value:function(Te,oe){var de,Le,Ge=this.props,ht=Ge.addonBefore,Et=Ge.addonAfter,Be=Ge.style,Dt=Ge.size,Ke=Ge.className,At=Ge.direction;if(!ht&&!Et)return oe;var Xe="".concat(Te,"-group"),et="".concat(Xe,"-addon"),tt=ht?n.createElement("span",{className:et},ht):null,ot=Et?n.createElement("span",{className:et},Et):null,Ve=t()("".concat(Te,"-wrapper"),(de={},d()(de,Xe,ht||Et),d()(de,"".concat(Xe,"-rtl"),At==="rtl"),de)),se=t()(Ke,"".concat(Te,"-group-wrapper"),(Le={},d()(Le,"".concat(Te,"-group-wrapper-sm"),Dt==="small"),d()(Le,"".concat(Te,"-group-wrapper-lg"),Dt==="large"),d()(Le,"".concat(Te,"-group-wrapper-rtl"),At==="rtl"),Le));return n.createElement("span",{className:se,style:Be},n.createElement("span",{className:Ve},tt,Object(b.a)(oe,{style:null}),ot))}},{key:"renderTextAreaWithClearIcon",value:function(Te,oe){var de,Le=this.props,Ge=Le.value,ht=Le.allowClear,Et=Le.className,Be=Le.style,Dt=Le.direction,Ke=Le.bordered;if(!ht)return Object(b.a)(oe,{value:Ge});var At=t()(Et,"".concat(Te,"-affix-wrapper"),"".concat(Te,"-affix-wrapper-textarea-with-clear-btn"),(de={},d()(de,"".concat(Te,"-affix-wrapper-rtl"),Dt==="rtl"),d()(de,"".concat(Te,"-affix-wrapper-borderless"),!Ke),de));return n.createElement("span",{className:At,style:Be},Object(b.a)(oe,{style:null,value:Ge}),this.renderClearIcon(Te))}},{key:"render",value:function(){var Te=this.props,oe=Te.prefixCls,de=Te.inputType,Le=Te.element;return de===E[0]?this.renderTextAreaWithClearIcon(oe,Le):this.renderInputWithLabel(oe,this.renderLabeledIcon(oe,Le))}}]),ue}(n.Component),T=S,L=e("H84U"),x=e("3Nzz"),C=e("uaoM");function O(Q){return typeof Q=="undefined"||Q===null?"":Q}function N(Q,ye,ue){if(ue){var Ne=ye;if(ye.type==="click"){Ne=Object.create(ye),Ne.target=Q,Ne.currentTarget=Q;var Te=Q.value;Q.value="",ue(Ne),Q.value=Te;return}ue(Ne)}}function F(Q,ye,ue,Ne,Te){var oe;return t()(Q,(oe={},d()(oe,"".concat(Q,"-sm"),ue==="small"),d()(oe,"".concat(Q,"-lg"),ue==="large"),d()(oe,"".concat(Q,"-disabled"),Ne),d()(oe,"".concat(Q,"-rtl"),Te==="rtl"),d()(oe,"".concat(Q,"-borderless"),!ye),oe))}var k=function(Q){a()(ue,Q);var ye=r()(ue);function ue(Ne){var Te;m()(this,ue),Te=ye.call(this,Ne),Te.direction="ltr",Te.focus=function(){Te.input.focus()},Te.saveClearableInput=function(de){Te.clearableInput=de},Te.saveInput=function(de){Te.input=de},Te.onFocus=function(de){var Le=Te.props.onFocus;Te.setState({focused:!0},Te.clearPasswordValueAttribute),Le&&Le(de)},Te.onBlur=function(de){var Le=Te.props.onBlur;Te.setState({focused:!1},Te.clearPasswordValueAttribute),Le&&Le(de)},Te.handleReset=function(de){Te.setValue("",function(){Te.focus()}),N(Te.input,de,Te.props.onChange)},Te.renderInput=function(de,Le,Ge){var ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Et=Te.props,Be=Et.className,Dt=Et.addonBefore,Ke=Et.addonAfter,At=Et.size,Xe=Et.disabled,et=Object(s.default)(Te.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",f()({autoComplete:ht.autoComplete},et,{onChange:Te.handleChange,onFocus:Te.onFocus,onBlur:Te.onBlur,onKeyDown:Te.handleKeyDown,className:t()(F(de,Ge,At||Le,Xe,Te.direction),d()({},Be,Be&&!Dt&&!Ke)),ref:Te.saveInput}))},Te.clearPasswordValueAttribute=function(){Te.removePasswordTimeout=setTimeout(function(){Te.input&&Te.input.getAttribute("type")==="password"&&Te.input.hasAttribute("value")&&Te.input.removeAttribute("value")})},Te.handleChange=function(de){Te.setValue(de.target.value,Te.clearPasswordValueAttribute),N(Te.input,de,Te.props.onChange)},Te.handleKeyDown=function(de){var Le=Te.props,Ge=Le.onPressEnter,ht=Le.onKeyDown;de.keyCode===13&&Ge&&Ge(de),ht&&ht(de)},Te.renderComponent=function(de){var Le=de.getPrefixCls,Ge=de.direction,ht=de.input,Et=Te.state,Be=Et.value,Dt=Et.focused,Ke=Te.props,At=Ke.prefixCls,Xe=Ke.bordered,et=Xe===void 0?!0:Xe,tt=Le("input",At);return Te.direction=Ge,n.createElement(x.b.Consumer,null,function(ot){return n.createElement(T,f()({size:ot},Te.props,{prefixCls:tt,inputType:"input",value:O(Be),element:Te.renderInput(tt,ot,et,ht),handleReset:Te.handleReset,ref:Te.saveClearableInput,direction:Ge,focused:Dt,triggerFocus:Te.focus,bordered:et}))})};var oe=typeof Ne.value=="undefined"?Ne.defaultValue:Ne.value;return Te.state={value:oe,focused:!1,prevValue:Ne.value},Te}return h()(ue,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Te){return A(Te)!==A(this.props)&&Object(C.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(Te,oe){this.props.value===void 0&&this.setState({value:Te},oe)}},{key:"render",value:function(){return n.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Te,oe){var de=oe.prevValue,Le={prevValue:Te.value};return(Te.value!==void 0||de!==Te.value)&&(Le.value=Te.value),Le}}]),ue}(n.Component);k.defaultProps={type:"text"};var P=k,B=function(ye){return n.createElement(L.a,null,function(ue){var Ne,Te=ue.getPrefixCls,oe=ue.direction,de=ye.prefixCls,Le=ye.className,Ge=Le===void 0?"":Le,ht=Te("input-group",de),Et=t()(ht,(Ne={},d()(Ne,"".concat(ht,"-lg"),ye.size==="large"),d()(Ne,"".concat(ht,"-sm"),ye.size==="small"),d()(Ne,"".concat(ht,"-compact"),ye.compact),d()(Ne,"".concat(ht,"-rtl"),oe==="rtl"),Ne),Ge);return n.createElement("span",{className:Et,style:ye.style,onMouseEnter:ye.onMouseEnter,onMouseLeave:ye.onMouseLeave,onFocus:ye.onFocus,onBlur:ye.onBlur},ye.children)})},z=B,R=e("c+Xe"),U=e("w6Tc"),j=e.n(U),H=e("gZBC"),V=e.n(H),X=e("2/Rp"),W=function(Q,ye){var ue={};for(var Ne in Q)Object.prototype.hasOwnProperty.call(Q,Ne)&&ye.indexOf(Ne)<0&&(ue[Ne]=Q[Ne]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ne=Object.getOwnPropertySymbols(Q);Te<Ne.length;Te++)ye.indexOf(Ne[Te])<0&&Object.prototype.propertyIsEnumerable.call(Q,Ne[Te])&&(ue[Ne[Te]]=Q[Ne[Te]]);return ue},G=n.forwardRef(function(Q,ye){var ue=n.useRef(null),Ne=function(Be){var Dt=Q.onChange,Ke=Q.onSearch;Be&&Be.target&&Be.type==="click"&&Ke&&Ke(Be.target.value,Be),Dt&&Dt(Be)},Te=function(Be){var Dt;document.activeElement===((Dt=ue.current)===null||Dt===void 0?void 0:Dt.input)&&Be.preventDefault()},oe=function(Be){var Dt,Ke=Q.onSearch,At=Q.loading,Xe=Q.disabled;if(At||Xe)return;Ke&&Ke((Dt=ue.current)===null||Dt===void 0?void 0:Dt.input.value,Be)},de=function(Be){var Dt=Q.enterButton,Ke=Q.size;return Dt?n.createElement(x.b.Consumer,{key:"enterButton"},function(At){return n.createElement(X.a,{className:"".concat(Be,"-button"),type:"primary",size:Ke||At},n.createElement(V.a,null))}):n.createElement(V.a,{className:"".concat(Be,"-icon"),key:"loadingIcon"})},Le=function(Be){var Dt=Q.suffix,Ke=Q.enterButton,At=Q.loading;if(At&&!Ke)return[Dt,de(Be)];if(Ke)return Dt;var Xe=n.createElement(j.a,{className:"".concat(Be,"-icon"),key:"searchIcon",onClick:oe});return Dt?[Object(b.c)(Dt,null,{key:"suffix"}),Xe]:Xe},Ge=function(Be,Dt){var Ke=Q.enterButton,At=Q.disabled,Xe=Q.addonAfter,et=Q.loading,tt="".concat(Be,"-button");if(et&&Ke)return[de(Be),Xe];if(!Ke)return Xe;var ot,Ve=Ke,se=Ve.type&&Ve.type.__ANT_BUTTON===!0;return se||Ve.type==="button"?ot=Object(b.a)(Ve,f()({onMouseDown:Te,onClick:oe,key:"enterButton"},se?{className:tt,size:Dt}:{})):ot=n.createElement(X.a,{className:tt,type:"primary",size:Dt,disabled:At,key:"enterButton",onMouseDown:Te,onClick:oe},Ke===!0?n.createElement(j.a,null):Ke),Xe?[ot,Object(b.c)(Xe,null,{key:"addonAfter"})]:ot},ht=function(Be){var Dt=Be.getPrefixCls,Ke=Be.direction,At=Q.prefixCls,Xe=Q.inputPrefixCls,et=Q.enterButton,tt=Q.className,ot=Q.size,Ve=W(Q,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var se=Dt("input-search",At),re=Dt("input",Xe),it=function(be){var Zt;if(et){var dt;Zt=t()(se,tt,(dt={},d()(dt,"".concat(se,"-rtl"),Ke==="rtl"),d()(dt,"".concat(se,"-enter-button"),!!et),d()(dt,"".concat(se,"-").concat(be),!!be),dt))}else Zt=t()(se,tt,d()({},"".concat(se,"-rtl"),Ke==="rtl"));return Zt};return n.createElement(x.b.Consumer,null,function(qe){return n.createElement(P,f()({ref:Object(R.a)(ue,ye),onPressEnter:oe},Ve,{size:ot||qe,prefixCls:re,addonAfter:Ge(se,ot||qe),suffix:Le(se),onChange:Ne,className:it(ot||qe)}))})};return n.createElement(L.a,null,ht)});G.defaultProps={enterButton:!1},G.displayName="Search";var $=G,ge=e("Y1PL"),q=function(Q){a()(ue,Q);var ye=r()(ue);function ue(Ne){var Te;m()(this,ue),Te=ye.call(this,Ne),Te.focus=function(){Te.resizableTextArea.textArea.focus()},Te.saveTextArea=function(de){Te.resizableTextArea=de==null?void 0:de.resizableTextArea},Te.saveClearableInput=function(de){Te.clearableInput=de},Te.handleChange=function(de){Te.setValue(de.target.value),N(Te.resizableTextArea.textArea,de,Te.props.onChange)},Te.handleReset=function(de){Te.setValue("",function(){Te.focus()}),N(Te.resizableTextArea.textArea,de,Te.props.onChange)},Te.renderTextArea=function(de,Le){return n.createElement(ge.default,f()({},Object(s.default)(Te.props,["allowClear","bordered"]),{className:t()(Te.props.className,d()({},"".concat(de,"-borderless"),!Le)),prefixCls:de,onChange:Te.handleChange,ref:Te.saveTextArea}))},Te.renderComponent=function(de){var Le=de.getPrefixCls,Ge=de.direction,ht=Te.state.value,Et=Te.props,Be=Et.prefixCls,Dt=Et.bordered,Ke=Dt===void 0?!0:Dt,At=Le("input",Be);return n.createElement(T,f()({},Te.props,{prefixCls:At,direction:Ge,inputType:"text",value:O(ht),element:Te.renderTextArea(At,Ke),handleReset:Te.handleReset,ref:Te.saveClearableInput,triggerFocus:Te.focus,bordered:Ke}))};var oe=typeof Ne.value=="undefined"?Ne.defaultValue:Ne.value;return Te.state={value:oe},Te}return h()(ue,[{key:"setValue",value:function(Te,oe){this.props.value===void 0&&this.setState({value:Te},oe)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Te){return Te.value!==void 0?{value:Te.value}:null}}]),ue}(n.Component),Se=q,Ce=e("J4zp"),Ae=e.n(Ce),Ue=e("qPY4"),Qe=e.n(Ue),gt=e("fUL4"),_e=e.n(gt),Oe=function(Q,ye){var ue={};for(var Ne in Q)Object.prototype.hasOwnProperty.call(Q,Ne)&&ye.indexOf(Ne)<0&&(ue[Ne]=Q[Ne]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Ne=Object.getOwnPropertySymbols(Q);Te<Ne.length;Te++)ye.indexOf(Ne[Te])<0&&Object.prototype.propertyIsEnumerable.call(Q,Ne[Te])&&(ue[Ne[Te]]=Q[Ne[Te]]);return ue},lt={click:"onClick",hover:"onMouseOver"},ce=n.forwardRef(function(Q,ye){var ue=Object(n.useState)(!1),Ne=Ae()(ue,2),Te=Ne[0],oe=Ne[1],de=function(){var Et=Q.disabled;if(Et)return;oe(!Te)},Le=function(Et){var Be,Dt=Q.action,Ke=Q.iconRender,At=Ke===void 0?function(){return null}:Ke,Xe=lt[Dt]||"",et=At(Te),tt=(Be={},d()(Be,Xe,de),d()(Be,"className","".concat(Et,"-icon")),d()(Be,"key","passwordIcon"),d()(Be,"onMouseDown",function(Ve){Ve.preventDefault()}),d()(Be,"onMouseUp",function(Ve){Ve.preventDefault()}),Be);return n.cloneElement(n.isValidElement(et)?et:n.createElement("span",null,et),tt)},Ge=function(Et){var Be=Et.getPrefixCls,Dt=Q.className,Ke=Q.prefixCls,At=Q.inputPrefixCls,Xe=Q.size,et=Q.visibilityToggle,tt=Oe(Q,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),ot=Be("input",At),Ve=Be("input-password",Ke),se=et&&Le(Ve),re=t()(Ve,Dt,d()({},"".concat(Ve,"-").concat(Xe),!!Xe)),it=f()(f()({},Object(s.default)(tt,["suffix","iconRender"])),{type:Te?"text":"password",className:re,prefixCls:ot,suffix:se});return Xe&&(it.size=Xe),n.createElement(P,f()({ref:ye},it))};return n.createElement(L.a,null,Ge)});ce.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(ye){return ye?n.createElement(Qe.a,null):n.createElement(_e.a,null)}},ce.displayName="Password";var Y=ce;P.Group=z,P.Search=$,P.TextArea=Se,P.Password=Y;var K=_.a=P},"5s0K":function(D,_,e){var g=e("bYtY");function f(){var y=[],m={},v;return{add:function(h,c,a,i,r){return g.isString(i)&&(r=i,i=0),m[h.id]?!1:(m[h.id]=1,y.push({el:h,target:c,time:a,delay:i,easing:r}),!0)},done:function(h){return v=h,this},start:function(){for(var h=y.length,c=0,a=y.length;c<a;c++){var i=y[c];i.el.animateTo(i.target,i.time,i.delay,i.easing,r)}return this;function r(){h--,h||(y.length=0,m={},v&&v())}}}}_.createWrap=f},"5yev":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};_.default=g},"6/nd":function(D,_,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,y){var m=f.scrollDataIndex;m!=null&&y.eachComponent({mainType:"legend",subType:"scroll",query:f},function(v){v.setScrollDataIndex(m)})})},"62sa":function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=f.makeInner,m=e("zTMp"),v=e("Ez2D"),h=g.each,c=g.curry,a=y();function i(b,E,A){var S=b.currTrigger,T=[b.x,b.y],L=b,x=b.dispatchAction||g.bind(A.dispatchAction,A),C=E.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;w(T)&&(T=v({seriesIndex:L.seriesIndex,dataIndex:L.dataIndex},E).point);var O=w(T),N=L.axesInfo,F=C.axesInfo,k=S==="leave"||w(T),P={},B={},z={list:[],map:{}},R={showPointer:c(d,B),showTooltip:c(n,z)};h(C.coordSysMap,function(j,H){var V=O||j.containPoint(T);h(C.coordSysAxesInfo[H],function(X,W){var G=X.axis,$=u(N,X);if(!k&&V&&(!N||$)){var ge=$&&$.value;ge==null&&!O&&(ge=G.pointToData(T)),ge!=null&&r(X,ge,R,!1,P)}})});var U={};return h(F,function(j,H){var V=j.linkGroup;V&&!B[H]&&h(V.axesInfo,function(X,W){var G=B[W];if(X!==j&&G){var $=G.value;V.mapper&&($=j.axis.scale.parse(V.mapper($,p(X),p(j)))),U[j.key]=$}})}),h(U,function(j,H){r(F[H],j,R,!0,P)}),l(B,F,P),t(z,T,b,x),s(F,x,A),P}function r(b,E,A,S,T){var L=b.axis;if(L.scale.isBlank()||!L.containData(E))return;if(!b.involveSeries){A.showPointer(b,E);return}var x=o(E,b),C=x.payloadBatch,O=x.snapToValue;C[0]&&T.seriesIndex==null&&g.extend(T,C[0]),!S&&b.snap&&(L.containData(O)&&O!=null&&(E=O)),A.showPointer(b,E,C,T),A.showTooltip(b,x,O)}function o(b,E){var A=E.axis,S=A.dim,T=b,L=[],x=Number.MAX_VALUE,C=-1;return h(E.seriesModels,function(O,N){var F=O.getData().mapDimension(S,!0),k,P;if(O.getAxisTooltipData){var B=O.getAxisTooltipData(F,b,A);P=B.dataIndices,k=B.nestestValue}else{if(P=O.getData().indicesOfNearest(F[0],b,A.type==="category"?.5:null),!P.length)return;k=O.getData().get(F[0],P[0])}if(k==null||!isFinite(k))return;var z=b-k,R=Math.abs(z);R<=x&&((R<x||z>=0&&C<0)&&(x=R,C=z,T=k,L.length=0),h(P,function(U){L.push({seriesIndex:O.seriesIndex,dataIndexInside:U,dataIndex:O.getData().getRawIndex(U)})}))}),{payloadBatch:L,snapToValue:T}}function d(b,E,A,S){b[E.key]={value:A,payloadBatch:S}}function n(b,E,A,S){var T=A.payloadBatch,L=E.axis,x=L.model,C=E.axisPointerModel;if(!E.triggerTooltip||!T.length)return;var O=E.coordSys.model,N=m.makeKey(O),F=b.map[N];F||(F=b.map[N]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},b.list.push(F)),F.dataByAxis.push({axisDim:L.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:S,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:T.slice()})}function l(b,E,A){var S=A.axesInfo=[];h(E,function(T,L){var x=T.axisPointerModel.option,C=b[L];C?(!T.useHandle&&(x.status="show"),x.value=C.value,x.seriesDataIndices=(C.payloadBatch||[]).slice()):!T.useHandle&&(x.status="hide"),x.status==="show"&&S.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:x.value})})}function t(b,E,A,S){if(w(E)||!b.list.length){S({type:"hideTip"});return}var T=((b.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:E[0],y:E[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:b.list})}function s(b,E,A){var S=A.getZr(),T="axisPointerLastHighlights",L=a(S)[T]||{},x=a(S)[T]={};h(b,function(N,F){var k=N.axisPointerModel.option;k.status==="show"&&h(k.seriesDataIndices,function(P){var B=P.seriesIndex+" | "+P.dataIndex;x[B]=P})});var C=[],O=[];g.each(L,function(N,F){!x[F]&&O.push(N)}),g.each(x,function(N,F){!L[F]&&C.push(N)}),O.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),C.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function u(b,E){for(var A=0;A<(b||[]).length;A++){var S=b[A];if(E.axis.dim===S.axisDim&&E.axis.model.componentIndex===S.axisIndex)return S}}function p(b){var E=b.axis.model,A={},S=A.axisDim=b.axis.dim;return A.axisIndex=A[S+"AxisIndex"]=E.componentIndex,A.axisName=A[S+"AxisName"]=E.name,A.axisId=A[S+"AxisId"]=E.id,A}function w(b){return!b||b[0]==null||isNaN(b[0])||b[1]==null||isNaN(b[1])}D.exports=i},"6BzB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.shrinkBuf=g,_.arraySet=f,_.flattenChunks=y,_.Buf32=_.Buf16=_.Buf8=void 0;function g(c,a){return c.length===a?c:c.subarray?c.subarray(0,a):(c.length=a,c)}function f(c,a,i,r,o){if(a.subarray&&c.subarray){c.set(a.subarray(i,i+r),o);return}for(var d=0;d<r;d++)c[o+d]=a[i+d]}function y(c){var a,i,r,o,d,n;for(r=0,a=0,i=c.length;a<i;a++)r+=c[a].length;for(n=new Uint8Array(r),o=0,a=0,i=c.length;a<i;a++)d=c[a],n.set(d,o),o+=d.length;return n}var m=Uint8Array;_.Buf8=m;var v=Uint16Array;_.Buf16=v;var h=Int32Array;_.Buf32=h},"6D9b":function(D,_,e){},"6GrX":function(D,_,e){var g=e("mFDi"),f=e("Xnb7"),y=e("bYtY"),m=y.getContext,v=y.extend,h=y.retrieve2,c=y.retrieve3,a=y.trim,i={},r=0,o=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(z,R){l[z]=R}function s(z,R){R=R||n;var U=z+":"+R;if(i[U])return i[U];for(var j=(z+"").split(`
|
|
|
`),H=0,V=0,X=j.length;V<X;V++)H=Math.max(N(j[V],R).width,H);return r>o&&(r=0,i={}),r++,i[U]=H,H}function u(z,R,U,j,H,V,X,W){return X?w(z,R,U,j,H,V,X,W):p(z,R,U,j,H,V,W)}function p(z,R,U,j,H,V,X){var W=F(z,R,H,V,X),G=s(z,R);H&&(G+=H[1]+H[3]);var $=W.outerHeight,ge=b(0,G,U),q=E(0,$,j),Se=new g(ge,q,G,$);return Se.lineHeight=W.lineHeight,Se}function w(z,R,U,j,H,V,X,W){var G=k(z,{rich:X,truncate:W,font:R,textAlign:U,textPadding:H,textLineHeight:V}),$=G.outerWidth,ge=G.outerHeight,q=b(0,$,U),Se=E(0,ge,j);return new g(q,Se,$,ge)}function b(z,R,U){return U==="right"?z-=R:U==="center"&&(z-=R/2),z}function E(z,R,U){return U==="middle"?z-=R/2:U==="bottom"&&(z-=R),z}function A(z,R,U){var j=R.textPosition,H=R.textDistance,V=U.x,X=U.y;H=H||0;var W=U.height,G=U.width,$=W/2,ge="left",q="top";switch(j){case"left":V-=H,X+=$,ge="right",q="middle";break;case"right":V+=H+G,X+=$,q="middle";break;case"top":V+=G/2,X-=H,ge="center",q="bottom";break;case"bottom":V+=G/2,X+=W+H,ge="center";break;case"inside":V+=G/2,X+=$,ge="center",q="middle";break;case"insideLeft":V+=H,X+=$,q="middle";break;case"insideRight":V+=G-H,X+=$,ge="right",q="middle";break;case"insideTop":V+=G/2,X+=H,ge="center";break;case"insideBottom":V+=G/2,X+=W-H,ge="center",q="bottom";break;case"insideTopLeft":V+=H,X+=H;break;case"insideTopRight":V+=G-H,X+=H,ge="right";break;case"insideBottomLeft":V+=H,X+=W-H,q="bottom";break;case"insideBottomRight":V+=G-H,X+=W-H,ge="right",q="bottom";break}return z=z||{},z.x=V,z.y=X,z.textAlign=ge,z.textVerticalAlign=q,z}function S(z,R,U){var j={textPosition:z,textDistance:U};return A({},j,R)}function T(z,R,U,j,H){if(!R)return"";var V=(z+"").split(`
|
|
|
`);H=L(R,U,j,H);for(var X=0,W=V.length;X<W;X++)V[X]=x(V[X],H);return V.join(`
|
|
|
`)}function L(z,R,U,j){j=v({},j),j.font=R;var U=h(U,"...");j.maxIterations=h(j.maxIterations,2);var H=j.minChar=h(j.minChar,0);j.cnCharWidth=s("\u56FD",R);var V=j.ascCharWidth=s("a",R);j.placeholder=h(j.placeholder,"");for(var X=z=Math.max(0,z-1),W=0;W<H&&X>=V;W++)X-=V;var G=s(U,R);return G>X&&(U="",G=0),X=z-G,j.ellipsis=U,j.ellipsisWidth=G,j.contentWidth=X,j.containerWidth=z,j}function x(z,R){var U=R.containerWidth,j=R.font,H=R.contentWidth;if(!U)return"";var V=s(z,j);if(V<=U)return z;for(var X=0;;X++){if(V<=H||X>=R.maxIterations){z+=R.ellipsis;break}var W=X===0?C(z,H,R.ascCharWidth,R.cnCharWidth):V>0?Math.floor(z.length*H/V):0;z=z.substr(0,W),V=s(z,j)}return z===""&&(z=R.placeholder),z}function C(z,R,U,j){for(var H=0,V=0,X=z.length;V<X&&H<R;V++){var W=z.charCodeAt(V);H+=0<=W&&W<=127?U:j}return V}function O(z){return s("\u56FD",z)}function N(z,R){return l.measureText(z,R)}l.measureText=function(z,R){var U=m();return U.font=R||n,U.measureText(z)};function F(z,R,U,j,H){z!=null&&(z+="");var V=h(j,O(R)),X=z?z.split(`
|
|
|
`):[],W=X.length*V,G=W,$=!0;if(U&&(G+=U[0]+U[2]),z&&H){$=!1;var ge=H.outerHeight,q=H.outerWidth;if(ge!=null&&G>ge)z="",X=[];else if(q!=null)for(var Se=L(q-(U?U[1]+U[3]:0),R,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Ce=0,Ae=X.length;Ce<Ae;Ce++)X[Ce]=x(X[Ce],Se)}return{lines:X,height:W,outerHeight:G,lineHeight:V,canCacheByTextString:$}}function k(z,R){var U={lines:[],width:0,height:0};if(z!=null&&(z+=""),!z)return U;for(var j=d.lastIndex=0,H;(H=d.exec(z))!=null;){var V=H.index;V>j&&P(U,z.substring(j,V)),P(U,H[2],H[1]),j=d.lastIndex}j<z.length&&P(U,z.substring(j,z.length));var X=U.lines,W=0,G=0,$=[],ge=R.textPadding,q=R.truncate,Se=q&&q.outerWidth,Ce=q&&q.outerHeight;ge&&(Se!=null&&(Se-=ge[1]+ge[3]),Ce!=null&&(Ce-=ge[0]+ge[2]));for(var Ae=0;Ae<X.length;Ae++){for(var Ue=X[Ae],Qe=0,gt=0,_e=0;_e<Ue.tokens.length;_e++){var Oe=Ue.tokens[_e],lt=Oe.styleName&&R.rich[Oe.styleName]||{},ce=Oe.textPadding=lt.textPadding,Y=Oe.font=lt.font||R.font,K=Oe.textHeight=h(lt.textHeight,O(Y));if(ce&&(K+=ce[0]+ce[2]),Oe.height=K,Oe.lineHeight=c(lt.textLineHeight,R.textLineHeight,K),Oe.textAlign=lt&<.textAlign||R.textAlign,Oe.textVerticalAlign=lt&<.textVerticalAlign||"middle",Ce!=null&&W+Oe.lineHeight>Ce)return{lines:[],width:0,height:0};Oe.textWidth=s(Oe.text,Y);var Q=lt.textWidth,ye=Q==null||Q==="auto";if(typeof Q=="string"&&Q.charAt(Q.length-1)==="%")Oe.percentWidth=Q,$.push(Oe),Q=0;else{if(ye){Q=Oe.textWidth;var ue=lt.textBackgroundColor,Ne=ue&&ue.image;Ne&&(Ne=f.findExistImage(Ne),f.isImageReady(Ne)&&(Q=Math.max(Q,Ne.width*K/Ne.height)))}var Te=ce?ce[1]+ce[3]:0;Q+=Te;var oe=Se!=null?Se-gt:null;oe!=null&&oe<Q&&(!ye||oe<Te?(Oe.text="",Oe.textWidth=Q=0):(Oe.text=T(Oe.text,oe-Te,Y,q.ellipsis,{minChar:q.minChar}),Oe.textWidth=s(Oe.text,Y),Q=Oe.textWidth+Te))}gt+=Oe.width=Q,lt&&(Qe=Math.max(Qe,Oe.lineHeight))}Ue.width=gt,Ue.lineHeight=Qe,W+=Qe,G=Math.max(G,gt)}U.outerWidth=U.width=h(R.textWidth,G),U.outerHeight=U.height=h(R.textHeight,W),ge&&(U.outerWidth+=ge[1]+ge[3],U.outerHeight+=ge[0]+ge[2]);for(var Ae=0;Ae<$.length;Ae++){var Oe=$[Ae],de=Oe.percentWidth;Oe.width=parseInt(de,10)/100*G}return U}function P(z,R,U){for(var j=R==="",H=R.split(`
|
|
|
`),V=z.lines,X=0;X<H.length;X++){var W=H[X],G={styleName:U,text:W,isLineHolder:!W&&!j};if(X)V.push({tokens:[G]});else{var $=(V[V.length-1]||(V[0]={tokens:[]})).tokens,ge=$.length;ge===1&&$[0].isLineHolder?$[0]=G:(W||!ge||j)&&$.push(G)}}}function B(z){var R=(z.fontSize||z.fontFamily)&&[z.fontStyle,z.fontWeight,(z.fontSize||12)+"px",z.fontFamily||"sans-serif"].join(" ");return R&&a(R)||z.textFont||z.font}_.DEFAULT_FONT=n,_.$override=t,_.getWidth=s,_.getBoundingRect=u,_.adjustTextX=b,_.adjustTextY=E,_.calculateTextPosition=A,_.adjustTextPositionOnRect=S,_.truncateText=T,_.getLineHeight=O,_.measureText=N,_.parsePlainText=F,_.parseRichText=k,_.makeFont=B},"6Hfg":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("FhB9")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SwapRightOutlined";var c=y.forwardRef(h);_.default=c},"6Ic6":function(D,_,e){var g=e("bYtY"),f=g.each,y=e("4fz+"),m=e("iRjW"),v=e("Yl7c"),h=e("4NO4"),c=e("IwbS"),a=e("9H2F"),i=a.createTask,r=e("zM3Q"),o=h.makeInner(),d=r();function n(){this.group=new y,this.uid=m.getUID("viewChart"),this.renderTask=i({plan:u,reset:p}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(E,A){},render:function(E,A,S,T){},highlight:function(E,A,S,T){s(E.getData(),T,"emphasis")},downplay:function(E,A,S,T){s(E.getData(),T,"normal")},remove:function(E,A){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(E,A,S,T){this.render(E,A,S,T)};function t(E,A,S){if(E&&(E.trigger(A,S),E.isGroup&&!c.isHighDownDispatcher(E)))for(var T=0,L=E.childCount();T<L;T++)t(E.childAt(T),A,S)}function s(E,A,S){var T=h.queryDataIndex(E,A),L=A&&A.highlightKey!=null?c.getHighlightDigit(A.highlightKey):null;T!=null?f(h.normalizeToArray(T),function(x){t(E.getItemGraphicEl(x),S,L)}):E.eachItemGraphicEl(function(x){t(x,S,L)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(E,A){o(E).updateMethod=A};function u(E){return d(E.model)}function p(E){var A=E.model,S=E.ecModel,T=E.api,L=E.payload,x=A.pipelineContext.progressiveRender,C=E.view,O=L&&o(L).updateMethod,N=x?"incrementalPrepareRender":O&&C[O]?O:"render";return N!=="render"&&C[N](A,S,T,L),w[N]}var w={incrementalPrepareRender:{progress:function(E,A){A.view.incrementalRender(E,A.model,A.ecModel,A.api,A.payload)}},render:{forceFirstProgress:!0,progress:function(E,A){A.view.render(A.model,A.ecModel,A.api,A.payload)}}},b=n;D.exports=b},"6MrE":function(D,_,e){},"6Qwc":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};_.default=g},"6SEX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"6UJt":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("v56E"),m=e.n(y),v=e("R9oj"),h=e("5NDa")},"6VBw":function(D,_,e){"use strict";var g=e("ODXe"),f=e("rePB"),y=e("Ff2n"),m=e("q1tI"),v=e("TSYQ"),h=e.n(v),c=e("VTBJ"),a=e("Qi1f"),i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function r(p){var w=p.primaryColor,b=p.secondaryColor;i.primaryColor=w,i.secondaryColor=b||Object(a.b)(w),i.calculated=!!b}function o(){return Object(c.a)({},i)}var d=function(w){var b=w.icon,E=w.className,A=w.onClick,S=w.style,T=w.primaryColor,L=w.secondaryColor,x=Object(y.a)(w,["icon","className","onClick","style","primaryColor","secondaryColor"]),C=i;if(T&&(C={primaryColor:T,secondaryColor:L||Object(a.b)(T)}),Object(a.f)(),Object(a.g)(Object(a.c)(b),"icon should be icon definiton, but got ".concat(b)),!Object(a.c)(b))return null;var O=b;return O&&typeof O.icon=="function"&&(O=Object(c.a)(Object(c.a)({},O),{},{icon:O.icon(C.primaryColor,C.secondaryColor)})),Object(a.a)(O.icon,"svg-".concat(O.name),Object(c.a)({className:E,onClick:A,style:S,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},x))};d.displayName="IconReact",d.getTwoToneColors=o,d.setTwoToneColors=r;var n=d;function l(p){var w=Object(a.d)(p),b=Object(g.a)(w,2),E=b[0],A=b[1];return n.setTwoToneColors({primaryColor:E,secondaryColor:A})}function t(){var p=n.getTwoToneColors();return p.calculated?[p.primaryColor,p.secondaryColor]:p.primaryColor}l("#1890ff");var s=m.forwardRef(function(p,w){var b=p.className,E=p.icon,A=p.spin,S=p.rotate,T=p.tabIndex,L=p.onClick,x=p.twoToneColor,C=Object(y.a)(p,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),O=h()("anticon",Object(f.a)({},"anticon-".concat(E.name),Boolean(E.name)),b),N=h()({"anticon-spin":!!A||E.name==="loading"}),F=T;F===void 0&&L&&(F=-1);var k=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,P=Object(a.d)(x),B=Object(g.a)(P,2),z=B[0],R=B[1];return m.createElement("span",Object.assign({role:"img","aria-label":E.name},C,{ref:w,tabIndex:F,onClick:L,className:O}),m.createElement(n,{className:N,icon:E,primaryColor:z,secondaryColor:R,style:k}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var u=_.a=s},"6cGi":function(D,_,e){"use strict";e.d(_,"a",function(){return i});var g=e("q1tI"),f=e.n(g);function y(r,o){return a(r)||c(r,o)||v(r,o)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(r,o){if(!r)return;if(typeof r=="string")return h(r,o);var d=Object.prototype.toString.call(r).slice(8,-1);if(d==="Object"&&r.constructor&&(d=r.constructor.name),d==="Map"||d==="Set")return Array.from(r);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return h(r,o)}function h(r,o){(o==null||o>r.length)&&(o=r.length);for(var d=0,n=new Array(o);d<o;d++)n[d]=r[d];return n}function c(r,o){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(r)))return;var d=[],n=!0,l=!1,t=void 0;try{for(var s=r[Symbol.iterator](),u;!(n=(u=s.next()).done)&&!(d.push(u.value),o&&d.length===o);n=!0);}catch(p){l=!0,t=p}finally{try{!n&&s.return!=null&&s.return()}finally{if(l)throw t}}return d}function a(r){if(Array.isArray(r))return r}function i(r,o){var d=o||{},n=d.defaultValue,l=d.value,t=d.onChange,s=d.postState,u=g.useState(function(){return l!==void 0?l:n!==void 0?typeof n=="function"?n():n:typeof r=="function"?r():r}),p=y(u,2),w=p[0],b=p[1],E=l!==void 0?l:w;s&&(E=s(E));function A(T){b(T),E!==T&&t&&t(T,E)}var S=g.useRef(!0);return g.useEffect(function(){if(S.current){S.current=!1;return}l===void 0&&b(l)},[l]),[E,A]}},"6fms":function(D,_,e){var g=e("SUKs"),f=e("06Qe"),y=e("bYtY"),m=y.each;function v(i){return parseInt(i,10)}function h(i,r){f.initVML(),this.root=i,this.storage=r;var o=document.createElement("div"),d=document.createElement("div");o.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",d.style.cssText="position:absolute;left:0;top:0;",i.appendChild(o),this._vmlRoot=d,this._vmlViewport=o,this.resize();var n=r.delFromStorage,l=r.addToStorage;r.delFromStorage=function(t){n.call(r,t),t&&(t.onRemove&&t.onRemove(d))},r.addToStorage=function(t){t.onAdd&&t.onAdd(d),l.call(r,t)},this._firstPaint=!0}h.prototype={constructor:h,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},refresh:function(){var r=this.storage.getDisplayList(!0,!0);this._paintList(r)},_paintList:function(r){for(var o=this._vmlRoot,d=0;d<r.length;d++){var n=r[d];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(o),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(o),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,o),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(o),this._firstPaint=!1)},resize:function(r,o){var r=r==null?this._getWidth():r,o=o==null?this._getHeight():o;if(this._width!==r||this._height!==o){this._width=r,this._height=o;var d=this._vmlViewport.style;d.width=r+"px",d.height=o+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var r=this.root,o=r.currentStyle;return(r.clientWidth||v(o.width))-v(o.paddingLeft)-v(o.paddingRight)|0},_getHeight:function(){var r=this.root,o=r.currentStyle;return(r.clientHeight||v(o.height))-v(o.paddingTop)-v(o.paddingBottom)|0}};function c(i){return function(){g('In IE8.0 VML mode painter not support method "'+i+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(i){h.prototype[i]=c(i)});var a=h;D.exports=a},"6r85":function(D,_,e){var g=e("bYtY");function f(y){if(!y||!g.isArray(y.series))return;g.each(y.series,function(m){g.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}D.exports=f},"6sVZ":function(D,_){var e=Object.prototype;function g(f){var y=f&&f.constructor,m=typeof y=="function"&&y.prototype||e;return f===m}D.exports=g},"6uqw":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),m=e("YOMW"),v=e("XxSj"),h=e("K4ya"),c=e("4NO4"),a=e("OELB"),i=v.mapVisual,r=v.eachVisual,o=f.isArray,d=f.each,n=a.asc,l=a.linearMap,t=f.noop,s=g.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(p,w,b){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(p,b)},optionUpdated:function(p,w){var b=this.option;y.canvasSupported||(b.realtime=!1),!w&&h.replaceVisualOption(b,p,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(p){var w=this.stateList;p=f.bind(p,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,w,p),this.targetVisuals=h.createVisualMappings(this.option.target,w,p)},getTargetSeriesIndices:function(){var p=this.option.seriesIndex,w=[];return p==null||p==="all"?this.ecModel.eachSeries(function(b,E){w.push(E)}):w=c.normalizeToArray(p),w},eachTargetSeries:function(p,w){f.each(this.getTargetSeriesIndices(),function(b){p.call(w,this.ecModel.getSeriesByIndex(b))},this)},isTargetSeries:function(p){var w=!1;return this.eachTargetSeries(function(b){b===p&&(w=!0)}),w},formatValueText:function(p,w,b){var E=this.option,A=E.precision,S=this.dataBound,T=E.formatter,L,x;if(b=b||["<",">"],f.isArray(p)&&(p=p.slice(),L=!0),x=w?p:L?[C(p[0]),C(p[1])]:C(p),f.isString(T))return T.replace("{value}",L?x[0]:x).replace("{value2}",L?x[1]:x);if(f.isFunction(T))return L?T(p[0],p[1]):T(p);if(L)return p[0]===S[0]?b[0]+" "+x[1]:p[1]===S[1]?b[1]+" "+x[0]:x[0]+" - "+x[1];return x;function C(O){return O===S[0]?"min":O===S[1]?"max":(+O).toFixed(Math.min(A,20))}},resetExtent:function(){var p=this.option,w=n([p.min,p.max]);this._dataExtent=w},getDataDimension:function(p){var w=this.option.dimension,b=p.dimensions;if(w==null&&!b.length)return;if(w!=null)return p.getDimension(w);for(var E=p.dimensions,A=E.length-1;A>=0;A--){var S=E[A],T=p.getDimensionInfo(S);if(!T.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,w=this.option,b={inRange:w.inRange,outOfRange:w.outOfRange},E=w.target||(w.target={}),A=w.controller||(w.controller={});f.merge(E,b),f.merge(A,b);var S=this.isCategory();T.call(this,E),T.call(this,A),L.call(this,E,"inRange","outOfRange"),x.call(this,A);function T(C){o(w.color)&&!C.inRange&&(C.inRange={color:w.color.slice().reverse()}),C.inRange=C.inRange||{color:p.get("gradientColor")},d(this.stateList,function(O){var N=C[O];if(f.isString(N)){var F=m.get(N,"active",S);F?(C[O]={},C[O][N]=F):delete C[O]}},this)}function L(C,O,N){var F=C[O],k=C[N];F&&!k&&(k=C[N]={},d(F,function(P,B){if(!v.isValidType(B))return;var z=m.get(B,"inactive",S);z!=null&&(k[B]=z,B==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function x(C){var O=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,N=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,F=this.get("inactiveColor");d(this.stateList,function(k){var P=this.itemSize,B=C[k];B||(B=C[k]={color:S?F:[F]}),B.symbol==null&&(B.symbol=O&&f.clone(O)||(S?"roundRect":["roundRect"])),B.symbolSize==null&&(B.symbolSize=N&&f.clone(N)||(S?P[0]:[P[0],P[0]])),B.symbol=i(B.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var z=B.symbolSize;if(z!=null){var R=-Infinity;r(z,function(U){U>R&&(R=U)}),B.symbolSize=i(z,function(U){return l(U,[0,R],[0,P[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),u=s;D.exports=u},"6usn":function(D,_,e){var g=e("bYtY");function f(m,v){return g.map(["Radius","Angle"],function(h,c){var a=this["get"+h+"Axis"](),i=v[c],r=m[c]/2,o="dataTo"+h,d=a.type==="category"?a.getBandWidth():Math.abs(a[o](i-r)-a[o](i+r));return h==="Angle"&&(d=d*Math.PI/180),d},this)}function y(m){var v=m.getRadiusAxis(),h=m.getAngleAxis(),c=v.getExtent();return c[0]>c[1]&&c.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:c[1],r0:c[0]},api:{coord:g.bind(function(a){var i=v.dataToRadius(a[0]),r=h.dataToAngle(a[1]),o=m.coordToPoint([i,r]);return o.push(i,r*Math.PI/180),o}),size:g.bind(f,m)}}}D.exports=y},"6xvX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"711d":function(D,_){function e(g){return function(f){return f==null?void 0:f[g]}}D.exports=e},"72pK":function(D,_){function e(y,m,v,h,c,a){y=y||0;var i=v[1]-v[0];if(c!=null&&(c=f(c,[0,i])),a!=null&&(a=Math.max(a,c!=null?c:0)),h==="all"){var r=Math.abs(m[1]-m[0]);r=f(r,[0,i]),c=a=f(r,[c,a]),h=0}m[0]=f(m[0],v),m[1]=f(m[1],v);var o=g(m,h);m[h]+=y;var d=c||0,n=v.slice();o.sign<0?n[0]+=d:n[1]-=d,m[h]=f(m[h],n);var l=g(m,h);c!=null&&(l.sign!==o.sign||l.span<c)&&(m[1-h]=m[h]+o.sign*c);var l=g(m,h);return a!=null&&l.span>a&&(m[1-h]=m[h]+l.sign*a),m}function g(y,m){var v=y[m]-y[1-m];return{span:Math.abs(v),sign:v>0?-1:v<0?1:m?-1:1}}function f(y,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,y))}D.exports=e},"75ce":function(D,_,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),y=e("h8O9"),m=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(y("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(D,_,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),y=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(y)},"77Zs":function(D,_,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}D.exports=f},"7AJT":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom"};y.prototype={constructor:y,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),v&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,h){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},g.inherits(y,f);var m=y;D.exports=m},"7Cbv":function(D,_,e){"use strict";var g=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),f=new Uint8Array(16);function y(){if(!g)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(f)}var m=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function v(n){return typeof n=="string"&&m.test(n)}for(var h=v,c=[],a=0;a<256;++a)c.push((a+256).toString(16).substr(1));function i(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(c[n[l+0]]+c[n[l+1]]+c[n[l+2]]+c[n[l+3]]+"-"+c[n[l+4]]+c[n[l+5]]+"-"+c[n[l+6]]+c[n[l+7]]+"-"+c[n[l+8]]+c[n[l+9]]+"-"+c[n[l+10]]+c[n[l+11]]+c[n[l+12]]+c[n[l+13]]+c[n[l+14]]+c[n[l+15]]).toLowerCase();if(!h(t))throw TypeError("Stringified UUID is invalid");return t}var r=i;function o(n,l,t){n=n||{};var s=n.random||(n.rng||y)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,l){t=t||0;for(var u=0;u<16;++u)l[t+u]=s[u];return l}return r(s)}var d=_.a=o},"7DRL":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.createHashMap,v=y.isString,h=y.isArray,c=y.each,a=y.assert,i=e("MEGo"),r=i.parseXML,o=m(),d={registerMap:function(l,t,s){var u;return h(t)?u=t:t.svg?u=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),u=[{type:"geoJSON",source:t,specialAreas:s}]),c(u,function(p){var w=p.type;w==="geoJson"&&(w=p.type="geoJSON");var b=n[w];b(p)}),o.set(l,u)},retrieveMap:function(l){return o.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=r(l.source)}};D.exports=d},"7G+c":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.isTypedArray,m=e("Yl7c"),v=m.enableClassCheck,h=e("k9D9"),c=h.SOURCE_FORMAT_ORIGINAL,a=h.SERIES_LAYOUT_BY_COLUMN,i=h.SOURCE_FORMAT_UNKNOWN,r=h.SOURCE_FORMAT_TYPED_ARRAY,o=h.SOURCE_FORMAT_KEYED_COLUMNS;function d(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===o?{}:[]),this.sourceFormat=l.sourceFormat||i,this.seriesLayoutBy=l.seriesLayoutBy||a,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&f(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}d.seriesDataToSource=function(l){return new d({data:l,sourceFormat:y(l)?r:c,fromDataset:!1})},v(d);var n=d;D.exports=n},"7GkX":function(D,_,e){var g=e("b80T"),f=e("A90E"),y=e("MMmD");function m(v){return y(v)?g(v):f(v)}D.exports=m},"7Kak":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KPFz"),m=e.n(y)},"7Phj":function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=g.each;function v(i){var r=h(i);m(r,function(o){var d=o.seriesModels;if(!d.length)return;c(o),m(d,function(n,l){a(n,o.boxOffsetList[l],o.boxWidthList[l])})})}function h(i){var r=[],o=[];return i.eachSeriesByType("boxplot",function(d){var n=d.getBaseAxis(),l=g.indexOf(o,n);l<0&&(l=o.length,o[l]=n,r[l]={axis:n,seriesModels:[]}),r[l].seriesModels.push(d)}),r}function c(i){var r,o=i.axis,d=i.seriesModels,n=d.length,l=i.boxWidthList=[],t=i.boxOffsetList=[],s=[],u;if(o.type==="category")u=o.getBandWidth();else{var p=0;m(d,function(S){p=Math.max(p,S.getData().count())}),r=o.getExtent(),Math.abs(r[1]-r[0])/p}m(d,function(S){var T=S.get("boxWidth");g.isArray(T)||(T=[T,T]),s.push([y(T[0],u)||0,y(T[1],u)||0])});var w=u*.8-2,b=w/n*.3,E=(w-b*(n-1))/n,A=E/2-w/2;m(d,function(S,T){t.push(A),A+=b+E,l.push(Math.min(Math.max(E,s[T][0]),s[T][1]))})}function a(i,r,o){var d=i.coordinateSystem,n=i.getData(),l=o/2,t=i.get("layout")==="horizontal"?0:1,s=1-t,u=["x","y"],p=n.mapDimension(u[t]),w=n.mapDimension(u[s],!0);if(p==null||w.length<5)return;for(var b=0;b<n.count();b++){var E=n.get(p,b),A=O(E,w[2],b),S=O(E,w[0],b),T=O(E,w[1],b),L=O(E,w[3],b),x=O(E,w[4],b),C=[];N(C,T,0),N(C,L,1),C.push(S,T,x,L),F(C,S),F(C,x),F(C,A),n.setItemLayout(b,{initBaseline:A[s],ends:C})}function O(k,P,B){var z=n.get(P,B),R=[];R[t]=k,R[s]=z;var U;return isNaN(k)||isNaN(z)?U=[NaN,NaN]:(U=d.dataToPoint(R),U[t]+=r),U}function N(k,P,B){var z=P.slice(),R=P.slice();z[t]+=l,R[t]-=l,B?k.push(z,R):k.push(R,z)}function F(k,P){var B=P.slice(),z=P.slice();B[t]-=l,z[t]+=l,k.push(B,z)}}D.exports=v},"7SHv":function(D,_,e){var g=e("LPTA"),f=g.devicePixelRatio,y=e("bYtY"),m=e("SUKs"),v=e("mFDi"),h=e("BPZU"),c=e("Xmg4"),a=e("mLcG"),i=e("Dagg"),r=e("ItGF"),o=1e5,d=314159,n=.01,l=.001;function t(L){return parseInt(L,10)}function s(L){return L?L.__builtin__?!0:!(typeof L.resize!="function"||typeof L.refresh!="function"):!1}var u=new v(0,0,0,0),p=new v(0,0,0,0);function w(L,x,C){return u.copy(L.getBoundingRect()),L.transform&&u.applyTransform(L.transform),p.width=x,p.height=C,!u.intersect(p)}function b(L,x){if(L===x)return!1;if(!L||!x||L.length!==x.length)return!0;for(var C=0;C<L.length;C++)if(L[C]!==x[C])return!0;return!1}function E(L,x){for(var C=0;C<L.length;C++){var O=L[C];O.setTransform(x),x.beginPath(),O.buildPath(x,O.shape),x.clip(),O.restoreTransform(x)}}function A(L,x){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+L+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var S=function(x,C,O){this.type="canvas";var N=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=O=y.extend({},O||{}),this.dpr=O.devicePixelRatio||f,this._singleCanvas=N,this.root=x;var F=x.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=C;var k=this._zlevelList=[],P=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,N){var z=x.width,R=x.height;O.width!=null&&(z=O.width),O.height!=null&&(R=O.height),this.dpr=O.devicePixelRatio||1,x.width=z*this.dpr,x.height=R*this.dpr,this._width=z,this._height=R;var U=new c(x,this,this.dpr);U.__builtin__=!0,U.initContext(),P[d]=U,U.zlevel=d,k.push(d),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var B=this._domRoot=A(this._width,this._height);x.appendChild(B)}this._hoverlayer=null,this._hoverElements=[]};S.prototype={constructor:S,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var x=this.getViewportRoot();if(x)return{offsetLeft:x.offsetLeft||0,offsetTop:x.offsetTop||0}},refresh:function(x){var C=this.storage.getDisplayList(!0),O=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,x,this._redrawId);for(var N=0;N<O.length;N++){var F=O[N],k=this._layers[F];if(!k.__builtin__&&k.refresh){var P=N===0?this._backgroundColor:null;k.refresh(P)}}return this.refreshHover(),this},addHover:function(x,C){if(x.__hoverMir)return;var O=new x.constructor({style:x.style,shape:x.shape,z:x.z,z2:x.z2,silent:x.silent});return O.__from=x,x.__hoverMir=O,C&&O.setStyle(C),this._hoverElements.push(O),O},removeHover:function(x){var C=x.__hoverMir,O=this._hoverElements,N=y.indexOf(O,C);N>=0&&O.splice(N,1),x.__hoverMir=null},clearHover:function(x){for(var C=this._hoverElements,O=0;O<C.length;O++){var N=C[O].__from;N&&(N.__hoverMir=null)}C.length=0},refreshHover:function(){var x=this._hoverElements,C=x.length,O=this._hoverlayer;if(O&&O.clear(),!C)return;h(x,this.storage.displayableSortFunc),O||(O=this._hoverlayer=this.getLayer(o));var N={};O.ctx.save();for(var F=0;F<C;){var k=x[F],P=k.__from;if(!(P&&P.__zr)){x.splice(F,1),P.__hoverMir=null,C--;continue}F++,P.invisible||(k.transform=P.transform,k.invTransform=P.invTransform,k.__clipPaths=P.__clipPaths,this._doPaintEl(k,O,!0,N))}O.ctx.restore()},getHoverLayer:function(){return this.getLayer(o)},_paintList:function(x,C,O){if(this._redrawId!==O)return;C=C||!1,this._updateLayerStatus(x);var N=this._doPaintList(x,C);if(this._needsManuallyCompositing&&this._compositeManually(),!N){var F=this;a(function(){F._paintList(x,C,O)})}},_compositeManually:function(){var x=this.getLayer(d).ctx,C=this._domRoot.width,O=this._domRoot.height;x.clearRect(0,0,C,O),this.eachBuiltinLayer(function(N){N.virtual&&x.drawImage(N.dom,0,0,C,O)})},_doPaintList:function(x,C){for(var O=[],N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N],k=this._layers[F];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||C)&&O.push(k)}for(var P=!0,B=0;B<O.length;B++){var k=O[B],z=k.ctx,R={};z.save();var U=C?k.__startIndex:k.__drawIndex,j=!C&&k.incremental&&Date.now,H=j&&Date.now(),V=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,V);else if(U===k.__startIndex){var X=x[U];(!X.incremental||!X.notClear||C)&&k.clear(!1,V)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=k.__startIndex);for(var W=U;W<k.__endIndex;W++){var G=x[W];if(this._doPaintEl(G,k,C,R),G.__dirty=G.__dirtyText=!1,j){var $=Date.now()-H;if($>15)break}}k.__drawIndex=W,k.__drawIndex<k.__endIndex&&(P=!1),R.prevElClipPaths&&z.restore(),z.restore()}return r.wxa&&y.each(this._layers,function(ge){ge&&ge.ctx&&ge.ctx.draw&&ge.ctx.draw()}),P},_doPaintEl:function(x,C,O,N){var F=C.ctx,k=x.transform;if((C.__dirty||O)&&!x.invisible&&x.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(x.culling&&w(x,this._width,this._height))){var P=x.__clipPaths,B=N.prevElClipPaths;(!B||b(P,B))&&(B&&(F.restore(),N.prevElClipPaths=null,N.prevEl=null),P&&(F.save(),E(P,F),N.prevElClipPaths=P)),x.beforeBrush&&x.beforeBrush(F),x.brush(F,N.prevEl||null),N.prevEl=x,x.afterBrush&&x.afterBrush(F)}},getLayer:function(x,C){this._singleCanvas&&!this._needsManuallyCompositing&&(x=d);var O=this._layers[x];return O||(O=new c("zr_"+x,this,this.dpr),O.zlevel=x,O.__builtin__=!0,this._layerConfig[x]?y.merge(O,this._layerConfig[x],!0):this._layerConfig[x-n]&&y.merge(O,this._layerConfig[x-n],!0),C&&(O.virtual=C),this.insertLayer(x,O),O.initContext()),O},insertLayer:function(x,C){var O=this._layers,N=this._zlevelList,F=N.length,k=null,P=-1,B=this._domRoot;if(O[x]){m("ZLevel "+x+" has been used already");return}if(!s(C)){m("Layer of zlevel "+x+" is not valid");return}if(F>0&&x>N[0]){for(P=0;P<F-1&&!(N[P]<x&&N[P+1]>x);P++);k=O[N[P]]}if(N.splice(P+1,0,x),O[x]=C,!C.virtual)if(k){var z=k.dom;z.nextSibling?B.insertBefore(C.dom,z.nextSibling):B.appendChild(C.dom)}else B.firstChild?B.insertBefore(C.dom,B.firstChild):B.appendChild(C.dom)},eachLayer:function(x,C){var O=this._zlevelList,N,F;for(F=0;F<O.length;F++)N=O[F],x.call(C,this._layers[N],N)},eachBuiltinLayer:function(x,C){var O=this._zlevelList,N,F,k;for(k=0;k<O.length;k++)F=O[k],N=this._layers[F],N.__builtin__&&x.call(C,N,F)},eachOtherLayer:function(x,C){var O=this._zlevelList,N,F,k;for(k=0;k<O.length;k++)F=O[k],N=this._layers[F],N.__builtin__||x.call(C,N,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(R,U){R.__dirty=R.__used=!1});function C(R){F&&(F.__endIndex!==R&&(F.__dirty=!0),F.__endIndex=R)}if(this._singleCanvas)for(var O=1;O<x.length;O++){var N=x[O];if(N.zlevel!==x[O-1].zlevel||N.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,k=0,P,O=0;O<x.length;O++){var N=x[O],B=N.zlevel,z;P!==B&&(P=B,k=0),N.incremental?(z=this.getLayer(B+l,this._needsManuallyCompositing),z.incremental=!0,k=1):z=this.getLayer(B+(k>0?n:0),this._needsManuallyCompositing),z.__builtin__||m("ZLevel "+B+" has been used by unkown layer "+z.id),z!==F&&(z.__used=!0,z.__startIndex!==O&&(z.__dirty=!0),z.__startIndex=O,z.incremental?z.__drawIndex=-1:z.__drawIndex=O,C(O),F=z),N.__dirty&&(z.__dirty=!0,z.incremental&&z.__drawIndex<0&&(z.__drawIndex=O))}C(O),this.eachBuiltinLayer(function(R,U){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(x){x.clear()},setBackgroundColor:function(x){this._backgroundColor=x},configLayer:function(x,C){if(C){var O=this._layerConfig;O[x]?y.merge(O[x],C,!0):O[x]=C;for(var N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N];if(F===x||F===x+n){var k=this._layers[F];y.merge(k,O[x],!0)}}}},delLayer:function(x){var C=this._layers,O=this._zlevelList,N=C[x];if(!N)return;N.dom.parentNode.removeChild(N.dom),delete C[x],O.splice(y.indexOf(O,x),1)},resize:function(x,C){if(this._domRoot.style){var O=this._domRoot;O.style.display="none";var N=this._opts;if(x!=null&&(N.width=x),C!=null&&(N.height=C),x=this._getSize(0),C=this._getSize(1),O.style.display="",this._width!==x||C!==this._height){O.style.width=x+"px",O.style.height=C+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(x,C);y.each(this._progressiveLayers,function(k){k.resize(x,C)}),this.refresh(!0)}this._width=x,this._height=C}else{if(x==null||C==null)return;this._width=x,this._height=C,this.getLayer(d).resize(x,C)}return this},clearLayer:function(x){var C=this._layers[x];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(x){if(x=x||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var C=new c("image",this,x.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,x.backgroundColor||this._backgroundColor),x.pixelRatio<=this.dpr){this.refresh();var O=C.dom.width,N=C.dom.height,F=C.ctx;this.eachLayer(function(R){R.__builtin__?F.drawImage(R.dom,0,0,O,N):R.renderToCanvas&&(C.ctx.save(),R.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var k={},P=this.storage.getDisplayList(!0),B=0;B<P.length;B++){var z=P[B];this._doPaintEl(z,C,!0,k)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var C=this._opts,O=["width","height"][x],N=["clientWidth","clientHeight"][x],F=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(C[O]!=null&&C[O]!=="auto")return parseFloat(C[O]);var P=this.root,B=document.defaultView.getComputedStyle(P);return(P[N]||t(B[O])||t(P.style[O]))-(t(B[F])||0)-(t(B[k])||0)|0},pathToImage:function(x,C){C=C||this.dpr;var O=document.createElement("canvas"),N=O.getContext("2d"),F=x.getBoundingRect(),k=x.style,P=k.shadowBlur*C,B=k.shadowOffsetX*C,z=k.shadowOffsetY*C,R=k.hasStroke()?k.lineWidth:0,U=Math.max(R/2,-B+P),j=Math.max(R/2,B+P),H=Math.max(R/2,-z+P),V=Math.max(R/2,z+P),X=F.width+U+j,W=F.height+H+V;O.width=X*C,O.height=W*C,N.scale(C,C),N.clearRect(0,0,X,W),N.dpr=C;var G={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[U-F.x,H-F.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(N);var $=i,ge=new $({style:{x:0,y:0,image:O}});return G.position!=null&&(ge.position=x.position=G.position),G.rotation!=null&&(ge.rotation=x.rotation=G.rotation),G.scale!=null&&(ge.scale=x.scale=G.scale),ge}};var T=S;D.exports=T},"7a+S":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("YXkt"),m=e("4NO4"),v=f.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(c,a,i){this._data,this._names,this.mergeDefaultAndTheme(c,i),this._initData()},mergeOption:function(c){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var a=this._data.count();this.option.loop?c=(c%a+a)%a:(c>=a&&(c=a-1),c<0&&(c=0)),this.option.currentIndex=c},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(c){this.option.autoPlay=!!c},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var c=this.option,a=c.data||[],i=c.axisType,r=this._names=[];if(i==="category"){var o=[];g.each(a,function(l,t){var s=m.getDataItemValue(l),u;g.isObject(l)?(u=g.clone(l),u.value=t):u=t,o.push(u),!g.isString(s)&&(s==null||isNaN(s))&&(s=""),r.push(s+"")}),a=o}var d={category:"ordinal",time:"time"}[i]||"number",n=this._data=new y([{name:"value",type:d}],this);n.initData(a,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=v;D.exports=h},"7aKB":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("OELB");function m(A){return isNaN(A)?"-":(A=(A+"").split("."),A[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(A.length>1?"."+A[1]:""))}function v(A,S){return A=(A||"").toLowerCase().replace(/-(.)/g,function(T,L){return L.toUpperCase()}),S&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var h=g.normalizeCssArray,c=/([&<>"'])/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"};function i(A){return A==null?"":(A+"").replace(c,function(S,T){return a[T]})}var r=["a","b","c","d","e","f","g"],o=function(A,S){return"{"+A+(S==null?"":S)+"}"};function d(A,S,T){g.isArray(S)||(S=[S]);var L=S.length;if(!L)return"";for(var x=S[0].$vars||[],C=0;C<x.length;C++){var O=r[C];A=A.replace(o(O),o(O,0))}for(var N=0;N<L;N++)for(var F=0;F<x.length;F++){var k=S[N][x[F]];A=A.replace(o(r[F],N),T?i(k):k)}return A}function n(A,S,T){return g.each(S,function(L,x){A=A.replace("{"+x+"}",T?i(L):L)}),A}function l(A,S){A=g.isString(A)?{color:A,extraCssText:S}:A||{};var T=A.color,L=A.type,S=A.extraCssText,x=A.renderMode||"html",C=A.markerId||"X";return T?x==="html"?L==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+i(T)+";"+(S||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+i(T)+";"+(S||"")+'"></span>':{renderMode:x,content:"{marker"+C+"|} ",style:{color:T}}:""}function t(A,S){return A+="","0000".substr(0,S-A.length)+A}function s(A,S,T){(A==="week"||A==="month"||A==="quarter"||A==="half-year"||A==="year")&&(A=`MM-dd
|
|
|
yyyy`);var L=y.parseDate(S),x=T?"UTC":"",C=L["get"+x+"FullYear"](),O=L["get"+x+"Month"]()+1,N=L["get"+x+"Date"](),F=L["get"+x+"Hours"](),k=L["get"+x+"Minutes"](),P=L["get"+x+"Seconds"](),B=L["get"+x+"Milliseconds"]();return A=A.replace("MM",t(O,2)).replace("M",O).replace("yyyy",C).replace("yy",C%100).replace("dd",t(N,2)).replace("d",N).replace("hh",t(F,2)).replace("h",F).replace("mm",t(k,2)).replace("m",k).replace("ss",t(P,2)).replace("s",P).replace("SSS",t(B,3)),A}function u(A){return A&&A.charAt(0).toUpperCase()+A.substr(1)}var p=f.truncateText;function w(A){return f.getBoundingRect(A.text,A.font,A.textAlign,A.textVerticalAlign,A.textPadding,A.textLineHeight,A.rich,A.truncate)}function b(A,S,T,L,x,C,O,N){return f.getBoundingRect(A,S,T,L,x,N,C,O)}function E(A,S){if(S==="_blank"||S==="blank"){var T=window.open();T.opener=null,T.location=A}else window.open(A,S)}_.addCommas=m,_.toCamelCase=v,_.normalizeCssArray=h,_.encodeHTML=i,_.formatTpl=d,_.formatTplSimple=n,_.getTooltipMarker=l,_.formatTime=s,_.capitalFirst=u,_.truncateText=p,_.getTextBoundingRect=w,_.getTextRect=b,_.windowOpen=E},"7bkD":function(D,_,e){var g=e("bYtY");function f(y,m){m=m||{};var v=y.coordinateSystem,h=y.axis,c={},a=h.position,i=h.orient,r=v.getRect(),o=[r.x,r.x+r.width,r.y,r.y+r.height],d={horizontal:{top:o[2],bottom:o[3]},vertical:{left:o[0],right:o[1]}};c.position=[i==="vertical"?d.vertical[a]:o[0],i==="horizontal"?d.horizontal[a]:o[3]];var n={horizontal:0,vertical:1};c.rotation=Math.PI/2*n[i];var l={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=l[a],y.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),g.retrieve(m.labelInside,y.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var t=m.rotate;return t==null&&(t=y.get("axisLabel.rotate")),c.labelRotation=a==="top"?-t:t,c.z2=1,c}_.layout=f},"7fqy":function(D,_){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(m,v){y[++f]=[v,m]}),y}D.exports=e},"7hqr":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.isString;function m(c,a,i){i=i||{};var r=i.byIndex,o=i.stackedCoordDimension,d=!!(c&&c.get("stack")),n,l,t,s;if(f(a,function(b,E){y(b)&&(a[E]=b={name:b}),d&&!b.isExtraCoord&&(!r&&!n&&b.ordinalMeta&&(n=b),!l&&b.type!=="ordinal"&&b.type!=="time"&&(!o||o===b.coordDim)&&(l=b))}),l&&!r&&!n&&(r=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var u=l.coordDim,p=l.type,w=0;f(a,function(b){b.coordDim===u&&w++}),a.push({name:t,coordDim:u,coordDimIndex:w,type:p,isExtraCoord:!0,isCalculationCoord:!0}),w++,a.push({name:s,coordDim:s,coordDimIndex:w,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:r,stackedOverDimension:s,stackResultDimension:t}}function v(c,a){return!!a&&a===c.getCalculationInfo("stackedDimension")}function h(c,a){return v(c,a)?c.getCalculationInfo("stackResultDimension"):a}_.enableDataStack=m,_.isDimensionStacked=v,_.getStackedDimension=h},"7mYs":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("7aKB"),v=e("OELB"),h={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},a=g.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(i,r,o){var d=this.group;d.removeAll();var n=i.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(i,l,d),this._renderLines(i,l,t,d),this._renderYearText(i,l,t,d),this._renderMonthText(i,t,d),this._renderWeekText(i,l,t,d)},_renderDayRect:function(i,r,o){for(var d=i.coordinateSystem,n=i.getModel("itemStyle").getItemStyle(),l=d.getCellWidth(),t=d.getCellHeight(),s=r.start.time;s<=r.end.time;s=d.getNextNDay(s,1).time){var u=d.dataToRect([s],!1).tl,p=new y.Rect({shape:{x:u[0],y:u[1],width:l,height:t},cursor:"default",style:n});o.add(p)}},_renderLines:function(i,r,o,d){var n=this,l=i.coordinateSystem,t=i.getModel("splitLine.lineStyle").getLineStyle(),s=i.get("splitLine.show"),u=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=r.start,w=0;p.time<=r.end.time;w++){E(p.formatedDate),w===0&&(p=l.getDateInfo(r.start.y+"-"+r.start.m));var b=p.date;b.setMonth(b.getMonth()+1),p=l.getDateInfo(b)}E(l.getNextNDay(r.end.time,1).formatedDate);function E(A){n._firstDayOfMonth.push(l.getDateInfo(A)),n._firstDayPoints.push(l.dataToRect([A],!1).tl);var S=n._getLinePointsOfOneWeek(i,A,o);n._tlpoints.push(S[0]),n._blpoints.push(S[S.length-1]),s&&n._drawSplitline(S,t,d)}s&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,u,o),t,d),s&&this._drawSplitline(n._getEdgesPoints(n._blpoints,u,o),t,d)},_getEdgesPoints:function(i,r,o){var d=[i[0].slice(),i[i.length-1].slice()],n=o==="horizontal"?0:1;return d[0][n]=d[0][n]-r/2,d[1][n]=d[1][n]+r/2,d},_drawSplitline:function(i,r,o){var d=new y.Polyline({z2:20,shape:{points:i},style:r});o.add(d)},_getLinePointsOfOneWeek:function(i,r,o){var d=i.coordinateSystem;r=d.getDateInfo(r);for(var n=[],l=0;l<7;l++){var t=d.getNextNDay(r.time,l),s=d.dataToRect([t.time],!1);n[2*t.day]=s.tl,n[2*t.day+1]=s[o==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(i,r){return typeof i=="string"&&i?m.formatTplSimple(i,r):typeof i=="function"?i(r):r.nameMap},_yearTextPositionControl:function(i,r,o,d,n){r=r.slice();var l=["center","bottom"];d==="bottom"?(r[1]+=n,l=["center","top"]):d==="left"?r[0]-=n:d==="right"?(r[0]+=n,l=["center","top"]):r[1]-=n;var t=0;return(d==="left"||d==="right")&&(t=Math.PI/2),{rotation:t,position:r,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(i,r,o,d){var n=i.getModel("yearLabel");if(!n.get("show"))return;var l=n.get("margin"),t=n.get("position");t||(t=o!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,p=(s[0][1]+s[1][1])/2,w=o==="horizontal"?0:1,b={top:[u,s[w][1]],bottom:[u,s[1-w][1]],left:[s[1-w][0],p],right:[s[w][0],p]},E=r.start.y;+r.end.y>+r.start.y&&(E=E+"-"+r.end.y);var A=n.get("formatter"),S={start:r.start.y,end:r.end.y,nameMap:E},T=this._formatterLabel(A,S),L=new y.Text({z2:30});y.setTextStyle(L.style,n,{text:T}),L.attr(this._yearTextPositionControl(L,b[t],o,t,l)),d.add(L)},_monthTextPositionControl:function(i,r,o,d,n){var l="left",t="top",s=i[0],u=i[1];return o==="horizontal"?(u=u+n,r&&(l="center"),d==="start"&&(t="bottom")):(s=s+n,r&&(t="middle"),d==="start"&&(l="right")),{x:s,y:u,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(i,r,o){var d=i.getModel("monthLabel");if(!d.get("show"))return;var n=d.get("nameMap"),l=d.get("margin"),t=d.get("position"),s=d.get("align"),u=[this._tlpoints,this._blpoints];f.isString(n)&&(n=h[n.toUpperCase()]||[]);var p=t==="start"?0:1,w=r==="horizontal"?0:1;l=t==="start"?-l:l;for(var b=s==="center",E=0;E<u[p].length-1;E++){var A=u[p][E].slice(),S=this._firstDayOfMonth[E];if(b){var T=this._firstDayPoints[E];A[w]=(T[w]+u[0][E+1][w])/2}var L=d.get("formatter"),x=n[+S.m-1],C={yyyy:S.y,yy:(S.y+"").slice(2),MM:S.m,M:+S.m,nameMap:x},O=this._formatterLabel(L,C),N=new y.Text({z2:30});f.extend(y.setTextStyle(N.style,d,{text:O}),this._monthTextPositionControl(A,b,r,t,l)),o.add(N)}},_weekTextPositionControl:function(i,r,o,d,n){var l="center",t="middle",s=i[0],u=i[1],p=o==="start";return r==="horizontal"?(s=s+d+(p?1:-1)*n[0]/2,l=p?"right":"left"):(u=u+d+(p?1:-1)*n[1]/2,t=p?"bottom":"top"),{x:s,y:u,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(i,r,o,d){var n=i.getModel("dayLabel");if(!n.get("show"))return;var l=i.coordinateSystem,t=n.get("position"),s=n.get("nameMap"),u=n.get("margin"),p=l.getFirstDayOfWeek();f.isString(s)&&(s=c[s.toUpperCase()]||[]);var w=l.getNextNDay(r.end.time,7-r.lweek).time,b=[l.getCellWidth(),l.getCellHeight()];u=v.parsePercent(u,b[o==="horizontal"?0:1]),t==="start"&&(w=l.getNextNDay(r.start.time,-(7+r.fweek)).time,u=-u);for(var E=0;E<7;E++){var A=l.getNextNDay(w,E),S=l.dataToRect([A.time],!1).center,T=E;T=Math.abs((E+p)%7);var L=new y.Text({z2:30});f.extend(y.setTextStyle(L.style,n,{text:s[T]}),this._weekTextPositionControl(S,o,t,u,b)),d.add(L)}}});D.exports=a},"7oTu":function(D,_,e){var g=e("IMiH"),f=e("QBsz"),y=f.applyTransform,m=g.CMD,v=[[],[],[]],h=Math.sqrt,c=Math.atan2;function a(i,r){var o=i.data,d,n,l,t,s,u,p=m.M,w=m.C,b=m.L,E=m.R,A=m.A,S=m.Q;for(l=0,t=0;l<o.length;){d=o[l++],t=l,n=0;switch(d){case p:n=1;break;case b:n=1;break;case w:n=3;break;case S:n=2;break;case A:var T=r[4],L=r[5],x=h(r[0]*r[0]+r[1]*r[1]),C=h(r[2]*r[2]+r[3]*r[3]),O=c(-r[1]/C,r[0]/x);o[l]*=x,o[l++]+=T,o[l]*=C,o[l++]+=L,o[l++]*=x,o[l++]*=C,o[l++]+=O,o[l++]+=O,l+=2,t=l;break;case E:u[0]=o[l++],u[1]=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1],u[0]+=o[l++],u[1]+=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1]}for(s=0;s<n;s++){var u=v[s];u[0]=o[l++],u[1]=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1]}}}D.exports=a},"7pVf":function(D,_,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(D,_){function e(y){return y instanceof Array||(y=[y,y]),y}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(y,m,v){var h=e(y.get("symbol")),c=e(y.get("symbolSize")),a=y.getData();a.setVisual("fromSymbol",h&&h[0]),a.setVisual("toSymbol",h&&h[1]),a.setVisual("fromSymbolSize",c&&c[0]),a.setVisual("toSymbolSize",c&&c[1]),a.setVisual("opacity",y.get(g));function i(r,o){var d=r.getItemModel(o),n=e(d.getShallow("symbol",!0)),l=e(d.getShallow("symbolSize",!0)),t=d.get(g);n[0]&&r.setItemVisual(o,"fromSymbol",n[0]),n[1]&&r.setItemVisual(o,"toSymbol",n[1]),l[0]&&r.setItemVisual(o,"fromSymbolSize",l[0]),l[1]&&r.setItemVisual(o,"toSymbolSize",l[1]),r.setItemVisual(o,"opacity",t)}return{dataEach:a.hasItemOption?i:null}}};D.exports=f},"7uqq":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("AUH6"),h=e("+TT/"),c=e("OELB"),a=e("W4dC"),i=e("7DRL");function r(l,t){var s=l.get("boundingCoords");if(s!=null){var u=s[0],p=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(p[0])||isNaN(p[1])||this.setBoundingRect(u[0],u[1],p[0]-u[0],p[1]-u[1])}var w=this.getBoundingRect(),b,E=l.get("layoutCenter"),A=l.get("layoutSize"),S=t.getWidth(),T=t.getHeight(),L=w.width/w.height*this.aspectScale,x=!1;E&&A&&(E=[c.parsePercent(E[0],S),c.parsePercent(E[1],T)],A=c.parsePercent(A,Math.min(S,T)),!isNaN(E[0])&&!isNaN(E[1])&&!isNaN(A)&&(x=!0));var C;if(x){var C={};L>1?(C.width=A,C.height=A/L):(C.height=A,C.width=A*L),C.y=E[1]-C.height/2,C.x=E[0]-C.width/2}else b=l.getBoxLayoutParams(),b.aspect=L,C=h.getLayoutRect(b,{width:S,height:T});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function o(l,t){m.each(t.get("geoCoord"),function(s,u){l.addGeoCoord(u,s)})}var d={dimensions:v.prototype.dimensions,create:function(l,t){var s=[];l.eachComponent("geo",function(p,w){var b=p.get("map"),E=p.get("aspectScale"),A=!0,S=i.retrieveMap(b);S&&S[0]&&S[0].type==="svg"?(E==null&&(E=1),A=!1):E==null&&(E=.75);var T=new v(b+w,b,p.get("nameMap"),A);T.aspectScale=E,T.zoomLimit=p.get("scaleLimit"),s.push(T),o(T,p),p.coordinateSystem=T,T.model=p,T.resize=r,T.resize(p,t)}),l.eachSeries(function(p){var w=p.get("coordinateSystem");if(w==="geo"){var b=p.get("geoIndex")||0;p.coordinateSystem=s[b]}});var u={};return l.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var w=p.getMapType();u[w]=u[w]||[],u[w].push(p)}}),m.each(u,function(p,w){var b=m.map(p,function(A){return A.get("nameMap")}),E=new v(w,w,m.mergeAll(b));E.zoomLimit=m.retrieve.apply(null,m.map(p,function(A){return A.get("scaleLimit")})),s.push(E),E.resize=r,E.aspectScale=p[0].get("aspectScale"),E.resize(p[0],t),m.each(p,function(A){A.coordinateSystem=E,o(E,A)})}),s},getFilledRegions:function(l,t,s){for(var u=(l||[]).slice(),p=m.createHashMap(),w=0;w<u.length;w++)p.set(u[w].name,u[w]);var b=a.load(t,s);return m.each(b.regions,function(E){var A=E.name;!p.get(A)&&u.push({name:A})}),u}};y.registerCoordinateSystem("geo",d);var n=d;D.exports=n},"7yuC":function(D,_,e){var g=e("QBsz"),f=g.scaleAndAdd;function y(m,v,h){for(var c=h.rect,a=c.width,i=c.height,r=[c.x+a/2,c.y+i/2],o=h.gravity==null?.1:h.gravity,d=0;d<m.length;d++){var n=m[d];n.p||(n.p=g.create(a*(Math.random()-.5)+r[0],i*(Math.random()-.5)+r[1])),n.pp=g.clone(n.p),n.edges=null}var l=h.friction==null?.6:h.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var u=[],p=m.length,w=0;w<v.length;w++){var b=v[w];if(b.ignoreForceLayout)continue;var E=b.n1,A=b.n2;g.sub(u,A.p,E.p);var S=g.len(u)-b.d,T=A.w/(E.w+A.w);isNaN(T)&&(T=0),g.normalize(u,u),!E.fixed&&f(E.p,E.p,u,T*S*t),!A.fixed&&f(A.p,A.p,u,-(1-T)*S*t)}for(var w=0;w<p;w++){var L=m[w];L.fixed||(g.sub(u,r,L.p),f(L.p,L.p,u,o*t))}for(var w=0;w<p;w++)for(var E=m[w],x=w+1;x<p;x++){var A=m[x];g.sub(u,A.p,E.p);var S=g.len(u);S===0&&(g.set(u,Math.random()-.5,Math.random()-.5),S=1);var C=(E.rep+A.rep)/S/S;!E.fixed&&f(E.pp,E.pp,u,C),!A.fixed&&f(A.pp,A.pp,u,-C)}for(var O=[],w=0;w<p;w++){var L=m[w];L.fixed||(g.sub(O,L.p,L.pp),f(L.p,L.p,O,t),g.copy(L.pp,L.p))}t=t*.992,s&&s(m,v,t<.01)}}}_.forceLayout=y},"8+yF":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,402:2294,466:16777681,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8361:3839,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8711:2245,8728:3018,8730:2262,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8756:2240,8764:2248,8771:2249,8773:16785992,8800:2237,8801:2255,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200},f={lookup:function(m){if(m>=32&&m<=255)return m;var v=g[m];return v!==void 0?v:16777216|m}};_.default=f},"815F":function(D,_,e){"use strict";e.d(_,"e",function(){return c}),e.d(_,"c",function(){return i}),e.d(_,"d",function(){return r}),e.d(_,"a",function(){return d}),e.d(_,"f",function(){return n}),e.d(_,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),y=e("Ff2n"),m=e("Zm9Q"),v=e("Kwbf"),h=e("OZM5");function c(t,s){return t!=null?t:s}function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(p){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(b){var E=b.key,A=b.children;Object(v.a)(E!=null,"Tree node must have a certain key: [".concat(w).concat(E,"]"));var S=String(E);Object(v.a)(!s.has(S)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(S)),s.set(S,!0),u(A,"".concat(w).concat(S," > "))})}u(t)}function i(t){function s(u){var p=Object(m.a)(u);return p.map(function(w){if(!Object(h.i)(w))return Object(v.a)(!w,"Tree/TreeNode can only accept TreeNode as children."),null;var b=w.key,E=w.props,A=E.children,S=Object(y.a)(E,["children"]),T=Object(f.a)({key:b},S),L=s(A);return L.length&&(T.children=L),T}).filter(function(w){return w})}return s(t)}function r(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=new Set(s===!0?[]:s),p=[];function w(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return b.map(function(A,S){var T=Object(h.h)(E?E.pos:"0",S),L=c(A.key,T),x=Object(f.a)(Object(f.a)({},A),{},{parent:E,pos:T,children:null,data:A,isStart:[].concat(Object(g.a)(E?E.isStart:[]),[S===0]),isEnd:[].concat(Object(g.a)(E?E.isEnd:[]),[S===b.length-1])});return p.push(x),s===!0||u.has(L)?x.children=w(A.children||[],x):x.children=[],x})}return w(t),p}function o(t,s,u){var p;u?typeof u=="string"?p=function(E){return E[u]}:typeof u=="function"&&(p=function(E){return u(E)}):p=function(E,A){return c(E.key,A)};function w(b,E,A){var S=b?b.children:t,T=b?Object(h.h)(A.pos,E):"0";if(b){var L=p(b,T),x={node:b,index:E,pos:T,key:L,parentPos:A.node?A.pos:null,level:A.level+1};s(x)}S&&S.forEach(function(C,O){w(C,O,{node:b,pos:T,level:A?A.level+1:-1})})}w(null)}function d(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,p=s.processEntity,w=s.onProcessFinished,b=arguments.length>2?arguments[2]:void 0,E={},A={},S={posEntities:E,keyEntities:A};return u&&(S=u(S)||S),o(t,function(T){var L=T.node,x=T.index,C=T.pos,O=T.key,N=T.parentPos,F=T.level,k={node:L,index:x,key:O,pos:C,level:F},P=c(O,C);E[C]=k,A[P]=k,k.parent=E[N],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),p&&p(k,S)},b),w&&w(S),S}function n(t,s){var u=s.expandedKeys,p=s.selectedKeys,w=s.loadedKeys,b=s.loadingKeys,E=s.checkedKeys,A=s.halfCheckedKeys,S=s.dragOverNodeKey,T=s.dropPosition,L=s.keyEntities,x=L[t],C={eventKey:t,expanded:u.indexOf(t)!==-1,selected:p.indexOf(t)!==-1,loaded:w.indexOf(t)!==-1,loading:b.indexOf(t)!==-1,checked:E.indexOf(t)!==-1,halfChecked:A.indexOf(t)!==-1,pos:String(x?x.pos:""),dragOver:S===t&&T===0,dragOverGapTop:S===t&&T===-1,dragOverGapBottom:S===t&&T===1};return C}function l(t){var s=t.data,u=t.expanded,p=t.selected,w=t.checked,b=t.loaded,E=t.loading,A=t.halfChecked,S=t.dragOver,T=t.dragOverGapTop,L=t.dragOverGapBottom,x=t.pos,C=t.active,O=Object(f.a)(Object(f.a)({},s),{},{expanded:u,selected:p,checked:w,loaded:b,loading:E,halfChecked:A,dragOver:S,dragOverGapTop:T,dragOverGapBottom:L,pos:x,active:C});return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(v.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),O}},"8CQX":function(D,_,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(_,"__esModule",{value:!0}),_.getKeycode=o,_.getKey=d,_.getKeysym=n;var f=r(e("mHUz")),y=r(e("8+yF")),m=r(e("6Qwc")),v=r(e("gIYZ")),h=r(e("mTgk")),c=i(e("GdRQ"));function a(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return a=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=a();if(t&&t.has(l))return t.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var w=u?Object.getOwnPropertyDescriptor(l,p):null;w&&(w.get||w.set)?Object.defineProperty(s,p,w):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function r(l){return l&&l.__esModule?l:{default:l}}function o(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var t=m.default[l.keyCode];if(c.isMac()&&t==="ContextMenu"&&(t="MetaRight"),l.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function d(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!c.isIE()&&!c.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=o(l);return t in v.default?v.default[t]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function n(l){var t=d(l);if(t==="Unidentified")return null;if(t in h.default){var s=l.location;if(t==="Meta"&&s===0&&(s=2),t==="Clear"&&s===3){var u=o(l);u==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),t==="Meta"){var p=o(l);if(p==="AltLeft")return f.default.XK_Meta_L;if(p==="AltRight")return f.default.XK_Meta_R}if(t==="Clear"){var w=o(l);if(w==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var b=t.charCodeAt();return b?y.default.lookup(b):null}},"8EBN":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";g.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var f=0;f<g.modeInfo.length;f++){var y=g.modeInfo[f];y.mimes&&(y.mime=y.mimes[0])}g.findModeByMIME=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.mime==m)return h;if(h.mimes){for(var c=0;c<h.mimes.length;c++)if(h.mimes[c]==m)return h}}if(/\+xml$/.test(m))return g.findModeByMIME("application/xml");if(/\+json$/.test(m))return g.findModeByMIME("application/json")},g.findModeByExtension=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.ext){for(var c=0;c<h.ext.length;c++)if(h.ext[c]==m)return h}}},g.findModeByFileName=function(m){for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.file&&h.file.test(m))return h}var c=m.lastIndexOf("."),a=c>-1&&m.substring(c+1,m.length);if(a)return g.findModeByExtension(a)},g.findModeByName=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.name.toLowerCase()==m)return h;if(h.alias){for(var c=0;c<h.alias.length;c++)if(h.alias[c].toLowerCase()==m)return h}}}})},"8IMR":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};_.default=g},"8ISB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"8K/p":function(D,_,e){"use strict";function g(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(o)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=h(e("Lo0S")),y=m(e("ItS6"));function m(o){return o&&o.__esModule?o:{default:o}}function v(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return v=function(){return o},o}function h(o){if(o&&o.__esModule)return o;if(o===null||g(o)!=="object"&&typeof o!="function")return{default:o};var d=v();if(d&&d.has(o))return d.get(o);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var s=l?Object.getOwnPropertyDescriptor(o,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=o[t]}return n.default=o,d&&d.set(o,n),n}function c(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}function a(o,d){for(var n=0;n<d.length;n++){var l=d[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(o,l.key,l)}}function i(o,d,n){return d&&a(o.prototype,d),n&&a(o,n),o}var r=function(){function o(){c(this,o),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var d=0;d<4;d++)this._zlibs[d]=new y.default}return i(o,[{key:"decodeRect",value:function(n,l,t,s,u,p,w){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var b=0;b<4;b++)this._ctl>>b&1&&(this._zlibs[b].reset(),f.Info("Reset zlib stream "+b));this._ctl=this._ctl>>4}var E;if(this._ctl===8)E=this._fillRect(n,l,t,s,u,p,w);else if(this._ctl===9)E=this._jpegRect(n,l,t,s,u,p,w);else if(this._ctl===10)E=this._pngRect(n,l,t,s,u,p,w);else if((this._ctl&128)==0)E=this._basicRect(this._ctl,n,l,t,s,u,p,w);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return E&&(this._ctl=null),E}},{key:"_fillRect",value:function(n,l,t,s,u,p,w){if(u.rQwait("TIGHT",3))return!1;var b=u.rQi,E=u.rQ;return p.fillRect(n,l,t,s,[E[b+2],E[b+1],E[b]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,s,u,p,w){var b=this._readData(u);return b===null?!1:(p.imageRect(n,l,t,s,"image/jpeg",b),!0)}},{key:"_pngRect",value:function(n,l,t,s,u,p,w){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,s,u,p,w,b){if(this._filter===null)if(n&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var E=n&3,A;switch(this._filter){case 0:A=this._copyFilter(E,l,t,s,u,p,w,b);break;case 1:A=this._paletteFilter(E,l,t,s,u,p,w,b);break;case 2:A=this._gradientFilter(E,l,t,s,u,p,w,b);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return A&&(this._filter=null),A}},{key:"_copyFilter",value:function(n,l,t,s,u,p,w,b){var E=s*u*3,A;if(E<12){if(p.rQwait("TIGHT",E))return!1;A=p.rQshiftBytes(E)}else{if(A=this._readData(p),A===null)return!1;this._zlibs[n].setInput(A),A=this._zlibs[n].inflate(E),this._zlibs[n].setInput(null)}return w.blitRgbImage(l,t,s,u,A,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,s,u,p,w,b){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var E=p.rQpeek8()+1,A=E*3;if(p.rQwait("TIGHT palette",1+A))return!1;this._numColors=E,p.rQskipBytes(1),p.rQshiftTo(this._palette,A)}var S=this._numColors<=2?1:8,T=Math.floor((s*S+7)/8),L=T*u,x;if(L<12){if(p.rQwait("TIGHT",L))return!1;x=p.rQshiftBytes(L)}else{if(x=this._readData(p),x===null)return!1;this._zlibs[n].setInput(x),x=this._zlibs[n].inflate(L),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,u,x,this._palette,w):this._paletteRect(l,t,s,u,x,this._palette,w),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,s,u,p,w){for(var b=this._getScratchBuffer(t*s*4),E=Math.floor((t+7)/8),A=Math.floor(t/8),S=0;S<s;S++){var T=void 0,L=void 0,x=void 0;for(x=0;x<A;x++)for(var C=7;C>=0;C--)T=(S*t+x*8+7-C)*4,L=(u[S*E+x]>>C&1)*3,b[T]=p[L],b[T+1]=p[L+1],b[T+2]=p[L+2],b[T+3]=255;for(var O=7;O>=8-t%8;O--)T=(S*t+x*8+7-O)*4,L=(u[S*E+x]>>O&1)*3,b[T]=p[L],b[T+1]=p[L+1],b[T+2]=p[L+2],b[T+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_paletteRect",value:function(n,l,t,s,u,p,w){for(var b=this._getScratchBuffer(t*s*4),E=t*s*4,A=0,S=0;A<E;A+=4,S++){var T=u[S]*3;b[A]=p[T],b[A+1]=p[T+1],b[A+2]=p[T+2],b[A+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,s,u,p,w,b){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(n){if(this._len===0){if(n.rQwait("TIGHT",3))return null;var l;l=n.rQshift8(),this._len=l&127,l&128&&(l=n.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=n.rQshift8(),this._len|=l<<14))}if(n.rQwait("TIGHT",this._len))return null;var t=n.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(n){return(!this._scratchBuffer||this._scratchBuffer.length<n)&&(this._scratchBuffer=new Uint8Array(n)),this._scratchBuffer}}]),o}();_.default=r},"8OUc":function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("TSYQ"),m=e.n(y),v=function(c){var a=c.className,i=c.customizeIcon,r=c.customizeIconProps,o=c.onMouseDown,d=c.onClick,n=c.children,l;return typeof i=="function"?l=i(r):l=i,g.createElement("span",{className:a,onMouseDown:function(s){s.preventDefault(),o&&o(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:d,"aria-hidden":!0},l!==void 0?l:g.createElement("span",{className:m()(a.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};_.a=v},"8SMY":function(D,_,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,y=g.getStackedOnPoint;function m(h,c){var a=[];return c.diff(h).add(function(i){a.push({cmd:"+",idx:i})}).update(function(i,r){a.push({cmd:"=",idx:r,idx1:i})}).remove(function(i){a.push({cmd:"-",idx:i})}).execute(),a}function v(h,c,a,i,r,o,d,n){for(var l=m(h,c),t=[],s=[],u=[],p=[],w=[],b=[],E=[],A=f(r,c,d),S=f(o,h,n),T=0;T<l.length;T++){var L=l[T],x=!0;switch(L.cmd){case"=":var C=h.getItemLayout(L.idx),O=c.getItemLayout(L.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=O.slice()),t.push(C),s.push(O),u.push(a[L.idx]),p.push(i[L.idx1]),E.push(c.getRawIndex(L.idx1));break;case"+":var N=L.idx;t.push(r.dataToPoint([c.get(A.dataDimsForPoint[0],N),c.get(A.dataDimsForPoint[1],N)])),s.push(c.getItemLayout(N).slice()),u.push(y(A,r,c,N)),p.push(i[N]),E.push(c.getRawIndex(N));break;case"-":var N=L.idx,F=h.getRawIndex(N);F!==N?(t.push(h.getItemLayout(N)),s.push(o.dataToPoint([h.get(S.dataDimsForPoint[0],N),h.get(S.dataDimsForPoint[1],N)])),u.push(a[N]),p.push(y(S,o,h,N)),E.push(F)):x=!1}x&&(w.push(L),b.push(b.length))}b.sort(function(U,j){return E[U]-E[j]});for(var k=[],P=[],B=[],z=[],R=[],T=0;T<b.length;T++){var N=b[T];k[T]=t[N],P[T]=s[N],B[T]=u[N],z[T]=p[N],R[T]=w[N]}return{current:k,next:P,stackedOnCurrent:B,stackedOnNext:z,status:R}}D.exports=v},"8Skl":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DownOutlined";var h=_.a=g.forwardRef(v)},"8Th4":function(D,_,e){var g=e("3LNs"),f=e("/y7N"),y=e("7bkD"),m=e("Znkb"),v=["x","y"],h=["width","height"],c=g.extend({makeElOption:function(d,n,l,t,s){var u=l.axis,p=u.coordinateSystem,w=r(p,1-i(u)),b=p.dataToPoint(n)[0],E=t.get("type");if(E&&E!=="none"){var A=f.buildElStyle(t),S=a[E](u,b,w);S.style=A,d.graphicKey=S.type,d.pointer=S}var T=y.layout(l);f.buildCartesianSingleLabelElOption(n,d,T,l,t,s)},getHandleTransform:function(d,n,l){var t=y.layout(n,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:f.getTransformedPosition(n.axis,d,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(d,n,l,t){var s=l.axis,u=s.coordinateSystem,p=i(s),w=r(u,p),b=d.position;b[p]+=n[p],b[p]=Math.min(w[1],b[p]),b[p]=Math.max(w[0],b[p]);var E=r(u,1-p),A=(E[1]+E[0])/2,S=[A,A];return S[p]=b[p],{position:b,rotation:d.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}}}),a={line:function(d,n,l){var t=f.makeLineShape([n,l[0]],[n,l[1]],i(d));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(d,n,l){var t=d.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:f.makeRectShape([n-t/2,l[0]],[t,s],i(d))}}};function i(d){return d.isHorizontal()?0:1}function r(d,n){var l=d.getRect();return[l[v[n]],l[v[n]]+l[h[n]]]}m.registerAxisPointerClass("SingleAxisPointer",c);var o=c;D.exports=o},"8Uz6":function(D,_,e){var g=e("hNWo"),f=e("+TT/"),y=f.mergeLayoutParam,m=f.getLayoutParams,v=g.extend({type:"legend.scroll",setScrollDataIndex:function(a){this.option.scrollDataIndex=a},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(a,i,r,o){var d=m(a);v.superCall(this,"init",a,i,r,o),h(this,a,d)},mergeOption:function(a,i){v.superCall(this,"mergeOption",a,i),h(this,this.option,a)}});function h(a,i,r){var o=a.getOrient(),d=[1,1];d[o.index]=0,y(i,r,{type:"box",ignoreSize:d})}var c=v;D.exports=c},"8X+K":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("4mN7"),v=m.fromPoints,h=e("9wZj"),c=e("FBjb"),a=e("8SMY"),i=e("IwbS"),r=e("4NO4"),o=e("1NG9"),d=o.Polyline,n=o.Polygon,l=e("6Ic6"),t=e("n4Lv"),s=t.prepareDataCoordInfo,u=t.getStackedOnPoint,p=e("sK/D"),w=p.createGridClipPath,b=p.createPolarClipPath;function E(k,P){if(k.length!==P.length)return;for(var B=0;B<k.length;B++){var z=k[B],R=P[B];if(z[0]!==R[0]||z[1]!==R[1])return}return!0}function A(k,P){var B=[],z=[],R=[],U=[];return v(k,B,z),v(P,R,U),Math.max(Math.abs(B[0]-R[0]),Math.abs(B[1]-R[1]),Math.abs(z[0]-U[0]),Math.abs(z[1]-U[1]))}function S(k){return typeof k=="number"?k:k?.5:0}function T(k,P,B){if(!B.valueDim)return[];for(var z=[],R=0,U=P.count();R<U;R++)z.push(u(B,k,P,R));return z}function L(k,P,B){for(var z=P.getBaseAxis(),R=z.dim==="x"||z.dim==="radius"?0:1,U=[],j=0;j<k.length-1;j++){var H=k[j+1],V=k[j];U.push(V);var X=[];switch(B){case"end":X[R]=H[R],X[1-R]=V[1-R],U.push(X);break;case"middle":var W=(V[R]+H[R])/2,G=[];X[R]=G[R]=W,X[1-R]=V[1-R],G[1-R]=H[1-R],U.push(X),U.push(G);break;default:X[R]=V[R],X[1-R]=H[1-R],U.push(X)}}return k[j]&&U.push(k[j]),U}function x(k,P){var B=k.getVisual("visualMeta");if(!B||!B.length||!k.count())return;if(P.type!=="cartesian2d")return;for(var z,R,U=B.length-1;U>=0;U--){var j=B[U].dimension,H=k.dimensions[j],V=k.getDimensionInfo(H);if(z=V&&V.coordDim,z==="x"||z==="y"){R=B[U];break}}if(!R)return;var X=P.getAxis(z),W=y.map(R.stops,function(Ue){return{coord:X.toGlobalCoord(X.dataToCoord(Ue.value)),color:Ue.color}}),G=W.length,$=R.outerColors.slice();G&&W[0].coord>W[G-1].coord&&(W.reverse(),$.reverse());var ge=10,q=W[0].coord-ge,Se=W[G-1].coord+ge,Ce=Se-q;if(Ce<.001)return"transparent";y.each(W,function(Ue){Ue.offset=(Ue.coord-q)/Ce}),W.push({offset:G?W[G-1].offset:.5,color:$[1]||"transparent"}),W.unshift({offset:G?W[0].offset:.5,color:$[0]||"transparent"});var Ae=new i.LinearGradient(0,0,0,0,W,!0);return Ae[z]=q,Ae[z+"2"]=Se,Ae}function C(k,P,B){var z=k.get("showAllSymbol"),R=z==="auto";if(z&&!R)return;var U=B.getAxesByScale("ordinal")[0];if(!U)return;if(R&&O(U,P))return;var j=P.mapDimension(U.dim),H={};return y.each(U.getViewLabels(),function(V){H[V.tickValue]=1}),function(V){return!H.hasOwnProperty(P.get(j,V))}}function O(k,P){var B=k.getExtent(),z=Math.abs(B[1]-B[0])/k.scale.count();isNaN(z)&&(z=0);for(var R=P.count(),U=Math.max(1,Math.round(R/5)),j=0;j<R;j+=U)if(c.getSymbolSize(P,j)[k.isHorizontal()?1:0]*1.5>z)return!1;return!0}function N(k,P,B){if(k.type==="cartesian2d"){var z=k.getBaseAxis().isHorizontal(),R=w(k,P,B);if(!B.get("clip",!0)){var U=R.shape,j=Math.max(U.width,U.height);z?(U.y-=j,U.height+=j*2):(U.x-=j,U.width+=j*2)}return R}else return b(k,P,B)}var F=l.extend({type:"line",init:function(){var k=new i.Group,P=new h;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=k},render:function(k,P,B){var z=k.coordinateSystem,R=this.group,U=k.getData(),j=k.getModel("lineStyle"),H=k.getModel("areaStyle"),V=U.mapArray(U.getItemLayout),X=z.type==="polar",W=this._coordSys,G=this._symbolDraw,$=this._polyline,ge=this._polygon,q=this._lineGroup,Se=k.get("animation"),Ce=!H.isEmpty(),Ae=H.get("origin"),Ue=s(z,U,Ae),Qe=T(z,U,Ue),gt=k.get("showSymbol"),_e=gt&&!X&&C(k,U,z),Oe=this._data;Oe&&Oe.eachItemGraphicEl(function(ue,Ne){ue.__temp&&(R.remove(ue),Oe.setItemGraphicEl(Ne,null))}),gt||G.remove(),R.add(q);var lt=!X&&k.get("step"),ce;z&&z.getArea&&k.get("clip",!0)&&(ce=z.getArea(),ce.width!=null?(ce.x-=.1,ce.y-=.1,ce.width+=.2,ce.height+=.2):ce.r0&&(ce.r0-=.5,ce.r1+=.5)),this._clipShapeForSymbol=ce,$&&W.type===z.type&<===this._step?(Ce&&!ge?ge=this._newPolygon(V,Qe,z,Se):ge&&!Ce&&(q.remove(ge),ge=this._polygon=null),q.setClipPath(N(z,!1,k)),gt&&G.updateData(U,{isIgnore:_e,clipShape:ce}),U.eachItemGraphicEl(function(ue){ue.stopAnimation(!0)}),(!E(this._stackedOnPoints,Qe)||!E(this._points,V))&&(Se?this._updateAnimation(U,Qe,z,B,lt,Ae):(lt&&(V=L(V,z,lt),Qe=L(Qe,z,lt)),$.setShape({points:V}),ge&&ge.setShape({points:V,stackedOnPoints:Qe})))):(gt&&G.updateData(U,{isIgnore:_e,clipShape:ce}),lt&&(V=L(V,z,lt),Qe=L(Qe,z,lt)),$=this._newPolyline(V,z,Se),Ce&&(ge=this._newPolygon(V,Qe,z,Se)),q.setClipPath(N(z,!0,k)));var Y=x(U,z)||U.getVisual("color");$.useStyle(y.defaults(j.getLineStyle(),{fill:"none",stroke:Y,lineJoin:"bevel"}));var K=k.get("smooth");if(K=S(k.get("smooth")),$.setShape({smooth:K,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),ge){var Q=U.getCalculationInfo("stackedOnSeries"),ye=0;ge.useStyle(y.defaults(H.getAreaStyle(),{fill:Y,opacity:.7,lineJoin:"bevel"})),Q&&(ye=S(Q.get("smooth"))),ge.setShape({smooth:K,stackedOnSmooth:ye,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=U,this._coordSys=z,this._stackedOnPoints=Qe,this._points=V,this._step=lt,this._valueOrigin=Ae},dispose:function(){},highlight:function(k,P,B,z){var R=k.getData(),U=r.queryDataIndex(R,z);if(!(U instanceof Array)&&U!=null&&U>=0){var j=R.getItemGraphicEl(U);if(!j){var H=R.getItemLayout(U);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;j=new c(R,U),j.position=H,j.setZ(k.get("zlevel"),k.get("z")),j.ignore=isNaN(H[0])||isNaN(H[1]),j.__temp=!0,R.setItemGraphicEl(U,j),j.stopSymbolAnimation(!0),this.group.add(j)}j.highlight()}else l.prototype.highlight.call(this,k,P,B,z)},downplay:function(k,P,B,z){var R=k.getData(),U=r.queryDataIndex(R,z);if(U!=null&&U>=0){var j=R.getItemGraphicEl(U);j&&(j.__temp?(R.setItemGraphicEl(U,null),this.group.remove(j)):j.downplay())}else l.prototype.downplay.call(this,k,P,B,z)},_newPolyline:function(k){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new d({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(k,P){var B=this._polygon;return B&&this._lineGroup.remove(B),B=new n({shape:{points:k,stackedOnPoints:P},silent:!0}),this._lineGroup.add(B),this._polygon=B,B},_updateAnimation:function(k,P,B,z,R,U){var j=this._polyline,H=this._polygon,V=k.hostModel,X=a(this._data,k,this._stackedOnPoints,P,this._coordSys,B,this._valueOrigin,U),W=X.current,G=X.stackedOnCurrent,$=X.next,ge=X.stackedOnNext;if(R&&(W=L(X.current,B,R),G=L(X.stackedOnCurrent,B,R),$=L(X.next,B,R),ge=L(X.stackedOnNext,B,R)),A(W,$)>3e3||H&&A(G,ge)>3e3){j.setShape({points:$}),H&&H.setShape({points:$,stackedOnPoints:ge});return}j.shape.__points=X.current,j.shape.points=W,i.updateProps(j,{shape:{points:$}},V),H&&(H.setShape({points:W,stackedOnPoints:G}),i.updateProps(H,{shape:{points:$,stackedOnPoints:ge}},V));for(var q=[],Se=X.status,Ce=0;Ce<Se.length;Ce++){var Ae=Se[Ce].cmd;if(Ae==="="){var Ue=k.getItemGraphicEl(Se[Ce].idx1);Ue&&q.push({el:Ue,ptIdx:Ce})}}j.animators&&j.animators.length&&j.animators[0].during(function(){for(var Qe=0;Qe<q.length;Qe++){var gt=q[Qe].el;gt.attr("position",j.shape.__points[q[Qe].ptIdx])}})},remove:function(k){var P=this.group,B=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),B&&B.eachItemGraphicEl(function(z,R){z.__temp&&(P.remove(z),B.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});D.exports=F},"8XDt":function(D,_,e){e("qH13");var g=e("aX58"),f=g.registerPainter,y=e("6fms");f("vml",y)},"8hn6":function(D,_){var e="#eee",g=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},f=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],y={color:f,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:f[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:g(),logAxis:g(),valueAxis:g(),categoryAxis:g(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};y.categoryAxis.splitLine.show=!1;var m=y;D.exports=m},"8nMs":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),m=e("Znkb"),v=e("AVZG"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,a=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],o=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(d,n,l,t){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!d.get("show"))return;var u=d.getCoordSysModel(),p=v.layout(u,d),w=new y(d,p);g.each(i,w.add,w),this._axisGroup.add(w.getGroup()),g.each(r,function(b){d.get(b+".show")&&this["_"+b](d,u)},this),f.groupTransition(s,this._axisGroup,d),o.superCall(this,"render",d,n,l,t)},remove:function(){a(this)},_splitLine:function(d,n){var l=d.axis;if(l.scale.isBlank())return;var t=d.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("color");u=g.isArray(u)?u:[u];for(var p=n.coordinateSystem.getRect(),w=l.isHorizontal(),b=0,E=l.getTicksCoords({tickModel:t}),A=[],S=[],T=s.getLineStyle(),L=0;L<E.length;L++){var x=l.toGlobalCoord(E[L].coord);w?(A[0]=x,A[1]=p.y,S[0]=x,S[1]=p.y+p.height):(A[0]=p.x,A[1]=x,S[0]=p.x+p.width,S[1]=x);var C=b++%u.length,O=E[L].tickValue;this._axisGroup.add(new f.Line({anid:O!=null?"line_"+E[L].tickValue:null,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:S[0],y2:S[1]},style:g.defaults({stroke:u[C]},T),silent:!0}))}},_minorSplitLine:function(d,n){var l=d.axis,t=d.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=n.coordinateSystem.getRect(),p=l.isHorizontal(),w=l.getMinorTicksCoords();if(!w.length)return;for(var b=[],E=[],A=s.getLineStyle(),S=0;S<w.length;S++)for(var T=0;T<w[S].length;T++){var L=l.toGlobalCoord(w[S][T].coord);p?(b[0]=L,b[1]=u.y,E[0]=L,E[1]=u.y+u.height):(b[0]=u.x,b[1]=L,E[0]=u.x+u.width,E[1]=L),this._axisGroup.add(new f.Line({anid:"minor_line_"+w[S][T].tickValue,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:A,silent:!0}))}},_splitArea:function(d,n){c(this,this._axisGroup,d,n)}});o.extend({type:"xAxis"}),o.extend({type:"yAxis"})},"8nly":function(D,_,e){var g=e("mFDi"),f=e("4mN7"),y=e("QBsz"),m=e("BlVb");function v(c,a,i){if(this.name=c,this.geometries=a,i)i=[i[0],i[1]];else{var r=this.getBoundingRect();i=[r.x+r.width/2,r.y+r.height/2]}this.center=i}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var a=Number.MAX_VALUE,i=[a,a],r=[-a,-a],o=[],d=[],n=this.geometries,l=0;l<n.length;l++){if(n[l].type!=="polygon")continue;var t=n[l].exterior;f.fromPoints(t,o,d),y.min(i,i,o),y.max(r,r,d)}return l===0&&(i[0]=i[1]=r[0]=r[1]=0),this._rect=new g(i[0],i[1],r[0]-i[0],r[1]-i[1])},contain:function(c){var a=this.getBoundingRect(),i=this.geometries;if(!a.contain(c[0],c[1]))return!1;e:for(var r=0,o=i.length;r<o;r++){if(i[r].type!=="polygon")continue;var d=i[r].exterior,n=i[r].interiors;if(m.contain(d,c[0],c[1])){for(var l=0;l<(n?n.length:0);l++)if(m.contain(n[l]))continue e;return!0}}return!1},transformTo:function(c,a,i,r){var o=this.getBoundingRect(),d=o.width/o.height;i?r||(r=i/d):i=d*r;for(var n=new g(c,a,i,r),l=o.calculateTransform(n),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var u=t[s].exterior,p=t[s].interiors,w=0;w<u.length;w++)y.applyTransform(u[w],u[w],l);for(var b=0;b<(p?p.length:0);b++)for(var w=0;w<p[b].length;w++)y.applyTransform(p[b][w],p[b][w],l)}o=this._rect,o.copy(n),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var a=new v(c,this.geometries,this.center);return a._rect=this._rect,a.transformTo=null,a}};var h=v;D.exports=h},"8waO":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("iLNv"),m=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var v=5;g.extendComponentView({type:"parallel",render:function(a,i,r){this._model=a,this._api=r,this._handlers||(this._handlers={},f.each(h,function(o,d){r.getZr().on(d,this._handlers[d]=f.bind(o,this))},this)),y.createOrUpdate(this,"_throttledDispatchExpand",a.get("axisExpandRate"),"fixRate")},dispose:function(a,i){f.each(this._handlers,function(r,o){i.getZr().off(o,r)}),this._handlers=null},_throttledDispatchExpand:function(a){this._dispatchExpand(a)},_dispatchExpand:function(a){a&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},a))}});var h={mousedown:function(a){c(this,"click")&&(this._mouseDownPoint=[a.offsetX,a.offsetY])},mouseup:function(a){var i=this._mouseDownPoint;if(c(this,"click")&&i){var r=[a.offsetX,a.offsetY],o=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2);if(o>v)return;var d=this._model.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]);d.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:d.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(a){if(this._mouseDownPoint||!c(this,"mousemove"))return;var i=this._model,r=i.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]),o=r.behavior;o==="jump"&&this._throttledDispatchExpand.debounceNextCall(i.get("axisExpandDebounce")),this._throttledDispatchExpand(o==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:o==="jump"?null:!1})}};function c(a,i){var r=a._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===i}g.registerPreprocessor(m)},"8x+h":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("K4ya"),h=e("Qxkt"),c=["#ddd"],a=y.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(o,d){var n=this.option;!d&&v.replaceVisualOption(n,o,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:c},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(o){if(!o)return;this.areas=m.map(o,function(d){return i(this.option,d)},this)},setBrushOption:function(o){this.brushOption=i(this.option,o),this.brushType=this.brushOption.brushType}});function i(o,d){return m.merge({brushType:o.brushType,brushMode:o.brushMode,transformable:o.transformable,brushStyle:new h(o.brushStyle).getItemStyle(),removeOnClick:o.removeOnClick,z:o.z},d,!0)}var r=a;D.exports=r},"8z0m":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("RIqP"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("J4zp"),a=e.n(c),i=e("q1tI"),r=e.n(i),o=e("TSYQ"),d=e.n(o);function n(Bt,we){var ve="cannot "+Bt.method+" "+Bt.action+" "+we.status+"'",me=new Error(ve);return me.status=we.status,me.method=Bt.method,me.url=Bt.action,me}function l(Bt){var we=Bt.responseText||Bt.response;if(!we)return we;try{return JSON.parse(we)}catch(ve){return we}}function t(Bt){var we=new XMLHttpRequest;Bt.onProgress&&we.upload&&(we.upload.onprogress=function(Re){Re.total>0&&(Re.percent=Re.loaded/Re.total*100),Bt.onProgress(Re)});var ve=new FormData;Bt.data&&Object.keys(Bt.data).forEach(function(he){var Re=Bt.data[he];if(Array.isArray(Re)){Re.forEach(function(He){ve.append(he+"[]",He)});return}ve.append(he,Bt.data[he])}),Bt.file instanceof Blob?ve.append(Bt.filename,Bt.file,Bt.file.name):ve.append(Bt.filename,Bt.file),we.onerror=function(Re){Bt.onError(Re)},we.onload=function(){return we.status<200||we.status>=300?Bt.onError(n(Bt,we),l(we)):Bt.onSuccess(l(we),we)},we.open(Bt.method,Bt.action,!0),Bt.withCredentials&&"withCredentials"in we&&(we.withCredentials=!0);var me=Bt.headers||{};return me["X-Requested-With"]!==null&&we.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(me).forEach(function(he){me[he]!==null&&we.setRequestHeader(he,me[he])}),we.send(ve),{abort:function(){we.abort()}}}var s=+new Date,u=0;function p(){return"rc-upload-"+s+"-"+ ++u}function w(Bt,we){return Bt.indexOf(we,Bt.length-we.length)!==-1}var b=function(Bt,we){if(Bt&&we){var ve=Array.isArray(we)?we:we.split(","),me=Bt.name||"",he=Bt.type||"",Re=he.replace(/\/.*$/,"");return ve.some(function(He){var ze=He.trim();return ze.charAt(0)==="."?w(me.toLowerCase(),ze.toLowerCase()):/\/\*$/.test(ze)?Re===ze.replace(/\/.*$/,""):he===ze})}return!0};function E(Bt,we){var ve=Bt.createReader(),me=[];function he(){ve.readEntries(function(Re){var He=Array.prototype.slice.apply(Re);me=me.concat(He);var ze=!He.length;ze?we(me):he()})}he()}var A=function(we,ve,me){var he=function Re(He,ze){ze=ze||"",He.isFile?He.file(function(Ye){me(Ye)&&(He.fullPath&&!Ye.webkitRelativePath&&(Object.defineProperties(Ye,{webkitRelativePath:{writable:!0}}),Ye.webkitRelativePath=He.fullPath.replace(/^\//,""),Object.defineProperties(Ye,{webkitRelativePath:{writable:!1}})),ve([Ye]))}):He.isDirectory&&E(He,function(Ye){Ye.forEach(function(Pe){Re(Pe,""+ze+He.name+"/")})})};we.forEach(function(Re){he(Re.webkitGetAsEntry())})},S=A,T=Object.assign||function(Bt){for(var we=1;we<arguments.length;we++){var ve=arguments[we];for(var me in ve)Object.prototype.hasOwnProperty.call(ve,me)&&(Bt[me]=ve[me])}return Bt},L=function(){function Bt(we,ve){var me=[],he=!0,Re=!1,He=void 0;try{for(var ze=we[Symbol.iterator](),Ye;!(he=(Ye=ze.next()).done)&&!(me.push(Ye.value),ve&&me.length===ve);he=!0);}catch(Pe){Re=!0,He=Pe}finally{try{!he&&ze.return&&ze.return()}finally{if(Re)throw He}}return me}return function(we,ve){if(Array.isArray(we))return we;if(Symbol.iterator in Object(we))return Bt(we,ve);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),x=function(){function Bt(we,ve){for(var me=0;me<ve.length;me++){var he=ve[me];he.enumerable=he.enumerable||!1,he.configurable=!0,"value"in he&&(he.writable=!0),Object.defineProperty(we,he.key,he)}}return function(we,ve,me){return ve&&Bt(we.prototype,ve),me&&Bt(we,me),we}}();function C(Bt,we,ve){return we in Bt?Object.defineProperty(Bt,we,{value:ve,enumerable:!0,configurable:!0,writable:!0}):Bt[we]=ve,Bt}function O(Bt,we){var ve={};for(var me in Bt){if(we.indexOf(me)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Bt,me))continue;ve[me]=Bt[me]}return ve}function N(Bt,we){if(!(Bt instanceof we))throw new TypeError("Cannot call a class as a function")}function F(Bt,we){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:Bt}function k(Bt,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);Bt.prototype=Object.create(we&&we.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,we):Bt.__proto__=we)}var P=function(we){return Object.keys(we).reduce(function(ve,me){return(me.substr(0,5)==="data-"||me.substr(0,5)==="aria-"||me==="role")&&(ve[me]=we[me]),ve},{})},B=function(Bt){k(we,Bt);function we(){var ve,me,he,Re;N(this,we);for(var He=arguments.length,ze=Array(He),Ye=0;Ye<He;Ye++)ze[Ye]=arguments[Ye];return Re=(me=(he=F(this,(ve=we.__proto__||Object.getPrototypeOf(we)).call.apply(ve,[this].concat(ze))),he),he.state={uid:p()},he.reqs={},he.onChange=function(Pe){var nt=Pe.target.files;he.uploadFiles(nt),he.reset()},he.onClick=function(Pe){var nt=he.fileInput;if(!nt)return;var bt=he.props,Ot=bt.children,ae=bt.onClick;Ot&&Ot.type==="button"&&(nt.parentNode.focus(),nt.parentNode.querySelector("button").blur()),nt.click(),ae&&ae(Pe)},he.onKeyDown=function(Pe){Pe.key==="Enter"&&he.onClick()},he.onFileDrop=function(Pe){var nt=he.props.multiple;if(Pe.preventDefault(),Pe.type==="dragover")return;if(he.props.directory)S(Array.prototype.slice.call(Pe.dataTransfer.items),he.uploadFiles,function(Ot){return b(Ot,he.props.accept)});else{var bt=Array.prototype.slice.call(Pe.dataTransfer.files).filter(function(Ot){return b(Ot,he.props.accept)});nt===!1&&(bt=bt.slice(0,1)),he.uploadFiles(bt)}},he.uploadFiles=function(Pe){var nt=Array.prototype.slice.call(Pe);nt.map(function(bt){return bt.uid=p(),bt}).forEach(function(bt){he.upload(bt,nt)})},he.saveFileInput=function(Pe){he.fileInput=Pe},me),F(he,Re)}return x(we,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(me,he){var Re=this,He=this.props;if(!He.beforeUpload)return setTimeout(function(){return Re.post(me)},0);var ze=He.beforeUpload(me,he);ze&&ze.then?ze.then(function(Ye){var Pe=Object.prototype.toString.call(Ye);return Pe==="[object File]"||Pe==="[object Blob]"?Re.post(Ye):Re.post(me)}).catch(function(Ye){console.log(Ye)}):ze!==!1&&setTimeout(function(){return Re.post(me)},0);return}},{key:"post",value:function(me){var he=this;if(!this._isMounted)return;var Re=this.props,He=Re.onStart,ze=Re.onProgress,Ye=Re.transformFile,Pe=Ye===void 0?function(nt){return nt}:Ye;new Promise(function(nt){var bt=Re.action;return typeof bt=="function"&&(bt=bt(me)),nt(bt)}).then(function(nt){var bt=me.uid,Ot=Re.customRequest||t,ae=Promise.resolve(Pe(me)).then(function(pe){var J=Re.data;return typeof J=="function"&&(J=J(pe)),Promise.all([pe,J])}).catch(function(pe){console.error(pe)});ae.then(function(pe){var J=L(pe,2),ne=J[0],xe=J[1],De={action:nt,filename:Re.name,data:xe,file:ne,headers:Re.headers,withCredentials:Re.withCredentials,method:Re.method||"post",onProgress:ze?function(Fe){ze(Fe,me)}:null,onSuccess:function($e,vt){delete he.reqs[bt],Re.onSuccess($e,me,vt)},onError:function($e,vt){delete he.reqs[bt],Re.onError($e,vt,me)}};he.reqs[bt]=Ot(De),He(me)})})}},{key:"reset",value:function(){this.setState({uid:p()})}},{key:"abort",value:function(me){var he=this.reqs;if(me){var Re=me;me&&me.uid&&(Re=me.uid),he[Re]&&he[Re].abort&&he[Re].abort(),delete he[Re]}else Object.keys(he).forEach(function(He){he[He]&&he[He].abort&&he[He].abort(),delete he[He]})}},{key:"render",value:function(){var me,he=this.props,Re=he.component,He=he.prefixCls,ze=he.className,Ye=he.disabled,Pe=he.id,nt=he.style,bt=he.multiple,Ot=he.accept,ae=he.children,pe=he.directory,J=he.openFileDialogOnClick,ne=he.onMouseEnter,xe=he.onMouseLeave,De=O(he,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Fe=d()((me={},C(me,He,!0),C(me,He+"-disabled",Ye),C(me,ze,ze),me)),$e=Ye?{}:{onClick:J?this.onClick:function(){},onKeyDown:J?this.onKeyDown:function(){},onMouseEnter:ne,onMouseLeave:xe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(Re,T({},$e,{className:Fe,role:"button",style:nt}),r.a.createElement("input",T({},P(De),{id:Pe,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ot,directory:pe?"directory":null,webkitdirectory:pe?"webkitdirectory":null,multiple:bt,onChange:this.onChange})),ae)}}]),we}(i.Component),z=B,R=Object.assign||function(Bt){for(var we=1;we<arguments.length;we++){var ve=arguments[we];for(var me in ve)Object.prototype.hasOwnProperty.call(ve,me)&&(Bt[me]=ve[me])}return Bt},U=function(){function Bt(we,ve){for(var me=0;me<ve.length;me++){var he=ve[me];he.enumerable=he.enumerable||!1,he.configurable=!0,"value"in he&&(he.writable=!0),Object.defineProperty(we,he.key,he)}}return function(we,ve,me){return ve&&Bt(we.prototype,ve),me&&Bt(we,me),we}}();function j(Bt,we){if(!(Bt instanceof we))throw new TypeError("Cannot call a class as a function")}function H(Bt,we){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:Bt}function V(Bt,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);Bt.prototype=Object.create(we&&we.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,we):Bt.__proto__=we)}function X(){}var W=function(Bt){V(we,Bt);function we(){var ve,me,he,Re;j(this,we);for(var He=arguments.length,ze=Array(He),Ye=0;Ye<He;Ye++)ze[Ye]=arguments[Ye];return Re=(me=(he=H(this,(ve=we.__proto__||Object.getPrototypeOf(we)).call.apply(ve,[this].concat(ze))),he),he.saveUploader=function(Pe){he.uploader=Pe},me),H(he,Re)}return U(we,[{key:"abort",value:function(me){this.uploader.abort(me)}},{key:"render",value:function(){return r.a.createElement(z,R({},this.props,{ref:this.saveUploader}))}}]),we}(i.Component);W.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:X,onError:X,onSuccess:X,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var G=W,$=G,ge=function(Bt,we){var ve={};for(var me in Bt)Object.prototype.hasOwnProperty.call(Bt,me)&&we.indexOf(me)<0&&(ve[me]=Bt[me]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,me=Object.getOwnPropertySymbols(Bt);he<me.length;he++)we.indexOf(me[he])<0&&Object.prototype.propertyIsEnumerable.call(Bt,me[he])&&(ve[me[he]]=Bt[me[he]]);return ve},q=function(we,ve){var me=we.style,he=we.height,Re=ge(we,["style","height"]);return i.createElement(_t,h()({ref:ve},Re,{type:"drag",style:h()(h()({},me),{height:he})}))},Se=i.forwardRef(q);Se.displayName="Dragger";var Ce=Se,Ae=e("UmKh"),Ue=e("gZBC"),Qe=e.n(Ue),gt=e("+d4F"),_e=e.n(gt),Oe=e("XAae"),lt=e.n(Oe),ce=e("6xvX"),Y=e.n(ce),K=e("qPY4"),Q=e.n(K),ye=e("QB+1"),ue=e.n(ye),Ne=e("Qs3X"),Te=e.n(Ne),oe=e("0n0R");function de(){return!0}function Le(Bt){return h()(h()({},Bt),{lastModified:Bt.lastModified,lastModifiedDate:Bt.lastModifiedDate,name:Bt.name,size:Bt.size,type:Bt.type,uid:Bt.uid,percent:0,originFileObj:Bt})}function Ge(Bt,we){var ve=Bt.uid!==void 0?"uid":"name";return we.filter(function(me){return me[ve]===Bt[ve]})[0]}function ht(Bt,we){var ve=Bt.uid!==void 0?"uid":"name",me=we.filter(function(he){return he[ve]!==Bt[ve]});return me.length===we.length?null:me}var Et=function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",ve=we.split("/"),me=ve[ve.length-1],he=me.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(he)||[""])[0]},Be=function(we){return we.indexOf("image/")===0},Dt=function(we){if(we.type&&!we.thumbUrl)return Be(we.type);var ve=we.thumbUrl||we.url,me=Et(ve);return/^data:image\//.test(ve)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(me)?!0:/^data:/.test(ve)?!1:!me},Ke=200;function At(Bt){return new Promise(function(we){if(!Bt.type||!Be(Bt.type)){we("");return}var ve=document.createElement("canvas");ve.width=Ke,ve.height=Ke,ve.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ke,"px; height: ").concat(Ke,"px; z-index: 9999; display: none;"),document.body.appendChild(ve);var me=ve.getContext("2d"),he=new Image;he.onload=function(){var Re=he.width,He=he.height,ze=Ke,Ye=Ke,Pe=0,nt=0;Re<He?(Ye=He*(Ke/Re),nt=-(Ye-ze)/2):(ze=Re*(Ke/He),Pe=-(ze-Ye)/2),me.drawImage(he,Pe,nt,ze,Ye);var bt=ve.toDataURL();document.body.removeChild(ve),we(bt)},he.src=window.URL.createObjectURL(Bt)})}var Xe=e("3S7+"),et=e("CFYs"),tt=e("H84U"),ot=e("2/Rp"),Ve=e("hkKa"),se=function(we,ve){var me,he=we.listType,Re=we.previewFile,He=we.onPreview,ze=we.onDownload,Ye=we.onRemove,Pe=we.locale,nt=we.iconRender,bt=we.isImageUrl,Ot=we.prefixCls,ae=we.items,pe=ae===void 0?[]:ae,J=we.showPreviewIcon,ne=we.showRemoveIcon,xe=we.showDownloadIcon,De=we.removeIcon,Fe=we.downloadIcon,$e=we.progress,vt=Object(Ve.a)();i.useEffect(function(){if(he!=="picture"&&he!=="picture-card")return;(pe||[]).forEach(function(pt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(pt.originFileObj instanceof File||pt.originFileObj instanceof Blob)||pt.thumbUrl!==void 0)return;pt.thumbUrl="",Re&&Re(pt.originFileObj).then(function(It){pt.thumbUrl=It||"",vt()})})},[he,pe,Re]);var Wt=function(It,Tt){return He?(Tt.preventDefault(),He(It)):void 0},$t=function(It){typeof ze=="function"?ze(It):It.url&&window.open(It.url)},Rt=function(It){Ye&&Ye(It)},Kt=function(It){if(nt)return nt(It,he);var Tt=It.status==="uploading",ft=bt&&bt(It)?i.createElement(lt.a,null):i.createElement(Y.a,null),Ht=Tt?i.createElement(Qe.a,null):i.createElement(_e.a,null);return he==="picture"?Ht=Tt?i.createElement(Qe.a,null):ft:he==="picture-card"&&(Ht=Tt?Pe.uploading:ft),Ht},Gt=function(It,Tt,ft,Ht){var Ft={type:"text",size:"small",title:Ht,onClick:function(mr){Tt(),Object(oe.b)(It)&&It.props.onClick&&It.props.onClick(mr)},className:"".concat(ft,"-list-item-card-actions-btn")};if(Object(oe.b)(It)){var ir=Object(oe.a)(It,h()(h()({},It.props),{onClick:function(){}}));return i.createElement(ot.a,h()({},Ft,{icon:ir}))}return i.createElement(ot.a,Ft,i.createElement("span",null,It))};i.useImperativeHandle(ve,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=i.useContext(tt.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",Ot),st=pe.map(function(pt){var It,Tt,ft,Ht=Kt(pt),Ft=i.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(he==="picture"||he==="picture-card")if(pt.status==="uploading"||!pt.thumbUrl&&!pt.url){var ir,Xt=d()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),pt.status!=="uploading"),ir));Ft=i.createElement("div",{className:Xt},Ht)}else{var mr,Ar=bt&&bt(pt)?i.createElement("img",{src:pt.thumbUrl||pt.url,alt:pt.name,className:"".concat(er,"-list-item-image")}):Ht,Nr=d()((mr={},f()(mr,"".concat(er,"-list-item-thumbnail"),!0),f()(mr,"".concat(er,"-list-item-file"),bt&&!bt(pt)),mr));Ft=i.createElement("a",{className:Nr,onClick:function(gn){return Wt(pt,gn)},href:pt.url||pt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(pt.status==="uploading"){var Fr="percent"in pt?i.createElement(et.a,h()({},$e,{type:"line",percent:pt.percent})):null;ft=i.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},Fr)}var tn=d()((It={},f()(It,"".concat(er,"-list-item"),!0),f()(It,"".concat(er,"-list-item-").concat(pt.status),!0),f()(It,"".concat(er,"-list-item-list-type-").concat(he),!0),It)),qr=typeof pt.linkProps=="string"?JSON.parse(pt.linkProps):pt.linkProps,Lr=ne?Gt(De||i.createElement(ue.a,null),function(){return Rt(pt)},er,Pe.removeFile):null,Qr=xe&&pt.status==="done"?Gt(Fe||i.createElement(Te.a,null),function(){return $t(pt)},er,Pe.downloadFile):null,_r=he!=="picture-card"&&i.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(he==="picture"?"picture":"")},Qr,Lr),ur=d()((Tt={},f()(Tt,"".concat(er,"-list-item-name"),!0),f()(Tt,"".concat(er,"-list-item-name-icon-count-").concat([Qr,Lr].filter(function(Tn){return Tn}).length),!0),Tt)),pr=pt.url?[i.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:ur,title:pt.name},qr,{href:pt.url,onClick:function(gn){return Wt(pt,gn)}}),pt.name),_r]:[i.createElement("span",{key:"view",className:ur,onClick:function(gn){return Wt(pt,gn)},title:pt.name},pt.name),_r],cr={pointerEvents:"none",opacity:.5},fr=J?i.createElement("a",{href:pt.url||pt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:pt.url||pt.thumbUrl?void 0:cr,onClick:function(gn){return Wt(pt,gn)},title:Pe.previewFile},i.createElement(Q.a,null)):null,xr=he==="picture-card"&&pt.status!=="uploading"&&i.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,pt.status==="done"&&Qr,Lr),Yr;pt.response&&typeof pt.response=="string"?Yr=pt.response:Yr=pt.error&&pt.error.statusText||Pe.uploadError;var un=i.createElement("span",null,Ft,pr),Nn=i.createElement("div",{className:tn},i.createElement("div",{className:"".concat(er,"-list-item-info")},un),xr,i.createElement(Ae.a,{transitionName:"fade",component:""},ft)),jr=d()(f()({},"".concat(er,"-list-picture-card-container"),he==="picture-card"));return i.createElement("div",{key:pt.uid,className:jr},pt.status==="error"?i.createElement(Xe.a,{title:Yr,getPopupContainer:function(gn){return gn.parentNode}},Nn):i.createElement("span",null,Nn))}),xt=d()((me={},f()(me,"".concat(er,"-list"),!0),f()(me,"".concat(er,"-list-").concat(he),!0),f()(me,"".concat(er,"-list-rtl"),dr==="rtl"),me)),ut=he==="picture-card"?"animate-inline":"animate";return i.createElement(Ae.a,{transitionName:"".concat(er,"-").concat(ut),component:"div",className:xt},st)},re=i.forwardRef(se);re.displayName="UploadList",re.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:At,isImageUrl:Dt};var it=re,qe=e("YMnH"),be=e("ZvpZ"),Zt=e("uaoM"),dt=e("sPtV"),ct=function(we,ve){var me,he=we.fileList,Re=we.defaultFileList,He=we.onRemove,ze=we.showUploadList,Ye=we.listType,Pe=we.onPreview,nt=we.onDownload,bt=we.previewFile,Ot=we.disabled,ae=we.locale,pe=we.iconRender,J=we.isImageUrl,ne=we.progress,xe=we.prefixCls,De=we.className,Fe=we.type,$e=we.children,vt=we.style,Wt=Object(dt.a)(he||Re||[]),$t=a()(Wt,2),Rt=$t[0],Kt=$t[1],Gt=i.useState("drop"),Qt=a()(Gt,2),Mt=Qt[0],dr=Qt[1],er=i.useRef();i.useEffect(function(){Kt(he||Re||[]),Object(Zt.a)("fileList"in we||!("value"in we),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),i.useEffect(function(){"fileList"in we&&Kt(he||[])},[he]);var st=function(pr){"fileList"in we||Kt(pr.fileList);var cr=we.onChange;cr&&cr(h()(h()({},pr),{fileList:m()(pr.fileList)}))},xt=function(pr){var cr=Le(pr);cr.status="uploading";var fr=Rt().concat(),xr=fr.findIndex(function(Yr){var un=Yr.uid;return un===cr.uid});xr===-1?fr.push(cr):fr[xr]=cr,st({file:cr,fileList:fr})},ut=function(pr,cr,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Yr){}var xr=Ge(cr,Rt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,st({file:h()({},xr),fileList:Rt().concat()})},pt=function(pr,cr){var fr=Ge(cr,Rt());if(!fr)return;fr.percent=pr.percent,st({event:pr,file:h()({},fr),fileList:Rt().concat()})},It=function(pr,cr,fr){var xr=Ge(fr,Rt());if(!xr)return;xr.error=pr,xr.response=cr,xr.status="error",st({file:h()({},xr),fileList:Rt().concat()})},Tt=function(pr){Promise.resolve(typeof He=="function"?He(pr):He).then(function(cr){if(cr===!1)return;var fr=ht(pr,Rt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),st({file:pr,fileList:fr}))})},ft=function(pr){dr(pr.type)},Ht=function(pr,cr){var fr=we.beforeUpload;if(!fr)return!0;var xr=fr(pr,cr);if(xr===!1){var Yr=[];return Rt().concat(cr.map(Le)).forEach(function(un){Yr.every(function(Nn){return Nn.uid!==un.uid})&&Yr.push(un)}),st({file:pr,fileList:Yr}),!1}return xr&&xr.then?xr:!0},Ft=Object(Ve.a)();i.useImperativeHandle(ve,function(){return{onStart:xt,onSuccess:ut,onProgress:pt,onError:It,fileList:Rt(),upload:er.current,forceUpdate:Ft}});var ir=function(pr){var cr=ze.showRemoveIcon,fr=ze.showPreviewIcon,xr=ze.showDownloadIcon,Yr=ze.removeIcon,un=ze.downloadIcon;return i.createElement(it,{listType:Ye,items:Rt(),previewFile:bt,onPreview:Pe,onDownload:nt,onRemove:Tt,showRemoveIcon:!Ot&&cr,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Yr,downloadIcon:un,iconRender:pe,locale:h()(h()({},pr),ae),isImageUrl:J,progress:ne})},Xt=i.useContext(tt.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",xe),Fr=h()(h()({onStart:xt,onError:It,onProgress:pt,onSuccess:ut},we),{prefixCls:Nr,beforeUpload:Ht});delete Fr.className,delete Fr.style,(!$e||Ot)&&delete Fr.id;var tn=ze?i.createElement(qe.a,{componentName:"Upload",defaultLocale:be.a.Upload},ir):null;if(Fe==="drag"){var qr,Lr=d()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Rt().some(function(ur){return ur.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),Ot),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),De);return i.createElement("span",null,i.createElement("div",{className:Lr,onDrop:ft,onDragOver:ft,onDragLeave:ft,style:vt},i.createElement($,h()({},Fr,{ref:er,className:"".concat(Nr,"-btn")}),i.createElement("div",{className:"".concat(Nr,"-drag-container")},$e))),tn)}var Qr=d()(Nr,(me={},f()(me,"".concat(Nr,"-select"),!0),f()(me,"".concat(Nr,"-select-").concat(Ye),!0),f()(me,"".concat(Nr,"-disabled"),Ot),f()(me,"".concat(Nr,"-rtl"),Ar==="rtl"),me)),_r=i.createElement("div",{className:Qr,style:$e?void 0:{display:"none"}},i.createElement($,h()({},Fr,{ref:er})));return Ye==="picture-card"?i.createElement("span",{className:d()(De,"".concat(Nr,"-picture-card-wrapper"))},tn,_r):i.createElement("span",{className:De},_r,tn)},yt=i.forwardRef(ct);yt.Dragger=Ce,yt.displayName="Upload",yt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:de,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var _t=yt;_t.Dragger=Ce;var or=_.a=_t},"98bh":function(D,_,e){var g=e("ProS"),f=e("5GtS"),y=e("bYtY"),m=e("4NO4"),v=e("OELB"),h=v.getPercentWithPrecision,c=e("cCMj"),a=e("KxfA"),i=a.retrieveRawAttr,r=e("D5nY"),o=r.makeSeriesEncodeForNameBased,d=e("xKMd"),n=g.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new d(y.bind(this.getData,this),y.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,s){return f(this,{coordDimensions:["value"],encodeDefaulter:y.curry(o,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),u=[],p=0,w=t.count();p<w;p++)u.push({name:t.getName(p),value:t.get(s,p),selected:i(t,p,"selected")});return u},getDataParams:function(t){var s=this.getData(),u=n.superCall(this,"getDataParams",t),p=[];return s.each(s.mapDimension("value"),function(w){p.push(w)}),u.percent=h(p,t,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,u=t.emphasis.labelLine;s.show=s.show&&t.label.show,u.show=u.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});y.mixin(n,c);var l=n;D.exports=l},"9H2F":function(D,_,e){var g=e("bYtY"),f=g.assert,y=g.isArray,m=e("Tghj"),v=m.__DEV__;function h(d){return new c(d)}function c(d){d=d||{},this._reset=d.reset,this._plan=d.plan,this._count=d.count,this._onDirty=d.onDirty,this._dirty=!0,this.context}var a=c.prototype;a.perform=function(d){var n=this._upstream,l=d&&d.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var u=E(this._modBy),p=this._modDataCount||0,w=E(d&&d.modBy),b=d&&d.modDataCount||0;(u!==w||p!==b)&&(s="reset");function E(N){return!(N>=1)&&(N=1),N}var A;(this._dirty||s==="reset")&&(this._dirty=!1,A=o(this,l)),this._modBy=w,this._modDataCount=b;var S=d&&d.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,L=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!l&&(A||T<L)){var x=this._progress;if(y(x))for(var C=0;C<x.length;C++)r(this,x[C],T,L,w,b);else r(this,x,T,L,w,b)}this._dueIndex=L;var O=this._settedOutputEnd!=null?this._settedOutputEnd:L;this._outputDueEnd=O}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var i=function(){var d,n,l,t,s,u={reset:function(b,E,A,S){n=b,d=E,l=A,t=S,s=Math.ceil(t/l),u.next=l>1&&t>0?w:p}};return u;function p(){return n<d?n++:null}function w(){var b=n%s*l+Math.ceil(n/s),E=n>=d?null:b<t?b:n;return n++,E}}();a.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(d,n,l,t,s,u){i.reset(l,t,s,u),d._callingProgress=n,d._callingProgress({start:l,end:t,count:t-l,next:i.next},d.context)}function o(d,n){d._dueIndex=d._outputDueEnd=d._dueEnd=0,d._settedOutputEnd=null;var l,t;!n&&d._reset&&(l=d._reset(d.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),y(l)&&!l.length&&(l=null)),d._progress=l,d._modBy=d._modDataCount=null;var s=d._downstream;return s&&s.dirty(),t}a.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},a.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},a.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},a.getUpstream=function(){return this._upstream},a.getDownstream=function(){return this._downstream},a.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},_.createTask=h},"9KIM":function(D,_,e){var g=e("mFDi"),f=e("xSat"),y=f.onIrrelevantElement,m=e("IwbS");function v(i){return i=a(i),function(r,o){return m.clipPointsByRect(r,i)}}function h(i,r){return i=a(i),function(o){var d=r!=null?r:o,n=d?i.width:i.height,l=d?i.x:i.y;return[l,l+(n||0)]}}function c(i,r,o){return i=a(i),function(d,n,l){return i.contain(n[0],n[1])&&!y(d,r,o)}}function a(i){return g.create(i)}_.makeRectPanelClipPath=v,_.makeLinearBrushOtherExtent=h,_.makeRectIsTargetByCursor=c},"9ama":function(D,_,e){},"9eas":function(D,_,e){e("HM/N"),e("tBnm")},"9hCq":function(D,_,e){var g=e("IwbS"),f=e("+TT/"),y=e("bYtY"),m=e("VaxA"),v=m.wrapTreePathInfo,h=8,c=8,a=5;function i(n){this.group=new g.Group,n.add(this.group)}i.prototype={constructor:i,render:function(n,l,t,s){var u=n.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!u.get("show")||!t)return;var w=u.getModel("itemStyle"),b=w.getModel("textStyle"),E={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,E,b),this._renderContent(n,E,w,b,s),f.positionElement(p,E.pos,E.box)},_prepare:function(n,l,t){for(var s=n;s;s=s.parentNode){var u=s.getModel().get("name"),p=t.getTextRect(u),w=Math.max(p.width+h*2,l.emptyItemWidth);l.totalWidth+=w+c,l.renderList.push({node:s,text:u,width:w})}},_renderContent:function(n,l,t,s,u){for(var p=0,w=l.emptyItemWidth,b=n.get("breadcrumb.height"),E=f.getAvailableSize(l.pos,l.box),A=l.totalWidth,S=l.renderList,T=S.length-1;T>=0;T--){var L=S[T],x=L.node,C=L.width,O=L.text;A>E.width&&(A-=C-w,C=w,O=null);var N=new g.Polygon({shape:{points:r(p,0,C,b,T===S.length-1,T===0)},style:y.defaults(t.getItemStyle(),{lineJoin:"bevel",text:O,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:y.curry(u,x)});this.group.add(N),o(N,n,x),p+=C+c}},remove:function(){this.group.removeAll()}};function r(n,l,t,s,u,p){var w=[[u?n:n-a,l],[n+t,l],[n+t,l+s],[u?n:n-a,l+s]];return!p&&w.splice(2,0,[n+t+a,l+s/2]),!u&&w.push([n,l+s/2]),w}function o(n,l,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&v(t,l)}}var d=i;D.exports=d},"9u0u":function(D,_,e){var g=e("bYtY");function f(m,v){var h={};return g.each(m,function(c){c.each(c.mapDimension("value"),function(a,i){var r="ec-"+c.getName(i);h[r]=h[r]||[],isNaN(a)||h[r].push(a)})}),m[0].map(m[0].mapDimension("value"),function(c,a){for(var i="ec-"+m[0].getName(a),r=0,o=Infinity,d=-Infinity,n=h[i].length,l=0;l<n;l++)o=Math.min(o,h[i][l]),d=Math.max(d,h[i][l]),r+=h[i][l];var t;return v==="min"?t=o:v==="max"?t=d:v==="average"?t=r/n:t=r,n===0?NaN:t})}function y(m){var v={};m.eachSeriesByType("map",function(h){var c=h.getHostGeoModel(),a=c?"o"+c.id:"i"+h.getMapType();(v[a]=v[a]||[]).push(h)}),g.each(v,function(h,c){for(var a=f(g.map(h,function(r){return r.getData()}),h[0].get("mapValueCalculation")),i=0;i<h.length;i++)h[i].originalData=h[i].getData();for(var i=0;i<h.length;i++)h[i].seriesGroup=h,h[i].needsDrawMap=i===0&&!h[i].getHostGeoModel(),h[i].setData(a.cloneShallow()),h[i].mainSeries=h[0]})}D.exports=y},"9wZj":function(D,_,e){var g=e("IwbS"),f=e("FBjb"),y=e("bYtY"),m=y.isObject;function v(o){this.group=new g.Group,this._symbolCtor=o||f}var h=v.prototype;function c(o,d,n,l){return d&&!isNaN(d[0])&&!isNaN(d[1])&&!(l.isIgnore&&l.isIgnore(n))&&!(l.clipShape&&!l.clipShape.contain(d[0],d[1]))&&o.getItemVisual(n,"symbol")!=="none"}h.updateData=function(o,d){d=a(d);var n=this.group,l=o.hostModel,t=this._data,s=this._symbolCtor,u=i(o);t||n.removeAll(),o.diff(t).add(function(p){var w=o.getItemLayout(p);if(c(o,w,p,d)){var b=new s(o,p,u);b.attr("position",w),o.setItemGraphicEl(p,b),n.add(b)}}).update(function(p,w){var b=t.getItemGraphicEl(w),E=o.getItemLayout(p);if(!c(o,E,p,d)){n.remove(b);return}b?(b.updateData(o,p,u),g.updateProps(b,{position:E},l)):(b=new s(o,p),b.attr("position",E)),n.add(b),o.setItemGraphicEl(p,b)}).remove(function(p){var w=t.getItemGraphicEl(p);w&&w.fadeOut(function(){n.remove(w)})}).execute(),this._data=o},h.isPersistent=function(){return!0},h.updateLayout=function(){var o=this._data;o&&o.eachItemGraphicEl(function(d,n){var l=o.getItemLayout(n);d.attr("position",l)})},h.incrementalPrepareUpdate=function(o){this._seriesScope=i(o),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(o,d,n){n=a(n);function l(p){p.isGroup||(p.incremental=p.useHoverLayer=!0)}for(var t=o.start;t<o.end;t++){var s=d.getItemLayout(t);if(c(d,s,t,n)){var u=new this._symbolCtor(d,t,this._seriesScope);u.traverse(l),u.attr("position",s),this.group.add(u),d.setItemGraphicEl(t,u)}}};function a(o){return o!=null&&!m(o)&&(o={isIgnore:o}),o||{}}h.remove=function(o){var d=this.group,n=this._data;n&&o?n.eachItemGraphicEl(function(l){l.fadeOut(function(){d.remove(l)})}):d.removeAll()};function i(o){var d=o.hostModel;return{itemStyle:d.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:d.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:d.get("symbolRotate"),symbolOffset:d.get("symbolOffset"),hoverAnimation:d.get("hoverAnimation"),labelModel:d.getModel("label"),hoverLabelModel:d.getModel("emphasis.label"),cursorStyle:d.get("cursor")}}var r=v;D.exports=r},"9yH6":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("+6Fa"),c=e("TSYQ"),a=e.n(c),i=e("H84U"),r=v.createContext(null),o=r.Provider,d=r,n=e("cDf5"),l=e.n(n);function t(B,z){typeof B=="function"?B(z):l()(B)==="object"&&B&&"current"in B&&(B.current=z)}function s(){for(var B=arguments.length,z=new Array(B),R=0;R<B;R++)z[R]=arguments[R];return function(U){z.forEach(function(j){t(j,U)})}}var u=e("uaoM"),p=function(B,z){var R={};for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&z.indexOf(U)<0&&(R[U]=B[U]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(B);j<U.length;j++)z.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(B,U[j])&&(R[U[j]]=B[U[j]]);return R},w=function(z,R){var U,j=v.useContext(d),H=v.useContext(i.b),V=H.getPrefixCls,X=H.direction,W=v.useRef(),G=s(R,W);v.useEffect(function(){Object(u.a)(!("optionType"in z),"Radio","`optionType` is only support in Radio.Group.")},[]);var $=function(Oe){z.onChange&&z.onChange(Oe),(j==null?void 0:j.onChange)&&j.onChange(Oe)},ge=z.prefixCls,q=z.className,Se=z.children,Ce=z.style,Ae=p(z,["prefixCls","className","children","style"]),Ue=V("radio",ge),Qe=m()({},Ae);j&&(Qe.name=j.name,Qe.onChange=$,Qe.checked=z.value===j.value,Qe.disabled=z.disabled||j.disabled);var gt=a()(q,(U={},f()(U,"".concat(Ue,"-wrapper"),!0),f()(U,"".concat(Ue,"-wrapper-checked"),Qe.checked),f()(U,"".concat(Ue,"-wrapper-disabled"),Qe.disabled),f()(U,"".concat(Ue,"-wrapper-rtl"),X==="rtl"),U));return v.createElement("label",{className:gt,style:Ce,onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},v.createElement(h.a,m()({},Qe,{prefixCls:Ue,ref:G})),Se!==void 0?v.createElement("span",null,Se):null)},b=v.forwardRef(w);b.displayName="Radio",b.defaultProps={type:"radio"};var E=b,A=e("J4zp"),S=e.n(A),T=e("6cGi"),L=e("3Nzz"),x=v.forwardRef(function(B,z){var R=v.useContext(i.b),U=R.getPrefixCls,j=R.direction,H=v.useContext(L.b),V=Object(T.a)(B.defaultValue,{value:B.value}),X=S()(V,2),W=X[0],G=X[1],$=function(Se){var Ce=W,Ae=Se.target.value;"value"in B||G(Ae);var Ue=B.onChange;Ue&&Ae!==Ce&&Ue(Se)},ge=function(){var Se,Ce=B.prefixCls,Ae=B.className,Ue=Ae===void 0?"":Ae,Qe=B.options,gt=B.optionType,_e=B.buttonStyle,Oe=B.disabled,lt=B.children,ce=B.size,Y=B.style,K=B.id,Q=B.onMouseEnter,ye=B.onMouseLeave,ue=U("radio",Ce),Ne="".concat(ue,"-group"),Te=lt;if(Qe&&Qe.length>0){var oe=gt==="button"?"".concat(ue,"-button"):ue;Te=Qe.map(function(Ge){return typeof Ge=="string"?v.createElement(E,{ref:z,key:Ge,prefixCls:oe,disabled:Oe,value:Ge,checked:W===Ge},Ge):v.createElement(E,{ref:z,key:"radio-group-value-options-".concat(Ge.value),prefixCls:oe,disabled:Ge.disabled||Oe,value:Ge.value,checked:W===Ge.value,style:Ge.style},Ge.label)})}var de=ce||H,Le=a()(Ne,"".concat(Ne,"-").concat(_e),(Se={},f()(Se,"".concat(Ne,"-").concat(de),de),f()(Se,"".concat(Ne,"-rtl"),j==="rtl"),Se),Ue);return v.createElement("div",{className:Le,style:Y,onMouseEnter:Q,onMouseLeave:ye,id:K},Te)};return v.createElement(o,{value:{onChange:$,value:W,disabled:B.disabled,name:B.name}},ge())});x.defaultProps={buttonStyle:"outline"};var C=v.memo(x),O=function(B,z){var R={};for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&z.indexOf(U)<0&&(R[U]=B[U]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(B);j<U.length;j++)z.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(B,U[j])&&(R[U[j]]=B[U[j]]);return R},N=function(z,R){var U=v.useContext(d),j=v.useContext(i.b),H=j.getPrefixCls,V=z.prefixCls,X=O(z,["prefixCls"]),W=H("radio-button",V);return U&&(X.checked=z.value===U.value,X.disabled=z.disabled||U.disabled),v.createElement(E,m()({prefixCls:W},X,{type:"radio",ref:R}))},F=v.forwardRef(N),k=E;k.Button=F,k.Group=C;var P=_.a=k},A1Ka:function(D,_,e){var g=e("bLfw"),f=e("sS/r"),y=e("D5nY"),m=y.detectSourceFormat,v=e("k9D9"),h=v.SERIES_LAYOUT_BY_COLUMN;g.extend({type:"dataset",defaultOption:{seriesLayoutBy:h,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),f.extend({type:"dataset"})},A90E:function(D,_,e){var g=e("6sVZ"),f=e("V6Ve"),y=Object.prototype,m=y.hasOwnProperty;function v(h){if(!g(h))return f(h);var c=[];for(var a in Object(h))m.call(h,a)&&a!="constructor"&&c.push(a);return c}D.exports=v},ABKa:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Qs9O")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOutlined";var c=y.forwardRef(h);_.default=c},AE9C:function(D,_,e){var g=e("bYtY"),f=e("crZl"),y=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("+TT/"),c=e("y7Aq"),a=f.extend({type:"visualMap.piecewise",doRender:function(){var r=this.group;r.removeAll();var o=this.visualMapModel,d=o.get("textGap"),n=o.textStyleModel,l=n.getFont(),t=n.getTextColor(),s=this._getItemAlign(),u=o.itemSize,p=this._getViewData(),w=p.endsText,b=g.retrieve(o.get("showLabel",!0),!w);w&&this._renderEndsText(r,w[0],u,b,s),g.each(p.viewPieceList,E,this),w&&this._renderEndsText(r,w[1],u,b,s),h.box(o.get("orient"),r,o.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function E(A){var S=A.piece,T=new y.Group;T.onclick=g.bind(this._onItemClick,this,S),this._enableHoverLink(T,A.indexInModelPieceList);var L=o.getRepresentValue(S);if(this._createItemSymbol(T,L,[0,0,u[0],u[1]]),b){var x=this.visualMapModel.getValueState(L);T.add(new y.Text({style:{x:s==="right"?-d:u[0]+d,y:u[1]/2,text:S.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:x==="outOfRange"?.5:1}}))}r.add(T)}},_enableHoverLink:function(r,o){r.on("mouseover",g.bind(d,this,"highlight")).on("mouseout",g.bind(d,this,"downplay"));function d(n){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:n,batch:c.makeHighDownBatch(l.findTargetDataIndices(o),l)})}},_getItemAlign:function(){var r=this.visualMapModel,o=r.option;if(o.orient==="vertical")return c.getItemAlign(r,this.api,r.itemSize);var d=o.align;return(!d||d==="auto")&&(d="left"),d},_renderEndsText:function(r,o,d,n,l){if(!o)return;var t=new y.Group,s=this.visualMapModel.textStyleModel;t.add(new y.Text({style:{x:n?l==="right"?d[0]:0:d[0]/2,y:d[1]/2,textVerticalAlign:"middle",textAlign:n?l:"center",text:o,textFont:s.getFont(),textFill:s.getTextColor()}})),r.add(t)},_getViewData:function(){var r=this.visualMapModel,o=g.map(r.getPieceList(),function(t,s){return{piece:t,indexInModelPieceList:s}}),d=r.get("text"),n=r.get("orient"),l=r.get("inverse");return(n==="horizontal"?l:!l)?o.reverse():d&&(d=d.slice().reverse()),{viewPieceList:o,endsText:d}},_createItemSymbol:function(r,o,d){r.add(v(this.getControllerVisual(o,"symbol"),d[0],d[1],d[2],d[3],this.getControllerVisual(o,"color")))},_onItemClick:function(r){var o=this.visualMapModel,d=o.option,n=g.clone(d.selected),l=o.getSelectedMapKey(r);d.selectedMode==="single"?(n[l]=!0,g.each(n,function(t,s){n[s]=s===l})):n[l]=!n[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),i=a;D.exports=i},AEZ6:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,m=e("T4UG"),v=e("MwEJ"),h=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(i,r){var o=this.getSource();return c(o,this),v(o,this)},getRawIndicesByActiveState:function(i){var r=this.coordinateSystem,o=this.getData(),d=[];return r.eachActiveState(o,function(n,l){i===n&&d.push(o.getRawIndex(l))}),d},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(i,r){if(i.encodeDefine)return;var o=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!o)return;var d=i.encodeDefine=y();f(o.dimensions,function(n){var l=a(n);d.set(n,l)})}function a(i){return+i.replace("dim","")}D.exports=h},AH3D:function(D,_,e){var g=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),g.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),g.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("5GtS"),m=e("4NO4"),v=m.defaultEmphasis,h=e("D5nY"),c=h.makeSeriesEncodeForNameBased,a=e("xKMd"),i=g.extendSeriesModel({type:"series.funnel",init:function(o){i.superApply(this,"init",arguments),this.legendVisualProvider=new a(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(o)},getInitialData:function(o,d){return y(this,{coordDimensions:["value"],encodeDefaulter:f.curry(c,this)})},_defaultLabelLine:function(o){v(o,"labelLine",["show"]);var d=o.labelLine,n=o.emphasis.labelLine;d.show=d.show&&o.label.show,n.show=n.show&&o.emphasis.label.show},getDataParams:function(o){var d=this.getData(),n=i.superCall(this,"getDataParams",o),l=d.mapDimension("value"),t=d.getSum(l);return n.percent=t?+(d.get(l,o)/t*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),r=i;D.exports=r},ANjR:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map([0,1],function(h){var c=v[h],a=m[h]/2,i=[],r=[];return i[h]=c-a,r[h]=c+a,i[1-h]=r[1-h]=v[1-h],Math.abs(this.dataToPoint(i)[h]-this.dataToPoint(r)[h])},this)}function y(m){var v=m.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:m.getZoom()},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},AOa7:function(D,_,e){},AUH6:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("bMXI"),m=e("W4dC");function v(a,i,r,o){y.call(this,a),this.map=i;var d=m.load(i,r);this._nameCoordMap=d.nameCoordMap,this._regionsMap=d.regionsMap,this._invertLongitute=o==null?!0:o,this.regions=d.regions,this._rect=d.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(a){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(a))return!0;return!1},transformTo:function(a,i,r,o){var d=this.getBoundingRect(),n=this._invertLongitute;d=d.clone(),n&&(d.y=-d.y-d.height);var l=this._rawTransformable;if(l.transform=d.calculateTransform(new f(a,i,r,o)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(a){return this._regionsMap.get(a)},getRegionByCoord:function(a){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(a))return i[r]},addGeoCoord:function(a,i){this._nameCoordMap.set(a,i)},getGeoCoord:function(a){return this._nameCoordMap.get(a)},getBoundingRect:function(){return this._rect},dataToPoint:function(a,i,r){if(typeof a=="string"&&(a=this.getGeoCoord(a)),a)return y.prototype.dataToPoint.call(this,a,i,r)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(v,y);function h(a,i,r,o){var d=r.geoModel,n=r.seriesModel,l=d?d.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[a](o):null}var c=v;D.exports=c},AVZG:function(D,_,e){var g=e("bYtY");function f(y,m,v){v=v||{};var h=y.coordinateSystem,c=m.axis,a={},i=c.getAxesOnZeroOf()[0],r=c.position,o=i?"onZero":r,d=c.dim,n=h.getRect(),l=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,u=d==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(i){var p=i.toGlobalCoord(i.dataToCoord(0));u[t.onZero]=Math.max(Math.min(p,u[1]),u[0])}a.position=[d==="y"?u[t[o]]:l[0],d==="x"?u[t[o]]:l[3]],a.rotation=Math.PI/2*(d==="x"?0:1);var w={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=w[r],a.labelOffset=i?u[t[r]]-u[t.onZero]:0,m.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),g.retrieve(v.labelInside,m.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var b=m.get("axisLabel.rotate");return a.labelRotate=o==="top"?-b:b,a.z2=1,a}_.layout=f},"Ae+d":function(D,_){function e(f,y,m){var v=f.target,h=v.position;h[0]+=y,h[1]+=m,v.dirty()}function g(f,y,m,v){var h=f.target,c=f.zoomLimit,a=h.position,i=h.scale,r=f.zoom=f.zoom||1;if(r*=y,c){var o=c.min||0,d=c.max||Infinity;r=Math.max(Math.min(d,r),o)}var n=r/f.zoom;f.zoom=r,a[0]-=(m-a[0])*(n-1),a[1]-=(v-a[1])*(n-1),i[0]*=n,i[1]*=n,h.dirty()}_.updateViewOnPan=e,_.updateViewOnZoom=g},Ae16:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(m,v){this.group.removeAll(),m.get("show")&&this.group.add(new y.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),g.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("PQMj"),m=e.n(y)},"B+YJ":function(D,_,e){e("TYVI"),e("p1MT")},"B6l+":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=y(c);var i=c?f(h):0;return c&&i<c?h+g(c-i,a):h}D.exports=v},B8du:function(D,_){function e(){return!1}D.exports=e},B9cy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0XgM"),m=e.n(y)},B9fm:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YH21"),m=e("Ze12"),v=e("ItGF"),h=e("7aKB"),c=g.each,a=h.toCamelCase,i=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function o(u){var p="cubic-bezier(0.23, 1, 0.32, 1)",w="left "+u+"s "+p+",top "+u+"s "+p;return g.map(i,function(b){return b+"transition:"+w}).join(";")}function d(u){var p=[],w=u.get("fontSize"),b=u.getTextColor();return b&&p.push("color:"+b),p.push("font:"+u.getFont()),w&&p.push("line-height:"+Math.round(w*3/2)+"px"),c(["decoration","align"],function(E){var A=u.get(E);A&&p.push("text-"+E+":"+A)}),p.join(";")}function n(u){var p=[],w=u.get("transitionDuration"),b=u.get("backgroundColor"),E=u.getModel("textStyle"),A=u.get("padding");return w&&p.push(o(w)),b&&(v.canvasSupported?p.push("background-Color:"+b):(p.push("background-Color:#"+f.toHex(b)),p.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(S){var T="border-"+S,L=a(T),x=u.get(L);x!=null&&p.push(T+":"+x+(S==="color"?"":"px"))}),p.push(d(E)),A!=null&&p.push("padding:"+h.normalizeCssArray(A).join("px ")+"px"),p.join(";")+";"}function l(u,p,w,b,E){var A=p&&p.painter;if(w){var S=A&&A.getViewportRoot();S&&m.transformLocalCoord(u,S,document.body,b,E)}else{u[0]=b,u[1]=E;var T=A&&A.getViewportRootOffset();T&&(u[0]+=T.offsetLeft,u[1]+=T.offsetTop)}}function t(u,p,w){if(v.wxa)return null;var b=document.createElement("div");b.domBelongToZr=!0,this.el=b;var E=this._zr=p.getZr(),A=this._appendToBody=w&&w.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,E,A,p.getWidth()/2,p.getHeight()/2),A?document.body.appendChild(b):u.appendChild(b),this._container=u,this._show=!1,this._hideTimeout;var S=this;b.onmouseenter=function(){S._enterable&&(clearTimeout(S._hideTimeout),S._show=!0),S._inContent=!0},b.onmousemove=function(T){if(T=T||window.event,!S._enterable){var L=E.handler,x=E.painter.getViewportRoot();y.normalizeEvent(x,T,!0),L.dispatch("mousemove",T)}},b.onmouseleave=function(){S._enterable&&(S._show&&S.hideLater(S._hideDelay)),S._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var u=this._container,p=u.currentStyle||document.defaultView.getComputedStyle(u),w=u.style;w.position!=="absolute"&&p.position!=="absolute"&&(w.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var p=this.el,w=this._styleCoord;p.style.cssText=r+n(u)+";left:"+w[0]+"px;top:"+w[1]+"px;"+(u.get("extraCssText")||""),p.style.display=p.innerHTML?"block":"none",p.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,p){var w=this._styleCoord;l(w,this._zr,this._appendToBody,u,p);var b=this.el.style;b.left=w[0]+"px",b.top=w[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,p=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var w=document.defaultView.getComputedStyle(this.el);w&&(u+=parseInt(w.borderLeftWidth,10)+parseInt(w.borderRightWidth,10),p+=parseInt(w.borderTopWidth,10)+parseInt(w.borderBottomWidth,10))}return{width:u,height:p}}};var s=t;D.exports=s},BPZU:function(D,_){var e=32,g=7,f=256;function y(o){for(var d=0;o>=e;)d|=o&1,o>>=1;return o+d}function m(o,d,n,l){var t=d+1;if(t===n)return 1;if(l(o[t++],o[d])<0){for(;t<n&&l(o[t],o[t-1])<0;)t++;v(o,d,t)}else for(;t<n&&l(o[t],o[t-1])>=0;)t++;return t-d}function v(o,d,n){for(n--;d<n;){var l=o[d];o[d++]=o[n],o[n--]=l}}function h(o,d,n,l,t){for(l===d&&l++;l<n;l++){for(var s=o[l],u=d,p=l,w;u<p;)w=u+p>>>1,t(s,o[w])<0?p=w:u=w+1;var b=l-u;switch(b){case 3:o[u+3]=o[u+2];case 2:o[u+2]=o[u+1];case 1:o[u+1]=o[u];break;default:for(;b>0;)o[u+b]=o[u+b-1],b--}o[u]=s}}function c(o,d,n,l,t,s){var u=0,p=0,w=1;if(s(o,d[n+t])>0){for(p=l-t;w<p&&s(o,d[n+t+w])>0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p),u+=t,w+=t}else{for(p=t+1;w<p&&s(o,d[n+t-w])<=0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p);var b=u;u=t-w,w=t-b}for(u++;u<w;){var E=u+(w-u>>>1);s(o,d[n+E])>0?u=E+1:w=E}return w}function a(o,d,n,l,t,s){var u=0,p=0,w=1;if(s(o,d[n+t])<0){for(p=t+1;w<p&&s(o,d[n+t-w])<0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p);var b=u;u=t-w,w=t-b}else{for(p=l-t;w<p&&s(o,d[n+t+w])>=0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p),u+=t,w+=t}for(u++;u<w;){var E=u+(w-u>>>1);s(o,d[n+E])<0?w=E:u=E+1}return w}function i(o,d){var n=g,l=0,t=f,s=0,u,p,w=0;l=o.length,l<2*f&&(t=l>>>1);var b=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],p=[];function E(C,O){u[w]=C,p[w]=O,w+=1}function A(){for(;w>1;){var C=w-2;if(C>=1&&p[C-1]<=p[C]+p[C+1]||C>=2&&p[C-2]<=p[C]+p[C-1])p[C-1]<p[C+1]&&C--;else if(p[C]>p[C+1])break;T(C)}}function S(){for(;w>1;){var C=w-2;C>0&&p[C-1]<p[C+1]&&C--,T(C)}}function T(C){var O=u[C],N=p[C],F=u[C+1],k=p[C+1];p[C]=N+k,C===w-3&&(u[C+1]=u[C+2],p[C+1]=p[C+2]),w--;var P=a(o[F],o,O,N,0,d);if(O+=P,N-=P,N===0)return;if(k=c(o[O+N-1],o,F,k,k-1,d),k===0)return;N<=k?L(O,N,F,k):x(O,N,F,k)}function L(C,O,N,F){var k=0;for(k=0;k<O;k++)b[k]=o[C+k];var P=0,B=N,z=C;if(o[z++]=o[B++],--F===0){for(k=0;k<O;k++)o[z+k]=b[P+k];return}if(O===1){for(k=0;k<F;k++)o[z+k]=o[B+k];o[z+F]=b[P];return}for(var R=n,U,j,H;;){U=0,j=0,H=!1;do if(d(o[B],b[P])<0){if(o[z++]=o[B++],j++,U=0,--F===0){H=!0;break}}else if(o[z++]=b[P++],U++,j=0,--O===1){H=!0;break}while((U|j)<R);if(H)break;do{if(U=a(o[B],b,P,O,0,d),U!==0){for(k=0;k<U;k++)o[z+k]=b[P+k];if(z+=U,P+=U,O-=U,O<=1){H=!0;break}}if(o[z++]=o[B++],--F===0){H=!0;break}if(j=c(b[P],o,B,F,0,d),j!==0){for(k=0;k<j;k++)o[z+k]=o[B+k];if(z+=j,B+=j,F-=j,F===0){H=!0;break}}if(o[z++]=b[P++],--O===1){H=!0;break}R--}while(U>=g||j>=g);if(H)break;R<0&&(R=0),R+=2}if(n=R,n<1&&(n=1),O===1){for(k=0;k<F;k++)o[z+k]=o[B+k];o[z+F]=b[P]}else{if(O===0)throw new Error;for(k=0;k<O;k++)o[z+k]=b[P+k]}}function x(C,O,N,F){var k=0;for(k=0;k<F;k++)b[k]=o[N+k];var P=C+O-1,B=F-1,z=N+F-1,R=0,U=0;if(o[z--]=o[P--],--O===0){for(R=z-(F-1),k=0;k<F;k++)o[R+k]=b[k];return}if(F===1){for(z-=O,P-=O,U=z+1,R=P+1,k=O-1;k>=0;k--)o[U+k]=o[R+k];o[z]=b[B];return}for(var j=n;;){var H=0,V=0,X=!1;do if(d(b[B],o[P])<0){if(o[z--]=o[P--],H++,V=0,--O===0){X=!0;break}}else if(o[z--]=b[B--],V++,H=0,--F===1){X=!0;break}while((H|V)<j);if(X)break;do{if(H=O-a(b[B],o,C,O,O-1,d),H!==0){for(z-=H,P-=H,O-=H,U=z+1,R=P+1,k=H-1;k>=0;k--)o[U+k]=o[R+k];if(O===0){X=!0;break}}if(o[z--]=b[B--],--F===1){X=!0;break}if(V=F-c(o[P],b,0,F,F-1,d),V!==0){for(z-=V,B-=V,F-=V,U=z+1,R=B+1,k=0;k<V;k++)o[U+k]=b[R+k];if(F<=1){X=!0;break}}if(o[z--]=o[P--],--O===0){X=!0;break}j--}while(H>=g||V>=g);if(X)break;j<0&&(j=0),j+=2}if(n=j,n<1&&(n=1),F===1){for(z-=O,P-=O,U=z+1,R=P+1,k=O-1;k>=0;k--)o[U+k]=o[R+k];o[z]=b[B]}else{if(F===0)throw new Error;for(R=z-(F-1),k=0;k<F;k++)o[R+k]=b[k]}}this.mergeRuns=A,this.forceMergeRuns=S,this.pushRun=E}function r(o,d,n,l){n||(n=0),l||(l=o.length);var t=l-n;if(t<2)return;var s=0;if(t<e){s=m(o,n,l,d),h(o,n,l,n+s,d);return}var u=new i(o,d),p=y(t);do{if(s=m(o,n,l,d),s<p){var w=t;w>p&&(w=p),h(o,n,n+w,n+s,d),s=w}u.pushRun(n,s),u.mergeRuns(),t-=s,n+=s}while(t!==0);u.forceMergeRuns()}D.exports=r},Bd2K:function(D,_,e){(function(g){g(e("VrN/"),e("osHv"))})(function(g){g.defineOption("autoCloseTags",!1,function(i,r,o){if(o!=g.Init&&o&&i.removeKeyMap("autoCloseTags"),!r)return;var d={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(d["'/'"]=function(n){return h(n)}),(typeof r!="object"||r.whenOpening!==!1)&&(d["'>'"]=function(n){return m(n)}),i.addKeyMap(d)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],y=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(i){if(i.getOption("disableInput"))return g.Pass;for(var r=i.listSelections(),o=[],d=i.getOption("autoCloseTags"),n=0;n<r.length;n++){if(!r[n].empty())return g.Pass;var l=r[n].head,t=i.getTokenAt(l),s=g.innerMode(i.getMode(),t.state),u=s.state,p=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),w=p&&p.name;if(!w)return g.Pass;var b=s.mode.configuration=="html",E=typeof d=="object"&&d.dontCloseTags||b&&f,A=typeof d=="object"&&d.indentTags||b&&y;t.end>l.ch&&(w=w.slice(0,w.length-t.end+l.ch));var S=w.toLowerCase();if(!w||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&p.close||t.string.indexOf("/")==l.ch-t.start-1||E&&c(E,S)>-1||a(i,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],w,l,!0))return g.Pass;var T=typeof d=="object"&&d.emptyTags;if(T&&c(T,w)>-1){o[n]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var L=A&&c(A,S)>-1;o[n]={indent:L,text:">"+(L?`
|
|
|
|
|
|
`:"")+"</"+w+">",newPos:L?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var x=typeof d=="object"&&d.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var C=o[n];i.replaceRange(C.text,r[n].head,r[n].anchor,"+insert");var O=i.listSelections().slice(0);O[n]={head:C.newPos,anchor:C.newPos},i.setSelections(O),!x&&C.indent&&(i.indentLine(C.newPos.line,null,!0),i.indentLine(C.newPos.line+1,null,!0))}}function v(i,r){for(var o=i.listSelections(),d=[],n=r?"/":"</",l=i.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<o.length;s++){if(!o[s].empty())return g.Pass;var u=o[s].head,p=i.getTokenAt(u),w=g.innerMode(i.getMode(),p.state),b=w.state;if(r&&(p.type=="string"||p.string.charAt(0)!="<"||p.start!=u.ch-1))return g.Pass;var E,A=w.mode.name!="xml"&&i.getMode().name=="htmlmixed";if(A&&w.mode.name=="javascript")E=n+"script";else if(A&&w.mode.name=="css")E=n+"style";else{var S=w.mode.xmlCurrentContext&&w.mode.xmlCurrentContext(b);if(!S||S.length&&a(i,S,S[S.length-1],u))return g.Pass;E=n+S[S.length-1]}i.getLine(u.line).charAt(p.end)!=">"&&(E+=">"),d[s]=E}if(i.replaceSelections(d),o=i.listSelections(),!t)for(var s=0;s<o.length;s++)(s==o.length-1||o[s].head.line<o[s+1].head.line)&&i.indentLine(o[s].head.line)}function h(i){return i.getOption("disableInput")?g.Pass:v(i,!0)}g.commands.closeTag=function(i){return v(i)};function c(i,r){if(i.indexOf)return i.indexOf(r);for(var o=0,d=i.length;o<d;++o)if(i[o]==r)return o;return-1}function a(i,r,o,d,n){if(!g.scanForClosingTag)return!1;var l=Math.min(i.lastLine()+1,d.line+500),t=g.scanForClosingTag(i,d,null,l);if(!t||t.tag!=o)return!1;for(var s=n?1:0,u=r.length-1;u>=0&&r[u]==o;u--)++s;d=t.to;for(var u=1;u<s;u++){var p=g.scanForClosingTag(i,d,null,l);if(!p||p.tag!=o)return!1;d=p.to}return!0}})},BlVb:function(D,_,e){var g=e("hyiK"),f=1e-8;function y(v,h){return Math.abs(v-h)<f}function m(v,h,c){var a=0,i=v[0];if(!i)return!1;for(var r=1;r<v.length;r++){var o=v[r];a+=g(i[0],i[1],o[0],o[1],h,c),i=o}var d=v[0];return(!y(i[0],d[0])||!y(i[1],d[1]))&&(a+=g(i[0],i[1],d[0],d[1],h,c)),a!==0}_.contain=m},BoS7:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("czTT"),m=e.n(y)},Bq2U:function(D,_,e){var g=e("RDYZ"),f=e("Qe9p"),y=e("bYtY"),m=y.isArrayLike,v=Array.prototype.slice;function h(E,A){return E[A]}function c(E,A,S){E[A]=S}function a(E,A,S){return(A-E)*S+E}function i(E,A,S){return S>.5?A:E}function r(E,A,S,T,L){var x=E.length;if(L===1)for(var C=0;C<x;C++)T[C]=a(E[C],A[C],S);else for(var O=x&&E[0].length,C=0;C<x;C++)for(var N=0;N<O;N++)T[C][N]=a(E[C][N],A[C][N],S)}function o(E,A,S){var T=E.length,L=A.length;if(T!==L){var x=T>L;if(x)E.length=L;else for(var C=T;C<L;C++)E.push(S===1?A[C]:v.call(A[C]))}for(var O=E[0]&&E[0].length,C=0;C<E.length;C++)if(S===1)isNaN(E[C])&&(E[C]=A[C]);else for(var N=0;N<O;N++)isNaN(E[C][N])&&(E[C][N]=A[C][N])}function d(E,A,S){if(E===A)return!0;var T=E.length;if(T!==A.length)return!1;if(S===1){for(var L=0;L<T;L++)if(E[L]!==A[L])return!1}else for(var x=E[0].length,L=0;L<T;L++)for(var C=0;C<x;C++)if(E[L][C]!==A[L][C])return!1;return!0}function n(E,A,S,T,L,x,C,O,N){var F=E.length;if(N===1)for(var k=0;k<F;k++)O[k]=l(E[k],A[k],S[k],T[k],L,x,C);else for(var P=E[0].length,k=0;k<F;k++)for(var B=0;B<P;B++)O[k][B]=l(E[k][B],A[k][B],S[k][B],T[k][B],L,x,C)}function l(E,A,S,T,L,x,C){var O=(S-E)*.5,N=(T-A)*.5;return(2*(A-S)+O+N)*C+(-3*(A-S)-2*O-N)*x+O*L+A}function t(E){if(m(E)){var A=E.length;if(m(E[0])){for(var S=[],T=0;T<A;T++)S.push(v.call(E[T]));return S}return v.call(E)}return E}function s(E){return E[0]=Math.floor(E[0]),E[1]=Math.floor(E[1]),E[2]=Math.floor(E[2]),"rgba("+E.join(",")+")"}function u(E){var A=E[E.length-1].value;return m(A&&A[0])?2:1}function p(E,A,S,T,L,x){var C=E._getter,O=E._setter,N=A==="spline",F=T.length;if(!F)return;var k=T[0].value,P=m(k),B=!1,z=!1,R=P?u(T):0,U;T.sort(function(Y,K){return Y.time-K.time}),U=T[F-1].time;for(var j=[],H=[],V=T[0].value,X=!0,W=0;W<F;W++){j.push(T[W].time/U);var G=T[W].value;if(P&&d(G,V,R)||!P&&G===V||(X=!1),V=G,typeof G=="string"){var $=f.parse(G);$?(G=$,B=!0):z=!0}H.push(G)}if(!x&&X)return;for(var ge=H[F-1],W=0;W<F-1;W++)P?o(H[W],ge,R):isNaN(H[W])&&!isNaN(ge)&&!z&&!B&&(H[W]=ge);P&&o(C(E._target,L),ge,R);var q=0,Se=0,Ce,Ae,Ue,Qe,gt,_e;if(B)var Oe=[0,0,0,0];var lt=function(K,Q){var ye;if(Q<0)ye=0;else if(Q<Se){for(Ce=Math.min(q+1,F-1),ye=Ce;ye>=0&&!(j[ye]<=Q);ye--);ye=Math.min(ye,F-2)}else{for(ye=q;ye<F&&!(j[ye]>Q);ye++);ye=Math.min(ye-1,F-2)}q=ye,Se=Q;var ue=j[ye+1]-j[ye];if(ue===0)return;if(Ae=(Q-j[ye])/ue,N)if(Qe=H[ye],Ue=H[ye===0?ye:ye-1],gt=H[ye>F-2?F-1:ye+1],_e=H[ye>F-3?F-1:ye+2],P)n(Ue,Qe,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae,C(K,L),R);else{var Ne;if(B)Ne=n(Ue,Qe,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae,Oe,1),Ne=s(Oe);else{if(z)return i(Qe,gt,Ae);Ne=l(Ue,Qe,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae)}O(K,L,Ne)}else if(P)r(H[ye],H[ye+1],Ae,C(K,L),R);else{var Ne;if(B)r(H[ye],H[ye+1],Ae,Oe,1),Ne=s(Oe);else{if(z)return i(H[ye],H[ye+1],Ae);Ne=a(H[ye],H[ye+1],Ae)}O(K,L,Ne)}},ce=new g({target:E._target,life:U,loop:E._loop,delay:E._delay,onframe:lt,ondestroy:S});return A&&A!=="spline"&&(ce.easing=A),ce}var w=function(A,S,T,L){this._tracks={},this._target=A,this._loop=S||!1,this._getter=T||h,this._setter=L||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};w.prototype={when:function(A,S){var T=this._tracks;for(var L in S){if(!S.hasOwnProperty(L))continue;if(!T[L]){T[L]=[];var x=this._getter(this._target,L);if(x==null)continue;A!==0&&T[L].push({time:0,value:t(x)})}T[L].push({time:A,value:S[L]})}return this},during:function(A){return this._onframeList.push(A),this},pause:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].pause();this._paused=!0},resume:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var A=this._doneList,S=A.length,T=0;T<S;T++)A[T].call(this)},start:function(A,S){var T=this,L=0,x=function(){L--,L||T._doneCallback()},C;for(var O in this._tracks){if(!this._tracks.hasOwnProperty(O))continue;var N=p(this,A,x,this._tracks[O],O,S);N&&(this._clipList.push(N),L++,this.animation&&this.animation.addClip(N),C=N)}if(C){var F=C.onframe;C.onframe=function(k,P){F(k,P);for(var B=0;B<T._onframeList.length;B++)T._onframeList[B](k,P)}}return L||this._doneCallback(),this},stop:function(A){for(var S=this._clipList,T=this.animation,L=0;L<S.length;L++){var x=S[L];A&&x.onframe(this._target,1),T&&T.removeClip(x)}S.length=0},delay:function(A){return this._delay=A,this},done:function(A){return A&&this._doneList.push(A),this},getClips:function(){return this._clipList}};var b=w;D.exports=b},Bqw1:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};_.default=g},Bsck:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=e("Mdki"),m=e("YXkt"),v=e("sdST"),h=function(r,o){this.name=r||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=o};h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(r,o,d){typeof r=="function"&&(d=o,o=r,r=null),r=r||{},g.isString(r)&&(r={order:r});var n=r.order||"preorder",l=this[r.attr||"children"],t;n==="preorder"&&(t=o.call(d,this));for(var s=0;!t&&s<l.length;s++)l[s].eachNode(r,o,d);n==="postorder"&&o.call(d,this)},updateDepthAndHeight:function(r){var o=0;this.depth=r;for(var d=0;d<this.children.length;d++){var n=this.children[d];n.updateDepthAndHeight(r+1),n.height>o&&(o=n.height)}this.height=o+1},getNodeById:function(r){if(this.getId()===r)return this;for(var o=0,d=this.children,n=d.length;o<n;o++){var l=d[o].getNodeById(r);if(l)return l}},contains:function(r){if(r===this)return!0;for(var o=0,d=this.children,n=d.length;o<n;o++){var l=d[o].contains(r);if(l)return l}},getAncestors:function(r){for(var o=[],d=r?this:this.parentNode;d;)o.push(d),d=d.parentNode;return o.reverse(),o},getValue:function(r){var o=this.hostTree.data;return o.get(o.getDimension(r||"value"),this.dataIndex)},setLayout:function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,o)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var o=this.hostTree,d=o.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?d.getModel(r,n.getModel(r)):d.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,o)},getVisual:function(r,o){return this.hostTree.data.getItemVisual(this.dataIndex,r,o)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var o=r.parentNode;o;){if(o===this)return!0;o=o.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function c(r,o){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=g.map(o||[],function(d){return new f(d,r,r.ecModel)})}c.prototype={constructor:c,type:"tree",eachNode:function(r,o,d){this.root.eachNode(r,o,d)},getNodeByDataIndex:function(r){var o=this.data.getRawIndex(r);return this._nodes[o]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,o=this._nodes,d=0,n=o.length;d<n;d++)o[d].dataIndex=-1;for(var d=0,n=r.count();d<n;d++)o[r.getRawIndex(d)].dataIndex=d},clearLayouts:function(){this.data.clearItemLayouts()}},c.createTree=function(r,o,d,n){var l=new c(o,d&&d.levels),t=[],s=1;u(r);function u(b,E){var A=b.value;s=Math.max(s,g.isArray(A)?A.length:1),t.push(b);var S=new h(b.name,l);E?a(S,E):l.root=S,l._nodes.push(S);var T=b.children;if(T)for(var L=0;L<T.length;L++)u(T[L],S)}l.root.updateDepthAndHeight(0);var p=v(t,{coordDimensions:["value"],dimensionsCount:s}),w=new m(p,o);return w.initData(t),n&&n(w),y({mainData:w,struct:l,structAttr:"tree"}),l.update(),l};function a(r,o){var d=o.children;if(r.parentNode===o)return;d.push(r),r.parentNode=o}var i=c;D.exports=i},BtR2:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LikeOutlined";var h=_.a=g.forwardRef(v)},BuqR:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("6uqw"),v=e("XxSj"),h=e("YOMW"),c=e("OELB"),a=c.reformIntervals,i=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,l){i.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();r[this._mode].call(this),this._resetSelected(n,l);var s=this.option.categories;this.resetVisual(function(u,p){t==="categories"?(u.mappingMethod="category",u.categories=y.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=y.map(this._pieceList,function(w){var w=y.clone(w);return p!=="inRange"&&(w.visual=null),w}))})},completeVisualOption:function(){var n=this.option,l={},t=v.listVisualTypes(),s=this.isCategory();y.each(n.pieces,function(p){y.each(t,function(w){p.hasOwnProperty(w)&&(l[w]=1)})}),y.each(l,function(p,w){var b=0;y.each(this.stateList,function(E){b|=u(n,E,w)||u(n.target,E,w)},this),!b&&y.each(this.stateList,function(E){(n[E]||(n[E]={}))[w]=h.get(w,E==="inRange"?"active":"inactive",s)})},this);function u(p,w,b){return p&&p[w]&&(y.isObject(p[w])?p[w].hasOwnProperty(b):p[w]===b)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,s=this._pieceList,u=(l?t:n).selected||{};if(t.selected=u,y.each(s,function(w,b){var E=this.getSelectedMapKey(w);u.hasOwnProperty(E)||(u[E]=!0)},this),t.selectedMode==="single"){var p=!1;y.each(s,function(w,b){var E=this.getSelectedMapKey(w);u[E]&&(p?u[E]=!1:p=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=y.clone(n)},getValueState:function(n){var l=v.findPieceIndex(n,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var l=[];return this.eachTargetSeries(function(t){var s=[],u=t.getData();u.each(this.getDataDimension(u),function(p,w){var b=v.findPieceIndex(p,this._pieceList);b===n&&s.push(w)},this),l.push({seriesId:t.id,dataIndex:s})},this),l},getRepresentValue:function(n){var l;if(this.isCategory())l=n.value;else if(n.value!=null)l=n.value;else{var t=n.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(n){if(this.isCategory())return;var l=[],t=[],s=this;function u(E,A){var S=s.getRepresentValue({interval:E});A||(A=s.getValueState(S));var T=n(S,A);E[0]===-Infinity?t[0]=T:E[1]===Infinity?t[1]=T:l.push({value:E[0],color:T},{value:E[1],color:T})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var w=p[0].interval[0];w!==-Infinity&&p.unshift({interval:[-Infinity,w]}),w=p[p.length-1].interval[1],w!==Infinity&&p.push({interval:[w,Infinity]})}var b=-Infinity;return y.each(p,function(E){var A=E.interval;A&&(A[0]>b&&u([b,A[0]],"outOfRange"),u(A.slice()),b=A[1])},this),{stops:l,outerColors:t}}}),r={splitNumber:function(){var n=this.option,l=this._pieceList,t=Math.min(n.precision,20),s=this.getExtent(),u=n.splitNumber;u=Math.max(parseInt(u,10),1),n.splitNumber=u;for(var p=(s[1]-s[0])/u;+p.toFixed(t)!==p&&t<5;)t++;n.precision=t,p=+p.toFixed(t),n.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var w=0,b=s[0];w<u;b+=p,w++){var E=w===u-1?s[1]:b+p;l.push({interval:[b,E],close:[1,1]})}n.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),a(l),y.each(l,function(A,S){A.index=S,A.text=this.formatValueText(A.interval)},this)},categories:function(){var n=this.option;y.each(n.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),o(n,this._pieceList)},pieces:function(){var n=this.option,l=this._pieceList;y.each(n.pieces,function(t,s){y.isObject(t)||(t={value:t});var u={text:"",index:s};if(t.label!=null&&(u.text=t.label),t.hasOwnProperty("value")){var p=u.value=t.value;u.interval=[p,p],u.close=[1,1]}else{for(var w=u.interval=[],b=u.close=[0,0],E=[1,0,1],A=[-Infinity,Infinity],S=[],T=0;T<2;T++){for(var L=[["gte","gt","min"],["lte","lt","max"]][T],x=0;x<3&&w[T]==null;x++)w[T]=t[L[x]],b[T]=E[x],S[T]=x===2;w[T]==null&&(w[T]=A[T])}S[0]&&w[1]===Infinity&&(b[0]=0),S[1]&&w[0]===-Infinity&&(b[1]=0),w[0]===w[1]&&b[0]&&b[1]&&(u.value=w[0])}u.visual=v.retrieveVisuals(t),l.push(u)},this),o(n,l),a(l),y.each(l,function(t){var s=t.close,u=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,u)},this)}};function o(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var d=i;D.exports=d},BvKs:function(D,_,e){"use strict";e.d(_,"a",function(){return P});var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("1j5w"),t=e("TSYQ"),s=e.n(t),u=e("BGR+"),p=Object(n.createContext)({inlineCollapsed:!1}),w=p,b=e("0n0R"),E=function(B){r()(R,B);var z=d()(R);function R(){return h()(this,R),z.apply(this,arguments)}return a()(R,[{key:"renderTitle",value:function(j){var H=this.props,V=H.icon,X=H.title,W=H.level,G=H.rootPrefixCls;if(!V)return j&&W===1&&X&&typeof X=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},X.charAt(0)):X;var $=Object(b.b)(X)&&X.type==="span";return n.createElement(n.Fragment,null,V,$?X:n.createElement("span",null,X))}},{key:"render",value:function(){var j=this,H=this.props,V=H.rootPrefixCls,X=H.popupClassName;return n.createElement(w.Consumer,null,function(W){var G=W.inlineCollapsed,$=W.antdMenuTheme;return n.createElement(l.e,f()({},Object(u.default)(j.props,["icon"]),{title:j.renderTitle(G),popupClassName:s()(V,"".concat(V,"-").concat($),X)}))})}}]),R}(n.Component);E.contextType=w,E.isSubMenu=1;var A=E,S=e("Zm9Q"),T=e("3S7+"),L=e("ZX9x"),x=function(B,z){var R={};for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&z.indexOf(U)<0&&(R[U]=B[U]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(B);j<U.length;j++)z.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(B,U[j])&&(R[U[j]]=B[U[j]]);return R},C=function(B){r()(R,B);var z=d()(R);function R(){var U;return h()(this,R),U=z.apply(this,arguments),U.renderItem=function(j){var H=j.siderCollapsed,V=U.props,X=V.level,W=V.className,G=V.children,$=V.rootPrefixCls,ge=U.props,q=ge.title,Se=ge.icon,Ce=ge.danger,Ae=x(ge,["title","icon","danger"]);return n.createElement(w.Consumer,null,function(Ue){var Qe,gt=Ue.inlineCollapsed,_e=Ue.direction,Oe=q;typeof q=="undefined"?Oe=X===1?G:"":q===!1&&(Oe="");var lt={title:Oe};!H&&!gt&&(lt.title=null,lt.visible=!1);var ce=Object(S.a)(G).length;return n.createElement(T.a,f()({},lt,{placement:_e==="rtl"?"left":"right",overlayClassName:"".concat($,"-inline-collapsed-tooltip")}),n.createElement(l.b,f()({},Ae,{className:s()(W,(Qe={},m()(Qe,"".concat($,"-item-danger"),Ce),m()(Qe,"".concat($,"-item-only-child"),(Se?ce+1:ce)===1),Qe)),title:q}),Se,U.renderItemChildren(gt)))})},U}return a()(R,[{key:"renderItemChildren",value:function(j){var H=this.props,V=H.icon,X=H.children,W=H.level,G=H.rootPrefixCls;return!V||Object(b.b)(X)&&X.type==="span"?X&&j&&W===1&&typeof X=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},X.charAt(0)):X:n.createElement("span",null,X)}},{key:"render",value:function(){return n.createElement(L.a.Consumer,null,this.renderItem)}}]),R}(n.Component);C.isMenuItem=!0;var O=e("H84U"),N=e("uaoM"),F=e("EXcs"),k=function(B){r()(R,B);var z=d()(R);function R(U){var j;return h()(this,R),j=z.call(this,U),j.renderMenu=function(H){var V=H.getPopupContainer,X=H.getPrefixCls,W=H.direction,G=j.props,$=G.prefixCls,ge=G.className,q=G.theme,Se={horizontal:{motionName:"slide-up"},inline:F.a,other:{motionName:"zoom-big"}},Ce=X("menu",$),Ae=s()(ge,"".concat(Ce,"-").concat(q),m()({},"".concat(Ce,"-inline-collapsed"),j.getInlineCollapsed()));return n.createElement(w.Provider,{value:{inlineCollapsed:j.getInlineCollapsed()||!1,antdMenuTheme:q,direction:W}},n.createElement(l.f,f()({getPopupContainer:V},j.props,{className:Ae,prefixCls:Ce,direction:W,defaultMotions:Se})))},Object(N.a)(!("inlineCollapsed"in U&&U.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(N.a)(!(U.siderCollapsed!==void 0&&"inlineCollapsed"in U),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),j}return a()(R,[{key:"getInlineCollapsed",value:function(){var j=this.props,H=j.inlineCollapsed,V=j.siderCollapsed;return V!==void 0?V:H}},{key:"render",value:function(){return n.createElement(O.a,null,this.renderMenu)}}]),R}(n.Component);k.defaultProps={className:"",theme:"light",focusable:!1};var P=function(B){r()(R,B);var z=d()(R);function R(){return h()(this,R),z.apply(this,arguments)}return a()(R,[{key:"render",value:function(){var j=this;return n.createElement(L.a.Consumer,null,function(H){return n.createElement(k,f()({},j.props,H))})}}]),R}(n.Component);P.Divider=l.a,P.Item=C,P.SubMenu=A,P.ItemGroup=l.c},C0SR:function(D,_,e){var g=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(a,i,r){return this._doTrack(a,i,r),this._recognize(a)},clear:function(){return this._track.length=0,this},_doTrack:function(a,i,r){var o=a.touches;if(!o)return;for(var d={points:[],touches:[],target:i,event:a},n=0,l=o.length;n<l;n++){var t=o[n],s=g.clientToLocal(r,t,{});d.points.push([s.zrX,s.zrY]),d.touches.push(t)}this._track.push(d)},_recognize:function(a){for(var i in v)if(v.hasOwnProperty(i)){var r=v[i](this._track,a);if(r)return r}}};function y(c){var a=c[1][0]-c[0][0],i=c[1][1]-c[0][1];return Math.sqrt(a*a+i*i)}function m(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var v={pinch:function(a,i){var r=a.length;if(!r)return;var o=(a[r-1]||{}).points,d=(a[r-2]||{}).points||o;if(d&&d.length>1&&o&&o.length>1){var n=y(o)/y(d);!isFinite(n)&&(n=1),i.pinchScale=n;var l=m(o);return i.pinchX=l[0],i.pinchY=l[1],{type:"pinch",target:a[0].target,event:i}}}},h=f;D.exports=h},C0tN:function(D,_,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(D,_,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(D,_,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),y=e("TJmX"),m=e("CbHG");g.registerPreprocessor(f),g.registerVisual(y),g.registerLayout(m)},CFYs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),u=e("TSYQ"),p=e.n(u),w=e("BGR+"),b=e("V/uB"),E=e.n(b),A=e("NAnI"),S=e.n(A),T=e("J84W"),L=e.n(T),x=e("kbBi"),C=e.n(x),O=e("H84U"),N=e("CWQg"),F=e("uaoM"),k=e("Zss7"),P=e.n(k),B=2,z=.16,R=.05,U=.05,j=.15,H=5,V=4,X=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function W(Fe,$e,vt){var Wt;return Math.round(Fe.h)>=60&&Math.round(Fe.h)<=240?Wt=vt?Math.round(Fe.h)-B*$e:Math.round(Fe.h)+B*$e:Wt=vt?Math.round(Fe.h)+B*$e:Math.round(Fe.h)-B*$e,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function G(Fe,$e,vt){if(Fe.h===0&&Fe.s===0)return Fe.s;var Wt;return vt?Wt=Fe.s-z*$e:$e===V?Wt=Fe.s+z:Wt=Fe.s+R*$e,Wt>1&&(Wt=1),vt&&$e===H&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function $(Fe,$e,vt){var Wt;return vt?Wt=Fe.v+U*$e:Wt=Fe.v-j*$e,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function ge(Fe){for(var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=[],Wt=P()(Fe),$t=H;$t>0;$t-=1){var Rt=Wt.toHsv(),Kt=P()({h:W(Rt,$t,!0),s:G(Rt,$t,!0),v:$(Rt,$t,!0)}).toHexString();vt.push(Kt)}vt.push(Wt.toHexString());for(var Gt=1;Gt<=V;Gt+=1){var Qt=Wt.toHsv(),Mt=P()({h:W(Qt,Gt),s:G(Qt,Gt),v:$(Qt,Gt)}).toHexString();vt.push(Mt)}return $e.theme==="dark"?X.map(function(dr){var er=dr.index,st=dr.opacity,xt=P.a.mix($e.backgroundColor||"#141414",vt[er],st*100).toHexString();return xt}):vt}var q={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Se={},Ce={};Object.keys(q).forEach(function(Fe){Se[Fe]=ge(q[Fe]),Se[Fe].primary=Se[Fe][5],Ce[Fe]=ge(q[Fe],{theme:"dark",backgroundColor:"#141414"}),Ce[Fe].primary=Ce[Fe][5]});var Ae=Se.red,Ue=Se.volcano,Qe=Se.gold,gt=Se.orange,_e=Se.yellow,Oe=Se.lime,lt=Se.green,ce=Se.cyan,Y=Se.blue,K=Se.geekblue,Q=Se.purple,ye=Se.magenta,ue=Se.grey;function Ne(Fe){return!Fe||Fe<0?0:Fe>100?100:Fe}function Te(Fe){var $e=Fe.success,vt=Fe.successPercent,Wt=vt;return $e&&"progress"in $e&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=$e.progress),$e&&"percent"in $e&&(Wt=$e.percent),Wt}var oe=function(Fe,$e){var vt={};for(var Wt in Fe)Object.prototype.hasOwnProperty.call(Fe,Wt)&&$e.indexOf(Wt)<0&&(vt[Wt]=Fe[Wt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Fe);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Wt[$t])&&(vt[Wt[$t]]=Fe[Wt[$t]]);return vt},de=function($e){var vt=[];return Object.keys($e).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||vt.push({key:$t,value:$e[Wt]})}),vt=vt.sort(function(Wt,$t){return Wt.key-$t.key}),vt.map(function(Wt){var $t=Wt.key,Rt=Wt.value;return"".concat(Rt," ").concat($t,"%")}).join(", ")},Le=function($e){var vt=$e.from,Wt=vt===void 0?q.blue:vt,$t=$e.to,Rt=$t===void 0?q.blue:$t,Kt=$e.direction,Gt=Kt===void 0?"to right":Kt,Qt=oe($e,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=de(Qt);return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Wt,", ").concat(Rt,")")}},Ge=function($e){var vt=$e.prefixCls,Wt=$e.percent,$t=$e.strokeWidth,Rt=$e.size,Kt=$e.strokeColor,Gt=$e.strokeLinecap,Qt=$e.children,Mt=$e.trailColor,dr=$e.success,er=Kt&&typeof Kt!="string"?Le(Kt):{background:Kt},st=Mt?{backgroundColor:Mt}:void 0,xt=m()({width:"".concat(Ne(Wt),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:""},er),ut=Te($e),pt={width:"".concat(Ne(ut),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},It=ut!==void 0?t.createElement("div",{className:"".concat(vt,"-success-bg"),style:pt}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(vt,"-outer")},t.createElement("div",{className:"".concat(vt,"-inner"),style:st},t.createElement("div",{className:"".concat(vt,"-bg"),style:xt}),It)),Qt)},ht=Ge,Et={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Be=function($e){var vt=$e.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Rt=!1;Object.keys(vt).forEach(function(Kt){var Gt=vt[Kt].current;if(!Gt)return;Rt=!0;var Qt=Gt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Rt&&(Wt.current=Date.now())}),[vt]};function Dt(){return Dt=Object.assign||function(Fe){for(var $e=1;$e<arguments.length;$e++){var vt=arguments[$e];for(var Wt in vt)Object.prototype.hasOwnProperty.call(vt,Wt)&&(Fe[Wt]=vt[Wt])}return Fe},Dt.apply(this,arguments)}function Ke(Fe,$e){return ot(Fe)||tt(Fe,$e)||Xe(Fe,$e)||At()}function At(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xe(Fe,$e){if(!Fe)return;if(typeof Fe=="string")return et(Fe,$e);var vt=Object.prototype.toString.call(Fe).slice(8,-1);if(vt==="Object"&&Fe.constructor&&(vt=Fe.constructor.name),vt==="Map"||vt==="Set")return Array.from(Fe);if(vt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return et(Fe,$e)}function et(Fe,$e){($e==null||$e>Fe.length)&&($e=Fe.length);for(var vt=0,Wt=new Array($e);vt<$e;vt++)Wt[vt]=Fe[vt];return Wt}function tt(Fe,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Fe)))return;var vt=[],Wt=!0,$t=!1,Rt=void 0;try{for(var Kt=Fe[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(vt.push(Gt.value),$e&&vt.length===$e);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Rt}}return vt}function ot(Fe){if(Array.isArray(Fe))return Fe}function Ve(Fe,$e){if(Fe==null)return{};var vt=se(Fe,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Fe);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Fe,Wt))continue;vt[Wt]=Fe[Wt]}}return vt}function se(Fe,$e){if(Fe==null)return{};var vt={},Wt=Object.keys(Fe),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],$e.indexOf($t)>=0)continue;vt[$t]=Fe[$t]}return vt}var re=function($e){var vt=$e.className,Wt=$e.percent,$t=$e.prefixCls,Rt=$e.strokeColor,Kt=$e.strokeLinecap,Gt=$e.strokeWidth,Qt=$e.style,Mt=$e.trailColor,dr=$e.trailWidth,er=$e.transition,st=Ve($e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete st.gapPosition;var xt=Array.isArray(Wt)?Wt:[Wt],ut=Array.isArray(Rt)?Rt:[Rt],pt=Be(xt),It=Ke(pt,1),Tt=It[0],ft=Gt/2,Ht=100-Gt/2,Ft="M ".concat(Kt==="round"?ft:0,",").concat(ft,`
|
|
|
L `).concat(Kt==="round"?Ht:100,",").concat(ft),ir="0 0 100 ".concat(Gt),Xt=0;return s.a.createElement("svg",Dt({className:p()("".concat($t,"-line"),vt),viewBox:ir,preserveAspectRatio:"none",style:Qt},st),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:Ft,strokeLinecap:Kt,stroke:Mt,strokeWidth:dr||Gt,fillOpacity:"0"}),xt.map(function(mr,Ar){var Nr={strokeDasharray:"".concat(mr,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:er||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Fr=ut[Ar]||ut[ut.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:Ft,strokeLinecap:Kt,stroke:Fr,strokeWidth:Gt,fillOpacity:"0",ref:Tt[Ar],style:Nr})}))};re.defaultProps=Et;var it=re;function qe(){return qe=Object.assign||function(Fe){for(var $e=1;$e<arguments.length;$e++){var vt=arguments[$e];for(var Wt in vt)Object.prototype.hasOwnProperty.call(vt,Wt)&&(Fe[Wt]=vt[Wt])}return Fe},qe.apply(this,arguments)}function be(Fe,$e){return _t(Fe)||yt(Fe,$e)||dt(Fe,$e)||Zt()}function Zt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dt(Fe,$e){if(!Fe)return;if(typeof Fe=="string")return ct(Fe,$e);var vt=Object.prototype.toString.call(Fe).slice(8,-1);if(vt==="Object"&&Fe.constructor&&(vt=Fe.constructor.name),vt==="Map"||vt==="Set")return Array.from(Fe);if(vt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return ct(Fe,$e)}function ct(Fe,$e){($e==null||$e>Fe.length)&&($e=Fe.length);for(var vt=0,Wt=new Array($e);vt<$e;vt++)Wt[vt]=Fe[vt];return Wt}function yt(Fe,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Fe)))return;var vt=[],Wt=!0,$t=!1,Rt=void 0;try{for(var Kt=Fe[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(vt.push(Gt.value),$e&&vt.length===$e);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Rt}}return vt}function _t(Fe){if(Array.isArray(Fe))return Fe}function or(Fe,$e){if(Fe==null)return{};var vt=Bt(Fe,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Fe);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Fe,Wt))continue;vt[Wt]=Fe[Wt]}}return vt}function Bt(Fe,$e){if(Fe==null)return{};var vt={},Wt=Object.keys(Fe),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],$e.indexOf($t)>=0)continue;vt[$t]=Fe[$t]}return vt}var we=0;function ve(Fe){return+Fe.replace("%","")}function me(Fe){return Array.isArray(Fe)?Fe:[Fe]}function he(Fe,$e,vt,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Rt=arguments.length>5?arguments[5]:void 0,Kt=50-Wt/2,Gt=0,Qt=-Kt,Mt=0,dr=-2*Kt;switch(Rt){case"left":Gt=-Kt,Qt=0,Mt=2*Kt,dr=0;break;case"right":Gt=Kt,Qt=0,Mt=-2*Kt,dr=0;break;case"bottom":Qt=Kt,dr=2*Kt;break;default:}var er="M 50,50 m ".concat(Gt,",").concat(Qt,`
|
|
|
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(Mt,",").concat(-dr,`
|
|
|
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(-Mt,",").concat(dr),st=Math.PI*2*Kt,xt={stroke:vt,strokeDasharray:"".concat($e/100*(st-$t),"px ").concat(st,"px"),strokeDashoffset:"-".concat($t/2+Fe/100*(st-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:xt}}var Re=function($e){var vt=$e.prefixCls,Wt=$e.strokeWidth,$t=$e.trailWidth,Rt=$e.gapDegree,Kt=$e.gapPosition,Gt=$e.trailColor,Qt=$e.strokeLinecap,Mt=$e.style,dr=$e.className,er=$e.strokeColor,st=$e.percent,xt=or($e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ut=Object(t.useMemo)(function(){return we+=1,we},[]),pt=he(0,100,Gt,Wt,Rt,Kt),It=pt.pathString,Tt=pt.pathStyle,ft=me(st),Ht=me(er),Ft=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=Be(ft),Xt=be(ir,1),mr=Xt[0],Ar=function(){var Fr=0;return ft.map(function(tn,qr){var Lr=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(Lr)==="[object Object]"?"url(#".concat(vt,"-gradient-").concat(ut,")"):"",_r=he(Fr,tn,Lr,Wt,Rt,Kt);return Fr+=tn,s.a.createElement("path",{key:qr,className:"".concat(vt,"-circle-path"),d:_r.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:_r.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",qe({className:p()("".concat(vt,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},xt),Ft&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(vt,"-gradient-").concat(ut),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ft).sort(function(Nr,Fr){return ve(Nr)-ve(Fr)}).map(function(Nr,Fr){return s.a.createElement("stop",{key:Fr,offset:Nr,stopColor:Ft[Nr]})}))),s.a.createElement("path",{className:"".concat(vt,"-circle-trail"),d:It,stroke:Gt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:Tt}),Ar().reverse())};Re.defaultProps=Et;var He=Re,ze={Line:it,Circle:He};function Ye(Fe){var $e=Fe.percent,vt=Fe.success,Wt=Fe.successPercent,$t=Ne($e),Rt=Te({success:vt,successPercent:Wt});return Rt?[Ne(Rt),Ne($t-Ne(Rt))]:$t}function Pe(Fe){var $e=Fe.success,vt=Fe.strokeColor,Wt=Fe.successPercent,$t=vt||null,Rt=Te({success:$e,successPercent:Wt});return Rt?[q.green,$t]:$t}var nt=function($e){var vt=$e.prefixCls,Wt=$e.width,$t=$e.strokeWidth,Rt=$e.trailColor,Kt=$e.strokeLinecap,Gt=$e.gapPosition,Qt=$e.gapDegree,Mt=$e.type,dr=$e.children,er=Wt||120,st={width:er,height:er,fontSize:er*.15+6},xt=$t||6,ut=Gt||Mt==="dashboard"&&"bottom"||"top",pt=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},It=Pe($e),Tt=Object.prototype.toString.call(It)==="[object Object]",ft=p()("".concat(vt,"-inner"),f()({},"".concat(vt,"-circle-gradient"),Tt));return t.createElement("div",{className:ft,style:st},t.createElement(He,{percent:Ye($e),strokeWidth:xt,trailWidth:xt,strokeColor:It,strokeLinecap:Kt,trailColor:Rt,prefixCls:vt,gapDegree:pt(),gapPosition:ut}),dr)},bt=nt,Ot=function($e){for(var vt=$e.size,Wt=$e.steps,$t=$e.percent,Rt=$t===void 0?0:$t,Kt=$e.strokeWidth,Gt=Kt===void 0?8:Kt,Qt=$e.strokeColor,Mt=$e.trailColor,dr=$e.prefixCls,er=$e.children,st=Math.floor(Wt*(Rt/100)),xt=vt==="small"?2:14,ut=[],pt=0;pt<Wt;pt+=1)ut.push(t.createElement("div",{key:pt,className:p()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),pt<=st-1)),style:{backgroundColor:pt<=st-1?Qt:Mt,width:xt,height:Gt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},ut,er)},ae=Ot,pe=function(Fe,$e){var vt={};for(var Wt in Fe)Object.prototype.hasOwnProperty.call(Fe,Wt)&&$e.indexOf(Wt)<0&&(vt[Wt]=Fe[Wt]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Fe);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Wt[$t])&&(vt[Wt[$t]]=Fe[Wt[$t]]);return vt},J=Object(N.a)("line","circle","dashboard"),ne=Object(N.a)("normal","exception","active","success"),xe=function(Fe){d()(vt,Fe);var $e=l()(vt);function vt(){var Wt;return h()(this,vt),Wt=$e.apply(this,arguments),Wt.renderProgress=function($t){var Rt,Kt=$t.getPrefixCls,Gt=$t.direction,Qt=r()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,st=Mt.size,xt=Mt.type,ut=Mt.steps,pt=Mt.showInfo,It=Mt.strokeColor,Tt=pe(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),ft=Kt("progress",dr),Ht=Wt.getProgressStatus(),Ft=Wt.renderProcessInfo(ft,Ht);Object(F.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;xt==="line"?ir=ut?t.createElement(ae,m()({},Wt.props,{strokeColor:typeof It=="string"?It:void 0,prefixCls:ft,steps:ut}),Ft):t.createElement(ht,m()({},Wt.props,{prefixCls:ft}),Ft):(xt==="circle"||xt==="dashboard")&&(ir=t.createElement(bt,m()({},Wt.props,{prefixCls:ft,progressStatus:Ht}),Ft));var Xt=p()(ft,(Rt={},f()(Rt,"".concat(ft,"-").concat(xt==="dashboard"&&"circle"||ut&&"steps"||xt),!0),f()(Rt,"".concat(ft,"-status-").concat(Ht),!0),f()(Rt,"".concat(ft,"-show-info"),pt),f()(Rt,"".concat(ft,"-").concat(st),st),f()(Rt,"".concat(ft,"-rtl"),Gt==="rtl"),Rt),er);return t.createElement("div",m()({},Object(w.default)(Tt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return a()(vt,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Rt=$t===void 0?0:$t,Kt=Te(this.props);return parseInt(Kt!==void 0?Kt.toString():Rt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return ne.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Rt){var Kt=this.props,Gt=Kt.showInfo,Qt=Kt.format,Mt=Kt.type,dr=Kt.percent,er=Te(this.props);if(!Gt)return null;var st,xt=Qt||function(pt){return"".concat(pt,"%")},ut=Mt==="line";return Qt||Rt!=="exception"&&Rt!=="success"?st=xt(Ne(dr),Ne(er)):Rt==="exception"?st=ut?t.createElement(C.a,null):t.createElement(E.a,null):Rt==="success"&&(st=ut?t.createElement(L.a,null):t.createElement(S.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof st=="string"?st:void 0},st)}},{key:"render",value:function(){return t.createElement(O.a,null,this.renderProgress)}}]),vt}(t.Component);xe.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var De=_.a=xe},CH3K:function(D,_){function e(g,f){for(var y=-1,m=f.length,v=g.length;++y<m;)g[v+y]=f[y];return g}D.exports=e},"CMP+":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a){f.call(this,v,h,c),this.type=a||"value",this.model=null};y.prototype={constructor:y,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(y,f);var m=y;D.exports=m},CP8R:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};_.default=g},"CWI+":function(D,_,e){},CbHG:function(D,_,e){var g=e("IwbS"),f=g.subPixelOptimize,y=e("zM3Q"),m=e("OELB"),v=m.parsePercent,h=e("bYtY"),c=h.retrieve2,a=typeof Float32Array!="undefined"?Float32Array:Array,i={seriesType:"candlestick",plan:y(),reset:function(d){var n=d.coordinateSystem,l=d.getData(),t=o(d,l),s=0,u=1,p=["x","y"],w=l.mapDimension(p[s]),b=l.mapDimension(p[u],!0),E=b[0],A=b[1],S=b[2],T=b[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),w==null||b.length<4)return;return{progress:d.pipelineContext.large?x:L};function L(C,O){for(var N;(N=C.next())!=null;){var F=O.get(w,N),k=O.get(E,N),P=O.get(A,N),B=O.get(S,N),z=O.get(T,N),R=Math.min(k,P),U=Math.max(k,P),j=G(R,F),H=G(U,F),V=G(B,F),X=G(z,F),W=[];$(W,H,0),$(W,j,1),W.push(q(X),q(H),q(V),q(j)),O.setItemLayout(N,{sign:r(O,N,k,P,A),initBaseline:k>P?H[u]:j[u],ends:W,brushRect:ge(B,z,F)})}function G(Se,Ce){var Ae=[];return Ae[s]=Ce,Ae[u]=Se,isNaN(Ce)||isNaN(Se)?[NaN,NaN]:n.dataToPoint(Ae)}function $(Se,Ce,Ae){var Ue=Ce.slice(),Qe=Ce.slice();Ue[s]=f(Ue[s]+t/2,1,!1),Qe[s]=f(Qe[s]-t/2,1,!0),Ae?Se.push(Ue,Qe):Se.push(Qe,Ue)}function ge(Se,Ce,Ae){var Ue=G(Se,Ae),Qe=G(Ce,Ae);return Ue[s]-=t/2,Qe[s]-=t/2,{x:Ue[0],y:Ue[1],width:u?t:Qe[0]-Ue[0],height:u?Qe[1]-Ue[1]:t}}function q(Se){return Se[s]=f(Se[s],1),Se}}function x(C,O){for(var N=new a(C.count*4),F=0,k,P=[],B=[],z;(z=C.next())!=null;){var R=O.get(w,z),U=O.get(E,z),j=O.get(A,z),H=O.get(S,z),V=O.get(T,z);if(isNaN(R)||isNaN(H)||isNaN(V)){N[F++]=NaN,F+=3;continue}N[F++]=r(O,z,U,j,A),P[s]=R,P[u]=H,k=n.dataToPoint(P,null,B),N[F++]=k?k[0]:NaN,N[F++]=k?k[1]:NaN,P[u]=V,k=n.dataToPoint(P,null,B),N[F++]=k?k[1]:NaN}O.setLayout("largePoints",N)}}};function r(d,n,l,t,s){var u;return l>t?u=-1:l<t?u=1:u=n>0?d.get(s,n-1)<=t?1:-1:1,u}function o(d,n){var l=d.getBaseAxis(),t,s=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/n.count()),u=v(c(d.get("barMaxWidth"),s),s),p=v(c(d.get("barMinWidth"),1),s),w=d.get("barWidth");return w!=null?v(w,s):Math.max(Math.min(s/2,u),p)}D.exports=i},CiB2:function(D,_,e){"use strict";e.d(_,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(D,_,e){e("5NHt"),e("f3JH")},CrYA:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"sessionStorage",read:m,write:v,each:h,remove:c,clearAll:a};function y(){return f.sessionStorage}function m(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var o=y().key(r);i(m(o),o)}}function c(i){return y().removeItem(i)}function a(){return y().clear()}},Csr3:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Cwc5:function(D,_,e){var g=e("NKxu"),f=e("Npjl");function y(m,v){var h=f(m,v);return g(h)?h:void 0}D.exports=y},D1WM:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.axisIndex=i};y.prototype={constructor:y,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(y,f);var m=y;D.exports=m},D5nY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("4NO4"),m=y.makeInner,v=y.getDataItemValue,h=e("bYtY"),c=h.createHashMap,a=h.each,i=h.map,r=h.isArray,o=h.isString,d=h.isObject,n=h.isTypedArray,l=h.isArrayLike,t=h.extend,s=h.assert,u=e("7G+c"),p=e("k9D9"),w=p.SOURCE_FORMAT_ORIGINAL,b=p.SOURCE_FORMAT_ARRAY_ROWS,E=p.SOURCE_FORMAT_OBJECT_ROWS,A=p.SOURCE_FORMAT_KEYED_COLUMNS,S=p.SOURCE_FORMAT_UNKNOWN,T=p.SOURCE_FORMAT_TYPED_ARRAY,L=p.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},C=m();function O(W){var G=W.option.source,$=S;if(n(G))$=T;else if(r(G)){G.length===0&&($=b);for(var ge=0,q=G.length;ge<q;ge++){var Se=G[ge];if(Se==null)continue;if(r(Se)){$=b;break}else if(d(Se)){$=E;break}}}else if(d(G)){for(var Ce in G)if(G.hasOwnProperty(Ce)&&l(G[Ce])){$=A;break}}else if(G!=null)throw new Error("Invalid data");C(W).sourceFormat=$}function N(W){return C(W).source}function F(W){C(W).datasetMap=c()}function k(W){var G=W.option,$=G.data,ge=n($)?T:w,q=!1,Se=G.seriesLayoutBy,Ce=G.sourceHeader,Ae=G.dimensions,Ue=H(W);if(Ue){var Qe=Ue.option;$=Qe.source,ge=C(Ue).sourceFormat,q=!0,Se=Se||Qe.seriesLayoutBy,Ce==null&&(Ce=Qe.sourceHeader),Ae=Ae||Qe.dimensions}var gt=P($,ge,Se,Ce,Ae);C(W).source=new u({data:$,fromDataset:q,seriesLayoutBy:Se,sourceFormat:ge,dimensionsDefine:gt.dimensionsDefine,startIndex:gt.startIndex,dimensionsDetectCount:gt.dimensionsDetectCount,encodeDefine:G.encode})}function P(W,G,$,ge,q){if(!W)return{dimensionsDefine:B(q)};var Se,Ce;if(G===b)ge==="auto"||ge==null?z(function(Ue){Ue!=null&&Ue!=="-"&&(o(Ue)?Ce==null&&(Ce=1):Ce=0)},$,W,10):Ce=ge?1:0,!q&&Ce===1&&(q=[],z(function(Ue,Qe){q[Qe]=Ue!=null?Ue:""},$,W)),Se=q?q.length:$===L?W.length:W[0]?W[0].length:null;else if(G===E)q||(q=R(W));else if(G===A)q||(q=[],a(W,function(Ue,Qe){q.push(Qe)}));else if(G===w){var Ae=v(W[0]);Se=r(Ae)&&Ae.length||1}else G===T;return{startIndex:Ce,dimensionsDefine:B(q),dimensionsDetectCount:Se}}function B(W){if(!W)return;var G=c();return i(W,function($,ge){if($=t({},d($)?$:{name:$}),$.name==null)return $;$.name+="",$.displayName==null&&($.displayName=$.name);var q=G.get($.name);return q?$.name+="-"+q.count++:G.set($.name,{count:1}),$})}function z(W,G,$,ge){if(ge==null&&(ge=Infinity),G===L)for(var q=0;q<$.length&&q<ge;q++)W($[q]?$[q][0]:null,q);else for(var Se=$[0]||[],q=0;q<Se.length&&q<ge;q++)W(Se[q],q)}function R(W){for(var G=0,$;G<W.length&&!($=W[G++]););if($){var ge=[];return a($,function(q,Se){ge.push(Se)}),ge}}function U(W,G,$){var ge={},q=H(G);if(!q||!W)return ge;var Se=[],Ce=[],Ae=G.ecModel,Ue=C(Ae).datasetMap,Qe=q.uid+"_"+$.seriesLayoutBy,gt,_e;W=W.slice(),a(W,function(Y,K){!d(Y)&&(W[K]={name:Y}),Y.type==="ordinal"&>==null&&(gt=K,_e=ce(W[K])),ge[Y.name]=[]});var Oe=Ue.get(Qe)||Ue.set(Qe,{categoryWayDim:_e,valueWayDim:0});a(W,function(Y,K){var Q=Y.name,ye=ce(Y);if(gt==null){var ue=Oe.valueWayDim;lt(ge[Q],ue,ye),lt(Ce,ue,ye),Oe.valueWayDim+=ye}else if(gt===K)lt(ge[Q],0,ye),lt(Se,0,ye);else{var ue=Oe.categoryWayDim;lt(ge[Q],ue,ye),lt(Ce,ue,ye),Oe.categoryWayDim+=ye}});function lt(Y,K,Q){for(var ye=0;ye<Q;ye++)Y.push(K+ye)}function ce(Y){var K=Y.dimsDef;return K?K.length:1}return Se.length&&(ge.itemName=Se),Ce.length&&(ge.seriesName=Ce),ge}function j(W,G,$){var ge={},q=H(W);if(!q)return ge;var Se=G.sourceFormat,Ce=G.dimensionsDefine,Ae;(Se===E||Se===A)&&a(Ce,function(gt,_e){(d(gt)?gt.name:gt)==="name"&&(Ae=_e)});var Ue=function(){for(var gt={},_e={},Oe=[],lt=0,ce=Math.min(5,$);lt<ce;lt++){var Y=X(G.data,Se,G.seriesLayoutBy,Ce,G.startIndex,lt);Oe.push(Y);var K=Y===x.Not;if(K&>.v==null&<!==Ae&&(gt.v=lt),(gt.n==null||gt.n===gt.v||!K&&Oe[gt.n]===x.Not)&&(gt.n=lt),Q(gt)&&Oe[gt.n]!==x.Not)return gt;K||(Y===x.Might&&_e.v==null&<!==Ae&&(_e.v=lt),(_e.n==null||_e.n===_e.v)&&(_e.n=lt))}function Q(ye){return ye.v!=null&&ye.n!=null}return Q(gt)?gt:Q(_e)?_e:null}();if(Ue){ge.value=Ue.v;var Qe=Ae!=null?Ae:Ue.n;ge.itemName=[Qe],ge.seriesName=[Qe]}return ge}function H(W){var G=W.option,$=G.data;if(!$)return W.ecModel.getComponent("dataset",G.datasetIndex||0)}function V(W,G){return X(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,G)}function X(W,G,$,ge,q,Se){var Ce,Ae=5;if(n(W))return x.Not;var Ue,Qe;if(ge){var gt=ge[Se];d(gt)?(Ue=gt.name,Qe=gt.type):o(gt)&&(Ue=gt)}if(Qe!=null)return Qe==="ordinal"?x.Must:x.Not;if(G===b)if($===L){for(var _e=W[Se],Oe=0;Oe<(_e||[]).length&&Oe<Ae;Oe++)if((Ce=K(_e[q+Oe]))!=null)return Ce}else for(var Oe=0;Oe<W.length&&Oe<Ae;Oe++){var lt=W[q+Oe];if(lt&&(Ce=K(lt[Se]))!=null)return Ce}else if(G===E){if(!Ue)return x.Not;for(var Oe=0;Oe<W.length&&Oe<Ae;Oe++){var ce=W[Oe];if(ce&&(Ce=K(ce[Ue]))!=null)return Ce}}else if(G===A){if(!Ue)return x.Not;var _e=W[Ue];if(!_e||n(_e))return x.Not;for(var Oe=0;Oe<_e.length&&Oe<Ae;Oe++)if((Ce=K(_e[Oe]))!=null)return Ce}else if(G===w)for(var Oe=0;Oe<W.length&&Oe<Ae;Oe++){var ce=W[Oe],Y=v(ce);if(!r(Y))return x.Not;if((Ce=K(Y[Se]))!=null)return Ce}function K(Q){var ye=o(Q);if(Q!=null&&isFinite(Q)&&Q!=="")return ye?x.Might:x.Not;if(ye&&Q!=="-")return x.Must}return x.Not}_.BE_ORDINAL=x,_.detectSourceFormat=O,_.getSource=N,_.resetSourceDefaulter=F,_.prepareSource=k,_.makeSeriesEncodeForAxisCoordSys=U,_.makeSeriesEncodeForNameBased=j,_.guessOrdinal=V},D9ME:function(D,_,e){var g=e("IwbS"),f=e("fls0"),y=e("bYtY"),m=e("oVpE"),v=m.createSymbol,h=e("QBsz"),c=e("Sj9i");function a(o,d,n){g.Group.call(this),this.add(this.createLine(o,d,n)),this._updateEffectSymbol(o,d)}var i=a.prototype;i.createLine=function(o,d,n){return new f(o,d,n)},i._updateEffectSymbol=function(o,d){var n=o.getItemModel(d),l=n.getModel("effect"),t=l.get("symbolSize"),s=l.get("symbol");y.isArray(t)||(t=[t,t]);var u=l.get("color")||o.getItemVisual(d,"color"),p=this.childAt(1);if(this._symbolType!==s&&(this.remove(p),p=v(s,-.5,-.5,1,1,u),p.z2=100,p.culling=!0,this.add(p)),!p)return;p.setStyle("shadowColor",u),p.setStyle(l.getItemStyle(["color"])),p.attr("scale",t),p.setColor(u),p.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(o,l,d)},i._updateEffectAnimation=function(o,d,n){var l=this.childAt(1);if(!l)return;var t=this,s=o.getItemLayout(n),u=d.get("period")*1e3,p=d.get("loop"),w=d.get("constantSpeed"),b=y.retrieve(d.get("delay"),function(T){return T/o.count()*u/3}),E=typeof b=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),w>0&&(u=this.getLineLength(l)/w*1e3),u!==this._period||p!==this._loop){l.stopAnimation();var A=b;E&&(A=b(n)),l.__t>0&&(A=-u*l.__t),l.__t=0;var S=l.animate("",p).when(u,{__t:1}).delay(A).during(function(){t.updateSymbolPosition(l)});p||S.done(function(){t.remove(l)}),S.start()}this._period=u,this._loop=p},i.getLineLength=function(o){return h.dist(o.__p1,o.__cp1)+h.dist(o.__cp1,o.__p2)},i.updateAnimationPoints=function(o,d){o.__p1=d[0],o.__p2=d[1],o.__cp1=d[2]||[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]},i.updateData=function(o,d,n){this.childAt(0).updateData(o,d,n),this._updateEffectSymbol(o,d)},i.updateSymbolPosition=function(o){var d=o.__p1,n=o.__p2,l=o.__cp1,t=o.__t,s=o.position,u=[s[0],s[1]],p=c.quadraticAt,w=c.quadraticDerivativeAt;s[0]=p(d[0],l[0],n[0],t),s[1]=p(d[1],l[1],n[1],t);var b=w(d[0],l[0],n[0],t),E=w(d[1],l[1],n[1],t);if(o.rotation=-Math.atan2(E,b)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(o.__lastT!==void 0&&o.__lastT<o.__t){var A=h.dist(u,s)*1.05;o.attr("scale",[o.scale[0],A]),t===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(o.__lastT===1){var A=2*h.dist(d,s);o.attr("scale",[o.scale[0],A])}else o.attr("scale",this._symbolScale);o.__lastT=o.__t,o.ignore=!1},i.updateLayout=function(o,d){this.childAt(0).updateLayout(o,d);var n=o.getItemModel(d).getModel("effect");this._updateEffectAnimation(o,n,d)},y.inherits(a,g.Group);var r=a;D.exports=r},DBLp:function(D,_){function e(){}e.prototype={diff:function(h,c,a){a||(a=function(E,A){return E===A}),this.equals=a;var i=this;h=h.slice(),c=c.slice();var r=c.length,o=h.length,d=1,n=r+o,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],c,h,0);if(l[0].newPos+1>=r&&t+1>=o){for(var s=[],u=0;u<c.length;u++)s.push(u);return[{indices:s,count:c.length}]}function p(){for(var b=-1*d;b<=d;b+=2){var E,A=l[b-1],S=l[b+1],T=(S?S.newPos:0)-b;A&&(l[b-1]=void 0);var L=A&&A.newPos+1<r,x=S&&0<=T&&T<o;if(!L&&!x){l[b]=void 0;continue}if(!L||x&&A.newPos<S.newPos?(E=f(S),i.pushComponent(E.components,void 0,!0)):(E=A,E.newPos++,i.pushComponent(E.components,!0,void 0)),T=i.extractCommon(E,c,h,b),E.newPos+1>=r&&T+1>=o)return g(i,E.components,c,h);l[b]=E}d++}for(;d<=n;){var w=p();if(w)return w}},pushComponent:function(h,c,a){var i=h[h.length-1];i&&i.added===c&&i.removed===a?h[h.length-1]={count:i.count+1,added:c,removed:a}:h.push({count:1,added:c,removed:a})},extractCommon:function(h,c,a,i){for(var r=c.length,o=a.length,d=h.newPos,n=d-i,l=0;d+1<r&&n+1<o&&this.equals(c[d+1],a[n+1]);)d++,n++,l++;return l&&h.components.push({count:l}),h.newPos=d,n},tokenize:function(h){return h.slice()},join:function(h){return h.slice()}};function g(v,h,c,a){for(var i=0,r=h.length,o=0,d=0;i<r;i++){var n=h[i];if(n.removed){for(var l=[],t=d;t<d+n.count;t++)l.push(t);n.indices=l,d+=n.count}else{for(var l=[],t=o;t<o+n.count;t++)l.push(t);n.indices=l,o+=n.count,n.added||(d+=n.count)}}return h}function f(v){return{newPos:v.newPos,components:v.components.slice(0)}}var y=new e;function m(v,h,c){return y.diff(v,h,c)}D.exports=m},DEFe:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),y=e("Ae+d"),m=e("xSat"),v=m.onIrrelevantElement,h=e("IwbS"),c=e("W4dC"),a=e("iRjW"),i=a.getUID,r=e("DN4a");function o(s){var u=s.getItemStyle(),p=s.get("areaColor");return p!=null&&(u.fill=p),u}function d(s,u,p,w,b){p.off("click"),p.off("mousedown"),u.get("selectedMode")&&(p.on("mousedown",function(){s._mouseDownFlag=!0}),p.on("click",function(E){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var A=E.target;!A.__regions;)A=A.parent;if(!A)return;var S={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(A.__regions,function(T){return{name:T.name,from:b.uid}})};S[u.mainType+"Id"]=u.id,w.dispatchAction(S),n(u,p)}))}function n(s,u){u.eachChild(function(p){g.each(p.__regions,function(w){p.trigger(s.isSelected(w.name)?"emphasis":"normal")})})}function l(s,u){var p=new h.Group;this.uid=i("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:u?p:null},this.group=p,this._updateGroup=u,this._mouseDownFlag,this._mapName,this._initialized,p.add(this._regionsGroup=new h.Group),p.add(this._backgroundGroup=new h.Group)}l.prototype={constructor:l,draw:function(s,u,p,w,b){var E=s.mainType==="geo",A=s.getData&&s.getData();E&&u.eachComponent({mainType:"series",subType:"map"},function(H){!A&&H.getHostGeoModel()===s&&(A=H.getData())});var S=s.coordinateSystem;this._updateBackground(S);var T=this._regionsGroup,L=this.group,x=S.getTransformInfo(),C=!T.childAt(0)||b,O;if(C)L.transform=x.roamTransform,L.decomposeTransform(),L.dirty();else{var N=new r;N.transform=x.roamTransform,N.decomposeTransform();var F={scale:N.scale,position:N.position};O=N.scale,h.updateProps(L,F,s)}var k=x.rawScale,P=x.rawPosition;T.removeAll();var B=["itemStyle"],z=["emphasis","itemStyle"],R=["label"],U=["emphasis","label"],j=g.createHashMap();g.each(S.regions,function(H){var V=j.get(H.name)||j.set(H.name,new h.Group),X=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});V.add(X);var W=s.getRegionModel(H.name)||s,G=W.getModel(B),$=W.getModel(z),ge=o(G),q=o($),Se=W.getModel(R),Ce=W.getModel(U),Ae;if(A){Ae=A.indexOfName(H.name);var Ue=A.getItemVisual(Ae,"color",!0);Ue&&(ge.fill=Ue)}var Qe=function(ue){return[ue[0]*k[0]+P[0],ue[1]*k[1]+P[1]]};g.each(H.geometries,function(ue){if(ue.type!=="polygon")return;for(var Ne=[],Te=0;Te<ue.exterior.length;++Te)Ne.push(Qe(ue.exterior[Te]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Ne}}));for(var Te=0;Te<(ue.interiors?ue.interiors.length:0);++Te){for(var oe=ue.interiors[Te],Ne=[],de=0;de<oe.length;++de)Ne.push(Qe(oe[de]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Ne}}))}}),X.setStyle(ge),X.style.strokeNoScale=!0,X.culling=!0;var gt=Se.get("show"),_e=Ce.get("show"),Oe=A&&isNaN(A.get(A.mapDimension("value"),Ae)),lt=A&&A.getItemLayout(Ae);if(E||Oe&&(gt||_e)||lt&<.showLabel){var ce=E?H.name:Ae,Y;(!A||Ae>=0)&&(Y=s);var K=new h.Text({position:Qe(H.center.slice()),scale:[1/L.scale[0],1/L.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(K.style,K.hoverStyle={},Se,Ce,{labelFetcher:Y,labelDataIndex:ce,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var Q=[1/O[0],1/O[1]];h.updateProps(K,{scale:Q},s)}V.add(K)}if(A)A.setItemGraphicEl(Ae,V);else{var W=s.getRegionModel(H.name);X.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:H.name,region:W&&W.option||{}}}var ye=V.__regions||(V.__regions=[]);ye.push(H),V.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(V,q),T.add(V)}),this._updateController(s,u,p),d(this,s,T,p,w),n(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&g.each(c.makeGraphic(u,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=u},_updateController:function(s,u,p){var w=s.coordinateSystem,b=this._controller,E=this._controllerHost;E.zoomLimit=s.get("scaleLimit"),E.zoom=w.getZoom(),b.enable(s.get("roam")||!1);var A=s.mainType;function S(){var T={type:"geoRoam",componentType:A};return T[A+"Id"]=s.id,T}b.off("pan").on("pan",function(T){this._mouseDownFlag=!1,y.updateViewOnPan(E,T.dx,T.dy),p.dispatchAction(g.extend(S(),{dx:T.dx,dy:T.dy}))},this),b.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,y.updateViewOnZoom(E,T.scale,T.originX,T.originY),p.dispatchAction(g.extend(S(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var L=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/L[0],1/L[1]])})}},this),b.setPointerChecker(function(T,L,x){return w.getViewRectAfterRoam().contain(L,x)&&!v(T,p,s)})}};var t=l;D.exports=t},DFOY:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("uciX"),u=e("2W6z"),p=e.n(u),w=e("4IlW"),b=e("uK0f"),E=e.n(b);function A(me,he){if(me===he)return!0;if(!me||!he)return!1;var Re=me.length;if(he.length!==Re)return!1;for(var He=0;He<Re;He++)if(me[He]!==he[He])return!1;return!0}function S(me){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(Re){return typeof Re}:S=function(Re){return Re&&typeof Symbol=="function"&&Re.constructor===Symbol&&Re!==Symbol.prototype?"symbol":typeof Re},S(me)}function T(me,he){if(!(me instanceof he))throw new TypeError("Cannot call a class as a function")}function L(me,he){for(var Re=0;Re<he.length;Re++){var He=he[Re];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(me,He.key,He)}}function x(me,he,Re){return he&&L(me.prototype,he),Re&&L(me,Re),me}function C(me,he){if(typeof he!="function"&&he!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(he&&he.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),he&&O(me,he)}function O(me,he){return O=Object.setPrototypeOf||function(He,ze){return He.__proto__=ze,He},O(me,he)}function N(me){var he=P();return function(){var Re=B(me),He;if(he){var ze=B(this).constructor;He=Reflect.construct(Re,arguments,ze)}else He=Re.apply(this,arguments);return F(this,He)}}function F(me,he){return he&&(S(he)==="object"||typeof he=="function")?he:k(me)}function k(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function P(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(me){return!1}}function B(me){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(Re){return Re.__proto__||Object.getPrototypeOf(Re)},B(me)}var z=function(){var me=function(he){C(He,he);var Re=N(He);function He(){var ze;return T(this,He),ze=Re.apply(this,arguments),ze.menuItems={},ze.saveMenuItem=function(Ye){return function(Pe){ze.menuItems[Ye]=Pe}},ze}return x(He,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Ye){!Ye.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Ye){var Pe=this.props,nt=Pe.fieldNames,bt=Pe.defaultFieldNames;return nt[Ye]||bt[Ye]}},{key:"getOption",value:function(Ye,Pe){var nt=this.props,bt=nt.prefixCls,Ot=nt.expandTrigger,ae=nt.expandIcon,pe=nt.loadingIcon,J=this.props.onSelect.bind(this,Ye,Pe),ne=this.props.onItemDoubleClick.bind(this,Ye,Pe),xe={onClick:J,onDoubleClick:ne},De="".concat(bt,"-menu-item"),Fe=null,$e=Ye[this.getFieldName("children")]&&Ye[this.getFieldName("children")].length>0;($e||Ye.isLeaf===!1)&&(De+=" ".concat(bt,"-menu-item-expand"),Ye.loading||(Fe=t.createElement("span",{className:"".concat(bt,"-menu-item-expand-icon")},ae))),Ot==="hover"&&($e||Ye.isLeaf===!1)&&(xe={onMouseEnter:this.delayOnSelect.bind(this,J),onMouseLeave:this.delayOnSelect.bind(this),onClick:J}),this.isActiveOption(Ye,Pe)&&(De+=" ".concat(bt,"-menu-item-active"),xe.ref=this.saveMenuItem(Pe)),Ye.disabled&&(De+=" ".concat(bt,"-menu-item-disabled"));var vt=null;Ye.loading&&(De+=" ".concat(bt,"-menu-item-loading"),vt=pe||null);var Wt="";return"title"in Ye?Wt=Ye.title:typeof Ye[this.getFieldName("label")]=="string"&&(Wt=Ye[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Ye[this.getFieldName("value")],className:De,title:Wt},xe,{role:"menuitem",onMouseDown:function(Rt){return Rt.preventDefault()}}),Ye[this.getFieldName("label")],Fe,vt)}},{key:"getActiveOptions",value:function(Ye){var Pe=this,nt=this.props.options,bt=Ye||this.props.activeValue;return E()(nt,function(Ot,ae){return Ot[Pe.getFieldName("value")]===bt[ae]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Ye=this,Pe=this.props.options,nt=this.getActiveOptions().map(function(bt){return bt[Ye.getFieldName("children")]}).filter(function(bt){return!!bt});return nt.unshift(Pe),nt}},{key:"delayOnSelect",value:function(Ye){for(var Pe=this,nt=arguments.length,bt=new Array(nt>1?nt-1:0),Ot=1;Ot<nt;Ot++)bt[Ot-1]=arguments[Ot];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Ye=="function"&&(this.delayTimer=window.setTimeout(function(){Ye(bt),Pe.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Ye=this.getShowOptions().length,Pe=0;Pe<Ye;Pe++){var nt=this.menuItems[Pe];nt&&nt.parentElement&&(nt.parentElement.scrollTop=nt.offsetTop)}}},{key:"isActiveOption",value:function(Ye,Pe){var nt=this.props.activeValue,bt=nt===void 0?[]:nt;return bt[Pe]===Ye[this.getFieldName("value")]}},{key:"render",value:function(){var Ye=this,Pe=this.props,nt=Pe.prefixCls,bt=Pe.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(Ot,ae){return t.createElement("ul",{className:"".concat(nt,"-menu"),key:ae,style:bt},Ot.map(function(pe){return Ye.getOption(pe,ae)}))}))}}]),He}(t.Component);return me.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},me}(),R=z,U={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},j=U;function H(me){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(Re){return typeof Re}:H=function(Re){return Re&&typeof Symbol=="function"&&Re.constructor===Symbol&&Re!==Symbol.prototype?"symbol":typeof Re},H(me)}function V(me,he){if(me==null)return{};var Re=X(me,he),He,ze;if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(me);for(ze=0;ze<Ye.length;ze++){if(He=Ye[ze],he.indexOf(He)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(me,He))continue;Re[He]=me[He]}}return Re}function X(me,he){if(me==null)return{};var Re={},He=Object.keys(me),ze,Ye;for(Ye=0;Ye<He.length;Ye++){if(ze=He[Ye],he.indexOf(ze)>=0)continue;Re[ze]=me[ze]}return Re}function W(me){return q(me)||ge(me)||$(me)||G()}function G(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(me,he){if(!me)return;if(typeof me=="string")return Se(me,he);var Re=Object.prototype.toString.call(me).slice(8,-1);if(Re==="Object"&&me.constructor&&(Re=me.constructor.name),Re==="Map"||Re==="Set")return Array.from(me);if(Re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Re))return Se(me,he)}function ge(me){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(me))return Array.from(me)}function q(me){if(Array.isArray(me))return Se(me)}function Se(me,he){(he==null||he>me.length)&&(he=me.length);for(var Re=0,He=new Array(he);Re<he;Re++)He[Re]=me[Re];return He}function Ce(me,he){if(!(me instanceof he))throw new TypeError("Cannot call a class as a function")}function Ae(me,he){for(var Re=0;Re<he.length;Re++){var He=he[Re];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(me,He.key,He)}}function Ue(me,he,Re){return he&&Ae(me.prototype,he),Re&&Ae(me,Re),me}function Qe(me,he){if(typeof he!="function"&&he!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(he&&he.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),he&>(me,he)}function gt(me,he){return gt=Object.setPrototypeOf||function(He,ze){return He.__proto__=ze,He},gt(me,he)}function _e(me){var he=ce();return function(){var Re=Y(me),He;if(he){var ze=Y(this).constructor;He=Reflect.construct(Re,arguments,ze)}else He=Re.apply(this,arguments);return Oe(this,He)}}function Oe(me,he){return he&&(H(he)==="object"||typeof he=="function")?he:lt(me)}function lt(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function ce(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(me){return!1}}function Y(me){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(Re){return Re.__proto__||Object.getPrototypeOf(Re)},Y(me)}var K=function(){var me=function(he){Qe(He,he);var Re=_e(He);function He(ze){var Ye;Ce(this,He),Ye=Re.call(this,ze),Ye.setPopupVisible=function(nt){var bt=Ye.state.value;"popupVisible"in Ye.props||Ye.setState({popupVisible:nt}),nt&&!Ye.state.popupVisible&&Ye.setState({activeValue:bt}),Ye.props.onPopupVisibleChange(nt)},Ye.handleChange=function(nt,bt,Ot){var ae=bt.visible;(Ot.type!=="keydown"||Ot.keyCode===w.a.ENTER)&&(Ye.props.onChange(nt.map(function(pe){return pe[Ye.getFieldName("value")]}),nt),Ye.setPopupVisible(ae))},Ye.handlePopupVisibleChange=function(nt){Ye.setPopupVisible(nt)},Ye.handleMenuSelect=function(nt,bt,Ot){var ae=Ye.trigger.getRootDomNode();ae&&ae.focus&&ae.focus();var pe=Ye.props,J=pe.changeOnSelect,ne=pe.loadData,xe=pe.expandTrigger;if(!nt||nt.disabled)return;var De=Ye.state.activeValue;De=De.slice(0,bt+1),De[bt]=nt[Ye.getFieldName("value")];var Fe=Ye.getActiveOptions(De);if(nt.isLeaf===!1&&!nt[Ye.getFieldName("children")]&&ne){J&&Ye.handleChange(Fe,{visible:!0},Ot),Ye.setState({activeValue:De}),ne(Fe);return}var $e={};!nt[Ye.getFieldName("children")]||!nt[Ye.getFieldName("children")].length?(Ye.handleChange(Fe,{visible:!1},Ot),$e.value=De):J&&(Ot.type==="click"||Ot.type==="keydown")&&(xe==="hover"?Ye.handleChange(Fe,{visible:!1},Ot):Ye.handleChange(Fe,{visible:!0},Ot),$e.value=De),$e.activeValue=De,("value"in Ye.props||Ot.type==="keydown"&&Ot.keyCode!==w.a.ENTER)&&delete $e.value,Ye.setState($e)},Ye.handleItemDoubleClick=function(){var nt=Ye.props.changeOnSelect;nt&&Ye.setPopupVisible(!1)},Ye.handleKeyDown=function(nt){var bt=Ye.props.children;if(bt&&bt.props.onKeyDown){bt.props.onKeyDown(nt);return}var Ot=W(Ye.state.activeValue),ae=Ot.length-1<0?0:Ot.length-1,pe=Ye.getCurrentLevelOptions(),J=pe.map(function(Fe){return Fe[Ye.getFieldName("value")]}).indexOf(Ot[ae]);if(nt.keyCode!==w.a.DOWN&&nt.keyCode!==w.a.UP&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ENTER&&nt.keyCode!==w.a.SPACE&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB)return;if(!Ye.state.popupVisible&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB){Ye.setPopupVisible(!0);return}if(nt.keyCode===w.a.DOWN||nt.keyCode===w.a.UP){nt.preventDefault();var ne=J;ne!==-1?nt.keyCode===w.a.DOWN?(ne+=1,ne=ne>=pe.length?0:ne):(ne-=1,ne=ne<0?pe.length-1:ne):ne=0,Ot[ae]=pe[ne][Ye.getFieldName("value")]}else if(nt.keyCode===w.a.LEFT||nt.keyCode===w.a.BACKSPACE)nt.preventDefault(),Ot.splice(Ot.length-1,1);else if(nt.keyCode===w.a.RIGHT)nt.preventDefault(),pe[J]&&pe[J][Ye.getFieldName("children")]&&Ot.push(pe[J][Ye.getFieldName("children")][0][Ye.getFieldName("value")]);else if(nt.keyCode===w.a.ESC||nt.keyCode===w.a.TAB){Ye.setPopupVisible(!1);return}(!Ot||Ot.length===0)&&Ye.setPopupVisible(!1);var xe=Ye.getActiveOptions(Ot),De=xe[xe.length-1];Ye.handleMenuSelect(De,xe.length-1,nt),Ye.props.onKeyDown&&Ye.props.onKeyDown(nt)},Ye.saveTrigger=function(nt){Ye.trigger=nt};var Pe=[];return"value"in ze?Pe=ze.value||[]:"defaultValue"in ze&&(Pe=ze.defaultValue||[]),p()(!("filedNames"in ze),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Ye.state={popupVisible:ze.popupVisible,activeValue:Pe,value:Pe,prevProps:ze},Ye.defaultFieldNames={label:"label",value:"value",children:"children"},Ye}return Ue(He,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Ye){var Pe=this.defaultFieldNames,nt=this.props,bt=nt.fieldNames,Ot=nt.filedNames;return"filedNames"in this.props?Ot[Ye]||Pe[Ye]:bt[Ye]||Pe[Ye]}},{key:"getFieldNames",value:function(){var Ye=this.props,Pe=Ye.fieldNames,nt=Ye.filedNames;return"filedNames"in this.props?nt:Pe}},{key:"getCurrentLevelOptions",value:function(){var Ye=this,Pe=this.props.options,nt=Pe===void 0?[]:Pe,bt=this.state.activeValue,Ot=bt===void 0?[]:bt,ae=E()(nt,function(pe,J){return pe[Ye.getFieldName("value")]===Ot[J]},{childrenKeyName:this.getFieldName("children")});return ae[ae.length-2]?ae[ae.length-2][this.getFieldName("children")]:W(nt).filter(function(pe){return!pe.disabled})}},{key:"getActiveOptions",value:function(Ye){var Pe=this;return E()(this.props.options||[],function(nt,bt){return nt[Pe.getFieldName("value")]===Ye[bt]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Ye=this.props,Pe=Ye.prefixCls,nt=Ye.transitionName,bt=Ye.popupClassName,Ot=Ye.options,ae=Ot===void 0?[]:Ot,pe=Ye.disabled,J=Ye.builtinPlacements,ne=Ye.popupPlacement,xe=Ye.children,De=Ye.dropdownRender,Fe=V(Ye,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),$e=t.createElement("div",null),vt="";ae&&ae.length>0?$e=t.createElement(R,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):vt=" ".concat(Pe,"-menus-empty");var Wt=$e;return De&&(Wt=De($e)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Fe,{popupPlacement:ne,builtinPlacements:J,popupTransitionName:nt,action:pe?[]:["click"],popupVisible:pe?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Pe,"-menus"),popupClassName:bt+vt,popup:Wt}),t.cloneElement(xe,{onKeyDown:this.handleKeyDown,tabIndex:pe?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Ye,Pe){var nt=Pe.prevProps,bt=nt===void 0?{}:nt,Ot={prevProps:Ye};return"value"in Ye&&!A(bt.value,Ye.value)&&(Ot.value=Ye.value||[],"loadData"in Ye||(Ot.activeValue=Ye.value||[])),"popupVisible"in Ye&&(Ot.popupVisible=Ye.popupVisible),Ot}}]),He}(t.Component);return me.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:j,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},me}(),Q=K,ye=Q,ue=e("TSYQ"),Ne=e.n(ue),Te=e("BGR+"),oe=e("kbBi"),de=e.n(oe),Le=e("HQEm"),Ge=e.n(Le),ht=e("fEPi"),Et=e.n(ht),Be=e("5YOS"),Dt=e.n(Be),Ke=e("DFhj"),At=e.n(Ke),Xe=e("5rEg"),et=e("H84U"),tt=e("YMnH"),ot=e("uaoM"),Ve=e("3Nzz"),se=e("0n0R"),re=function(me,he){var Re={};for(var He in me)Object.prototype.hasOwnProperty.call(me,He)&&he.indexOf(He)<0&&(Re[He]=me[He]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,He=Object.getOwnPropertySymbols(me);ze<He.length;ze++)he.indexOf(He[ze])<0&&Object.prototype.propertyIsEnumerable.call(me,He[ze])&&(Re[He[ze]]=me[He[ze]]);return Re},it=50;function qe(me,he,Re){return me.split(he).map(function(He,ze){return ze===0?He:[t.createElement("span",{className:"".concat(Re,"-menu-item-keyword"),key:"seperator"},he),He]})}function be(me,he,Re){return he.some(function(He){return He[Re.label].indexOf(me)>-1})}function Zt(me,he,Re,He){return he.map(function(ze,Ye){var Pe=ze[He.label],nt=Pe.indexOf(me)>-1?qe(Pe,me,Re):Pe;return Ye===0?nt:[" / ",nt]})}function dt(me,he,Re,He){function ze(Ye){return Ye[He.label].indexOf(Re)>-1}return me.findIndex(ze)-he.findIndex(ze)}function ct(me){var he=me.fieldNames;return he}function yt(me){var he=ct(me)||{},Re={children:he.children||"children",label:he.label||"label",value:he.value||"value"};return Re}function _t(me,he){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],He=yt(he),ze=[],Ye=He.children;return me.forEach(function(Pe){var nt=Re.concat(Pe);(he.changeOnSelect||!Pe[Ye]||!Pe[Ye].length)&&ze.push(nt),Pe[Ye]&&(ze=ze.concat(_t(Pe[Ye],he,nt)))}),ze}var or=function(he){return he.join(" / ")};function Bt(me){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(me||[]).forEach(function(Re){var He=he.value||"value";Object(ot.a)(He in Re,"Cascader","Not found `value` in `options`."),Bt(Re[he.children||"children"],he)})}var we=function(me){d()(Re,me);var he=l()(Re);function Re(He){var ze;return h()(this,Re),ze=he.call(this,He),ze.cachedOptions=[],ze.setValue=function(Ye){var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in ze.props||ze.setState({value:Ye});var nt=ze.props.onChange;nt&&nt(Ye,Pe)},ze.saveInput=function(Ye){ze.input=Ye},ze.handleChange=function(Ye,Pe){if(ze.setState({inputValue:""}),Pe[0].__IS_FILTERED_OPTION){var nt=Ye[0],bt=Pe[0].path;ze.setValue(nt,bt);return}ze.setValue(Ye,Pe)},ze.handlePopupVisibleChange=function(Ye){"popupVisible"in ze.props||ze.setState(function(nt){return{popupVisible:Ye,inputFocused:Ye,inputValue:Ye?nt.inputValue:""}});var Pe=ze.props.onPopupVisibleChange;Pe&&Pe(Ye)},ze.handleInputBlur=function(){ze.setState({inputFocused:!1})},ze.handleInputClick=function(Ye){var Pe=ze.state,nt=Pe.inputFocused,bt=Pe.popupVisible;(nt||bt)&&Ye.stopPropagation()},ze.handleKeyDown=function(Ye){(Ye.keyCode===w.a.BACKSPACE||Ye.keyCode===w.a.SPACE)&&Ye.stopPropagation()},ze.handleInputChange=function(Ye){var Pe=ze.state.popupVisible,nt=Ye.target.value;Pe||ze.handlePopupVisibleChange(!0),ze.setState({inputValue:nt})},ze.clearSelection=function(Ye){var Pe=ze.state.inputValue;Ye.preventDefault(),Ye.stopPropagation(),Pe?ze.setState({inputValue:""}):(ze.handlePopupVisibleChange(!1),ze.clearSelectionTimeout=setTimeout(function(){ze.setValue([])},200))},ze.renderCascader=function(Ye,Pe){var nt=Ye.getPopupContainer,bt=Ye.getPrefixCls,Ot=Ye.renderEmpty,ae=Ye.direction;return t.createElement(Ve.b.Consumer,null,function(pe){var J,ne,xe,De,Fe=r()(ze),$e=Fe.props,vt=Fe.state,Wt=$e.prefixCls,$t=$e.inputPrefixCls,Rt=$e.children,Kt=$e.placeholder,Gt=Kt===void 0?Pe.placeholder||"Please select":Kt,Qt=$e.size,Mt=$e.disabled,dr=$e.className,er=$e.style,st=$e.allowClear,xt=$e.showSearch,ut=xt===void 0?!1:xt,pt=$e.suffixIcon,It=$e.expandIcon,Tt=$e.notFoundContent,ft=$e.popupClassName,Ht=$e.bordered,Ft=$e.dropdownRender,ir=re($e,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||pe,mr=vt.value,Ar=vt.inputFocused,Nr=ae==="rtl",Fr=bt("cascader",Wt),tn=bt("input",$t),qr=Ne()((J={},m()(J,"".concat(tn,"-lg"),Xt==="large"),m()(J,"".concat(tn,"-sm"),Xt==="small"),J)),Lr=st&&!Mt&&mr.length>0||vt.inputValue?t.createElement(de.a,{className:"".concat(Fr,"-picker-clear"),onClick:ze.clearSelection}):null,Qr=Ne()((ne={},m()(ne,"".concat(Fr,"-picker-arrow"),!0),m()(ne,"".concat(Fr,"-picker-arrow-expand"),vt.popupVisible),ne)),_r=Ne()(dr,"".concat(Fr,"-picker"),(xe={},m()(xe,"".concat(Fr,"-picker-rtl"),Nr),m()(xe,"".concat(Fr,"-picker-with-value"),vt.inputValue),m()(xe,"".concat(Fr,"-picker-disabled"),Mt),m()(xe,"".concat(Fr,"-picker-").concat(Xt),!!Xt),m()(xe,"".concat(Fr,"-picker-show-search"),!!ut),m()(xe,"".concat(Fr,"-picker-focused"),Ar),m()(xe,"".concat(Fr,"-picker-borderless"),!Ht),xe)),ur=Object(Te.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=$e.options,cr=yt(ze.props);if(pr&&pr.length>0)vt.inputValue&&(pr=ze.generateFilteredOptions(Fr,Ot));else{var fr;pr=[(fr={},m()(fr,cr.label,Tt||Ot("Cascader")),m()(fr,cr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}vt.popupVisible?ze.cachedOptions=pr:pr=ze.cachedOptions;var xr={},Yr=(pr||[]).length===1&&pr[0].isEmptyNode;Yr&&(xr.height="auto");var un=ut.matchInputWidth!==!1;un&&(vt.inputValue||Yr)&&ze.input&&(xr.width=ze.input.input.offsetWidth);var Nn;pt?Nn=Object(se.c)(pt,t.createElement("span",{className:"".concat(Fr,"-picker-arrow")},pt),function(){var Yn;return{className:Ne()((Yn={},m()(Yn,pt.props.className,pt.props.className),m()(Yn,"".concat(Fr,"-picker-arrow"),!0),Yn))}}):Nn=t.createElement(Ge.a,{className:Qr});var jr=Rt||t.createElement("span",{style:er,className:_r},t.createElement("span",{className:"".concat(Fr,"-picker-label")},ze.getLabel()),t.createElement(Xe.a,f()({},ur,{tabIndex:"-1",ref:ze.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Gt,className:"".concat(Fr,"-input ").concat(qr),value:vt.inputValue,disabled:Mt,readOnly:!ut,autoComplete:ur.autoComplete||"off",onClick:ut?ze.handleInputClick:void 0,onBlur:ut?ze.handleInputBlur:void 0,onKeyDown:ze.handleKeyDown,onChange:ut?ze.handleInputChange:void 0})),Lr,Nn),Tn;It?Tn=It:Tn=Nr?t.createElement(At.a,null):t.createElement(Et.a,null);var gn=t.createElement("span",{className:"".concat(Fr,"-menu-item-loading-icon")},t.createElement(Dt.a,{spin:!0})),Pn=$e.getPopupContainer||nt,zn=Object(Te.default)($e,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=Ne()(ft,(De={},m()(De,"".concat(Fr,"-menu-").concat(ae),ae==="rtl"),m()(De,"".concat(Fr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),De));return t.createElement(ye,f()({},zn,{prefixCls:Fr,getPopupContainer:Pn,options:pr,value:mr,popupVisible:vt.popupVisible,onPopupVisibleChange:ze.handlePopupVisibleChange,onChange:ze.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:ze.getPopupPlacement(ae),dropdownRender:Ft}),jr)})},ze.state={value:He.value||He.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:He.popupVisible,flattenOptions:He.showSearch?_t(He.options,He):void 0,prevProps:He},ze}return a()(Re,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var ze=this.props,Ye=ze.options,Pe=ze.displayRender,nt=Pe===void 0?or:Pe,bt=yt(this.props),Ot=this.state.value,ae=Array.isArray(Ot[0])?Ot[0]:Ot,pe=E()(Ye,function(ne,xe){return ne[bt.value]===ae[xe]},{childrenKeyName:bt.children}),J=pe.length?pe.map(function(ne){return ne[bt.label]}):Ot;return nt(J,pe)}},{key:"generateFilteredOptions",value:function(ze,Ye){var Pe=this,nt,bt=this.props,Ot=bt.showSearch,ae=bt.notFoundContent,pe=yt(this.props),J=Ot.filter,ne=J===void 0?be:J,xe=Ot.render,De=xe===void 0?Zt:xe,Fe=Ot.sort,$e=Fe===void 0?dt:Fe,vt=Ot.limit,Wt=vt===void 0?it:vt,$t=this.state,Rt=$t.flattenOptions,Kt=Rt===void 0?[]:Rt,Gt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;Kt.some(function(dr){var er=ne(Pe.state.inputValue,dr,pe);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(ot.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=Kt.filter(function(dr){return ne(Pe.state.inputValue,dr,pe)});return Qt=Qt.sort(function(dr,er){return $e(dr,er,Gt,pe)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},m()(er,pe.value,dr.map(function(st){return st[pe.value]})),m()(er,pe.label,De(Gt,dr,ze,pe)),m()(er,"disabled",dr.some(function(st){return!!st.disabled})),m()(er,"isEmptyNode",!0),er}):[(nt={},m()(nt,pe.value,"ANT_CASCADER_NOT_FOUND"),m()(nt,pe.label,ae||Ye("Cascader")),m()(nt,"disabled",!0),m()(nt,"isEmptyNode",!0),nt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Ye=this.props.popupPlacement;return Ye!==void 0?Ye:ze==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var ze=this;return t.createElement(et.a,null,function(Ye){return t.createElement(tt.a,null,function(Pe){return ze.renderCascader(Ye,Pe)})})}}],[{key:"getDerivedStateFromProps",value:function(ze,Ye){var Pe=Ye.prevProps,nt={prevProps:ze};return"value"in ze&&(nt.value=ze.value||[]),"popupVisible"in ze&&(nt.popupVisible=ze.popupVisible),ze.showSearch&&Pe.options!==ze.options&&(nt.flattenOptions=_t(ze.options,ze)),nt}}]),Re}(t.Component);we.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var ve=_.a=we},DFhj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},DL4k:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};_.default=g},DN4a:function(D,_,e){var g=e("Fofx"),f=e("QBsz"),y=g.identity,m=5e-5;function v(d){return d>m||d<-m}var h=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=h.prototype;c.transform=null,c.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var a=[];c.updateTransform=function(){var d=this.parent,n=d&&d.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&y(t);return}t=t||g.create(),l?this.getLocalTransform(t):y(t),n&&(l?g.mul(t,d.transform,t):g.copy(t,d.transform)),this.transform=t;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(a);var u=a[0]<0?-1:1,p=a[1]<0?-1:1,w=((a[0]-u)*s+u)/a[0]||0,b=((a[1]-p)*s+p)/a[1]||0;t[0]*=w,t[1]*=w,t[2]*=b,t[3]*=b}this.invTransform=this.invTransform||g.create(),g.invert(this.invTransform,t)},c.getLocalTransform=function(d){return h.getLocalTransform(this,d)},c.setTransform=function(d){var n=this.transform,l=d.dpr||1;n?d.setTransform(l*n[0],l*n[1],l*n[2],l*n[3],l*n[4],l*n[5]):d.setTransform(l,0,0,l,0,0)},c.restoreTransform=function(d){var n=d.dpr||1;d.setTransform(n,0,0,n,0,0)};var i=[],r=g.create();c.setLocalTransform=function(d){if(!d)return;var n=d[0]*d[0]+d[1]*d[1],l=d[2]*d[2]+d[3]*d[3],t=this.position,s=this.scale;v(n-1)&&(n=Math.sqrt(n)),v(l-1)&&(l=Math.sqrt(l)),d[0]<0&&(n=-n),d[3]<0&&(l=-l),t[0]=d[4],t[1]=d[5],s[0]=n,s[1]=l,this.rotation=Math.atan2(-d[1]/l,d[0]/n)},c.decomposeTransform=function(){if(!this.transform)return;var d=this.parent,n=this.transform;d&&d.transform&&(g.mul(i,d.invTransform,n),n=i);var l=this.origin;l&&(l[0]||l[1])&&(r[4]=l[0],r[5]=l[1],g.mul(i,n,r),i[4]-=l[0],i[5]-=l[1],n=i),this.setLocalTransform(n)},c.getGlobalScale=function(d){var n=this.transform;return d=d||[],n?(d[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),d[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(d[0]=-d[0]),n[3]<0&&(d[1]=-d[1]),d):(d[0]=1,d[1]=1,d)},c.transformCoordToLocal=function(d,n){var l=[d,n],t=this.invTransform;return t&&f.applyTransform(l,l,t),l},c.transformCoordToGlobal=function(d,n){var l=[d,n],t=this.transform;return t&&f.applyTransform(l,l,t),l},h.getLocalTransform=function(d,n){n=n||[],y(n);var l=d.origin,t=d.scale||[1,1],s=d.rotation||0,u=d.position||[0,0];return l&&(n[4]-=l[0],n[5]-=l[1]),g.scale(n,n,t),s&&g.rotate(n,n,s),l&&(n[4]+=l[0],n[5]+=l[1]),n[4]+=u[0],n[5]+=u[1],n};var o=h;D.exports=o},DO2E:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};_.default=g},DSRE:function(D,_,e){(function(g){var f=e("Kz5y"),y=e("B8du"),m=_&&!_.nodeType&&_,v=m&&typeof g=="object"&&g&&!g.nodeType&&g,h=v&&v.exports===m,c=h?f.Buffer:void 0,a=c?c.isBuffer:void 0,i=a||y;g.exports=i}).call(this,e("YuTi")(D))},DYRE:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OPEp"),m=e.n(y)},DZo9:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("JGo8"),m=e.n(y),v=e("+L6B"),h=e("MXD1"),c=e("5Dmo")},Dagg:function(D,_,e){var g=e("Gev7"),f=e("mFDi"),y=e("bYtY"),m=e("Xnb7");function v(c){g.call(this,c)}v.prototype={constructor:v,type:"image",brush:function(a,i){var r=this.style,o=r.image;r.bind(a,this,i);var d=this._image=m.createOrUpdateImage(o,this._image,this,this.onload);if(!d||!m.isImageReady(d))return;var n=r.x||0,l=r.y||0,t=r.width,s=r.height,u=d.width/d.height;if(t==null&&s!=null?t=s*u:s==null&&t!=null?s=t/u:t==null&&s==null&&(t=d.width,s=d.height),this.setTransform(a),r.sWidth&&r.sHeight){var p=r.sx||0,w=r.sy||0;a.drawImage(d,p,w,r.sWidth,r.sHeight,n,l,t,s)}else if(r.sx&&r.sy){var p=r.sx,w=r.sy,b=t-p,E=s-w;a.drawImage(d,p,w,b,E,n,l,t,s)}else a.drawImage(d,n,l,t,s);r.text!=null&&(this.restoreTransform(a),this.drawRectText(a,this.getBoundingRect()))},getBoundingRect:function(){var a=this.style;return this._rect||(this._rect=new f(a.x||0,a.y||0,a.width||0,a.height||0)),this._rect}},y.inherits(v,g);var h=v;D.exports=h},Dg8C:function(D,_,e){var g=e("XxSj"),f=e("bYtY");function y(m,v){m.eachSeriesByType("sankey",function(h){var c=h.getGraph(),a=c.nodes;if(a.length){var i=Infinity,r=-Infinity;f.each(a,function(o){var d=o.getLayout().value;d<i&&(i=d),d>r&&(r=d)}),f.each(a,function(o){var d=new g({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:h.get("color")}),n=d.mapValueToVisual(o.getLayout().value),l=o.getModel().get("itemStyle.color");l!=null?o.setVisual("color",l):o.setVisual("color",n)})}})}D.exports=y},DjyN:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Urep"),m=e.n(y),v=e("OaEy")},DlQD:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(et,tt){for(var ot=0;ot<tt.length;ot++){var Ve=tt[ot];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(et,Ve.key,Ve)}}function f(et,tt,ot){return tt&&g(et.prototype,tt),ot&&g(et,ot),et}function y(et,tt){if(!et)return;if(typeof et=="string")return m(et,tt);var ot=Object.prototype.toString.call(et).slice(8,-1);if(ot==="Object"&&et.constructor&&(ot=et.constructor.name),ot==="Map"||ot==="Set")return Array.from(et);if(ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return m(et,tt)}function m(et,tt){(tt==null||tt>et.length)&&(tt=et.length);for(var ot=0,Ve=new Array(tt);ot<tt;ot++)Ve[ot]=et[ot];return Ve}function v(et,tt){var ot;if(typeof Symbol=="undefined"||et[Symbol.iterator]==null){if(Array.isArray(et)||(ot=y(et))||tt&&et&&typeof et.length=="number"){ot&&(et=ot);var Ve=0;return function(){return Ve>=et.length?{done:!0}:{done:!1,value:et[Ve++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ot=et[Symbol.iterator](),ot.next.bind(ot)}function h(et,tt){return tt={exports:{}},et(tt,tt.exports),tt.exports}var c=h(function(et){function tt(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function ot(Ve){et.exports.defaults=Ve}et.exports={defaults:tt(),getDefaults:tt,changeDefaults:ot}}),a=c.defaults,i=c.getDefaults,r=c.changeDefaults,o=/[&<>"']/,d=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=function(tt){return t[tt]};function u(et,tt){if(tt){if(o.test(et))return et.replace(d,s)}else if(n.test(et))return et.replace(l,s);return et}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function w(et){return et.replace(p,function(tt,ot){return ot=ot.toLowerCase(),ot==="colon"?":":ot.charAt(0)==="#"?ot.charAt(1)==="x"?String.fromCharCode(parseInt(ot.substring(2),16)):String.fromCharCode(+ot.substring(1)):""})}var b=/(^|[^\[])\^/g;function E(et,tt){et=et.source||et,tt=tt||"";var ot={replace:function(se,re){return re=re.source||re,re=re.replace(b,"$1"),et=et.replace(se,re),ot},getRegex:function(){return new RegExp(et,tt)}};return ot}var A=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(et,tt,ot){if(et){var Ve;try{Ve=decodeURIComponent(w(ot)).replace(A,"").toLowerCase()}catch(se){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}tt&&!S.test(ot)&&(ot=N(tt,ot));try{ot=encodeURI(ot).replace(/%25/g,"%")}catch(se){return null}return ot}var L={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function N(et,tt){L[" "+et]||(x.test(et)?L[" "+et]=et+"/":L[" "+et]=B(et,"/",!0)),et=L[" "+et];var ot=et.indexOf(":")===-1;return tt.substring(0,2)==="//"?ot?tt:et.replace(C,"$1")+tt:tt.charAt(0)==="/"?ot?tt:et.replace(O,"$1")+tt:et+tt}var F={exec:function(){}};function k(et){for(var tt=1,ot,Ve;tt<arguments.length;tt++){ot=arguments[tt];for(Ve in ot)Object.prototype.hasOwnProperty.call(ot,Ve)&&(et[Ve]=ot[Ve])}return et}function P(et,tt){var ot=et.replace(/\|/g,function(re,it,qe){for(var be=!1,Zt=it;--Zt>=0&&qe[Zt]==="\\";)be=!be;return be?"|":" |"}),Ve=ot.split(/ \|/),se=0;if(Ve.length>tt)Ve.splice(tt);else for(;Ve.length<tt;)Ve.push("");for(;se<Ve.length;se++)Ve[se]=Ve[se].trim().replace(/\\\|/g,"|");return Ve}function B(et,tt,ot){var Ve=et.length;if(Ve===0)return"";for(var se=0;se<Ve;){var re=et.charAt(Ve-se-1);if(re===tt&&!ot)se++;else if(re!==tt&&ot)se++;else break}return et.substr(0,Ve-se)}function z(et,tt){if(et.indexOf(tt[1])===-1)return-1;for(var ot=et.length,Ve=0,se=0;se<ot;se++)if(et[se]==="\\")se++;else if(et[se]===tt[0])Ve++;else if(et[se]===tt[1]&&(Ve--,Ve<0))return se;return-1}function R(et){et&&et.sanitize&&!et.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var U={escape:u,unescape:w,edit:E,cleanUrl:T,resolveUrl:N,noopTest:F,merge:k,splitCells:P,rtrim:B,findClosingBracket:z,checkSanitizeDeprecation:R},j=c.defaults,H=U.rtrim,V=U.splitCells,X=U.escape,W=U.findClosingBracket;function G(et,tt,ot){var Ve=tt.href,se=tt.title?X(tt.title):null,re=et[1].replace(/\\([\[\]])/g,"$1");return et[0].charAt(0)!=="!"?{type:"link",raw:ot,href:Ve,title:se,text:re}:{type:"image",raw:ot,href:Ve,title:se,text:X(re)}}function $(et,tt){var ot=et.match(/^(\s+)(?:```)/);if(ot===null)return tt;var Ve=ot[1];return tt.split(`
|
|
|
`).map(function(se){var re=se.match(/^\s+/);if(re===null)return se;var it=re[0];return it.length>=Ve.length?se.slice(Ve.length):se}).join(`
|
|
|
`)}var ge=function(){function et(ot){this.options=ot||j}var tt=et.prototype;return tt.space=function(Ve){var se=this.rules.block.newline.exec(Ve);if(se)return se[0].length>1?{type:"space",raw:se[0]}:{raw:`
|
|
|
`}},tt.code=function(Ve,se){var re=this.rules.block.code.exec(Ve);if(re){var it=se[se.length-1];if(it&&it.type==="paragraph")return{raw:re[0],text:re[0].trimRight()};var qe=re[0].replace(/^ {4}/gm,"");return{type:"code",raw:re[0],codeBlockStyle:"indented",text:this.options.pedantic?qe:H(qe,`
|
|
|
`)}}},tt.fences=function(Ve){var se=this.rules.block.fences.exec(Ve);if(se){var re=se[0],it=$(re,se[3]||"");return{type:"code",raw:re,lang:se[2]?se[2].trim():se[2],text:it}}},tt.heading=function(Ve){var se=this.rules.block.heading.exec(Ve);if(se)return{type:"heading",raw:se[0],depth:se[1].length,text:se[2]}},tt.nptable=function(Ve){var se=this.rules.block.nptable.exec(Ve);if(se){var re={type:"table",header:V(se[1].replace(/^ *| *\| *$/g,"")),align:se[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:se[3]?se[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:se[0]};if(re.header.length===re.align.length){var it=re.align.length,qe;for(qe=0;qe<it;qe++)/^ *-+: *$/.test(re.align[qe])?re.align[qe]="right":/^ *:-+: *$/.test(re.align[qe])?re.align[qe]="center":/^ *:-+ *$/.test(re.align[qe])?re.align[qe]="left":re.align[qe]=null;for(it=re.cells.length,qe=0;qe<it;qe++)re.cells[qe]=V(re.cells[qe],re.header.length);return re}}},tt.hr=function(Ve){var se=this.rules.block.hr.exec(Ve);if(se)return{type:"hr",raw:se[0]}},tt.blockquote=function(Ve){var se=this.rules.block.blockquote.exec(Ve);if(se){var re=se[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:se[0],text:re}}},tt.list=function(Ve){var se=this.rules.block.list.exec(Ve);if(se){for(var re=se[0],it=se[2],qe=it.length>1,be=it[it.length-1]===")",Zt={type:"list",raw:re,ordered:qe,start:qe?+it.slice(0,-1):"",loose:!1,items:[]},dt=se[0].match(this.rules.block.item),ct=!1,yt,_t,or,Bt,we,ve,me,he=dt.length,Re=0;Re<he;Re++)yt=dt[Re],re=yt,_t=yt.length,yt=yt.replace(/^ *([*+-]|\d+[.)]) */,""),~yt.indexOf(`
|
|
|
`)&&(_t-=yt.length,yt=this.options.pedantic?yt.replace(/^ {1,4}/gm,""):yt.replace(new RegExp("^ {1,"+_t+"}","gm"),"")),Re!==he-1&&(or=this.rules.block.bullet.exec(dt[Re+1])[0],(qe?or.length===1||!be&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==it)&&(Bt=dt.slice(Re+1).join(`
|
|
|
`),Zt.raw=Zt.raw.substring(0,Zt.raw.length-Bt.length),Re=he-1)),we=ct||/\n\n(?!\s*$)/.test(yt),Re!==he-1&&(ct=yt.charAt(yt.length-1)===`
|
|
|
`,we||(we=ct)),we&&(Zt.loose=!0),ve=/^\[[ xX]\] /.test(yt),me=void 0,ve&&(me=yt[1]!==" ",yt=yt.replace(/^\[[ xX]\] +/,"")),Zt.items.push({type:"list_item",raw:re,task:ve,checked:me,loose:we,text:yt});return Zt}},tt.html=function(Ve){var se=this.rules.block.html.exec(Ve);if(se)return{type:this.options.sanitize?"paragraph":"html",raw:se[0],pre:!this.options.sanitizer&&(se[1]==="pre"||se[1]==="script"||se[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(se[0]):X(se[0]):se[0]}},tt.def=function(Ve){var se=this.rules.block.def.exec(Ve);if(se){se[3]&&(se[3]=se[3].substring(1,se[3].length-1));var re=se[1].toLowerCase().replace(/\s+/g," ");return{tag:re,raw:se[0],href:se[2],title:se[3]}}},tt.table=function(Ve){var se=this.rules.block.table.exec(Ve);if(se){var re={type:"table",header:V(se[1].replace(/^ *| *\| *$/g,"")),align:se[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:se[3]?se[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(re.header.length===re.align.length){re.raw=se[0];var it=re.align.length,qe;for(qe=0;qe<it;qe++)/^ *-+: *$/.test(re.align[qe])?re.align[qe]="right":/^ *:-+: *$/.test(re.align[qe])?re.align[qe]="center":/^ *:-+ *$/.test(re.align[qe])?re.align[qe]="left":re.align[qe]=null;for(it=re.cells.length,qe=0;qe<it;qe++)re.cells[qe]=V(re.cells[qe].replace(/^ *\| *| *\| *$/g,""),re.header.length);return re}}},tt.lheading=function(Ve){var se=this.rules.block.lheading.exec(Ve);if(se)return{type:"heading",raw:se[0],depth:se[2].charAt(0)==="="?1:2,text:se[1]}},tt.paragraph=function(Ve){var se=this.rules.block.paragraph.exec(Ve);if(se)return{type:"paragraph",raw:se[0],text:se[1].charAt(se[1].length-1)===`
|
|
|
`?se[1].slice(0,-1):se[1]}},tt.text=function(Ve,se){var re=this.rules.block.text.exec(Ve);if(re){var it=se[se.length-1];return it&&it.type==="text"?{raw:re[0],text:re[0]}:{type:"text",raw:re[0],text:re[0]}}},tt.escape=function(Ve){var se=this.rules.inline.escape.exec(Ve);if(se)return{type:"escape",raw:se[0],text:X(se[1])}},tt.tag=function(Ve,se,re){var it=this.rules.inline.tag.exec(Ve);if(it)return!se&&/^<a /i.test(it[0])?se=!0:se&&/^<\/a>/i.test(it[0])&&(se=!1),!re&&/^<(pre|code|kbd|script)(\s|>)/i.test(it[0])?re=!0:re&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(it[0])&&(re=!1),{type:this.options.sanitize?"text":"html",raw:it[0],inLink:se,inRawBlock:re,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):X(it[0]):it[0]}},tt.link=function(Ve){var se=this.rules.inline.link.exec(Ve);if(se){var re=W(se[2],"()");if(re>-1){var it=se[0].indexOf("!")===0?5:4,qe=it+se[1].length+re;se[2]=se[2].substring(0,re),se[0]=se[0].substring(0,qe).trim(),se[3]=""}var be=se[2],Zt="";if(this.options.pedantic){var dt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(be);dt?(be=dt[1],Zt=dt[3]):Zt=""}else Zt=se[3]?se[3].slice(1,-1):"";be=be.trim().replace(/^<([\s\S]*)>$/,"$1");var ct=G(se,{href:be&&be.replace(this.rules.inline._escapes,"$1"),title:Zt&&Zt.replace(this.rules.inline._escapes,"$1")},se[0]);return ct}},tt.reflink=function(Ve,se){var re;if((re=this.rules.inline.reflink.exec(Ve))||(re=this.rules.inline.nolink.exec(Ve))){var it=(re[2]||re[1]).replace(/\s+/g," ");if(it=se[it.toLowerCase()],!it||!it.href){var qe=re[0].charAt(0);return{type:"text",raw:qe,text:qe}}var be=G(re,it,re[0]);return be}},tt.strong=function(Ve,se,re){re===void 0&&(re="");var it=this.rules.inline.strong.start.exec(Ve);if(it&&(!it[1]||it[1]&&(re===""||this.rules.inline.punctuation.exec(re)))){se=se.slice(-1*Ve.length);var qe=it[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;qe.lastIndex=0;for(var be;(it=qe.exec(se))!=null;)if(be=this.rules.inline.strong.middle.exec(se.slice(0,it.index+3)),be)return{type:"strong",raw:Ve.slice(0,be[0].length),text:Ve.slice(2,be[0].length-2)}}},tt.em=function(Ve,se,re){re===void 0&&(re="");var it=this.rules.inline.em.start.exec(Ve);if(it&&(!it[1]||it[1]&&(re===""||this.rules.inline.punctuation.exec(re)))){se=se.slice(-1*Ve.length);var qe=it[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;qe.lastIndex=0;for(var be;(it=qe.exec(se))!=null;)if(be=this.rules.inline.em.middle.exec(se.slice(0,it.index+2)),be)return{type:"em",raw:Ve.slice(0,be[0].length),text:Ve.slice(1,be[0].length-1)}}},tt.codespan=function(Ve){var se=this.rules.inline.code.exec(Ve);if(se){var re=se[2].replace(/\n/g," "),it=/[^ ]/.test(re),qe=re.startsWith(" ")&&re.endsWith(" ");return it&&qe&&(re=re.substring(1,re.length-1)),re=X(re,!0),{type:"codespan",raw:se[0],text:re}}},tt.br=function(Ve){var se=this.rules.inline.br.exec(Ve);if(se)return{type:"br",raw:se[0]}},tt.del=function(Ve){var se=this.rules.inline.del.exec(Ve);if(se)return{type:"del",raw:se[0],text:se[1]}},tt.autolink=function(Ve,se){var re=this.rules.inline.autolink.exec(Ve);if(re){var it,qe;return re[2]==="@"?(it=X(this.options.mangle?se(re[1]):re[1]),qe="mailto:"+it):(it=X(re[1]),qe=it),{type:"link",raw:re[0],text:it,href:qe,tokens:[{type:"text",raw:it,text:it}]}}},tt.url=function(Ve,se){var re;if(re=this.rules.inline.url.exec(Ve)){var it,qe;if(re[2]==="@")it=X(this.options.mangle?se(re[0]):re[0]),qe="mailto:"+it;else{var be;do be=re[0],re[0]=this.rules.inline._backpedal.exec(re[0])[0];while(be!==re[0]);it=X(re[0]),re[1]==="www."?qe="http://"+it:qe=it}return{type:"link",raw:re[0],text:it,href:qe,tokens:[{type:"text",raw:it,text:it}]}}},tt.inlineText=function(Ve,se,re){var it=this.rules.inline.text.exec(Ve);if(it){var qe;return se?qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):X(it[0]):it[0]:qe=X(this.options.smartypants?re(it[0]):it[0]),{type:"text",raw:it[0],text:qe}}},et}(),q=U.noopTest,Se=U.edit,Ce=U.merge,Ae={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Ae._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Ae._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Ae.def=Se(Ae.def).replace("label",Ae._label).replace("title",Ae._title).getRegex(),Ae.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ae.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Ae.item=Se(Ae.item,"gm").replace(/bull/g,Ae.bullet).getRegex(),Ae.list=Se(Ae.list).replace(/bull/g,Ae.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ae.def.source+")").getRegex(),Ae._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ae._comment=/<!--(?!-?>)[\s\S]*?-->/,Ae.html=Se(Ae.html,"i").replace("comment",Ae._comment).replace("tag",Ae._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ae.paragraph=Se(Ae._paragraph).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ae._tag).getRegex(),Ae.blockquote=Se(Ae.blockquote).replace("paragraph",Ae.paragraph).getRegex(),Ae.normal=Ce({},Ae),Ae.gfm=Ce({},Ae.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Ae.gfm.nptable=Se(Ae.gfm.nptable).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ae._tag).getRegex(),Ae.gfm.table=Se(Ae.gfm.table).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ae._tag).getRegex(),Ae.pedantic=Ce({},Ae.normal,{html:Se(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ae._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:Se(Ae.normal._paragraph).replace("hr",Ae.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",Ae.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ue={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Ue._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ue.punctuation=Se(Ue.punctuation).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ue._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ue.em.start=Se(Ue.em.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.middle=Se(Ue.em.middle).replace(/punctuation/g,Ue._punctuation).replace(/overlapSkip/g,Ue._overlapSkip).getRegex(),Ue.em.endAst=Se(Ue.em.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.em.endUnd=Se(Ue.em.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.start=Se(Ue.strong.start).replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.middle=Se(Ue.strong.middle).replace(/punctuation/g,Ue._punctuation).replace(/blockSkip/g,Ue._blockSkip).getRegex(),Ue.strong.endAst=Se(Ue.strong.endAst,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.strong.endUnd=Se(Ue.strong.endUnd,"g").replace(/punctuation/g,Ue._punctuation).getRegex(),Ue.blockSkip=Se(Ue._blockSkip,"g").getRegex(),Ue.overlapSkip=Se(Ue._overlapSkip,"g").getRegex(),Ue._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ue._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ue._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Ue.autolink=Se(Ue.autolink).replace("scheme",Ue._scheme).replace("email",Ue._email).getRegex(),Ue._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ue.tag=Se(Ue.tag).replace("comment",Ae._comment).replace("attribute",Ue._attribute).getRegex(),Ue._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ue._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ue._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ue.link=Se(Ue.link).replace("label",Ue._label).replace("href",Ue._href).replace("title",Ue._title).getRegex(),Ue.reflink=Se(Ue.reflink).replace("label",Ue._label).getRegex(),Ue.reflinkSearch=Se(Ue.reflinkSearch,"g").replace("reflink",Ue.reflink).replace("nolink",Ue.nolink).getRegex(),Ue.normal=Ce({},Ue),Ue.pedantic=Ce({},Ue.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Se(/^!?\[(label)\]\((.*?)\)/).replace("label",Ue._label).getRegex(),reflink:Se(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ue._label).getRegex()}),Ue.gfm=Ce({},Ue.normal,{escape:Se(Ue.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),Ue.gfm.url=Se(Ue.gfm.url,"i").replace("email",Ue.gfm._extended_email).getRegex(),Ue.breaks=Ce({},Ue.gfm,{br:Se(Ue.br).replace("{2,}","*").getRegex(),text:Se(Ue.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qe={block:Ae,inline:Ue},gt=c.defaults,_e=Qe.block,Oe=Qe.inline;function lt(et){return et.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function ce(et){var tt="",ot,Ve,se=et.length;for(ot=0;ot<se;ot++)Ve=et.charCodeAt(ot),Math.random()>.5&&(Ve="x"+Ve.toString(16)),tt+="&#"+Ve+";";return tt}var Y=function(){function et(ot){this.tokens=[],this.tokens.links=Object.create(null),this.options=ot||gt,this.options.tokenizer=this.options.tokenizer||new ge,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:_e.normal,inline:Oe.normal};this.options.pedantic?(Ve.block=_e.pedantic,Ve.inline=Oe.pedantic):this.options.gfm&&(Ve.block=_e.gfm,this.options.breaks?Ve.inline=Oe.breaks:Ve.inline=Oe.gfm),this.tokenizer.rules=Ve}et.lex=function(Ve,se){var re=new et(se);return re.lex(Ve)};var tt=et.prototype;return tt.lex=function(Ve){return Ve=Ve.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Ve,this.tokens,!0),this.inline(this.tokens),this.tokens},tt.blockTokens=function(Ve,se,re){se===void 0&&(se=[]),re===void 0&&(re=!0),Ve=Ve.replace(/^ +$/gm,"");for(var it,qe,be,Zt;Ve;){if(it=this.tokenizer.space(Ve)){Ve=Ve.substring(it.raw.length),it.type&&se.push(it);continue}if(it=this.tokenizer.code(Ve,se)){Ve=Ve.substring(it.raw.length),it.type?se.push(it):(Zt=se[se.length-1],Zt.raw+=`
|
|
|
`+it.raw,Zt.text+=`
|
|
|
`+it.text);continue}if(it=this.tokenizer.fences(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.heading(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.nptable(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.hr(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(it.raw.length),it.tokens=this.blockTokens(it.text,[],re),se.push(it);continue}if(it=this.tokenizer.list(Ve)){for(Ve=Ve.substring(it.raw.length),be=it.items.length,qe=0;qe<be;qe++)it.items[qe].tokens=this.blockTokens(it.items[qe].text,[],!1);se.push(it);continue}if(it=this.tokenizer.html(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(re&&(it=this.tokenizer.def(Ve))){Ve=Ve.substring(it.raw.length),this.tokens.links[it.tag]||(this.tokens.links[it.tag]={href:it.href,title:it.title});continue}if(it=this.tokenizer.table(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.lheading(Ve)){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(re&&(it=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(it.raw.length),se.push(it);continue}if(it=this.tokenizer.text(Ve,se)){Ve=Ve.substring(it.raw.length),it.type?se.push(it):(Zt=se[se.length-1],Zt.raw+=`
|
|
|
`+it.raw,Zt.text+=`
|
|
|
`+it.text);continue}if(Ve){var dt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(dt);break}else throw new Error(dt)}}return se},tt.inline=function(Ve){var se,re,it,qe,be,Zt,dt=Ve.length;for(se=0;se<dt;se++){Zt=Ve[se];switch(Zt.type){case"paragraph":case"text":case"heading":{Zt.tokens=[],this.inlineTokens(Zt.text,Zt.tokens);break}case"table":{for(Zt.tokens={header:[],cells:[]},qe=Zt.header.length,re=0;re<qe;re++)Zt.tokens.header[re]=[],this.inlineTokens(Zt.header[re],Zt.tokens.header[re]);for(qe=Zt.cells.length,re=0;re<qe;re++)for(be=Zt.cells[re],Zt.tokens.cells[re]=[],it=0;it<be.length;it++)Zt.tokens.cells[re][it]=[],this.inlineTokens(be[it],Zt.tokens.cells[re][it]);break}case"blockquote":{this.inline(Zt.tokens);break}case"list":{for(qe=Zt.items.length,re=0;re<qe;re++)this.inline(Zt.items[re].tokens);break}}}return Ve},tt.inlineTokens=function(Ve,se,re,it,qe){se===void 0&&(se=[]),re===void 0&&(re=!1),it===void 0&&(it=!1),qe===void 0&&(qe="");var be,Zt=Ve,dt;if(this.tokens.links){var ct=Object.keys(this.tokens.links);if(ct.length>0)for(;(dt=this.tokenizer.rules.inline.reflinkSearch.exec(Zt))!=null;)ct.includes(dt[0].slice(dt[0].lastIndexOf("[")+1,-1))&&(Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(dt=this.tokenizer.rules.inline.blockSkip.exec(Zt))!=null;)Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(be=this.tokenizer.escape(Ve)){Ve=Ve.substring(be.raw.length),se.push(be);continue}if(be=this.tokenizer.tag(Ve,re,it)){Ve=Ve.substring(be.raw.length),re=be.inLink,it=be.inRawBlock,se.push(be);continue}if(be=this.tokenizer.link(Ve)){Ve=Ve.substring(be.raw.length),be.type==="link"&&(be.tokens=this.inlineTokens(be.text,[],!0,it)),se.push(be);continue}if(be=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(be.raw.length),be.type==="link"&&(be.tokens=this.inlineTokens(be.text,[],!0,it)),se.push(be);continue}if(be=this.tokenizer.strong(Ve,Zt,qe)){Ve=Ve.substring(be.raw.length),be.tokens=this.inlineTokens(be.text,[],re,it),se.push(be);continue}if(be=this.tokenizer.em(Ve,Zt,qe)){Ve=Ve.substring(be.raw.length),be.tokens=this.inlineTokens(be.text,[],re,it),se.push(be);continue}if(be=this.tokenizer.codespan(Ve)){Ve=Ve.substring(be.raw.length),se.push(be);continue}if(be=this.tokenizer.br(Ve)){Ve=Ve.substring(be.raw.length),se.push(be);continue}if(be=this.tokenizer.del(Ve)){Ve=Ve.substring(be.raw.length),be.tokens=this.inlineTokens(be.text,[],re,it),se.push(be);continue}if(be=this.tokenizer.autolink(Ve,ce)){Ve=Ve.substring(be.raw.length),se.push(be);continue}if(!re&&(be=this.tokenizer.url(Ve,ce))){Ve=Ve.substring(be.raw.length),se.push(be);continue}if(be=this.tokenizer.inlineText(Ve,it,lt)){Ve=Ve.substring(be.raw.length),qe=be.raw.slice(-1),se.push(be);continue}if(Ve){var yt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(yt);break}else throw new Error(yt)}}return se},f(et,null,[{key:"rules",get:function(){return{block:_e,inline:Oe}}}]),et}(),K=c.defaults,Q=U.cleanUrl,ye=U.escape,ue=function(){function et(ot){this.options=ot||K}var tt=et.prototype;return tt.code=function(Ve,se,re){var it=(se||"").match(/\S*/)[0];if(this.options.highlight){var qe=this.options.highlight(Ve,it);qe!=null&&qe!==Ve&&(re=!0,Ve=qe)}return it?'<pre><code class="'+this.options.langPrefix+ye(it,!0)+'">'+(re?Ve:ye(Ve,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(re?Ve:ye(Ve,!0))+`</code></pre>
|
|
|
`},tt.blockquote=function(Ve){return`<blockquote>
|
|
|
`+Ve+`</blockquote>
|
|
|
`},tt.html=function(Ve){return Ve},tt.heading=function(Ve,se,re,it){return this.options.headerIds?"<h"+se+' id="'+this.options.headerPrefix+it.slug(re)+'">'+Ve+"</h"+se+`>
|
|
|
`:"<h"+se+">"+Ve+"</h"+se+`>
|
|
|
`},tt.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},tt.list=function(Ve,se,re){var it=se?"ol":"ul",qe=se&&re!==1?' start="'+re+'"':"";return"<"+it+qe+`>
|
|
|
`+Ve+"</"+it+`>
|
|
|
`},tt.listitem=function(Ve){return"<li>"+Ve+`</li>
|
|
|
`},tt.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},tt.paragraph=function(Ve){return"<p>"+Ve+`</p>
|
|
|
`},tt.table=function(Ve,se){return se&&(se="<tbody>"+se+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Ve+`</thead>
|
|
|
`+se+`</table>
|
|
|
`},tt.tablerow=function(Ve){return`<tr>
|
|
|
`+Ve+`</tr>
|
|
|
`},tt.tablecell=function(Ve,se){var re=se.header?"th":"td",it=se.align?"<"+re+' align="'+se.align+'">':"<"+re+">";return it+Ve+"</"+re+`>
|
|
|
`},tt.strong=function(Ve){return"<strong>"+Ve+"</strong>"},tt.em=function(Ve){return"<em>"+Ve+"</em>"},tt.codespan=function(Ve){return"<code>"+Ve+"</code>"},tt.br=function(){return this.options.xhtml?"<br/>":"<br>"},tt.del=function(Ve){return"<del>"+Ve+"</del>"},tt.link=function(Ve,se,re){if(Ve=Q(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return re;var it='<a href="'+ye(Ve)+'"';return se&&(it+=' title="'+se+'"'),it+=">"+re+"</a>",it},tt.image=function(Ve,se,re){if(Ve=Q(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return re;var it='<img src="'+Ve+'" alt="'+re+'"';return se&&(it+=' title="'+se+'"'),it+=this.options.xhtml?"/>":">",it},tt.text=function(Ve){return Ve},et}(),Ne=function(){function et(){}var tt=et.prototype;return tt.strong=function(Ve){return Ve},tt.em=function(Ve){return Ve},tt.codespan=function(Ve){return Ve},tt.del=function(Ve){return Ve},tt.html=function(Ve){return Ve},tt.text=function(Ve){return Ve},tt.link=function(Ve,se,re){return""+re},tt.image=function(Ve,se,re){return""+re},tt.br=function(){return""},et}(),Te=function(){function et(){this.seen={}}var tt=et.prototype;return tt.slug=function(Ve){var se=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(se)){var re=se;do this.seen[re]++,se=re+"-"+this.seen[re];while(this.seen.hasOwnProperty(se))}return this.seen[se]=0,se},et}(),oe=c.defaults,de=U.unescape,Le=function(){function et(ot){this.options=ot||oe,this.options.renderer=this.options.renderer||new ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ne,this.slugger=new Te}et.parse=function(Ve,se){var re=new et(se);return re.parse(Ve)};var tt=et.prototype;return tt.parse=function(Ve,se){se===void 0&&(se=!0);var re="",it,qe,be,Zt,dt,ct,yt,_t,or,Bt,we,ve,me,he,Re,He,ze,Ye,Pe=Ve.length;for(it=0;it<Pe;it++){Bt=Ve[it];switch(Bt.type){case"space":continue;case"hr":{re+=this.renderer.hr();continue}case"heading":{re+=this.renderer.heading(this.parseInline(Bt.tokens),Bt.depth,de(this.parseInline(Bt.tokens,this.textRenderer)),this.slugger);continue}case"code":{re+=this.renderer.code(Bt.text,Bt.lang,Bt.escaped);continue}case"table":{for(_t="",yt="",Zt=Bt.header.length,qe=0;qe<Zt;qe++)yt+=this.renderer.tablecell(this.parseInline(Bt.tokens.header[qe]),{header:!0,align:Bt.align[qe]});for(_t+=this.renderer.tablerow(yt),or="",Zt=Bt.cells.length,qe=0;qe<Zt;qe++){for(ct=Bt.tokens.cells[qe],yt="",dt=ct.length,be=0;be<dt;be++)yt+=this.renderer.tablecell(this.parseInline(ct[be]),{header:!1,align:Bt.align[be]});or+=this.renderer.tablerow(yt)}re+=this.renderer.table(_t,or);continue}case"blockquote":{or=this.parse(Bt.tokens),re+=this.renderer.blockquote(or);continue}case"list":{for(we=Bt.ordered,ve=Bt.start,me=Bt.loose,Zt=Bt.items.length,or="",qe=0;qe<Zt;qe++)Re=Bt.items[qe],He=Re.checked,ze=Re.task,he="",Re.task&&(Ye=this.renderer.checkbox(He),me?Re.tokens.length>0&&Re.tokens[0].type==="text"?(Re.tokens[0].text=Ye+" "+Re.tokens[0].text,Re.tokens[0].tokens&&Re.tokens[0].tokens.length>0&&Re.tokens[0].tokens[0].type==="text"&&(Re.tokens[0].tokens[0].text=Ye+" "+Re.tokens[0].tokens[0].text)):Re.tokens.unshift({type:"text",text:Ye}):he+=Ye),he+=this.parse(Re.tokens,me),or+=this.renderer.listitem(he,ze,He);re+=this.renderer.list(or,we,ve);continue}case"html":{re+=this.renderer.html(Bt.text);continue}case"paragraph":{re+=this.renderer.paragraph(this.parseInline(Bt.tokens));continue}case"text":{for(or=Bt.tokens?this.parseInline(Bt.tokens):Bt.text;it+1<Pe&&Ve[it+1].type==="text";)Bt=Ve[++it],or+=`
|
|
|
`+(Bt.tokens?this.parseInline(Bt.tokens):Bt.text);re+=se?this.renderer.paragraph(or):or;continue}default:{var nt='Token with "'+Bt.type+'" type was not found.';if(this.options.silent){console.error(nt);return}else throw new Error(nt)}}}return re},tt.parseInline=function(Ve,se){se=se||this.renderer;var re="",it,qe,be=Ve.length;for(it=0;it<be;it++){qe=Ve[it];switch(qe.type){case"escape":{re+=se.text(qe.text);break}case"html":{re+=se.html(qe.text);break}case"link":{re+=se.link(qe.href,qe.title,this.parseInline(qe.tokens,se));break}case"image":{re+=se.image(qe.href,qe.title,qe.text);break}case"strong":{re+=se.strong(this.parseInline(qe.tokens,se));break}case"em":{re+=se.em(this.parseInline(qe.tokens,se));break}case"codespan":{re+=se.codespan(qe.text);break}case"br":{re+=se.br();break}case"del":{re+=se.del(this.parseInline(qe.tokens,se));break}case"text":{re+=se.text(qe.text);break}default:{var Zt='Token with "'+qe.type+'" type was not found.';if(this.options.silent){console.error(Zt);return}else throw new Error(Zt)}}}return re},et}(),Ge=U.merge,ht=U.checkSanitizeDeprecation,Et=U.escape,Be=c.getDefaults,Dt=c.changeDefaults,Ke=c.defaults;function At(et,tt,ot){if(typeof et=="undefined"||et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(et)+", string expected");if(typeof tt=="function"&&(ot=tt,tt=null),tt=Ge({},At.defaults,tt||{}),ht(tt),ot){var Ve=tt.highlight,se;try{se=Y.lex(et,tt)}catch(be){return ot(be)}var re=function(Zt){var dt;if(!Zt)try{dt=Le.parse(se,tt)}catch(ct){Zt=ct}return tt.highlight=Ve,Zt?ot(Zt):ot(null,dt)};if(!Ve||Ve.length<3)return re();if(delete tt.highlight,!se.length)return re();var it=0;At.walkTokens(se,function(be){be.type==="code"&&(it++,setTimeout(function(){Ve(be.text,be.lang,function(Zt,dt){if(Zt)return re(Zt);dt!=null&&dt!==be.text&&(be.text=dt,be.escaped=!0),it--,it===0&&re()})},0))}),it===0&&re();return}try{var qe=Y.lex(et,tt);return tt.walkTokens&&At.walkTokens(qe,tt.walkTokens),Le.parse(qe,tt)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,tt.silent)return"<p>An error occurred:</p><pre>"+Et(be.message+"",!0)+"</pre>";throw be}}At.options=At.setOptions=function(et){return Ge(At.defaults,et),Dt(At.defaults),At},At.getDefaults=Be,At.defaults=Ke,At.use=function(et){var tt=Ge({},et);if(et.renderer&&function(){var Ve=At.defaults.renderer||new ue,se=function(qe){var be=Ve[qe];Ve[qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.renderer[qe].apply(Ve,dt);return yt===!1&&(yt=be.apply(Ve,dt)),yt}};for(var re in et.renderer)se(re);tt.renderer=Ve}(),et.tokenizer&&function(){var Ve=At.defaults.tokenizer||new ge,se=function(qe){var be=Ve[qe];Ve[qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.tokenizer[qe].apply(Ve,dt);return yt===!1&&(yt=be.apply(Ve,dt)),yt}};for(var re in et.tokenizer)se(re);tt.tokenizer=Ve}(),et.walkTokens){var ot=At.defaults.walkTokens;tt.walkTokens=function(Ve){et.walkTokens(Ve),ot&&ot(Ve)}}At.setOptions(tt)},At.walkTokens=function(et,tt){for(var ot=v(et),Ve;!(Ve=ot()).done;){var se=Ve.value;tt(se);switch(se.type){case"table":{for(var re=v(se.tokens.header),it;!(it=re()).done;){var qe=it.value;At.walkTokens(qe,tt)}for(var be=v(se.tokens.cells),Zt;!(Zt=be()).done;)for(var dt=Zt.value,ct=v(dt),yt;!(yt=ct()).done;){var _t=yt.value;At.walkTokens(_t,tt)}break}case"list":{At.walkTokens(se.items,tt);break}default:se.tokens&&At.walkTokens(se.tokens,tt)}}},At.Parser=Le,At.parser=Le.parse,At.Renderer=ue,At.TextRenderer=Ne,At.Lexer=Y,At.lexer=Y.lex,At.Tokenizer=ge,At.Slugger=Te,At.parse=At;var Xe=At;return Xe})},"DlR+":function(D,_,e){var g=e("MFOe"),f=g.Global,y=g.trim;D.exports={name:"cookieStorage",read:v,write:c,each:h,remove:a,clearAll:i};var m=f.document;function v(o){if(!o||!r(o))return null;var d="(?:^|.*;\\s*)"+escape(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(d),"$1"))}function h(o){for(var d=m.cookie.split(/; ?/g),n=d.length-1;n>=0;n--){if(!y(d[n]))continue;var l=d[n].split("="),t=unescape(l[0]),s=unescape(l[1]);o(s,t)}}function c(o,d){if(!o)return;m.cookie=escape(o)+"="+escape(d)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function a(o){if(!o||!r(o))return;m.cookie=escape(o)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function i(){h(function(o,d){a(d)})}function r(o){return new RegExp("(?:^|;\\s*)"+escape(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+TT/"),m=e("XpcN"),v=f.Group,h=["width","height"],c=["x","y"],a=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){a.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){a.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,o,d,n,l,t,s){var u=this;a.superCall(this,"renderInner",r,o,d,n,l,t,s);var p=this._controllerGroup,w=o.get("pageIconSize",!0);g.isArray(w)||(w=[w,w]),E("pagePrev",0);var b=o.getModel("pageTextStyle");p.add(new f.Text({name:"pageText",style:{textFill:b.getTextColor(),font:b.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),E("pageNext",1);function E(A,S){var T=A+"DataIndex",L=f.createIcon(o.get("pageIcons",!0)[o.getOrient().name][S],{onclick:g.bind(u._pageGo,u,T,o,n)},{x:-w[0]/2,y:-w[1]/2,width:w[0],height:w[1]});L.name=A,p.add(L)}},layoutInner:function(r,o,d,n,l,t){var s=this.getSelectorGroup(),u=r.getOrient().index,p=h[u],w=c[u],b=h[1-u],E=c[1-u];l&&y.box("horizontal",s,r.get("selectorItemGap",!0));var A=r.get("selectorButtonGap",!0),S=s.getBoundingRect(),T=[-S.x,-S.y],L=g.clone(d);l&&(L[p]=d[p]-S[p]-A);var x=this._layoutContentAndController(r,n,L,u,p,b,E);if(l){if(t==="end")T[u]+=x[p]+A;else{var C=S[p]+A;T[u]-=C,x[w]-=C}x[p]+=S[p]+A,T[1-u]+=x[E]+x[b]/2-S[b]/2,x[b]=Math.max(x[b],S[b]),x[E]=Math.min(x[E],S[E]+T[1-u]),s.attr("position",T)}return x},_layoutContentAndController:function(r,o,d,n,l,t,s){var u=this.getContentGroup(),p=this._containerGroup,w=this._controllerGroup;y.box(r.get("orient"),u,r.get("itemGap"),n?d.width:null,n?null:d.height),y.box("horizontal",w,r.get("pageButtonItemGap",!0));var b=u.getBoundingRect(),E=w.getBoundingRect(),A=this._showController=b[l]>d[l],S=[-b.x,-b.y];o||(S[n]=u.position[n]);var T=[0,0],L=[-E.x,-E.y],x=g.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(A){var C=r.get("pageButtonPosition",!0);C==="end"?L[n]+=d[l]-E[l]:T[n]+=E[l]+x}L[1-n]+=b[t]/2-E[t]/2,u.attr("position",S),p.attr("position",T),w.attr("position",L);var O={x:0,y:0};if(O[l]=A?d[l]:b[l],O[t]=Math.max(b[t],E[t]),O[s]=Math.min(0,E[s]+L[1-n]),p.__rectSize=d[l],A){var N={x:0,y:0};N[l]=Math.max(d[l]-E[l]-x,0),N[t]=O[t],p.setClipPath(new f.Rect({shape:N})),p.__rectSize=N[l]}else w.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(r);return F.pageIndex!=null&&f.updateProps(u,{position:F.contentPosition},A?r:!1),this._updatePageInfoView(r,F),O},_pageGo:function(r,o,d){var n=this._getPageInfo(o)[r];n!=null&&d.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:o.id})},_updatePageInfoView:function(r,o){var d=this._controllerGroup;g.each(["pagePrev","pageNext"],function(p){var w=o[p+"DataIndex"]!=null,b=d.childOfName(p);b&&(b.setStyle("fill",w?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),b.cursor=w?"pointer":"default")});var n=d.childOfName("pageText"),l=r.get("pageFormatter"),t=o.pageIndex,s=t!=null?t+1:0,u=o.pageCount;n&&l&&n.setStyle("text",g.isString(l)?l.replace("{current}",s).replace("{total}",u):l({current:s,total:u}))},_getPageInfo:function(r){var o=r.get("scrollDataIndex",!0),d=this.getContentGroup(),n=this._containerGroup.__rectSize,l=r.getOrient().index,t=h[l],s=c[l],u=this._findTargetItemIndex(o),p=d.children(),w=p[u],b=p.length,E=b?1:0,A={contentPosition:d.position.slice(),pageCount:E,pageIndex:E-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!w)return A;var S=O(w);A.contentPosition[l]=-S.s;for(var T=u+1,L=S,x=S,C=null;T<=b;++T)C=O(p[T]),(!C&&x.e>L.s+n||C&&!N(C,L.s))&&(x.i>L.i?L=x:L=C,L&&(A.pageNextDataIndex==null&&(A.pageNextDataIndex=L.i),++A.pageCount)),x=C;for(var T=u-1,L=S,x=S,C=null;T>=-1;--T)C=O(p[T]),(!C||!N(x,C.s))&&L.i<x.i&&(x=L,A.pagePrevDataIndex==null&&(A.pagePrevDataIndex=L.i),++A.pageCount,++A.pageIndex),L=C;return A;function O(F){if(F){var k=F.getBoundingRect(),P=k[s]+F.position[l];return{s:P,e:P+k[t],i:F.__legendDataIndex}}}function N(F,k){return F.e>=k&&F.s<=k+n}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var o,d=this.getContentGroup(),n;return d.eachChild(function(l,t){var s=l.__legendDataIndex;n==null&&s!=null&&(n=t),s===r&&(o=t)}),o!=null?o:n}}),i=a;D.exports=i},"E/ki":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};_.default=g},E2g8:function(D,_,e){(function(g,f){/*!
|
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
|
* @license Licensed under MIT license
|
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
|
* @version v4.2.8+1e68dce6
|
|
|
*/(function(y,m){D.exports=m()})(this,function(){"use strict";function y(ue){var Ne=typeof ue;return ue!==null&&(Ne==="object"||Ne==="function")}function m(ue){return typeof ue=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Ne){return Object.prototype.toString.call(Ne)==="[object Array]"};var h=v,c=0,a=void 0,i=void 0,r=function(Ne,Te){S[c]=Ne,S[c+1]=Te,c+=2,c===2&&(i?i(T):x())};function o(ue){i=ue}function d(ue){r=ue}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof g!="undefined"&&{}.toString.call(g)==="[object process]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return g.nextTick(T)}}function w(){return typeof a!="undefined"?function(){a(T)}:A()}function b(){var ue=0,Ne=new t(T),Te=document.createTextNode("");return Ne.observe(Te,{characterData:!0}),function(){Te.data=ue=++ue%2}}function E(){var ue=new MessageChannel;return ue.port1.onmessage=T,function(){return ue.port2.postMessage(0)}}function A(){var ue=setTimeout;return function(){return ue(T,1)}}var S=new Array(1e3);function T(){for(var ue=0;ue<c;ue+=2){var Ne=S[ue],Te=S[ue+1];Ne(Te),S[ue]=void 0,S[ue+1]=void 0}c=0}function L(){try{var ue=Function("return this")().require("vertx");return a=ue.runOnLoop||ue.runOnContext,w()}catch(Ne){return A()}}var x=void 0;s?x=p():t?x=b():u?x=E():n===void 0&&!0?x=L():x=A();function C(ue,Ne){var Te=this,oe=new this.constructor(F);oe[N]===void 0&&Qe(oe);var de=Te._state;if(de){var Le=arguments[de-1];r(function(){return Se(de,oe,Le,Te._result)})}else ge(Te,oe,ue,Ne);return oe}function O(ue){var Ne=this;if(ue&&typeof ue=="object"&&ue.constructor===Ne)return ue;var Te=new Ne(F);return X(Te,ue),Te}var N=Math.random().toString(36).substring(2);function F(){}var k=void 0,P=1,B=2;function z(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function U(ue,Ne,Te,oe){try{ue.call(Ne,Te,oe)}catch(de){return de}}function j(ue,Ne,Te){r(function(oe){var de=!1,Le=U(Te,Ne,function(Ge){if(de)return;de=!0,Ne!==Ge?X(oe,Ge):G(oe,Ge)},function(Ge){if(de)return;de=!0,$(oe,Ge)},"Settle: "+(oe._label||" unknown promise"));!de&&Le&&(de=!0,$(oe,Le))},ue)}function H(ue,Ne){Ne._state===P?G(ue,Ne._result):Ne._state===B?$(ue,Ne._result):ge(Ne,void 0,function(Te){return X(ue,Te)},function(Te){return $(ue,Te)})}function V(ue,Ne,Te){Ne.constructor===ue.constructor&&Te===C&&Ne.constructor.resolve===O?H(ue,Ne):Te===void 0?G(ue,Ne):m(Te)?j(ue,Ne,Te):G(ue,Ne)}function X(ue,Ne){if(ue===Ne)$(ue,z());else if(y(Ne)){var Te=void 0;try{Te=Ne.then}catch(oe){$(ue,oe);return}V(ue,Ne,Te)}else G(ue,Ne)}function W(ue){ue._onerror&&ue._onerror(ue._result),q(ue)}function G(ue,Ne){if(ue._state!==k)return;ue._result=Ne,ue._state=P,ue._subscribers.length!==0&&r(q,ue)}function $(ue,Ne){if(ue._state!==k)return;ue._state=B,ue._result=Ne,r(W,ue)}function ge(ue,Ne,Te,oe){var de=ue._subscribers,Le=de.length;ue._onerror=null,de[Le]=Ne,de[Le+P]=Te,de[Le+B]=oe,Le===0&&ue._state&&r(q,ue)}function q(ue){var Ne=ue._subscribers,Te=ue._state;if(Ne.length===0)return;for(var oe=void 0,de=void 0,Le=ue._result,Ge=0;Ge<Ne.length;Ge+=3)oe=Ne[Ge],de=Ne[Ge+Te],oe?Se(Te,oe,de,Le):de(Le);ue._subscribers.length=0}function Se(ue,Ne,Te,oe){var de=m(Te),Le=void 0,Ge=void 0,ht=!0;if(de){try{Le=Te(oe)}catch(Et){ht=!1,Ge=Et}if(Ne===Le){$(Ne,R());return}}else Le=oe;Ne._state!==k||(de&&ht?X(Ne,Le):ht===!1?$(Ne,Ge):ue===P?G(Ne,Le):ue===B&&$(Ne,Le))}function Ce(ue,Ne){try{Ne(function(oe){X(ue,oe)},function(oe){$(ue,oe)})}catch(Te){$(ue,Te)}}var Ae=0;function Ue(){return Ae++}function Qe(ue){ue[N]=Ae++,ue._state=void 0,ue._result=void 0,ue._subscribers=[]}function gt(){return new Error("Array Methods must be provided an Array")}var _e=function(){function ue(Ne,Te){this._instanceConstructor=Ne,this.promise=new Ne(F),this.promise[N]||Qe(this.promise),h(Te)?(this.length=Te.length,this._remaining=Te.length,this._result=new Array(this.length),this.length===0?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(Te),this._remaining===0&&G(this.promise,this._result))):$(this.promise,gt())}return ue.prototype._enumerate=function(Te){for(var oe=0;this._state===k&&oe<Te.length;oe++)this._eachEntry(Te[oe],oe)},ue.prototype._eachEntry=function(Te,oe){var de=this._instanceConstructor,Le=de.resolve;if(Le===O){var Ge=void 0,ht=void 0,Et=!1;try{Ge=Te.then}catch(Dt){Et=!0,ht=Dt}if(Ge===C&&Te._state!==k)this._settledAt(Te._state,oe,Te._result);else if(typeof Ge!="function")this._remaining--,this._result[oe]=Te;else if(de===Q){var Be=new de(F);Et?$(Be,ht):V(Be,Te,Ge),this._willSettleAt(Be,oe)}else this._willSettleAt(new de(function(Dt){return Dt(Te)}),oe)}else this._willSettleAt(Le(Te),oe)},ue.prototype._settledAt=function(Te,oe,de){var Le=this.promise;Le._state===k&&(this._remaining--,Te===B?$(Le,de):this._result[oe]=de),this._remaining===0&&G(Le,this._result)},ue.prototype._willSettleAt=function(Te,oe){var de=this;ge(Te,void 0,function(Le){return de._settledAt(P,oe,Le)},function(Le){return de._settledAt(B,oe,Le)})},ue}();function Oe(ue){return new _e(this,ue).promise}function lt(ue){var Ne=this;return h(ue)?new Ne(function(Te,oe){for(var de=ue.length,Le=0;Le<de;Le++)Ne.resolve(ue[Le]).then(Te,oe)}):new Ne(function(Te,oe){return oe(new TypeError("You must pass an array to race."))})}function ce(ue){var Ne=this,Te=new Ne(F);return $(Te,ue),Te}function Y(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function K(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Q=function(){function ue(Ne){this[N]=Ue(),this._result=this._state=void 0,this._subscribers=[],F!==Ne&&(typeof Ne!="function"&&Y(),this instanceof ue?Ce(this,Ne):K())}return ue.prototype.catch=function(Te){return this.then(null,Te)},ue.prototype.finally=function(Te){var oe=this,de=oe.constructor;return m(Te)?oe.then(function(Le){return de.resolve(Te()).then(function(){return Le})},function(Le){return de.resolve(Te()).then(function(){throw Le})}):oe.then(Te,Te)},ue}();Q.prototype.then=C,Q.all=Oe,Q.race=lt,Q.resolve=O,Q.reject=ce,Q._setScheduler=o,Q._setAsap=d,Q._asap=r;function ye(){var ue=void 0;if(typeof f!="undefined")ue=f;else if(typeof self!="undefined")ue=self;else try{ue=Function("return this")()}catch(oe){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ne=ue.Promise;if(Ne){var Te=null;try{Te=Object.prototype.toString.call(Ne.resolve())}catch(oe){}if(Te==="[object Promise]"&&!Ne.cast)return}ue.Promise=Q}return Q.polyfill=ye,Q.Promise=Q,Q})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(D,_,e){var g=e("2gN3"),f=function(){var m=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function y(m){return!!f&&f in m}D.exports=y},E9nw:function(D,_){D.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],y=0;y<e.rangeCount;y++)f.push(e.getRangeAt(y));switch(g.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":g.blur();break;default:g=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(m){e.addRange(m)}),g&&g.focus()}}},ELLl:function(D,_,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},y=g.Pos;g.defineOption("autoCloseBrackets",!1,function(t,s,u){u&&u!=g.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),s&&(h(m(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(v))});function m(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var v={Backspace:i,Enter:r};function h(t){for(var s=0;s<t.length;s++){var u=t.charAt(s),p="'"+u+"'";v[p]||(v[p]=c(u))}}h(f.pairs+"`");function c(t){return function(s){return d(s,t)}}function a(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var u=t.getModeAt(t.getCursor());return u.closeBrackets||s}function i(t){var s=a(t);if(!s||t.getOption("disableInput"))return g.Pass;for(var u=m(s,"pairs"),p=t.listSelections(),w=0;w<p.length;w++){if(!p[w].empty())return g.Pass;var b=n(t,p[w].head);if(!b||u.indexOf(b)%2!=0)return g.Pass}for(var w=p.length-1;w>=0;w--){var E=p[w].head;t.replaceRange("",y(E.line,E.ch-1),y(E.line,E.ch+1),"+delete")}}function r(t){var s=a(t),u=s&&m(s,"explode");if(!u||t.getOption("disableInput"))return g.Pass;for(var p=t.listSelections(),w=0;w<p.length;w++){if(!p[w].empty())return g.Pass;var b=n(t,p[w].head);if(!b||u.indexOf(b)%2!=0)return g.Pass}t.operation(function(){var E=t.lineSeparator()||`
|
|
|
`;t.replaceSelection(E+E,null),t.execCommand("goCharLeft"),p=t.listSelections();for(var A=0;A<p.length;A++){var S=p[A].head.line;t.indentLine(S,null,!0),t.indentLine(S+1,null,!0)}})}function o(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new y(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new y(t.head.line,t.head.ch+(s?1:-1))}}function d(t,s){var u=a(t);if(!u||t.getOption("disableInput"))return g.Pass;var p=m(u,"pairs"),w=p.indexOf(s);if(w==-1)return g.Pass;for(var b=m(u,"closeBefore"),E=m(u,"triples"),A=p.charAt(w+1)==s,S=t.listSelections(),T=w%2==0,L,x=0;x<S.length;x++){var C=S[x],O=C.head,N,F=t.getRange(O,y(O.line,O.ch+1));if(T&&!C.empty())N="surround";else if((A||!T)&&F==s)A&&l(t,O)?N="both":E.indexOf(s)>=0&&t.getRange(O,y(O.line,O.ch+3))==s+s+s?N="skipThree":N="skip";else if(A&&O.ch>1&&E.indexOf(s)>=0&&t.getRange(y(O.line,O.ch-2),O)==s+s){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(y(O.line,O.ch-2))))return g.Pass;N="addFour"}else if(A){var k=O.ch==0?" ":t.getRange(y(O.line,O.ch-1),O);if(!g.isWordChar(F)&&k!=s&&!g.isWordChar(k))N="both";else return g.Pass}else if(T&&(F.length===0||/\s/.test(F)||b.indexOf(F)>-1))N="both";else return g.Pass;if(!L)L=N;else if(L!=N)return g.Pass}var P=w%2?p.charAt(w-1):s,B=w%2?s:p.charAt(w+1);t.operation(function(){if(L=="skip")t.execCommand("goCharRight");else if(L=="skipThree")for(var z=0;z<3;z++)t.execCommand("goCharRight");else if(L=="surround"){for(var R=t.getSelections(),z=0;z<R.length;z++)R[z]=P+R[z]+B;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var z=0;z<R.length;z++)R[z]=o(R[z]);t.setSelections(R)}else L=="both"?(t.replaceSelection(P+B,null),t.triggerElectric(P+B),t.execCommand("goCharLeft")):L=="addFour"&&(t.replaceSelection(P+P+P+P,"before"),t.execCommand("goCharRight"))})}function n(t,s){var u=t.getRange(y(s.line,s.ch-1),y(s.line,s.ch+1));return u.length==2?u:null}function l(t,s){var u=t.getTokenAt(y(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("mFDi"),m=e("K4ya"),v=e("qJCg"),h=e("iLNv"),c=e("vZ6x"),a=["inBrush","outOfBrush"],i="__ecBrushSelect",r="__ecInBrushSelectEvent",o=g.PRIORITY.VISUAL.BRUSH;g.registerLayout(o,function(E,A,S){E.eachComponent({mainType:"brush"},function(T){S&&S.type==="takeGlobalCursor"&&T.setBrushOption(S.key==="brush"?S.brushOption:{brushType:!1})}),d(E)});function d(E){E.eachComponent({mainType:"brush"},function(A){var S=A.brushTargetManager=new c(A.option,E);S.setInputRanges(A.areas,E)})}g.registerVisual(o,function(E,A,S){var T=[],L,x;E.eachComponent({mainType:"brush"},function(C,O){var N={brushId:C.id,brushIndex:O,brushName:C.name,areas:f.clone(C.areas),selected:[]};T.push(N);var F=C.option,k=F.brushLink,P=[],B=[],z=[],R=0;O||(L=F.throttleType,x=F.throttleDelay);var U=f.map(C.areas,function(G){return p(f.defaults({boundingRect:w[G.brushType](G)},G))}),j=m.createVisualMappings(C.option,a,function(G){G.mappingMethod="fixed"});f.isArray(k)&&f.each(k,function(G){P[G]=1});function H(G){return k==="all"||P[G]}function V(G){return!!G.length}E.eachSeries(function(G,$){var ge=z[$]=[];G.subType==="parallel"?X(G,$,ge):W(G,$,ge)});function X(G,$){var ge=G.coordinateSystem;R|=ge.hasAxisBrushed(),H($)&&ge.eachActiveState(G.getData(),function(q,Se){q==="active"&&(B[Se]=1)})}function W(G,$,ge){var q=s(G);if(!q||u(C,$))return;if(f.each(U,function(Ce){q[Ce.brushType]&&C.brushTargetManager.controlSeries(Ce,G,E)&&ge.push(Ce),R|=V(ge)}),H($)&&V(ge)){var Se=G.getData();Se.each(function(Ce){t(q,ge,Se,Ce)&&(B[Ce]=1)})}}E.eachSeries(function(G,$){var ge={seriesId:G.id,seriesIndex:$,seriesName:G.name,dataIndex:[]};N.selected.push(ge);var q=s(G),Se=z[$],Ce=G.getData(),Ae=H($)?function(Ue){return B[Ue]?(ge.dataIndex.push(Ce.getRawIndex(Ue)),"inBrush"):"outOfBrush"}:function(Ue){return t(q,Se,Ce,Ue)?(ge.dataIndex.push(Ce.getRawIndex(Ue)),"inBrush"):"outOfBrush"};(H($)?R:V(Se))&&m.applyVisual(a,j,Ce,Ae)})}),n(A,L,x,T,S)});function n(E,A,S,T,L){if(!L)return;var x=E.getZr();if(x[r])return;x[i]||(x[i]=l);var C=h.createOrUpdate(x,i,S,A);C(E,T)}function l(E,A){if(!E.isDisposed()){var S=E.getZr();S[r]=!0,E.dispatchAction({type:"brushSelect",batch:A}),S[r]=!1}}function t(E,A,S,T){for(var L=0,x=A.length;L<x;L++){var C=A[L];if(E[C.brushType](T,S,C.selectors,C))return!0}}function s(E){var A=E.brushSelector;if(f.isString(A)){var S=[];return f.each(v,function(L,x){S[x]=function(C,O,N,F){var k=O.getItemLayout(C);return L[A](k,N,F)}}),S}else if(f.isFunction(A)){var T={};return f.each(v,function(L,x){T[x]=A}),T}return A}function u(E,A){var S=E.option.seriesIndex;return S!=null&&S!=="all"&&(f.isArray(S)?f.indexOf(S,A)<0:A!==S)}function p(E){var A=E.selectors={};return f.each(v[E.brushType],function(S,T){A[T]=function(L){return S(L,A,E)}}),E}var w={lineX:f.noop,lineY:f.noop,rect:function(E){return b(E.range)},polygon:function(E){for(var A,S=E.range,T=0,L=S.length;T<L;T++){A=A||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=S[T];x[0]<A[0][0]&&(A[0][0]=x[0]),x[0]>A[0][1]&&(A[0][1]=x[0]),x[1]<A[1][0]&&(A[1][0]=x[1]),x[1]>A[1][1]&&(A[1][1]=x[1])}return A&&b(A)}};function b(E){return new y(E[0][0],E[1][0],E[0][1]-E[0][0],E[1][1]-E[1][0])}_.layoutCovers=d},ERHi:function(D,_,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),y=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(y("effectScatter"))},EXcs:function(D,_,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(c){return{height:c.scrollHeight,opacity:1}},y=function(c){return{height:c.offsetHeight}},m=function(c,a){return a.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:g,onEnterStart:g,onAppearActive:f,onEnterActive:f,onLeaveStart:y,onLeaveActive:g,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};_.a=v},Em2t:function(D,_,e){var g=e("bahg"),f=e("quyA"),y=e("0JQy");function m(v){return f(v)?y(v):g(v)}D.exports=m},EpBk:function(D,_){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}D.exports=e},Ez2D:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function y(m,v){var h=[],c=m.seriesIndex,a;if(c==null||!(a=v.getSeriesByIndex(c)))return{point:[]};var i=a.getData(),r=f.queryDataIndex(i,m);if(r==null||r<0||g.isArray(r))return{point:[]};var o=i.getItemGraphicEl(r),d=a.coordinateSystem;if(a.getTooltipPosition)h=a.getTooltipPosition(r)||[];else if(d&&d.dataToPoint)h=d.dataToPoint(i.getValues(g.map(d.dimensions,function(l){return i.mapDimension(l)}),r,!0))||[];else if(o){var n=o.getBoundingRect().clone();n.applyTransform(o.transform),h=[n.x+n.width/2,n.y+n.height/2]}return{point:h,el:o}}D.exports=y},F0hE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ca2m"),m=e("Qxkt"),v=e("ICMv"),h=y.valueAxis;function c(r,o){return f.defaults({show:o},r)}var a=g.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),o=this.get("splitNumber"),d=this.get("scale"),n=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),s=this.get("axisLabel"),u=this.get("name"),p=this.get("name.show"),w=this.get("name.formatter"),b=this.get("nameGap"),E=this.get("triggerEvent"),A=f.map(this.get("indicator")||[],function(S){S.max!=null&&S.max>0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var T=u;if(S.color!=null&&(T=f.defaults({color:S.color},u)),S=f.merge(f.clone(S),{boundaryGap:r,splitNumber:o,scale:d,axisLine:n,axisTick:l,axisType:t,axisLabel:s,name:S.text,nameLocation:"end",nameGap:b,nameTextStyle:T,triggerEvent:E},!1),p||(S.name=""),typeof w=="string"){var L=S.name;S.name=w.replace("{value}",L!=null?L:"")}else typeof w=="function"&&(S.name=w(S.name,S));var x=f.extend(new m(S,null,this.ecModel),v);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return A}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:f.merge({lineStyle:{color:"#bbb"}},h.axisLine),axisLabel:c(h.axisLabel,!1),axisTick:c(h.axisTick,!1),axisType:"interval",splitLine:c(h.splitLine,!0),splitArea:c(h.splitArea,!0),indicator:[]}}),i=a;D.exports=i},F5Ls:function(D,_){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function g(f,y){if(f==="china"){var m=e[y.name];if(m){var v=y.center;v[0]+=m[0]/10.5,v[1]+=-m[1]/(10.5/.75)}}}D.exports=g},F7hV:function(D,_,e){var g=e("MBQ8"),f=g.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var y=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>y&&(y=m),y},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});D.exports=f},F9bG:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),m=y.makeInner,v=m(),h=g.each;function c(l,t,s){if(f.node)return;var u=t.getZr();v(u).records||(v(u).records={}),a(u,t);var p=v(u).records[l]||(v(u).records[l]={});p.handler=s}function a(l,t){if(v(l).initialized)return;v(l).initialized=!0,s("click",g.curry(o,"click")),s("mousemove",g.curry(o,"mousemove")),s("globalout",r);function s(u,p){l.on(u,function(w){var b=d(t);h(v(l).records,function(E){E&&p(E,w,b.dispatchAction)}),i(b.pendings,t)})}}function i(l,t){var s=l.showTip.length,u=l.hideTip.length,p;s?p=l.showTip[s-1]:u&&(p=l.hideTip[u-1]),p&&(p.dispatchAction=null,t.dispatchAction(p))}function r(l,t,s){l.handler("leave",null,s)}function o(l,t,s,u){t.handler(l,s,u)}function d(l){var t={showTip:[],hideTip:[]},s=function(u){var p=t[u.type];p?p.push(u):(u.dispatchAction=s,l.dispatchAction(u))};return{dispatchAction:s,pendings:t}}function n(l,t){if(f.node)return;var s=t.getZr(),u=(v(s).records||{})[l];u&&(v(s).records[l]=null)}_.register=c,_.unregister=n},FBjb:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,m=e("IwbS"),v=e("OELB"),h=v.parsePercent,c=e("x3X8"),a=c.getDefaultLabel;function i(b,E,A){m.Group.call(this),this.updateData(b,E,A)}var r=i.prototype,o=i.getSymbolSize=function(b,E){var A=b.getItemVisual(E,"symbolSize");return A instanceof Array?A.slice():[+A,+A]};function d(b){return[b[0]/2,b[1]/2]}function n(b,E){this.parent.drift(b,E)}r._createSymbol=function(b,E,A,S,T){this.removeAll();var L=E.getItemVisual(A,"color"),x=y(b,-1,-1,2,2,L,T);x.attr({z2:100,culling:!0,scale:d(S)}),x.drift=n,this._symbolType=b,this.add(x)},r.stopSymbolAnimation=function(b){this.childAt(0).stopAnimation(b)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(b,E){var A=this.childAt(0);A.zlevel=b,A.z=E},r.setDraggable=function(b){var E=this.childAt(0);E.draggable=b,E.cursor=b?"move":E.cursor},r.updateData=function(b,E,A){this.silent=!1;var S=b.getItemVisual(E,"symbol")||"circle",T=b.hostModel,L=o(b,E),x=S!==this._symbolType;if(x){var C=b.getItemVisual(E,"symbolKeepAspect");this._createSymbol(S,b,E,L,C)}else{var O=this.childAt(0);O.silent=!1,m.updateProps(O,{scale:d(L)},T,E)}if(this._updateCommon(b,E,L,A),x){var O=this.childAt(0),N=A&&A.fadeIn,F={scale:O.scale.slice()};N&&(F.style={opacity:O.style.opacity}),O.scale=[0,0],N&&(O.style.opacity=0),m.initProps(O,F,T,E)}this._seriesModel=T};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];r._updateCommon=function(b,E,A,S){var T=this.childAt(0),L=b.hostModel,x=b.getItemVisual(E,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=S&&S.itemStyle,O=S&&S.hoverItemStyle,N=S&&S.symbolOffset,F=S&&S.labelModel,k=S&&S.hoverLabelModel,P=S&&S.hoverAnimation,B=S&&S.cursorStyle;if(!S||b.hasItemOption){var z=S&&S.itemModel?S.itemModel:b.getItemModel(E);C=z.getModel(l).getItemStyle(["color"]),O=z.getModel(t).getItemStyle(),N=z.getShallow("symbolOffset"),F=z.getModel(s),k=z.getModel(u),P=z.getShallow("hoverAnimation"),B=z.getShallow("cursor")}else O=g.extend({},O);var R=T.style,U=b.getItemVisual(E,"symbolRotate");T.attr("rotation",(U||0)*Math.PI/180||0),N&&T.attr("position",[h(N[0],A[0]),h(N[1],A[1])]),B&&T.attr("cursor",B),T.setColor(x,S&&S.symbolInnerColor),T.setStyle(C);var j=b.getItemVisual(E,"opacity");j!=null&&(R.opacity=j);var H=b.getItemVisual(E,"liftZ"),V=T.__z2Origin;H!=null?V==null&&(T.__z2Origin=T.z2,T.z2+=H):V!=null&&(T.z2=V,T.__z2Origin=null);var X=S&&S.useNameLabel;m.setLabelStyle(R,O,F,k,{labelFetcher:L,labelDataIndex:E,defaultText:W,isRectText:!0,autoColor:x});function W(G,$){return X?b.getName(G):a(b,G)}T.__symbolOriginalScale=d(A),T.hoverStyle=O,T.highDownOnUpdate=P&&L.isAnimationEnabled()?p:null,m.setHoverStyle(T)};function p(b,E){if(this.incremental||this.useHoverLayer)return;if(E==="emphasis"){var A=this.__symbolOriginalScale,S=A[1]/A[0],T={scale:[Math.max(A[0]*1.1,A[0]+3),Math.max(A[1]*1.1,A[1]+3*S)]};this.animateTo(T,400,"elasticOut")}else E==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(b,E){var A=this.childAt(0);this.silent=A.silent=!0,!(E&&E.keepLabel)&&(A.style.text=null),m.updateProps(A,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,b)},g.inherits(i,m.Group);var w=i;D.exports=w},FGaS:function(D,_,e){var g=e("ProS"),f=e("IwbS"),y=e("bYtY"),m=e("oVpE");function v(c){return y.isArray(c)||(c=[+c,+c]),c}var h=g.extendChartView({type:"radar",render:function(c,a,i){var r=c.coordinateSystem,o=this.group,d=c.getData(),n=this._data;function l(u,p){var w=u.getItemVisual(p,"symbol")||"circle",b=u.getItemVisual(p,"color");if(w==="none")return;var E=v(u.getItemVisual(p,"symbolSize")),A=m.createSymbol(w,-1,-1,2,2,b);return A.attr({style:{strokeNoScale:!0},z2:100,scale:[E[0]/2,E[1]/2]}),A}function t(u,p,w,b,E,A){w.removeAll();for(var S=0;S<p.length-1;S++){var T=l(b,E);T&&(T.__dimIdx=S,u[S]?(T.attr("position",u[S]),f[A?"initProps":"updateProps"](T,{position:p[S]},c,E)):T.attr("position",p[S]),w.add(T))}}function s(u){return y.map(u,function(p){return[r.cx,r.cy]})}d.diff(n).add(function(u){var p=d.getItemLayout(u);if(!p)return;var w=new f.Polygon,b=new f.Polyline,E={shape:{points:p}};w.shape.points=s(p),b.shape.points=s(p),f.initProps(w,E,c,u),f.initProps(b,E,c,u);var A=new f.Group,S=new f.Group;A.add(b),A.add(w),A.add(S),t(b.shape.points,p,S,d,u,!0),d.setItemGraphicEl(u,A)}).update(function(u,p){var w=n.getItemGraphicEl(p),b=w.childAt(0),E=w.childAt(1),A=w.childAt(2),S={shape:{points:d.getItemLayout(u)}};if(!S.shape.points)return;t(b.shape.points,S.shape.points,A,d,u,!1),f.updateProps(b,S,c),f.updateProps(E,S,c),d.setItemGraphicEl(u,w)}).remove(function(u){o.remove(n.getItemGraphicEl(u))}).execute(),d.eachItemGraphicEl(function(u,p){var w=d.getItemModel(p),b=u.childAt(0),E=u.childAt(1),A=u.childAt(2),S=d.getItemVisual(p,"color");o.add(u),b.useStyle(y.defaults(w.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:S})),b.hoverStyle=w.getModel("emphasis.lineStyle").getLineStyle();var T=w.getModel("areaStyle"),L=w.getModel("emphasis.areaStyle"),x=T.isEmpty()&&T.parentModel.isEmpty(),C=L.isEmpty()&&L.parentModel.isEmpty();C=C&&x,E.ignore=x,E.useStyle(y.defaults(T.getAreaStyle(),{fill:S,opacity:.7})),E.hoverStyle=L.getAreaStyle();var O=w.getModel("itemStyle").getItemStyle(["color"]),N=w.getModel("emphasis.itemStyle").getItemStyle(),F=w.getModel("label"),k=w.getModel("emphasis.label");A.eachChild(function(P){P.setStyle(O),P.hoverStyle=y.clone(N);var B=d.get(d.dimensions[P.__dimIdx],p);(B==null||isNaN(B))&&(B=""),f.setLabelStyle(P.style,P.hoverStyle,F,k,{labelFetcher:d.hostModel,labelDataIndex:p,labelDimIndex:P.__dimIdx,defaultText:B,autoColor:S,isRectText:!0})}),u.highDownOnUpdate=function(P,B){E.attr("ignore",B==="emphasis"?C:x)},f.setHoverStyle(u)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});D.exports=h},FH2Y:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},FNN5:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),m=e("Znkb"),v=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],c=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(i,r){if(this.group.removeAll(),!i.get("show"))return;var o=i.axis,d=o.polar,n=d.getAngleAxis(),l=o.getTicksCoords(),t=o.getMinorTicksCoords(),s=n.getExtent()[0],u=o.getExtent(),p=a(d,i,s),w=new y(i,p);g.each(v,w.add,w),this.group.add(w.getGroup()),g.each(h,function(b){i.get(b+".show")&&!o.scale.isBlank()&&this["_"+b](i,d,s,u,l,t)},this)},_splitLine:function(i,r,o,d,n){var l=i.getModel("splitLine"),t=l.getModel("lineStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var p=[],w=0;w<n.length;w++){var b=u++%s.length;p[b]=p[b]||[],p[b].push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:n[w].coord}}))}for(var w=0;w<p.length;w++)this.group.add(f.mergePath(p[w],{style:g.defaults({stroke:s[w%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(i,r,o,d,n,l){if(!l.length)return;for(var t=i.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=[],p=0;p<l.length;p++)for(var w=0;w<l[p].length;w++)u.push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:l[p][w].coord}}));this.group.add(f.mergePath(u,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(i,r,o,d,n){if(!n.length)return;var l=i.getModel("splitArea"),t=l.getModel("areaStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var p=[],w=n[0].coord,b=1;b<n.length;b++){var E=u++%s.length;p[E]=p[E]||[],p[E].push(new f.Sector({shape:{cx:r.cx,cy:r.cy,r0:w,r:n[b].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),w=n[b].coord}for(var b=0;b<p.length;b++)this.group.add(f.mergePath(p[b],{style:g.defaults({fill:s[b%s.length]},t.getAreaStyle()),silent:!0}))}});function a(i,r,o){return{position:[i.cx,i.cy],rotation:o/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}D.exports=c},FUi9:function(D,_,e){var g=e("bYtY"),f=e("MwEJ"),y=e("aX7z"),m=e("ICMv"),v=e("Qxkt"),h=e("+TT/"),c=h.getLayoutRect;_.getLayoutRect=h.getLayoutRect;var a=e("7hqr"),i=a.enableDataStack,r=a.isDimensionStacked,o=a.getStackedDimension,d=e("hi0g");_.completeDimensions=d;var n=e("sdST");_.createDimensions=n;var l=e("oVpE");_.createSymbol=l.createSymbol;function t(w){return f(w.getSource(),w)}var s={isDimensionStacked:r,enableDataStack:i,getStackedDimension:o};function u(w,b){var E=b;v.isInstance(b)||(E=new v(b),g.mixin(E,m));var A=y.createScaleByModel(E);return A.setExtent(w[0],w[1]),y.niceScaleExtent(A,E),A}function p(w){g.mixin(w,m)}_.createList=t,_.dataStack=s,_.createScale=u,_.mixinAxisModelCommonMethods=p},"Fa/5":function(D,_,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),y=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(y("scatter"))},FhB9:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};_.default=g},"Fm1+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("a7Wl")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretUpOutlined";var c=y.forwardRef(h);_.default=c},Fofx:function(D,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(){var r=new e(6);return f(r),r}function f(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function y(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r[4]=o[4],r[5]=o[5],r}function m(r,o,d){var n=o[0]*d[0]+o[2]*d[1],l=o[1]*d[0]+o[3]*d[1],t=o[0]*d[2]+o[2]*d[3],s=o[1]*d[2]+o[3]*d[3],u=o[0]*d[4]+o[2]*d[5]+o[4],p=o[1]*d[4]+o[3]*d[5]+o[5];return r[0]=n,r[1]=l,r[2]=t,r[3]=s,r[4]=u,r[5]=p,r}function v(r,o,d){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r[4]=o[4]+d[0],r[5]=o[5]+d[1],r}function h(r,o,d){var n=o[0],l=o[2],t=o[4],s=o[1],u=o[3],p=o[5],w=Math.sin(d),b=Math.cos(d);return r[0]=n*b+s*w,r[1]=-n*w+s*b,r[2]=l*b+u*w,r[3]=-l*w+b*u,r[4]=b*t+w*p,r[5]=b*p-w*t,r}function c(r,o,d){var n=d[0],l=d[1];return r[0]=o[0]*n,r[1]=o[1]*l,r[2]=o[2]*n,r[3]=o[3]*l,r[4]=o[4]*n,r[5]=o[5]*l,r}function a(r,o){var d=o[0],n=o[2],l=o[4],t=o[1],s=o[3],u=o[5],p=d*s-t*n;return p?(p=1/p,r[0]=s*p,r[1]=-t*p,r[2]=-n*p,r[3]=d*p,r[4]=(n*u-s*l)*p,r[5]=(t*l-d*u)*p,r):null}function i(r){var o=g();return y(o,r),o}_.create=g,_.identity=f,_.copy=y,_.mul=m,_.translate=v,_.rotate=h,_.scale=c,_.invert=a,_.clone=i},Fv0C:function(D,_,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=i(e("Lo0S")),y=e("vewr"),m=i(e("8CQX")),v=c(e("mHUz")),h=i(e("GdRQ"));function c(l){return l&&l.__esModule?l:{default:l}}function a(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return a=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=a();if(t&&t.has(l))return t.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var w=u?Object.getOwnPropertyDescriptor(l,p):null;w&&(w.get||w.set)?Object.defineProperty(s,p,w):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function r(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function o(l,t){for(var s=0;s<t.length;s++){var u=t[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}function d(l,t,s){return t&&o(l.prototype,t),s&&o(l,s),l}var n=function(){function l(t){r(this,l),this._target=t||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return d(l,[{key:"_sendKeyEvent",value:function(s,u,p){if(p)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}f.Debug("onkeyevent "+(p?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,p)}},{key:"_getKeyCode",value:function(s){var u=m.getKeycode(s);if(u!=="Unidentified")return u;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var p=parseInt(s.keyIdentifier.substr(2),16),w=String.fromCharCode(p).toUpperCase();return"Platform"+w.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),p=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?p=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){p&&(this._sendKeyEvent(p,u,!0),this._sendKeyEvent(p,u,!1)),(0,y.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(p){case v.default.XK_Super_L:p=v.default.XK_Alt_L;break;case v.default.XK_Super_R:p=v.default.XK_Super_L;break;case v.default.XK_Alt_L:p=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:p=v.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(p=this._keyDownList[u]),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,y.stopEvent)(s);return}if(!p&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,y.stopEvent)(s),u==="ControlLeft"&&h.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(p,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,y.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),p=m.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!p){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(p,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,p=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var w=String.fromCharCode(s.keyCode);s.shiftKey?w=w.toUpperCase():w=w.toLowerCase(),u=w.charCodeAt()}else u=0;this._sendKeyEvent(u,p,!0)}},{key:"_handleKeyUp",value:function(s){(0,y.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),h.isWindows()&&(u==="ShiftLeft"||u==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){f.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);f.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var u=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(w){if(!(w in p))return;var b=new KeyboardEvent("keyup",{key:p[w],code:w});b.skipCheckAlt=!0,u.dispatchEvent(b)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.addEventListener(u,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(u){return document.removeEventListener(u,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();_.default=n},FxDU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),y=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;_.createSensor=y},GGyF:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("wgjA")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="LeftOutlined";var c=y.forwardRef(h);_.default=c},GIiI:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PoweroffOutlined";var h=_.a=g.forwardRef(v)},GMDS:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),y=e("jkPA"),m=f.prototype,v=f.extend({type:"ordinal",init:function(c,a){(!c||g.isArray(c))&&(c=new y({categories:c})),this._ordinalMeta=c,this._extent=a||[0,c.categories.length-1]},parse:function(c){return typeof c=="string"?this._ordinalMeta.getOrdinal(c):Math.round(c)},contain:function(c){return c=this.parse(c),m.contain.call(this,c)&&this._ordinalMeta.categories[c]!=null},normalize:function(c){return m.normalize.call(this,this.parse(c))},scale:function(c){return Math.round(m.scale.call(this,c))},getTicks:function(){for(var c=[],a=this._extent,i=a[0];i<=a[1];)c.push(i),i++;return c},getLabel:function(c){if(!this.isBlank())return this._ordinalMeta.categories[c]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(c,a){this.unionExtent(c.getApproximateExtent(a))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:g.noop,niceExtent:g.noop});v.create=function(){return new v};var h=v;D.exports=h},GQ8N:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.toUnsigned32bit=g,_.toSigned32bit=f;function g(y){return y>>>0}function f(y){return y|0}},GUcZ:function(D,_,e){"use strict";var g=e("fWQN"),f=e("mtLc"),y=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(J,ne){return J.__proto__=ne,J},Object.assign=Object.assign||function(J){if(J==null)throw new TypeError("Cannot convert undefined or null to object");for(var ne=Object(J),xe=1;xe<arguments.length;xe++){var De=arguments[xe];if(De!=null)for(var Fe in De)De.hasOwnProperty(Fe)&&(ne[Fe]=De[Fe])}return ne},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ae}();y.install();var m=y,v=e("+qE3"),h=e.n(v),c=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"e",value:function(J,ne){(!J||ae.FORCE_GLOBAL_TAG)&&(J=ae.GLOBAL_TAG);var xe="[".concat(J,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","error",xe),!ae.ENABLE_ERROR)return;console.error?console.error(xe):console.warn?console.warn(xe):console.log(xe)}},{key:"i",value:function(J,ne){(!J||ae.FORCE_GLOBAL_TAG)&&(J=ae.GLOBAL_TAG);var xe="[".concat(J,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","info",xe),!ae.ENABLE_INFO)return;console.info?console.info(xe):console.log(xe)}},{key:"w",value:function(J,ne){(!J||ae.FORCE_GLOBAL_TAG)&&(J=ae.GLOBAL_TAG);var xe="[".concat(J,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","warn",xe),!ae.ENABLE_WARN)return;console.warn?console.warn(xe):console.log(xe)}},{key:"d",value:function(J,ne){(!J||ae.FORCE_GLOBAL_TAG)&&(J=ae.GLOBAL_TAG);var xe="[".concat(J,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","debug",xe),!ae.ENABLE_DEBUG)return;console.debug?console.debug(xe):console.log(xe)}},{key:"v",value:function(J,ne){(!J||ae.FORCE_GLOBAL_TAG)&&(J=ae.GLOBAL_TAG);var xe="[".concat(J,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","verbose",xe),!ae.ENABLE_VERBOSE)return;console.log(xe)}}]),ae}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new h.a;var a=c,i=function(){function ae(){Object(g.a)(this,ae),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(f.a)(ae,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(J){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=J,this._totalBytes+=J):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=J,this._totalBytes+=J):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=J,this._totalBytes+=J,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var J=(this._now()-this._lastCheckpoint)/1e3;return J==0&&(J=1),this._intervalBytes/J/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var J=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/J/1024}}]),ae}(),r=i,o=e("yKVA"),d=e("879j"),n=function(){function ae(pe){Object(g.a)(this,ae),this._message=pe}return Object(f.a)(ae,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ae}(),l=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);function J(ne){return Object(g.a)(this,J),pe.call(this,ne)}return Object(f.a)(J,[{key:"name",get:function(){return"IllegalStateException"}}]),J}(n),t=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);function J(ne){return Object(g.a)(this,J),pe.call(this,ne)}return Object(f.a)(J,[{key:"name",get:function(){return"InvalidArgumentException"}}]),J}(n),s=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);function J(ne){return Object(g.a)(this,J),pe.call(this,ne)}return Object(f.a)(J,[{key:"name",get:function(){return"NotImplementedException"}}]),J}(n),u={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},p={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},w=function(){function ae(pe){Object(g.a)(this,ae),this._type=pe||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(ae,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"open",value:function(J,ne){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function(J){this._onContentLengthKnown=J}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(J){this._onURLRedirect=J}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(J){this._onDataArrival=J}},{key:"onError",get:function(){return this._onError},set:function(J){this._onError=J}},{key:"onComplete",get:function(){return this._onComplete},set:function(J){this._onComplete=J}}]),ae}(),b=e("oZsa");function E(ae,pe){for(;!Object.prototype.hasOwnProperty.call(ae,pe)&&!(ae=Object(b.a)(ae),ae===null););return ae}function A(ae,pe,J){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(xe,De,Fe){var $e=E(xe,De);if(!$e)return;var vt=Object.getOwnPropertyDescriptor($e,De);return vt.get?vt.get.call(Fe):vt.value},A(ae,pe,J||ae)}var S={};function T(){var ae=self.navigator.userAgent.toLowerCase(),pe=/(edge)\/([\w.]+)/.exec(ae)||/(opr)[\/]([\w.]+)/.exec(ae)||/(chrome)[ \/]([\w.]+)/.exec(ae)||/(iemobile)[\/]([\w.]+)/.exec(ae)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ae)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ae)||/(webkit)[ \/]([\w.]+)/.exec(ae)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ae)||/(msie) ([\w.]+)/.exec(ae)||ae.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ae)||ae.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ae)||[],J=/(ipad)/.exec(ae)||/(ipod)/.exec(ae)||/(windows phone)/.exec(ae)||/(iphone)/.exec(ae)||/(kindle)/.exec(ae)||/(android)/.exec(ae)||/(windows)/.exec(ae)||/(mac)/.exec(ae)||/(linux)/.exec(ae)||/(cros)/.exec(ae)||[],ne={browser:pe[5]||pe[3]||pe[1]||"",version:pe[2]||pe[4]||"0",majorVersion:pe[4]||pe[2]||"0",platform:J[0]||""},xe={};if(ne.browser){xe[ne.browser]=!0;var De=ne.majorVersion.split(".");xe.version={major:parseInt(ne.majorVersion,10),string:ne.version},De.length>1&&(xe.version.minor=parseInt(De[1],10)),De.length>2&&(xe.version.build=parseInt(De[2],10))}if(ne.platform&&(xe[ne.platform]=!0),(xe.chrome||xe.opr||xe.safari)&&(xe.webkit=!0),xe.rv||xe.iemobile){xe.rv&&delete xe.rv;var Fe="msie";ne.browser=Fe,xe[Fe]=!0}if(xe.edge){delete xe.edge;var $e="msedge";ne.browser=$e,xe[$e]=!0}if(xe.opr){var vt="opera";ne.browser=vt,xe[vt]=!0}if(xe.safari&&xe.android){var Wt="android";ne.browser=Wt,xe[Wt]=!0}xe.name=ne.browser,xe.platform=ne.platform;for(var $t in S)S.hasOwnProperty($t)&&delete S[$t];Object.assign(S,xe)}T();var L=S,x=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);Object(f.a)(J,null,[{key:"isSupported",value:function(){try{var xe=L.msedge&&L.version.minor>=15048,De=L.msedge?xe:!0;return self.fetch&&self.ReadableStream&&De}catch(Fe){return!1}}}]);function J(ne,xe){var De;return Object(g.a)(this,J),De=pe.call(this,"fetch-stream-loader"),De.TAG="FetchStreamLoader",De._seekHandler=ne,De._config=xe,De._needStash=!0,De._requestAbort=!1,De._contentLength=null,De._receivedLength=0,De}return Object(f.a)(J,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),A(Object(b.a)(J.prototype),"destroy",this).call(this)}},{key:"open",value:function(xe,De){var Fe=this;this._dataSource=xe,this._range=De;var $e=xe.url;this._config.reuseRedirectedURL&&xe.redirectedURL!=null&&($e=xe.redirectedURL);var vt=this._seekHandler.getConfig($e,De),Wt=new self.Headers;if(typeof vt.headers=="object"){var $t=vt.headers;for(var Rt in $t)$t.hasOwnProperty(Rt)&&Wt.append(Rt,$t[Rt])}var Kt={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Gt in this._config.headers)Wt.append(Gt,this._config.headers[Gt]);xe.cors===!1&&(Kt.mode="same-origin"),xe.withCredentials&&(Kt.credentials="include"),xe.referrerPolicy&&(Kt.referrerPolicy=xe.referrerPolicy),this._status=u.kConnecting,self.fetch(vt.url,Kt).then(function(Qt){if(Fe._requestAbort){Fe._requestAbort=!1,Fe._status=u.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==vt.url&&Fe._onURLRedirect){var Mt=Fe._seekHandler.removeURLParameters(Qt.url);Fe._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Fe._contentLength=parseInt(dr),Fe._contentLength!==0&&(Fe._onContentLengthKnown&&Fe._onContentLengthKnown(Fe._contentLength))),Fe._pump.call(Fe,Qt.body.getReader())}else if(Fe._status=u.kError,Fe._onError)Fe._onError(p.HTTP_STATUS_CODE_INVALID,{code:Qt.status,msg:Qt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Qt.status+" "+Qt.statusText)}).catch(function(Qt){if(Fe._status=u.kError,Fe._onError)Fe._onError(p.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(xe){var De=this;return xe.read().then(function(Fe){if(Fe.done)if(De._contentLength!==null&&De._receivedLength<De._contentLength){De._status=u.kError;var $e=p.EARLY_EOF,vt={code:-1,msg:"Fetch stream meet Early-EOF"};if(De._onError)De._onError($e,vt);else throw new n(vt.msg)}else De._status=u.kComplete,De._onComplete&&De._onComplete(De._range.from,De._range.from+De._receivedLength-1);else{if(De._requestAbort===!0)return De._requestAbort=!1,De._status=u.kComplete,xe.cancel();De._status=u.kBuffering;var Wt=Fe.value.buffer,$t=De._range.from+De._receivedLength;De._receivedLength+=Wt.byteLength,De._onDataArrival&&De._onDataArrival(Wt,$t,De._receivedLength),De._pump(xe)}}).catch(function(Fe){if(Fe.code===11&&L.msedge)return;De._status=u.kError;var $e=0,vt=null;if((Fe.code===19||Fe.message==="network error")&&(De._contentLength===null||De._contentLength!==null&&De._receivedLength<De._contentLength)?($e=p.EARLY_EOF,vt={code:Fe.code,msg:"Fetch stream meet Early-EOF"}):($e=p.EXCEPTION,vt={code:Fe.code,msg:Fe.message}),De._onError)De._onError($e,vt);else throw new n(vt.msg)})}}]),J}(w),C=x,O=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);Object(f.a)(J,null,[{key:"isSupported",value:function(){try{var xe=new XMLHttpRequest;return xe.open("GET","https://example.com",!0),xe.responseType="moz-chunked-arraybuffer",xe.responseType==="moz-chunked-arraybuffer"}catch(De){return a.w("MozChunkedLoader",De.message),!1}}}]);function J(ne,xe){var De;return Object(g.a)(this,J),De=pe.call(this,"xhr-moz-chunked-loader"),De.TAG="MozChunkedLoader",De._seekHandler=ne,De._config=xe,De._needStash=!0,De._xhr=null,De._requestAbort=!1,De._contentLength=null,De._receivedLength=0,De}return Object(f.a)(J,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),A(Object(b.a)(J.prototype),"destroy",this).call(this)}},{key:"open",value:function(xe,De){this._dataSource=xe,this._range=De;var Fe=xe.url;this._config.reuseRedirectedURL&&xe.redirectedURL!=null&&(Fe=xe.redirectedURL);var $e=this._seekHandler.getConfig(Fe,De);this._requestURL=$e.url;var vt=this._xhr=new XMLHttpRequest;if(vt.open("GET",$e.url,!0),vt.responseType="moz-chunked-arraybuffer",vt.onreadystatechange=this._onReadyStateChange.bind(this),vt.onprogress=this._onProgress.bind(this),vt.onloadend=this._onLoadEnd.bind(this),vt.onerror=this._onXhrError.bind(this),xe.withCredentials&&(vt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&vt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var Kt in Rt)Rt.hasOwnProperty(Kt)&&vt.setRequestHeader(Kt,Rt[Kt])}this._status=u.kConnecting,vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(xe){var De=xe.target;if(De.readyState===2){if(De.responseURL!=null&&De.responseURL!==this._requestURL&&this._onURLRedirect){var Fe=this._seekHandler.removeURLParameters(De.responseURL);this._onURLRedirect(Fe)}if(De.status!==0&&(De.status<200||De.status>299))if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:De.status,msg:De.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+De.status+" "+De.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(xe){if(this._status===u.kError)return;this._contentLength===null&&(xe.total!==null&&xe.total!==0&&(this._contentLength=xe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var De=xe.target.response,Fe=this._range.from+this._receivedLength;this._receivedLength+=De.byteLength,this._onDataArrival&&this._onDataArrival(De,Fe,this._receivedLength)}},{key:"_onLoadEnd",value:function(xe){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(xe){this._status=u.kError;var De=0,Fe=null;if(this._contentLength&&xe.loaded<this._contentLength?(De=p.EARLY_EOF,Fe={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(De=p.EXCEPTION,Fe={code:-1,msg:xe.constructor.name+" "+xe.type}),this._onError)this._onError(De,Fe);else throw new n(Fe.msg)}}]),J}(w),N=O,F=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);Object(f.a)(J,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var xe=new XMLHttpRequest;return xe.open("GET","https://example.com",!0),xe.responseType="ms-stream",xe.responseType==="ms-stream"}catch(De){return a.w("MSStreamLoader",De.message),!1}}}]);function J(ne,xe){var De;return Object(g.a)(this,J),De=pe.call(this,"xhr-msstream-loader"),De.TAG="MSStreamLoader",De._seekHandler=ne,De._config=xe,De._needStash=!0,De._xhr=null,De._reader=null,De._totalRange=null,De._currentRange=null,De._currentRequestURL=null,De._currentRedirectedURL=null,De._contentLength=null,De._receivedLength=0,De._bufferLimit=16*1024*1024,De._lastTimeBufferSize=0,De._isReconnecting=!1,De}return Object(f.a)(J,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),A(Object(b.a)(J.prototype),"destroy",this).call(this)}},{key:"open",value:function(xe,De){this._internalOpen(xe,De,!1)}},{key:"_internalOpen",value:function(xe,De,Fe){this._dataSource=xe,Fe?this._currentRange=De:this._totalRange=De;var $e=xe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$e=this._currentRedirectedURL:xe.redirectedURL!=null&&($e=xe.redirectedURL));var vt=this._seekHandler.getConfig($e,De);this._currentRequestURL=vt.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",vt.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),xe.withCredentials&&($t.withCredentials=!0),typeof vt.headers=="object"){var Rt=vt.headers;for(var Kt in Rt)Rt.hasOwnProperty(Kt)&&$t.setRequestHeader(Kt,Rt[Kt])}if(typeof this._config.headers=="object"){var Gt=this._config.headers;for(var Qt in Gt)Gt.hasOwnProperty(Qt)&&$t.setRequestHeader(Qt,Gt[Qt])}this._isReconnecting?this._isReconnecting=!1:this._status=u.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(xe){var De=xe.target;if(De.readyState===2)if(De.status>=200&&De.status<=299){if(this._status=u.kBuffering,De.responseURL!=null){var Fe=this._seekHandler.removeURLParameters(De.responseURL);De.responseURL!==this._currentRequestURL&&Fe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Fe,this._onURLRedirect&&this._onURLRedirect(Fe))}var $e=De.getResponseHeader("Content-Length");if($e!=null&&this._contentLength==null){var vt=parseInt($e);vt>0&&(this._contentLength=vt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:De.status,msg:De.statusText});else throw new n("MSStreamLoader: Http code invalid, "+De.status+" "+De.statusText);else if(De.readyState===3&&(De.status>=200&&De.status<=299)){this._status=u.kBuffering;var Wt=De.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(xe){this._status=u.kError;var De=p.EXCEPTION,Fe={code:-1,msg:xe.constructor.name+" "+xe.type};if(this._onError)this._onError(De,Fe);else throw new n(Fe.msg)}},{key:"_msrOnProgress",value:function(xe){var De=xe.target,Fe=De.result;if(Fe==null){this._doReconnectIfNeeded();return}var $e=Fe.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Fe.byteLength;var vt=this._totalRange.from+this._receivedLength;this._receivedLength+=$e.byteLength,this._onDataArrival&&this._onDataArrival($e,vt,this._receivedLength),Fe.byteLength>=this._bufferLimit&&(a.v(this.TAG,"MSStream buffer exceeded max size near ".concat(vt+$e.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var xe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,xe,!0)}}},{key:"_msrOnLoad",value:function(xe){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(xe){this._status=u.kError;var De=0,Fe=null;if(this._contentLength&&this._receivedLength<this._contentLength?(De=p.EARLY_EOF,Fe={code:-1,msg:"MSStream meet Early-Eof"}):(De=p.EARLY_EOF,Fe={code:-1,msg:xe.constructor.name+" "+xe.type}),this._onError)this._onError(De,Fe);else throw new n(Fe.msg)}}]),J}(w),k=F,P=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);Object(f.a)(J,null,[{key:"isSupported",value:function(){try{var xe=new XMLHttpRequest;return xe.open("GET","https://example.com",!0),xe.responseType="arraybuffer",xe.responseType==="arraybuffer"}catch(De){return a.w("RangeLoader",De.message),!1}}}]);function J(ne,xe){var De;return Object(g.a)(this,J),De=pe.call(this,"xhr-range-loader"),De.TAG="RangeLoader",De._seekHandler=ne,De._config=xe,De._needStash=!1,De._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],De._currentChunkSizeKB=384,De._currentSpeedNormalized=0,De._zeroSpeedChunkCount=0,De._xhr=null,De._speedSampler=new r,De._requestAbort=!1,De._waitForTotalLength=!1,De._totalLengthReceived=!1,De._currentRequestURL=null,De._currentRedirectedURL=null,De._currentRequestRange=null,De._totalLength=null,De._contentLength=null,De._receivedLength=0,De._lastTimeLoaded=0,De}return Object(f.a)(J,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),A(Object(b.a)(J.prototype),"destroy",this).call(this)}},{key:"open",value:function(xe,De){this._dataSource=xe,this._range=De,this._status=u.kConnecting;var Fe=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Fe=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Fe?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var xe=this._currentChunkSizeKB*1024,De=this._range.from+this._receivedLength,Fe=De+xe;this._contentLength!=null&&(Fe-this._range.from>=this._contentLength&&(Fe=this._range.from+this._contentLength-1)),this._currentRequestRange={from:De,to:Fe},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(xe,De){this._lastTimeLoaded=0;var Fe=xe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Fe=this._currentRedirectedURL:xe.redirectedURL!=null&&(Fe=xe.redirectedURL));var $e=this._seekHandler.getConfig(Fe,De);this._currentRequestURL=$e.url;var vt=this._xhr=new XMLHttpRequest;if(vt.open("GET",$e.url,!0),vt.responseType="arraybuffer",vt.onreadystatechange=this._onReadyStateChange.bind(this),vt.onprogress=this._onProgress.bind(this),vt.onload=this._onLoad.bind(this),vt.onerror=this._onXhrError.bind(this),xe.withCredentials&&(vt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&vt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var Kt in Rt)Rt.hasOwnProperty(Kt)&&vt.setRequestHeader(Kt,Rt[Kt])}vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(xe){var De=xe.target;if(De.readyState===2){if(De.responseURL!=null){var Fe=this._seekHandler.removeURLParameters(De.responseURL);De.responseURL!==this._currentRequestURL&&Fe!==this._currentRedirectedURL&&(this._currentRedirectedURL=Fe,this._onURLRedirect&&this._onURLRedirect(Fe))}if(De.status>=200&&De.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:De.status,msg:De.statusText});else throw new n("RangeLoader: Http code invalid, "+De.status+" "+De.statusText)}}},{key:"_onProgress",value:function(xe){if(this._status===u.kError)return;if(this._contentLength===null){var De=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,De=!0;var Fe=xe.total;this._internalAbort(),Fe!=null&Fe!==0&&(this._totalLength=Fe)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,De){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $e=xe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=xe.loaded,this._speedSampler.addBytes($e)}},{key:"_normalizeSpeed",value:function(xe){var De=this._chunkSizeKBList,Fe=De.length-1,$e=0,vt=0,Wt=Fe;if(xe<De[0])return De[0];for(;vt<=Wt;){if($e=vt+Math.floor((Wt-vt)/2),$e===Fe||xe>=De[$e]&&xe<De[$e+1])return De[$e];De[$e]<xe?vt=$e+1:Wt=$e-1}}},{key:"_onLoad",value:function(xe){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var De=this._speedSampler.lastSecondKBps;if(De===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(De=this._speedSampler.currentKBps)),De!==0){var Fe=this._normalizeSpeed(De);this._currentSpeedNormalized!==Fe&&(this._currentSpeedNormalized=Fe,this._currentChunkSizeKB=Fe)}var $e=xe.target.response,vt=this._range.from+this._receivedLength;this._receivedLength+=$e.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival($e,vt,this._receivedLength),Wt&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(xe){this._status=u.kError;var De=0,Fe=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(De=p.EARLY_EOF,Fe={code:-1,msg:"RangeLoader meet Early-Eof"}):(De=p.EXCEPTION,Fe={code:-1,msg:xe.constructor.name+" "+xe.type}),this._onError)this._onError(De,Fe);else throw new n(Fe.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),J}(w),B=P,z=function(ae){Object(o.a)(J,ae);var pe=Object(d.a)(J);Object(f.a)(J,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(xe){return!1}}}]);function J(){var ne;return Object(g.a)(this,J),ne=pe.call(this,"websocket-loader"),ne.TAG="WebSocketLoader",ne._needStash=!0,ne._ws=null,ne._requestAbort=!1,ne._receivedLength=0,ne}return Object(f.a)(J,[{key:"destroy",value:function(){this._ws&&this.abort(),A(Object(b.a)(J.prototype),"destroy",this).call(this)}},{key:"open",value:function(xe){try{var De=this._ws=new self.WebSocket(xe.url);De.binaryType="arraybuffer",De.onopen=this._onWebSocketOpen.bind(this),De.onclose=this._onWebSocketClose.bind(this),De.onmessage=this._onWebSocketMessage.bind(this),De.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch($e){this._status=u.kError;var Fe={code:$e.code,msg:$e.message};if(this._onError)this._onError(p.EXCEPTION,Fe);else throw new n(Fe.msg)}}},{key:"abort",value:function(){var xe=this._ws;xe&&(xe.readyState===0||xe.readyState===1)&&(this._requestAbort=!0,xe.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(xe){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(xe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(xe){var De=this;if(xe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(xe.data);else if(xe.data instanceof Blob){var Fe=new FileReader;Fe.onload=function(){De._dispatchArrayBuffer(Fe.result)},Fe.readAsArrayBuffer(xe.data)}else{this._status=u.kError;var $e={code:-1,msg:"Unsupported WebSocket message type: "+xe.data.constructor.name};if(this._onError)this._onError(p.EXCEPTION,$e);else throw new n($e.msg)}}},{key:"_dispatchArrayBuffer",value:function(xe){var De=xe,Fe=this._receivedLength;this._receivedLength+=De.byteLength,this._onDataArrival&&this._onDataArrival(De,Fe,this._receivedLength)}},{key:"_onWebSocketError",value:function(xe){this._status=u.kError;var De={code:xe.code,msg:xe.message};if(this._onError)this._onError(p.EXCEPTION,De);else throw new n(De.msg)}}]),J}(w),R=z,U=function(){function ae(pe){Object(g.a)(this,ae),this._zeroStart=pe||!1}return Object(f.a)(ae,[{key:"getConfig",value:function(J,ne){var xe={};if(ne.from!==0||ne.to!==-1){var De;ne.to!==-1?De="bytes=".concat(ne.from.toString(),"-").concat(ne.to.toString()):De="bytes=".concat(ne.from.toString(),"-"),xe.Range=De}else this._zeroStart&&(xe.Range="bytes=0-");return{url:J,headers:xe}}},{key:"removeURLParameters",value:function(J){return J}}]),ae}(),j=U,H=function(){function ae(pe,J){Object(g.a)(this,ae),this._startName=pe,this._endName=J}return Object(f.a)(ae,[{key:"getConfig",value:function(J,ne){var xe=J;if(ne.from!==0||ne.to!==-1){var De=!0;xe.indexOf("?")===-1&&(xe+="?",De=!1),De&&(xe+="&"),xe+="".concat(this._startName,"=").concat(ne.from.toString()),ne.to!==-1&&(xe+="&".concat(this._endName,"=").concat(ne.to.toString()))}return{url:xe,headers:{}}}},{key:"removeURLParameters",value:function(J){var ne=J.split("?")[0],xe=void 0,De=J.indexOf("?");De!==-1&&(xe=J.substring(De+1));var Fe="";if(xe!=null&&xe.length>0)for(var $e=xe.split("&"),vt=0;vt<$e.length;vt++){var Wt=$e[vt].split("="),$t=vt>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Fe+="&"),Fe+=$e[vt])}return Fe.length===0?ne:ne+"?"+Fe}}]),ae}(),V=H,X=function(){function ae(pe,J,ne){Object(g.a)(this,ae),this.TAG="IOController",this._config=J,this._extraData=ne,this._stashInitialSize=1024*384,J.stashInitialSize!=null&&J.stashInitialSize>0&&(this._stashInitialSize=J.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,J.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=pe,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(pe.url),this._refTotalLength=pe.filesize?pe.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(f.a)(ae,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var J=this._config;if(J.seekType==="range")this._seekHandler=new j(this._config.rangeLoadZeroStart);else if(J.seekType==="param"){var ne=J.seekParamStart||"bstart",xe=J.seekParamEnd||"bend";this._seekHandler=new V(ne,xe)}else if(J.seekType==="custom"){if(typeof J.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new J.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(J.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=R;else if(C.isSupported())this._loaderClass=C;else if(N.isSupported())this._loaderClass=N;else if(B.isSupported())this._loaderClass=B;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(J){this._currentRange={from:0,to:-1},J&&(this._currentRange.from=J),this._speedSampler.reset(),J||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var J=this._resumeFrom;this._resumeFrom=0,this._internalSeek(J,!0)}}},{key:"seek",value:function(J){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(J,!0)}},{key:"_internalSeek",value:function(J,ne){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(ne),this._loader.destroy(),this._loader=null;var xe={from:J,to:-1};this._currentRange={from:xe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,xe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(J){if(!J||typeof J!="string"||J.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=J}},{key:"_expandBuffer",value:function(J){for(var ne=this._stashSize;ne+1024*1024*1<J;)ne*=2;if(ne+=1024*1024*1,ne===this._bufferSize)return;var xe=new ArrayBuffer(ne);if(this._stashUsed>0){var De=new Uint8Array(this._stashBuffer,0,this._stashUsed),Fe=new Uint8Array(xe,0,ne);Fe.set(De,0)}this._stashBuffer=xe,this._bufferSize=ne}},{key:"_normalizeSpeed",value:function(J){var ne=this._speedNormalizeList,xe=ne.length-1,De=0,Fe=0,$e=xe;if(J<ne[0])return ne[0];for(;Fe<=$e;){if(De=Fe+Math.floor(($e-Fe)/2),De===xe||J>=ne[De]&&J<ne[De+1])return ne[De];ne[De]<J?Fe=De+1:$e=De-1}}},{key:"_adjustStashSize",value:function(J){var ne=0;this._config.isLive||J<512?ne=J:J>=512&&J<=1024?ne=Math.floor(J*1.5):ne=J*2,ne>8192&&(ne=8192);var xe=ne*1024+1024*1024*1;this._bufferSize<xe&&this._expandBuffer(xe),this._stashSize=ne*1024}},{key:"_dispatchChunks",value:function(J,ne){return this._currentRange.to=ne+J.byteLength-1,this._onDataArrival(J,ne)}},{key:"_onURLRedirect",value:function(J){this._redirectedURL=J,this._onRedirect&&this._onRedirect(J)}},{key:"_onContentLengthKnown",value:function(J){J&&this._fullRequestFlag&&(this._totalLength=J,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(J,ne,xe){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(J.byteLength);var De=this._speedSampler.lastSecondKBps;if(De!==0){var Fe=this._normalizeSpeed(De);this._speedNormalized!==Fe&&(this._speedNormalized=Fe,this._adjustStashSize(Fe))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=ne),this._stashUsed+J.byteLength<=this._stashSize){var Gt=new Uint8Array(this._stashBuffer,0,this._stashSize);Gt.set(new Uint8Array(J),this._stashUsed),this._stashUsed+=J.byteLength}else{var Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Mt=this._stashBuffer.slice(0,this._stashUsed),dr=this._dispatchChunks(Mt,this._stashByteStart);if(dr<Mt.byteLength){if(dr>0){var er=new Uint8Array(Mt,dr);Qt.set(er,0),this._stashUsed=er.byteLength,this._stashByteStart+=dr}}else this._stashUsed=0,this._stashByteStart+=dr;this._stashUsed+J.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+J.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(J),this._stashUsed),this._stashUsed+=J.byteLength}else{var st=this._dispatchChunks(J,ne);if(st<J.byteLength){var xt=J.byteLength-st;xt>this._bufferSize&&(this._expandBuffer(xt),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(J,st),0),this._stashUsed+=xt,this._stashByteStart=ne+st}}}else if(this._stashUsed===0){var $e=this._dispatchChunks(J,ne);if($e<J.byteLength){var vt=J.byteLength-$e;vt>this._bufferSize&&this._expandBuffer(vt);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array(J,$e),0),this._stashUsed+=vt,this._stashByteStart=ne+$e}}else{this._stashUsed+J.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+J.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array(J),this._stashUsed),this._stashUsed+=J.byteLength;var Rt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Rt<this._stashUsed&&Rt>0){var Kt=new Uint8Array(this._stashBuffer,Rt);$t.set(Kt,0)}this._stashUsed-=Rt,this._stashByteStart+=Rt}}},{key:"_flushStashBuffer",value:function(J){if(this._stashUsed>0){var ne=this._stashBuffer.slice(0,this._stashUsed),xe=this._dispatchChunks(ne,this._stashByteStart),De=ne.byteLength-xe;if(xe<ne.byteLength)if(J)a.w(this.TAG,"".concat(De," bytes unconsumed data remain when flush buffer, dropped"));else{if(xe>0){var Fe=new Uint8Array(this._stashBuffer,0,this._bufferSize),$e=new Uint8Array(ne,xe);Fe.set($e,0),this._stashUsed=$e.byteLength,this._stashByteStart+=xe}return 0}return this._stashUsed=0,this._stashByteStart=0,De}return 0}},{key:"_onLoaderComplete",value:function(J,ne){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(J,ne){a.e(this.TAG,"Loader error, code = ".concat(ne.code,", msg = ").concat(ne.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,J=p.UNRECOVERABLE_EARLY_EOF);switch(J){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var xe=this._currentRange.to+1;xe<this._totalLength&&(a.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(xe,!1));return}J=p.UNRECOVERABLE_EARLY_EOF;break}case p.UNRECOVERABLE_EARLY_EOF:case p.CONNECTING_TIMEOUT:case p.HTTP_STATUS_CODE_INVALID:case p.EXCEPTION:break}if(this._onError)this._onError(J,ne);else throw new n("IOException: "+ne.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(J){this._extraData=J}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(J){this._onDataArrival=J}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(J){this._onSeeked=J}},{key:"onError",get:function(){return this._onError},set:function(J){this._onError=J}},{key:"onComplete",get:function(){return this._onComplete},set:function(J){this._onComplete=J}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(J){this._onRedirect=J}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(J){this._onRecoveredEarlyEof=J}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===B?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ae}(),W=X,G={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function $(){return Object.assign({},G)}var ge=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var J=new W({},$()),ne=J.loaderType;return J.destroy(),ne=="fetch-stream-loader"||ne=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var J=new W({},$()),ne=J.loaderType;return J.destroy(),ne}},{key:"supportNativeMediaPlayback",value:function(J){ae.videoElement==null&&(ae.videoElement=window.document.createElement("video"));var ne=ae.videoElement.canPlayType(J);return ne==="probably"||ne=="maybe"}},{key:"getFeatureList",value:function(){var J={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return J.mseFlvPlayback=ae.supportMSEH264Playback(),J.networkStreamIO=ae.supportNetworkStreamIO(),J.networkLoaderName=ae.getNetworkLoaderTypeName(),J.mseLiveFlvPlayback=J.mseFlvPlayback&&J.networkStreamIO,J.nativeMP4H264Playback=ae.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),J.nativeWebmVP8Playback=ae.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),J.nativeWebmVP9Playback=ae.supportNativeMediaPlayback('video/webm; codecs="vp9"'),J}}]),ae}(),q=ge,Se={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},Ce=Se,Ae=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"getConfig",value:function(){return{globalTag:a.GLOBAL_TAG,forceGlobalTag:a.FORCE_GLOBAL_TAG,enableVerbose:a.ENABLE_VERBOSE,enableDebug:a.ENABLE_DEBUG,enableInfo:a.ENABLE_INFO,enableWarn:a.ENABLE_WARN,enableError:a.ENABLE_ERROR,enableCallback:a.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(J){a.GLOBAL_TAG=J.globalTag,a.FORCE_GLOBAL_TAG=J.forceGlobalTag,a.ENABLE_VERBOSE=J.enableVerbose,a.ENABLE_DEBUG=J.enableDebug,a.ENABLE_INFO=J.enableInfo,a.ENABLE_WARN=J.enableWarn,a.ENABLE_ERROR=J.enableError,a.ENABLE_CALLBACK=J.enableCallback}},{key:"_notifyChange",value:function(){var J=ae.emitter;if(J.listenerCount("change")>0){var ne=ae.getConfig();J.emit("change",ne)}}},{key:"registerListener",value:function(J){ae.emitter.addListener("change",J)}},{key:"removeListener",value:function(J){ae.emitter.removeListener("change",J)}},{key:"addLogListener",value:function(J){a.emitter.addListener("log",J),a.emitter.listenerCount("log")>0&&(a.ENABLE_CALLBACK=!0,ae._notifyChange())}},{key:"removeLogListener",value:function(J){a.emitter.removeListener("log",J),a.emitter.listenerCount("log")===0&&(a.ENABLE_CALLBACK=!1,ae._notifyChange())}},{key:"forceGlobalTag",get:function(){return a.FORCE_GLOBAL_TAG},set:function(J){a.FORCE_GLOBAL_TAG=J,ae._notifyChange()}},{key:"globalTag",get:function(){return a.GLOBAL_TAG},set:function(J){a.GLOBAL_TAG=J,ae._notifyChange()}},{key:"enableAll",get:function(){return a.ENABLE_VERBOSE&&a.ENABLE_DEBUG&&a.ENABLE_INFO&&a.ENABLE_WARN&&a.ENABLE_ERROR},set:function(J){a.ENABLE_VERBOSE=J,a.ENABLE_DEBUG=J,a.ENABLE_INFO=J,a.ENABLE_WARN=J,a.ENABLE_ERROR=J,ae._notifyChange()}},{key:"enableDebug",get:function(){return a.ENABLE_DEBUG},set:function(J){a.ENABLE_DEBUG=J,ae._notifyChange()}},{key:"enableVerbose",get:function(){return a.ENABLE_VERBOSE},set:function(J){a.ENABLE_VERBOSE=J,ae._notifyChange()}},{key:"enableInfo",get:function(){return a.ENABLE_INFO},set:function(J){a.ENABLE_INFO=J,ae._notifyChange()}},{key:"enableWarn",get:function(){return a.ENABLE_WARN},set:function(J){a.ENABLE_WARN=J,ae._notifyChange()}},{key:"enableError",get:function(){return a.ENABLE_ERROR},set:function(J){a.ENABLE_ERROR=J,ae._notifyChange()}}]),ae}();Ae.emitter=new h.a;var Ue=Ae,Qe=function(){function ae(){Object(g.a)(this,ae),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(f.a)(ae,[{key:"isComplete",value:function(){var J=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,ne=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&J&&ne}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(J){if(this.keyframesIndex==null)return null;var ne=this.keyframesIndex,xe=this._search(ne.times,J);return{index:xe,milliseconds:ne.times[xe],fileposition:ne.filepositions[xe]}}},{key:"_search",value:function(J,ne){var xe=0,De=J.length-1,Fe=0,$e=0,vt=De;for(ne<J[0]&&(xe=0,$e=vt+1);$e<=vt;)if(Fe=$e+Math.floor((vt-$e)/2),Fe===De||ne>=J[Fe]&&ne<J[Fe+1]){xe=Fe;break}else J[Fe]<ne?$e=Fe+1:vt=Fe-1;return xe}}]),ae}(),gt=Qe;function _e(ae,pe,J){var ne=ae;if(pe+J<ne.length){for(;J--;)if((ne[++pe]&192)!==128)return!1;return!0}else return!1}function Oe(ae){for(var pe=[],J=ae,ne=0,xe=ae.length;ne<xe;){if(J[ne]<128){pe.push(String.fromCharCode(J[ne])),++ne;continue}else if(!(J[ne]<192)){if(J[ne]<224){if(_e(J,ne,1)){var De=(J[ne]&31)<<6|J[ne+1]&63;if(De>=128){pe.push(String.fromCharCode(De&65535)),ne+=2;continue}}}else if(J[ne]<240){if(_e(J,ne,2)){var Fe=(J[ne]&15)<<12|(J[ne+1]&63)<<6|J[ne+2]&63;if(Fe>=2048&&(Fe&63488)!==55296){pe.push(String.fromCharCode(Fe&65535)),ne+=3;continue}}}else if(J[ne]<248&&_e(J,ne,3)){var $e=(J[ne]&7)<<18|(J[ne+1]&63)<<12|(J[ne+2]&63)<<6|J[ne+3]&63;if($e>65536&&$e<1114112){$e-=65536,pe.push(String.fromCharCode($e>>>10|55296)),pe.push(String.fromCharCode($e&1023|56320)),ne+=4;continue}}}pe.push(String.fromCharCode(65533)),++ne}return pe.join("")}var lt=Oe,ce=function(){var ae=new ArrayBuffer(2);return new DataView(ae).setInt16(0,256,!0),new Int16Array(ae)[0]===256}(),Y=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"parseScriptData",value:function(J,ne,xe){var De={};try{var Fe=ae.parseValue(J,ne,xe),$e=ae.parseValue(J,ne+Fe.size,xe-Fe.size);De[Fe.data]=$e.data}catch(vt){a.e("AMF",vt.toString())}return De}},{key:"parseObject",value:function(J,ne,xe){if(xe<3)throw new l("Data not enough when parse ScriptDataObject");var De=ae.parseString(J,ne,xe),Fe=ae.parseValue(J,ne+De.size,xe-De.size),$e=Fe.objectEnd;return{data:{name:De.data,value:Fe.data},size:De.size+Fe.size,objectEnd:$e}}},{key:"parseVariable",value:function(J,ne,xe){return ae.parseObject(J,ne,xe)}},{key:"parseString",value:function(J,ne,xe){if(xe<2)throw new l("Data not enough when parse String");var De=new DataView(J,ne,xe),Fe=De.getUint16(0,!ce),$e;return Fe>0?$e=lt(new Uint8Array(J,ne+2,Fe)):$e="",{data:$e,size:2+Fe}}},{key:"parseLongString",value:function(J,ne,xe){if(xe<4)throw new l("Data not enough when parse LongString");var De=new DataView(J,ne,xe),Fe=De.getUint32(0,!ce),$e;return Fe>0?$e=lt(new Uint8Array(J,ne+4,Fe)):$e="",{data:$e,size:4+Fe}}},{key:"parseDate",value:function(J,ne,xe){if(xe<10)throw new l("Data size invalid when parse Date");var De=new DataView(J,ne,xe),Fe=De.getFloat64(0,!ce),$e=De.getInt16(8,!ce);return Fe+=$e*60*1e3,{data:new Date(Fe),size:8+2}}},{key:"parseValue",value:function(J,ne,xe){if(xe<1)throw new l("Data not enough when parse Value");var De=new DataView(J,ne,xe),Fe=1,$e=De.getUint8(0),vt,Wt=!1;try{switch($e){case 0:vt=De.getFloat64(1,!ce),Fe+=8;break;case 1:{var $t=De.getUint8(1);vt=!!$t,Fe+=1;break}case 2:{var Rt=ae.parseString(J,ne+1,xe-1);vt=Rt.data,Fe+=Rt.size;break}case 3:{vt={};var Kt=0;for((De.getUint32(xe-4,!ce)&16777215)===9&&(Kt=3);Fe<xe-4;){var Gt=ae.parseObject(J,ne+Fe,xe-Fe-Kt);if(Gt.objectEnd)break;vt[Gt.data.name]=Gt.data.value,Fe+=Gt.size}if(Fe<=xe-3){var Qt=De.getUint32(Fe-1,!ce)&16777215;Qt===9&&(Fe+=3)}break}case 8:{vt={},Fe+=4;var Mt=0;for((De.getUint32(xe-4,!ce)&16777215)===9&&(Mt=3);Fe<xe-8;){var dr=ae.parseVariable(J,ne+Fe,xe-Fe-Mt);if(dr.objectEnd)break;vt[dr.data.name]=dr.data.value,Fe+=dr.size}if(Fe<=xe-3){var er=De.getUint32(Fe-1,!ce)&16777215;er===9&&(Fe+=3)}break}case 9:vt=void 0,Fe=1,Wt=!0;break;case 10:{vt=[];var st=De.getUint32(1,!ce);Fe+=4;for(var xt=0;xt<st;xt++){var ut=ae.parseValue(J,ne+Fe,xe-Fe);vt.push(ut.data),Fe+=ut.size}break}case 11:{var pt=ae.parseDate(J,ne+1,xe-1);vt=pt.data,Fe+=pt.size;break}case 12:{var It=ae.parseString(J,ne+1,xe-1);vt=It.data,Fe+=It.size;break}default:Fe=xe,a.w("AMF","Unsupported AMF value type "+$e)}}catch(Tt){a.e("AMF",Tt.toString())}return{data:vt,size:Fe,objectEnd:Wt}}}]),ae}(),K=Y,Q=function(){function ae(pe){Object(g.a)(this,ae),this.TAG="ExpGolomb",this._buffer=pe,this._buffer_index=0,this._total_bytes=pe.byteLength,this._total_bits=pe.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(ae,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var J=this._total_bytes-this._buffer_index;if(J<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var ne=Math.min(4,J),xe=new Uint8Array(4);xe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+ne)),this._current_word=new DataView(xe.buffer).getUint32(0,!1),this._buffer_index+=ne,this._current_word_bits_left=ne*8}},{key:"readBits",value:function(J){if(J>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(J<=this._current_word_bits_left){var ne=this._current_word>>>32-J;return this._current_word<<=J,this._current_word_bits_left-=J,ne}var xe=this._current_word_bits_left?this._current_word:0;xe=xe>>>32-this._current_word_bits_left;var De=J-this._current_word_bits_left;this._fillCurrentWord();var Fe=Math.min(De,this._current_word_bits_left),$e=this._current_word>>>32-Fe;return this._current_word<<=Fe,this._current_word_bits_left-=Fe,xe=xe<<Fe|$e,xe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var J;for(J=0;J<this._current_word_bits_left;J++)if((this._current_word&2147483648>>>J)!==0)return this._current_word<<=J,this._current_word_bits_left-=J,J;return this._fillCurrentWord(),J+this._skipLeadingZero()}},{key:"readUEG",value:function(){var J=this._skipLeadingZero();return this.readBits(J+1)-1}},{key:"readSEG",value:function(){var J=this.readUEG();return J&1?J+1>>>1:-1*(J>>>1)}}]),ae}(),ye=Q,ue=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"_ebsp2rbsp",value:function(J){for(var ne=J,xe=ne.byteLength,De=new Uint8Array(xe),Fe=0,$e=0;$e<xe;$e++){if($e>=2&&(ne[$e]===3&&ne[$e-1]===0&&ne[$e-2]===0))continue;De[Fe]=ne[$e],Fe++}return new Uint8Array(De.buffer,0,Fe)}},{key:"parseSPS",value:function(J){var ne=ae._ebsp2rbsp(J),xe=new ye(ne);xe.readByte();var De=xe.readByte();xe.readByte();var Fe=xe.readByte();xe.readUEG();var $e=ae.getProfileString(De),vt=ae.getLevelString(Fe),Wt=1,$t=420,Rt=[0,420,422,444],Kt=8;if((De===100||De===110||De===122||De===244||De===44||De===83||De===86||De===118||De===128||De===138||De===144)&&(Wt=xe.readUEG(),Wt===3&&xe.readBits(1),Wt<=3&&($t=Rt[Wt]),Kt=xe.readUEG()+8,xe.readUEG(),xe.readBits(1),xe.readBool()))for(var Gt=Wt!==3?8:12,Qt=0;Qt<Gt;Qt++)xe.readBool()&&(Qt<6?ae._skipScalingList(xe,16):ae._skipScalingList(xe,64));xe.readUEG();var Mt=xe.readUEG();if(Mt===0)xe.readUEG();else if(Mt===1){xe.readBits(1),xe.readSEG(),xe.readSEG();for(var dr=xe.readUEG(),er=0;er<dr;er++)xe.readSEG()}var st=xe.readUEG();xe.readBits(1);var xt=xe.readUEG(),ut=xe.readUEG(),pt=xe.readBits(1);pt===0&&xe.readBits(1),xe.readBits(1);var It=0,Tt=0,ft=0,Ht=0,Ft=xe.readBool();Ft&&(It=xe.readUEG(),Tt=xe.readUEG(),ft=xe.readUEG(),Ht=xe.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,Fr=0,tn=xe.readBool();if(tn){if(xe.readBool()){var qr=xe.readByte(),Lr=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Qr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];qr>0&&qr<16?(ir=Lr[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=xe.readByte()<<8|xe.readByte(),Xt=xe.readByte()<<8|xe.readByte())}if(xe.readBool()&&xe.readBool(),xe.readBool()&&(xe.readBits(4),xe.readBool()&&xe.readBits(24)),xe.readBool()&&(xe.readUEG(),xe.readUEG()),xe.readBool()){var _r=xe.readBits(32),ur=xe.readBits(32);Ar=xe.readBool(),Nr=ur,Fr=_r*2,mr=Nr/Fr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var cr=0,fr=0;if(Wt===0)cr=1,fr=2-pt;else{var xr=Wt===3?1:2,Yr=Wt===1?2:1;cr=xr,fr=Yr*(2-pt)}var un=(xt+1)*16,Nn=(2-pt)*((ut+1)*16);un-=(It+Tt)*cr,Nn-=(ft+Ht)*fr;var jr=Math.ceil(un*pr);return xe.destroy(),xe=null,{profile_string:$e,level_string:vt,bit_depth:Kt,ref_frames:st,chroma_format:$t,chroma_format_string:ae.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:Fr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:un,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function(J,ne){for(var xe=8,De=8,Fe=0,$e=0;$e<ne;$e++)De!==0&&(Fe=J.readSEG(),De=(xe+Fe+256)%256),xe=De===0?xe:De}},{key:"getProfileString",value:function(J){switch(J){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function(J){return(J/10).toFixed(1)}},{key:"getChromaFormatString",value:function(J){switch(J){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ae}(),Ne=ue,Te={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},oe=Te;function de(ae){return ae>>>8&255|(ae&255)<<8}function Le(ae){return(ae&4278190080)>>>24|(ae&16711680)>>>8|(ae&65280)<<8|(ae&255)<<24}function Ge(ae,pe){return ae[pe]<<24|ae[pe+1]<<16|ae[pe+2]<<8|ae[pe+3]}var ht=function(){function ae(pe,J){Object(g.a)(this,ae),this.TAG="FLVDemuxer",this._config=J,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=pe.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=pe.hasAudioTrack,this._hasVideo=pe.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new gt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var ne=new ArrayBuffer(2);return new DataView(ne).setInt16(0,256,!0),new Int16Array(ne)[0]===256}()}return Object(f.a)(ae,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function(J){return J.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new gt}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function(J,ne){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var xe=0,De=this._littleEndian;if(ne===0)if(J.byteLength>13){var Fe=ae.probe(J);xe=Fe.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,ne+xe!==this._dataOffset&&a.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $e=new DataView(J,xe),vt=$e.getUint32(0,!De);vt!==0&&a.w(this.TAG,"PrevTagSize0 !== 0 !!!"),xe+=4}for(;xe<J.byteLength;){this._dispatch=!0;var Wt=new DataView(J,xe);if(xe+11+4>J.byteLength)break;var $t=Wt.getUint8(0),Rt=Wt.getUint32(0,!De)&16777215;if(xe+11+Rt+4>J.byteLength)break;if($t!==8&&$t!==9&&$t!==18){a.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),xe+=11+Rt+4;continue}var Kt=Wt.getUint8(4),Gt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Gt<<8|Kt<<16|Mt<<24,er=Wt.getUint32(7,!De)&16777215;er!==0&&a.w(this.TAG,"Meet tag which has StreamID != 0!");var st=xe+11;switch($t){case 8:this._parseAudioData(J,st,Rt,dr);break;case 9:this._parseVideoData(J,st,Rt,dr,ne+xe);break;case 18:this._parseScriptData(J,st,Rt);break}var xt=Wt.getUint32(11+Rt,!De);xt!==11+Rt&&a.w(this.TAG,"Invalid PrevTagSize ".concat(xt)),xe+=11+Rt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),xe}},{key:"_parseScriptData",value:function(J,ne,xe){var De=K.parseScriptData(J,ne,xe);if(De.hasOwnProperty("onMetaData")){if(De.onMetaData==null||typeof De.onMetaData!="object"){a.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&a.w(this.TAG,"Found another onMetaData tag!"),this._metadata=De;var Fe=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Fe)),typeof Fe.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Fe.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Fe.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Fe.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Fe.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Fe.audiodatarate),typeof Fe.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Fe.videodatarate),typeof Fe.width=="number"&&(this._mediaInfo.width=Fe.width),typeof Fe.height=="number"&&(this._mediaInfo.height=Fe.height),typeof Fe.duration=="number"){if(!this._durationOverrided){var $e=Math.floor(Fe.duration*this._timescale);this._duration=$e,this._mediaInfo.duration=$e}}else this._mediaInfo.duration=0;if(typeof Fe.framerate=="number"){var vt=Math.floor(Fe.framerate*1e3);if(vt>0){var Wt=vt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=vt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Fe.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Fe.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Fe.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Fe,a.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(De).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},De)))}},{key:"_parseKeyframesIndex",value:function(J){for(var ne=[],xe=[],De=1;De<J.times.length;De++){var Fe=this._timestampBase+Math.floor(J.times[De]*1e3);ne.push(Fe),xe.push(J.filepositions[De])}return{times:ne,filepositions:xe}}},{key:"_parseAudioData",value:function(J,ne,xe,De){if(xe<=1){a.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Fe=this._littleEndian,$e=new DataView(J,ne,xe),vt=$e.getUint8(0),Wt=vt>>>4;if(Wt!==2&&Wt!==10){this._onError(oe.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Rt=(vt&12)>>>2;if(Rt>=0&&Rt<=4)$t=this._flvSoundRateTable[Rt];else{this._onError(oe.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Rt);return}var Kt=(vt&2)>>>1,Gt=vt&1,Qt=this._audioMetadata,Mt=this._audioTrack;if(Qt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qt=this._audioMetadata={},Qt.type="audio",Qt.id=Mt.id,Qt.timescale=this._timescale,Qt.duration=this._duration,Qt.audioSampleRate=$t,Qt.channelCount=Gt===0?1:2),Wt===10){var dr=this._parseAACAudioData(J,ne+1,xe-1);if(dr==null)return;if(dr.packetType===0){Qt.config&&a.w(this.TAG,"Found another AudioSpecificConfig!");var er=dr.data;Qt.audioSampleRate=er.samplingRate,Qt.channelCount=er.channelCount,Qt.codec=er.codec,Qt.originalCodec=er.originalCodec,Qt.config=er.config,Qt.refSampleDuration=1024/Qt.audioSampleRate*Qt.timescale,a.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Qt);var st=this._mediaInfo;st.audioCodec=Qt.originalCodec,st.audioSampleRate=Qt.audioSampleRate,st.audioChannelCount=Qt.channelCount,st.hasVideo?st.videoCodec!=null&&(st.mimeType='video/x-flv; codecs="'+st.videoCodec+","+st.audioCodec+'"'):st.mimeType='video/x-flv; codecs="'+st.audioCodec+'"',st.isComplete()&&this._onMediaInfo(st)}else if(dr.packetType===1){var xt=this._timestampBase+De,ut={unit:dr.data,length:dr.data.byteLength,dts:xt,pts:xt};Mt.samples.push(ut),Mt.length+=dr.data.length}else a.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var pt=this._parseMP3AudioData(J,ne+1,xe-1,!0);if(pt==null)return;Qt.audioSampleRate=pt.samplingRate,Qt.channelCount=pt.channelCount,Qt.codec=pt.codec,Qt.originalCodec=pt.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,a.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var It=this._mediaInfo;It.audioCodec=Qt.codec,It.audioSampleRate=Qt.audioSampleRate,It.audioChannelCount=Qt.channelCount,It.audioDataRate=pt.bitRate,It.hasVideo?It.videoCodec!=null&&(It.mimeType='video/x-flv; codecs="'+It.videoCodec+","+It.audioCodec+'"'):It.mimeType='video/x-flv; codecs="'+It.audioCodec+'"',It.isComplete()&&this._onMediaInfo(It)}var Tt=this._parseMP3AudioData(J,ne+1,xe-1,!1);if(Tt==null)return;var ft=this._timestampBase+De,Ht={unit:Tt,length:Tt.byteLength,dts:ft,pts:ft};Mt.samples.push(Ht),Mt.length+=Tt.length}}},{key:"_parseAACAudioData",value:function(J,ne,xe){if(xe<=1){a.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var De={},Fe=new Uint8Array(J,ne,xe);return De.packetType=Fe[0],Fe[0]===0?De.data=this._parseAACAudioSpecificConfig(J,ne+1,xe-1):De.data=Fe.subarray(1),De}},{key:"_parseAACAudioSpecificConfig",value:function(J,ne,xe){var De=new Uint8Array(J,ne,xe),Fe=null,$e=0,vt=0,Wt=null,$t=0,Rt=null;if($e=vt=De[0]>>>3,$t=(De[0]&7)<<1|De[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(oe.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Kt=this._mpegSamplingRates[$t],Gt=(De[1]&120)>>>3;if(Gt<0||Gt>=8){this._onError(oe.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$e===5&&(Rt=(De[1]&7)<<1|De[2]>>>7,Wt=(De[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?($e=5,Fe=new Array(4),Rt=$t-3):($e=2,Fe=new Array(2),Rt=$t):Qt.indexOf("android")!==-1?($e=2,Fe=new Array(2),Rt=$t):($e=5,Rt=$t,Fe=new Array(4),$t>=6?Rt=$t-3:Gt===1&&($e=2,Fe=new Array(2),Rt=$t)),Fe[0]=$e<<3,Fe[0]|=($t&15)>>>1,Fe[1]=($t&15)<<7,Fe[1]|=(Gt&15)<<3,$e===5&&(Fe[1]|=(Rt&15)>>>1,Fe[2]=(Rt&1)<<7,Fe[2]|=2<<2,Fe[3]=0),{config:Fe,samplingRate:Kt,channelCount:Gt,codec:"mp4a.40."+$e,originalCodec:"mp4a.40."+vt}}},{key:"_parseMP3AudioData",value:function(J,ne,xe,De){if(xe<4){a.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Fe=this._littleEndian,$e=new Uint8Array(J,ne,xe),vt=null;if(De){if($e[0]!==255)return;var Wt=$e[1]>>>3&3,$t=($e[1]&6)>>1,Rt=($e[2]&240)>>>4,Kt=($e[2]&12)>>>2,Gt=$e[3]>>>6&3,Qt=Gt!==3?2:1,Mt=0,dr=0,er=34,st="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[Kt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[Kt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[Kt];break}switch($t){case 1:er=34,Rt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Rt]);break;case 2:er=33,Rt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Rt]);break;case 3:er=32,Rt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Rt]);break}vt={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:st,originalCodec:st}}else vt=$e;return vt}},{key:"_parseVideoData",value:function(J,ne,xe,De,Fe){if(xe<=1){a.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $e=new Uint8Array(J,ne,xe)[0],vt=($e&240)>>>4,Wt=$e&15;if(Wt!==7){this._onError(oe.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket(J,ne+1,xe-1,De,Fe,vt)}},{key:"_parseAVCVideoPacket",value:function(J,ne,xe,De,Fe,$e){if(xe<4){a.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var vt=this._littleEndian,Wt=new DataView(J,ne,xe),$t=Wt.getUint8(0),Rt=Wt.getUint32(0,!vt)&16777215,Kt=Rt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord(J,ne+4,xe-4);else if($t===1)this._parseAVCVideoData(J,ne+4,xe-4,De,Fe,$e,Kt);else if(!($t===2)){this._onError(oe.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(J,ne,xe){if(xe<7){a.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var De=this._videoMetadata,Fe=this._videoTrack,$e=this._littleEndian,vt=new DataView(J,ne,xe);De?typeof De.avcc!="undefined"&&a.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),De=this._videoMetadata={},De.type="video",De.id=Fe.id,De.timescale=this._timescale,De.duration=this._duration);var Wt=vt.getUint8(0),$t=vt.getUint8(1),Rt=vt.getUint8(2),Kt=vt.getUint8(3);if(Wt!==1||$t===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(vt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(oe.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Gt=vt.getUint8(5)&31;if(Gt===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Gt>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Gt));for(var Qt=6,Mt=0;Mt<Gt;Mt++){var dr=vt.getUint16(Qt,!$e);if(Qt+=2,dr===0)continue;var er=new Uint8Array(J,ne+Qt,dr);Qt+=dr;var st=Ne.parseSPS(er);if(Mt!==0)continue;De.codecWidth=st.codec_size.width,De.codecHeight=st.codec_size.height,De.presentWidth=st.present_size.width,De.presentHeight=st.present_size.height,De.profile=st.profile_string,De.level=st.level_string,De.bitDepth=st.bit_depth,De.chromaFormat=st.chroma_format,De.sarRatio=st.sar_ratio,De.frameRate=st.frame_rate,(st.frame_rate.fixed===!1||st.frame_rate.fps_num===0||st.frame_rate.fps_den===0)&&(De.frameRate=this._referenceFrameRate);var xt=De.frameRate.fps_den,ut=De.frameRate.fps_num;De.refSampleDuration=De.timescale*(xt/ut);for(var pt=er.subarray(1,4),It="avc1.",Tt=0;Tt<3;Tt++){var ft=pt[Tt].toString(16);ft.length<2&&(ft="0"+ft),It+=ft}De.codec=It;var Ht=this._mediaInfo;Ht.width=De.codecWidth,Ht.height=De.codecHeight,Ht.fps=De.frameRate.fps,Ht.profile=De.profile,Ht.level=De.level,Ht.refFrames=st.ref_frames,Ht.chromaFormat=st.chroma_format_string,Ht.sarNum=De.sarRatio.width,Ht.sarDen=De.sarRatio.height,Ht.videoCodec=It,Ht.hasAudio?Ht.audioCodec!=null&&(Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+","+Ht.audioCodec+'"'):Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+'"',Ht.isComplete()&&this._onMediaInfo(Ht)}var Ft=vt.getUint8(Qt);if(Ft===0){this._onError(oe.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ft>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Ft));Qt++;for(var ir=0;ir<Ft;ir++){var Xt=vt.getUint16(Qt,!$e);if(Qt+=2,Xt===0)continue;Qt+=Xt}De.avcc=new Uint8Array(xe),De.avcc.set(new Uint8Array(J,ne,xe),0),a.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",De)}},{key:"_parseAVCVideoData",value:function(J,ne,xe,De,Fe,$e,vt){for(var Wt=this._littleEndian,$t=new DataView(J,ne,xe),Rt=[],Kt=0,Gt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+De,dr=$e===1;Gt<xe;){if(Gt+4>=xe){a.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Gt,", dataSize = ").concat(xe));break}var er=$t.getUint32(Gt,!Wt);if(Qt===3&&(er>>>=8),er>xe-Qt){a.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var st=$t.getUint8(Gt+Qt)&31;st===5&&(dr=!0);var xt=new Uint8Array(J,ne+Gt,Qt+er),ut={type:st,data:xt};Rt.push(ut),Kt+=xt.byteLength,Gt+=Qt+er}if(Rt.length){var pt=this._videoTrack,It={units:Rt,length:Kt,isKeyframe:dr,dts:Mt,cts:vt,pts:Mt+vt};dr&&(It.fileposition=Fe),pt.samples.push(It),pt.length+=Kt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(J){this._onTrackMetadata=J}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(J){this._onMediaInfo=J}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(J){this._onMetaDataArrived=J}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(J){this._onScriptDataArrived=J}},{key:"onError",get:function(){return this._onError},set:function(J){this._onError=J}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(J){this._onDataAvailable=J}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(J){this._timestampBase=J}},{key:"overridedDuration",get:function(){return this._duration},set:function(J){this._durationOverrided=!0,this._duration=J,this._mediaInfo.duration=J}},{key:"overridedHasAudio",set:function(J){this._hasAudioFlagOverrided=!0,this._hasAudio=J,this._mediaInfo.hasAudio=J}},{key:"overridedHasVideo",set:function(J){this._hasVideoFlagOverrided=!0,this._hasVideo=J,this._mediaInfo.hasVideo=J}}],[{key:"probe",value:function(J){var ne=new Uint8Array(J),xe={match:!1};if(ne[0]!==70||ne[1]!==76||ne[2]!==86||ne[3]!==1)return xe;var De=(ne[4]&4)>>>2!==0,Fe=(ne[4]&1)!==0,$e=Ge(ne,5);return $e<9?xe:{match:!0,consumed:$e,dataOffset:$e,hasAudioTrack:De,hasVideoTrack:Fe}}}]),ae}(),Et=ht,Be=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"init",value:function(){ae.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var J in ae.types)ae.types.hasOwnProperty(J)&&(ae.types[J]=[J.charCodeAt(0),J.charCodeAt(1),J.charCodeAt(2),J.charCodeAt(3)]);var ne=ae.constants={};ne.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),ne.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),ne.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),ne.STSC=ne.STCO=ne.STTS,ne.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ne.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),ne.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),ne.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),ne.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ne.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(J){for(var ne=8,xe=null,De=Array.prototype.slice.call(arguments,1),Fe=De.length,$e=0;$e<Fe;$e++)ne+=De[$e].byteLength;xe=new Uint8Array(ne),xe[0]=ne>>>24&255,xe[1]=ne>>>16&255,xe[2]=ne>>>8&255,xe[3]=ne&255,xe.set(J,4);for(var vt=8,Wt=0;Wt<Fe;Wt++)xe.set(De[Wt],vt),vt+=De[Wt].byteLength;return xe}},{key:"generateInitSegment",value:function(J){var ne=ae.box(ae.types.ftyp,ae.constants.FTYP),xe=ae.moov(J),De=new Uint8Array(ne.byteLength+xe.byteLength);return De.set(ne,0),De.set(xe,ne.byteLength),De}},{key:"moov",value:function(J){var ne=ae.mvhd(J.timescale,J.duration),xe=ae.trak(J),De=ae.mvex(J);return ae.box(ae.types.moov,ne,xe,De)}},{key:"mvhd",value:function(J,ne){return ae.box(ae.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,J>>>24&255,J>>>16&255,J>>>8&255,J&255,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function(J){return ae.box(ae.types.trak,ae.tkhd(J),ae.mdia(J))}},{key:"tkhd",value:function(J){var ne=J.id,xe=J.duration,De=J.presentWidth,Fe=J.presentHeight;return ae.box(ae.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,0,0,0,0,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,De>>>8&255,De&255,0,0,Fe>>>8&255,Fe&255,0,0]))}},{key:"mdia",value:function(J){return ae.box(ae.types.mdia,ae.mdhd(J),ae.hdlr(J),ae.minf(J))}},{key:"mdhd",value:function(J){var ne=J.timescale,xe=J.duration;return ae.box(ae.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255,85,196,0,0]))}},{key:"hdlr",value:function(J){var ne=null;return J.type==="audio"?ne=ae.constants.HDLR_AUDIO:ne=ae.constants.HDLR_VIDEO,ae.box(ae.types.hdlr,ne)}},{key:"minf",value:function(J){var ne=null;return J.type==="audio"?ne=ae.box(ae.types.smhd,ae.constants.SMHD):ne=ae.box(ae.types.vmhd,ae.constants.VMHD),ae.box(ae.types.minf,ne,ae.dinf(),ae.stbl(J))}},{key:"dinf",value:function(){var J=ae.box(ae.types.dinf,ae.box(ae.types.dref,ae.constants.DREF));return J}},{key:"stbl",value:function(J){var ne=ae.box(ae.types.stbl,ae.stsd(J),ae.box(ae.types.stts,ae.constants.STTS),ae.box(ae.types.stsc,ae.constants.STSC),ae.box(ae.types.stsz,ae.constants.STSZ),ae.box(ae.types.stco,ae.constants.STCO));return ne}},{key:"stsd",value:function(J){return J.type==="audio"?J.codec==="mp3"?ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.mp3(J)):ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.mp4a(J)):ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.avc1(J))}},{key:"mp3",value:function(J){var ne=J.channelCount,xe=J.audioSampleRate,De=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ne,0,16,0,0,0,0,xe>>>8&255,xe&255,0,0]);return ae.box(ae.types[".mp3"],De)}},{key:"mp4a",value:function(J){var ne=J.channelCount,xe=J.audioSampleRate,De=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ne,0,16,0,0,0,0,xe>>>8&255,xe&255,0,0]);return ae.box(ae.types.mp4a,De,ae.esds(J))}},{key:"esds",value:function(J){var ne=J.config||[],xe=ne.length,De=new Uint8Array([0,0,0,0,3,23+xe,0,1,0,4,15+xe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([xe]).concat(ne).concat([6,1,2]));return ae.box(ae.types.esds,De)}},{key:"avc1",value:function(J){var ne=J.avcc,xe=J.codecWidth,De=J.codecHeight,Fe=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,xe>>>8&255,xe&255,De>>>8&255,De&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return ae.box(ae.types.avc1,Fe,ae.box(ae.types.avcC,ne))}},{key:"mvex",value:function(J){return ae.box(ae.types.mvex,ae.trex(J))}},{key:"trex",value:function(J){var ne=J.id,xe=new Uint8Array([0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ae.box(ae.types.trex,xe)}},{key:"moof",value:function(J,ne){return ae.box(ae.types.moof,ae.mfhd(J.sequenceNumber),ae.traf(J,ne))}},{key:"mfhd",value:function(J){var ne=new Uint8Array([0,0,0,0,J>>>24&255,J>>>16&255,J>>>8&255,J&255]);return ae.box(ae.types.mfhd,ne)}},{key:"traf",value:function(J,ne){var xe=J.id,De=ae.box(ae.types.tfhd,new Uint8Array([0,0,0,0,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255])),Fe=ae.box(ae.types.tfdt,new Uint8Array([0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255])),$e=ae.sdtp(J),vt=ae.trun(J,$e.byteLength+16+16+8+16+8+8);return ae.box(ae.types.traf,De,Fe,vt,$e)}},{key:"sdtp",value:function(J){for(var ne=J.samples||[],xe=ne.length,De=new Uint8Array(4+xe),Fe=0;Fe<xe;Fe++){var $e=ne[Fe].flags;De[Fe+4]=$e.isLeading<<6|$e.dependsOn<<4|$e.isDependedOn<<2|$e.hasRedundancy}return ae.box(ae.types.sdtp,De)}},{key:"trun",value:function(J,ne){var xe=J.samples||[],De=xe.length,Fe=12+16*De,$e=new Uint8Array(Fe);ne+=8+Fe,$e.set([0,0,15,1,De>>>24&255,De>>>16&255,De>>>8&255,De&255,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255],0);for(var vt=0;vt<De;vt++){var Wt=xe[vt].duration,$t=xe[vt].size,Rt=xe[vt].flags,Kt=xe[vt].cts;$e.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Rt.isLeading<<2|Rt.dependsOn,Rt.isDependedOn<<6|Rt.hasRedundancy<<4|Rt.isNonSync,0,0,Kt>>>24&255,Kt>>>16&255,Kt>>>8&255,Kt&255],12+16*vt)}return ae.box(ae.types.trun,$e)}},{key:"mdat",value:function(J){return ae.box(ae.types.mdat,J)}}]),ae}();Be.init();var Dt=Be,Ke=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"getSilentFrame",value:function(J,ne){if(J==="mp4a.40.2"){if(ne===1)return new Uint8Array([0,200,0,128,35,128]);if(ne===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(ne===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(ne===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(ne===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(ne===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(ne===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ne===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(ne===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),ae}(),At=Ke,Xe=function ae(pe,J,ne,xe,De){Object(g.a)(this,ae),this.dts=pe,this.pts=J,this.duration=ne,this.originalDts=xe,this.isSyncPoint=De,this.fileposition=null},et=function(){function ae(){Object(g.a)(this,ae),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(f.a)(ae,[{key:"appendSyncPoint",value:function(J){J.isSyncPoint=!0,this.syncPoints.push(J)}}]),ae}(),tt=function(){function ae(){Object(g.a)(this,ae),this._list=[]}return Object(f.a)(ae,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(J){var ne=this._list;if(J.length===0)return;ne.length>0&&J[0].originalDts<ne[ne.length-1].originalDts&&this.clear(),Array.prototype.push.apply(ne,J)}},{key:"getLastSyncPointBeforeDts",value:function(J){if(this._list.length==0)return null;var ne=this._list,xe=0,De=ne.length-1,Fe=0,$e=0,vt=De;for(J<ne[0].dts&&(xe=0,$e=vt+1);$e<=vt;)if(Fe=$e+Math.floor((vt-$e)/2),Fe===De||J>=ne[Fe].dts&&J<ne[Fe+1].dts){xe=Fe;break}else ne[Fe].dts<J?$e=Fe+1:vt=Fe-1;return this._list[xe]}}]),ae}(),ot=function(){function ae(pe){Object(g.a)(this,ae),this._type=pe,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(ae,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(J){var ne=this._list;if(ne.length===0)return-2;var xe=ne.length-1,De=0,Fe=0,$e=xe,vt=0;if(J<ne[0].originalBeginDts)return vt=-1,vt;for(;Fe<=$e;)if(De=Fe+Math.floor(($e-Fe)/2),De===xe||J>ne[De].lastSample.originalDts&&J<ne[De+1].originalBeginDts){vt=De;break}else ne[De].originalBeginDts<J?Fe=De+1:$e=De-1;return vt}},{key:"_searchNearestSegmentAfter",value:function(J){return this._searchNearestSegmentBefore(J)+1}},{key:"append",value:function(J){var ne=this._list,xe=J,De=this._lastAppendLocation,Fe=0;De!==-1&&De<ne.length&&xe.originalBeginDts>=ne[De].lastSample.originalDts&&(De===ne.length-1||De<ne.length-1&&xe.originalBeginDts<ne[De+1].originalBeginDts)?Fe=De+1:ne.length>0&&(Fe=this._searchNearestSegmentBefore(xe.originalBeginDts)+1),this._lastAppendLocation=Fe,this._list.splice(Fe,0,xe)}},{key:"getLastSegmentBefore",value:function(J){var ne=this._searchNearestSegmentBefore(J);return ne>=0?this._list[ne]:null}},{key:"getLastSampleBefore",value:function(J){var ne=this.getLastSegmentBefore(J);return ne!=null?ne.lastSample:null}},{key:"getLastSyncPointBefore",value:function(J){for(var ne=this._searchNearestSegmentBefore(J),xe=this._list[ne].syncPoints;xe.length===0&&ne>0;)ne--,xe=this._list[ne].syncPoints;return xe.length>0?xe[xe.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ae}(),Ve=function(){function ae(pe){Object(g.a)(this,ae),this.TAG="MP4Remuxer",this._config=pe,this._isLive=pe.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ot("audio"),this._videoSegmentInfoList=new ot("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661)),this._fillSilentAfterSeek=L.msedge||L.msie,this._mp3UseMpegAudio=!L.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(ae,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function(J){return J.onDataAvailable=this.remux.bind(this),J.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(J){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(J,ne){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(J,ne),this._remuxVideo(ne),this._remuxAudio(J)}},{key:"_onTrackMetadataReceived",value:function(J,ne){var xe=null,De="mp4",Fe=ne.codec;if(J==="audio")this._audioMeta=ne,ne.codec==="mp3"&&this._mp3UseMpegAudio?(De="mpeg",Fe="",xe=new Uint8Array):xe=Dt.generateInitSegment(ne);else if(J==="video")this._videoMeta=ne,xe=Dt.generateInitSegment(ne);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(J,{type:J,data:xe.buffer,codec:Fe,container:"".concat(J,"/").concat(De),mediaDuration:ne.duration})}},{key:"_calculateDtsBase",value:function(J,ne){if(this._dtsBaseInited)return;J.samples&&J.samples.length&&(this._audioDtsBase=J.samples[0].dts),ne.samples&&ne.samples.length&&(this._videoDtsBase=ne.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var J=this._videoStashedLastSample,ne=this._audioStashedLastSample,xe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};J!=null&&(xe.samples.push(J),xe.length=J.length);var De={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};ne!=null&&(De.samples.push(ne),De.length=ne.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(xe,!0),this._remuxAudio(De,!0)}},{key:"_remuxAudio",value:function(J,ne){if(this._audioMeta==null)return;var xe=J,De=xe.samples,Fe=void 0,$e=-1,vt=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Rt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Kt=this._dtsBaseInited&&this._audioNextDts===void 0,Gt=!1;if(!De||De.length===0)return;if(De.length===1&&!ne)return;var Qt=0,Mt=null,dr=0;Rt?(Qt=0,dr=xe.length):(Qt=8,dr=8+xe.length);var er=null;if(De.length>1&&(er=De.pop(),dr-=er.length),this._audioStashedLastSample!=null){var st=this._audioStashedLastSample;this._audioStashedLastSample=null,De.unshift(st),dr+=st.length}er!=null&&(this._audioStashedLastSample=er);var xt=De[0].dts-this._dtsBase;if(this._audioNextDts)Fe=xt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Fe=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Gt=!0));else{var ut=this._audioSegmentInfoList.getLastSampleBefore(xt);if(ut!=null){var pt=xt-(ut.originalDts+ut.duration);pt<=3&&(pt=0);var It=ut.dts+ut.duration+pt;Fe=xt-It}else Fe=0}if(Gt){var Tt=xt-Fe,ft=this._videoSegmentInfoList.getLastSegmentBefore(xt);if(ft!=null&&ft.beginDts<Tt){var Ht=At.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var Ft=ft.beginDts,ir=Tt-ft.beginDts;a.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Ft,", duration: ").concat(ir)),De.unshift({unit:Ht,dts:Ft,pts:Ft}),dr+=Ht.byteLength}}else Gt=!1}for(var Xt=[],mr=0;mr<De.length;mr++){var Ar=De[mr],Nr=Ar.unit,Fr=Ar.dts-this._dtsBase,tn=Fr-Fe;$e===-1&&($e=tn);var qr=0;if(mr!==De.length-1){var Lr=De[mr+1].dts-this._dtsBase-Fe;qr=Lr-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Fe;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var _r=!1,ur=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!L.safari){_r=!0;var pr=Math.abs(qr-$t),cr=Math.ceil(pr/$t),fr=tn+$t;a.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+"dts: ".concat(tn+qr," ms, expected: ").concat(tn+Math.round($t)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(cr," frames"));var xr=At.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);xr==null&&(a.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),xr=Nr),ur=[];for(var Yr=0;Yr<cr;Yr++){var un=Math.round(fr);if(ur.length>0){var Nn=ur[ur.length-1];Nn.duration=un-Nn.dts}var jr={dts:un,pts:un,cts:0,unit:xr,size:xr.byteLength,duration:0,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ur.push(jr),dr+=jr.size,fr+=$t}var Tn=ur[ur.length-1];Tn.duration=tn+qr-Tn.dts,qr=Math.round($t)}Xt.push({dts:tn,pts:tn,cts:0,unit:Ar.unit,size:Ar.unit.byteLength,duration:qr,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),_r&&Xt.push.apply(Xt,ur)}Rt?Mt=new Uint8Array(dr):(Mt=new Uint8Array(dr),Mt[0]=dr>>>24&255,Mt[1]=dr>>>16&255,Mt[2]=dr>>>8&255,Mt[3]=dr&255,Mt.set(Dt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Pn=Xt[gn].unit;Mt.set(Pn,Qt),Qt+=Pn.byteLength}var zn=Xt[Xt.length-1];vt=zn.dts+zn.duration,this._audioNextDts=vt;var qn=new et;qn.beginDts=$e,qn.endDts=vt,qn.beginPts=$e,qn.endPts=vt,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=zn.originalDts+zn.duration,qn.firstSample=new Xe(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Xe(zn.dts,zn.pts,zn.duration,zn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),xe.samples=Xt,xe.sequenceNumber++;var Yn=null;Rt?Yn=new Uint8Array:Yn=Dt.moof(xe,$e),xe.samples=[],xe.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,Mt).buffer,sampleCount:Xt.length,info:qn};Rt&&Kt&&(Vn.timestampOffset=$e),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(J,ne){if(this._videoMeta==null)return;var xe=J,De=xe.samples,Fe=void 0,$e=-1,vt=-1,Wt=-1,$t=-1;if(!De||De.length===0)return;if(De.length===1&&!ne)return;var Rt=8,Kt=null,Gt=8+J.length,Qt=null;if(De.length>1&&(Qt=De.pop(),Gt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,De.unshift(Mt),Gt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=De[0].dts-this._dtsBase;if(this._videoNextDts)Fe=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Fe=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var st=dr-(er.originalDts+er.duration);st<=3&&(st=0);var xt=er.dts+er.duration+st;Fe=dr-xt}else Fe=0}for(var ut=new et,pt=[],It=0;It<De.length;It++){var Tt=De[It],ft=Tt.dts-this._dtsBase,Ht=Tt.isKeyframe,Ft=ft-Fe,ir=Tt.cts,Xt=Ft+ir;$e===-1&&($e=Ft,Wt=Xt);var mr=0;if(It!==De.length-1){var Ar=De[It+1].dts-this._dtsBase-Fe;mr=Ar-Ft}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Fe;mr=Nr-Ft}else pt.length>=1?mr=pt[pt.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var Fr=new Xe(Ft,Xt,mr,Tt.dts,!0);Fr.fileposition=Tt.fileposition,ut.appendSyncPoint(Fr)}pt.push({dts:Ft,pts:Xt,cts:ir,units:Tt.units,size:Tt.length,isKeyframe:Ht,duration:mr,originalDts:ft,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}Kt=new Uint8Array(Gt),Kt[0]=Gt>>>24&255,Kt[1]=Gt>>>16&255,Kt[2]=Gt>>>8&255,Kt[3]=Gt&255,Kt.set(Dt.types.mdat,4);for(var tn=0;tn<pt.length;tn++)for(var qr=pt[tn].units;qr.length;){var Lr=qr.shift(),Qr=Lr.data;Kt.set(Qr,Rt),Rt+=Qr.byteLength}var _r=pt[pt.length-1];if(vt=_r.dts+_r.duration,$t=_r.pts+_r.duration,this._videoNextDts=vt,ut.beginDts=$e,ut.endDts=vt,ut.beginPts=Wt,ut.endPts=$t,ut.originalBeginDts=pt[0].originalDts,ut.originalEndDts=_r.originalDts+_r.duration,ut.firstSample=new Xe(pt[0].dts,pt[0].pts,pt[0].duration,pt[0].originalDts,pt[0].isKeyframe),ut.lastSample=new Xe(_r.dts,_r.pts,_r.duration,_r.originalDts,_r.isKeyframe),this._isLive||this._videoSegmentInfoList.append(ut),xe.samples=pt,xe.sequenceNumber++,this._forceFirstIDR){var ur=pt[0].flags;ur.dependsOn=2,ur.isNonSync=0}var pr=Dt.moof(xe,$e);xe.samples=[],xe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Kt).buffer,sampleCount:pt.length,info:ut})}},{key:"_mergeBoxes",value:function(J,ne){var xe=new Uint8Array(J.byteLength+ne.byteLength);return xe.set(J,0),xe.set(ne,J.byteLength),xe}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(J){this._onInitSegment=J}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(J){this._onMediaSegment=J}}]),ae}(),se=Ve,re={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},it=re,qe=function(){function ae(pe,J){Object(g.a)(this,ae),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=J,pe.segments||(pe.segments=[{duration:pe.duration,filesize:pe.filesize,url:pe.url}]),typeof pe.cors!="boolean"&&(pe.cors=!0),typeof pe.withCredentials!="boolean"&&(pe.withCredentials=!1),this._mediaDataSource=pe,this._currentSegmentIndex=0;var ne=0;this._mediaDataSource.segments.forEach(function(xe){xe.timestampBase=ne,ne+=xe.duration,xe.cors=pe.cors,xe.withCredentials=pe.withCredentials,J.referrerPolicy&&(xe.referrerPolicy=J.referrerPolicy)}),!isNaN(ne)&&this._mediaDataSource.duration!==ne&&(this._mediaDataSource.duration=ne),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(f.a)(ae,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(J,ne){this._emitter.addListener(J,ne)}},{key:"off",value:function(J,ne){this._emitter.removeListener(J,ne)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(J,ne){this._currentSegmentIndex=J;var xe=this._mediaDataSource.segments[J],De=this._ioctl=new W(xe,this._config,J);De.onError=this._onIOException.bind(this),De.onSeeked=this._onIOSeeked.bind(this),De.onComplete=this._onIOComplete.bind(this),De.onRedirect=this._onIORedirect.bind(this),De.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),ne?this._demuxer.bindDataSource(this._ioctl):De.onDataArrival=this._onInitChunkArrival.bind(this),De.open(ne)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function(J){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var ne=this._searchSegmentIndexContains(J);if(ne===this._currentSegmentIndex){var xe=this._mediaInfo.segments[ne];if(xe==null)this._pendingSeekTime=J;else{var De=xe.getNearestKeyframe(J);this._remuxer.seek(De.milliseconds),this._ioctl.seek(De.fileposition),this._pendingResolveSeekPoint=De.milliseconds}}else{var Fe=this._mediaInfo.segments[ne];if(Fe==null)this._pendingSeekTime=J,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(ne);else{var $e=Fe.getNearestKeyframe(J);this._internalAbort(),this._remuxer.seek(J),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[ne].timestampBase,this._loadSegment(ne,$e.fileposition),this._pendingResolveSeekPoint=$e.milliseconds,this._reportSegmentMediaInfo(ne)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(J){for(var ne=this._mediaDataSource.segments,xe=ne.length-1,De=0;De<ne.length;De++)if(J<ne[De].timestampBase){xe=De-1;break}return xe}},{key:"_onInitChunkArrival",value:function(J,ne){var xe=this,De=null,Fe=0;if(ne>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Fe=this._demuxer.parseChunks(J,ne);else if((De=Et.probe(J)).match){this._demuxer=new Et(De,this._config),this._remuxer||(this._remuxer=new se(this._config));var $e=this._mediaDataSource;$e.duration!=null&&!isNaN($e.duration)&&(this._demuxer.overridedDuration=$e.duration),typeof $e.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=$e.hasAudio),typeof $e.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=$e.hasVideo),this._demuxer.timestampBase=$e.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Fe=this._demuxer.parseChunks(J,ne)}else De=null,a.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){xe._internalAbort()}),this._emitter.emit(it.DEMUX_ERROR,oe.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Fe=0;return Fe}},{key:"_onMediaInfo",value:function(J){var ne=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},J),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,gt.prototype));var xe=Object.assign({},J);Object.setPrototypeOf(xe,gt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=xe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var De=ne._pendingSeekTime;ne._pendingSeekTime=null,ne.seek(De)})}},{key:"_onMetaDataArrived",value:function(J){this._emitter.emit(it.METADATA_ARRIVED,J)}},{key:"_onScriptDataArrived",value:function(J){this._emitter.emit(it.SCRIPTDATA_ARRIVED,J)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(J){var ne=J,xe=ne+1;xe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(xe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(it.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(J){var ne=this._ioctl.extraData;this._mediaDataSource.segments[ne].redirectedURL=J}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(it.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(J,ne){a.e(this.TAG,"IOException: type = ".concat(J,", code = ").concat(ne.code,", msg = ").concat(ne.msg)),this._emitter.emit(it.IO_ERROR,J,ne),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(J,ne){a.e(this.TAG,"DemuxException: type = ".concat(J,", info = ").concat(ne)),this._emitter.emit(it.DEMUX_ERROR,J,ne)}},{key:"_onRemuxerInitSegmentArrival",value:function(J,ne){this._emitter.emit(it.INIT_SEGMENT,J,ne)}},{key:"_onRemuxerMediaSegmentArrival",value:function(J,ne){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(it.MEDIA_SEGMENT,J,ne),this._pendingResolveSeekPoint!=null&&J==="video"){var xe=ne.info.syncPoints,De=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,L.safari&&xe.length>0&&xe[0].originalDts===De&&(De=xe[0].pts),this._emitter.emit(it.RECOMMEND_SEEKPOINT,De)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function(J){var ne=this._mediaInfo.segments[J],xe=Object.assign({},ne);xe.duration=this._mediaInfo.duration,xe.segmentCount=this._mediaInfo.segmentCount,delete xe.segments,delete xe.keyframesIndex,this._emitter.emit(it.MEDIA_INFO,xe)}},{key:"_reportStatisticsInfo",value:function(){var J={};J.url=this._ioctl.currentURL,J.hasRedirect=this._ioctl.hasRedirect,J.hasRedirect&&(J.redirectedURL=this._ioctl.currentRedirectedURL),J.speed=this._ioctl.currentSpeed,J.loaderType=this._ioctl.loaderType,J.currentSegmentIndex=this._currentSegmentIndex,J.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(it.STATISTICS_INFO,J)}}]),ae}(),be=qe,Zt=function(pe){var J="TransmuxingWorker",ne=null,xe=dr.bind(this);m.install(),pe.addEventListener("message",function(er){switch(er.data.cmd){case"init":ne=new be(er.data.param[0],er.data.param[1]),ne.on(it.IO_ERROR,Gt.bind(this)),ne.on(it.DEMUX_ERROR,Qt.bind(this)),ne.on(it.INIT_SEGMENT,De.bind(this)),ne.on(it.MEDIA_SEGMENT,Fe.bind(this)),ne.on(it.LOADING_COMPLETE,$e.bind(this)),ne.on(it.RECOVERED_EARLY_EOF,vt.bind(this)),ne.on(it.MEDIA_INFO,Wt.bind(this)),ne.on(it.METADATA_ARRIVED,$t.bind(this)),ne.on(it.SCRIPTDATA_ARRIVED,Rt.bind(this)),ne.on(it.STATISTICS_INFO,Kt.bind(this)),ne.on(it.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":ne&&(ne.destroy(),ne=null),pe.postMessage({msg:"destroyed"});break;case"start":ne.start();break;case"stop":ne.stop();break;case"seek":ne.seek(er.data.param);break;case"pause":ne.pause();break;case"resume":ne.resume();break;case"logging_config":{var st=er.data.param;Ue.applyConfig(st),st.enableCallback===!0?Ue.addLogListener(xe):Ue.removeLogListener(xe);break}}});function De(er,st){var xt={msg:it.INIT_SEGMENT,data:{type:er,data:st}};pe.postMessage(xt,[st.data])}function Fe(er,st){var xt={msg:it.MEDIA_SEGMENT,data:{type:er,data:st}};pe.postMessage(xt,[st.data])}function $e(){var er={msg:it.LOADING_COMPLETE};pe.postMessage(er)}function vt(){var er={msg:it.RECOVERED_EARLY_EOF};pe.postMessage(er)}function Wt(er){var st={msg:it.MEDIA_INFO,data:er};pe.postMessage(st)}function $t(er){var st={msg:it.METADATA_ARRIVED,data:er};pe.postMessage(st)}function Rt(er){var st={msg:it.SCRIPTDATA_ARRIVED,data:er};pe.postMessage(st)}function Kt(er){var st={msg:it.STATISTICS_INFO,data:er};pe.postMessage(st)}function Gt(er,st){pe.postMessage({msg:it.IO_ERROR,data:{type:er,info:st}})}function Qt(er,st){pe.postMessage({msg:it.DEMUX_ERROR,data:{type:er,info:st}})}function Mt(er){pe.postMessage({msg:it.RECOMMEND_SEEKPOINT,data:er})}function dr(er,st){pe.postMessage({msg:"logcat_callback",data:{type:er,logcat:st}})}},dt=Zt,ct=function(){function ae(pe,J){if(Object(g.a)(this,ae),this.TAG="Transmuxer",this._emitter=new h.a,J.enableWorker&&typeof Worker!="undefined")try{var ne=e("0r65");this._worker=ne(dt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[pe,J]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ue.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ue.getConfig()})}catch(De){a.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new be(pe,J)}else this._controller=new be(pe,J);if(this._controller){var xe=this._controller;xe.on(it.IO_ERROR,this._onIOError.bind(this)),xe.on(it.DEMUX_ERROR,this._onDemuxError.bind(this)),xe.on(it.INIT_SEGMENT,this._onInitSegment.bind(this)),xe.on(it.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),xe.on(it.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),xe.on(it.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),xe.on(it.MEDIA_INFO,this._onMediaInfo.bind(this)),xe.on(it.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),xe.on(it.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),xe.on(it.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),xe.on(it.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(ae,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ue.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(J,ne){this._emitter.addListener(J,ne)}},{key:"off",value:function(J,ne){this._emitter.removeListener(J,ne)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function(J){this._worker?this._worker.postMessage({cmd:"seek",param:J}):this._controller.seek(J)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function(J,ne){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(it.INIT_SEGMENT,J,ne)})}},{key:"_onMediaSegment",value:function(J,ne){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(it.MEDIA_SEGMENT,J,ne)})}},{key:"_onLoadingComplete",value:function(){var J=this;Promise.resolve().then(function(){J._emitter.emit(it.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var J=this;Promise.resolve().then(function(){J._emitter.emit(it.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(J){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.MEDIA_INFO,J)})}},{key:"_onMetaDataArrived",value:function(J){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.METADATA_ARRIVED,J)})}},{key:"_onScriptDataArrived",value:function(J){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.SCRIPTDATA_ARRIVED,J)})}},{key:"_onStatisticsInfo",value:function(J){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.STATISTICS_INFO,J)})}},{key:"_onIOError",value:function(J,ne){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(it.IO_ERROR,J,ne)})}},{key:"_onDemuxError",value:function(J,ne){var xe=this;Promise.resolve().then(function(){xe._emitter.emit(it.DEMUX_ERROR,J,ne)})}},{key:"_onRecommendSeekpoint",value:function(J){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.RECOMMEND_SEEKPOINT,J)})}},{key:"_onLoggingConfigChanged",value:function(J){this._worker&&this._worker.postMessage({cmd:"logging_config",param:J})}},{key:"_onWorkerMessage",value:function(J){var ne=J.data,xe=ne.data;if(ne.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(ne.msg){case it.INIT_SEGMENT:case it.MEDIA_SEGMENT:this._emitter.emit(ne.msg,xe.type,xe.data);break;case it.LOADING_COMPLETE:case it.RECOVERED_EARLY_EOF:this._emitter.emit(ne.msg);break;case it.MEDIA_INFO:Object.setPrototypeOf(xe,gt.prototype),this._emitter.emit(ne.msg,xe);break;case it.METADATA_ARRIVED:case it.SCRIPTDATA_ARRIVED:case it.STATISTICS_INFO:this._emitter.emit(ne.msg,xe);break;case it.IO_ERROR:case it.DEMUX_ERROR:this._emitter.emit(ne.msg,xe.type,xe.info);break;case it.RECOMMEND_SEEKPOINT:this._emitter.emit(ne.msg,xe);break;case"logcat_callback":a.emitter.emit("log",xe.type,xe.logcat);break;default:break}}}]),ae}(),yt=ct,_t={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=_t,Bt=function(){function ae(pe){Object(g.a)(this,ae),this.TAG="MSEController",this._config=pe,this._emitter=new h.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new tt}return Object(f.a)(ae,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(J,ne){this._emitter.addListener(J,ne)}},{key:"off",value:function(J,ne){this._emitter.removeListener(J,ne)}},{key:"attachMediaElement",value:function(J){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var ne=this._mediaSource=new window.MediaSource;ne.addEventListener("sourceopen",this.e.onSourceOpen),ne.addEventListener("sourceended",this.e.onSourceEnded),ne.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=J,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),J.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var J=this._mediaSource;for(var ne in this._sourceBuffers){var xe=this._pendingSegments[ne];xe.splice(0,xe.length),this._pendingSegments[ne]=null,this._pendingRemoveRanges[ne]=null,this._lastInitSegments[ne]=null;var De=this._sourceBuffers[ne];if(De){if(J.readyState!=="closed"){try{J.removeSourceBuffer(De)}catch(Fe){a.e(this.TAG,Fe.message)}De.removeEventListener("error",this.e.onSourceBufferError),De.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[ne]=null,this._sourceBuffers[ne]=null}}if(J.readyState==="open")try{J.endOfStream()}catch(Fe){a.e(this.TAG,Fe.message)}J.removeEventListener("sourceopen",this.e.onSourceOpen),J.removeEventListener("sourceended",this.e.onSourceEnded),J.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function(J,ne){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(J),this._pendingSegments[J.type].push(J);return}var xe=J,De="".concat(xe.container);xe.codec&&xe.codec.length>0&&(De+=";codecs=".concat(xe.codec));var Fe=!1;if(a.v(this.TAG,"Received Initialization Segment, mimeType: "+De),this._lastInitSegments[xe.type]=xe,De!==this._mimeTypes[xe.type]){if(this._mimeTypes[xe.type])a.v(this.TAG,"Notice: ".concat(xe.type," mimeType changed, origin: ").concat(this._mimeTypes[xe.type],", target: ").concat(De));else{Fe=!0;try{var $e=this._sourceBuffers[xe.type]=this._mediaSource.addSourceBuffer(De);$e.addEventListener("error",this.e.onSourceBufferError),$e.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(vt){a.e(this.TAG,vt.message),this._emitter.emit(or.ERROR,{code:vt.code,msg:vt.message});return}}this._mimeTypes[xe.type]=De}ne||this._pendingSegments[xe.type].push(xe),Fe||this._sourceBuffers[xe.type]&&!this._sourceBuffers[xe.type].updating&&this._doAppendSegments(),L.safari&&xe.container==="audio/mpeg"&&xe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=xe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(J){var ne=J;this._pendingSegments[ne.type].push(ne),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var xe=this._sourceBuffers[ne.type];xe&&!xe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(J){for(var ne in this._sourceBuffers){if(!this._sourceBuffers[ne])continue;var xe=this._sourceBuffers[ne];if(this._mediaSource.readyState==="open")try{xe.abort()}catch($t){a.e(this.TAG,$t.message)}this._idrList.clear();var De=this._pendingSegments[ne];if(De.splice(0,De.length),this._mediaSource.readyState==="closed")continue;for(var Fe=0;Fe<xe.buffered.length;Fe++){var $e=xe.buffered.start(Fe),vt=xe.buffered.end(Fe);this._pendingRemoveRanges[ne].push({start:$e,end:vt})}if(xe.updating||this._doRemoveRanges(),L.safari){var Wt=this._lastInitSegments[ne];Wt&&(this._pendingSegments[ne].push(Wt),xe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var J=this._mediaSource,ne=this._sourceBuffers;if(!J||J.readyState!=="open"){J&&J.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}ne.video&&ne.video.updating||ne.audio&&ne.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,J.endOfStream())}},{key:"getNearestKeyframe",value:function(J){return this._idrList.getLastSyncPointBeforeDts(J)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var J=this._mediaElement.currentTime;for(var ne in this._sourceBuffers){var xe=this._sourceBuffers[ne];if(xe){var De=xe.buffered;if(De.length>=1&&J-De.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var J=this._mediaElement.currentTime;for(var ne in this._sourceBuffers){var xe=this._sourceBuffers[ne];if(xe){for(var De=xe.buffered,Fe=!1,$e=0;$e<De.length;$e++){var vt=De.start($e),Wt=De.end($e);if(vt<=J&&J<Wt+3){if(J-vt>=this._config.autoCleanupMaxBackwardDuration){Fe=!0;var $t=J-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[ne].push({start:vt,end:$t})}}else Wt<J&&(Fe=!0,this._pendingRemoveRanges[ne].push({start:vt,end:Wt}))}Fe&&!xe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var J=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(J.video&&J.video.updating||J.audio&&J.audio.updating)return;var ne=this._mediaSource.duration,xe=this._pendingMediaDuration;xe>0&&(isNaN(ne)||xe>ne)&&(a.v(this.TAG,"Update MediaSource duration from ".concat(ne," to ").concat(xe)),this._mediaSource.duration=xe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var J in this._pendingRemoveRanges){if(!this._sourceBuffers[J]||this._sourceBuffers[J].updating)continue;for(var ne=this._sourceBuffers[J],xe=this._pendingRemoveRanges[J];xe.length&&!ne.updating;){var De=xe.shift();ne.remove(De.start,De.end)}}}},{key:"_doAppendSegments",value:function(){var J=this._pendingSegments;for(var ne in J){if(!this._sourceBuffers[ne]||this._sourceBuffers[ne].updating)continue;if(J[ne].length>0){var xe=J[ne].shift();if(xe.timestampOffset){var De=this._sourceBuffers[ne].timestampOffset,Fe=xe.timestampOffset/1e3,$e=Math.abs(De-Fe);$e>.1&&(a.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(De," to ").concat(Fe)),this._sourceBuffers[ne].timestampOffset=Fe),delete xe.timestampOffset}if(!xe.data||xe.data.byteLength===0)continue;try{this._sourceBuffers[ne].appendBuffer(xe.data),this._isBufferFull=!1,ne==="video"&&xe.hasOwnProperty("info")&&this._idrList.appendArray(xe.info.syncPoints)}catch(vt){this._pendingSegments[ne].unshift(xe),vt.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(a.e(this.TAG,vt.message),this._emitter.emit(or.ERROR,{code:vt.code,msg:vt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(a.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var J=this._pendingSourceBufferInit;J.length;){var ne=J.shift();this.appendInitSegment(ne,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){a.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){a.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var J=this._pendingSegments;return J.video.length>0||J.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var J=this._pendingRemoveRanges;return J.video.length>0||J.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function(J){a.e(this.TAG,"SourceBuffer Error: ".concat(J))}}]),ae}(),we=Bt,ve={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},me={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:oe.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:oe.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:oe.CODEC_UNSUPPORTED},he=function(){function ae(pe,J){if(Object(g.a)(this,ae),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=$(),typeof J=="object"&&Object.assign(this._config,J),pe.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");pe.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=pe,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var ne=L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661);this._alwaysSeekKeyframe=!!(ne||L.msedge||L.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(ae,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(J,ne){var xe=this;J===Ce.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){xe._emitter.emit(Ce.MEDIA_INFO,xe.mediaInfo)}):J===Ce.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){xe._emitter.emit(Ce.STATISTICS_INFO,xe.statisticsInfo)})),this._emitter.addListener(J,ne)}},{key:"off",value:function(J,ne){this._emitter.removeListener(J,ne)}},{key:"attachMediaElement",value:function(J){var ne=this;if(this._mediaElement=J,J.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),J.addEventListener("seeking",this.e.onvSeeking),J.addEventListener("canplay",this.e.onvCanPlay),J.addEventListener("stalled",this.e.onvStalled),J.addEventListener("progress",this.e.onvProgress),this._msectl=new we(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){ne._mseSourceOpened=!0,ne._hasPendingLoad&&(ne._hasPendingLoad=!1,ne.load())}),this._msectl.on(or.ERROR,function(xe){ne._emitter.emit(Ce.ERROR,ve.MEDIA_ERROR,me.MEDIA_MSE_ERROR,xe)}),this._msectl.attachMediaElement(J),this._pendingSeekTime!=null)try{J.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(xe){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var J=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new yt(this._mediaDataSource,this._config),this._transmuxer.on(it.INIT_SEGMENT,function(ne,xe){J._msectl.appendInitSegment(xe)}),this._transmuxer.on(it.MEDIA_SEGMENT,function(ne,xe){if(J._msectl.appendMediaSegment(xe),J._config.lazyLoad&&!J._config.isLive){var De=J._mediaElement.currentTime;xe.info.endDts>=(De+J._config.lazyLoadMaxDuration)*1e3&&(J._progressChecker==null&&(a.v(J.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),J._suspendTransmuxer()))}}),this._transmuxer.on(it.LOADING_COMPLETE,function(){J._msectl.endOfStream(),J._emitter.emit(Ce.LOADING_COMPLETE)}),this._transmuxer.on(it.RECOVERED_EARLY_EOF,function(){J._emitter.emit(Ce.RECOVERED_EARLY_EOF)}),this._transmuxer.on(it.IO_ERROR,function(ne,xe){J._emitter.emit(Ce.ERROR,ve.NETWORK_ERROR,ne,xe)}),this._transmuxer.on(it.DEMUX_ERROR,function(ne,xe){J._emitter.emit(Ce.ERROR,ve.MEDIA_ERROR,ne,{code:-1,msg:xe})}),this._transmuxer.on(it.MEDIA_INFO,function(ne){J._mediaInfo=ne,J._emitter.emit(Ce.MEDIA_INFO,Object.assign({},ne))}),this._transmuxer.on(it.METADATA_ARRIVED,function(ne){J._emitter.emit(Ce.METADATA_ARRIVED,ne)}),this._transmuxer.on(it.SCRIPTDATA_ARRIVED,function(ne){J._emitter.emit(Ce.SCRIPTDATA_ARRIVED,ne)}),this._transmuxer.on(it.STATISTICS_INFO,function(ne){J._statisticsInfo=J._fillStatisticsInfo(ne),J._emitter.emit(Ce.STATISTICS_INFO,Object.assign({},J._statisticsInfo))}),this._transmuxer.on(it.RECOMMEND_SEEKPOINT,function(ne){J._mediaElement&&!J._config.accurateSeek&&(J._requestSetTime=!0,J._mediaElement.currentTime=ne/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function(J){if(J.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return J;var ne=!0,xe=0,De=0;if(this._mediaElement.getVideoPlaybackQuality){var Fe=this._mediaElement.getVideoPlaybackQuality();xe=Fe.totalVideoFrames,De=Fe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(xe=this._mediaElement.webkitDecodedFrameCount,De=this._mediaElement.webkitDroppedFrameCount):ne=!1;return ne&&(J.decodedFrames=xe,J.droppedFrames=De),J}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var J=this._mediaElement.buffered,ne=this._mediaElement.currentTime,xe=0,De=0,Fe=0;Fe<J.length;Fe++){var $e=J.start(Fe),vt=J.end(Fe);if($e<=ne&&ne<vt){xe=$e,De=vt;break}}De>=ne+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(a.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){a.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var J=this._mediaElement.currentTime,ne=this._mediaElement.buffered,xe=!1,De=0;De<ne.length;De++){var Fe=ne.start(De),$e=ne.end(De);if(J>=Fe&&J<$e){J>=$e-this._config.lazyLoadRecoverDuration&&(xe=!0);break}}xe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,xe&&(a.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(J){for(var ne=this._mediaElement.buffered,xe=0;xe<ne.length;xe++){var De=ne.start(xe),Fe=ne.end(xe);if(J>=De&&J<Fe)return!0}return!1}},{key:"_internalSeek",value:function(J){var ne=this._isTimepointBuffered(J),xe=!1,De=0;if(J<1&&this._mediaElement.buffered.length>0){var Fe=this._mediaElement.buffered.start(0);(Fe<1&&J<Fe||L.safari)&&(xe=!0,De=L.safari?.1:Fe)}if(xe)this._requestSetTime=!0,this._mediaElement.currentTime=De;else if(ne){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=J;else{var $e=this._msectl.getNearestKeyframe(Math.floor(J*1e3));this._requestSetTime=!0,$e!=null?this._mediaElement.currentTime=$e.dts/1e3:this._mediaElement.currentTime=J}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(J),this._transmuxer.seek(Math.floor(J*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=J)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var J=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(J)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(J),this._transmuxer.seek(Math.floor(J*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=J))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(J){var ne=this._mediaElement;if(J||!this._receivedCanPlay||ne.readyState<2){var xe=ne.buffered;xe.length>0&&ne.currentTime<xe.start(0)&&(a.w(this.TAG,"Playback seems stuck at ".concat(ne.currentTime,", seek to ").concat(xe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=xe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(J){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(J){var ne=this._mediaElement.currentTime,xe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(ne<1&&xe.length>0){var De=xe.start(0);if(De<1&&ne<De||L.safari){this._requestSetTime=!0,this._mediaElement.currentTime=L.safari?.1:De;return}}if(this._isTimepointBuffered(ne)){if(this._alwaysSeekKeyframe){var Fe=this._msectl.getNearestKeyframe(Math.floor(ne*1e3));Fe!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Fe.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:ne,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(J){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(J){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(J){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(J){this._mediaElement.volume=J}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(J){this._mediaElement.muted=J}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(J){this._mediaElement?this._internalSeek(J):this._pendingSeekTime=J}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),ae}(),Re=he,He=function(){function ae(pe,J){if(Object(g.a)(this,ae),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=$(),typeof J=="object"&&Object.assign(this._config,J),pe.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(pe.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(pe.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=pe,this._mediaElement=null}return Object(f.a)(ae,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(J,ne){var xe=this;J===Ce.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){xe._emitter.emit(Ce.MEDIA_INFO,xe.mediaInfo)}):J===Ce.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){xe._emitter.emit(Ce.STATISTICS_INFO,xe.statisticsInfo)})),this._emitter.addListener(J,ne)}},{key:"off",value:function(J,ne){this._emitter.removeListener(J,ne)}},{key:"attachMediaElement",value:function(J){if(this._mediaElement=J,J.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{J.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(ne){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function(J){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ce.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ce.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function(J){this._mediaElement.volume=J}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(J){this._mediaElement.muted=J}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(J){this._mediaElement?this._mediaElement.currentTime=J:this._pendingSeekTime=J}},{key:"mediaInfo",get:function(){var J=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",ne={mimeType:J+this._mediaDataSource.type};return this._mediaElement&&(ne.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(ne.width=this._mediaElement.videoWidth,ne.height=this._mediaElement.videoHeight)),ne}},{key:"statisticsInfo",get:function(){var J={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return J;var ne=!0,xe=0,De=0;if(this._mediaElement.getVideoPlaybackQuality){var Fe=this._mediaElement.getVideoPlaybackQuality();xe=Fe.totalVideoFrames,De=Fe.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(xe=this._mediaElement.webkitDecodedFrameCount,De=this._mediaElement.webkitDroppedFrameCount):ne=!1;return ne&&(J.decodedFrames=xe,J.droppedFrames=De),J}}]),ae}(),ze=He;m.install();function Ye(ae,pe){var J=ae;if(J==null||typeof J!="object")throw new t("MediaDataSource must be an javascript object!");if(!J.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(J.type){case"flv":return new Re(J,pe);default:return new ze(J,pe)}}function Pe(){return q.supportMSEH264Playback()}function nt(){return q.getFeatureList()}var bt={};bt.createPlayer=Ye,bt.isSupported=Pe,bt.getFeatureList=nt,bt.BaseLoader=w,bt.LoaderStatus=u,bt.LoaderErrors=p,bt.Events=Ce,bt.ErrorTypes=ve,bt.ErrorDetails=me,bt.FlvPlayer=Re,bt.NativePlayer=ze,bt.LoggingControl=Ue,Object.defineProperty(bt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ot=_.a=bt},GVMX:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});D.exports=f},GdRQ:function(D,_,e){"use strict";function g(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(x){return typeof x}:g=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},g(T)}Object.defineProperty(_,"__esModule",{value:!0}),_.isMac=u,_.isWindows=p,_.isIOS=w,_.isSafari=b,_.isIE=E,_.isEdge=A,_.isFirefox=S,_.hasScrollbarGutter=_.supportsImageMetadata=_.supportsCursorURIs=_.dragThreshold=_.isTouchDevice=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return y=function(){return T},T}function m(T){if(T&&T.__esModule)return T;if(T===null||g(T)!=="object"&&typeof T!="function")return{default:T};var L=y();if(L&&L.has(T))return L.get(T);var x={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in T)if(Object.prototype.hasOwnProperty.call(T,O)){var N=C?Object.getOwnPropertyDescriptor(T,O):null;N&&(N.get||N.set)?Object.defineProperty(x,O,N):x[O]=T[O]}return x.default=T,L&&L.set(T,x),x}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;_.isTouchDevice=v,window.addEventListener("touchstart",function T(){_.isTouchDevice=v=!0,window.removeEventListener("touchstart",T,!1)},!1);var h=10*(window.devicePixelRatio||1);_.dragThreshold=h;var c=!1;try{var a=document.createElement("canvas");a.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',a.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),c=!0):f.Warn("Data URI scheme cursor not supported")}catch(T){f.Error("Data URI scheme cursor test exception: "+T)}var i=c;_.supportsCursorURIs=i;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(T){}var o=r;_.supportsImageMetadata=o;var d=!0;try{var n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);var l=document.createElement("div");n.appendChild(l);var t=n.offsetWidth-l.offsetWidth;n.parentNode.removeChild(n),d=t!=0}catch(T){f.Error("Scrollbar test exception: "+T)}var s=d;_.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function w(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function b(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function E(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function A(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),m=e("y+Vt"),v=e("sK/D"),h=v.createClipPath,c=["itemStyle"],a=["emphasis","itemStyle"],i=["color","color0","borderColor","borderColor0"],r=f.extend({type:"candlestick",render:function(b,E,A){this.group.removeClipPath(),this._updateDrawMode(b),this._isLargeDraw?this._renderLarge(b):this._renderNormal(b)},incrementalPrepareRender:function(b,E,A){this._clear(),this._updateDrawMode(b)},incrementalRender:function(b,E,A,S){this._isLargeDraw?this._incrementalRenderLarge(b,E):this._incrementalRenderNormal(b,E)},_updateDrawMode:function(b){var E=b.pipelineContext.large;(this._isLargeDraw==null||E^this._isLargeDraw)&&(this._isLargeDraw=E,this._clear())},_renderNormal:function(b){var E=b.getData(),A=this._data,S=this.group,T=E.getLayout("isSimpleBox"),L=b.get("clip",!0),x=b.coordinateSystem,C=x.getArea&&x.getArea();this._data||S.removeAll(),E.diff(A).add(function(O){if(E.hasValue(O)){var N,F=E.getItemLayout(O);if(L&&n(C,F))return;N=d(F,O,!0),y.initProps(N,{shape:{points:F.ends}},b,O),l(N,E,O,T),S.add(N),E.setItemGraphicEl(O,N)}}).update(function(O,N){var F=A.getItemGraphicEl(N);if(!E.hasValue(O)){S.remove(F);return}var k=E.getItemLayout(O);if(L&&n(C,k)){S.remove(F);return}F?y.updateProps(F,{shape:{points:k.ends}},b,O):F=d(k,O),l(F,E,O,T),S.add(F),E.setItemGraphicEl(O,F)}).remove(function(O){var N=A.getItemGraphicEl(O);N&&S.remove(N)}).execute(),this._data=E},_renderLarge:function(b){this._clear(),u(b,this.group);var E=b.get("clip",!0)?h(b.coordinateSystem,!1,b):null;E?this.group.setClipPath(E):this.group.removeClipPath()},_incrementalRenderNormal:function(b,E){for(var A=E.getData(),S=A.getLayout("isSimpleBox"),T;(T=b.next())!=null;){var L,x=A.getItemLayout(T);L=d(x,T),l(L,A,T,S),L.incremental=!0,this.group.add(L)}},_incrementalRenderLarge:function(b,E){u(E,this.group,!0)},remove:function(b){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),o=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(b,E){var A=E.points;this.__simpleBox?(b.moveTo(A[4][0],A[4][1]),b.lineTo(A[6][0],A[6][1])):(b.moveTo(A[0][0],A[0][1]),b.lineTo(A[1][0],A[1][1]),b.lineTo(A[2][0],A[2][1]),b.lineTo(A[3][0],A[3][1]),b.closePath(),b.moveTo(A[4][0],A[4][1]),b.lineTo(A[5][0],A[5][1]),b.moveTo(A[6][0],A[6][1]),b.lineTo(A[7][0],A[7][1]))}});function d(b,E,A){var S=b.ends;return new o({shape:{points:A?t(S,b):S},z2:100})}function n(b,E){for(var A=!0,S=0;S<E.ends.length;S++)if(b.contain(E.ends[S][0],E.ends[S][1])){A=!1;break}return A}function l(b,E,A,S){var T=E.getItemModel(A),L=T.getModel(c),x=E.getItemVisual(A,"color"),C=E.getItemVisual(A,"borderColor")||x,O=L.getItemStyle(i);b.useStyle(O),b.style.strokeNoScale=!0,b.style.fill=x,b.style.stroke=C,b.__simpleBox=S;var N=T.getModel(a).getItemStyle();y.setHoverStyle(b,N)}function t(b,E){return g.map(b,function(A){return A=A.slice(),A[1]=E.initBaseline,A})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(b,E){for(var A=E.points,S=0;S<A.length;)if(this.__sign===A[S++]){var T=A[S++];b.moveTo(T,A[S++]),b.lineTo(T,A[S++])}else S+=3}});function u(b,E,A){var S=b.getData(),T=S.getLayout("largePoints"),L=new s({shape:{points:T},__sign:1});E.add(L);var x=new s({shape:{points:T},__sign:-1});E.add(x),p(1,L,b,S),p(-1,x,b,S),A&&(L.incremental=!0,x.incremental=!0)}function p(b,E,A,S){var T=b>0?"P":"N",L=S.getVisual("borderColor"+T)||S.getVisual("color"+T),x=A.getModel(c).getItemStyle(i);E.useStyle(x),E.style.fill=null,E.style.stroke=L}var w=r;D.exports=w},Gev7:function(D,_,e){var g=e("bYtY"),f=e("K2GJ"),y=e("1bdT"),m=e("ni6a");function v(c){c=c||{},y.call(this,c);for(var a in c)c.hasOwnProperty(a)&&a!=="style"&&(this[a]=c[a]);this.style=new f(c.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(a){},afterBrush:function(a){},brush:function(a,i){},getBoundingRect:function(){},contain:function(a,i){return this.rectContain(a,i)},traverse:function(a,i){a.call(i,this)},rectContain:function(a,i){var r=this.transformCoordToLocal(a,i),o=this.getBoundingRect();return o.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(a){return this.animate("style",a)},attrKV:function(a,i){a!=="style"?y.prototype.attrKV.call(this,a,i):this.style.set(i)},setStyle:function(a,i){return this.style.set(a,i),this.dirty(!1),this},useStyle:function(a){return this.style=new f(a,this),this.dirty(!1),this},calculateTextPosition:null},g.inherits(v,y),g.mixin(v,m);var h=v;D.exports=h},GrNh:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6Ic6");function m(r,o,d,n){var l=o.getData(),t=this.dataIndex,s=l.getName(t),u=o.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:r,name:s,seriesId:o.id}),l.each(function(p){v(l.getItemGraphicEl(p),l.getItemLayout(p),o.isSelected(l.getName(p)),u,d)})}function v(r,o,d,n,l){var t=(o.startAngle+o.endAngle)/2,s=Math.cos(t),u=Math.sin(t),p=d?n:0,w=[s*p,u*p];l?r.animate().when(200,{position:w}).start("bounceOut"):r.attr("position",w)}function h(r,o){f.Group.call(this);var d=new f.Sector({z2:2}),n=new f.Polyline,l=new f.Text;this.add(d),this.add(n),this.add(l),this.updateData(r,o,!0)}var c=h.prototype;c.updateData=function(r,o,d){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),s=r.hostModel,u=r.getItemModel(o),p=r.getItemLayout(o),w=g.extend({},p);w.label=null;var b=s.getShallow("animationTypeUpdate");if(d){n.setShape(w);var E=s.getShallow("animationType");E==="scale"?(n.shape.r=p.r0,f.initProps(n,{shape:{r:p.r}},s,o)):(n.shape.endAngle=p.startAngle,f.updateProps(n,{shape:{endAngle:p.endAngle}},s,o))}else b==="expansion"?n.setShape(w):f.updateProps(n,{shape:w},s,o);var A=r.getItemVisual(o,"color");n.useStyle(g.defaults({lineJoin:"bevel",fill:A},u.getModel("itemStyle").getItemStyle())),n.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var S=u.getShallow("cursor");S&&n.attr("cursor",S),v(this,r.getItemLayout(o),s.isSelected(r.getName(o)),s.get("selectedOffset"),s.get("animation"));var T=!d&&b==="transition";this._updateLabel(r,o,T),this.highDownOnUpdate=s.get("silent")?null:function(L,x){var C=s.isAnimationEnabled()&&u.get("hoverAnimation");x==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r}},300,"elasticOut")))},f.setHoverStyle(this)},c._updateLabel=function(r,o,d){var n=this.childAt(1),l=this.childAt(2),t=r.hostModel,s=r.getItemModel(o),u=r.getItemLayout(o),p=u.label,w=r.getItemVisual(o,"color");if(!p||isNaN(p.x)||isNaN(p.y)){l.ignore=l.normalIgnore=l.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var b={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},E={x:p.x,y:p.y};d?(f.updateProps(n,{shape:b},t,o),f.updateProps(l,{style:E},t,o)):(n.attr({shape:b}),l.attr({style:E})),l.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var A=s.getModel("label"),S=s.getModel("emphasis.label"),T=s.getModel("labelLine"),L=s.getModel("emphasis.labelLine"),w=r.getItemVisual(o,"color");f.setLabelStyle(l.style,l.hoverStyle={},A,S,{labelFetcher:r.hostModel,labelDataIndex:o,defaultText:p.text,autoColor:w,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:r.getItemVisual(o,"opacity")}),l.ignore=l.normalIgnore=!A.get("show"),l.hoverIgnore=!S.get("show"),n.ignore=n.normalIgnore=!T.get("show"),n.hoverIgnore=!L.get("show"),n.setStyle({stroke:w,opacity:r.getItemVisual(o,"opacity")}),n.setStyle(T.getModel("lineStyle").getLineStyle()),n.hoverStyle=L.getModel("lineStyle").getLineStyle();var x=T.get("smooth");x&&x===!0&&(x=.4),n.setShape({smooth:x})},g.inherits(h,f.Group);var a=y.extend({type:"pie",init:function(){var r=new f.Group;this._sectorGroup=r},render:function(r,o,d,n){if(n&&n.from===this.uid)return;var l=r.getData(),t=this._data,s=this.group,u=o.get("animation"),p=!t,w=r.get("animationType"),b=r.get("animationTypeUpdate"),E=g.curry(m,this.uid,r,u,d),A=r.get("selectedMode");if(l.diff(t).add(function(C){var O=new h(l,C);p&&w!=="scale"&&O.eachChild(function(N){N.stopAnimation(!0)}),A&&O.on("click",E),l.setItemGraphicEl(C,O),s.add(O)}).update(function(C,O){var N=t.getItemGraphicEl(O);!p&&b!=="transition"&&N.eachChild(function(F){F.stopAnimation(!0)}),N.updateData(l,C),N.off("click"),A&&N.on("click",E),s.add(N),l.setItemGraphicEl(C,N)}).remove(function(C){var O=t.getItemGraphicEl(C);s.remove(O)}).execute(),u&&l.count()>0&&(p?w!=="scale":b!=="transition")){for(var S=l.getItemLayout(0),T=1;isNaN(S.startAngle)&&T<l.count();++T)S=l.getItemLayout(T);var L=Math.max(d.getWidth(),d.getHeight())/2,x=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(S.cx,S.cy,L,S.startAngle,S.clockwise,x,r,p))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(r,o,d,n,l,t,s,u){var p=new f.Sector({shape:{cx:r,cy:o,r0:0,r:d,startAngle:n,endAngle:n,clockwise:l}}),w=u?f.initProps:f.updateProps;return w(p,{shape:{endAngle:n+(l?1:-1)*Math.PI*2}},s,t),p},containPoint:function(r,o){var d=o.getData(),n=d.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),i=a;D.exports=i},Gytx:function(D,_){D.exports=function(g,f,y,m){var v=y?y.call(m,g,f):void 0;if(v!==void 0)return!!v;if(g===f)return!0;if(typeof g!="object"||!g||typeof f!="object"||!f)return!1;var h=Object.keys(g),c=Object.keys(f);if(h.length!==c.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(f),i=0;i<h.length;i++){var r=h[i];if(!a(r))return!1;var o=g[r],d=f[r];if(v=y?y.call(m,o,d,r):void 0,v===!1||v===void 0&&o!==d)return!1}return!0}},GzdX:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("rePB"),h=e("1OyB"),c=e("vuIU"),a=e("Ji7U"),i=e("md7G"),r=e("foSv"),o=e("m+aA"),d=e("TSYQ"),n=e.n(d),l=e("4IlW");function t(U){var j=U.pageXOffset,H="scrollLeft";if(typeof j!="number"){var V=U.document;j=V.documentElement[H],typeof j!="number"&&(j=V.body[H])}return j}function s(U){var j,H,V=U.ownerDocument,X=V.body,W=V&&V.documentElement,G=U.getBoundingClientRect();return j=G.left,H=G.top,j-=W.clientLeft||X.clientLeft||0,H-=W.clientTop||X.clientTop||0,{left:j,top:H}}function u(U){var j=s(U),H=U.ownerDocument,V=H.defaultView||H.parentWindow;return j.left+=t(V),j.left}function p(U){var j=w();return function(){var V=Object(r.a)(U),X;if(j){var W=Object(r.a)(this).constructor;X=Reflect.construct(V,arguments,W)}else X=V.apply(this,arguments);return Object(i.a)(this,X)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}var b=function(U){Object(a.a)(H,U);var j=p(H);function H(){var V;return Object(h.a)(this,H),V=j.apply(this,arguments),V.onHover=function(X){var W=V.props,G=W.onHover,$=W.index;G(X,$)},V.onClick=function(X){var W=V.props,G=W.onClick,$=W.index;G(X,$)},V.onKeyDown=function(X){var W=V.props,G=W.onClick,$=W.index;X.keyCode===13&&G(X,$)},V}return Object(c.a)(H,[{key:"getClassName",value:function(){var X=this.props,W=X.prefixCls,G=X.index,$=X.value,ge=X.allowHalf,q=X.focused,Se=G+1,Ce=W;return $===0&&G===0&&q?Ce+=" ".concat(W,"-focused"):ge&&$+.5>=Se&&$<Se?(Ce+=" ".concat(W,"-half ").concat(W,"-active"),q&&(Ce+=" ".concat(W,"-focused"))):(Ce+=Se<=$?" ".concat(W,"-full"):" ".concat(W,"-zero"),Se===$&&q&&(Ce+=" ".concat(W,"-focused"))),Ce}},{key:"render",value:function(){var X=this.onHover,W=this.onClick,G=this.onKeyDown,$=this.props,ge=$.disabled,q=$.prefixCls,Se=$.character,Ce=$.characterRender,Ae=$.index,Ue=$.count,Qe=$.value,gt=typeof Se=="function"?Se(this.props):Se,_e=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:ge?null:W,onKeyDown:ge?null:G,onMouseMove:ge?null:X,role:"radio","aria-checked":Qe>Ae?"true":"false","aria-posinset":Ae+1,"aria-setsize":Ue,tabIndex:ge?-1:0},m.a.createElement("div",{className:"".concat(q,"-first")},gt),m.a.createElement("div",{className:"".concat(q,"-second")},gt)));return Ce&&(_e=Ce(_e,this.props)),_e}}]),H}(m.a.Component);function E(U,j){var H=Object.keys(U);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(U);j&&(V=V.filter(function(X){return Object.getOwnPropertyDescriptor(U,X).enumerable})),H.push.apply(H,V)}return H}function A(U){for(var j=1;j<arguments.length;j++){var H=arguments[j]!=null?arguments[j]:{};j%2?E(Object(H),!0).forEach(function(V){Object(v.a)(U,V,H[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(H)):E(Object(H)).forEach(function(V){Object.defineProperty(U,V,Object.getOwnPropertyDescriptor(H,V))})}return U}function S(U){var j=T();return function(){var V=Object(r.a)(U),X;if(j){var W=Object(r.a)(this).constructor;X=Reflect.construct(V,arguments,W)}else X=V.apply(this,arguments);return Object(i.a)(this,X)}}function T(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(U){return!1}}function L(){}var x=function(U){Object(a.a)(H,U);var j=S(H);function H(V){var X;Object(h.a)(this,H),X=j.call(this,V),X.onHover=function(G,$){var ge=X.props.onHoverChange,q=X.getStarValue($,G.pageX),Se=X.state.cleanedValue;q!==Se&&X.setState({hoverValue:q,cleanedValue:null}),ge(q)},X.onMouseLeave=function(){var G=X.props.onHoverChange;X.setState({hoverValue:void 0,cleanedValue:null}),G(void 0)},X.onClick=function(G,$){var ge=X.props.allowClear,q=X.state.value,Se=X.getStarValue($,G.pageX),Ce=!1;ge&&(Ce=Se===q),X.onMouseLeave(),X.changeValue(Ce?0:Se),X.setState({cleanedValue:Ce?Se:null})},X.onFocus=function(){var G=X.props.onFocus;X.setState({focused:!0}),G&&G()},X.onBlur=function(){var G=X.props.onBlur;X.setState({focused:!1}),G&&G()},X.onKeyDown=function(G){var $=G.keyCode,ge=X.props,q=ge.count,Se=ge.allowHalf,Ce=ge.onKeyDown,Ae=ge.direction,Ue=Ae==="rtl",Qe=X.state.value;$===l.a.RIGHT&&Qe<q&&!Ue?(Se?Qe+=.5:Qe+=1,X.changeValue(Qe),G.preventDefault()):$===l.a.LEFT&&Qe>0&&!Ue||$===l.a.RIGHT&&Qe>0&&Ue?(Se?Qe-=.5:Qe-=1,X.changeValue(Qe),G.preventDefault()):$===l.a.LEFT&&Qe<q&&Ue&&(Se?Qe+=.5:Qe+=1,X.changeValue(Qe),G.preventDefault()),Ce&&Ce(G)},X.saveRef=function(G){return function($){X.stars[G]=$}},X.saveRate=function(G){X.rate=G};var W=V.value;return W===void 0&&(W=V.defaultValue),X.stars={},X.state={value:W,focused:!1,cleanedValue:null},X}return Object(c.a)(H,[{key:"componentDidMount",value:function(){var X=this.props,W=X.autoFocus,G=X.disabled;W&&!G&&this.focus()}},{key:"getStarDOM",value:function(X){return Object(o.a)(this.stars[X])}},{key:"getStarValue",value:function(X,W){var G=this.props,$=G.allowHalf,ge=G.direction,q=ge==="rtl",Se=X+1;if($){var Ce=this.getStarDOM(X),Ae=u(Ce),Ue=Ce.clientWidth;(q&&W-Ae>Ue/2||!q&&W-Ae<Ue/2)&&(Se-=.5)}return Se}},{key:"focus",value:function(){var X=this.props.disabled;X||this.rate.focus()}},{key:"blur",value:function(){var X=this.props.disabled;X||this.rate.blur()}},{key:"changeValue",value:function(X){var W=this.props.onChange;"value"in this.props||this.setState({value:X}),W(X)}},{key:"render",value:function(){for(var X=this.props,W=X.count,G=X.allowHalf,$=X.style,ge=X.prefixCls,q=X.disabled,Se=X.className,Ce=X.character,Ae=X.characterRender,Ue=X.tabIndex,Qe=X.direction,gt=this.state,_e=gt.value,Oe=gt.hoverValue,lt=gt.focused,ce=[],Y=q?"".concat(ge,"-disabled"):"",K=0;K<W;K+=1)ce.push(m.a.createElement(b,{ref:this.saveRef(K),index:K,count:W,disabled:q,prefixCls:"".concat(ge,"-star"),allowHalf:G,value:Oe===void 0?_e:Oe,onClick:this.onClick,onHover:this.onHover,key:K,character:Ce,characterRender:Ae,focused:lt}));var Q=n()(ge,Y,Se,Object(v.a)({},"".concat(ge,"-rtl"),Qe==="rtl"));return m.a.createElement("ul",{className:Q,style:$,onMouseLeave:q?null:this.onMouseLeave,tabIndex:q?-1:Ue,onFocus:q?null:this.onFocus,onBlur:q?null:this.onBlur,onKeyDown:q?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},ce)}}],[{key:"getDerivedStateFromProps",value:function(X,W){return"value"in X&&X.value!==void 0?A(A({},W),{},{value:X.value}):W}}]),H}(m.a.Component);x.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:L,character:"\u2605",onHoverChange:L,tabIndex:0,direction:"ltr"};var C=x,O=C,N=e("Lerx"),F=e.n(N),k=e("3S7+"),P=e("H84U"),B=function(U,j){var H={};for(var V in U)Object.prototype.hasOwnProperty.call(U,V)&&j.indexOf(V)<0&&(H[V]=U[V]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,V=Object.getOwnPropertySymbols(U);X<V.length;X++)j.indexOf(V[X])<0&&Object.prototype.propertyIsEnumerable.call(U,V[X])&&(H[V[X]]=U[V[X]]);return H},z=y.forwardRef(function(U,j){var H=U.prefixCls,V=U.tooltips,X=B(U,["prefixCls","tooltips"]),W=function(Ce,Ae){var Ue=Ae.index;return V?y.createElement(k.a,{title:V[Ue]},Ce):Ce},G=y.useContext(P.b),$=G.getPrefixCls,ge=G.direction,q=$("rate",H);return y.createElement(O,f()({ref:j,characterRender:W},X,{prefixCls:q,direction:ge}))});z.displayName="Rate",z.defaultProps={character:y.createElement(F.a,null)};var R=_.a=z},H6uX:function(D,_){var e=Array.prototype.slice,g=function(h){this._$handlers={},this._$eventProcessor=h};g.prototype={constructor:g,one:function(h,c,a,i){return y(this,h,c,a,i,!0)},on:function(h,c,a,i){return y(this,h,c,a,i,!1)},isSilent:function(h){var c=this._$handlers;return!c[h]||!c[h].length},off:function(h,c){var a=this._$handlers;if(!h)return this._$handlers={},this;if(c){if(a[h]){for(var i=[],r=0,o=a[h].length;r<o;r++)a[h][r].h!==c&&i.push(a[h][r]);a[h]=i}a[h]&&a[h].length===0&&delete a[h]}else delete a[h];return this},trigger:function(h){var c=this._$handlers[h],a=this._$eventProcessor;if(c){var i=arguments,r=i.length;r>3&&(i=e.call(i,1));for(var o=c.length,d=0;d<o;){var n=c[d];if(a&&a.filter&&n.query!=null&&!a.filter(h,n.query)){d++;continue}switch(r){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,i[1]);break;case 3:n.h.call(n.ctx,i[1],i[2]);break;default:n.h.apply(n.ctx,i);break}n.one?(c.splice(d,1),o--):d++}}return a&&a.afterTrigger&&a.afterTrigger(h),this},triggerWithContext:function(h){var c=this._$handlers[h],a=this._$eventProcessor;if(c){var i=arguments,r=i.length;r>4&&(i=e.call(i,1,i.length-1));for(var o=i[i.length-1],d=c.length,n=0;n<d;){var l=c[n];if(a&&a.filter&&l.query!=null&&!a.filter(h,l.query)){n++;continue}switch(r){case 1:l.h.call(o);break;case 2:l.h.call(o,i[1]);break;case 3:l.h.call(o,i[1],i[2]);break;default:l.h.apply(o,i);break}l.one?(c.splice(n,1),d--):n++}}return a&&a.afterTrigger&&a.afterTrigger(h),this}};function f(v,h){var c=v._$eventProcessor;return h!=null&&c&&c.normalizeQuery&&(h=c.normalizeQuery(h)),h}function y(v,h,c,a,i,r){var o=v._$handlers;if(typeof c=="function"&&(i=a,a=c,c=null),!a||!h)return v;c=f(v,c),o[h]||(o[h]=[]);for(var d=0;d<o[h].length;d++)if(o[h][d].h===a)return v;var n={h:a,one:r,query:c,ctx:i||v,callAtLast:a.zrEventfulCallAtLast},l=o[h].length-1,t=o[h][l];return t&&t.callAtLast?o[h].splice(l,0,n):o[h].push(n),v}var m=g;D.exports=m},H7XF:function(D,_,e){"use strict";_.byteLength=a,_.toByteArray=r,_.fromByteArray=n;for(var g=[],f=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=m.length;v<h;++v)g[v]=m[v],f[m.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var u=s===t?0:4-s%4;return[s,u]}function a(l){var t=c(l),s=t[0],u=t[1];return(s+u)*3/4-u}function i(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=c(l),u=s[0],p=s[1],w=new y(i(l,u,p)),b=0,E=p>0?u-4:u,A;for(A=0;A<E;A+=4)t=f[l.charCodeAt(A)]<<18|f[l.charCodeAt(A+1)]<<12|f[l.charCodeAt(A+2)]<<6|f[l.charCodeAt(A+3)],w[b++]=t>>16&255,w[b++]=t>>8&255,w[b++]=t&255;return p===2&&(t=f[l.charCodeAt(A)]<<2|f[l.charCodeAt(A+1)]>>4,w[b++]=t&255),p===1&&(t=f[l.charCodeAt(A)]<<10|f[l.charCodeAt(A+1)]<<4|f[l.charCodeAt(A+2)]>>2,w[b++]=t>>8&255,w[b++]=t&255),w}function o(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function d(l,t,s){for(var u,p=[],w=t;w<s;w+=3)u=(l[w]<<16&16711680)+(l[w+1]<<8&65280)+(l[w+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],w=16383,b=0,E=s-u;b<E;b+=w)p.push(d(l,b,b+w>E?E:b+w));return u===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):u===2&&(t=(l[s-2]<<8)+l[s-1],p.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),p.join("")}},H8j4:function(D,_,e){var g=e("QkVE");function f(y,m){var v=g(this,y),h=v.size;return v.set(y,m),this.size+=v.size==h?0:1,this}D.exports=f},HBhm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};_.default=g},HDXh:function(D,_,e){"use strict";(function(g){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/var f=e("H7XF"),y=e("kVK+"),m=e("49sm");_.Buffer=a,_.SlowBuffer=p,_.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:v(),_.kMaxLength=h();function v(){try{var ce=new Uint8Array(1);return ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ce.foo()===42&&typeof ce.subarray=="function"&&ce.subarray(1,1).byteLength===0}catch(Y){return!1}}function h(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(ce,Y){if(h()<Y)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(ce=new Uint8Array(Y),ce.__proto__=a.prototype):(ce===null&&(ce=new a(Y)),ce.length=Y),ce}function a(ce,Y,K){if(!a.TYPED_ARRAY_SUPPORT&&!(this instanceof a))return new a(ce,Y,K);if(typeof ce=="number"){if(typeof Y=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ce)}return i(this,ce,Y,K)}a.poolSize=8192,a._augment=function(ce){return ce.__proto__=a.prototype,ce};function i(ce,Y,K,Q){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Y instanceof ArrayBuffer?t(ce,Y,K,Q):typeof Y=="string"?n(ce,Y,K):s(ce,Y)}a.from=function(ce,Y,K){return i(null,ce,Y,K)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0}));function r(ce){if(typeof ce!="number")throw new TypeError('"size" argument must be a number');if(ce<0)throw new RangeError('"size" argument must not be negative')}function o(ce,Y,K,Q){return r(Y),Y<=0?c(ce,Y):K!==void 0?typeof Q=="string"?c(ce,Y).fill(K,Q):c(ce,Y).fill(K):c(ce,Y)}a.alloc=function(ce,Y,K){return o(null,ce,Y,K)};function d(ce,Y){if(r(Y),ce=c(ce,Y<0?0:u(Y)|0),!a.TYPED_ARRAY_SUPPORT)for(var K=0;K<Y;++K)ce[K]=0;return ce}a.allocUnsafe=function(ce){return d(null,ce)},a.allocUnsafeSlow=function(ce){return d(null,ce)};function n(ce,Y,K){if((typeof K!="string"||K==="")&&(K="utf8"),!a.isEncoding(K))throw new TypeError('"encoding" must be a valid string encoding');var Q=w(Y,K)|0;ce=c(ce,Q);var ye=ce.write(Y,K);return ye!==Q&&(ce=ce.slice(0,ye)),ce}function l(ce,Y){var K=Y.length<0?0:u(Y.length)|0;ce=c(ce,K);for(var Q=0;Q<K;Q+=1)ce[Q]=Y[Q]&255;return ce}function t(ce,Y,K,Q){if(Y.byteLength,K<0||Y.byteLength<K)throw new RangeError("'offset' is out of bounds");if(Y.byteLength<K+(Q||0))throw new RangeError("'length' is out of bounds");return K===void 0&&Q===void 0?Y=new Uint8Array(Y):Q===void 0?Y=new Uint8Array(Y,K):Y=new Uint8Array(Y,K,Q),a.TYPED_ARRAY_SUPPORT?(ce=Y,ce.__proto__=a.prototype):ce=l(ce,Y),ce}function s(ce,Y){if(a.isBuffer(Y)){var K=u(Y.length)|0;return ce=c(ce,K),ce.length===0||Y.copy(ce,0,0,K),ce}if(Y){if(typeof ArrayBuffer!="undefined"&&Y.buffer instanceof ArrayBuffer||"length"in Y)return typeof Y.length!="number"||lt(Y.length)?c(ce,0):l(ce,Y);if(Y.type==="Buffer"&&m(Y.data))return l(ce,Y.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ce){if(ce>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return ce|0}function p(ce){return+ce!=ce&&(ce=0),a.alloc(+ce)}a.isBuffer=function(Y){return!!(Y!=null&&Y._isBuffer)},a.compare=function(Y,K){if(!a.isBuffer(Y)||!a.isBuffer(K))throw new TypeError("Arguments must be Buffers");if(Y===K)return 0;for(var Q=Y.length,ye=K.length,ue=0,Ne=Math.min(Q,ye);ue<Ne;++ue)if(Y[ue]!==K[ue]){Q=Y[ue],ye=K[ue];break}return Q<ye?-1:ye<Q?1:0},a.isEncoding=function(Y){switch(String(Y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(Y,K){if(!m(Y))throw new TypeError('"list" argument must be an Array of Buffers');if(Y.length===0)return a.alloc(0);var Q;if(K===void 0)for(K=0,Q=0;Q<Y.length;++Q)K+=Y[Q].length;var ye=a.allocUnsafe(K),ue=0;for(Q=0;Q<Y.length;++Q){var Ne=Y[Q];if(!a.isBuffer(Ne))throw new TypeError('"list" argument must be an Array of Buffers');Ne.copy(ye,ue),ue+=Ne.length}return ye};function w(ce,Y){if(a.isBuffer(ce))return ce.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ce)||ce instanceof ArrayBuffer))return ce.byteLength;typeof ce!="string"&&(ce=""+ce);var K=ce.length;if(K===0)return 0;for(var Q=!1;;)switch(Y){case"ascii":case"latin1":case"binary":return K;case"utf8":case"utf-8":case void 0:return Ue(ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K*2;case"hex":return K>>>1;case"base64":return _e(ce).length;default:if(Q)return Ue(ce).length;Y=(""+Y).toLowerCase(),Q=!0}}a.byteLength=w;function b(ce,Y,K){var Q=!1;if((Y===void 0||Y<0)&&(Y=0),Y>this.length)return"";if((K===void 0||K>this.length)&&(K=this.length),K<=0)return"";if(K>>>=0,Y>>>=0,K<=Y)return"";for(ce||(ce="utf8");;)switch(ce){case"hex":return U(this,Y,K);case"utf8":case"utf-8":return k(this,Y,K);case"ascii":return z(this,Y,K);case"latin1":case"binary":return R(this,Y,K);case"base64":return F(this,Y,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,Y,K);default:if(Q)throw new TypeError("Unknown encoding: "+ce);ce=(ce+"").toLowerCase(),Q=!0}}a.prototype._isBuffer=!0;function E(ce,Y,K){var Q=ce[Y];ce[Y]=ce[K],ce[K]=Q}a.prototype.swap16=function(){var Y=this.length;if(Y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var K=0;K<Y;K+=2)E(this,K,K+1);return this},a.prototype.swap32=function(){var Y=this.length;if(Y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var K=0;K<Y;K+=4)E(this,K,K+3),E(this,K+1,K+2);return this},a.prototype.swap64=function(){var Y=this.length;if(Y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var K=0;K<Y;K+=8)E(this,K,K+7),E(this,K+1,K+6),E(this,K+2,K+5),E(this,K+3,K+4);return this},a.prototype.toString=function(){var Y=this.length|0;return Y===0?"":arguments.length===0?k(this,0,Y):b.apply(this,arguments)},a.prototype.equals=function(Y){if(!a.isBuffer(Y))throw new TypeError("Argument must be a Buffer");return this===Y?!0:a.compare(this,Y)===0},a.prototype.inspect=function(){var Y="",K=_.INSPECT_MAX_BYTES;return this.length>0&&(Y=this.toString("hex",0,K).match(/.{2}/g).join(" "),this.length>K&&(Y+=" ... ")),"<Buffer "+Y+">"},a.prototype.compare=function(Y,K,Q,ye,ue){if(!a.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(K===void 0&&(K=0),Q===void 0&&(Q=Y?Y.length:0),ye===void 0&&(ye=0),ue===void 0&&(ue=this.length),K<0||Q>Y.length||ye<0||ue>this.length)throw new RangeError("out of range index");if(ye>=ue&&K>=Q)return 0;if(ye>=ue)return-1;if(K>=Q)return 1;if(K>>>=0,Q>>>=0,ye>>>=0,ue>>>=0,this===Y)return 0;for(var Ne=ue-ye,Te=Q-K,oe=Math.min(Ne,Te),de=this.slice(ye,ue),Le=Y.slice(K,Q),Ge=0;Ge<oe;++Ge)if(de[Ge]!==Le[Ge]){Ne=de[Ge],Te=Le[Ge];break}return Ne<Te?-1:Te<Ne?1:0};function A(ce,Y,K,Q,ye){if(ce.length===0)return-1;if(typeof K=="string"?(Q=K,K=0):K>2147483647?K=2147483647:K<-2147483648&&(K=-2147483648),K=+K,isNaN(K)&&(K=ye?0:ce.length-1),K<0&&(K=ce.length+K),K>=ce.length){if(ye)return-1;K=ce.length-1}else if(K<0)if(ye)K=0;else return-1;if(typeof Y=="string"&&(Y=a.from(Y,Q)),a.isBuffer(Y))return Y.length===0?-1:S(ce,Y,K,Q,ye);if(typeof Y=="number")return Y=Y&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(ce,Y,K):Uint8Array.prototype.lastIndexOf.call(ce,Y,K):S(ce,[Y],K,Q,ye);throw new TypeError("val must be string, number or Buffer")}function S(ce,Y,K,Q,ye){var ue=1,Ne=ce.length,Te=Y.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(ce.length<2||Y.length<2)return-1;ue=2,Ne/=2,Te/=2,K/=2}function oe(Et,Be){return ue===1?Et[Be]:Et.readUInt16BE(Be*ue)}var de;if(ye){var Le=-1;for(de=K;de<Ne;de++)if(oe(ce,de)===oe(Y,Le===-1?0:de-Le)){if(Le===-1&&(Le=de),de-Le+1===Te)return Le*ue}else Le!==-1&&(de-=de-Le),Le=-1}else for(K+Te>Ne&&(K=Ne-Te),de=K;de>=0;de--){for(var Ge=!0,ht=0;ht<Te;ht++)if(oe(ce,de+ht)!==oe(Y,ht)){Ge=!1;break}if(Ge)return de}return-1}a.prototype.includes=function(Y,K,Q){return this.indexOf(Y,K,Q)!==-1},a.prototype.indexOf=function(Y,K,Q){return A(this,Y,K,Q,!0)},a.prototype.lastIndexOf=function(Y,K,Q){return A(this,Y,K,Q,!1)};function T(ce,Y,K,Q){K=Number(K)||0;var ye=ce.length-K;Q?(Q=Number(Q),Q>ye&&(Q=ye)):Q=ye;var ue=Y.length;if(ue%2!==0)throw new TypeError("Invalid hex string");Q>ue/2&&(Q=ue/2);for(var Ne=0;Ne<Q;++Ne){var Te=parseInt(Y.substr(Ne*2,2),16);if(isNaN(Te))return Ne;ce[K+Ne]=Te}return Ne}function L(ce,Y,K,Q){return Oe(Ue(Y,ce.length-K),ce,K,Q)}function x(ce,Y,K,Q){return Oe(Qe(Y),ce,K,Q)}function C(ce,Y,K,Q){return x(ce,Y,K,Q)}function O(ce,Y,K,Q){return Oe(_e(Y),ce,K,Q)}function N(ce,Y,K,Q){return Oe(gt(Y,ce.length-K),ce,K,Q)}a.prototype.write=function(Y,K,Q,ye){if(K===void 0)ye="utf8",Q=this.length,K=0;else if(Q===void 0&&typeof K=="string")ye=K,Q=this.length,K=0;else if(isFinite(K))K=K|0,isFinite(Q)?(Q=Q|0,ye===void 0&&(ye="utf8")):(ye=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ue=this.length-K;if((Q===void 0||Q>ue)&&(Q=ue),Y.length>0&&(Q<0||K<0)||K>this.length)throw new RangeError("Attempt to write outside buffer bounds");ye||(ye="utf8");for(var Ne=!1;;)switch(ye){case"hex":return T(this,Y,K,Q);case"utf8":case"utf-8":return L(this,Y,K,Q);case"ascii":return x(this,Y,K,Q);case"latin1":case"binary":return C(this,Y,K,Q);case"base64":return O(this,Y,K,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,Y,K,Q);default:if(Ne)throw new TypeError("Unknown encoding: "+ye);ye=(""+ye).toLowerCase(),Ne=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ce,Y,K){return Y===0&&K===ce.length?f.fromByteArray(ce):f.fromByteArray(ce.slice(Y,K))}function k(ce,Y,K){K=Math.min(ce.length,K);for(var Q=[],ye=Y;ye<K;){var ue=ce[ye],Ne=null,Te=ue>239?4:ue>223?3:ue>191?2:1;if(ye+Te<=K){var oe,de,Le,Ge;switch(Te){case 1:ue<128&&(Ne=ue);break;case 2:oe=ce[ye+1],(oe&192)===128&&(Ge=(ue&31)<<6|oe&63,Ge>127&&(Ne=Ge));break;case 3:oe=ce[ye+1],de=ce[ye+2],(oe&192)===128&&(de&192)===128&&(Ge=(ue&15)<<12|(oe&63)<<6|de&63,Ge>2047&&(Ge<55296||Ge>57343)&&(Ne=Ge));break;case 4:oe=ce[ye+1],de=ce[ye+2],Le=ce[ye+3],(oe&192)===128&&(de&192)===128&&(Le&192)===128&&(Ge=(ue&15)<<18|(oe&63)<<12|(de&63)<<6|Le&63,Ge>65535&&Ge<1114112&&(Ne=Ge))}}Ne===null?(Ne=65533,Te=1):Ne>65535&&(Ne-=65536,Q.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),Q.push(Ne),ye+=Te}return B(Q)}var P=4096;function B(ce){var Y=ce.length;if(Y<=P)return String.fromCharCode.apply(String,ce);for(var K="",Q=0;Q<Y;)K+=String.fromCharCode.apply(String,ce.slice(Q,Q+=P));return K}function z(ce,Y,K){var Q="";K=Math.min(ce.length,K);for(var ye=Y;ye<K;++ye)Q+=String.fromCharCode(ce[ye]&127);return Q}function R(ce,Y,K){var Q="";K=Math.min(ce.length,K);for(var ye=Y;ye<K;++ye)Q+=String.fromCharCode(ce[ye]);return Q}function U(ce,Y,K){var Q=ce.length;(!Y||Y<0)&&(Y=0),(!K||K<0||K>Q)&&(K=Q);for(var ye="",ue=Y;ue<K;++ue)ye+=Ae(ce[ue]);return ye}function j(ce,Y,K){for(var Q=ce.slice(Y,K),ye="",ue=0;ue<Q.length;ue+=2)ye+=String.fromCharCode(Q[ue]+Q[ue+1]*256);return ye}a.prototype.slice=function(Y,K){var Q=this.length;Y=~~Y,K=K===void 0?Q:~~K,Y<0?(Y+=Q,Y<0&&(Y=0)):Y>Q&&(Y=Q),K<0?(K+=Q,K<0&&(K=0)):K>Q&&(K=Q),K<Y&&(K=Y);var ye;if(a.TYPED_ARRAY_SUPPORT)ye=this.subarray(Y,K),ye.__proto__=a.prototype;else{var ue=K-Y;ye=new a(ue,void 0);for(var Ne=0;Ne<ue;++Ne)ye[Ne]=this[Ne+Y]}return ye};function H(ce,Y,K){if(ce%1!==0||ce<0)throw new RangeError("offset is not uint");if(ce+Y>K)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y],ue=1,Ne=0;++Ne<K&&(ue*=256);)ye+=this[Y+Ne]*ue;return ye},a.prototype.readUIntBE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y+--K],ue=1;K>0&&(ue*=256);)ye+=this[Y+--K]*ue;return ye},a.prototype.readUInt8=function(Y,K){return K||H(Y,1,this.length),this[Y]},a.prototype.readUInt16LE=function(Y,K){return K||H(Y,2,this.length),this[Y]|this[Y+1]<<8},a.prototype.readUInt16BE=function(Y,K){return K||H(Y,2,this.length),this[Y]<<8|this[Y+1]},a.prototype.readUInt32LE=function(Y,K){return K||H(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+this[Y+3]*16777216},a.prototype.readUInt32BE=function(Y,K){return K||H(Y,4,this.length),this[Y]*16777216+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},a.prototype.readIntLE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y],ue=1,Ne=0;++Ne<K&&(ue*=256);)ye+=this[Y+Ne]*ue;return ue*=128,ye>=ue&&(ye-=Math.pow(2,8*K)),ye},a.prototype.readIntBE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=K,ue=1,Ne=this[Y+--ye];ye>0&&(ue*=256);)Ne+=this[Y+--ye]*ue;return ue*=128,Ne>=ue&&(Ne-=Math.pow(2,8*K)),Ne},a.prototype.readInt8=function(Y,K){return K||H(Y,1,this.length),this[Y]&128?(255-this[Y]+1)*-1:this[Y]},a.prototype.readInt16LE=function(Y,K){K||H(Y,2,this.length);var Q=this[Y]|this[Y+1]<<8;return Q&32768?Q|4294901760:Q},a.prototype.readInt16BE=function(Y,K){K||H(Y,2,this.length);var Q=this[Y+1]|this[Y]<<8;return Q&32768?Q|4294901760:Q},a.prototype.readInt32LE=function(Y,K){return K||H(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},a.prototype.readInt32BE=function(Y,K){return K||H(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},a.prototype.readFloatLE=function(Y,K){return K||H(Y,4,this.length),y.read(this,Y,!0,23,4)},a.prototype.readFloatBE=function(Y,K){return K||H(Y,4,this.length),y.read(this,Y,!1,23,4)},a.prototype.readDoubleLE=function(Y,K){return K||H(Y,8,this.length),y.read(this,Y,!0,52,8)},a.prototype.readDoubleBE=function(Y,K){return K||H(Y,8,this.length),y.read(this,Y,!1,52,8)};function V(ce,Y,K,Q,ye,ue){if(!a.isBuffer(ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>ye||Y<ue)throw new RangeError('"value" argument is out of bounds');if(K+Q>ce.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,Q=Q|0,!ye){var ue=Math.pow(2,8*Q)-1;V(this,Y,K,Q,ue,0)}var Ne=1,Te=0;for(this[K]=Y&255;++Te<Q&&(Ne*=256);)this[K+Te]=Y/Ne&255;return K+Q},a.prototype.writeUIntBE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,Q=Q|0,!ye){var ue=Math.pow(2,8*Q)-1;V(this,Y,K,Q,ue,0)}var Ne=Q-1,Te=1;for(this[K+Ne]=Y&255;--Ne>=0&&(Te*=256);)this[K+Ne]=Y/Te&255;return K+Q},a.prototype.writeUInt8=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,1,255,0),a.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[K]=Y&255,K+1};function X(ce,Y,K,Q){Y<0&&(Y=65535+Y+1);for(var ye=0,ue=Math.min(ce.length-K,2);ye<ue;++ye)ce[K+ye]=(Y&255<<8*(Q?ye:1-ye))>>>(Q?ye:1-ye)*8}a.prototype.writeUInt16LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8):X(this,Y,K,!0),K+2},a.prototype.writeUInt16BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>8,this[K+1]=Y&255):X(this,Y,K,!1),K+2};function W(ce,Y,K,Q){Y<0&&(Y=4294967295+Y+1);for(var ye=0,ue=Math.min(ce.length-K,4);ye<ue;++ye)ce[K+ye]=Y>>>(Q?ye:3-ye)*8&255}a.prototype.writeUInt32LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[K+3]=Y>>>24,this[K+2]=Y>>>16,this[K+1]=Y>>>8,this[K]=Y&255):W(this,Y,K,!0),K+4},a.prototype.writeUInt32BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>24,this[K+1]=Y>>>16,this[K+2]=Y>>>8,this[K+3]=Y&255):W(this,Y,K,!1),K+4},a.prototype.writeIntLE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,!ye){var ue=Math.pow(2,8*Q-1);V(this,Y,K,Q,ue-1,-ue)}var Ne=0,Te=1,oe=0;for(this[K]=Y&255;++Ne<Q&&(Te*=256);)Y<0&&oe===0&&this[K+Ne-1]!==0&&(oe=1),this[K+Ne]=(Y/Te>>0)-oe&255;return K+Q},a.prototype.writeIntBE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,!ye){var ue=Math.pow(2,8*Q-1);V(this,Y,K,Q,ue-1,-ue)}var Ne=Q-1,Te=1,oe=0;for(this[K+Ne]=Y&255;--Ne>=0&&(Te*=256);)Y<0&&oe===0&&this[K+Ne+1]!==0&&(oe=1),this[K+Ne]=(Y/Te>>0)-oe&255;return K+Q},a.prototype.writeInt8=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,1,127,-128),a.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[K]=Y&255,K+1},a.prototype.writeInt16LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8):X(this,Y,K,!0),K+2},a.prototype.writeInt16BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>8,this[K+1]=Y&255):X(this,Y,K,!1),K+2},a.prototype.writeInt32LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8,this[K+2]=Y>>>16,this[K+3]=Y>>>24):W(this,Y,K,!0),K+4},a.prototype.writeInt32BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),a.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>24,this[K+1]=Y>>>16,this[K+2]=Y>>>8,this[K+3]=Y&255):W(this,Y,K,!1),K+4};function G(ce,Y,K,Q,ye,ue){if(K+Q>ce.length)throw new RangeError("Index out of range");if(K<0)throw new RangeError("Index out of range")}function $(ce,Y,K,Q,ye){return ye||G(ce,Y,K,4,34028234663852886e22,-34028234663852886e22),y.write(ce,Y,K,Q,23,4),K+4}a.prototype.writeFloatLE=function(Y,K,Q){return $(this,Y,K,!0,Q)},a.prototype.writeFloatBE=function(Y,K,Q){return $(this,Y,K,!1,Q)};function ge(ce,Y,K,Q,ye){return ye||G(ce,Y,K,8,17976931348623157e292,-17976931348623157e292),y.write(ce,Y,K,Q,52,8),K+8}a.prototype.writeDoubleLE=function(Y,K,Q){return ge(this,Y,K,!0,Q)},a.prototype.writeDoubleBE=function(Y,K,Q){return ge(this,Y,K,!1,Q)},a.prototype.copy=function(Y,K,Q,ye){if(Q||(Q=0),!ye&&ye!==0&&(ye=this.length),K>=Y.length&&(K=Y.length),K||(K=0),ye>0&&ye<Q&&(ye=Q),ye===Q)return 0;if(Y.length===0||this.length===0)return 0;if(K<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("sourceStart out of bounds");if(ye<0)throw new RangeError("sourceEnd out of bounds");ye>this.length&&(ye=this.length),Y.length-K<ye-Q&&(ye=Y.length-K+Q);var ue=ye-Q,Ne;if(this===Y&&Q<K&&K<ye)for(Ne=ue-1;Ne>=0;--Ne)Y[Ne+K]=this[Ne+Q];else if(ue<1e3||!a.TYPED_ARRAY_SUPPORT)for(Ne=0;Ne<ue;++Ne)Y[Ne+K]=this[Ne+Q];else Uint8Array.prototype.set.call(Y,this.subarray(Q,Q+ue),K);return ue},a.prototype.fill=function(Y,K,Q,ye){if(typeof Y=="string"){if(typeof K=="string"?(ye=K,K=0,Q=this.length):typeof Q=="string"&&(ye=Q,Q=this.length),Y.length===1){var ue=Y.charCodeAt(0);ue<256&&(Y=ue)}if(ye!==void 0&&typeof ye!="string")throw new TypeError("encoding must be a string");if(typeof ye=="string"&&!a.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye)}else typeof Y=="number"&&(Y=Y&255);if(K<0||this.length<K||this.length<Q)throw new RangeError("Out of range index");if(Q<=K)return this;K=K>>>0,Q=Q===void 0?this.length:Q>>>0,Y||(Y=0);var Ne;if(typeof Y=="number")for(Ne=K;Ne<Q;++Ne)this[Ne]=Y;else{var Te=a.isBuffer(Y)?Y:Ue(new a(Y,ye).toString()),oe=Te.length;for(Ne=0;Ne<Q-K;++Ne)this[Ne+K]=Te[Ne%oe]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function Se(ce){if(ce=Ce(ce).replace(q,""),ce.length<2)return"";for(;ce.length%4!==0;)ce=ce+"=";return ce}function Ce(ce){return ce.trim?ce.trim():ce.replace(/^\s+|\s+$/g,"")}function Ae(ce){return ce<16?"0"+ce.toString(16):ce.toString(16)}function Ue(ce,Y){Y=Y||Infinity;for(var K,Q=ce.length,ye=null,ue=[],Ne=0;Ne<Q;++Ne){if(K=ce.charCodeAt(Ne),K>55295&&K<57344){if(!ye){if(K>56319){(Y-=3)>-1&&ue.push(239,191,189);continue}else if(Ne+1===Q){(Y-=3)>-1&&ue.push(239,191,189);continue}ye=K;continue}if(K<56320){(Y-=3)>-1&&ue.push(239,191,189),ye=K;continue}K=(ye-55296<<10|K-56320)+65536}else ye&&((Y-=3)>-1&&ue.push(239,191,189));if(ye=null,K<128){if((Y-=1)<0)break;ue.push(K)}else if(K<2048){if((Y-=2)<0)break;ue.push(K>>6|192,K&63|128)}else if(K<65536){if((Y-=3)<0)break;ue.push(K>>12|224,K>>6&63|128,K&63|128)}else if(K<1114112){if((Y-=4)<0)break;ue.push(K>>18|240,K>>12&63|128,K>>6&63|128,K&63|128)}else throw new Error("Invalid code point")}return ue}function Qe(ce){for(var Y=[],K=0;K<ce.length;++K)Y.push(ce.charCodeAt(K)&255);return Y}function gt(ce,Y){for(var K,Q,ye,ue=[],Ne=0;Ne<ce.length&&!((Y-=2)<0);++Ne)K=ce.charCodeAt(Ne),Q=K>>8,ye=K%256,ue.push(ye),ue.push(Q);return ue}function _e(ce){return f.toByteArray(Se(ce))}function Oe(ce,Y,K,Q){for(var ye=0;ye<Q&&!(ye+K>=Y.length||ye>=ce.length);++ye)Y[ye+K]=ce[ye];return ye}function lt(ce){return ce!==ce}}).call(this,e("yLpj"))},HDyB:function(D,_,e){var g=e("nmnc"),f=e("JHRd"),y=e("ljhN"),m=e("or5M"),v=e("7fqy"),h=e("rEGp"),c=1,a=2,i="[object Boolean]",r="[object Date]",o="[object Error]",d="[object Map]",n="[object Number]",l="[object RegExp]",t="[object Set]",s="[object String]",u="[object Symbol]",p="[object ArrayBuffer]",w="[object DataView]",b=g?g.prototype:void 0,E=b?b.valueOf:void 0;function A(S,T,L,x,C,O,N){switch(L){case w:if(S.byteLength!=T.byteLength||S.byteOffset!=T.byteOffset)return!1;S=S.buffer,T=T.buffer;case p:return!(S.byteLength!=T.byteLength||!O(new f(S),new f(T)));case i:case r:case n:return y(+S,+T);case o:return S.name==T.name&&S.message==T.message;case l:case s:return S==T+"";case d:var F=v;case t:var k=x&c;if(F||(F=h),S.size!=T.size&&!k)return!1;var P=N.get(S);if(P)return P==T;x|=a,N.set(S,T);var B=m(F(S),F(T),x,C,O,N);return N.delete(S),B;case u:if(E)return E.call(S)==E.call(T)}return!1}D.exports=A},"HF/U":function(D,_,e){var g=e("QBsz");function f(m){var v=m.coordinateSystem;if(v&&v.type!=="view")return;var h=m.getGraph();h.eachNode(function(c){var a=c.getModel();c.setLayout([+a.get("x"),+a.get("y")])}),y(h)}function y(m){m.eachEdge(function(v){var h=v.getModel().get("lineStyle.curveness")||0,c=g.clone(v.node1.getLayout()),a=g.clone(v.node2.getLayout()),i=[c,a];+h&&i.push([(c[0]+a[0])/2-(c[1]-a[1])*h,(c[1]+a[1])/2-(a[0]-c[0])*h]),v.setLayout(i)})}_.simpleLayout=f,_.simpleLayoutEdge=y},"HM/N":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("/SeX"),v=e("OELB"),h=v.parsePercent,c=e("aX7z"),a=c.createScaleByModel,i=c.niceScaleExtent,r=e("IDmD"),o=e("7hqr"),d=o.getStackedDimension;e("ePAk");function n(u,p,w){var b=p.get("center"),E=w.getWidth(),A=w.getHeight();u.cx=h(b[0],E),u.cy=h(b[1],A);var S=u.getRadiusAxis(),T=Math.min(E,A)/2,L=p.get("radius");L==null?L=[0,"100%"]:y.isArray(L)||(L=[0,L]),L=[h(L[0],T),h(L[1],T)],S.inverse?S.setExtent(L[1],L[0]):S.setExtent(L[0],L[1])}function l(u,p){var w=this,b=w.getAngleAxis(),E=w.getRadiusAxis();if(b.scale.setExtent(Infinity,-Infinity),E.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(T){if(T.coordinateSystem===w){var L=T.getData();y.each(L.mapDimension("radius",!0),function(x){E.scale.unionExtentFromData(L,d(L,x))}),y.each(L.mapDimension("angle",!0),function(x){b.scale.unionExtentFromData(L,d(L,x))})}}),i(b.scale,b.model),i(E.scale,E.model),b.type==="category"&&!b.onBand){var A=b.getExtent(),S=360/b.scale.count();b.inverse?A[1]+=S:A[1]-=S,b.setExtent(A[0],A[1])}}function t(u,p){if(u.type=p.get("type"),u.scale=a(p),u.onBand=p.get("boundaryGap")&&u.type==="category",u.inverse=p.get("inverse"),p.mainType==="angleAxis"){u.inverse^=p.get("clockwise");var w=p.get("startAngle");u.setExtent(w,w+(u.inverse?-360:360))}p.axis=u,u.model=p}var s={dimensions:m.prototype.dimensions,create:function(u,p){var w=[];return u.eachComponent("polar",function(b,E){var A=new m(E);A.update=l;var S=A.getRadiusAxis(),T=A.getAngleAxis(),L=b.findAxisModel("radiusAxis"),x=b.findAxisModel("angleAxis");t(S,L),t(T,x),n(A,b,p),w.push(A),b.coordinateSystem=A,A.model=b}),u.eachSeries(function(b){if(b.get("coordinateSystem")==="polar"){var E=u.queryComponents({mainType:"polar",index:b.get("polarIndex"),id:b.get("polarId")})[0];b.coordinateSystem=E.coordinateSystem}}),w}};r.register("polar",s)},HOxn:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Promise");D.exports=y},HQEm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},HjIi:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked;function h(o){return o.get("stack")||"__ec_stack_"+o.seriesIndex}function c(o,d){return d.dim+o.model.componentIndex}function a(o,d,n){var l={},t=i(g.filter(d.getSeriesByType(o),function(s){return!d.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));d.eachSeriesByType(o,function(s){if(s.coordinateSystem.type!=="polar")return;var u=s.getData(),p=s.coordinateSystem,w=p.getBaseAxis(),b=c(p,w),E=h(s),A=t[b][E],S=A.offset,T=A.width,L=p.getOtherAxis(w),x=s.coordinateSystem.cx,C=s.coordinateSystem.cy,O=s.get("barMinHeight")||0,N=s.get("barMinAngle")||0;l[E]=l[E]||[];for(var F=u.mapDimension(L.dim),k=u.mapDimension(w.dim),P=v(u,F),B=w.dim!=="radius"||!s.get("roundCap",!0),z=L.getExtent()[0],R=0,U=u.count();R<U;R++){var j=u.get(F,R),H=u.get(k,R),V=j>=0?"p":"n",X=z;P&&(l[E][H]||(l[E][H]={p:z,n:z}),X=l[E][H][V]);var W,G,$,ge;if(L.dim==="radius"){var q=L.dataToRadius(j)-z,Se=w.dataToAngle(H);Math.abs(q)<O&&(q=(q<0?-1:1)*O),W=X,G=X+q,$=Se-S,ge=$-T,P&&(l[E][H][V]=G)}else{var Ce=L.dataToAngle(j,B)-z,Ae=w.dataToRadius(H);Math.abs(Ce)<N&&(Ce=(Ce<0?-1:1)*N),W=Ae+S,G=W+T,$=X,ge=X+Ce,P&&(l[E][H][V]=ge)}u.setItemLayout(R,{cx:x,cy:C,r0:W,r:G,startAngle:-$*Math.PI/180,endAngle:-ge*Math.PI/180})}},this)}function i(o,d){var n={};g.each(o,function(t,s){var u=t.getData(),p=t.coordinateSystem,w=p.getBaseAxis(),b=c(p,w),E=w.getExtent(),A=w.type==="category"?w.getBandWidth():Math.abs(E[1]-E[0])/u.count(),S=n[b]||{bandWidth:A,remainedWidth:A,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=S.stacks;n[b]=S;var L=h(t);T[L]||S.autoWidthCount++,T[L]=T[L]||{width:0,maxWidth:0};var x=y(t.get("barWidth"),A),C=y(t.get("barMaxWidth"),A),O=t.get("barGap"),N=t.get("barCategoryGap");x&&!T[L].width&&(x=Math.min(S.remainedWidth,x),T[L].width=x,S.remainedWidth-=x),C&&(T[L].maxWidth=C),O!=null&&(S.gap=O),N!=null&&(S.categoryGap=N)});var l={};return g.each(n,function(t,s){l[s]={};var u=t.stacks,p=t.bandWidth,w=y(t.categoryGap,p),b=y(t.gap,1),E=t.remainedWidth,A=t.autoWidthCount,S=(E-w)/(A+(A-1)*b);S=Math.max(S,0),g.each(u,function(C,O){var N=C.maxWidth;N&&N<S&&(N=Math.min(N,E),C.width&&(N=Math.min(N,C.width)),E-=N,C.width=N,A--)}),S=(E-w)/(A+(A-1)*b),S=Math.max(S,0);var T=0,L;g.each(u,function(C,O){C.width||(C.width=S),L=C,T+=C.width*(1+b)}),L&&(T-=L.width*b);var x=-T/2;g.each(u,function(C,O){l[s][O]=l[s][O]||{offset:x,width:C.width},x+=C.width*(1+b)})}),l}var r=a;D.exports=r},HjOm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},f=g;_.default=f},Hvzi:function(D,_){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}D.exports=e},Hw7h:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(y,m){var v=Math.cos,h=Math.sin,c=m.r,a=m.width,i=m.angle,r=m.x-v(i)*a*(a>=c/3?1:2),o=m.y-h(i)*a*(a>=c/3?1:2);i=m.angle-Math.PI/2,y.moveTo(r,o),y.lineTo(m.x+v(i)*a,m.y+h(i)*a),y.lineTo(m.x+v(m.angle)*c,m.y+h(m.angle)*c),y.lineTo(m.x-v(i)*a,m.y-h(i)*a),y.lineTo(r,o);return}});D.exports=f},Hxpc:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),m=e("Qxkt"),v=e("cCMj"),h=e("7uqq"),c=y.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(i){y.prototype.init.apply(this,arguments),f.defaultEmphasis(i,"label",["show"])},optionUpdated:function(){var i=this.option,r=this;i.regions=h.getFilledRegions(i.regions,i.map,i.nameMap),this._optionModelMap=g.reduce(i.regions||[],function(o,d){return d.name&&o.set(d.name,new m(d,r)),o},g.createHashMap()),this.updateSelectedMap(i.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(i){return this._optionModelMap.get(i)||new m(null,this,this.ecModel)},getFormattedLabel:function(i,r){var o=this.getRegionModel(i),d=o.get("label"+(r==="normal"?".":r+".")+"formatter"),n={name:i};if(typeof d=="function")return n.status=r,d(n);if(typeof d=="string")return d.replace("{a}",i!=null?i:"")},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i}});g.mixin(c,v);var a=c;D.exports=a},"I+77":function(D,_,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),y=e("f5Yq"),m=e("KUOm"),v=e("3m61"),h=e("01d+"),c=e("rdor"),a=e("WGYa"),i=e("ewwo");g.registerProcessor(f),g.registerVisual(y("graph","circle",null)),g.registerVisual(m),g.registerVisual(v),g.registerLayout(h),g.registerLayout(g.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),g.registerLayout(a),g.registerCoordinateSystem("graphView",{create:i})},"I+Bx":function(D,_,e){var g=e("bYtY"),f=e("eIcI"),y=e("ieMj"),m=e("OELB"),v=e("aX7z"),h=v.getScaleExtent,c=v.niceScaleExtent,a=e("IDmD"),i=e("jCoz");function r(d,n,l){this._model=d,this.dimensions=[],this._indicatorAxes=g.map(d.getIndicatorModels(),function(t,s){var u="indicator_"+s,p=new f(u,t.get("axisType")==="log"?new i:new y);return p.name=t.get("name"),p.model=t,t.axis=p,this.dimensions.push(u),p},this),this.resize(d,l),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(d,n){var l=this._indicatorAxes[n];return this.coordToPoint(l.dataToCoord(d),n)},r.prototype.coordToPoint=function(d,n){var l=this._indicatorAxes[n],t=l.angle,s=this.cx+d*Math.cos(t),u=this.cy-d*Math.sin(t);return[s,u]},r.prototype.pointToData=function(d){var n=d[0]-this.cx,l=d[1]-this.cy,t=Math.sqrt(n*n+l*l);n/=t,l/=t;for(var s=Math.atan2(-l,n),u=Infinity,p,w=-1,b=0;b<this._indicatorAxes.length;b++){var E=this._indicatorAxes[b],A=Math.abs(s-E.angle);A<u&&(p=E,w=b,u=A)}return[w,+(p&&p.coordToData(t))]},r.prototype.resize=function(d,n){var l=d.get("center"),t=n.getWidth(),s=n.getHeight(),u=Math.min(t,s)/2;this.cx=m.parsePercent(l[0],t),this.cy=m.parsePercent(l[1],s),this.startAngle=d.get("startAngle")*Math.PI/180;var p=d.get("radius");(typeof p=="string"||typeof p=="number")&&(p=[0,p]),this.r0=m.parsePercent(p[0],u),this.r=m.parsePercent(p[1],u),g.each(this._indicatorAxes,function(w,b){w.setExtent(this.r0,this.r);var E=this.startAngle+b*Math.PI*2/this._indicatorAxes.length;E=Math.atan2(Math.sin(E),Math.cos(E)),w.angle=E},this)},r.prototype.update=function(d,n){var l=this._indicatorAxes,t=this._model;g.each(l,function(p){p.scale.setExtent(Infinity,-Infinity)}),d.eachSeriesByType("radar",function(p,w){if(p.get("coordinateSystem")!=="radar"||d.getComponent("radar",p.get("radarIndex"))!==t)return;var b=p.getData();g.each(l,function(E){E.scale.unionExtentFromData(b,b.mapDimension(E.dim))})},this);var s=t.get("splitNumber");function u(p){var w=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),b=p/w;return b===2?b=5:b*=2,b*w}g.each(l,function(p,w){var b=h(p.scale,p.model).extent;c(p.scale,p.model);var E=p.model,A=p.scale,S=E.getMin(),T=E.getMax(),L=A.getInterval();if(S!=null&&T!=null)A.setExtent(+S,+T),A.setInterval((T-S)/s);else if(S!=null){var x;do x=S+L*s,A.setExtent(+S,x),A.setInterval(L),L=u(L);while(x<b[1]&&isFinite(x)&&isFinite(b[1]))}else if(T!=null){var C;do C=T-L*s,A.setExtent(C,+T),A.setInterval(L),L=u(L);while(C>b[0]&&isFinite(C)&&isFinite(b[0]))}else{var O=A.getTicks().length-1;O>s&&(L=u(L));var x=Math.ceil(b[1]/L)*L,C=m.round(x-L*s);A.setExtent(C,x),A.setInterval(L)}})},r.dimensions=[],r.create=function(d,n){var l=[];return d.eachComponent("radar",function(t){var s=new r(t,d,n);l.push(s),t.coordinateSystem=s}),d.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},a.register("radar",r);var o=r;D.exports=o},"I3/A":function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("c2i1"),m=e("Mdki"),v=e("sdST"),h=e("IDmD"),c=e("MwEJ");function a(i,r,o,d,n){for(var l=new y(d),t=0;t<i.length;t++)l.addNode(g.retrieve(i[t].id,i[t].name,t),t);for(var s=[],u=[],p=0,t=0;t<r.length;t++){var w=r[t],b=w.source,E=w.target;l.addEdge(b,E,p)&&(u.push(w),s.push(g.retrieve(w.id,b+" > "+E)),p++)}var A=o.get("coordinateSystem"),S;if(A==="cartesian2d"||A==="polar")S=c(i,o);else{var T=h.get(A),L=T&&T.type!=="view"?T.dimensions||[]:[];g.indexOf(L,"value")<0&&L.concat(["value"]);var x=v(i,{coordDimensions:L});S=new f(x,o),S.initData(i)}var C=new f(["value"],o);return C.initData(u,s),n&&n(S,C),m({mainData:S,struct:l,structAttr:"graph",datas:{node:S,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}D.exports=a},"I9Y+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("4xFK")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleRightOutlined";var c=y.forwardRef(h);_.default=c},ICMv:function(D,_,e){var g=e("bYtY"),f={getMin:function(y){var m=this.option,v=!y&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(y){var m=this.option,v=!y&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var y=this.option;return y.rangeStart!=null||y.rangeEnd!=null?!1:!y.scale},getCoordSysModel:g.noop,setRange:function(y,m){this.option.rangeStart=y,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};D.exports=f},IDmD:function(D,_,e){var g=e("bYtY"),f={};function y(){this._coordinateSystems=[]}y.prototype={constructor:y,create:function(v,h){var c=[];g.each(f,function(a,i){var r=a.create(v,h);c=c.concat(r||[])}),this._coordinateSystems=c},update:function(v,h){g.each(this._coordinateSystems,function(c){c.update&&c.update(v,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},y.register=function(v,h){f[v]=h},y.get=function(v){return f[v]};var m=y;D.exports=m},IMiH:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),y=e("4mN7"),m=e("mFDi"),v=e("LPTA"),h=v.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},a=[],i=[],r=[],o=[],d=Math.min,n=Math.max,l=Math.cos,t=Math.sin,s=Math.sqrt,u=Math.abs,p=typeof Float32Array!="undefined",w=function(A){this._saveData=!(A||!1),this._saveData&&(this.data=[]),this._ctx=null};w.prototype={constructor:w,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(A,S,T){T=T||0,this._ux=u(T/h/A)||0,this._uy=u(T/h/S)||0},getContext:function(){return this._ctx},beginPath:function(A){return this._ctx=A,A&&A.beginPath(),A&&(this.dpr=A.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(A,S){return this.addData(c.M,A,S),this._ctx&&this._ctx.moveTo(A,S),this._x0=A,this._y0=S,this._xi=A,this._yi=S,this},lineTo:function(A,S){var T=u(A-this._xi)>this._ux||u(S-this._yi)>this._uy||this._len<5;return this.addData(c.L,A,S),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(A,S):this._ctx.lineTo(A,S)),T&&(this._xi=A,this._yi=S),this},bezierCurveTo:function(A,S,T,L,x,C){return this.addData(c.C,A,S,T,L,x,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(A,S,T,L,x,C):this._ctx.bezierCurveTo(A,S,T,L,x,C)),this._xi=x,this._yi=C,this},quadraticCurveTo:function(A,S,T,L){return this.addData(c.Q,A,S,T,L),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(A,S,T,L):this._ctx.quadraticCurveTo(A,S,T,L)),this._xi=T,this._yi=L,this},arc:function(A,S,T,L,x,C){return this.addData(c.A,A,S,T,T,L,x-L,0,C?0:1),this._ctx&&this._ctx.arc(A,S,T,L,x,C),this._xi=l(x)*T+A,this._yi=t(x)*T+S,this},arcTo:function(A,S,T,L,x){return this._ctx&&this._ctx.arcTo(A,S,T,L,x),this},rect:function(A,S,T,L){return this._ctx&&this._ctx.rect(A,S,T,L),this.addData(c.R,A,S,T,L),this},closePath:function(){this.addData(c.Z);var A=this._ctx,S=this._x0,T=this._y0;return A&&(this._needsDash()&&this._dashedLineTo(S,T),A.closePath()),this._xi=S,this._yi=T,this},fill:function(A){A&&A.fill(),this.toStatic()},stroke:function(A){A&&A.stroke(),this.toStatic()},setLineDash:function(A){if(A instanceof Array){this._lineDash=A,this._dashIdx=0;for(var S=0,T=0;T<A.length;T++)S+=A[T];this._dashSum=S}return this},setLineDashOffset:function(A){return this._dashOffset=A,this},len:function(){return this._len},setData:function(A){var S=A.length;!(this.data&&this.data.length===S)&&p&&(this.data=new Float32Array(S));for(var T=0;T<S;T++)this.data[T]=A[T];this._len=S},appendPath:function(A){A instanceof Array||(A=[A]);for(var S=A.length,T=0,L=this._len,x=0;x<S;x++)T+=A[x].len();p&&this.data instanceof Float32Array&&(this.data=new Float32Array(L+T));for(var x=0;x<S;x++)for(var C=A[x].data,O=0;O<C.length;O++)this.data[L++]=C[O];this._len=L},addData:function(A){if(!this._saveData)return;var S=this.data;this._len+arguments.length>S.length&&(this._expandData(),S=this.data);for(var T=0;T<arguments.length;T++)S[this._len++]=arguments[T];this._prevCmd=A},_expandData:function(){if(!(this.data instanceof Array)){for(var A=[],S=0;S<this._len;S++)A[S]=this.data[S];this.data=A}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(A,S){var T=this._dashSum,L=this._dashOffset,x=this._lineDash,C=this._ctx,O=this._xi,N=this._yi,F=A-O,k=S-N,P=s(F*F+k*k),B=O,z=N,R,U=x.length,j;for(F/=P,k/=P,L<0&&(L=T+L),L%=T,B-=L*F,z-=L*k;F>0&&B<=A||F<0&&B>=A||F===0&&(k>0&&z<=S||k<0&&z>=S);){if(j=this._dashIdx,R=x[j],B+=F*R,z+=k*R,this._dashIdx=(j+1)%U,F>0&&B<O||F<0&&B>O||k>0&&z<N||k<0&&z>N)continue;C[j%2?"moveTo":"lineTo"](F>=0?d(B,A):n(B,A),k>=0?d(z,S):n(z,S))}F=B-A,k=z-S,this._dashOffset=-s(F*F+k*k)},_dashedBezierTo:function(A,S,T,L,x,C){var O=this._dashSum,N=this._dashOffset,F=this._lineDash,k=this._ctx,P=this._xi,B=this._yi,z,R,U,j=g.cubicAt,H=0,V=this._dashIdx,X=F.length,W,G,$=0;for(N<0&&(N=O+N),N%=O,z=0;z<1;z+=.1)R=j(P,A,T,x,z+.1)-j(P,A,T,x,z),U=j(B,S,L,C,z+.1)-j(B,S,L,C,z),H+=s(R*R+U*U);for(;V<X&&!($+=F[V],$>N);V++);for(z=($-N)/H;z<=1;)W=j(P,A,T,x,z),G=j(B,S,L,C,z),V%2?k.moveTo(W,G):k.lineTo(W,G),z+=F[V]/H,V=(V+1)%X;V%2!==0&&k.lineTo(x,C),R=x-W,U=C-G,this._dashOffset=-s(R*R+U*U)},_dashedQuadraticTo:function(A,S,T,L){var x=T,C=L;T=(T+2*A)/3,L=(L+2*S)/3,A=(this._xi+2*A)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(A,S,T,L,x,C)},toStatic:function(){var A=this.data;A instanceof Array&&(A.length=this._len,p&&(this.data=new Float32Array(A)))},getBoundingRect:function(){a[0]=a[1]=r[0]=r[1]=Number.MAX_VALUE,i[0]=i[1]=o[0]=o[1]=-Number.MAX_VALUE;for(var A=this.data,S=0,T=0,L=0,x=0,C=0;C<A.length;){var O=A[C++];C===1&&(S=A[C],T=A[C+1],L=S,x=T);switch(O){case c.M:L=A[C++],x=A[C++],S=L,T=x,r[0]=L,r[1]=x,o[0]=L,o[1]=x;break;case c.L:y.fromLine(S,T,A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.C:y.fromCubic(S,T,A[C++],A[C++],A[C++],A[C++],A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.Q:y.fromQuadratic(S,T,A[C++],A[C++],A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.A:var N=A[C++],F=A[C++],k=A[C++],P=A[C++],B=A[C++],z=A[C++]+B;C+=1;var R=1-A[C++];C===1&&(L=l(B)*k+N,x=t(B)*P+F),y.fromArc(N,F,k,P,B,z,R,r,o),S=l(z)*k+N,T=t(z)*P+F;break;case c.R:L=S=A[C++],x=T=A[C++];var U=A[C++],j=A[C++];y.fromLine(L,x,L+U,x+j,r,o);break;case c.Z:S=L,T=x;break}f.min(a,a,r),f.max(i,i,o)}return C===0&&(a[0]=a[1]=i[0]=i[1]=0),new m(a[0],a[1],i[0]-a[0],i[1]-a[1])},rebuildPath:function(A){for(var S=this.data,T,L,x,C,O,N,F=this._ux,k=this._uy,P=this._len,B=0;B<P;){var z=S[B++];B===1&&(x=S[B],C=S[B+1],T=x,L=C);switch(z){case c.M:T=x=S[B++],L=C=S[B++],A.moveTo(x,C);break;case c.L:O=S[B++],N=S[B++],(u(O-x)>F||u(N-C)>k||B===P-1)&&(A.lineTo(O,N),x=O,C=N);break;case c.C:A.bezierCurveTo(S[B++],S[B++],S[B++],S[B++],S[B++],S[B++]),x=S[B-2],C=S[B-1];break;case c.Q:A.quadraticCurveTo(S[B++],S[B++],S[B++],S[B++]),x=S[B-2],C=S[B-1];break;case c.A:var R=S[B++],U=S[B++],j=S[B++],H=S[B++],V=S[B++],X=S[B++],W=S[B++],G=S[B++],$=j>H?j:H,ge=j>H?1:j/H,q=j>H?H/j:1,Se=Math.abs(j-H)>.001,Ce=V+X;Se?(A.translate(R,U),A.rotate(W),A.scale(ge,q),A.arc(0,0,$,V,Ce,1-G),A.scale(1/ge,1/q),A.rotate(-W),A.translate(-R,-U)):A.arc(R,U,$,V,Ce,1-G),B===1&&(T=l(V)*j+R,L=t(V)*H+U),x=l(Ce)*j+R,C=t(Ce)*H+U;break;case c.R:T=x=S[B],L=C=S[B+1],A.rect(S[B++],S[B++],S[B++],S[B++]);break;case c.Z:A.closePath(),x=T,C=L}}}},w.CMD=c;var b=w;D.exports=b},IUWy:function(D,_){var e={};function g(y,m){e[y]=m}function f(y){return e[y]}_.register=g,_.get=f},IWNH:function(D,_,e){var g=e("T4UG"),f=e("Bsck"),y=e("7aKB"),m=y.encodeHTML,v=e("Qxkt"),h=g.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var a={name:c.name,children:c.data},i=c.leaves||{},r=new v(i,this,this.ecModel),o=f.createTree(a,this,{},d);function d(s){s.wrapMethod("getItemModel",function(u,p){var w=o.getNodeByDataIndex(p);return(!w.children.length||!w.isExpand)&&(u.parentModel=r),u})}var n=0;o.eachNode("preorder",function(s){s.depth>n&&(n=s.depth)});var l=c.expandAndCollapse,t=l&&c.initialTreeDepth>=0?c.initialTreeDepth:n;return o.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=t}),o.data},getOrient:function(){var c=this.get("orient");return c==="horizontal"?c="LR":c==="vertical"&&(c="TB"),c},setZoom:function(c){this.option.zoom=c},setCenter:function(c){this.option.center=c},formatTooltip:function(c){for(var a=this.getData().tree,i=a.root.children[0],r=a.getNodeByDataIndex(c),o=r.getValue(),d=r.name;r&&r!==i;)d=r.parentNode.name+"."+d,r=r.parentNode;return m(d+(isNaN(o)||o==null?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});D.exports=h},IWp7:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("7aKB"),m=e("lE7J"),v=e("ieMj"),h=v.prototype,c=Math.ceil,a=Math.floor,i=1e3,r=i*60,o=r*60,d=o*24,n=function(u,p,w,b){for(;w<b;){var E=w+b>>>1;u[E][1]<p?w=E+1:b=E}return w},l=v.extend({type:"time",getLabel:function(u){var p=this._stepLvl,w=new Date(u);return y.formatTime(p[0],w,this.getSetting("useUTC"))},niceExtent:function(u){var p=this._extent;if(p[0]===p[1]&&(p[0]-=d,p[1]+=d),p[1]===-Infinity&&p[0]===Infinity){var w=new Date;p[1]=+new Date(w.getFullYear(),w.getMonth(),w.getDate()),p[0]=p[1]-d}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var b=this._interval;u.fixMin||(p[0]=f.round(a(p[0]/b)*b)),u.fixMax||(p[1]=f.round(c(p[1]/b)*b))},niceTicks:function(u,p,w){u=u||10;var b=this._extent,E=b[1]-b[0],A=E/u;p!=null&&A<p&&(A=p),w!=null&&A>w&&(A=w);var S=t.length,T=n(t,A,0,S),L=t[Math.min(T,S-1)],x=L[1];if(L[0]==="year"){var C=E/x,O=f.nice(C/u,!0);x*=O}var N=this.getSetting("useUTC")?0:new Date(+b[0]||+b[1]).getTimezoneOffset()*60*1e3,F=[Math.round(c((b[0]-N)/x)*x+N),Math.round(a((b[1]-N)/x)*x+N)];m.fixExtent(F,b),this._stepLvl=L,this._interval=x,this._niceExtent=F},parse:function(u){return+f.parseDate(u)}});g.each(["contain","normalize"],function(u){l.prototype[u]=function(p){return h[u].call(this,this.parse(p))}});var t=[["hh:mm:ss",i],["hh:mm:ss",i*5],["hh:mm:ss",i*10],["hh:mm:ss",i*15],["hh:mm:ss",i*30],[`hh:mm
|
|
|
MM-dd`,r],[`hh:mm
|
|
|
MM-dd`,r*5],[`hh:mm
|
|
|
MM-dd`,r*10],[`hh:mm
|
|
|
MM-dd`,r*15],[`hh:mm
|
|
|
MM-dd`,r*30],[`hh:mm
|
|
|
MM-dd`,o],[`hh:mm
|
|
|
MM-dd`,o*2],[`hh:mm
|
|
|
MM-dd`,o*6],[`hh:mm
|
|
|
MM-dd`,o*12],[`MM-dd
|
|
|
yyyy`,d],[`MM-dd
|
|
|
yyyy`,d*2],[`MM-dd
|
|
|
yyyy`,d*3],[`MM-dd
|
|
|
yyyy`,d*4],[`MM-dd
|
|
|
yyyy`,d*5],[`MM-dd
|
|
|
yyyy`,d*6],["week",d*7],[`MM-dd
|
|
|
yyyy`,d*10],["week",d*14],["week",d*21],["month",d*31],["week",d*42],["month",d*62],["week",d*70],["quarter",d*95],["month",d*31*4],["month",d*31*5],["half-year",d*380/2],["month",d*31*8],["month",d*31*10],["year",d*380]];l.create=function(u){return new l({useUTC:u.ecModel.get("useUTC")})};var s=l;D.exports=s},IXuL:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("MwEJ"),m=e("T4UG"),v=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,c){return y(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:Infinity}});D.exports=v},IXyC:function(D,_,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var y=f.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){f.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var v=this.option;m&&g.merge(v,m,!0),this._initDimensions()},contains:function(m,v){var h=m.get("parallelIndex");return h!=null&&v.getComponent("parallel",h)===this},setAxisExpand:function(m){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){m.hasOwnProperty(v)&&(this.option[v]=m[v])},this)},_initDimensions:function(){var m=this.dimensions=[],v=this.parallelAxisIndex=[],h=g.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);g.each(h,function(c){m.push("dim"+c.get("dim")),v.push(c.componentIndex)})}});D.exports=y},ItGF:function(D,_){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=f(navigator.userAgent);var g=e;function f(y){var m={},v={},h=y.match(/Firefox\/([\d.]+)/),c=y.match(/MSIE\s([\d.]+)/)||y.match(/Trident\/.+?rv:(([\d.]+))/),a=y.match(/Edge\/([\d.]+)/),i=/micromessenger/i.test(y);return h&&(v.firefox=!0,v.version=h[1]),c&&(v.ie=!0,v.version=c[1]),a&&(v.edge=!0,v.version=a[1]),i&&(v.weChat=!0),{browser:v,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}D.exports=g},ItS6:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("eP3c"),f=y(e("1q3G"));function y(a){return a&&a.__esModule?a:{default:a}}function m(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){for(var r=0;r<i.length;r++){var o=i[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function h(a,i,r){return i&&v(a.prototype,i),r&&v(a,r),a}var c=function(){function a(){m(this,a),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.inflateInit)(this.strm,this.windowBits)}return h(a,[{key:"setInput",value:function(r){r?(this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0):(this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0)}},{key:"inflate",value:function(r){r>this.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var o=(0,g.inflate)(this.strm,0);if(o<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,g.inflateReset)(this.strm)}}]),a}();_.default=c},Itpr:function(D,_,e){var g=e("+TT/");function f(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[t],u,p;u=s.pop();)if(p=u.children,u.isExpand&&p.length)for(var w=p.length,b=w-1;b>=0;b--){var E=p[b];E.hierNode={defaultAncestor:null,ancestor:E,prelim:0,modifier:0,change:0,shift:0,i:b,thread:null},s.push(E)}}function y(t,s){var u=t.isExpand?t.children:[],p=t.parentNode.children,w=t.hierNode.i?p[t.hierNode.i-1]:null;if(u.length){a(t);var b=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;w?(t.hierNode.prelim=w.hierNode.prelim+s(t,w),t.hierNode.modifier=t.hierNode.prelim-b):t.hierNode.prelim=b}else w&&(t.hierNode.prelim=w.hierNode.prelim+s(t,w));t.parentNode.hierNode.defaultAncestor=i(t,w,t.parentNode.hierNode.defaultAncestor||p[0],s)}function m(t){var s=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:s},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function v(t){return arguments.length?t:l}function h(t,s){var u={};return t-=Math.PI/2,u.x=s*Math.cos(t),u.y=s*Math.sin(t),u}function c(t,s){return g.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function a(t){for(var s=t.children,u=s.length,p=0,w=0;--u>=0;){var b=s[u];b.hierNode.prelim+=p,b.hierNode.modifier+=p,w+=b.hierNode.change,p+=b.hierNode.shift+w}}function i(t,s,u,p){if(s){for(var w=t,b=t,E=b.parentNode.children[0],A=s,S=w.hierNode.modifier,T=b.hierNode.modifier,L=E.hierNode.modifier,x=A.hierNode.modifier;A=r(A),b=o(b),A&&b;){w=r(w),E=o(E),w.hierNode.ancestor=t;var C=A.hierNode.prelim+x-b.hierNode.prelim-T+p(A,b);C>0&&(n(d(A,t,u),t,C),T+=C,S+=C),x+=A.hierNode.modifier,T+=b.hierNode.modifier,S+=w.hierNode.modifier,L+=E.hierNode.modifier}A&&!r(w)&&(w.hierNode.thread=A,w.hierNode.modifier+=x-S),b&&!o(E)&&(E.hierNode.thread=b,E.hierNode.modifier+=T-L,u=t)}return u}function r(t){var s=t.children;return s.length&&t.isExpand?s[s.length-1]:t.hierNode.thread}function o(t){var s=t.children;return s.length&&t.isExpand?s[0]:t.hierNode.thread}function d(t,s,u){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:u}function n(t,s,u){var p=u/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=p,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,t.hierNode.change+=p}function l(t,s){return t.parentNode===s.parentNode?1:2}_.init=f,_.firstWalk=y,_.secondWalk=m,_.separation=v,_.radialCoordinate=h,_.getViewRect=c},IwbS:function(D,_,e){var g=e("bYtY"),f=e("NC18"),y=e("Qe9p"),m=e("Fofx"),v=e("QBsz"),h=e("y+Vt"),c=e("DN4a"),a=e("Dagg");_.Image=a;var i=e("4fz+");_.Group=i;var r=e("dqUG");_.Text=r;var o=e("2fw6");_.Circle=o;var d=e("SqI9");_.Sector=d;var n=e("RXMa");_.Ring=n;var l=e("h7HQ");_.Polygon=l;var t=e("1Jh7");_.Polyline=t;var s=e("x6Kt");_.Rect=s;var u=e("yxFR");_.Line=u;var p=e("rA99");_.BezierCurve=p;var w=e("jTL6");_.Arc=w;var b=e("1MYJ");_.CompoundPath=b;var E=e("SKnc");_.LinearGradient=E;var A=e("3e3G");_.RadialGradient=A;var S=e("mFDi");_.BoundingRect=S;var T=e("OS9S");_.IncrementalDisplayable=T;var L=e("nPnh"),x=Math.max,C=Math.min,O={},N=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",P="normal",B=1,z={},R={};function U(me){return h.extend(me)}function j(me,he){return f.extendFromString(me,he)}function H(me,he){R[me]=he}function V(me){if(R.hasOwnProperty(me))return R[me]}function X(me,he,Re,He){var ze=f.createFromString(me,he);return Re&&(He==="center"&&(Re=G(Re,ze.getBoundingRect())),ge(ze,Re)),ze}function W(me,he,Re){var He=new a({style:{image:me,x:he.x,y:he.y,width:he.width,height:he.height},onload:function(ze){if(Re==="center"){var Ye={width:ze.width,height:ze.height};He.setStyle(G(he,Ye))}}});return He}function G(me,he){var Re=he.width/he.height,He=me.height*Re,ze;He<=me.width?ze=me.height:(He=me.width,ze=He/Re);var Ye=me.x+me.width/2,Pe=me.y+me.height/2;return{x:Ye-He/2,y:Pe-ze/2,width:He,height:ze}}var $=f.mergePath;function ge(me,he){if(!me.applyTransform)return;var Re=me.getBoundingRect(),He=Re.calculateTransform(he);me.applyTransform(He)}function q(me){return L.subPixelOptimizeLine(me.shape,me.shape,me.style),me}function Se(me){return L.subPixelOptimizeRect(me.shape,me.shape,me.style),me}var Ce=L.subPixelOptimize;function Ae(me){return me!=null&&me!=="none"}var Ue=g.createHashMap(),Qe=0;function gt(me){if(typeof me!="string")return me;var he=Ue.get(me);return he||(he=y.lift(me,-.1),Qe<1e4&&(Ue.set(me,he),Qe++)),he}function _e(me){if(!me.__hoverStlDirty)return;me.__hoverStlDirty=!1;var he=me.__hoverStl;if(!he){me.__cachedNormalStl=me.__cachedNormalZ2=null;return}var Re=me.__cachedNormalStl={};me.__cachedNormalZ2=me.z2;var He=me.style;for(var ze in he)he[ze]!=null&&(Re[ze]=He[ze]);Re.fill=He.fill,Re.stroke=He.stroke}function Oe(me){var he=me.__hoverStl;if(!he||me.__highlighted)return;var Re=me.__zr,He=me.useHoverLayer&&Re&&Re.painter.type==="canvas";if(me.__highlighted=He?"layer":"plain",me.isGroup||!Re&&me.useHoverLayer)return;var ze=me,Ye=me.style;He&&(ze=Re.addHover(me),Ye=ze.style),ot(Ye),He||_e(ze),Ye.extendFrom(he),lt(Ye,he,"fill"),lt(Ye,he,"stroke"),tt(Ye),He||(me.dirty(!1),me.z2+=N)}function lt(me,he,Re){!Ae(he[Re])&&Ae(me[Re])&&(me[Re]=gt(me[Re]))}function ce(me){var he=me.__highlighted;if(!he)return;if(me.__highlighted=!1,me.isGroup)return;if(he==="layer")me.__zr&&me.__zr.removeHover(me);else{var Re=me.style,He=me.__cachedNormalStl;He&&(ot(Re),me.setStyle(He),tt(Re));var ze=me.__cachedNormalZ2;ze!=null&&me.z2-ze===N&&(me.z2=ze)}}function Y(me,he,Re){var He=P,ze=P,Ye;me.__highlighted&&(He=k,Ye=!0),he(me,Re),me.__highlighted&&(ze=k,Ye=!0),me.isGroup&&me.traverse(function(Pe){!Pe.isGroup&&he(Pe,Re)}),Ye&&me.__highDownOnUpdate&&me.__highDownOnUpdate(He,ze)}function K(me,he){he=me.__hoverStl=he!==!1&&(me.hoverStyle||he||{}),me.__hoverStlDirty=!0,me.__highlighted&&(me.__cachedNormalStl=null,ce(me),Oe(me))}function Q(me){!Te(this,me)&&!this.__highByOuter&&Y(this,Oe)}function ye(me){!Te(this,me)&&!this.__highByOuter&&Y(this,ce)}function ue(me){this.__highByOuter|=1<<(me||0),Y(this,Oe)}function Ne(me){!(this.__highByOuter&=~(1<<(me||0)))&&Y(this,ce)}function Te(me,he){return me.__highDownSilentOnTouch&&he.zrByTouch}function oe(me,he){de(me,!0),Y(me,K,he)}function de(me,he){var Re=he===!1;if(me.__highDownSilentOnTouch=me.highDownSilentOnTouch,me.__highDownOnUpdate=me.highDownOnUpdate,!Re||me.__highDownDispatcher){var He=Re?"off":"on";me[He]("mouseover",Q)[He]("mouseout",ye),me[He]("emphasis",ue)[He]("normal",Ne),me.__highByOuter=me.__highByOuter||0,me.__highDownDispatcher=!Re}}function Le(me){return!!(me&&me.__highDownDispatcher)}function Ge(me){var he=z[me];return he==null&&B<=32&&(he=z[me]=B++),he}function ht(me,he,Re,He,ze,Ye,Pe){ze=ze||O;var nt=ze.labelFetcher,bt=ze.labelDataIndex,Ot=ze.labelDimIndex,ae=ze.labelProp,pe=Re.getShallow("show"),J=He.getShallow("show"),ne;(pe||J)&&(nt&&(ne=nt.getFormattedLabel(bt,"normal",null,Ot,ae)),ne==null&&(ne=g.isFunction(ze.defaultText)?ze.defaultText(bt,ze):ze.defaultText));var xe=pe?ne:null,De=J?g.retrieve2(nt?nt.getFormattedLabel(bt,"emphasis",null,Ot,ae):null,ne):null;(xe!=null||De!=null)&&(Be(me,Re,Ye,ze),Be(he,He,Pe,ze,!0)),me.text=xe,he.text=De}function Et(me,he,Re){var He=me.style;he&&(ot(He),me.setStyle(he),tt(He)),He=me.__hoverStl,Re&&He&&(ot(He),g.extend(He,Re),tt(He))}function Be(me,he,Re,He,ze){return Ke(me,he,He,ze),Re&&g.extend(me,Re),me}function Dt(me,he,Re){var He={isRectText:!0},ze;Re===!1?ze=!0:He.autoColor=Re,Ke(me,he,He,ze)}function Ke(me,he,Re,He){if(Re=Re||O,Re.isRectText){var ze;Re.getTextPosition?ze=Re.getTextPosition(he,He):(ze=he.getShallow("position")||(He?null:"inside"),ze==="outside"&&(ze="top")),me.textPosition=ze,me.textOffset=he.getShallow("offset");var Ye=he.getShallow("rotate");Ye!=null&&(Ye*=Math.PI/180),me.textRotation=Ye,me.textDistance=g.retrieve2(he.getShallow("distance"),He?null:5)}var Pe=he.ecModel,nt=Pe&&Pe.option.textStyle,bt=At(he),Ot;if(bt){Ot={};for(var ae in bt)if(bt.hasOwnProperty(ae)){var pe=he.getModel(["rich",ae]);Xe(Ot[ae]={},pe,nt,Re,He)}}return me.rich=Ot,Xe(me,he,nt,Re,He,!0),Re.forceRich&&!Re.textStyle&&(Re.textStyle={}),me}function At(me){for(var he;me&&me!==me.ecModel;){var Re=(me.option||O).rich;if(Re){he=he||{};for(var He in Re)Re.hasOwnProperty(He)&&(he[He]=1)}me=me.parentModel}return he}function Xe(me,he,Re,He,ze,Ye){Re=!ze&&Re||O,me.textFill=et(he.getShallow("color"),He)||Re.color,me.textStroke=et(he.getShallow("textBorderColor"),He)||Re.textBorderColor,me.textStrokeWidth=g.retrieve2(he.getShallow("textBorderWidth"),Re.textBorderWidth),ze||(Ye&&(me.insideRollbackOpt=He,tt(me)),me.textFill==null&&(me.textFill=He.autoColor)),me.fontStyle=he.getShallow("fontStyle")||Re.fontStyle,me.fontWeight=he.getShallow("fontWeight")||Re.fontWeight,me.fontSize=he.getShallow("fontSize")||Re.fontSize,me.fontFamily=he.getShallow("fontFamily")||Re.fontFamily,me.textAlign=he.getShallow("align"),me.textVerticalAlign=he.getShallow("verticalAlign")||he.getShallow("baseline"),me.textLineHeight=he.getShallow("lineHeight"),me.textWidth=he.getShallow("width"),me.textHeight=he.getShallow("height"),me.textTag=he.getShallow("tag"),(!Ye||!He.disableBox)&&(me.textBackgroundColor=et(he.getShallow("backgroundColor"),He),me.textPadding=he.getShallow("padding"),me.textBorderColor=et(he.getShallow("borderColor"),He),me.textBorderWidth=he.getShallow("borderWidth"),me.textBorderRadius=he.getShallow("borderRadius"),me.textBoxShadowColor=he.getShallow("shadowColor"),me.textBoxShadowBlur=he.getShallow("shadowBlur"),me.textBoxShadowOffsetX=he.getShallow("shadowOffsetX"),me.textBoxShadowOffsetY=he.getShallow("shadowOffsetY")),me.textShadowColor=he.getShallow("textShadowColor")||Re.textShadowColor,me.textShadowBlur=he.getShallow("textShadowBlur")||Re.textShadowBlur,me.textShadowOffsetX=he.getShallow("textShadowOffsetX")||Re.textShadowOffsetX,me.textShadowOffsetY=he.getShallow("textShadowOffsetY")||Re.textShadowOffsetY}function et(me,he){return me!=="auto"?me:he&&he.autoColor?he.autoColor:null}function tt(me){var he=me.textPosition,Re=me.insideRollbackOpt,He;if(Re&&me.textFill==null){var ze=Re.autoColor,Ye=Re.isRectText,Pe=Re.useInsideStyle,nt=Pe!==!1&&(Pe===!0||Ye&&he&&typeof he=="string"&&he.indexOf("inside")>=0),bt=!nt&&ze!=null;(nt||bt)&&(He={textFill:me.textFill,textStroke:me.textStroke,textStrokeWidth:me.textStrokeWidth}),nt&&(me.textFill="#fff",me.textStroke==null&&(me.textStroke=ze,me.textStrokeWidth==null&&(me.textStrokeWidth=2))),bt&&(me.textFill=ze)}me.insideRollback=He}function ot(me){var he=me.insideRollback;he&&(me.textFill=he.textFill,me.textStroke=he.textStroke,me.textStrokeWidth=he.textStrokeWidth,me.insideRollback=null)}function Ve(me,he){var Re=he&&he.getModel("textStyle");return g.trim([me.fontStyle||Re&&Re.getShallow("fontStyle")||"",me.fontWeight||Re&&Re.getShallow("fontWeight")||"",(me.fontSize||Re&&Re.getShallow("fontSize")||12)+"px",me.fontFamily||Re&&Re.getShallow("fontFamily")||"sans-serif"].join(" "))}function se(me,he,Re,He,ze,Ye){typeof ze=="function"&&(Ye=ze,ze=null);var Pe=He&&He.isAnimationEnabled();if(Pe){var nt=me?"Update":"",bt=He.getShallow("animationDuration"+nt),Ot=He.getShallow("animationEasing"+nt),ae=He.getShallow("animationDelay"+nt);typeof ae=="function"&&(ae=ae(ze,He.getAnimationDelayParams?He.getAnimationDelayParams(he,ze):null)),typeof bt=="function"&&(bt=bt(ze)),bt>0?he.animateTo(Re,bt,ae||0,Ot,Ye,!!Ye):(he.stopAnimation(),he.attr(Re),Ye&&Ye())}else he.stopAnimation(),he.attr(Re),Ye&&Ye()}function re(me,he,Re,He,ze){se(!0,me,he,Re,He,ze)}function it(me,he,Re,He,ze){se(!1,me,he,Re,He,ze)}function qe(me,he){for(var Re=m.identity([]);me&&me!==he;)m.mul(Re,me.getLocalTransform(),Re),me=me.parent;return Re}function be(me,he,Re){return he&&!g.isArrayLike(he)&&(he=c.getLocalTransform(he)),Re&&(he=m.invert([],he)),v.applyTransform([],me,he)}function Zt(me,he,Re){var He=he[4]===0||he[5]===0||he[0]===0?1:Math.abs(2*he[4]/he[0]),ze=he[4]===0||he[5]===0||he[2]===0?1:Math.abs(2*he[4]/he[2]),Ye=[me==="left"?-He:me==="right"?He:0,me==="top"?-ze:me==="bottom"?ze:0];return Ye=be(Ye,he,Re),Math.abs(Ye[0])>Math.abs(Ye[1])?Ye[0]>0?"right":"left":Ye[1]>0?"bottom":"top"}function dt(me,he,Re,He){if(!me||!he)return;function ze(nt){var bt={};return nt.traverse(function(Ot){!Ot.isGroup&&Ot.anid&&(bt[Ot.anid]=Ot)}),bt}function Ye(nt){var bt={position:v.clone(nt.position),rotation:nt.rotation};return nt.shape&&(bt.shape=g.extend({},nt.shape)),bt}var Pe=ze(me);he.traverse(function(nt){if(!nt.isGroup&&nt.anid){var bt=Pe[nt.anid];if(bt){var Ot=Ye(nt);nt.attr(Ye(bt)),re(nt,Ot,Re,nt.dataIndex)}}})}function ct(me,he){return g.map(me,function(Re){var He=Re[0];He=x(He,he.x),He=C(He,he.x+he.width);var ze=Re[1];return ze=x(ze,he.y),ze=C(ze,he.y+he.height),[He,ze]})}function yt(me,he){var Re=x(me.x,he.x),He=C(me.x+me.width,he.x+he.width),ze=x(me.y,he.y),Ye=C(me.y+me.height,he.y+he.height);if(He>=Re&&Ye>=ze)return{x:Re,y:ze,width:He-Re,height:Ye-ze}}function _t(me,he,Re){he=g.extend({rectHover:!0},he);var He=he.style={strokeNoScale:!0};if(Re=Re||{x:-1,y:-1,width:2,height:2},me)return me.indexOf("image://")===0?(He.image=me.slice(8),g.defaults(He,Re),new a(he)):X(me.replace("path://",""),he,Re,"center")}function or(me,he,Re,He,ze){for(var Ye=0,Pe=ze[ze.length-1];Ye<ze.length;Ye++){var nt=ze[Ye];if(Bt(me,he,Re,He,nt[0],nt[1],Pe[0],Pe[1]))return!0;Pe=nt}}function Bt(me,he,Re,He,ze,Ye,Pe,nt){var bt=Re-me,Ot=He-he,ae=Pe-ze,pe=nt-Ye,J=we(ae,pe,bt,Ot);if(ve(J))return!1;var ne=me-ze,xe=he-Ye,De=we(ne,xe,bt,Ot)/J;if(De<0||De>1)return!1;var Fe=we(ne,xe,ae,pe)/J;return!(Fe<0||Fe>1)}function we(me,he,Re,He){return me*He-Re*he}function ve(me){return me<=1e-6&&me>=-1e-6}H("circle",o),H("sector",d),H("ring",n),H("polygon",l),H("polyline",t),H("rect",s),H("line",u),H("bezierCurve",p),H("arc",w),_.Z2_EMPHASIS_LIFT=N,_.CACHED_LABEL_STYLE_PROPERTIES=F,_.extendShape=U,_.extendPath=j,_.registerShape=H,_.getShapeClass=V,_.makePath=X,_.makeImage=W,_.mergePath=$,_.resizePath=ge,_.subPixelOptimizeLine=q,_.subPixelOptimizeRect=Se,_.subPixelOptimize=Ce,_.setElementHoverStyle=K,_.setHoverStyle=oe,_.setAsHighDownDispatcher=de,_.isHighDownDispatcher=Le,_.getHighlightDigit=Ge,_.setLabelStyle=ht,_.modifyLabelStyle=Et,_.setTextStyle=Be,_.setText=Dt,_.getFont=Ve,_.updateProps=re,_.initProps=it,_.getTransform=qe,_.applyTransform=be,_.transformDirection=Zt,_.groupTransition=dt,_.clipPointsByRect=ct,_.clipRectByRect=yt,_.createIcon=_t,_.linePolygonIntersect=or,_.lineLineIntersect=Bt},IyUQ:function(D,_,e){var g=e("bYtY"),f=e("YH21"),y=e("IwbS"),m=e("iLNv"),v=e("fc+c"),h=e("OELB"),c=e("+TT/"),a=e("72pK"),i=y.Rect,r=h.linearMap,o=h.asc,d=g.bind,n=g.each,l=7,t=1,s=30,u="horizontal",p="vertical",w=5,b=["line","bar","candlestick","scatter"],E=v.extend({type:"dataZoom.slider",init:function(L,x){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=x},render:function(L,x,C,O){if(E.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=L.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){E.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){E.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var L=this.group;L.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new y.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),L.add(x),this._positionGroup()},_resetLocation:function(){var L=this.dataZoomModel,x=this.api,C=this._findCoordRect(),O={width:x.getWidth(),height:x.getHeight()},N=this._orient===u?{right:O.width-C.x-C.width,top:O.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},F=c.getLayoutParams(L.option);g.each(["right","top","width","height"],function(P){F[P]==="ph"&&(F[P]=N[P])});var k=c.getLayoutRect(F,O,L.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var L=this.group,x=this._location,C=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),N=O&&O.get("inverse"),F=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(C===u&&!N?{scale:k?[1,1]:[1,-1]}:C===u&&N?{scale:k?[-1,1]:[-1,-1]}:C===p&&!N?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var P=L.getBoundingRect([F]);L.attr("position",[x.x-P.x,x.y-P.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var L=this.dataZoomModel,x=this._size,C=this._displayables.barGroup;C.add(new i({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:L.get("backgroundColor")},z2:-40})),C.add(new i({shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var L=this._dataShadowInfo=this._prepareDataShadowInfo();if(!L)return;var x=this._size,C=L.series,O=C.getRawData(),N=C.getShadowDim?C.getShadowDim():L.otherDim;if(N==null)return;var F=O.getDataExtent(N),k=(F[1]-F[0])*.3;F=[F[0]-k,F[1]+k];var P=[0,x[1]],B=[0,x[0]],z=[[x[0],0],[0,0]],R=[],U=B[1]/(O.count()-1),j=0,H=Math.round(O.count()/x[0]),V;O.each([N],function(W,G){if(H>0&&G%H){j+=U;return}var $=W==null||isNaN(W)||W==="",ge=$?0:r(W,F,P,!0);$&&!V&&G?(z.push([z[z.length-1][0],0]),R.push([R[R.length-1][0],0])):!$&&V&&(z.push([j,0]),R.push([j,0])),z.push([j,ge]),R.push([j,ge]),j+=U,V=$});var X=this.dataZoomModel;this._displayables.barGroup.add(new y.Polygon({shape:{points:z},style:g.defaults({fill:X.get("dataBackgroundColor")},X.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new y.Polyline({shape:{points:R},style:X.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var L=this.dataZoomModel,x=L.get("showDataShadow");if(x===!1)return;var C,O=this.ecModel;return L.eachTargetAxis(function(N,F){var k=L.getAxisProxy(N.name,F).getTargetSeriesModels();g.each(k,function(P){if(C)return;if(x!==!0&&g.indexOf(b,P.get("type"))<0)return;var B=O.getComponent(N.axis,F).axis,z=A(N.name),R,U=P.coordinateSystem;z!=null&&U.getOtherAxis&&(R=U.getOtherAxis(B).inverse),z=P.getData().mapDimension(z),C={thisAxis:B,series:P,thisDim:N.name,otherDim:z,otherAxisInverse:R}},this)},this),C},_renderHandle:function(){var L=this._displayables,x=L.handles=[],C=L.handleLabels=[],O=this._displayables.barGroup,N=this._size,F=this.dataZoomModel;O.add(L.filler=new i({draggable:!0,cursor:S(this._orient),drift:d(this._onDragMove,this,"all"),ondragstart:d(this._showDataInfo,this,!0),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1),style:{fill:F.get("fillerColor"),textPosition:"inside"}})),O.add(new i({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:N[0],height:N[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(k){var P=y.createIcon(F.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:d(this._onDragMove,this,k),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),B=P.getBoundingRect();this._handleHeight=h.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=B.width/B.height*this._handleHeight,P.setStyle(F.getModel("handleStyle").getItemStyle());var z=F.get("handleColor");z!=null&&(P.style.fill=z),O.add(x[k]=P);var R=F.textStyleModel;this.group.add(C[k]=new y.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var L=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[r(L[0],[0,100],x,!0),r(L[1],[0,100],x,!0)]},_updateInterval:function(L,x){var C=this.dataZoomModel,O=this._handleEnds,N=this._getViewExtent(),F=C.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];a(x,O,N,C.get("zoomLock")?"all":L,F.minSpan!=null?r(F.minSpan,k,N,!0):null,F.maxSpan!=null?r(F.maxSpan,k,N,!0):null);var P=this._range,B=this._range=o([r(O[0],N,k,!0),r(O[1],N,k,!0)]);return!P||P[0]!==B[0]||P[1]!==B[1]},_updateView:function(L){var x=this._displayables,C=this._handleEnds,O=o(C.slice()),N=this._size;n([0,1],function(F){var k=x.handles[F],P=this._handleHeight;k.attr({scale:[P/2,P/2],position:[C[F],N[1]/2-P/2]})},this),x.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:N[1]}),this._updateDataInfo(L)},_updateDataInfo:function(L){var x=this.dataZoomModel,C=this._displayables,O=C.handleLabels,N=this._orient,F=["",""];if(x.get("showDetail")){var k=x.findRepresentativeAxisProxy();if(k){var P=k.getAxisModel().axis,B=this._range,z=L?k.calculateDataWindow({start:B[0],end:B[1]}).valueWindow:k.getDataValueWindow();F=[this._formatLabel(z[0],P),this._formatLabel(z[1],P)]}}var R=o(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(j){var H=y.getTransform(C.handles[j].parent,this.group),V=y.transformDirection(j===0?"right":"left",H),X=this._handleWidth/2+w,W=y.applyTransform([R[j]+(j===0?-X:X),this._size[1]/2],H);O[j].setStyle({x:W[0],y:W[1],textVerticalAlign:N===u?"middle":V,textAlign:N===u?V:"center",text:F[j]})}},_formatLabel:function(L,x){var C=this.dataZoomModel,O=C.get("labelFormatter"),N=C.get("labelPrecision");(N==null||N==="auto")&&(N=x.getPixelPrecision());var F=L==null||isNaN(L)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(L)):L.toFixed(Math.min(N,20));return g.isFunction(O)?O(L,F):g.isString(O)?O.replace("{value}",F):F},_showDataInfo:function(L){L=this._dragging||L;var x=this._displayables.handleLabels;x[0].attr("invisible",!L),x[1].attr("invisible",!L)},_onDragMove:function(L,x,C,O){this._dragging=!0,f.stop(O.event);var N=this._displayables.barGroup.getLocalTransform(),F=y.applyTransform([x,C],N,!0),k=this._updateInterval(L,F[0]),P=this.dataZoomModel.get("realtime");this._updateView(!P),k&&P&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var L=this.dataZoomModel.get("realtime");!L&&this._dispatchZoomAction()},_onClickPanelClick:function(L){var x=this._size,C=this._displayables.barGroup.transformCoordToLocal(L.offsetX,L.offsetY);if(C[0]<0||C[0]>x[0]||C[1]<0||C[1]>x[1])return;var O=this._handleEnds,N=(O[0]+O[1])/2,F=this._updateInterval("all",C[0]-N);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var L=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:L[0],end:L[1]})},_findCoordRect:function(){var L;if(n(this.getTargetCoordInfo(),function(O){if(!L&&O.length){var N=O[0].model.coordinateSystem;L=N.getRect&&N.getRect()}}),!L){var x=this.api.getWidth(),C=this.api.getHeight();L={x:x*.2,y:C*.2,width:x*.6,height:C*.6}}return L}});function A(L){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[L]}function S(L){return L==="vertical"?"ns-resize":"ew-resize"}var T=E;D.exports=T},IzEo:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("lnY3"),m=e.n(y),v=e("Znn+"),h=e("14J3"),c=e("jCWc")},J66h:function(D,_,e){(function(g){var f,y;(function(m,v){D.exports=v(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof g!="undefined"?g:this,function(m){"use strict";m=m||{};var v=m.Base64,h="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=function(P){for(var B={},z=0,R=P.length;z<R;z++)B[P.charAt(z)]=z;return B}(c),i=String.fromCharCode,r=function(B){if(B.length<2){var z=B.charCodeAt(0);return z<128?B:z<2048?i(192|z>>>6)+i(128|z&63):i(224|z>>>12&15)+i(128|z>>>6&63)+i(128|z&63)}else{var z=65536+(B.charCodeAt(0)-55296)*1024+(B.charCodeAt(1)-56320);return i(240|z>>>18&7)+i(128|z>>>12&63)+i(128|z>>>6&63)+i(128|z&63)}},o=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(B){return B.replace(o,r)},n=function(B){var z=[0,2,1][B.length%3],R=B.charCodeAt(0)<<16|(B.length>1?B.charCodeAt(1):0)<<8|(B.length>2?B.charCodeAt(2):0),U=[c.charAt(R>>>18),c.charAt(R>>>12&63),z>=2?"=":c.charAt(R>>>6&63),z>=1?"=":c.charAt(R&63)];return U.join("")},l=m.btoa&&typeof m.btoa=="function"?function(P){return m.btoa(P)}:function(P){if(P.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return P.replace(/[\s\S]{1,3}/g,n)},t=function(B){return l(d(String(B)))},s=function(B){return B.replace(/[+\/]/g,function(z){return z=="+"?"-":"_"}).replace(/=/g,"")},u=function(B,z){return z?s(t(B)):t(B)},p=function(B){return u(B,!0)},w;m.Uint8Array&&(w=function(B,z){for(var R="",U=0,j=B.length;U<j;U+=3){var H=B[U],V=B[U+1],X=B[U+2],W=H<<16|V<<8|X;R+=c.charAt(W>>>18)+c.charAt(W>>>12&63)+(typeof V!="undefined"?c.charAt(W>>>6&63):"=")+(typeof X!="undefined"?c.charAt(W&63):"=")}return z?s(R):R});var b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(B){switch(B.length){case 4:var z=(7&B.charCodeAt(0))<<18|(63&B.charCodeAt(1))<<12|(63&B.charCodeAt(2))<<6|63&B.charCodeAt(3),R=z-65536;return i((R>>>10)+55296)+i((R&1023)+56320);case 3:return i((15&B.charCodeAt(0))<<12|(63&B.charCodeAt(1))<<6|63&B.charCodeAt(2));default:return i((31&B.charCodeAt(0))<<6|63&B.charCodeAt(1))}},A=function(B){return B.replace(b,E)},S=function(B){var z=B.length,R=z%4,U=(z>0?a[B.charAt(0)]<<18:0)|(z>1?a[B.charAt(1)]<<12:0)|(z>2?a[B.charAt(2)]<<6:0)|(z>3?a[B.charAt(3)]:0),j=[i(U>>>16),i(U>>>8&255),i(U&255)];return j.length-=[0,0,2,1][R],j.join("")},T=m.atob&&typeof m.atob=="function"?function(P){return m.atob(P)}:function(P){return P.replace(/\S{1,4}/g,S)},L=function(B){return T(String(B).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(B){return A(T(B))},C=function(B){return String(B).replace(/[-_]/g,function(z){return z=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(B){return x(C(B))},N;m.Uint8Array&&(N=function(B){return Uint8Array.from(L(C(B)),function(z){return z.charCodeAt(0)})});var F=function(){var B=m.Base64;return m.Base64=v,B};if(m.Base64={VERSION:h,atob:L,btoa:l,fromBase64:O,toBase64:u,utob:d,encode:u,encodeURI:p,btou:A,decode:O,noConflict:F,fromUint8Array:w,toUint8Array:N},typeof Object.defineProperty=="function"){var k=function(B){return{value:B,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(P){return u(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),D.exports?D.exports.Base64=m.Base64:!(f=[],y=function(){return m.Base64}.apply(_,f),y!==void 0&&(D.exports=y)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("7aKB"),a=e("OKJ2"),i=c.addCommas,r=c.encodeHTML;function o(l){h.defaultEmphasis(l,"label",["show"])}var d=y.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(v.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,s,u){var p=this.constructor,w=this.mainType+"Model";s||t.eachSeries(function(b){var E=b.get(this.mainType,!0),A=b[w];if(!E||!E.data){b[w]=null;return}A?A._mergeOption(E,t,!0):(u&&o(E),m.each(E.data,function(S){S instanceof Array?(o(S[0]),o(S[1])):o(S)}),A=new p(E,this,t),m.extend(A,{mainType:this.mainType,seriesIndex:b.seriesIndex,name:b.name,createdBySelf:!0}),A.__hostSeries=b),b[w]=A},this)},formatTooltip:function(l){var t=this.getData(),s=this.getRawValue(l),u=m.isArray(s)?m.map(s,i).join(", "):i(s),p=t.getName(l),w=r(this.name);return(s!=null||p)&&(w+="<br />"),p&&(w+=r(p),s!=null&&(w+=" : ")),s!=null&&(w+=r(u)),w},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(d,a);var n=d;D.exports=n},JGo8:function(D,_,e){},JHRd:function(D,_,e){var g=e("Kz5y"),f=g.Uint8Array;D.exports=f},JHgL:function(D,_,e){var g=e("QkVE");function f(y){return g(this,y).get(y)}D.exports=f},JLnu:function(D,_,e){var g=e("+TT/"),f=e("OELB"),y=f.parsePercent,m=f.linearMap;function v(i,r){return g.getLayoutRect(i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function h(i,r){for(var o=i.mapDimension("value"),d=i.mapArray(o,function(u){return u}),n=[],l=r==="ascending",t=0,s=i.count();t<s;t++)n[t]=t;return typeof r=="function"?n.sort(r):r!=="none"&&n.sort(function(u,p){return l?d[u]-d[p]:d[p]-d[u]}),n}function c(i){i.each(function(r){var o=i.getItemModel(r),d=o.getModel("label"),n=d.get("position"),l=o.getModel("labelLine"),t=i.getItemLayout(r),s=t.points,u=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",p,w,b,E;if(u)n==="insideLeft"?(w=(s[0][0]+s[3][0])/2+5,b=(s[0][1]+s[3][1])/2,p="left"):n==="insideRight"?(w=(s[1][0]+s[2][0])/2-5,b=(s[1][1]+s[2][1])/2,p="right"):(w=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,b=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,p="center"),E=[[w,b],[w,b]];else{var A,S,T,L=l.get("length");n==="left"?(A=(s[3][0]+s[0][0])/2,S=(s[3][1]+s[0][1])/2,T=A-L,w=T-5,p="right"):n==="right"?(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+L,w=T+5,p="left"):n==="rightTop"?(A=s[1][0],S=s[1][1],T=A+L,w=T+5,p="top"):n==="rightBottom"?(A=s[2][0],S=s[2][1],T=A+L,w=T+5,p="bottom"):n==="leftTop"?(A=s[0][0],S=s[1][1],T=A-L,w=T-5,p="right"):n==="leftBottom"?(A=s[3][0],S=s[2][1],T=A-L,w=T-5,p="right"):(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+L,w=T+5,p="left");var x=S;E=[[A,S],[T,x]],b=x}t.label={linePoints:E,x:w,y:b,verticalAlign:"middle",textAlign:p,inside:u}})}function a(i,r,o){i.eachSeriesByType("funnel",function(d){var n=d.getData(),l=n.mapDimension("value"),t=d.get("sort"),s=v(d,r),u=h(n,t),p=[y(d.get("minSize"),s.width),y(d.get("maxSize"),s.width)],w=n.getDataExtent(l),b=d.get("min"),E=d.get("max");b==null&&(b=Math.min(w[0],0)),E==null&&(E=w[1]);var A=d.get("funnelAlign"),S=d.get("gap"),T=(s.height-S*(n.count()-1))/n.count(),L=s.y,x=function(z,R){var U=n.get(l,z)||0,j=m(U,[b,E],p,!0),H;switch(A){case"left":H=s.x;break;case"center":H=s.x+(s.width-j)/2;break;case"right":H=s.x+s.width-j;break}return[[H,R],[H+j,R]]};t==="ascending"&&(T=-T,S=-S,L+=s.height,u=u.reverse());for(var C=0;C<u.length;C++){var O=u[C],N=u[C+1],F=n.getItemModel(O),k=F.get("itemStyle.height");k==null?k=T:(k=y(k,s.height),t==="ascending"&&(k=-k));var P=x(O,L),B=x(N,L+k);L+=k+S,n.setItemLayout(O,{points:P.concat(B.slice().reverse())})}c(n)})}D.exports=a},JSQU:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__";function y(m,v){var h=this.__data__;return this.size+=this.has(m)?0:1,h[m]=g&&v===void 0?f:v,this}D.exports=y},JSwD:function(D,_,e){"use strict";function g(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(p){return typeof p}:g=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},g(s)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=t;var f=m(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return y=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||g(s)!=="object"&&typeof s!="function")return{default:s};var u=y();if(u&&u.has(s))return u.get(s);var p={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in s)if(Object.prototype.hasOwnProperty.call(s,b)){var E=w?Object.getOwnPropertyDescriptor(s,b):null;E&&(E.get||E.set)?Object.defineProperty(p,b,E):p[b]=s[b]}return p.default=s,u&&u.set(s,p),p}var v=15,h=852,c=592,a=0,i=1,r=2,o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],d=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],n=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function t(s,u,p,w,b,E,A,S){var T=S.bits,L=0,x=0,C=0,O=0,N=0,F=0,k=0,P=0,B=0,z=0,R,U,j,H,V,X=null,W=0,G,$=new f.Buf16(v+1),ge=new f.Buf16(v+1),q=null,Se=0,Ce,Ae,Ue;for(L=0;L<=v;L++)$[L]=0;for(x=0;x<w;x++)$[u[p+x]]++;for(N=T,O=v;O>=1&&!($[O]!==0);O--);if(N>O&&(N=O),O===0)return b[E++]=1<<24|64<<16|0,b[E++]=1<<24|64<<16|0,S.bits=1,0;for(C=1;C<O&&!($[C]!==0);C++);for(N<C&&(N=C),P=1,L=1;L<=v;L++)if(P<<=1,P-=$[L],P<0)return-1;if(P>0&&(s===a||O!==1))return-1;for(ge[1]=0,L=1;L<v;L++)ge[L+1]=ge[L]+$[L];for(x=0;x<w;x++)u[p+x]!==0&&(A[ge[u[p+x]]++]=x);if(s===a?(X=q=A,G=19):s===i?(X=o,W-=257,q=d,Se-=257,G=256):(X=n,q=l,G=-1),z=0,x=0,L=C,V=E,F=N,k=0,j=-1,B=1<<N,H=B-1,s===i&&B>h||s===r&&B>c)return 1;for(;;){Ce=L-k,A[x]<G?(Ae=0,Ue=A[x]):A[x]>G?(Ae=q[Se+A[x]],Ue=X[W+A[x]]):(Ae=32+64,Ue=0),R=1<<L-k,U=1<<F,C=U;do U-=R,b[V+(z>>k)+U]=Ce<<24|Ae<<16|Ue|0;while(U!==0);for(R=1<<L-1;z&R;)R>>=1;if(R!==0?(z&=R-1,z+=R):z=0,x++,--$[L]===0){if(L===O)break;L=u[p+A[x]]}if(L>N&&(z&H)!==j){for(k===0&&(k=N),V+=C,F=L-k,P=1<<F;F+k<O&&!(P-=$[F+k],P<=0);)F++,P<<=1;if(B+=1<<F,s===i&&B>h||s===r&&B>c)return 1;j=z&H,b[j]=N<<24|F<<16|V-E|0}}return z!==0&&(b[V+z]=L-k<<24|64<<16|0),S.bits=N,0}},JTzB:function(D,_,e){var g=e("NykK"),f=e("ExA7"),y="[object Arguments]";function m(v){return f(v)&&g(v)==y}D.exports=m},JVwQ:function(D,_,e){var g=e("ProS"),f=e("1NG9"),y=f.Polygon,m=e("IwbS"),v=e("bYtY"),h=v.bind,c=v.extend,a=e("gPAo"),i=g.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(o,d,n){var l=o.getData(),t=this.group,s=o.getLayerSeries(),u=l.getLayout("layoutInfo"),p=u.rect,w=u.boundaryGap;t.attr("position",[0,p.y+w[0]]);function b(T){return T.name}var E=new a(this._layersSeries||[],s,b,b),A={};E.add(h(S,this,"add")).update(h(S,this,"update")).remove(h(S,this,"remove")).execute();function S(T,L,x){var C=this._layers;if(T==="remove"){t.remove(C[L]);return}for(var O=[],N=[],F,k=s[L].indices,P=0;P<k.length;P++){var B=l.getItemLayout(k[P]),z=B.x,R=B.y0,U=B.y;O.push([z,R]),N.push([z,R+U]),F=l.getItemVisual(k[P],"color")}var j,H,V=l.getItemLayout(k[0]),X=l.getItemModel(k[P-1]),W=X.getModel("label"),G=W.get("margin");if(T==="add"){var $=A[L]=new m.Group;j=new y({shape:{points:O,stackedOnPoints:N,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:V.x-G,y:V.y0+V.y/2}}),$.add(j),$.add(H),t.add($),j.setClipPath(r(j.getBoundingRect(),o,function(){j.removeClipPath()}))}else{var $=C[x];j=$.childAt(0),H=$.childAt(1),t.add($),A[L]=$,m.updateProps(j,{shape:{points:O,stackedOnPoints:N}},o),m.updateProps(H,{style:{x:V.x-G,y:V.y0+V.y/2}},o)}var ge=X.getModel("emphasis.itemStyle"),q=X.getModel("itemStyle");m.setTextStyle(H.style,W,{text:W.get("show")?o.getFormattedLabel(k[P-1],"normal")||l.getName(k[P-1]):null,textVerticalAlign:"middle"}),j.setStyle(c({fill:F},q.getItemStyle(["color"]))),m.setHoverStyle(j,ge.getItemStyle())}this._layersSeries=s,this._layers=A},dispose:function(){}});function r(o,d,n){var l=new m.Rect({shape:{x:o.x-10,y:o.y-10,width:0,height:o.height+20}});return m.initProps(l,{shape:{width:o.width+20,height:o.height+20}},d,n),l}D.exports=i},JgUQ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};_.default=g},JsLm:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("i8i4"),u=e("TSYQ"),p=e.n(u),w=e("zT1h"),b=e("cDf5"),E=e.n(b),A=e("BGR+"),S=e("t23M"),T=e("H84U"),L=e("PEeC");function x(Qe){return Qe!==window?Qe.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(Qe,gt,_e){return _e!==void 0&>.top>Qe.top-_e?_e+gt.top:void 0}function O(Qe,gt,_e){if(_e!==void 0&>.bottom<Qe.bottom+_e){var Oe=window.innerHeight-gt.bottom;return _e+Oe}return}var N=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function k(){return F}function P(Qe,gt){if(!Qe)return;var _e=F.find(function(Oe){return Oe.target===Qe});_e?_e.affixList.push(gt):(_e={target:Qe,affixList:[gt],eventHandlers:{}},F.push(_e),N.forEach(function(Oe){_e.eventHandlers[Oe]=Object(w.a)(Qe,Oe,function(){_e.affixList.forEach(function(lt){lt.lazyUpdatePosition()})})}))}function B(Qe){var gt=F.find(function(_e){var Oe=_e.affixList.some(function(lt){return lt===Qe});return Oe&&(_e.affixList=_e.affixList.filter(function(lt){return lt!==Qe})),Oe});gt&>.affixList.length===0&&(F=F.filter(function(_e){return _e!==gt}),N.forEach(function(_e){var Oe=gt.eventHandlers[_e];Oe&&Oe.remove&&Oe.remove()}))}var z=function(Qe,gt,_e,Oe){var lt=arguments.length,ce=lt<3?gt:Oe===null?Oe=Object.getOwnPropertyDescriptor(gt,_e):Oe,Y;if((typeof Reflect=="undefined"?"undefined":E()(Reflect))==="object"&&typeof Reflect.decorate=="function")ce=Reflect.decorate(Qe,gt,_e,Oe);else for(var K=Qe.length-1;K>=0;K--)(Y=Qe[K])&&(ce=(lt<3?Y(ce):lt>3?Y(gt,_e,ce):Y(gt,_e))||ce);return lt>3&&ce&&Object.defineProperty(gt,_e,ce),ce};function R(){return typeof window!="undefined"?window:null}var U;(function(Qe){Qe[Qe.None=0]="None",Qe[Qe.Prepare=1]="Prepare"})(U||(U={}));var j=function(Qe){d()(_e,Qe);var gt=l()(_e);function _e(){var Oe;return h()(this,_e),Oe=gt.apply(this,arguments),Oe.state={status:U.None,lastAffix:!1,prevTarget:null},Oe.getOffsetTop=function(){var lt=Oe.props.offsetBottom,ce=Oe.props.offsetTop;return lt===void 0&&ce===void 0&&(ce=0),ce},Oe.getOffsetBottom=function(){return Oe.props.offsetBottom},Oe.savePlaceholderNode=function(lt){Oe.placeholderNode=lt},Oe.saveFixedNode=function(lt){Oe.fixedNode=lt},Oe.measure=function(){var lt=Oe.state,ce=lt.status,Y=lt.lastAffix,K=Oe.props.onChange,Q=Oe.getTargetFunc();if(ce!==U.Prepare||!Oe.fixedNode||!Oe.placeholderNode||!Q)return;var ye=Oe.getOffsetTop(),ue=Oe.getOffsetBottom(),Ne=Q();if(!Ne)return;var Te={status:U.None},oe=x(Ne),de=x(Oe.placeholderNode),Le=C(de,oe,ye),Ge=O(de,oe,ue);Le!==void 0?(Te.affixStyle={position:"fixed",top:Le,width:de.width,height:de.height},Te.placeholderStyle={width:de.width,height:de.height}):Ge!==void 0&&(Te.affixStyle={position:"fixed",bottom:Ge,width:de.width,height:de.height},Te.placeholderStyle={width:de.width,height:de.height}),Te.lastAffix=!!Te.affixStyle,K&&Y!==Te.lastAffix&&K(Te.lastAffix),Oe.setState(Te)},Oe.prepareMeasure=function(){if(Oe.setState({status:U.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var lt},Oe.render=function(){var lt=Oe.context.getPrefixCls,ce=Oe.state,Y=ce.affixStyle,K=ce.placeholderStyle,Q=Oe.props,ye=Q.prefixCls,ue=Q.children,Ne=p()(m()({},lt("affix",ye),Y)),Te=Object(A.default)(Oe.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(S.a,{onResize:function(){Oe.updatePosition()}},t.createElement("div",f()({},Te,{ref:Oe.savePlaceholderNode}),Y&&t.createElement("div",{style:K,"aria-hidden":"true"}),t.createElement("div",{className:Ne,ref:Oe.saveFixedNode,style:Y},t.createElement(S.a,{onResize:function(){Oe.updatePosition()}},ue))))},Oe}return a()(_e,[{key:"getTargetFunc",value:function(){var lt=this.context.getTargetContainer,ce=this.props.target;return ce!==void 0?ce:lt||R}},{key:"componentDidMount",value:function(){var lt=this,ce=this.getTargetFunc();ce&&(this.timeout=setTimeout(function(){P(ce(),lt),lt.updatePosition()}))}},{key:"componentDidUpdate",value:function(lt){var ce=this.state.prevTarget,Y=this.getTargetFunc(),K=null;Y&&(K=Y()||null),ce!==K&&(B(this),K&&(P(K,this),this.updatePosition()),this.setState({prevTarget:K})),(lt.offsetTop!==this.props.offsetTop||lt.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),B(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var lt=this.getTargetFunc(),ce=this.state.affixStyle;if(lt&&ce){var Y=this.getOffsetTop(),K=this.getOffsetBottom(),Q=lt();if(Q&&this.placeholderNode){var ye=x(Q),ue=x(this.placeholderNode),Ne=C(ue,ye,Y),Te=O(ue,ye,K);if(Ne!==void 0&&ce.top===Ne||Te!==void 0&&ce.bottom===Te)return}}this.prepareMeasure()}}]),_e}(t.Component);j.contextType=T.b,z([Object(L.b)()],j.prototype,"updatePosition",null),z([Object(L.b)()],j.prototype,"lazyUpdatePosition",null);var H=j,V=e("zAh6"),X=e("i6bk"),W=t.createContext(null),G=W;function $(){return window}function ge(Qe,gt){if(!Qe.getClientRects().length)return 0;var _e=Qe.getBoundingClientRect();return _e.width||_e.height?gt===window?(gt=Qe.ownerDocument.documentElement,_e.top-gt.clientTop):_e.top-gt.getBoundingClientRect().top:_e.top}var q=/#(\S+)$/,Se=function(Qe){d()(_e,Qe);var gt=l()(_e);function _e(){var Oe;return h()(this,_e),Oe=gt.apply(this,arguments),Oe.state={activeLink:null},Oe.links=[],Oe.registerLink=function(lt){Oe.links.includes(lt)||Oe.links.push(lt)},Oe.unregisterLink=function(lt){var ce=Oe.links.indexOf(lt);ce!==-1&&Oe.links.splice(ce,1)},Oe.getContainer=function(){var lt=Oe.context.getTargetContainer,ce=Oe.props.getContainer,Y=ce||lt||$;return Y()},Oe.handleScrollTo=function(lt){var ce=Oe.props,Y=ce.offsetTop,K=ce.targetOffset;Oe.setCurrentActiveLink(lt);var Q=Oe.getContainer(),ye=Object(X.a)(Q,!0),ue=q.exec(lt);if(!ue)return;var Ne=document.getElementById(ue[1]);if(!Ne)return;var Te=ge(Ne,Q),oe=ye+Te;oe-=K!==void 0?K:Y||0,Oe.animating=!0,Object(V.a)(oe,{callback:function(){Oe.animating=!1},getContainer:Oe.getContainer})},Oe.saveInkNode=function(lt){Oe.inkNode=lt},Oe.setCurrentActiveLink=function(lt){var ce=Oe.state.activeLink,Y=Oe.props.onChange;ce!==lt&&(Oe.setState({activeLink:lt}),Y&&Y(lt))},Oe.handleScroll=function(){if(Oe.animating)return;var lt=Oe.props,ce=lt.offsetTop,Y=lt.bounds,K=lt.targetOffset,Q=Oe.getCurrentAnchor(K!==void 0?K:ce||0,Y);Oe.setCurrentActiveLink(Q)},Oe.updateInk=function(){var lt=r()(Oe),ce=lt.prefixCls,Y=s.findDOMNode(r()(Oe)),K=Y.getElementsByClassName("".concat(ce,"-link-title-active"))[0];K&&(Oe.inkNode.style.top="".concat(K.offsetTop+K.clientHeight/2-4.5,"px"))},Oe.render=function(){var lt=Oe.context,ce=lt.getPrefixCls,Y=lt.direction,K=Oe.props,Q=K.prefixCls,ye=K.className,ue=ye===void 0?"":ye,Ne=K.style,Te=K.offsetTop,oe=K.affix,de=K.showInkInFixed,Le=K.children,Ge=Oe.state.activeLink,ht=ce("anchor",Q);Oe.prefixCls=ht;var Et=p()("".concat(ht,"-ink-ball"),{visible:Ge}),Be=p()(ue,"".concat(ht,"-wrapper"),m()({},"".concat(ht,"-rtl"),Y==="rtl")),Dt=p()(ht,{fixed:!oe&&!de}),Ke=f()({maxHeight:Te?"calc(100vh - ".concat(Te,"px)"):"100vh"},Ne),At=t.createElement("div",{className:Be,style:Ke},t.createElement("div",{className:Dt},t.createElement("div",{className:"".concat(ht,"-ink")},t.createElement("span",{className:Et,ref:Oe.saveInkNode})),Le));return t.createElement(G.Provider,{value:{registerLink:Oe.registerLink,unregisterLink:Oe.unregisterLink,activeLink:Oe.state.activeLink,scrollTo:Oe.handleScrollTo,onClick:Oe.props.onClick}},oe?t.createElement(H,{offsetTop:Te,target:Oe.getContainer},At):At)},Oe}return a()(_e,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var lt=this.getContainer();this.scrollContainer!==lt&&(this.scrollContainer=lt,this.scrollEvent.remove(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Y=this.props.getCurrentAnchor;if(typeof Y=="function")return Y();var K=[],Q=this.getContainer();if(this.links.forEach(function(ue){var Ne=q.exec(ue.toString());if(!Ne)return;var Te=document.getElementById(Ne[1]);if(Te){var oe=ge(Te,Q);oe<lt+ce&&K.push({link:ue,top:oe})}}),K.length){var ye=K.reduce(function(ue,Ne){return Ne.top>ue.top?Ne:ue});return ye.link}return""}}]),_e}(t.Component);Se.defaultProps={affix:!0,showInkInFixed:!1},Se.contextType=T.b;var Ce=function(Qe){d()(_e,Qe);var gt=l()(_e);function _e(){var Oe;return h()(this,_e),Oe=gt.apply(this,arguments),Oe.handleClick=function(lt){var ce=Oe.context,Y=ce.scrollTo,K=ce.onClick,Q=Oe.props,ye=Q.href,ue=Q.title;K&&K(lt,{title:ue,href:ye}),Y(ye)},Oe.renderAnchorLink=function(lt){var ce=lt.getPrefixCls,Y=Oe.props,K=Y.prefixCls,Q=Y.href,ye=Y.title,ue=Y.children,Ne=Y.className,Te=Y.target,oe=ce("anchor",K),de=Oe.context.activeLink===Q,Le=p()(Ne,"".concat(oe,"-link"),m()({},"".concat(oe,"-link-active"),de)),Ge=p()("".concat(oe,"-link-title"),m()({},"".concat(oe,"-link-title-active"),de));return t.createElement("div",{className:Le},t.createElement("a",{className:Ge,href:Q,title:typeof ye=="string"?ye:"",target:Te,onClick:Oe.handleClick},ye),ue)},Oe}return a()(_e,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(lt){var ce=lt.href,Y=this.props.href;ce!==Y&&(this.context.unregisterLink(ce),this.context.registerLink(Y))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderAnchorLink)}}]),_e}(t.Component);Ce.defaultProps={href:"#"},Ce.contextType=G;var Ae=Ce;Se.Link=Ae;var Ue=_.a=Se},JuEJ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=g.each,m=g.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var s=t&&t.itemStyle;if(!s)return;for(var u=0,p=v.length;u<p;u++){var w=v[u],b=s.normal,E=s.emphasis;b&&b[w]&&(t[w]=t[w]||{},t[w].normal?g.merge(t[w].normal,b[w]):t[w].normal=b[w],b[w]=null),E&&E[w]&&(t[w]=t[w]||{},t[w].emphasis?g.merge(t[w].emphasis,E[w]):t[w].emphasis=E[w],E[w]=null)}}function c(t,s,u){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var p=t[s].normal,w=t[s].emphasis;p&&(u?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],p)):t[s]=p),w&&(t.emphasis=t.emphasis||{},t.emphasis[s]=w)}}function a(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function i(t,s){var u=m(t)&&t[s],p=m(u)&&u.textStyle;if(p)for(var w=0,b=f.TEXT_STYLE_OPTIONS.length;w<b;w++){var s=f.TEXT_STYLE_OPTIONS[w];p.hasOwnProperty(s)&&(u[s]=p[s])}}function r(t){t&&(a(t),i(t,"label"),t.emphasis&&i(t.emphasis,"label"))}function o(t){if(!m(t))return;h(t),a(t),i(t,"label"),i(t,"upperLabel"),i(t,"edgeLabel"),t.emphasis&&(i(t.emphasis,"label"),i(t.emphasis,"upperLabel"),i(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(h(s),r(s));var u=t.markLine;u&&(h(u),r(u));var p=t.markArea;p&&r(p);var w=t.data;if(t.type==="graph"){w=w||t.nodes;var b=t.links||t.edges;if(b&&!g.isTypedArray(b))for(var E=0;E<b.length;E++)r(b[E]);g.each(t.categories,function(T){a(T)})}if(w&&!g.isTypedArray(w))for(var E=0;E<w.length;E++)r(w[E]);var s=t.markPoint;if(s&&s.data)for(var A=s.data,E=0;E<A.length;E++)r(A[E]);var u=t.markLine;if(u&&u.data)for(var S=u.data,E=0;E<S.length;E++)g.isArray(S[E])?(r(S[E][0]),r(S[E][1])):r(S[E]);t.type==="gauge"?(i(t,"axisLabel"),i(t,"title"),i(t,"detail")):t.type==="treemap"?(c(t.breadcrumb,"itemStyle"),g.each(t.levels,function(T){a(T)})):t.type==="tree"&&a(t.leaves)}function d(t){return g.isArray(t)?t:t?[t]:[]}function n(t){return(g.isArray(t)?t[0]:t)||{}}function l(t,s){y(d(t.series),function(p){m(p)&&o(p)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),y(u,function(p){y(d(t[p]),function(w){w&&(i(w,"axisLabel"),i(w.axisPointer,"label"))})}),y(d(t.parallel),function(p){var w=p&&p.parallelAxisDefault;i(w,"axisLabel"),i(w&&w.axisPointer,"label")}),y(d(t.calendar),function(p){c(p,"itemStyle"),i(p,"dayLabel"),i(p,"monthLabel"),i(p,"yearLabel")}),y(d(t.radar),function(p){i(p,"name")}),y(d(t.geo),function(p){m(p)&&(r(p),y(d(p.regions),function(w){r(w)}))}),y(d(t.timeline),function(p){r(p),c(p,"label"),c(p,"itemStyle"),c(p,"controlStyle",!0);var w=p.data;g.isArray(w)&&g.each(w,function(b){g.isObject(b)&&(c(b,"label"),c(b,"itemStyle"))})}),y(d(t.toolbox),function(p){c(p,"iconStyle"),y(p.feature,function(w){c(w,"iconStyle")})}),i(n(t.axisPointer),"label"),i(n(t.tooltip).axisPointer,"label")}D.exports=l},K2GJ:function(D,_,e){var g=e("fW2E"),f=e("gut8"),y=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=function(n){this.extendFrom(n,!1)};function h(d,n,l){var t=n.x==null?0:n.x,s=n.x2==null?1:n.x2,u=n.y==null?0:n.y,p=n.y2==null?0:n.y2;n.global||(t=t*l.width+l.x,s=s*l.width+l.x,u=u*l.height+l.y,p=p*l.height+l.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,u=isNaN(u)?0:u,p=isNaN(p)?0:p;var w=d.createLinearGradient(t,u,s,p);return w}function c(d,n,l){var t=l.width,s=l.height,u=Math.min(t,s),p=n.x==null?.5:n.x,w=n.y==null?.5:n.y,b=n.r==null?.5:n.r;n.global||(p=p*t+l.x,w=w*s+l.y,b=b*u);var E=d.createRadialGradient(p,w,0,p,w,b);return E}v.prototype={constructor:v,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,l,t){var s=this,u=t&&t.style,p=!u||n.__attrCachedBy!==y.STYLE_BIND;n.__attrCachedBy=y.STYLE_BIND;for(var w=0;w<m.length;w++){var b=m[w],E=b[0];(p||s[E]!==u[E])&&(n[E]=g(n,E,s[E]||b[1]))}if((p||s.fill!==u.fill)&&(n.fillStyle=s.fill),(p||s.stroke!==u.stroke)&&(n.strokeStyle=s.stroke),(p||s.opacity!==u.opacity)&&(n.globalAlpha=s.opacity==null?1:s.opacity),(p||s.blend!==u.blend)&&(n.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var A=s.lineWidth;n.lineWidth=A/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,l){if(n)for(var t in n)n.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,l){typeof n=="string"?this[n]=l:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,l,t){for(var s=l.type==="radial"?c:h,u=s(n,l,t),p=l.colorStops,w=0;w<p.length;w++)u.addColorStop(p[w].offset,p[w].color);return u}};for(var a=v.prototype,i=0;i<m.length;i++){var r=m[i];r[0]in a||(a[r[0]]=r[1])}v.getGradient=a.getGradient;var o=v;D.exports=o},K4ya:function(D,_,e){var g=e("bYtY"),f=e("XxSj"),y=g.each;function m(i){if(i){for(var r in i)if(i.hasOwnProperty(r))return!0}}function v(i,r,o){var d={};return y(r,function(l){var t=d[l]=n();y(i[l],function(s,u){if(!f.isValidType(u))return;var p={type:u,visual:s};o&&o(p,l),t[u]=new f(p),u==="opacity"&&(p=g.clone(p),p.type="colorAlpha",t.__hidden.__alphaForOpacity=new f(p))})}),d;function n(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function h(i,r,o){var d;g.each(o,function(n){r.hasOwnProperty(n)&&m(r[n])&&(d=!0)}),d&&g.each(o,function(n){r.hasOwnProperty(n)&&m(r[n])?i[n]=g.clone(r[n]):delete i[n]})}function c(i,r,o,d,n,l){var t={};g.each(i,function(b){var E=f.prepareVisualTypes(r[b]);t[b]=E});var s;function u(b){return o.getItemVisual(s,b)}function p(b,E){o.setItemVisual(s,b,E)}l==null?o.each(w):o.each([l],w);function w(b,E){s=l==null?b:E;var A=o.getRawDataItem(s);if(A&&A.visualMap===!1)return;for(var S=d.call(n,b),T=r[S],L=t[S],x=0,C=L.length;x<C;x++){var O=L[x];T[O]&&T[O].applyVisual(b,u,p)}}}function a(i,r,o,d){var n={};g.each(i,function(t){var s=f.prepareVisualTypes(r[t]);n[t]=s});function l(t,s){d!=null&&(d=s.getDimension(d));function u(O){return s.getItemVisual(w,O)}function p(O,N){s.setItemVisual(w,O,N)}for(var w;(w=t.next())!=null;){var b=s.getRawDataItem(w);if(b&&b.visualMap===!1)continue;for(var E=d!=null?s.get(d,w,!0):w,A=o(E),S=r[A],T=n[A],L=0,x=T.length;L<x;L++){var C=T[L];S[C]&&S[C].applyVisual(E,u,p)}}}return{progress:l}}_.createVisualMappings=v,_.replaceVisualOption=h,_.applyVisual=c,_.incrementalApplyVisual=a},KCsZ:function(D,_,e){var g=e("bYtY");function f(y){for(var m=0;m<y.length;m++)y[m][1]||(y[m][1]=y[m][0]);return function(v,h,c){for(var a={},i=0;i<y.length;i++){var r=y[i][1];if(h&&g.indexOf(h,r)>=0||c&&g.indexOf(c,r)<0)continue;var o=v.getShallow(r);o!=null&&(a[y[i][0]]=o)}return a}}D.exports=f},KMkd:function(D,_){function e(){this.__data__=[],this.size=0}D.exports=e},KPFz:function(D,_,e){},KQeH:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};_.default=g},KS52:function(D,_,e){var g=e("OELB"),f=g.parsePercent,y=g.linearMap,m=e("+TT/"),v=e("u3DP"),h=e("bYtY"),c=Math.PI*2,a=Math.PI/180;function i(o,d){return m.getLayoutRect(o.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})}function r(o,d,n,l){d.eachSeriesByType(o,function(t){var s=t.getData(),u=s.mapDimension("value"),p=i(t,n),w=t.get("center"),b=t.get("radius");h.isArray(b)||(b=[0,b]),h.isArray(w)||(w=[w,w]);var E=f(p.width,n.getWidth()),A=f(p.height,n.getHeight()),S=Math.min(E,A),T=f(w[0],E)+p.x,L=f(w[1],A)+p.y,x=f(b[0],S/2),C=f(b[1],S/2),O=-t.get("startAngle")*a,N=t.get("minAngle")*a,F=0;s.each(u,function(G){!isNaN(G)&&F++});var k=s.getSum(u),P=Math.PI/(k||F)*2,B=t.get("clockwise"),z=t.get("roseType"),R=t.get("stillShowZeroSum"),U=s.getDataExtent(u);U[0]=0;var j=c,H=0,V=O,X=B?1:-1;if(s.each(u,function(G,$){var ge;if(isNaN(G)){s.setItemLayout($,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:B,cx:T,cy:L,r0:x,r:z?NaN:C,viewRect:p});return}z!=="area"?ge=k===0&&R?P:G*P:ge=c/F,ge<N?(ge=N,j-=N):H+=G;var q=V+X*ge;s.setItemLayout($,{angle:ge,startAngle:V,endAngle:q,clockwise:B,cx:T,cy:L,r0:x,r:z?y(G,U,[x,C]):C,viewRect:p}),V=q}),j<c&&F)if(j<=.001){var W=c/F;s.each(u,function(G,$){if(!isNaN(G)){var ge=s.getItemLayout($);ge.angle=W,ge.startAngle=O+X*$*W,ge.endAngle=O+X*($+1)*W}})}else P=j/H,V=O,s.each(u,function(G,$){if(!isNaN(G)){var ge=s.getItemLayout($),q=ge.angle===N?N:G*P;ge.startAngle=V,ge.endAngle=V+X*q,V+=X*q}});v(t,C,p.width,p.height,p.x,p.y)})}D.exports=r},KUOm:function(D,_){function e(g){var f={};g.eachSeriesByType("graph",function(y){var m=y.getCategoriesData(),v=y.getData(),h={};m.each(function(c){var a=m.getName(c);h["ec-"+a]=c;var i=m.getItemModel(c),r=i.get("itemStyle.color")||y.getColorFromPalette(a,f);m.setItemVisual(c,"color",r);for(var o=["opacity","symbol","symbolSize","symbolKeepAspect"],d=0;d<o.length;d++){var n=i.getShallow(o[d],!0);n!=null&&m.setItemVisual(c,o[d],n)}}),m.count()&&v.each(function(c){var a=v.getItemModel(c),i=a.getShallow("category");if(i!=null){typeof i=="string"&&(i=h["ec-"+i]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<r.length;o++)v.getItemVisual(c,r[o],!0)==null&&v.setItemVisual(c,r[o],m.getItemVisual(i,r[o]))}})})}D.exports=e},Kagy:function(D,_){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};D.exports=e},KamJ:function(D,_,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),g.registerPreprocessor(f)},KmBX:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("CP8R")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FilterFilled";var c=y.forwardRef(h);_.default=c},"KpQ+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("E/ki")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="ClockCircleOutlined";var c=y.forwardRef(h);_.default=c},KrTs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("cDf5"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("q1tI"),a=e("UmKh"),i=e("TSYQ"),r=e.n(i),o=e("J4zp"),d=e.n(o),n=e("H84U"),l=e("0n0R"),t=function(C,O){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&O.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)O.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N};function s(C){return C?C.toString().split("").reverse().map(function(O){var N=Number(O);return isNaN(N)?O:N}):[]}function u(C,O){for(var N=[],F=0;F<30;F++)N.push(c.createElement("p",{key:F.toString(),className:r()(O,{current:C===F})},F%10));return N}var p=function(O){var N=O.prefixCls,F=O.count,k=O.className,P=O.style,B=O.title,z=O.component,R=z===void 0?"sup":z,U=O.displayComponent,j=O.onAnimated,H=j===void 0?function(){}:j,V=t(O,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),X=c.useState(!0),W=d()(X,2),G=W[0],$=W[1],ge=c.useState(F),q=d()(ge,2),Se=q[0],Ce=q[1],Ae=c.useState(F),Ue=d()(Ae,2),Qe=Ue[0],gt=Ue[1],_e=c.useState(F),Oe=d()(_e,2),lt=Oe[0],ce=Oe[1],Y=c.useContext(n.b),K=Y.getPrefixCls,Q=K("scroll-number",N);Qe!==F&&($(!0),gt(F)),c.useEffect(function(){ce(Se);var oe;return G&&(oe=setTimeout(function(){$(!1),Ce(F),H()})),function(){oe&&clearTimeout(oe)}},[G,F,H]);var ye=function(de,Le){var Ge=Math.abs(Number(Se)),ht=Math.abs(Number(lt)),Et=Math.abs(s(Se)[Le]),Be=Math.abs(s(ht)[Le]);return G?10+de:Ge>ht?Et>=Be?10+de:20+de:Et<=Be?10+de:de},ue=function(de,Le){if(typeof de=="number"){var Ge=ye(de,Le),ht=G||s(lt)[Le]===void 0;return c.createElement("span",{className:"".concat(Q,"-only"),style:{transition:ht?"none":void 0,msTransform:"translateY(".concat(-Ge*100,"%)"),WebkitTransform:"translateY(".concat(-Ge*100,"%)"),transform:"translateY(".concat(-Ge*100,"%)")},key:Le},u(Ge,"".concat(Q,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(Q,"-symbol")},de)},Ne=function(){return Se&&Number(Se)%1===0?s(Se).map(function(de,Le){return ue(de,Le)}).reverse():Se},Te=h()(h()({},V),{style:P,className:r()(Q,k),title:B});return P&&P.borderColor&&(Te.style=h()(h()({},P),{boxShadow:"0 0 0 1px ".concat(P.borderColor," inset")})),U?Object(l.a)(U,{className:r()("".concat(Q,"-custom-component"),U.props&&U.props.className)}):c.createElement(R,Te,Ne())},w=p,b=e("09Wf");function E(C){return b.a.indexOf(C)!==-1}var A=function(O){var N,F=O.className,k=O.prefixCls,P=O.style,B=O.color,z=O.children,R=O.text,U=O.placement,j=U===void 0?"end":U,H=c.useContext(n.b),V=H.getPrefixCls,X=H.direction,W=V("ribbon",k),G=E(B),$=r()(W,F,"".concat(W,"-placement-").concat(j),(N={},f()(N,"".concat(W,"-rtl"),X==="rtl"),f()(N,"".concat(W,"-color-").concat(B),G),N)),ge={},q={};return B&&!G&&(ge.background=B,q.color=B),c.createElement("div",{className:"".concat(W,"-wrapper")},z,c.createElement("div",{className:$,style:h()(h()({},ge),P)},R,c.createElement("div",{className:"".concat(W,"-corner"),style:q})))},S=A,T=function(C,O){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&O.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)O.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N},L=function(O){var N,F,k=O.prefixCls,P=O.scrollNumberPrefixCls,B=O.children,z=O.status,R=O.text,U=O.color,j=O.count,H=j===void 0?null:j,V=O.overflowCount,X=V===void 0?99:V,W=O.dot,G=W===void 0?!1:W,$=O.size,ge=$===void 0?"default":$,q=O.title,Se=O.offset,Ce=O.style,Ae=O.className,Ue=O.showZero,Qe=Ue===void 0?!1:Ue,gt=T(O,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),_e=c.useContext(n.b),Oe=_e.getPrefixCls,lt=_e.direction,ce=Oe("badge",k),Y=function(){var Xe=H>X?"".concat(X,"+"):H;return Xe},K=function(){return!!z||!!U},Q=function(){var Xe=Y();return Xe==="0"||Xe===0},ye=function(){return G&&!Q()||K()},ue=function(){return ye()?"":Y()},Ne=function(){return q||(typeof H=="string"||typeof H=="number"?H:void 0)},Te=function(){return lt==="rtl"?Se?h()({left:parseInt(Se[0],10),marginTop:Se[1]},Ce):Ce:Se?h()({right:-parseInt(Se[0],10),marginTop:Se[1]},Ce):Ce},oe=function(){var Xe=ue(),et=Xe==null||Xe==="";return(et||Q()&&!Qe)&&!ye()},de=function(){var Xe=oe();return Xe||!R?null:c.createElement("span",{className:"".concat(ce,"-status-text")},R)},Le=function(){var Xe=H;return!Xe||m()(Xe)!=="object"?void 0:Object(l.a)(Xe,{style:h()(h()({},Te()),Xe.props&&Xe.props.style)})},Ge=function(){var Xe,et=Oe("scroll-number",P),tt=ue(),ot=ye(),Ve=oe(),se=r()((Xe={},f()(Xe,"".concat(ce,"-dot"),ot),f()(Xe,"".concat(ce,"-count"),!ot),f()(Xe,"".concat(ce,"-count-sm"),ge==="small"),f()(Xe,"".concat(ce,"-multiple-words"),!ot&&H&&H.toString&&H.toString().length>1),f()(Xe,"".concat(ce,"-status-").concat(z),!!z),f()(Xe,"".concat(ce,"-status-").concat(U),E(U)),Xe)),re=Te();return U&&!E(U)&&(re=re||{},re.background=U),Ve?null:c.createElement(w,{prefixCls:et,"data-show":!Ve,className:se,count:tt,displayComponent:Le(),title:Ne(),style:re,key:"scrollNumber"})},ht=r()((N={},f()(N,"".concat(ce,"-status-dot"),K()),f()(N,"".concat(ce,"-status-").concat(z),!!z),f()(N,"".concat(ce,"-status-").concat(U),E(U)),N)),Et={};U&&!E(U)&&(Et.background=U);var Be=r()(Ae,ce,(F={},f()(F,"".concat(ce,"-status"),K()),f()(F,"".concat(ce,"-not-a-wrapper"),!B),f()(F,"".concat(ce,"-rtl"),lt==="rtl"),F));if(!B&&K()){var Dt=Te(),Ke=Dt&&Dt.color;return c.createElement("span",h()({},gt,{className:Be,style:Dt}),c.createElement("span",{className:ht,style:Et}),c.createElement("span",{style:{color:Ke},className:"".concat(ce,"-status-text")},R))}return c.createElement("span",h()({},gt,{className:Be}),B,c.createElement(a.a,{component:"",showProp:"data-show",transitionName:B?"".concat(ce,"-zoom"):"",transitionAppear:!0},Ge()),de())};L.Ribbon=S;var x=_.a=L},Kvyg:function(D,_,e){},KxBF:function(D,_){function e(g,f,y){var m=-1,v=g.length;f<0&&(f=-f>v?0:v+f),y=y>v?v:y,y<0&&(y+=v),v=f>y?0:y-f>>>0,f>>>=0;for(var h=Array(v);++m<v;)h[m]=g[m+f];return h}D.exports=e},KxFI:function(D,_,e){},KxfA:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.isTypedArray,v=y.extend,h=y.assert,c=y.each,a=y.isObject,i=e("4NO4"),r=i.getDataItemValue,o=i.isDataItemOption,d=e("OELB"),n=d.parseDate,l=e("7G+c"),t=e("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,u=t.SOURCE_FORMAT_ARRAY_ROWS,p=t.SOURCE_FORMAT_ORIGINAL,w=t.SOURCE_FORMAT_OBJECT_ROWS;function b(B,z){l.isInstance(B)||(B=l.seriesDataToSource(B)),this._source=B;var R=this._data=B.data,U=B.sourceFormat;U===s&&(this._offset=0,this._dimSize=z,this._data=R);var j=A[U===u?U+"_"+B.seriesLayoutBy:U];v(this,j)}var E=b.prototype;E.pure=!1,E.persistent=!0,E.getSource=function(){return this._source};var A={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(B){return this._data[B+this._source.startIndex]},appendData:L},arrayRows_row:{pure:!0,count:function(){var B=this._data[0];return B?Math.max(0,B.length-this._source.startIndex):0},getItem:function(B){B+=this._source.startIndex;for(var z=[],R=this._data,U=0;U<R.length;U++){var j=R[U];z.push(j?j[B]:null)}return z},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:S,getItem:T,appendData:L},keyedColumns:{pure:!0,count:function(){var B=this._source.dimensionsDefine[0].name,z=this._data[B];return z?z.length:0},getItem:function(B){for(var z=[],R=this._source.dimensionsDefine,U=0;U<R.length;U++){var j=this._data[R[U].name];z.push(j?j[B]:null)}return z},appendData:function(B){var z=this._data;c(B,function(R,U){for(var j=z[U]||(z[U]=[]),H=0;H<(R||[]).length;H++)j.push(R[H])})}},original:{count:S,getItem:T,appendData:L},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(B,z){B=B-this._offset,z=z||[];for(var R=this._dimSize*B,U=0;U<this._dimSize;U++)z[U]=this._data[R+U];return z},appendData:function(B){this._data=B},clean:function(){this._offset+=this.count(),this._data=null}}};function S(){return this._data.length}function T(B){return this._data[B]}function L(B){for(var z=0;z<B.length;z++)this._data.push(B[z])}var x={arrayRows:C,objectRows:function(B,z,R,U){return R!=null?B[U]:B},keyedColumns:C,original:function(B,z,R,U){var j=r(B);return R==null||!(j instanceof Array)?j:j[R]},typedArray:C};function C(B,z,R,U){return R!=null?B[R]:B}var O={arrayRows:N,objectRows:function(B,z,R,U){return F(B[z],this._dimensionInfos[z])},keyedColumns:N,original:function(B,z,R,U){var j=B&&(B.value==null?B:B.value);return!this._rawData.pure&&o(B)&&(this.hasItemOption=!0),F(j instanceof Array?j[U]:j,this._dimensionInfos[z])},typedArray:function(B,z,R,U){return B[U]}};function N(B,z,R,U){return F(B[U],this._dimensionInfos[z])}function F(B,z){var R=z&&z.type;if(R==="ordinal"){var U=z&&z.ordinalMeta;return U?U.parseAndCollect(B):B}return R==="time"&&typeof B!="number"&&B!=null&&B!=="-"&&(B=+n(B)),B==null||B===""?NaN:+B}function k(B,z,R){if(!B)return;var U=B.getRawDataItem(z);if(U==null)return;var j=B.getProvider().getSource().sourceFormat,H,V,X=B.getDimensionInfo(R);return X&&(H=X.name,V=X.index),x[j](U,z,V,H)}function P(B,z,R){if(!B)return;var U=B.getProvider().getSource().sourceFormat;if(U!==p&&U!==w)return;var j=B.getRawDataItem(z);if(U===p&&!a(j)&&(j=null),j)return j[R]}_.DefaultDataProvider=b,_.defaultDimValueGetters=O,_.retrieveRawValue=k,_.retrieveRawAttr=P},L0Ub:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,m=g.assert,v=e("Tghj"),h=v.__DEV__,c=y(["tooltip","label","itemName","itemId","seriesName"]);function a(d){var n={},l=n.encode={},t=y(),s=[],u=[],p=n.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};f(d.dimensions,function(S){var T=d.getDimensionInfo(S),L=T.coordDim;if(L){var x=T.coordDimIndex;i(l,L)[x]=S,T.isExtraCoord||(t.set(L,1),o(T.type)&&(s[0]=S),i(p.encode,L)[x]=T.index),T.defaultTooltip&&u.push(S)}c.each(function(C,O){var N=i(l,O),F=T.otherDims[O];F!=null&&F!==!1&&(N[F]=T.name)})});var w=[],b={};t.each(function(S,T){var L=l[T];b[T]=L[0],w=w.concat(L)}),n.dataDimsOnCoord=w,n.encodeFirstDimNotExtra=b;var E=l.label;E&&E.length&&(s=E.slice());var A=l.tooltip;return A&&A.length?u=A.slice():u.length||(u=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=u,n}function i(d,n){return d.hasOwnProperty(n)||(d[n]=[]),d[n]}function r(d){return d==="category"?"ordinal":d==="time"?"time":"float"}function o(d){return!(d==="ordinal"||d==="time")}_.OTHER_DIMENSIONS=c,_.summarizeDimensions=a,_.getDimensionTypeByAxis=r},L3Oj:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(y,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(D,_){var e=["itemStyle","borderColor"];function g(f,y){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(v){var h=m[v.seriesIndex%m.length],c=v.getData();c.setVisual({legendSymbol:"roundRect",color:v.get(e)||h}),f.isSeriesFiltered(v)||c.each(function(a){var i=c.getItemModel(a);c.setItemVisual(a,{color:i.get(e,!0)})})})}D.exports=g},L8xA:function(D,_){function e(g){var f=this.__data__,y=f.delete(g);return this.size=f.size,y}D.exports=e},LBfv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=f.createHashMap,m=f.each;g.registerProcessor({getTargetSeries:function(v){var h=y();return v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(a,i,r){var o=r.getAxisProxy(a.name,i);m(o.getTargetSeriesModels(),function(d){h.set(d.uid,d)})})}),h},modifyOutputEnd:!0,overallReset:function(v,h){v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(a,i,r){r.getAxisProxy(a.name,i).reset(r,h)}),c.eachTargetAxis(function(a,i,r){r.getAxisProxy(a.name,i).filterData(r,h)})}),v.eachComponent("dataZoom",function(c){var a=c.findRepresentativeAxisProxy(),i=a.getDataPercentWindow(),r=a.getDataValueWindow();c.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function f(b,E){for(var A=0;A<E.length;A++){var S=E[A];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(b,S.key,S)}}function y(b,E,A){return E&&f(b.prototype,E),A&&f(b,A),b}var m=0,v=1,h=2,c=4,a=8,i=16,r=32,o=64,d=127,n=50,l=90,t=250,s=1e3,u=1e3,p=50,w=function(){function b(){g(this,b),this._target=null,this._state=d,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return y(b,[{key:"attach",value:function(A){this.detach(),this._target=A,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(A){var S;A.stopPropagation(),A.preventDefault();switch(A.type){case"touchstart":S=this._touchStart;break;case"touchmove":S=this._touchMove;break;case"touchend":case"touchcancel":S=this._touchEnd;break}for(var T=0;T<A.changedTouches.length;T++){var L=A.changedTouches[T];S.call(this,L.identifier,L.clientX,L.clientY)}}},{key:"_touchStart",value:function(A,S,T){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(A);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(A);return}if(this._waitingRelease){this._state=m,this._ignored.push(A);return}this._tracked.push({id:A,started:Date.now(),active:!0,firstX:S,firstY:T,lastX:S,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|a|i),this._stopLongpressTimeout();break;case 3:this._state&=~(h|r|o);break;default:this._state=m}}},{key:"_touchMove",value:function(A,S,T){var L=this._tracked.find(function(k){return k.id===A});if(L===void 0)return;L.lastX=S,L.lastY=T;var x=S-L.firstX,C=T-L.firstY;if((L.firstX!==L.lastX||L.firstY!==L.lastY)&&(L.angle=Math.atan2(C,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,C)<n)return;if(this._state&=~(v|h|c|i),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~a),this._tracked.length!==2&&(this._state&=~(r|o)),this._tracked.length===2){var O=this._tracked.find(function(k){return k.id!==A}),N=Math.hypot(O.firstX-O.lastX,O.firstY-O.lastY);if(N>n){var F=Math.abs(L.angle-O.angle);F=Math.abs((F+180)%360-180),F>l?this._state&=~r:this._state&=~o,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(A,S,T){if(this._ignored.indexOf(A)!==-1){this._ignored.splice(this._ignored.indexOf(A),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=d,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(a|r|o),this._state&=~i,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|c);break;case 2:this._state&=~(v|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=m);var L=this._tracked.find(function(C){return C.id===A});if(L.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var x=0;x<this._tracked.length;x++)this._tracked[x].active&&this._ignored.push(this._tracked[x].id);this._tracked=[],this._state=m,this._ignored.indexOf(A)!==-1&&this._ignored.splice(this._ignored.indexOf(A),1),this._ignored.length===0&&(this._state=d,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(v|h|c)&&this._tracked.some(function(A){return A.active}))}},{key:"_startLongpressTimeout",value:function(){var A=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return A._longpressTimeout()},u)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=i,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var A=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return A._twoTouchTimeout()},p)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var A=this._getAverageMovement(),S=Math.abs(A.x),T=Math.abs(A.y),L=this._getAverageDistance(),x=Math.abs(Math.hypot(L.first.x,L.first.y)-Math.hypot(L.last.x,L.last.y));T<x&&S<x?this._state=o:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(A){var S={type:this._stateToGesture(this._state)},T=this._getPosition(),L=T.last;A==="gesturestart"&&(L=T.first);switch(this._state){case r:case o:L=T.first;break}if(S.clientX=L.x,S.clientY=L.y,this._state===o){var x=this._getAverageDistance();A==="gesturestart"?(S.magnitudeX=x.first.x,S.magnitudeY=x.first.y):(S.magnitudeX=x.last.x,S.magnitudeY=x.last.y)}else if(this._state===r)if(A==="gesturestart")S.magnitudeX=0,S.magnitudeY=0;else{var C=this._getAverageMovement();S.magnitudeX=C.x,S.magnitudeY=C.y}var O=new CustomEvent(A,{detail:S});this._target.dispatchEvent(O)}},{key:"_stateToGesture",value:function(A){switch(A){case v:return"onetap";case h:return"twotap";case c:return"threetap";case a:return"drag";case i:return"longpress";case r:return"twodrag";case o:return"pinch"}throw new Error("Unknown gesture state: "+A)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var A=this._tracked.length,S=0,T=0,L=0,x=0,C=0;C<this._tracked.length;C++)S+=this._tracked[C].firstX,T+=this._tracked[C].firstY,L+=this._tracked[C].lastX,x+=this._tracked[C].lastY;return{first:{x:S/A,y:T/A},last:{x:L/A,y:x/A}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var A,S;A=S=0;for(var T=this._tracked.length,L=0;L<this._tracked.length;L++)A+=this._tracked[L].lastX-this._tracked[L].firstX,S+=this._tracked[L].lastY-this._tracked[L].firstY;return{x:A/T,y:S/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var A=this._tracked[0],S=this._tracked[this._tracked.length-1],T=Math.abs(S.firstX-A.firstX),L=Math.abs(S.firstY-A.firstY),x=Math.abs(S.lastX-A.lastX),C=Math.abs(S.lastY-A.lastY);return{first:{x:T,y:L},last:{x,y:C}}}}]),b}();_.default=w},LPTA:function(D,_){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;_.debugMode=g,_.devicePixelRatio=f},LPzL:function(D,_,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=function(){function d(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}return function(n,l,t){return l&&d(n.prototype,l),t&&d(n,t),n}}(),f=e("q1tI"),y=h(f),m=e("17x9"),v=h(m);function h(d){return d&&d.__esModule?d:{default:d}}function c(d,n){var l={};for(var t in d){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(d,t))continue;l[t]=d[t]}return l}function a(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}function i(d,n){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:d}function r(d,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);d.prototype=Object.create(n&&n.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(d,n):d.__proto__=n)}var o=function(d){r(n,d);function n(l){a(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return g(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,s={get passive(){t=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(u){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var s=window;this.props.useWindow===!1&&(s=t),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,s=window,u=this.getParentElement(t),p=void 0;if(this.props.useWindow){var w=document.documentElement||document.body.parentNode||document.body,b=s.pageYOffset!==void 0?s.pageYOffset:w.scrollTop;this.props.isReverse?p=b:p=this.calculateOffset(t,b)}else this.props.isReverse?p=u.scrollTop:p=t.scrollHeight-u.scrollTop-u.clientHeight;p<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,s){return t?this.calculateTopPosition(t)+(t.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,s=this.filterProps(this.props),u=s.children,p=s.element,w=s.hasMore,b=s.initialLoad,E=s.isReverse,A=s.loader,S=s.loadMore,T=s.pageStart,L=s.ref,x=s.threshold,C=s.useCapture,O=s.useWindow,N=s.getScrollParent,F=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(P){t.scrollComponent=P,L&&L(P)};var k=[u];return w&&(A?E?k.unshift(A):k.push(A):this.defaultLoader&&(E?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),y.default.createElement(p,F,k)}}]),n}(f.Component);o.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.default.bool},o.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},_.default=o,D.exports=_.default},LXxW:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length,v=0,h=[];++y<m;){var c=g[y];f(c,y,g)&&(h[v++]=c)}return h}D.exports=e},Lerx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Llu2:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DeliveredProcedureOutlined";var h=_.a=g.forwardRef(v)},Lo0S:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.initLogging=h,_.getLogging=c,_.Error=_.Warn=_.Info=_.Debug=void 0;var g="warn",f=function(){};_.Debug=f;var y=function(){};_.Info=y;var m=function(){};_.Warn=m;var v=function(){};_.Error=v;function h(a){if(typeof a=="undefined"?a=g:g=a,_.Debug=f=_.Info=y=_.Warn=m=_.Error=v=function(){},typeof window.console!="undefined")switch(a){case"debug":_.Debug=f=console.debug.bind(window.console);case"info":_.Info=y=console.info.bind(window.console);case"warn":_.Warn=m=console.warn.bind(window.console);case"error":_.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+a+"'")}}function c(){return g}h()},LtfV:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="InboxOutlined";var h=_.a=g.forwardRef(v)},Lyp1:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="QuestionCircleOutlined";var h=_.a=g.forwardRef(v)},LzGr:function(D,_,e){var g=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),g.registerPreprocessor(f)},MBQ8:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),y=g.extend({type:"series.__base_bar__",getInitialData:function(m,v){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var v=this.coordinateSystem;if(v){var h=v.dataToPoint(v.clampData(m)),c=this.getData(),a=c.getLayout("offset"),i=c.getLayout("size"),r=v.getBaseAxis().isHorizontal()?0:1;return h[r]+=a+i/2,h}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});D.exports=y},MEGo:function(D,_,e){var g=e("4fz+"),f=e("Dagg"),y=e("dqUG"),m=e("2fw6"),v=e("x6Kt"),h=e("rmlV"),c=e("yxFR"),a=e("y+Vt"),i=e("h7HQ"),r=e("1Jh7"),o=e("SKnc"),d=e("K2GJ"),n=e("Fofx"),l=e("NC18"),t=l.createFromString,s=e("bYtY"),u=s.isString,p=s.extend,w=s.defaults,b=s.trim,E=s.each,A=/[\s,]+/;function S(X){if(u(X)){var W=new DOMParser;X=W.parseFromString(X,"text/xml")}for(X.nodeType===9&&(X=X.firstChild);X.nodeName.toLowerCase()!=="svg"||X.nodeType!==1;)X=X.nextSibling;return X}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(X,W){W=W||{};var G=S(X);if(!G)throw new Error("Illegal svg");var $=new g;this._root=$;var ge=G.getAttribute("viewBox")||"",q=parseFloat(G.getAttribute("width")||W.width),Se=parseFloat(G.getAttribute("height")||W.height);isNaN(q)&&(q=null),isNaN(Se)&&(Se=null),k(G,$,null,!0);for(var Ce=G.firstChild;Ce;)this._parseNode(Ce,$),Ce=Ce.nextSibling;var Ae,Ue;if(ge){var Qe=b(ge).split(A);Qe.length>=4&&(Ae={x:parseFloat(Qe[0]||0),y:parseFloat(Qe[1]||0),width:parseFloat(Qe[2]),height:parseFloat(Qe[3])})}if(Ae&&q!=null&&Se!=null&&(Ue=H(Ae,q,Se),!W.ignoreViewBox)){var gt=$;$=new g,$.add(gt),gt.scale=Ue.scale.slice(),gt.position=Ue.position.slice()}return!W.ignoreRootClip&&q!=null&&Se!=null&&$.setClipPath(new v({shape:{x:0,y:0,width:q,height:Se}})),{root:$,width:q,height:Se,viewBoxRect:Ae,viewBoxTransform:Ue}},T.prototype._parseNode=function(X,W){var G=X.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var $;if(this._isDefine){var ge=x[G];if(ge){var q=ge.call(this,X),Se=X.getAttribute("id");Se&&(this._defs[Se]=q)}}else{var ge=L[G];ge&&($=ge.call(this,X,W),W.add($))}for(var Ce=X.firstChild;Ce;)Ce.nodeType===1&&this._parseNode(Ce,$),Ce.nodeType===3&&this._isText&&this._parseText(Ce,$),Ce=Ce.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},T.prototype._parseText=function(X,W){if(X.nodeType===1){var G=X.getAttribute("dx")||0,$=X.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat($)}var ge=new y({style:{text:X.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(W,ge),k(X,ge,this._defs);var q=ge.style.fontSize;q&&q<9&&(ge.style.fontSize=9,ge.scale=ge.scale||[1,1],ge.scale[0]*=q/9,ge.scale[1]*=q/9);var Se=ge.getBoundingRect();return this._textX+=Se.width,W.add(ge),ge};var L={g:function(W,G){var $=new g;return O(G,$),k(W,$,this._defs),$},rect:function(W,G){var $=new v;return O(G,$),k(W,$,this._defs),$.setShape({x:parseFloat(W.getAttribute("x")||0),y:parseFloat(W.getAttribute("y")||0),width:parseFloat(W.getAttribute("width")||0),height:parseFloat(W.getAttribute("height")||0)}),$},circle:function(W,G){var $=new m;return O(G,$),k(W,$,this._defs),$.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),r:parseFloat(W.getAttribute("r")||0)}),$},line:function(W,G){var $=new c;return O(G,$),k(W,$,this._defs),$.setShape({x1:parseFloat(W.getAttribute("x1")||0),y1:parseFloat(W.getAttribute("y1")||0),x2:parseFloat(W.getAttribute("x2")||0),y2:parseFloat(W.getAttribute("y2")||0)}),$},ellipse:function(W,G){var $=new h;return O(G,$),k(W,$,this._defs),$.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),rx:parseFloat(W.getAttribute("rx")||0),ry:parseFloat(W.getAttribute("ry")||0)}),$},polygon:function(W,G){var $=W.getAttribute("points");$&&($=N($));var ge=new i({shape:{points:$||[]}});return O(G,ge),k(W,ge,this._defs),ge},polyline:function(W,G){var $=new a;O(G,$),k(W,$,this._defs);var ge=W.getAttribute("points");ge&&(ge=N(ge));var q=new r({shape:{points:ge||[]}});return q},image:function(W,G){var $=new f;return O(G,$),k(W,$,this._defs),$.setStyle({image:W.getAttribute("xlink:href"),x:W.getAttribute("x"),y:W.getAttribute("y"),width:W.getAttribute("width"),height:W.getAttribute("height")}),$},text:function(W,G){var $=W.getAttribute("x")||0,ge=W.getAttribute("y")||0,q=W.getAttribute("dx")||0,Se=W.getAttribute("dy")||0;this._textX=parseFloat($)+parseFloat(q),this._textY=parseFloat(ge)+parseFloat(Se);var Ce=new g;return O(G,Ce),k(W,Ce,this._defs),Ce},tspan:function(W,G){var $=W.getAttribute("x"),ge=W.getAttribute("y");$!=null&&(this._textX=parseFloat($)),ge!=null&&(this._textY=parseFloat(ge));var q=W.getAttribute("dx")||0,Se=W.getAttribute("dy")||0,Ce=new g;return O(G,Ce),k(W,Ce,this._defs),this._textX+=q,this._textY+=Se,Ce},path:function(W,G){var $=W.getAttribute("d")||"",ge=t($);return O(G,ge),k(W,ge,this._defs),ge}},x={lineargradient:function(W){var G=parseInt(W.getAttribute("x1")||0,10),$=parseInt(W.getAttribute("y1")||0,10),ge=parseInt(W.getAttribute("x2")||10,10),q=parseInt(W.getAttribute("y2")||0,10),Se=new o(G,$,ge,q);return C(W,Se),Se},radialgradient:function(W){}};function C(X,W){for(var G=X.firstChild;G;){if(G.nodeType===1){var $=G.getAttribute("offset");$.indexOf("%")>0?$=parseInt($,10)/100:$?$=parseFloat($):$=0;var ge=G.getAttribute("stop-color")||"#000000";W.addColorStop($,ge)}G=G.nextSibling}}function O(X,W){X&&X.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),w(W.__inheritedStyle,X.__inheritedStyle))}function N(X){for(var W=b(X).split(A),G=[],$=0;$<W.length;$+=2){var ge=parseFloat(W[$]),q=parseFloat(W[$+1]);G.push([ge,q])}return G}var F={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function k(X,W,G,$){var ge=W.__inheritedStyle||{},q=W.type==="text";if(X.nodeType===1&&(R(X,W),p(ge,j(X)),!$)){for(var Se in F)if(F.hasOwnProperty(Se)){var Ce=X.getAttribute(Se);Ce!=null&&(ge[F[Se]]=Ce)}}var Ae=q?"textFill":"fill",Ue=q?"textStroke":"stroke";W.style=W.style||new d;var Qe=W.style;ge.fill!=null&&Qe.set(Ae,B(ge.fill,G)),ge.stroke!=null&&Qe.set(Ue,B(ge.stroke,G)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(gt){var _e=gt==="lineWidth"&&q?"textStrokeWidth":gt;ge[gt]!=null&&Qe.set(_e,parseFloat(ge[gt]))}),(!ge.textBaseline||ge.textBaseline==="auto")&&(ge.textBaseline="alphabetic"),ge.textBaseline==="alphabetic"&&(ge.textBaseline="bottom"),ge.textAlign==="start"&&(ge.textAlign="left"),ge.textAlign==="end"&&(ge.textAlign="right"),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(gt){ge[gt]!=null&&Qe.set(gt,ge[gt])}),ge.lineDash&&(W.style.lineDash=b(ge.lineDash).split(A)),Qe[Ue]&&Qe[Ue]!=="none"&&(W[Ue]=!0),W.__inheritedStyle=ge}var P=/url\(\s*#(.*?)\)/;function B(X,W){var G=W&&X&&X.match(P);if(G){var $=b(G[1]),ge=W[$];return ge}return X}var z=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(X,W){var G=X.getAttribute("transform");if(G){G=G.replace(/,/g," ");var $=null,ge=[];G.replace(z,function(Ae,Ue,Qe){ge.push(Ue,Qe)});for(var q=ge.length-1;q>0;q-=2){var Se=ge[q],Ce=ge[q-1];$=$||n.create();switch(Ce){case"translate":Se=b(Se).split(A),n.translate($,$,[parseFloat(Se[0]),parseFloat(Se[1]||0)]);break;case"scale":Se=b(Se).split(A),n.scale($,$,[parseFloat(Se[0]),parseFloat(Se[1]||Se[0])]);break;case"rotate":Se=b(Se).split(A),n.rotate($,$,parseFloat(Se[0]));break;case"skew":Se=b(Se).split(A),console.warn("Skew transform is not supported yet");break;case"matrix":var Se=b(Se).split(A);$[0]=parseFloat(Se[0]),$[1]=parseFloat(Se[1]),$[2]=parseFloat(Se[2]),$[3]=parseFloat(Se[3]),$[4]=parseFloat(Se[4]),$[5]=parseFloat(Se[5]);break}}W.setLocalTransform($)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function j(X){var W=X.getAttribute("style"),G={};if(!W)return G;var $={};U.lastIndex=0;for(var ge;(ge=U.exec(W))!=null;)$[ge[1]]=ge[2];for(var q in F)F.hasOwnProperty(q)&&$[q]!=null&&(G[F[q]]=$[q]);return G}function H(X,W,G){var $=W/X.width,ge=G/X.height,q=Math.min($,ge),Se=[q,q],Ce=[-(X.x+X.width/2)*q+W/2,-(X.y+X.height/2)*q+G/2];return{scale:Se,position:Ce}}function V(X,W){var G=new T;return G.parse(X,W)}_.parseXML=S,_.makeViewBoxTransform=H,_.parseSVG=V},MFOe:function(D,_,e){(function(g){var f=h(),y=c(),m=a(),v=typeof window!="undefined"?window:g;D.exports={assign:f,create:y,trim:m,bind:i,slice:r,each:o,map:d,pluck:n,isList:l,isFunction:t,isObject:s,Global:v};function h(){return Object.assign?Object.assign:function(p,w,b,E){for(var A=1;A<arguments.length;A++)o(Object(arguments[A]),function(S,T){p[T]=S});return p}}function c(){if(Object.create)return function(w,b,E,A){var S=r(arguments,1);return f.apply(this,[Object.create(w)].concat(S))};var u=function(){};return function(w,b,E,A){var S=r(arguments,1);return u.prototype=w,f.apply(this,[new u].concat(S))}}function a(){return String.prototype.trim?function(p){return String.prototype.trim.call(p)}:function(p){return p.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function i(u,p){return function(){return p.apply(u,Array.prototype.slice.call(arguments,0))}}function r(u,p){return Array.prototype.slice.call(u,p||0)}function o(u,p){n(u,function(w,b){return p(w,b),!1})}function d(u,p){var w=l(u)?[]:{};return n(u,function(b,E){return w[E]=p(b,E),!1}),w}function n(u,p){if(l(u)){for(var w=0;w<u.length;w++)if(p(u[w],w))return u[w]}else for(var b in u)if(u.hasOwnProperty(b)&&p(u[b],b))return u[b]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function t(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("OELB"),m=e("kj2x"),v=e("c8qY"),h=e("iPDy"),c=e("7hqr"),a=c.getStackedDimension,i=function(s,u,p,w){var b=s.getData(),E=w.type;if(!g.isArray(w)&&(E==="min"||E==="max"||E==="average"||E==="median"||w.xAxis!=null||w.yAxis!=null)){var A,S;if(w.yAxis!=null||w.xAxis!=null)A=u.getAxis(w.yAxis!=null?"y":"x"),S=g.retrieve(w.yAxis,w.xAxis);else{var T=m.getAxisInfo(w,b,u,s);A=T.valueAxis;var L=a(b,T.valueDataDim);S=m.numCalculate(b,L,E)}var x=A.dim==="x"?0:1,C=1-x,O=g.clone(w),N={};O.type=null,O.coord=[],N.coord=[],O.coord[C]=-Infinity,N.coord[C]=Infinity;var F=p.get("precision");F>=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(F,20))),O.coord[x]=N.coord[x]=S,w=[O,N,{type:E,valueIndex:w.valueIndex,value:S}]}return w=[m.dataTransform(s,w[0]),m.dataTransform(s,w[1]),g.extend({},w[2])],w[2].type=w[2].type||"",g.merge(w[2],w[0]),g.merge(w[2],w[1]),w};function r(s){return!isNaN(s)&&!isFinite(s)}function o(s,u,p,w){var b=1-s,E=w.dimensions[s];return r(u[b])&&r(p[b])&&u[s]===p[s]&&w.getAxis(E).containData(u[s])}function d(s,u){if(s.type==="cartesian2d"){var p=u[0].coord,w=u[1].coord;if(p&&w&&(o(1,p,w,s)||o(0,p,w,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function n(s,u,p,w,b){var E=w.coordinateSystem,A=s.getItemModel(u),S,T=y.parsePercent(A.get("x"),b.getWidth()),L=y.parsePercent(A.get("y"),b.getHeight());if(!isNaN(T)&&!isNaN(L))S=[T,L];else{if(w.getMarkerPosition)S=w.getMarkerPosition(s.getValues(s.dimensions,u));else{var x=E.dimensions,C=s.get(x[0],u),O=s.get(x[1],u);S=E.dataToPoint([C,O])}if(E.type==="cartesian2d"){var N=E.getAxis("x"),F=E.getAxis("y"),x=E.dimensions;r(s.get(x[0],u))?S[0]=N.toGlobalCoord(N.getExtent()[p?0:1]):r(s.get(x[1],u))&&(S[1]=F.toGlobalCoord(F.getExtent()[p?0:1]))}isNaN(T)||(S[0]=T),isNaN(L)||(S[1]=L)}s.setItemLayout(u,S)}var l=h.extend({type:"markLine",updateTransform:function(s,u,p){u.eachSeries(function(w){var b=w.markLineModel;if(b){var E=b.getData(),A=b.__from,S=b.__to;A.each(function(T){n(A,T,!0,w,p),n(S,T,!1,w,p)}),E.each(function(T){E.setItemLayout(T,[A.getItemLayout(T),S.getItemLayout(T)])}),this.markerGroupMap.get(w.id).updateLayout()}},this)},renderSeries:function(s,u,p,w){var b=s.coordinateSystem,E=s.id,A=s.getData(),S=this.markerGroupMap,T=S.get(E)||S.set(E,new v);this.group.add(T.group);var L=t(b,s,u),x=L.from,C=L.to,O=L.line;u.__from=x,u.__to=C,u.setData(O);var N=u.get("symbol"),F=u.get("symbolSize");g.isArray(N)||(N=[N,N]),typeof F=="number"&&(F=[F,F]),L.from.each(function(P){k(x,P,!0),k(C,P,!1)}),O.each(function(P){var B=O.getItemModel(P).get("lineStyle.color");O.setItemVisual(P,{color:B||x.getItemVisual(P,"color")}),O.setItemLayout(P,[x.getItemLayout(P),C.getItemLayout(P)]),O.setItemVisual(P,{fromSymbolSize:x.getItemVisual(P,"symbolSize"),fromSymbol:x.getItemVisual(P,"symbol"),toSymbolSize:C.getItemVisual(P,"symbolSize"),toSymbol:C.getItemVisual(P,"symbol")})}),T.updateData(O),L.line.eachItemGraphicEl(function(P,B){P.traverse(function(z){z.dataModel=u})});function k(P,B,z){var R=P.getItemModel(B);n(P,B,z,s,w),P.setItemVisual(B,{symbolSize:R.get("symbolSize")||F[z?0:1],symbol:R.get("symbol",!0)||N[z?0:1],color:R.get("itemStyle.color")||A.getVisual("color")})}T.__keep=!0,T.group.silent=u.get("silent")||s.get("silent")}});function t(s,u,p){var w;s?w=g.map(s&&s.dimensions,function(L){var x=u.getData().getDimensionInfo(u.getData().mapDimension(L))||{};return g.defaults({name:L},x)}):w=[{name:"value",type:"float"}];var b=new f(w,p),E=new f(w,p),A=new f([],p),S=g.map(p.get("data"),g.curry(i,u,s,p));s&&(S=g.filter(S,g.curry(d,s)));var T=s?m.dimValueGetter:function(L){return L.value};return b.initData(g.map(S,function(L){return L[0]}),null,T),E.initData(g.map(S,function(L){return L[1]}),null,T),A.initData(g.map(S,function(L){return L[2]})),A.hasItemOption=!0,{from:b,to:E,line:A}}D.exports=l},MHoB:function(D,_,e){var g=e("bYtY"),f=e("6uqw"),y=e("OELB"),m=[20,140],v=f.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(a,i){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var a=this.itemSize;this._orient==="horizontal"&&a.reverse(),(a[0]==null||isNaN(a[0]))&&(a[0]=m[0]),(a[1]==null||isNaN(a[1]))&&(a[1]=m[1])},_resetRange:function(){var a=this.getExtent(),i=this.option.range;!i||i.auto?(a.auto=1,this.option.range=a):g.isArray(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],a[0]),i[1]=Math.min(i[1],a[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(a){var i=this.option.controller[a].symbolSize;i&&i[0]!==i[1]&&(i[0]=0)},this)},setSelected:function(a){this.option.range=a.slice(),this._resetRange()},getSelected:function(){var a=this.getExtent(),i=y.asc((this.get("range")||[]).slice());return i[0]>a[1]&&(i[0]=a[1]),i[1]>a[1]&&(i[1]=a[1]),i[0]<a[0]&&(i[0]=a[0]),i[1]<a[0]&&(i[1]=a[0]),i},getValueState:function(a){var i=this.option.range,r=this.getExtent();return(i[0]<=r[0]||i[0]<=a)&&(i[1]>=r[1]||a<=i[1])?"inRange":"outOfRange"},findTargetDataIndices:function(a){var i=[];return this.eachTargetSeries(function(r){var o=[],d=r.getData();d.each(this.getDataDimension(d),function(n,l){a[0]<=n&&n<=a[1]&&o.push(l)},this),i.push({seriesId:r.id,dataIndex:o})},this),i},getVisualMeta:function(a){var i=h(this,"outOfRange",this.getExtent()),r=h(this,"inRange",this.option.range.slice()),o=[];function d(w,b){o.push({value:w,color:a(w,b)})}for(var n=0,l=0,t=r.length,s=i.length;l<s&&(!r.length||i[l]<=r[0]);l++)i[l]<r[n]&&d(i[l],"outOfRange");for(var u=1;n<t;n++,u=0)u&&o.length&&d(r[n],"outOfRange"),d(r[n],"inRange");for(var u=1;l<s;l++)(!r.length||r[r.length-1]<i[l])&&(u&&(o.length&&d(o[o.length-1].value,"outOfRange"),u=0),d(i[l],"outOfRange"));var p=o.length;return{stops:o,outerColors:[p?o[0].color:"transparent",p?o[p-1].color:"transparent"]}}});function h(a,i,r){if(r[0]===r[1])return r.slice();for(var o=200,d=(r[1]-r[0])/o,n=r[0],l=[],t=0;t<=o&&n<r[1];t++)l.push(n),n+=d;return l.push(r[1]),l}var c=v;D.exports=c},MHtr:function(D,_,e){var g=e("bYtY");function f(m,v){var h=this.getAxis(),c=v instanceof Array?v[0]:v,a=(m instanceof Array?m[0]:m)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(c-a)-h.dataToCoord(c+a))}function y(m){var v=m.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},MJZm:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("fAei"),c=e("TSYQ"),a=e.n(c),i=e("RIqP"),r=e.n(i),o=e("J4zp"),d=e.n(o),n=e("sEfC"),l=e.n(n),t=e("OZM5"),s=e("815F"),u=e("vk+C"),p=e.n(u),w=e("Vy0f"),b=e.n(w),E=e("kGiB"),A=e.n(E),S=e("H84U"),T;(function(V){V[V.None=0]="None",V[V.Start=1]="Start",V[V.End=2]="End"})(T||(T={}));function L(V,X){function W(G){var $=G.key,ge=G.children;X($,G)!==!1&&L(ge||[],X)}V.forEach(W)}function x(V){var X=V.treeData,W=V.expandedKeys,G=V.startKey,$=V.endKey,ge=[],q=T.None;if(G&&G===$)return[G];if(!G||!$)return[];function Se(Ce){return Ce===G||Ce===$}return L(X,function(Ce){if(q===T.End)return!1;if(Se(Ce)){if(ge.push(Ce),q===T.None)q=T.Start;else if(q===T.Start)return q=T.End,!1}else q===T.Start&&ge.push(Ce);return!(W.indexOf(Ce)===-1)}),ge}function C(V,X){var W=r()(X),G=[];return L(V,function($,ge){var q=W.indexOf($);return q!==-1&&(G.push(ge),W.splice(q,1)),!!W.length}),G}var O=function(V,X){var W={};for(var G in V)Object.prototype.hasOwnProperty.call(V,G)&&X.indexOf(G)<0&&(W[G]=V[G]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,G=Object.getOwnPropertySymbols(V);$<G.length;$++)X.indexOf(G[$])<0&&Object.prototype.propertyIsEnumerable.call(V,G[$])&&(W[G[$]]=V[G[$]]);return W};function N(V){var X=V.isLeaf,W=V.expanded;return X?v.createElement(p.a,null):W?v.createElement(b.a,null):v.createElement(A.a,null)}function F(V){var X=V.treeData,W=V.children;return X||Object(s.c)(W)}var k=function(X,W){var G=X.defaultExpandAll,$=X.defaultExpandParent,ge=X.defaultExpandedKeys,q=O(X,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Se=v.useRef(),Ce=v.useRef(),Ae=v.createRef();v.useImperativeHandle(W,function(){return Ae.current});var Ue=function(){var Xe=Object(s.a)(F(q)),et=Xe.keyEntities,tt;return G?tt=Object.keys(et):$?tt=Object(t.e)(q.expandedKeys||ge,et):tt=q.expandedKeys||ge,tt},Qe=v.useState(q.selectedKeys||q.defaultSelectedKeys||[]),gt=d()(Qe,2),_e=gt[0],Oe=gt[1],lt=v.useState(Ue()),ce=d()(lt,2),Y=ce[0],K=ce[1];v.useEffect(function(){"selectedKeys"in q&&Oe(q.selectedKeys)},[q.selectedKeys]),v.useEffect(function(){"expandedKeys"in q&&K(q.expandedKeys)},[q.expandedKeys]);var Q=function(Xe,et){var tt=et.isLeaf;if(tt||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)return;Ae.current.onNodeExpand(Xe,et)},ye=l()(Q,200,{leading:!0}),ue=function(Xe,et){return"expandedKeys"in q||K(Xe),q.onExpand?q.onExpand(Xe,et):void 0},Ne=function(Xe,et){var tt=q.expandAction;tt==="click"&&ye(Xe,et),q.onClick&&q.onClick(Xe,et)},Te=function(Xe,et){var tt=q.expandAction;tt==="doubleClick"&&ye(Xe,et),q.onDoubleClick&&q.onDoubleClick(Xe,et)},oe=function(Xe,et){var tt=q.multiple,ot=et.node,Ve=et.nativeEvent,se=ot.key,re=se===void 0?"":se,it=F(q),qe=m()(m()({},et),{selected:!0}),be=Ve.ctrlKey||Ve.metaKey,Zt=Ve.shiftKey,dt;tt&&be?(dt=Xe,Se.current=re,Ce.current=dt,qe.selectedNodes=C(it,dt)):tt&&Zt?(dt=Array.from(new Set([].concat(r()(Ce.current||[]),r()(x({treeData:it,expandedKeys:Y,startKey:re,endKey:Se.current}))))),qe.selectedNodes=C(it,dt)):(dt=[re],Se.current=re,Ce.current=dt,qe.selectedNodes=C(it,dt)),q.onSelect&&q.onSelect(dt,qe),"selectedKeys"in q||Oe(dt)},de=v.useContext(S.b),Le=de.getPrefixCls,Ge=de.direction,ht=q.prefixCls,Et=q.className,Be=O(q,["prefixCls","className"]),Dt=Le("tree",ht),Ke=a()("".concat(Dt,"-directory"),Et,f()({},"".concat(Dt,"-directory-rtl"),Ge==="rtl"));return v.createElement(j,m()({icon:N,ref:Ae,blockNode:!0},Be,{prefixCls:Dt,className:Ke,expandedKeys:Y,selectedKeys:_e,onSelect:oe,onClick:Ne,onDoubleClick:Te,onExpand:ue}))},P=v.forwardRef(k);P.displayName="DirectoryTree",P.defaultProps={showIcon:!0,expandAction:"click"};var B=P,z=e("EXcs"),R=e("2jpz"),U=v.forwardRef(function(V,X){var W,G=v.useContext(S.b),$=G.getPrefixCls,ge=G.direction,q=G.virtual,Se=V.prefixCls,Ce=V.className,Ae=V.showIcon,Ue=V.showLine,Qe=V.switcherIcon,gt=V.blockNode,_e=V.children,Oe=V.checkable,lt=m()(m()({},V),{showLine:Boolean(Ue)}),ce=$("tree",Se);return v.createElement(h.b,m()({itemHeight:20,ref:X,virtual:q},lt,{prefixCls:ce,className:a()(Ce,(W={},f()(W,"".concat(ce,"-icon-hide"),!Ae),f()(W,"".concat(ce,"-block-node"),gt),f()(W,"".concat(ce,"-rtl"),ge==="rtl"),W)),checkable:Oe&&v.createElement("span",{className:"".concat(ce,"-checkbox-inner")}),switcherIcon:function(K){return Object(R.a)(ce,Qe,Ue,K)}}),_e)});U.TreeNode=h.a,U.DirectoryTree=B,U.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},z.a),{motionAppear:!1}),blockNode:!1};var j=U,H=_.a=j},MKOG:function(D,_,e){var g=e("bYtY"),f=e("YH21"),y=f.Dispatcher,m=e("mLcG"),v=e("Bq2U"),h=function(i){i=i||{},this.stage=i.stage||{},this.onframe=i.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,y.call(this)};h.prototype={constructor:h,addClip:function(i){this._clips.push(i)},addAnimator:function(i){i.animation=this;for(var r=i.getClips(),o=0;o<r.length;o++)this.addClip(r[o])},removeClip:function(i){var r=g.indexOf(this._clips,i);r>=0&&this._clips.splice(r,1)},removeAnimator:function(i){for(var r=i.getClips(),o=0;o<r.length;o++)this.removeClip(r[o]);i.animation=null},_update:function(){for(var i=new Date().getTime()-this._pausedTime,r=i-this._time,o=this._clips,d=o.length,n=[],l=[],t=0;t<d;t++){var s=o[t],u=s.step(i,r);u&&(n.push(u),l.push(s))}for(var t=0;t<d;)o[t]._needsRemove?(o[t]=o[d-1],o.pop(),d--):t++;d=n.length;for(var t=0;t<d;t++)l[t].fire(n[t]);this._time=i,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var i=this;this._running=!0;function r(){i._running&&(m(r),!i._paused&&i._update())}m(r)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(i,r){r=r||{};var o=new v(i,r.loop,r.getter,r.setter);return this.addAnimator(o),o}},g.mixin(h,y);var c=h;D.exports=c},MMmD:function(D,_,e){var g=e("lSCD"),f=e("shjB");function y(m){return m!=null&&f(m.length)&&!g(m)}D.exports=y},MRoa:function(D,_,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),y=e("Dg8C");g.registerLayout(f),g.registerVisual(y)},MT78:function(D,_,e){var g=e("ProS");(function(){for(var y in g){if(g==null||!g.hasOwnProperty(y)||y==="default"||y==="__esModule")return;_[y]=g[y]}})();var f=e("txkQ");(function(){for(var y in f){if(f==null||!f.hasOwnProperty(y)||y==="default"||y==="__esModule")return;_[y]=f[y]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Kvyg"),m=e.n(y)},MZdM:function(D,_,e){"use strict";function g(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(t){return typeof t}:g=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(n)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=a(e("Lo0S")),y=h(e("N/zr")),m=e("GdRQ"),v=e("GQ8N");function h(n){return n&&n.__esModule?n:{default:n}}function c(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return c=function(){return n},n}function a(n){if(n&&n.__esModule)return n;if(n===null||g(n)!=="object"&&typeof n!="function")return{default:n};var l=c();if(l&&l.has(n))return l.get(n);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var p=s?Object.getOwnPropertyDescriptor(n,u):null;p&&(p.get||p.set)?Object.defineProperty(t,u,p):t[u]=n[u]}return t.default=n,l&&l.set(n,t),t}function i(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function r(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function o(n,l,t){return l&&r(n.prototype,l),t&&r(n,t),n}var d=function(){function n(l){if(i(this,n),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,f.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},f.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),f.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return o(n,[{key:"viewportChangePos",value:function(t,s){var u=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-u.w,s=-u.h);var p=u.x+u.w-1,w=u.y+u.h-1;if(t<0&&u.x+t<0&&(t=-u.x),p+t>=this._fbWidth&&(t-=p+t-this._fbWidth+1),u.y+s<0&&(s=-u.y),w+s>=this._fbHeight&&(s-=w+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),u.x+=t,u.y+=s,this._damage(u.x,u.y,u.w,u.h),this.flip()}},{key:"viewportChangeSize",value:function(t,s){(!this._clipViewport||typeof t=="undefined"||typeof s=="undefined")&&(f.Debug("Setting viewport to full display region"),t=this._fbWidth,s=this._fbHeight),t=Math.floor(t),s=Math.floor(s),t>this._fbWidth&&(t=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var u=this._viewportLoc;if(u.w!==t||u.h!==s){u.w=t,u.h=s;var p=this._target;p.width=t,p.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var u=this._backbuffer;if(u.width!==t||u.height!==s){var p=null;u.width>0&&u.height>0&&(p=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==t&&(u.width=t),u.height!==s&&(u.height=s),p&&this._drawCtx.putImageData(p,0,0)}var w=this._viewportLoc;this.viewportChangeSize(w.w,w.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,u,p){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+u>this._damageBounds.right&&(this._damageBounds.right=t+u),s+p>this._damageBounds.bottom&&(this._damageBounds.bottom=s+p)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,u=this._damageBounds.top,p=this._damageBounds.right-s,w=this._damageBounds.bottom-u,b=s-this._viewportLoc.x,E=u-this._viewportLoc.y;b<0&&(p+=b,s-=b,b=0),E<0&&(w+=E,u-=E,E=0),b+p>this._viewportLoc.w&&(p=this._viewportLoc.w-b),E+w>this._viewportLoc.h&&(w=this._viewportLoc.h-E),p>0&&w>0&&this._targetCtx.drawImage(this._backbuffer,s,u,p,w,b,E,p,w),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,s,u,p,w,b){this._renderQ.length!==0&&!b?this._renderQPush({type:"fill",x:t,y:s,width:u,height:p,color:w}):(this._setFillColor(w),this._drawCtx.fillRect(t,s,u,p),this._damage(t,s,u,p))}},{key:"copyImage",value:function(t,s,u,p,w,b,E){this._renderQ.length!==0&&!E?this._renderQPush({type:"copy",oldX:t,oldY:s,x:u,y:p,width:w,height:b}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,w,b,u,p,w,b),this._damage(u,p,w,b))}},{key:"imageRect",value:function(t,s,u,p,w,b){if(u===0||p===0)return;var E=new Image;E.src="data: "+w+";base64,"+y.default.encode(b),this._renderQPush({type:"img",img:E,x:t,y:s,width:u,height:p})}},{key:"startTile",value:function(t,s,u,p,w){this._tileX=t,this._tileY=s,u===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,p);for(var b=w[2],E=w[1],A=w[0],S=this._tile.data,T=0;T<u*p*4;T+=4)S[T]=b,S[T+1]=E,S[T+2]=A,S[T+3]=255}},{key:"subTile",value:function(t,s,u,p,w){for(var b=w[2],E=w[1],A=w[0],S=t+u,T=s+p,L=this._tile.data,x=this._tile.width,C=s;C<T;C++)for(var O=t;O<S;O++){var N=(O+C*x)*4;L[N]=b,L[N+1]=E,L[N+2]=A,L[N+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(t,s,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blit",data:A,x:t,y:s,width:u,height:p})}else this._bgrxImageData(t,s,u,p,w,b)}},{key:"blitRgbImage",value:function(t,s,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*3);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgb",data:A,x:t,y:s,width:u,height:p})}else this._rgbImageData(t,s,u,p,w,b)}},{key:"blitRgbxImage",value:function(t,s,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgbx",data:A,x:t,y:s,width:u,height:p})}else this._rgbxImageData(t,s,u,p,w,b)}},{key:"drawImage",value:function(t,s,u){this._drawCtx.drawImage(t,s,u),this._damage(s,u,t.width,t.height)}},{key:"autoscale",value:function(t,s){var u;if(t===0||s===0)u=0;else{var p=this._viewportLoc,w=t/s,b=p.w/p.h;b>=w?u=t/p.w:u=s/p.h}this._rescale(u)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,u=t*s.w+"px",p=t*s.h+"px";(this._target.style.width!==u||this._target.style.height!==p)&&(this._target.style.width=u,this._target.style.height=p)}},{key:"_setFillColor",value:function(t){var s="rgb("+t[2]+","+t[1]+","+t[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(t,s,u,p,w,b){for(var E=this._drawCtx.createImageData(u,p),A=E.data,S=0,T=b;S<u*p*4;S+=4,T+=3)A[S]=w[T],A[S+1]=w[T+1],A[S+2]=w[T+2],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_bgrxImageData",value:function(t,s,u,p,w,b){for(var E=this._drawCtx.createImageData(u,p),A=E.data,S=0,T=b;S<u*p*4;S+=4,T+=4)A[S]=w[T+2],A[S+1]=w[T+1],A[S+2]=w[T],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_rgbxImageData",value:function(t,s,u,p,w,b){var E;m.supportsImageMetadata?E=new ImageData(new Uint8ClampedArray(w.buffer,w.byteOffset,u*p*4),u,p):(E=this._drawCtx.createImageData(u,p),E.data.set(new Uint8ClampedArray(w.buffer,w.byteOffset,u*p*4))),this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_renderQPush",value:function(t){this._renderQ.push(t),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var t=!0;t&&this._renderQ.length>0;){var s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){f.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),n}();_.default=d},Mdki:function(D,_,e){var g=e("bYtY"),f=g.each,y="\0__link_datas",m="\0__link_mainData";function v(l){var t=l.mainData,s=l.datas;s||(s={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,o(t,s,l),f(s,function(u){f(t.TRANSFERABLE_METHODS,function(p){u.wrapMethod(p,g.curry(h,l))})}),t.wrapMethod("cloneShallow",g.curry(a,l)),f(t.CHANGABLE_METHODS,function(u){t.wrapMethod(u,g.curry(c,l))}),g.assert(s[t.dataType]===t)}function h(l,t){if(r(this)){var s=g.extend({},this[y]);s[this.dataType]=t,o(t,s,l)}else d(t,this.dataType,this[m],l);return t}function c(l,t){return l.struct&&l.struct.update(this),t}function a(l,t){return f(t[y],function(s,u){s!==t&&d(s.cloneShallow(),u,t,l)}),t}function i(l){var t=this[m];return l==null||t==null?t:t[y][l]}function r(l){return l[m]===l}function o(l,t,s){l[y]={},f(t,function(u,p){d(u,p,l,s)})}function d(l,t,s,u){s[y][t]=l,l[m]=s,l.dataType=t,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[t]]=l),l.getLinkedData=i}var n=v;D.exports=n},Mds0:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("8IMR")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="StarFilled";var c=y.forwardRef(h);_.default=c},Mgri:function(D,_,e){for(var g=e("bYtY"),f=e("8nly"),y=[126,25],m=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],v=0;v<m.length;v++)for(var h=0;h<m[v].length;h++)m[v][h][0]/=10.5,m[v][h][1]/=-10.5/.75,m[v][h][0]+=y[0],m[v][h][1]+=y[1];function c(a,i){a==="china"&&i.push(new f("\u5357\u6D77\u8BF8\u5C9B",g.map(m,function(r){return{type:"polygon",exterior:r}}),y))}D.exports=c},Mmt2:function(D,_,e){"use strict";function g(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(o)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return y=function(){return o},o}function m(o){if(o&&o.__esModule)return o;if(o===null||g(o)!=="object"&&typeof o!="function")return{default:o};var d=y();if(d&&d.has(o))return d.get(o);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var s=l?Object.getOwnPropertyDescriptor(o,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=o[t]}return n.default=o,d&&d.set(o,n),n}function v(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}function h(o,d){for(var n=0;n<d.length;n++){var l=d[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(o,l.key,l)}}function c(o,d,n){return d&&h(o.prototype,d),n&&h(o,n),o}var a=!1,i=40*1024*1024,r=function(){function o(){v(this,o),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return c(o,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(n){this._rQi+=n}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(n){for(var l=0,t=n-1;t>=0;t--)l+=this._rQ[this._rQi++]<<t*8;return l}},{key:"rQshiftStr",value:function(n){typeof n=="undefined"&&(n=this.rQlen);for(var l="",t=0;t<n;t+=4096){var s=this.rQshiftBytes(Math.min(4096,n-t));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(n){return typeof n=="undefined"&&(n=this.rQlen),this._rQi+=n,new Uint8Array(this._rQ.buffer,this._rQi-n,n)}},{key:"rQshiftTo",value:function(n,l){l===void 0&&(l=this.rQlen),n.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+n,l-n)}},{key:"rQwait",value:function(n,l,t){if(this.rQlen<l){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(n){this._sQ.set(n,this._sQlen),this._sQlen+=n.length,this.flush()}},{key:"sendString",value:function(n){this.send(n.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(n){this._eventHandlers[n]=function(){}}},{key:"on",value:function(n,l){this._eventHandlers[n]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(n,l){var t=this;this.init(),this._websocket=new WebSocket(n,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){f.Debug(">> WebSock.onopen"),t._websocket.protocol&&f.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),f.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){f.Debug(">> WebSock.onclose"),t._eventHandlers.close(s),f.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){f.Debug(">> WebSock.onerror: "+s),t._eventHandlers.error(s),f.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(f.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(n){var l=(this._rQlen-this._rQi+n)*8,t=this._rQbufferSize<l;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>i&&(this._rQbufferSize=i,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+i+" bytes, and the new message could not fit");if(t){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else a?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(n){var l=new Uint8Array(n);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(n){this._DecodeMessage(n.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):f.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(n){this._rQi=n}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),o}();_.default=r},MqEG:function(D,_,e){var g=e("bYtY"),f=e("fc+c"),y=e("72pK"),m=e("VXYp"),v=g.bind,h=f.extend({type:"dataZoom.inside",init:function(o,d){this._range},render:function(o,d,n,l){h.superApply(this,"render",arguments),this._range=o.getPercentRange(),g.each(this.getTargetCoordInfo(),function(t,s){var u=g.map(t,function(p){return m.generateCoordId(p.model)});g.each(t,function(p){var w=p.model,b={};g.each(["pan","zoom","scrollMove"],function(E){b[E]=v(c[E],this,p,s)},this),m.register(n,{coordId:m.generateCoordId(w),allCoordIds:u,containsPoint:function(E,A,S){return w.coordinateSystem.containPoint([A,S])},dataZoomId:o.id,dataZoomModel:o,getRange:b})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(o,d,n,l){var t=this._range,s=t.slice(),u=o.axisModels[0];if(!u)return;var p=i[d](null,[l.originX,l.originY],u,n,o),w=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(s[1]-s[0])+s[0],b=Math.max(1/l.scale,0);s[0]=(s[0]-w)*b+w,s[1]=(s[1]-w)*b+w;var E=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(y(0,s,[0,100],0,E.minSpan,E.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:a(function(o,d,n,l,t,s){var u=i[l]([s.oldX,s.oldY],[s.newX,s.newY],d,t,n);return u.signal*(o[1]-o[0])*u.pixel/u.pixelLength}),scrollMove:a(function(o,d,n,l,t,s){var u=i[l]([0,0],[s.scrollDelta,s.scrollDelta],d,t,n);return u.signal*(o[1]-o[0])*s.scrollDelta})};function a(o){return function(d,n,l,t){var s=this._range,u=s.slice(),p=d.axisModels[0];if(!p)return;var w=o(u,p,d,n,l,t);if(y(w,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var i={grid:function(o,d,n,l,t){var s=n.axis,u={},p=t.model.coordinateSystem.getRect();return o=o||[0,0],s.dim==="x"?(u.pixel=d[0]-o[0],u.pixelLength=p.width,u.pixelStart=p.x,u.signal=s.inverse?1:-1):(u.pixel=d[1]-o[1],u.pixelLength=p.height,u.pixelStart=p.y,u.signal=s.inverse?-1:1),u},polar:function(o,d,n,l,t){var s=n.axis,u={},p=t.model.coordinateSystem,w=p.getRadiusAxis().getExtent(),b=p.getAngleAxis().getExtent();return o=o?p.pointToCoord(o):[0,0],d=p.pointToCoord(d),n.mainType==="radiusAxis"?(u.pixel=d[0]-o[0],u.pixelLength=w[1]-w[0],u.pixelStart=w[0],u.signal=s.inverse?1:-1):(u.pixel=d[1]-o[1],u.pixelLength=b[1]-b[0],u.pixelStart=b[0],u.signal=s.inverse?-1:1),u},singleAxis:function(o,d,n,l,t){var s=n.axis,u=t.model.coordinateSystem.getRect(),p={};return o=o||[0,0],s.orient==="horizontal"?(p.pixel=d[0]-o[0],p.pixelLength=u.width,p.pixelStart=u.x,p.signal=s.inverse?1:-1):(p.pixel=d[1]-o[1],p.pixelLength=u.height,p.pixelStart=u.y,p.signal=s.inverse?-1:1),p}},r=h;D.exports=r},MvSz:function(D,_,e){var g=e("LXxW"),f=e("0ycA"),y=Object.prototype,m=y.propertyIsEnumerable,v=Object.getOwnPropertySymbols,h=v?function(c){return c==null?[]:(c=Object(c),g(v(c),function(a){return m.call(c,a)}))}:f;D.exports=h},MwEJ:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("sdST"),m=e("k9D9"),v=m.SOURCE_FORMAT_ORIGINAL,h=e("L0Ub"),c=h.getDimensionTypeByAxis,a=e("4NO4"),i=a.getDataItemValue,r=e("IDmD"),o=e("i38C"),d=o.getCoordSysInfoBySeries,n=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,s=e("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function p(A,S,T){T=T||{},n.isInstance(A)||(A=n.seriesDataToSource(A));var L=S.get("coordinateSystem"),x=r.get(L),C=d(S),O;C&&(O=g.map(C.coordSysDims,function(R){var U={name:R},j=C.axisMap.get(R);if(j){var H=j.get("type");U.type=c(H)}return U})),O||(O=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var N=y(A,{coordDimensions:O,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?g.curry(u,O,S):null}),F,k;C&&g.each(N,function(R,U){var j=R.coordDim,H=C.categoryAxisMap.get(j);H&&(F==null&&(F=U),R.ordinalMeta=H.getOrdinalMeta()),R.otherDims.itemName!=null&&(k=!0)}),!k&&F!=null&&(N[F].otherDims.itemName=0);var P=t(S,N),B=new f(N,S);B.setCalculationInfo(P);var z=F!=null&&w(A)?function(R,U,j,H){return H===F?j:this.defaultDimValueGetter(R,U,j,H)}:null;return B.hasItemOption=!1,B.initData(A,null,z),B}function w(A){if(A.sourceFormat===v){var S=b(A.data||[]);return S!=null&&!g.isArray(i(S))}}function b(A){for(var S=0;S<A.length&&A[S]==null;)S++;return A[S]}var E=p;D.exports=E},Mylv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("OELB"),c=h.parsePercent,a=h.isNumeric,i=e("56rv"),r=i.setLabel,o=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new y.Circle,l=g.extendChartView({type:"pictorialBar",render:function(V,X,W){var G=this.group,$=V.getData(),ge=this._data,q=V.coordinateSystem,Se=q.getBaseAxis(),Ce=!!Se.isHorizontal(),Ae=q.grid.getRect(),Ue={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:V,coordSys:q,coordSysExtent:[[Ae.x,Ae.x+Ae.width],[Ae.y,Ae.y+Ae.height]],isHorizontal:Ce,valueDim:d[+Ce],categoryDim:d[1-Ce]};return $.diff(ge).add(function(Qe){if(!$.hasValue(Qe))return;var gt=x($,Qe),_e=t($,Qe,gt,Ue),Oe=F($,Ue,_e);$.setItemGraphicEl(Qe,Oe),G.add(Oe),U(Oe,Ue,_e)}).update(function(Qe,gt){var _e=ge.getItemGraphicEl(gt);if(!$.hasValue(Qe)){G.remove(_e);return}var Oe=x($,Qe),lt=t($,Qe,Oe,Ue),ce=B($,lt);_e&&ce!==_e.__pictorialShapeStr&&(G.remove(_e),$.setItemGraphicEl(Qe,null),_e=null),_e?k(_e,Ue,lt):_e=F($,Ue,lt,!0),$.setItemGraphicEl(Qe,_e),_e.__pictorialSymbolMeta=lt,G.add(_e),U(_e,Ue,lt)}).remove(function(Qe){var gt=ge.getItemGraphicEl(Qe);gt&&P(ge,Qe,gt.__pictorialSymbolMeta.animationModel,gt)}).execute(),this._data=$,this.group},dispose:f.noop,remove:function(V,X){var W=this.group,G=this._data;V.get("animation")?G&&G.eachItemGraphicEl(function($){P(G,$.dataIndex,V,$)}):W.removeAll()}});function t(V,X,W,G){var $=V.getItemLayout(X),ge=W.get("symbolRepeat"),q=W.get("symbolClip"),Se=W.get("symbolPosition")||"start",Ce=W.get("symbolRotate"),Ae=(Ce||0)*Math.PI/180||0,Ue=W.get("symbolPatternSize")||2,Qe=W.isAnimationEnabled(),gt={dataIndex:X,layout:$,itemModel:W,symbolType:V.getItemVisual(X,"symbol")||"circle",color:V.getItemVisual(X,"color"),symbolClip:q,symbolRepeat:ge,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Ue,rotation:Ae,animationModel:Qe?W:null,hoverAnimation:Qe&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};s(W,ge,$,G,gt),p(V,X,$,ge,q,gt.boundingLength,gt.pxSign,Ue,G,gt),w(W,gt.symbolScale,Ae,G,gt);var _e=gt.symbolSize,Oe=W.get("symbolOffset");return f.isArray(Oe)&&(Oe=[c(Oe[0],_e[0]),c(Oe[1],_e[1])]),b(W,_e,$,ge,q,Oe,Se,gt.valueLineWidth,gt.boundingLength,gt.repeatCutLength,G,gt),gt}function s(V,X,W,G,$){var ge=G.valueDim,q=V.get("symbolBoundingData"),Se=G.coordSys.getOtherAxis(G.coordSys.getBaseAxis()),Ce=Se.toGlobalCoord(Se.dataToCoord(0)),Ae=1-+(W[ge.wh]<=0),Ue;if(f.isArray(q)){var Qe=[u(Se,q[0])-Ce,u(Se,q[1])-Ce];Qe[1]<Qe[0]&&Qe.reverse(),Ue=Qe[Ae]}else q!=null?Ue=u(Se,q)-Ce:X?Ue=G.coordSysExtent[ge.index][Ae]-Ce:Ue=W[ge.wh];$.boundingLength=Ue,X&&($.repeatCutLength=W[ge.wh]),$.pxSign=Ue>0?1:Ue<0?-1:0}function u(V,X){return V.toGlobalCoord(V.dataToCoord(V.scale.parse(X)))}function p(V,X,W,G,$,ge,q,Se,Ce,Ae){var Ue=Ce.valueDim,Qe=Ce.categoryDim,gt=Math.abs(W[Qe.wh]),_e=V.getItemVisual(X,"symbolSize");f.isArray(_e)?_e=_e.slice():(_e==null&&(_e="100%"),_e=[_e,_e]),_e[Qe.index]=c(_e[Qe.index],gt),_e[Ue.index]=c(_e[Ue.index],G?gt:Math.abs(ge)),Ae.symbolSize=_e;var Oe=Ae.symbolScale=[_e[0]/Se,_e[1]/Se];Oe[Ue.index]*=(Ce.isHorizontal?-1:1)*q}function w(V,X,W,G,$){var ge=V.get(o)||0;ge&&(n.attr({scale:X.slice(),rotation:W}),n.updateTransform(),ge/=n.getLineScale(),ge*=X[G.valueDim.index]),$.valueLineWidth=ge}function b(V,X,W,G,$,ge,q,Se,Ce,Ae,Ue,Qe){var gt=Ue.categoryDim,_e=Ue.valueDim,Oe=Qe.pxSign,lt=Math.max(X[_e.index]+Se,0),ce=lt;if(G){var Y=Math.abs(Ce),K=f.retrieve(V.get("symbolMargin"),"15%")+"",Q=!1;K.lastIndexOf("!")===K.length-1&&(Q=!0,K=K.slice(0,K.length-1)),K=c(K,X[_e.index]);var ye=Math.max(lt+K*2,0),ue=Q?0:K*2,Ne=a(G),Te=Ne?G:j((Y+ue)/ye),oe=Y-Te*lt;K=oe/2/(Q?Te:Te-1),ye=lt+K*2,ue=Q?0:K*2,!Ne&&G!=="fixed"&&(Te=Ae?j((Math.abs(Ae)+ue)/ye):0),ce=Te*ye-ue,Qe.repeatTimes=Te,Qe.symbolMargin=K}var de=Oe*(ce/2),Le=Qe.pathPosition=[];Le[gt.index]=W[gt.wh]/2,Le[_e.index]=q==="start"?de:q==="end"?Ce-de:Ce/2,ge&&(Le[0]+=ge[0],Le[1]+=ge[1]);var Ge=Qe.bundlePosition=[];Ge[gt.index]=W[gt.xy],Ge[_e.index]=W[_e.xy];var ht=Qe.barRectShape=f.extend({},W);ht[_e.wh]=Oe*Math.max(Math.abs(W[_e.wh]),Math.abs(Le[_e.index]+de)),ht[gt.wh]=W[gt.wh];var Et=Qe.clipShape={};Et[gt.xy]=-W[gt.xy],Et[gt.wh]=Ue.ecSize[gt.wh],Et[_e.xy]=0,Et[_e.wh]=W[_e.wh]}function E(V){var X=V.symbolPatternSize,W=v(V.symbolType,-X/2,-X/2,X,X,V.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function A(V,X,W,G){var $=V.__pictorialBundle,ge=W.symbolSize,q=W.valueLineWidth,Se=W.pathPosition,Ce=X.valueDim,Ae=W.repeatTimes||0,Ue=0,Qe=ge[X.valueDim.index]+q+W.symbolMargin*2;for(z(V,function(Y){Y.__pictorialAnimationIndex=Ue,Y.__pictorialRepeatTimes=Ae,Ue<Ae?R(Y,null,Oe(Ue),W,G):R(Y,null,{scale:[0,0]},W,G,function(){$.remove(Y)}),N(Y,W),Ue++});Ue<Ae;Ue++){var gt=E(W);gt.__pictorialAnimationIndex=Ue,gt.__pictorialRepeatTimes=Ae,$.add(gt);var _e=Oe(Ue);R(gt,{position:_e.position,scale:[0,0]},{scale:_e.scale,rotation:_e.rotation},W,G),gt.on("mouseover",lt).on("mouseout",ce),N(gt,W)}function Oe(Y){var K=Se.slice(),Q=W.pxSign,ye=Y;return(W.symbolRepeatDirection==="start"?Q>0:Q<0)&&(ye=Ae-1-Y),K[Ce.index]=Qe*(ye-Ae/2+.5)+Se[Ce.index],{position:K,scale:W.symbolScale.slice(),rotation:W.rotation}}function lt(){z(V,function(Y){Y.trigger("emphasis")})}function ce(){z(V,function(Y){Y.trigger("normal")})}}function S(V,X,W,G){var $=V.__pictorialBundle,ge=V.__pictorialMainPath;ge?R(ge,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,G):(ge=V.__pictorialMainPath=E(W),$.add(ge),R(ge,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,G),ge.on("mouseover",q).on("mouseout",Se)),N(ge,W);function q(){this.trigger("emphasis")}function Se(){this.trigger("normal")}}function T(V,X,W){var G=f.extend({},X.barRectShape),$=V.__pictorialBarRect;$?R($,null,{shape:G},X,W):($=V.__pictorialBarRect=new y.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),V.add($))}function L(V,X,W,G){if(W.symbolClip){var $=V.__pictorialClipPath,ge=f.extend({},W.clipShape),q=X.valueDim,Se=W.animationModel,Ce=W.dataIndex;if($)y.updateProps($,{shape:ge},Se,Ce);else{ge[q.wh]=0,$=new y.Rect({shape:ge}),V.__pictorialBundle.setClipPath($),V.__pictorialClipPath=$;var Ae={};Ae[q.wh]=W.clipShape[q.wh],y[G?"updateProps":"initProps"]($,{shape:Ae},Se,Ce)}}}function x(V,X){var W=V.getItemModel(X);return W.getAnimationDelayParams=C,W.isAnimationEnabled=O,W}function C(V){return{index:V.__pictorialAnimationIndex,count:V.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function N(V,X){V.off("emphasis").off("normal");var W=X.symbolScale.slice();X.hoverAnimation&&V.on("emphasis",function(){this.animateTo({scale:[W[0]*1.1,W[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:W.slice()},400,"elasticOut")})}function F(V,X,W,G){var $=new y.Group,ge=new y.Group;return $.add(ge),$.__pictorialBundle=ge,ge.attr("position",W.bundlePosition.slice()),W.symbolRepeat?A($,X,W):S($,X,W),T($,W,G),L($,X,W,G),$.__pictorialShapeStr=B(V,W),$.__pictorialSymbolMeta=W,$}function k(V,X,W){var G=W.animationModel,$=W.dataIndex,ge=V.__pictorialBundle;y.updateProps(ge,{position:W.bundlePosition.slice()},G,$),W.symbolRepeat?A(V,X,W,!0):S(V,X,W,!0),T(V,W,!0),L(V,X,W,!0)}function P(V,X,W,G){var $=G.__pictorialBarRect;$&&($.style.text=null);var ge=[];z(G,function(q){ge.push(q)}),G.__pictorialMainPath&&ge.push(G.__pictorialMainPath),G.__pictorialClipPath&&(W=null),f.each(ge,function(q){y.updateProps(q,{scale:[0,0]},W,X,function(){G.parent&&G.parent.remove(G)})}),V.setItemGraphicEl(X,null)}function B(V,X){return[V.getItemVisual(X.dataIndex,"symbol")||"none",!!X.symbolRepeat,!!X.symbolClip].join(":")}function z(V,X,W){f.each(V.__pictorialBundle.children(),function(G){G!==V.__pictorialBarRect&&X.call(W,G)})}function R(V,X,W,G,$,ge){X&&V.attr(X),G.symbolClip&&!$?W&&V.attr(W):W&&y[$?"updateProps":"initProps"](V,W,G.animationModel,G.dataIndex,ge)}function U(V,X,W){var G=W.color,$=W.dataIndex,ge=W.itemModel,q=ge.getModel("itemStyle").getItemStyle(["color"]),Se=ge.getModel("emphasis.itemStyle").getItemStyle(),Ce=ge.getShallow("cursor");z(V,function(gt){gt.setColor(G),gt.setStyle(f.defaults({fill:G,opacity:W.opacity},q)),y.setHoverStyle(gt,Se),Ce&&(gt.cursor=Ce),gt.z2=W.z2});var Ae={},Ue=X.valueDim.posDesc[+(W.boundingLength>0)],Qe=V.__pictorialBarRect;r(Qe.style,Ae,ge,G,X.seriesModel,$,Ue),y.setHoverStyle(Qe,Ae)}function j(V){var X=Math.round(V);return Math.abs(V-X)<1e-4?X:Math.ceil(V)}var H=l;D.exports=H},"N/zr":function(D,_,e){"use strict";function g(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(a){return typeof a}:g=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(h)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return y=function(){return h},h}function m(h){if(h&&h.__esModule)return h;if(h===null||g(h)!=="object"&&typeof h!="function")return{default:h};var c=y();if(c&&c.has(h))return c.get(h);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in h)if(Object.prototype.hasOwnProperty.call(h,r)){var o=i?Object.getOwnPropertyDescriptor(h,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=h[r]}return a.default=h,c&&c.set(h,a),a}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var a="",i=c.length,r=i%3,o=0;o<i-2;o+=3)a+=this.toBase64Table[c[o]>>2],a+=this.toBase64Table[((c[o]&3)<<4)+(c[o+1]>>4)],a+=this.toBase64Table[((c[o+1]&15)<<2)+(c[o+2]>>6)],a+=this.toBase64Table[c[o+2]&63];var d=i-r;return r===2?(a+=this.toBase64Table[c[d]>>2],a+=this.toBase64Table[((c[d]&3)<<4)+(c[d+1]>>4)],a+=this.toBase64Table[(c[d+1]&15)<<2],a+=this.toBase64Table[64]):r===1&&(a+=this.toBase64Table[c[d]>>2],a+=this.toBase64Table[(c[d]&3)<<4],a+=this.toBase64Table[64],a+=this.toBase64Table[64]),a},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=c.indexOf("=")-a;i<0&&(i=c.length-a);for(var r=(i>>2)*3+Math.floor(i%4/1.5),o=new Array(r),d=0,n=0,l=0,t=a;t<c.length;t++){var s=this.toBinaryTable[c.charCodeAt(t)&127],u=c.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+c.charCodeAt(t)+" at position "+t);continue}n=n<<6|s,d+=6,d>=8&&(d-=8,u||(o[l++]=n>>d&255),n&=(1<<d)-1)}if(d){var p=new Error("Corrupted base64 string");throw p.name="Base64-Error",p}return o}};_.default=v},N5BQ:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),y=f;D.exports=y},NA0q:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("TkdX"),m=e("gPAo"),v=e("7aKB"),h=v.windowOpen,c="sunburstRootToNode",a=f.extend({type:"sunburst",init:function(){},render:function(r,o,d,n){var l=this;this.seriesModel=r,this.api=d,this.ecModel=o;var t=r.getData(),s=t.tree.root,u=r.getViewRoot(),p=this.group,w=r.get("renderLabelForZeroData"),b=[];u.eachNode(function(O){b.push(O)});var E=this._oldChildren||[];if(T(b,E),C(s,u),n&&n.highlight&&n.highlight.piece){var A=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(A)}else if(n&&n.unhighlight){var S=this.virtualPiece;!S&&s.children.length&&(S=s.children[0].piece),S&&S.onNormal()}this._initEvents(),this._oldChildren=b;function T(O,N){if(O.length===0&&N.length===0)return;new m(N,O,F,F).add(k).update(k).remove(g.curry(k,null)).execute();function F(P){return P.getId()}function k(P,B){var z=P==null?null:O[P],R=B==null?null:N[B];L(z,R)}}function L(O,N){if(!w&&O&&!O.getValue()&&(O=null),O!==s&&N!==s){if(N&&N.piece)O?(N.piece.updateData(!1,O,"normal",r,o),t.setItemGraphicEl(O.dataIndex,N.piece)):x(N);else if(O){var F=new y(O,r,o);p.add(F),t.setItemGraphicEl(O.dataIndex,F)}}}function x(O){if(!O)return;O.piece&&(p.remove(O.piece),O.piece=null)}function C(O,N){if(N.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,O,"normal",r,o):(l.virtualPiece=new y(O,r,o),p.add(l.virtualPiece)),N.piece._onclickEvent&&N.piece.off("click",N.piece._onclickEvent);var F=function(k){l._rootToNode(N.parentNode)};N.piece._onclickEvent=F,l.virtualPiece.on("click",F)}else l.virtualPiece&&(p.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,o=function(d){var n=!1,l=r.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===d.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(t);else if(s==="link"){var u=t.getModel(),p=u.get("link");if(p){var w=u.get("target",!0)||"_blank";h(p,w)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",o),this.group._onclickEvent=o},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,o){var d=o.getData(),n=d.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),i=a;D.exports=i},NAnI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},NBmB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.encodingName=f,_.encodings=void 0;var g={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};_.encodings=g;function f(y){switch(y){case g.encodingRaw:return"Raw";case g.encodingCopyRect:return"CopyRect";case g.encodingRRE:return"RRE";case g.encodingHextile:return"Hextile";case g.encodingTight:return"Tight";case g.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+y+"]"}}},NC18:function(D,_,e){var g=e("y+Vt"),f=e("IMiH"),y=e("7oTu"),m=Math.sqrt,v=Math.sin,h=Math.cos,c=Math.PI,a=function(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])},i=function(b,E){return(b[0]*E[0]+b[1]*E[1])/(a(b)*a(E))},r=function(b,E){return(b[0]*E[1]<b[1]*E[0]?-1:1)*Math.acos(i(b,E))};function o(w,b,E,A,S,T,L,x,C,O,N){var F=C*(c/180),k=h(F)*(w-E)/2+v(F)*(b-A)/2,P=-1*v(F)*(w-E)/2+h(F)*(b-A)/2,B=k*k/(L*L)+P*P/(x*x);B>1&&(L*=m(B),x*=m(B));var z=(S===T?-1:1)*m((L*L*(x*x)-L*L*(P*P)-x*x*(k*k))/(L*L*(P*P)+x*x*(k*k)))||0,R=z*L*P/x,U=z*-x*k/L,j=(w+E)/2+h(F)*R-v(F)*U,H=(b+A)/2+v(F)*R+h(F)*U,V=r([1,0],[(k-R)/L,(P-U)/x]),X=[(k-R)/L,(P-U)/x],W=[(-1*k-R)/L,(-1*P-U)/x],G=r(X,W);i(X,W)<=-1&&(G=c),i(X,W)>=1&&(G=0),T===0&&G>0&&(G=G-2*c),T===1&&G<0&&(G=G+2*c),N.addData(O,j,H,L,x,V,G,F,T)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(w){if(!w)return new f;for(var b=0,E=0,A=b,S=E,T,L=new f,x=f.CMD,C=w.match(d),O=0;O<C.length;O++){for(var N=C[O],F=N.charAt(0),k,P=N.match(n)||[],B=P.length,z=0;z<B;z++)P[z]=parseFloat(P[z]);for(var R=0;R<B;){var U,j,H,V,X,W,G,$=b,ge=E;switch(F){case"l":b+=P[R++],E+=P[R++],k=x.L,L.addData(k,b,E);break;case"L":b=P[R++],E=P[R++],k=x.L,L.addData(k,b,E);break;case"m":b+=P[R++],E+=P[R++],k=x.M,L.addData(k,b,E),A=b,S=E,F="l";break;case"M":b=P[R++],E=P[R++],k=x.M,L.addData(k,b,E),A=b,S=E,F="L";break;case"h":b+=P[R++],k=x.L,L.addData(k,b,E);break;case"H":b=P[R++],k=x.L,L.addData(k,b,E);break;case"v":E+=P[R++],k=x.L,L.addData(k,b,E);break;case"V":E=P[R++],k=x.L,L.addData(k,b,E);break;case"C":k=x.C,L.addData(k,P[R++],P[R++],P[R++],P[R++],P[R++],P[R++]),b=P[R-2],E=P[R-1];break;case"c":k=x.C,L.addData(k,P[R++]+b,P[R++]+E,P[R++]+b,P[R++]+E,P[R++]+b,P[R++]+E),b+=P[R-2],E+=P[R-1];break;case"S":U=b,j=E;var q=L.len(),Se=L.data;T===x.C&&(U+=b-Se[q-4],j+=E-Se[q-3]),k=x.C,$=P[R++],ge=P[R++],b=P[R++],E=P[R++],L.addData(k,U,j,$,ge,b,E);break;case"s":U=b,j=E;var q=L.len(),Se=L.data;T===x.C&&(U+=b-Se[q-4],j+=E-Se[q-3]),k=x.C,$=b+P[R++],ge=E+P[R++],b+=P[R++],E+=P[R++],L.addData(k,U,j,$,ge,b,E);break;case"Q":$=P[R++],ge=P[R++],b=P[R++],E=P[R++],k=x.Q,L.addData(k,$,ge,b,E);break;case"q":$=P[R++]+b,ge=P[R++]+E,b+=P[R++],E+=P[R++],k=x.Q,L.addData(k,$,ge,b,E);break;case"T":U=b,j=E;var q=L.len(),Se=L.data;T===x.Q&&(U+=b-Se[q-4],j+=E-Se[q-3]),b=P[R++],E=P[R++],k=x.Q,L.addData(k,U,j,b,E);break;case"t":U=b,j=E;var q=L.len(),Se=L.data;T===x.Q&&(U+=b-Se[q-4],j+=E-Se[q-3]),b+=P[R++],E+=P[R++],k=x.Q,L.addData(k,U,j,b,E);break;case"A":H=P[R++],V=P[R++],X=P[R++],W=P[R++],G=P[R++],$=b,ge=E,b=P[R++],E=P[R++],k=x.A,o($,ge,b,E,W,G,H,V,X,k,L);break;case"a":H=P[R++],V=P[R++],X=P[R++],W=P[R++],G=P[R++],$=b,ge=E,b+=P[R++],E+=P[R++],k=x.A,o($,ge,b,E,W,G,H,V,X,k,L);break}}(F==="z"||F==="Z")&&(k=x.Z,L.addData(k),b=A,E=S),T=k}return L.toStatic(),L}function t(w,b){var E=l(w);return b=b||{},b.buildPath=function(A){if(A.setData){A.setData(E.data);var S=A.getContext();S&&A.rebuildPath(S)}else{var S=A;E.rebuildPath(S)}},b.applyTransform=function(A){y(E,A),this.dirty(!0)},b}function s(w,b){return new g(t(w,b))}function u(w,b){return g.extend(t(w,b))}function p(w,b){for(var E=[],A=w.length,S=0;S<A;S++){var T=w[S];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),E.push(T.path)}var L=new g(b);return L.createPathProxy(),L.buildPath=function(x){x.appendPath(E);var C=x.getContext();C&&x.rebuildPath(C)},L}_.createFromString=s,_.extendFromString=u,_.mergePath=p},NH9N:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("Fofx"),m=e("IwbS"),v=e("+TT/"),h=e("kzvK"),c=e("CMP+"),a=e("oVpE"),i=a.createSymbol,r=e("aX7z"),o=e("OELB"),d=e("7aKB"),n=d.encodeHTML,l=g.bind,t=g.each,s=Math.PI,u=h.extend({type:"timeline.slider",init:function(A,S){this.api=S,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(A,S,T,L){if(this.model=A,this.api=T,this.ecModel=S,this.group.removeAll(),A.get("show",!0)){var x=this._layout(A,T),C=this._createGroup("mainGroup"),O=this._createGroup("labelGroup"),N=this._axis=this._createAxis(x,A);A.formatTooltip=function(F){return n(N.scale.getLabel(F))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](x,C,N,A)},this),this._renderAxisLabel(x,O,N,A),this._position(x,A)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(A,S){var T=A.get("label.position"),L=A.get("orient"),x=p(A,S);T==null||T==="auto"?T=L==="horizontal"?x.y+x.height/2<S.getHeight()/2?"-":"+":x.x+x.width/2<S.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[L][T]);var C={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},O={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},N={horizontal:0,vertical:s/2},F=L==="vertical"?x.height:x.width,k=A.getModel("controlStyle"),P=k.get("show",!0),B=P?k.get("itemSize"):0,z=P?k.get("itemGap"):0,R=B+z,U=A.get("label.rotate")||0;U=U*s/180;var j,H,V,X,W=k.get("position",!0),G=P&&k.get("showPlayBtn",!0),$=P&&k.get("showPrevBtn",!0),ge=P&&k.get("showNextBtn",!0),q=0,Se=F;return W==="left"||W==="bottom"?(G&&(j=[0,0],q+=R),$&&(H=[q,0],q+=R),ge&&(V=[Se-B,0],Se-=R)):(G&&(j=[Se-B,0],Se-=R),$&&(H=[0,0],q+=R),ge&&(V=[Se-B,0],Se-=R)),X=[q,Se],A.get("inverse")&&X.reverse(),{viewRect:x,mainLength:F,orient:L,rotation:N[L],labelRotation:U,labelPosOpt:T,labelAlign:A.get("label.align")||C[L],labelBaseline:A.get("label.verticalAlign")||A.get("label.baseline")||O[L],playPosition:j,prevBtnPosition:H,nextBtnPosition:V,axisExtent:X,controlSize:B,controlGap:z}},_position:function(A,S){var T=this._mainGroup,L=this._labelGroup,x=A.viewRect;if(A.orient==="vertical"){var C=y.create(),O=x.x,N=x.y+x.height;y.translate(C,C,[-O,-N]),y.rotate(C,C,-s/2),y.translate(C,C,[O,N]),x=x.clone(),x.applyTransform(C)}var F=H(x),k=H(T.getBoundingRect()),P=H(L.getBoundingRect()),B=T.position,z=L.position;z[0]=B[0]=F[0][0];var R=A.labelPosOpt;if(isNaN(R)){var U=R==="+"?0:1;V(B,k,F,1,U),V(z,P,F,1,1-U)}else{var U=R>=0?0:1;V(B,k,F,1,U),z[1]=B[1]+R}T.attr("position",B),L.attr("position",z),T.rotation=L.rotation=A.rotation,j(T),j(L);function j(X){var W=X.position;X.origin=[F[0][0]-W[0],F[1][0]-W[1]]}function H(X){return[[X.x,X.x+X.width],[X.y,X.y+X.height]]}function V(X,W,G,$,ge){X[$]+=G[$][ge]-W[$][ge]}},_createAxis:function(A,S){var T=S.getData(),L=S.get("axisType"),x=r.createScaleByModel(S,L);x.getTicks=function(){return T.mapArray(["value"],function(N){return N})};var C=T.getDataExtent("value");x.setExtent(C[0],C[1]),x.niceTicks();var O=new c("value",x,A.axisExtent,L);return O.model=S,O},_createGroup:function(A){var S=this["_"+A]=new m.Group;return this.group.add(S),S},_renderAxisLine:function(A,S,T,L){var x=T.getExtent();if(!L.get("lineStyle.show"))return;S.add(new m.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:g.extend({lineCap:"round"},L.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(A,S,T,L){var x=L.getData(),C=T.scale.getTicks();t(C,function(O){var N=T.dataToCoord(O),F=x.getItemModel(O),k=F.getModel("itemStyle"),P=F.getModel("emphasis.itemStyle"),B={position:[N,0],onclick:l(this._changeTimeline,this,O)},z=b(F,k,S,B);m.setHoverStyle(z,P.getItemStyle()),F.get("tooltip")?(z.dataIndex=O,z.dataModel=L):z.dataIndex=z.dataModel=null},this)},_renderAxisLabel:function(A,S,T,L){var x=T.getLabelModel();if(!x.get("show"))return;var C=L.getData(),O=T.getViewLabels();t(O,function(N){var F=N.tickValue,k=C.getItemModel(F),P=k.getModel("label"),B=k.getModel("emphasis.label"),z=T.dataToCoord(N.tickValue),R=new m.Text({position:[z,0],rotation:A.labelRotation-A.rotation,onclick:l(this._changeTimeline,this,F),silent:!1});m.setTextStyle(R.style,P,{text:N.formattedLabel,textAlign:A.labelAlign,textVerticalAlign:A.labelBaseline}),S.add(R),m.setHoverStyle(R,m.setTextStyle({},B))},this)},_renderControl:function(A,S,T,L){var x=A.controlSize,C=A.rotation,O=L.getModel("controlStyle").getItemStyle(),N=L.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-x/2,x,x],k=L.getPlayState(),P=L.get("inverse",!0);B(A.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,P?"-":"+")),B(A.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,P?"+":"-")),B(A.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!k),!0);function B(z,R,U,j){if(!z)return;var H={position:z,origin:[x/2,0],rotation:j?-C:0,rectHover:!0,style:O,onclick:U},V=w(L,R,F,H);S.add(V),m.setHoverStyle(V,N)}},_renderCurrentPointer:function(A,S,T,L){var x=L.getData(),C=L.getCurrentIndex(),O=x.getItemModel(C).getModel("checkpointStyle"),N=this,F={onCreate:function(k){k.draggable=!0,k.drift=l(N._handlePointerDrag,N),k.ondragend=l(N._handlePointerDragend,N),E(k,C,T,L,!0)},onUpdate:function(k){E(k,C,T,L)}};this._currentPointer=b(O,O,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(A){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:A,from:this.uid})},_handlePointerDrag:function(A,S,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(A){this._pointerChangeTimeline([A.offsetX,A.offsetY],!0)},_pointerChangeTimeline:function(A,S){var T=this._toAxisCoord(A)[0],L=this._axis,x=o.asc(L.getExtent().slice());T>x[1]&&(T=x[1]),T<x[0]&&(T=x[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var C=this._findNearestTick(T),O=this.model;(S||C!==O.getCurrentIndex()&&O.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(A,this),this.model.get("playInterval")));function A(){var S=this.model;this._changeTimeline(S.getCurrentIndex()+(S.get("rewind",!0)?-1:1))}},_toAxisCoord:function(A){var S=this._mainGroup.getLocalTransform();return m.applyTransform(A,S,!0)},_findNearestTick:function(A){var S=this.model.getData(),T=Infinity,L,x=this._axis;return S.each(["value"],function(C,O){var N=x.dataToCoord(C),F=Math.abs(N-A);F<T&&(T=F,L=O)}),L},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(A){var S=this.model.getCurrentIndex();A==="+"?A=S+1:A==="-"&&(A=S-1),this.api.dispatchAction({type:"timelineChange",currentIndex:A,from:this.uid})}});function p(A,S){return v.getLayoutRect(A.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()},A.get("padding"))}function w(A,S,T,L){var x=m.makePath(A.get(S).replace(/^path:\/\//,""),g.clone(L||{}),new f(T[0],T[1],T[2],T[3]),"center");return x}function b(A,S,T,L,x,C){var O=S.get("color");if(x)x.setColor(O),T.add(x),C&&C.onUpdate(x);else{var N=A.get("symbol");x=i(N,-1,-1,2,2,O),x.setStyle("strokeNoScale",!0),T.add(x),C&&C.onCreate(x)}var F=S.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(F),L=g.merge({rectHover:!0,z2:100},L,!0);var k=A.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,L.scale=k;var P=A.get("symbolOffset");if(P){var B=L.position=L.position||[0,0];B[0]+=o.parsePercent(P[0],k[0]),B[1]+=o.parsePercent(P[1],k[1])}var z=A.get("symbolRotate");return L.rotation=(z||0)*Math.PI/180||0,x.attr(L),x.updateTransform(),x}function E(A,S,T,L,x){if(A.dragging)return;var C=L.getModel("checkpointStyle"),O=T.dataToCoord(L.getData().get(["value"],S));x||!C.get("animation",!0)?A.attr({position:[O,0]}):(A.stopAnimation(!0),A.animateTo({position:[O,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}D.exports=u},NJEC:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("sKbD"),r=e.n(i),o=e("4IlW"),d=e("3S7+"),n=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),s=e("ZvpZ"),u=e("H84U"),p=e("bogI"),w=e("0n0R"),b=void 0,E=function(S,T){var L={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&T.indexOf(x)<0&&(L[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(S);C<x.length;C++)T.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(S,x[C])&&(L[x[C]]=S[x[C]]);return L},A=v.forwardRef(function(S,T){var L=v.useState(S.visible),x=m()(L,2),C=x[0],O=x[1];v.useEffect(function(){"visible"in S&&O(S.visible)},[S.visible]),v.useEffect(function(){"defaultVisible"in S&&O(S.defaultVisible)},[S.defaultVisible]);var N=function(Ce,Ae){"visible"in S||O(Ce),S.onVisibleChange&&S.onVisibleChange(Ce,Ae)},F=function(Ce){N(!1,Ce),S.onConfirm&&S.onConfirm.call(b,Ce)},k=function(Ce){N(!1,Ce),S.onCancel&&S.onCancel.call(b,Ce)},P=function(Ce){Ce.keyCode===o.a.ESC&&C&&N(!1,Ce)},B=function(Ce){var Ae=S.disabled;if(Ae)return;N(Ce)},z=function(Ce,Ae){var Ue=S.okButtonProps,Qe=S.cancelButtonProps,gt=S.title,_e=S.cancelText,Oe=S.okText,lt=S.okType,ce=S.icon;return v.createElement("div",{className:"".concat(Ce,"-inner-content")},v.createElement("div",{className:"".concat(Ce,"-message")},ce,v.createElement("div",{className:"".concat(Ce,"-message-title")},Object(p.a)(gt))),v.createElement("div",{className:"".concat(Ce,"-buttons")},v.createElement(n.a,f()({onClick:k,size:"small"},Qe),_e||Ae.cancelText),v.createElement(n.a,f()({onClick:F},Object(l.a)(lt),{size:"small"},Ue),Oe||Ae.okText)))},R=v.useContext(u.b),U=R.getPrefixCls,j=S.prefixCls,H=S.placement,V=S.children,X=S.overlayClassName,W=E(S,["prefixCls","placement","children","overlayClassName"]),G=U("popover",j),$=U("popconfirm",j),ge=a()($,X),q=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(Se){return z(G,Se)});return v.createElement(d.a,f()({},W,{prefixCls:G,placement:H,onVisibleChange:B,visible:C,overlay:q,overlayClassName:ge,ref:T}),Object(w.a)(V,{onKeyDown:function(Ce){var Ae,Ue;(Ue=V==null?void 0:(Ae=V.props).onKeyDown)===null||Ue===void 0||Ue.call(Ae,Ce),P(Ce)}}))});A.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(r.a,null),disabled:!1},_.a=A},NKxu:function(D,_,e){var g=e("lSCD"),f=e("E2jh"),y=e("GoyQ"),m=e("3Fdi"),v=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,c=Function.prototype,a=Object.prototype,i=c.toString,r=a.hasOwnProperty,o=RegExp("^"+i.call(r).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(n){if(!y(n)||f(n))return!1;var l=g(n)?o:h;return l.test(m(n))}D.exports=d},NUBc:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("wx14"),a=e("rePB"),i=e("1OyB"),r=e("vuIU"),o=e("Ji7U"),d=e("md7G"),n=e("foSv"),l=e("TSYQ"),t=e.n(l),s=function(lt){var ce,Y="".concat(lt.rootPrefixCls,"-item"),K=t()(Y,"".concat(Y,"-").concat(lt.page),(ce={},Object(a.a)(ce,"".concat(Y,"-active"),lt.active),Object(a.a)(ce,lt.className,!!lt.className),Object(a.a)(ce,"".concat(Y,"-disabled"),!lt.page),ce)),Q=function(){lt.onClick(lt.page)},ye=function(Ne){lt.onKeyPress(Ne,lt.onClick,lt.page)};return h.a.createElement("li",{title:lt.showTitle?lt.page:null,className:K,onClick:Q,onKeyPress:ye,tabIndex:"0"},lt.itemRender(lt.page,"page",h.a.createElement("a",{rel:"nofollow"},lt.page)))},u=s,p={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function w(Oe){var lt=b();return function(){var Y=Object(n.a)(Oe),K;if(lt){var Q=Object(n.a)(this).constructor;K=Reflect.construct(Y,arguments,Q)}else K=Y.apply(this,arguments);return Object(d.a)(this,K)}}function b(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Oe){return!1}}var E=function(Oe){Object(o.a)(ce,Oe);var lt=w(ce);function ce(){var Y;Object(i.a)(this,ce);for(var K=arguments.length,Q=new Array(K),ye=0;ye<K;ye++)Q[ye]=arguments[ye];return Y=lt.call.apply(lt,[this].concat(Q)),Y.state={goInputText:""},Y.buildOptionText=function(ue){return"".concat(ue," ").concat(Y.props.locale.items_per_page)},Y.changeSize=function(ue){Y.props.changeSize(Number(ue))},Y.handleChange=function(ue){Y.setState({goInputText:ue.target.value})},Y.handleBlur=function(ue){var Ne=Y.props,Te=Ne.goButton,oe=Ne.quickGo,de=Ne.rootPrefixCls,Le=Y.state.goInputText;if(Te||Le==="")return;if(ue.relatedTarget&&(ue.relatedTarget.className.indexOf("".concat(de,"-prev"))>=0||ue.relatedTarget.className.indexOf("".concat(de,"-next"))>=0))return;Y.setState({goInputText:""}),oe(Y.getValidValue())},Y.go=function(ue){var Ne=Y.state.goInputText;if(Ne==="")return;(ue.keyCode===p.ENTER||ue.type==="click")&&(Y.setState({goInputText:""}),Y.props.quickGo(Y.getValidValue()))},Y}return Object(r.a)(ce,[{key:"getValidValue",value:function(){var K=this.state,Q=K.goInputText,ye=K.current;return!Q||isNaN(Q)?ye:Number(Q)}},{key:"getPageSizeOptions",value:function(){var K=this.props,Q=K.pageSize,ye=K.pageSizeOptions;return ye.some(function(ue){return ue.toString()===Q.toString()})?ye:ye.concat([Q.toString()]).sort(function(ue,Ne){var Te=isNaN(Number(ue))?0:Number(ue),oe=isNaN(Number(Ne))?0:Number(Ne);return Te-oe})}},{key:"render",value:function(){var K=this,Q=this.props,ye=Q.pageSize,ue=Q.locale,Ne=Q.rootPrefixCls,Te=Q.changeSize,oe=Q.quickGo,de=Q.goButton,Le=Q.selectComponentClass,Ge=Q.buildOptionText,ht=Q.selectPrefixCls,Et=Q.disabled,Be=this.state.goInputText,Dt="".concat(Ne,"-options"),Ke=Le,At=null,Xe=null,et=null;if(!Te&&!oe)return null;var tt=this.getPageSizeOptions();if(Te&&Ke){var ot=tt.map(function(Ve,se){return h.a.createElement(Ke.Option,{key:se,value:Ve},(Ge||K.buildOptionText)(Ve))});At=h.a.createElement(Ke,{disabled:Et,prefixCls:ht,showSearch:!1,className:"".concat(Dt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ye||tt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(se){return se.parentNode}},ot)}return oe&&(de&&(et=typeof de=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Et,className:"".concat(Dt,"-quick-jumper-button")},ue.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},de)),Xe=h.a.createElement("div",{className:"".concat(Dt,"-quick-jumper")},ue.jump_to,h.a.createElement("input",{disabled:Et,type:"text",value:Be,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),ue.page,et)),h.a.createElement("li",{className:"".concat(Dt)},At,Xe)}}]),ce}(h.a.Component);E.defaultProps={pageSizeOptions:["10","20","50","100"]};var A=E,S=e("N2Kk");function T(Oe,lt){var ce=Object.keys(Oe);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(Oe);lt&&(Y=Y.filter(function(K){return Object.getOwnPropertyDescriptor(Oe,K).enumerable})),ce.push.apply(ce,Y)}return ce}function L(Oe){for(var lt=1;lt<arguments.length;lt++){var ce=arguments[lt]!=null?arguments[lt]:{};lt%2?T(Object(ce),!0).forEach(function(Y){Object(a.a)(Oe,Y,ce[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Oe,Object.getOwnPropertyDescriptors(ce)):T(Object(ce)).forEach(function(Y){Object.defineProperty(Oe,Y,Object.getOwnPropertyDescriptor(ce,Y))})}return Oe}function x(Oe){var lt=C();return function(){var Y=Object(n.a)(Oe),K;if(lt){var Q=Object(n.a)(this).constructor;K=Reflect.construct(Y,arguments,Q)}else K=Y.apply(this,arguments);return Object(d.a)(this,K)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Oe){return!1}}function O(){}function N(Oe){return typeof Oe=="number"&&isFinite(Oe)&&Math.floor(Oe)===Oe}function F(Oe,lt,ce){return ce}function k(Oe,lt,ce){var Y=typeof Oe=="undefined"?lt.pageSize:Oe;return Math.floor((ce.total-1)/Y)+1}var P=function(Oe){Object(o.a)(ce,Oe);var lt=x(ce);function ce(Y){var K;Object(i.a)(this,ce),K=lt.call(this,Y),K.getJumpPrevPage=function(){return Math.max(1,K.state.current-(K.props.showLessItems?3:5))},K.getJumpNextPage=function(){return Math.min(k(void 0,K.state,K.props),K.state.current+(K.props.showLessItems?3:5))},K.getItemIcon=function(Te,oe){var de=K.props.prefixCls,Le=Te||h.a.createElement("button",{type:"button","aria-label":oe,className:"".concat(de,"-item-link")});return typeof Te=="function"&&(Le=h.a.createElement(Te,L({},K.props))),Le},K.savePaginationNode=function(Te){K.paginationNode=Te},K.isValid=function(Te){return N(Te)&&Te!==K.state.current},K.shouldDisplayQuickJumper=function(){var Te=K.props,oe=Te.showQuickJumper,de=Te.pageSize,Le=Te.total;return Le<=de?!1:oe},K.handleKeyDown=function(Te){(Te.keyCode===p.ARROW_UP||Te.keyCode===p.ARROW_DOWN)&&Te.preventDefault()},K.handleKeyUp=function(Te){var oe=K.getValidValue(Te),de=K.state.currentInputValue;oe!==de&&K.setState({currentInputValue:oe}),Te.keyCode===p.ENTER?K.handleChange(oe):Te.keyCode===p.ARROW_UP?K.handleChange(oe-1):Te.keyCode===p.ARROW_DOWN&&K.handleChange(oe+1)},K.changePageSize=function(Te){var oe=K.state.current,de=k(Te,K.state,K.props);oe=oe>de?de:oe,de===0&&(oe=K.state.current),typeof Te=="number"&&("pageSize"in K.props||K.setState({pageSize:Te}),"current"in K.props||K.setState({current:oe,currentInputValue:oe})),K.props.onShowSizeChange(oe,Te),"onChange"in K.props&&K.props.onChange&&K.props.onChange(oe,Te)},K.handleChange=function(Te){var oe=K.props.disabled,de=Te;if(K.isValid(de)&&!oe){var Le=k(void 0,K.state,K.props);de>Le?de=Le:de<1&&(de=1),"current"in K.props||K.setState({current:de,currentInputValue:de});var Ge=K.state.pageSize;return K.props.onChange(de,Ge),de}return K.state.current},K.prev=function(){K.hasPrev()&&K.handleChange(K.state.current-1)},K.next=function(){K.hasNext()&&K.handleChange(K.state.current+1)},K.jumpPrev=function(){K.handleChange(K.getJumpPrevPage())},K.jumpNext=function(){K.handleChange(K.getJumpNextPage())},K.hasPrev=function(){return K.state.current>1},K.hasNext=function(){return K.state.current<k(void 0,K.state,K.props)},K.runIfEnter=function(Te,oe){if(Te.key==="Enter"||Te.charCode===13){for(var de=arguments.length,Le=new Array(de>2?de-2:0),Ge=2;Ge<de;Ge++)Le[Ge-2]=arguments[Ge];oe.apply(void 0,Le)}},K.runIfEnterPrev=function(Te){K.runIfEnter(Te,K.prev)},K.runIfEnterNext=function(Te){K.runIfEnter(Te,K.next)},K.runIfEnterJumpPrev=function(Te){K.runIfEnter(Te,K.jumpPrev)},K.runIfEnterJumpNext=function(Te){K.runIfEnter(Te,K.jumpNext)},K.handleGoTO=function(Te){(Te.keyCode===p.ENTER||Te.type==="click")&&K.handleChange(K.state.currentInputValue)};var Q=Y.onChange!==O,ye="current"in Y;ye&&!Q&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ue=Y.defaultCurrent;"current"in Y&&(ue=Y.current);var Ne=Y.defaultPageSize;return"pageSize"in Y&&(Ne=Y.pageSize),ue=Math.min(ue,k(Ne,void 0,Y)),K.state={current:ue,currentInputValue:ue,pageSize:Ne},K}return Object(r.a)(ce,[{key:"componentDidUpdate",value:function(K,Q){var ye=this.props.prefixCls;if(Q.current!==this.state.current&&this.paginationNode){var ue=this.paginationNode.querySelector(".".concat(ye,"-item-").concat(Q.current));ue&&document.activeElement===ue&&ue.blur()}}},{key:"getValidValue",value:function(K){var Q=K.target.value,ye=k(void 0,this.state,this.props),ue=this.state.currentInputValue,Ne;return Q===""?Ne=Q:isNaN(Number(Q))?Ne=ue:Q>=ye?Ne=ye:Ne=Number(Q),Ne}},{key:"getShowSizeChanger",value:function(){var K=this.props,Q=K.showSizeChanger,ye=K.total,ue=K.totalBoundaryShowSizeChanger;return typeof Q!="undefined"?Q:ye>ue}},{key:"renderPrev",value:function(K){var Q=this.props,ye=Q.prevIcon,ue=Q.itemRender,Ne=ue(K,"prev",this.getItemIcon(ye,"prev page")),Te=!this.hasPrev();return Object(v.isValidElement)(Ne)?Object(v.cloneElement)(Ne,{disabled:Te}):Ne}},{key:"renderNext",value:function(K){var Q=this.props,ye=Q.nextIcon,ue=Q.itemRender,Ne=ue(K,"next",this.getItemIcon(ye,"next page")),Te=!this.hasNext();return Object(v.isValidElement)(Ne)?Object(v.cloneElement)(Ne,{disabled:Te}):Ne}},{key:"render",value:function(){var K=this,Q=this.props,ye=Q.prefixCls,ue=Q.className,Ne=Q.style,Te=Q.disabled,oe=Q.hideOnSinglePage,de=Q.total,Le=Q.locale,Ge=Q.showQuickJumper,ht=Q.showLessItems,Et=Q.showTitle,Be=Q.showTotal,Dt=Q.simple,Ke=Q.itemRender,At=Q.showPrevNextJumpers,Xe=Q.jumpPrevIcon,et=Q.jumpNextIcon,tt=Q.selectComponentClass,ot=Q.selectPrefixCls,Ve=Q.pageSizeOptions,se=this.state,re=se.current,it=se.pageSize,qe=se.currentInputValue;if(oe===!0&&de<=it)return null;var be=k(void 0,this.state,this.props),Zt=[],dt=null,ct=null,yt=null,_t=null,or=null,Bt=Ge&&Ge.goButton,we=ht?1:2,ve=re-1>0?re-1:0,me=re+1<be?re+1:be,he=Object.keys(this.props).reduce(function(xe,De){return(De.substr(0,5)==="data-"||De.substr(0,5)==="aria-"||De==="role")&&(xe[De]=K.props[De]),xe},{});if(Dt)return Bt&&(typeof Bt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt),or=h.a.createElement("li",{title:Et?"".concat(Le.jump_to).concat(re,"/").concat(be):null,className:"".concat(ye,"-simple-pager")},or)),h.a.createElement("ul",Object(c.a)({className:t()(ye,"".concat(ye,"-simple"),Object(a.a)({},"".concat(ye,"-disabled"),Te),ue),style:Ne,ref:this.savePaginationNode},he),h.a.createElement("li",{title:Et?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ye,"-prev"),Object(a.a)({},"".concat(ye,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(ve)),h.a.createElement("li",{title:Et?"".concat(re,"/").concat(be):null,className:"".concat(ye,"-simple-pager")},h.a.createElement("input",{type:"text",value:qe,disabled:Te,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(ye,"-slash")},"/"),be),h.a.createElement("li",{title:Et?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(ye,"-next"),Object(a.a)({},"".concat(ye,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(me)),or);if(be<=3+we*2){var Re={locale:Le,rootPrefixCls:ye,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Et,itemRender:Ke};be||Zt.push(h.a.createElement(u,Object(c.a)({},Re,{key:"noPager",page:be,className:"".concat(ye,"-disabled")})));for(var He=1;He<=be;He+=1){var ze=re===He;Zt.push(h.a.createElement(u,Object(c.a)({},Re,{key:He,page:He,active:ze})))}}else{var Ye=ht?Le.prev_3:Le.prev_5,Pe=ht?Le.next_3:Le.next_5;At&&(dt=h.a.createElement("li",{title:Et?Ye:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(ye,"-jump-prev"),Object(a.a)({},"".concat(ye,"-jump-prev-custom-icon"),!!Xe))},Ke(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Xe,"prev page"))),ct=h.a.createElement("li",{title:Et?Pe:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(ye,"-jump-next"),Object(a.a)({},"".concat(ye,"-jump-next-custom-icon"),!!et))},Ke(this.getJumpNextPage(),"jump-next",this.getItemIcon(et,"next page")))),_t=h.a.createElement(u,{locale:Le,last:!0,rootPrefixCls:ye,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:be,page:be,active:!1,showTitle:Et,itemRender:Ke}),yt=h.a.createElement(u,{locale:Le,rootPrefixCls:ye,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Et,itemRender:Ke});var nt=Math.max(1,re-we),bt=Math.min(re+we,be);re-1<=we&&(bt=1+we*2),be-re<=we&&(nt=be-we*2);for(var Ot=nt;Ot<=bt;Ot+=1){var ae=re===Ot;Zt.push(h.a.createElement(u,{locale:Le,rootPrefixCls:ye,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ot,page:Ot,active:ae,showTitle:Et,itemRender:Ke}))}re-1>=we*2&&re!==1+2&&(Zt[0]=Object(v.cloneElement)(Zt[0],{className:"".concat(ye,"-item-after-jump-prev")}),Zt.unshift(dt)),be-re>=we*2&&re!==be-2&&(Zt[Zt.length-1]=Object(v.cloneElement)(Zt[Zt.length-1],{className:"".concat(ye,"-item-before-jump-next")}),Zt.push(ct)),nt!==1&&Zt.unshift(yt),bt!==be&&Zt.push(_t)}var pe=null;Be&&(pe=h.a.createElement("li",{className:"".concat(ye,"-total-text")},Be(de,[de===0?0:(re-1)*it+1,re*it>de?de:re*it])));var J=!this.hasPrev()||!be,ne=!this.hasNext()||!be;return h.a.createElement("ul",Object(c.a)({className:t()(ye,ue,Object(a.a)({},"".concat(ye,"-disabled"),Te)),style:Ne,unselectable:"unselectable",ref:this.savePaginationNode},he),pe,h.a.createElement("li",{title:Et?Le.prev_page:null,onClick:this.prev,tabIndex:J?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(ye,"-prev"),Object(a.a)({},"".concat(ye,"-disabled"),J)),"aria-disabled":J},this.renderPrev(ve)),Zt,h.a.createElement("li",{title:Et?Le.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(ye,"-next"),Object(a.a)({},"".concat(ye,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(me)),h.a.createElement(A,{disabled:Te,locale:Le,rootPrefixCls:ye,selectComponentClass:tt,selectPrefixCls:ot,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:re,pageSize:it,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Bt}))}}],[{key:"getDerivedStateFromProps",value:function(K,Q){var ye={};if("current"in K&&(ye.current=K.current,K.current!==Q.current&&(ye.currentInputValue=ye.current)),"pageSize"in K&&K.pageSize!==Q.pageSize){var ue=Q.current,Ne=k(K.pageSize,Q,K);ue=ue>Ne?Ne:ue,"current"in K||(ye.current=ue,ye.currentInputValue=ue),ye.pageSize=K.pageSize}return ye}}]),ce}(h.a.Component);P.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:O,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:O,locale:S.a,style:{},itemRender:F,totalBoundaryShowSizeChanger:50};var B=P,z=e("H4fg"),R=e("DFhj"),U=e.n(R),j=e("fEPi"),H=e.n(j),V=e("u9fO"),X=e.n(V),W=e("mO/d"),G=e.n(W),$=e("2fM7"),ge=function(lt){return v.createElement($.a,m()({size:"small"},lt))};ge.Option=$.a.Option;var q=ge,Se=e("YMnH"),Ce=e("H84U"),Ae=e("5OYt"),Ue=function(Oe,lt){var ce={};for(var Y in Oe)Object.prototype.hasOwnProperty.call(Oe,Y)&<.indexOf(Y)<0&&(ce[Y]=Oe[Y]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,Y=Object.getOwnPropertySymbols(Oe);K<Y.length;K++)lt.indexOf(Y[K])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Y[K])&&(ce[Y[K]]=Oe[Y[K]]);return ce},Qe=function(lt){var ce=lt.prefixCls,Y=lt.selectPrefixCls,K=lt.className,Q=lt.size,ye=lt.locale,ue=Ue(lt,["prefixCls","selectPrefixCls","className","size","locale"]),Ne=Object(Ae.a)(),Te=Ne.xs,oe=v.useContext(Ce.b),de=oe.getPrefixCls,Le=oe.direction,Ge=de("pagination",ce),ht=function(){var Dt=v.createElement("span",{className:"".concat(Ge,"-item-ellipsis")},"\u2022\u2022\u2022"),Ke=v.createElement("button",{className:"".concat(Ge,"-item-link"),type:"button",tabIndex:-1},v.createElement(U.a,null)),At=v.createElement("button",{className:"".concat(Ge,"-item-link"),type:"button",tabIndex:-1},v.createElement(H.a,null)),Xe=v.createElement("a",{className:"".concat(Ge,"-item-link")},v.createElement("div",{className:"".concat(Ge,"-item-container")},v.createElement(X.a,{className:"".concat(Ge,"-item-link-icon")}),Dt)),et=v.createElement("a",{className:"".concat(Ge,"-item-link")},v.createElement("div",{className:"".concat(Ge,"-item-container")},v.createElement(G.a,{className:"".concat(Ge,"-item-link-icon")}),Dt));if(Le==="rtl"){var tt=[At,Ke];Ke=tt[0],At=tt[1];var ot=[et,Xe];Xe=ot[0],et=ot[1]}return{prevIcon:Ke,nextIcon:At,jumpPrevIcon:Xe,jumpNextIcon:et}},Et=function(Dt){var Ke=m()(m()({},Dt),ye),At=Q==="small"||!!(Te&&!Q&&ue.responsive),Xe=de("select",Y),et=t()(K,f()({mini:At},"".concat(Ge,"-rtl"),Le==="rtl"));return v.createElement(B,m()({},ue,{prefixCls:Ge,selectPrefixCls:Xe},ht(),{className:et,selectComponentClass:At?q:$.a,locale:Ke}))};return v.createElement(Se.a,{componentName:"Pagination",defaultLocale:z.a},Et)},gt=Qe,_e=_.a=gt},NohK:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=function(y){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var h=this,c=arguments.length,a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];clearTimeout(v),v=setTimeout(function(){y.apply(h,a)},m)}};_.default=g},Npjl:function(D,_){function e(g,f){return g==null?void 0:g[f]}D.exports=e},Nu4q:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(y,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:y}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:y}}]}},name:"picture",theme:"twotone"};_.default=g},NvD2:function(D,_,e){"use strict";e.d(_,"a",function(){return h});var g=e("Kwbf");function f(c,a){var i=new Set;return c.forEach(function(r){a.has(r)||i.add(r)}),i}function y(c){var a=c||{},i=a.disabled,r=a.disableCheckbox,o=a.checkable;return!!(i||r)||o===!1}function m(c,a,i,r){for(var o=new Set(c),d=new Set,n=0;n<=i;n+=1){var l=a.get(n)||new Set;l.forEach(function(p){var w=p.key,b=p.node,E=p.children,A=E===void 0?[]:E;o.has(w)&&!r(b)&&A.filter(function(S){return!r(S.node)}).forEach(function(S){o.add(S.key)})})}for(var t=new Set,s=i;s>=0;s-=1){var u=a.get(s)||new Set;u.forEach(function(p){var w=p.parent,b=p.node;if(r(b)||!p.parent||t.has(p.parent.key))return;if(r(p.parent.node)){t.add(w.key);return}var E=!0,A=!1;(w.children||[]).filter(function(S){return!r(S.node)}).forEach(function(S){var T=S.key,L=o.has(T);E&&!L&&(E=!1),!A&&(L||d.has(T))&&(A=!0)}),E&&o.add(w.key),A&&d.add(w.key),t.add(w.key)})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(f(d,o))}}function v(c,a,i,r,o){for(var d=new Set(c),n=new Set(a),l=0;l<=r;l+=1){var t=i.get(l)||new Set;t.forEach(function(w){var b=w.key,E=w.node,A=w.children,S=A===void 0?[]:A;!d.has(b)&&!n.has(b)&&!o(E)&&S.filter(function(T){return!o(T.node)}).forEach(function(T){d.delete(T.key)})})}n=new Set;for(var s=new Set,u=r;u>=0;u-=1){var p=i.get(u)||new Set;p.forEach(function(w){var b=w.parent,E=w.node;if(o(E)||!w.parent||s.has(w.parent.key))return;if(o(w.parent.node)){s.add(b.key);return}var A=!0,S=!1;(b.children||[]).filter(function(T){return!o(T.node)}).forEach(function(T){var L=T.key,x=d.has(L);A&&!x&&(A=!1),!S&&(x||n.has(L))&&(S=!0)}),A||d.delete(b.key),S&&n.add(b.key),s.add(b.key)})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(f(n,d))}}function h(c,a,i,r){var o=[],d;r?d=r:d=y;var n=new Set(c.filter(function(u){var p=!!i[u];return p||o.push(u),p})),l=new Map,t=0;Object.keys(i).forEach(function(u){var p=i[u],w=p.level,b=l.get(w);b||(b=new Set,l.set(w,b)),b.add(p),t=Math.max(t,w)}),Object(g.a)(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return a===!0?s=m(n,l,t,d):s=v(n,a.halfCheckedKeys,l,t,d),s}},"O/iA":function(D,_,e){},O3gP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("O/iA"),m=e.n(y),v=e("OaEy")},OELB:function(D,_,e){var g=e("bYtY"),f=1e-4;function y(S){return S.replace(/^\s+|\s+$/g,"")}function m(S,T,L,x){var C=T[1]-T[0],O=L[1]-L[0];if(C===0)return O===0?L[0]:(L[0]+L[1])/2;if(x)if(C>0){if(S<=T[0])return L[0];if(S>=T[1])return L[1]}else{if(S>=T[0])return L[0];if(S<=T[1])return L[1]}else{if(S===T[0])return L[0];if(S===T[1])return L[1]}return(S-T[0])/C*O+L[0]}function v(S,T){switch(S){case"center":case"middle":S="50%";break;case"left":case"top":S="0%";break;case"right":case"bottom":S="100%";break}return typeof S=="string"?y(S).match(/%$/)?parseFloat(S)/100*T:parseFloat(S):S==null?NaN:+S}function h(S,T,L){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),S=(+S).toFixed(T),L?S:+S}function c(S){return S.sort(function(T,L){return T-L}),S}function a(S){if(S=+S,isNaN(S))return 0;for(var T=1,L=0;Math.round(S*T)/T!==S;)T*=10,L++;return L}function i(S){var T=S.toString(),L=T.indexOf("e");if(L>0){var x=+T.slice(L+1);return x<0?-x:0}else{var C=T.indexOf(".");return C<0?0:T.length-1-C}}function r(S,T){var L=Math.log,x=Math.LN10,C=Math.floor(L(S[1]-S[0])/x),O=Math.round(L(Math.abs(T[1]-T[0]))/x),N=Math.min(Math.max(-C+O,0),20);return isFinite(N)?N:20}function o(S,T,L){if(!S[T])return 0;var x=g.reduce(S,function(j,H){return j+(isNaN(H)?0:H)},0);if(x===0)return 0;for(var C=Math.pow(10,L),O=g.map(S,function(j){return(isNaN(j)?0:j)/x*C*100}),N=C*100,F=g.map(O,function(j){return Math.floor(j)}),k=g.reduce(F,function(j,H){return j+H},0),P=g.map(O,function(j,H){return j-F[H]});k<N;){for(var B=Number.NEGATIVE_INFINITY,z=null,R=0,U=P.length;R<U;++R)P[R]>B&&(B=P[R],z=R);++F[z],P[z]=0,++k}return F[T]/C}var d=9007199254740991;function n(S){var T=Math.PI*2;return(S%T+T)%T}function l(S){return S>-f&&S<f}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(S){if(S instanceof Date)return S;if(typeof S=="string"){var T=t.exec(S);if(!T)return new Date(NaN);if(T[8]){var L=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(L-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,L,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(S==null)return new Date(NaN);return new Date(Math.round(S))}function u(S){return Math.pow(10,p(S))}function p(S){if(S===0)return 0;var T=Math.floor(Math.log(S)/Math.LN10);return S/Math.pow(10,T)>=10&&T++,T}function w(S,T){var L=p(S),x=Math.pow(10,L),C=S/x,O;return T?C<1.5?O=1:C<2.5?O=2:C<4?O=3:C<7?O=5:O=10:C<1?O=1:C<2?O=2:C<3?O=3:C<5?O=5:O=10,S=O*x,L>=-20?+S.toFixed(L<0?-L:0):S}function b(S,T){var L=(S.length-1)*T+1,x=Math.floor(L),C=+S[x-1],O=L-x;return O?C+O*(S[x]-C):C}function E(S){S.sort(function(k,P){return F(k,P,0)?-1:1});for(var T=-Infinity,L=1,x=0;x<S.length;){for(var C=S[x].interval,O=S[x].close,N=0;N<2;N++)C[N]<=T&&(C[N]=T,O[N]=N?1:1-L),T=C[N],L=O[N];C[0]===C[1]&&O[0]*O[1]!==1?S.splice(x,1):x++}return S;function F(k,P,B){return k.interval[B]<P.interval[B]||k.interval[B]===P.interval[B]&&(k.close[B]-P.close[B]===(B?-1:1)||!B&&F(k,P,1))}}function A(S){return S-parseFloat(S)>=0}_.linearMap=m,_.parsePercent=v,_.round=h,_.asc=c,_.getPrecision=a,_.getPrecisionSafe=i,_.getPixelPrecision=r,_.getPercentWithPrecision=o,_.MAX_SAFE_INTEGER=d,_.remRadian=n,_.isRadianAroundZero=l,_.parseDate=s,_.quantity=u,_.quantityExponent=p,_.nice=w,_.quantile=b,_.reformIntervals=E,_.isNumeric=A},OKJ2:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue,y=e("7aKB"),m=y.getTooltipMarker,v=y.formatTpl,h=e("4NO4"),c=h.getTooltipRenderMode,a=/\{@(.+?)\}/g,i={getDataParams:function(r,o){var d=this.getData(o),n=this.getRawValue(r,o),l=d.getRawIndex(r),t=d.getName(r),s=d.getRawDataItem(r),u=d.getItemVisual(r,"color"),p=d.getItemVisual(r,"borderColor"),w=this.ecModel.getComponent("tooltip"),b=w&&w.get("renderMode"),E=c(b),A=this.mainType,S=A==="series",T=d.userOutput;return{componentType:A,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:t,dataIndex:l,data:s,dataType:o,value:n,color:u,borderColor:p,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:m({color:u,renderMode:E}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,o,d,n,l){o=o||"normal";var t=this.getData(d),s=t.getItemModel(r),u=this.getDataParams(r,d);n!=null&&u.value instanceof Array&&(u.value=u.value[n]);var p=s.get(o==="normal"?[l||"label","formatter"]:[o,l||"label","formatter"]);if(typeof p=="function")return u.status=o,u.dimensionIndex=n,p(u);if(typeof p=="string"){var w=v(p,u);return w.replace(a,function(b,E){var A=E.length;return E.charAt(0)==="["&&E.charAt(A-1)==="]"&&(E=+E.slice(1,A-1)),f(t,r,E)})}},getRawValue:function(r,o){return f(this.getData(o),r)},formatTooltip:function(){}};D.exports=i},OPEp:function(D,_,e){},OQFs:function(D,_,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getLineStyle:function(m){var v=f(this,m);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(m){m==null&&(m=1);var v=this.get("type"),h=Math.max(m,2),c=m*4;return v==="solid"||v==null?!1:v==="dashed"?[c,c]:[h,h]}};D.exports=y},OS9S:function(D,_,e){var g=e("bYtY"),f=g.inherits,y=e("Gev7"),m=e("mFDi");function v(a){y.call(this,a),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(a,i){i?this._temporaryDisplayables.push(a):this._displayables.push(a),this.dirty()},v.prototype.addDisplayables=function(a,i){i=i||!1;for(var r=0;r<a.length;r++)this.addDisplayable(a[r],i)},v.prototype.eachPendingDisplayable=function(a){for(var i=this._cursor;i<this._displayables.length;i++)a&&a(this._displayables[i]);for(var i=0;i<this._temporaryDisplayables.length;i++)a&&a(this._temporaryDisplayables[i])},v.prototype.update=function(){this.updateTransform();for(var a=this._cursor;a<this._displayables.length;a++){var i=this._displayables[a];i.parent=this,i.update(),i.parent=null}for(var a=0;a<this._temporaryDisplayables.length;a++){var i=this._temporaryDisplayables[a];i.parent=this,i.update(),i.parent=null}},v.prototype.brush=function(a,i){for(var r=this._cursor;r<this._displayables.length;r++){var o=this._displayables[r];o.beforeBrush&&o.beforeBrush(a),o.brush(a,r===this._cursor?null:this._displayables[r-1]),o.afterBrush&&o.afterBrush(a)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var o=this._temporaryDisplayables[r];o.beforeBrush&&o.beforeBrush(a),o.brush(a,r===0?null:this._temporaryDisplayables[r-1]),o.afterBrush&&o.afterBrush(a)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var a=new m(Infinity,Infinity,-Infinity,-Infinity),i=0;i<this._displayables.length;i++){var r=this._displayables[i],o=r.getBoundingRect().clone();r.needLocalTransform()&&o.applyTransform(r.getLocalTransform(h)),a.union(o)}this._rect=a}return this._rect},v.prototype.contain=function(a,i){var r=this.transformCoordToLocal(a,i),o=this.getBoundingRect();if(o.contain(r[0],r[1]))for(var d=0;d<this._displayables.length;d++){var n=this._displayables[d];if(n.contain(a,i))return!0}return!1},f(v,y);var c=v;D.exports=c},OUJF:function(D,_,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(y,m){var v=m.getComponent("timeline");return v&&y.currentIndex!=null&&(v.setCurrentIndex(y.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:v.option.currentIndex},y)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(y,m){var v=m.getComponent("timeline");v&&y.playState!=null&&v.setPlayState(y.playState)})},OXB0:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),y=e("IDmD"),m=g.extend({type:"series.heatmap",getInitialData:function(v,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=y.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});D.exports=m},OZM5:function(D,_,e){"use strict";e.d(_,"b",function(){return r}),e.d(_,"a",function(){return o}),e.d(_,"k",function(){return d}),e.d(_,"h",function(){return n}),e.d(_,"i",function(){return l}),e.d(_,"g",function(){return t}),e.d(_,"c",function(){return s}),e.d(_,"d",function(){return u}),e.d(_,"j",function(){return b}),e.d(_,"e",function(){return E}),e.d(_,"f",function(){return A});var g=e("KQm4"),f=e("U8pU"),y=e("Ff2n"),m=e("q1tI"),v=e.n(m),h=e("Kwbf"),c=e("WaYH"),a=.25,i=2;function r(S,T){var L=S.slice(),x=L.indexOf(T);return x>=0&&L.splice(x,1),L}function o(S,T){var L=S.slice();return L.indexOf(T)===-1&&L.push(T),L}function d(S){return S.split("-")}function n(S,T){return"".concat(S,"-").concat(T)}function l(S){return S&&S.type&&S.type.isTreeNode}function t(S,T){var L=[S],x=T[S];function C(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(N){var F=N.key,k=N.children;L.push(F),C(k)})}return C(x.children),L}function s(S,T){var L=S.clientY,x=T.selectHandle.getBoundingClientRect(),C=x.top,O=x.bottom,N=x.height,F=Math.max(N*a,i);return L<=C+F?-1:L>=O-F?1:0}function u(S,T){if(!S)return;var L=T.multiple;return L?S.slice():S.length?[S[0]]:S}var p=function(T){return T};function w(S,T){if(!S)return[];var L=T||{},x=L.processProps,C=x===void 0?p:x,O=Array.isArray(S)?S:[S];return O.map(function(N){var F=N.children,k=Object(y.a)(N,["children"]),P=w(F,T);return v.a.createElement(c.a,Object.assign({},C(k)),P)})}function b(S){if(!S)return null;var T;if(Array.isArray(S))T={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(f.a)(S)==="object")T={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function E(S,T){var L=new Set;function x(C){if(L.has(C))return;var O=T[C];if(!O)return;L.add(C);var N=O.parent,F=O.node;if(F.disabled)return;N&&x(N.key)}return(S||[]).forEach(function(C){x(C)}),Object(g.a)(L)}function A(S){var T={};return Object.keys(S).forEach(function(L){(L.startsWith("data-")||L.startsWith("aria-"))&&(T[L]=S[L])}),T}},OaEy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bKJz"),m=e.n(y),v=e("R9oj")},"Of+w":function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"WeakMap");D.exports=y},Ol7k:function(D,_,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,_.a=g.b},OlYY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("UOVi"),a=e("zDms"),i=m.each,r=c.eachAxisDim,o=y.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,s,u){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var p=d(t);this.settledOption=p,this.mergeDefaultAndTheme(t,u),this.doInit(p)},mergeOption:function(t){var s=d(t);m.merge(this.option,t,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(t){var s=this.option;v.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),n(this,t);var u=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p,w){this._rangePropMode[w]==="value"&&(s[p[0]]=u[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,u,p,w){var b=this.dependentModels[s.axis][u],E=b.__dzAxisProxy||(b.__dzAxisProxy=new a(s.name,u,this,w));t[s.name+"_"+u]=E},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();r(function(u){var p=u.axisIndex;t[p]=h.normalizeToArray(t[p])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,s=!1;r(function(p){t[p.axisIndex]!=null&&(s=!0)},this);var u=t.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),u=this.option,p=this.dependentModels;if(t){var w=s==="vertical"?"y":"x";p[w+"Axis"].length?(u[w+"AxisIndex"]=[0],t=!1):i(p.singleAxis,function(b){t&&b.get("orient",!0)===s&&(u.singleAxisIndex=[b.componentIndex],t=!1)})}t&&r(function(b){if(!t)return;var E=[],A=this.dependentModels[b.axis];if(A.length&&!E.length)for(var S=0,T=A.length;S<T;S++)A[S].get("type")==="category"&&E.push(S);u[b.axisIndex]=E,E.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(b){this._isSeriesHasAllAxesTypeOf(b,"value")&&r(function(E){var A=u[E.axisIndex],S=b.get(E.axisIndex),T=b.get(E.axisId),L=b.ecModel.queryComponents({mainType:E.axis,index:S,id:T})[0];S=L.componentIndex,m.indexOf(A,S)<0&&A.push(S)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(s){!t&&(t=s.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,s){var u=!0;return r(function(p){var w=t.get(p.axisIndex),b=this.dependentModels[p.axis][w];(!b||b.get("type")!==s)&&(u=!1)},this),u},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return r(function(s){if(t==null){var u=this.get(s.axisIndex);u.length&&(t=this.dependentModels[s.axis][u[0]])}},this),t},eachTargetAxis:function(t,s){var u=this.ecModel;r(function(p){i(this.get(p.axisIndex),function(w){t.call(s,p,w,this,u)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var u=this.getAxisProxy(t,s);return u&&u.getAxisModel()},setRawRange:function(t){var s=this.option,u=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p){(t[p[0]]!=null||t[p[1]]!=null)&&(s[p[0]]=u[p[0]]=t[p[0]],s[p[1]]=u[p[1]]=t[p[1]])},this),n(this,t)},setCalculatedRange:function(t){var s=this.option;i(["start","startValue","end","endValue"],function(u){s[u]=t[u]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var s={};return i(["start","end","startValue","endValue","throttle"],function(u){t.hasOwnProperty(u)&&(s[u]=t[u])}),s}function n(t,s){var u=t._rangePropMode,p=t.get("rangeMode");i([["start","startValue"],["end","endValue"]],function(w,b){var E=s[w[0]]!=null,A=s[w[1]]!=null;E&&!A?u[b]="percent":!E&&A?u[b]="value":p?u[b]=p[b]:E&&(u[b]="percent")})}var l=o;D.exports=l},OnYD:function(D,_,e){},"Oy/b":function(D,_,e){(function(f,y){D.exports=y()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function y(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(m,v,h){y.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},y.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},y.t=function(m,v){if(v&1&&(m=y(m)),v&8)return m;if(v&4&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),v&2&&typeof m!="string")for(var c in m)y.d(h,c,function(a){return m[a]}.bind(null,c));return h},y.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return y.d(v,"a",v),v},y.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},y.p="",y(y.s=1)}([function(g,f,y){},function(g,f,y){"use strict";y.r(f);var m=y(0),v=function(){function Pt(le,Ee,Ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=le,this.start=Ee,this.end=Ie}return Pt.range=function(Ee,Ie){return Ie?!Ee||!Ee.loc||!Ie.loc||Ee.loc.lexer!==Ie.loc.lexer?null:new Pt(Ee.loc.lexer,Ee.loc.start,Ie.loc.end):Ee&&Ee.loc},Pt}(),h=function(){function Pt(Ee,Ie){this.text=void 0,this.loc=void 0,this.text=Ee,this.loc=Ie}var le=Pt.prototype;return le.range=function(Ie,We){return new Pt(We,v.range(this,Ie))},Pt}(),c=function Pt(le,Ee){this.position=void 0;var Ie="KaTeX parse error: "+le,We,Ct=Ee&&Ee.loc;if(Ct&&Ct.start<=Ct.end){var Ut=Ct.lexer.input;We=Ct.start;var hr=Ct.end;We===Ut.length?Ie+=" at end of input: ":Ie+=" at position "+(We+1)+": ";var gr=Ut.slice(We,hr).replace(/[^]/g,"$&\u0332"),Rr;We>15?Rr="\u2026"+Ut.slice(We-15,We):Rr=Ut.slice(0,We);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Ie+=Rr+gr+$r}var ln=new Error(Ie);return ln.name="ParseError",ln.__proto__=Pt.prototype,ln.position=We,ln};c.prototype.__proto__=Error.prototype;var a=c,i=function(le,Ee){return le.indexOf(Ee)!==-1},r=function(le,Ee){return le===void 0?Ee:le},o=/([A-Z])/g,d=function(le){return le.replace(o,"-$1").toLowerCase()},n={"&":"&",">":">","<":"<",'"':""","'":"'"},l=/[&><"']/g;function t(Pt){return String(Pt).replace(l,function(le){return n[le]})}var s=function Pt(le){return le.type==="ordgroup"||le.type==="color"?le.body.length===1?Pt(le.body[0]):le:le.type==="font"?Pt(le.body):le},u=function(le){var Ee=s(le);return Ee.type==="mathord"||Ee.type==="textord"||Ee.type==="atom"},p=function(le){if(!le)throw new Error("Expected non-null, but got "+String(le));return le},w=function(le){var Ee=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(le);return Ee!=null?Ee[1]:"_relative"},b={contains:i,deflt:r,escape:t,hyphenate:d,getBaseElem:s,isCharacterBox:u,protocolFromUrl:w},E=function(){function Pt(Ee){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,Ee=Ee||{},this.displayMode=b.deflt(Ee.displayMode,!1),this.output=b.deflt(Ee.output,"htmlAndMathml"),this.leqno=b.deflt(Ee.leqno,!1),this.fleqn=b.deflt(Ee.fleqn,!1),this.throwOnError=b.deflt(Ee.throwOnError,!0),this.errorColor=b.deflt(Ee.errorColor,"#cc0000"),this.macros=Ee.macros||{},this.minRuleThickness=Math.max(0,b.deflt(Ee.minRuleThickness,0)),this.colorIsTextColor=b.deflt(Ee.colorIsTextColor,!1),this.strict=b.deflt(Ee.strict,"warn"),this.trust=b.deflt(Ee.trust,!1),this.maxSize=Math.max(0,b.deflt(Ee.maxSize,Infinity)),this.maxExpand=Math.max(0,b.deflt(Ee.maxExpand,1e3))}var le=Pt.prototype;return le.reportNonstrict=function(Ie,We,Ct){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Ie,We,Ct)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Ie+"]"),Ct);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ie+"]"))},le.useStrictBehavior=function(Ie,We,Ct){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Ie,We,Ct)}catch(hr){Ut="error"}return!Ut||Ut==="ignore"?!1:Ut===!0||Ut==="error"?!0:Ut==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ie+"]")),!1)},le.isTrusted=function(Ie){Ie.url&&!Ie.protocol&&(Ie.protocol=b.protocolFromUrl(Ie.url));var We=typeof this.trust=="function"?this.trust(Ie):this.trust;return Boolean(We)},Pt}(),A=function(){function Pt(Ee,Ie,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Ee,this.size=Ie,this.cramped=We}var le=Pt.prototype;return le.sup=function(){return k[P[this.id]]},le.sub=function(){return k[B[this.id]]},le.fracNum=function(){return k[z[this.id]]},le.fracDen=function(){return k[R[this.id]]},le.cramp=function(){return k[U[this.id]]},le.text=function(){return k[j[this.id]]},le.isTight=function(){return this.size>=2},Pt}(),S=0,T=1,L=2,x=3,C=4,O=5,N=6,F=7,k=[new A(S,0,!1),new A(T,0,!0),new A(L,1,!1),new A(x,1,!0),new A(C,2,!1),new A(O,2,!0),new A(N,3,!1),new A(F,3,!0)],P=[C,O,C,O,N,F,N,F],B=[O,O,O,O,F,F,F,F],z=[L,x,C,O,N,F,N,F],R=[x,x,O,O,F,F,F,F],U=[T,T,x,x,O,O,F,F],j=[S,T,L,x,L,x,L,x],H={DISPLAY:k[S],TEXT:k[L],SCRIPT:k[C],SCRIPTSCRIPT:k[N]},V=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function X(Pt){for(var le=0;le<V.length;le++)for(var Ee=V[le],Ie=0;Ie<Ee.blocks.length;Ie++){var We=Ee.blocks[Ie];if(Pt>=We[0]&&Pt<=We[1])return Ee.name}return null}var W=[];V.forEach(function(Pt){return Pt.blocks.forEach(function(le){return W.push.apply(W,le)})});function G(Pt){for(var le=0;le<W.length;le+=2)if(Pt>=W[le]&&Pt<=W[le+1])return!0;return!1}var $=80,ge=function(le,Ee){return"M95,"+(622+le+Ee)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+le/2.075+" -"+le+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+le)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+le)+" "+Ee+"h400000v"+(40+le)+"h-400000z"},q=function(le,Ee){return"M263,"+(601+le+Ee)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+le/2.084+" -"+le+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+le)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+le)+" "+Ee+"h400000v"+(40+le)+"h-400000z"},Se=function(le,Ee){return"M983 "+(10+le+Ee)+`
|
|
|
l`+le/3.13+" -"+le+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+le)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+le)+" "+Ee+"h400000v"+(40+le)+"h-400000z"},Ce=function(le,Ee){return"M424,"+(2398+le+Ee)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+le/4.223+" -"+le+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+le)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+le)+" "+Ee+`
|
|
|
h400000v`+(40+le)+"h-400000z"},Ae=function(le,Ee){return"M473,"+(2713+le+Ee)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+le/5.298+" -"+le+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+le)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+le)+" "+Ee+"h400000v"+(40+le)+"H1017.7z"},Ue=function(le,Ee,Ie){var We=Ie-54-Ee-le;return"M702 "+(le+Ee)+"H400000"+(40+le)+`
|
|
|
H742v`+We+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+Ee+"H400000v"+(40+le)+"H742z"},Qe=function(le,Ee,Ie){Ee=1e3*Ee;var We="";switch(le){case"sqrtMain":We=ge(Ee,$);break;case"sqrtSize1":We=q(Ee,$);break;case"sqrtSize2":We=Se(Ee,$);break;case"sqrtSize3":We=Ce(Ee,$);break;case"sqrtSize4":We=Ae(Ee,$);break;case"sqrtTall":We=Ue(Ee,$,Ie)}return We},gt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},_e=function(){function Pt(Ee){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Ee,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var le=Pt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){for(var Ie=document.createDocumentFragment(),We=0;We<this.children.length;We++)Ie.appendChild(this.children[We].toNode());return Ie},le.toMarkup=function(){for(var Ie="",We=0;We<this.children.length;We++)Ie+=this.children[We].toMarkup();return Ie},le.toText=function(){var Ie=function(Ct){return Ct.toText()};return this.children.map(Ie).join("")},Pt}(),Oe=function(le){return le.filter(function(Ee){return Ee}).join(" ")},lt=function(le,Ee,Ie){if(this.classes=le||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ie||{},Ee){Ee.style.isTight()&&this.classes.push("mtight");var We=Ee.getColor();We&&(this.style.color=We)}},ce=function(le){var Ee=document.createElement(le);Ee.className=Oe(this.classes);for(var Ie in this.style)this.style.hasOwnProperty(Ie)&&(Ee.style[Ie]=this.style[Ie]);for(var We in this.attributes)this.attributes.hasOwnProperty(We)&&Ee.setAttribute(We,this.attributes[We]);for(var Ct=0;Ct<this.children.length;Ct++)Ee.appendChild(this.children[Ct].toNode());return Ee},Y=function(le){var Ee="<"+le;this.classes.length&&(Ee+=' class="'+b.escape(Oe(this.classes))+'"');var Ie="";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ie+=b.hyphenate(We)+":"+this.style[We]+";");Ie&&(Ee+=' style="'+b.escape(Ie)+'"');for(var Ct in this.attributes)this.attributes.hasOwnProperty(Ct)&&(Ee+=" "+Ct+'="'+b.escape(this.attributes[Ct])+'"');Ee+=">";for(var Ut=0;Ut<this.children.length;Ut++)Ee+=this.children[Ut].toMarkup();return Ee+="</"+le+">",Ee},K=function(){function Pt(Ee,Ie,We,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,lt.call(this,Ee,We,Ct),this.children=Ie||[]}var le=Pt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){return ce.call(this,"span")},le.toMarkup=function(){return Y.call(this,"span")},Pt}(),Q=function(){function Pt(Ee,Ie,We,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,lt.call(this,Ie,Ct),this.children=We||[],this.setAttribute("href",Ee)}var le=Pt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){return ce.call(this,"a")},le.toMarkup=function(){return Y.call(this,"a")},Pt}(),ye=function(){function Pt(Ee,Ie,We){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Ie,this.src=Ee,this.classes=["mord"],this.style=We}var le=Pt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){var Ie=document.createElement("img");Ie.src=this.src,Ie.alt=this.alt,Ie.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ie.style[We]=this.style[We]);return Ie},le.toMarkup=function(){var Ie="<img src='"+this.src+" 'alt='"+this.alt+"' ",We="";for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(We+=b.hyphenate(Ct)+":"+this.style[Ct]+";");return We&&(Ie+=' style="'+b.escape(We)+'"'),Ie+="'/>",Ie},Pt}(),ue={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ne=function(){function Pt(Ee,Ie,We,Ct,Ut,hr,gr,Rr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Ee,this.height=Ie||0,this.depth=We||0,this.italic=Ct||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=X(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ue[this.text])}var le=Pt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){var Ie=document.createTextNode(this.text),We=null;this.italic>0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=Oe(this.classes));for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(We=We||document.createElement("span"),We.style[Ct]=this.style[Ct]);return We?(We.appendChild(Ie),We):Ie},le.toMarkup=function(){var Ie=!1,We="<span";this.classes.length&&(Ie=!0,We+=' class="',We+=b.escape(Oe(this.classes)),We+='"');var Ct="";this.italic>0&&(Ct+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Ct+=b.hyphenate(Ut)+":"+this.style[Ut]+";");Ct&&(Ie=!0,We+=' style="'+b.escape(Ct)+'"');var hr=b.escape(this.text);return Ie?(We+=">",We+=hr,We+="</span>",We):hr},Pt}(),Te=function(){function Pt(Ee,Ie){this.children=void 0,this.attributes=void 0,this.children=Ee||[],this.attributes=Ie||{}}var le=Pt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"svg");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&We.setAttribute(Ct,this.attributes[Ct]);for(var Ut=0;Ut<this.children.length;Ut++)We.appendChild(this.children[Ut].toNode());return We},le.toMarkup=function(){var Ie="<svg";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+"='"+this.attributes[We]+"'");Ie+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ie+=this.children[Ct].toMarkup();return Ie+="</svg>",Ie},Pt}(),oe=function(){function Pt(Ee,Ie){this.pathName=void 0,this.alternate=void 0,this.pathName=Ee,this.alternate=Ie}var le=Pt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"path");return this.alternate?We.setAttribute("d",this.alternate):We.setAttribute("d",gt[this.pathName]),We},le.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+gt[this.pathName]+"'/>"},Pt}(),de=function(){function Pt(Ee){this.attributes=void 0,this.attributes=Ee||{}}var le=Pt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"line");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&We.setAttribute(Ct,this.attributes[Ct]);return We},le.toMarkup=function(){var Ie="<line";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+"='"+this.attributes[We]+"'");return Ie+="/>",Ie},Pt}();function Le(Pt){if(Pt instanceof Ne)return Pt;throw new Error("Expected symbolNode but got "+String(Pt)+".")}function Ge(Pt){if(Pt instanceof K)return Pt;throw new Error("Expected span<HtmlDomNode> but got "+String(Pt)+".")}var ht={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},Et={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Be={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Dt(Pt,le){ht[Pt]=le}function Ke(Pt,le,Ee){if(!ht[le])throw new Error("Font metrics not found for font: "+le+".");var Ie=Pt.charCodeAt(0),We=ht[le][Ie];if(!We&&Pt[0]in Be&&(Ie=Be[Pt[0]].charCodeAt(0),We=ht[le][Ie]),!We&&Ee==="text"&&(G(Ie)&&(We=ht[le][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var At={};function Xe(Pt){var le;if(Pt>=5?le=0:Pt>=3?le=1:le=2,!At[le]){var Ee=At[le]={cssEmPerMu:Et.quad[le]/18};for(var Ie in Et)Et.hasOwnProperty(Ie)&&(Ee[Ie]=Et[Ie][le])}return At[le]}var et={bin:1,close:1,inner:1,open:1,punct:1,rel:1},tt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ot={math:{},text:{}},Ve=ot;function se(Pt,le,Ee,Ie,We,Ct){ot[Pt][We]={font:le,group:Ee,replace:Ie},Ct&&Ie&&(ot[Pt][Ie]=ot[Pt][We])}var re="math",it="text",qe="main",be="ams",Zt="accent-token",dt="bin",ct="close",yt="inner",_t="mathord",or="op-token",Bt="open",we="punct",ve="rel",me="spacing",he="textord";se(re,qe,ve,"\u2261","\\equiv",!0),se(re,qe,ve,"\u227A","\\prec",!0),se(re,qe,ve,"\u227B","\\succ",!0),se(re,qe,ve,"\u223C","\\sim",!0),se(re,qe,ve,"\u22A5","\\perp"),se(re,qe,ve,"\u2AAF","\\preceq",!0),se(re,qe,ve,"\u2AB0","\\succeq",!0),se(re,qe,ve,"\u2243","\\simeq",!0),se(re,qe,ve,"\u2223","\\mid",!0),se(re,qe,ve,"\u226A","\\ll",!0),se(re,qe,ve,"\u226B","\\gg",!0),se(re,qe,ve,"\u224D","\\asymp",!0),se(re,qe,ve,"\u2225","\\parallel"),se(re,qe,ve,"\u22C8","\\bowtie",!0),se(re,qe,ve,"\u2323","\\smile",!0),se(re,qe,ve,"\u2291","\\sqsubseteq",!0),se(re,qe,ve,"\u2292","\\sqsupseteq",!0),se(re,qe,ve,"\u2250","\\doteq",!0),se(re,qe,ve,"\u2322","\\frown",!0),se(re,qe,ve,"\u220B","\\ni",!0),se(re,qe,ve,"\u221D","\\propto",!0),se(re,qe,ve,"\u22A2","\\vdash",!0),se(re,qe,ve,"\u22A3","\\dashv",!0),se(re,qe,ve,"\u220B","\\owns"),se(re,qe,we,".","\\ldotp"),se(re,qe,we,"\u22C5","\\cdotp"),se(re,qe,he,"#","\\#"),se(it,qe,he,"#","\\#"),se(re,qe,he,"&","\\&"),se(it,qe,he,"&","\\&"),se(re,qe,he,"\u2135","\\aleph",!0),se(re,qe,he,"\u2200","\\forall",!0),se(re,qe,he,"\u210F","\\hbar",!0),se(re,qe,he,"\u2203","\\exists",!0),se(re,qe,he,"\u2207","\\nabla",!0),se(re,qe,he,"\u266D","\\flat",!0),se(re,qe,he,"\u2113","\\ell",!0),se(re,qe,he,"\u266E","\\natural",!0),se(re,qe,he,"\u2663","\\clubsuit",!0),se(re,qe,he,"\u2118","\\wp",!0),se(re,qe,he,"\u266F","\\sharp",!0),se(re,qe,he,"\u2662","\\diamondsuit",!0),se(re,qe,he,"\u211C","\\Re",!0),se(re,qe,he,"\u2661","\\heartsuit",!0),se(re,qe,he,"\u2111","\\Im",!0),se(re,qe,he,"\u2660","\\spadesuit",!0),se(it,qe,he,"\xA7","\\S",!0),se(it,qe,he,"\xB6","\\P",!0),se(re,qe,he,"\u2020","\\dag"),se(it,qe,he,"\u2020","\\dag"),se(it,qe,he,"\u2020","\\textdagger"),se(re,qe,he,"\u2021","\\ddag"),se(it,qe,he,"\u2021","\\ddag"),se(it,qe,he,"\u2021","\\textdaggerdbl"),se(re,qe,ct,"\u23B1","\\rmoustache",!0),se(re,qe,Bt,"\u23B0","\\lmoustache",!0),se(re,qe,ct,"\u27EF","\\rgroup",!0),se(re,qe,Bt,"\u27EE","\\lgroup",!0),se(re,qe,dt,"\u2213","\\mp",!0),se(re,qe,dt,"\u2296","\\ominus",!0),se(re,qe,dt,"\u228E","\\uplus",!0),se(re,qe,dt,"\u2293","\\sqcap",!0),se(re,qe,dt,"\u2217","\\ast"),se(re,qe,dt,"\u2294","\\sqcup",!0),se(re,qe,dt,"\u25EF","\\bigcirc"),se(re,qe,dt,"\u2219","\\bullet"),se(re,qe,dt,"\u2021","\\ddagger"),se(re,qe,dt,"\u2240","\\wr",!0),se(re,qe,dt,"\u2A3F","\\amalg"),se(re,qe,dt,"&","\\And"),se(re,qe,ve,"\u27F5","\\longleftarrow",!0),se(re,qe,ve,"\u21D0","\\Leftarrow",!0),se(re,qe,ve,"\u27F8","\\Longleftarrow",!0),se(re,qe,ve,"\u27F6","\\longrightarrow",!0),se(re,qe,ve,"\u21D2","\\Rightarrow",!0),se(re,qe,ve,"\u27F9","\\Longrightarrow",!0),se(re,qe,ve,"\u2194","\\leftrightarrow",!0),se(re,qe,ve,"\u27F7","\\longleftrightarrow",!0),se(re,qe,ve,"\u21D4","\\Leftrightarrow",!0),se(re,qe,ve,"\u27FA","\\Longleftrightarrow",!0),se(re,qe,ve,"\u21A6","\\mapsto",!0),se(re,qe,ve,"\u27FC","\\longmapsto",!0),se(re,qe,ve,"\u2197","\\nearrow",!0),se(re,qe,ve,"\u21A9","\\hookleftarrow",!0),se(re,qe,ve,"\u21AA","\\hookrightarrow",!0),se(re,qe,ve,"\u2198","\\searrow",!0),se(re,qe,ve,"\u21BC","\\leftharpoonup",!0),se(re,qe,ve,"\u21C0","\\rightharpoonup",!0),se(re,qe,ve,"\u2199","\\swarrow",!0),se(re,qe,ve,"\u21BD","\\leftharpoondown",!0),se(re,qe,ve,"\u21C1","\\rightharpoondown",!0),se(re,qe,ve,"\u2196","\\nwarrow",!0),se(re,qe,ve,"\u21CC","\\rightleftharpoons",!0),se(re,be,ve,"\u226E","\\nless",!0),se(re,be,ve,"\uE010","\\@nleqslant"),se(re,be,ve,"\uE011","\\@nleqq"),se(re,be,ve,"\u2A87","\\lneq",!0),se(re,be,ve,"\u2268","\\lneqq",!0),se(re,be,ve,"\uE00C","\\@lvertneqq"),se(re,be,ve,"\u22E6","\\lnsim",!0),se(re,be,ve,"\u2A89","\\lnapprox",!0),se(re,be,ve,"\u2280","\\nprec",!0),se(re,be,ve,"\u22E0","\\npreceq",!0),se(re,be,ve,"\u22E8","\\precnsim",!0),se(re,be,ve,"\u2AB9","\\precnapprox",!0),se(re,be,ve,"\u2241","\\nsim",!0),se(re,be,ve,"\uE006","\\@nshortmid"),se(re,be,ve,"\u2224","\\nmid",!0),se(re,be,ve,"\u22AC","\\nvdash",!0),se(re,be,ve,"\u22AD","\\nvDash",!0),se(re,be,ve,"\u22EA","\\ntriangleleft"),se(re,be,ve,"\u22EC","\\ntrianglelefteq",!0),se(re,be,ve,"\u228A","\\subsetneq",!0),se(re,be,ve,"\uE01A","\\@varsubsetneq"),se(re,be,ve,"\u2ACB","\\subsetneqq",!0),se(re,be,ve,"\uE017","\\@varsubsetneqq"),se(re,be,ve,"\u226F","\\ngtr",!0),se(re,be,ve,"\uE00F","\\@ngeqslant"),se(re,be,ve,"\uE00E","\\@ngeqq"),se(re,be,ve,"\u2A88","\\gneq",!0),se(re,be,ve,"\u2269","\\gneqq",!0),se(re,be,ve,"\uE00D","\\@gvertneqq"),se(re,be,ve,"\u22E7","\\gnsim",!0),se(re,be,ve,"\u2A8A","\\gnapprox",!0),se(re,be,ve,"\u2281","\\nsucc",!0),se(re,be,ve,"\u22E1","\\nsucceq",!0),se(re,be,ve,"\u22E9","\\succnsim",!0),se(re,be,ve,"\u2ABA","\\succnapprox",!0),se(re,be,ve,"\u2246","\\ncong",!0),se(re,be,ve,"\uE007","\\@nshortparallel"),se(re,be,ve,"\u2226","\\nparallel",!0),se(re,be,ve,"\u22AF","\\nVDash",!0),se(re,be,ve,"\u22EB","\\ntriangleright"),se(re,be,ve,"\u22ED","\\ntrianglerighteq",!0),se(re,be,ve,"\uE018","\\@nsupseteqq"),se(re,be,ve,"\u228B","\\supsetneq",!0),se(re,be,ve,"\uE01B","\\@varsupsetneq"),se(re,be,ve,"\u2ACC","\\supsetneqq",!0),se(re,be,ve,"\uE019","\\@varsupsetneqq"),se(re,be,ve,"\u22AE","\\nVdash",!0),se(re,be,ve,"\u2AB5","\\precneqq",!0),se(re,be,ve,"\u2AB6","\\succneqq",!0),se(re,be,ve,"\uE016","\\@nsubseteqq"),se(re,be,dt,"\u22B4","\\unlhd"),se(re,be,dt,"\u22B5","\\unrhd"),se(re,be,ve,"\u219A","\\nleftarrow",!0),se(re,be,ve,"\u219B","\\nrightarrow",!0),se(re,be,ve,"\u21CD","\\nLeftarrow",!0),se(re,be,ve,"\u21CF","\\nRightarrow",!0),se(re,be,ve,"\u21AE","\\nleftrightarrow",!0),se(re,be,ve,"\u21CE","\\nLeftrightarrow",!0),se(re,be,ve,"\u25B3","\\vartriangle"),se(re,be,he,"\u210F","\\hslash"),se(re,be,he,"\u25BD","\\triangledown"),se(re,be,he,"\u25CA","\\lozenge"),se(re,be,he,"\u24C8","\\circledS"),se(re,be,he,"\xAE","\\circledR"),se(it,be,he,"\xAE","\\circledR"),se(re,be,he,"\u2221","\\measuredangle",!0),se(re,be,he,"\u2204","\\nexists"),se(re,be,he,"\u2127","\\mho"),se(re,be,he,"\u2132","\\Finv",!0),se(re,be,he,"\u2141","\\Game",!0),se(re,be,he,"\u2035","\\backprime"),se(re,be,he,"\u25B2","\\blacktriangle"),se(re,be,he,"\u25BC","\\blacktriangledown"),se(re,be,he,"\u25A0","\\blacksquare"),se(re,be,he,"\u29EB","\\blacklozenge"),se(re,be,he,"\u2605","\\bigstar"),se(re,be,he,"\u2222","\\sphericalangle",!0),se(re,be,he,"\u2201","\\complement",!0),se(re,be,he,"\xF0","\\eth",!0),se(re,be,he,"\u2571","\\diagup"),se(re,be,he,"\u2572","\\diagdown"),se(re,be,he,"\u25A1","\\square"),se(re,be,he,"\u25A1","\\Box"),se(re,be,he,"\u25CA","\\Diamond"),se(re,be,he,"\xA5","\\yen",!0),se(it,be,he,"\xA5","\\yen",!0),se(re,be,he,"\u2713","\\checkmark",!0),se(it,be,he,"\u2713","\\checkmark"),se(re,be,he,"\u2136","\\beth",!0),se(re,be,he,"\u2138","\\daleth",!0),se(re,be,he,"\u2137","\\gimel",!0),se(re,be,he,"\u03DD","\\digamma",!0),se(re,be,he,"\u03F0","\\varkappa"),se(re,be,Bt,"\u250C","\\ulcorner",!0),se(re,be,ct,"\u2510","\\urcorner",!0),se(re,be,Bt,"\u2514","\\llcorner",!0),se(re,be,ct,"\u2518","\\lrcorner",!0),se(re,be,ve,"\u2266","\\leqq",!0),se(re,be,ve,"\u2A7D","\\leqslant",!0),se(re,be,ve,"\u2A95","\\eqslantless",!0),se(re,be,ve,"\u2272","\\lesssim",!0),se(re,be,ve,"\u2A85","\\lessapprox",!0),se(re,be,ve,"\u224A","\\approxeq",!0),se(re,be,dt,"\u22D6","\\lessdot"),se(re,be,ve,"\u22D8","\\lll",!0),se(re,be,ve,"\u2276","\\lessgtr",!0),se(re,be,ve,"\u22DA","\\lesseqgtr",!0),se(re,be,ve,"\u2A8B","\\lesseqqgtr",!0),se(re,be,ve,"\u2251","\\doteqdot"),se(re,be,ve,"\u2253","\\risingdotseq",!0),se(re,be,ve,"\u2252","\\fallingdotseq",!0),se(re,be,ve,"\u223D","\\backsim",!0),se(re,be,ve,"\u22CD","\\backsimeq",!0),se(re,be,ve,"\u2AC5","\\subseteqq",!0),se(re,be,ve,"\u22D0","\\Subset",!0),se(re,be,ve,"\u228F","\\sqsubset",!0),se(re,be,ve,"\u227C","\\preccurlyeq",!0),se(re,be,ve,"\u22DE","\\curlyeqprec",!0),se(re,be,ve,"\u227E","\\precsim",!0),se(re,be,ve,"\u2AB7","\\precapprox",!0),se(re,be,ve,"\u22B2","\\vartriangleleft"),se(re,be,ve,"\u22B4","\\trianglelefteq"),se(re,be,ve,"\u22A8","\\vDash",!0),se(re,be,ve,"\u22AA","\\Vvdash",!0),se(re,be,ve,"\u2323","\\smallsmile"),se(re,be,ve,"\u2322","\\smallfrown"),se(re,be,ve,"\u224F","\\bumpeq",!0),se(re,be,ve,"\u224E","\\Bumpeq",!0),se(re,be,ve,"\u2267","\\geqq",!0),se(re,be,ve,"\u2A7E","\\geqslant",!0),se(re,be,ve,"\u2A96","\\eqslantgtr",!0),se(re,be,ve,"\u2273","\\gtrsim",!0),se(re,be,ve,"\u2A86","\\gtrapprox",!0),se(re,be,dt,"\u22D7","\\gtrdot"),se(re,be,ve,"\u22D9","\\ggg",!0),se(re,be,ve,"\u2277","\\gtrless",!0),se(re,be,ve,"\u22DB","\\gtreqless",!0),se(re,be,ve,"\u2A8C","\\gtreqqless",!0),se(re,be,ve,"\u2256","\\eqcirc",!0),se(re,be,ve,"\u2257","\\circeq",!0),se(re,be,ve,"\u225C","\\triangleq",!0),se(re,be,ve,"\u223C","\\thicksim"),se(re,be,ve,"\u2248","\\thickapprox"),se(re,be,ve,"\u2AC6","\\supseteqq",!0),se(re,be,ve,"\u22D1","\\Supset",!0),se(re,be,ve,"\u2290","\\sqsupset",!0),se(re,be,ve,"\u227D","\\succcurlyeq",!0),se(re,be,ve,"\u22DF","\\curlyeqsucc",!0),se(re,be,ve,"\u227F","\\succsim",!0),se(re,be,ve,"\u2AB8","\\succapprox",!0),se(re,be,ve,"\u22B3","\\vartriangleright"),se(re,be,ve,"\u22B5","\\trianglerighteq"),se(re,be,ve,"\u22A9","\\Vdash",!0),se(re,be,ve,"\u2223","\\shortmid"),se(re,be,ve,"\u2225","\\shortparallel"),se(re,be,ve,"\u226C","\\between",!0),se(re,be,ve,"\u22D4","\\pitchfork",!0),se(re,be,ve,"\u221D","\\varpropto"),se(re,be,ve,"\u25C0","\\blacktriangleleft"),se(re,be,ve,"\u2234","\\therefore",!0),se(re,be,ve,"\u220D","\\backepsilon"),se(re,be,ve,"\u25B6","\\blacktriangleright"),se(re,be,ve,"\u2235","\\because",!0),se(re,be,ve,"\u22D8","\\llless"),se(re,be,ve,"\u22D9","\\gggtr"),se(re,be,dt,"\u22B2","\\lhd"),se(re,be,dt,"\u22B3","\\rhd"),se(re,be,ve,"\u2242","\\eqsim",!0),se(re,qe,ve,"\u22C8","\\Join"),se(re,be,ve,"\u2251","\\Doteq",!0),se(re,be,dt,"\u2214","\\dotplus",!0),se(re,be,dt,"\u2216","\\smallsetminus"),se(re,be,dt,"\u22D2","\\Cap",!0),se(re,be,dt,"\u22D3","\\Cup",!0),se(re,be,dt,"\u2A5E","\\doublebarwedge",!0),se(re,be,dt,"\u229F","\\boxminus",!0),se(re,be,dt,"\u229E","\\boxplus",!0),se(re,be,dt,"\u22C7","\\divideontimes",!0),se(re,be,dt,"\u22C9","\\ltimes",!0),se(re,be,dt,"\u22CA","\\rtimes",!0),se(re,be,dt,"\u22CB","\\leftthreetimes",!0),se(re,be,dt,"\u22CC","\\rightthreetimes",!0),se(re,be,dt,"\u22CF","\\curlywedge",!0),se(re,be,dt,"\u22CE","\\curlyvee",!0),se(re,be,dt,"\u229D","\\circleddash",!0),se(re,be,dt,"\u229B","\\circledast",!0),se(re,be,dt,"\u22C5","\\centerdot"),se(re,be,dt,"\u22BA","\\intercal",!0),se(re,be,dt,"\u22D2","\\doublecap"),se(re,be,dt,"\u22D3","\\doublecup"),se(re,be,dt,"\u22A0","\\boxtimes",!0),se(re,be,ve,"\u21E2","\\dashrightarrow",!0),se(re,be,ve,"\u21E0","\\dashleftarrow",!0),se(re,be,ve,"\u21C7","\\leftleftarrows",!0),se(re,be,ve,"\u21C6","\\leftrightarrows",!0),se(re,be,ve,"\u21DA","\\Lleftarrow",!0),se(re,be,ve,"\u219E","\\twoheadleftarrow",!0),se(re,be,ve,"\u21A2","\\leftarrowtail",!0),se(re,be,ve,"\u21AB","\\looparrowleft",!0),se(re,be,ve,"\u21CB","\\leftrightharpoons",!0),se(re,be,ve,"\u21B6","\\curvearrowleft",!0),se(re,be,ve,"\u21BA","\\circlearrowleft",!0),se(re,be,ve,"\u21B0","\\Lsh",!0),se(re,be,ve,"\u21C8","\\upuparrows",!0),se(re,be,ve,"\u21BF","\\upharpoonleft",!0),se(re,be,ve,"\u21C3","\\downharpoonleft",!0),se(re,be,ve,"\u22B8","\\multimap",!0),se(re,be,ve,"\u21AD","\\leftrightsquigarrow",!0),se(re,be,ve,"\u21C9","\\rightrightarrows",!0),se(re,be,ve,"\u21C4","\\rightleftarrows",!0),se(re,be,ve,"\u21A0","\\twoheadrightarrow",!0),se(re,be,ve,"\u21A3","\\rightarrowtail",!0),se(re,be,ve,"\u21AC","\\looparrowright",!0),se(re,be,ve,"\u21B7","\\curvearrowright",!0),se(re,be,ve,"\u21BB","\\circlearrowright",!0),se(re,be,ve,"\u21B1","\\Rsh",!0),se(re,be,ve,"\u21CA","\\downdownarrows",!0),se(re,be,ve,"\u21BE","\\upharpoonright",!0),se(re,be,ve,"\u21C2","\\downharpoonright",!0),se(re,be,ve,"\u21DD","\\rightsquigarrow",!0),se(re,be,ve,"\u21DD","\\leadsto"),se(re,be,ve,"\u21DB","\\Rrightarrow",!0),se(re,be,ve,"\u21BE","\\restriction"),se(re,qe,he,"\u2018","`"),se(re,qe,he,"$","\\$"),se(it,qe,he,"$","\\$"),se(it,qe,he,"$","\\textdollar"),se(re,qe,he,"%","\\%"),se(it,qe,he,"%","\\%"),se(re,qe,he,"_","\\_"),se(it,qe,he,"_","\\_"),se(it,qe,he,"_","\\textunderscore"),se(re,qe,he,"\u2220","\\angle",!0),se(re,qe,he,"\u221E","\\infty",!0),se(re,qe,he,"\u2032","\\prime"),se(re,qe,he,"\u25B3","\\triangle"),se(re,qe,he,"\u0393","\\Gamma",!0),se(re,qe,he,"\u0394","\\Delta",!0),se(re,qe,he,"\u0398","\\Theta",!0),se(re,qe,he,"\u039B","\\Lambda",!0),se(re,qe,he,"\u039E","\\Xi",!0),se(re,qe,he,"\u03A0","\\Pi",!0),se(re,qe,he,"\u03A3","\\Sigma",!0),se(re,qe,he,"\u03A5","\\Upsilon",!0),se(re,qe,he,"\u03A6","\\Phi",!0),se(re,qe,he,"\u03A8","\\Psi",!0),se(re,qe,he,"\u03A9","\\Omega",!0),se(re,qe,he,"A","\u0391"),se(re,qe,he,"B","\u0392"),se(re,qe,he,"E","\u0395"),se(re,qe,he,"Z","\u0396"),se(re,qe,he,"H","\u0397"),se(re,qe,he,"I","\u0399"),se(re,qe,he,"K","\u039A"),se(re,qe,he,"M","\u039C"),se(re,qe,he,"N","\u039D"),se(re,qe,he,"O","\u039F"),se(re,qe,he,"P","\u03A1"),se(re,qe,he,"T","\u03A4"),se(re,qe,he,"X","\u03A7"),se(re,qe,he,"\xAC","\\neg",!0),se(re,qe,he,"\xAC","\\lnot"),se(re,qe,he,"\u22A4","\\top"),se(re,qe,he,"\u22A5","\\bot"),se(re,qe,he,"\u2205","\\emptyset"),se(re,be,he,"\u2205","\\varnothing"),se(re,qe,_t,"\u03B1","\\alpha",!0),se(re,qe,_t,"\u03B2","\\beta",!0),se(re,qe,_t,"\u03B3","\\gamma",!0),se(re,qe,_t,"\u03B4","\\delta",!0),se(re,qe,_t,"\u03F5","\\epsilon",!0),se(re,qe,_t,"\u03B6","\\zeta",!0),se(re,qe,_t,"\u03B7","\\eta",!0),se(re,qe,_t,"\u03B8","\\theta",!0),se(re,qe,_t,"\u03B9","\\iota",!0),se(re,qe,_t,"\u03BA","\\kappa",!0),se(re,qe,_t,"\u03BB","\\lambda",!0),se(re,qe,_t,"\u03BC","\\mu",!0),se(re,qe,_t,"\u03BD","\\nu",!0),se(re,qe,_t,"\u03BE","\\xi",!0),se(re,qe,_t,"\u03BF","\\omicron",!0),se(re,qe,_t,"\u03C0","\\pi",!0),se(re,qe,_t,"\u03C1","\\rho",!0),se(re,qe,_t,"\u03C3","\\sigma",!0),se(re,qe,_t,"\u03C4","\\tau",!0),se(re,qe,_t,"\u03C5","\\upsilon",!0),se(re,qe,_t,"\u03D5","\\phi",!0),se(re,qe,_t,"\u03C7","\\chi",!0),se(re,qe,_t,"\u03C8","\\psi",!0),se(re,qe,_t,"\u03C9","\\omega",!0),se(re,qe,_t,"\u03B5","\\varepsilon",!0),se(re,qe,_t,"\u03D1","\\vartheta",!0),se(re,qe,_t,"\u03D6","\\varpi",!0),se(re,qe,_t,"\u03F1","\\varrho",!0),se(re,qe,_t,"\u03C2","\\varsigma",!0),se(re,qe,_t,"\u03C6","\\varphi",!0),se(re,qe,dt,"\u2217","*"),se(re,qe,dt,"+","+"),se(re,qe,dt,"\u2212","-"),se(re,qe,dt,"\u22C5","\\cdot",!0),se(re,qe,dt,"\u2218","\\circ"),se(re,qe,dt,"\xF7","\\div",!0),se(re,qe,dt,"\xB1","\\pm",!0),se(re,qe,dt,"\xD7","\\times",!0),se(re,qe,dt,"\u2229","\\cap",!0),se(re,qe,dt,"\u222A","\\cup",!0),se(re,qe,dt,"\u2216","\\setminus"),se(re,qe,dt,"\u2227","\\land"),se(re,qe,dt,"\u2228","\\lor"),se(re,qe,dt,"\u2227","\\wedge",!0),se(re,qe,dt,"\u2228","\\vee",!0),se(re,qe,he,"\u221A","\\surd"),se(re,qe,Bt,"(","("),se(re,qe,Bt,"[","["),se(re,qe,Bt,"\u27E8","\\langle",!0),se(re,qe,Bt,"\u2223","\\lvert"),se(re,qe,Bt,"\u2225","\\lVert"),se(re,qe,ct,")",")"),se(re,qe,ct,"]","]"),se(re,qe,ct,"?","?"),se(re,qe,ct,"!","!"),se(re,qe,ct,"\u27E9","\\rangle",!0),se(re,qe,ct,"\u2223","\\rvert"),se(re,qe,ct,"\u2225","\\rVert"),se(re,qe,ve,"=","="),se(re,qe,ve,"<","<"),se(re,qe,ve,">",">"),se(re,qe,ve,":",":"),se(re,qe,ve,"\u2248","\\approx",!0),se(re,qe,ve,"\u2245","\\cong",!0),se(re,qe,ve,"\u2265","\\ge"),se(re,qe,ve,"\u2265","\\geq",!0),se(re,qe,ve,"\u2190","\\gets"),se(re,qe,ve,">","\\gt"),se(re,qe,ve,"\u2208","\\in",!0),se(re,qe,ve,"\uE020","\\@not"),se(re,qe,ve,"\u2282","\\subset",!0),se(re,qe,ve,"\u2283","\\supset",!0),se(re,qe,ve,"\u2286","\\subseteq",!0),se(re,qe,ve,"\u2287","\\supseteq",!0),se(re,be,ve,"\u2288","\\nsubseteq",!0),se(re,be,ve,"\u2289","\\nsupseteq",!0),se(re,qe,ve,"\u22A8","\\models"),se(re,qe,ve,"\u2190","\\leftarrow",!0),se(re,qe,ve,"\u2264","\\le"),se(re,qe,ve,"\u2264","\\leq",!0),se(re,qe,ve,"<","\\lt"),se(re,qe,ve,"\u2192","\\rightarrow",!0),se(re,qe,ve,"\u2192","\\to"),se(re,be,ve,"\u2271","\\ngeq",!0),se(re,be,ve,"\u2270","\\nleq",!0),se(re,qe,me,"\xA0","\\ "),se(re,qe,me,"\xA0","~"),se(re,qe,me,"\xA0","\\space"),se(re,qe,me,"\xA0","\\nobreakspace"),se(it,qe,me,"\xA0","\\ "),se(it,qe,me,"\xA0","~"),se(it,qe,me,"\xA0","\\space"),se(it,qe,me,"\xA0","\\nobreakspace"),se(re,qe,me,null,"\\nobreak"),se(re,qe,me,null,"\\allowbreak"),se(re,qe,we,",",","),se(re,qe,we,";",";"),se(re,be,dt,"\u22BC","\\barwedge",!0),se(re,be,dt,"\u22BB","\\veebar",!0),se(re,qe,dt,"\u2299","\\odot",!0),se(re,qe,dt,"\u2295","\\oplus",!0),se(re,qe,dt,"\u2297","\\otimes",!0),se(re,qe,he,"\u2202","\\partial",!0),se(re,qe,dt,"\u2298","\\oslash",!0),se(re,be,dt,"\u229A","\\circledcirc",!0),se(re,be,dt,"\u22A1","\\boxdot",!0),se(re,qe,dt,"\u25B3","\\bigtriangleup"),se(re,qe,dt,"\u25BD","\\bigtriangledown"),se(re,qe,dt,"\u2020","\\dagger"),se(re,qe,dt,"\u22C4","\\diamond"),se(re,qe,dt,"\u22C6","\\star"),se(re,qe,dt,"\u25C3","\\triangleleft"),se(re,qe,dt,"\u25B9","\\triangleright"),se(re,qe,Bt,"{","\\{"),se(it,qe,he,"{","\\{"),se(it,qe,he,"{","\\textbraceleft"),se(re,qe,ct,"}","\\}"),se(it,qe,he,"}","\\}"),se(it,qe,he,"}","\\textbraceright"),se(re,qe,Bt,"{","\\lbrace"),se(re,qe,ct,"}","\\rbrace"),se(re,qe,Bt,"[","\\lbrack"),se(it,qe,he,"[","\\lbrack"),se(re,qe,ct,"]","\\rbrack"),se(it,qe,he,"]","\\rbrack"),se(re,qe,Bt,"(","\\lparen"),se(re,qe,ct,")","\\rparen"),se(it,qe,he,"<","\\textless"),se(it,qe,he,">","\\textgreater"),se(re,qe,Bt,"\u230A","\\lfloor",!0),se(re,qe,ct,"\u230B","\\rfloor",!0),se(re,qe,Bt,"\u2308","\\lceil",!0),se(re,qe,ct,"\u2309","\\rceil",!0),se(re,qe,he,"\\","\\backslash"),se(re,qe,he,"\u2223","|"),se(re,qe,he,"\u2223","\\vert"),se(it,qe,he,"|","\\textbar"),se(re,qe,he,"\u2225","\\|"),se(re,qe,he,"\u2225","\\Vert"),se(it,qe,he,"\u2225","\\textbardbl"),se(it,qe,he,"~","\\textasciitilde"),se(it,qe,he,"\\","\\textbackslash"),se(it,qe,he,"^","\\textasciicircum"),se(re,qe,ve,"\u2191","\\uparrow",!0),se(re,qe,ve,"\u21D1","\\Uparrow",!0),se(re,qe,ve,"\u2193","\\downarrow",!0),se(re,qe,ve,"\u21D3","\\Downarrow",!0),se(re,qe,ve,"\u2195","\\updownarrow",!0),se(re,qe,ve,"\u21D5","\\Updownarrow",!0),se(re,qe,or,"\u2210","\\coprod"),se(re,qe,or,"\u22C1","\\bigvee"),se(re,qe,or,"\u22C0","\\bigwedge"),se(re,qe,or,"\u2A04","\\biguplus"),se(re,qe,or,"\u22C2","\\bigcap"),se(re,qe,or,"\u22C3","\\bigcup"),se(re,qe,or,"\u222B","\\int"),se(re,qe,or,"\u222B","\\intop"),se(re,qe,or,"\u222C","\\iint"),se(re,qe,or,"\u222D","\\iiint"),se(re,qe,or,"\u220F","\\prod"),se(re,qe,or,"\u2211","\\sum"),se(re,qe,or,"\u2A02","\\bigotimes"),se(re,qe,or,"\u2A01","\\bigoplus"),se(re,qe,or,"\u2A00","\\bigodot"),se(re,qe,or,"\u222E","\\oint"),se(re,qe,or,"\u222F","\\oiint"),se(re,qe,or,"\u2230","\\oiiint"),se(re,qe,or,"\u2A06","\\bigsqcup"),se(re,qe,or,"\u222B","\\smallint"),se(it,qe,yt,"\u2026","\\textellipsis"),se(re,qe,yt,"\u2026","\\mathellipsis"),se(it,qe,yt,"\u2026","\\ldots",!0),se(re,qe,yt,"\u2026","\\ldots",!0),se(re,qe,yt,"\u22EF","\\@cdots",!0),se(re,qe,yt,"\u22F1","\\ddots",!0),se(re,qe,he,"\u22EE","\\varvdots"),se(re,qe,Zt,"\u02CA","\\acute"),se(re,qe,Zt,"\u02CB","\\grave"),se(re,qe,Zt,"\xA8","\\ddot"),se(re,qe,Zt,"~","\\tilde"),se(re,qe,Zt,"\u02C9","\\bar"),se(re,qe,Zt,"\u02D8","\\breve"),se(re,qe,Zt,"\u02C7","\\check"),se(re,qe,Zt,"^","\\hat"),se(re,qe,Zt,"\u20D7","\\vec"),se(re,qe,Zt,"\u02D9","\\dot"),se(re,qe,Zt,"\u02DA","\\mathring"),se(re,qe,_t,"\u0131","\\imath",!0),se(re,qe,_t,"\u0237","\\jmath",!0),se(it,qe,he,"\u0131","\\i",!0),se(it,qe,he,"\u0237","\\j",!0),se(it,qe,he,"\xDF","\\ss",!0),se(it,qe,he,"\xE6","\\ae",!0),se(it,qe,he,"\xE6","\\ae",!0),se(it,qe,he,"\u0153","\\oe",!0),se(it,qe,he,"\xF8","\\o",!0),se(it,qe,he,"\xC6","\\AE",!0),se(it,qe,he,"\u0152","\\OE",!0),se(it,qe,he,"\xD8","\\O",!0),se(it,qe,Zt,"\u02CA","\\'"),se(it,qe,Zt,"\u02CB","\\`"),se(it,qe,Zt,"\u02C6","\\^"),se(it,qe,Zt,"\u02DC","\\~"),se(it,qe,Zt,"\u02C9","\\="),se(it,qe,Zt,"\u02D8","\\u"),se(it,qe,Zt,"\u02D9","\\."),se(it,qe,Zt,"\u02DA","\\r"),se(it,qe,Zt,"\u02C7","\\v"),se(it,qe,Zt,"\xA8",'\\"'),se(it,qe,Zt,"\u02DD","\\H"),se(it,qe,Zt,"\u25EF","\\textcircled");var Re={"--":!0,"---":!0,"``":!0,"''":!0};se(it,qe,he,"\u2013","--"),se(it,qe,he,"\u2013","\\textendash"),se(it,qe,he,"\u2014","---"),se(it,qe,he,"\u2014","\\textemdash"),se(it,qe,he,"\u2018","`"),se(it,qe,he,"\u2018","\\textquoteleft"),se(it,qe,he,"\u2019","'"),se(it,qe,he,"\u2019","\\textquoteright"),se(it,qe,he,"\u201C","``"),se(it,qe,he,"\u201C","\\textquotedblleft"),se(it,qe,he,"\u201D","''"),se(it,qe,he,"\u201D","\\textquotedblright"),se(re,qe,he,"\xB0","\\degree",!0),se(it,qe,he,"\xB0","\\degree"),se(it,qe,he,"\xB0","\\textdegree",!0),se(re,qe,_t,"\xA3","\\pounds"),se(re,qe,_t,"\xA3","\\mathsterling",!0),se(it,qe,_t,"\xA3","\\pounds"),se(it,qe,_t,"\xA3","\\textsterling",!0),se(re,be,he,"\u2720","\\maltese"),se(it,be,he,"\u2720","\\maltese"),se(it,qe,me,"\xA0","\\ "),se(it,qe,me,"\xA0"," "),se(it,qe,me,"\xA0","~");for(var He='0123456789/@."',ze=0;ze<He.length;ze++){var Ye=He.charAt(ze);se(re,qe,he,Ye,Ye)}for(var Pe='0123456789!@*()-=+[]<>|";:?/.,',nt=0;nt<Pe.length;nt++){var bt=Pe.charAt(nt);se(it,qe,he,bt,bt)}for(var Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ae=0;ae<Ot.length;ae++){var pe=Ot.charAt(ae);se(re,qe,_t,pe,pe),se(it,qe,he,pe,pe)}se(re,be,he,"C","\u2102"),se(it,be,he,"C","\u2102"),se(re,be,he,"H","\u210D"),se(it,be,he,"H","\u210D"),se(re,be,he,"N","\u2115"),se(it,be,he,"N","\u2115"),se(re,be,he,"P","\u2119"),se(it,be,he,"P","\u2119"),se(re,be,he,"Q","\u211A"),se(it,be,he,"Q","\u211A"),se(re,be,he,"R","\u211D"),se(it,be,he,"R","\u211D"),se(re,be,he,"Z","\u2124"),se(it,be,he,"Z","\u2124"),se(re,qe,_t,"h","\u210E"),se(it,qe,_t,"h","\u210E");for(var J="",ne=0;ne<Ot.length;ne++){var xe=Ot.charAt(ne);J=String.fromCharCode(55349,56320+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56372+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56424+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56580+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56736+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56788+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56840+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56944+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),ne<26&&(J=String.fromCharCode(55349,56632+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J),J=String.fromCharCode(55349,56476+ne),se(re,qe,_t,xe,J),se(it,qe,he,xe,J))}J=String.fromCharCode(55349,56668),se(re,qe,_t,"k",J),se(it,qe,he,"k",J);for(var De=0;De<10;De++){var Fe=De.toString();J=String.fromCharCode(55349,57294+De),se(re,qe,_t,Fe,J),se(it,qe,he,Fe,J),J=String.fromCharCode(55349,57314+De),se(re,qe,_t,Fe,J),se(it,qe,he,Fe,J),J=String.fromCharCode(55349,57324+De),se(re,qe,_t,Fe,J),se(it,qe,he,Fe,J),J=String.fromCharCode(55349,57334+De),se(re,qe,_t,Fe,J),se(it,qe,he,Fe,J)}for(var $e="\xC7\xD0\xDE\xE7\xFE",vt=0;vt<$e.length;vt++){var Wt=$e.charAt(vt);se(re,qe,_t,Wt,Wt),se(it,qe,he,Wt,Wt)}se(it,qe,he,"\xF0","\xF0"),se(it,qe,he,"\u2013","\u2013"),se(it,qe,he,"\u2014","\u2014"),se(it,qe,he,"\u2018","\u2018"),se(it,qe,he,"\u2019","\u2019"),se(it,qe,he,"\u201C","\u201C"),se(it,qe,he,"\u201D","\u201D");var $t=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Kt=function(le,Ee){var Ie=le.charCodeAt(0),We=le.charCodeAt(1),Ct=(Ie-55296)*1024+(We-56320)+65536,Ut=Ee==="math"?0:1;if(119808<=Ct&&Ct<120484){var hr=Math.floor((Ct-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Ct&&Ct<=120831){var gr=Math.floor((Ct-120782)/10);return[Rt[gr][2],Rt[gr][Ut]]}else{if(Ct===120485||Ct===120486)return[$t[0][2],$t[0][Ut]];if(120486<Ct&&Ct<120782)return["",""];throw new a("Unsupported character: "+le)}},Gt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mt=function(le,Ee){return Ee.size<2?le:Gt[le-1][Ee.size-1]},dr=function(){function Pt(Ee){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=Ee.style,this.color=Ee.color,this.size=Ee.size||Pt.BASESIZE,this.textSize=Ee.textSize||this.size,this.phantom=!!Ee.phantom,this.font=Ee.font||"",this.fontFamily=Ee.fontFamily||"",this.fontWeight=Ee.fontWeight||"",this.fontShape=Ee.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=Ee.maxSize,this.minRuleThickness=Ee.minRuleThickness,this._fontMetrics=void 0}var le=Pt.prototype;return le.extend=function(Ie){var We={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ct in Ie)Ie.hasOwnProperty(Ct)&&(We[Ct]=Ie[Ct]);return new Pt(We)},le.havingStyle=function(Ie){return this.style===Ie?this:this.extend({style:Ie,size:Mt(this.textSize,Ie)})},le.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},le.havingSize=function(Ie){return this.size===Ie&&this.textSize===Ie?this:this.extend({style:this.style.text(),size:Ie,textSize:Ie,sizeMultiplier:Qt[Ie-1]})},le.havingBaseStyle=function(Ie){Ie=Ie||this.style.text();var We=Mt(Pt.BASESIZE,Ie);return this.size===We&&this.textSize===Pt.BASESIZE&&this.style===Ie?this:this.extend({style:Ie,size:We})},le.havingBaseSizing=function(){var Ie;switch(this.style.id){case 4:case 5:Ie=3;break;case 6:case 7:Ie=1;break;default:Ie=6}return this.extend({style:this.style.text(),size:Ie})},le.withColor=function(Ie){return this.extend({color:Ie})},le.withPhantom=function(){return this.extend({phantom:!0})},le.withFont=function(Ie){return this.extend({font:Ie})},le.withTextFontFamily=function(Ie){return this.extend({fontFamily:Ie,font:""})},le.withTextFontWeight=function(Ie){return this.extend({fontWeight:Ie,font:""})},le.withTextFontShape=function(Ie){return this.extend({fontShape:Ie,font:""})},le.sizingClasses=function(Ie){return Ie.size!==this.size?["sizing","reset-size"+Ie.size,"size"+this.size]:[]},le.baseSizingClasses=function(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]},le.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Xe(this.size)),this._fontMetrics},le.getColor=function(){return this.phantom?"transparent":this.color},Pt}();dr.BASESIZE=6;var er=dr,st={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xt={ex:!0,em:!0,mu:!0},ut=function(le){return typeof le!="string"&&(le=le.unit),le in st||le in xt||le==="ex"},pt=function(le,Ee){var Ie;if(le.unit in st)Ie=st[le.unit]/Ee.fontMetrics().ptPerEm/Ee.sizeMultiplier;else if(le.unit==="mu")Ie=Ee.fontMetrics().cssEmPerMu;else{var We;if(Ee.style.isTight()?We=Ee.havingStyle(Ee.style.text()):We=Ee,le.unit==="ex")Ie=We.fontMetrics().xHeight;else if(le.unit==="em")Ie=We.fontMetrics().quad;else throw new a("Invalid unit: '"+le.unit+"'");We!==Ee&&(Ie*=We.sizeMultiplier/Ee.sizeMultiplier)}return Math.min(le.number*Ie,Ee.maxSize)},It=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Tt=function(le,Ee,Ie){return Ve[Ie][le]&&Ve[Ie][le].replace&&(le=Ve[Ie][le].replace),{value:le,metrics:Ke(le,Ee,Ie)}},ft=function(le,Ee,Ie,We,Ct){var Ut=Tt(le,Ee,Ie),hr=Ut.metrics;le=Ut.value;var gr;if(hr){var Rr=hr.italic;(Ie==="text"||We&&We.font==="mathit")&&(Rr=0),gr=new Ne(le,hr.height,hr.depth,Rr,hr.skew,hr.width,Ct)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+le+"' in style '"+Ee+"' and mode '"+Ie+"'")),gr=new Ne(le,0,0,0,0,0,Ct);if(We){gr.maxFontSize=We.sizeMultiplier,We.style.isTight()&&gr.classes.push("mtight");var $r=We.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(le,Ee,Ie,We){return We===void 0&&(We=[]),Ie.font==="boldsymbol"&&Tt(le,"Main-Bold",Ee).metrics?ft(le,"Main-Bold",Ee,Ie,We.concat(["mathbf"])):le==="\\"||Ve[Ee][le].font==="main"?ft(le,"Main-Regular",Ee,Ie,We):ft(le,"AMS-Regular",Ee,Ie,We.concat(["amsrm"]))},Ft=function(le,Ee,Ie,We){return/[0-9]/.test(le.charAt(0))||b.contains(It,le)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(le,Ee,Ie,We){return b.contains(It,le)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(le.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(le,Ee,Ie,We){return Tt(le,"Math-BoldItalic",Ee).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(le,Ee,Ie){var We=le.mode,Ct=le.text,Ut=["mord"],hr=We==="math"||We==="text"&&Ee.font,gr=hr?Ee.font:Ee.fontFamily;if(Ct.charCodeAt(0)===55349){var Rr=Kt(Ct,We),$r=Rr[0],ln=Rr[1];return ft(Ct,$r,We,Ee,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Ct,We,Ee,Ut):ir(Ct,We,Ee,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else b.contains(It,Ct)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Yr[gr].fontName,Cn=[gr]):(yn=xr(gr,Ee.fontWeight,Ee.fontShape),Cn=[gr,Ee.fontWeight,Ee.fontShape]);if(Tt(Ct,yn,We).metrics)return ft(Ct,yn,We,Ee,Ut.concat(Cn));if(Re.hasOwnProperty(Ct)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Ct.length;wi++)ti.push(ft(Ct[wi],yn,We,Ee,Ut.concat(Cn)));return _r(ti)}}if(Ie==="mathord"){var ea=Ft(Ct,We,Ee,Ut);return ft(Ct,ea.fontName,We,Ee,Ut.concat([ea.fontClass]))}else if(Ie==="textord"){var ji=Ve[We][Ct]&&Ve[We][Ct].font;if(ji==="ams"){var Sa=xr("amsrm",Ee.fontWeight,Ee.fontShape);return ft(Ct,Sa,We,Ee,Ut.concat("amsrm",Ee.fontWeight,Ee.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",Ee.fontWeight,Ee.fontShape);return ft(Ct,lo,We,Ee,Ut.concat(Ee.fontWeight,Ee.fontShape))}else{var Wa=xr(ji,Ee.fontWeight,Ee.fontShape);return ft(Ct,Wa,We,Ee,Ut.concat(Wa,Ee.fontWeight,Ee.fontShape))}}else throw new Error("unexpected type: "+Ie+" in makeOrd")},Ar=function(le,Ee){if(Oe(le.classes)!==Oe(Ee.classes)||le.skew!==Ee.skew||le.maxFontSize!==Ee.maxFontSize)return!1;for(var Ie in le.style)if(le.style.hasOwnProperty(Ie)&&le.style[Ie]!==Ee.style[Ie])return!1;for(var We in Ee.style)if(Ee.style.hasOwnProperty(We)&&le.style[We]!==Ee.style[We])return!1;return!0},Nr=function(le){for(var Ee=0;Ee<le.length-1;Ee++){var Ie=le[Ee],We=le[Ee+1];Ie instanceof Ne&&We instanceof Ne&&Ar(Ie,We)&&(Ie.text+=We.text,Ie.height=Math.max(Ie.height,We.height),Ie.depth=Math.max(Ie.depth,We.depth),Ie.italic=We.italic,le.splice(Ee+1,1),Ee--)}return le},Fr=function(le){for(var Ee=0,Ie=0,We=0,Ct=0;Ct<le.children.length;Ct++){var Ut=le.children[Ct];Ut.height>Ee&&(Ee=Ut.height),Ut.depth>Ie&&(Ie=Ut.depth),Ut.maxFontSize>We&&(We=Ut.maxFontSize)}le.height=Ee,le.depth=Ie,le.maxFontSize=We},tn=function(le,Ee,Ie,We){var Ct=new K(le,Ee,Ie,We);return Fr(Ct),Ct},qr=function(le,Ee,Ie,We){return new K(le,Ee,Ie,We)},Lr=function(le,Ee,Ie){var We=tn([le],[],Ee);return We.height=Math.max(Ie||Ee.fontMetrics().defaultRuleThickness,Ee.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},Qr=function(le,Ee,Ie,We){var Ct=new Q(le,Ee,Ie,We);return Fr(Ct),Ct},_r=function(le){var Ee=new _e(le);return Fr(Ee),Ee},ur=function(le,Ee){return le instanceof _e?tn([],[le],Ee):le},pr=function(le){if(le.positionType==="individualShift"){for(var Ee=le.children,Ie=[Ee[0]],We=-Ee[0].shift-Ee[0].elem.depth,Ct=We,Ut=1;Ut<Ee.length;Ut++){var hr=-Ee[Ut].shift-Ct-Ee[Ut].elem.depth,gr=hr-(Ee[Ut-1].elem.height+Ee[Ut-1].elem.depth);Ct=Ct+hr,Ie.push({type:"kern",size:gr}),Ie.push(Ee[Ut])}return{children:Ie,depth:We}}var Rr;if(le.positionType==="top"){for(var $r=le.positionData,ln=0;ln<le.children.length;ln++){var yn=le.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(le.positionType==="bottom")Rr=-le.positionData;else{var Cn=le.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(le.positionType==="shift")Rr=-Cn.elem.depth-le.positionData;else if(le.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+le.positionType+".")}return{children:le.children,depth:Rr}},cr=function(le,Ee){for(var Ie=pr(le),We=Ie.children,Ct=Ie.depth,Ut=0,hr=0;hr<We.length;hr++){var gr=We[hr];if(gr.type==="elem"){var Rr=gr.elem;Ut=Math.max(Ut,Rr.maxFontSize,Rr.height)}}Ut+=2;var $r=tn(["pstrut"],[]);$r.style.height=Ut+"em";for(var ln=[],yn=Ct,Cn=Ct,Qn=Ct,ti=0;ti<We.length;ti++){var wi=We[ti];if(wi.type==="kern")Qn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[$r,ea],void 0,Sa);lo.style.top=-Ut-Qn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Qn+=ea.height+ea.depth}yn=Math.min(yn,Qn),Cn=Math.max(Cn,Qn)}var Wa=tn(["vlist"],ln);Wa.style.height=Cn+"em";var yo;if(yn<0){var Ao=tn([],[]),$a=tn(["vlist"],[Ao]);$a.style.height=-yn+"em";var Fo=tn(["vlist-s"],[new Ne("\u200B")]);yo=[tn(["vlist-r"],[Wa,Fo]),tn(["vlist-r"],[$a])]}else yo=[tn(["vlist-r"],[Wa])];var No=tn(["vlist-t"],yo);return yo.length===2&&No.classes.push("vlist-t2"),No.height=Cn,No.depth=-yn,No},fr=function(le,Ee){var Ie=tn(["mspace"],[],Ee),We=pt(le,Ee);return Ie.style.marginRight=We+"em",Ie},xr=function(le,Ee,Ie){var We="";switch(le){case"amsrm":We="AMS";break;case"textrm":We="Main";break;case"textsf":We="SansSerif";break;case"texttt":We="Typewriter";break;default:We=le}var Ct;return Ee==="textbf"&&Ie==="textit"?Ct="BoldItalic":Ee==="textbf"?Ct="Bold":Ee==="textit"?Ct="Italic":Ct="Regular",We+"-"+Ct},Yr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},un={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Nn=function(le,Ee){var Ie=un[le],We=Ie[0],Ct=Ie[1],Ut=Ie[2],hr=new oe(We),gr=new Te([hr],{width:Ct+"em",height:Ut+"em",style:"width:"+Ct+"em",viewBox:"0 0 "+1e3*Ct+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],Ee);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Ct+"em",Rr},jr={fontMap:Yr,makeSymbol:ft,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:Lr,makeAnchor:Qr,makeFragment:_r,wrapFragment:ur,makeVList:cr,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:un,tryCombineChars:Nr};function Tn(Pt,le){var Ee=gn(Pt,le);if(!Ee)throw new Error("Expected node of type "+le+", but got "+(Pt?"node of type "+Pt.type:String(Pt)));return Ee}function gn(Pt,le){return Pt&&Pt.type===le?Pt:null}function Pn(Pt,le){var Ee=zn(Pt,le);if(!Ee)throw new Error('Expected node of type "atom" and family "'+le+'", but got '+(Pt?Pt.type==="atom"?"atom of family "+Pt.family:"node of type "+Pt.type:String(Pt)));return Ee}function zn(Pt,le){return Pt&&Pt.type==="atom"&&Pt.family===le?Pt:null}function qn(Pt){var le=Yn(Pt);if(!le)throw new Error("Expected node of symbol group type, but got "+(Pt?"node of type "+Pt.type:String(Pt)));return le}function Yn(Pt){return Pt&&(Pt.type==="atom"||tt.hasOwnProperty(Pt.type))?Pt:null}var Vn={number:3,unit:"mu"},An={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:An,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:An,mop:An,mopen:An,minner:An},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:An,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:An,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},_i={},Ci={};function Gn(Pt){for(var le=Pt.type,Ee=Pt.names,Ie=Pt.props,We=Pt.handler,Ct=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:le,numArgs:Ie.numArgs,argTypes:Ie.argTypes,greediness:Ie.greediness===void 0?1:Ie.greediness,allowedInText:!!Ie.allowedInText,allowedInMath:Ie.allowedInMath===void 0?!0:Ie.allowedInMath,numOptionalArgs:Ie.numOptionalArgs||0,infix:!!Ie.infix,handler:We},gr=0;gr<Ee.length;++gr)ta[Ee[gr]]=hr;le&&(Ct&&(_i[le]=Ct),Ut&&(Ci[le]=Ut))}function Oa(Pt){var le=Pt.type,Ee=Pt.htmlBuilder,Ie=Pt.mathmlBuilder;Gn({type:le,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Ee,mathmlBuilder:Ie})}var mn=function(le){var Ee=gn(le,"ordgroup");return Ee?Ee.body:[le]},On=jr.makeSpan,Ln=["leftmost","mbin","mopen","mrel","mop","mpunct"],_n=["rightmost","mrel","mclose","mpunct"],jn={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(le,Ee,Ie,We){We===void 0&&(We=[null,null]);for(var Ct=[],Ut=0;Ut<le.length;Ut++){var hr=Wi(le[Ut],Ee);if(hr instanceof _e){var gr=hr.children;Ct.push.apply(Ct,gr)}else Ct.push(hr)}if(!Ie)return Ct;var Rr=Ee;if(le.length===1){var $r=gn(le[0],"sizing")||gn(le[0],"styling");$r&&($r.type==="sizing"?Rr=Ee.havingSize($r.size):$r.type==="styling"&&(Rr=Ee.havingStyle(jn[$r.style])))}var ln=On([We[0]||"leftmost"],[],Ee),yn=On([We[1]||"rightmost"],[],Ee);return Na(Ct,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&b.contains(_n,wi)?Qn.classes[0]="mord":wi==="mbin"&&b.contains(Ln,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Ct,function(Cn,Qn){var ti=Ba(Qn),wi=Ba(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},yn),Ct},Na=function Pt(le,Ee,Ie,We){We&&le.push(We);for(var Ct=0;Ct<le.length;Ct++){var Ut=le[Ct],hr=Qi(Ut);if(hr){Pt(hr.children,Ee,Ie);continue}if(Ut.classes[0]==="mspace")continue;var gr=Ee(Ut,Ie.node);gr&&(Ie.insertAfter?Ie.insertAfter(gr):(le.unshift(gr),Ct++)),Ie.node=Ut,Ie.insertAfter=function(Rr){return function($r){le.splice(Rr+1,0,$r),Ct++}}(Ct)}We&&le.pop()},Qi=function(le){return le instanceof _e||le instanceof Q?le:null},ma=function Pt(le,Ee){var Ie=Qi(le);if(Ie){var We=Ie.children;if(We.length){if(Ee==="right")return Pt(We[We.length-1],"right");if(Ee==="left")return Pt(We[0],"left")}}return le},Ba=function(le,Ee){return le?(Ee&&(le=ma(le,Ee)),ni[le.classes[0]]||null):null},Qa=function(le,Ee){var Ie=["nulldelimiter"].concat(le.baseSizingClasses());return On(Ee.concat(Ie))},Wi=function(le,Ee,Ie){if(!le)return On();if(_i[le.type]){var We=_i[le.type](le,Ee);if(Ie&&Ee.size!==Ie.size){We=On(Ee.sizingClasses(Ie),[We],Ee);var Ct=Ee.sizeMultiplier/Ie.sizeMultiplier;We.height*=Ct,We.depth*=Ct}return We}else throw new a("Got group of unknown type: '"+le.type+"'")};function Co(Pt,le){var Ee=On(["base"],Pt,le),Ie=On(["strut"]);return Ie.style.height=Ee.height+Ee.depth+"em",Ie.style.verticalAlign=-Ee.depth+"em",Ee.children.unshift(Ie),Ee}function aa(Pt,le){var Ee=null;Pt.length===1&&Pt[0].type==="tag"&&(Ee=Pt[0].tag,Pt=Pt[0].body);for(var Ie=di(Pt,le,!0),We=[],Ct=[],Ut=0;Ut<Ie.length;Ut++)if(Ct.push(Ie[Ut]),Ie[Ut].hasClass("mbin")||Ie[Ut].hasClass("mrel")||Ie[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Ie.length-1&&Ie[Ut+1].hasClass("mspace")&&!Ie[Ut+1].hasClass("newline");)Ut++,Ct.push(Ie[Ut]),Ie[Ut].hasClass("nobreak")&&(hr=!0);hr||(We.push(Co(Ct,le)),Ct=[])}else Ie[Ut].hasClass("newline")&&(Ct.pop(),Ct.length>0&&(We.push(Co(Ct,le)),Ct=[]),We.push(Ie[Ut]));Ct.length>0&&We.push(Co(Ct,le));var gr;Ee&&(gr=Co(di(Ee,le,!0)),gr.classes=["tag"],We.push(gr));var Rr=On(["katex-html"],We);if(Rr.setAttribute("aria-hidden","true"),gr){var $r=gr.children[0];$r.style.height=Rr.height+Rr.depth+"em",$r.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Pt){return new _e(Pt)}var ga=function(){function Pt(Ee,Ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Ee,this.attributes={},this.children=Ie||[]}var le=Pt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.getAttribute=function(Ie){return this.attributes[Ie]},le.toNode=function(){var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Ie.setAttribute(We,this.attributes[We]);for(var Ct=0;Ct<this.children.length;Ct++)Ie.appendChild(this.children[Ct].toNode());return Ie},le.toMarkup=function(){var Ie="<"+this.type;for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+'="',Ie+=b.escape(this.attributes[We]),Ie+='"');Ie+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ie+=this.children[Ct].toMarkup();return Ie+="</"+this.type+">",Ie},le.toText=function(){return this.children.map(function(Ie){return Ie.toText()}).join("")},Pt}(),ha=function(){function Pt(Ee){this.text=void 0,this.text=Ee}var le=Pt.prototype;return le.toNode=function(){return document.createTextNode(this.text)},le.toMarkup=function(){return b.escape(this.toText())},le.toText=function(){return this.text},Pt}(),mo=function(){function Pt(Ee){this.width=void 0,this.character=void 0,this.width=Ee,Ee>=.05555&&Ee<=.05556?this.character="\u200A":Ee>=.1666&&Ee<=.1667?this.character="\u2009":Ee>=.2222&&Ee<=.2223?this.character="\u2005":Ee>=.2777&&Ee<=.2778?this.character="\u2005\u200A":Ee>=-.05556&&Ee<=-.05555?this.character="\u200A\u2063":Ee>=-.1667&&Ee<=-.1666?this.character="\u2009\u2063":Ee>=-.2223&&Ee<=-.2222?this.character="\u205F\u2063":Ee>=-.2778&&Ee<=-.2777?this.character="\u2005\u2063":this.character=null}var le=Pt.prototype;return le.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ie.setAttribute("width",this.width+"em"),Ie},le.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},le.toText=function(){return this.character?this.character:" "},Pt}(),kn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(le,Ee,Ie){return Ve[Ee][le]&&Ve[Ee][le].replace&&le.charCodeAt(0)!==55349&&!(Re.hasOwnProperty(le)&&Ie&&(Ie.fontFamily&&Ie.fontFamily.substr(4,2)==="tt"||Ie.font&&Ie.font.substr(4,2)==="tt"))&&(le=Ve[Ee][le].replace),new kn.TextNode(le)},eo=function(le){return le.length===1?le[0]:new kn.MathNode("mrow",le)},To=function(le,Ee){if(Ee.fontFamily==="texttt")return"monospace";if(Ee.fontFamily==="textsf")return Ee.fontShape==="textit"&&Ee.fontWeight==="textbf"?"sans-serif-bold-italic":Ee.fontShape==="textit"?"sans-serif-italic":Ee.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Ee.fontShape==="textit"&&Ee.fontWeight==="textbf")return"bold-italic";if(Ee.fontShape==="textit")return"italic";if(Ee.fontWeight==="textbf")return"bold";var Ie=Ee.font;if(!Ie||Ie==="mathnormal")return null;var We=le.mode;if(Ie==="mathit")return"italic";if(Ie==="boldsymbol")return"bold-italic";if(Ie==="mathbf")return"bold";if(Ie==="mathbb")return"double-struck";if(Ie==="mathfrak")return"fraktur";if(Ie==="mathscr"||Ie==="mathcal")return"script";if(Ie==="mathsf")return"sans-serif";if(Ie==="mathtt")return"monospace";var Ct=le.text;if(b.contains(["\\imath","\\jmath"],Ct))return null;Ve[We][Ct]&&Ve[We][Ct].replace&&(Ct=Ve[We][Ct].replace);var Ut=jr.fontMap[Ie].fontName;return Ke(Ct,Ut,We)?jr.fontMap[Ie].variant:null},uo=function(le,Ee,Ie){if(le.length===1){var We=Tr(le[0],Ee);return Ie&&We instanceof ga&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var Ct=[],Ut,hr=0;hr<le.length;hr++){var gr=Tr(le[hr],Ee);if(gr instanceof ga&&Ut instanceof ga){if(gr.type==="mtext"&&Ut.type==="mtext"&&gr.getAttribute("mathvariant")===Ut.getAttribute("mathvariant")){var Rr;(Rr=Ut.children).push.apply(Rr,gr.children);continue}else if(gr.type==="mn"&&Ut.type==="mn"){var $r;($r=Ut.children).push.apply($r,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Ut.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var yn;(yn=Ut.children).push.apply(yn,gr.children);continue}}else if(Ut.type==="mi"&&Ut.children.length===1){var Cn=Ut.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Qn=gr.children[0];Qn instanceof ha&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),Ct.pop())}}}Ct.push(gr),Ut=gr}return Ct},rr=function(le,Ee,Ie){return eo(uo(le,Ee,Ie))},Tr=function(le,Ee){if(!le)return new kn.MathNode("mrow");if(Ci[le.type]){var Ie=Ci[le.type](le,Ee);return Ie}else throw new a("Got group of unknown type: '"+le.type+"'")};function Pr(Pt,le,Ee,Ie){var We=uo(Pt,Ee),Ct;We.length===1&&We[0]instanceof ga&&b.contains(["mrow","mtable"],We[0].type)?Ct=We[0]:Ct=new kn.MathNode("mrow",We);var Ut=new kn.MathNode("annotation",[new kn.TextNode(le)]);Ut.setAttribute("encoding","application/x-tex");var hr=new kn.MathNode("semantics",[Ct,Ut]),gr=new kn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Ie?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(le){return new er({style:le.displayMode?H.DISPLAY:H.TEXT,maxSize:le.maxSize,minRuleThickness:le.minRuleThickness})},hn=function(le,Ee){if(Ee.displayMode){var Ie=["katex-display"];Ee.leqno&&Ie.push("leqno"),Ee.fleqn&&Ie.push("fleqn"),le=jr.makeSpan(Ie,[le])}return le},rt=function(le,Ee,Ie){var We=Wr(Ie),Ct;if(Ie.output==="mathml")return Pr(le,Ee,We,!0);if(Ie.output==="html"){var Ut=aa(le,We);Ct=jr.makeSpan(["katex"],[Ut])}else{var hr=Pr(le,Ee,We,!1),gr=aa(le,We);Ct=jr.makeSpan(["katex"],[hr,gr])}return hn(Ct,Ie)},jt=function(le,Ee,Ie){var We=Wr(Ie),Ct=aa(le,We),Ut=jr.makeSpan(["katex"],[Ct]);return hn(Ut,Ie)},Jt=rt,nr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Or=function(le){var Ee=new kn.MathNode("mo",[new kn.TextNode(nr[le.substr(1)])]);return Ee.setAttribute("stretchy","true"),Ee},wr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Er=function(le){return le.type==="ordgroup"?le.body.length:1},zr=function(le,Ee){function Ie(){var gr=4e5,Rr=le.label.substr(1);if(b.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=le,ln=Er($r.base),yn,Cn,Qn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(yn=420,gr=2364,Qn=.42,Cn=Rr+"4"):(yn=312,gr=2340,Qn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],yn=[0,239,300,360,420][ti],Qn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(gr=[0,600,1033,2339,2340][ti],yn=[0,260,286,306,312][ti],Qn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new oe(Cn),ea=new Te([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],Ee),minWidth:0,height:Qn}}else{var ji=[],Sa=wr[Rr],lo=Sa[0],Wa=Sa[1],yo=Sa[2],Ao=yo/1e3,$a=lo.length,Fo,No;if($a===1){var Ha=Sa[3];Fo=["hide-tail"],No=[Ha]}else if($a===2)Fo=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)Fo=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+$a+" children.");for(var jo=0;jo<$a;jo++){var ko=new oe(lo[jo]),Qo=new Te([ko],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([Fo[jo]],[Qo],Ee);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,Ee),minWidth:Wa,height:Ao}}}var We=Ie(),Ct=We.span,Ut=We.minWidth,hr=We.height;return Ct.height=hr,Ct.style.height=hr+"em",Ut>0&&(Ct.style.minWidth=Ut+"em"),Ct},Jr=function(le,Ee,Ie,We){var Ct,Ut=le.height+le.depth+2*Ie;if(/fbox|color/.test(Ee)){if(Ct=jr.makeSpan(["stretchy",Ee],[],We),Ee==="fbox"){var hr=We.color&&We.getColor();hr&&(Ct.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(Ee)&&gr.push(new de({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Ee)&&gr.push(new de({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new Te(gr,{width:"100%",height:Ut+"em"});Ct=jr.makeSvgSpan([],[Rr],We)}return Ct.height=Ut,Ct.style.height=Ut+"em",Ct},Zr={encloseSpan:Jr,mathMLnode:Or,svgSpan:zr},an=function(le,Ee){var Ie,We,Ct=gn(le,"supsub"),Ut;Ct?(We=Tn(Ct.base,"accent"),Ie=We.base,Ct.base=Ie,Ut=Ge(Wi(Ct,Ee)),Ct.base=We):(We=Tn(le,"accent"),Ie=We.base);var hr=Wi(Ie,Ee.havingCrampedStyle()),gr=We.isShifty&&b.isCharacterBox(Ie),Rr=0;if(gr){var $r=b.getBaseElem(Ie),ln=Wi($r,Ee.havingCrampedStyle());Rr=Le(ln).skew}var yn=Math.min(hr.height,Ee.fontMetrics().xHeight),Cn;if(We.isStretchy)Cn=Zr.svgSpan(We,Ee),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Rr>0?{width:"calc(100% - "+2*Rr+"em)",marginLeft:2*Rr+"em"}:void 0}]},Ee);else{var Qn,ti;We.label==="\\vec"?(Qn=jr.staticSvg("vec",Ee),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:We.mode,text:We.label},Ee,"textord"),Qn=Le(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=We.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",We.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},Ee)}var ji=jr.makeSpan(["mord","accent"],[Cn],Ee);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},St=function(le,Ee){var Ie=le.isStretchy?Zr.mathMLnode(le.label):new kn.MathNode("mo",[$i(le.label,le.mode)]),We=new kn.MathNode("mover",[Tr(le.base,Ee),Ie]);return We.setAttribute("accent","true"),We},Vt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Pt){return"\\"+Pt}).join("|"));Gn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(le,Ee){var Ie=Ee[0],We=!Vt.test(le.funcName),Ct=!We||le.funcName==="\\widehat"||le.funcName==="\\widetilde"||le.funcName==="\\widecheck";return{type:"accent",mode:le.parser.mode,label:le.funcName,isStretchy:We,isShifty:Ct,base:Ie}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(le,Ee){var Ie=Ee[0];return{type:"accent",mode:le.parser.mode,label:le.funcName,isStretchy:!1,isShifty:!0,base:Ie}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];return{type:"accentUnder",mode:Ie.mode,label:We,base:Ct}},htmlBuilder:function(le,Ee){var Ie=Wi(le.base,Ee),We=Zr.svgSpan(le,Ee),Ct=le.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:We.height+Ct,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:Ct},{type:"elem",elem:Ie}]},Ee);return jr.makeSpan(["mord","accentunder"],[Ut],Ee)},mathmlBuilder:function(le,Ee){var Ie=Zr.mathMLnode(le.label),We=new kn.MathNode("munder",[Tr(le.base,Ee),Ie]);return We.setAttribute("accentunder","true"),We}});var sr=function(le){var Ee=new kn.MathNode("mpadded",le?[le]:[]);return Ee.setAttribute("width","+0.6em"),Ee.setAttribute("lspace","0.3em"),Ee};Gn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(le,Ee,Ie){var We=le.parser,Ct=le.funcName;return{type:"xArrow",mode:We.mode,label:Ct,body:Ee[0],below:Ie[0]}},htmlBuilder:function(le,Ee){var Ie=Ee.style,We=Ee.havingStyle(Ie.sup()),Ct=jr.wrapFragment(Wi(le.body,We,Ee),Ee);Ct.classes.push("x-arrow-pad");var Ut;le.below&&(We=Ee.havingStyle(Ie.sub()),Ut=jr.wrapFragment(Wi(le.below,We,Ee),Ee),Ut.classes.push("x-arrow-pad"));var hr=Zr.svgSpan(le,Ee),gr=-Ee.fontMetrics().axisHeight+.5*hr.height,Rr=-Ee.fontMetrics().axisHeight-.5*hr.height-.111;(Ct.depth>.25||le.label==="\\xleftequilibrium")&&(Rr-=Ct.depth);var $r;if(Ut){var ln=-Ee.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},Ee)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr}]},Ee);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],Ee)},mathmlBuilder:function(le,Ee){var Ie=Zr.mathMLnode(le.label),We;if(le.body){var Ct=sr(Tr(le.body,Ee));if(le.below){var Ut=sr(Tr(le.below,Ee));We=new kn.MathNode("munderover",[Ie,Ut,Ct])}else We=new kn.MathNode("mover",[Ie,Ct])}else if(le.below){var hr=sr(Tr(le.below,Ee));We=new kn.MathNode("munder",[Ie,hr])}else We=sr(),We=new kn.MathNode("mover",[Ie,We]);return We}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){for(var Ie=le.parser,We=Tn(Ee[0],"ordgroup"),Ct=We.body,Ut="",hr=0;hr<Ct.length;hr++){var gr=Tn(Ct[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new a("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Ie.mode,text:String.fromCharCode(Rr)}}});var br=function(le,Ee){var Ie=di(le.body,Ee.withColor(le.color),!1);return jr.makeFragment(Ie)},Mr=function(le,Ee){var Ie=uo(le.body,Ee.withColor(le.color)),We=new kn.MathNode("mstyle",Ie);return We.setAttribute("mathcolor",le.color),We};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(le,Ee){var Ie=le.parser,We=Tn(Ee[0],"color-token").color,Ct=Ee[1];return{type:"color",mode:Ie.mode,color:We,body:mn(Ct)}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(le,Ee){var Ie=le.parser,We=le.breakOnTokenText,Ct=Tn(Ee[0],"color-token").color;Ie.gullet.macros.set("\\current@color",Ct);var Ut=Ie.parseExpression(!0,We);return{type:"color",mode:Ie.mode,color:Ct,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(le,Ee,Ie){var We=le.parser,Ct=le.funcName,Ut=Ie[0],hr=Ct==="\\cr",gr=!1;return hr||(We.settings.displayMode&&We.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:We.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(le,Ee){if(le.newRow)throw new a("\\cr valid only within a tabular/array environment");var Ie=jr.makeSpan(["mspace"],[],Ee);return le.newLine&&(Ie.classes.push("newline"),le.size&&(Ie.style.marginTop=pt(le.size,Ee)+"em")),Ie},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mspace");return le.newLine&&(Ie.setAttribute("linebreak","newline"),le.size&&Ie.setAttribute("height",pt(le.size,Ee)+"em")),Ie}});var Dr=function(le,Ee,Ie){var We=Ve.math[le]&&Ve.math[le].replace,Ct=Ke(We||le,Ee,Ie);if(!Ct)throw new Error("Unsupported symbol "+le+" and font size "+Ee+".");return Ct},rn=function(le,Ee,Ie,We){var Ct=Ie.havingBaseStyle(Ee),Ut=jr.makeSpan(We.concat(Ct.sizingClasses(Ie)),[le],Ie),hr=Ct.sizeMultiplier/Ie.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Ct.sizeMultiplier,Ut},fn=function(le,Ee,Ie){var We=Ee.havingBaseStyle(Ie),Ct=(1-Ee.sizeMultiplier/We.sizeMultiplier)*Ee.fontMetrics().axisHeight;le.classes.push("delimcenter"),le.style.top=Ct+"em",le.height-=Ct,le.depth+=Ct},wn=function(le,Ee,Ie,We,Ct,Ut){var hr=jr.makeSymbol(le,"Main-Regular",Ct,We),gr=rn(hr,Ee,We,Ut);return Ie&&fn(gr,We,Ee),gr},Hn=function(le,Ee,Ie,We){return jr.makeSymbol(le,"Size"+Ee+"-Regular",Ie,We)},Sn=function(le,Ee,Ie,We,Ct,Ut){var hr=Hn(le,Ee,Ct,We),gr=rn(jr.makeSpan(["delimsizing","size"+Ee],[hr],We),H.TEXT,We,Ut);return Ie&&fn(gr,We,H.TEXT),gr},bn=function(le,Ee,Ie){var We;Ee==="Size1-Regular"?We="delim-size1":We="delim-size4";var Ct=jr.makeSpan(["delimsizinginner",We],[jr.makeSpan([],[jr.makeSymbol(le,Ee,Ie)])]);return{type:"elem",elem:Ct}},Mn={type:"kern",size:-.005},vn=function(le,Ee,Ie,We,Ct,Ut){var hr,gr,Rr,$r;hr=Rr=$r=le,gr=null;var ln="Size1-Regular";le==="\\uparrow"?Rr=$r="\u23D0":le==="\\Uparrow"?Rr=$r="\u2016":le==="\\downarrow"?hr=Rr="\u23D0":le==="\\Downarrow"?hr=Rr="\u2016":le==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):le==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):le==="["||le==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):le==="]"||le==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):le==="\\lfloor"||le==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):le==="\\lceil"||le==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):le==="\\rfloor"||le==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):le==="\\rceil"||le==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):le==="("||le==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):le===")"||le==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):le==="\\{"||le==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):le==="\\}"||le==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):le==="\\lgroup"||le==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):le==="\\rgroup"||le==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):le==="\\lmoustache"||le==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(le==="\\rmoustache"||le==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Ct),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Ct),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Ct),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Ct);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((Ee-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=We.fontMetrics().axisHeight;Ie&&($a*=We.sizeMultiplier);var Fo=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Ct)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));else{for(var ko=0;ko<yo;ko++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(gr,ln,Ct));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(hr,ln,Ct));var wo=We.havingBaseStyle(H.TEXT),us=jr.makeVList({positionType:"bottom",positionData:Fo,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[us],wo),H.TEXT,We,Ut)},Rn=80,En=.08,In=function(le,Ee,Ie,We,Ct){var Ut=Qe(le,We,Ie),hr=new oe(le,Ut),gr=new Te([hr],{width:"400em",height:Ee+"em",viewBox:"0 0 400000 "+Ie,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Ct)},Xn=function(le,Ee){var Ie=Ee.havingBaseSizing(),We=Ui("\\surd",le*Ie.sizeMultiplier,Ri,Ie),Ct=Ie.sizeMultiplier,Ut=Math.max(0,Ee.minRuleThickness-Ee.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return We.type==="small"?($r=1e3+1e3*Ut+Rn,le<1?Ct=1:le<1.4&&(Ct=.7),gr=(1+Ut+En)/Ct,Rr=(1+Ut)/Ct,hr=In("sqrtMain",gr,$r,Ut,Ee),hr.style.minWidth="0.853em",ln=.833/Ct):We.type==="large"?($r=(1e3+Rn)*yi[We.size],Rr=(yi[We.size]+Ut)/Ct,gr=(yi[We.size]+Ut+En)/Ct,hr=In("sqrtSize"+We.size,gr,$r,Ut,Ee),hr.style.minWidth="1.02em",ln=1/Ct):(gr=le+Ut+En,Rr=le+Ut,$r=Math.floor(1e3*le+Ut)+Rn,hr=In("sqrtTall",gr,$r,Ut,Ee),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(Ee.fontMetrics().sqrtRuleThickness+Ut)*Ct}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Di=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yi=[0,1.2,1.8,2.4,3],xi=function(le,Ee,Ie,We,Ct){if(le==="<"||le==="\\lt"||le==="\u27E8"?le="\\langle":(le===">"||le==="\\gt"||le==="\u27E9")&&(le="\\rangle"),b.contains(ai,le)||b.contains(Di,le))return Sn(le,Ee,!1,Ie,We,Ct);if(b.contains(ri,le))return vn(le,yi[Ee],!1,Ie,We,Ct);throw new a("Illegal delimiter: '"+le+"'")},Li=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Un=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Ri=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=function(le){if(le.type==="small")return"Main-Regular";if(le.type==="large")return"Size"+le.size+"-Regular";if(le.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+le.type+"' here.")},Ui=function(le,Ee,Ie,We){for(var Ct=Math.min(2,3-We.style.size),Ut=Ct;Ut<Ie.length&&!(Ie[Ut].type==="stack");Ut++){var hr=Dr(le,fa(Ie[Ut]),"math"),gr=hr.height+hr.depth;if(Ie[Ut].type==="small"){var Rr=We.havingBaseStyle(Ie[Ut].style);gr*=Rr.sizeMultiplier}if(gr>Ee)return Ie[Ut]}return Ie[Ie.length-1]},Mi=function(le,Ee,Ie,We,Ct,Ut){le==="<"||le==="\\lt"||le==="\u27E8"?le="\\langle":(le===">"||le==="\\gt"||le==="\u27E9")&&(le="\\rangle");var hr;b.contains(Di,le)?hr=Li:b.contains(ai,le)?hr=Ri:hr=Un;var gr=Ui(le,Ee,hr,We);return gr.type==="small"?wn(le,gr.style,Ie,We,Ct,Ut):gr.type==="large"?Sn(le,gr.size,Ie,We,Ct,Ut):vn(le,Ee,Ie,We,Ct,Ut)},mi=function(le,Ee,Ie,We,Ct,Ut){var hr=We.fontMetrics().axisHeight*We.sizeMultiplier,gr=901,Rr=5/We.fontMetrics().ptPerEm,$r=Math.max(Ee-hr,Ie+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(le,ln,!0,We,Ct,Ut)},hi={sqrtImage:Xn,sizedDelim:xi,customSizedDelim:Mi,leftRightDelim:mi},qi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Pt,le){var Ee=Yn(Pt);if(Ee&&b.contains(va,Ee.text))return Ee;throw new a("Invalid delimiter: '"+(Ee?Ee.text:JSON.stringify(Pt))+"' after '"+le.funcName+"'",Pt)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(le,Ee){var Ie=Ea(Ee[0],le);return{type:"delimsizing",mode:le.parser.mode,size:qi[le.funcName].size,mclass:qi[le.funcName].mclass,delim:Ie.text}},htmlBuilder:function(le,Ee){return le.delim==="."?jr.makeSpan([le.mclass]):hi.sizedDelim(le.delim,le.size,Ee,le.mode,[le.mclass])},mathmlBuilder:function(le){var Ee=[];le.delim!=="."&&Ee.push($i(le.delim,le.mode));var Ie=new kn.MathNode("mo",Ee);return le.mclass==="mopen"||le.mclass==="mclose"?Ie.setAttribute("fence","true"):Ie.setAttribute("fence","false"),Ie}});function ya(Pt){if(!Pt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser.gullet.macros.get("\\current@color");if(Ie&&typeof Ie!="string")throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:le.parser.mode,delim:Ea(Ee[0],le).text,color:Ie}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(le,Ee){var Ie=Ea(Ee[0],le),We=le.parser;++We.leftrightDepth;var Ct=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Ut=Tn(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:Ct,left:Ie.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(le,Ee){ya(le);for(var Ie=di(le.body,Ee,!0,["mopen","mclose"]),We=0,Ct=0,Ut=!1,hr=0;hr<Ie.length;hr++)Ie[hr].isMiddle?Ut=!0:(We=Math.max(Ie[hr].height,We),Ct=Math.max(Ie[hr].depth,Ct));We*=Ee.sizeMultiplier,Ct*=Ee.sizeMultiplier;var gr;if(le.left==="."?gr=Qa(Ee,["mopen"]):gr=hi.leftRightDelim(le.left,We,Ct,Ee,le.mode,["mopen"]),Ie.unshift(gr),Ut)for(var Rr=1;Rr<Ie.length;Rr++){var $r=Ie[Rr],ln=$r.isMiddle;ln&&(Ie[Rr]=hi.leftRightDelim(ln.delim,We,Ct,ln.options,le.mode,[]))}var yn;if(le.right===".")yn=Qa(Ee,["mclose"]);else{var Cn=le.rightColor?Ee.withColor(le.rightColor):Ee;yn=hi.leftRightDelim(le.right,We,Ct,Cn,le.mode,["mclose"])}return Ie.push(yn),jr.makeSpan(["minner"],Ie,Ee)},mathmlBuilder:function(le,Ee){ya(le);var Ie=uo(le.body,Ee);if(le.left!=="."){var We=new kn.MathNode("mo",[$i(le.left,le.mode)]);We.setAttribute("fence","true"),Ie.unshift(We)}if(le.right!=="."){var Ct=new kn.MathNode("mo",[$i(le.right,le.mode)]);Ct.setAttribute("fence","true"),le.rightColor&&Ct.setAttribute("mathcolor",le.rightColor),Ie.push(Ct)}return eo(Ie)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(le,Ee){var Ie=Ea(Ee[0],le);if(!le.parser.leftrightDepth)throw new a("\\middle without preceding \\left",Ie);return{type:"middle",mode:le.parser.mode,delim:Ie.text}},htmlBuilder:function(le,Ee){var Ie;if(le.delim===".")Ie=Qa(Ee,[]);else{Ie=hi.sizedDelim(le.delim,1,Ee,le.mode,[]);var We={delim:le.delim,options:Ee};Ie.isMiddle=We}return Ie},mathmlBuilder:function(le,Ee){var Ie=le.delim==="\\vert"||le.delim==="|"?$i("|","text"):$i(le.delim,le.mode),We=new kn.MathNode("mo",[Ie]);return We.setAttribute("fence","true"),We.setAttribute("lspace","0.05em"),We.setAttribute("rspace","0.05em"),We}});var oa=function(le,Ee){var Ie=jr.wrapFragment(Wi(le.body,Ee),Ee),We=le.label.substr(1),Ct=Ee.sizeMultiplier,Ut,hr=0,gr=b.isCharacterBox(le.body);if(We==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=Ee.fontMetrics().defaultRuleThickness/Ct,hr=-.5*Ee.fontMetrics().xHeight;else{/cancel/.test(We)?gr||Ie.classes.push("cancel-pad"):Ie.classes.push("boxpad");var Rr=0,$r=0;/box/.test(We)?($r=Math.max(Ee.fontMetrics().fboxrule,Ee.minRuleThickness),Rr=Ee.fontMetrics().fboxsep+(We==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Zr.encloseSpan(Ie,We,Rr,Ee),/fbox|boxed|fcolorbox/.test(We)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Ie.depth+Rr,le.backgroundColor&&(Ut.style.backgroundColor=le.backgroundColor,le.borderColor&&(Ut.style.borderColor=le.borderColor))}var ln;return le.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Ie,shift:0}]},Ee):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ie,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(We)?["svg-align"]:[]}]},Ee),/cancel/.test(We)&&(ln.height=Ie.height,ln.depth=Ie.depth),/cancel/.test(We)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],Ee):jr.makeSpan(["mord"],[ln],Ee)},sa=function(le,Ee){var Ie=0,We=new kn.MathNode(le.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(le.body,Ee)]);switch(le.label){case"\\cancel":We.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":We.setAttribute("notation","downdiagonalstrike");break;case"\\sout":We.setAttribute("notation","horizontalstrike");break;case"\\fbox":We.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ie=Ee.fontMetrics().fboxsep*Ee.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Ie+"pt"),We.setAttribute("height","+"+2*Ie+"pt"),We.setAttribute("lspace",Ie+"pt"),We.setAttribute("voffset",Ie+"pt"),le.label==="\\fcolorbox"){var Ct=Math.max(Ee.fontMetrics().fboxrule,Ee.minRuleThickness);We.setAttribute("style","border: "+Ct+"em solid "+String(le.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return le.backgroundColor&&We.setAttribute("mathbackground",le.backgroundColor),We};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(le,Ee,Ie){var We=le.parser,Ct=le.funcName,Ut=Tn(Ee[0],"color-token").color,hr=Ee[1];return{type:"enclose",mode:We.mode,label:Ct,backgroundColor:Ut,body:hr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(le,Ee,Ie){var We=le.parser,Ct=le.funcName,Ut=Tn(Ee[0],"color-token").color,hr=Tn(Ee[1],"color-token").color,gr=Ee[2];return{type:"enclose",mode:We.mode,label:Ct,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(le,Ee){var Ie=le.parser;return{type:"enclose",mode:Ie.mode,label:"\\fbox",body:Ee[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(le,Ee,Ie){var We=le.parser,Ct=le.funcName,Ut=Ee[0];return{type:"enclose",mode:We.mode,label:Ct,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Pt){for(var le=Pt.type,Ee=Pt.names,Ie=Pt.props,We=Pt.handler,Ct=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:le,numArgs:Ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},gr=0;gr<Ee.length;++gr)Ni[Ee[gr]]=hr;Ct&&(_i[le]=Ct),Ut&&(Ci[le]=Ut)}function Ai(Pt){var le=[];Pt.consumeSpaces();for(var Ee=Pt.fetch().text;Ee==="\\hline"||Ee==="\\hdashline";)Pt.consume(),le.push(Ee==="\\hdashline"),Pt.consumeSpaces(),Ee=Pt.fetch().text;return le}function Ii(Pt,le,Ee){var Ie=le.hskipBeforeAndAfter,We=le.addJot,Ct=le.cols,Ut=le.arraystretch,hr=le.colSeparationType;if(Pt.gullet.beginGroup(),Pt.gullet.macros.set("\\\\","\\cr"),!Ut){var gr=Pt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Ut=1;else if(Ut=parseFloat(gr),!Ut||Ut<0)throw new a("Invalid \\arraystretch: "+gr)}Pt.gullet.beginGroup();var Rr=[],$r=[Rr],ln=[],yn=[];for(yn.push(Ai(Pt));;){var Cn=Pt.parseExpression(!1,"\\cr");Pt.gullet.endGroup(),Pt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Pt.mode,body:Cn},Ee&&(Cn={type:"styling",mode:Pt.mode,style:Ee,body:[Cn]}),Rr.push(Cn);var Qn=Pt.fetch().text;if(Qn==="&")Pt.consume();else if(Qn==="\\end"){Rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&$r.pop(),yn.length<$r.length+1&&yn.push([]);break}else if(Qn==="\\cr"){var ti=Tn(Pt.parseFunction(),"cr");ln.push(ti.size),yn.push(Ai(Pt)),Rr=[],$r.push(Rr)}else throw new a("Expected & or \\\\ or \\cr or \\end",Pt.nextToken)}return Pt.gullet.endGroup(),Pt.gullet.endGroup(),{type:"array",mode:Pt.mode,addJot:We,arraystretch:Ut,body:$r,cols:Ct,rowGaps:ln,hskipBeforeAndAfter:Ie,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Pt){return Pt.substr(0,1)==="d"?"display":"text"}var Xi=function(le,Ee){var Ie,We,Ct=le.body.length,Ut=le.hLinesBeforeRow,hr=0,gr=new Array(Ct),Rr=[],$r=Math.max(Ee.fontMetrics().arrayRuleWidth,Ee.minRuleThickness),ln=1/Ee.fontMetrics().ptPerEm,yn=5*ln;if(le.colSeparationType&&le.colSeparationType==="small"){var Cn=Ee.havingStyle(H.SCRIPT).sizeMultiplier;yn=.2778*(Cn/Ee.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=le.arraystretch*Qn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ua=0;ua<bs.length;++ua)ua>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ua]})}for(lo(Ut[0]),Ie=0;Ie<le.body.length;++Ie){var Wa=le.body[Ie],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(We=0;We<Wa.length;++We){var Fo=Wi(Wa[We],Ee);Ao<Fo.depth&&(Ao=Fo.depth),yo<Fo.height&&(yo=Fo.height),$a[We]=Fo}var No=le.rowGaps[Ie],Ha=0;No&&(Ha=pt(No,Ee),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),le.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Ie]=$a,lo(Ut[Ie+1])}var jo=Sa/2+Ee.fontMetrics().axisHeight,ko=le.cols||[],Qo=[],wo,us;for(We=0,us=0;We<hr||us<ko.length;++We,++us){for(var ns=ko[us]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Ee.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Ys=ns.separator==="|"?"solid":"dashed",Yo=jr.makeSpan(["vertical-separator"],[],Ee);Yo.style.height=Sa+"em",Yo.style.borderRightWidth=$r+"em",Yo.style.borderRightStyle=Ys,Yo.style.margin="0 -"+$r/2+"em",Yo.style.verticalAlign=-(Sa-jo)+"em",Qo.push(Yo)}else throw new a("Invalid separator type: "+ns.separator);us++,ns=ko[us]||{},Xs=!1}if(We>=hr)continue;var Eo=void 0;(We>0||le.hskipBeforeAndAfter)&&(Eo=b.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Ie=0;Ie<Ct;++Ie){var hs=gr[Ie],Rs=hs[We];if(!Rs)continue;var Do=hs.pos-jo;Rs.depth=hs.depth,Rs.height=hs.height,ds.push({type:"elem",elem:Rs,shift:Do})}ds=jr.makeVList({positionType:"individualShift",children:ds},Ee),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(We<hr-1||le.hskipBeforeAndAfter)&&(Eo=b.deflt(ns.postgap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)))}if(gr=jr.makeSpan(["mtable"],Qo),Rr.length>0){for(var ys=jr.makeLineSpan("hline",Ee,$r),Ms=jr.makeLineSpan("hdashline",Ee,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var Fs=Rr.pop(),Hs=Fs.pos-jo;Fs.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},Ee)}return jr.makeSpan(["mord"],[gr],Ee)},bi={c:"center ",l:"left ",r:"right "},Aa=function(le,Ee){var Ie=new kn.MathNode("mtable",le.body.map(function(Sa){return new kn.MathNode("mtr",Sa.map(function(lo){return new kn.MathNode("mtd",[Tr(lo,Ee)])}))})),We=le.arraystretch===.5?.1:.16+le.arraystretch-1+(le.addJot?.09:0);Ie.setAttribute("rowspacing",We+"em");var Ct="",Ut="";if(le.cols){var hr=le.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Ct+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Ct+="bottom ",ln-=1);for(var yn=$r;yn<ln;yn++)hr[yn].type==="align"?(Ut+=bi[hr[yn].align],Rr&&(gr+="none "),Rr=!0):hr[yn].type==="separator"&&(Rr&&(gr+=hr[yn].separator==="|"?"solid ":"dashed ",Rr=!1));Ie.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Ie.setAttribute("columnlines",gr.trim())}if(le.colSeparationType==="align"){for(var Cn=le.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Ie.setAttribute("columnspacing",Qn.trim())}else le.colSeparationType==="alignat"?Ie.setAttribute("columnspacing","0em"):le.colSeparationType==="small"?Ie.setAttribute("columnspacing","0.2778em"):Ie.setAttribute("columnspacing","1em");var wi="",ea=le.hLinesBeforeRow;Ct+=ea[0].length>0?"left ":"",Ct+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&Ie.setAttribute("rowlines",wi.trim()),Ct!==""&&(Ie=new kn.MathNode("menclose",[Ie]),Ie.setAttribute("notation",Ct.trim())),le.arraystretch&&le.arraystretch<1&&(Ie=new kn.MathNode("mstyle",[Ie]),Ie.setAttribute("scriptlevel","1")),Ie},ca=function(le,Ee){var Ie=[],We=Ii(le.parser,{cols:Ie,addJot:!0},"display"),Ct,Ut=0,hr={type:"ordgroup",mode:le.mode,body:[]},gr=gn(Ee[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Ct=Number(Rr),Ut=Ct*2}var yn=!Ut;We.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Tn(wi[ea],"styling"),Sa=Tn(ji.body[0],"ordgroup");Sa.body.unshift(hr)}if(yn)Ut<wi.length&&(Ut=wi.length);else{var lo=wi.length/2;if(Ct<lo)throw new a("Too many math in a row: "+("expected "+Ct+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Ut;++Cn){var Qn="r",ti=0;Cn%2===1?Qn="l":Cn>0&&yn&&(ti=1),Ie[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return We.colSeparationType=yn?"align":"alignat",We};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(le,Ee){var Ie=Yn(Ee[0]),We=Ie?[Ee[0]]:Tn(Ee[0],"ordgroup").body,Ct=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+Rr,hr)}),Ut={cols:Ct,hskipBeforeAndAfter:!0};return Ii(le.parser,Ut,Vi(le.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(le){var Ee={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[le.envName],Ie={hskipBeforeAndAfter:!1},We=Ii(le.parser,Ie,Vi(le.envName));return Ee?{type:"leftright",mode:le.mode,body:[We],left:Ee[0],right:Ee[1],rightColor:void 0}:We},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(le){var Ee={arraystretch:.5},Ie=Ii(le.parser,Ee,"script");return Ie.colSeparationType="small",Ie},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(le,Ee){var Ie=Yn(Ee[0]),We=Ie?[Ee[0]]:Tn(Ee[0],"ordgroup").body,Ct=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new a("Unknown column alignment: "+Rr,hr)});if(Ct.length>1)throw new a("{subarray} can contain only one column");var Ut={cols:Ct,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=Ii(le.parser,Ut,"script"),Ut.body[0].length>1)throw new a("{subarray} can contain only one column");return Ut},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(le){var Ee={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ie=Ii(le.parser,Ee,Vi(le.envName));return{type:"leftright",mode:le.mode,body:[Ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["aligned"],props:{numArgs:0},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(le){var Ee={cols:[{type:"align",align:"c"}],addJot:!0};return Ii(le.parser,Ee,"display")},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["alignedat"],props:{numArgs:1},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(le,Ee){throw new a(le.funcName+" valid only within array environment")}});var la=Ni,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];if(Ct.type!=="ordgroup")throw new a("Invalid environment name",Ct);for(var Ut="",hr=0;hr<Ct.body.length;++hr)Ut+=Tn(Ct.body[hr],"textord").text;if(We==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new a("No such environment: "+Ut,Ct);var gr=gi[Ut],Rr=Ie.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Ie.mode,envName:Ut,parser:Ie},Cn=gr.handler(yn,$r,ln);Ie.expect("\\end",!1);var Qn=Ie.nextToken,ti=Tn(Ie.parseFunction(),"environment");if(ti.name!==Ut)throw new a("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Ie.mode,name:Ut,nameGroup:Ct}}});var Pa=jr.makeSpan;function Ma(Pt,le){var Ee=di(Pt.body,le,!0);return Pa([Pt.mclass],Ee,le)}function ra(Pt,le){var Ee,Ie=uo(Pt.body,le);return Pt.mclass==="minner"?kn.newDocumentFragment(Ie):(Pt.mclass==="mord"?Pt.isCharacterBox?(Ee=Ie[0],Ee.type="mi"):Ee=new kn.MathNode("mi",Ie):(Pt.isCharacterBox?(Ee=Ie[0],Ee.type="mo"):Ee=new kn.MathNode("mo",Ie),Pt.mclass==="mbin"?(Ee.attributes.lspace="0.22em",Ee.attributes.rspace="0.22em"):Pt.mclass==="mpunct"?(Ee.attributes.lspace="0em",Ee.attributes.rspace="0.17em"):(Pt.mclass==="mopen"||Pt.mclass==="mclose")&&(Ee.attributes.lspace="0em",Ee.attributes.rspace="0em")),Ee)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];return{type:"mclass",mode:Ie.mode,mclass:"m"+We.substr(5),body:mn(Ct),isCharacterBox:b.isCharacterBox(Ct)}},htmlBuilder:Ma,mathmlBuilder:ra});var Yi=function(le){var Ee=le.type==="ordgroup"&&le.body.length?le.body[0]:le;return Ee.type==="atom"&&(Ee.family==="bin"||Ee.family==="rel")?"m"+Ee.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(le,Ee){var Ie=le.parser;return{type:"mclass",mode:Ie.mode,mclass:Yi(Ee[0]),body:[Ee[1]],isCharacterBox:b.isCharacterBox(Ee[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[1],Ut=Ee[0],hr;We!=="\\stackrel"?hr=Yi(Ct):hr="mrel";var gr={type:"op",mode:Ct.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:We!=="\\stackrel",body:mn(Ct)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:We==="\\underset"?null:Ut,sub:We==="\\underset"?Ut:null};return{type:"mclass",mode:Ie.mode,mclass:hr,body:[Rr],isCharacterBox:b.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(le,Ee){var Ie=le.font,We=Ee.withFont(Ie);return Wi(le.body,We)},Ki=function(le,Ee){var Ie=le.font,We=Ee.withFont(Ie);return Tr(le.body,We)},zi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0],Ut=We;return Ut in zi&&(Ut=zi[Ut]),{type:"font",mode:Ie.mode,font:Ut.slice(1),body:Ct}},htmlBuilder:Xa,mathmlBuilder:Ki}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(le,Ee){var Ie=le.parser,We=Ee[0],Ct=b.isCharacterBox(We);return{type:"mclass",mode:Ie.mode,mclass:Yi(We),body:[{type:"font",mode:Ie.mode,font:"boldsymbol",body:We}],isCharacterBox:Ct}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=le.breakOnTokenText,Ut=Ie.mode,hr=Ie.parseExpression(!0,Ct),gr="math"+We.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Ie.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:Ki});var ba=function(le,Ee){var Ie=Ee;return le==="display"?Ie=Ie.id>=H.SCRIPT.id?Ie.text():H.DISPLAY:le==="text"&&Ie.size===H.DISPLAY.size?Ie=H.TEXT:le==="script"?Ie=H.SCRIPT:le==="scriptscript"&&(Ie=H.SCRIPTSCRIPT),Ie},Ua=function(le,Ee){var Ie=ba(le.size,Ee.style),We=Ie.fracNum(),Ct=Ie.fracDen(),Ut;Ut=Ee.havingStyle(We);var hr=Wi(le.numer,Ut,Ee);if(le.continued){var gr=8.5/Ee.fontMetrics().ptPerEm,Rr=3.5/Ee.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=Ee.havingStyle(Ct);var $r=Wi(le.denom,Ut,Ee),ln,yn,Cn;le.hasBarLine?(le.barSize?(yn=pt(le.barSize,Ee),ln=jr.makeLineSpan("frac-line",Ee,yn)):ln=jr.makeLineSpan("frac-line",Ee),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=Ee.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Ie.size===H.DISPLAY.size||le.size==="display"?(Qn=Ee.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=Ee.fontMetrics().denom1):(yn>0?(Qn=Ee.fontMetrics().num2,ti=Cn):(Qn=Ee.fontMetrics().num3,ti=3*Cn),wi=Ee.fontMetrics().denom2);var ea;if(ln){var Sa=Ee.fontMetrics().axisHeight;Qn-hr.depth-(Sa+.5*yn)<ti&&(Qn+=ti-(Qn-hr.depth-(Sa+.5*yn))),Sa-.5*yn-($r.height-wi)<ti&&(wi+=ti-(Sa-.5*yn-($r.height-wi)));var lo=-(Sa-.5*yn);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:hr,shift:-Qn}]},Ee)}else{var ji=Qn-hr.depth-($r.height-wi);ji<ti&&(Qn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:hr,shift:-Qn}]},Ee)}Ut=Ee.havingStyle(Ie),ea.height*=Ut.sizeMultiplier/Ee.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/Ee.sizeMultiplier;var Wa;Ie.size===H.DISPLAY.size?Wa=Ee.fontMetrics().delim1:Wa=Ee.fontMetrics().delim2;var yo,Ao;return le.leftDelim==null?yo=Qa(Ee,["mopen"]):yo=hi.customSizedDelim(le.leftDelim,Wa,!0,Ee.havingStyle(Ie),le.mode,["mopen"]),le.continued?Ao=jr.makeSpan([]):le.rightDelim==null?Ao=Qa(Ee,["mclose"]):Ao=hi.customSizedDelim(le.rightDelim,Wa,!0,Ee.havingStyle(Ie),le.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(Ee)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],Ee)},wa=function(le,Ee){var Ie=new kn.MathNode("mfrac",[Tr(le.numer,Ee),Tr(le.denom,Ee)]);if(!le.hasBarLine)Ie.setAttribute("linethickness","0px");else if(le.barSize){var We=pt(le.barSize,Ee);Ie.setAttribute("linethickness",We+"em")}var Ct=ba(le.size,Ee.style);if(Ct.size!==Ee.style.size){Ie=new kn.MathNode("mstyle",[Ie]);var Ut=Ct.size===H.DISPLAY.size?"true":"false";Ie.setAttribute("displaystyle",Ut),Ie.setAttribute("scriptlevel","0")}if(le.leftDelim!=null||le.rightDelim!=null){var hr=[];if(le.leftDelim!=null){var gr=new kn.MathNode("mo",[new kn.TextNode(le.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Ie),le.rightDelim!=null){var Rr=new kn.MathNode("mo",[new kn.TextNode(le.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Ie};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0],Ut=Ee[1],hr,gr=null,Rr=null,$r="auto";switch(We){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,gr="(",Rr=")";break;case"\\\\bracefrac":hr=!1,gr="\\{",Rr="\\}";break;case"\\\\brackfrac":hr=!1,gr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(We){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Ie.mode,continued:We==="\\cfrac",numer:Ct,denom:Ut,hasBarLine:hr,leftDelim:gr,rightDelim:Rr,size:$r,barSize:null}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(le){var Ee=le.parser,Ie=le.funcName,We=le.token,Ct;switch(Ie){case"\\over":Ct="\\frac";break;case"\\choose":Ct="\\binom";break;case"\\atop":Ct="\\\\atopfrac";break;case"\\brace":Ct="\\\\bracefrac";break;case"\\brack":Ct="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Ee.mode,replaceWith:Ct,token:We}}});var vi=["display","text","script","scriptscript"],Ya=function(le){var Ee=null;return le.length>0&&(Ee=le,Ee=Ee==="."?null:Ee),Ee};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(le,Ee){var Ie=le.parser,We=Ee[4],Ct=Ee[5],Ut=gn(Ee[0],"atom");Ut&&(Ut=Pn(Ee[0],"open"));var hr=Ut?Ya(Ut.text):null,gr=gn(Ee[1],"atom");gr&&(gr=Pn(Ee[1],"close"));var Rr=gr?Ya(gr.text):null,$r=Tn(Ee[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(Ee[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(Ee[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Ie.mode,numer:We,denom:Ct,continued:!1,hasBarLine:ln,barSize:yn,leftDelim:hr,rightDelim:Rr,size:Cn}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=le.token;return{type:"infix",mode:Ie.mode,replaceWith:"\\\\abovefrac",size:Tn(Ee[0],"size").value,token:Ct}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0],Ut=p(Tn(Ee[1],"infix").size),hr=Ee[2],gr=Ut.number>0;return{type:"genfrac",mode:Ie.mode,numer:Ct,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var Ka=function(le,Ee){var Ie=Ee.style,We,Ct,Ut=gn(le,"supsub");Ut?(We=Ut.sup?Wi(Ut.sup,Ee.havingStyle(Ie.sup()),Ee):Wi(Ut.sub,Ee.havingStyle(Ie.sub()),Ee),Ct=Tn(Ut.base,"horizBrace")):Ct=Tn(le,"horizBrace");var hr=Wi(Ct.base,Ee.havingBaseStyle(H.DISPLAY)),gr=Zr.svgSpan(Ct,Ee),Rr;if(Ct.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},Ee),Rr.children[0].children[0].children[1].classes.push("svg-align")):(Rr=jr.makeVList({positionType:"bottom",positionData:hr.depth+.1+gr.height,children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:hr}]},Ee),Rr.children[0].children[0].children[0].classes.push("svg-align")),We){var $r=jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Ee);Ct.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:We}]},Ee):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:$r}]},Ee)}return jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Ee)},pa=function(le,Ee){var Ie=Zr.mathMLnode(le.label);return new kn.MathNode(le.isOver?"mover":"munder",[Tr(le.base,Ee),Ie])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=le.funcName;return{type:"horizBrace",mode:Ie.mode,label:We,isOver:/^\\over/.test(We),base:Ee[0]}},htmlBuilder:Ka,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Ee[1],Ct=Tn(Ee[0],"url").url;return Ie.settings.isTrusted({command:"\\href",url:Ct})?{type:"href",mode:Ie.mode,href:Ct,body:mn(We)}:Ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(le,Ee){var Ie=di(le.body,Ee,!1);return jr.makeAnchor(le.href,[],Ie,Ee)},mathmlBuilder:function(le,Ee){var Ie=rr(le.body,Ee);return Ie instanceof ga||(Ie=new ga("mrow",[Ie])),Ie.setAttribute("href",le.href),Ie}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Tn(Ee[0],"url").url;if(!Ie.settings.isTrusted({command:"\\url",url:We}))return Ie.formatUnsupportedCmd("\\url");for(var Ct=[],Ut=0;Ut<We.length;Ut++){var hr=We[Ut];hr==="~"&&(hr="\\textasciitilde"),Ct.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Ie.mode,font:"\\texttt",body:Ct};return{type:"href",mode:Ie.mode,href:We,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser;return{type:"htmlmathml",mode:Ie.mode,html:mn(Ee[0]),mathml:mn(Ee[1])}},htmlBuilder:function(le,Ee){var Ie=di(le.html,Ee,!1);return jr.makeFragment(Ie)},mathmlBuilder:function(le,Ee){return rr(le.mathml,Ee)}});var Oi=function(le){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(le))return{number:+le,unit:"bp"};var Ee=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(le);if(!Ee)throw new a("Invalid size: '"+le+"' in \\includegraphics");var Ie={number:+(Ee[1]+Ee[2]),unit:Ee[3]};if(!ut(Ie))throw new a("Invalid unit: '"+Ie.unit+"' in \\includegraphics.");return Ie};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(le,Ee,Ie){var We=le.parser,Ct={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Ie[0])for(var Rr=Tn(Ie[0],"raw").string,$r=Rr.split(","),ln=0;ln<$r.length;ln++){var yn=$r[ln].split("=");if(yn.length===2){var Cn=yn[1].trim();switch(yn[0].trim()){case"alt":gr=Cn;break;case"width":Ct=Oi(Cn);break;case"height":Ut=Oi(Cn);break;case"totalheight":hr=Oi(Cn);break;default:throw new a("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(Ee[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),We.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:We.mode,alt:gr,width:Ct,height:Ut,totalheight:hr,src:Qn}:We.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(le,Ee){var Ie=pt(le.height,Ee),We=0;le.totalheight.number>0&&(We=pt(le.totalheight,Ee)-Ie,We=Number(We.toFixed(2)));var Ct=0;le.width.number>0&&(Ct=pt(le.width,Ee));var Ut={height:Ie+We+"em"};Ct>0&&(Ut.width=Ct+"em"),We>0&&(Ut.verticalAlign=-We+"em");var hr=new ye(le.src,le.alt,Ut);return hr.height=Ie,hr.depth=We,hr},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mglyph",[]);Ie.setAttribute("alt",le.alt);var We=pt(le.height,Ee),Ct=0;if(le.totalheight.number>0&&(Ct=pt(le.totalheight,Ee)-We,Ct=Ct.toFixed(2),Ie.setAttribute("valign","-"+Ct+"em")),Ie.setAttribute("height",We+Ct+"em"),le.width.number>0){var Ut=pt(le.width,Ee);Ie.setAttribute("width",Ut+"em")}return Ie.setAttribute("src",le.src),Ie}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Tn(Ee[0],"size");if(Ie.settings.strict){var Ut=We[1]==="m",hr=Ct.value.unit==="mu";Ut?(hr||Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+Ct.value.unit+" units")),Ie.mode!=="math"&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):hr&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Ie.mode,dimension:Ct.value}},htmlBuilder:function(le,Ee){return jr.makeGlue(le.dimension,Ee)},mathmlBuilder:function(le,Ee){var Ie=pt(le.dimension,Ee);return new kn.SpaceNode(Ie)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];return{type:"lap",mode:Ie.mode,alignment:We.slice(5),body:Ct}},htmlBuilder:function(le,Ee){var Ie;le.alignment==="clap"?(Ie=jr.makeSpan([],[Wi(le.body,Ee)]),Ie=jr.makeSpan(["inner"],[Ie],Ee)):Ie=jr.makeSpan(["inner"],[Wi(le.body,Ee)]);var We=jr.makeSpan(["fix"],[]),Ct=jr.makeSpan([le.alignment],[Ie,We],Ee),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Ct.height+Ct.depth+"em",Ut.style.verticalAlign=-Ct.depth+"em",Ct.children.unshift(Ut),Ct=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct}]},Ee),jr.makeSpan(["mord"],[Ct],Ee)},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mpadded",[Tr(le.body,Ee)]);if(le.alignment!=="rlap"){var We=le.alignment==="llap"?"-1":"-0.5";Ie.setAttribute("lspace",We+"width")}return Ie.setAttribute("width","0px"),Ie}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(le,Ee){var Ie=le.funcName,We=le.parser,Ct=We.mode;We.switchMode("math");var Ut=Ie==="\\("?"\\)":"$",hr=We.parseExpression(!1,Ut);return We.expect(Ut),We.switchMode(Ct),{type:"styling",mode:We.mode,style:"text",body:hr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(le,Ee){throw new a("Mismatched "+le.funcName)}});var So=function(le,Ee){switch(Ee.style.size){case H.DISPLAY.size:return le.display;case H.TEXT.size:return le.text;case H.SCRIPT.size:return le.script;case H.SCRIPTSCRIPT.size:return le.scriptscript;default:return le.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(le,Ee){var Ie=le.parser;return{type:"mathchoice",mode:Ie.mode,display:mn(Ee[0]),text:mn(Ee[1]),script:mn(Ee[2]),scriptscript:mn(Ee[3])}},htmlBuilder:function(le,Ee){var Ie=So(le,Ee),We=di(Ie,Ee,!1);return jr.makeFragment(We)},mathmlBuilder:function(le,Ee){var Ie=So(le,Ee);return rr(Ie,Ee)}});var za=function(le,Ee,Ie,We,Ct,Ut,hr){le=jr.makeSpan([],[le]);var gr,Rr;if(Ee){var $r=Wi(Ee,We.havingStyle(Ct.sup()),We);Rr={elem:$r,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-$r.depth)}}if(Ie){var ln=Wi(Ie,We.havingStyle(Ct.sub()),We);gr={elem:ln,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=We.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+le.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:le},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(gr){var Qn=le.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:le}]},We)}else if(Rr){var ti=le.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:le},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return le;return jr.makeSpan(["mop","op-limits"],[yn],We)},ja=["\\smallint"],qa=function(le,Ee){var Ie,We,Ct=!1,Ut,hr=gn(le,"supsub");hr?(Ie=hr.sup,We=hr.sub,Ut=Tn(hr.base,"op"),Ct=!0):Ut=Tn(le,"op");var gr=Ee.style,Rr=!1;gr.size===H.DISPLAY.size&&Ut.symbol&&!b.contains(ja,Ut.name)&&(Rr=!0);var $r;if(Ut.symbol){var ln=Rr?"Size2-Regular":"Size1-Regular",yn="";if((Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&(yn=Ut.name.substr(1),Ut.name=yn==="oiint"?"\\iint":"\\iiint"),$r=jr.makeSymbol(Ut.name,ln,"math",Ee,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),Ee);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},Ee),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,Ee,!0);ti.length===1&&ti[0]instanceof Ne?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),Ee)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,Ee));$r=jr.makeSpan(["mop"],wi,Ee)}var ji=0,Sa=0;return($r instanceof Ne||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-Ee.fontMetrics().axisHeight,Sa=$r.italic),Ct?za($r,Ie,We,Ee,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(le,Ee){var Ie;if(le.symbol)Ie=new ga("mo",[$i(le.name,le.mode)]),b.contains(ja,le.name)&&Ie.setAttribute("largeop","false");else if(le.body)Ie=new ga("mo",uo(le.body,Ee));else{Ie=new ga("mi",[new ha(le.name.slice(1))]);var We=new ga("mo",[$i("\u2061","text")]);le.parentIsSupSub?Ie=new ga("mo",[Ie,We]):Ie=Hi([Ie,We])}return Ie},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=We;return Ct.length===1&&(Ct=Ca[Ct]),{type:"op",mode:Ie.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ct}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=Ee[0];return{type:"op",mode:Ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(We)}},htmlBuilder:qa,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(le){var Ee=le.parser,Ie=le.funcName;return{type:"op",mode:Ee.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ie}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(le){var Ee=le.parser,Ie=le.funcName;return{type:"op",mode:Ee.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ie}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(le){var Ee=le.parser,Ie=le.funcName,We=Ie;return We.length===1&&(We=to[We]),{type:"op",mode:Ee.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:We}},htmlBuilder:qa,mathmlBuilder:ho});var Lo=function(le,Ee){var Ie,We,Ct=!1,Ut,hr=gn(le,"supsub");hr?(Ie=hr.sup,We=hr.sub,Ut=Tn(hr.base,"operatorname"),Ct=!0):Ut=Tn(le,"operatorname");var gr;if(Ut.body.length>0){for(var Rr=Ut.body.map(function(Cn){var Qn=Cn.text;return typeof Qn=="string"?{type:"textord",mode:Cn.mode,text:Qn}:Cn}),$r=di(Rr,Ee.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof Ne&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,Ee)}else gr=jr.makeSpan(["mop"],[],Ee);return Ct?za(gr,Ie,We,Ee,Ee.style,0,0):gr},Ia=function(le,Ee){for(var Ie=uo(le.body,Ee.withFont("mathrm")),We=!0,Ct=0;Ct<Ie.length;Ct++){var Ut=Ie[Ct];if(!(Ut instanceof kn.SpaceNode))if(Ut instanceof kn.MathNode)switch(Ut.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Ut.children[0];Ut.children.length===1&&hr instanceof kn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):We=!1;break}default:We=!1}else We=!1}if(We){var gr=Ie.map(function(ln){return ln.toText()}).join("");Ie=[new kn.TextNode(gr)]}var Rr=new kn.MathNode("mi",Ie);Rr.setAttribute("mathvariant","normal");var $r=new kn.MathNode("mo",[$i("\u2061","text")]);return le.parentIsSupSub?new kn.MathNode("mo",[Rr,$r]):kn.newDocumentFragment([Rr,$r])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];return{type:"operatorname",mode:Ie.mode,body:mn(Ct),alwaysHandleSupSub:We==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:Ia}),Oa({type:"ordgroup",htmlBuilder:function(le,Ee){return le.semisimple?jr.makeFragment(di(le.body,Ee,!1)):jr.makeSpan(["mord"],di(le.body,Ee,!0),Ee)},mathmlBuilder:function(le,Ee){return rr(le.body,Ee,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(le,Ee){var Ie=le.parser,We=Ee[0];return{type:"overline",mode:Ie.mode,body:We}},htmlBuilder:function(le,Ee){var Ie=Wi(le.body,Ee.havingCrampedStyle()),We=jr.makeLineSpan("overline-line",Ee),Ct=Ee.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie},{type:"kern",size:3*Ct},{type:"elem",elem:We},{type:"kern",size:Ct}]},Ee);return jr.makeSpan(["mord","overline"],[Ut],Ee)},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var We=new kn.MathNode("mover",[Tr(le.body,Ee),Ie]);return We.setAttribute("accent","true"),We}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Ee[0];return{type:"phantom",mode:Ie.mode,body:mn(We)}},htmlBuilder:function(le,Ee){var Ie=di(le.body,Ee.withPhantom(),!1);return jr.makeFragment(Ie)},mathmlBuilder:function(le,Ee){var Ie=uo(le.body,Ee);return new kn.MathNode("mphantom",Ie)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Ee[0];return{type:"hphantom",mode:Ie.mode,body:We}},htmlBuilder:function(le,Ee){var Ie=jr.makeSpan([],[Wi(le.body,Ee.withPhantom())]);if(Ie.height=0,Ie.depth=0,Ie.children)for(var We=0;We<Ie.children.length;We++)Ie.children[We].height=0,Ie.children[We].depth=0;return Ie=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},Ee),jr.makeSpan(["mord"],[Ie],Ee)},mathmlBuilder:function(le,Ee){var Ie=uo(mn(le.body),Ee),We=new kn.MathNode("mphantom",Ie),Ct=new kn.MathNode("mpadded",[We]);return Ct.setAttribute("height","0px"),Ct.setAttribute("depth","0px"),Ct}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Ee[0];return{type:"vphantom",mode:Ie.mode,body:We}},htmlBuilder:function(le,Ee){var Ie=jr.makeSpan(["inner"],[Wi(le.body,Ee.withPhantom())]),We=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Ie,We],Ee)},mathmlBuilder:function(le,Ee){var Ie=uo(mn(le.body),Ee),We=new kn.MathNode("mphantom",Ie),Ct=new kn.MathNode("mpadded",[We]);return Ct.setAttribute("width","0px"),Ct}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=Tn(Ee[0],"size").value,Ct=Ee[1];return{type:"raisebox",mode:Ie.mode,dy:We,body:Ct}},htmlBuilder:function(le,Ee){var Ie=Wi(le.body,Ee),We=pt(le.dy,Ee);return jr.makeVList({positionType:"shift",positionData:-We,children:[{type:"elem",elem:Ie}]},Ee)},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mpadded",[Tr(le.body,Ee)]),We=le.dy.number+le.dy.unit;return Ie.setAttribute("voffset",We),Ie}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(le,Ee,Ie){var We=le.parser,Ct=Ie[0],Ut=Tn(Ee[0],"size"),hr=Tn(Ee[1],"size");return{type:"rule",mode:We.mode,shift:Ct&&Tn(Ct,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(le,Ee){var Ie=jr.makeSpan(["mord","rule"],[],Ee),We=pt(le.width,Ee),Ct=pt(le.height,Ee),Ut=le.shift?pt(le.shift,Ee):0;return Ie.style.borderRightWidth=We+"em",Ie.style.borderTopWidth=Ct+"em",Ie.style.bottom=Ut+"em",Ie.width=We,Ie.height=Ct+Ut,Ie.depth=-Ut,Ie.maxFontSize=Ct*1.125*Ee.sizeMultiplier,Ie},mathmlBuilder:function(le,Ee){var Ie=pt(le.width,Ee),We=pt(le.height,Ee),Ct=le.shift?pt(le.shift,Ee):0,Ut=Ee.color&&Ee.getColor()||"black",hr=new kn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Ie+"em"),hr.setAttribute("height",We+"em");var gr=new kn.MathNode("mpadded",[hr]);return Ct>=0?gr.setAttribute("height","+"+Ct+"em"):(gr.setAttribute("height",Ct+"em"),gr.setAttribute("depth","+"+-Ct+"em")),gr.setAttribute("voffset",Ct+"em"),gr}});function Fi(Pt,le,Ee){for(var Ie=di(Pt,le,!1),We=le.sizeMultiplier/Ee.sizeMultiplier,Ct=0;Ct<Ie.length;Ct++){var Ut=Ie[Ct].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Ie[Ct].classes,le.sizingClasses(Ee)):Ie[Ct].classes[Ut+1]==="reset-size"+le.size&&(Ie[Ct].classes[Ut+1]="reset-size"+Ee.size),Ie[Ct].height*=We,Ie[Ct].depth*=We}return jr.makeFragment(Ie)}var Ja=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(le,Ee){var Ie=Ee.havingSize(le.size);return Fi(le.body,Ie,Ee)};Gn({type:"sizing",names:Ja,props:{numArgs:0,allowedInText:!0},handler:function(le,Ee){var Ie=le.breakOnTokenText,We=le.funcName,Ct=le.parser,Ut=Ct.parseExpression(!1,Ie);return{type:"sizing",mode:Ct.mode,size:Ja.indexOf(We)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(le,Ee){var Ie=Ee.havingSize(le.size),We=uo(le.body,Ie),Ct=new kn.MathNode("mstyle",We);return Ct.setAttribute("mathsize",Ie.sizeMultiplier+"em"),Ct}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(le,Ee,Ie){var We=le.parser,Ct=!1,Ut=!1,hr=Ie[0]&&Tn(Ie[0],"ordgroup");if(hr)for(var gr="",Rr=0;Rr<hr.body.length;++Rr){var $r=hr.body[Rr];if(gr=$r.text,gr==="t")Ct=!0;else if(gr==="b")Ut=!0;else{Ct=!1,Ut=!1;break}}else Ct=!0,Ut=!0;var ln=Ee[0];return{type:"smash",mode:We.mode,body:ln,smashHeight:Ct,smashDepth:Ut}},htmlBuilder:function(le,Ee){var Ie=jr.makeSpan([],[Wi(le.body,Ee)]);if(!le.smashHeight&&!le.smashDepth)return Ie;if(le.smashHeight&&(Ie.height=0,Ie.children))for(var We=0;We<Ie.children.length;We++)Ie.children[We].height=0;if(le.smashDepth&&(Ie.depth=0,Ie.children))for(var Ct=0;Ct<Ie.children.length;Ct++)Ie.children[Ct].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},Ee);return jr.makeSpan(["mord"],[Ut],Ee)},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mpadded",[Tr(le.body,Ee)]);return le.smashHeight&&Ie.setAttribute("height","0px"),le.smashDepth&&Ie.setAttribute("depth","0px"),Ie}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(le,Ee,Ie){var We=le.parser,Ct=Ie[0],Ut=Ee[0];return{type:"sqrt",mode:We.mode,body:Ut,index:Ct}},htmlBuilder:function(le,Ee){var Ie=Wi(le.body,Ee.havingCrampedStyle());Ie.height===0&&(Ie.height=Ee.fontMetrics().xHeight),Ie=jr.wrapFragment(Ie,Ee);var We=Ee.fontMetrics(),Ct=We.defaultRuleThickness,Ut=Ct;Ee.style.id<H.TEXT.id&&(Ut=Ee.fontMetrics().xHeight);var hr=Ct+Ut/4,gr=Ie.height+Ie.depth+hr+Ct,Rr=hi.sqrtImage(gr,Ee),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Ie.height+Ie.depth+hr&&(hr=(hr+Cn-Ie.height-Ie.depth)/2);var Qn=$r.height-Ie.height-hr-ln;Ie.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ie.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},Ee);if(le.index){var wi=Ee.havingStyle(H.SCRIPTSCRIPT),ea=Wi(le.index,wi,Ee),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},Ee),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],Ee)}else return jr.makeSpan(["mord","sqrt"],[ti],Ee)},mathmlBuilder:function(le,Ee){var Ie=le.body,We=le.index;return We?new kn.MathNode("mroot",[Tr(Ie,Ee),Tr(We,Ee)]):new kn.MathNode("msqrt",[Tr(Ie,Ee)])}});var pi={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(le,Ee){var Ie=le.breakOnTokenText,We=le.funcName,Ct=le.parser,Ut=Ct.parseExpression(!0,Ie),hr=We.slice(1,We.length-5);return{type:"styling",mode:Ct.mode,style:hr,body:Ut}},htmlBuilder:function(le,Ee){var Ie=pi[le.style],We=Ee.havingStyle(Ie).withFont("");return Fi(le.body,We,Ee)},mathmlBuilder:function(le,Ee){var Ie=pi[le.style],We=Ee.havingStyle(Ie),Ct=uo(le.body,We),Ut=new kn.MathNode("mstyle",Ct),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[le.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Gi=function(le,Ee){var Ie=le.base;if(Ie)if(Ie.type==="op"){var We=Ie.limits&&(Ee.style.size===H.DISPLAY.size||Ie.alwaysHandleSupSub);return We?qa:null}else if(Ie.type==="operatorname"){var Ct=Ie.alwaysHandleSupSub&&(Ee.style.size===H.DISPLAY.size||Ie.limits);return Ct?Lo:null}else{if(Ie.type==="accent")return b.isCharacterBox(Ie.base)?an:null;if(Ie.type==="horizBrace"){var Ut=!le.sub;return Ut===Ie.isOver?Ka:null}else return null}else return null};Oa({type:"supsub",htmlBuilder:function(le,Ee){var Ie=Gi(le,Ee);if(Ie)return Ie(le,Ee);var We=le.base,Ct=le.sup,Ut=le.sub,hr=Wi(We,Ee),gr,Rr,$r=Ee.fontMetrics(),ln=0,yn=0,Cn=We&&b.isCharacterBox(We);if(Ct){var Qn=Ee.havingStyle(Ee.style.sup());gr=Wi(Ct,Qn,Ee),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/Ee.sizeMultiplier)}if(Ut){var ti=Ee.havingStyle(Ee.style.sub());Rr=Wi(Ut,ti,Ee),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/Ee.sizeMultiplier)}var wi;Ee.style===H.DISPLAY?wi=$r.sup1:Ee.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=Ee.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=le.base&&le.base.type==="op"&&le.base.name&&(le.base.name==="\\oiint"||le.base.name==="\\oiiint");(hr instanceof Ne||lo)&&(Sa=-hr.italic+"em")}var Wa;if(gr&&Rr){ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),yn=Math.max(yn,$r.sub2);var yo=$r.defaultRuleThickness,Ao=4*yo;if(ln-gr.depth-(Rr.height-yn)<Ao){yn=Ao-(ln-gr.depth)+Rr.height;var $a=.8*$r.xHeight-(ln-gr.depth);$a>0&&(ln+=$a,yn-=$a)}var Fo=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:Fo},Ee)}else if(Rr){yn=Math.max(yn,$r.sub1,Rr.height-.8*$r.xHeight);var No=[{type:"elem",elem:Rr,marginLeft:Sa,marginRight:ji}];Wa=jr.makeVList({positionType:"shift",positionData:yn,children:No},Ee)}else if(gr)ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),Wa=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:gr,marginRight:ji}]},Ee);else throw new Error("supsub must have either sup or sub.");var Ha=Ba(hr,"right")||"mord";return jr.makeSpan([Ha],[hr,jr.makeSpan(["msupsub"],[Wa])],Ee)},mathmlBuilder:function(le,Ee){var Ie=!1,We,Ct,Ut=gn(le.base,"horizBrace");Ut&&(Ct=!!le.sup,Ct===Ut.isOver&&(Ie=!0,We=Ut.isOver)),le.base&&(le.base.type==="op"||le.base.type==="operatorname")&&(le.base.parentIsSupSub=!0);var hr=[Tr(le.base,Ee)];le.sub&&hr.push(Tr(le.sub,Ee)),le.sup&&hr.push(Tr(le.sup,Ee));var gr;if(Ie)gr=We?"mover":"munder";else if(le.sub)if(le.sup){var ln=le.base;ln&&ln.type==="op"&&ln.limits&&Ee.style===H.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(Ee.style===H.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=le.base;$r&&$r.type==="op"&&$r.limits&&(Ee.style===H.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||Ee.style===H.DISPLAY)?gr="munder":gr="msub"}else{var Rr=le.base;Rr&&Rr.type==="op"&&Rr.limits&&(Ee.style===H.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||Ee.style===H.DISPLAY)?gr="mover":gr="msup"}var yn=new kn.MathNode(gr,hr);return yn}}),Oa({type:"atom",htmlBuilder:function(le,Ee){return jr.mathsym(le.text,le.mode,Ee,["m"+le.family])},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mo",[$i(le.text,le.mode)]);if(le.family==="bin"){var We=To(le,Ee);We==="bold-italic"&&Ie.setAttribute("mathvariant",We)}else le.family==="punct"?Ie.setAttribute("separator","true"):(le.family==="open"||le.family==="close")&&Ie.setAttribute("stretchy","false");return Ie}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Oa({type:"mathord",htmlBuilder:function(le,Ee){return jr.makeOrd(le,Ee,"mathord")},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mi",[$i(le.text,le.mode,Ee)]),We=To(le,Ee)||"italic";return We!==oo[Ie.type]&&Ie.setAttribute("mathvariant",We),Ie}}),Oa({type:"textord",htmlBuilder:function(le,Ee){return jr.makeOrd(le,Ee,"textord")},mathmlBuilder:function(le,Ee){var Ie=$i(le.text,le.mode,Ee),We=To(le,Ee)||"normal",Ct;return le.mode==="text"?Ct=new kn.MathNode("mtext",[Ie]):/[0-9]/.test(le.text)?Ct=new kn.MathNode("mn",[Ie]):le.text==="\\prime"?Ct=new kn.MathNode("mo",[Ie]):Ct=new kn.MathNode("mi",[Ie]),We!==oo[Ct.type]&&Ct.setAttribute("mathvariant",We),Ct}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Oa({type:"spacing",htmlBuilder:function(le,Ee){if(fo.hasOwnProperty(le.text)){var Ie=fo[le.text].className||"";if(le.mode==="text"){var We=jr.makeOrd(le,Ee,"textord");return We.classes.push(Ie),We}else return jr.makeSpan(["mspace",Ie],[jr.mathsym(le.text,le.mode,Ee)],Ee)}else{if(go.hasOwnProperty(le.text))return jr.makeSpan(["mspace",go[le.text]],[],Ee);throw new a('Unknown type of space "'+le.text+'"')}},mathmlBuilder:function(le,Ee){var Ie;if(fo.hasOwnProperty(le.text))Ie=new kn.MathNode("mtext",[new kn.TextNode("\xA0")]);else{if(go.hasOwnProperty(le.text))return new kn.MathNode("mspace");throw new a('Unknown type of space "'+le.text+'"')}return Ie}});var Ta=function(){var le=new kn.MathNode("mtd",[]);return le.setAttribute("width","50%"),le};Oa({type:"tag",mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mtable",[new kn.MathNode("mtr",[Ta(),new kn.MathNode("mtd",[rr(le.body,Ee)]),Ta(),new kn.MathNode("mtd",[rr(le.tag,Ee)])])]);return Ie.setAttribute("width","100%"),Ie}});var ki={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(le,Ee){var Ie=le.font;return Ie?ki[Ie]?Ee.withTextFontFamily(ki[Ie]):Ra[Ie]?Ee.withTextFontWeight(Ra[Ie]):Ee.withTextFontShape(Vo[Ie]):Ee};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser,We=le.funcName,Ct=Ee[0];return{type:"text",mode:Ie.mode,body:mn(Ct),font:We}},htmlBuilder:function(le,Ee){var Ie=ro(le,Ee),We=di(le.body,Ie,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(We),Ie)},mathmlBuilder:function(le,Ee){var Ie=ro(le,Ee);return rr(le.body,Ie)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(le,Ee){var Ie=le.parser;return{type:"underline",mode:Ie.mode,body:Ee[0]}},htmlBuilder:function(le,Ee){var Ie=Wi(le.body,Ee),We=jr.makeLineSpan("underline-line",Ee),Ct=Ee.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Ie.height,children:[{type:"kern",size:Ct},{type:"elem",elem:We},{type:"kern",size:3*Ct},{type:"elem",elem:Ie}]},Ee);return jr.makeSpan(["mord","underline"],[Ut],Ee)},mathmlBuilder:function(le,Ee){var Ie=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var We=new kn.MathNode("munder",[Tr(le.body,Ee),Ie]);return We.setAttribute("accentunder","true"),We}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(le,Ee,Ie){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(le,Ee){for(var Ie=vo(le),We=[],Ct=Ee.havingStyle(Ee.style.text()),Ut=0;Ut<Ie.length;Ut++){var hr=Ie[Ut];hr==="~"&&(hr="\\textasciitilde"),We.push(jr.makeSymbol(hr,"Typewriter-Regular",le.mode,Ct,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Ct.sizingClasses(Ee)),jr.tryCombineChars(We),Ct)},mathmlBuilder:function(le,Ee){var Ie=new kn.TextNode(vo(le)),We=new kn.MathNode("mtext",[Ie]);return We.setAttribute("mathvariant","monospace"),We}});var vo=function(le){return le.body.replace(/ /g,le.star?"\u2423":"\xA0")},po=ta,Zi=po,xo=`[ \r
|
|
|
]`,is="\\\\[a-zA-Z@]+",Jo="\\\\[^\uD800-\uDFFF]",_s=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Ts="[\u0300-\u036F]",Go=new RegExp(Ts+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+_s)+("|"+Jo+")"),Za=function(){function Pt(Ee,Ie){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Ee,this.settings=Ie,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var le=Pt.prototype;return le.setCatcode=function(Ie,We){this.catcodes[Ie]=We},le.lex=function(){var Ie=this.input,We=this.tokenRegex.lastIndex;if(We===Ie.length)return new h("EOF",new v(this,We,We));var Ct=this.tokenRegex.exec(Ie);if(Ct===null||Ct.index!==We)throw new a("Unexpected character: '"+Ie[We]+"'",new h(Ie[We],new v(this,We,We+1)));var Ut=Ct[2]||" ";if(this.catcodes[Ut]===14){var hr=Ie.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Ie.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=hr+1,this.lex()}var gr=Ut.match(Cs);return gr&&(Ut=gr[1]),new h(Ut,new v(this,We,this.tokenRegex.lastIndex))},Pt}(),Ga=function(){function Pt(Ee,Ie){Ee===void 0&&(Ee={}),Ie===void 0&&(Ie={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ie,this.builtins=Ee,this.undefStack=[]}var le=Pt.prototype;return le.beginGroup=function(){this.undefStack.push({})},le.endGroup=function(){if(this.undefStack.length===0)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Ie=this.undefStack.pop();for(var We in Ie)Ie.hasOwnProperty(We)&&(Ie[We]===void 0?delete this.current[We]:this.current[We]=Ie[We])},le.has=function(Ie){return this.current.hasOwnProperty(Ie)||this.builtins.hasOwnProperty(Ie)},le.get=function(Ie){return this.current.hasOwnProperty(Ie)?this.current[Ie]:this.builtins[Ie]},le.set=function(Ie,We,Ct){if(Ct===void 0&&(Ct=!1),Ct){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ie]=We)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ie)&&(hr[Ie]=this.current[Ie])}this.current[Ie]=We},Pt}(),so={},ps=so;function Sr(Pt,le){so[Pt]=le}Sr("\\@firstoftwo",function(Pt){var le=Pt.consumeArgs(2);return{tokens:le[0],numArgs:0}}),Sr("\\@secondoftwo",function(Pt){var le=Pt.consumeArgs(2);return{tokens:le[1],numArgs:0}}),Sr("\\@ifnextchar",function(Pt){var le=Pt.consumeArgs(3),Ee=Pt.future();return le[0].length===1&&le[0][0].text===Ee.text?{tokens:le[1],numArgs:0}:{tokens:le[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Pt){var le=Pt.consumeArgs(2);return Pt.mode==="text"?{tokens:le[0],numArgs:0}:{tokens:le[1],numArgs:0}});var Xo={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Sr("\\char",function(Pt){var le=Pt.popToken(),Ee,Ie="";if(le.text==="'")Ee=8,le=Pt.popToken();else if(le.text==='"')Ee=16,le=Pt.popToken();else if(le.text==="`")if(le=Pt.popToken(),le.text[0]==="\\")Ie=le.text.charCodeAt(1);else{if(le.text==="EOF")throw new a("\\char` missing argument");Ie=le.text.charCodeAt(0)}else Ee=10;if(Ee){if(Ie=Xo[le.text],Ie==null||Ie>=Ee)throw new a("Invalid base-"+Ee+" digit "+le.text);for(var We;(We=Xo[Pt.future().text])!=null&&We<Ee;)Ie*=Ee,Ie+=We,Pt.popToken()}return"\\@char{"+Ie+"}"});var ss=function(le,Ee){var Ie=le.consumeArgs(1)[0];if(Ie.length!==1)throw new a("\\gdef's first argument must be a macro name");var We=Ie[0].text,Ct=0;for(Ie=le.consumeArgs(1)[0];Ie.length===1&&Ie[0].text==="#";){if(Ie=le.consumeArgs(1)[0],Ie.length!==1)throw new a('Invalid argument number length "'+Ie.length+'"');if(!/^[1-9]$/.test(Ie[0].text))throw new a('Invalid argument number "'+Ie[0].text+'"');if(Ct++,parseInt(Ie[0].text)!==Ct)throw new a('Argument number "'+Ie[0].text+'" out of order');Ie=le.consumeArgs(1)[0]}return le.macros.set(We,{tokens:Ie,numArgs:Ct},Ee),""};Sr("\\gdef",function(Pt){return ss(Pt,!0)}),Sr("\\def",function(Pt){return ss(Pt,!1)}),Sr("\\global",function(Pt){var le=Pt.consumeArgs(1)[0];if(le.length!==1)throw new a("Invalid command after \\global");var Ee=le[0].text;if(Ee==="\\def")return ss(Pt,!0);throw new a("Invalid command '"+Ee+"' after \\global")});var Ls=function(le,Ee,Ie){var We=le.consumeArgs(1)[0];if(We.length!==1)throw new a("\\newcommand's first argument must be a macro name");var Ct=We[0].text,Ut=le.isDefined(Ct);if(Ut&&!Ee)throw new a("\\newcommand{"+Ct+"} attempting to redefine "+(Ct+"; use \\renewcommand"));if(!Ut&&!Ie)throw new a("\\renewcommand{"+Ct+"} when command "+Ct+" does not yet exist; use \\newcommand");var hr=0;if(We=le.consumeArgs(1)[0],We.length===1&&We[0].text==="["){for(var gr="",Rr=le.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=le.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+gr);hr=parseInt(gr),We=le.consumeArgs(1)[0]}return le.macros.set(Ct,{tokens:We,numArgs:hr}),""};Sr("\\newcommand",function(Pt){return Ls(Pt,!1,!0)}),Sr("\\renewcommand",function(Pt){return Ls(Pt,!0,!1)}),Sr("\\providecommand",function(Pt){return Ls(Pt,!0,!0)}),Sr("\\bgroup","{"),Sr("\\egroup","}"),Sr("\\lq","`"),Sr("\\rq","'"),Sr("\\aa","\\r a"),Sr("\\AA","\\r A"),Sr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Sr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Sr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Sr("\u212C","\\mathscr{B}"),Sr("\u2130","\\mathscr{E}"),Sr("\u2131","\\mathscr{F}"),Sr("\u210B","\\mathscr{H}"),Sr("\u2110","\\mathscr{I}"),Sr("\u2112","\\mathscr{L}"),Sr("\u2133","\\mathscr{M}"),Sr("\u211B","\\mathscr{R}"),Sr("\u212D","\\mathfrak{C}"),Sr("\u210C","\\mathfrak{H}"),Sr("\u2128","\\mathfrak{Z}"),Sr("\\Bbbk","\\Bbb{k}"),Sr("\xB7","\\cdotp"),Sr("\\llap","\\mathllap{\\textrm{#1}}"),Sr("\\rlap","\\mathrlap{\\textrm{#1}}"),Sr("\\clap","\\mathclap{\\textrm{#1}}"),Sr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Sr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Sr("\\ne","\\neq"),Sr("\u2260","\\neq"),Sr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Sr("\u2209","\\notin"),Sr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Sr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Sr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Sr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Sr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Sr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Sr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Sr("\u27C2","\\perp"),Sr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Sr("\u220C","\\notni"),Sr("\u231C","\\ulcorner"),Sr("\u231D","\\urcorner"),Sr("\u231E","\\llcorner"),Sr("\u231F","\\lrcorner"),Sr("\xA9","\\copyright"),Sr("\xAE","\\textregistered"),Sr("\uFE0F","\\textregistered"),Sr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Sr("\u22EE","\\vdots"),Sr("\\varGamma","\\mathit{\\Gamma}"),Sr("\\varDelta","\\mathit{\\Delta}"),Sr("\\varTheta","\\mathit{\\Theta}"),Sr("\\varLambda","\\mathit{\\Lambda}"),Sr("\\varXi","\\mathit{\\Xi}"),Sr("\\varPi","\\mathit{\\Pi}"),Sr("\\varSigma","\\mathit{\\Sigma}"),Sr("\\varUpsilon","\\mathit{\\Upsilon}"),Sr("\\varPhi","\\mathit{\\Phi}"),Sr("\\varPsi","\\mathit{\\Psi}"),Sr("\\varOmega","\\mathit{\\Omega}"),Sr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Sr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Sr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Sr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Sr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Sr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Fa={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Sr("\\dots",function(Pt){var le="\\dotso",Ee=Pt.expandAfterFuture().text;return Ee in Fa?le=Fa[Ee]:Ee.substr(0,4)==="\\not"?le="\\dotsb":Ee in Ve.math&&(b.contains(["bin","rel"],Ve.math[Ee].group)&&(le="\\dotsb")),le});var La={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Sr("\\dotso",function(Pt){var le=Pt.future().text;return le in La?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Pt){var le=Pt.future().text;return le in La&&le!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Pt){var le=Pt.future().text;return le in La?"\\@cdots\\,":"\\@cdots"}),Sr("\\dotsb","\\cdots"),Sr("\\dotsm","\\cdots"),Sr("\\dotsi","\\!\\cdots"),Sr("\\dotsx","\\ldots\\,"),Sr("\\DOTSI","\\relax"),Sr("\\DOTSB","\\relax"),Sr("\\DOTSX","\\relax"),Sr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Sr("\\,","\\tmspace+{3mu}{.1667em}"),Sr("\\thinspace","\\,"),Sr("\\>","\\mskip{4mu}"),Sr("\\:","\\tmspace+{4mu}{.2222em}"),Sr("\\medspace","\\:"),Sr("\\;","\\tmspace+{5mu}{.2777em}"),Sr("\\thickspace","\\;"),Sr("\\!","\\tmspace-{3mu}{.1667em}"),Sr("\\negthinspace","\\!"),Sr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Sr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Sr("\\enspace","\\kern.5em "),Sr("\\enskip","\\hskip.5em\\relax"),Sr("\\quad","\\hskip1em\\relax"),Sr("\\qquad","\\hskip2em\\relax"),Sr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Sr("\\tag@paren","\\tag@literal{({#1})}"),Sr("\\tag@literal",function(Pt){if(Pt.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Sr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Sr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Sr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Sr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Sr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Sr("\\\\","\\newline"),Sr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Oo=ht["Main-Regular"]["T".charCodeAt(0)][1]-.7*ht["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Sr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Sr("\\@hspace","\\hskip #1\\relax"),Sr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Sr("\\ordinarycolon",":"),Sr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Sr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Sr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Sr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Sr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Sr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Sr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Sr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Sr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Sr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Sr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Sr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Sr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Sr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Sr("\u2237","\\dblcolon"),Sr("\u2239","\\eqcolon"),Sr("\u2254","\\coloneqq"),Sr("\u2255","\\eqqcolon"),Sr("\u2A74","\\Coloneqq"),Sr("\\ratio","\\vcentcolon"),Sr("\\coloncolon","\\dblcolon"),Sr("\\colonequals","\\coloneqq"),Sr("\\coloncolonequals","\\Coloneqq"),Sr("\\equalscolon","\\eqqcolon"),Sr("\\equalscoloncolon","\\Eqqcolon"),Sr("\\colonminus","\\coloneq"),Sr("\\coloncolonminus","\\Coloneq"),Sr("\\minuscolon","\\eqcolon"),Sr("\\minuscoloncolon","\\Eqcolon"),Sr("\\coloncolonapprox","\\Colonapprox"),Sr("\\coloncolonsim","\\Colonsim"),Sr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Sr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Sr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Sr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Sr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Sr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Sr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Sr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Sr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Sr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Sr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Sr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Sr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Sr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Sr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Sr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Sr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Sr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Sr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Sr("\u27E6","\\llbracket"),Sr("\u27E7","\\rrbracket"),Sr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Sr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Sr("\u2983","\\lBrace"),Sr("\u2984","\\rBrace"),Sr("\\darr","\\downarrow"),Sr("\\dArr","\\Downarrow"),Sr("\\Darr","\\Downarrow"),Sr("\\lang","\\langle"),Sr("\\rang","\\rangle"),Sr("\\uarr","\\uparrow"),Sr("\\uArr","\\Uparrow"),Sr("\\Uarr","\\Uparrow"),Sr("\\N","\\mathbb{N}"),Sr("\\R","\\mathbb{R}"),Sr("\\Z","\\mathbb{Z}"),Sr("\\alef","\\aleph"),Sr("\\alefsym","\\aleph"),Sr("\\Alpha","\\mathrm{A}"),Sr("\\Beta","\\mathrm{B}"),Sr("\\bull","\\bullet"),Sr("\\Chi","\\mathrm{X}"),Sr("\\clubs","\\clubsuit"),Sr("\\cnums","\\mathbb{C}"),Sr("\\Complex","\\mathbb{C}"),Sr("\\Dagger","\\ddagger"),Sr("\\diamonds","\\diamondsuit"),Sr("\\empty","\\emptyset"),Sr("\\Epsilon","\\mathrm{E}"),Sr("\\Eta","\\mathrm{H}"),Sr("\\exist","\\exists"),Sr("\\harr","\\leftrightarrow"),Sr("\\hArr","\\Leftrightarrow"),Sr("\\Harr","\\Leftrightarrow"),Sr("\\hearts","\\heartsuit"),Sr("\\image","\\Im"),Sr("\\infin","\\infty"),Sr("\\Iota","\\mathrm{I}"),Sr("\\isin","\\in"),Sr("\\Kappa","\\mathrm{K}"),Sr("\\larr","\\leftarrow"),Sr("\\lArr","\\Leftarrow"),Sr("\\Larr","\\Leftarrow"),Sr("\\lrarr","\\leftrightarrow"),Sr("\\lrArr","\\Leftrightarrow"),Sr("\\Lrarr","\\Leftrightarrow"),Sr("\\Mu","\\mathrm{M}"),Sr("\\natnums","\\mathbb{N}"),Sr("\\Nu","\\mathrm{N}"),Sr("\\Omicron","\\mathrm{O}"),Sr("\\plusmn","\\pm"),Sr("\\rarr","\\rightarrow"),Sr("\\rArr","\\Rightarrow"),Sr("\\Rarr","\\Rightarrow"),Sr("\\real","\\Re"),Sr("\\reals","\\mathbb{R}"),Sr("\\Reals","\\mathbb{R}"),Sr("\\Rho","\\mathrm{P}"),Sr("\\sdot","\\cdot"),Sr("\\sect","\\S"),Sr("\\spades","\\spadesuit"),Sr("\\sub","\\subset"),Sr("\\sube","\\subseteq"),Sr("\\supe","\\supseteq"),Sr("\\Tau","\\mathrm{T}"),Sr("\\thetasym","\\vartheta"),Sr("\\weierp","\\wp"),Sr("\\Zeta","\\mathrm{Z}"),Sr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Sr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Sr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Sr("\\blue","\\textcolor{##6495ed}{#1}"),Sr("\\orange","\\textcolor{##ffa500}{#1}"),Sr("\\pink","\\textcolor{##ff00af}{#1}"),Sr("\\red","\\textcolor{##df0030}{#1}"),Sr("\\green","\\textcolor{##28ae7b}{#1}"),Sr("\\gray","\\textcolor{gray}{#1}"),Sr("\\purple","\\textcolor{##9d38bd}{#1}"),Sr("\\blueA","\\textcolor{##ccfaff}{#1}"),Sr("\\blueB","\\textcolor{##80f6ff}{#1}"),Sr("\\blueC","\\textcolor{##63d9ea}{#1}"),Sr("\\blueD","\\textcolor{##11accd}{#1}"),Sr("\\blueE","\\textcolor{##0c7f99}{#1}"),Sr("\\tealA","\\textcolor{##94fff5}{#1}"),Sr("\\tealB","\\textcolor{##26edd5}{#1}"),Sr("\\tealC","\\textcolor{##01d1c1}{#1}"),Sr("\\tealD","\\textcolor{##01a995}{#1}"),Sr("\\tealE","\\textcolor{##208170}{#1}"),Sr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Sr("\\greenB","\\textcolor{##8af281}{#1}"),Sr("\\greenC","\\textcolor{##74cf70}{#1}"),Sr("\\greenD","\\textcolor{##1fab54}{#1}"),Sr("\\greenE","\\textcolor{##0d923f}{#1}"),Sr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Sr("\\goldB","\\textcolor{##ffbb71}{#1}"),Sr("\\goldC","\\textcolor{##ff9c39}{#1}"),Sr("\\goldD","\\textcolor{##e07d10}{#1}"),Sr("\\goldE","\\textcolor{##a75a05}{#1}"),Sr("\\redA","\\textcolor{##fca9a9}{#1}"),Sr("\\redB","\\textcolor{##ff8482}{#1}"),Sr("\\redC","\\textcolor{##f9685d}{#1}"),Sr("\\redD","\\textcolor{##e84d39}{#1}"),Sr("\\redE","\\textcolor{##bc2612}{#1}"),Sr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Sr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Sr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Sr("\\maroonD","\\textcolor{##ca337c}{#1}"),Sr("\\maroonE","\\textcolor{##9e034e}{#1}"),Sr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Sr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Sr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Sr("\\purpleD","\\textcolor{##7854ab}{#1}"),Sr("\\purpleE","\\textcolor{##543b78}{#1}"),Sr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Sr("\\mintB","\\textcolor{##edf2df}{#1}"),Sr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Sr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Sr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Sr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Sr("\\grayD","\\textcolor{##d6d8da}{#1}"),Sr("\\grayE","\\textcolor{##babec2}{#1}"),Sr("\\grayF","\\textcolor{##888d93}{#1}"),Sr("\\grayG","\\textcolor{##626569}{#1}"),Sr("\\grayH","\\textcolor{##3b3e40}{#1}"),Sr("\\grayI","\\textcolor{##21242c}{#1}"),Sr("\\kaBlue","\\textcolor{##314453}{#1}"),Sr("\\kaGreen","\\textcolor{##71B307}{#1}");var Io={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Pt(Ee,Ie,We){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Ie,this.expansionCount=0,this.feed(Ee),this.macros=new Ga(ps,Ie.macros),this.mode=We,this.stack=[]}var le=Pt.prototype;return le.feed=function(Ie){this.lexer=new Za(Ie,this.settings)},le.switchMode=function(Ie){this.mode=Ie},le.beginGroup=function(){this.macros.beginGroup()},le.endGroup=function(){this.macros.endGroup()},le.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},le.popToken=function(){return this.future(),this.stack.pop()},le.pushToken=function(Ie){this.stack.push(Ie)},le.pushTokens=function(Ie){var We;(We=this.stack).push.apply(We,Ie)},le.consumeSpaces=function(){for(;;){var Ie=this.future();if(Ie.text===" ")this.stack.pop();else break}},le.consumeArgs=function(Ie){for(var We=[],Ct=0;Ct<Ie;++Ct){this.consumeSpaces();var Ut=this.popToken();if(Ut.text==="{"){for(var hr=[],gr=1;gr!==0;){var Rr=this.popToken();if(hr.push(Rr),Rr.text==="{")++gr;else if(Rr.text==="}")--gr;else if(Rr.text==="EOF")throw new a("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),We[Ct]=hr}else{if(Ut.text==="EOF")throw new a("End of input expecting macro argument");We[Ct]=[Ut]}}return We},le.expandOnce=function(){var Ie=this.popToken(),We=Ie.text,Ct=this._getExpansion(We);if(Ct==null)return this.pushToken(Ie),Ie;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Ct.tokens;if(Ct.numArgs){var hr=this.consumeArgs(Ct.numArgs);Ut=Ut.slice();for(var gr=Ut.length-1;gr>=0;--gr){var Rr=Ut[gr];if(Rr.text==="#"){if(gr===0)throw new a("Incomplete placeholder at end of macro body",Rr);if(Rr=Ut[--gr],Rr.text==="#")Ut.splice(gr+1,1);else if(/^[1-9]$/.test(Rr.text)){var $r;($r=Ut).splice.apply($r,[gr,2].concat(hr[+Rr.text-1]))}else throw new a("Not a valid argument number",Rr)}}}return this.pushTokens(Ut),Ut},le.expandAfterFuture=function(){return this.expandOnce(),this.future()},le.expandNextToken=function(){for(;;){var Ie=this.expandOnce();if(Ie instanceof h)if(Ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},le.expandMacro=function(Ie){if(!this.macros.get(Ie))return;var We=[],Ct=this.stack.length;for(this.pushToken(new h(Ie));this.stack.length>Ct;){var Ut=this.expandOnce();Ut instanceof h&&We.push(this.stack.pop())}return We},le.expandMacroAsText=function(Ie){var We=this.expandMacro(Ie);return We&&We.map(function(Ct){return Ct.text}).join("")},le._getExpansion=function(Ie){var We=this.macros.get(Ie);if(We==null)return We;var Ct=typeof We=="function"?We(this):We;if(typeof Ct=="string"){var Ut=0;if(Ct.indexOf("#")!==-1)for(var hr=Ct.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Za(Ct,this.settings),Rr=[],$r=gr.lex();$r.text!=="EOF";)Rr.push($r),$r=gr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Ut};return ln}return Ct},le.isDefined=function(Ie){return this.macros.has(Ie)||Zi.hasOwnProperty(Ie)||Ve.math.hasOwnProperty(Ie)||Ve.text.hasOwnProperty(Ie)||Io.hasOwnProperty(Ie)},Pt}(),Bo={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},rs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ms=function(){function Pt(Ee,Ie){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(Ee,Ie,this.mode),this.settings=Ie,this.leftrightDepth=0}var le=Pt.prototype;return le.expect=function(Ie,We){if(We===void 0&&(We=!0),this.fetch().text!==Ie)throw new a("Expected '"+Ie+"', got '"+this.fetch().text+"'",this.fetch());We&&this.consume()},le.consume=function(){this.nextToken=null},le.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},le.switchMode=function(Ie){this.mode=Ie,this.gullet.switchMode(Ie)},le.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ie},le.parseExpression=function(Ie,We){for(var Ct=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Pt.endOfExpression.indexOf(Ut.text)!==-1)break;if(We&&Ut.text===We)break;if(Ie&&Zi[Ut.text]&&Zi[Ut.text].infix)break;var hr=this.parseAtom(We);if(!hr)break;Ct.push(hr)}return this.mode==="text"&&this.formLigatures(Ct),this.handleInfixNodes(Ct)},le.handleInfixNodes=function(Ie){for(var We=-1,Ct,Ut=0;Ut<Ie.length;Ut++){var hr=gn(Ie[Ut],"infix");if(hr){if(We!==-1)throw new a("only one infix operator per group",hr.token);We=Ut,Ct=hr.replaceWith}}if(We!==-1&&Ct){var gr,Rr,$r=Ie.slice(0,We),ln=Ie.slice(We+1);$r.length===1&&$r[0].type==="ordgroup"?gr=$r[0]:gr={type:"ordgroup",mode:this.mode,body:$r},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var yn;return Ct==="\\\\abovefrac"?yn=this.callFunction(Ct,[gr,Ie[We],Rr],[]):yn=this.callFunction(Ct,[gr,Rr],[]),[yn]}else return Ie},le.handleSupSubscript=function(Ie){var We=this.fetch(),Ct=We.text;this.consume();var Ut=this.parseGroup(Ie,!1,Pt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new a("Expected group after '"+Ct+"'",We);return Ut},le.formatUnsupportedCmd=function(Ie){for(var We=[],Ct=0;Ct<Ie.length;Ct++)We.push({type:"textord",mode:"text",text:Ie[Ct]});var Ut={type:"text",mode:this.mode,body:We},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},le.parseAtom=function(Ie){var We=this.parseGroup("atom",!1,null,Ie);if(this.mode==="text")return We;for(var Ct,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(We,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(We,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new a("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Ct)throw new a("Double superscript",hr);Ct=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new a("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Ct)throw new a("Double superscript",hr);var ln={type:"textord",mode:this.mode,text:"\\prime"},yn=[ln];for(this.consume();this.fetch().text==="'";)yn.push(ln),this.consume();this.fetch().text==="^"&&yn.push(this.handleSupSubscript("superscript")),Ct={type:"ordgroup",mode:this.mode,body:yn}}else break}return Ct||Ut?{type:"supsub",mode:this.mode,base:We,sup:Ct,sub:Ut}:We},le.parseFunction=function(Ie,We,Ct){var Ut=this.fetch(),hr=Ut.text,gr=Zi[hr];if(!gr)return null;if(this.consume(),Ct!=null&&gr.greediness<=Ct)throw new a("Got function '"+hr+"' with no arguments"+(We?" as "+We:""),Ut);if(this.mode==="text"&&!gr.allowedInText)throw new a("Can't use function '"+hr+"' in text mode",Ut);if(this.mode==="math"&&gr.allowedInMath===!1)throw new a("Can't use function '"+hr+"' in math mode",Ut);var Rr=this.parseArguments(hr,gr),$r=Rr.args,ln=Rr.optArgs;return this.callFunction(hr,$r,ln,Ut,Ie)},le.callFunction=function(Ie,We,Ct,Ut,hr){var gr={funcName:Ie,parser:this,token:Ut,breakOnTokenText:hr},Rr=Zi[Ie];if(Rr&&Rr.handler)return Rr.handler(gr,We,Ct);throw new a("No function handler for "+Ie)},le.parseArguments=function(Ie,We){var Ct=We.numArgs+We.numOptionalArgs;if(Ct===0)return{args:[],optArgs:[]};for(var Ut=We.greediness,hr=[],gr=[],Rr=0;Rr<Ct;Rr++){var $r=We.argTypes&&We.argTypes[Rr],ln=Rr<We.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Ie+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new a("Expected group after '"+Ie+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},le.parseGroupOfType=function(Ie,We,Ct,Ut,hr){switch(We){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Ct);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Ct);case"url":return this.parseUrlGroup(Ct,hr);case"math":case"text":return this.parseGroup(Ie,Ct,Ut,void 0,We,hr);case"hbox":{var gr=this.parseGroup(Ie,Ct,Ut,void 0,"text",hr);if(!gr)return gr;var Rr={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Rr}case"raw":{if(hr&&this.consumeSpaces(),Ct&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Ct,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new a("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ie,Ct,Ut,void 0,void 0,hr);default:throw new a("Unknown group type as "+Ie,this.fetch())}},le.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},le.parseStringGroup=function(Ie,We,Ct){var Ut=We?"[":"{",hr=We?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(We)return null;if(Ct&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Rr=this.mode;this.mode="text",this.expect(Ut);for(var $r="",ln=this.fetch(),yn=0,Cn=ln,Qn;(Qn=this.fetch()).text!==hr||Ct&&yn>0;){switch(Qn.text){case"EOF":throw new a("Unexpected end of input in "+Ie,ln.range(Cn,$r));case Ut:yn++;break;case hr:yn--;break}Cn=Qn,$r+=Cn.text,this.consume()}return this.expect(hr),this.mode=Rr,ln.range(Cn,$r)},le.parseRegexGroup=function(Ie,We){var Ct=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Ie.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new a("Invalid "+We+": '"+Ut.text+"'",Ut);return this.mode=Ct,Ut.range(hr,gr)},le.parseColorGroup=function(Ie){var We=this.parseStringGroup("color",Ie);if(!We)return null;var Ct=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!Ct)throw new a("Invalid color: '"+We.text+"'",We);var Ut=Ct[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},le.parseSizeGroup=function(Ie){var We,Ct=!1;if(!Ie&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Ie),!We)return null;!Ie&&We.text.length===0&&(We.text="0pt",Ct=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Ut)throw new a("Invalid size: '"+We.text+"'",We);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!ut(hr))throw new a("Invalid unit: '"+hr.unit+"'",We);return{type:"size",mode:this.mode,value:hr,isBlank:Ct}},le.parseUrlGroup=function(Ie,We){this.gullet.lexer.setCatcode("%",13);var Ct=this.parseStringGroup("url",Ie,!0);if(this.gullet.lexer.setCatcode("%",14),!Ct)return null;var Ut=Ct.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},le.parseGroup=function(Ie,We,Ct,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(We?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Pt.endOfGroup[ln];this.gullet.beginGroup();var Qn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),yn={type:"ordgroup",mode:this.mode,loc:v.range($r,ti),body:Qn,semisimple:ln==="\\begingroup"||void 0}}else if(We)yn=null;else if(yn=this.parseFunction(Ut,Ie,Ct)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!Io.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+ln,$r);yn=this.formatUnsupportedCmd(ln),this.consume()}return hr&&this.switchMode(Rr),yn},le.formLigatures=function(Ie){for(var We=Ie.length-1,Ct=0;Ct<We;++Ct){var Ut=Ie[Ct],hr=Ut.text;hr==="-"&&Ie[Ct+1].text==="-"&&(Ct+1<We&&Ie[Ct+2].text==="-"?(Ie.splice(Ct,3,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Ct+2]),text:"---"}),We-=2):(Ie.splice(Ct,2,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Ct+1]),text:"--"}),We-=1)),(hr==="'"||hr==="`")&&Ie[Ct+1].text===hr&&(Ie.splice(Ct,2,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Ct+1]),text:hr+hr}),We-=1)}},le.parseSymbol=function(){var Ie=this.fetch(),We=Ie.text;if(/^\\verb[^a-zA-Z]/.test(We)){this.consume();var Ct=We.slice(5),Ut=Ct.charAt(0)==="*";if(Ut&&(Ct=Ct.slice(1)),Ct.length<2||Ct.charAt(0)!==Ct.slice(-1))throw new a(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ct=Ct.slice(1,-1),{type:"verb",mode:"text",body:Ct,star:Ut}}rs.hasOwnProperty(We[0])&&!Ve[this.mode][We[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+We[0]+'" used in math mode',Ie),We=rs[We[0]]+We.substr(1));var hr=Go.exec(We);hr&&(We=We.substring(0,hr.index),We==="i"?We="\u0131":We==="j"&&(We="\u0237"));var gr;if(Ve[this.mode][We]){this.settings.strict&&this.mode==="math"&&$e.indexOf(We)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Ie);var Rr=Ve[this.mode][We].group,$r=v.range(Ie),ln;if(et.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:We}}else ln={type:Rr,mode:this.mode,loc:$r,text:We};gr=ln}else if(We.charCodeAt(0)>=128)this.settings.strict&&(G(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Ie)),gr={type:"textord",mode:"text",loc:v.range(Ie),text:We};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Bo[Qn])throw new a("Unknown accent ' "+Qn+"'",Ie);var ti=Bo[Qn][this.mode];if(!ti)throw new a("Accent "+Qn+" unsupported in "+this.mode+" mode",Ie);gr={type:"accent",mode:this.mode,loc:v.range(Ie),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Pt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(le,Ee){if(!(typeof le=="string"||le instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ie=new ms(le,Ee);delete Ie.gullet.macros.current["\\df@tag"];var We=Ie.parse();if(Ie.gullet.macros.get("\\df@tag")){if(!Ee.displayMode)throw new a("\\tag works only in display equations");Ie.gullet.feed("\\df@tag"),We=[{type:"tag",mode:"text",body:We,tag:Ie.parse()}]}return We},Ns=ls,Ds=function(le,Ee,Ie){Ee.textContent="";var We=Mo(le,Ie).toNode();Ee.appendChild(We)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ds=function(){throw new a("KaTeX doesn't work in quirks mode.")}));var as=function(le,Ee){var Ie=Mo(le,Ee).toMarkup();return Ie},$s=function(le,Ee){var Ie=new E(Ee);return Ns(le,Ie)},cs=function(le,Ee,Ie){if(Ie.throwOnError||!(le instanceof a))throw le;var We=jr.makeSpan(["katex-error"],[new Ne(Ee)]);return We.setAttribute("title",le.toString()),We.setAttribute("style","color:"+Ie.errorColor),We},Mo=function(le,Ee){var Ie=new E(Ee);try{var We=Ns(le,Ie);return rt(We,le,Ie)}catch(Ct){return cs(Ct,le,Ie)}},Dn=function(le,Ee){var Ie=new E(Ee);try{var We=Ns(le,Ie);return jt(We,le,Ie)}catch(Ct){return cs(Ct,le,Ie)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:a,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Dt,__defineSymbol:se,__defineMacro:Sr,__domTree:{Span:K,Anchor:Q,SymbolNode:Ne,SvgNode:Te,PathNode:oe,LineNode:de}},Os=f.default=Vs}]).default})},P2fV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Q9mQ"),m=e("+L6B"),v=e("sE09"),h=e.n(v)},P2ho:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};_.default=g},P47w:function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("IMiH"),m=e("mFDi"),v=e("Fofx"),h=e("6GrX"),c=e("pzxd"),a=e("dqUG"),i=y.CMD,r=Array.prototype.join,o="none",d=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,s=Math.PI*2,u=180/t,p=1e-4;function w(X){return d(X*1e4)/1e4}function b(X){return X<p&&X>-p}function E(X,W){var G=W?X.textFill:X.fill;return G!=null&&G!==o}function A(X,W){var G=W?X.textStroke:X.stroke;return G!=null&&G!==o}function S(X,W){W&&T(X,"transform","matrix("+r.call(W,",")+")")}function T(X,W,G){(!G||G.type!=="linear"&&G.type!=="radial")&&X.setAttribute(W,G)}function L(X,W,G){X.setAttributeNS("http://www.w3.org/1999/xlink",W,G)}function x(X,W,G,$){if(E(W,G)){var ge=G?W.textFill:W.fill;ge=ge==="transparent"?o:ge,T(X,"fill",ge),T(X,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else T(X,"fill",o);if(A(W,G)){var q=G?W.textStroke:W.stroke;q=q==="transparent"?o:q,T(X,"stroke",q);var Se=G?W.textStrokeWidth:W.lineWidth,Ce=!G&&W.strokeNoScale?$.getLineScale():1;T(X,"stroke-width",Se/Ce),T(X,"paint-order",G?"stroke":"fill"),T(X,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var Ae=W.lineDash;Ae?(T(X,"stroke-dasharray",W.lineDash.join(",")),T(X,"stroke-dashoffset",d(W.lineDashOffset||0))):T(X,"stroke-dasharray",""),W.lineCap&&T(X,"stroke-linecap",W.lineCap),W.lineJoin&&T(X,"stroke-linejoin",W.lineJoin),W.miterLimit&&T(X,"stroke-miterlimit",W.miterLimit)}else T(X,"stroke",o)}function C(X){for(var W=[],G=X.data,$=X.len(),ge=0;ge<$;){var q=G[ge++],Se="",Ce=0;switch(q){case i.M:Se="M",Ce=2;break;case i.L:Se="L",Ce=2;break;case i.Q:Se="Q",Ce=4;break;case i.C:Se="C",Ce=6;break;case i.A:var Ae=G[ge++],Ue=G[ge++],Qe=G[ge++],gt=G[ge++],_e=G[ge++],Oe=G[ge++],lt=G[ge++],ce=G[ge++],Y=Math.abs(Oe),K=b(Y-s)||(ce?Oe>=s:-Oe>=s),Q=Oe>0?Oe%s:Oe%s+s,ye=!1;K?ye=!0:b(Y)?ye=!1:ye=Q>=t===!!ce;var ue=w(Ae+Qe*l(_e)),Ne=w(Ue+gt*n(_e));K&&(ce?Oe=s-1e-4:Oe=-s+1e-4,ye=!0,ge===9&&W.push("M",ue,Ne));var Te=w(Ae+Qe*l(_e+Oe)),oe=w(Ue+gt*n(_e+Oe));W.push("A",w(Qe),w(gt),d(lt*u),+ye,+ce,Te,oe);break;case i.Z:Se="Z";break;case i.R:var Te=w(G[ge++]),oe=w(G[ge++]),de=w(G[ge++]),Le=w(G[ge++]);W.push("M",Te,oe,"L",Te+de,oe,"L",Te+de,oe+Le,"L",Te,oe+Le,"L",Te,oe);break}Se&&W.push(Se);for(var Ge=0;Ge<Ce;Ge++)W.push(w(G[ge++]))}return W.join(" ")}var O={};O.brush=function(X){var W=X.style,G=X.__svgEl;G||(G=f("path"),X.__svgEl=G),X.path||X.createPathProxy();var $=X.path;if(X.__dirtyPath){$.beginPath(),$.subPixelOptimize=!1,X.buildPath($,X.shape),X.__dirtyPath=!1;var ge=C($);ge.indexOf("NaN")<0&&T(G,"d",ge)}x(G,W,!1,X),S(G,X.transform),W.text!=null?R(X,X.getBoundingRect()):V(X)};var N={};N.brush=function(X){var W=X.style,G=W.image;if(G instanceof HTMLImageElement){var $=G.src;G=$}if(!G)return;var ge=W.x||0,q=W.y||0,Se=W.width,Ce=W.height,Ae=X.__svgEl;Ae||(Ae=f("image"),X.__svgEl=Ae),G!==X.__imageSrc&&(L(Ae,"href",G),X.__imageSrc=G),T(Ae,"width",Se),T(Ae,"height",Ce),T(Ae,"x",ge),T(Ae,"y",q),S(Ae,X.transform),W.text!=null?R(X,X.getBoundingRect()):V(X)};var F={},k=new m,P={},B=[],z={left:"start",right:"end",center:"middle",middle:"middle"},R=function(W,G){var $=W.style,ge=W.transform,q=W instanceof a||$.transformText;W.__dirty&&c.normalizeTextStyle($,!0);var Se=$.text;if(Se!=null&&(Se+=""),!c.needDrawText(Se,$))return;Se==null&&(Se=""),!q&&ge&&(k.copy(G),k.applyTransform(ge),G=k);var Ce=W.__textSvgEl;Ce||(Ce=f("text"),W.__textSvgEl=Ce);var Ae=Ce.style,Ue=$.font||h.DEFAULT_FONT,Qe=Ce.__computedFont;Ue!==Ce.__styleFont&&(Ae.font=Ce.__styleFont=Ue,Qe=Ce.__computedFont=Ae.font);var gt=$.textPadding,_e=$.textLineHeight,Oe=W.__textCotentBlock;(!Oe||W.__dirtyText)&&(Oe=W.__textCotentBlock=h.parsePlainText(Se,Qe,gt,_e,$.truncate));var lt=Oe.outerHeight,ce=Oe.lineHeight;c.getBoxPosition(P,W,$,G);var Y=P.baseX,K=P.baseY,Q=P.textAlign||"left",ye=P.textVerticalAlign;U(Ce,q,ge,$,G,Y,K);var ue=h.adjustTextY(K,lt,ye),Ne=Y,Te=ue;gt&&(Ne=j(Y,Q,gt),Te+=gt[0]),Te+=ce/2,x(Ce,$,!0,W);var oe=Oe.canCacheByTextString,de=W.__tspanList||(W.__tspanList=[]),Le=de.length;if(oe&&W.__canCacheByTextString&&W.__text===Se){if(W.__dirtyText&&Le)for(var Ge=0;Ge<Le;++Ge)H(de[Ge],Q,Ne,Te+Ge*ce)}else{W.__text=Se,W.__canCacheByTextString=oe;for(var ht=Oe.lines,Et=ht.length,Ge=0;Ge<Et;Ge++){var Be=de[Ge],Dt=ht[Ge];Be?Be.__zrText!==Dt&&(Be.innerHTML="",Be.appendChild(document.createTextNode(Dt))):(Be=de[Ge]=f("tspan"),Ce.appendChild(Be),Be.appendChild(document.createTextNode(Dt))),H(Be,Q,Ne,Te+Ge*ce)}if(Le>Et){for(;Ge<Le;Ge++)Ce.removeChild(de[Ge]);de.length=Et}}};function U(X,W,G,$,ge,q,Se){v.identity(B),W&&G&&v.copy(B,G);var Ce=$.textRotation;if(ge&&Ce){var Ae=$.textOrigin;Ae==="center"?(q=ge.width/2+ge.x,Se=ge.height/2+ge.y):Ae&&(q=Ae[0]+ge.x,Se=Ae[1]+ge.y),B[4]-=q,B[5]-=Se,v.rotate(B,B,Ce),B[4]+=q,B[5]+=Se}S(X,B)}function j(X,W,G){return W==="right"?X-G[1]:W==="center"?X+G[3]/2-G[1]/2:X+G[3]}function H(X,W,G,$){T(X,"dominant-baseline","middle"),T(X,"text-anchor",z[W]),T(X,"x",G),T(X,"y",$)}function V(X){X&&X.__textSvgEl&&(X.__textSvgEl.parentNode&&X.__textSvgEl.parentNode.removeChild(X.__textSvgEl),X.__textSvgEl=null,X.__tspanList=[],X.__text=null)}F.drawRectText=R,F.brush=function(X){var W=X.style;W.text!=null?R(X,!1):V(X)},_.path=O,_.image=N,_.text=F},P4Qj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeSensor=_.getSensor=void 0;var g=m(e("chpo")),f=e("FxDU"),y=e("24YM");function m(a){return a&&a.__esModule?a:{default:a}}var v={},h=function(i){var r=i.getAttribute(y.SizeSensorId);if(r&&v[r])return v[r];var o=(0,g.default)();i.setAttribute(y.SizeSensorId,o);var d=(0,f.createSensor)(i);return v[o]=d,d};_.getSensor=h;var c=function(i){var r=i.element.getAttribute(y.SizeSensorId);i.element.removeAttribute(y.SizeSensorId),i.destroy(),r&&v[r]&&delete v[r]};_.removeSensor=c},P5Jw:function(D,_,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,D.exports=f},PArb:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("H84U"),r=function(d,n){var l={};for(var t in d)Object.prototype.hasOwnProperty.call(d,t)&&n.indexOf(t)<0&&(l[t]=d[t]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(d);s<t.length;s++)n.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(d,t[s])&&(l[t[s]]=d[t[s]]);return l},o=function(n){return v.createElement(i.a,null,function(l){var t,s=l.getPrefixCls,u=l.direction,p=n.prefixCls,w=n.type,b=w===void 0?"horizontal":w,E=n.orientation,A=E===void 0?"center":E,S=n.className,T=n.children,L=n.dashed,x=n.plain,C=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),O=s("divider",p),N=A.length>0?"-".concat(A):A,F=!!T,k=a()(S,O,"".concat(O,"-").concat(b),(t={},m()(t,"".concat(O,"-with-text"),F),m()(t,"".concat(O,"-with-text").concat(N),F),m()(t,"".concat(O,"-dashed"),!!L),m()(t,"".concat(O,"-plain"),!!x),m()(t,"".concat(O,"-rtl"),u==="rtl"),t));return v.createElement("div",f()({className:k},C,{role:"separator"}),T&&v.createElement("span",{className:"".concat(O,"-inner-text")},T))})};_.a=o},PD8m:function(D,_){D.exports={name:"memoryStorage",read:g,write:f,each:y,remove:m,clearAll:v};var e={};function g(h){return e[h]}function f(h,c){e[h]=c}function y(h){for(var c in e)e.hasOwnProperty(c)&&h(e[c],c)}function m(h){delete e[h]}function v(h){e={}}},PEeC:function(D,_,e){"use strict";e.d(_,"a",function(){return v}),e.d(_,"b",function(){return h});var g=e("RIqP"),f=e.n(g),y=e("xEkU"),m=e.n(y);function v(c){var a,i=function(d){return function(){a=null,c.apply(void 0,f()(d))}},r=function(){if(a==null){for(var d=arguments.length,n=new Array(d),l=0;l<d;l++)n[l]=arguments[l];a=m()(i(n))}};return r.cancel=function(){return m.a.cancel(a)},r}function h(){return function(c,a,i){var r=i.value,o=!1;return{configurable:!0,get:function(){if(o||this===c.prototype||this.hasOwnProperty(a))return r;var n=v(r.bind(this));return o=!0,Object.defineProperty(this,a,{value:n,configurable:!0,writable:!0}),o=!1,n}}}}},PKem:function(D,_,e){"use strict";e.d(_,"a",function(){return E});var g=e("RIqP"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("lwsE"),a=e.n(c),i=e("W8MJ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),u=e("TSYQ"),p=e.n(u),w=e("H84U"),b=function(N,F){var k={};for(var P in N)Object.prototype.hasOwnProperty.call(N,P)&&F.indexOf(P)<0&&(k[P]=N[P]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,P=Object.getOwnPropertySymbols(N);B<P.length;B++)F.indexOf(P[B])<0&&Object.prototype.propertyIsEnumerable.call(N,P[B])&&(k[P[B]]=N[P[B]]);return k},E=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function A(N){var F=N.suffixCls,k=N.tagName,P=N.displayName;return function(B){var z;return z=function(R){d()(j,R);var U=l()(j);function j(){var H;return a()(this,j),H=U.apply(this,arguments),H.renderComponent=function(V){var X=V.getPrefixCls,W=H.props.prefixCls,G=X(F,W);return t.createElement(B,h()({prefixCls:G,tagName:k},H.props))},H}return r()(j,[{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),j}(t.Component),z.displayName=P,z}}var S=function(F){var k=F.prefixCls,P=F.className,B=F.children,z=F.tagName,R=b(F,["prefixCls","className","children","tagName"]),U=p()(k,P);return t.createElement(z,h()({className:U},R),B)},T=function(N){d()(k,N);var F=l()(k);function k(){var P;return a()(this,k),P=F.apply(this,arguments),P.state={siders:[]},P.renderComponent=function(B){var z,R=B.direction,U=P.props,j=U.prefixCls,H=U.className,V=U.children,X=U.hasSider,W=U.tagName,G=b(U,["prefixCls","className","children","hasSider","tagName"]),$=p()(j,(z={},m()(z,"".concat(j,"-has-sider"),typeof X=="boolean"?X:P.state.siders.length>0),m()(z,"".concat(j,"-rtl"),R==="rtl"),z),H);return t.createElement(E.Provider,{value:{siderHook:P.getSiderHook()}},t.createElement(W,h()({className:$},G),V))},P}return r()(k,[{key:"getSiderHook",value:function(){var B=this;return{addSider:function(R){B.setState(function(U){return{siders:[].concat(f()(U.siders),[R])}})},removeSider:function(R){B.setState(function(U){return{siders:U.siders.filter(function(j){return j!==R})}})}}}},{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),k}(t.Component),L=A({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),x=A({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),C=A({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),O=A({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);L.Header=x,L.Footer=C,L.Content=O,_.b=L},PNag:function(D,_,e){var g=e("bYtY"),f=e("SKnc"),y=e("YH21"),m=e("crZl"),v=e("IwbS"),h=e("OELB"),c=e("72pK"),a=e("y7Aq"),i=e("4NO4"),r=h.linearMap,o=g.each,d=Math.min,n=Math.max,l=12,t=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(T,L,x,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,L=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(L);var x=T.get("text");this._renderEndsText(L,x,0),this._renderEndsText(L,x,1),this._updateView(!0),this.renderBackground(L),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(L)},_renderEndsText:function(T,L,x){if(!L)return;var C=L[1-x];C=C!=null?C+"":"";var O=this.visualMapModel,N=O.get("textGap"),F=O.itemSize,k=this._shapes.barGroup,P=this._applyTransform([F[0]/2,x===0?-N:F[1]+N],k),B=this._applyTransform(x===0?"bottom":"top",k),z=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:P[0],y:P[1],textVerticalAlign:z==="horizontal"?"middle":B,textAlign:z==="horizontal"?B:"center",text:C,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(T){var L=this.visualMapModel,x=this._shapes,C=L.itemSize,O=this._orient,N=this._useHandle,F=a.getItemAlign(L,this.api,C),k=x.barGroup=this._createBarGroup(F);k.add(x.outOfRange=u()),k.add(x.inRange=u(null,N?A(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var P=L.textStyleModel.getTextRect("\u56FD"),B=n(P.width,P.height);N&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(k,0,C,B,O,F),this._createHandle(k,1,C,B,O,F)),this._createIndicator(k,C,B,O),T.add(k)},_createHandle:function(T,L,x,C,O){var N=g.bind(this._dragHandle,this,L,!1),F=g.bind(this._dragHandle,this,L,!0),k=u(p(L,C),A(this._orient),N,F);k.position[0]=x[0],T.add(k);var P=this.visualMapModel.textStyleModel,B=new v.Text({draggable:!0,drift:N,onmousemove:function(U){y.stop(U.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(B);var z=[O==="horizontal"?C/2:C*1.5,O==="horizontal"?L===0?-(C*1.5):C*1.5:L===0?-C/2:C/2],R=this._shapes;R.handleThumbs[L]=k,R.handleLabelPoints[L]=z,R.handleLabels[L]=B},_createIndicator:function(T,L,x,C){var O=u([[0,0]],"move");O.position[0]=L[0],O.attr({invisible:!0,silent:!0}),T.add(O);var N=this.visualMapModel.textStyleModel,F=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(F);var k=[C==="horizontal"?x/2:t+3,0],P=this._shapes;P.indicator=O,P.indicatorLabel=F,P.indicatorLabelPoint=k},_dragHandle:function(T,L,x,C){if(!this._useHandle)return;if(this._dragging=!L,!L){var O=this._applyTransform([x,C],this._shapes.barGroup,!0);this._updateInterval(T,O[1]),this._updateView()}L===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),L?!this._hovering&&this._clearHoverLinkToSeries():E(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,L=this._dataInterval=T.getSelected(),x=T.getExtent(),C=[0,T.itemSize[1]];this._handleEnds=[r(L[0],x,C,!0),r(L[1],x,C,!0)]},_updateInterval:function(T,L){L=L||0;var x=this.visualMapModel,C=this._handleEnds,O=[0,x.itemSize[1]];c(L,C,O,T,0);var N=x.getExtent();this._dataInterval=[r(C[0],O,N,!0),r(C[1],O,N,!0)]},_updateView:function(T){var L=this.visualMapModel,x=L.getExtent(),C=this._shapes,O=[0,L.itemSize[1]],N=T?O:this._handleEnds,F=this._createBarVisual(this._dataInterval,x,N,"inRange"),k=this._createBarVisual(x,x,O,"outOfRange");C.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),C.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(N,F)},_createBarVisual:function(T,L,x,C){var O={forceState:C,convertOpacityToAlpha:!0},N=this._makeColorGradient(T,O),F=[this.getControllerVisual(T[0],"symbolSize",O),this.getControllerVisual(T[1],"symbolSize",O)],k=this._createBarPoints(x,F);return{barColor:new f(0,0,0,1,N),barPoints:k,handlesColor:[N[0].color,N[N.length-1].color]}},_makeColorGradient:function(T,L){var x=100,C=[],O=(T[1]-T[0])/x;C.push({color:this.getControllerVisual(T[0],"color",L),offset:0});for(var N=1;N<x;N++){var F=T[0]+O*N;if(F>T[1])break;C.push({color:this.getControllerVisual(F,"color",L),offset:N/x})}return C.push({color:this.getControllerVisual(T[1],"color",L),offset:1}),C},_createBarPoints:function(T,L){var x=this.visualMapModel.itemSize;return[[x[0]-L[0],T[0]],[x[0],T[0]],[x[0],T[1]],[x[0]-L[1],T[1]]]},_createBarGroup:function(T){var L=this._orient,x=this.visualMapModel.get("inverse");return new v.Group(L==="horizontal"&&!x?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:L==="horizontal"&&x?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:L==="vertical"&&!x?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,L){if(!this._useHandle)return;var x=this._shapes,C=this.visualMapModel,O=x.handleThumbs,N=x.handleLabels;o([0,1],function(F){var k=O[F];k.setStyle("fill",L.handlesColor[F]),k.position[1]=T[F];var P=v.applyTransform(x.handleLabelPoints[F],v.getTransform(k,this.group));N[F].setStyle({x:P[0],y:P[1],text:C.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(T,L,x,C){var O=this.visualMapModel,N=O.getExtent(),F=O.itemSize,k=[0,F[1]],P=r(T,N,k,!0),B=this._shapes,z=B.indicator;if(!z)return;z.position[1]=P,z.attr("invisible",!1),z.setShape("points",w(!!x,C,P,F[1]));var R={convertOpacityToAlpha:!0},U=this.getControllerVisual(T,"color",R);z.setStyle("fill",U);var j=v.applyTransform(B.indicatorLabelPoint,v.getTransform(z,this.group)),H=B.indicatorLabel;H.attr("invisible",!1);var V=this._applyTransform("left",B.barGroup),X=this._orient;H.setStyle({text:(x||"")+O.formatValueText(L),textVerticalAlign:X==="horizontal"?V:"middle",textAlign:X==="horizontal"?"center":V,x:j[0],y:j[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(L){if(T._hovering=!0,!T._dragging){var x=T.visualMapModel.itemSize,C=T._applyTransform([L.offsetX,L.offsetY],T._shapes.barGroup,!0,!0);C[1]=d(n(0,C[1]),x[1]),T._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=x[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,L){var x=this.visualMapModel,C=x.itemSize;if(!x.option.hoverLink)return;var O=[0,C[1]],N=x.getExtent();T=d(n(O[0],T),O[1]);var F=b(x,N,O),k=[T-F,T+F],P=r(T,O,N,!0),B=[r(k[0],O,N,!0),r(k[1],O,N,!0)];k[0]<O[0]&&(B[0]=-Infinity),k[1]>O[1]&&(B[1]=Infinity),L&&(B[0]===-Infinity?this._showIndicator(P,B[1],"< ",F):B[1]===Infinity?this._showIndicator(P,B[0],"> ",F):this._showIndicator(P,P,"\u2248 ",F));var z=this._hoverLinkDataIndices,R=[];(L||E(x))&&(R=this._hoverLinkDataIndices=x.findTargetDataIndices(B));var U=i.compressBatches(z,R);this._dispatchHighDown("downplay",a.makeHighDownBatch(U[0],x)),this._dispatchHighDown("highlight",a.makeHighDownBatch(U[1],x))},_hoverLinkFromSeriesMouseOver:function(T){var L=T.target,x=this.visualMapModel;if(!L||L.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(L.seriesIndex);if(!x.isTargetSeries(C))return;var O=C.getData(L.dataType),N=O.get(x.getDataDimension(O),L.dataIndex,!0);isNaN(N)||this._showIndicator(N,N)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",a.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,L,x,C){var O=v.getTransform(L,C?null:this.group);return v[g.isArray(T)?"applyTransform":"transformDirection"](T,O,x)},_dispatchHighDown:function(T,L){L&&L.length&&this.api.dispatchAction({type:T,batch:L})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(T,L,x,C){return new v.Polygon({shape:{points:T},draggable:!!x,cursor:L,drift:x,onmousemove:function(O){y.stop(O.event)},ondragend:C})}function p(T,L){return T===0?[[0,0],[L,0],[L,-L]]:[[0,0],[L,0],[L,L]]}function w(T,L,x,C){return T?[[0,-d(L,n(x,0))],[t,0],[0,d(L,n(C-x,0))]]:[[0,0],[5,-5],[5,5]]}function b(T,L,x){var C=l/2,O=T.get("hoverLinkDataSize");return O&&(C=r(O,L,x,!0)/2),C}function E(T){var L=T.get("hoverLinkOnHandle");return!!(L==null?T.get("realtime"):L)}function A(T){return T==="vertical"?"ns-resize":"ew-resize"}var S=s;D.exports=S},PQMj:function(D,_,e){},PSzr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};_.default=g},ProS:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("aX58"),m=e("bYtY"),v=e("Qe9p"),h=e("ItGF"),c=e("BPZU"),a=e("H6uX"),i=e("fmMI"),r=e("hD7B"),o=e("IDmD"),d=e("ypgQ"),n=e("+wW9"),l=e("0V0F"),t=e("bLfw"),s=e("T4UG"),u=e("sS/r"),p=e("6Ic6"),w=e("IwbS"),b=e("4NO4"),E=e("iLNv"),A=E.throttle,S=e("/WM3"),T=e("uAnK"),L=e("mYwL"),x=e("af/B"),C=e("xTNl"),O=e("8hn6");e("A1Ka");var N=e("7DRL"),F=m.assert,k=m.each,P=m.isFunction,B=m.isObject,z=t.parseClassType,R="4.8.0",U={zrender:"4.3.1"},j=1,H=1e3,V=800,X=900,W=5e3,G=1e3,$=1100,ge=2e3,q=3e3,Se=3500,Ce=4e3,Ae=5e3,Ue={PROCESSOR:{FILTER:H,SERIES_FILTER:V,STATISTIC:W},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:$,GLOBAL:ge,CHART:q,POST_CHART_LAYOUT:Se,COMPONENT:Ce,BRUSH:Ae}},Qe="__flagInMainProcess",gt="__optionUpdated",_e=/^[a-zA-Z0-9_]+$/;function Oe(st,xt){return function(ut,pt,It){if(!xt&&this._disposed){Xe(this.id);return}ut=ut&&ut.toLowerCase(),a.prototype[st].call(this,ut,pt,It)}}function lt(){a.call(this)}lt.prototype.on=Oe("on",!0),lt.prototype.off=Oe("off",!0),lt.prototype.one=Oe("one",!0),m.mixin(lt,a);function ce(st,xt,ut){ut=ut||{},typeof xt=="string"&&(xt=ct[xt]),this.id,this.group,this._dom=st;var pt="canvas",It=this._zr=y.init(st,{renderer:ut.renderer||pt,devicePixelRatio:ut.devicePixelRatio,width:ut.width,height:ut.height});this._throttledZrFlush=A(m.bind(It.flush,It),17);var xt=m.clone(xt);xt&&n(xt,!0),this._theme=xt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new o;var Tt=this._api=Ve(this);function ft(Ht,Ft){return Ht.__prio-Ft.__prio}c(dt,ft),c(qe,ft),this._scheduler=new x(this,Tt,qe,dt),a.call(this,this._ecEventProcessor=new se),this._messageCenter=new lt,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],It.animation.on("frame",this._onframe,this),Le(It,this),m.setAsPrimitive(this)}var Y=ce.prototype;Y._onframe=function(){if(this._disposed)return;var st=this._scheduler;if(this[gt]){var xt=this[gt].silent;this[Qe]=!0,ye(this),Q.update.call(this),this[Qe]=!1,this[gt]=!1,oe.call(this,xt),de.call(this,xt)}else if(st.unfinished){var ut=j,pt=this._model,It=this._api;st.unfinished=!1;do{var Tt=+new Date;st.performSeriesTasks(pt),st.performDataProcessorTasks(pt),Ne(this,pt),st.performVisualTasks(pt),Dt(this,this._model,It,"remain"),ut-=+new Date-Tt}while(ut>0&&st.unfinished);st.unfinished||this._zr.flush()}},Y.getDom=function(){return this._dom},Y.getZr=function(){return this._zr},Y.setOption=function(st,xt,ut){if(this._disposed){Xe(this.id);return}var pt;if(B(xt)&&(ut=xt.lazyUpdate,pt=xt.silent,xt=xt.notMerge),this[Qe]=!0,!this._model||xt){var It=new d(this._api),Tt=this._theme,ft=this._model=new i;ft.scheduler=this._scheduler,ft.init(null,null,Tt,It)}this._model.setOption(st,be),ut?(this[gt]={silent:pt},this[Qe]=!1):(ye(this),Q.update.call(this),this._zr.flush(),this[gt]=!1,this[Qe]=!1,oe.call(this,pt),de.call(this,pt))},Y.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Y.getModel=function(){return this._model},Y.getOption=function(){return this._model&&this._model.getOption()},Y.getWidth=function(){return this._zr.getWidth()},Y.getHeight=function(){return this._zr.getHeight()},Y.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Y.getRenderedCanvas=function(st){if(!h.canvasSupported)return;st=st||{},st.pixelRatio=st.pixelRatio||1,st.backgroundColor=st.backgroundColor||this._model.get("backgroundColor");var xt=this._zr;return xt.painter.getRenderedCanvas(st)},Y.getSvgDataURL=function(){if(!h.svgSupported)return;var st=this._zr,xt=st.storage.getDisplayList();return m.each(xt,function(ut){ut.stopAnimation(!0)}),st.painter.toDataURL()},Y.getDataURL=function(st){if(this._disposed){Xe(this.id);return}st=st||{};var xt=st.excludeComponents,ut=this._model,pt=[],It=this;k(xt,function(ft){ut.eachComponent({mainType:ft},function(Ht){var Ft=It._componentsMap[Ht.__viewId];Ft.group.ignore||(pt.push(Ft),Ft.group.ignore=!0)})});var Tt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(st).toDataURL("image/"+(st&&st.type||"png"));return k(pt,function(ft){ft.group.ignore=!1}),Tt},Y.getConnectedDataURL=function(st){if(this._disposed){Xe(this.id);return}if(!h.canvasSupported)return;var xt=st.type==="svg",ut=this.group,pt=Math.min,It=Math.max,Tt=Infinity;if(or[ut]){var ft=Tt,Ht=Tt,Ft=-Tt,ir=-Tt,Xt=[],mr=st&&st.pixelRatio||1;m.each(_t,function(Lr,Qr){if(Lr.group===ut){var _r=xt?Lr.getZr().painter.getSvgDom().innerHTML:Lr.getRenderedCanvas(m.clone(st)),ur=Lr.getDom().getBoundingClientRect();ft=pt(ur.left,ft),Ht=pt(ur.top,Ht),Ft=It(ur.right,Ft),ir=It(ur.bottom,ir),Xt.push({dom:_r,left:ur.left,top:ur.top})}}),ft*=mr,Ht*=mr,Ft*=mr,ir*=mr;var Ar=Ft-ft,Nr=ir-Ht,Fr=m.createCanvas(),tn=y.init(Fr,{renderer:xt?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),xt){var qr="";return k(Xt,function(Lr){var Qr=Lr.left-ft,_r=Lr.top-Ht;qr+='<g transform="translate('+Qr+","+_r+')">'+Lr.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,st.connectedBackgroundColor&&tn.painter.setBackgroundColor(st.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return st.connectedBackgroundColor&&tn.add(new w.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:st.connectedBackgroundColor}})),k(Xt,function(Lr){var Qr=new w.Image({style:{x:Lr.left*mr-ft,y:Lr.top*mr-Ht,image:Lr.dom}});tn.add(Qr)}),tn.refreshImmediately(),Fr.toDataURL("image/"+(st&&st.type||"png"))}else return this.getDataURL(st)},Y.convertToPixel=m.curry(K,"convertToPixel"),Y.convertFromPixel=m.curry(K,"convertFromPixel");function K(st,xt,ut){if(this._disposed){Xe(this.id);return}var pt=this._model,It=this._coordSysMgr.getCoordinateSystems(),Tt;xt=b.parseFinder(pt,xt);for(var ft=0;ft<It.length;ft++){var Ht=It[ft];if(Ht[st]&&(Tt=Ht[st](pt,xt,ut))!=null)return Tt}}Y.containPixel=function(st,xt){if(this._disposed){Xe(this.id);return}var ut=this._model,pt;return st=b.parseFinder(ut,st),m.each(st,function(It,Tt){Tt.indexOf("Models")>=0&&m.each(It,function(ft){var Ht=ft.coordinateSystem;if(Ht&&Ht.containPoint)pt|=!!Ht.containPoint(xt);else if(Tt==="seriesModels"){var Ft=this._chartsMap[ft.__viewId];Ft&&Ft.containPoint&&(pt|=Ft.containPoint(xt,ft))}},this)},this),!!pt},Y.getVisual=function(st,xt){var ut=this._model;st=b.parseFinder(ut,st,{defaultMainType:"series"});var pt=st.seriesModel,It=pt.getData(),Tt=st.hasOwnProperty("dataIndexInside")?st.dataIndexInside:st.hasOwnProperty("dataIndex")?It.indexOfRawIndex(st.dataIndex):null;return Tt!=null?It.getItemVisual(Tt,xt):It.getVisual(xt)},Y.getViewOfComponentModel=function(st){return this._componentsMap[st.__viewId]},Y.getViewOfSeriesModel=function(st){return this._chartsMap[st.__viewId]};var Q={prepareAndUpdate:function(st){ye(this),Q.update.call(this,st)},update:function(st){var xt=this._model,ut=this._api,pt=this._zr,It=this._coordSysMgr,Tt=this._scheduler;if(!xt)return;Tt.restoreData(xt,st),Tt.performSeriesTasks(xt),It.create(xt,ut),Tt.performDataProcessorTasks(xt,st),Ne(this,xt),It.update(xt,ut),ht(xt),Tt.performVisualTasks(xt,st),Et(this,xt,ut,st);var ft=xt.get("backgroundColor")||"transparent";if(h.canvasSupported)pt.setBackgroundColor(ft);else{var Ht=v.parse(ft);ft=v.stringify(Ht,"rgb"),Ht[3]===0&&(ft="transparent")}Ke(xt,ut)},updateTransform:function(st){var xt=this._model,ut=this,pt=this._api;if(!xt)return;var It=[];xt.eachComponent(function(ft,Ht){var Ft=ut.getViewOfComponentModel(Ht);if(Ft&&Ft.__alive)if(Ft.updateTransform){var ir=Ft.updateTransform(Ht,xt,pt,st);ir&&ir.update&&It.push(Ft)}else It.push(Ft)});var Tt=m.createHashMap();xt.eachSeries(function(ft){var Ht=ut._chartsMap[ft.__viewId];if(Ht.updateTransform){var Ft=Ht.updateTransform(ft,xt,pt,st);Ft&&Ft.update&&Tt.set(ft.uid,1)}else Tt.set(ft.uid,1)}),ht(xt),this._scheduler.performVisualTasks(xt,st,{setDirty:!0,dirtyMap:Tt}),Dt(ut,xt,pt,st,Tt),Ke(xt,this._api)},updateView:function(st){var xt=this._model;if(!xt)return;p.markUpdateMethod(st,"updateView"),ht(xt),this._scheduler.performVisualTasks(xt,st,{setDirty:!0}),Et(this,this._model,this._api,st),Ke(xt,this._api)},updateVisual:function(st){Q.update.call(this,st)},updateLayout:function(st){Q.update.call(this,st)}};function ye(st){var xt=st._model,ut=st._scheduler;ut.restorePipelines(xt),ut.prepareStageTasks(),Ge(st,"component",xt,ut),Ge(st,"chart",xt,ut),ut.plan()}function ue(st,xt,ut,pt,It){var Tt=st._model;if(!pt){k(st._componentsViews.concat(st._chartsViews),ir);return}var ft={};ft[pt+"Id"]=ut[pt+"Id"],ft[pt+"Index"]=ut[pt+"Index"],ft[pt+"Name"]=ut[pt+"Name"];var Ht={mainType:pt,query:ft};It&&(Ht.subType=It);var Ft=ut.excludeSeriesId;Ft!=null&&(Ft=m.createHashMap(b.normalizeToArray(Ft))),Tt&&Tt.eachComponent(Ht,function(Xt){(!Ft||Ft.get(Xt.id)==null)&&ir(st[pt==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},st);function ir(Xt){Xt&&Xt.__alive&&Xt[xt]&&Xt[xt](Xt.__model,Tt,st._api,ut)}}Y.resize=function(st){if(this._disposed){Xe(this.id);return}this._zr.resize(st);var xt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!xt)return;var ut=xt.resetOption("media"),pt=st&&st.silent;this[Qe]=!0,ut&&ye(this),Q.update.call(this),this[Qe]=!1,oe.call(this,pt),de.call(this,pt)};function Ne(st,xt){var ut=st._chartsMap,pt=st._scheduler;xt.eachSeries(function(It){pt.updateStreamModes(It,ut[It.__viewId])})}Y.showLoading=function(st,xt){if(this._disposed){Xe(this.id);return}if(B(st)&&(xt=st,st=""),st=st||"default",this.hideLoading(),!yt[st])return;var ut=yt[st](this._api,xt),pt=this._zr;this._loadingFX=ut,pt.add(ut)},Y.hideLoading=function(){if(this._disposed){Xe(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Y.makeActionFromEvent=function(st){var xt=m.extend({},st);return xt.type=it[st.type],xt},Y.dispatchAction=function(st,xt){if(this._disposed){Xe(this.id);return}if(B(xt)||(xt={silent:!!xt}),!re[st.type])return;if(!this._model)return;if(this[Qe]){this._pendingActions.push(st);return}Te.call(this,st,xt.silent),xt.flush?this._zr.flush(!0):xt.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),oe.call(this,xt.silent),de.call(this,xt.silent)};function Te(st,xt){var ut=st.type,pt=st.escapeConnect,It=re[ut],Tt=It.actionInfo,ft=(Tt.update||"update").split(":"),Ht=ft.pop();ft=ft[0]!=null&&z(ft[0]),this[Qe]=!0;var Ft=[st],ir=!1;st.batch&&(ir=!0,Ft=m.map(st.batch,function(Nr){return Nr=m.defaults(m.extend({},Nr),st),Nr.batch=null,Nr}));var Xt=[],mr,Ar=ut==="highlight"||ut==="downplay";k(Ft,function(Nr){mr=It.action(Nr,this._model,this._api),mr=mr||m.extend({},Nr),mr.type=Tt.event||mr.type,Xt.push(mr),Ar?ue(this,Ht,Nr,"series"):ft&&ue(this,Ht,Nr,ft.main,ft.sub)},this),Ht!=="none"&&!Ar&&!ft&&(this[gt]?(ye(this),Q.update.call(this,st),this[gt]=!1):Q[Ht].call(this,st)),ir?mr={type:Tt.event||ut,escapeConnect:pt,batch:Xt}:mr=Xt[0],this[Qe]=!1,!xt&&this._messageCenter.trigger(mr.type,mr)}function oe(st){for(var xt=this._pendingActions;xt.length;){var ut=xt.shift();Te.call(this,ut,st)}}function de(st){!st&&this.trigger("updated")}function Le(st,xt){st.on("rendered",function(){xt.trigger("rendered"),st.animation.isFinished()&&!xt[gt]&&!xt._scheduler.unfinished&&!xt._pendingActions.length&&xt.trigger("finished")})}Y.appendData=function(st){if(this._disposed){Xe(this.id);return}var xt=st.seriesIndex,ut=this.getModel(),pt=ut.getSeriesByIndex(xt);pt.appendData(st),this._scheduler.unfinished=!0},Y.on=Oe("on",!1),Y.off=Oe("off",!1),Y.one=Oe("one",!1);function Ge(st,xt,ut,pt){for(var It=xt==="component",Tt=It?st._componentsViews:st._chartsViews,ft=It?st._componentsMap:st._chartsMap,Ht=st._zr,Ft=st._api,ir=0;ir<Tt.length;ir++)Tt[ir].__alive=!1;It?ut.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):ut.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,Fr=ft[Nr];if(!Fr){var tn=z(Ar.type),qr=It?u.getClass(tn.main,tn.sub):p.getClass(tn.sub);Fr=new qr,Fr.init(ut,Ft),ft[Nr]=Fr,Tt.push(Fr),Ht.add(Fr.group)}Ar.__viewId=Fr.__id=Nr,Fr.__alive=!0,Fr.__model=Ar,Fr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!It&&pt.prepareView(Fr,Ar,ut,Ft)}for(var ir=0;ir<Tt.length;){var mr=Tt[ir];mr.__alive?ir++:(!It&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(ut,Ft),Tt.splice(ir,1),delete ft[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function ht(st){st.clearColorPalette(),st.eachSeries(function(xt){xt.clearColorPalette()})}function Et(st,xt,ut,pt){Be(st,xt,ut,pt),k(st._chartsViews,function(It){It.__alive=!1}),Dt(st,xt,ut,pt),k(st._chartsViews,function(It){It.__alive||It.remove(xt,ut)})}function Be(st,xt,ut,pt,It){k(It||st._componentsViews,function(Tt){var ft=Tt.__model;Tt.render(ft,xt,ut,pt),ot(ft,Tt)})}function Dt(st,xt,ut,pt,It){var Tt=st._scheduler,ft;xt.eachSeries(function(Ht){var Ft=st._chartsMap[Ht.__viewId];Ft.__alive=!0;var ir=Ft.renderTask;Tt.updatePayload(ir,pt),It&&It.get(Ht.uid)&&ir.dirty(),ft|=ir.perform(Tt.getPerformArgs(ir)),Ft.group.silent=!!Ht.get("silent"),ot(Ht,Ft),tt(Ht,Ft)}),Tt.unfinished|=ft,et(st,xt),T(st._zr.dom,xt)}function Ke(st,xt){k(Zt,function(ut){ut(st,xt)})}var At=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Y._initEvents=function(){k(At,function(st){var xt=function(ut){var pt=this.getModel(),It=ut.target,Tt,ft=st==="globalout";if(ft)Tt={};else if(It&&It.dataIndex!=null){var Ht=It.dataModel||pt.getSeriesByIndex(It.seriesIndex);Tt=Ht&&Ht.getDataParams(It.dataIndex,It.dataType,It)||{}}else It&&It.eventData&&(Tt=m.extend({},It.eventData));if(Tt){var Ft=Tt.componentType,ir=Tt.componentIndex;(Ft==="markLine"||Ft==="markPoint"||Ft==="markArea")&&(Ft="series",ir=Tt.seriesIndex);var Xt=Ft&&ir!=null&&pt.getComponent(Ft,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];Tt.event=ut,Tt.type=st,this._ecEventProcessor.eventInfo={targetEl:It,packedEvent:Tt,model:Xt,view:mr},this.trigger(st,Tt)}};xt.zrEventfulCallAtLast=!0,this._zr.on(st,xt,this)},this),k(it,function(st,xt){this._messageCenter.on(xt,function(ut){this.trigger(xt,ut)},this)},this)},Y.isDisposed=function(){return this._disposed},Y.clear=function(){if(this._disposed){Xe(this.id);return}this.setOption({series:[]},!0)},Y.dispose=function(){if(this._disposed){Xe(this.id);return}this._disposed=!0,b.setAttribute(this.getDom(),ve,"");var st=this._api,xt=this._model;k(this._componentsViews,function(ut){ut.dispose(xt,st)}),k(this._chartsViews,function(ut){ut.dispose(xt,st)}),this._zr.dispose(),delete _t[this.id]},m.mixin(ce,a);function Xe(st){}function et(st,xt){var ut=st._zr,pt=ut.storage,It=0;pt.traverse(function(Tt){It++}),It>xt.get("hoverLayerThreshold")&&!h.node&&xt.eachSeries(function(Tt){if(Tt.preventUsingHoverLayer)return;var ft=st._chartsMap[Tt.__viewId];ft.__alive&&ft.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function tt(st,xt){var ut=st.get("blendMode")||null;xt.group.traverse(function(pt){pt.isGroup||pt.style.blend!==ut&&pt.setStyle("blend",ut),pt.eachPendingDisplayable&&pt.eachPendingDisplayable(function(It){It.setStyle("blend",ut)})})}function ot(st,xt){var ut=st.get("z"),pt=st.get("zlevel");xt.group.traverse(function(It){It.type!=="group"&&(ut!=null&&(It.z=ut),pt!=null&&(It.zlevel=pt))})}function Ve(st){var xt=st._coordSysMgr;return m.extend(new r(st),{getCoordinateSystems:m.bind(xt.getCoordinateSystems,xt),getComponentByElement:function(ut){for(;ut;){var pt=ut.__ecComponentInfo;if(pt!=null)return st._model.getComponent(pt.mainType,pt.index);ut=ut.parent}}})}function se(){this.eventInfo}se.prototype={constructor:se,normalizeQuery:function(st){var xt={},ut={},pt={};if(m.isString(st)){var It=z(st);xt.mainType=It.main||null,xt.subType=It.sub||null}else{var Tt=["Index","Name","Id"],ft={name:1,dataIndex:1,dataType:1};m.each(st,function(Ht,Ft){for(var ir=!1,Xt=0;Xt<Tt.length;Xt++){var mr=Tt[Xt],Ar=Ft.lastIndexOf(mr);if(Ar>0&&Ar===Ft.length-mr.length){var Nr=Ft.slice(0,Ar);Nr!=="data"&&(xt.mainType=Nr,xt[mr.toLowerCase()]=Ht,ir=!0)}}ft.hasOwnProperty(Ft)&&(ut[Ft]=Ht,ir=!0),ir||(pt[Ft]=Ht)})}return{cptQuery:xt,dataQuery:ut,otherQuery:pt}},filter:function(st,xt,ut){var pt=this.eventInfo;if(!pt)return!0;var It=pt.targetEl,Tt=pt.packedEvent,ft=pt.model,Ht=pt.view;if(!ft||!Ht)return!0;var Ft=xt.cptQuery,ir=xt.dataQuery;return Xt(Ft,ft,"mainType")&&Xt(Ft,ft,"subType")&&Xt(Ft,ft,"index","componentIndex")&&Xt(Ft,ft,"name")&&Xt(Ft,ft,"id")&&Xt(ir,Tt,"name")&&Xt(ir,Tt,"dataIndex")&&Xt(ir,Tt,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(st,xt.otherQuery,It,Tt));function Xt(mr,Ar,Nr,Fr){return mr[Nr]==null||Ar[Fr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var re={},it={},qe=[],be=[],Zt=[],dt=[],ct={},yt={},_t={},or={},Bt=new Date-0,we=new Date-0,ve="_echarts_instance_";function me(st){var xt=0,ut=1,pt=2,It="__connectUpdateStatus";function Tt(ft,Ht){for(var Ft=0;Ft<ft.length;Ft++){var ir=ft[Ft];ir[It]=Ht}}k(it,function(ft,Ht){st._messageCenter.on(Ht,function(Ft){if(or[st.group]&&st[It]!==xt){if(Ft&&Ft.escapeConnect)return;var ir=st.makeActionFromEvent(Ft),Xt=[];k(_t,function(mr){mr!==st&&mr.group===st.group&&Xt.push(mr)}),Tt(Xt,xt),k(Xt,function(mr){mr[It]!==ut&&mr.dispatchAction(ir)}),Tt(Xt,pt)}})})}function he(st,xt,ut){var pt=Pe(st);if(pt)return pt;var It=new ce(st,xt,ut);return It.id="ec_"+Bt++,_t[It.id]=It,b.setAttribute(st,ve,It.id),me(It),It}function Re(st){if(m.isArray(st)){var xt=st;st=null,k(xt,function(ut){ut.group!=null&&(st=ut.group)}),st=st||"g_"+we++,k(xt,function(ut){ut.group=st})}return or[st]=!0,st}function He(st){or[st]=!1}var ze=He;function Ye(st){typeof st=="string"?st=_t[st]:st instanceof ce||(st=Pe(st)),st instanceof ce&&!st.isDisposed()&&st.dispose()}function Pe(st){return _t[b.getAttribute(st,ve)]}function nt(st){return _t[st]}function bt(st,xt){ct[st]=xt}function Ot(st){be.push(st)}function ae(st,xt){$e(qe,st,xt,H)}function pe(st){Zt.push(st)}function J(st,xt,ut){typeof xt=="function"&&(ut=xt,xt="");var pt=B(st)?st.type:[st,st={event:xt}][0];st.event=(st.event||pt).toLowerCase(),xt=st.event,F(_e.test(pt)&&_e.test(xt)),re[pt]||(re[pt]={action:ut,actionInfo:st}),it[xt]=pt}function ne(st,xt){o.register(st,xt)}function xe(st){var xt=o.get(st);if(xt)return xt.getDimensionsInfo?xt.getDimensionsInfo():xt.dimensions.slice()}function De(st,xt){$e(dt,st,xt,G,"layout")}function Fe(st,xt){$e(dt,st,xt,q,"visual")}function $e(st,xt,ut,pt,It){(P(xt)||B(xt))&&(ut=xt,xt=pt);var Tt=x.wrapStageHandler(ut,It);return Tt.__prio=xt,Tt.__raw=ut,st.push(Tt),Tt}function vt(st,xt){yt[st]=xt}function Wt(st){return t.extend(st)}function $t(st){return u.extend(st)}function Rt(st){return s.extend(st)}function Kt(st){return p.extend(st)}function Gt(st){m.$override("createCanvas",st)}function Qt(st,xt,ut){N.registerMap(st,xt,ut)}function Mt(st){var xt=N.retrieveMap(st);return xt&&xt[0]&&{geoJson:xt[0].geoJSON,specialAreas:xt[0].specialAreas}}Fe(ge,S),Ot(n),ae(X,l),vt("default",L),J({type:"highlight",event:"highlight",update:"highlight"},m.noop),J({type:"downplay",event:"downplay",update:"downplay"},m.noop),bt("light",C),bt("dark",O);var dr={};_.version=R,_.dependencies=U,_.PRIORITY=Ue,_.init=he,_.connect=Re,_.disConnect=He,_.disconnect=ze,_.dispose=Ye,_.getInstanceByDom=Pe,_.getInstanceById=nt,_.registerTheme=bt,_.registerPreprocessor=Ot,_.registerProcessor=ae,_.registerPostUpdate=pe,_.registerAction=J,_.registerCoordinateSystem=ne,_.getCoordinateSystemDimensions=xe,_.registerLayout=De,_.registerVisual=Fe,_.registerLoading=vt,_.extendComponentModel=Wt,_.extendComponentView=$t,_.extendSeriesModel=Rt,_.extendChartView=Kt,_.setCanvasCreator=Gt,_.registerMap=Qt,_.getMap=Mt,_.dataTool=dr;var er=e("txkQ");(function(){for(var st in er)er.hasOwnProperty(st)&&(_[st]=er[st])})()},Q7if:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});D.exports=f},Q9mQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("UADf"),m=e.n(y)},"QB+1":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},QBsz:function(D,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(x,C){var O=new e(2);return x==null&&(x=0),C==null&&(C=0),O[0]=x,O[1]=C,O}function f(x,C){return x[0]=C[0],x[1]=C[1],x}function y(x){var C=new e(2);return C[0]=x[0],C[1]=x[1],C}function m(x,C,O){return x[0]=C,x[1]=O,x}function v(x,C,O){return x[0]=C[0]+O[0],x[1]=C[1]+O[1],x}function h(x,C,O,N){return x[0]=C[0]+O[0]*N,x[1]=C[1]+O[1]*N,x}function c(x,C,O){return x[0]=C[0]-O[0],x[1]=C[1]-O[1],x}function a(x){return Math.sqrt(r(x))}var i=a;function r(x){return x[0]*x[0]+x[1]*x[1]}var o=r;function d(x,C,O){return x[0]=C[0]*O[0],x[1]=C[1]*O[1],x}function n(x,C,O){return x[0]=C[0]/O[0],x[1]=C[1]/O[1],x}function l(x,C){return x[0]*C[0]+x[1]*C[1]}function t(x,C,O){return x[0]=C[0]*O,x[1]=C[1]*O,x}function s(x,C){var O=a(C);return O===0?(x[0]=0,x[1]=0):(x[0]=C[0]/O,x[1]=C[1]/O),x}function u(x,C){return Math.sqrt((x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1]))}var p=u;function w(x,C){return(x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1])}var b=w;function E(x,C){return x[0]=-C[0],x[1]=-C[1],x}function A(x,C,O,N){return x[0]=C[0]+N*(O[0]-C[0]),x[1]=C[1]+N*(O[1]-C[1]),x}function S(x,C,O){var N=C[0],F=C[1];return x[0]=O[0]*N+O[2]*F+O[4],x[1]=O[1]*N+O[3]*F+O[5],x}function T(x,C,O){return x[0]=Math.min(C[0],O[0]),x[1]=Math.min(C[1],O[1]),x}function L(x,C,O){return x[0]=Math.max(C[0],O[0]),x[1]=Math.max(C[1],O[1]),x}_.create=g,_.copy=f,_.clone=y,_.set=m,_.add=v,_.scaleAndAdd=h,_.sub=c,_.len=a,_.length=i,_.lenSquare=r,_.lengthSquare=o,_.mul=d,_.div=n,_.dot=l,_.scale=t,_.normalize=s,_.distance=u,_.dist=p,_.distanceSquare=w,_.distSquare=b,_.negate=E,_.lerp=A,_.applyTransform=S,_.min=T,_.max=L},"QO+J":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=y(e("NohK")),f=e("24YM");function y(v){return v&&v.__esModule?v:{default:v}}var m=function(h){var c=void 0,a=[],i=function(){getComputedStyle(h).position==="static"&&(h.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",f.SensorClassName),t.setAttribute("tabindex",f.SensorTabIndex),t.type="text/html",h.appendChild(t),t.data="about:blank",t},r=(0,g.default)(function(){a.forEach(function(l){l(h)})}),o=function(t){c||(c=i()),a.indexOf(t)===-1&&a.push(t)},d=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",r),c.parentNode.removeChild(c),c=void 0,a=[])},n=function(t){var s=a.indexOf(t);s!==-1&&a.splice(s,1),a.length===0&&c&&d()};return{element:h,bind:o,destroy:d,unbind:n}};_.createSensor=m},"QQZ/":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=y(c);var i=c?f(h):0;return c&&i<c?g(c-i,a)+h:h}D.exports=v},QUw5:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});D.exports=f},QV2g:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(){for(var m,v=[],h=0;h<256;h++){m=h;for(var c=0;c<8;c++)m=m&1?3988292384^m>>>1:m>>>1;v[h]=m}return v}var f=g();function y(m,v,h,c){var a=f,i=c+h;m^=-1;for(var r=c;r<i;r++)m=m>>>8^a[(m^v[r])&255];return m^-1}},QbM5:function(D,_,e){},Qe9p:function(D,_,e){var g=e("1RvN"),f={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function y(C){return C=Math.round(C),C<0?0:C>255?255:C}function m(C){return C=Math.round(C),C<0?0:C>360?360:C}function v(C){return C<0?0:C>1?1:C}function h(C){return C.length&&C.charAt(C.length-1)==="%"?y(parseFloat(C)/100*255):y(parseInt(C,10))}function c(C){return C.length&&C.charAt(C.length-1)==="%"?v(parseFloat(C)/100):v(parseFloat(C))}function a(C,O,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?C+(O-C)*N*6:N*2<1?O:N*3<2?C+(O-C)*(2/3-N)*6:C}function i(C,O,N){return C+(O-C)*N}function r(C,O,N,F,k){return C[0]=O,C[1]=N,C[2]=F,C[3]=k,C}function o(C,O){return C[0]=O[0],C[1]=O[1],C[2]=O[2],C[3]=O[3],C}var d=new g(20),n=null;function l(C,O){n&&o(n,O),n=d.put(C,n||O.slice())}function t(C,O){if(!C)return;O=O||[];var N=d.get(C);if(N)return o(O,N);C=C+"";var F=C.replace(/ /g,"").toLowerCase();if(F in f)return o(O,f[F]),l(C,O),O;if(F.charAt(0)==="#"){if(F.length===4){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=4095)){r(O,0,0,0,1);return}return r(O,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),l(C,O),O}else if(F.length===7){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=16777215)){r(O,0,0,0,1);return}return r(O,(k&16711680)>>16,(k&65280)>>8,k&255,1),l(C,O),O}return}var P=F.indexOf("("),B=F.indexOf(")");if(P!==-1&&B+1===F.length){var z=F.substr(0,P),R=F.substr(P+1,B-(P+1)).split(","),U=1;switch(z){case"rgba":if(R.length!==4){r(O,0,0,0,1);return}U=c(R.pop());case"rgb":if(R.length!==3){r(O,0,0,0,1);return}return r(O,h(R[0]),h(R[1]),h(R[2]),U),l(C,O),O;case"hsla":if(R.length!==4){r(O,0,0,0,1);return}return R[3]=c(R[3]),s(R,O),l(C,O),O;case"hsl":if(R.length!==3){r(O,0,0,0,1);return}return s(R,O),l(C,O),O;default:return}}r(O,0,0,0,1);return}function s(C,O){var N=(parseFloat(C[0])%360+360)%360/360,F=c(C[1]),k=c(C[2]),P=k<=.5?k*(F+1):k+F-k*F,B=k*2-P;return O=O||[],r(O,y(a(B,P,N+1/3)*255),y(a(B,P,N)*255),y(a(B,P,N-1/3)*255),1),C.length===4&&(O[3]=C[3]),O}function u(C){if(!C)return;var O=C[0]/255,N=C[1]/255,F=C[2]/255,k=Math.min(O,N,F),P=Math.max(O,N,F),B=P-k,z=(P+k)/2,R,U;if(B===0)R=0,U=0;else{z<.5?U=B/(P+k):U=B/(2-P-k);var j=((P-O)/6+B/2)/B,H=((P-N)/6+B/2)/B,V=((P-F)/6+B/2)/B;O===P?R=V-H:N===P?R=1/3+j-V:F===P&&(R=2/3+H-j),R<0&&(R+=1),R>1&&(R-=1)}var X=[R*360,U,z];return C[3]!=null&&X.push(C[3]),X}function p(C,O){var N=t(C);if(N){for(var F=0;F<3;F++)O<0?N[F]=N[F]*(1-O)|0:N[F]=(255-N[F])*O+N[F]|0,N[F]>255?N[F]=255:C[F]<0&&(N[F]=0);return x(N,N.length===4?"rgba":"rgb")}}function w(C){var O=t(C);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function b(C,O,N){if(!(O&&O.length)||!(C>=0&&C<=1))return;N=N||[];var F=C*(O.length-1),k=Math.floor(F),P=Math.ceil(F),B=O[k],z=O[P],R=F-k;return N[0]=y(i(B[0],z[0],R)),N[1]=y(i(B[1],z[1],R)),N[2]=y(i(B[2],z[2],R)),N[3]=v(i(B[3],z[3],R)),N}var E=b;function A(C,O,N){if(!(O&&O.length)||!(C>=0&&C<=1))return;var F=C*(O.length-1),k=Math.floor(F),P=Math.ceil(F),B=t(O[k]),z=t(O[P]),R=F-k,U=x([y(i(B[0],z[0],R)),y(i(B[1],z[1],R)),y(i(B[2],z[2],R)),v(i(B[3],z[3],R))],"rgba");return N?{color:U,leftIndex:k,rightIndex:P,value:F}:U}var S=A;function T(C,O,N,F){if(C=t(C),C)return C=u(C),O!=null&&(C[0]=m(O)),N!=null&&(C[1]=c(N)),F!=null&&(C[2]=c(F)),x(s(C),"rgba")}function L(C,O){if(C=t(C),C&&O!=null)return C[3]=v(O),x(C,"rgba")}function x(C,O){if(!C||!C.length)return;var N=C[0]+","+C[1]+","+C[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(N+=","+C[3]),O+"("+N+")"}_.parse=t,_.lift=p,_.toHex=w,_.fastLerp=b,_.fastMapToColor=E,_.lerp=A,_.mapToColor=S,_.modifyHSL=T,_.modifyAlpha=L,_.stringify=x},Qi1f:function(D,_,e){"use strict";e.d(_,"g",function(){return r}),e.d(_,"c",function(){return o}),e.d(_,"a",function(){return n}),e.d(_,"b",function(){return l}),e.d(_,"d",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"f",function(){return w});var g=e("VTBJ"),f=e("U8pU"),y=e("HXN9"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("Kwbf"),a=e("Gu+u"),i=e.n(a);function r(b,E){Object(c.a)(b,"[@ant-design/icons] ".concat(E))}function o(b){return Object(f.a)(b)==="object"&&typeof b.name=="string"&&typeof b.theme=="string"&&(Object(f.a)(b.icon)==="object"||typeof b.icon=="function")}function d(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(b).reduce(function(E,A){var S=b[A];switch(A){case"class":E.className=S,delete E.class;break;default:E[A]=S}return E},{})}function n(b,E,A){return A?h.a.createElement(b.tag,Object(g.a)(Object(g.a)({key:E},d(b.attrs)),A),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))})):h.a.createElement(b.tag,Object(g.a)({key:E},d(b.attrs)),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))}))}function l(b){return Object(y.generate)(b)[0]}function t(b){return b?Array.isArray(b)?b:[b]:[]}var s={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},u=`
|
|
|
.anticon {
|
|
|
display: inline-block;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,p=!1,w=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u;Object(v.useEffect)(function(){p||(Object(a.insertCss)(E,{prepend:!0}),p=!0)},[])}},QkVE:function(D,_,e){var g=e("EpBk");function f(y,m){var v=y.__data__;return g(m)?v[typeof m=="string"?"string":"hash"]:v.map}D.exports=f},QoRX:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length;++y<m;)if(f(g[y],y,g))return!0;return!1}D.exports=e},QqLw:function(D,_,e){var g=e("tadb"),f=e("ebwN"),y=e("HOxn"),m=e("yGk4"),v=e("Of+w"),h=e("NykK"),c=e("3Fdi"),a="[object Map]",i="[object Object]",r="[object Promise]",o="[object Set]",d="[object WeakMap]",n="[object DataView]",l=c(g),t=c(f),s=c(y),u=c(m),p=c(v),w=h;(g&&w(new g(new ArrayBuffer(1)))!=n||f&&w(new f)!=a||y&&w(y.resolve())!=r||m&&w(new m)!=o||v&&w(new v)!=d)&&(w=function(b){var E=h(b),A=E==i?b.constructor:void 0,S=A?c(A):"";if(S)switch(S){case l:return n;case t:return a;case s:return r;case u:return o;case p:return d}return E}),D.exports=w},Qs3X:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Qs9O:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};_.default=g},QuXc:function(D,_){var e=function(y){this.colorStops=y||[]};e.prototype={constructor:e,addColorStop:function(y,m){this.colorStops.push({offset:y,color:m})}};var g=e;D.exports=g},Qvb6:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),m=e("B9fm"),v=e("gvm7"),h=e("7aKB"),c=e("OELB"),a=e("IwbS"),i=e("Ez2D"),r=e("+TT/"),o=e("Qxkt"),d=e("F9bG"),n=e("aX7z"),l=e("/y7N"),t=e("4NO4"),s=t.getTooltipRenderMode,u=f.bind,p=f.each,w=c.parsePercent,b=new a.Rect({shape:{x:-1,y:-1,width:2,height:2}}),E=g.extendComponentView({type:"tooltip",init:function(O,N){if(y.node)return;var F=O.getComponent("tooltip"),k=F.get("renderMode");this._renderMode=s(k);var P;this._renderMode==="html"?(P=new m(N.getDom(),N,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(P=new v(N),this._newLine=`
|
|
|
`),this._tooltipContent=P},render:function(O,N,F){if(y.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=N,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,N=O.get("triggerOn");d.register("itemTooltip",this._api,u(function(F,k,P){N!=="none"&&(N.indexOf(F)>=0?this._tryShow(k,P):F==="leave"&&this._hide(P))},this))},_keepShow:function(){var O=this._tooltipModel,N=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&k.manuallyShowTip(O,N,F,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(O,N,F,k){if(k.from===this.uid||y.node)return;var P=S(k,F);this._ticket="";var B=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var z=b;z.position=[k.x,k.y],z.update(),z.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:z},P)}else if(B)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},P);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(O,N,F,k))return;var R=i(k,N),U=R.point[0],j=R.point[1];U!=null&&j!=null&&this._tryShow({offsetX:U,offsetY:j,position:k.position,target:R.el},P)}else k.x!=null&&k.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:F.getZr().findHover(k.x,k.y).target},P))},manuallyHideTip:function(O,N,F,k){var P=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&P.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(S(k,F))},_manuallyAxisShowTip:function(O,N,F,k){var P=k.seriesIndex,B=k.dataIndex,z=N.getComponent("axisPointer").coordSysAxesInfo;if(P==null||B==null||z==null)return;var R=N.getSeriesByIndex(P);if(!R)return;var U=R.getData(),O=A([U.getItemModel(B),R,(R.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:P,dataIndex:B,position:k.position}),!0)},_tryShow:function(O,N){var F=O.target,k=this._tooltipModel;if(!k)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var P=O.dataByCoordSys;P&&P.length?this._showAxisTooltip(P,O):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,F,N)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,F,N)):(this._lastDataByCoordSys=null,this._hide(N))},_showOrMove:function(O,N){var F=O.get("showDelay");N=f.bind(N,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(N,F):N()},_showAxisTooltip:function(O,N){var F=this._ecModel,k=this._tooltipModel,P=[N.offsetX,N.offsetY],B=[],z=[],R=A([N.tooltipOption,k]),U=this._renderMode,j=this._newLine,H={};p(O,function(X){p(X.dataByAxis,function(W){var G=F.getComponent(W.axisDim+"Axis",W.axisIndex),$=W.value,ge=[];if(!G||$==null)return;var q=l.getValueLabel($,G.axis,F,W.seriesDataIndices,W.valueLabelOpt);f.each(W.seriesDataIndices,function(Ce){var Ae=F.getSeriesByIndex(Ce.seriesIndex),Ue=Ce.dataIndexInside,Qe=Ae&&Ae.getDataParams(Ue);if(Qe.axisDim=W.axisDim,Qe.axisIndex=W.axisIndex,Qe.axisType=W.axisType,Qe.axisId=W.axisId,Qe.axisValue=n.getAxisRawValue(G.axis,$),Qe.axisValueLabel=q,Qe){z.push(Qe);var gt=Ae.formatTooltip(Ue,!0,null,U),_e;if(f.isObject(gt)){_e=gt.html;var Oe=gt.markers;f.merge(H,Oe)}else _e=gt;ge.push(_e)}});var Se=q;U!=="html"?B.push(ge.join(j)):B.push((Se?h.encodeHTML(Se)+j:"")+ge.join(j))})},this),B.reverse(),B=B.join(this._newLine+this._newLine);var V=N.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(R,V,P[0],P[1],this._tooltipContent,z):this._showTooltipContent(R,B,z,Math.random(),P[0],P[1],V,void 0,H)})},_showSeriesItemTooltip:function(O,N,F){var k=this._ecModel,P=N.seriesIndex,B=k.getSeriesByIndex(P),z=N.dataModel||B,R=N.dataIndex,U=N.dataType,j=z.getData(U),H=A([j.getItemModel(R),z,B&&(B.coordinateSystem||{}).model,this._tooltipModel]),V=H.get("trigger");if(V!=null&&V!=="item")return;var X=z.getDataParams(R,U),W=z.formatTooltip(R,!1,U,this._renderMode),G,$;f.isObject(W)?(G=W.html,$=W.markers):(G=W,$=null);var ge="item_"+z.name+"_"+R;this._showOrMove(H,function(){this._showTooltipContent(H,G,X,ge,O.offsetX,O.offsetY,O.position,O.target,$)}),F({type:"showTip",dataIndexInside:R,dataIndex:j.getRawIndex(R),seriesIndex:P,from:this.uid})},_showComponentItemTooltip:function(O,N,F){var k=N.tooltip;if(typeof k=="string"){var P=k;k={content:P,formatter:P}}var B=new o(k,this._tooltipModel,this._ecModel),z=B.get("content"),R=Math.random();this._showOrMove(B,function(){this._showTooltipContent(B,z,B.get("formatterParams")||{},R,O.offsetX,O.offsetY,O.position,N)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(O,N,F,k,P,B,z,R,U){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var j=this._tooltipContent,H=O.get("formatter");z=z||O.get("position");var V=N;if(H&&typeof H=="string")V=h.formatTpl(H,F,!0);else if(typeof H=="function"){var X=u(function(W,G){W===this._ticket&&(j.setContent(G,U,O),this._updatePosition(O,z,P,B,j,F,R))},this);this._ticket=k,V=H(F,k,X)}j.setContent(V,U,O),j.show(O),this._updatePosition(O,z,P,B,j,F,R)},_updatePosition:function(O,N,F,k,P,B,z){var R=this._api.getWidth(),U=this._api.getHeight();N=N||O.get("position");var j=P.getSize(),H=O.get("align"),V=O.get("verticalAlign"),X=z&&z.getBoundingRect().clone();if(z&&X.applyTransform(z.transform),typeof N=="function"&&(N=N([F,k],B,P.el,X,{viewSize:[R,U],contentSize:j.slice()})),f.isArray(N))F=w(N[0],R),k=w(N[1],U);else if(f.isObject(N)){N.width=j[0],N.height=j[1];var W=r.getLayoutRect(N,{width:R,height:U});F=W.x,k=W.y,H=null,V=null}else if(typeof N=="string"&&z){var G=x(N,X,j);F=G[0],k=G[1]}else{var G=T(F,k,P,R,U,H?null:20,V?null:20);F=G[0],k=G[1]}if(H&&(F-=C(H)?j[0]/2:H==="right"?j[0]:0),V&&(k-=C(V)?j[1]/2:V==="bottom"?j[1]:0),O.get("confine")){var G=L(F,k,P,R,U);F=G[0],k=G[1]}P.moveTo(F,k)},_updateContentNotChangedOnAxis:function(O){var N=this._lastDataByCoordSys,F=!!N&&N.length===O.length;return F&&p(N,function(k,P){var B=k.dataByAxis||{},z=O[P]||{},R=z.dataByAxis||[];F&=B.length===R.length,F&&p(B,function(U,j){var H=R[j]||{},V=U.seriesDataIndices||[],X=H.seriesDataIndices||[];F&=U.value===H.value&&U.axisType===H.axisType&&U.axisId===H.axisId&&V.length===X.length,F&&p(V,function(W,G){var $=X[G];F&=W.seriesIndex===$.seriesIndex&&W.dataIndex===$.dataIndex})})}),this._lastDataByCoordSys=O,!!F},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,N){if(y.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",N)}});function A(O){for(var N=O.pop();O.length;){var F=O.pop();F&&(o.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),N=new o(F,N,N.ecModel))}return N}function S(O,N){return O.dispatchAction||f.bind(N.dispatchAction,N)}function T(O,N,F,k,P,B,z){var R=F.getOuterSize(),U=R.width,j=R.height;return B!=null&&(O+U+B>k?O-=U+B:O+=B),z!=null&&(N+j+z>P?N-=j+z:N+=z),[O,N]}function L(O,N,F,k,P){var B=F.getOuterSize(),z=B.width,R=B.height;return O=Math.min(O+z,k)-z,N=Math.min(N+R,P)-R,O=Math.max(O,0),N=Math.max(N,0),[O,N]}function x(O,N,F){var k=F[0],P=F[1],B=5,z=0,R=0,U=N.width,j=N.height;switch(O){case"inside":z=N.x+U/2-k/2,R=N.y+j/2-P/2;break;case"top":z=N.x+U/2-k/2,R=N.y-P-B;break;case"bottom":z=N.x+U/2-k/2,R=N.y+j+B;break;case"left":z=N.x-k-B,R=N.y+j/2-P/2;break;case"right":z=N.x+U+B,R=N.y+j/2-P/2}return[z,R]}function C(O){return O==="center"||O==="middle"}D.exports=E},Qxkt:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),m=y.makeInner,v=e("Yl7c"),h=v.enableClassExtend,c=v.enableClassCheck,a=e("OQFs"),i=e("m9t5"),r=e("/iHx"),o=e("VR9l"),d=g.mixin,n=m();function l(p,w,b){this.parentModel=w,this.ecModel=b,this.option=p}l.prototype={constructor:l,init:null,mergeOption:function(p){g.merge(this.option,p,!0)},get:function(p,w){return p==null?this.option:t(this.option,this.parsePath(p),!w&&s(this,p))},getShallow:function(p,w){var b=this.option,E=b==null?b:b[p],A=!w&&s(this,p);return E==null&&A&&(E=A.getShallow(p)),E},getModel:function(p,w){var b=p==null?this.option:t(this.option,p=this.parsePath(p)),E;return w=w||(E=s(this,p))&&E.getModel(p),new l(b,w,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var p=this.constructor;return new p(g.clone(this.option))},setReadOnly:function(p){},parsePath:function(p){return typeof p=="string"&&(p=p.split(".")),p},customizeGetParent:function(p){n(this).getParent=p},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(p,w,b){for(var E=0;E<w.length;E++){if(!w[E])continue;if(p=p&&typeof p=="object"?p[w[E]]:null,p==null)break}return p==null&&b&&(p=b.get(w)),p}function s(p,w){var b=n(p).getParent;return b?b.call(p,w):p.parentModel}h(l),c(l),d(l,a),d(l,i),d(l,r),d(l,o);var u=l;D.exports=u},QyFq:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};_.default=g},QzjZ:function(D,_,e){var g=e("S/Yl"),f=e("IDmD");function y(m,v){var h=[];return m.eachComponent("singleAxis",function(c,a){var i=new g(c,m,v);i.name="single_"+a,i.resize(c,v),c.coordinateSystem=i,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var a=m.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=a&&a.coordinateSystem}}),h}f.register("single",{create:y,dimensions:g.prototype.dimensions})},R4Th:function(D,_,e){var g=e("ProS"),f=e("9wZj"),y=e("yO87"),m=e("Fofx"),v=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(y)},render:function(c,a,i){var r=c.getData(),o=this._symbolDraw;o.updateData(r),this.group.add(o.group)},updateTransform:function(c,a,i){var r=c.getData();this.group.dirty();var o=v().reset(c);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(c){var a=c.coordinateSystem;a&&a.getRoamTransform&&(this.group.transform=m.clone(a.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,a){this._symbolDraw&&this._symbolDraw.remove(a)},dispose:function(){}});D.exports=h},R9oj:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pwpV"),m=e.n(y)},RBEP:function(D,_,e){for(var g=e("ProS"),f=e("VaxA"),y=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<m.length;v++)g.registerAction({type:m[v],update:"updateView"},y);g.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"treemap",query:h},a);function a(i,r){var o=["treemapZoomToNode","treemapRootToNode"],d=f.retrieveTargetInfo(h,o,i);if(d){var n=i.getViewRoot();n&&(h.direction=f.aboveViewRoot(n,d.node)?"rollUp":"drillDown"),i.resetViewRoot(d.node)}}})},RCxd:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ExclamationCircleOutlined";var h=_.a=g.forwardRef(v)},RDYZ:function(D,_,e){var g=e("dMvE");function f(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}f.prototype={constructor:f,step:function(v,h){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var c=(v-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var a=this.easing,i=typeof a=="string"?g[a]:a,r=typeof i=="function"?i(c):c;return this.fire("frame",r),c===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var h=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,h){v="on"+v,this[v]&&this[v](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var y=f;D.exports=y},RELg:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldIE-userDataStorage",write:c,read:a,each:i,remove:r,clearAll:o};var y="storejs",m=f.document,v=l(),h=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(t,s){if(h)return;var u=n(t);v(function(p){p.setAttribute(u,s),p.save(y)})}function a(t){if(h)return;var s=n(t),u=null;return v(function(p){u=p.getAttribute(s)}),u}function i(t){v(function(s){for(var u=s.XMLDocument.documentElement.attributes,p=u.length-1;p>=0;p--){var w=u[p];t(s.getAttribute(w.name),w.name)}})}function r(t){var s=n(t);v(function(u){u.removeAttribute(s),u.save(y)})}function o(){v(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(y);for(var u=s.length-1;u>=0;u--)t.removeAttribute(s[u].name);t.save(y)})}var d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(d,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var t="script",s,u,p;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),u.close(),s=u.w.frames[0].document,p=s.createElement("div")}catch(w){p=m.createElement("div"),s=m.body}return function(w){var b=[].slice.call(arguments,0);b.unshift(p),s.appendChild(p),p.addBehavior("#default#userData"),p.load(y),w.apply(this,b),s.removeChild(p);return}}},RPvy:function(D,_,e){var g=e("ProS"),f=e("VaxA"),y="sunburstRootToNode";g.registerAction({type:y,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){var o=f.retrieveTargetInfo(h,[y],i);if(o){var d=i.getViewRoot();d&&(h.direction=f.aboveViewRoot(d,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}});var m="sunburstHighlight";g.registerAction({type:m,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){var o=f.retrieveTargetInfo(h,[m],i);o&&(h.highlight=o.node)}});var v="sunburstUnhighlight";g.registerAction({type:v,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){h.unhighlight=!0}})},RSch:function(D,_,e){var g=e("IwbS"),f=e("bYtY");function y(h,c,a){g.Group.call(this),this._createPolyline(h,c,a)}var m=y.prototype;m._createPolyline=function(h,c,a){var i=h.getItemLayout(c),r=new g.Polyline({shape:{points:i}});this.add(r),this._updateCommonStl(h,c,a)},m.updateData=function(h,c,a){var i=h.hostModel,r=this.childAt(0),o={shape:{points:h.getItemLayout(c)}};g.updateProps(r,o,i,c),this._updateCommonStl(h,c,a)},m._updateCommonStl=function(h,c,a){var i=this.childAt(0),r=h.getItemModel(c),o=h.getItemVisual(c,"color"),d=a&&a.lineStyle,n=a&&a.hoverLineStyle;(!a||h.hasItemOption)&&(d=r.getModel("lineStyle").getLineStyle(),n=r.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:o},d)),i.hoverStyle=n,g.setHoverStyle(this)},m.updateLayout=function(h,c){var a=this.childAt(0);a.setShape("points",h.getItemLayout(c))},f.inherits(y,g.Group);var v=y;D.exports=v},RXMa:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,v){var h=v.cx,c=v.cy,a=Math.PI*2;m.moveTo(h+v.r,c),m.arc(h,c,v.r,0,a,!1),m.moveTo(h+v.r0,c),m.arc(h,c,v.r0,0,a,!0)}});D.exports=f},RZPm:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("JgUQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileOutlined";var c=y.forwardRef(h);_.default=c},RlCK:function(D,_,e){var g=e("ProS"),f=e("bYtY");function y(m,v,h){var c={},a=m==="toggleSelected",i;return h.eachComponent("legend",function(r){a&&i!=null?r[i?"select":"unSelect"](v.name):m==="allSelect"||m==="inverseSelect"?r[m]():(r[m](v.name),i=r.isSelected(v.name));var o=r.getData();f.each(o,function(d){var n=d.get("name");if(n===`
|
|
|
`||n==="")return;var l=r.isSelected(n);c.hasOwnProperty(n)?c[n]=c[n]&&l:c[n]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:c}:{name:v.name,selected:c}}g.registerAction("legendToggleSelect","legendselectchanged",f.curry(y,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(y,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(y,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(y,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(y,"unSelect"))},RotF:function(D,_,e){D.exports=e("LSTS")},Rx6q:function(D,_){function e(g){var f=g.getRect(),y=g.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:g.getCellWidth(),cellHeight:g.getCellHeight(),rangeInfo:{start:y.start,end:y.end,weeks:y.weeks,dayCount:y.allDay}},api:{coord:function(m,v){return g.dataToPoint(m,v)}}}}D.exports=e},"S/Yl":function(D,_,e){var g=e("Zvw2"),f=e("aX7z"),y=e("+TT/"),m=y.getLayoutRect,v=e("bYtY"),h=v.each;function c(i,r,o){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(i,r,o),this.model=i}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(i,r,o){var d=this.dimension,n=new g(d,f.createScaleByModel(i),[0,0],i.get("type"),i.get("position")),l=n.type==="category";n.onBand=l&&i.get("boundaryGap"),n.inverse=i.get("inverse"),n.orient=i.get("orient"),i.axis=n,n.model=i,n.coordinateSystem=this,this._axis=n},update:function(i,r){i.eachSeries(function(o){if(o.coordinateSystem===this){var d=o.getData();h(d.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(d,n)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(i,r){this._rect=m({left:i.get("left"),top:i.get("top"),right:i.get("right"),bottom:i.get("bottom"),width:i.get("width"),height:i.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var i=this._rect,r=this._axis,o=r.isHorizontal(),d=o?[0,i.width]:[0,i.height],n=r.reverse?1:0;r.setExtent(d[n],d[1-n]),this._updateAxisTransform(r,o?i.x:i.y)},_updateAxisTransform:function(i,r){var o=i.getExtent(),d=o[0]+o[1],n=i.isHorizontal();i.toGlobalCoord=n?function(l){return l+r}:function(l){return d-l+r},i.toLocalCoord=n?function(l){return l-r}:function(l){return d-l+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(i){var r=this.getRect(),o=this.getAxis(),d=o.orient;return d==="horizontal"?o.contain(o.toLocalCoord(i[0]))&&i[1]>=r.y&&i[1]<=r.y+r.height:o.contain(o.toLocalCoord(i[1]))&&i[0]>=r.y&&i[0]<=r.y+r.height},pointToData:function(i){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(i[r.orient==="horizontal"?0:1]))]},dataToPoint:function(i){var r=this.getAxis(),o=this.getRect(),d=[],n=r.orient==="horizontal"?0:1;return i instanceof Array&&(i=i[0]),d[n]=r.toGlobalCoord(r.dataToCoord(+i)),d[1-n]=n===0?o.y+o.height/2:o.x+o.width/2,d}};var a=c;D.exports=a},"SA+Z":function(D,_,e){var g=e("wTVA"),f=e("EbDI"),y=e("ZhPi"),m=e("wkBT");function v(h){return g(h)||f(h)||y(h)||m()}D.exports=v},"SA4+":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("IwbS"),v=e("zYTA"),h=e("bYtY");function c(o,d,n){var l=o[1]-o[0];d=h.map(d,function(u){return{interval:[(u.interval[0]-o[0])/l,(u.interval[1]-o[0])/l]}});var t=d.length,s=0;return function(u){for(var p=s;p<t;p++){var w=d[p].interval;if(w[0]<=u&&u<=w[1]){s=p;break}}if(p===t)for(var p=s-1;p>=0;p--){var w=d[p].interval;if(w[0]<=u&&u<=w[1]){s=p;break}}return p>=0&&p<t&&n[p]}}function a(o,d){var n=o[1]-o[0];return d=[(d[0]-o[0])/n,(d[1]-o[0])/n],function(l){return l>=d[0]&&l<=d[1]}}function i(o){var d=o.dimensions;return d[0]==="lng"&&d[1]==="lat"}var r=y.extendChartView({type:"heatmap",render:function(o,d,n){var l;d.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===o&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=o.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(o,n,0,o.getData().count()):i(t)&&this._renderOnGeo(t,o,l,n)},incrementalPrepareRender:function(o,d,n){this.group.removeAll()},incrementalRender:function(o,d,n,l){var t=d.coordinateSystem;t&&this._renderOnCartesianAndCalendar(d,l,o.start,o.end,!0)},_renderOnCartesianAndCalendar:function(o,d,n,l,t){var s=o.coordinateSystem,u,p;if(s.type==="cartesian2d"){var w=s.getAxis("x"),b=s.getAxis("y");u=w.getBandWidth(),p=b.getBandWidth()}for(var E=this.group,A=o.getData(),S="itemStyle",T="emphasis.itemStyle",L="label",x="emphasis.label",C=o.getModel(S).getItemStyle(["color"]),O=o.getModel(T).getItemStyle(),N=o.getModel(L),F=o.getModel(x),k=s.type,P=k==="cartesian2d"?[A.mapDimension("x"),A.mapDimension("y"),A.mapDimension("value")]:[A.mapDimension("time"),A.mapDimension("value")],B=n;B<l;B++){var z;if(k==="cartesian2d"){if(isNaN(A.get(P[2],B)))continue;var R=s.dataToPoint([A.get(P[0],B),A.get(P[1],B)]);z=new m.Rect({shape:{x:Math.floor(Math.round(R[0])-u/2),y:Math.floor(Math.round(R[1])-p/2),width:Math.ceil(u),height:Math.ceil(p)},style:{fill:A.getItemVisual(B,"color"),opacity:A.getItemVisual(B,"opacity")}})}else{if(isNaN(A.get(P[1],B)))continue;z=new m.Rect({z2:1,shape:s.dataToRect([A.get(P[0],B)]).contentShape,style:{fill:A.getItemVisual(B,"color"),opacity:A.getItemVisual(B,"opacity")}})}var U=A.getItemModel(B);A.hasItemOption&&(C=U.getModel(S).getItemStyle(["color"]),O=U.getModel(T).getItemStyle(),N=U.getModel(L),F=U.getModel(x));var j=o.getRawValue(B),H="-";j&&j[2]!=null&&(H=j[2]),m.setLabelStyle(C,O,N,F,{labelFetcher:o,labelDataIndex:B,defaultText:H,isRectText:!0}),z.setStyle(C),m.setHoverStyle(z,A.hasItemOption?O:h.extend({},O)),z.incremental=t,t&&(z.useHoverLayer=!0),E.add(z),A.setItemGraphicEl(B,z)}},_renderOnGeo:function(o,d,n,l){var t=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,u=d.getData(),p=this._hmLayer||this._hmLayer||new v;p.blurSize=d.get("blurSize"),p.pointSize=d.get("pointSize"),p.minOpacity=d.get("minOpacity"),p.maxOpacity=d.get("maxOpacity");var w=o.getViewRect().clone(),b=o.getRoamTransform();w.applyTransform(b);var E=Math.max(w.x,0),A=Math.max(w.y,0),S=Math.min(w.width+w.x,l.getWidth()),T=Math.min(w.height+w.y,l.getHeight()),L=S-E,x=T-A,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],O=u.mapArray(C,function(P,B,z){var R=o.dataToPoint([P,B]);return R[0]-=E,R[1]-=A,R.push(z),R}),N=n.getExtent(),F=n.type==="visualMap.continuous"?a(N,n.option.range):c(N,n.getPieceList(),n.option.selected);p.update(O,L,x,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},F);var k=new m.Image({style:{width:L,height:x,x:E,y:A,image:p.canvas},silent:!0});this.group.add(k)},dispose:function(){}});D.exports=r},SA8n:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),y=e("U/Mo"),m=y.getSymbolSize,v=[],h=[],c=[],a=g.quadraticAt,i=f.distSquare,r=Math.abs;function o(n,l,t){for(var s=n[0],u=n[1],p=n[2],w=Infinity,b,E=t*t,A=.1,S=.1;S<=.9;S+=.1){v[0]=a(s[0],u[0],p[0],S),v[1]=a(s[1],u[1],p[1],S);var T=r(i(v,l)-E);T<w&&(w=T,b=S)}for(var L=0;L<32;L++){var x=b+A;h[0]=a(s[0],u[0],p[0],b),h[1]=a(s[1],u[1],p[1],b),c[0]=a(s[0],u[0],p[0],x),c[1]=a(s[1],u[1],p[1],x);var T=i(h,l)-E;if(r(T)<.01)break;var C=i(c,l)-E;A/=2,T<0?C>=0?b=b+A:b=b-A:C>=0?b=b-A:b=b+A}return b}function d(n,l){var t=[],s=g.quadraticSubdivide,u=[[],[],[]],p=[[],[]],w=[];l/=2,n.eachEdge(function(b,E){var A=b.getLayout(),S=b.getVisual("fromSymbol"),T=b.getVisual("toSymbol");A.__original||(A.__original=[f.clone(A[0]),f.clone(A[1])],A[2]&&A.__original.push(f.clone(A[2])));var L=A.__original;if(A[2]!=null){if(f.copy(u[0],L[0]),f.copy(u[1],L[2]),f.copy(u[2],L[1]),S&&S!=="none"){var x=m(b.node1),C=o(u,L[0],x*l);s(u[0][0],u[1][0],u[2][0],C,t),u[0][0]=t[3],u[1][0]=t[4],s(u[0][1],u[1][1],u[2][1],C,t),u[0][1]=t[3],u[1][1]=t[4]}if(T&&T!=="none"){var x=m(b.node2),C=o(u,L[1],x*l);s(u[0][0],u[1][0],u[2][0],C,t),u[1][0]=t[1],u[2][0]=t[2],s(u[0][1],u[1][1],u[2][1],C,t),u[1][1]=t[1],u[2][1]=t[2]}f.copy(A[0],u[0]),f.copy(A[1],u[2]),f.copy(A[2],u[1])}else{if(f.copy(p[0],L[0]),f.copy(p[1],L[1]),f.sub(w,p[1],p[0]),f.normalize(w,w),S&&S!=="none"){var x=m(b.node1);f.scaleAndAdd(p[0],p[0],w,x*l)}if(T&&T!=="none"){var x=m(b.node2);f.scaleAndAdd(p[1],p[1],w,-x*l)}f.copy(A[0],p[0]),f.copy(A[1],p[1])}})}D.exports=d},SJMd:function(D,_){/**
|
|
|
* @license
|
|
|
* Copyright (C) 2006 Google Inc.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
|
*
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
*
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
|
*/var e,g,f,y=!1,m,v;window.PR_SHOULD_USE_CONTINUATION=!0;var h,c;(function(){var a=window,i=["break,continue,do,else,for,if,return,while"],r=[i,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],o=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[o,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[o,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[o,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",s=[o,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",p=[i,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],w=[i,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],b=[i,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],E=[d,l,n,s,u,p,w,b],A=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,S="str",T="kwd",L="com",x="typ",C="lit",O="pun",N="pln",F="tag",k="dec",P="src",B="atn",z="atv",R="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function j(ce){for(var Y=0,K=!1,Q=!1,ye=0,ue=ce.length;ye<ue;++ye){var Ne=ce[ye];if(Ne.ignoreCase)Q=!0;else if(/[a-z]/i.test(Ne.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){K=!0,Q=!1;break}}var Te={b:8,t:9,n:10,v:11,f:12,r:13};function oe(Et){var Be=Et.charCodeAt(0);if(Be!==92)return Be;var Dt=Et.charAt(1);return Be=Te[Dt],Be||("0"<=Dt&&Dt<="7"?parseInt(Et.substring(1),8):Dt==="u"||Dt==="x"?parseInt(Et.substring(2),16):Et.charCodeAt(1))}function de(Et){if(Et<32)return(Et<16?"\\x0":"\\x")+Et.toString(16);var Be=String.fromCharCode(Et);return Be==="\\"||Be==="-"||Be==="]"||Be==="^"?"\\"+Be:Be}function Le(Et){var Be=Et.substring(1,Et.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Dt=[],Ke=Be[0]==="^",At=["["];Ke&&At.push("^");for(var Xe=Ke?1:0,et=Be.length;Xe<et;++Xe){var tt=Be[Xe];if(/\\[bdsw]/i.test(tt))At.push(tt);else{var ot=oe(tt),Ve;Xe+2<et&&Be[Xe+1]==="-"?(Ve=oe(Be[Xe+2]),Xe+=2):Ve=ot,Dt.push([ot,Ve]),Ve<65||ot>122||(Ve<65||ot>90||Dt.push([Math.max(65,ot)|32,Math.min(Ve,90)|32]),Ve<97||ot>122||Dt.push([Math.max(97,ot)&~32,Math.min(Ve,122)&~32]))}}Dt.sort(function(qe,be){return qe[0]-be[0]||be[1]-qe[1]});for(var se=[],re=[],Xe=0;Xe<Dt.length;++Xe){var it=Dt[Xe];it[0]<=re[1]+1?re[1]=Math.max(re[1],it[1]):se.push(re=it)}for(var Xe=0;Xe<se.length;++Xe){var it=se[Xe];At.push(de(it[0])),it[1]>it[0]&&(it[1]+1>it[0]&&At.push("-"),At.push(de(it[1])))}return At.push("]"),At.join("")}function Ge(Et){for(var Be=Et.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Dt=Be.length,Ke=[],At=0,Xe=0;At<Dt;++At){var et=Be[At];if(et==="(")++Xe;else if(et.charAt(0)==="\\"){var tt=+et.substring(1);tt&&(tt<=Xe?Ke[tt]=-1:Be[At]=de(tt))}}for(var At=1;At<Ke.length;++At)Ke[At]===-1&&(Ke[At]=++Y);for(var At=0,Xe=0;At<Dt;++At){var et=Be[At];if(et==="(")++Xe,Ke[Xe]||(Be[At]="(?:");else if(et.charAt(0)==="\\"){var tt=+et.substring(1);tt&&tt<=Xe&&(Be[At]="\\"+Ke[tt])}}for(var At=0;At<Dt;++At)Be[At]==="^"&&Be[At+1]!=="^"&&(Be[At]="");if(Et.ignoreCase&&K)for(var At=0;At<Dt;++At){var et=Be[At],ot=et.charAt(0);et.length>=2&&ot==="["?Be[At]=Le(et):ot!=="\\"&&(Be[At]=et.replace(/[a-zA-Z]/g,function(re){var it=re.charCodeAt(0);return"["+String.fromCharCode(it&~32,it|32)+"]"}))}return Be.join("")}for(var ht=[],ye=0,ue=ce.length;ye<ue;++ye){var Ne=ce[ye];if(Ne.global||Ne.multiline)throw new Error(""+Ne);ht.push("(?:"+Ge(Ne)+")")}return new RegExp(ht.join("|"),Q?"gi":"g")}function H(ce,Y){var K=/(?:^|\s)nocode(?:\s|$)/,Q=[],ye=0,ue=[],Ne=0;function Te(oe){var de=oe.nodeType;if(de==1){if(K.test(oe.className))return;for(var Le=oe.firstChild;Le;Le=Le.nextSibling)Te(Le);var Ge=oe.nodeName.toLowerCase();(Ge==="br"||Ge==="li")&&(Q[Ne]=`
|
|
|
`,ue[Ne<<1]=ye++,ue[Ne++<<1|1]=oe)}else if(de==3||de==4){var ht=oe.nodeValue;ht.length&&(Y?ht=ht.replace(/\r\n?/g,`
|
|
|
`):ht=ht.replace(/[ \t\r\n]+/g," "),Q[Ne]=ht,ue[Ne<<1]=ye,ye+=ht.length,ue[Ne++<<1|1]=oe)}}return Te(ce),{sourceCode:Q.join("").replace(/\n$/,""),spans:ue}}function V(ce,Y,K,Q,ye){if(!K)return;var ue={sourceNode:ce,pre:1,langExtension:null,numberLines:null,sourceCode:K,spans:null,basePos:Y,decorations:null};Q(ue),ye.push.apply(ye,ue.decorations)}var X=/\S/;function W(ce){for(var Y=void 0,K=ce.firstChild;K;K=K.nextSibling){var Q=K.nodeType;Y=Q===1?Y?ce:K:Q===3&&X.test(K.nodeValue)?ce:Y}return Y===ce?void 0:Y}function G(ce,Y){var K={},Q;(function(){for(var Ne=ce.concat(Y),Te=[],oe={},de=0,Le=Ne.length;de<Le;++de){var Ge=Ne[de],ht=Ge[3];if(ht)for(var Et=ht.length;--Et>=0;)K[ht.charAt(Et)]=Ge;var Be=Ge[1],Dt=""+Be;oe.hasOwnProperty(Dt)||(Te.push(Be),oe[Dt]=null)}Te.push(/[\0-\uffff]/),Q=j(Te)})();var ye=Y.length,ue=function Ne(Te){for(var oe=Te.sourceCode,de=Te.basePos,Le=Te.sourceNode,Ge=[de,N],ht=0,Et=oe.match(Q)||[],Be={},Dt=0,Ke=Et.length;Dt<Ke;++Dt){var At=Et[Dt],Xe=Be[At],et=void 0,tt;if(typeof Xe=="string")tt=!1;else{var ot=K[At.charAt(0)];if(ot)et=At.match(ot[1]),Xe=ot[0];else{for(var Ve=0;Ve<ye;++Ve)if(ot=Y[Ve],et=At.match(ot[1]),et){Xe=ot[0];break}et||(Xe=N)}tt=Xe.length>=5&&Xe.substring(0,5)==="lang-",tt&&!(et&&typeof et[1]=="string")&&(tt=!1,Xe=P),tt||(Be[At]=Xe)}var se=ht;if(ht+=At.length,!tt)Ge.push(de+se,Xe);else{var re=et[1],it=At.indexOf(re),qe=it+re.length;et[2]&&(qe=At.length-et[2].length,it=qe-re.length);var be=Xe.substring(5);V(Le,de+se,At.substring(0,it),Ne,Ge),V(Le,de+se+it,re,Ue(be,re),Ge),V(Le,de+se+qe,At.substring(qe),Ne,Ge)}}Te.decorations=Ge};return ue}function $(ce){var Y=[],K=[];ce.tripleQuotedStrings?Y.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ce.multiLineStrings?Y.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Y.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ce.verbatimStrings&&K.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Q=ce.hashComments;Q&&(ce.cStyleComments?(Q>1?Y.push([L,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Y.push([L,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),K.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Y.push([L,/^#[^\r\n]*/,null,"#"])),ce.cStyleComments&&(K.push([L,/^\/\/[^\r\n]*/,null]),K.push([L,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var ye=ce.regexLiterals;if(ye){var ue=ye>1?"":`
|
|
|
\r`,Ne=ue?".":"[\\S\\s]",Te="/(?=[^/*"+ue+"])(?:[^/\\x5B\\x5C"+ue+"]|\\x5C"+Ne+"|\\x5B(?:[^\\x5C\\x5D"+ue+"]|\\x5C"+Ne+")*(?:\\x5D|$))+/";K.push(["lang-regex",RegExp("^"+U+"("+Te+")")])}var oe=ce.types;oe&&K.push([x,oe]);var de=(""+ce.keywords).replace(/^ | $/g,"");de.length&&K.push([T,new RegExp("^(?:"+de.replace(/[\s,]+/g,"|")+")\\b"),null]),Y.push([N,/^\s+/,null,` \r
|
|
|
\xA0`]);var Le="^.[^\\s\\w.$@'\"`/\\\\]*";return ce.regexLiterals&&(Le+="(?!s*/)"),K.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[x,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[N,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[N,/^\\[\s\S]?/,null],[O,new RegExp(Le),null]),G(Y,K)}var ge=$({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function q(ce,Y,K){for(var Q=/(?:^|\s)nocode(?:\s|$)/,ye=/\r\n?|\n/,ue=ce.ownerDocument,Ne=ue.createElement("li");ce.firstChild;)Ne.appendChild(ce.firstChild);var Te=[Ne];function oe(Be){var Dt=Be.nodeType;if(Dt==1&&!Q.test(Be.className))if(Be.nodeName==="br")de(Be),Be.parentNode&&Be.parentNode.removeChild(Be);else for(var Ke=Be.firstChild;Ke;Ke=Ke.nextSibling)oe(Ke);else if((Dt==3||Dt==4)&&K){var At=Be.nodeValue,Xe=At.match(ye);if(Xe){var et=At.substring(0,Xe.index);Be.nodeValue=et;var tt=At.substring(Xe.index+Xe[0].length);if(tt){var ot=Be.parentNode;ot.insertBefore(ue.createTextNode(tt),Be.nextSibling)}de(Be),et||Be.parentNode.removeChild(Be)}}}function de(Be){for(;!Be.nextSibling;)if(Be=Be.parentNode,!Be)return;function Dt(Xe,et){var tt=et?Xe.cloneNode(!1):Xe,ot=Xe.parentNode;if(ot){var Ve=Dt(ot,1),se=Xe.nextSibling;Ve.appendChild(tt);for(var re=se;re;re=se)se=re.nextSibling,Ve.appendChild(re)}return tt}for(var Ke=Dt(Be.nextSibling,0),At;(At=Ke.parentNode)&&At.nodeType===1;)Ke=At;Te.push(Ke)}for(var Le=0;Le<Te.length;++Le)oe(Te[Le]);Y===(Y|0)&&Te[0].setAttribute("value",Y);var Ge=ue.createElement("ol");Ge.className="linenums";for(var ht=Math.max(0,Y-1|0)||0,Le=0,Et=Te.length;Le<Et;++Le)Ne=Te[Le],Ne.className="L"+(Le+ht)%10,Ne.firstChild||Ne.appendChild(ue.createTextNode("\xA0")),Ge.appendChild(Ne);ce.appendChild(Ge)}function Se(ce){var Y=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Y=Y&&+Y[1]<=8;var K=/\n/g,Q=ce.sourceCode,ye=Q.length,ue=0,Ne=ce.spans,Te=Ne.length,oe=0,de=ce.decorations,Le=de.length,Ge=0;de[Le]=ye;var ht,Et;for(Et=ht=0;Et<Le;)de[Et]!==de[Et+2]?(de[ht++]=de[Et++],de[ht++]=de[Et++]):Et+=2;for(Le=ht,Et=ht=0;Et<Le;){for(var Be=de[Et],Dt=de[Et+1],Ke=Et+2;Ke+2<=Le&&de[Ke+1]===Dt;)Ke+=2;de[ht++]=Be,de[ht++]=Dt,Et=Ke}Le=de.length=ht;var At=ce.sourceNode,Xe="";At&&(Xe=At.style.display,At.style.display="none");try{for(var et=null;oe<Te;){var tt=Ne[oe],ot=Ne[oe+2]||ye,Ve=de[Ge+2]||ye,Ke=Math.min(ot,Ve),se=Ne[oe+1],re;if(se.nodeType!==1&&(re=Q.substring(ue,Ke))){Y&&(re=re.replace(K,"\r")),se.nodeValue=re;var it=se.ownerDocument,qe=it.createElement("span");qe.className=de[Ge+1];var be=se.parentNode;be.replaceChild(qe,se),qe.appendChild(se),ue<ot&&(Ne[oe+1]=se=it.createTextNode(Q.substring(Ke,ot)),be.insertBefore(se,qe.nextSibling))}ue=Ke,ue>=ot&&(oe+=2),ue>=Ve&&(Ge+=2)}}finally{At&&(At.style.display=Xe)}}var Ce={};function Ae(ce,Y){for(var K=Y.length;--K>=0;){var Q=Y[K];Ce.hasOwnProperty(Q)?a.console&&console.warn("cannot override language handler %s",Q):Ce[Q]=ce}}function Ue(ce,Y){return ce&&Ce.hasOwnProperty(ce)||(ce=/^\s*</.test(Y)?"default-markup":"default-code"),Ce[ce]}Ae(ge,["default-code"]),Ae(G([],[[N,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[L,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Ae(G([[N,/^[\s]+/,null,` \r
|
|
|
`],[z,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[B,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Ae(G([],[[z,/^[\s\S]+/]]),["uq.val"]),Ae($({keywords:d,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),Ae($({keywords:"null,true,false"}),["json"]),Ae($({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),Ae($({keywords:n,cStyleComments:!0}),["java"]),Ae($({keywords:b,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ae($({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ae($({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ae($({keywords:w,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ae($({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ae($({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ae(G([],[[S,/^[\s\S]+/]]),["regex"]);function Qe(ce){var Y=ce.langExtension;try{var K=H(ce.sourceNode,ce.pre),Q=K.sourceCode;ce.sourceCode=Q,ce.spans=K.spans,ce.basePos=0,Ue(Y,Q)(ce),Se(ce)}catch(ye){a.console&&console.log(ye&&ye.stack||ye)}}function gt(ce,Y,K){var Q=K||!1,ye=Y||null,ue=document.createElement("div");ue.innerHTML="<pre>"+ce+"</pre>",ue=ue.firstChild,Q&&q(ue,Q,!0);var Ne={langExtension:ye,numberLines:Q,sourceNode:ue,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Qe(Ne),ue.innerHTML}function _e(ce,Y){var K=Y||document.body,Q=K.ownerDocument||document;function ye(tt){return K.getElementsByTagName(tt)}for(var ue=[ye("pre"),ye("code"),ye("xmp")],Ne=[],Te=0;Te<ue.length;++Te)for(var oe=0,de=ue[Te].length;oe<de;++oe)Ne.push(ue[Te][oe]);ue=null;var Le=Date;Le.now||(Le={now:function(){return+new Date}});var Ge=0,ht=/\blang(?:uage)?-([\w.]+)(?!\S)/,Et=/\bprettyprint\b/,Be=/\bprettyprinted\b/,Dt=/pre|xmp/i,Ke=/^code$/i,At=/^(?:pre|code|xmp)$/i,Xe={};function et(){for(var tt=a.PR_SHOULD_USE_CONTINUATION?Le.now()+250:Infinity;Ge<Ne.length&&Le.now()<tt;Ge++){for(var ot=Ne[Ge],Ve=Xe,se=ot;se=se.previousSibling;){var re=se.nodeType,it=(re===7||re===8)&&se.nodeValue;if(it?!/^\??prettify\b/.test(it):re!==3||/\S/.test(se.nodeValue))break;if(it){Ve={},it.replace(/\b(\w+)=([\w:.%+-]+)/g,function(he,Re,He){Ve[Re]=He});break}}var qe=ot.className;if((Ve!==Xe||Et.test(qe))&&!Be.test(qe)){for(var be=!1,Zt=ot.parentNode;Zt;Zt=Zt.parentNode){var dt=Zt.tagName;if(At.test(dt)&&Zt.className&&Et.test(Zt.className)){be=!0;break}}if(!be){ot.className+=" prettyprinted";var ct=Ve.lang;if(!ct){ct=qe.match(ht);var yt;!ct&&(yt=W(ot))&&Ke.test(yt.tagName)&&(ct=yt.className.match(ht)),ct&&(ct=ct[1])}var _t;if(Dt.test(ot.tagName))_t=1;else{var or=ot.currentStyle,Bt=Q.defaultView,we=or?or.whiteSpace:Bt&&Bt.getComputedStyle?Bt.getComputedStyle(ot,null).getPropertyValue("white-space"):0;_t=we&&we.substring(0,3)==="pre"}var ve=Ve.linenums;(ve=ve==="true"||+ve)||(ve=qe.match(/\blinenums\b(?::(\d+))?/),ve=ve?ve[1]&&ve[1].length?+ve[1]:!0:!1),ve&&q(ot,ve,_t);var me={langExtension:ct,sourceNode:ot,numberLines:ve,pre:_t,sourceCode:null,basePos:null,spans:null,decorations:null};Qe(me)}}}Ge<Ne.length?a.setTimeout(et,250):typeof ce=="function"&&ce()}et()}var Oe=a.PR={createSimpleLexer:G,registerLangHandler:Ae,sourceDecorator:$,PR_ATTRIB_NAME:B,PR_ATTRIB_VALUE:z,PR_COMMENT:L,PR_DECLARATION:k,PR_KEYWORD:T,PR_LITERAL:C,PR_NOCODE:R,PR_PLAIN:N,PR_PUNCTUATION:O,PR_SOURCE:P,PR_STRING:S,PR_TAG:F,PR_TYPE:x,prettyPrintOne:y?a.prettyPrintOne=gt:h=gt,prettyPrint:c=y?a.prettyPrint=_e:c=_e},lt=a.define;typeof lt=="function"&<.amd&<("google-code-prettify",[],function(){return Oe})})()},SKnc:function(D,_,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,c,a,i,r,o){this.x=h==null?0:h,this.y=c==null?0:c,this.x2=a==null?1:a,this.y2=i==null?0:i,this.type="linear",this.global=o||!1,f.call(this,r)};y.prototype={constructor:y},g.inherits(y,f);var m=y;D.exports=m},"SKx+":function(D,_,e){var g=e("ProS"),f=g.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),y=f;D.exports=y},SMc4:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=f.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function h(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,m);var c={offset:0};y("x",v,h,c),y("y",v,h,c);var a=v;D.exports=a},SRve:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};_.default=g},SUKs:function(D,_,e){var g=e("LPTA"),f=g.debugMode,y=function(){};f===1&&(y=console.error);var m=y;D.exports=m},SZEN:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.clientToElement=g;function g(f,y,m){var v=m.getBoundingClientRect(),h={x:0,y:0};return f<v.left?h.x=0:f>=v.right?h.x=v.width-1:h.x=f-v.left,y<v.top?h.y=0:y>=v.bottom?h.y=v.height-1:h.y=y-v.top,h}},Sdc0:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e("rePB"),c=e("ODXe"),a=e("Ff2n"),i=e("TSYQ"),r=e.n(i),o=e("6cGi"),d=e("4IlW"),n=v.forwardRef(function(T,L){var x,C=T.prefixCls,O=C===void 0?"rc-switch":C,N=T.className,F=T.checked,k=T.defaultChecked,P=T.disabled,B=T.loadingIcon,z=T.checkedChildren,R=T.unCheckedChildren,U=T.onClick,j=T.onChange,H=T.onKeyDown,V=Object(a.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),X=Object(o.a)(!1,{value:F,defaultValue:k}),W=Object(c.a)(X,2),G=W[0],$=W[1];function ge(Ae,Ue){var Qe=G;return P||(Qe=Ae,$(Qe),j==null||j(Qe,Ue)),Qe}function q(Ae){Ae.which===d.a.LEFT?ge(!1,Ae):Ae.which===d.a.RIGHT&&ge(!0,Ae),H==null||H(Ae)}function Se(Ae){var Ue=ge(!G,Ae);U==null||U(Ue,Ae)}var Ce=r()(O,N,(x={},Object(h.a)(x,"".concat(O,"-checked"),G),Object(h.a)(x,"".concat(O,"-disabled"),P),x));return v.createElement("button",Object.assign({},V,{type:"button",role:"switch","aria-checked":G,disabled:P,className:Ce,ref:L,onKeyDown:q,onClick:Se}),B,v.createElement("span",{className:"".concat(O,"-inner")},G?z:R))});n.displayName="Switch";var l=n,t=e("gZBC"),s=e.n(t),u=e("g0mS"),p=e("H84U"),w=e("3Nzz"),b=e("uaoM"),E=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(x[C[O]]=T[C[O]]);return x},A=v.forwardRef(function(T,L){var x,C=T.prefixCls,O=T.size,N=T.loading,F=T.className,k=F===void 0?"":F,P=T.disabled,B=E(T,["prefixCls","size","loading","className","disabled"]);Object(b.a)("checked"in B||!("value"in B),"Switch","`value` is not a valid prop, do you mean `checked`?");var z=v.useContext(p.b),R=z.getPrefixCls,U=z.direction,j=v.useContext(w.b),H=R("switch",C),V=v.createElement("div",{className:"".concat(H,"-handle")},N&&v.createElement(s.a,{className:"".concat(H,"-loading-icon")})),X=r()(k,(x={},m()(x,"".concat(H,"-small"),(O||j)==="small"),m()(x,"".concat(H,"-loading"),N),m()(x,"".concat(H,"-rtl"),U==="rtl"),x));return v.createElement(u.a,{insertExtraNode:!0},v.createElement(l,f()({},B,{prefixCls:H,className:X,disabled:P||N,ref:L,loadingIcon:V})))});A.__ANT_SWITCH=!0,A.displayName="Switch";var S=_.a=A},SehX:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("2B6p"),m=y.updateCenterAndZoom;g.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,h){var c=v.componentType||"series";h.eachComponent({mainType:c,query:v},function(a){var i=a.coordinateSystem;if(i.type!=="geo")return;var r=m(i,v,a.get("scaleLimit"));a.setCenter&&a.setCenter(r.center),a.setZoom&&a.setZoom(r.zoom),c==="series"&&f.each(a.seriesGroup,function(o){o.setCenter(r.center),o.setZoom(r.zoom)})})})},SfRM:function(D,_,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}D.exports=f},SgGq:function(D,_,e){var g=e("bYtY"),f=e("H6uX"),y=e("YH21"),m=e("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var s=g.bind,u=s(h,this),p=s(c,this),w=s(a,this),b=s(i,this),E=s(r,this);f.call(this),this.setPointerChecker=function(A){this.pointerChecker=A},this.enable=function(A,S){this.disable(),this._opt=g.defaults(g.clone(S)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),A==null&&(A=!0),(A===!0||A==="move"||A==="pan")&&(t.on("mousedown",u),t.on("mousemove",p),t.on("mouseup",w)),(A===!0||A==="scale"||A==="zoom")&&(t.on("mousewheel",b),t.on("pinch",E))},this.disable=function(){t.off("mousedown",u),t.off("mousemove",p),t.off("mouseup",w),t.off("mousewheel",b),t.off("pinch",E)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(v,f);function h(t){if(y.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,u=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function c(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,u=t.offsetY,p=this._x,w=this._y,b=s-p,E=u-w;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&y.stop(t.event),d(this,"pan","moveOnMouseMove",t,{dx:b,dy:E,oldX:p,oldY:w,newX:s,newY:u})}function a(t){y.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function i(t){var s=n("zoomOnMouseWheel",t,this._opt),u=n("moveOnMouseWheel",t,this._opt),p=t.wheelDelta,w=Math.abs(p),b=t.offsetX,E=t.offsetY;if(p===0||!s&&!u)return;if(s){var A=w>3?1.4:w>1?1.2:1.1,S=p>0?A:1/A;o(this,"zoom","zoomOnMouseWheel",t,{scale:S,originX:b,originY:E})}if(u){var T=Math.abs(p),L=(p>0?1:-1)*(T>3?.4:T>1?.15:.05);o(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:L,originX:b,originY:E})}}function r(t){if(m.isTaken(this._zr,"globalPan"))return;var s=t.pinchScale>1?1.1:1/1.1;o(this,"zoom",null,t,{scale:s,originX:t.pinchX,originY:t.pinchY})}function o(t,s,u,p,w){t.pointerChecker&&t.pointerChecker(p,w.originX,w.originY)&&(y.stop(p.event),d(t,s,u,p,w))}function d(t,s,u,p,w){w.isAvailableBehavior=g.bind(n,null,u,p),t.trigger(s,w)}function n(t,s,u){var p=u[t];return!t||p&&(!g.isString(p)||s.event[p+"Key"])}var l=v;D.exports=l},SgaC:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._subrects=0}return y(v,[{key:"decodeRect",value:function(c,a,i,r,o,d,n){if(this._subrects===0){if(o.rQwait("RRE",4+4))return!1;this._subrects=o.rQshift32();var l=o.rQshiftBytes(4);d.fillRect(c,a,i,r,l)}for(;this._subrects>0;){if(o.rQwait("RRE",4+8))return!1;var t=o.rQshiftBytes(4),s=o.rQshift16(),u=o.rQshift16(),p=o.rQshift16(),w=o.rQshift16();d.fillRect(c+s,a+u,p,w,t),this._subrects--}return!0}}]),v}();_.default=m},Sj0X:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("XuBP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownOutlined";var c=y.forwardRef(h);_.default=c},Sj9i:function(D,_,e){var g=e("QBsz"),f=g.create,y=g.distSquare,m=Math.pow,v=Math.sqrt,h=1e-8,c=1e-4,a=v(3),i=1/3,r=f(),o=f(),d=f();function n(C){return C>-h&&C<h}function l(C){return C>h||C<-h}function t(C,O,N,F,k){var P=1-k;return P*P*(P*C+3*k*O)+k*k*(k*F+3*P*N)}function s(C,O,N,F,k){var P=1-k;return 3*(((O-C)*P+2*(N-O)*k)*P+(F-N)*k*k)}function u(C,O,N,F,k,P){var B=F+3*(O-N)-C,z=3*(N-O*2+C),R=3*(O-C),U=C-k,j=z*z-3*B*R,H=z*R-9*B*U,V=R*R-3*z*U,X=0;if(n(j)&&n(H))if(n(z))P[0]=0;else{var W=-R/z;W>=0&&W<=1&&(P[X++]=W)}else{var G=H*H-4*j*V;if(n(G)){var $=H/j,W=-z/B+$,ge=-$/2;W>=0&&W<=1&&(P[X++]=W),ge>=0&&ge<=1&&(P[X++]=ge)}else if(G>0){var q=v(G),Se=j*z+1.5*B*(-H+q),Ce=j*z+1.5*B*(-H-q);Se<0?Se=-m(-Se,i):Se=m(Se,i),Ce<0?Ce=-m(-Ce,i):Ce=m(Ce,i);var W=(-z-(Se+Ce))/(3*B);W>=0&&W<=1&&(P[X++]=W)}else{var Ae=(2*j*z-3*B*H)/(2*v(j*j*j)),Ue=Math.acos(Ae)/3,Qe=v(j),gt=Math.cos(Ue),W=(-z-2*Qe*gt)/(3*B),ge=(-z+Qe*(gt+a*Math.sin(Ue)))/(3*B),_e=(-z+Qe*(gt-a*Math.sin(Ue)))/(3*B);W>=0&&W<=1&&(P[X++]=W),ge>=0&&ge<=1&&(P[X++]=ge),_e>=0&&_e<=1&&(P[X++]=_e)}}return X}function p(C,O,N,F,k){var P=6*N-12*O+6*C,B=9*O+3*F-3*C-9*N,z=3*O-3*C,R=0;if(n(B)){if(l(P)){var U=-z/P;U>=0&&U<=1&&(k[R++]=U)}}else{var j=P*P-4*B*z;if(n(j))k[0]=-P/(2*B);else if(j>0){var H=v(j),U=(-P+H)/(2*B),V=(-P-H)/(2*B);U>=0&&U<=1&&(k[R++]=U),V>=0&&V<=1&&(k[R++]=V)}}return R}function w(C,O,N,F,k,P){var B=(O-C)*k+C,z=(N-O)*k+O,R=(F-N)*k+N,U=(z-B)*k+B,j=(R-z)*k+z,H=(j-U)*k+U;P[0]=C,P[1]=B,P[2]=U,P[3]=H,P[4]=H,P[5]=j,P[6]=R,P[7]=F}function b(C,O,N,F,k,P,B,z,R,U,j){var H,V=.005,X=Infinity,W,G,$,ge;r[0]=R,r[1]=U;for(var q=0;q<1;q+=.05)o[0]=t(C,N,k,B,q),o[1]=t(O,F,P,z,q),$=y(r,o),$<X&&(H=q,X=$);X=Infinity;for(var Se=0;Se<32&&!(V<c);Se++)W=H-V,G=H+V,o[0]=t(C,N,k,B,W),o[1]=t(O,F,P,z,W),$=y(o,r),W>=0&&$<X?(H=W,X=$):(d[0]=t(C,N,k,B,G),d[1]=t(O,F,P,z,G),ge=y(d,r),G<=1&&ge<X?(H=G,X=ge):V*=.5);return j&&(j[0]=t(C,N,k,B,H),j[1]=t(O,F,P,z,H)),v(X)}function E(C,O,N,F){var k=1-F;return k*(k*C+2*F*O)+F*F*N}function A(C,O,N,F){return 2*((1-F)*(O-C)+F*(N-O))}function S(C,O,N,F,k){var P=C-2*O+N,B=2*(O-C),z=C-F,R=0;if(n(P)){if(l(B)){var U=-z/B;U>=0&&U<=1&&(k[R++]=U)}}else{var j=B*B-4*P*z;if(n(j)){var U=-B/(2*P);U>=0&&U<=1&&(k[R++]=U)}else if(j>0){var H=v(j),U=(-B+H)/(2*P),V=(-B-H)/(2*P);U>=0&&U<=1&&(k[R++]=U),V>=0&&V<=1&&(k[R++]=V)}}return R}function T(C,O,N){var F=C+N-2*O;return F===0?.5:(C-O)/F}function L(C,O,N,F,k){var P=(O-C)*F+C,B=(N-O)*F+O,z=(B-P)*F+P;k[0]=C,k[1]=P,k[2]=z,k[3]=z,k[4]=B,k[5]=N}function x(C,O,N,F,k,P,B,z,R){var U,j=.005,H=Infinity;r[0]=B,r[1]=z;for(var V=0;V<1;V+=.05){o[0]=E(C,N,k,V),o[1]=E(O,F,P,V);var X=y(r,o);X<H&&(U=V,H=X)}H=Infinity;for(var W=0;W<32&&!(j<c);W++){var G=U-j,$=U+j;o[0]=E(C,N,k,G),o[1]=E(O,F,P,G);var X=y(o,r);if(G>=0&&X<H)U=G,H=X;else{d[0]=E(C,N,k,$),d[1]=E(O,F,P,$);var ge=y(d,r);$<=1&&ge<H?(U=$,H=ge):j*=.5}}return R&&(R[0]=E(C,N,k,U),R[1]=E(O,F,P,U)),v(H)}_.cubicAt=t,_.cubicDerivativeAt=s,_.cubicRootAt=u,_.cubicExtrema=p,_.cubicSubdivide=w,_.cubicProjectPoint=b,_.quadraticAt=E,_.quadraticDerivativeAt=A,_.quadraticRootAt=S,_.quadraticExtremum=T,_.quadraticSubdivide=L,_.quadraticProjectPoint=x},Sp2Z:function(D,_,e){var g=e("3LNs"),f=e("/y7N"),y=e("AVZG"),m=e("Znkb"),v=g.extend({makeElOption:function(r,o,d,n,l){var t=d.axis,s=t.grid,u=n.get("type"),p=h(s,t).getOtherAxis(t).getGlobalExtent(),w=t.toGlobalCoord(t.dataToCoord(o,!0));if(u&&u!=="none"){var b=f.buildElStyle(n),E=c[u](t,w,p);E.style=b,r.graphicKey=E.type,r.pointer=E}var A=y.layout(s.model,d);f.buildCartesianSingleLabelElOption(o,r,A,d,n,l)},getHandleTransform:function(r,o,d){var n=y.layout(o.axis.grid.model,o,{labelInside:!1});return n.labelMargin=d.get("handle.margin"),{position:f.getTransformedPosition(o.axis,r,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(r,o,d,n){var l=d.axis,t=l.grid,s=l.getGlobalExtent(!0),u=h(t,l).getOtherAxis(l).getGlobalExtent(),p=l.dim==="x"?0:1,w=r.position;w[p]+=o[p],w[p]=Math.min(s[1],w[p]),w[p]=Math.max(s[0],w[p]);var b=(u[1]+u[0])/2,E=[b,b];E[p]=w[p];var A=[{verticalAlign:"middle"},{align:"center"}];return{position:w,rotation:r.rotation,cursorPoint:E,tooltipOption:A[p]}}});function h(r,o){var d={};return d[o.dim+"AxisIndex"]=o.index,r.getCartesian(d)}var c={line:function(r,o,d){var n=f.makeLineShape([o,d[0]],[o,d[1]],a(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,o,d){var n=Math.max(1,r.getBandWidth()),l=d[1]-d[0];return{type:"Rect",shape:f.makeRectShape([o-n/2,d[0]],[n,l],a(r))}}};function a(r){return r.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",v);var i=v;D.exports=i},Sq3C:function(D,_,e){var g=e("sKgW"),f=e("zoYe"),y=e("wy8a"),m=e("quyA"),v=e("Z1HP"),h=e("Em2t"),c=Math.ceil;function a(i,r){r=r===void 0?" ":f(r);var o=r.length;if(o<2)return o?g(r,i):r;var d=g(r,c(i/v(r)));return m(r)?y(h(d),0,i).join(""):d.slice(0,i)}D.exports=a},SqI9:function(D,_,e){var g=e("y+Vt"),f=e("iXp4"),y=g.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(g.prototype.brush),buildPath:function(v,h){var c=h.cx,a=h.cy,i=Math.max(h.r0||0,0),r=Math.max(h.r,0),o=h.startAngle,d=h.endAngle,n=h.clockwise,l=Math.cos(o),t=Math.sin(o);v.moveTo(l*i+c,t*i+a),v.lineTo(l*r+c,t*r+a),v.arc(c,a,r,o,d,!n),v.lineTo(Math.cos(d)*i+c,Math.sin(d)*i+a),i!==0&&v.arc(c,a,i,d,o,n),v.closePath()}});D.exports=y},SrGk:function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),m=e("y+Vt"),v=e("Dagg"),h=e("dqUG"),c=e("P47w"),a=c.path,i=c.image,r=c.text,o="0",d="1";function n(t,s,u,p,w){this._zrId=t,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=p,this._domName=w||"_dom",this.nextId=0}n.prototype.createElement=f,n.prototype.getDefs=function(t){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?t?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(p){var w=u.children;if(!w)return!1;for(var b=w.length-1;b>=0;--b)if(w[b]===p)return!0;return!1}),u):null:u[0]},n.prototype.update=function(t,s){if(!t)return;var u=this.getDefs(!1);if(t[this._domName]&&u.contains(t[this._domName]))typeof s=="function"&&s(t);else{var p=this.add(t);p&&(t[this._domName]=p)}},n.prototype.addDom=function(t){var s=this.getDefs(!0);s.appendChild(t)},n.prototype.removeDom=function(t){var s=this.getDefs(!1);s&&t[this._domName]&&(s.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var s=[];return y.each(this._tagNames,function(u){var p=t.getElementsByTagName(u);s=s.concat([].slice.call(p))}),s},n.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;y.each(t,function(u){u[s._markLabel]=o})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=d)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var s=this.getDoms(),u=this;y.each(s,function(p){p[u._markLabel]!==d&&t.removeChild(p)})},n.prototype.getSvgProxy=function(t){return t instanceof m?a:t instanceof v?i:t instanceof h?r:a},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;D.exports=l},Swgg:function(D,_,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});D.exports=f},Sxd8:function(D,_,e){var g=e("ZCgT");function f(y){var m=g(y),v=m%1;return m===m?v?m-v:m:0}D.exports=f},T1rO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},T4UG:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("ItGF"),v=e("7aKB"),h=v.formatTime,c=v.encodeHTML,a=v.addCommas,i=v.getTooltipMarker,r=e("4NO4"),o=e("bLfw"),d=e("5Hur"),n=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,s=l.mergeLayoutParam,u=e("9H2F"),p=u.createTask,w=e("D5nY"),b=w.prepareSource,E=w.getSource,A=e("KxfA"),S=A.retrieveRawValue,T=r.makeInner(),L=o.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,U,j,H){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:N}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,j),b(this);var V=this.getInitialData(R,j);k(V,this),this.dataTask.context.data=V,T(this).dataBeforeProcessed=V,x(this)},mergeDefaultAndTheme:function(R,U){var j=this.layoutMode,H=j?t(R):{},V=this.subType;o.hasClass(V)&&(V+="Series"),y.merge(R,U.getTheme().get(this.subType)),y.merge(R,this.getDefaultOption()),r.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),j&&s(R,H,j)},mergeOption:function(R,U){R=y.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var j=this.layoutMode;j&&s(this.option,R,j),b(this);var H=this.getInitialData(R,U);k(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,T(this).dataBeforeProcessed=H,x(this)},fillDataTextStyle:function(R){if(R&&!y.isTypedArray(R))for(var U=["show"],j=0;j<R.length;j++)R[j]&&R[j].label&&r.defaultEmphasis(R[j],"label",U)},getInitialData:function(){},appendData:function(R){var U=this.getRawData();U.appendData(R.data)},getData:function(R){var U=B(this);if(U){var j=U.context.data;return R==null?j:j.getLinkedData(R)}else return T(this).data},setData:function(R){var U=B(this);if(U){var j=U.context;j.data!==R&&U.modifyOutputEnd&&U.setOutputEnd(R.count()),j.outputData=R,U!==this.dataTask&&(j.data=R)}T(this).data=R},getSource:function(){return E(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,U,j,H){var V=this;H=H||"html";var X=H==="html"?"<br/>":`
|
|
|
`,W=H==="richText",G={},$=0;function ge(ue){var Ne=y.reduce(ue,function(Ge,ht,Et){var Be=Se.getDimensionInfo(Et);return Ge|=Be&&Be.tooltip!==!1&&Be.displayName!=null},0),Te=[];Ce.length?y.each(Ce,function(Ge){oe(S(Se,R,Ge),Ge)}):y.each(ue,oe);function oe(Ge,ht){var Et=Se.getDimensionInfo(ht);if(!Et||Et.otherDims.tooltip===!1)return;var Be=Et.type,Dt="sub"+V.seriesIndex+"at"+$,Ke=i({color:gt,type:"subItem",renderMode:H,markerId:Dt}),At=typeof Ke=="string"?Ke:Ke.content,Xe=(Ne?At+c(Et.displayName||"-")+": ":"")+c(Be==="ordinal"?Ge+"":Be==="time"?U?"":h("yyyy/MM/dd hh:mm:ss",Ge):a(Ge));Xe&&Te.push(Xe),W&&(G[Dt]=gt,++$)}var de=Ne?W?`
|
|
|
`:"<br/>":"",Le=de+Te.join(de||", ");return{renderMode:H,content:Le,style:G}}function q(ue){return{renderMode:H,content:c(a(ue)),style:G}}var Se=this.getData(),Ce=Se.mapDimension("defaultedTooltip",!0),Ae=Ce.length,Ue=this.getRawValue(R),Qe=y.isArray(Ue),gt=Se.getItemVisual(R,"color");y.isObject(gt)&>.colorStops&&(gt=(gt.colorStops[0]||{}).color),gt=gt||"transparent";var _e=Ae>1||Qe&&!Ae?ge(Ue):q(Ae?S(Se,R,Ce[0]):Qe?Ue[0]:Ue),Oe=_e.content,lt=V.seriesIndex+"at"+$,ce=i({color:gt,type:"item",renderMode:H,markerId:lt});G[lt]=gt,++$;var Y=Se.getName(R),K=this.name;r.isNameSpecified(this)||(K=""),K=K?c(K)+(U?": ":X):"";var Q=typeof ce=="string"?ce:ce.content,ye=U?Q+K+Oe:K+Q+(Y?c(Y)+": "+Oe:Oe);return{html:ye,markers:G}},isAnimationEnabled:function(){if(m.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,U,j){var H=this.ecModel,V=d.getColorFromPalette.call(this,R,U,j);return V||(V=H.getColorFromPalette(R,U,j)),V},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});y.mixin(L,n),y.mixin(L,d);function x(R){var U=R.name;r.isNameSpecified(R)||(R.name=C(R)||U)}function C(R){var U=R.getRawData(),j=U.mapDimension("seriesName",!0),H=[];return y.each(j,function(V){var X=U.getDimensionInfo(V);X.displayName&&H.push(X.displayName)}),H.join(" ")}function O(R){return R.model.getRawData().count()}function N(R){var U=R.model;return U.setData(U.getRawData().cloneShallow()),F}function F(R,U){U.outputData&&R.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function k(R,U){y.each(R.CHANGABLE_METHODS,function(j){R.wrapMethod(j,y.curry(P,U))})}function P(R){var U=B(R);U&&U.setOutputEnd(this.count())}function B(R){var U=(R.ecModel||{}).scheduler,j=U&&U.getPipeline(R.uid);if(j){var H=j.currentTask;if(H){var V=H.agentStubMap;V&&(H=V.get(R.uid))}return H}}var z=L;D.exports=z},T6xi:function(D,_,e){var g=e("YgsL"),f=e("nCxF");function y(m,v,h){var c=v.points,a=v.smooth;if(c&&c.length>=2){if(a&&a!=="spline"){var i=f(c,a,h,v.smoothConstraint);m.moveTo(c[0][0],c[0][1]);for(var r=c.length,o=0;o<(h?r:r-1);o++){var d=i[o*2],n=i[o*2+1],l=c[(o+1)%r];m.bezierCurveTo(d[0],d[1],n[0],n[1],l[0],l[1])}}else{a==="spline"&&(c=g(c,h)),m.moveTo(c[0][0],c[0][1]);for(var o=1,t=c.length;o<t;o++)m.lineTo(c[o][0],c[o][1])}h&&m.closePath()}}_.buildPath=y},TIY9:function(D,_,e){var g=e("bYtY"),f=g.each,y=e("vafp"),m=e("4NO4"),v=m.makeInner,h=e("Mgri"),c=e("F5Ls"),a=e("a9QJ"),i=e("p/La"),r=v(),o={load:function(n,l,t){var s=r(l).parsed;if(s)return s;var u=l.specialAreas||{},p=l.geoJSON,w;try{w=p?y(p,t):[]}catch(b){throw new Error(`Invalid geoJson format
|
|
|
`+b.message)}return h(n,w),f(w,function(b){var E=b.name;c(n,b),a(n,b),i(n,b);var A=u[E];A&&b.transformTo(A.left,A.top,A.width,A.height)}),r(l).parsed={regions:w,boundingRect:d(w)}}};function d(n){for(var l,t=0;t<n.length;t++){var s=n[t].getBoundingRect();l=l||s.clone(),l.union(s)}return l}D.exports=o},TJmX:function(D,_,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],y=["itemStyle","borderColor0"],m=["itemStyle","color"],v=["itemStyle","color0"],h={seriesType:"candlestick",plan:g(),performRawSeries:!0,reset:function(c,a){var i=c.getData();if(i.setVisual({legendSymbol:"roundRect",colorP:d(1,c),colorN:d(-1,c),borderColorP:n(1,c),borderColorN:n(-1,c)}),a.isSeriesFiltered(c))return;var r=c.pipelineContext.large;return!r&&{progress:o};function o(l,t){for(var s;(s=l.next())!=null;){var u=t.getItemModel(s),p=t.getItemLayout(s).sign;t.setItemVisual(s,{color:d(p,u),borderColor:n(p,u)})}}function d(l,t){return t.get(l>0?m:v)}function n(l,t){return t.get(l>0?f:y)}}};D.exports=h},TWL2:function(D,_,e){var g=e("IwbS"),f=e("bYtY"),y=e("6Ic6");function m(i,r){g.Group.call(this);var o=new g.Polygon,d=new g.Polyline,n=new g.Text;this.add(o),this.add(d),this.add(n),this.highDownOnUpdate=function(l,t){t==="emphasis"?(d.ignore=d.hoverIgnore,n.ignore=n.hoverIgnore):(d.ignore=d.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(i,r,!0)}var v=m.prototype,h=["itemStyle","opacity"];v.updateData=function(i,r,o){var d=this.childAt(0),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=i.getItemModel(r).get(h);s=s==null?1:s,d.useStyle({}),o?(d.setShape({points:t.points}),d.setStyle({opacity:0}),g.initProps(d,{style:{opacity:s}},n,r)):g.updateProps(d,{style:{opacity:s},shape:{points:t.points}},n,r);var u=l.getModel("itemStyle"),p=i.getItemVisual(r,"color");d.setStyle(f.defaults({lineJoin:"round",fill:p},u.getItemStyle(["opacity"]))),d.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(i,r),g.setHoverStyle(this)},v._updateLabel=function(i,r){var o=this.childAt(1),d=this.childAt(2),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=t.label,u=i.getItemVisual(r,"color");g.updateProps(o,{shape:{points:s.linePoints||s.linePoints}},n,r),g.updateProps(d,{style:{x:s.x,y:s.y}},n,r),d.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var p=l.getModel("label"),w=l.getModel("emphasis.label"),b=l.getModel("labelLine"),E=l.getModel("emphasis.labelLine"),u=i.getItemVisual(r,"color");g.setLabelStyle(d.style,d.hoverStyle={},p,w,{labelFetcher:i.hostModel,labelDataIndex:r,defaultText:i.getName(r),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),d.ignore=d.normalIgnore=!p.get("show"),d.hoverIgnore=!w.get("show"),o.ignore=o.normalIgnore=!b.get("show"),o.hoverIgnore=!E.get("show"),o.setStyle({stroke:u}),o.setStyle(b.getModel("lineStyle").getLineStyle()),o.hoverStyle=E.getModel("lineStyle").getLineStyle()},f.inherits(m,g.Group);var c=y.extend({type:"funnel",render:function(i,r,o){var d=i.getData(),n=this._data,l=this.group;d.diff(n).add(function(t){var s=new m(d,t);d.setItemGraphicEl(t,s),l.add(s)}).update(function(t,s){var u=n.getItemGraphicEl(s);u.updateData(d,t),l.add(u),d.setItemGraphicEl(t,u)}).remove(function(t){var s=n.getItemGraphicEl(t);l.remove(s)}).execute(),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),a=c;D.exports=a},TYVI:function(D,_,e){var g=e("5GtS"),f=e("T4UG"),y=f.extend({type:"series.gauge",getInitialData:function(v,h){return g(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=y;D.exports=m},Tghj:function(D,_,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var y=f;_.__DEV__=y}).call(this,e("yLpj"))},ThAp:function(D,_,e){var g=e("bYtY"),f=e("5GtS"),y=e("T4UG"),m=e("7aKB"),v=m.encodeHTML,h=m.addCommas,c=e("cCMj"),a=e("KxfA"),i=a.retrieveRawAttr,r=e("W4dC"),o=e("D5nY"),d=o.makeSeriesEncodeForNameBased,n=y.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var s=f(this,{coordDimensions:["value"],encodeDefaulter:g.curry(d,this)}),u=s.mapDimension("value"),p=g.createHashMap(),w=[],b=[],E=0,A=s.count();E<A;E++){var S=s.getName(E);p.set(S,!0),w.push({name:S,value:s.get(u,E),selected:i(s,E,"selected")})}var T=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(T.regions,function(L){var x=L.name;p.get(x)||(w.push({name:x}),b.push(x))}),this.updateSelectedMap(w),s.appendValues([],b),s},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var s=this.getData();return s.get(s.mapDimension("value"),t)},getRegionModel:function(t){var s=this.getData();return s.getItemModel(s.indexOfName(t))},formatTooltip:function(t){for(var s=this.getData(),u=h(this.getRawValue(t)),p=s.getName(t),w=this.seriesGroup,b=[],E=0;E<w.length;E++){var A=w[E].originalData.indexOfName(p),S=s.mapDimension("value");isNaN(w[E].originalData.get(S,A))||b.push(v(w[E].name))}return b.join(", ")+"<br />"+v(p+" : "+u)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),u=this.coordinateSystem,p=u.getRegion(s);return p&&u.dataToPoint(p.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});g.mixin(n,c);var l=n;D.exports=l},TkdX:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,v=4;function h(n,l,t){f.Group.call(this);var s=new f.Sector({z2:m});s.seriesIndex=l.seriesIndex;var u=new f.Text({z2:v,silent:n.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,n,"normal",l,t);function p(){u.ignore=u.hoverIgnore}function w(){u.ignore=u.normalIgnore}this.on("emphasis",p).on("normal",w).on("mouseover",p).on("mouseout",w)}var c=h.prototype;c.updateData=function(n,l,t,s,u){this.node=l,l.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var p=this.childAt(0);p.dataIndex=l.dataIndex;var w=l.getModel(),b=l.getLayout(),E=g.extend({},b);E.label=null;var A=i(l,s,u);d(l,s,A);var S=w.getModel("itemStyle").getItemStyle(),T;if(t==="normal")T=S;else{var L=w.getModel(t+".itemStyle").getItemStyle();T=g.merge(L,S)}T=g.defaults({lineJoin:"bevel",fill:T.fill||A},T),n?(p.setShape(E),p.shape.r=b.r0,f.updateProps(p,{shape:{r:b.r}},s,l.dataIndex),p.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(f.updateProps(p,{shape:E},s),p.useStyle(T)):f.updateProps(p,{shape:E,style:T},s),this._updateLabel(s,A,t);var x=w.getShallow("cursor");if(x&&p.attr("cursor",x),n){var C=s.getShallow("highlightPolicy");this._initEvents(p,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,f.setHoverStyle(this)},c.onEmphasis=function(n){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):o(t,l.node,n)?t.piece.childAt(0).trigger("highlight"):n!==y.NONE&&t.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(n,l,t){var s=this.node.getModel(),u=s.getModel("label"),p=t==="normal"||t==="emphasis"?u:s.getModel(t+".label"),w=s.getModel("emphasis.label"),b=g.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);U("show")===!1&&(b="");var E=this.node.getLayout(),A=p.get("minAngle");A==null&&(A=u.get("minAngle")),A=A/180*Math.PI;var S=E.endAngle-E.startAngle;A!=null&&Math.abs(S)<A&&(b="");var T=this.childAt(1);f.setLabelStyle(T.style,T.hoverStyle||{},u,w,{defaultText:p.getShallow("show")?b:null,autoColor:l,useInsideStyle:!0});var L=(E.startAngle+E.endAngle)/2,x=Math.cos(L),C=Math.sin(L),O,N=U("position"),F=U("distance")||0,k=U("align");N==="outside"?(O=E.r+F,k=L>Math.PI/2?"right":"left"):!k||k==="center"?(O=(E.r+E.r0)/2,k="center"):k==="left"?(O=E.r0+F,L>Math.PI/2&&(k="right")):k==="right"&&(O=E.r-F,L>Math.PI/2&&(k="left")),T.attr("style",{text:b,textAlign:k,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var P=O*x+E.cx,B=O*C+E.cy;T.attr("position",[P,B]);var z=U("rotate"),R=0;z==="radial"?(R=-L,R<-Math.PI/2&&(R+=Math.PI)):z==="tangential"?(R=Math.PI/2-L,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof z=="number"&&(R=z*Math.PI/180),T.attr("rotation",R);function U(j){var H=p.get(j);return H==null?u.get(j):H}},c._initEvents=function(n,l,t,s){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,p=function(){u.onEmphasis(s)},w=function(){u.onNormal()},b=function(){u.onDownplay()},E=function(){u.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",p).on("mouseout",w).on("emphasis",p).on("normal",w).on("downplay",b).on("highlight",E)},g.inherits(h,f.Group);var a=h;function i(n,l,t){var s=n.getVisual("color"),u=n.getVisual("visualMeta");(!u||u.length===0)&&(s=null);var p=n.getModel("itemStyle").get("color");if(p)return p;if(s)return s;if(n.depth===0)return t.option.color[0];var w=t.option.color.length;return p=t.option.color[r(n)%w],p}function r(n){for(var l=n;l.depth>1;)l=l.parentNode;var t=n.getAncestors()[0];return g.indexOf(t.children,l)}function o(n,l,t){return t===y.NONE?!1:t===y.SELF?n===l:t===y.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function d(n,l,t){var s=l.getData();s.setItemVisual(n.dataIndex,"color",t)}D.exports=a},Tp9H:function(D,_,e){var g=e("ItGF"),f=e("Kagy"),y=e("IUWy"),m=f.toolbox.saveAsImage;function v(a){this.model=a}v.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},v.prototype.unusable=!g.canvasSupported;var h=v.prototype;h.onclick=function(a,i){var r=this.model,o=r.get("name")||a.get("title.0.text")||"echarts",d=i.getZr().painter.getType()==="svg",n=d?"svg":r.get("type",!0)||"png",l=i.getConnectedDataURL({type:n,backgroundColor:r.get("backgroundColor",!0)||a.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!g.browser.ie&&!g.browser.edge){var t=document.createElement("a");t.download=o+"."+n,t.target="_blank",t.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var u=atob(l.split(",")[1]),p=u.length,w=new Uint8Array(p);p--;)w[p]=u.charCodeAt(p);var b=new Blob([w]);window.navigator.msSaveOrOpenBlob(b,o+"."+n)}else{var E=r.get("lang"),A='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(E&&E[0]||"")+'" /></body>',S=window.open();S.document.write(A)}},y.register("saveAsImage",v);var c=v;D.exports=c},"U/Mo":function(D,_){function e(f){var y=f.coordinateSystem;if(y.type!=="view")return 1;var m=f.option.nodeScaleRatio,v=y.scale,h=v&&v[0]||1,c=y.getZoom(),a=(c-1)*m+1;return a/h}function g(f){var y=f.getVisual("symbolSize");return y instanceof Array&&(y=(y[0]+y[1])/2),+y}_.getNodeGlobalScale=e,_.getSymbolSize=g},UADf:function(D,_,e){},UESt:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="RightOutlined";var h=_.a=g.forwardRef(v)},"UNi/":function(D,_){function e(g,f){for(var y=-1,m=Array(g);++y<g;)m[y]=f(y);return m}D.exports=e},UOVi:function(D,_,e){var g=e("bYtY"),f=e("7aKB"),y=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function v(i){return g.indexOf(m,i)>=0}function h(i,r){i=i.slice();var o=g.map(i,f.capitalFirst);r=(r||[]).slice();var d=g.map(r,f.capitalFirst);return function(n,l){g.each(i,function(t,s){for(var u={name:t,capital:o[s]},p=0;p<r.length;p++)u[r[p]]=t+d[p];n.call(l,u)})}}var c=h(y,["axisIndex","axis","index","id"]);function a(i,r,o){return function(t){var s={nodes:[],records:{}};if(r(function(w){s.records[w.name]={}}),!t)return s;l(t,s);var u;do u=!1,i(p);while(u);function p(w){!d(w,s)&&n(w,s)&&(l(w,s),u=!0)}return s};function d(t,s){return g.indexOf(s.nodes,t)>=0}function n(t,s){var u=!1;return r(function(p){g.each(o(t,p)||[],function(w){s.records[p.name][w]&&(u=!0)})}),u}function l(t,s){s.nodes.push(t),r(function(u){g.each(o(t,u)||[],function(p){s.records[u.name][p]=!0})})}}_.isCoordSupported=v,_.createNameEach=h,_.eachAxisDim=c,_.createLinkedNodesFinder=a},Uc92:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};_.default=g},UmKh:function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("aGtg");function m(z){var R=[];return f.a.Children.forEach(z,function(U){R.push(U)}),R}function v(z,R){var U=null;return z&&z.forEach(function(j){if(U)return;j&&j.key===R&&(U=j)}),U}function h(z,R,U){var j=null;return z&&z.forEach(function(H){if(H&&H.key===R&&H.props[U]){if(j)throw new Error("two child with same key for <rc-animate> children");j=H}}),j}function c(z,R,U){var j=0;return z&&z.forEach(function(H){if(j)return;j=H&&H.key===R&&!H.props[U]}),j}function a(z,R,U){var j=z.length===R.length;return j&&z.forEach(function(H,V){var X=R[V];H&&X&&((H&&!X||!H&&X||(H.key!==X.key||U&&H.props[U]!==X.props[U]))&&(j=!1))}),j}function i(z,R){var U=[],j={},H=[];return z.forEach(function(V){V&&v(R,V.key)?H.length&&(j[V.key]=H,H=[]):H.push(V)}),R.forEach(function(V){V&&Object.prototype.hasOwnProperty.call(j,V.key)&&(U=U.concat(j[V.key])),U.push(V)}),U=U.concat(H),U}var r=e("i8i4"),o=e.n(r),d=e("UwPn"),n={isAppearSupported:function(R){return R.transitionName&&R.transitionAppear||R.animation.appear},isEnterSupported:function(R){return R.transitionName&&R.transitionEnter||R.animation.enter},isLeaveSupported:function(R){return R.transitionName&&R.transitionLeave||R.animation.leave},allowAppearCallback:function(R){return R.transitionAppear||R.animation.appear},allowEnterCallback:function(R){return R.transitionEnter||R.animation.enter},allowLeaveCallback:function(R){return R.transitionLeave||R.animation.leave}},l=n,t=function(){function z(R,U){for(var j=0;j<U.length;j++){var H=U[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,U,j){return U&&z(R.prototype,U),j&&z(R,j),R}}();function s(z,R){if(!(z instanceof R))throw new TypeError("Cannot call a class as a function")}function u(z,R){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:z}function p(z,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);z.prototype=Object.create(R&&R.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(z,R):z.__proto__=R)}var w={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},b=function(z){p(R,z);function R(){return s(this,R),u(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return t(R,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(j){l.isEnterSupported(this.props)?this.transition("enter",j):j()}},{key:"componentWillAppear",value:function(j){l.isAppearSupported(this.props)?this.transition("appear",j):j()}},{key:"componentWillLeave",value:function(j){l.isLeaveSupported(this.props)?this.transition("leave",j):j()}},{key:"transition",value:function(j,H){var V=this,X=o.a.findDOMNode(this),W=this.props,G=W.transitionName,$=typeof G=="object";this.stop();var ge=function(){V.stopper=null,H()};if((d.b||!W.animation[j])&&G&&W[w[j]]){var q=$?G[j]:G+"-"+j,Se=q+"-active";$&&G[j+"Active"]&&(Se=G[j+"Active"]),this.stopper=Object(d.a)(X,{name:q,active:Se},ge)}else this.stopper=W.animation[j](X,ge)}},{key:"stop",value:function(){var j=this.stopper;j&&(this.stopper=null,j.stop())}},{key:"render",value:function(){return this.props.children}}]),R}(f.a.Component),E=b,A=Object.assign||function(z){for(var R=1;R<arguments.length;R++){var U=arguments[R];for(var j in U)Object.prototype.hasOwnProperty.call(U,j)&&(z[j]=U[j])}return z},S=function(){function z(R,U){for(var j=0;j<U.length;j++){var H=U[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,U,j){return U&&z(R.prototype,U),j&&z(R,j),R}}();function T(z,R,U){return R in z?Object.defineProperty(z,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):z[R]=U,z}function L(z,R){if(!(z instanceof R))throw new TypeError("Cannot call a class as a function")}function x(z,R){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:z}function C(z,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);z.prototype=Object.create(R&&R.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(z,R):z.__proto__=R)}var O="rc_animate_"+Date.now();function N(z){var R=z.children;return f.a.isValidElement(R)&&!R.key?f.a.cloneElement(R,{key:O}):R}function F(){}var k=function(z){C(R,z);function R(U){L(this,R);var j=x(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,U));return P.call(j),j.currentlyAnimatingKeys={},j.keysToEnter=[],j.keysToLeave=[],j.state={children:m(N(U))},j.childrenRefs={},j}return S(R,[{key:"componentDidMount",value:function(){var j=this,H=this.props.showProp,V=this.state.children;H&&(V=V.filter(function(X){return!!X.props[H]})),V.forEach(function(X){X&&j.performAppear(X.key)})}},{key:"componentWillReceiveProps",value:function(j){var H=this;this.nextProps=j;var V=m(N(j)),X=this.props;X.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(q){H.stop(q)});var W=X.showProp,G=this.currentlyAnimatingKeys,$=X.exclusive?m(N(X)):this.state.children,ge=[];W?($.forEach(function(q){var Se=q&&v(V,q.key),Ce=void 0;(!Se||!Se.props[W])&&q.props[W]?Ce=f.a.cloneElement(Se||q,T({},W,!0)):Ce=Se,Ce&&ge.push(Ce)}),V.forEach(function(q){(!q||!v($,q.key))&&ge.push(q)})):ge=i($,V),this.setState({children:ge}),V.forEach(function(q){var Se=q&&q.key;if(q&&G[Se])return;var Ce=q&&v($,Se);if(W){var Ae=q.props[W];if(Ce){var Ue=h($,Se,W);!Ue&&Ae&&H.keysToEnter.push(Se)}else Ae&&H.keysToEnter.push(Se)}else Ce||H.keysToEnter.push(Se)}),$.forEach(function(q){var Se=q&&q.key;if(q&&G[Se])return;var Ce=q&&v(V,Se);if(W){var Ae=q.props[W];if(Ce){var Ue=h(V,Se,W);!Ue&&Ae&&H.keysToLeave.push(Se)}else Ae&&H.keysToLeave.push(Se)}else Ce||H.keysToLeave.push(Se)})}},{key:"componentDidUpdate",value:function(){var j=this.keysToEnter;this.keysToEnter=[],j.forEach(this.performEnter);var H=this.keysToLeave;this.keysToLeave=[],H.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(j,H){var V=this.props.showProp;return V?h(j,H,V):v(j,H)}},{key:"stop",value:function(j){delete this.currentlyAnimatingKeys[j];var H=this.childrenRefs[j];H&&H.stop()}},{key:"render",value:function(){var j=this,H=this.props;this.nextProps=H;var V=this.state.children,X=null;V&&(X=V.map(function($){if($==null)return $;if(!$.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(E,{key:$.key,ref:function(q){j.childrenRefs[$.key]=q},animation:H.animation,transitionName:H.transitionName,transitionEnter:H.transitionEnter,transitionAppear:H.transitionAppear,transitionLeave:H.transitionLeave},$)}));var W=H.component;if(W){var G=H;return typeof W=="string"&&(G=A({className:H.className,style:H.style},H.componentProps)),f.a.createElement(W,G,X)}return X[0]||null}}]),R}(f.a.Component);k.isAnimate=!0,k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:F,onEnter:F,onLeave:F,onAppear:F};var P=function(){var R=this;this.performEnter=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillEnter(R.handleDoneAdding.bind(R,U,"enter")))},this.performAppear=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillAppear(R.handleDoneAdding.bind(R,U,"appear")))},this.handleDoneAdding=function(U,j){var H=R.props;if(delete R.currentlyAnimatingKeys[U],H.exclusive&&H!==R.nextProps)return;var V=m(N(H));R.isValidChildByKey(V,U)?j==="appear"?l.allowAppearCallback(H)&&(H.onAppear(U),H.onEnd(U,!0)):l.allowEnterCallback(H)&&(H.onEnter(U),H.onEnd(U,!0)):R.performLeave(U)},this.performLeave=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillLeave(R.handleDoneLeaving.bind(R,U)))},this.handleDoneLeaving=function(U){var j=R.props;if(delete R.currentlyAnimatingKeys[U],j.exclusive&&j!==R.nextProps)return;var H=m(N(j));if(R.isValidChildByKey(H,U))R.performEnter(U);else{var V=function(){l.allowLeaveCallback(j)&&(j.onLeave(U),j.onEnd(U,!1))};a(R.state.children,H,j.showProp)?V():R.setState({children:H},V)}}},B=_.a=Object(y.a)(k)},UnoB:function(D,_,e){var g=e("bYtY"),f=e("OELB");function y(h,c){h.eachSeriesByType("themeRiver",function(a){var i=a.getData(),r=a.coordinateSystem,o={},d=r.getRect();o.rect=d;var n=a.get("boundaryGap"),l=r.getAxis();if(o.boundaryGap=n,l.orient==="horizontal"){n[0]=f.parsePercent(n[0],d.height),n[1]=f.parsePercent(n[1],d.height);var t=d.height-n[0]-n[1];m(i,a,t)}else{n[0]=f.parsePercent(n[0],d.width),n[1]=f.parsePercent(n[1],d.width);var s=d.width-n[0]-n[1];m(i,a,s)}i.setLayout("layoutInfo",o)})}function m(h,c,a){if(!h.count())return;for(var i=c.coordinateSystem,r=c.getLayerSeries(),o=h.mapDimension("single"),d=h.mapDimension("value"),n=g.map(r,function(A){return g.map(A.indices,function(S){var T=i.dataToPoint(h.get(o,S));return T[1]=h.get(d,S),T})}),l=v(n),t=l.y0,s=a/l.max,u=r.length,p=r[0].indices.length,w,b=0;b<p;++b){w=t[b]*s,h.setItemLayout(r[0].indices[b],{layerIndex:0,x:n[0][b][0],y0:w,y:n[0][b][1]*s});for(var E=1;E<u;++E)w+=n[E-1][b][1]*s,h.setItemLayout(r[E].indices[b],{layerIndex:E,x:n[E][b][0],y0:w,y:n[E][b][1]*s})}}function v(h){for(var c=h.length,a=h[0].length,i=[],r=[],o=0,d,n={},l=0;l<a;++l){for(var t=0,d=0;t<c;++t)d+=h[t][l][1];d>o&&(o=d),i.push(d)}for(var s=0;s<a;++s)r[s]=(o-i[s])/2;o=0;for(var u=0;u<a;++u){var p=i[u]+r[u];p>o&&(o=p)}return n.y0=r,n.max=o,n}D.exports=y},Urep:function(D,_,e){},V6Ve:function(D,_,e){var g=e("kekF"),f=g(Object.keys,Object);D.exports=f},V7ic:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("digP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileTwoTone";var c=y.forwardRef(h);_.default=c},VFCP:function(D,_,e){e("dBmv"),e("KamJ")},VPsl:function(D,_){function e(g){g.eachSeriesByType("map",function(f){var y=f.get("color"),m=f.getModel("itemStyle"),v=m.get("areaColor"),h=m.get("color")||y[f.seriesIndex%y.length];f.getData().setVisual({areaColor:v,color:h})})}D.exports=e},VR9l:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),y={getItemStyle:function(m,v){var h=f(this,m,v),c=this.getBorderLineDash();return c&&(h.lineDash=c),h},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};D.exports=y},VSLf:function(D,_,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.decodeUTF8=g,_.encodeUTF8=f;function g(y){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(y))}catch(v){if(v instanceof URIError&&m)return y;throw v}}function f(y){return unescape(encodeURIComponent(y))}},VXYp:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),y=e("iLNv"),m="\0_ec_dataZoom_roams";function v(n,l){var t=a(n),s=l.dataZoomId,u=l.coordId;g.each(t,function(b,E){var A=b.dataZoomInfos;A[s]&&g.indexOf(l.allCoordIds,u)<0&&(delete A[s],b.count--)}),r(t);var p=t[u];p||(p=t[u]={coordId:u,dataZoomInfos:{},count:0},p.controller=i(n,p),p.dispatchAction=g.curry(o,n)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=l;var w=d(p.dataZoomInfos);p.controller.enable(w.controlType,w.opt),p.controller.setPointerChecker(l.containsPoint),y.createOrUpdate(p,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(n,l){var t=a(n);g.each(t,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[l]&&(delete u[l],s.count--)}),r(t)}function c(n){return n.type+"\0_"+n.id}function a(n){var l=n.getZr();return l[m]||(l[m]={})}function i(n,l){var t=new f(n.getZr());return g.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(u){var p=[];g.each(l.dataZoomInfos,function(w){if(!u.isAvailableBehavior(w.dataZoomModel.option))return;var b=(w.getRange||{})[s],E=b&&b(l.controller,u);!w.dataZoomModel.get("disabled",!0)&&E&&p.push({dataZoomId:w.dataZoomId,start:E[0],end:E[1]})}),p.length&&l.dispatchAction(p)})}),t}function r(n){g.each(n,function(l,t){l.count||(l.controller.dispose(),delete n[t])})}function o(n,l){n.dispatchAction({type:"dataZoom",batch:l})}function d(n){var l,t="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},u=!0;return g.each(n,function(p){var w=p.dataZoomModel,b=w.get("disabled",!0)?!1:w.get("zoomLock",!0)?"move":!0;s[t+b]>s[t+l]&&(l=b),u&=w.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}_.register=v,_.unregister=h,_.generateCoordId=c},VaNO:function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},VaxA:function(D,_,e){var g=e("bYtY");function f(h,c,a){if(h&&g.indexOf(c,h.type)>=0){var i=a.getData().tree.root,r=h.targetNode;if(typeof r=="string"&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=h.targetNodeId;if(o!=null&&(r=i.getNodeById(o)))return{node:r}}}function y(h){for(var c=[];h;)h=h.parentNode,h&&c.push(h);return c.reverse()}function m(h,c){var a=y(h);return g.indexOf(a,c)>=0}function v(h,c){for(var a=[];h;){var i=h.dataIndex;a.push({name:h.name,dataIndex:i,value:c.getRawValue(i)}),h=h.parentNode}return a.reverse(),a}_.retrieveTargetInfo=f,_.getPathToRoot=y,_.aboveViewRoot=m,_.wrapTreePathInfo=v},Vi4m:function(D,_,e){var g=e("bYtY");function f(m){m!=null&&g.extend(this,m),this.otherDims={}}var y=f;D.exports=y},Vl3Y:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("lSNA"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("85Yc"),o=e("H84U"),d=e("BGR+"),n=c.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=c.createContext({updateItemErrors:function(){}}),t=function(ct){var yt=Object(d.default)(ct,["prefixCls"]);return c.createElement(r.FormProvider,yt)};function s(dt){return dt!=null&&typeof dt=="object"&&dt.nodeType===1}function u(dt,ct){return ct&&dt==="hidden"?!1:dt!=="visible"&&dt!=="clip"}function p(dt){if(!dt.ownerDocument||!dt.ownerDocument.defaultView)return null;try{return dt.ownerDocument.defaultView.frameElement}catch(ct){return null}}function w(dt){var ct=p(dt);return ct?ct.clientHeight<dt.scrollHeight||ct.clientWidth<dt.scrollWidth:!1}function b(dt,ct){if(dt.clientHeight<dt.scrollHeight||dt.clientWidth<dt.scrollWidth){var yt=getComputedStyle(dt,null);return u(yt.overflowY,ct)||u(yt.overflowX,ct)||w(dt)}return!1}function E(dt,ct,yt,_t,or,Bt,we,ve){return Bt<dt&&we>ct||Bt>dt&&we<ct?0:Bt<=dt&&ve<=yt||we>=ct&&ve>=yt?Bt-dt-_t:we>ct&&ve<yt||Bt<dt&&ve>yt?we-ct+or:0}var A=function(dt,ct){var yt=ct.scrollMode,_t=ct.block,or=ct.inline,Bt=ct.boundary,we=ct.skipOverflowHiddenElements,ve=typeof Bt=="function"?Bt:function(ir){return ir!==Bt};if(!s(dt))throw new TypeError("Invalid target");for(var me=document.scrollingElement||document.documentElement,he=[],Re=dt;s(Re)&&ve(Re);){if(Re=Re.parentNode,Re===me){he.push(Re);break}if(Re===document.body&&b(Re)&&!b(document.documentElement))continue;b(Re,we)&&he.push(Re)}for(var He=window.visualViewport?visualViewport.width:innerWidth,ze=window.visualViewport?visualViewport.height:innerHeight,Ye=window.scrollX||pageXOffset,Pe=window.scrollY||pageYOffset,nt=dt.getBoundingClientRect(),bt=nt.height,Ot=nt.width,ae=nt.top,pe=nt.right,J=nt.bottom,ne=nt.left,xe=_t==="start"||_t==="nearest"?ae:_t==="end"?J:ae+bt/2,De=or==="center"?ne+Ot/2:or==="end"?pe:ne,Fe=[],$e=0;$e<he.length;$e++){var vt=he[$e],Wt=vt.getBoundingClientRect(),$t=Wt.height,Rt=Wt.width,Kt=Wt.top,Gt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(yt==="if-needed"&&ae>=0&&ne>=0&&J<=ze&&pe<=He&&ae>=Kt&&J<=Qt&&ne>=Mt&&pe<=Gt)return Fe;var dr=getComputedStyle(vt),er=parseInt(dr.borderLeftWidth,10),st=parseInt(dr.borderTopWidth,10),xt=parseInt(dr.borderRightWidth,10),ut=parseInt(dr.borderBottomWidth,10),pt=0,It=0,Tt="offsetWidth"in vt?vt.offsetWidth-vt.clientWidth-er-xt:0,ft="offsetHeight"in vt?vt.offsetHeight-vt.clientHeight-st-ut:0;if(me===vt)_t==="start"?pt=xe:_t==="end"?pt=xe-ze:_t==="nearest"?pt=E(Pe,Pe+ze,ze,st,ut,Pe+xe,Pe+xe+bt,bt):pt=xe-ze/2,or==="start"?It=De:or==="center"?It=De-He/2:or==="end"?It=De-He:It=E(Ye,Ye+He,He,er,xt,Ye+De,Ye+De+Ot,Ot),pt=Math.max(0,pt+Pe),It=Math.max(0,It+Ye);else{_t==="start"?pt=xe-Kt-st:_t==="end"?pt=xe-Qt+ut+ft:_t==="nearest"?pt=E(Kt,Qt,$t,st,ut+ft,xe,xe+bt,bt):pt=xe-(Kt+$t/2)+ft/2,or==="start"?It=De-Mt-er:or==="center"?It=De-(Mt+Rt/2)+Tt/2:or==="end"?It=De-Gt+xt+Tt:It=E(Mt,Gt,Rt,er,xt+Tt,De,De+Ot,Ot);var Ht=vt.scrollLeft,Ft=vt.scrollTop;pt=Math.max(0,Math.min(Ft+pt,vt.scrollHeight-$t+ft)),It=Math.max(0,Math.min(Ht+It,vt.scrollWidth-Rt+Tt)),xe+=Ft-pt,De+=Ht-It}Fe.push({el:vt,top:pt,left:It})}return Fe};function S(dt){return dt===Object(dt)&&Object.keys(dt).length!==0}function T(dt,ct){ct===void 0&&(ct="auto");var yt="scrollBehavior"in document.body.style;dt.forEach(function(_t){var or=_t.el,Bt=_t.top,we=_t.left;or.scroll&&yt?or.scroll({top:Bt,left:we,behavior:ct}):(or.scrollTop=Bt,or.scrollLeft=we)})}function L(dt){return dt===!1?{block:"end",inline:"nearest"}:S(dt)?dt:{block:"start",inline:"nearest"}}function x(dt,ct){var yt=!dt.ownerDocument.documentElement.contains(dt);if(S(ct)&&typeof ct.behavior=="function")return ct.behavior(yt?[]:A(dt,ct));if(yt)return;var _t=L(ct);return T(A(dt,_t),_t.behavior)}var C=x;function O(dt){return dt===void 0||dt===!1?[]:Array.isArray(dt)?dt:[dt]}function N(dt,ct){if(!dt.length)return;var yt=dt.join("_");return ct?"".concat(ct,"_").concat(yt):yt}function F(dt){var ct=O(dt);return ct.join("_")}function k(dt){var ct=Object(r.useForm)(),yt=m()(ct,1),_t=yt[0],or=Object(c.useRef)({}),Bt=Object(c.useMemo)(function(){return dt||f()(f()({},_t),{__INTERNAL__:{itemRef:function(ve){return function(me){var he=F(ve);me?or.current[he]=me:delete or.current[he]}}},scrollToField:function(ve){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=O(ve),Re=N(he,Bt.__INTERNAL__.name),He=Re?document.getElementById(Re):null;He&&C(He,f()({scrollMode:"if-needed",block:"nearest"},me))},getFieldInstance:function(ve){var me=F(ve);return or.current[me]}})},[dt,_t]);return[Bt]}var P=e("3Nzz"),B=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},z=function(ct,yt){var _t,or=c.useContext(P.b),Bt=c.useContext(o.b),we=Bt.getPrefixCls,ve=Bt.direction,me=ct.name,he=ct.prefixCls,Re=ct.className,He=Re===void 0?"":Re,ze=ct.size,Ye=ze===void 0?or:ze,Pe=ct.form,nt=ct.colon,bt=ct.labelAlign,Ot=ct.labelCol,ae=ct.wrapperCol,pe=ct.hideRequiredMark,J=ct.layout,ne=J===void 0?"horizontal":J,xe=ct.scrollToFirstError,De=ct.requiredMark,Fe=ct.onFinishFailed,$e=B(ct,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),vt=Object(c.useMemo)(function(){return De!==void 0?De:!pe},[pe,De]),Wt=we("form",he),$t=i()(Wt,(_t={},h()(_t,"".concat(Wt,"-").concat(ne),!0),h()(_t,"".concat(Wt,"-hide-required-mark"),vt===!1),h()(_t,"".concat(Wt,"-rtl"),ve==="rtl"),h()(_t,"".concat(Wt,"-").concat(Ye),Ye),_t),He),Rt=k(Pe),Kt=m()(Rt,1),Gt=Kt[0],Qt=Gt.__INTERNAL__;Qt.name=me;var Mt=Object(c.useMemo)(function(){return{name:me,labelAlign:bt,labelCol:Ot,wrapperCol:ae,vertical:ne==="vertical",colon:nt,requiredMark:vt,itemRef:Qt.itemRef}},[me,bt,Ot,ae,ne,nt,vt]);c.useImperativeHandle(yt,function(){return Gt});var dr=function(st){Fe&&Fe(st),xe&&st.errorFields.length&&Gt.scrollToField(st.errorFields[0].name)};return c.createElement(P.a,{size:Ye},c.createElement(n.Provider,{value:Mt},c.createElement(r.default,f()({id:me},$e,{onFinishFailed:dr,form:Gt,className:$t}))))},R=c.forwardRef(z),U=R,j=e("cDf5"),H=e.n(j),V=e("RIqP"),X=e.n(V),W=e("Y+p1"),G=e.n(W),$=e("KW7l"),ge=e("c+Xe"),q=e("qrJ5"),Se=e("CWQg"),Ce=e("uaoM"),Ae=e("/kpp"),Ue=e("YMnH"),Qe=e("ZvpZ"),gt=function(ct){var yt=ct.prefixCls,_t=ct.label,or=ct.htmlFor,Bt=ct.labelCol,we=ct.labelAlign,ve=ct.colon,me=ct.required,he=ct.requiredMark,Re=Object(Ue.b)("Form"),He=m()(Re,1),ze=He[0];return _t?c.createElement(n.Consumer,{key:"label"},function(Ye){var Pe,nt=Ye.vertical,bt=Ye.labelAlign,Ot=Ye.labelCol,ae=Ye.colon,pe,J=Bt||Ot||{},ne=we||bt,xe="".concat(yt,"-item-label"),De=i()(xe,ne==="left"&&"".concat(xe,"-left"),J.className),Fe=_t,$e=ve===!0||ae!==!1&&ve!==!1,vt=$e&&!nt;vt&&typeof _t=="string"&&_t.trim()!==""&&(Fe=_t.replace(/[:|:]\s*$/,"")),he==="optional"&&!me&&(Fe=c.createElement(c.Fragment,null,Fe,c.createElement("span",{className:"".concat(yt,"-item-optional")},(ze==null?void 0:ze.optional)||((pe=Qe.a.Form)===null||pe===void 0?void 0:pe.optional))));var Wt=i()((Pe={},h()(Pe,"".concat(yt,"-item-required"),me),h()(Pe,"".concat(yt,"-item-required-mark-optional"),he==="optional"),h()(Pe,"".concat(yt,"-item-no-colon"),!$e),Pe));return c.createElement(Ae.a,f()({},J,{className:De}),c.createElement("label",{htmlFor:or,className:Wt,title:typeof _t=="string"?_t:""},Fe))}):null},_e=gt,Oe=e("gZBC"),lt=e.n(Oe),ce=e("kbBi"),Y=e.n(ce),K=e("J84W"),Q=e.n(K),ye=e("sKbD"),ue=e.n(ye),Ne=e("YrtM"),Te=e("8XRh"),oe=e("hkKa");function de(dt,ct,yt){var _t=c.useRef({errors:dt,visible:!!dt.length}),or=Object(oe.a)(),Bt=function(){var ve=_t.current.visible,me=!!dt.length,he=_t.current.errors;_t.current.errors=dt,_t.current.visible=me,ve!==me?ct(me):(he.length!==dt.length||he.some(function(Re,He){return Re!==dt[He]}))&&or()};return c.useEffect(function(){if(!yt){var we=setTimeout(Bt,10);return function(){return clearTimeout(we)}}},[dt]),yt&&Bt(),[_t.current.visible,_t.current.errors]}var Le={success:Q.a,warning:ue.a,error:Y.a,validating:lt.a},Ge=function(ct){var yt=ct.prefixCls,_t=ct.wrapperCol,or=ct.children,Bt=ct.help,we=ct.errors,ve=ct.onDomErrorVisibleChange,me=ct.hasFeedback,he=ct.validateStatus,Re=ct.extra,He=Object(oe.a)(),ze="".concat(yt,"-item"),Ye=c.useContext(n),Pe=_t||Ye.wrapperCol||{},nt=i()("".concat(ze,"-control"),Pe.className),bt=de(we,function(Fe){Fe&&Promise.resolve().then(function(){ve(!0)}),He()},!!Bt),Ot=m()(bt,2),ae=Ot[0],pe=Ot[1];c.useEffect(function(){return function(){ve(!1)}},[]);var J=Object(Ne.a)(function(){return pe},ae,function(Fe,$e){return $e}),ne=he&&Le[he],xe=me&&ne?c.createElement("span",{className:"".concat(ze,"-children-icon")},c.createElement(ne,null)):null,De=f()({},Ye);return delete De.labelCol,delete De.wrapperCol,c.createElement(n.Provider,{value:De},c.createElement(Ae.a,f()({},Pe,{className:nt}),c.createElement("div",{className:"".concat(ze,"-control-input")},c.createElement("div",{className:"".concat(ze,"-control-input-content")},or),xe),c.createElement(Te.default,{motionDeadline:500,visible:ae,motionName:"show-help",onLeaveEnd:function(){ve(!1)},motionAppear:!0,removeOnLeave:!0},function(Fe){var $e=Fe.className;return c.createElement("div",{className:i()("".concat(ze,"-explain"),$e),key:"help"},J.map(function(vt,Wt){return c.createElement("div",{key:Wt,role:"alert"},vt)}))}),Re&&c.createElement("div",{className:"".concat(ze,"-extra")},Re)))},ht=Ge,Et=e("0n0R"),Be=e("xEkU"),Dt=e.n(Be);function Ke(dt){var ct=c.useState(dt),yt=m()(ct,2),_t=yt[0],or=yt[1],Bt=Object(c.useRef)(null),we=Object(c.useRef)([]),ve=Object(c.useRef)(!1);c.useEffect(function(){return function(){ve.current=!0,Dt.a.cancel(Bt.current)}},[]);function me(he){if(ve.current)return;Bt.current===null&&(we.current=[],Bt.current=Dt()(function(){Bt.current=null,or(function(Re){var He=Re;return we.current.forEach(function(ze){He=ze(He)}),He})})),we.current.push(he)}return[_t,me]}function At(){var dt=c.useContext(n),ct=dt.itemRef,yt=c.useRef({});function _t(or,Bt){var we=Bt&&H()(Bt)==="object"&&Bt.ref,ve=or.join("_");return(yt.current.name!==ve||yt.current.originRef!==we)&&(yt.current.name=ve,yt.current.originRef=we,yt.current.ref=Object(ge.a)(ct(or),we)),yt.current.ref}return _t}var Xe=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},et=Object(Se.a)("success","warning","error","validating",""),tt=c.memo(function(dt){var ct=dt.children;return ct},function(dt,ct){return dt.value===ct.value&&dt.update===ct.update});function ot(dt){return dt===null&&Object(Ce.a)(!1,"Form.Item","`null` is passed as `name` property"),!(dt==null)}function Ve(dt){var ct=dt.name,yt=dt.fieldKey,_t=dt.noStyle,or=dt.dependencies,Bt=dt.prefixCls,we=dt.style,ve=dt.className,me=dt.shouldUpdate,he=dt.hasFeedback,Re=dt.help,He=dt.rules,ze=dt.validateStatus,Ye=dt.children,Pe=dt.required,nt=dt.label,bt=dt.trigger,Ot=bt===void 0?"onChange":bt,ae=dt.validateTrigger,pe=dt.hidden,J=Xe(dt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),ne=c.useRef(!1),xe=c.useContext(o.b),De=xe.getPrefixCls,Fe=c.useContext(n),$e=Fe.name,vt=Fe.requiredMark,Wt=c.useContext(l),$t=Wt.updateItemErrors,Rt=c.useState(!!Re),Kt=m()(Rt,2),Gt=Kt[0],Qt=Kt[1],Mt=c.useRef(ze),dr=Ke({}),er=m()(dr,2),st=er[0],xt=er[1],ut=c.useContext($.b),pt=ut.validateTrigger,It=ae!==void 0?ae:pt;function Tt(tn){ne.current||Qt(tn)}var ft=ot(ct),Ht=c.useRef([]);c.useEffect(function(){return function(){ne.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var Ft=De("form",Bt),ir=_t?$t:function(tn,qr){xt(function(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return G()(Lr[tn],qr)?Lr:f()(f()({},Lr),h()({},tn,qr))})},Xt=At();function mr(tn,qr,Lr,Qr){var _r,ur;if(_t&&!pe)return tn;var pr=[];Object.keys(st).forEach(function(Yr){pr=[].concat(X()(pr),X()(st[Yr]||[]))});var cr;Re!=null?cr=O(Re):(cr=Lr?Lr.errors:[],cr=[].concat(X()(cr),X()(pr)));var fr="";ze!==void 0?fr=ze:(Lr==null?void 0:Lr.validating)?fr="validating":((ur=Lr==null?void 0:Lr.errors)===null||ur===void 0?void 0:ur.length)||pr.length?fr="error":(Lr==null?void 0:Lr.touched)&&(fr="success"),Gt&&Re&&(Mt.current=fr);var xr=(_r={},h()(_r,"".concat(Ft,"-item"),!0),h()(_r,"".concat(Ft,"-item-with-help"),Gt||Re),h()(_r,"".concat(ve),!!ve),h()(_r,"".concat(Ft,"-item-has-feedback"),fr&&he),h()(_r,"".concat(Ft,"-item-has-success"),fr==="success"),h()(_r,"".concat(Ft,"-item-has-warning"),fr==="warning"),h()(_r,"".concat(Ft,"-item-has-error"),fr==="error"),h()(_r,"".concat(Ft,"-item-has-error-leave"),!Re&&Gt&&Mt.current==="error"),h()(_r,"".concat(Ft,"-item-is-validating"),fr==="validating"),h()(_r,"".concat(Ft,"-item-hidden"),pe),_r);return c.createElement(q.a,f()({className:i()(xr),style:we,key:"row"},Object(d.default)(J,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(_e,f()({htmlFor:qr,required:Qr,requiredMark:vt},dt,{prefixCls:Ft})),c.createElement(ht,f()({},dt,Lr,{errors:cr,prefixCls:Ft,onDomErrorVisibleChange:Tt,validateStatus:fr}),c.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof Ye=="function",Nr=c.useRef(0);if(Nr.current+=1,!ft&&!Ar&&!or)return mr(Ye);var Fr={};return typeof nt=="string"&&(Fr.label=nt),c.createElement(r.Field,f()({},dt,{messageVariables:Fr,trigger:Ot,validateTrigger:It,onReset:function(){Tt(!1)}}),function(tn,qr,Lr){var Qr=qr.errors,_r=O(ct).length&&qr?qr.name:[],ur=N(_r,$e);if(_t){if(Ht.current=X()(_r),yt){var pr=Array.isArray(yt)?yt:[yt];Ht.current=[].concat(X()(_r.slice(0,-1)),X()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var cr=Pe!==void 0?Pe:!!(He&&He.some(function(Nn){if(Nn&&H()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(Lr);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(Ce.a)(!(me&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Ye)&&ft)Object(Ce.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=Ye;else if(Ar&&(!(me||or)||ft))Object(Ce.a)(!!(me||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Ce.a)(!ft,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!ft)Object(Ce.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Et.b)(Ye)){Object(Ce.a)(Ye.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Yr=f()(f()({},Ye.props),fr);Yr.id||(Yr.id=ur),Object(ge.c)(Ye)&&(Yr.ref=Xt(_r,Ye));var un=new Set([].concat(X()(O(Ot)),X()(O(It))));un.forEach(function(Nn){Yr[Nn]=function(){for(var jr,Tn,gn,Pn,zn,qn=arguments.length,Yn=new Array(qn),Vn=0;Vn<qn;Vn++)Yn[Vn]=arguments[Vn];(gn=fr[Nn])===null||gn===void 0||(jr=gn).call.apply(jr,[fr].concat(Yn)),(zn=(Pn=Ye.props)[Nn])===null||zn===void 0||(Tn=zn).call.apply(Tn,[Pn].concat(Yn))}}),xr=c.createElement(tt,{value:fr[dt.valuePropName||"value"],update:Nr.current},Object(Et.a)(Ye,Yr))}else Ar&&(me||or)&&!ft?xr=Ye(Lr):(Object(Ce.a)(!_r.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),xr=Ye);return mr(xr,ur,qr,cr)})}var se=Ve,re=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},it=function(ct){var yt=ct.children,_t=re(ct,["children"]);return Object(Ce.a)(!!_t.name,"Form.List","Miss `name` prop."),c.createElement(r.List,_t,function(or,Bt){return yt(or.map(function(we){return f()(f()({},we),{fieldKey:we.key})}),Bt)})},qe=it,be=U;be.Item=se,be.List=qe,be.useForm=k,be.Provider=t,be.create=function(){Object(Ce.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Zt=_.a=be},VpOo:function(D,_){function e(g,f){var y=f.x,m=f.y,v=f.width,h=f.height,c=f.r,a,i,r,o;v<0&&(y=y+v,v=-v),h<0&&(m=m+h,h=-h),typeof c=="number"?a=i=r=o=c:c instanceof Array?c.length===1?a=i=r=o=c[0]:c.length===2?(a=r=c[0],i=o=c[1]):c.length===3?(a=c[0],i=o=c[1],r=c[2]):(a=c[0],i=c[1],r=c[2],o=c[3]):a=i=r=o=0;var d;a+i>v&&(d=a+i,a*=v/d,i*=v/d),r+o>v&&(d=r+o,r*=v/d,o*=v/d),i+r>h&&(d=i+r,i*=h/d,r*=h/d),a+o>h&&(d=a+o,a*=h/d,o*=h/d),g.moveTo(y+a,m),g.lineTo(y+v-i,m),i!==0&&g.arc(y+v-i,m+i,i,-Math.PI/2,0),g.lineTo(y+v,m+h-r),r!==0&&g.arc(y+v-r,m+h-r,r,0,Math.PI/2),g.lineTo(y+o,m+h),o!==0&&g.arc(y+o,m+h-o,o,Math.PI/2,Math.PI),g.lineTo(y,m+a),a!==0&&g.arc(y+a,m+a,a,Math.PI,Math.PI*1.5)}_.buildPath=e},"VrN/":function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,y=/gecko\/\d/i.test(g),m=/MSIE \d/.test(g),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),h=/Edge\/(\d+)/.exec(g),c=m||v||h,a=c&&(m?document.documentMode||6:+(h||v)[1]),i=!h&&/WebKit\//.test(g),r=i&&/Qt\/\d+\.\d+/.test(g),o=!h&&/Chrome\//.test(g),d=/Opera\//.test(g),n=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),t=/PhantomJS/.test(g),s=!h&&/AppleWebKit/.test(g)&&/Mobile\/\w+/.test(g),u=/Android/.test(g),p=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),w=s||/Mac/.test(f),b=/\bCrOS\b/.test(g),E=/win/i.test(f),A=d&&g.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(d=!1,i=!0);var S=w&&(r||d&&(A==null||A<12.11)),T=y||c&&a>=9;function L(I){return new RegExp("(^|\\s)"+I+"(?:$|\\s)\\s*")}var x=function(M,Z){var ee=M.className,ie=L(Z).exec(ee);if(ie){var Me=ee.slice(ie.index+ie[0].length);M.className=ee.slice(0,ie.index)+(Me?ie[1]+Me:"")}};function C(I){for(var M=I.childNodes.length;M>0;--M)I.removeChild(I.firstChild);return I}function O(I,M){return C(I).appendChild(M)}function N(I,M,Z,ee){var ie=document.createElement(I);if(Z&&(ie.className=Z),ee&&(ie.style.cssText=ee),typeof M=="string")ie.appendChild(document.createTextNode(M));else if(M)for(var Me=0;Me<M.length;++Me)ie.appendChild(M[Me]);return ie}function F(I,M,Z,ee){var ie=N(I,M,Z,ee);return ie.setAttribute("role","presentation"),ie}var k;document.createRange?k=function(M,Z,ee,ie){var Me=document.createRange();return Me.setEnd(ie||M,ee),Me.setStart(M,Z),Me}:k=function(M,Z,ee){var ie=document.body.createTextRange();try{ie.moveToElementText(M.parentNode)}catch(Me){return ie}return ie.collapse(!0),ie.moveEnd("character",ee),ie.moveStart("character",Z),ie};function P(I,M){if(M.nodeType==3&&(M=M.parentNode),I.contains)return I.contains(M);do if(M.nodeType==11&&(M=M.host),M==I)return!0;while(M=M.parentNode)}function B(){var I;try{I=document.activeElement}catch(M){I=document.body||null}for(;I&&I.shadowRoot&&I.shadowRoot.activeElement;)I=I.shadowRoot.activeElement;return I}function z(I,M){var Z=I.className;L(M).test(Z)||(I.className+=(Z?" ":"")+M)}function R(I,M){for(var Z=I.split(" "),ee=0;ee<Z.length;ee++)Z[ee]&&!L(Z[ee]).test(M)&&(M+=" "+Z[ee]);return M}var U=function(M){M.select()};s?U=function(M){M.selectionStart=0,M.selectionEnd=M.value.length}:c&&(U=function(M){try{M.select()}catch(Z){}});function j(I){var M=Array.prototype.slice.call(arguments,1);return function(){return I.apply(null,M)}}function H(I,M,Z){M||(M={});for(var ee in I)I.hasOwnProperty(ee)&&(Z!==!1||!M.hasOwnProperty(ee))&&(M[ee]=I[ee]);return M}function V(I,M,Z,ee,ie){M==null&&(M=I.search(/[^\s\u00a0]/),M==-1&&(M=I.length));for(var Me=ee||0,mt=ie||0;;){var Nt=I.indexOf(" ",Me);if(Nt<0||Nt>=M)return mt+(M-Me);mt+=Nt-Me,mt+=Z-mt%Z,Me=Nt+1}}var X=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};X.prototype.onTimeout=function(I){I.id=0,I.time<=+new Date?I.f():setTimeout(I.handler,I.time-+new Date)},X.prototype.set=function(I,M){this.f=M;var Z=+new Date+I;(!this.id||Z<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,I),this.time=Z)};function W(I,M){for(var Z=0;Z<I.length;++Z)if(I[Z]==M)return Z;return-1}var G=50,$={toString:function(){return"CodeMirror.Pass"}},ge={scroll:!1},q={origin:"*mouse"},Se={origin:"+move"};function Ce(I,M,Z){for(var ee=0,ie=0;;){var Me=I.indexOf(" ",ee);Me==-1&&(Me=I.length);var mt=Me-ee;if(Me==I.length||ie+mt>=M)return ee+Math.min(mt,M-ie);if(ie+=Me-ee,ie+=Z-ie%Z,ee=Me+1,ie>=M)return ee}}var Ae=[""];function Ue(I){for(;Ae.length<=I;)Ae.push(Qe(Ae)+" ");return Ae[I]}function Qe(I){return I[I.length-1]}function gt(I,M){for(var Z=[],ee=0;ee<I.length;ee++)Z[ee]=M(I[ee],ee);return Z}function _e(I,M,Z){for(var ee=0,ie=Z(M);ee<I.length&&Z(I[ee])<=ie;)ee++;I.splice(ee,0,M)}function Oe(){}function lt(I,M){var Z;return Object.create?Z=Object.create(I):(Oe.prototype=I,Z=new Oe),M&&H(M,Z),Z}var ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Y(I){return/\w/.test(I)||I>"\x80"&&(I.toUpperCase()!=I.toLowerCase()||ce.test(I))}function K(I,M){return M?M.source.indexOf("\\w")>-1&&Y(I)?!0:M.test(I):Y(I)}function Q(I){for(var M in I)if(I.hasOwnProperty(M)&&I[M])return!1;return!0}var ye=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ue(I){return I.charCodeAt(0)>=768&&ye.test(I)}function Ne(I,M,Z){for(;(Z<0?M>0:M<I.length)&&ue(I.charAt(M));)M+=Z;return M}function Te(I,M,Z){for(var ee=M>Z?-1:1;;){if(M==Z)return M;var ie=(M+Z)/2,Me=ee<0?Math.ceil(ie):Math.floor(ie);if(Me==M)return I(Me)?M:Z;I(Me)?Z=Me:M=Me+ee}}function oe(I,M,Z,ee){if(!I)return ee(M,Z,"ltr",0);for(var ie=!1,Me=0;Me<I.length;++Me){var mt=I[Me];(mt.from<Z&&mt.to>M||M==Z&&mt.to==M)&&(ee(Math.max(mt.from,M),Math.min(mt.to,Z),mt.level==1?"rtl":"ltr",Me),ie=!0)}ie||ee(M,Z,"ltr")}var de=null;function Le(I,M,Z){var ee;de=null;for(var ie=0;ie<I.length;++ie){var Me=I[ie];if(Me.from<M&&Me.to>M)return ie;Me.to==M&&(Me.from!=Me.to&&Z=="before"?ee=ie:de=ie),Me.from==M&&(Me.from!=Me.to&&Z!="before"?ee=ie:de=ie)}return ee!=null?ee:de}var Ge=function(){var I="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",M="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Z(Yt){return Yt<=247?I.charAt(Yt):1424<=Yt&&Yt<=1524?"R":1536<=Yt&&Yt<=1785?M.charAt(Yt-1536):1774<=Yt&&Yt<=2220?"r":8192<=Yt&&Yt<=8203?"w":Yt==8204?"b":"L"}var ee=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,Me=/[LRr]/,mt=/[Lb1n]/,Nt=/[1n]/;function zt(Yt,Cr,Ur){this.level=Yt,this.from=Cr,this.to=Ur}return function(Yt,Cr){var Ur=Cr=="ltr"?"L":"R";if(Yt.length==0||Cr=="ltr"&&!ee.test(Yt))return!1;for(var en=Yt.length,nn=[],xn=0;xn<en;++xn)nn.push(Z(Yt.charCodeAt(xn)));for(var Bn=0,Zn=Ur;Bn<en;++Bn){var Jn=nn[Bn];Jn=="m"?nn[Bn]=Zn:Zn=Jn}for(var oi=0,li=Ur;oi<en;++oi){var Je=nn[oi];Je=="1"&&li=="r"?nn[oi]="n":Me.test(Je)&&(li=Je,Je=="r"&&(nn[oi]="R"))}for(var te=1,ke=nn[0];te<en-1;++te){var Ze=nn[te];Ze=="+"&&ke=="1"&&nn[te+1]=="1"?nn[te]="1":Ze==","&&ke==nn[te+1]&&(ke=="1"||ke=="n")&&(nn[te]=ke),ke=Ze}for(var Lt=0;Lt<en;++Lt){var tr=nn[Lt];if(tr==",")nn[Lt]="N";else if(tr=="%"){var vr=void 0;for(vr=Lt+1;vr<en&&nn[vr]=="%";++vr);for(var Ir=Lt&&nn[Lt-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Lt;Hr<vr;++Hr)nn[Hr]=Ir;Lt=vr-1}}for(var Kr=0,cn=Ur;Kr<en;++Kr){var sn=nn[Kr];cn=="L"&&sn=="1"?nn[Kr]="L":Me.test(sn)&&(cn=sn)}for(var Fn=0;Fn<en;++Fn)if(ie.test(nn[Fn])){var si=void 0;for(si=Fn+1;si<en&&ie.test(nn[si]);++si);for(var Kn=(Fn?nn[Fn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=Kn==fi?Kn?"L":"R":Ur,Ti=Fn;Ti<si;++Ti)nn[Ti]=da;Fn=si-1}for(var na=[],_a,Pi=0;Pi<en;)if(mt.test(nn[Pi])){var _o=Pi;for(++Pi;Pi<en&&mt.test(nn[Pi]);++Pi);na.push(new zt(0,_o,Pi))}else{var no=Pi,zo=na.length,Po=Cr=="rtl"?1:0;for(++Pi;Pi<en&&nn[Pi]!="L";++Pi);for(var ka=no;ka<Pi;)if(Nt.test(nn[ka])){no<ka&&(na.splice(zo,0,new zt(1,no,ka)),zo+=Po);var Wo=ka;for(++ka;ka<Pi&&Nt.test(nn[ka]);++ka);na.splice(zo,0,new zt(2,Wo,ka)),zo+=Po,no=ka}else++ka;no<Pi&&na.splice(zo,0,new zt(1,no,Pi))}return Cr=="ltr"&&(na[0].level==1&&(_a=Yt.match(/^\s+/))&&(na[0].from=_a[0].length,na.unshift(new zt(0,0,_a[0].length))),Qe(na).level==1&&(_a=Yt.match(/\s+$/))&&(Qe(na).to-=_a[0].length,na.push(new zt(0,en-_a[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function ht(I,M){var Z=I.order;return Z==null&&(Z=I.order=Ge(I.text,M)),Z}var Et=[],Be=function(M,Z,ee){if(M.addEventListener)M.addEventListener(Z,ee,!1);else if(M.attachEvent)M.attachEvent("on"+Z,ee);else{var ie=M._handlers||(M._handlers={});ie[Z]=(ie[Z]||Et).concat(ee)}};function Dt(I,M){return I._handlers&&I._handlers[M]||Et}function Ke(I,M,Z){if(I.removeEventListener)I.removeEventListener(M,Z,!1);else if(I.detachEvent)I.detachEvent("on"+M,Z);else{var ee=I._handlers,ie=ee&&ee[M];if(ie){var Me=W(ie,Z);Me>-1&&(ee[M]=ie.slice(0,Me).concat(ie.slice(Me+1)))}}}function At(I,M){var Z=Dt(I,M);if(!Z.length)return;for(var ee=Array.prototype.slice.call(arguments,2),ie=0;ie<Z.length;++ie)Z[ie].apply(null,ee)}function Xe(I,M,Z){return typeof M=="string"&&(M={type:M,preventDefault:function(){this.defaultPrevented=!0}}),At(I,Z||M.type,I,M),re(M)||M.codemirrorIgnore}function et(I){var M=I._handlers&&I._handlers.cursorActivity;if(!M)return;for(var Z=I.curOp.cursorActivityHandlers||(I.curOp.cursorActivityHandlers=[]),ee=0;ee<M.length;++ee)W(Z,M[ee])==-1&&Z.push(M[ee])}function tt(I,M){return Dt(I,M).length>0}function ot(I){I.prototype.on=function(M,Z){Be(this,M,Z)},I.prototype.off=function(M,Z){Ke(this,M,Z)}}function Ve(I){I.preventDefault?I.preventDefault():I.returnValue=!1}function se(I){I.stopPropagation?I.stopPropagation():I.cancelBubble=!0}function re(I){return I.defaultPrevented!=null?I.defaultPrevented:I.returnValue==!1}function it(I){Ve(I),se(I)}function qe(I){return I.target||I.srcElement}function be(I){var M=I.which;return M==null&&(I.button&1?M=1:I.button&2?M=3:I.button&4&&(M=2)),w&&I.ctrlKey&&M==1&&(M=3),M}var Zt=function(){if(c&&a<9)return!1;var I=N("div");return"draggable"in I||"dragDrop"in I}(),dt;function ct(I){if(dt==null){var M=N("span","\u200B");O(I,N("span",[M,document.createTextNode("x")])),I.firstChild.offsetHeight!=0&&(dt=M.offsetWidth<=1&&M.offsetHeight>2&&!(c&&a<8))}var Z=dt?N("span","\u200B"):N("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Z.setAttribute("cm-text",""),Z}var yt;function _t(I){if(yt!=null)return yt;var M=O(I,document.createTextNode("A\u062EA")),Z=k(M,0,1).getBoundingClientRect(),ee=k(M,1,2).getBoundingClientRect();return C(I),!Z||Z.left==Z.right?!1:yt=ee.right-Z.right<3}var or=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(I){for(var M=0,Z=[],ee=I.length;M<=ee;){var ie=I.indexOf(`
|
|
|
`,M);ie==-1&&(ie=I.length);var Me=I.slice(M,I.charAt(ie-1)=="\r"?ie-1:ie),mt=Me.indexOf("\r");mt!=-1?(Z.push(Me.slice(0,mt)),M+=mt+1):(Z.push(Me),M=ie+1)}return Z}:function(I){return I.split(/\r\n?|\n/)},Bt=window.getSelection?function(I){try{return I.selectionStart!=I.selectionEnd}catch(M){return!1}}:function(I){var M;try{M=I.ownerDocument.selection.createRange()}catch(Z){}return!M||M.parentElement()!=I?!1:M.compareEndPoints("StartToEnd",M)!=0},we=function(){var I=N("div");return"oncopy"in I?!0:(I.setAttribute("oncopy","return;"),typeof I.oncopy=="function")}(),ve=null;function me(I){if(ve!=null)return ve;var M=O(I,N("span","x")),Z=M.getBoundingClientRect(),ee=k(M,0,1).getBoundingClientRect();return ve=Math.abs(Z.left-ee.left)>1}var he={},Re={};function He(I,M){arguments.length>2&&(M.dependencies=Array.prototype.slice.call(arguments,2)),he[I]=M}function ze(I,M){Re[I]=M}function Ye(I){if(typeof I=="string"&&Re.hasOwnProperty(I))I=Re[I];else if(I&&typeof I.name=="string"&&Re.hasOwnProperty(I.name)){var M=Re[I.name];typeof M=="string"&&(M={name:M}),I=lt(M,I),I.name=M.name}else{if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(I))return Ye("application/xml");if(typeof I=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(I))return Ye("application/json")}return typeof I=="string"?{name:I}:I||{name:"null"}}function Pe(I,M){M=Ye(M);var Z=he[M.name];if(!Z)return Pe(I,"text/plain");var ee=Z(I,M);if(nt.hasOwnProperty(M.name)){var ie=nt[M.name];for(var Me in ie){if(!ie.hasOwnProperty(Me))continue;ee.hasOwnProperty(Me)&&(ee["_"+Me]=ee[Me]),ee[Me]=ie[Me]}}if(ee.name=M.name,M.helperType&&(ee.helperType=M.helperType),M.modeProps)for(var mt in M.modeProps)ee[mt]=M.modeProps[mt];return ee}var nt={};function bt(I,M){var Z=nt.hasOwnProperty(I)?nt[I]:nt[I]={};H(M,Z)}function Ot(I,M){if(M===!0)return M;if(I.copyState)return I.copyState(M);var Z={};for(var ee in M){var ie=M[ee];ie instanceof Array&&(ie=ie.concat([])),Z[ee]=ie}return Z}function ae(I,M){for(var Z;I.innerMode&&!(Z=I.innerMode(M),!Z||Z.mode==I);)M=Z.state,I=Z.mode;return Z||{mode:I,state:M}}function pe(I,M,Z){return I.startState?I.startState(M,Z):!0}var J=function(M,Z,ee){this.pos=this.start=0,this.string=M,this.tabSize=Z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};J.prototype.eol=function(){return this.pos>=this.string.length},J.prototype.sol=function(){return this.pos==this.lineStart},J.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},J.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},J.prototype.eat=function(I){var M=this.string.charAt(this.pos),Z;if(typeof I=="string"?Z=M==I:Z=M&&(I.test?I.test(M):I(M)),Z)return++this.pos,M},J.prototype.eatWhile=function(I){for(var M=this.pos;this.eat(I););return this.pos>M},J.prototype.eatSpace=function(){for(var I=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>I},J.prototype.skipToEnd=function(){this.pos=this.string.length},J.prototype.skipTo=function(I){var M=this.string.indexOf(I,this.pos);if(M>-1)return this.pos=M,!0},J.prototype.backUp=function(I){this.pos-=I},J.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=V(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?V(this.string,this.lineStart,this.tabSize):0)},J.prototype.indentation=function(){return V(this.string,null,this.tabSize)-(this.lineStart?V(this.string,this.lineStart,this.tabSize):0)},J.prototype.match=function(I,M,Z){if(typeof I=="string"){var ee=function(Nt){return Z?Nt.toLowerCase():Nt},ie=this.string.substr(this.pos,I.length);if(ee(ie)==ee(I))return M!==!1&&(this.pos+=I.length),!0}else{var Me=this.string.slice(this.pos).match(I);return Me&&Me.index>0?null:(Me&&M!==!1&&(this.pos+=Me[0].length),Me)}},J.prototype.current=function(){return this.string.slice(this.start,this.pos)},J.prototype.hideFirstChars=function(I,M){this.lineStart+=I;try{return M()}finally{this.lineStart-=I}},J.prototype.lookAhead=function(I){var M=this.lineOracle;return M&&M.lookAhead(I)},J.prototype.baseToken=function(){var I=this.lineOracle;return I&&I.baseToken(this.pos)};function ne(I,M){if(M-=I.first,M<0||M>=I.size)throw new Error("There is no line "+(M+I.first)+" in the document.");for(var Z=I;!Z.lines;)for(var ee=0;;++ee){var ie=Z.children[ee],Me=ie.chunkSize();if(M<Me){Z=ie;break}M-=Me}return Z.lines[M]}function xe(I,M,Z){var ee=[],ie=M.line;return I.iter(M.line,Z.line+1,function(Me){var mt=Me.text;ie==Z.line&&(mt=mt.slice(0,Z.ch)),ie==M.line&&(mt=mt.slice(M.ch)),ee.push(mt),++ie}),ee}function De(I,M,Z){var ee=[];return I.iter(M,Z,function(ie){ee.push(ie.text)}),ee}function Fe(I,M){var Z=M-I.height;if(Z)for(var ee=I;ee;ee=ee.parent)ee.height+=Z}function $e(I){if(I.parent==null)return null;for(var M=I.parent,Z=W(M.lines,I),ee=M.parent;ee;M=ee,ee=ee.parent)for(var ie=0;!(ee.children[ie]==M);++ie)Z+=ee.children[ie].chunkSize();return Z+M.first}function vt(I,M){var Z=I.first;e:do{for(var ee=0;ee<I.children.length;++ee){var ie=I.children[ee],Me=ie.height;if(M<Me){I=ie;continue e}M-=Me,Z+=ie.chunkSize()}return Z}while(!I.lines);for(var mt=0;mt<I.lines.length;++mt){var Nt=I.lines[mt],zt=Nt.height;if(M<zt)break;M-=zt}return Z+mt}function Wt(I,M){return M>=I.first&&M<I.first+I.size}function $t(I,M){return String(I.lineNumberFormatter(M+I.firstLineNumber))}function Rt(I,M,Z){if(Z===void 0&&(Z=null),!(this instanceof Rt))return new Rt(I,M,Z);this.line=I,this.ch=M,this.sticky=Z}function Kt(I,M){return I.line-M.line||I.ch-M.ch}function Gt(I,M){return I.sticky==M.sticky&&Kt(I,M)==0}function Qt(I){return Rt(I.line,I.ch)}function Mt(I,M){return Kt(I,M)<0?M:I}function dr(I,M){return Kt(I,M)<0?I:M}function er(I,M){return Math.max(I.first,Math.min(M,I.first+I.size-1))}function st(I,M){if(M.line<I.first)return Rt(I.first,0);var Z=I.first+I.size-1;return M.line>Z?Rt(Z,ne(I,Z).text.length):xt(M,ne(I,M.line).text.length)}function xt(I,M){var Z=I.ch;return Z==null||Z>M?Rt(I.line,M):Z<0?Rt(I.line,0):I}function ut(I,M){for(var Z=[],ee=0;ee<M.length;ee++)Z[ee]=st(I,M[ee]);return Z}var pt=function(M,Z){this.state=M,this.lookAhead=Z},It=function(M,Z,ee,ie){this.state=Z,this.doc=M,this.line=ee,this.maxLookAhead=ie||0,this.baseTokens=null,this.baseTokenPos=1};It.prototype.lookAhead=function(I){var M=this.doc.getLine(this.line+I);return M!=null&&I>this.maxLookAhead&&(this.maxLookAhead=I),M},It.prototype.baseToken=function(I){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=I;)this.baseTokenPos+=2;var M=this.baseTokens[this.baseTokenPos+1];return{type:M&&M.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-I}},It.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},It.fromSaved=function(I,M,Z){return M instanceof pt?new It(I,Ot(I.mode,M.state),Z,M.lookAhead):new It(I,Ot(I.mode,M),Z)},It.prototype.save=function(I){var M=I!==!1?Ot(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pt(M,this.maxLookAhead):M};function Tt(I,M,Z,ee){var ie=[I.state.modeGen],Me={};Fr(I,M.text,I.doc.mode,Z,function(Yt,Cr){return ie.push(Yt,Cr)},Me,ee);for(var mt=Z.state,Nt=function(Cr){Z.baseTokens=ie;var Ur=I.state.overlays[Cr],en=1,nn=0;Z.state=!0,Fr(I,M.text,Ur.mode,Z,function(xn,Bn){for(var Zn=en;nn<xn;){var Jn=ie[en];Jn>xn&&ie.splice(en,1,xn,ie[en+1],Jn),en+=2,nn=Math.min(xn,Jn)}if(!Bn)return;if(Ur.opaque)ie.splice(Zn,en-Zn,xn,"overlay "+Bn),en=Zn+2;else for(;Zn<en;Zn+=2){var oi=ie[Zn+1];ie[Zn+1]=(oi?oi+" ":"")+"overlay "+Bn}},Me),Z.state=mt,Z.baseTokens=null,Z.baseTokenPos=1},zt=0;zt<I.state.overlays.length;++zt)Nt(zt);return{styles:ie,classes:Me.bgClass||Me.textClass?Me:null}}function ft(I,M,Z){if(!M.styles||M.styles[0]!=I.state.modeGen){var ee=Ht(I,$e(M)),ie=M.text.length>I.options.maxHighlightLength&&Ot(I.doc.mode,ee.state),Me=Tt(I,M,ee);ie&&(ee.state=ie),M.stateAfter=ee.save(!ie),M.styles=Me.styles,Me.classes?M.styleClasses=Me.classes:M.styleClasses&&(M.styleClasses=null),Z===I.doc.highlightFrontier&&(I.doc.modeFrontier=Math.max(I.doc.modeFrontier,++I.doc.highlightFrontier))}return M.styles}function Ht(I,M,Z){var ee=I.doc,ie=I.display;if(!ee.mode.startState)return new It(ee,!0,M);var Me=tn(I,M,Z),mt=Me>ee.first&&ne(ee,Me-1).stateAfter,Nt=mt?It.fromSaved(ee,mt,Me):new It(ee,pe(ee.mode),Me);return ee.iter(Me,M,function(zt){Ft(I,zt.text,Nt);var Yt=Nt.line;zt.stateAfter=Yt==M-1||Yt%5==0||Yt>=ie.viewFrom&&Yt<ie.viewTo?Nt.save():null,Nt.nextLine()}),Z&&(ee.modeFrontier=Nt.line),Nt}function Ft(I,M,Z,ee){var ie=I.doc.mode,Me=new J(M,I.options.tabSize,Z);for(Me.start=Me.pos=ee||0,M==""&&ir(ie,Z.state);!Me.eol();)Xt(ie,Me,Z.state),Me.start=Me.pos}function ir(I,M){if(I.blankLine)return I.blankLine(M);if(!I.innerMode)return;var Z=ae(I,M);if(Z.mode.blankLine)return Z.mode.blankLine(Z.state)}function Xt(I,M,Z,ee){for(var ie=0;ie<10;ie++){ee&&(ee[0]=ae(I,Z).mode);var Me=I.token(M,Z);if(M.pos>M.start)return Me}throw new Error("Mode "+I.name+" failed to advance stream.")}var mr=function(M,Z,ee){this.start=M.start,this.end=M.pos,this.string=M.current(),this.type=Z||null,this.state=ee};function Ar(I,M,Z,ee){var ie=I.doc,Me=ie.mode,mt;M=st(ie,M);var Nt=ne(ie,M.line),zt=Ht(I,M.line,Z),Yt=new J(Nt.text,I.options.tabSize,zt),Cr;for(ee&&(Cr=[]);(ee||Yt.pos<M.ch)&&!Yt.eol();)Yt.start=Yt.pos,mt=Xt(Me,Yt,zt.state),ee&&Cr.push(new mr(Yt,mt,Ot(ie.mode,zt.state)));return ee?Cr:new mr(Yt,mt,zt.state)}function Nr(I,M){if(I)for(;;){var Z=I.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Z)break;I=I.slice(0,Z.index)+I.slice(Z.index+Z[0].length);var ee=Z[1]?"bgClass":"textClass";M[ee]==null?M[ee]=Z[2]:new RegExp("(?:^|\\s)"+Z[2]+"(?:$|\\s)").test(M[ee])||(M[ee]+=" "+Z[2])}return I}function Fr(I,M,Z,ee,ie,Me,mt){var Nt=Z.flattenSpans;Nt==null&&(Nt=I.options.flattenSpans);var zt=0,Yt=null,Cr=new J(M,I.options.tabSize,ee),Ur,en=I.options.addModeClass&&[null];for(M==""&&Nr(ir(Z,ee.state),Me);!Cr.eol();){if(Cr.pos>I.options.maxHighlightLength?(Nt=!1,mt&&Ft(I,M,ee,Cr.pos),Cr.pos=M.length,Ur=null):Ur=Nr(Xt(Z,Cr,ee.state,en),Me),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Nt||Yt!=Ur){for(;zt<Cr.start;)zt=Math.min(Cr.start,zt+5e3),ie(zt,Yt);Yt=Ur}Cr.start=Cr.pos}for(;zt<Cr.pos;){var xn=Math.min(Cr.pos,zt+5e3);ie(xn,Yt),zt=xn}}function tn(I,M,Z){for(var ee,ie,Me=I.doc,mt=Z?-1:M-(I.doc.mode.innerMode?1e3:100),Nt=M;Nt>mt;--Nt){if(Nt<=Me.first)return Me.first;var zt=ne(Me,Nt-1),Yt=zt.stateAfter;if(Yt&&(!Z||Nt+(Yt instanceof pt?Yt.lookAhead:0)<=Me.modeFrontier))return Nt;var Cr=V(zt.text,null,I.options.tabSize);(ie==null||ee>Cr)&&(ie=Nt-1,ee=Cr)}return ie}function qr(I,M){if(I.modeFrontier=Math.min(I.modeFrontier,M),I.highlightFrontier<M-10)return;for(var Z=I.first,ee=M-1;ee>Z;ee--){var ie=ne(I,ee).stateAfter;if(ie&&(!(ie instanceof pt)||ee+ie.lookAhead<M)){Z=ee+1;break}}I.highlightFrontier=Math.min(I.highlightFrontier,Z)}var Lr=!1,Qr=!1;function _r(){Lr=!0}function ur(){Qr=!0}function pr(I,M,Z){this.marker=I,this.from=M,this.to=Z}function cr(I,M){if(I)for(var Z=0;Z<I.length;++Z){var ee=I[Z];if(ee.marker==M)return ee}}function fr(I,M){for(var Z,ee=0;ee<I.length;++ee)I[ee]!=M&&(Z||(Z=[])).push(I[ee]);return Z}function xr(I,M){I.markedSpans=I.markedSpans?I.markedSpans.concat([M]):[M],M.marker.attachLine(I)}function Yr(I,M,Z){var ee;if(I)for(var ie=0;ie<I.length;++ie){var Me=I[ie],mt=Me.marker,Nt=Me.from==null||(mt.inclusiveLeft?Me.from<=M:Me.from<M);if(Nt||Me.from==M&&mt.type=="bookmark"&&(!Z||!Me.marker.insertLeft)){var zt=Me.to==null||(mt.inclusiveRight?Me.to>=M:Me.to>M);(ee||(ee=[])).push(new pr(mt,Me.from,zt?null:Me.to))}}return ee}function un(I,M,Z){var ee;if(I)for(var ie=0;ie<I.length;++ie){var Me=I[ie],mt=Me.marker,Nt=Me.to==null||(mt.inclusiveRight?Me.to>=M:Me.to>M);if(Nt||Me.from==M&&mt.type=="bookmark"&&(!Z||Me.marker.insertLeft)){var zt=Me.from==null||(mt.inclusiveLeft?Me.from<=M:Me.from<M);(ee||(ee=[])).push(new pr(mt,zt?null:Me.from-M,Me.to==null?null:Me.to-M))}}return ee}function Nn(I,M){if(M.full)return null;var Z=Wt(I,M.from.line)&&ne(I,M.from.line).markedSpans,ee=Wt(I,M.to.line)&&ne(I,M.to.line).markedSpans;if(!Z&&!ee)return null;var ie=M.from.ch,Me=M.to.ch,mt=Kt(M.from,M.to)==0,Nt=Yr(Z,ie,mt),zt=un(ee,Me,mt),Yt=M.text.length==1,Cr=Qe(M.text).length+(Yt?ie:0);if(Nt)for(var Ur=0;Ur<Nt.length;++Ur){var en=Nt[Ur];if(en.to==null){var nn=cr(zt,en.marker);nn?Yt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=ie}}if(zt)for(var xn=0;xn<zt.length;++xn){var Bn=zt[xn];if(Bn.to!=null&&(Bn.to+=Cr),Bn.from==null){var Zn=cr(Nt,Bn.marker);Zn||(Bn.from=Cr,Yt&&(Nt||(Nt=[])).push(Bn))}else Bn.from+=Cr,Yt&&(Nt||(Nt=[])).push(Bn)}Nt&&(Nt=jr(Nt)),zt&&zt!=Nt&&(zt=jr(zt));var Jn=[Nt];if(!Yt){var oi=M.text.length-2,li;if(oi>0&&Nt)for(var Je=0;Je<Nt.length;++Je)Nt[Je].to==null&&(li||(li=[])).push(new pr(Nt[Je].marker,null,null));for(var te=0;te<oi;++te)Jn.push(li);Jn.push(zt)}return Jn}function jr(I){for(var M=0;M<I.length;++M){var Z=I[M];Z.from!=null&&Z.from==Z.to&&Z.marker.clearWhenEmpty!==!1&&I.splice(M--,1)}return I.length?I:null}function Tn(I,M,Z){var ee=null;if(I.iter(M.line,Z.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Bn=nn.markedSpans[xn].marker;Bn.readOnly&&(!ee||W(ee,Bn)==-1)&&(ee||(ee=[])).push(Bn)}}),!ee)return null;for(var ie=[{from:M,to:Z}],Me=0;Me<ee.length;++Me)for(var mt=ee[Me],Nt=mt.find(0),zt=0;zt<ie.length;++zt){var Yt=ie[zt];if(Kt(Yt.to,Nt.from)<0||Kt(Yt.from,Nt.to)>0)continue;var Cr=[zt,1],Ur=Kt(Yt.from,Nt.from),en=Kt(Yt.to,Nt.to);(Ur<0||!mt.inclusiveLeft&&!Ur)&&Cr.push({from:Yt.from,to:Nt.from}),(en>0||!mt.inclusiveRight&&!en)&&Cr.push({from:Nt.to,to:Yt.to}),ie.splice.apply(ie,Cr),zt+=Cr.length-3}return ie}function gn(I){var M=I.markedSpans;if(!M)return;for(var Z=0;Z<M.length;++Z)M[Z].marker.detachLine(I);I.markedSpans=null}function Pn(I,M){if(!M)return;for(var Z=0;Z<M.length;++Z)M[Z].marker.attachLine(I);I.markedSpans=M}function zn(I){return I.inclusiveLeft?-1:0}function qn(I){return I.inclusiveRight?1:0}function Yn(I,M){var Z=I.lines.length-M.lines.length;if(Z!=0)return Z;var ee=I.find(),ie=M.find(),Me=Kt(ee.from,ie.from)||zn(I)-zn(M);if(Me)return-Me;var mt=Kt(ee.to,ie.to)||qn(I)-qn(M);return mt||M.id-I.id}function Vn(I,M){var Z=Qr&&I.markedSpans,ee;if(Z)for(var ie=void 0,Me=0;Me<Z.length;++Me)ie=Z[Me],ie.marker.collapsed&&(M?ie.from:ie.to)==null&&(!ee||Yn(ee,ie.marker)<0)&&(ee=ie.marker);return ee}function An(I){return Vn(I,!0)}function on(I){return Vn(I,!1)}function ia(I,M){var Z=Qr&&I.markedSpans,ee;if(Z)for(var ie=0;ie<Z.length;++ie){var Me=Z[ie];Me.marker.collapsed&&(Me.from==null||Me.from<M)&&(Me.to==null||Me.to>M)&&(!ee||Yn(ee,Me.marker)<0)&&(ee=Me.marker)}return ee}function xa(I,M,Z,ee,ie){var Me=ne(I,M),mt=Qr&&Me.markedSpans;if(mt)for(var Nt=0;Nt<mt.length;++Nt){var zt=mt[Nt];if(!zt.marker.collapsed)continue;var Yt=zt.marker.find(0),Cr=Kt(Yt.from,Z)||zn(zt.marker)-zn(ie),Ur=Kt(Yt.to,ee)||qn(zt.marker)-qn(ie);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(zt.marker.inclusiveRight&&ie.inclusiveLeft?Kt(Yt.to,Z)>=0:Kt(Yt.to,Z)>0)||Cr>=0&&(zt.marker.inclusiveRight&&ie.inclusiveLeft?Kt(Yt.from,ee)<=0:Kt(Yt.from,ee)<0))return!0}}function ta(I){for(var M;M=An(I);)I=M.find(-1,!0).line;return I}function _i(I){for(var M;M=on(I);)I=M.find(1,!0).line;return I}function Ci(I){for(var M,Z;M=on(I);)I=M.find(1,!0).line,(Z||(Z=[])).push(I);return Z}function Gn(I,M){var Z=ne(I,M),ee=ta(Z);return Z==ee?M:$e(ee)}function Oa(I,M){if(M>I.lastLine())return M;var Z=ne(I,M),ee;if(!mn(I,Z))return M;for(;ee=on(Z);)Z=ee.find(1,!0).line;return $e(Z)+1}function mn(I,M){var Z=Qr&&M.markedSpans;if(Z)for(var ee=void 0,ie=0;ie<Z.length;++ie){if(ee=Z[ie],!ee.marker.collapsed)continue;if(ee.from==null)return!0;if(ee.marker.widgetNode)continue;if(ee.from==0&&ee.marker.inclusiveLeft&&On(I,M,ee))return!0}}function On(I,M,Z){if(Z.to==null){var ee=Z.marker.find(1,!0);return On(I,ee.line,cr(ee.line.markedSpans,Z.marker))}if(Z.marker.inclusiveRight&&Z.to==M.text.length)return!0;for(var ie=void 0,Me=0;Me<M.markedSpans.length;++Me)if(ie=M.markedSpans[Me],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==Z.to&&(ie.to==null||ie.to!=Z.from)&&(ie.marker.inclusiveLeft||Z.marker.inclusiveRight)&&On(I,M,ie))return!0}function Ln(I){I=ta(I);for(var M=0,Z=I.parent,ee=0;ee<Z.lines.length;++ee){var ie=Z.lines[ee];if(ie==I)break;M+=ie.height}for(var Me=Z.parent;Me;Z=Me,Me=Z.parent)for(var mt=0;mt<Me.children.length;++mt){var Nt=Me.children[mt];if(Nt==Z)break;M+=Nt.height}return M}function _n(I){if(I.height==0)return 0;for(var M=I.text.length,Z,ee=I;Z=An(ee);){var ie=Z.find(0,!0);ee=ie.from.line,M+=ie.from.ch-ie.to.ch}for(ee=I;Z=on(ee);){var Me=Z.find(0,!0);M-=ee.text.length-Me.from.ch,ee=Me.to.line,M+=ee.text.length-Me.to.ch}return M}function jn(I){var M=I.display,Z=I.doc;M.maxLine=ne(Z,Z.first),M.maxLineLength=_n(M.maxLine),M.maxLineChanged=!0,Z.iter(function(ee){var ie=_n(ee);ie>M.maxLineLength&&(M.maxLineLength=ie,M.maxLine=ee)})}var ni=function(M,Z,ee){this.text=M,Pn(this,Z),this.height=ee?ee(this):1};ni.prototype.lineNo=function(){return $e(this)},ot(ni);function di(I,M,Z,ee){I.text=M,I.stateAfter&&(I.stateAfter=null),I.styles&&(I.styles=null),I.order!=null&&(I.order=null),gn(I),Pn(I,Z);var ie=ee?ee(I):1;ie!=I.height&&Fe(I,ie)}function Na(I){I.parent=null,gn(I)}var Qi={},ma={};function Ba(I,M){if(!I||/^\s*$/.test(I))return null;var Z=M.addModeClass?ma:Qi;return Z[I]||(Z[I]=I.replace(/\S+/g,"cm-$&"))}function Qa(I,M){var Z=F("span",null,null,i?"padding-right: .1px":null),ee={pre:F("pre",[Z],"CodeMirror-line"),content:Z,col:0,pos:0,cm:I,trailingSpace:!1,splitSpaces:I.getOption("lineWrapping")};M.measure={};for(var ie=0;ie<=(M.rest?M.rest.length:0);ie++){var Me=ie?M.rest[ie-1]:M.line,mt=void 0;ee.pos=0,ee.addToken=Co,_t(I.display.measure)&&(mt=ht(Me,I.doc.direction))&&(ee.addToken=Hi(ee.addToken,mt)),ee.map=[];var Nt=M!=I.display.externalMeasured&&$e(Me);ha(Me,ee,ft(I,Me,Nt)),Me.styleClasses&&(Me.styleClasses.bgClass&&(ee.bgClass=R(Me.styleClasses.bgClass,ee.bgClass||"")),Me.styleClasses.textClass&&(ee.textClass=R(Me.styleClasses.textClass,ee.textClass||""))),ee.map.length==0&&ee.map.push(0,0,ee.content.appendChild(ct(I.display.measure))),ie==0?(M.measure.map=ee.map,M.measure.cache={}):((M.measure.maps||(M.measure.maps=[])).push(ee.map),(M.measure.caches||(M.measure.caches=[])).push({}))}if(i){var zt=ee.content.lastChild;(/\bcm-tab\b/.test(zt.className)||zt.querySelector&&zt.querySelector(".cm-tab"))&&(ee.content.className="cm-tab-wrap-hack")}return At(I,"renderLine",I,M.line,ee.pre),ee.pre.className&&(ee.textClass=R(ee.pre.className,ee.textClass||"")),ee}function Wi(I){var M=N("span","\u2022","cm-invalidchar");return M.title="\\u"+I.charCodeAt(0).toString(16),M.setAttribute("aria-label",M.title),M}function Co(I,M,Z,ee,ie,Me,mt){if(!M)return;var Nt=I.splitSpaces?aa(M,I.trailingSpace):M,zt=I.cm.state.specialChars,Yt=!1,Cr;if(!zt.test(M))I.col+=M.length,Cr=document.createTextNode(Nt),I.map.push(I.pos,I.pos+M.length,Cr),c&&a<9&&(Yt=!0),I.pos+=M.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){zt.lastIndex=Ur;var en=zt.exec(M),nn=en?en.index-Ur:M.length-Ur;if(nn){var xn=document.createTextNode(Nt.slice(Ur,Ur+nn));c&&a<9?Cr.appendChild(N("span",[xn])):Cr.appendChild(xn),I.map.push(I.pos,I.pos+nn,xn),I.col+=nn,I.pos+=nn}if(!en)break;Ur+=nn+1;var Bn=void 0;if(en[0]==" "){var Zn=I.cm.options.tabSize,Jn=Zn-I.col%Zn;Bn=Cr.appendChild(N("span",Ue(Jn),"cm-tab")),Bn.setAttribute("role","presentation"),Bn.setAttribute("cm-text"," "),I.col+=Jn}else en[0]=="\r"||en[0]==`
|
|
|
`?(Bn=Cr.appendChild(N("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Bn.setAttribute("cm-text",en[0]),I.col+=1):(Bn=I.cm.options.specialCharPlaceholder(en[0]),Bn.setAttribute("cm-text",en[0]),c&&a<9?Cr.appendChild(N("span",[Bn])):Cr.appendChild(Bn),I.col+=1);I.map.push(I.pos,I.pos+1,Bn),I.pos++}}if(I.trailingSpace=Nt.charCodeAt(M.length-1)==32,Z||ee||ie||Yt||Me||mt){var oi=Z||"";ee&&(oi+=ee),ie&&(oi+=ie);var li=N("span",[Cr],oi,Me);if(mt)for(var Je in mt)mt.hasOwnProperty(Je)&&Je!="style"&&Je!="class"&&li.setAttribute(Je,mt[Je]);return I.content.appendChild(li)}I.content.appendChild(Cr)}function aa(I,M){if(I.length>1&&!/ /.test(I))return I;for(var Z=M,ee="",ie=0;ie<I.length;ie++){var Me=I.charAt(ie);Me==" "&&Z&&(ie==I.length-1||I.charCodeAt(ie+1)==32)&&(Me="\xA0"),ee+=Me,Z=Me==" "}return ee}function Hi(I,M){return function(Z,ee,ie,Me,mt,Nt,zt){ie=ie?ie+" cm-force-border":"cm-force-border";for(var Yt=Z.pos,Cr=Yt+ee.length;;){for(var Ur=void 0,en=0;en<M.length&&!(Ur=M[en],Ur.to>Yt&&Ur.from<=Yt);en++);if(Ur.to>=Cr)return I(Z,ee,ie,Me,mt,Nt,zt);I(Z,ee.slice(0,Ur.to-Yt),ie,Me,null,Nt,zt),Me=null,ee=ee.slice(Ur.to-Yt),Yt=Ur.to}}}function ga(I,M,Z,ee){var ie=!ee&&Z.widgetNode;ie&&I.map.push(I.pos,I.pos+M,ie),!ee&&I.cm.display.input.needsContentAttribute&&(ie||(ie=I.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",Z.id)),ie&&(I.cm.display.input.setUneditable(ie),I.content.appendChild(ie)),I.pos+=M,I.trailingSpace=!1}function ha(I,M,Z){var ee=I.markedSpans,ie=I.text,Me=0;if(!ee){for(var mt=1;mt<Z.length;mt+=2)M.addToken(M,ie.slice(Me,Me=Z[mt]),Ba(Z[mt+1],M.cm.options));return}for(var Nt=ie.length,zt=0,Yt=1,Cr="",Ur,en,nn=0,xn,Bn,Zn,Jn,oi;;){if(nn==zt){xn=Bn=Zn=en="",oi=null,Jn=null,nn=Infinity;for(var li=[],Je=void 0,te=0;te<ee.length;++te){var ke=ee[te],Ze=ke.marker;if(Ze.type=="bookmark"&&ke.from==zt&&Ze.widgetNode)li.push(Ze);else if(ke.from<=zt&&(ke.to==null||ke.to>zt||Ze.collapsed&&ke.to==zt&&ke.from==zt)){if(ke.to!=null&&ke.to!=zt&&nn>ke.to&&(nn=ke.to,Bn=""),Ze.className&&(xn+=" "+Ze.className),Ze.css&&(en=(en?en+";":"")+Ze.css),Ze.startStyle&&ke.from==zt&&(Zn+=" "+Ze.startStyle),Ze.endStyle&&ke.to==nn&&(Je||(Je=[])).push(Ze.endStyle,ke.to),Ze.title&&((oi||(oi={})).title=Ze.title),Ze.attributes)for(var Lt in Ze.attributes)(oi||(oi={}))[Lt]=Ze.attributes[Lt];Ze.collapsed&&(!Jn||Yn(Jn.marker,Ze)<0)&&(Jn=ke)}else ke.from>zt&&nn>ke.from&&(nn=ke.from)}if(Je)for(var tr=0;tr<Je.length;tr+=2)Je[tr+1]==nn&&(Bn+=" "+Je[tr]);if(!Jn||Jn.from==zt)for(var vr=0;vr<li.length;++vr)ga(M,0,li[vr]);if(Jn&&(Jn.from||0)==zt){if(ga(M,(Jn.to==null?Nt+1:Jn.to)-zt,Jn.marker,Jn.from==null),Jn.to==null)return;Jn.to==zt&&(Jn=!1)}}if(zt>=Nt)break;for(var Ir=Math.min(Nt,nn);;){if(Cr){var Hr=zt+Cr.length;if(!Jn){var Kr=Hr>Ir?Cr.slice(0,Ir-zt):Cr;M.addToken(M,Kr,Ur?Ur+xn:xn,Zn,zt+Kr.length==nn?Bn:"",en,oi)}if(Hr>=Ir){Cr=Cr.slice(Ir-zt),zt=Ir;break}zt=Hr,Zn=""}Cr=ie.slice(Me,Me=Z[Yt++]),Ur=Ba(Z[Yt++],M.cm.options)}}}function mo(I,M,Z){this.line=M,this.rest=Ci(M),this.size=this.rest?$e(Qe(this.rest))-Z+1:1,this.node=this.text=null,this.hidden=mn(I,M)}function kn(I,M,Z){for(var ee=[],ie,Me=M;Me<Z;Me=ie){var mt=new mo(I.doc,ne(I.doc,Me),Me);ie=Me+mt.size,ee.push(mt)}return ee}var $i=null;function eo(I){$i?$i.ops.push(I):I.ownsGroup=$i={ops:[I],delayedCallbacks:[]}}function To(I){var M=I.delayedCallbacks,Z=0;do{for(;Z<M.length;Z++)M[Z].call(null);for(var ee=0;ee<I.ops.length;ee++){var ie=I.ops[ee];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(Z<M.length)}function uo(I,M){var Z=I.ownsGroup;if(!Z)return;try{To(Z)}finally{$i=null,M(Z)}}var rr=null;function Tr(I,M){var Z=Dt(I,M);if(!Z.length)return;var ee=Array.prototype.slice.call(arguments,2),ie;$i?ie=$i.delayedCallbacks:rr?ie=rr:(ie=rr=[],setTimeout(Pr,0));for(var Me=function(zt){ie.push(function(){return Z[zt].apply(null,ee)})},mt=0;mt<Z.length;++mt)Me(mt)}function Pr(){var I=rr;rr=null;for(var M=0;M<I.length;++M)I[M]()}function Wr(I,M,Z,ee){for(var ie=0;ie<M.changes.length;ie++){var Me=M.changes[ie];Me=="text"?Jt(I,M):Me=="gutter"?Or(I,M,Z,ee):Me=="class"?nr(I,M):Me=="widget"&&wr(I,M,ee)}M.changes=null}function hn(I){return I.node==I.text&&(I.node=N("div",null,null,"position: relative"),I.text.parentNode&&I.text.parentNode.replaceChild(I.node,I.text),I.node.appendChild(I.text),c&&a<8&&(I.node.style.zIndex=2)),I.node}function rt(I,M){var Z=M.bgClass?M.bgClass+" "+(M.line.bgClass||""):M.line.bgClass;if(Z&&(Z+=" CodeMirror-linebackground"),M.background)Z?M.background.className=Z:(M.background.parentNode.removeChild(M.background),M.background=null);else if(Z){var ee=hn(M);M.background=ee.insertBefore(N("div",null,Z),ee.firstChild),I.display.input.setUneditable(M.background)}}function jt(I,M){var Z=I.display.externalMeasured;return Z&&Z.line==M.line?(I.display.externalMeasured=null,M.measure=Z.measure,Z.built):Qa(I,M)}function Jt(I,M){var Z=M.text.className,ee=jt(I,M);M.text==M.node&&(M.node=ee.pre),M.text.parentNode.replaceChild(ee.pre,M.text),M.text=ee.pre,ee.bgClass!=M.bgClass||ee.textClass!=M.textClass?(M.bgClass=ee.bgClass,M.textClass=ee.textClass,nr(I,M)):Z&&(M.text.className=Z)}function nr(I,M){rt(I,M),M.line.wrapClass?hn(M).className=M.line.wrapClass:M.node!=M.text&&(M.node.className="");var Z=M.textClass?M.textClass+" "+(M.line.textClass||""):M.line.textClass;M.text.className=Z||""}function Or(I,M,Z,ee){if(M.gutter&&(M.node.removeChild(M.gutter),M.gutter=null),M.gutterBackground&&(M.node.removeChild(M.gutterBackground),M.gutterBackground=null),M.line.gutterClass){var ie=hn(M);M.gutterBackground=N("div",null,"CodeMirror-gutter-background "+M.line.gutterClass,"left: "+(I.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px; width: "+ee.gutterTotalWidth+"px"),I.display.input.setUneditable(M.gutterBackground),ie.insertBefore(M.gutterBackground,M.text)}var Me=M.line.gutterMarkers;if(I.options.lineNumbers||Me){var mt=hn(M),Nt=M.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(I.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px");if(I.display.input.setUneditable(Nt),mt.insertBefore(Nt,M.text),M.line.gutterClass&&(Nt.className+=" "+M.line.gutterClass),I.options.lineNumbers&&(!Me||!Me["CodeMirror-linenumbers"])&&(M.lineNumber=Nt.appendChild(N("div",$t(I.options,Z),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ee.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+I.display.lineNumInnerWidth+"px"))),Me)for(var zt=0;zt<I.display.gutterSpecs.length;++zt){var Yt=I.display.gutterSpecs[zt].className,Cr=Me.hasOwnProperty(Yt)&&Me[Yt];Cr&&Nt.appendChild(N("div",[Cr],"CodeMirror-gutter-elt","left: "+ee.gutterLeft[Yt]+"px; width: "+ee.gutterWidth[Yt]+"px"))}}}function wr(I,M,Z){M.alignable&&(M.alignable=null);for(var ee=L("CodeMirror-linewidget"),ie=M.node.firstChild,Me=void 0;ie;ie=Me)Me=ie.nextSibling,ee.test(ie.className)&&M.node.removeChild(ie);zr(I,M,Z)}function Er(I,M,Z,ee){var ie=jt(I,M);return M.text=M.node=ie.pre,ie.bgClass&&(M.bgClass=ie.bgClass),ie.textClass&&(M.textClass=ie.textClass),nr(I,M),Or(I,M,Z,ee),zr(I,M,ee),M.node}function zr(I,M,Z){if(Jr(I,M.line,M,Z,!0),M.rest)for(var ee=0;ee<M.rest.length;ee++)Jr(I,M.rest[ee],M,Z,!1)}function Jr(I,M,Z,ee,ie){if(!M.widgets)return;for(var Me=hn(Z),mt=0,Nt=M.widgets;mt<Nt.length;++mt){var zt=Nt[mt],Yt=N("div",[zt.node],"CodeMirror-linewidget"+(zt.className?" "+zt.className:""));zt.handleMouseEvents||Yt.setAttribute("cm-ignore-events","true"),Zr(zt,Yt,Z,ee),I.display.input.setUneditable(Yt),ie&&zt.above?Me.insertBefore(Yt,Z.gutter||Z.text):Me.appendChild(Yt),Tr(zt,"redraw")}}function Zr(I,M,Z,ee){if(I.noHScroll){(Z.alignable||(Z.alignable=[])).push(M);var ie=ee.wrapperWidth;M.style.left=ee.fixedPos+"px",I.coverGutter||(ie-=ee.gutterTotalWidth,M.style.paddingLeft=ee.gutterTotalWidth+"px"),M.style.width=ie+"px"}I.coverGutter&&(M.style.zIndex=5,M.style.position="relative",I.noHScroll||(M.style.marginLeft=-ee.gutterTotalWidth+"px"))}function an(I){if(I.height!=null)return I.height;var M=I.doc.cm;if(!M)return 0;if(!P(document.body,I.node)){var Z="position: relative;";I.coverGutter&&(Z+="margin-left: -"+M.display.gutters.offsetWidth+"px;"),I.noHScroll&&(Z+="width: "+M.display.wrapper.clientWidth+"px;"),O(M.display.measure,N("div",[I.node],null,Z))}return I.height=I.node.parentNode.offsetHeight}function St(I,M){for(var Z=qe(M);Z!=I.wrapper;Z=Z.parentNode)if(!Z||Z.nodeType==1&&Z.getAttribute("cm-ignore-events")=="true"||Z.parentNode==I.sizer&&Z!=I.mover)return!0}function Vt(I){return I.lineSpace.offsetTop}function sr(I){return I.mover.offsetHeight-I.lineSpace.offsetHeight}function br(I){if(I.cachedPaddingH)return I.cachedPaddingH;var M=O(I.measure,N("pre","x","CodeMirror-line-like")),Z=window.getComputedStyle?window.getComputedStyle(M):M.currentStyle,ee={left:parseInt(Z.paddingLeft),right:parseInt(Z.paddingRight)};return!isNaN(ee.left)&&!isNaN(ee.right)&&(I.cachedPaddingH=ee),ee}function Mr(I){return G-I.display.nativeBarWidth}function Dr(I){return I.display.scroller.clientWidth-Mr(I)-I.display.barWidth}function rn(I){return I.display.scroller.clientHeight-Mr(I)-I.display.barHeight}function fn(I,M,Z){var ee=I.options.lineWrapping,ie=ee&&Dr(I);if(!M.measure.heights||ee&&M.measure.width!=ie){var Me=M.measure.heights=[];if(ee){M.measure.width=ie;for(var mt=M.text.firstChild.getClientRects(),Nt=0;Nt<mt.length-1;Nt++){var zt=mt[Nt],Yt=mt[Nt+1];Math.abs(zt.bottom-Yt.bottom)>2&&Me.push((zt.bottom+Yt.top)/2-Z.top)}}Me.push(Z.bottom-Z.top)}}function wn(I,M,Z){if(I.line==M)return{map:I.measure.map,cache:I.measure.cache};for(var ee=0;ee<I.rest.length;ee++)if(I.rest[ee]==M)return{map:I.measure.maps[ee],cache:I.measure.caches[ee]};for(var ie=0;ie<I.rest.length;ie++)if($e(I.rest[ie])>Z)return{map:I.measure.maps[ie],cache:I.measure.caches[ie],before:!0}}function Hn(I,M){M=ta(M);var Z=$e(M),ee=I.display.externalMeasured=new mo(I.doc,M,Z);ee.lineN=Z;var ie=ee.built=Qa(I,ee);return ee.text=ie.pre,O(I.display.lineMeasure,ie.pre),ee}function Sn(I,M,Z,ee){return vn(I,Mn(I,M),Z,ee)}function bn(I,M){if(M>=I.display.viewFrom&&M<I.display.viewTo)return I.display.view[la(I,M)];var Z=I.display.externalMeasured;if(Z&&M>=Z.lineN&&M<Z.lineN+Z.size)return Z}function Mn(I,M){var Z=$e(M),ee=bn(I,Z);ee&&!ee.text?ee=null:ee&&ee.changes&&(Wr(I,ee,Z,Vi(I)),I.curOp.forceUpdate=!0),ee||(ee=Hn(I,M));var ie=wn(ee,M,Z);return{line:M,view:ee,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function vn(I,M,Z,ee,ie){M.before&&(Z=-1);var Me=Z+(ee||""),mt;return M.cache.hasOwnProperty(Me)?mt=M.cache[Me]:(M.rect||(M.rect=M.view.text.getBoundingClientRect()),M.hasHeights||(fn(I,M.view,M.rect),M.hasHeights=!0),mt=Xn(I,M,Z,ee),mt.bogus||(M.cache[Me]=mt)),{left:mt.left,right:mt.right,top:ie?mt.rtop:mt.top,bottom:ie?mt.rbottom:mt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(I,M,Z){for(var ee,ie,Me,mt,Nt,zt,Yt=0;Yt<I.length;Yt+=3)if(Nt=I[Yt],zt=I[Yt+1],M<Nt?(ie=0,Me=1,mt="left"):M<zt?(ie=M-Nt,Me=ie+1):(Yt==I.length-3||M==zt&&I[Yt+3]>M)&&(Me=zt-Nt,ie=Me-1,M>=zt&&(mt="right")),ie!=null){if(ee=I[Yt+2],Nt==zt&&Z==(ee.insertLeft?"left":"right")&&(mt=Z),Z=="left"&&ie==0)for(;Yt&&I[Yt-2]==I[Yt-3]&&I[Yt-1].insertLeft;)ee=I[(Yt-=3)+2],mt="left";if(Z=="right"&&ie==zt-Nt)for(;Yt<I.length-3&&I[Yt+3]==I[Yt+4]&&!I[Yt+5].insertLeft;)ee=I[(Yt+=3)+2],mt="right";break}return{node:ee,start:ie,end:Me,collapse:mt,coverStart:Nt,coverEnd:zt}}function In(I,M){var Z=Rn;if(M=="left")for(var ee=0;ee<I.length&&!((Z=I[ee]).left!=Z.right);ee++);else for(var ie=I.length-1;ie>=0&&!((Z=I[ie]).left!=Z.right);ie--);return Z}function Xn(I,M,Z,ee){var ie=En(M.map,Z,ee),Me=ie.node,mt=ie.start,Nt=ie.end,zt=ie.collapse,Yt;if(Me.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;mt&&ue(M.line.text.charAt(ie.coverStart+mt));)--mt;for(;ie.coverStart+Nt<ie.coverEnd&&ue(M.line.text.charAt(ie.coverStart+Nt));)++Nt;if(c&&a<9&&mt==0&&Nt==ie.coverEnd-ie.coverStart?Yt=Me.parentNode.getBoundingClientRect():Yt=In(k(Me,mt,Nt).getClientRects(),ee),Yt.left||Yt.right||mt==0)break;Nt=mt,mt=mt-1,zt="right"}c&&a<11&&(Yt=ai(I.display.measure,Yt))}else{mt>0&&(zt=ee="right");var Ur;I.options.lineWrapping&&(Ur=Me.getClientRects()).length>1?Yt=Ur[ee=="right"?Ur.length-1:0]:Yt=Me.getBoundingClientRect()}if(c&&a<9&&!mt&&(!Yt||!Yt.left&&!Yt.right)){var en=Me.parentNode.getClientRects()[0];en?Yt={left:en.left,right:en.left+Ii(I.display),top:en.top,bottom:en.bottom}:Yt=Rn}for(var nn=Yt.top-M.rect.top,xn=Yt.bottom-M.rect.top,Bn=(nn+xn)/2,Zn=M.view.measure.heights,Jn=0;Jn<Zn.length-1&&!(Bn<Zn[Jn]);Jn++);var oi=Jn?Zn[Jn-1]:0,li=Zn[Jn],Je={left:(zt=="right"?Yt.right:Yt.left)-M.rect.left,right:(zt=="left"?Yt.left:Yt.right)-M.rect.left,top:oi,bottom:li};return!Yt.left&&!Yt.right&&(Je.bogus=!0),I.options.singleCursorHeightPerLine||(Je.rtop=nn,Je.rbottom=xn),Je}function ai(I,M){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!me(I))return M;var Z=screen.logicalXDPI/screen.deviceXDPI,ee=screen.logicalYDPI/screen.deviceYDPI;return{left:M.left*Z,right:M.right*Z,top:M.top*ee,bottom:M.bottom*ee}}function ri(I){if(I.measure&&(I.measure.cache={},I.measure.heights=null,I.rest))for(var M=0;M<I.rest.length;M++)I.measure.caches[M]={}}function Di(I){I.display.externalMeasure=null,C(I.display.lineMeasure);for(var M=0;M<I.display.view.length;M++)ri(I.display.view[M])}function yi(I){Di(I),I.display.cachedCharWidth=I.display.cachedTextHeight=I.display.cachedPaddingH=null,I.options.lineWrapping||(I.display.maxLineChanged=!0),I.display.lineNumChars=null}function xi(){return o&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Li(){return o&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(I){var M=0;if(I.widgets)for(var Z=0;Z<I.widgets.length;++Z)I.widgets[Z].above&&(M+=an(I.widgets[Z]));return M}function Ri(I,M,Z,ee,ie){if(!ie){var Me=Un(M);Z.top+=Me,Z.bottom+=Me}if(ee=="line")return Z;ee||(ee="local");var mt=Ln(M);if(ee=="local"?mt+=Vt(I.display):mt-=I.display.viewOffset,ee=="page"||ee=="window"){var Nt=I.display.lineSpace.getBoundingClientRect();mt+=Nt.top+(ee=="window"?0:Li());var zt=Nt.left+(ee=="window"?0:xi());Z.left+=zt,Z.right+=zt}return Z.top+=mt,Z.bottom+=mt,Z}function fa(I,M,Z){if(Z=="div")return M;var ee=M.left,ie=M.top;if(Z=="page")ee-=xi(),ie-=Li();else if(Z=="local"||!Z){var Me=I.display.sizer.getBoundingClientRect();ee+=Me.left,ie+=Me.top}var mt=I.display.lineSpace.getBoundingClientRect();return{left:ee-mt.left,top:ie-mt.top}}function Ui(I,M,Z,ee,ie){return ee||(ee=ne(I.doc,M.line)),Ri(I,ee,Sn(I,ee,M.ch,ie),Z)}function Mi(I,M,Z,ee,ie,Me){ee=ee||ne(I.doc,M.line),ie||(ie=Mn(I,ee));function mt(xn,Bn){var Zn=vn(I,ie,xn,Bn?"right":"left",Me);return Bn?Zn.left=Zn.right:Zn.right=Zn.left,Ri(I,ee,Zn,Z)}var Nt=ht(ee,I.doc.direction),zt=M.ch,Yt=M.sticky;if(zt>=ee.text.length?(zt=ee.text.length,Yt="before"):zt<=0&&(zt=0,Yt="after"),!Nt)return mt(Yt=="before"?zt-1:zt,Yt=="before");function Cr(xn,Bn,Zn){var Jn=Nt[Bn],oi=Jn.level==1;return mt(Zn?xn-1:xn,oi!=Zn)}var Ur=Le(Nt,zt,Yt),en=de,nn=Cr(zt,Ur,Yt=="before");return en!=null&&(nn.other=Cr(zt,en,Yt!="before")),nn}function mi(I,M){var Z=0;M=st(I.doc,M),I.options.lineWrapping||(Z=Ii(I.display)*M.ch);var ee=ne(I.doc,M.line),ie=Ln(ee)+Vt(I.display);return{left:Z,right:Z,top:ie,bottom:ie+ee.height}}function hi(I,M,Z,ee,ie){var Me=Rt(I,M,Z);return Me.xRel=ie,ee&&(Me.outside=ee),Me}function qi(I,M,Z){var ee=I.doc;if(Z+=I.display.viewOffset,Z<0)return hi(ee.first,0,null,-1,-1);var ie=vt(ee,Z),Me=ee.first+ee.size-1;if(ie>Me)return hi(ee.first+ee.size-1,ne(ee,Me).text.length,null,1,1);M<0&&(M=0);for(var mt=ne(ee,ie);;){var Nt=oa(I,mt,ie,M,Z),zt=ia(mt,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!zt)return Nt;var Yt=zt.find(1);if(Yt.line==ie)return Yt;mt=ne(ee,ie=Yt.line)}}function va(I,M,Z,ee){ee-=Un(M);var ie=M.text.length,Me=Te(function(mt){return vn(I,Z,mt-1).bottom<=ee},ie,0);return ie=Te(function(mt){return vn(I,Z,mt).top>ee},Me,ie),{begin:Me,end:ie}}function Ea(I,M,Z,ee){Z||(Z=Mn(I,M));var ie=Ri(I,M,vn(I,Z,ee),"line").top;return va(I,M,Z,ie)}function ya(I,M,Z,ee){return I.bottom<=Z?!1:I.top>Z?!0:(ee?I.left:I.right)>M}function oa(I,M,Z,ee,ie){ie-=Ln(M);var Me=Mn(I,M),mt=Un(M),Nt=0,zt=M.text.length,Yt=!0,Cr=ht(M,I.doc.direction);if(Cr){var Ur=(I.options.lineWrapping?Ni:sa)(I,M,Z,Me,Cr,ee,ie);Yt=Ur.level!=1,Nt=Yt?Ur.from:Ur.to-1,zt=Yt?Ur.to:Ur.from-1}var en=null,nn=null,xn=Te(function(te){var ke=vn(I,Me,te);return ke.top+=mt,ke.bottom+=mt,ya(ke,ee,ie,!1)?(ke.top<=ie&&ke.left<=ee&&(en=te,nn=ke),!0):!1},Nt,zt),Bn,Zn,Jn=!1;if(nn){var oi=ee-nn.left<nn.right-ee,li=oi==Yt;xn=en+(li?0:1),Zn=li?"after":"before",Bn=oi?nn.left:nn.right}else{!Yt&&(xn==zt||xn==Nt)&&xn++,Zn=xn==0?"after":xn==M.text.length?"before":vn(I,Me,xn-(Yt?1:0)).bottom+mt<=ie==Yt?"after":"before";var Je=Mi(I,Rt(Z,xn,Zn),"line",M,Me);Bn=Je.left,Jn=ie<Je.top?-1:ie>=Je.bottom?1:0}return xn=Ne(M.text,xn,1),hi(Z,xn,Zn,Jn,ee-Bn)}function sa(I,M,Z,ee,ie,Me,mt){var Nt=Te(function(Ur){var en=ie[Ur],nn=en.level!=1;return ya(Mi(I,Rt(Z,nn?en.to:en.from,nn?"before":"after"),"line",M,ee),Me,mt,!0)},0,ie.length-1),zt=ie[Nt];if(Nt>0){var Yt=zt.level!=1,Cr=Mi(I,Rt(Z,Yt?zt.from:zt.to,Yt?"after":"before"),"line",M,ee);ya(Cr,Me,mt,!0)&&Cr.top>mt&&(zt=ie[Nt-1])}return zt}function Ni(I,M,Z,ee,ie,Me,mt){var Nt=va(I,M,ee,mt),zt=Nt.begin,Yt=Nt.end;/\s/.test(M.text.charAt(Yt-1))&&Yt--;for(var Cr=null,Ur=null,en=0;en<ie.length;en++){var nn=ie[en];if(nn.from>=Yt||nn.to<=zt)continue;var xn=nn.level!=1,Bn=vn(I,ee,xn?Math.min(Yt,nn.to)-1:Math.max(zt,nn.from)).right,Zn=Bn<Me?Me-Bn+1e9:Bn-Me;(!Cr||Ur>Zn)&&(Cr=nn,Ur=Zn)}return Cr||(Cr=ie[ie.length-1]),Cr.from<zt&&(Cr={from:zt,to:Cr.to,level:Cr.level}),Cr.to>Yt&&(Cr={from:Cr.from,to:Yt,level:Cr.level}),Cr}var $n;function Ai(I){if(I.cachedTextHeight!=null)return I.cachedTextHeight;if($n==null){$n=N("pre",null,"CodeMirror-line-like");for(var M=0;M<49;++M)$n.appendChild(document.createTextNode("x")),$n.appendChild(N("br"));$n.appendChild(document.createTextNode("x"))}O(I.measure,$n);var Z=$n.offsetHeight/50;return Z>3&&(I.cachedTextHeight=Z),C(I.measure),Z||1}function Ii(I){if(I.cachedCharWidth!=null)return I.cachedCharWidth;var M=N("span","xxxxxxxxxx"),Z=N("pre",[M],"CodeMirror-line-like");O(I.measure,Z);var ee=M.getBoundingClientRect(),ie=(ee.right-ee.left)/10;return ie>2&&(I.cachedCharWidth=ie),ie||10}function Vi(I){for(var M=I.display,Z={},ee={},ie=M.gutters.clientLeft,Me=M.gutters.firstChild,mt=0;Me;Me=Me.nextSibling,++mt){var Nt=I.display.gutterSpecs[mt].className;Z[Nt]=Me.offsetLeft+Me.clientLeft+ie,ee[Nt]=Me.clientWidth}return{fixedPos:Xi(M),gutterTotalWidth:M.gutters.offsetWidth,gutterLeft:Z,gutterWidth:ee,wrapperWidth:M.wrapper.clientWidth}}function Xi(I){return I.scroller.getBoundingClientRect().left-I.sizer.getBoundingClientRect().left}function bi(I){var M=Ai(I.display),Z=I.options.lineWrapping,ee=Z&&Math.max(5,I.display.scroller.clientWidth/Ii(I.display)-3);return function(ie){if(mn(I.doc,ie))return 0;var Me=0;if(ie.widgets)for(var mt=0;mt<ie.widgets.length;mt++)ie.widgets[mt].height&&(Me+=ie.widgets[mt].height);return Z?Me+(Math.ceil(ie.text.length/ee)||1)*M:Me+M}}function Aa(I){var M=I.doc,Z=bi(I);M.iter(function(ee){var ie=Z(ee);ie!=ee.height&&Fe(ee,ie)})}function ca(I,M,Z,ee){var ie=I.display;if(!Z&&qe(M).getAttribute("cm-not-content")=="true")return null;var Me,mt,Nt=ie.lineSpace.getBoundingClientRect();try{Me=M.clientX-Nt.left,mt=M.clientY-Nt.top}catch(Ur){return null}var zt=qi(I,Me,mt),Yt;if(ee&&zt.xRel>0&&(Yt=ne(I.doc,zt.line).text).length==zt.ch){var Cr=V(Yt,Yt.length,I.options.tabSize)-Yt.length;zt=Rt(zt.line,Math.max(0,Math.round((Me-br(I.display).left)/Ii(I.display))-Cr))}return zt}function la(I,M){if(M>=I.display.viewTo)return null;if(M-=I.display.viewFrom,M<0)return null;for(var Z=I.display.view,ee=0;ee<Z.length;ee++)if(M-=Z[ee].size,M<0)return ee}function gi(I,M,Z,ee){M==null&&(M=I.doc.first),Z==null&&(Z=I.doc.first+I.doc.size),ee||(ee=0);var ie=I.display;if(ee&&Z<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>M)&&(ie.updateLineNumbers=M),I.curOp.viewChanged=!0,M>=ie.viewTo)Qr&&Gn(I.doc,M)<ie.viewTo&&Ma(I);else if(Z<=ie.viewFrom)Qr&&Oa(I.doc,Z+ee)>ie.viewFrom?Ma(I):(ie.viewFrom+=ee,ie.viewTo+=ee);else if(M<=ie.viewFrom&&Z>=ie.viewTo)Ma(I);else if(M<=ie.viewFrom){var Me=ra(I,Z,Z+ee,1);Me?(ie.view=ie.view.slice(Me.index),ie.viewFrom=Me.lineN,ie.viewTo+=ee):Ma(I)}else if(Z>=ie.viewTo){var mt=ra(I,M,M,-1);mt?(ie.view=ie.view.slice(0,mt.index),ie.viewTo=mt.lineN):Ma(I)}else{var Nt=ra(I,M,M,-1),zt=ra(I,Z,Z+ee,1);Nt&&zt?(ie.view=ie.view.slice(0,Nt.index).concat(kn(I,Nt.lineN,zt.lineN)).concat(ie.view.slice(zt.index)),ie.viewTo+=ee):Ma(I)}var Yt=ie.externalMeasured;Yt&&(Z<Yt.lineN?Yt.lineN+=ee:M<Yt.lineN+Yt.size&&(ie.externalMeasured=null))}function Pa(I,M,Z){I.curOp.viewChanged=!0;var ee=I.display,ie=I.display.externalMeasured;if(ie&&M>=ie.lineN&&M<ie.lineN+ie.size&&(ee.externalMeasured=null),M<ee.viewFrom||M>=ee.viewTo)return;var Me=ee.view[la(I,M)];if(Me.node==null)return;var mt=Me.changes||(Me.changes=[]);W(mt,Z)==-1&&mt.push(Z)}function Ma(I){I.display.viewFrom=I.display.viewTo=I.doc.first,I.display.view=[],I.display.viewOffset=0}function ra(I,M,Z,ee){var ie=la(I,M),Me,mt=I.display.view;if(!Qr||Z==I.doc.first+I.doc.size)return{index:ie,lineN:Z};for(var Nt=I.display.viewFrom,zt=0;zt<ie;zt++)Nt+=mt[zt].size;if(Nt!=M){if(ee>0){if(ie==mt.length-1)return null;Me=Nt+mt[ie].size-M,ie++}else Me=Nt-M;M+=Me,Z+=Me}for(;Gn(I.doc,Z)!=Z;){if(ie==(ee<0?0:mt.length-1))return null;Z+=ee*mt[ie-(ee<0?1:0)].size,ie+=ee}return{index:ie,lineN:Z}}function Yi(I,M,Z){var ee=I.display,ie=ee.view;ie.length==0||M>=ee.viewTo||Z<=ee.viewFrom?(ee.view=kn(I,M,Z),ee.viewFrom=M):(ee.viewFrom>M?ee.view=kn(I,M,ee.viewFrom).concat(ee.view):ee.viewFrom<M&&(ee.view=ee.view.slice(la(I,M))),ee.viewFrom=M,ee.viewTo<Z?ee.view=ee.view.concat(kn(I,ee.viewTo,Z)):ee.viewTo>Z&&(ee.view=ee.view.slice(0,la(I,Z)))),ee.viewTo=Z}function Xa(I){for(var M=I.display.view,Z=0,ee=0;ee<M.length;ee++){var ie=M[ee];!ie.hidden&&(!ie.node||ie.changes)&&++Z}return Z}function Ki(I){I.display.input.showSelection(I.display.input.prepareSelection())}function zi(I,M){M===void 0&&(M=!0);for(var Z=I.doc,ee={},ie=ee.cursors=document.createDocumentFragment(),Me=ee.selection=document.createDocumentFragment(),mt=0;mt<Z.sel.ranges.length;mt++){if(!M&&mt==Z.sel.primIndex)continue;var Nt=Z.sel.ranges[mt];if(Nt.from().line>=I.display.viewTo||Nt.to().line<I.display.viewFrom)continue;var zt=Nt.empty();(zt||I.options.showCursorWhenSelecting)&&ba(I,Nt.head,ie),zt||wa(I,Nt,Me)}return ee}function ba(I,M,Z){var ee=Mi(I,M,"div",null,null,!I.options.singleCursorHeightPerLine),ie=Z.appendChild(N("div","\xA0","CodeMirror-cursor"));if(ie.style.left=ee.left+"px",ie.style.top=ee.top+"px",ie.style.height=Math.max(0,ee.bottom-ee.top)*I.options.cursorHeight+"px",ee.other){var Me=Z.appendChild(N("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Me.style.display="",Me.style.left=ee.other.left+"px",Me.style.top=ee.other.top+"px",Me.style.height=(ee.other.bottom-ee.other.top)*.85+"px"}}function Ua(I,M){return I.top-M.top||I.left-M.left}function wa(I,M,Z){var ee=I.display,ie=I.doc,Me=document.createDocumentFragment(),mt=br(I.display),Nt=mt.left,zt=Math.max(ee.sizerWidth,Dr(I)-ee.sizer.offsetLeft)-mt.right,Yt=ie.direction=="ltr";function Cr(li,Je,te,ke){Je<0&&(Je=0),Je=Math.round(Je),ke=Math.round(ke),Me.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
|
|
|
top: `+Je+"px; width: "+(te==null?zt-li:te)+`px;
|
|
|
height: `+(ke-Je)+"px"))}function Ur(li,Je,te){var ke=ne(ie,li),Ze=ke.text.length,Lt,tr;function vr(Kr,cn){return Ui(I,Rt(li,Kr),"div",ke,cn)}function Ir(Kr,cn,sn){var Fn=Ea(I,ke,null,Kr),si=cn=="ltr"==(sn=="after")?"left":"right",Kn=sn=="after"?Fn.begin:Fn.end-(/\s/.test(ke.text.charAt(Fn.end-1))?2:1);return vr(Kn,si)[si]}var Hr=ht(ke,ie.direction);return oe(Hr,Je||0,te==null?Ze:te,function(Kr,cn,sn,Fn){var si=sn=="ltr",Kn=vr(Kr,si?"left":"right"),fi=vr(cn-1,si?"right":"left"),da=Je==null&&Kr==0,Ti=te==null&&cn==Ze,na=Fn==0,_a=!Hr||Fn==Hr.length-1;if(fi.top-Kn.top<=3){var Pi=(Yt?da:Ti)&&na,_o=(Yt?Ti:da)&&_a,no=Pi?Nt:(si?Kn:fi).left,zo=_o?zt:(si?fi:Kn).right;Cr(no,Kn.top,zo-no,Kn.bottom)}else{var Po,ka,Wo,fs;si?(Po=Yt&&da&&na?Nt:Kn.left,ka=Yt?zt:Ir(Kr,sn,"before"),Wo=Yt?Nt:Ir(cn,sn,"after"),fs=Yt&&Ti&&_a?zt:fi.right):(Po=Yt?Ir(Kr,sn,"before"):Nt,ka=!Yt&&da&&na?zt:Kn.right,Wo=!Yt&&Ti&&_a?Nt:fi.left,fs=Yt?Ir(cn,sn,"after"):zt),Cr(Po,Kn.top,ka-Po,Kn.bottom),Kn.bottom<fi.top&&Cr(Nt,Kn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Lt||Ua(Kn,Lt)<0)&&(Lt=Kn),Ua(fi,Lt)<0&&(Lt=fi),(!tr||Ua(Kn,tr)<0)&&(tr=Kn),Ua(fi,tr)<0&&(tr=fi)}),{start:Lt,end:tr}}var en=M.from(),nn=M.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=ne(ie,en.line),Bn=ne(ie,nn.line),Zn=ta(xn)==ta(Bn),Jn=Ur(en.line,en.ch,Zn?xn.text.length+1:null).end,oi=Ur(nn.line,Zn?0:null,nn.ch).start;Zn&&(Jn.top<oi.top-2?(Cr(Jn.right,Jn.top,null,Jn.bottom),Cr(Nt,oi.top,oi.left,oi.bottom)):Cr(Jn.right,Jn.top,oi.left-Jn.right,Jn.bottom)),Jn.bottom<oi.top&&Cr(Nt,Jn.bottom,null,oi.top)}Z.appendChild(Me)}function vi(I){if(!I.state.focused)return;var M=I.display;clearInterval(M.blinker);var Z=!0;M.cursorDiv.style.visibility="",I.options.cursorBlinkRate>0?M.blinker=setInterval(function(){I.hasFocus()||Oi(I),M.cursorDiv.style.visibility=(Z=!Z)?"":"hidden"},I.options.cursorBlinkRate):I.options.cursorBlinkRate<0&&(M.cursorDiv.style.visibility="hidden")}function Ya(I){I.state.focused||(I.display.input.focus(),pa(I))}function Ka(I){I.state.delayingBlurEvent=!0,setTimeout(function(){I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1,Oi(I))},100)}function pa(I,M){if(I.state.delayingBlurEvent&&(I.state.delayingBlurEvent=!1),I.options.readOnly=="nocursor")return;I.state.focused||(At(I,"focus",I,M),I.state.focused=!0,z(I.display.wrapper,"CodeMirror-focused"),!I.curOp&&I.display.selForContextMenu!=I.doc.sel&&(I.display.input.reset(),i&&setTimeout(function(){return I.display.input.reset(!0)},20)),I.display.input.receivedFocus()),vi(I)}function Oi(I,M){if(I.state.delayingBlurEvent)return;I.state.focused&&(At(I,"blur",I,M),I.state.focused=!1,x(I.display.wrapper,"CodeMirror-focused")),clearInterval(I.display.blinker),setTimeout(function(){I.state.focused||(I.display.shift=!1)},150)}function So(I){for(var M=I.display,Z=M.lineDiv.offsetTop,ee=0;ee<M.view.length;ee++){var ie=M.view[ee],Me=I.options.lineWrapping,mt=void 0,Nt=0;if(ie.hidden)continue;if(c&&a<8){var zt=ie.node.offsetTop+ie.node.offsetHeight;mt=zt-Z,Z=zt}else{var Yt=ie.node.getBoundingClientRect();mt=Yt.bottom-Yt.top,!Me&&ie.text.firstChild&&(Nt=ie.text.firstChild.getBoundingClientRect().right-Yt.left-1)}var Cr=ie.line.height-mt;if((Cr>.005||Cr<-.005)&&(Fe(ie.line,mt),za(ie.line),ie.rest))for(var Ur=0;Ur<ie.rest.length;Ur++)za(ie.rest[Ur]);if(Nt>I.display.sizerWidth){var en=Math.ceil(Nt/Ii(I.display));en>I.display.maxLineLength&&(I.display.maxLineLength=en,I.display.maxLine=ie.line,I.display.maxLineChanged=!0)}}}function za(I){if(I.widgets)for(var M=0;M<I.widgets.length;++M){var Z=I.widgets[M],ee=Z.node.parentNode;ee&&(Z.height=ee.offsetHeight)}}function ja(I,M,Z){var ee=Z&&Z.top!=null?Math.max(0,Z.top):I.scroller.scrollTop;ee=Math.floor(ee-Vt(I));var ie=Z&&Z.bottom!=null?Z.bottom:ee+I.wrapper.clientHeight,Me=vt(M,ee),mt=vt(M,ie);if(Z&&Z.ensure){var Nt=Z.ensure.from.line,zt=Z.ensure.to.line;Nt<Me?(Me=Nt,mt=vt(M,Ln(ne(M,Nt))+I.wrapper.clientHeight)):Math.min(zt,M.lastLine())>=mt&&(Me=vt(M,Ln(ne(M,zt))-I.wrapper.clientHeight),mt=zt)}return{from:Me,to:Math.max(mt,Me+1)}}function qa(I,M){if(Xe(I,"scrollCursorIntoView"))return;var Z=I.display,ee=Z.sizer.getBoundingClientRect(),ie=null;if(M.top+ee.top<0?ie=!0:M.bottom+ee.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!t){var Me=N("div","\u200B",null,`position: absolute;
|
|
|
top: `+(M.top-Z.viewOffset-Vt(I.display))+`px;
|
|
|
height: `+(M.bottom-M.top+Mr(I)+Z.barHeight)+`px;
|
|
|
left: `+M.left+"px; width: "+Math.max(2,M.right-M.left)+"px;");I.display.lineSpace.appendChild(Me),Me.scrollIntoView(ie),I.display.lineSpace.removeChild(Me)}}function ho(I,M,Z,ee){ee==null&&(ee=0);var ie;!I.options.lineWrapping&&M==Z&&(M=M.ch?Rt(M.line,M.sticky=="before"?M.ch-1:M.ch,"after"):M,Z=M.sticky=="before"?Rt(M.line,M.ch+1,"before"):M);for(var Me=0;Me<5;Me++){var mt=!1,Nt=Mi(I,M),zt=!Z||Z==M?Nt:Mi(I,Z);ie={left:Math.min(Nt.left,zt.left),top:Math.min(Nt.top,zt.top)-ee,right:Math.max(Nt.left,zt.left),bottom:Math.max(Nt.bottom,zt.bottom)+ee};var Yt=to(I,ie),Cr=I.doc.scrollTop,Ur=I.doc.scrollLeft;if(Yt.scrollTop!=null&&(Gi(I,Yt.scrollTop),Math.abs(I.doc.scrollTop-Cr)>1&&(mt=!0)),Yt.scrollLeft!=null&&(go(I,Yt.scrollLeft),Math.abs(I.doc.scrollLeft-Ur)>1&&(mt=!0)),!mt)break}return ie}function Ca(I,M){var Z=to(I,M);Z.scrollTop!=null&&Gi(I,Z.scrollTop),Z.scrollLeft!=null&&go(I,Z.scrollLeft)}function to(I,M){var Z=I.display,ee=Ai(I.display);M.top<0&&(M.top=0);var ie=I.curOp&&I.curOp.scrollTop!=null?I.curOp.scrollTop:Z.scroller.scrollTop,Me=rn(I),mt={};M.bottom-M.top>Me&&(M.bottom=M.top+Me);var Nt=I.doc.height+sr(Z),zt=M.top<ee,Yt=M.bottom>Nt-ee;if(M.top<ie)mt.scrollTop=zt?0:M.top;else if(M.bottom>ie+Me){var Cr=Math.min(M.top,(Yt?Nt:M.bottom)-Me);Cr!=ie&&(mt.scrollTop=Cr)}var Ur=I.options.fixedGutter?0:Z.gutters.offsetWidth,en=I.curOp&&I.curOp.scrollLeft!=null?I.curOp.scrollLeft:Z.scroller.scrollLeft-Ur,nn=Dr(I)-Z.gutters.offsetWidth,xn=M.right-M.left>nn;return xn&&(M.right=M.left+nn),M.left<10?mt.scrollLeft=0:M.left<en?mt.scrollLeft=Math.max(0,M.left+Ur-(xn?0:10)):M.right>nn+en-3&&(mt.scrollLeft=M.right+(xn?0:10)-nn),mt}function Lo(I,M){if(M==null)return;Da(I),I.curOp.scrollTop=(I.curOp.scrollTop==null?I.doc.scrollTop:I.curOp.scrollTop)+M}function Ia(I){Da(I);var M=I.getCursor();I.curOp.scrollToPos={from:M,to:M,margin:I.options.cursorScrollMargin}}function Fi(I,M,Z){(M!=null||Z!=null)&&Da(I),M!=null&&(I.curOp.scrollLeft=M),Z!=null&&(I.curOp.scrollTop=Z)}function Ja(I,M){Da(I),I.curOp.scrollToPos=M}function Da(I){var M=I.curOp.scrollToPos;if(M){I.curOp.scrollToPos=null;var Z=mi(I,M.from),ee=mi(I,M.to);pi(I,Z,ee,M.margin)}}function pi(I,M,Z,ee){var ie=to(I,{left:Math.min(M.left,Z.left),top:Math.min(M.top,Z.top)-ee,right:Math.max(M.right,Z.right),bottom:Math.max(M.bottom,Z.bottom)+ee});Fi(I,ie.scrollLeft,ie.scrollTop)}function Gi(I,M){if(Math.abs(I.doc.scrollTop-M)<2)return;y||Io(I,{top:M}),oo(I,M,!0),y&&Io(I),ps(I,100)}function oo(I,M,Z){if(M=Math.max(0,Math.min(I.display.scroller.scrollHeight-I.display.scroller.clientHeight,M)),I.display.scroller.scrollTop==M&&!Z)return;I.doc.scrollTop=M,I.display.scrollbars.setScrollTop(M),I.display.scroller.scrollTop!=M&&(I.display.scroller.scrollTop=M)}function go(I,M,Z,ee){if(M=Math.max(0,Math.min(M,I.display.scroller.scrollWidth-I.display.scroller.clientWidth)),(Z?M==I.doc.scrollLeft:Math.abs(I.doc.scrollLeft-M)<2)&&!ee)return;I.doc.scrollLeft=M,ms(I),I.display.scroller.scrollLeft!=M&&(I.display.scroller.scrollLeft=M),I.display.scrollbars.setScrollLeft(M)}function fo(I){var M=I.display,Z=M.gutters.offsetWidth,ee=Math.round(I.doc.height+sr(I.display));return{clientHeight:M.scroller.clientHeight,viewHeight:M.wrapper.clientHeight,scrollWidth:M.scroller.scrollWidth,clientWidth:M.scroller.clientWidth,viewWidth:M.wrapper.clientWidth,barLeft:I.options.fixedGutter?Z:0,docHeight:ee,scrollHeight:ee+Mr(I)+M.barHeight,nativeBarWidth:M.nativeBarWidth,gutterWidth:Z}}var Ta=function(M,Z,ee){this.cm=ee;var ie=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Me=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ie.tabIndex=Me.tabIndex=-1,M(ie),M(Me),Be(ie,"scroll",function(){ie.clientHeight&&Z(ie.scrollTop,"vertical")}),Be(Me,"scroll",function(){Me.clientWidth&&Z(Me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(I){var M=I.scrollWidth>I.clientWidth+1,Z=I.scrollHeight>I.clientHeight+1,ee=I.nativeBarWidth;if(Z){this.vert.style.display="block",this.vert.style.bottom=M?ee+"px":"0";var ie=I.viewHeight-(M?ee:0);this.vert.firstChild.style.height=Math.max(0,I.scrollHeight-I.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(M){this.horiz.style.display="block",this.horiz.style.right=Z?ee+"px":"0",this.horiz.style.left=I.barLeft+"px";var Me=I.viewWidth-I.barLeft-(Z?ee:0);this.horiz.firstChild.style.width=Math.max(0,I.scrollWidth-I.clientWidth+Me)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&I.clientHeight>0&&(ee==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Z?ee:0,bottom:M?ee:0}},Ta.prototype.setScrollLeft=function(I){this.horiz.scrollLeft!=I&&(this.horiz.scrollLeft=I),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(I){this.vert.scrollTop!=I&&(this.vert.scrollTop=I),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var I=w&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=I,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new X,this.disableVert=new X},Ta.prototype.enableZeroWidthBar=function(I,M,Z){I.style.pointerEvents="auto";function ee(){var ie=I.getBoundingClientRect(),Me=Z=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);Me!=I?I.style.pointerEvents="none":M.set(1e3,ee)}M.set(1e3,ee)},Ta.prototype.clear=function(){var I=this.horiz.parentNode;I.removeChild(this.horiz),I.removeChild(this.vert)};var ki=function(){};ki.prototype.update=function(){return{bottom:0,right:0}},ki.prototype.setScrollLeft=function(){},ki.prototype.setScrollTop=function(){},ki.prototype.clear=function(){};function Ra(I,M){M||(M=fo(I));var Z=I.display.barWidth,ee=I.display.barHeight;Vo(I,M);for(var ie=0;ie<4&&Z!=I.display.barWidth||ee!=I.display.barHeight;ie++)Z!=I.display.barWidth&&I.options.lineWrapping&&So(I),Vo(I,fo(I)),Z=I.display.barWidth,ee=I.display.barHeight}function Vo(I,M){var Z=I.display,ee=Z.scrollbars.update(M);Z.sizer.style.paddingRight=(Z.barWidth=ee.right)+"px",Z.sizer.style.paddingBottom=(Z.barHeight=ee.bottom)+"px",Z.heightForcer.style.borderBottom=ee.bottom+"px solid transparent",ee.right&&ee.bottom?(Z.scrollbarFiller.style.display="block",Z.scrollbarFiller.style.height=ee.bottom+"px",Z.scrollbarFiller.style.width=ee.right+"px"):Z.scrollbarFiller.style.display="",ee.bottom&&I.options.coverGutterNextToScrollbar&&I.options.fixedGutter?(Z.gutterFiller.style.display="block",Z.gutterFiller.style.height=ee.bottom+"px",Z.gutterFiller.style.width=M.gutterWidth+"px"):Z.gutterFiller.style.display=""}var ro={native:Ta,null:ki};function vo(I){I.display.scrollbars&&(I.display.scrollbars.clear(),I.display.scrollbars.addClass&&x(I.display.wrapper,I.display.scrollbars.addClass)),I.display.scrollbars=new ro[I.options.scrollbarStyle](function(M){I.display.wrapper.insertBefore(M,I.display.scrollbarFiller),Be(M,"mousedown",function(){I.state.focused&&setTimeout(function(){return I.display.input.focus()},0)}),M.setAttribute("cm-not-content","true")},function(M,Z){Z=="horizontal"?go(I,M):Gi(I,M)},I),I.display.scrollbars.addClass&&z(I.display.wrapper,I.display.scrollbars.addClass)}var po=0;function Zi(I){I.curOp={cm:I,viewChanged:!1,startHeight:I.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++po},eo(I.curOp)}function xo(I){var M=I.curOp;M&&uo(M,function(Z){for(var ee=0;ee<Z.ops.length;ee++)Z.ops[ee].cm.curOp=null;is(Z)})}function is(I){for(var M=I.ops,Z=0;Z<M.length;Z++)Jo(M[Z]);for(var ee=0;ee<M.length;ee++)_s(M[ee]);for(var ie=0;ie<M.length;ie++)Cs(M[ie]);for(var Me=0;Me<M.length;Me++)Ts(M[Me]);for(var mt=0;mt<M.length;mt++)Go(M[mt])}function Jo(I){var M=I.cm,Z=M.display;ss(M),I.updateMaxLine&&jn(M),I.mustUpdate=I.viewChanged||I.forceUpdate||I.scrollTop!=null||I.scrollToPos&&(I.scrollToPos.from.line<Z.viewFrom||I.scrollToPos.to.line>=Z.viewTo)||Z.maxLineChanged&&M.options.lineWrapping,I.update=I.mustUpdate&&new Xo(M,I.mustUpdate&&{top:I.scrollTop,ensure:I.scrollToPos},I.forceUpdate)}function _s(I){I.updatedDisplay=I.mustUpdate&&La(I.cm,I.update)}function Cs(I){var M=I.cm,Z=M.display;I.updatedDisplay&&So(M),I.barMeasure=fo(M),Z.maxLineChanged&&!M.options.lineWrapping&&(I.adjustWidthTo=Sn(M,Z.maxLine,Z.maxLine.text.length).left+3,M.display.sizerWidth=I.adjustWidthTo,I.barMeasure.scrollWidth=Math.max(Z.scroller.clientWidth,Z.sizer.offsetLeft+I.adjustWidthTo+Mr(M)+M.display.barWidth),I.maxScrollLeft=Math.max(0,Z.sizer.offsetLeft+I.adjustWidthTo-Dr(M))),(I.updatedDisplay||I.selectionChanged)&&(I.preparedSelection=Z.input.prepareSelection())}function Ts(I){var M=I.cm;I.adjustWidthTo!=null&&(M.display.sizer.style.minWidth=I.adjustWidthTo+"px",I.maxScrollLeft<M.doc.scrollLeft&&go(M,Math.min(M.display.scroller.scrollLeft,I.maxScrollLeft),!0),M.display.maxLineChanged=!1);var Z=I.focus&&I.focus==B();I.preparedSelection&&M.display.input.showSelection(I.preparedSelection,Z),(I.updatedDisplay||I.startHeight!=M.doc.height)&&Ra(M,I.barMeasure),I.updatedDisplay&&rs(M,I.barMeasure),I.selectionChanged&&vi(M),M.state.focused&&I.updateInput&&M.display.input.reset(I.typing),Z&&Ya(I.cm)}function Go(I){var M=I.cm,Z=M.display,ee=M.doc;if(I.updatedDisplay&&Oo(M,I.update),Z.wheelStartX!=null&&(I.scrollTop!=null||I.scrollLeft!=null||I.scrollToPos)&&(Z.wheelStartX=Z.wheelStartY=null),I.scrollTop!=null&&oo(M,I.scrollTop,I.forceScroll),I.scrollLeft!=null&&go(M,I.scrollLeft,!0,!0),I.scrollToPos){var ie=ho(M,st(ee,I.scrollToPos.from),st(ee,I.scrollToPos.to),I.scrollToPos.margin);qa(M,ie)}var Me=I.maybeHiddenMarkers,mt=I.maybeUnhiddenMarkers;if(Me)for(var Nt=0;Nt<Me.length;++Nt)Me[Nt].lines.length||At(Me[Nt],"hide");if(mt)for(var zt=0;zt<mt.length;++zt)mt[zt].lines.length&&At(mt[zt],"unhide");Z.wrapper.offsetHeight&&(ee.scrollTop=M.display.scroller.scrollTop),I.changeObjs&&At(M,"changes",M,I.changeObjs),I.update&&I.update.finish()}function bo(I,M){if(I.curOp)return M();Zi(I);try{return M()}finally{xo(I)}}function Za(I,M){return function(){if(I.curOp)return M.apply(I,arguments);Zi(I);try{return M.apply(I,arguments)}finally{xo(I)}}}function Ga(I){return function(){if(this.curOp)return I.apply(this,arguments);Zi(this);try{return I.apply(this,arguments)}finally{xo(this)}}}function so(I){return function(){var M=this.cm;if(!M||M.curOp)return I.apply(this,arguments);Zi(M);try{return I.apply(this,arguments)}finally{xo(M)}}}function ps(I,M){I.doc.highlightFrontier<I.display.viewTo&&I.state.highlight.set(M,j(Sr,I))}function Sr(I){var M=I.doc;if(M.highlightFrontier>=I.display.viewTo)return;var Z=+new Date+I.options.workTime,ee=Ht(I,M.highlightFrontier),ie=[];M.iter(ee.line,Math.min(M.first+M.size,I.display.viewTo+500),function(Me){if(ee.line>=I.display.viewFrom){var mt=Me.styles,Nt=Me.text.length>I.options.maxHighlightLength?Ot(M.mode,ee.state):null,zt=Tt(I,Me,ee,!0);Nt&&(ee.state=Nt),Me.styles=zt.styles;var Yt=Me.styleClasses,Cr=zt.classes;Cr?Me.styleClasses=Cr:Yt&&(Me.styleClasses=null);for(var Ur=!mt||mt.length!=Me.styles.length||Yt!=Cr&&(!Yt||!Cr||Yt.bgClass!=Cr.bgClass||Yt.textClass!=Cr.textClass),en=0;!Ur&&en<mt.length;++en)Ur=mt[en]!=Me.styles[en];Ur&&ie.push(ee.line),Me.stateAfter=ee.save(),ee.nextLine()}else Me.text.length<=I.options.maxHighlightLength&&Ft(I,Me.text,ee),Me.stateAfter=ee.line%5==0?ee.save():null,ee.nextLine();if(+new Date>Z)return ps(I,I.options.workDelay),!0}),M.highlightFrontier=ee.line,M.modeFrontier=Math.max(M.modeFrontier,ee.line),ie.length&&bo(I,function(){for(var Me=0;Me<ie.length;Me++)Pa(I,ie[Me],"text")})}var Xo=function(M,Z,ee){var ie=M.display;this.viewport=Z,this.visible=ja(ie,M.doc,Z),this.editorIsHidden=!ie.wrapper.offsetWidth,this.wrapperHeight=ie.wrapper.clientHeight,this.wrapperWidth=ie.wrapper.clientWidth,this.oldDisplayWidth=Dr(M),this.force=ee,this.dims=Vi(M),this.events=[]};Xo.prototype.signal=function(I,M){tt(I,M)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var I=0;I<this.events.length;I++)At.apply(null,this.events[I])};function ss(I){var M=I.display;!M.scrollbarsClipped&&M.scroller.offsetWidth&&(M.nativeBarWidth=M.scroller.offsetWidth-M.scroller.clientWidth,M.heightForcer.style.height=Mr(I)+"px",M.sizer.style.marginBottom=-M.nativeBarWidth+"px",M.sizer.style.borderRightWidth=Mr(I)+"px",M.scrollbarsClipped=!0)}function Ls(I){if(I.hasFocus())return null;var M=B();if(!M||!P(I.display.lineDiv,M))return null;var Z={activeElt:M};if(window.getSelection){var ee=window.getSelection();ee.anchorNode&&ee.extend&&P(I.display.lineDiv,ee.anchorNode)&&(Z.anchorNode=ee.anchorNode,Z.anchorOffset=ee.anchorOffset,Z.focusNode=ee.focusNode,Z.focusOffset=ee.focusOffset)}return Z}function Fa(I){if(!I||!I.activeElt||I.activeElt==B())return;if(I.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(I.activeElt.nodeName)&&I.anchorNode&&P(document.body,I.anchorNode)&&P(document.body,I.focusNode)){var M=window.getSelection(),Z=document.createRange();Z.setEnd(I.anchorNode,I.anchorOffset),Z.collapse(!1),M.removeAllRanges(),M.addRange(Z),M.extend(I.focusNode,I.focusOffset)}}function La(I,M){var Z=I.display,ee=I.doc;if(M.editorIsHidden)return Ma(I),!1;if(!M.force&&M.visible.from>=Z.viewFrom&&M.visible.to<=Z.viewTo&&(Z.updateLineNumbers==null||Z.updateLineNumbers>=Z.viewTo)&&Z.renderedView==Z.view&&Xa(I)==0)return!1;ls(I)&&(Ma(I),M.dims=Vi(I));var ie=ee.first+ee.size,Me=Math.max(M.visible.from-I.options.viewportMargin,ee.first),mt=Math.min(ie,M.visible.to+I.options.viewportMargin);Z.viewFrom<Me&&Me-Z.viewFrom<20&&(Me=Math.max(ee.first,Z.viewFrom)),Z.viewTo>mt&&Z.viewTo-mt<20&&(mt=Math.min(ie,Z.viewTo)),Qr&&(Me=Gn(I.doc,Me),mt=Oa(I.doc,mt));var Nt=Me!=Z.viewFrom||mt!=Z.viewTo||Z.lastWrapHeight!=M.wrapperHeight||Z.lastWrapWidth!=M.wrapperWidth;Yi(I,Me,mt),Z.viewOffset=Ln(ne(I.doc,Z.viewFrom)),I.display.mover.style.top=Z.viewOffset+"px";var zt=Xa(I);if(!Nt&&zt==0&&!M.force&&Z.renderedView==Z.view&&(Z.updateLineNumbers==null||Z.updateLineNumbers>=Z.viewTo))return!1;var Yt=Ls(I);return zt>4&&(Z.lineDiv.style.display="none"),ts(I,Z.updateLineNumbers,M.dims),zt>4&&(Z.lineDiv.style.display=""),Z.renderedView=Z.view,Fa(Yt),C(Z.cursorDiv),C(Z.selectionDiv),Z.gutters.style.height=Z.sizer.style.minHeight=0,Nt&&(Z.lastWrapHeight=M.wrapperHeight,Z.lastWrapWidth=M.wrapperWidth,ps(I,400)),Z.updateLineNumbers=null,!0}function Oo(I,M){for(var Z=M.viewport,ee=!0;;ee=!1){if(!ee||!I.options.lineWrapping||M.oldDisplayWidth==Dr(I)){if(Z&&Z.top!=null&&(Z={top:Math.min(I.doc.height+sr(I.display)-rn(I),Z.top)}),M.visible=ja(I.display,I.doc,Z),M.visible.from>=I.display.viewFrom&&M.visible.to<=I.display.viewTo)break}else ee&&(M.visible=ja(I.display,I.doc,Z));if(!La(I,M))break;So(I);var ie=fo(I);Ki(I),Ra(I,ie),rs(I,ie),M.force=!1}M.signal(I,"update",I),(I.display.viewFrom!=I.display.reportedViewFrom||I.display.viewTo!=I.display.reportedViewTo)&&(M.signal(I,"viewportChange",I,I.display.viewFrom,I.display.viewTo),I.display.reportedViewFrom=I.display.viewFrom,I.display.reportedViewTo=I.display.viewTo)}function Io(I,M){var Z=new Xo(I,M);if(La(I,Z)){So(I),Oo(I,Z);var ee=fo(I);Ki(I),Ra(I,ee),rs(I,ee),Z.finish()}}function ts(I,M,Z){var ee=I.display,ie=I.options.lineNumbers,Me=ee.lineDiv,mt=Me.firstChild;function Nt(xn){var Bn=xn.nextSibling;return i&&w&&I.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Bn}for(var zt=ee.view,Yt=ee.viewFrom,Cr=0;Cr<zt.length;Cr++){var Ur=zt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=Me){var en=Er(I,Ur,Yt,Z);Me.insertBefore(en,mt)}else{for(;mt!=Ur.node;)mt=Nt(mt);var nn=ie&&M!=null&&M<=Yt&&Ur.lineNumber;Ur.changes&&(W(Ur.changes,"gutter")>-1&&(nn=!1),Wr(I,Ur,Yt,Z)),nn&&(C(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(I.options,Yt)))),mt=Ur.node.nextSibling}Yt+=Ur.size}for(;mt;)mt=Nt(mt)}function Bo(I){var M=I.gutters.offsetWidth;I.sizer.style.marginLeft=M+"px"}function rs(I,M){I.display.sizer.style.minHeight=M.docHeight+"px",I.display.heightForcer.style.top=M.docHeight+"px",I.display.gutters.style.height=M.docHeight+I.display.barHeight+Mr(I)+"px"}function ms(I){var M=I.display,Z=M.view;if(!M.alignWidgets&&(!M.gutters.firstChild||!I.options.fixedGutter))return;for(var ee=Xi(M)-M.scroller.scrollLeft+I.doc.scrollLeft,ie=M.gutters.offsetWidth,Me=ee+"px",mt=0;mt<Z.length;mt++)if(!Z[mt].hidden){I.options.fixedGutter&&(Z[mt].gutter&&(Z[mt].gutter.style.left=Me),Z[mt].gutterBackground&&(Z[mt].gutterBackground.style.left=Me));var Nt=Z[mt].alignable;if(Nt)for(var zt=0;zt<Nt.length;zt++)Nt[zt].style.left=Me}I.options.fixedGutter&&(M.gutters.style.left=ee+ie+"px")}function ls(I){if(!I.options.lineNumbers)return!1;var M=I.doc,Z=$t(I.options,M.first+M.size-1),ee=I.display;if(Z.length!=ee.lineNumChars){var ie=ee.measure.appendChild(N("div",[N("div",Z)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Me=ie.firstChild.offsetWidth,mt=ie.offsetWidth-Me;return ee.lineGutter.style.width="",ee.lineNumInnerWidth=Math.max(Me,ee.lineGutter.offsetWidth-mt)+1,ee.lineNumWidth=ee.lineNumInnerWidth+mt,ee.lineNumChars=ee.lineNumInnerWidth?Z.length:-1,ee.lineGutter.style.width=ee.lineNumWidth+"px",Bo(I.display),!0}return!1}function Ns(I,M){for(var Z=[],ee=!1,ie=0;ie<I.length;ie++){var Me=I[ie],mt=null;if(typeof Me!="string"&&(mt=Me.style,Me=Me.className),Me=="CodeMirror-linenumbers")if(M)ee=!0;else continue;Z.push({className:Me,style:mt})}return M&&!ee&&Z.push({className:"CodeMirror-linenumbers",style:null}),Z}function Ds(I){var M=I.gutters,Z=I.gutterSpecs;C(M),I.lineGutter=null;for(var ee=0;ee<Z.length;++ee){var ie=Z[ee],Me=ie.className,mt=ie.style,Nt=M.appendChild(N("div",null,"CodeMirror-gutter "+Me));mt&&(Nt.style.cssText=mt),Me=="CodeMirror-linenumbers"&&(I.lineGutter=Nt,Nt.style.width=(I.lineNumWidth||1)+"px")}M.style.display=Z.length?"":"none",Bo(I)}function as(I){Ds(I.display),gi(I),ms(I)}function $s(I,M,Z,ee){var ie=this;this.input=Z,ie.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=F("div",null,"CodeMirror-code"),ie.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=N("div",null,"CodeMirror-cursors"),ie.measure=N("div",null,"CodeMirror-measure"),ie.lineMeasure=N("div",null,"CodeMirror-measure"),ie.lineSpace=F("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var Me=F("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=N("div",[Me],null,"position: relative"),ie.sizer=N("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=N("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),ie.gutters=N("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=N("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=N("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),c&&a<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!i&&!(y&&p)&&(ie.scroller.draggable=!0),I&&(I.appendChild?I.appendChild(ie.wrapper):I(ie.wrapper)),ie.viewFrom=ie.viewTo=M.first,ie.reportedViewFrom=ie.reportedViewTo=M.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=Ns(ee.gutters,ee.lineNumbers),Ds(ie),Z.init(ie)}var cs=0,Mo=null;c?Mo=-.53:y?Mo=15:o?Mo=-.7:n&&(Mo=-1/3);function Dn(I){var M=I.wheelDeltaX,Z=I.wheelDeltaY;return M==null&&I.detail&&I.axis==I.HORIZONTAL_AXIS&&(M=I.detail),Z==null&&I.detail&&I.axis==I.VERTICAL_AXIS?Z=I.detail:Z==null&&(Z=I.wheelDelta),{x:M,y:Z}}function Vs(I){var M=Dn(I);return M.x*=Mo,M.y*=Mo,M}function Os(I,M){var Z=Dn(M),ee=Z.x,ie=Z.y,Me=I.display,mt=Me.scroller,Nt=mt.scrollWidth>mt.clientWidth,zt=mt.scrollHeight>mt.clientHeight;if(!(ee&&Nt||ie&&zt))return;if(ie&&w&&i){e:for(var Yt=M.target,Cr=Me.view;Yt!=mt;Yt=Yt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Yt){I.display.currentWheelTarget=Yt;break e}}if(ee&&!y&&!d&&Mo!=null){ie&&zt&&Gi(I,Math.max(0,mt.scrollTop+ie*Mo)),go(I,Math.max(0,mt.scrollLeft+ee*Mo)),(!ie||ie&&zt)&&Ve(M),Me.wheelStartX=null;return}if(ie&&Mo!=null){var en=ie*Mo,nn=I.doc.scrollTop,xn=nn+Me.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(I.doc.height,xn+en+50),Io(I,{top:nn,bottom:xn})}cs<20&&(Me.wheelStartX==null?(Me.wheelStartX=mt.scrollLeft,Me.wheelStartY=mt.scrollTop,Me.wheelDX=ee,Me.wheelDY=ie,setTimeout(function(){if(Me.wheelStartX==null)return;var Bn=mt.scrollLeft-Me.wheelStartX,Zn=mt.scrollTop-Me.wheelStartY,Jn=Zn&&Me.wheelDY&&Zn/Me.wheelDY||Bn&&Me.wheelDX&&Bn/Me.wheelDX;if(Me.wheelStartX=Me.wheelStartY=null,!Jn)return;Mo=(Mo*cs+Jn)/(cs+1),++cs},200)):(Me.wheelDX+=ee,Me.wheelDY+=ie))}var Pt=function(M,Z){this.ranges=M,this.primIndex=Z};Pt.prototype.primary=function(){return this.ranges[this.primIndex]},Pt.prototype.equals=function(I){if(I==this)return!0;if(I.primIndex!=this.primIndex||I.ranges.length!=this.ranges.length)return!1;for(var M=0;M<this.ranges.length;M++){var Z=this.ranges[M],ee=I.ranges[M];if(!Gt(Z.anchor,ee.anchor)||!Gt(Z.head,ee.head))return!1}return!0},Pt.prototype.deepCopy=function(){for(var I=[],M=0;M<this.ranges.length;M++)I[M]=new le(Qt(this.ranges[M].anchor),Qt(this.ranges[M].head));return new Pt(I,this.primIndex)},Pt.prototype.somethingSelected=function(){for(var I=0;I<this.ranges.length;I++)if(!this.ranges[I].empty())return!0;return!1},Pt.prototype.contains=function(I,M){M||(M=I);for(var Z=0;Z<this.ranges.length;Z++){var ee=this.ranges[Z];if(Kt(M,ee.from())>=0&&Kt(I,ee.to())<=0)return Z}return-1};var le=function(M,Z){this.anchor=M,this.head=Z};le.prototype.from=function(){return dr(this.anchor,this.head)},le.prototype.to=function(){return Mt(this.anchor,this.head)},le.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ee(I,M,Z){var ee=I&&I.options.selectionsMayTouch,ie=M[Z];M.sort(function(en,nn){return Kt(en.from(),nn.from())}),Z=W(M,ie);for(var Me=1;Me<M.length;Me++){var mt=M[Me],Nt=M[Me-1],zt=Kt(Nt.to(),mt.from());if(ee&&!mt.empty()?zt>0:zt>=0){var Yt=dr(Nt.from(),mt.from()),Cr=Mt(Nt.to(),mt.to()),Ur=Nt.empty()?mt.from()==mt.head:Nt.from()==Nt.head;Me<=Z&&--Z,M.splice(--Me,2,new le(Ur?Cr:Yt,Ur?Yt:Cr))}}return new Pt(M,Z)}function Ie(I,M){return new Pt([new le(I,M||I)],0)}function We(I){return I.text?Rt(I.from.line+I.text.length-1,Qe(I.text).length+(I.text.length==1?I.from.ch:0)):I.to}function Ct(I,M){if(Kt(I,M.from)<0)return I;if(Kt(I,M.to)<=0)return We(M);var Z=I.line+M.text.length-(M.to.line-M.from.line)-1,ee=I.ch;return I.line==M.to.line&&(ee+=We(M).ch-M.to.ch),Rt(Z,ee)}function Ut(I,M){for(var Z=[],ee=0;ee<I.sel.ranges.length;ee++){var ie=I.sel.ranges[ee];Z.push(new le(Ct(ie.anchor,M),Ct(ie.head,M)))}return Ee(I.cm,Z,I.sel.primIndex)}function hr(I,M,Z){return I.line==M.line?Rt(Z.line,I.ch-M.ch+Z.ch):Rt(Z.line+(I.line-M.line),I.ch)}function gr(I,M,Z){for(var ee=[],ie=Rt(I.first,0),Me=ie,mt=0;mt<M.length;mt++){var Nt=M[mt],zt=hr(Nt.from,ie,Me),Yt=hr(We(Nt),ie,Me);if(ie=Nt.to,Me=Yt,Z=="around"){var Cr=I.sel.ranges[mt],Ur=Kt(Cr.head,Cr.anchor)<0;ee[mt]=new le(Ur?Yt:zt,Ur?zt:Yt)}else ee[mt]=new le(zt,zt)}return new Pt(ee,I.sel.primIndex)}function Rr(I){I.doc.mode=Pe(I.options,I.doc.modeOption),$r(I)}function $r(I){I.doc.iter(function(M){M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null)}),I.doc.modeFrontier=I.doc.highlightFrontier=I.doc.first,ps(I,100),I.state.modeGen++,I.curOp&&gi(I)}function ln(I,M){return M.from.ch==0&&M.to.ch==0&&Qe(M.text)==""&&(!I.cm||I.cm.options.wholeLineUpdateBefore)}function yn(I,M,Z,ee){function ie(oi){return Z?Z[oi]:null}function Me(oi,li,Je){di(oi,li,Je,ee),Tr(oi,"change",oi,M)}function mt(oi,li){for(var Je=[],te=oi;te<li;++te)Je.push(new ni(Yt[te],ie(te),ee));return Je}var Nt=M.from,zt=M.to,Yt=M.text,Cr=ne(I,Nt.line),Ur=ne(I,zt.line),en=Qe(Yt),nn=ie(Yt.length-1),xn=zt.line-Nt.line;if(M.full)I.insert(0,mt(0,Yt.length)),I.remove(Yt.length,I.size-Yt.length);else if(ln(I,M)){var Bn=mt(0,Yt.length-1);Me(Ur,Ur.text,nn),xn&&I.remove(Nt.line,xn),Bn.length&&I.insert(Nt.line,Bn)}else if(Cr==Ur)if(Yt.length==1)Me(Cr,Cr.text.slice(0,Nt.ch)+en+Cr.text.slice(zt.ch),nn);else{var Zn=mt(1,Yt.length-1);Zn.push(new ni(en+Cr.text.slice(zt.ch),nn,ee)),Me(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],ie(0)),I.insert(Nt.line+1,Zn)}else if(Yt.length==1)Me(Cr,Cr.text.slice(0,Nt.ch)+Yt[0]+Ur.text.slice(zt.ch),ie(0)),I.remove(Nt.line+1,xn);else{Me(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],ie(0)),Me(Ur,en+Ur.text.slice(zt.ch),nn);var Jn=mt(1,Yt.length-1);xn>1&&I.remove(Nt.line+1,xn-1),I.insert(Nt.line+1,Jn)}Tr(I,"change",I,M)}function Cn(I,M,Z){function ee(ie,Me,mt){if(ie.linked)for(var Nt=0;Nt<ie.linked.length;++Nt){var zt=ie.linked[Nt];if(zt.doc==Me)continue;var Yt=mt&&zt.sharedHist;if(Z&&!Yt)continue;M(zt.doc,Yt),ee(zt.doc,ie,Yt)}}ee(I,null,!0)}function Qn(I,M){if(M.cm)throw new Error("This document is already in use.");I.doc=M,M.cm=I,Aa(I),Rr(I),ti(I),I.options.lineWrapping||jn(I),I.options.mode=M.modeOption,gi(I)}function ti(I){(I.doc.direction=="rtl"?z:x)(I.display.lineDiv,"CodeMirror-rtl")}function wi(I){bo(I,function(){ti(I),gi(I)})}function ea(I){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=I||1}function ji(I,M){var Z={from:Qt(M.from),to:We(M),text:xe(I,M.from,M.to)};return Fo(I,Z,M.from.line,M.to.line+1),Cn(I,function(ee){return Fo(ee,Z,M.from.line,M.to.line+1)},!0),Z}function Sa(I){for(;I.length;){var M=Qe(I);if(M.ranges)I.pop();else break}}function lo(I,M){if(M)return Sa(I.done),Qe(I.done);if(I.done.length&&!Qe(I.done).ranges)return Qe(I.done);if(I.done.length>1&&!I.done[I.done.length-2].ranges)return I.done.pop(),Qe(I.done)}function Wa(I,M,Z,ee){var ie=I.history;ie.undone.length=0;var Me=+new Date,mt,Nt;if((ie.lastOp==ee||ie.lastOrigin==M.origin&&M.origin&&(M.origin.charAt(0)=="+"&&ie.lastModTime>Me-(I.cm?I.cm.options.historyEventDelay:500)||M.origin.charAt(0)=="*"))&&(mt=lo(ie,ie.lastOp==ee)))Nt=Qe(mt.changes),Kt(M.from,M.to)==0&&Kt(M.from,Nt.to)==0?Nt.to=We(M):mt.changes.push(ji(I,M));else{var zt=Qe(ie.done);for((!zt||!zt.ranges)&&$a(I.sel,ie.done),mt={changes:[ji(I,M)],generation:ie.generation},ie.done.push(mt);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(Z),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=Me,ie.lastOp=ie.lastSelOp=ee,ie.lastOrigin=ie.lastSelOrigin=M.origin,Nt||At(I,"historyAdded")}function yo(I,M,Z,ee){var ie=M.charAt(0);return ie=="*"||ie=="+"&&Z.ranges.length==ee.ranges.length&&Z.somethingSelected()==ee.somethingSelected()&&new Date-I.history.lastSelTime<=(I.cm?I.cm.options.historyEventDelay:500)}function Ao(I,M,Z,ee){var ie=I.history,Me=ee&&ee.origin;Z==ie.lastSelOp||Me&&ie.lastSelOrigin==Me&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==Me||yo(I,Me,Qe(ie.done),M))?ie.done[ie.done.length-1]=M:$a(M,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=Me,ie.lastSelOp=Z,ee&&ee.clearRedo!==!1&&Sa(ie.undone)}function $a(I,M){var Z=Qe(M);Z&&Z.ranges&&Z.equals(I)||M.push(I)}function Fo(I,M,Z,ee){var ie=M["spans_"+I.id],Me=0;I.iter(Math.max(I.first,Z),Math.min(I.first+I.size,ee),function(mt){mt.markedSpans&&((ie||(ie=M["spans_"+I.id]={}))[Me]=mt.markedSpans),++Me})}function No(I){if(!I)return null;for(var M,Z=0;Z<I.length;++Z)I[Z].marker.explicitlyCleared?M||(M=I.slice(0,Z)):M&&M.push(I[Z]);return M?M.length?M:null:I}function Ha(I,M){var Z=M["spans_"+I.id];if(!Z)return null;for(var ee=[],ie=0;ie<M.text.length;++ie)ee.push(No(Z[ie]));return ee}function jo(I,M){var Z=Ha(I,M),ee=Nn(I,M);if(!Z)return ee;if(!ee)return Z;for(var ie=0;ie<Z.length;++ie){var Me=Z[ie],mt=ee[ie];if(Me&&mt){e:for(var Nt=0;Nt<mt.length;++Nt){for(var zt=mt[Nt],Yt=0;Yt<Me.length;++Yt)if(Me[Yt].marker==zt.marker)continue e;Me.push(zt)}}else mt&&(Z[ie]=mt)}return Z}function ko(I,M,Z){for(var ee=[],ie=0;ie<I.length;++ie){var Me=I[ie];if(Me.ranges){ee.push(Z?Pt.prototype.deepCopy.call(Me):Me);continue}var mt=Me.changes,Nt=[];ee.push({changes:Nt});for(var zt=0;zt<mt.length;++zt){var Yt=mt[zt],Cr=void 0;if(Nt.push({from:Yt.from,to:Yt.to,text:Yt.text}),M)for(var Ur in Yt)(Cr=Ur.match(/^spans_(\d+)$/))&&(W(M,Number(Cr[1]))>-1&&(Qe(Nt)[Ur]=Yt[Ur],delete Yt[Ur]))}}return ee}function Qo(I,M,Z,ee){if(ee){var ie=I.anchor;if(Z){var Me=Kt(M,ie)<0;Me!=Kt(Z,ie)<0?(ie=M,M=Z):Me!=Kt(M,Z)<0&&(M=Z)}return new le(ie,M)}else return new le(Z||M,M)}function wo(I,M,Z,ee,ie){ie==null&&(ie=I.cm&&(I.cm.display.shift||I.extend)),Eo(I,new Pt([Qo(I.sel.primary(),M,Z,ie)],0),ee)}function us(I,M,Z){for(var ee=[],ie=I.cm&&(I.cm.display.shift||I.extend),Me=0;Me<I.sel.ranges.length;Me++)ee[Me]=Qo(I.sel.ranges[Me],M[Me],null,ie);var mt=Ee(I.cm,ee,I.sel.primIndex);Eo(I,mt,Z)}function ns(I,M,Z,ee){var ie=I.sel.ranges.slice(0);ie[M]=Z,Eo(I,Ee(I.cm,ie,I.sel.primIndex),ee)}function Xs(I,M,Z,ee){Eo(I,Ie(M,Z),ee)}function Ys(I,M,Z){var ee={ranges:M.ranges,update:function(Me){this.ranges=[];for(var mt=0;mt<Me.length;mt++)this.ranges[mt]=new le(st(I,Me[mt].anchor),st(I,Me[mt].head))},origin:Z&&Z.origin};return At(I,"beforeSelectionChange",I,ee),I.cm&&At(I.cm,"beforeSelectionChange",I.cm,ee),ee.ranges!=M.ranges?Ee(I.cm,ee.ranges,ee.ranges.length-1):M}function Yo(I,M,Z){var ee=I.history.done,ie=Qe(ee);ie&&ie.ranges?(ee[ee.length-1]=M,ds(I,M,Z)):Eo(I,M,Z)}function Eo(I,M,Z){ds(I,M,Z),Ao(I,I.sel,I.cm?I.cm.curOp.id:NaN,Z)}function ds(I,M,Z){(tt(I,"beforeSelectionChange")||I.cm&&tt(I.cm,"beforeSelectionChange"))&&(M=Ys(I,M,Z));var ee=Z&&Z.bias||(Kt(M.primary().head,I.sel.primary().head)<0?-1:1);hs(I,Do(I,M,ee,!0)),!(Z&&Z.scroll===!1)&&I.cm&&Ia(I.cm)}function hs(I,M){if(M.equals(I.sel))return;I.sel=M,I.cm&&(I.cm.curOp.updateInput=1,I.cm.curOp.selectionChanged=!0,et(I.cm)),Tr(I,"cursorActivity",I)}function Rs(I){hs(I,Do(I,I.sel,null,!1))}function Do(I,M,Z,ee){for(var ie,Me=0;Me<M.ranges.length;Me++){var mt=M.ranges[Me],Nt=M.ranges.length==I.sel.ranges.length&&I.sel.ranges[Me],zt=Ms(I,mt.anchor,Nt&&Nt.anchor,Z,ee),Yt=Ms(I,mt.head,Nt&&Nt.head,Z,ee);(ie||zt!=mt.anchor||Yt!=mt.head)&&(ie||(ie=M.ranges.slice(0,Me)),ie[Me]=new le(zt,Yt))}return ie?Ee(I.cm,ie,M.primIndex):M}function ys(I,M,Z,ee,ie){var Me=ne(I,M.line);if(Me.markedSpans)for(var mt=0;mt<Me.markedSpans.length;++mt){var Nt=Me.markedSpans[mt],zt=Nt.marker,Yt="selectLeft"in zt?!zt.selectLeft:zt.inclusiveLeft,Cr="selectRight"in zt?!zt.selectRight:zt.inclusiveRight;if((Nt.from==null||(Yt?Nt.from<=M.ch:Nt.from<M.ch))&&(Nt.to==null||(Cr?Nt.to>=M.ch:Nt.to>M.ch))){if(ie&&(At(zt,"beforeCursorEnter"),zt.explicitlyCleared))if(Me.markedSpans){--mt;continue}else break;if(!zt.atomic)continue;if(Z){var Ur=zt.find(ee<0?1:-1),en=void 0;if((ee<0?Cr:Yt)&&(Ur=As(I,Ur,-ee,Ur&&Ur.line==M.line?Me:null)),Ur&&Ur.line==M.line&&(en=Kt(Ur,Z))&&(ee<0?en<0:en>0))return ys(I,Ur,M,ee,ie)}var nn=zt.find(ee<0?-1:1);return(ee<0?Yt:Cr)&&(nn=As(I,nn,ee,nn.line==M.line?Me:null)),nn?ys(I,nn,M,ee,ie):null}}return M}function Ms(I,M,Z,ee,ie){var Me=ee||1,mt=ys(I,M,Z,Me,ie)||!ie&&ys(I,M,Z,Me,!0)||ys(I,M,Z,-Me,ie)||!ie&&ys(I,M,Z,-Me,!0);return mt||(I.cantEdit=!0,Rt(I.first,0))}function As(I,M,Z,ee){return Z<0&&M.ch==0?M.line>I.first?st(I,Rt(M.line-1)):null:Z>0&&M.ch==(ee||ne(I,M.line)).text.length?M.line<I.first+I.size-1?Rt(M.line+1,0):null:new Rt(M.line,M.ch+Z)}function Fs(I){I.setSelection(Rt(I.firstLine(),0),Rt(I.lastLine()),ge)}function Hs(I,M,Z){var ee={canceled:!1,from:M.from,to:M.to,text:M.text,origin:M.origin,cancel:function(){return ee.canceled=!0}};return Z&&(ee.update=function(ie,Me,mt,Nt){ie&&(ee.from=st(I,ie)),Me&&(ee.to=st(I,Me)),mt&&(ee.text=mt),Nt!==void 0&&(ee.origin=Nt)}),At(I,"beforeChange",I,ee),I.cm&&At(I.cm,"beforeChange",I.cm,ee),ee.canceled?(I.cm&&(I.cm.curOp.updateInput=2),null):{from:ee.from,to:ee.to,text:ee.text,origin:ee.origin}}function bs(I,M,Z){if(I.cm){if(!I.cm.curOp)return Za(I.cm,bs)(I,M,Z);if(I.cm.state.suppressEdits)return}if((tt(I,"beforeChange")||I.cm&&tt(I.cm,"beforeChange"))&&(M=Hs(I,M,!0),!M))return;var ee=Lr&&!Z&&Tn(I,M.from,M.to);if(ee)for(var ie=ee.length-1;ie>=0;--ie)ua(I,{from:ee[ie].from,to:ee[ie].to,text:ie?[""]:M.text,origin:M.origin});else ua(I,M)}function ua(I,M){if(M.text.length==1&&M.text[0]==""&&Kt(M.from,M.to)==0)return;var Z=Ut(I,M);Wa(I,M,Z,I.cm?I.cm.curOp.id:NaN),Wn(I,M,Z,Nn(I,M));var ee=[];Cn(I,function(ie,Me){!Me&&W(ee,ie.history)==-1&&(Zo(ie.history,M),ee.push(ie.history)),Wn(ie,M,null,Nn(ie,M))})}function ui(I,M,Z){var ee=I.cm&&I.cm.state.suppressEdits;if(ee&&!Z)return;for(var ie=I.history,Me,mt=I.sel,Nt=M=="undo"?ie.done:ie.undone,zt=M=="undo"?ie.undone:ie.done,Yt=0;Yt<Nt.length&&!(Me=Nt[Yt],Z?Me.ranges&&!Me.equals(I.sel):!Me.ranges);Yt++);if(Yt==Nt.length)return;for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(Me=Nt.pop(),Me.ranges){if($a(Me,zt),Z&&!Me.equals(I.sel)){Eo(I,Me,{clearRedo:!1});return}mt=Me}else if(ee){Nt.push(Me);return}else break;var Cr=[];$a(mt,zt),zt.push({changes:Cr,generation:ie.generation}),ie.generation=Me.generation||++ie.maxGeneration;for(var Ur=tt(I,"beforeChange")||I.cm&&tt(I.cm,"beforeChange"),en=function(Zn){var Jn=Me.changes[Zn];if(Jn.origin=M,Ur&&!Hs(I,Jn,!1))return Nt.length=0,{};Cr.push(ji(I,Jn));var oi=Zn?Ut(I,Jn):Qe(Nt);Wn(I,Jn,oi,jo(I,Jn)),!Zn&&I.cm&&I.cm.scrollIntoView({from:Jn.from,to:We(Jn)});var li=[];Cn(I,function(Je,te){!te&&W(li,Je.history)==-1&&(Zo(Je.history,Jn),li.push(Je.history)),Wn(Je,Jn,null,jo(Je,Jn))})},nn=Me.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Bi(I,M){if(M==0)return;if(I.first+=M,I.sel=new Pt(gt(I.sel.ranges,function(ie){return new le(Rt(ie.anchor.line+M,ie.anchor.ch),Rt(ie.head.line+M,ie.head.ch))}),I.sel.primIndex),I.cm){gi(I.cm,I.first,I.first-M,M);for(var Z=I.cm.display,ee=Z.viewFrom;ee<Z.viewTo;ee++)Pa(I.cm,ee,"gutter")}}function Wn(I,M,Z,ee){if(I.cm&&!I.cm.curOp)return Za(I.cm,Wn)(I,M,Z,ee);if(M.to.line<I.first){Bi(I,M.text.length-1-(M.to.line-M.from.line));return}if(M.from.line>I.lastLine())return;if(M.from.line<I.first){var ie=M.text.length-1-(I.first-M.from.line);Bi(I,ie),M={from:Rt(I.first,0),to:Rt(M.to.line+ie,M.to.ch),text:[Qe(M.text)],origin:M.origin}}var Me=I.lastLine();M.to.line>Me&&(M={from:M.from,to:Rt(Me,ne(I,Me).text.length),text:[M.text[0]],origin:M.origin}),M.removed=xe(I,M.from,M.to),Z||(Z=Ut(I,M)),I.cm?io(I.cm,M,ee):yn(I,M,ee),ds(I,Z,ge),I.cantEdit&&Ms(I,Rt(I.firstLine(),0))&&(I.cantEdit=!1)}function io(I,M,Z){var ee=I.doc,ie=I.display,Me=M.from,mt=M.to,Nt=!1,zt=Me.line;I.options.lineWrapping||(zt=$e(ta(ne(ee,Me.line))),ee.iter(zt,mt.line+1,function(nn){if(nn==ie.maxLine)return Nt=!0,!0})),ee.sel.contains(M.from,M.to)>-1&&et(I),yn(ee,M,Z,bi(I)),I.options.lineWrapping||(ee.iter(zt,Me.line+M.text.length,function(nn){var xn=_n(nn);xn>ie.maxLineLength&&(ie.maxLine=nn,ie.maxLineLength=xn,ie.maxLineChanged=!0,Nt=!1)}),Nt&&(I.curOp.updateMaxLine=!0)),qr(ee,Me.line),ps(I,400);var Yt=M.text.length-(mt.line-Me.line)-1;M.full?gi(I):Me.line==mt.line&&M.text.length==1&&!ln(I.doc,M)?Pa(I,Me.line,"text"):gi(I,Me.line,mt.line+1,Yt);var Cr=tt(I,"changes"),Ur=tt(I,"change");if(Ur||Cr){var en={from:Me,to:mt,text:M.text,removed:M.removed,origin:M.origin};Ur&&Tr(I,"change",I,en),Cr&&(I.curOp.changeObjs||(I.curOp.changeObjs=[])).push(en)}I.display.selForContextMenu=null}function qo(I,M,Z,ee,ie){var Me;ee||(ee=Z),Kt(ee,Z)<0&&(Me=[ee,Z],Z=Me[0],ee=Me[1]),typeof M=="string"&&(M=I.splitLines(M)),bs(I,{from:Z,to:ee,text:M,origin:ie})}function gs(I,M,Z,ee){Z<I.line?I.line+=ee:M<I.line&&(I.line=M,I.ch=0)}function os(I,M,Z,ee){for(var ie=0;ie<I.length;++ie){var Me=I[ie],mt=!0;if(Me.ranges){Me.copied||(Me=I[ie]=Me.deepCopy(),Me.copied=!0);for(var Nt=0;Nt<Me.ranges.length;Nt++)gs(Me.ranges[Nt].anchor,M,Z,ee),gs(Me.ranges[Nt].head,M,Z,ee);continue}for(var zt=0;zt<Me.changes.length;++zt){var Yt=Me.changes[zt];if(Z<Yt.from.line)Yt.from=Rt(Yt.from.line+ee,Yt.from.ch),Yt.to=Rt(Yt.to.line+ee,Yt.to.ch);else if(M<=Yt.to.line){mt=!1;break}}mt||(I.splice(0,ie+1),ie=0)}}function Zo(I,M){var Z=M.from.line,ee=M.to.line,ie=M.text.length-(ee-Z)-1;os(I.done,Z,ee,ie),os(I.undone,Z,ee,ie)}function $o(I,M,Z,ee){var ie=M,Me=M;return typeof M=="number"?Me=ne(I,er(I,M)):ie=$e(M),ie==null?null:(ee(Me,ie)&&I.cm&&Pa(I.cm,ie,Z),Me)}function ws(I){this.lines=I,this.parent=null;for(var M=0,Z=0;Z<I.length;++Z)I[Z].parent=this,M+=I[Z].height;this.height=M}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(M,Z){for(var ee=M,ie=M+Z;ee<ie;++ee){var Me=this.lines[ee];this.height-=Me.height,Na(Me),Tr(Me,"delete")}this.lines.splice(M,Z)},collapse:function(M){M.push.apply(M,this.lines)},insertInner:function(M,Z,ee){this.height+=ee,this.lines=this.lines.slice(0,M).concat(Z).concat(this.lines.slice(M));for(var ie=0;ie<Z.length;++ie)Z[ie].parent=this},iterN:function(M,Z,ee){for(var ie=M+Z;M<ie;++M)if(ee(this.lines[M]))return!0}};function Ho(I){this.children=I;for(var M=0,Z=0,ee=0;ee<I.length;++ee){var ie=I[ee];M+=ie.chunkSize(),Z+=ie.height,ie.parent=this}this.size=M,this.height=Z,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(M,Z){this.size-=Z;for(var ee=0;ee<this.children.length;++ee){var ie=this.children[ee],Me=ie.chunkSize();if(M<Me){var mt=Math.min(Z,Me-M),Nt=ie.height;if(ie.removeInner(M,mt),this.height-=Nt-ie.height,Me==mt&&(this.children.splice(ee--,1),ie.parent=null),(Z-=mt)==0)break;M=0}else M-=Me}if(this.size-Z<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var zt=[];this.collapse(zt),this.children=[new ws(zt)],this.children[0].parent=this}},collapse:function(M){for(var Z=0;Z<this.children.length;++Z)this.children[Z].collapse(M)},insertInner:function(M,Z,ee){this.size+=Z.length,this.height+=ee;for(var ie=0;ie<this.children.length;++ie){var Me=this.children[ie],mt=Me.chunkSize();if(M<=mt){if(Me.insertInner(M,Z,ee),Me.lines&&Me.lines.length>50){for(var Nt=Me.lines.length%25+25,zt=Nt;zt<Me.lines.length;){var Yt=new ws(Me.lines.slice(zt,zt+=25));Me.height-=Yt.height,this.children.splice(++ie,0,Yt),Yt.parent=this}Me.lines=Me.lines.slice(0,Nt),this.maybeSpill()}break}M-=mt}},maybeSpill:function(){if(this.children.length<=10)return;var M=this;do{var Z=M.children.splice(M.children.length-5,5),ee=new Ho(Z);if(M.parent){M.size-=ee.size,M.height-=ee.height;var Me=W(M.parent.children,M);M.parent.children.splice(Me+1,0,ee)}else{var ie=new Ho(M.children);ie.parent=M,M.children=[ie,ee],M=ie}ee.parent=M.parent}while(M.children.length>10);M.parent.maybeSpill()},iterN:function(M,Z,ee){for(var ie=0;ie<this.children.length;++ie){var Me=this.children[ie],mt=Me.chunkSize();if(M<mt){var Nt=Math.min(Z,mt-M);if(Me.iterN(M,Nt,ee))return!0;if((Z-=Nt)==0)break;M=0}else M-=mt}}};var ll=function(M,Z,ee){if(ee)for(var ie in ee)ee.hasOwnProperty(ie)&&(this[ie]=ee[ie]);this.doc=M,this.node=Z};ll.prototype.clear=function(){var I=this.doc.cm,M=this.line.widgets,Z=this.line,ee=$e(Z);if(ee==null||!M)return;for(var ie=0;ie<M.length;++ie)M[ie]==this&&M.splice(ie--,1);M.length||(Z.widgets=null);var Me=an(this);Fe(Z,Math.max(0,Z.height-Me)),I&&(bo(I,function(){jl(I,Z,-Me),Pa(I,ee,"widget")}),Tr(I,"lineWidgetCleared",I,this,ee))},ll.prototype.changed=function(){var I=this,M=this.height,Z=this.doc.cm,ee=this.line;this.height=null;var ie=an(this)-M;if(!ie)return;mn(this.doc,ee)||Fe(ee,ee.height+ie),Z&&bo(Z,function(){Z.curOp.forceUpdate=!0,jl(Z,ee,ie),Tr(Z,"lineWidgetChanged",Z,I,$e(ee))})},ot(ll);function jl(I,M,Z){Ln(M)<(I.curOp&&I.curOp.scrollTop||I.doc.scrollTop)&&Lo(I,Z)}function cl(I,M,Z,ee){var ie=new ll(I,Z,ee),Me=I.cm;return Me&&ie.noHScroll&&(Me.display.alignWidgets=!0),$o(I,M,"widget",function(mt){var Nt=mt.widgets||(mt.widgets=[]);if(ie.insertAt==null?Nt.push(ie):Nt.splice(Math.min(Nt.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=mt,Me&&!mn(I,mt)){var zt=Ln(mt)<I.scrollTop;Fe(mt,mt.height+an(ie)),zt&&Lo(Me,ie.height),Me.curOp.forceUpdate=!0}return!0}),Me&&Tr(Me,"lineWidgetAdded",Me,ie,typeof M=="number"?M:$e(M)),ie}var Nl=0,Is=function(M,Z){this.lines=[],this.type=Z,this.doc=M,this.id=++Nl};Is.prototype.clear=function(){if(this.explicitlyCleared)return;var I=this.doc.cm,M=I&&!I.curOp;if(M&&Zi(I),tt(this,"clear")){var Z=this.find();Z&&Tr(this,"clear",Z.from,Z.to)}for(var ee=null,ie=null,Me=0;Me<this.lines.length;++Me){var mt=this.lines[Me],Nt=cr(mt.markedSpans,this);I&&!this.collapsed?Pa(I,$e(mt),"text"):I&&(Nt.to!=null&&(ie=$e(mt)),Nt.from!=null&&(ee=$e(mt))),mt.markedSpans=fr(mt.markedSpans,Nt),Nt.from==null&&this.collapsed&&!mn(this.doc,mt)&&I&&Fe(mt,Ai(I.display))}if(I&&this.collapsed&&!I.options.lineWrapping)for(var zt=0;zt<this.lines.length;++zt){var Yt=ta(this.lines[zt]),Cr=_n(Yt);Cr>I.display.maxLineLength&&(I.display.maxLine=Yt,I.display.maxLineLength=Cr,I.display.maxLineChanged=!0)}ee!=null&&I&&this.collapsed&&gi(I,ee,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,I&&Rs(I.doc)),I&&Tr(I,"markerCleared",I,this,ee,ie),M&&xo(I),this.parent&&this.parent.clear()},Is.prototype.find=function(I,M){I==null&&this.type=="bookmark"&&(I=1);for(var Z,ee,ie=0;ie<this.lines.length;++ie){var Me=this.lines[ie],mt=cr(Me.markedSpans,this);if(mt.from!=null&&(Z=Rt(M?Me:$e(Me),mt.from),I==-1))return Z;if(mt.to!=null&&(ee=Rt(M?Me:$e(Me),mt.to),I==1))return ee}return Z&&{from:Z,to:ee}},Is.prototype.changed=function(){var I=this,M=this.find(-1,!0),Z=this,ee=this.doc.cm;if(!M||!ee)return;bo(ee,function(){var ie=M.line,Me=$e(M.line),mt=bn(ee,Me);if(mt&&(ri(mt),ee.curOp.selectionChanged=ee.curOp.forceUpdate=!0),ee.curOp.updateMaxLine=!0,!mn(Z.doc,ie)&&Z.height!=null){var Nt=Z.height;Z.height=null;var zt=an(Z)-Nt;zt&&Fe(ie,ie.height+zt)}Tr(ee,"markerChanged",ee,I)})},Is.prototype.attachLine=function(I){if(!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(!M.maybeHiddenMarkers||W(M.maybeHiddenMarkers,this)==-1)&&(M.maybeUnhiddenMarkers||(M.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(I)},Is.prototype.detachLine=function(I){if(this.lines.splice(W(this.lines,I),1),!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(M.maybeHiddenMarkers||(M.maybeHiddenMarkers=[])).push(this)}},ot(Is);function Gs(I,M,Z,ee,ie){if(ee&&ee.shared)return Hl(I,M,Z,ee,ie);if(I.cm&&!I.cm.curOp)return Za(I.cm,Gs)(I,M,Z,ee,ie);var Me=new Is(I,ie),mt=Kt(M,Z);if(ee&&H(ee,Me,!1),mt>0||mt==0&&Me.clearWhenEmpty!==!1)return Me;if(Me.replacedWith&&(Me.collapsed=!0,Me.widgetNode=F("span",[Me.replacedWith],"CodeMirror-widget"),ee.handleMouseEvents||Me.widgetNode.setAttribute("cm-ignore-events","true"),ee.insertLeft&&(Me.widgetNode.insertLeft=!0)),Me.collapsed){if(xa(I,M.line,M,Z,Me)||M.line!=Z.line&&xa(I,Z.line,M,Z,Me))throw new Error("Inserting collapsed marker partially overlapping an existing one");ur()}Me.addToHistory&&Wa(I,{from:M,to:Z,origin:"markText"},I.sel,NaN);var Nt=M.line,zt=I.cm,Yt;if(I.iter(Nt,Z.line+1,function(Ur){zt&&Me.collapsed&&!zt.options.lineWrapping&&ta(Ur)==zt.display.maxLine&&(Yt=!0),Me.collapsed&&Nt!=M.line&&Fe(Ur,0),xr(Ur,new pr(Me,Nt==M.line?M.ch:null,Nt==Z.line?Z.ch:null)),++Nt}),Me.collapsed&&I.iter(M.line,Z.line+1,function(Ur){mn(I,Ur)&&Fe(Ur,0)}),Me.clearOnEnter&&Be(Me,"beforeCursorEnter",function(){return Me.clear()}),Me.readOnly&&(_r(),(I.history.done.length||I.history.undone.length)&&I.clearHistory()),Me.collapsed&&(Me.id=++Nl,Me.atomic=!0),zt){if(Yt&&(zt.curOp.updateMaxLine=!0),Me.collapsed)gi(zt,M.line,Z.line+1);else if(Me.className||Me.startStyle||Me.endStyle||Me.css||Me.attributes||Me.title)for(var Cr=M.line;Cr<=Z.line;Cr++)Pa(zt,Cr,"text");Me.atomic&&Rs(zt.doc),Tr(zt,"markerAdded",zt,Me)}return Me}var el=function(M,Z){this.markers=M,this.primary=Z;for(var ee=0;ee<M.length;++ee)M[ee].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var I=0;I<this.markers.length;++I)this.markers[I].clear();Tr(this,"clear")},el.prototype.find=function(I,M){return this.primary.find(I,M)},ot(el);function Hl(I,M,Z,ee,ie){ee=H(ee),ee.shared=!1;var Me=[Gs(I,M,Z,ee,ie)],mt=Me[0],Nt=ee.widgetNode;return Cn(I,function(zt){Nt&&(ee.widgetNode=Nt.cloneNode(!0)),Me.push(Gs(zt,st(zt,M),st(zt,Z),ee,ie));for(var Yt=0;Yt<zt.linked.length;++Yt)if(zt.linked[Yt].isParent)return;mt=Qe(Me)}),new el(Me,mt)}function Kl(I){return I.findMarks(Rt(I.first,0),I.clipPos(Rt(I.lastLine())),function(M){return M.parent})}function Dl(I,M){for(var Z=0;Z<M.length;Z++){var ee=M[Z],ie=ee.find(),Me=I.clipPos(ie.from),mt=I.clipPos(ie.to);if(Kt(Me,mt)){var Nt=Gs(I,Me,mt,ee.primary,ee.primary.type);ee.markers.push(Nt),Nt.parent=ee}}}function nc(I){for(var M=function(ie){var Me=I[ie],mt=[Me.primary.doc];Cn(Me.primary.doc,function(Yt){return mt.push(Yt)});for(var Nt=0;Nt<Me.markers.length;Nt++){var zt=Me.markers[Nt];W(mt,zt.doc)==-1&&(zt.parent=null,Me.markers.splice(Nt--,1))}},Z=0;Z<I.length;Z++)M(Z)}var ic=0,es=function I(M,Z,ee,ie,Me){if(!(this instanceof I))return new I(M,Z,ee,ie,Me);ee==null&&(ee=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ee;var mt=Rt(ee,0);this.sel=Ie(mt),this.history=new ea(null),this.id=++ic,this.modeOption=Z,this.lineSep=ie,this.direction=Me=="rtl"?"rtl":"ltr",this.extend=!1,typeof M=="string"&&(M=this.splitLines(M)),yn(this,{from:mt,to:mt,text:M}),Eo(this,Ie(mt),ge)};es.prototype=lt(Ho.prototype,{constructor:es,iter:function(M,Z,ee){ee?this.iterN(M-this.first,Z-M,ee):this.iterN(this.first,this.first+this.size,M)},insert:function(M,Z){for(var ee=0,ie=0;ie<Z.length;++ie)ee+=Z[ie].height;this.insertInner(M-this.first,Z,ee)},remove:function(M,Z){this.removeInner(M-this.first,Z)},getValue:function(M){var Z=De(this,this.first,this.first+this.size);return M===!1?Z:Z.join(M||this.lineSeparator())},setValue:so(function(I){var M=Rt(this.first,0),Z=this.first+this.size-1;bs(this,{from:M,to:Rt(Z,ne(this,Z).text.length),text:this.splitLines(I),origin:"setValue",full:!0},!0),this.cm&&Fi(this.cm,0,0),Eo(this,Ie(M),ge)}),replaceRange:function(M,Z,ee,ie){Z=st(this,Z),ee=ee?st(this,ee):Z,qo(this,M,Z,ee,ie)},getRange:function(M,Z,ee){var ie=xe(this,st(this,M),st(this,Z));return ee===!1?ie:ie.join(ee||this.lineSeparator())},getLine:function(M){var Z=this.getLineHandle(M);return Z&&Z.text},getLineHandle:function(M){if(Wt(this,M))return ne(this,M)},getLineNumber:function(M){return $e(M)},getLineHandleVisualStart:function(M){return typeof M=="number"&&(M=ne(this,M)),ta(M)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(M){return st(this,M)},getCursor:function(M){var Z=this.sel.primary(),ee;return M==null||M=="head"?ee=Z.head:M=="anchor"?ee=Z.anchor:M=="end"||M=="to"||M===!1?ee=Z.to():ee=Z.from(),ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(I,M,Z){Xs(this,st(this,typeof I=="number"?Rt(I,M||0):I),null,Z)}),setSelection:so(function(I,M,Z){Xs(this,st(this,I),st(this,M||I),Z)}),extendSelection:so(function(I,M,Z){wo(this,st(this,I),M&&st(this,M),Z)}),extendSelections:so(function(I,M){us(this,ut(this,I),M)}),extendSelectionsBy:so(function(I,M){var Z=gt(this.sel.ranges,I);us(this,ut(this,Z),M)}),setSelections:so(function(I,M,Z){if(!I.length)return;for(var ee=[],ie=0;ie<I.length;ie++)ee[ie]=new le(st(this,I[ie].anchor),st(this,I[ie].head));M==null&&(M=Math.min(I.length-1,this.sel.primIndex)),Eo(this,Ee(this.cm,ee,M),Z)}),addSelection:so(function(I,M,Z){var ee=this.sel.ranges.slice(0);ee.push(new le(st(this,I),st(this,M||I))),Eo(this,Ee(this.cm,ee,ee.length-1),Z)}),getSelection:function(M){for(var Z=this.sel.ranges,ee,ie=0;ie<Z.length;ie++){var Me=xe(this,Z[ie].from(),Z[ie].to());ee=ee?ee.concat(Me):Me}return M===!1?ee:ee.join(M||this.lineSeparator())},getSelections:function(M){for(var Z=[],ee=this.sel.ranges,ie=0;ie<ee.length;ie++){var Me=xe(this,ee[ie].from(),ee[ie].to());M!==!1&&(Me=Me.join(M||this.lineSeparator())),Z[ie]=Me}return Z},replaceSelection:function(M,Z,ee){for(var ie=[],Me=0;Me<this.sel.ranges.length;Me++)ie[Me]=M;this.replaceSelections(ie,Z,ee||"+input")},replaceSelections:so(function(I,M,Z){for(var ee=[],ie=this.sel,Me=0;Me<ie.ranges.length;Me++){var mt=ie.ranges[Me];ee[Me]={from:mt.from(),to:mt.to(),text:this.splitLines(I[Me]),origin:Z}}for(var Nt=M&&M!="end"&&gr(this,ee,M),zt=ee.length-1;zt>=0;zt--)bs(this,ee[zt]);Nt?Yo(this,Nt):this.cm&&Ia(this.cm)}),undo:so(function(){ui(this,"undo")}),redo:so(function(){ui(this,"redo")}),undoSelection:so(function(){ui(this,"undo",!0)}),redoSelection:so(function(){ui(this,"redo",!0)}),setExtending:function(M){this.extend=M},getExtending:function(){return this.extend},historySize:function(){for(var M=this.history,Z=0,ee=0,ie=0;ie<M.done.length;ie++)M.done[ie].ranges||++Z;for(var Me=0;Me<M.undone.length;Me++)M.undone[Me].ranges||++ee;return{undo:Z,redo:ee}},clearHistory:function(){var M=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(Z){return Z.history=M.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(M){return M&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(M){return this.history.generation==(M||this.cleanGeneration)},getHistory:function(){return{done:ko(this.history.done),undone:ko(this.history.undone)}},setHistory:function(M){var Z=this.history=new ea(this.history.maxGeneration);Z.done=ko(M.done.slice(0),null,!0),Z.undone=ko(M.undone.slice(0),null,!0)},setGutterMarker:so(function(I,M,Z){return $o(this,I,"gutter",function(ee){var ie=ee.gutterMarkers||(ee.gutterMarkers={});return ie[M]=Z,!Z&&Q(ie)&&(ee.gutterMarkers=null),!0})}),clearGutter:so(function(I){var M=this;this.iter(function(Z){Z.gutterMarkers&&Z.gutterMarkers[I]&&$o(M,Z,"gutter",function(){return Z.gutterMarkers[I]=null,Q(Z.gutterMarkers)&&(Z.gutterMarkers=null),!0})})}),lineInfo:function(M){var Z;if(typeof M=="number"){if(!Wt(this,M))return null;if(Z=M,M=ne(this,M),!M)return null}else if(Z=$e(M),Z==null)return null;return{line:Z,handle:M,text:M.text,gutterMarkers:M.gutterMarkers,textClass:M.textClass,bgClass:M.bgClass,wrapClass:M.wrapClass,widgets:M.widgets}},addLineClass:so(function(I,M,Z){return $o(this,I,M=="gutter"?"gutter":"class",function(ee){var ie=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass";if(!ee[ie])ee[ie]=Z;else{if(L(Z).test(ee[ie]))return!1;ee[ie]+=" "+Z}return!0})}),removeLineClass:so(function(I,M,Z){return $o(this,I,M=="gutter"?"gutter":"class",function(ee){var ie=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass",Me=ee[ie];if(Me)if(Z==null)ee[ie]=null;else{var mt=Me.match(L(Z));if(!mt)return!1;var Nt=mt.index+mt[0].length;ee[ie]=Me.slice(0,mt.index)+(!mt.index||Nt==Me.length?"":" ")+Me.slice(Nt)||null}else return!1;return!0})}),addLineWidget:so(function(I,M,Z){return cl(this,I,M,Z)}),removeLineWidget:function(M){M.clear()},markText:function(M,Z,ee){return Gs(this,st(this,M),st(this,Z),ee,ee&&ee.type||"range")},setBookmark:function(M,Z){var ee={replacedWith:Z&&(Z.nodeType==null?Z.widget:Z),insertLeft:Z&&Z.insertLeft,clearWhenEmpty:!1,shared:Z&&Z.shared,handleMouseEvents:Z&&Z.handleMouseEvents};return M=st(this,M),Gs(this,M,M,ee,"bookmark")},findMarksAt:function(M){M=st(this,M);var Z=[],ee=ne(this,M.line).markedSpans;if(ee)for(var ie=0;ie<ee.length;++ie){var Me=ee[ie];(Me.from==null||Me.from<=M.ch)&&(Me.to==null||Me.to>=M.ch)&&Z.push(Me.marker.parent||Me.marker)}return Z},findMarks:function(M,Z,ee){M=st(this,M),Z=st(this,Z);var ie=[],Me=M.line;return this.iter(M.line,Z.line+1,function(mt){var Nt=mt.markedSpans;if(Nt)for(var zt=0;zt<Nt.length;zt++){var Yt=Nt[zt];!(Yt.to!=null&&Me==M.line&&M.ch>=Yt.to||Yt.from==null&&Me!=M.line||Yt.from!=null&&Me==Z.line&&Yt.from>=Z.ch)&&(!ee||ee(Yt.marker))&&ie.push(Yt.marker.parent||Yt.marker)}++Me}),ie},getAllMarks:function(){var M=[];return this.iter(function(Z){var ee=Z.markedSpans;if(ee)for(var ie=0;ie<ee.length;++ie)ee[ie].from!=null&&M.push(ee[ie].marker)}),M},posFromIndex:function(M){var Z,ee=this.first,ie=this.lineSeparator().length;return this.iter(function(Me){var mt=Me.text.length+ie;if(mt>M)return Z=M,!0;M-=mt,++ee}),st(this,Rt(ee,Z))},indexFromPos:function(M){M=st(this,M);var Z=M.ch;if(M.line<this.first||M.ch<0)return 0;var ee=this.lineSeparator().length;return this.iter(this.first,M.line,function(ie){Z+=ie.text.length+ee}),Z},copy:function(M){var Z=new es(De(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Z.scrollTop=this.scrollTop,Z.scrollLeft=this.scrollLeft,Z.sel=this.sel,Z.extend=!1,M&&(Z.history.undoDepth=this.history.undoDepth,Z.setHistory(this.getHistory())),Z},linkedDoc:function(M){M||(M={});var Z=this.first,ee=this.first+this.size;M.from!=null&&M.from>Z&&(Z=M.from),M.to!=null&&M.to<ee&&(ee=M.to);var ie=new es(De(this,Z,ee),M.mode||this.modeOption,Z,this.lineSep,this.direction);return M.sharedHist&&(ie.history=this.history),(this.linked||(this.linked=[])).push({doc:ie,sharedHist:M.sharedHist}),ie.linked=[{doc:this,isParent:!0,sharedHist:M.sharedHist}],Dl(ie,Kl(this)),ie},unlinkDoc:function(M){if(M instanceof at&&(M=M.doc),this.linked)for(var Z=0;Z<this.linked.length;++Z){var ee=this.linked[Z];if(ee.doc!=M)continue;this.linked.splice(Z,1),M.unlinkDoc(this),nc(Kl(this));break}if(M.history==this.history){var ie=[M.id];Cn(M,function(Me){return ie.push(Me.id)},!0),M.history=new ea(null),M.history.done=ko(this.history.done,ie),M.history.undone=ko(this.history.undone,ie)}},iterLinkedDocs:function(M){Cn(this,M)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(M){return this.lineSep?M.split(this.lineSep):or(M)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(I){if(I!="rtl"&&(I="ltr"),I==this.direction)return;this.direction=I,this.iter(function(M){return M.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function ac(I){var M=this;if(bl(M),Xe(M,I)||St(M.display,I))return;Ve(I),c&&(tl=+new Date);var Z=ca(M,I,!0),ee=I.dataTransfer.files;if(!Z||M.isReadOnly())return;if(ee&&ee.length&&window.FileReader&&window.File)for(var ie=ee.length,Me=Array(ie),mt=0,Nt=function(){++mt==ie&&Za(M,function(){Z=st(M.doc,Z);var xn={from:Z,to:Z,text:M.doc.splitLines(Me.filter(function(Bn){return Bn!=null}).join(M.doc.lineSeparator())),origin:"paste"};bs(M.doc,xn),Yo(M.doc,Ie(st(M.doc,Z),st(M.doc,We(xn))))})()},zt=function(xn,Bn){if(M.options.allowDropFileTypes&&W(M.options.allowDropFileTypes,xn.type)==-1){Nt();return}var Zn=new FileReader;Zn.onerror=function(){return Nt()},Zn.onload=function(){var Jn=Zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jn)){Nt();return}Me[Bn]=Jn,Nt()},Zn.readAsText(xn)},Yt=0;Yt<ee.length;Yt++)zt(ee[Yt],Yt);else{if(M.state.draggingText&&M.doc.sel.contains(Z)>-1){M.state.draggingText(I),setTimeout(function(){return M.display.input.focus()},20);return}try{var Cr=I.dataTransfer.getData("Text");if(Cr){var Ur;if(M.state.draggingText&&!M.state.draggingText.copy&&(Ur=M.listSelections()),ds(M.doc,Ie(Z,Z)),Ur)for(var en=0;en<Ur.length;++en)qo(M.doc,"",Ur[en].anchor,Ur[en].head,"drag");M.replaceSelection(Cr,"around","paste"),M.display.input.focus()}}catch(nn){}}}function Rl(I,M){if(c&&(!I.state.draggingText||+new Date-tl<100)){it(M);return}if(Xe(I,M)||St(I.display,M))return;if(M.dataTransfer.setData("Text",I.getSelection()),M.dataTransfer.effectAllowed="copyMove",M.dataTransfer.setDragImage&&!n){var Z=N("img",null,null,"position: fixed; left: 0; top: 0;");Z.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(Z.width=Z.height=1,I.display.wrapper.appendChild(Z),Z._top=Z.offsetTop),M.dataTransfer.setDragImage(Z,0,0),d&&Z.parentNode.removeChild(Z)}}function Ml(I,M){var Z=ca(I,M);if(!Z)return;var ee=document.createDocumentFragment();ba(I,Z,ee),I.display.dragCursor||(I.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),I.display.lineSpace.insertBefore(I.display.dragCursor,I.display.cursorDiv)),O(I.display.dragCursor,ee)}function bl(I){I.display.dragCursor&&(I.display.lineSpace.removeChild(I.display.dragCursor),I.display.dragCursor=null)}function zl(I){if(!document.getElementsByClassName)return;for(var M=document.getElementsByClassName("CodeMirror"),Z=[],ee=0;ee<M.length;ee++){var ie=M[ee].CodeMirror;ie&&Z.push(ie)}Z.length&&Z[0].operation(function(){for(var Me=0;Me<Z.length;Me++)I(Z[Me])})}var ul=!1;function Wl(){if(ul)return;oc(),ul=!0}function oc(){var I;Be(window,"resize",function(){I==null&&(I=setTimeout(function(){I=null,zl(sc)},100))}),Be(window,"blur",function(){return zl(Oi)})}function sc(I){var M=I.display;M.cachedCharWidth=M.cachedTextHeight=M.cachedPaddingH=null,M.scrollbarsClipped=!1,I.setSize()}for(var ks={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},rl=0;rl<10;rl++)ks[rl+48]=ks[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)ks[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)ks[dl+111]=ks[dl+63235]="F"+dl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=w?Ss.macDefault:Ss.pcDefault;function Ks(I){var M=I.split(/-(?!$)/);I=M[M.length-1];for(var Z,ee,ie,Me,mt=0;mt<M.length-1;mt++){var Nt=M[mt];if(/^(cmd|meta|m)$/i.test(Nt))Me=!0;else if(/^a(lt)?$/i.test(Nt))Z=!0;else if(/^(c|ctrl|control)$/i.test(Nt))ee=!0;else if(/^s(hift)?$/i.test(Nt))ie=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return Z&&(I="Alt-"+I),ee&&(I="Ctrl-"+I),Me&&(I="Cmd-"+I),ie&&(I="Shift-"+I),I}function nl(I){var M={};for(var Z in I)if(I.hasOwnProperty(Z)){var ee=I[Z];if(/^(name|fallthrough|(de|at)tach)$/.test(Z))continue;if(ee=="..."){delete I[Z];continue}for(var ie=gt(Z.split(" "),Ks),Me=0;Me<ie.length;Me++){var mt=void 0,Nt=void 0;Me==ie.length-1?(Nt=ie.join(" "),mt=ee):(Nt=ie.slice(0,Me+1).join(" "),mt="...");var zt=M[Nt];if(!zt)M[Nt]=mt;else if(zt!=mt)throw new Error("Inconsistent bindings for "+Nt)}delete I[Z]}for(var Yt in M)I[Yt]=M[Yt];return I}function Ps(I,M,Z,ee){M=xl(M);var ie=M.call?M.call(I,ee):M[I];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&Z(ie))return"handled";if(M.fallthrough){if(Object.prototype.toString.call(M.fallthrough)!="[object Array]")return Ps(I,M.fallthrough,Z,ee);for(var Me=0;Me<M.fallthrough.length;Me++){var mt=Ps(I,M.fallthrough[Me],Z,ee);if(mt)return mt}}}function Sl(I){var M=typeof I=="string"?I:ks[I.keyCode];return M=="Ctrl"||M=="Alt"||M=="Shift"||M=="Mod"}function Fl(I,M,Z){var ee=I;return M.altKey&&ee!="Alt"&&(I="Alt-"+I),(S?M.metaKey:M.ctrlKey)&&ee!="Ctrl"&&(I="Ctrl-"+I),(S?M.ctrlKey:M.metaKey)&&ee!="Mod"&&(I="Cmd-"+I),!Z&&M.shiftKey&&ee!="Shift"&&(I="Shift-"+I),I}function Vl(I,M){if(d&&I.keyCode==34&&I.char)return!1;var Z=ks[I.keyCode];return Z==null||I.altGraphKey?!1:(I.keyCode==3&&I.code&&(Z=I.code),Fl(Z,I,M))}function xl(I){return typeof I=="string"?Ss[I]:I}function Qs(I,M){for(var Z=I.doc.sel.ranges,ee=[],ie=0;ie<Z.length;ie++){for(var Me=M(Z[ie]);ee.length&&Kt(Me.from,Qe(ee).to)<=0;){var mt=ee.pop();if(Kt(mt.from,Me.from)<0){Me.from=mt.from;break}}ee.push(Me)}bo(I,function(){for(var Nt=ee.length-1;Nt>=0;Nt--)qo(I.doc,"",ee[Nt].from,ee[Nt].to,"+delete");Ia(I)})}function hl(I,M,Z){var ee=Ne(I.text,M+Z,Z);return ee<0||ee>I.text.length?null:ee}function il(I,M,Z){var ee=hl(I,M.ch,Z);return ee==null?null:new Rt(M.line,ee,Z<0?"after":"before")}function fl(I,M,Z,ee,ie){if(I){M.doc.direction=="rtl"&&(ie=-ie);var Me=ht(Z,M.doc.direction);if(Me){var mt=ie<0?Qe(Me):Me[0],Nt=ie<0==(mt.level==1),zt=Nt?"after":"before",Yt;if(mt.level>0||M.doc.direction=="rtl"){var Cr=Mn(M,Z);Yt=ie<0?Z.text.length-1:0;var Ur=vn(M,Cr,Yt).top;Yt=Te(function(en){return vn(M,Cr,en).top==Ur},ie<0==(mt.level==1)?mt.from:mt.to-1,Yt),zt=="before"&&(Yt=hl(Z,Yt,1))}else Yt=ie<0?mt.to:mt.from;return new Rt(ee,Yt,zt)}}return new Rt(ee,ie<0?Z.text.length:0,ie<0?"before":"after")}function El(I,M,Z,ee){var ie=ht(M,I.doc.direction);if(!ie)return il(M,Z,ee);Z.ch>=M.text.length?(Z.ch=M.text.length,Z.sticky="before"):Z.ch<=0&&(Z.ch=0,Z.sticky="after");var Me=Le(ie,Z.ch,Z.sticky),mt=ie[Me];if(I.doc.direction=="ltr"&&mt.level%2==0&&(ee>0?mt.to>Z.ch:mt.from<Z.ch))return il(M,Z,ee);var Nt=function(oi,li){return hl(M,oi instanceof Rt?oi.ch:oi,li)},zt,Yt=function(oi){return I.options.lineWrapping?(zt=zt||Mn(I,M),Ea(I,M,zt,oi)):{begin:0,end:M.text.length}},Cr=Yt(Z.sticky=="before"?Nt(Z,-1):Z.ch);if(I.doc.direction=="rtl"||mt.level==1){var Ur=mt.level==1==ee<0,en=Nt(Z,Ur?1:-1);if(en!=null&&(Ur?en<=mt.to&&en<=Cr.end:en>=mt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Rt(Z.line,en,nn)}}var xn=function(oi,li,Je){for(var te=function(vr,Ir){return Ir?new Rt(Z.line,Nt(vr,1),"before"):new Rt(Z.line,vr,"after")};oi>=0&&oi<ie.length;oi+=li){var ke=ie[oi],Ze=li>0==(ke.level!=1),Lt=Ze?Je.begin:Nt(Je.end,-1);if(ke.from<=Lt&&Lt<ke.to)return te(Lt,Ze);if(Lt=Ze?ke.from:Nt(ke.to,-1),Je.begin<=Lt&&Lt<Je.end)return te(Lt,Ze)}},Bn=xn(Me+ee,ee,Cr);if(Bn)return Bn;var Zn=ee>0?Cr.end:Nt(Cr.begin,-1);return Zn!=null&&!(ee>0&&Zn==M.text.length)&&(Bn=xn(ee>0?0:ie.length-1,ee,Yt(Zn)),Bn)?Bn:null}var zs={selectAll:Fs,singleSelection:function(M){return M.setSelection(M.getCursor("anchor"),M.getCursor("head"),ge)},killLine:function(M){return Qs(M,function(Z){if(Z.empty()){var ee=ne(M.doc,Z.head.line).text.length;return Z.head.ch==ee&&Z.head.line<M.lastLine()?{from:Z.head,to:Rt(Z.head.line+1,0)}:{from:Z.head,to:Rt(Z.head.line,ee)}}else return{from:Z.from(),to:Z.to()}})},deleteLine:function(M){return Qs(M,function(Z){return{from:Rt(Z.from().line,0),to:st(M.doc,Rt(Z.to().line+1,0))}})},delLineLeft:function(M){return Qs(M,function(Z){return{from:Rt(Z.from().line,0),to:Z.from()}})},delWrappedLineLeft:function(M){return Qs(M,function(Z){var ee=M.charCoords(Z.head,"div").top+5,ie=M.coordsChar({left:0,top:ee},"div");return{from:ie,to:Z.from()}})},delWrappedLineRight:function(M){return Qs(M,function(Z){var ee=M.charCoords(Z.head,"div").top+5,ie=M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ee},"div");return{from:Z.from(),to:ie}})},undo:function(M){return M.undo()},redo:function(M){return M.redo()},undoSelection:function(M){return M.undoSelection()},redoSelection:function(M){return M.redoSelection()},goDocStart:function(M){return M.extendSelection(Rt(M.firstLine(),0))},goDocEnd:function(M){return M.extendSelection(Rt(M.lastLine()))},goLineStart:function(M){return M.extendSelectionsBy(function(Z){return Xl(M,Z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(M){return M.extendSelectionsBy(function(Z){return pl(M,Z.head)},{origin:"+move",bias:1})},goLineEnd:function(M){return M.extendSelectionsBy(function(Z){return Cl(M,Z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(M){return M.extendSelectionsBy(function(Z){var ee=M.cursorCoords(Z.head,"div").top+5;return M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ee},"div")},Se)},goLineLeft:function(M){return M.extendSelectionsBy(function(Z){var ee=M.cursorCoords(Z.head,"div").top+5;return M.coordsChar({left:0,top:ee},"div")},Se)},goLineLeftSmart:function(M){return M.extendSelectionsBy(function(Z){var ee=M.cursorCoords(Z.head,"div").top+5,ie=M.coordsChar({left:0,top:ee},"div");return ie.ch<M.getLine(ie.line).search(/\S/)?pl(M,Z.head):ie},Se)},goLineUp:function(M){return M.moveV(-1,"line")},goLineDown:function(M){return M.moveV(1,"line")},goPageUp:function(M){return M.moveV(-1,"page")},goPageDown:function(M){return M.moveV(1,"page")},goCharLeft:function(M){return M.moveH(-1,"char")},goCharRight:function(M){return M.moveH(1,"char")},goColumnLeft:function(M){return M.moveH(-1,"column")},goColumnRight:function(M){return M.moveH(1,"column")},goWordLeft:function(M){return M.moveH(-1,"word")},goGroupRight:function(M){return M.moveH(1,"group")},goGroupLeft:function(M){return M.moveH(-1,"group")},goWordRight:function(M){return M.moveH(1,"word")},delCharBefore:function(M){return M.deleteH(-1,"codepoint")},delCharAfter:function(M){return M.deleteH(1,"char")},delWordBefore:function(M){return M.deleteH(-1,"word")},delWordAfter:function(M){return M.deleteH(1,"word")},delGroupBefore:function(M){return M.deleteH(-1,"group")},delGroupAfter:function(M){return M.deleteH(1,"group")},indentAuto:function(M){return M.indentSelection("smart")},indentMore:function(M){return M.indentSelection("add")},indentLess:function(M){return M.indentSelection("subtract")},insertTab:function(M){return M.replaceSelection(" ")},insertSoftTab:function(M){for(var Z=[],ee=M.listSelections(),ie=M.options.tabSize,Me=0;Me<ee.length;Me++){var mt=ee[Me].from(),Nt=V(M.getLine(mt.line),mt.ch,ie);Z.push(Ue(ie-Nt%ie))}M.replaceSelections(Z)},defaultTab:function(M){M.somethingSelected()?M.indentSelection("add"):M.execCommand("insertTab")},transposeChars:function(M){return bo(M,function(){for(var Z=M.listSelections(),ee=[],ie=0;ie<Z.length;ie++){if(!Z[ie].empty())continue;var Me=Z[ie].head,mt=ne(M.doc,Me.line).text;if(mt){if(Me.ch==mt.length&&(Me=new Rt(Me.line,Me.ch-1)),Me.ch>0)Me=new Rt(Me.line,Me.ch+1),M.replaceRange(mt.charAt(Me.ch-1)+mt.charAt(Me.ch-2),Rt(Me.line,Me.ch-2),Me,"+transpose");else if(Me.line>M.doc.first){var Nt=ne(M.doc,Me.line-1).text;Nt&&(Me=new Rt(Me.line,1),M.replaceRange(mt.charAt(0)+M.doc.lineSeparator()+Nt.charAt(Nt.length-1),Rt(Me.line-1,Nt.length-1),Me,"+transpose"))}}ee.push(new le(Me,Me))}M.setSelections(ee)})},newlineAndIndent:function(M){return bo(M,function(){for(var Z=M.listSelections(),ee=Z.length-1;ee>=0;ee--)M.replaceRange(M.doc.lineSeparator(),Z[ee].anchor,Z[ee].head,"+input");Z=M.listSelections();for(var ie=0;ie<Z.length;ie++)M.indentLine(Z[ie].from().line,null,!0);Ia(M)})},openLine:function(M){return M.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(M){return M.toggleOverwrite()}};function Xl(I,M){var Z=ne(I.doc,M),ee=ta(Z);return ee!=Z&&(M=$e(ee)),fl(!0,I,ee,M,1)}function Cl(I,M){var Z=ne(I.doc,M),ee=_i(Z);return ee!=Z&&(M=$e(ee)),fl(!0,I,Z,M,-1)}function pl(I,M){var Z=Xl(I,M.line),ee=ne(I.doc,Z.line),ie=ht(ee,I.doc.direction);if(!ie||ie[0].level==0){var Me=Math.max(Z.ch,ee.text.search(/\S/)),mt=M.line==Z.line&&M.ch<=Me&&M.ch;return Rt(Z.line,mt?0:Me,Z.sticky)}return Z}function Tl(I,M,Z){if(typeof M=="string"&&(M=zs[M],!M))return!1;I.display.input.ensurePolled();var ee=I.display.shift,ie=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),Z&&(I.display.shift=!1),ie=M(I)!=$}finally{I.display.shift=ee,I.state.suppressEdits=!1}return ie}function Yl(I,M,Z){for(var ee=0;ee<I.state.keyMaps.length;ee++){var ie=Ps(M,I.state.keyMaps[ee],Z,I);if(ie)return ie}return I.options.extraKeys&&Ps(M,I.options.extraKeys,Z,I)||Ps(M,I.options.keyMap,Z,I)}var kl=new X;function ml(I,M,Z,ee){var ie=I.state.keySeq;if(ie){if(Sl(M))return"handled";if(/\'$/.test(M)?I.state.keySeq=null:kl.set(50,function(){I.state.keySeq==ie&&(I.state.keySeq=null,I.display.input.reset())}),Gl(I,ie+" "+M,Z,ee))return!0}return Gl(I,M,Z,ee)}function Gl(I,M,Z,ee){var ie=Yl(I,M,ee);return ie=="multi"&&(I.state.keySeq=M),ie=="handled"&&Tr(I,"keyHandled",I,M,Z),(ie=="handled"||ie=="multi")&&(Ve(Z),vi(I)),!!ie}function Js(I,M){var Z=Vl(M,!0);return Z?M.shiftKey&&!I.state.keySeq?ml(I,"Shift-"+Z,M,function(ee){return Tl(I,ee,!0)})||ml(I,Z,M,function(ee){if(typeof ee=="string"?/^go[A-Z]/.test(ee):ee.motion)return Tl(I,ee)}):ml(I,Z,M,function(ee){return Tl(I,ee)}):!1}function Ql(I,M,Z){return ml(I,"'"+Z+"'",M,function(ee){return Tl(I,ee,!0)})}var Ro=null;function Ws(I){var M=this;if(I.target&&I.target!=M.display.input.getField())return;if(M.curOp.focus=B(),Xe(M,I))return;c&&a<11&&I.keyCode==27&&(I.returnValue=!1);var Z=I.keyCode;M.display.shift=Z==16||I.shiftKey;var ee=Js(M,I);d&&(Ro=ee?Z:null,!ee&&Z==88&&!we&&(w?I.metaKey:I.ctrlKey)&&M.replaceSelection("",null,"cut")),y&&!w&&!ee&&Z==46&&I.shiftKey&&!I.ctrlKey&&document.execCommand&&document.execCommand("cut"),Z==18&&!/\bCodeMirror-crosshair\b/.test(M.display.lineDiv.className)&&al(M)}function al(I){var M=I.display.lineDiv;z(M,"CodeMirror-crosshair");function Z(ee){(ee.keyCode==18||!ee.altKey)&&(x(M,"CodeMirror-crosshair"),Ke(document,"keyup",Z),Ke(document,"mouseover",Z))}Be(document,"keyup",Z),Be(document,"mouseover",Z)}function Bs(I){I.keyCode==16&&(this.doc.sel.shift=!1),Xe(this,I)}function Us(I){var M=this;if(I.target&&I.target!=M.display.input.getField())return;if(St(M.display,I)||Xe(M,I)||I.ctrlKey&&!I.altKey||w&&I.metaKey)return;var Z=I.keyCode,ee=I.charCode;if(d&&Z==Ro){Ro=null,Ve(I);return}if(d&&(!I.which||I.which<10)&&Js(M,I))return;var ie=String.fromCharCode(ee==null?Z:ee);if(ie=="\b")return;if(Ql(M,I,ie))return;M.display.input.onKeyPress(I)}var gl=400,xs=function(M,Z,ee){this.time=M,this.pos=Z,this.button=ee};xs.prototype.compare=function(I,M,Z){return this.time+gl>I&&Kt(M,this.pos)==0&&Z==this.button};var ol,Zs;function Pl(I,M){var Z=+new Date;return Zs&&Zs.compare(Z,I,M)?(ol=Zs=null,"triple"):ol&&ol.compare(Z,I,M)?(Zs=new xs(Z,I,M),ol=null,"double"):(ol=new xs(Z,I,M),Zs=null,"single")}function Ll(I){var M=this,Z=M.display;if(Xe(M,I)||Z.activeTouch&&Z.input.supportsTouch())return;if(Z.input.ensurePolled(),Z.shift=I.shiftKey,St(Z,I)){i||(Z.scroller.draggable=!1,setTimeout(function(){return Z.scroller.draggable=!0},100));return}if(Ol(M,I))return;var ee=ca(M,I),ie=be(I),Me=ee?Pl(ee,ie):"single";if(window.focus(),ie==1&&M.state.selectingText&&M.state.selectingText(I),ee&&vl(M,ie,ee,Me,I))return;ie==1?ee?Bl(M,ee,Me,I):qe(I)==Z.scroller&&Ve(I):ie==2?(ee&&wo(M.doc,ee),setTimeout(function(){return Z.input.focus()},20)):ie==3&&(T?M.display.input.onContextMenu(I):Ka(M))}function vl(I,M,Z,ee,ie){var Me="Click";return ee=="double"?Me="Double"+Me:ee=="triple"&&(Me="Triple"+Me),Me=(M==1?"Left":M==2?"Middle":"Right")+Me,ml(I,Fl(Me,ie),ie,function(mt){if(typeof mt=="string"&&(mt=zs[mt]),!mt)return!1;var Nt=!1;try{I.isReadOnly()&&(I.state.suppressEdits=!0),Nt=mt(I,Z)!=$}finally{I.state.suppressEdits=!1}return Nt})}function ql(I,M,Z){var ee=I.getOption("configureMouse"),ie=ee?ee(I,M,Z):{};if(ie.unit==null){var Me=b?Z.shiftKey&&Z.metaKey:Z.altKey;ie.unit=Me?"rectangle":M=="single"?"char":M=="double"?"word":"line"}return(ie.extend==null||I.doc.extend)&&(ie.extend=I.doc.extend||Z.shiftKey),ie.addNew==null&&(ie.addNew=w?Z.metaKey:Z.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(w?Z.altKey:Z.ctrlKey)),ie}function Bl(I,M,Z,ee){c?setTimeout(j(Ya,I),0):I.curOp.focus=B();var ie=ql(I,Z,ee),Me=I.doc.sel,mt;I.options.dragDrop&&Zt&&!I.isReadOnly()&&Z=="single"&&(mt=Me.contains(M))>-1&&(Kt((mt=Me.ranges[mt]).from(),M)<0||M.xRel>0)&&(Kt(mt.to(),M)>0||M.xRel<0)?yl(I,ee,M,ie):lc(I,ee,M,ie)}function yl(I,M,Z,ee){var ie=I.display,Me=!1,mt=Za(I,function(Yt){i&&(ie.scroller.draggable=!1),I.state.draggingText=!1,Ke(ie.wrapper.ownerDocument,"mouseup",mt),Ke(ie.wrapper.ownerDocument,"mousemove",Nt),Ke(ie.scroller,"dragstart",zt),Ke(ie.scroller,"drop",mt),Me||(Ve(Yt),ee.addNew||wo(I.doc,Z,null,null,ee.extend),i&&!n||c&&a==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Nt=function(Cr){Me=Me||Math.abs(M.clientX-Cr.clientX)+Math.abs(M.clientY-Cr.clientY)>=10},zt=function(){return Me=!0};i&&(ie.scroller.draggable=!0),I.state.draggingText=mt,mt.copy=!ee.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Be(ie.wrapper.ownerDocument,"mouseup",mt),Be(ie.wrapper.ownerDocument,"mousemove",Nt),Be(ie.scroller,"dragstart",zt),Be(ie.scroller,"drop",mt),Ka(I),setTimeout(function(){return ie.input.focus()},20)}function Jl(I,M,Z){if(Z=="char")return new le(M,M);if(Z=="word")return I.findWordAt(M);if(Z=="line")return new le(Rt(M.line,0),st(I.doc,Rt(M.line+1,0)));var ee=Z(I,M);return new le(ee.from,ee.to)}function lc(I,M,Z,ee){var ie=I.display,Me=I.doc;Ve(M);var mt,Nt,zt=Me.sel,Yt=zt.ranges;if(ee.addNew&&!ee.extend?(Nt=Me.sel.contains(Z),Nt>-1?mt=Yt[Nt]:mt=new le(Z,Z)):(mt=Me.sel.primary(),Nt=Me.sel.primIndex),ee.unit=="rectangle")ee.addNew||(mt=new le(Z,Z)),Z=ca(I,M,!0,!0),Nt=-1;else{var Cr=Jl(I,Z,ee.unit);ee.extend?mt=Qo(mt,Cr.anchor,Cr.head,ee.extend):mt=Cr}ee.addNew?Nt==-1?(Nt=Yt.length,Eo(Me,Ee(I,Yt.concat([mt]),Nt),{scroll:!1,origin:"*mouse"})):Yt.length>1&&Yt[Nt].empty()&&ee.unit=="char"&&!ee.extend?(Eo(Me,Ee(I,Yt.slice(0,Nt).concat(Yt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),zt=Me.sel):ns(Me,Nt,mt,q):(Nt=0,Eo(Me,new Pt([mt],0),q),zt=Me.sel);var Ur=Z;function en(li){if(Kt(Ur,li)==0)return;if(Ur=li,ee.unit=="rectangle"){for(var Je=[],te=I.options.tabSize,ke=V(ne(Me,Z.line).text,Z.ch,te),Ze=V(ne(Me,li.line).text,li.ch,te),Lt=Math.min(ke,Ze),tr=Math.max(ke,Ze),vr=Math.min(Z.line,li.line),Ir=Math.min(I.lastLine(),Math.max(Z.line,li.line));vr<=Ir;vr++){var Hr=ne(Me,vr).text,Kr=Ce(Hr,Lt,te);Lt==tr?Je.push(new le(Rt(vr,Kr),Rt(vr,Kr))):Hr.length>Kr&&Je.push(new le(Rt(vr,Kr),Rt(vr,Ce(Hr,tr,te))))}Je.length||Je.push(new le(Z,Z)),Eo(Me,Ee(I,zt.ranges.slice(0,Nt).concat(Je),Nt),{origin:"*mouse",scroll:!1}),I.scrollIntoView(li)}else{var cn=mt,sn=Jl(I,li,ee.unit),Fn=cn.anchor,si;Kt(sn.anchor,Fn)>0?(si=sn.head,Fn=dr(cn.from(),sn.anchor)):(si=sn.anchor,Fn=Mt(cn.to(),sn.head));var Kn=zt.ranges.slice(0);Kn[Nt]=Zl(I,new le(st(Me,Fn),si)),Eo(Me,Ee(I,Kn,Nt),q)}}var nn=ie.wrapper.getBoundingClientRect(),xn=0;function Bn(li){var Je=++xn,te=ca(I,li,!0,ee.unit=="rectangle");if(!te)return;if(Kt(te,Ur)!=0){I.curOp.focus=B(),en(te);var ke=ja(ie,Me);(te.line>=ke.to||te.line<ke.from)&&setTimeout(Za(I,function(){xn==Je&&Bn(li)}),150)}else{var Ze=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Ze&&setTimeout(Za(I,function(){if(xn!=Je)return;ie.scroller.scrollTop+=Ze,Bn(li)}),50)}}function Zn(li){I.state.selectingText=!1,xn=Infinity,li&&(Ve(li),ie.input.focus()),Ke(ie.wrapper.ownerDocument,"mousemove",Jn),Ke(ie.wrapper.ownerDocument,"mouseup",oi),Me.history.lastSelOrigin=null}var Jn=Za(I,function(li){li.buttons===0||!be(li)?Zn(li):Bn(li)}),oi=Za(I,Zn);I.state.selectingText=oi,Be(ie.wrapper.ownerDocument,"mousemove",Jn),Be(ie.wrapper.ownerDocument,"mouseup",oi)}function Zl(I,M){var Z=M.anchor,ee=M.head,ie=ne(I.doc,Z.line);if(Kt(Z,ee)==0&&Z.sticky==ee.sticky)return M;var Me=ht(ie);if(!Me)return M;var mt=Le(Me,Z.ch,Z.sticky),Nt=Me[mt];if(Nt.from!=Z.ch&&Nt.to!=Z.ch)return M;var zt=mt+(Nt.from==Z.ch==(Nt.level!=1)?0:1);if(zt==0||zt==Me.length)return M;var Yt;if(ee.line!=Z.line)Yt=(ee.line-Z.line)*(I.doc.direction=="ltr"?1:-1)>0;else{var Cr=Le(Me,ee.ch,ee.sticky),Ur=Cr-mt||(ee.ch-Z.ch)*(Nt.level==1?-1:1);Cr==zt-1||Cr==zt?Yt=Ur<0:Yt=Ur>0}var en=Me[zt+(Yt?-1:0)],nn=Yt==(en.level==1),xn=nn?en.from:en.to,Bn=nn?"after":"before";return Z.ch==xn&&Z.sticky==Bn?M:new le(new Rt(Z.line,xn,Bn),ee)}function $l(I,M,Z,ee){var ie,Me;if(M.touches)ie=M.touches[0].clientX,Me=M.touches[0].clientY;else try{ie=M.clientX,Me=M.clientY}catch(en){return!1}if(ie>=Math.floor(I.display.gutters.getBoundingClientRect().right))return!1;ee&&Ve(M);var mt=I.display,Nt=mt.lineDiv.getBoundingClientRect();if(Me>Nt.bottom||!tt(I,Z))return re(M);Me-=Nt.top-mt.viewOffset;for(var zt=0;zt<I.display.gutterSpecs.length;++zt){var Yt=mt.gutters.childNodes[zt];if(Yt&&Yt.getBoundingClientRect().right>=ie){var Cr=vt(I.doc,Me),Ur=I.display.gutterSpecs[zt];return At(I,Z,I,Cr,Ur.className,M),re(M)}}}function Ol(I,M){return $l(I,M,"gutterClick",!0)}function ec(I,M){if(St(I.display,M)||cc(I,M))return;if(Xe(I,M,"contextmenu"))return;T||I.display.input.onContextMenu(M)}function cc(I,M){return tt(I,"gutterContextMenu")?$l(I,M,"gutterContextMenu",!1):!1}function Il(I){I.display.wrapper.className=I.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+I.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(I)}var js={toString:function(){return"CodeMirror.Init"}},_l={},Al={};function uc(I){var M=I.optionHandlers;function Z(ee,ie,Me,mt){I.defaults[ee]=ie,Me&&(M[ee]=mt?function(Nt,zt,Yt){Yt!=js&&Me(Nt,zt,Yt)}:Me)}I.defineOption=Z,I.Init=js,Z("value","",function(ee,ie){return ee.setValue(ie)},!0),Z("mode",null,function(ee,ie){ee.doc.modeOption=ie,Rr(ee)},!0),Z("indentUnit",2,Rr,!0),Z("indentWithTabs",!1),Z("smartIndent",!0),Z("tabSize",4,function(ee){$r(ee),yi(ee),gi(ee)},!0),Z("lineSeparator",null,function(ee,ie){if(ee.doc.lineSep=ie,!ie)return;var Me=[],mt=ee.doc.first;ee.doc.iter(function(zt){for(var Yt=0;;){var Cr=zt.text.indexOf(ie,Yt);if(Cr==-1)break;Yt=Cr+ie.length,Me.push(Rt(mt,Cr))}mt++});for(var Nt=Me.length-1;Nt>=0;Nt--)qo(ee.doc,ie,Me[Nt],Rt(Me[Nt].line,Me[Nt].ch+ie.length))}),Z("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ee,ie,Me){ee.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),Me!=js&&ee.refresh()}),Z("specialCharPlaceholder",Wi,function(ee){return ee.refresh()},!0),Z("electricChars",!0),Z("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Z("spellcheck",!1,function(ee,ie){return ee.getInputField().spellcheck=ie},!0),Z("autocorrect",!1,function(ee,ie){return ee.getInputField().autocorrect=ie},!0),Z("autocapitalize",!1,function(ee,ie){return ee.getInputField().autocapitalize=ie},!0),Z("rtlMoveVisually",!E),Z("wholeLineUpdateBefore",!0),Z("theme","default",function(ee){Il(ee),as(ee)},!0),Z("keyMap","default",function(ee,ie,Me){var mt=xl(ie),Nt=Me!=js&&xl(Me);Nt&&Nt.detach&&Nt.detach(ee,mt),mt.attach&&mt.attach(ee,Nt||null)}),Z("extraKeys",null),Z("configureMouse",null),Z("lineWrapping",!1,sl,!0),Z("gutters",[],function(ee,ie){ee.display.gutterSpecs=Ns(ie,ee.options.lineNumbers),as(ee)},!0),Z("fixedGutter",!0,function(ee,ie){ee.display.gutters.style.left=ie?Xi(ee.display)+"px":"0",ee.refresh()},!0),Z("coverGutterNextToScrollbar",!1,function(ee){return Ra(ee)},!0),Z("scrollbarStyle","native",function(ee){vo(ee),Ra(ee),ee.display.scrollbars.setScrollTop(ee.doc.scrollTop),ee.display.scrollbars.setScrollLeft(ee.doc.scrollLeft)},!0),Z("lineNumbers",!1,function(ee,ie){ee.display.gutterSpecs=Ns(ee.options.gutters,ie),as(ee)},!0),Z("firstLineNumber",1,as,!0),Z("lineNumberFormatter",function(ee){return ee},as,!0),Z("showCursorWhenSelecting",!1,Ki,!0),Z("resetSelectionOnContextMenu",!0),Z("lineWiseCopyCut",!0),Z("pasteLinesPerSelection",!0),Z("selectionsMayTouch",!1),Z("readOnly",!1,function(ee,ie){ie=="nocursor"&&(Oi(ee),ee.display.input.blur()),ee.display.input.readOnlyChanged(ie)}),Z("screenReaderLabel",null,function(ee,ie){ie=ie===""?null:ie,ee.display.input.screenReaderLabelChanged(ie)}),Z("disableInput",!1,function(ee,ie){ie||ee.display.input.reset()},!0),Z("dragDrop",!0,dc),Z("allowDropFileTypes",null),Z("cursorBlinkRate",530),Z("cursorScrollMargin",0),Z("cursorHeight",1,Ki,!0),Z("singleCursorHeightPerLine",!0,Ki,!0),Z("workTime",100),Z("workDelay",100),Z("flattenSpans",!0,$r,!0),Z("addModeClass",!1,$r,!0),Z("pollInterval",100),Z("undoDepth",200,function(ee,ie){return ee.doc.history.undoDepth=ie}),Z("historyEventDelay",1250),Z("viewportMargin",10,function(ee){return ee.refresh()},!0),Z("maxHighlightLength",1e4,$r,!0),Z("moveInputWithCursor",!0,function(ee,ie){ie||ee.display.input.resetPosition()}),Z("tabindex",null,function(ee,ie){return ee.display.input.getField().tabIndex=ie||""}),Z("autofocus",null),Z("direction","ltr",function(ee,ie){return ee.doc.setDirection(ie)},!0),Z("phrases",null)}function dc(I,M,Z){var ee=Z&&Z!=js;if(!M!=!ee){var ie=I.display.dragFunctions,Me=M?Be:Ke;Me(I.display.scroller,"dragstart",ie.start),Me(I.display.scroller,"dragenter",ie.enter),Me(I.display.scroller,"dragover",ie.over),Me(I.display.scroller,"dragleave",ie.leave),Me(I.display.scroller,"drop",ie.drop)}}function sl(I){I.options.lineWrapping?(z(I.display.wrapper,"CodeMirror-wrap"),I.display.sizer.style.minWidth="",I.display.sizerWidth=null):(x(I.display.wrapper,"CodeMirror-wrap"),jn(I)),Aa(I),gi(I),yi(I),setTimeout(function(){return Ra(I)},100)}function at(I,M){var Z=this;if(!(this instanceof at))return new at(I,M);this.options=M=M?H(M):{},H(_l,M,!1);var ee=M.value;typeof ee=="string"?ee=new es(ee,M.mode,null,M.lineSeparator,M.direction):M.mode&&(ee.modeOption=M.mode),this.doc=ee;var ie=new at.inputStyles[M.inputStyle](this),Me=this.display=new $s(I,ee,ie,M);Me.wrapper.CodeMirror=this,Il(this),M.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new X,keySeq:null,specialChars:null},M.autofocus&&!p&&Me.input.focus(),c&&a<11&&setTimeout(function(){return Z.display.input.reset(!0)},20),fe(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Qn(this,ee),M.autofocus&&!p||this.hasFocus()?setTimeout(function(){Z.hasFocus()&&!Z.state.focused&&pa(Z)},20):Oi(this);for(var mt in Al)Al.hasOwnProperty(mt)&&Al[mt](this,M[mt],js);ls(this),M.finishInit&&M.finishInit(this);for(var Nt=0;Nt<je.length;++Nt)je[Nt](this);xo(this),i&&M.lineWrapping&&getComputedStyle(Me.lineDiv).textRendering=="optimizelegibility"&&(Me.lineDiv.style.textRendering="auto")}at.defaults=_l,at.optionHandlers=Al;function fe(I){var M=I.display;Be(M.scroller,"mousedown",Za(I,Ll)),c&&a<11?Be(M.scroller,"dblclick",Za(I,function(zt){if(Xe(I,zt))return;var Yt=ca(I,zt);if(!Yt||Ol(I,zt)||St(I.display,zt))return;Ve(zt);var Cr=I.findWordAt(Yt);wo(I.doc,Cr.anchor,Cr.head)})):Be(M.scroller,"dblclick",function(zt){return Xe(I,zt)||Ve(zt)}),Be(M.scroller,"contextmenu",function(zt){return ec(I,zt)}),Be(M.input.getField(),"contextmenu",function(zt){M.scroller.contains(zt.target)||ec(I,zt)});var Z,ee={end:0};function ie(){M.activeTouch&&(Z=setTimeout(function(){return M.activeTouch=null},1e3),ee=M.activeTouch,ee.end=+new Date)}function Me(zt){if(zt.touches.length!=1)return!1;var Yt=zt.touches[0];return Yt.radiusX<=1&&Yt.radiusY<=1}function mt(zt,Yt){if(Yt.left==null)return!0;var Cr=Yt.left-zt.left,Ur=Yt.top-zt.top;return Cr*Cr+Ur*Ur>20*20}Be(M.scroller,"touchstart",function(zt){if(!Xe(I,zt)&&!Me(zt)&&!Ol(I,zt)){M.input.ensurePolled(),clearTimeout(Z);var Yt=+new Date;M.activeTouch={start:Yt,moved:!1,prev:Yt-ee.end<=300?ee:null},zt.touches.length==1&&(M.activeTouch.left=zt.touches[0].pageX,M.activeTouch.top=zt.touches[0].pageY)}}),Be(M.scroller,"touchmove",function(){M.activeTouch&&(M.activeTouch.moved=!0)}),Be(M.scroller,"touchend",function(zt){var Yt=M.activeTouch;if(Yt&&!St(M,zt)&&Yt.left!=null&&!Yt.moved&&new Date-Yt.start<300){var Cr=I.coordsChar(M.activeTouch,"page"),Ur;!Yt.prev||mt(Yt,Yt.prev)?Ur=new le(Cr,Cr):!Yt.prev.prev||mt(Yt,Yt.prev.prev)?Ur=I.findWordAt(Cr):Ur=new le(Rt(Cr.line,0),st(I.doc,Rt(Cr.line+1,0))),I.setSelection(Ur.anchor,Ur.head),I.focus(),Ve(zt)}ie()}),Be(M.scroller,"touchcancel",ie),Be(M.scroller,"scroll",function(){M.scroller.clientHeight&&(Gi(I,M.scroller.scrollTop),go(I,M.scroller.scrollLeft,!0),At(I,"scroll",I))}),Be(M.scroller,"mousewheel",function(zt){return Os(I,zt)}),Be(M.scroller,"DOMMouseScroll",function(zt){return Os(I,zt)}),Be(M.wrapper,"scroll",function(){return M.wrapper.scrollTop=M.wrapper.scrollLeft=0}),M.dragFunctions={enter:function(Yt){Xe(I,Yt)||it(Yt)},over:function(Yt){Xe(I,Yt)||(Ml(I,Yt),it(Yt))},start:function(Yt){return Rl(I,Yt)},drop:Za(I,ac),leave:function(Yt){Xe(I,Yt)||bl(I)}};var Nt=M.input.getField();Be(Nt,"keyup",function(zt){return Bs.call(I,zt)}),Be(Nt,"keydown",Za(I,Ws)),Be(Nt,"keypress",Za(I,Us)),Be(Nt,"focus",function(zt){return pa(I,zt)}),Be(Nt,"blur",function(zt){return Oi(I,zt)})}var je=[];at.defineInitHook=function(I){return je.push(I)};function wt(I,M,Z,ee){var ie=I.doc,Me;Z==null&&(Z="add"),Z=="smart"&&(ie.mode.indent?Me=Ht(I,M).state:Z="prev");var mt=I.options.tabSize,Nt=ne(ie,M),zt=V(Nt.text,null,mt);Nt.stateAfter&&(Nt.stateAfter=null);var Yt=Nt.text.match(/^\s*/)[0],Cr;if(!ee&&!/\S/.test(Nt.text))Cr=0,Z="not";else if(Z=="smart"&&(Cr=ie.mode.indent(Me,Nt.text.slice(Yt.length),Nt.text),Cr==$||Cr>150)){if(!ee)return;Z="prev"}Z=="prev"?M>ie.first?Cr=V(ne(ie,M-1).text,null,mt):Cr=0:Z=="add"?Cr=zt+I.options.indentUnit:Z=="subtract"?Cr=zt-I.options.indentUnit:typeof Z=="number"&&(Cr=zt+Z),Cr=Math.max(0,Cr);var Ur="",en=0;if(I.options.indentWithTabs)for(var nn=Math.floor(Cr/mt);nn;--nn)en+=mt,Ur+=" ";if(en<Cr&&(Ur+=Ue(Cr-en)),Ur!=Yt)return qo(ie,Ur,Rt(M,0),Rt(M,Yt.length),"+input"),Nt.stateAfter=null,!0;for(var xn=0;xn<ie.sel.ranges.length;xn++){var Bn=ie.sel.ranges[xn];if(Bn.head.line==M&&Bn.head.ch<Yt.length){var Zn=Rt(M,Yt.length);ns(ie,xn,new le(Zn,Zn));break}}}var kt=null;function qt(I){kt=I}function ar(I,M,Z,ee,ie){var Me=I.doc;I.display.shift=!1,ee||(ee=Me.sel);var mt=+new Date-200,Nt=ie=="paste"||I.state.pasteIncoming>mt,zt=or(M),Yt=null;if(Nt&&ee.ranges.length>1)if(kt&&kt.text.join(`
|
|
|
`)==M){if(ee.ranges.length%kt.text.length==0){Yt=[];for(var Cr=0;Cr<kt.text.length;Cr++)Yt.push(Me.splitLines(kt.text[Cr]))}}else zt.length==ee.ranges.length&&I.options.pasteLinesPerSelection&&(Yt=gt(zt,function(Jn){return[Jn]}));for(var Ur=I.curOp.updateInput,en=ee.ranges.length-1;en>=0;en--){var nn=ee.ranges[en],xn=nn.from(),Bn=nn.to();nn.empty()&&(Z&&Z>0?xn=Rt(xn.line,xn.ch-Z):I.state.overwrite&&!Nt?Bn=Rt(Bn.line,Math.min(ne(Me,Bn.line).text.length,Bn.ch+Qe(zt).length)):Nt&&kt&&kt.lineWise&&kt.text.join(`
|
|
|
`)==zt.join(`
|
|
|
`)&&(xn=Bn=Rt(xn.line,0)));var Zn={from:xn,to:Bn,text:Yt?Yt[en%Yt.length]:zt,origin:ie||(Nt?"paste":I.state.cutIncoming>mt?"cut":"+input")};bs(I.doc,Zn),Tr(I,"inputRead",I,Zn)}M&&!Nt&&yr(I,M),Ia(I),I.curOp.updateInput<2&&(I.curOp.updateInput=Ur),I.curOp.typing=!0,I.state.pasteIncoming=I.state.cutIncoming=-1}function lr(I,M){var Z=I.clipboardData&&I.clipboardData.getData("Text");if(Z)return I.preventDefault(),!M.isReadOnly()&&!M.options.disableInput&&bo(M,function(){return ar(M,Z,0,null,"paste")}),!0}function yr(I,M){if(!I.options.electricChars||!I.options.smartIndent)return;for(var Z=I.doc.sel,ee=Z.ranges.length-1;ee>=0;ee--){var ie=Z.ranges[ee];if(ie.head.ch>100||ee&&Z.ranges[ee-1].head.line==ie.head.line)continue;var Me=I.getModeAt(ie.head),mt=!1;if(Me.electricChars){for(var Nt=0;Nt<Me.electricChars.length;Nt++)if(M.indexOf(Me.electricChars.charAt(Nt))>-1){mt=wt(I,ie.head.line,"smart");break}}else Me.electricInput&&(Me.electricInput.test(ne(I.doc,ie.head.line).text.slice(0,ie.head.ch))&&(mt=wt(I,ie.head.line,"smart")));mt&&Tr(I,"electricInput",I,ie.head.line)}}function Vr(I){for(var M=[],Z=[],ee=0;ee<I.doc.sel.ranges.length;ee++){var ie=I.doc.sel.ranges[ee].head.line,Me={anchor:Rt(ie,0),head:Rt(ie+1,0)};Z.push(Me),M.push(I.getRange(Me.anchor,Me.head))}return{text:M,ranges:Z}}function Xr(I,M,Z,ee){I.setAttribute("autocorrect",Z?"":"off"),I.setAttribute("autocapitalize",ee?"":"off"),I.setAttribute("spellcheck",!!M)}function Br(){var I=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),M=N("div",[I],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return i?I.style.width="1000px":I.setAttribute("wrap","off"),s&&(I.style.border="1px solid black"),Xr(I),M}function kr(I){var M=I.optionHandlers,Z=I.helpers={};I.prototype={constructor:I,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ie,Me){var mt=this.options,Nt=mt[ie];if(mt[ie]==Me&&ie!="mode")return;mt[ie]=Me,M.hasOwnProperty(ie)&&Za(this,M[ie])(this,Me,Nt),At(this,"optionChange",this,ie)},getOption:function(ie){return this.options[ie]},getDoc:function(){return this.doc},addKeyMap:function(ie,Me){this.state.keyMaps[Me?"push":"unshift"](xl(ie))},removeKeyMap:function(ie){for(var Me=this.state.keyMaps,mt=0;mt<Me.length;++mt)if(Me[mt]==ie||Me[mt].name==ie)return Me.splice(mt,1),!0},addOverlay:Ga(function(ee,ie){var Me=ee.token?ee:I.getMode(this.options,ee);if(Me.startState)throw new Error("Overlays may not be stateful.");_e(this.state.overlays,{mode:Me,modeSpec:ee,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(mt){return mt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(ee){for(var ie=this.state.overlays,Me=0;Me<ie.length;++Me){var mt=ie[Me].modeSpec;if(mt==ee||typeof ee=="string"&&mt.name==ee){ie.splice(Me,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(ee,ie,Me){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),Wt(this.doc,ee)&&wt(this,ee,ie,Me)}),indentSelection:Ga(function(ee){for(var ie=this.doc.sel.ranges,Me=-1,mt=0;mt<ie.length;mt++){var Nt=ie[mt];if(Nt.empty())Nt.head.line>Me&&(wt(this,Nt.head.line,ee,!0),Me=Nt.head.line,mt==this.doc.sel.primIndex&&Ia(this));else{var zt=Nt.from(),Yt=Nt.to(),Cr=Math.max(Me,zt.line);Me=Math.min(this.lastLine(),Yt.line-(Yt.ch?0:1))+1;for(var Ur=Cr;Ur<Me;++Ur)wt(this,Ur,ee);var en=this.doc.sel.ranges;zt.ch==0&&ie.length==en.length&&en[mt].from().ch>0&&ns(this.doc,mt,new le(zt,en[mt].to()),ge)}}}),getTokenAt:function(ie,Me){return Ar(this,ie,Me)},getLineTokens:function(ie,Me){return Ar(this,Rt(ie),Me,!0)},getTokenTypeAt:function(ie){ie=st(this.doc,ie);var Me=ft(this,ne(this.doc,ie.line)),mt=0,Nt=(Me.length-1)/2,zt=ie.ch,Yt;if(zt==0)Yt=Me[2];else for(;;){var Cr=mt+Nt>>1;if((Cr?Me[Cr*2-1]:0)>=zt)Nt=Cr;else if(Me[Cr*2+1]<zt)mt=Cr+1;else{Yt=Me[Cr*2+2];break}}var Ur=Yt?Yt.indexOf("overlay "):-1;return Ur<0?Yt:Ur==0?null:Yt.slice(0,Ur-1)},getModeAt:function(ie){var Me=this.doc.mode;return Me.innerMode?I.innerMode(Me,this.getTokenAt(ie).state).mode:Me},getHelper:function(ie,Me){return this.getHelpers(ie,Me)[0]},getHelpers:function(ie,Me){var mt=[];if(!Z.hasOwnProperty(Me))return mt;var Nt=Z[Me],zt=this.getModeAt(ie);if(typeof zt[Me]=="string")Nt[zt[Me]]&&mt.push(Nt[zt[Me]]);else if(zt[Me])for(var Yt=0;Yt<zt[Me].length;Yt++){var Cr=Nt[zt[Me][Yt]];Cr&&mt.push(Cr)}else zt.helperType&&Nt[zt.helperType]?mt.push(Nt[zt.helperType]):Nt[zt.name]&&mt.push(Nt[zt.name]);for(var Ur=0;Ur<Nt._global.length;Ur++){var en=Nt._global[Ur];en.pred(zt,this)&&W(mt,en.val)==-1&&mt.push(en.val)}return mt},getStateAfter:function(ie,Me){var mt=this.doc;return ie=er(mt,ie==null?mt.first+mt.size-1:ie),Ht(this,ie+1,Me).state},cursorCoords:function(ie,Me){var mt,Nt=this.doc.sel.primary();return ie==null?mt=Nt.head:typeof ie=="object"?mt=st(this.doc,ie):mt=ie?Nt.from():Nt.to(),Mi(this,mt,Me||"page")},charCoords:function(ie,Me){return Ui(this,st(this.doc,ie),Me||"page")},coordsChar:function(ie,Me){return ie=fa(this,ie,Me||"page"),qi(this,ie.left,ie.top)},lineAtHeight:function(ie,Me){return ie=fa(this,{top:ie,left:0},Me||"page").top,vt(this.doc,ie+this.display.viewOffset)},heightAtLine:function(ie,Me,mt){var Nt=!1,zt;if(typeof ie=="number"){var Yt=this.doc.first+this.doc.size-1;ie<this.doc.first?ie=this.doc.first:ie>Yt&&(ie=Yt,Nt=!0),zt=ne(this.doc,ie)}else zt=ie;return Ri(this,zt,{top:0,left:0},Me||"page",mt||Nt).top+(Nt?this.doc.height-Ln(zt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Ii(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ie,Me,mt,Nt,zt){var Yt=this.display;ie=Mi(this,st(this.doc,ie));var Cr=ie.bottom,Ur=ie.left;if(Me.style.position="absolute",Me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Me),Yt.sizer.appendChild(Me),Nt=="over")Cr=ie.top;else if(Nt=="above"||Nt=="near"){var en=Math.max(Yt.wrapper.clientHeight,this.doc.height),nn=Math.max(Yt.sizer.clientWidth,Yt.lineSpace.clientWidth);(Nt=="above"||ie.bottom+Me.offsetHeight>en)&&ie.top>Me.offsetHeight?Cr=ie.top-Me.offsetHeight:ie.bottom+Me.offsetHeight<=en&&(Cr=ie.bottom),Ur+Me.offsetWidth>nn&&(Ur=nn-Me.offsetWidth)}Me.style.top=Cr+"px",Me.style.left=Me.style.right="",zt=="right"?(Ur=Yt.sizer.clientWidth-Me.offsetWidth,Me.style.right="0px"):(zt=="left"?Ur=0:zt=="middle"&&(Ur=(Yt.sizer.clientWidth-Me.offsetWidth)/2),Me.style.left=Ur+"px"),mt&&Ca(this,{left:Ur,top:Cr,right:Ur+Me.offsetWidth,bottom:Cr+Me.offsetHeight})},triggerOnKeyDown:Ga(Ws),triggerOnKeyPress:Ga(Us),triggerOnKeyUp:Bs,triggerOnMouseDown:Ga(Ll),execCommand:function(ie){if(zs.hasOwnProperty(ie))return zs[ie].call(null,this)},triggerElectric:Ga(function(ee){yr(this,ee)}),findPosH:function(ie,Me,mt,Nt){var zt=1;Me<0&&(zt=-1,Me=-Me);for(var Yt=st(this.doc,ie),Cr=0;Cr<Me&&!(Yt=Gr(this.doc,Yt,zt,mt,Nt),Yt.hitSide);++Cr);return Yt},moveH:Ga(function(ee,ie){var Me=this;this.extendSelectionsBy(function(mt){return Me.display.shift||Me.doc.extend||mt.empty()?Gr(Me.doc,mt.head,ee,ie,Me.options.rtlMoveVisually):ee<0?mt.from():mt.to()},Se)}),deleteH:Ga(function(ee,ie){var Me=this.doc.sel,mt=this.doc;Me.somethingSelected()?mt.replaceSelection("",null,"+delete"):Qs(this,function(Nt){var zt=Gr(mt,Nt.head,ee,ie,!1);return ee<0?{from:zt,to:Nt.head}:{from:Nt.head,to:zt}})}),findPosV:function(ie,Me,mt,Nt){var zt=1,Yt=Nt;Me<0&&(zt=-1,Me=-Me);for(var Cr=st(this.doc,ie),Ur=0;Ur<Me;++Ur){var en=Mi(this,Cr,"div");if(Yt==null?Yt=en.left:en.left=Yt,Cr=dn(this,en,zt,mt),Cr.hitSide)break}return Cr},moveV:Ga(function(ee,ie){var Me=this,mt=this.doc,Nt=[],zt=!this.display.shift&&!mt.extend&&mt.sel.somethingSelected();if(mt.extendSelectionsBy(function(Cr){if(zt)return ee<0?Cr.from():Cr.to();var Ur=Mi(Me,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Nt.push(Ur.left);var en=dn(Me,Ur,ee,ie);return ie=="page"&&Cr==mt.sel.primary()&&Lo(Me,Ui(Me,en,"div").top-Ur.top),en},Se),Nt.length)for(var Yt=0;Yt<mt.sel.ranges.length;Yt++)mt.sel.ranges[Yt].goalColumn=Nt[Yt]}),findWordAt:function(ie){var Me=this.doc,mt=ne(Me,ie.line).text,Nt=ie.ch,zt=ie.ch;if(mt){var Yt=this.getHelper(ie,"wordChars");(ie.sticky=="before"||zt==mt.length)&&Nt?--Nt:++zt;for(var Cr=mt.charAt(Nt),Ur=K(Cr,Yt)?function(en){return K(en,Yt)}:/\s/.test(Cr)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!K(en)};Nt>0&&Ur(mt.charAt(Nt-1));)--Nt;for(;zt<mt.length&&Ur(mt.charAt(zt));)++zt}return new le(Rt(ie.line,Nt),Rt(ie.line,zt))},toggleOverwrite:function(ie){if(ie!=null&&ie==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?z(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),At(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==B()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(ee,ie){Fi(this,ee,ie)}),getScrollInfo:function(){var ie=this.display.scroller;return{left:ie.scrollLeft,top:ie.scrollTop,height:ie.scrollHeight-Mr(this)-this.display.barHeight,width:ie.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(ee,ie){ee==null?(ee={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof ee=="number"?ee={from:Rt(ee,0),to:null}:ee.from==null&&(ee={from:ee,to:null}),ee.to||(ee.to=ee.from),ee.margin=ie||0,ee.from.line!=null?Ja(this,ee):pi(this,ee.from,ee.to,ee.margin)}),setSize:Ga(function(ee,ie){var Me=this,mt=function(Yt){return typeof Yt=="number"||/^\d+$/.test(String(Yt))?Yt+"px":Yt};ee!=null&&(this.display.wrapper.style.width=mt(ee)),ie!=null&&(this.display.wrapper.style.height=mt(ie)),this.options.lineWrapping&&Di(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(zt){if(zt.widgets){for(var Yt=0;Yt<zt.widgets.length;Yt++)if(zt.widgets[Yt].noHScroll){Pa(Me,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,At(this,"refresh",this)}),operation:function(ie){return bo(this,ie)},startOperation:function(){return Zi(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var ee=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),Fi(this,this.doc.scrollLeft,this.doc.scrollTop),Bo(this.display),(ee==null||Math.abs(ee-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),At(this,"refresh",this)}),swapDoc:Ga(function(ee){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,ee),yi(this),this.display.input.reset(),Fi(this,ee.scrollLeft,ee.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,ie),ie}),phrase:function(ie){var Me=this.options.phrases;return Me&&Object.prototype.hasOwnProperty.call(Me,ie)?Me[ie]:ie},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ot(I),I.registerHelper=function(ee,ie,Me){Z.hasOwnProperty(ee)||(Z[ee]=I[ee]={_global:[]}),Z[ee][ie]=Me},I.registerGlobalHelper=function(ee,ie,Me,mt){I.registerHelper(ee,ie,mt),Z[ee]._global.push({pred:Me,val:mt})}}function Gr(I,M,Z,ee,ie){var Me=M,mt=Z,Nt=ne(I,M.line),zt=ie&&I.direction=="rtl"?-Z:Z;function Yt(){var oi=M.line+zt;return oi<I.first||oi>=I.first+I.size?!1:(M=new Rt(oi,M.ch,M.sticky),Nt=ne(I,oi))}function Cr(oi){var li;if(ee=="codepoint"){var Je=Nt.text.charCodeAt(M.ch+(ee>0?0:-1));isNaN(Je)?li=null:li=new Rt(M.line,Math.max(0,Math.min(Nt.text.length,M.ch+Z*(Je>=55296&&Je<56320?2:1))),-Z)}else ie?li=El(I.cm,Nt,M,Z):li=il(Nt,M,Z);if(li==null)if(!oi&&Yt())M=fl(ie,I.cm,Nt,M.line,zt);else return!1;else M=li;return!0}if(ee=="char"||ee=="codepoint")Cr();else if(ee=="column")Cr(!0);else if(ee=="word"||ee=="group")for(var Ur=null,en=ee=="group",nn=I.cm&&I.cm.getHelper(M,"wordChars"),xn=!0;!(Z<0&&!Cr(!xn));xn=!1){var Bn=Nt.text.charAt(M.ch)||`
|
|
|
`,Zn=K(Bn,nn)?"w":en&&Bn==`
|
|
|
`?"n":!en||/\s/.test(Bn)?null:"p";if(en&&!xn&&!Zn&&(Zn="s"),Ur&&Ur!=Zn){Z<0&&(Z=1,Cr(),M.sticky="after");break}if(Zn&&(Ur=Zn),Z>0&&!Cr(!xn))break}var Jn=Ms(I,M,Me,mt,!0);return Gt(Me,Jn)&&(Jn.hitSide=!0),Jn}function dn(I,M,Z,ee){var ie=I.doc,Me=M.left,mt;if(ee=="page"){var Nt=Math.min(I.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),zt=Math.max(Nt-.5*Ai(I.display),3);mt=(Z>0?M.bottom:M.top)+Z*zt}else ee=="line"&&(mt=Z>0?M.bottom+3:M.top-3);for(var Yt;!(Yt=qi(I,Me,mt),!Yt.outside);){if(Z<0?mt<=0:mt>=ie.height){Yt.hitSide=!0;break}mt+=Z*5}return Yt}var pn=function(M){this.cm=M,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new X,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(I){var M=this,Z=this,ee=Z.cm,ie=Z.div=I.lineDiv;Xr(ie,ee.options.spellcheck,ee.options.autocorrect,ee.options.autocapitalize);function Me(Nt){for(var zt=Nt.target;zt;zt=zt.parentNode){if(zt==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(zt.className))break}return!1}Be(ie,"paste",function(Nt){if(!Me(Nt)||Xe(ee,Nt)||lr(Nt,ee))return;a<=11&&setTimeout(Za(ee,function(){return M.updateFromDOM()}),20)}),Be(ie,"compositionstart",function(Nt){M.composing={data:Nt.data,done:!1}}),Be(ie,"compositionupdate",function(Nt){M.composing||(M.composing={data:Nt.data,done:!1})}),Be(ie,"compositionend",function(Nt){M.composing&&(Nt.data!=M.composing.data&&M.readFromDOMSoon(),M.composing.done=!0)}),Be(ie,"touchstart",function(){return Z.forceCompositionEnd()}),Be(ie,"input",function(){M.composing||M.readFromDOMSoon()});function mt(Nt){if(!Me(Nt)||Xe(ee,Nt))return;if(ee.somethingSelected())qt({lineWise:!1,text:ee.getSelections()}),Nt.type=="cut"&&ee.replaceSelection("",null,"cut");else if(ee.options.lineWiseCopyCut){var zt=Vr(ee);qt({lineWise:!0,text:zt.text}),Nt.type=="cut"&&ee.operation(function(){ee.setSelections(zt.ranges,0,ge),ee.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Yt=kt.text.join(`
|
|
|
`);if(Nt.clipboardData.setData("Text",Yt),Nt.clipboardData.getData("Text")==Yt){Nt.preventDefault();return}}var Cr=Br(),Ur=Cr.firstChild;ee.display.lineSpace.insertBefore(Cr,ee.display.lineSpace.firstChild),Ur.value=kt.text.join(`
|
|
|
`);var en=document.activeElement;U(Ur),setTimeout(function(){ee.display.lineSpace.removeChild(Cr),en.focus(),en==ie&&Z.showPrimarySelection()},50)}Be(ie,"copy",mt),Be(ie,"cut",mt)},pn.prototype.screenReaderLabelChanged=function(I){I?this.div.setAttribute("aria-label",I):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var I=zi(this.cm,!1);return I.focus=document.activeElement==this.div,I},pn.prototype.showSelection=function(I,M){if(!I||!this.cm.display.view.length)return;(I.focus||M)&&this.showPrimarySelection(),this.showMultipleSelections(I)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var I=this.getSelection(),M=this.cm,Z=M.doc.sel.primary(),ee=Z.from(),ie=Z.to();if(M.display.viewTo==M.display.viewFrom||ee.line>=M.display.viewTo||ie.line<M.display.viewFrom){I.removeAllRanges();return}var Me=Si(M,I.anchorNode,I.anchorOffset),mt=Si(M,I.focusNode,I.focusOffset);if(Me&&!Me.bad&&mt&&!mt.bad&&Kt(dr(Me,mt),ee)==0&&Kt(Mt(Me,mt),ie)==0)return;var Nt=M.display.view,zt=ee.line>=M.display.viewFrom&&ei(M,ee)||{node:Nt[0].measure.map[2],offset:0},Yt=ie.line<M.display.viewTo&&ei(M,ie);if(!Yt){var Cr=Nt[Nt.length-1].measure,Ur=Cr.maps?Cr.maps[Cr.maps.length-1]:Cr.map;Yt={node:Ur[Ur.length-1],offset:Ur[Ur.length-2]-Ur[Ur.length-3]}}if(!zt||!Yt){I.removeAllRanges();return}var en=I.rangeCount&&I.getRangeAt(0),nn;try{nn=k(zt.node,zt.offset,Yt.offset,Yt.node)}catch(xn){}nn&&(!y&&M.state.focused?(I.collapse(zt.node,zt.offset),nn.collapsed||(I.removeAllRanges(),I.addRange(nn))):(I.removeAllRanges(),I.addRange(nn)),en&&I.anchorNode==null?I.addRange(en):y&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var I=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){I.gracePeriod=!1,I.selectionChanged()&&I.cm.operation(function(){return I.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(I){O(this.cm.display.cursorDiv,I.cursors),O(this.cm.display.selectionDiv,I.selection)},pn.prototype.rememberSelection=function(){var I=this.getSelection();this.lastAnchorNode=I.anchorNode,this.lastAnchorOffset=I.anchorOffset,this.lastFocusNode=I.focusNode,this.lastFocusOffset=I.focusOffset},pn.prototype.selectionInEditor=function(){var I=this.getSelection();if(!I.rangeCount)return!1;var M=I.getRangeAt(0).commonAncestorContainer;return P(this.div,M)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var I=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return I.cm.curOp.selectionChanged=!0});function M(){I.cm.state.focused&&(I.pollSelection(),I.polling.set(I.cm.options.pollInterval,M))}this.polling.set(this.cm.options.pollInterval,M)},pn.prototype.selectionChanged=function(){var I=this.getSelection();return I.anchorNode!=this.lastAnchorNode||I.anchorOffset!=this.lastAnchorOffset||I.focusNode!=this.lastFocusNode||I.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var I=this.getSelection(),M=this.cm;if(u&&o&&this.cm.display.gutterSpecs.length&&ci(I.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var Z=Si(M,I.anchorNode,I.anchorOffset),ee=Si(M,I.focusNode,I.focusOffset);Z&&ee&&bo(M,function(){Eo(M.doc,Ie(Z,ee),ge),(Z.bad||ee.bad)&&(M.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var I=this.cm,M=I.display,Z=I.doc.sel.primary(),ee=Z.from(),ie=Z.to();if(ee.ch==0&&ee.line>I.firstLine()&&(ee=Rt(ee.line-1,ne(I.doc,ee.line-1).length)),ie.ch==ne(I.doc,ie.line).text.length&&ie.line<I.lastLine()&&(ie=Rt(ie.line+1,0)),ee.line<M.viewFrom||ie.line>M.viewTo-1)return!1;var Me,mt,Nt;ee.line==M.viewFrom||(Me=la(I,ee.line))==0?(mt=$e(M.view[0].line),Nt=M.view[0].node):(mt=$e(M.view[Me].line),Nt=M.view[Me-1].node.nextSibling);var zt=la(I,ie.line),Yt,Cr;if(zt==M.view.length-1?(Yt=M.viewTo-1,Cr=M.lineDiv.lastChild):(Yt=$e(M.view[zt+1].line)-1,Cr=M.view[zt+1].node.previousSibling),!Nt)return!1;for(var Ur=I.doc.splitLines(Ji(I,Nt,Cr,mt,Yt)),en=xe(I.doc,Rt(mt,0),Rt(Yt,ne(I.doc,Yt).text.length));Ur.length>1&&en.length>1;)if(Qe(Ur)==Qe(en))Ur.pop(),en.pop(),Yt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),mt++;else break;for(var nn=0,xn=0,Bn=Ur[0],Zn=en[0],Jn=Math.min(Bn.length,Zn.length);nn<Jn&&Bn.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=Qe(Ur),li=Qe(en),Je=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<Je&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&mt==ee.line)for(;nn&&nn>ee.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;Ur[Ur.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),Ur[0]=Ur[0].slice(nn).replace(/\u200b+$/,"");var te=Rt(mt,nn),ke=Rt(Yt,en.length?Qe(en).length-xn:0);if(Ur.length>1||Ur[0]||Kt(te,ke))return qo(I.doc,Ur,te,ke,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var I=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(I.readDOMTimeout=null,I.composing)if(I.composing.done)I.composing=null;else return;I.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var I=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(I.cm)})},pn.prototype.setUneditable=function(I){I.contentEditable="false"},pn.prototype.onKeyPress=function(I){if(I.charCode==0||this.composing)return;I.preventDefault(),this.cm.isReadOnly()||Za(this.cm,ar)(this.cm,String.fromCharCode(I.charCode==null?I.keyCode:I.charCode),0)},pn.prototype.readOnlyChanged=function(I){this.div.contentEditable=String(I!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(I,M){var Z=bn(I,M.line);if(!Z||Z.hidden)return null;var ee=ne(I.doc,M.line),ie=wn(Z,ee,M.line),Me=ht(ee,I.doc.direction),mt="left";if(Me){var Nt=Le(Me,M.ch);mt=Nt%2?"right":"left"}var zt=En(ie.map,M.ch,mt);return zt.offset=zt.collapse=="right"?zt.end:zt.start,zt}function ci(I){for(var M=I;M;M=M.parentNode)if(/CodeMirror-gutter-wrapper/.test(M.className))return!0;return!1}function ii(I,M){return M&&(I.bad=!0),I}function Ji(I,M,Z,ee,ie){var Me="",mt=!1,Nt=I.doc.lineSeparator(),zt=!1;function Yt(nn){return function(xn){return xn.id==nn}}function Cr(){mt&&(Me+=Nt,zt&&(Me+=Nt),mt=zt=!1)}function Ur(nn){nn&&(Cr(),Me+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Bn=nn.getAttribute("cm-marker"),Zn;if(Bn){var Jn=I.findMarks(Rt(ee,0),Rt(ie+1,0),Yt(+Bn));Jn.length&&(Zn=Jn[0].find(0))&&Ur(xe(I.doc,Zn.from,Zn.to).join(Nt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Cr();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(zt=!0),oi&&(mt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(M),M==Z);)M=M.nextSibling,zt=!1;return Me}function Si(I,M,Z){var ee;if(M==I.display.lineDiv){if(ee=I.display.lineDiv.childNodes[Z],!ee)return ii(I.clipPos(Rt(I.display.viewTo-1)),!0);M=null,Z=0}else for(ee=M;;ee=ee.parentNode){if(!ee||ee==I.display.lineDiv)return null;if(ee.parentNode&&ee.parentNode==I.display.lineDiv)break}for(var ie=0;ie<I.display.view.length;ie++){var Me=I.display.view[ie];if(Me.node==ee)return Va(Me,M,Z)}}function Va(I,M,Z){var ee=I.text.firstChild,ie=!1;if(!M||!P(ee,M))return ii(Rt($e(I.line),0),!0);if(M==ee&&(ie=!0,M=ee.childNodes[Z],Z=0,!M)){var Me=I.rest?Qe(I.rest):I.line;return ii(Rt($e(Me),Me.text.length),ie)}var mt=M.nodeType==3?M:null,Nt=M;for(!mt&&M.childNodes.length==1&&M.firstChild.nodeType==3&&(mt=M.firstChild,Z&&(Z=mt.nodeValue.length));Nt.parentNode!=ee;)Nt=Nt.parentNode;var zt=I.measure,Yt=zt.maps;function Cr(Zn,Jn,oi){for(var li=-1;li<(Yt?Yt.length:0);li++)for(var Je=li<0?zt.map:Yt[li],te=0;te<Je.length;te+=3){var ke=Je[te+2];if(ke==Zn||ke==Jn){var Ze=$e(li<0?I.line:I.rest[li]),Lt=Je[te]+oi;return(oi<0||ke!=Zn)&&(Lt=Je[te+(oi?1:0)]),Rt(Ze,Lt)}}}var Ur=Cr(mt,Nt,Z);if(Ur)return ii(Ur,ie);for(var en=Nt.nextSibling,nn=mt?mt.nodeValue.length-Z:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Rt(Ur.line,Ur.ch-nn),ie);nn+=en.textContent.length}for(var xn=Nt.previousSibling,Bn=Z;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Rt(Ur.line,Ur.ch+Bn),ie);Bn+=xn.textContent.length}}var Ei=function(M){this.cm=M,this.prevInput="",this.pollingFast=!1,this.polling=new X,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(I){var M=this,Z=this,ee=this.cm;this.createField(I);var ie=this.textarea;I.wrapper.insertBefore(this.wrapper,I.wrapper.firstChild),s&&(ie.style.width="0px"),Be(ie,"input",function(){c&&a>=9&&M.hasSelection&&(M.hasSelection=null),Z.poll()}),Be(ie,"paste",function(mt){if(Xe(ee,mt)||lr(mt,ee))return;ee.state.pasteIncoming=+new Date,Z.fastPoll()});function Me(mt){if(Xe(ee,mt))return;if(ee.somethingSelected())qt({lineWise:!1,text:ee.getSelections()});else if(ee.options.lineWiseCopyCut){var Nt=Vr(ee);qt({lineWise:!0,text:Nt.text}),mt.type=="cut"?ee.setSelections(Nt.ranges,null,ge):(Z.prevInput="",ie.value=Nt.text.join(`
|
|
|
`),U(ie))}else return;mt.type=="cut"&&(ee.state.cutIncoming=+new Date)}Be(ie,"cut",Me),Be(ie,"copy",Me),Be(I.scroller,"paste",function(mt){if(St(I,mt)||Xe(ee,mt))return;if(!ie.dispatchEvent){ee.state.pasteIncoming=+new Date,Z.focus();return}var Nt=new Event("paste");Nt.clipboardData=mt.clipboardData,ie.dispatchEvent(Nt)}),Be(I.lineSpace,"selectstart",function(mt){St(I,mt)||Ve(mt)}),Be(ie,"compositionstart",function(){var mt=ee.getCursor("from");Z.composing&&Z.composing.range.clear(),Z.composing={start:mt,range:ee.markText(mt,ee.getCursor("to"),{className:"CodeMirror-composing"})}}),Be(ie,"compositionend",function(){Z.composing&&(Z.poll(),Z.composing.range.clear(),Z.composing=null)})},Ei.prototype.createField=function(I){this.wrapper=Br(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(I){I?this.textarea.setAttribute("aria-label",I):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var I=this.cm,M=I.display,Z=I.doc,ee=zi(I);if(I.options.moveInputWithCursor){var ie=Mi(I,Z.sel.primary().head,"div"),Me=M.wrapper.getBoundingClientRect(),mt=M.lineDiv.getBoundingClientRect();ee.teTop=Math.max(0,Math.min(M.wrapper.clientHeight-10,ie.top+mt.top-Me.top)),ee.teLeft=Math.max(0,Math.min(M.wrapper.clientWidth-10,ie.left+mt.left-Me.left))}return ee},Ei.prototype.showSelection=function(I){var M=this.cm,Z=M.display;O(Z.cursorDiv,I.cursors),O(Z.selectionDiv,I.selection),I.teTop!=null&&(this.wrapper.style.top=I.teTop+"px",this.wrapper.style.left=I.teLeft+"px")},Ei.prototype.reset=function(I){if(this.contextMenuPending||this.composing)return;var M=this.cm;if(M.somethingSelected()){this.prevInput="";var Z=M.getSelection();this.textarea.value=Z,M.state.focused&&U(this.textarea),c&&a>=9&&(this.hasSelection=Z)}else I||(this.prevInput=this.textarea.value="",c&&a>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!p||B()!=this.textarea))try{this.textarea.focus()}catch(I){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var I=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){I.poll(),I.cm.state.focused&&I.slowPoll()})},Ei.prototype.fastPoll=function(){var I=!1,M=this;M.pollingFast=!0;function Z(){var ee=M.poll();!ee&&!I?(I=!0,M.polling.set(60,Z)):(M.pollingFast=!1,M.slowPoll())}M.polling.set(20,Z)},Ei.prototype.poll=function(){var I=this,M=this.cm,Z=this.textarea,ee=this.prevInput;if(this.contextMenuPending||!M.state.focused||Bt(Z)&&!ee&&!this.composing||M.isReadOnly()||M.options.disableInput||M.state.keySeq)return!1;var ie=Z.value;if(ie==ee&&!M.somethingSelected())return!1;if(c&&a>=9&&this.hasSelection===ie||w&&/[\uf700-\uf7ff]/.test(ie))return M.display.input.reset(),!1;if(M.doc.sel==M.display.selForContextMenu){var Me=ie.charCodeAt(0);if(Me==8203&&!ee&&(ee="\u200B"),Me==8666)return this.reset(),this.cm.execCommand("undo")}for(var mt=0,Nt=Math.min(ee.length,ie.length);mt<Nt&&ee.charCodeAt(mt)==ie.charCodeAt(mt);)++mt;return bo(M,function(){ar(M,ie.slice(mt),ee.length-mt,null,I.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?Z.value=I.prevInput="":I.prevInput=ie,I.composing&&(I.composing.range.clear(),I.composing.range=M.markText(I.composing.start,M.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){c&&a>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(I){var M=this,Z=M.cm,ee=Z.display,ie=M.textarea;M.contextMenuPending&&M.contextMenuPending();var Me=ca(Z,I),mt=ee.scroller.scrollTop;if(!Me||d)return;var Nt=Z.options.resetSelectionOnContextMenu;Nt&&Z.doc.sel.contains(Me)==-1&&Za(Z,Eo)(Z.doc,Ie(Me),ge);var zt=ie.style.cssText,Yt=M.wrapper.style.cssText,Cr=M.wrapper.offsetParent.getBoundingClientRect();M.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(I.clientY-Cr.top-5)+"px; left: "+(I.clientX-Cr.left-5)+`px;
|
|
|
z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ur;i&&(Ur=window.scrollY),ee.input.focus(),i&&window.scrollTo(null,Ur),ee.input.reset(),Z.somethingSelected()||(ie.value=M.prevInput=" "),M.contextMenuPending=nn,ee.selForContextMenu=Z.doc.sel,clearTimeout(ee.detectingSelectAll);function en(){if(ie.selectionStart!=null){var Bn=Z.somethingSelected(),Zn="\u200B"+(Bn?ie.value:"");ie.value="\u21DA",ie.value=Zn,M.prevInput=Bn?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=Zn.length,ee.selForContextMenu=Z.doc.sel}}function nn(){if(M.contextMenuPending!=nn)return;if(M.contextMenuPending=!1,M.wrapper.style.cssText=Yt,ie.style.cssText=zt,c&&a<9&&ee.scrollbars.setScrollTop(ee.scroller.scrollTop=mt),ie.selectionStart!=null){(!c||c&&a<9)&&en();var Bn=0,Zn=function Jn(){ee.selForContextMenu==Z.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&M.prevInput=="\u200B"?Za(Z,Fs)(Z):Bn++<10?ee.detectingSelectAll=setTimeout(Jn,500):(ee.selForContextMenu=null,ee.input.reset())};ee.detectingSelectAll=setTimeout(Zn,200)}}if(c&&a>=9&&en(),T){it(I);var xn=function Bn(){Ke(window,"mouseup",Bn),setTimeout(nn,20)};Be(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(I){I||this.reset(),this.textarea.disabled=I=="nocursor",this.textarea.readOnly=!!I},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function co(I,M){if(M=M?H(M):{},M.value=I.value,!M.tabindex&&I.tabIndex&&(M.tabindex=I.tabIndex),!M.placeholder&&I.placeholder&&(M.placeholder=I.placeholder),M.autofocus==null){var Z=B();M.autofocus=Z==I||I.getAttribute("autofocus")!=null&&Z==document.body}function ee(){I.value=Nt.getValue()}var ie;if(I.form&&(Be(I.form,"submit",ee),!M.leaveSubmitMethodAlone)){var Me=I.form;ie=Me.submit;try{var mt=Me.submit=function(){ee(),Me.submit=ie,Me.submit(),Me.submit=mt}}catch(zt){}}M.finishInit=function(zt){zt.save=ee,zt.getTextArea=function(){return I},zt.toTextArea=function(){zt.toTextArea=isNaN,ee(),I.parentNode.removeChild(zt.getWrapperElement()),I.style.display="",I.form&&(Ke(I.form,"submit",ee),!M.leaveSubmitMethodAlone&&typeof I.form.submit=="function"&&(I.form.submit=ie))}},I.style.display="none";var Nt=at(function(zt){return I.parentNode.insertBefore(zt,I.nextSibling)},M);return Nt}function Ko(I){I.off=Ke,I.on=Be,I.wheelEventPixels=Vs,I.Doc=es,I.splitLines=or,I.countColumn=V,I.findColumn=Ce,I.isWordChar=Y,I.Pass=$,I.signal=At,I.Line=ni,I.changeEnd=We,I.scrollbarModel=ro,I.Pos=Rt,I.cmpPos=Kt,I.modes=he,I.mimeModes=Re,I.resolveMode=Ye,I.getMode=Pe,I.modeExtensions=nt,I.extendMode=bt,I.copyState=Ot,I.startState=pe,I.innerMode=ae,I.commands=zs,I.keyMap=Ss,I.keyName=Vl,I.isModifierKey=Sl,I.lookupKey=Ps,I.normalizeKeyMap=nl,I.StringStream=J,I.SharedTextMarker=el,I.TextMarker=Is,I.LineWidget=ll,I.e_preventDefault=Ve,I.e_stopPropagation=se,I.e_stop=it,I.addClass=z,I.contains=P,I.rmClass=x,I.keyNames=ks}uc(at),kr(at);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&W(ao,Uo)<0&&(at.prototype[Uo]=function(I){return function(){return I.apply(this.doc,arguments)}}(es.prototype[Uo]));return ot(es),at.inputStyles={textarea:Ei,contenteditable:pn},at.defineMode=function(I){!at.defaults.mode&&I!="null"&&(at.defaults.mode=I),He.apply(this,arguments)},at.defineMIME=ze,at.defineMode("null",function(){return{token:function(M){return M.skipToEnd()}}}),at.defineMIME("text/plain","null"),at.defineExtension=function(I,M){at.prototype[I]=M},at.defineDocExtension=function(I,M){es.prototype[I]=M},at.fromTextArea=co,Ko(at),at.version="5.58.2",at})},Vy0f:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},W2nI:function(D,_,e){var g=e("IwbS"),f=e("ProS"),y=e("bYtY"),m=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function a(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function i(l,t,s){var u=l.getGraphicEl(),p=a(l,t);s!=null&&(p==null&&(p=1),p*=s),u.downplay&&u.downplay(),u.traverse(function(w){w.type!=="group"&&w.setStyle("opacity",p)})}function r(l,t){var s=a(l,t),u=l.getGraphicEl();u.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",s)}),u.highlight&&u.highlight()}var o=g.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,t){var s=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+s,t.y2),l.bezierCurveTo(t.cpx2+s,t.cpy2,t.cpx1+s,t.cpy1,t.x1+s,t.y1)):(l.lineTo(t.x2,t.y2+s),l.bezierCurveTo(t.cpx2,t.cpy2+s,t.cpx1,t.cpy1+s,t.x1,t.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),d=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,s){var u=this,p=l.getGraph(),w=this.group,b=l.layoutInfo,E=b.width,A=b.height,S=l.getData(),T=l.getData("edge"),L=l.get("orient");this._model=l,w.removeAll(),w.attr("position",[b.x,b.y]),p.eachEdge(function(x){var C=new o;C.dataIndex=x.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var O=x.getModel("lineStyle"),N=O.get("curveness"),F=x.node1.getLayout(),k=x.node1.getModel(),P=k.get("localX"),B=k.get("localY"),z=x.node2.getLayout(),R=x.node2.getModel(),U=R.get("localX"),j=R.get("localY"),H=x.getLayout(),V,X,W,G,$,ge,q,Se;C.shape.extent=Math.max(1,H.dy),C.shape.orient=L,L==="vertical"?(V=(P!=null?P*E:F.x)+H.sy,X=(B!=null?B*A:F.y)+F.dy,W=(U!=null?U*E:z.x)+H.ty,G=j!=null?j*A:z.y,$=V,ge=X*(1-N)+G*N,q=W,Se=X*N+G*(1-N)):(V=(P!=null?P*E:F.x)+F.dx,X=(B!=null?B*A:F.y)+H.sy,W=U!=null?U*E:z.x,G=(j!=null?j*A:z.y)+H.ty,$=V*(1-N)+W*N,ge=X,q=V*N+W*(1-N),Se=G),C.setShape({x1:V,y1:X,x2:W,y2:G,cpx1:$,cpy1:ge,cpx2:q,cpy2:Se}),C.setStyle(O.getItemStyle());switch(C.style.fill){case"source":C.style.fill=x.node1.getVisual("color");break;case"target":C.style.fill=x.node2.getVisual("color");break}g.setHoverStyle(C,x.getModel("emphasis.lineStyle").getItemStyle()),w.add(C),T.setItemGraphicEl(x.dataIndex,C)}),p.eachNode(function(x){var C=x.getLayout(),O=x.getModel(),N=O.get("localX"),F=O.get("localY"),k=O.getModel("label"),P=O.getModel("emphasis.label"),B=new g.Rect({shape:{x:N!=null?N*E:C.x,y:F!=null?F*A:C.y,width:C.dx,height:C.dy},style:O.getModel("itemStyle").getItemStyle()}),z=x.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(B.style,z,k,P,{labelFetcher:l,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),B.setStyle("fill",x.getVisual("color")),g.setHoverStyle(B,z),w.add(B),S.setItemGraphicEl(x.dataIndex,B),B.dataType="node"}),S.eachItemGraphicEl(function(x,C){var O=S.getItemModel(C);O.get("draggable")&&(x.drift=function(N,F){u._focusAdjacencyDisabled=!0,this.shape.x+=N,this.shape.y+=F,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:S.getRawIndex(C),localX:this.shape.x/E,localY:this.shape.y/A})},x.ondragend=function(){u._focusAdjacencyDisabled=!1},x.draggable=!0,x.cursor="move"),x.highlight=function(){this.trigger("emphasis")},x.downplay=function(){this.trigger("normal")},x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(x,C){var O=T.getItemModel(C);x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&w.setClipPath(n(w.getBoundingRect(),l,function(){w.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,s,u){var p=l.getData(),w=p.graph,b=u.dataIndex,E=p.getItemModel(b),A=u.edgeDataIndex;if(b==null&&A==null)return;var S=w.getNodeByIndex(b),T=w.getEdgeByIndex(A);if(w.eachNode(function(x){i(x,m,.1)}),w.eachEdge(function(x){i(x,h,.1)}),S){r(S,v);var L=E.get("focusNodeAdjacency");L==="outEdges"?y.each(S.outEdges,function(x){if(x.dataIndex<0)return;r(x,c),r(x.node2,v)}):L==="inEdges"?y.each(S.inEdges,function(x){if(x.dataIndex<0)return;r(x,c),r(x.node1,v)}):L==="allEdges"&&y.each(S.edges,function(x){if(x.dataIndex<0)return;r(x,c),x.node1!==S&&r(x.node1,v),x.node2!==S&&r(x.node2,v)})}T&&(r(T,c),r(T.node1,v),r(T.node2,v))},unfocusNodeAdjacency:function(l,t,s,u){var p=l.getGraph();p.eachNode(function(w){i(w,m)}),p.eachEdge(function(w){i(w,h)})}});function n(l,t,s){var u=new g.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return g.initProps(u,{shape:{width:l.width+20}},t,s),u}D.exports=d},W4dC:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.each,v=y.createHashMap,h=e("7DRL"),c=e("TIY9"),a=e("yS9w"),i=e("mFDi"),r={geoJSON:c,svg:a},o={load:function(t,s,u){var p=[],w=v(),b=v(),E,A=l(t);return m(A,function(S){var T=r[S.type].load(t,S,u);m(T.regions,function(x){var C=x.name;s&&s.hasOwnProperty(C)&&(x=x.cloneShallow(C=s[C])),p.push(x),w.set(C,x),b.set(C,x.center)});var L=T.boundingRect;L&&(E?E.union(L):E=L.clone())}),{regions:p,regionsMap:w,nameCoordMap:b,boundingRect:E||new i(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(s,u){var p=l(s),w=[];return m(p,function(b){var E=r[b.type][t];E&&w.push(E(s,b,u))}),w}}function n(t){}function l(t){var s=h.retrieveMap(t)||[];return s}D.exports=o},WGYa:function(D,_,e){var g=e("7yuC"),f=g.forceLayout,y=e("HF/U"),m=y.simpleLayout,v=e("lOQZ"),h=v.circularLayout,c=e("OELB"),a=c.linearMap,i=e("QBsz"),r=e("bYtY");function o(d){d.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(l&&l.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},s=n.getGraph(),u=s.data,p=s.edgeData,w=n.getModel("force"),b=w.get("initLayout");n.preservedPoints?u.each(function(k){var P=u.getId(k);u.setItemLayout(k,t[P]||[NaN,NaN])}):!b||b==="none"?m(n):b==="circular"&&h(n,"value");var E=u.getDataExtent("value"),A=p.getDataExtent("value"),S=w.get("repulsion"),T=w.get("edgeLength");r.isArray(S)||(S=[S,S]),r.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var L=u.mapArray("value",function(k,P){var B=u.getItemLayout(P),z=a(k,E,S);return isNaN(z)&&(z=(S[0]+S[1])/2),{w:z,rep:z,fixed:u.getItemModel(P).get("fixed"),p:!B||isNaN(B[0])||isNaN(B[1])?null:B}}),x=p.mapArray("value",function(k,P){var B=s.getEdgeByIndex(P),z=a(k,A,T);isNaN(z)&&(z=(T[0]+T[1])/2);var R=B.getModel();return{n1:L[B.node1.dataIndex],n2:L[B.node2.dataIndex],d:z,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=n.coordinateSystem,C=l.getBoundingRect(),O=f(L,x,{rect:C,gravity:w.get("gravity"),friction:w.get("friction")}),N=O.step;O.step=function(k){for(var P=0,B=L.length;P<B;P++)L[P].fixed&&i.copy(L[P].p,s.getNodeByIndex(P).getLayout());N(function(z,R,U){for(var j=0,H=z.length;j<H;j++)z[j].fixed||s.getNodeByIndex(j).setLayout(z[j].p),t[u.getId(j)]=z[j].p;for(var j=0,H=R.length;j<H;j++){var V=R[j],X=s.getEdgeByIndex(j),W=V.n1.p,G=V.n2.p,$=X.getLayout();$=$?$.slice():[],$[0]=$[0]||[],$[1]=$[1]||[],i.copy($[0],W),i.copy($[1],G),+V.curveness&&($[2]=[(W[0]+G[0])/2-(W[1]-G[1])*V.curveness,(W[1]+G[1])/2-(G[0]-W[0])*V.curveness]),X.setLayout($)}k&&k(U)})},n.forceLayout=O,n.preservedPoints=t,O.step()}else n.forceLayout=null})}D.exports=o},WKfj:function(D,_,e){"use strict";e.d(_,"d",function(){return f}),e.d(_,"e",function(){return y}),e.d(_,"f",function(){return m}),e.d(_,"c",function(){return v}),e.d(_,"b",function(){return c}),e.d(_,"a",function(){return i});var g=e("KQm4");function f(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function y(r,o){var d=o.labelInValue,n=o.combobox;if(r===void 0||r===""&&n)return[];var l=Array.isArray(r)?r:[r];return d?l.map(function(t){var s=t.key,u=t.value;return u!==void 0?u:s}):l}function m(r,o){var d=o.optionLabelProp,n=o.labelInValue,l=o.prevValue,t=o.options,s=o.getLabeledValue,u=r;return n&&(u=u.map(function(p){return s(p,{options:t,prevValue:l,labelInValue:n,optionLabelProp:d})})),u}function v(r,o){var d=Object(g.a)(o),n;for(n=r.length-1;n>=0&&r[n].disabled;n-=1);var l=null;return n!==-1&&(l=d[n],d.splice(n,1)),{values:d,removedValue:l}}var h=typeof window!="undefined"&&window.document&&window.document.documentElement,c=h,a=0;function i(){var r;return c?(r=a,a+=1):r="TEST_OR_SSR",r}},"WN+l":function(D,_,e){var g=e("bYtY"),f=e("IwbS");function y(v,h,c,a){var i=c.axis;if(i.scale.isBlank())return;var r=c.getModel("splitArea"),o=r.getModel("areaStyle"),d=o.get("color"),n=a.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:r,clamp:!0});if(!l.length)return;var t=d.length,s=v.__splitAreaColors,u=g.createHashMap(),p=0;if(s)for(var w=0;w<l.length;w++){var b=s.get(l[w].tickValue);if(b!=null){p=(b+(t-1)*w)%t;break}}var E=i.toGlobalCoord(l[0].coord),A=o.getAreaStyle();d=g.isArray(d)?d:[d];for(var w=1;w<l.length;w++){var S=i.toGlobalCoord(l[w].coord),T,L,x,C;i.isHorizontal()?(T=E,L=n.y,x=S-T,C=n.height,E=T+x):(T=n.x,L=E,x=n.width,C=S-L,E=L+C);var O=l[w-1].tickValue;O!=null&&u.set(O,p),h.add(new f.Rect({anid:O!=null?"area_"+O:null,shape:{x:T,y:L,width:x,height:C},style:g.defaults({fill:d[p]},A),silent:!0})),p=(p+1)%t}v.__splitAreaColors=u}function m(v){v.__splitAreaColors=null}_.rectCoordAxisBuildSplitArea=y,_.rectCoordAxisHandleRemove=m},WXVj:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Bqw1")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="MinusSquareOutlined";var c=y.forwardRef(h);_.default=c},WaYH:function(D,_,e){"use strict";var g=e("rePB"),f=e("Ff2n"),y=e("VTBJ"),m=e("1OyB"),v=e("vuIU"),h=e("JX7q"),c=e("Ji7U"),a=e("LK+K"),i=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("sboe"),n=e("OZM5"),l=function(T){var L=T.prefixCls,x=T.level,C=T.isStart,O=T.isEnd;if(!x)return null;for(var N="".concat(L,"-indent-unit"),F=[],k=0;k<x;k+=1){var P;F.push(i.createElement("span",{key:k,className:o()(N,(P={},Object(g.a)(P,"".concat(N,"-start"),C[k+1]),Object(g.a)(P,"".concat(N,"-end"),O[k+1]),Object(g.a)(P,"".concat(N,"-end-first-level"),!k&&O[0]),P))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(L,"-indent")},F)},t=l,s=e("815F"),u="open",p="close",w="---",b=function(S){Object(c.a)(L,S);var T=Object(a.a)(L);function L(){var x;return Object(m.a)(this,L),x=T.apply(this,arguments),x.state={dragNodeHighlight:!1},x.onSelectorClick=function(C){var O=x.props.context.onNodeClick;O(C,Object(s.b)(x.props)),x.isSelectable()?x.onSelect(C):x.onCheck(C)},x.onSelectorDoubleClick=function(C){var O=x.props.context.onNodeDoubleClick;O(C,Object(s.b)(x.props))},x.onSelect=function(C){if(x.isDisabled())return;var O=x.props.context.onNodeSelect;C.preventDefault(),O(C,Object(s.b)(x.props))},x.onCheck=function(C){if(x.isDisabled())return;var O=x.props,N=O.disableCheckbox,F=O.checked,k=x.props.context.onNodeCheck;if(!x.isCheckable()||N)return;C.preventDefault();var P=!F;k(C,Object(s.b)(x.props),P)},x.onMouseEnter=function(C){var O=x.props.context.onNodeMouseEnter;O(C,Object(s.b)(x.props))},x.onMouseLeave=function(C){var O=x.props.context.onNodeMouseLeave;O(C,Object(s.b)(x.props))},x.onContextMenu=function(C){var O=x.props.context.onNodeContextMenu;O(C,Object(s.b)(x.props))},x.onDragStart=function(C){var O=x.props.context.onNodeDragStart;C.stopPropagation(),x.setState({dragNodeHighlight:!0}),O(C,Object(h.a)(x));try{C.dataTransfer.setData("text/plain","")}catch(N){}},x.onDragEnter=function(C){var O=x.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),O(C,Object(h.a)(x))},x.onDragOver=function(C){var O=x.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),O(C,Object(h.a)(x))},x.onDragLeave=function(C){var O=x.props.context.onNodeDragLeave;C.stopPropagation(),O(C,Object(h.a)(x))},x.onDragEnd=function(C){var O=x.props.context.onNodeDragEnd;C.stopPropagation(),x.setState({dragNodeHighlight:!1}),O(C,Object(h.a)(x))},x.onDrop=function(C){var O=x.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),x.setState({dragNodeHighlight:!1}),O(C,Object(h.a)(x))},x.onExpand=function(C){var O=x.props.context.onNodeExpand;O(C,Object(s.b)(x.props))},x.setSelectHandle=function(C){x.selectHandle=C},x.getNodeState=function(){var C=x.props.expanded;return x.isLeaf()?null:C?u:p},x.hasChildren=function(){var C=x.props.eventKey,O=x.props.context.keyEntities,N=O[C]||{},F=N.children;return!!(F||[]).length},x.isLeaf=function(){var C=x.props,O=C.isLeaf,N=C.loaded,F=x.props.context.loadData,k=x.hasChildren();return O===!1?!1:O||!F&&!k||F&&N&&!k},x.isDisabled=function(){var C=x.props.disabled,O=x.props.context.disabled;return!!(O||C)},x.isCheckable=function(){var C=x.props.checkable,O=x.props.context.checkable;return!O||C===!1?!1:O},x.syncLoadData=function(C){var O=C.expanded,N=C.loading,F=C.loaded,k=x.props.context,P=k.loadData,B=k.onNodeLoad;if(N)return;P&&O&&!x.isLeaf()&&(!x.hasChildren()&&!F&&B(Object(s.b)(x.props)))},x.renderSwitcher=function(){var C=x.props,O=C.expanded,N=C.switcherIcon,F=x.props.context,k=F.prefixCls,P=F.switcherIcon,B=N||P;if(x.isLeaf())return i.createElement("span",{className:o()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof B=="function"?B(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!0})):B);var z=o()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(O?u:p));return i.createElement("span",{onClick:x.onExpand,className:z},typeof B=="function"?B(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!1})):B)},x.renderCheckbox=function(){var C=x.props,O=C.checked,N=C.halfChecked,F=C.disableCheckbox,k=x.props.context.prefixCls,P=x.isDisabled(),B=x.isCheckable();if(!B)return null;var z=typeof B!="boolean"?B:null;return i.createElement("span",{className:o()("".concat(k,"-checkbox"),O&&"".concat(k,"-checkbox-checked"),!O&&N&&"".concat(k,"-checkbox-indeterminate"),(P||F)&&"".concat(k,"-checkbox-disabled")),onClick:x.onCheck},z)},x.renderIcon=function(){var C=x.props.loading,O=x.props.context.prefixCls;return i.createElement("span",{className:o()("".concat(O,"-iconEle"),"".concat(O,"-icon__").concat(x.getNodeState()||"docu"),C&&"".concat(O,"-icon_loading"))})},x.renderSelector=function(){var C=x.state.dragNodeHighlight,O=x.props,N=O.title,F=O.selected,k=O.icon,P=O.loading,B=O.data,z=x.props.context,R=z.prefixCls,U=z.showIcon,j=z.icon,H=z.draggable,V=z.loadData,X=z.titleRender,W=x.isDisabled(),G="".concat(R,"-node-content-wrapper"),$;if(U){var ge=k||j;$=ge?i.createElement("span",{className:o()("".concat(R,"-iconEle"),"".concat(R,"-icon__customize"))},typeof ge=="function"?ge(x.props):ge):x.renderIcon()}else V&&P&&($=x.renderIcon());var q;typeof N=="function"?q=N(B):X?q=X(B):q=N;var Se=i.createElement("span",{className:"".concat(R,"-title")},q);return i.createElement("span",{ref:x.setSelectHandle,title:typeof N=="string"?N:"",className:o()("".concat(G),"".concat(G,"-").concat(x.getNodeState()||"normal"),!W&&(F||C)&&"".concat(R,"-node-selected"),!W&&H&&"draggable"),draggable:!W&&H||void 0,"aria-grabbed":!W&&H||void 0,onMouseEnter:x.onMouseEnter,onMouseLeave:x.onMouseLeave,onContextMenu:x.onContextMenu,onClick:x.onSelectorClick,onDoubleClick:x.onSelectorDoubleClick,onDragStart:H?x.onDragStart:void 0},$,Se)},x}return Object(v.a)(L,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var C=this.props.selectable,O=this.props.context.selectable;return typeof C=="boolean"?C:O}},{key:"render",value:function(){var C,O=this.props,N=O.eventKey,F=O.className,k=O.style,P=O.dragOver,B=O.dragOverGapTop,z=O.dragOverGapBottom,R=O.isLeaf,U=O.isStart,j=O.isEnd,H=O.expanded,V=O.selected,X=O.checked,W=O.halfChecked,G=O.loading,$=O.domRef,ge=O.active,q=O.onMouseMove,Se=Object(f.a)(O,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ce=this.props.context,Ae=Ce.prefixCls,Ue=Ce.filterTreeNode,Qe=Ce.draggable,gt=Ce.keyEntities,_e=this.isDisabled(),Oe=Object(n.f)(Se),lt=gt[N]||{},ce=lt.level,Y=j[j.length-1];return i.createElement("div",Object.assign({ref:$,className:o()(F,"".concat(Ae,"-treenode"),(C={},Object(g.a)(C,"".concat(Ae,"-treenode-disabled"),_e),Object(g.a)(C,"".concat(Ae,"-treenode-switcher-").concat(H?"open":"close"),!R),Object(g.a)(C,"".concat(Ae,"-treenode-checkbox-checked"),X),Object(g.a)(C,"".concat(Ae,"-treenode-checkbox-indeterminate"),W),Object(g.a)(C,"".concat(Ae,"-treenode-selected"),V),Object(g.a)(C,"".concat(Ae,"-treenode-loading"),G),Object(g.a)(C,"".concat(Ae,"-treenode-active"),ge),Object(g.a)(C,"".concat(Ae,"-treenode-leaf-last"),Y),Object(g.a)(C,"drag-over",!_e&&P),Object(g.a)(C,"drag-over-gap-top",!_e&&B),Object(g.a)(C,"drag-over-gap-bottom",!_e&&z),Object(g.a)(C,"filter-node",Ue&&Ue(Object(s.b)(this.props))),C)),style:k,onDragEnter:Qe?this.onDragEnter:void 0,onDragOver:Qe?this.onDragOver:void 0,onDragLeave:Qe?this.onDragLeave:void 0,onDrop:Qe?this.onDrop:void 0,onDragEnd:Qe?this.onDragEnd:void 0,onMouseMove:q},Oe),i.createElement(t,{prefixCls:Ae,level:ce,isStart:U,isEnd:j}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),L}(i.Component),E=function(T){return i.createElement(d.a.Consumer,null,function(L){return i.createElement(b,Object.assign({},T,{context:L}))})};E.displayName="TreeNode",E.defaultProps={title:w},E.isTreeNode=1;var A=_.a=E},Wqna:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.isObject,v=y.each,h=y.map,c=y.indexOf,a=y.retrieve,i=e("+TT/"),r=i.getLayoutRect,o=e("aX7z"),d=o.createScaleByModel,n=o.ifAxisCrossZero,l=o.niceScaleExtent,t=o.estimateLabelUnionRect,s=e("y+lR"),u=e("7AJT"),p=e("IDmD"),w=e("7hqr"),b=w.getStackedDimension;e("jtI2");function E(k,P,B){return k.getCoordSysModel()===P}function A(k,P,B){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,P,B),this.model=k}var S=A.prototype;S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(k,P){var B=this._axesMap;this._updateScale(k,this.model),v(B.x,function(R){l(R.scale,R.model)}),v(B.y,function(R){l(R.scale,R.model)});var z={};v(B.x,function(R){T(B,"y",R,z)}),v(B.y,function(R){T(B,"x",R,z)}),this.resize(this.model,P)};function T(k,P,B,z){B.getAxesOnZeroOf=function(){return U?[U]:[]};var R=k[P],U,j=B.model,H=j.get("axisLine.onZero"),V=j.get("axisLine.onZeroAxisIndex");if(!H)return;if(V!=null)L(R[V])&&(U=R[V]);else for(var X in R)if(R.hasOwnProperty(X)&&L(R[X])&&!z[W(R[X])]){U=R[X];break}U&&(z[W(U)]=!0);function W(G){return G.dim+"_"+G.index}}function L(k){return k&&k.type!=="category"&&k.type!=="time"&&n(k)}S.resize=function(k,P,B){var z=r(k.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()});this._rect=z;var R=this._axesList;U(),!B&&k.get("containLabel")&&(v(R,function(j){if(!j.model.get("axisLabel.inside")){var H=t(j);if(H){var V=j.isHorizontal()?"height":"width",X=j.model.get("axisLabel.margin");z[V]-=H[V]+X,j.position==="top"?z.y+=H.height+X:j.position==="left"&&(z.x+=H.width+X)}}}),U());function U(){v(R,function(j){var H=j.isHorizontal(),V=H?[0,z.width]:[0,z.height],X=j.inverse?1:0;j.setExtent(V[X],V[1-X]),x(j,H?z.x:z.y)})}},S.getAxis=function(k,P){var B=this._axesMap[k];if(B!=null){if(P==null){for(var z in B)if(B.hasOwnProperty(z))return B[z]}return B[P]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(k,P){if(k!=null&&P!=null){var B="x"+k+"y"+P;return this._coordsMap[B]}m(k)&&(P=k.yAxisIndex,k=k.xAxisIndex);for(var z=0,R=this._coordsList;z<R.length;z++)if(R[z].getAxis("x").index===k||R[z].getAxis("y").index===P)return R[z]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(k,P,B){var z=this._findConvertTarget(k,P);return z.cartesian?z.cartesian.dataToPoint(B):z.axis?z.axis.toGlobalCoord(z.axis.dataToCoord(B)):null},S.convertFromPixel=function(k,P,B){var z=this._findConvertTarget(k,P);return z.cartesian?z.cartesian.pointToData(B):z.axis?z.axis.coordToData(z.axis.toLocalCoord(B)):null},S._findConvertTarget=function(k,P){var B=P.seriesModel,z=P.xAxisModel||B&&B.getReferringComponents("xAxis")[0],R=P.yAxisModel||B&&B.getReferringComponents("yAxis")[0],U=P.gridModel,j=this._coordsList,H,V;if(B)H=B.coordinateSystem,c(j,H)<0&&(H=null);else if(z&&R)H=this.getCartesian(z.componentIndex,R.componentIndex);else if(z)V=this.getAxis("x",z.componentIndex);else if(R)V=this.getAxis("y",R.componentIndex);else if(U){var X=U.coordinateSystem;X===this&&(H=this._coordsList[0])}return{cartesian:H,axis:V}},S.containPoint=function(k){var P=this._coordsList[0];if(P)return P.containPoint(k)},S._initCartesian=function(k,P,B){var z={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},U={x:0,y:0};if(P.eachComponent("xAxis",j("x"),this),P.eachComponent("yAxis",j("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(H,V){v(R.y,function(X,W){var G="x"+V+"y"+W,$=new s(G);$.grid=this,$.model=k,this._coordsMap[G]=$,this._coordsList.push($),$.addAxis(H),$.addAxis(X)},this)},this);function j(H){return function(V,X){if(!E(V,k,P))return;var W=V.get("position");H==="x"?W!=="top"&&W!=="bottom"&&(W=z.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=z.left?"right":"left"),z[W]=!0;var G=new u(H,d(V),[0,0],V.get("type"),W),$=G.type==="category";G.onBand=$&&V.get("boundaryGap"),G.inverse=V.get("inverse"),V.axis=G,G.model=V,G.grid=this,G.index=X,this._axesList.push(G),R[H][X]=G,U[H]++}}},S._updateScale=function(k,P){v(this._axesList,function(z){z.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(z){if(N(z)){var R=O(z,k),U=R[0],j=R[1];if(!E(U,P,k)||!E(j,P,k))return;var H=this.getCartesian(U.componentIndex,j.componentIndex),V=z.getData(),X=H.getAxis("x"),W=H.getAxis("y");V.type==="list"&&(B(V,X,z),B(V,W,z))}},this);function B(z,R,U){v(z.mapDimension(R.dim,!0),function(j){R.scale.unionExtentFromData(z,b(z,j))})}},S.getTooltipAxes=function(k){var P=[],B=[];return v(this.getCartesians(),function(z){var R=k!=null&&k!=="auto"?z.getAxis(k):z.getBaseAxis(),U=z.getOtherAxis(R);c(P,R)<0&&P.push(R),c(B,U)<0&&B.push(U)}),{baseAxes:P,otherAxes:B}};function x(k,P){var B=k.getExtent(),z=B[0]+B[1];k.toGlobalCoord=k.dim==="x"?function(R){return R+P}:function(R){return z-R+P},k.toLocalCoord=k.dim==="x"?function(R){return R-P}:function(R){return z-R+P}}var C=["xAxis","yAxis"];function O(k,P){return h(C,function(B){var z=k.getReferringComponents(B)[0];return z})}function N(k){return k.get("coordinateSystem")==="cartesian2d"}A.create=function(k,P){var B=[];return k.eachComponent("grid",function(z,R){var U=new A(z,k,P);U.name="grid_"+R,U.resize(z,P,!0),z.coordinateSystem=U,B.push(U)}),k.eachSeries(function(z){if(!N(z))return;var R=O(z,k),U=R[0],j=R[1],H=U.getCoordSysModel(),V=H.coordinateSystem;z.coordinateSystem=V.getCartesian(U.componentIndex,j.componentIndex)}),B},A.dimensions=A.prototype.dimensions=s.prototype.dimensions,p.register("cartesian2d",A);var F=A;D.exports=F},"X+im":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("KQeH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownloadOutlined";var c=y.forwardRef(h);_.default=c},"X2/X":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};_.default=g},XAae:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},XOKv:function(D,_,e){e("OXB0"),e("SA4+")},Xi7e:function(D,_,e){var g=e("KMkd"),f=e("adU4"),y=e("tMB7"),m=e("+6XX"),v=e("Z8oC");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},Xmg4:function(D,_,e){var g=e("bYtY"),f=e("LPTA"),y=f.devicePixelRatio,m=e("K2GJ"),v=e("3C/r");function h(){return!1}function c(r,o,d){var n=g.createCanvas(),l=o.getWidth(),t=o.getHeight(),s=n.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=t+"px",n.setAttribute("data-zr-dom-id",r)),n.width=l*d,n.height=t*d,n}var a=function(o,d,n){var l;n=n||y,typeof o=="string"?l=c(o,d,n):g.isObject(o)&&(l=o,o=l.id),this.id=o,this.dom=l;var t=l.style;t&&(l.onselectstart=h,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=d,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};a.prototype={constructor:a,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var o=this.dpr;this.domBack=c("back-"+this.id,this.painter,o),this.ctxBack=this.domBack.getContext("2d"),o!==1&&this.ctxBack.scale(o,o)},resize:function(o,d){var n=this.dpr,l=this.dom,t=l.style,s=this.domBack;t&&(t.width=o+"px",t.height=d+"px"),l.width=o*n,l.height=d*n,s&&(s.width=o*n,s.height=d*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(o,d){var n=this.dom,l=this.ctx,t=n.width,s=n.height,d=d||this.clearColor,u=this.motionBlur&&!o,p=this.lastFrameAlpha,w=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/w,s/w)),l.clearRect(0,0,t,s),d&&d!=="transparent"){var b;d.colorStops?(b=d.__canvasGradient||m.getGradient(l,d,{x:0,y:0,width:t,height:s}),d.__canvasGradient=b):d.image&&(b=v.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=b||d,l.fillRect(0,0,t,s),l.restore()}if(u){var E=this.domBack;l.save(),l.globalAlpha=p,l.drawImage(E,0,0,t,s),l.restore()}}};var i=a;D.exports=i},Xnb7:function(D,_,e){var g=e("1RvN"),f=new g(50);function y(c){if(typeof c=="string"){var a=f.get(c);return a&&a.image}else return c}function m(c,a,i,r,o){if(c)if(typeof c=="string"){if(a&&a.__zrImageSrc===c||!i)return a;var d=f.get(c),n={hostEl:i,cb:r,cbPayload:o};return d?(a=d.image,!h(a)&&d.pending.push(n)):(a=new Image,a.onload=a.onerror=v,f.put(c,a.__cachedImgObj={image:a,pending:[n]}),a.src=a.__zrImageSrc=c),a}else return c;else return a}function v(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var a=0;a<c.pending.length;a++){var i=c.pending[a],r=i.cb;r&&r(this,i.cbPayload),i.hostEl.dirty()}c.pending.length=0}function h(c){return c&&c.width&&c.height}_.findExistImage=y,_.createOrUpdateImage=m,_.isImageReady=h},XpcN:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("oVpE"),h=v.createSymbol,c=e("IwbS"),a=e("eRkO"),i=a.makeBackground,r=e("+TT/"),o=m.curry,d=m.each,n=c.Group,l=y.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(w,b,E){var A=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!w.get("show",!0))return;var S=w.get("align"),T=w.get("orient");(!S||S==="auto")&&(S=w.get("left")==="right"&&T==="vertical"?"right":"left");var L=w.get("selector",!0),x=w.get("selectorPosition",!0);L&&(!x||x==="auto")&&(x=T==="horizontal"?"end":"start"),this.renderInner(S,w,b,E,L,T,x);var C=w.getBoxLayoutParams(),O={width:E.getWidth(),height:E.getHeight()},N=w.get("padding"),F=r.getLayoutRect(C,O,N),k=this.layoutInner(w,S,F,A,L,x),P=r.getLayoutRect(m.defaults({width:k.width,height:k.height},C),O,N);this.group.attr("position",[P.x-k.x,P.y-k.y]),this.group.add(this._backgroundEl=i(k,w))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(w,b,E,A,S,T,L){var x=this.getContentGroup(),C=m.createHashMap(),O=b.get("selectedMode"),N=[];E.eachRawSeries(function(F){!F.get("legendHoverLink")&&N.push(F.id)}),d(b.getData(),function(F,k){var P=F.get("name");if(!this.newlineDisabled&&(P===""||P===`
|
|
|
`)){x.add(new n({newline:!0}));return}var B=E.getSeriesByName(P)[0];if(C.get(P))return;if(B){var z=B.getData(),R=z.getVisual("color"),U=z.getVisual("borderColor");typeof R=="function"&&(R=R(B.getDataParams(0))),typeof U=="function"&&(U=U(B.getDataParams(0)));var j=z.getVisual("legendSymbol")||"roundRect",H=z.getVisual("symbol"),V=this._createItem(P,k,F,b,j,H,w,R,U,O);V.on("click",o(s,P,null,A,N)).on("mouseover",o(u,B.name,null,A,N)).on("mouseout",o(p,B.name,null,A,N)),C.set(P,!0)}else E.eachRawSeries(function(X){if(C.get(P))return;if(X.legendVisualProvider){var W=X.legendVisualProvider;if(!W.containName(P))return;var G=W.indexOfName(P),$=W.getItemVisual(G,"color"),ge=W.getItemVisual(G,"borderColor"),q="roundRect",Se=this._createItem(P,k,F,b,q,null,w,$,ge,O);Se.on("click",o(s,null,P,A,N)).on("mouseover",o(u,null,P,A,N)).on("mouseout",o(p,null,P,A,N)),C.set(P,!0)}},this)},this),S&&this._createSelector(S,b,A,T,L)},_createSelector:function(w,b,E,A,S){var T=this.getSelectorGroup();d(w,function(x){L(x)});function L(x){var C=x.type,O=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){E.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(O);var N=b.getModel("selectorLabel"),F=b.getModel("emphasis.selectorLabel");c.setLabelStyle(O.style,O.hoverStyle={},N,F,{defaultText:x.title,isRectText:!1}),c.setHoverStyle(O)}},_createItem:function(w,b,E,A,S,T,L,x,C,O){var N=A.get("itemWidth"),F=A.get("itemHeight"),k=A.get("inactiveColor"),P=A.get("inactiveBorderColor"),B=A.get("symbolKeepAspect"),z=A.getModel("itemStyle"),R=A.isSelected(w),U=new n,j=E.getModel("textStyle"),H=E.get("icon"),V=E.getModel("tooltip"),X=V.parentModel;S=H||S;var W=h(S,0,0,N,F,R?x:k,B==null?!0:B);if(U.add(t(W,S,z,C,P,R)),!H&&T&&(T!==S||T==="none")){var G=F*.8;T==="none"&&(T="circle");var $=h(T,(N-G)/2,(F-G)/2,G,G,R?x:k,B==null?!0:B);U.add(t($,T,z,C,P,R))}var ge=L==="left"?N+5:-5,q=L,Se=A.get("formatter"),Ce=w;typeof Se=="string"&&Se?Ce=Se.replace("{name}",w!=null?w:""):typeof Se=="function"&&(Ce=Se(w)),U.add(new c.Text({style:c.setTextStyle({},j,{text:Ce,x:ge,y:F/2,textFill:R?j.getTextColor():k,textAlign:q,textVerticalAlign:"middle"})}));var Ae=new c.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:V.get("show")?m.extend({content:w,formatter:X.get("formatter",!0)||function(){return w},formatterParams:{componentType:"legend",legendIndex:A.componentIndex,name:w,$vars:["name"]}},V.option):null});return U.add(Ae),U.eachChild(function(Ue){Ue.silent=!0}),Ae.silent=!O,this.getContentGroup().add(U),c.setHoverStyle(U),U.__legendDataIndex=b,U},layoutInner:function(w,b,E,A,S,T){var L=this.getContentGroup(),x=this.getSelectorGroup();r.box(w.get("orient"),L,w.get("itemGap"),E.width,E.height);var C=L.getBoundingRect(),O=[-C.x,-C.y];if(S){r.box("horizontal",x,w.get("selectorItemGap",!0));var N=x.getBoundingRect(),F=[-N.x,-N.y],k=w.get("selectorButtonGap",!0),P=w.getOrient().index,B=P===0?"width":"height",z=P===0?"height":"width",R=P===0?"y":"x";T==="end"?F[P]+=C[B]+k:O[P]+=N[B]+k,F[1-P]+=C[z]/2-N[z]/2,x.attr("position",F),L.attr("position",O);var U={x:0,y:0};return U[B]=C[B]+k+N[B],U[z]=Math.max(C[z],N[z]),U[R]=Math.min(0,N[R]+F[1-P]),U}else return L.attr("position",O),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(w,b,E,A,S,T){var L;return b!=="line"&&b.indexOf("empty")<0?(L=E.getItemStyle(),w.style.stroke=A,T||(L.stroke=S)):L=E.getItemStyle(["borderWidth","borderColor"]),w.setStyle(L)}function s(w,b,E,A){p(w,b,E,A),E.dispatchAction({type:"legendToggleSelect",name:w!=null?w:b}),u(w,b,E,A)}function u(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"highlight",seriesName:w,name:b,excludeSeriesId:A})}function p(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"downplay",seriesName:w,name:b,excludeSeriesId:A})}D.exports=l},XuBP:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};_.default=g},XxSj:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("OELB"),m=y.linearMap,v=g.each,h=g.isObject,c=-1,a=function(T){var L=T.mappingMethod,x=T.type,C=this.option=g.clone(T);this.type=x,this.mappingMethod=L,this._normalizeData=E[L];var O=i[x];this.applyVisual=O.applyVisual,this.getColorMapper=O.getColorMapper,this._doMap=O._doMap[L],L==="piecewise"?(d(C),r(C)):L==="category"?C.categories?o(C):d(C,!0):(g.assert(L!=="linear"||C.dataExtent),d(C))};a.prototype={constructor:a,mapValueToVisual:function(T){var L=this._normalizeData(T);return this._doMap(L,T)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var i=a.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var T=this.option;return g.bind(T.mappingMethod==="category"?function(L,x){return!x&&(L=this._normalizeData(L)),s.call(this,L)}:function(L,x,C){var O=!!C;return!x&&(L=this._normalizeData(L)),C=f.fastLerp(L,T.parsedVisual,C),O?C:f.stringify(C,"rgba")},this)},_doMap:{linear:function(T){return f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,L){var x=w.call(this,L);return x==null&&(x=f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")),x},fixed:u}},colorHue:n(function(T,L){return f.modifyHSL(T,L)}),colorSaturation:n(function(T,L){return f.modifyHSL(T,null,L)}),colorLightness:n(function(T,L){return f.modifyHSL(T,null,null,L)}),colorAlpha:n(function(T,L){return f.modifyAlpha(T,L)}),opacity:{applyVisual:t("opacity"),_doMap:p([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(T,L,x){var C=this.mapValueToVisual(T);if(g.isString(C))x("symbol",C);else if(h(C))for(var O in C)C.hasOwnProperty(O)&&x(O,C[O])},_doMap:{linear:l,category:s,piecewise:function(T,L){var x=w.call(this,L);return x==null&&(x=l.call(this,T)),x},fixed:u}},symbolSize:{applyVisual:t("symbolSize"),_doMap:p([0,1])}};function r(T){var L=T.pieceList;T.hasSpecialVisual=!1,g.each(L,function(x,C){x.originIndex=C,x.visual!=null&&(T.hasSpecialVisual=!0)})}function o(T){var L=T.categories,x=T.visual,C=T.categoryMap={};if(v(L,function(F,k){C[F]=k}),!g.isArray(x)){var O=[];g.isObject(x)?v(x,function(F,k){var P=C[k];O[P!=null?P:c]=F}):O[c]=x,x=b(T,O)}for(var N=L.length-1;N>=0;N--)x[N]==null&&(delete C[L[N]],L.pop())}function d(T,L){var x=T.visual,C=[];g.isObject(x)?v(x,function(N){C.push(N)}):x!=null&&C.push(x);var O={color:1,symbol:1};!L&&C.length===1&&!O.hasOwnProperty(T.type)&&(C[1]=C[0]),b(T,C)}function n(T){return{applyVisual:function(L,x,C){L=this.mapValueToVisual(L),C("color",T(x("color"),L))},_doMap:p([0,1])}}function l(T){var L=this.option.visual;return L[Math.round(m(T,[0,1],[0,L.length-1],!0))]||{}}function t(T){return function(L,x,C){C(T,this.mapValueToVisual(L))}}function s(T){var L=this.option.visual;return L[this.option.loop&&T!==c?T%L.length:T]}function u(){return this.option.visual[0]}function p(T){return{linear:function(L){return m(L,T,this.option.visual,!0)},category:s,piecewise:function(L,x){var C=w.call(this,x);return C==null&&(C=m(L,T,this.option.visual,!0)),C},fixed:u}}function w(T){var L=this.option,x=L.pieceList;if(L.hasSpecialVisual){var C=a.findPieceIndex(T,x),O=x[C];if(O&&O.visual)return O.visual[this.type]}}function b(T,L){return T.visual=L,T.type==="color"&&(T.parsedVisual=g.map(L,function(x){return f.parse(x)})),L}var E={linear:function(T){return m(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var L=this.option.pieceList,x=a.findPieceIndex(T,L,!0);if(x!=null)return m(x,[0,L.length-1],[0,1],!0)},category:function(T){var L=this.option.categories?this.option.categoryMap[T]:T;return L==null?c:L},fixed:g.noop};a.listVisualTypes=function(){var T=[];return g.each(i,function(L,x){T.push(x)}),T},a.addVisualHandler=function(T,L){i[T]=L},a.isValidType=function(T){return i.hasOwnProperty(T)},a.eachVisual=function(T,L,x){g.isObject(T)?g.each(T,L,x):L.call(x,T)},a.mapVisual=function(T,L,x){var C,O=g.isArray(T)?[]:g.isObject(T)?{}:(C=!0,null);return a.eachVisual(T,function(N,F){var k=L.call(x,N,F);C?O=k:O[F]=k}),O},a.retrieveVisuals=function(T){var L={},x;return T&&v(i,function(C,O){T.hasOwnProperty(O)&&(L[O]=T[O],x=!0)}),x?L:null},a.prepareVisualTypes=function(T){if(h(T)){var L=[];v(T,function(x,C){L.push(C)}),T=L}else if(g.isArray(T))T=T.slice();else return[];return T.sort(function(x,C){return C==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),T},a.dependsOn=function(T,L){return L==="color"?!!(T&&T.indexOf(L)===0):T===L},a.findPieceIndex=function(T,L,x){for(var C,O=Infinity,N=0,F=L.length;N<F;N++){var k=L[N].value;if(k!=null){if(k===T||typeof k=="string"&&k===T+"")return N;x&&R(k,N)}}for(var N=0,F=L.length;N<F;N++){var P=L[N],B=P.interval,z=P.close;if(B){if(B[0]===-Infinity){if(A(z[1],T,B[1]))return N}else if(B[1]===Infinity){if(A(z[0],B[0],T))return N}else if(A(z[0],B[0],T)&&A(z[1],T,B[1]))return N;x&&R(B[0],N),x&&R(B[1],N)}}if(x)return T===Infinity?L.length-1:T===-Infinity?0:C;function R(U,j){var H=Math.abs(U-T);H<O&&(O=H,C=j)}};function A(T,L,x){return T?L<=x:L<x}var S=a;D.exports=S},XzQk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"Y+p1":function(D,_,e){var g=e("wF/u");function f(y,m){return g(y,m)}D.exports=f},Y1PL:function(D,_,e){"use strict";e.r(_),e.d(_,"ResizableTextArea",function(){return T});var g=e("1OyB"),f=e("vuIU"),y=e("Ji7U"),m=e("md7G"),v=e("foSv"),h=e("q1tI"),c=e("rePB"),a=e("t23M"),i=e("BGR+"),r=e("TSYQ"),o=e.n(r),d=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important
|
|
|
`,n=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],l={},t;function s(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=N.getAttribute("id")||N.getAttribute("data-reactid")||N.getAttribute("name");if(F&&l[k])return l[k];var P=window.getComputedStyle(N),B=P.getPropertyValue("box-sizing")||P.getPropertyValue("-moz-box-sizing")||P.getPropertyValue("-webkit-box-sizing"),z=parseFloat(P.getPropertyValue("padding-bottom"))+parseFloat(P.getPropertyValue("padding-top")),R=parseFloat(P.getPropertyValue("border-bottom-width"))+parseFloat(P.getPropertyValue("border-top-width")),U=n.map(function(H){return"".concat(H,":").concat(P.getPropertyValue(H))}).join(";"),j={sizingStyle:U,paddingSize:z,borderSize:R,boxSizing:B};return F&&k&&(l[k]=j),j}function u(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),N.getAttribute("wrap")?t.setAttribute("wrap",N.getAttribute("wrap")):t.removeAttribute("wrap");var B=s(N,F),z=B.paddingSize,R=B.borderSize,U=B.boxSizing,j=B.sizingStyle;t.setAttribute("style","".concat(j,";").concat(d)),t.value=N.value||N.placeholder||"";var H=Number.MIN_SAFE_INTEGER,V=Number.MAX_SAFE_INTEGER,X=t.scrollHeight,W;if(U==="border-box"?X+=R:U==="content-box"&&(X-=z),k!==null||P!==null){t.value=" ";var G=t.scrollHeight-z;k!==null&&(H=G*k,U==="border-box"&&(H=H+z+R),X=Math.max(H,X)),P!==null&&(V=G*P,U==="border-box"&&(V=V+z+R),W=X>V?"":"hidden",X=Math.min(V,X))}return{height:X,minHeight:H,maxHeight:V,overflowY:W}}function p(N,F){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(N);F&&(P=P.filter(function(B){return Object.getOwnPropertyDescriptor(N,B).enumerable})),k.push.apply(k,P)}return k}function w(N){for(var F=1;F<arguments.length;F++){var k=arguments[F]!=null?arguments[F]:{};F%2?p(Object(k),!0).forEach(function(P){Object(c.a)(N,P,k[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):p(Object(k)).forEach(function(P){Object.defineProperty(N,P,Object.getOwnPropertyDescriptor(k,P))})}return N}function b(N){var F=E();return function(){var P=Object(v.a)(N),B;if(F){var z=Object(v.a)(this).constructor;B=Reflect.construct(P,arguments,z)}else B=P.apply(this,arguments);return Object(m.a)(this,B)}}function E(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}var A;(function(N){N[N.NONE=0]="NONE",N[N.RESIZING=1]="RESIZING",N[N.RESIZED=2]="RESIZED"})(A||(A={}));var S=function(N){Object(y.a)(k,N);var F=b(k);function k(P){var B;return Object(g.a)(this,k),B=F.call(this,P),B.saveTextArea=function(z){B.textArea=z},B.handleResize=function(z){var R=B.state.resizeStatus,U=B.props,j=U.autoSize,H=U.onResize;if(R!==A.NONE)return;typeof H=="function"&&H(z),j&&B.resizeOnNextFrame()},B.resizeOnNextFrame=function(){cancelAnimationFrame(B.nextFrameActionId),B.nextFrameActionId=requestAnimationFrame(B.resizeTextarea)},B.resizeTextarea=function(){var z=B.props.autoSize;if(!z||!B.textArea)return;var R=z.minRows,U=z.maxRows,j=u(B.textArea,!1,R,U);B.setState({textareaStyles:j,resizeStatus:A.RESIZING},function(){cancelAnimationFrame(B.resizeFrameId),B.resizeFrameId=requestAnimationFrame(function(){B.setState({resizeStatus:A.RESIZED},function(){B.resizeFrameId=requestAnimationFrame(function(){B.setState({resizeStatus:A.NONE}),B.fixFirefoxAutoScroll()})})})})},B.renderTextArea=function(){var z=B.props,R=z.prefixCls,U=R===void 0?"rc-textarea":R,j=z.autoSize,H=z.onResize,V=z.className,X=z.disabled,W=B.state,G=W.textareaStyles,$=W.resizeStatus,ge=Object(i.default)(B.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),q=o()(U,V,Object(c.a)({},"".concat(U,"-disabled"),X));"value"in ge&&(ge.value=ge.value||"");var Se=w(w(w({},B.props.style),G),$===A.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(a.a,{onResize:B.handleResize,disabled:!(j||H)},h.createElement("textarea",Object.assign({},ge,{className:q,style:Se,ref:B.saveTextArea})))},B.state={textareaStyles:{},resizeStatus:A.NONE},B}return Object(f.a)(k,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(B){B.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var B=this.textArea.selectionStart,z=this.textArea.selectionEnd;this.textArea.setSelectionRange(B,z)}}catch(R){}}},{key:"render",value:function(){return this.renderTextArea()}}]),k}(h.Component),T=S;function L(N){var F=x();return function(){var P=Object(v.a)(N),B;if(F){var z=Object(v.a)(this).constructor;B=Reflect.construct(P,arguments,z)}else B=P.apply(this,arguments);return Object(m.a)(this,B)}}function x(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}var C=function(N){Object(y.a)(k,N);var F=L(k);function k(P){var B;Object(g.a)(this,k),B=F.call(this,P),B.focus=function(){B.resizableTextArea.textArea.focus()},B.saveTextArea=function(R){B.resizableTextArea=R},B.handleChange=function(R){var U=B.props.onChange;B.setValue(R.target.value,function(){B.resizableTextArea.resizeTextarea()}),U&&U(R)},B.handleKeyDown=function(R){var U=B.props,j=U.onPressEnter,H=U.onKeyDown;R.keyCode===13&&j&&j(R),H&&H(R)};var z=typeof P.value=="undefined"||P.value===null?P.defaultValue:P.value;return B.state={value:z},B}return Object(f.a)(k,[{key:"setValue",value:function(B,z){"value"in this.props||this.setState({value:B},z)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(T,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(B){return"value"in B?{value:B.value}:null}}]),k}(h.Component),O=_.default=C},YESw:function(D,_,e){var g=e("Cwc5"),f=g(Object,"create");D.exports=f},YH21:function(D,_,e){var g=e("H6uX");_.Dispatcher=g;var f=e("ItGF"),y=e("Ze12"),m=y.isCanvasEl,v=y.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[];function i(p,w,b,E){return b=b||{},E||!f.canvasSupported?r(p,w,b):f.browser.firefox&&w.layerX!=null&&w.layerX!==w.offsetX?(b.zrX=w.layerX,b.zrY=w.layerY):w.offsetX!=null?(b.zrX=w.offsetX,b.zrY=w.offsetY):r(p,w,b),b}function r(p,w,b){if(f.domSupported&&p.getBoundingClientRect){var E=w.clientX,A=w.clientY;if(m(p)){var S=p.getBoundingClientRect();b.zrX=E-S.left,b.zrY=A-S.top;return}else if(v(a,p,E,A)){b.zrX=a[0],b.zrY=a[1];return}}b.zrX=b.zrY=0}function o(p){return p||window.event}function d(p,w,b){if(w=o(w),w.zrX!=null)return w;var E=w.type,A=E&&E.indexOf("touch")>=0;if(!A)i(p,w,w,b),w.zrDelta=w.wheelDelta?w.wheelDelta/120:-(w.detail||0)/3;else{var S=E!=="touchend"?w.targetTouches[0]:w.changedTouches[0];S&&i(p,S,w,b)}var T=w.button;return w.which==null&&T!==void 0&&c.test(w.type)&&(w.which=T&1?1:T&2?3:T&4?2:0),w}function n(p,w,b,E){h?p.addEventListener(w,b,E):p.attachEvent("on"+w,b)}function l(p,w,b,E){h?p.removeEventListener(w,b,E):p.detachEvent("on"+w,b)}var t=h?function(p){p.preventDefault(),p.stopPropagation(),p.cancelBubble=!0}:function(p){p.returnValue=!1,p.cancelBubble=!0};function s(p){return p.which===2||p.which===3}function u(p){return p.which>1}_.clientToLocal=i,_.getNativeEvent=o,_.normalizeEvent=d,_.addEventListener=n,_.removeEventListener=l,_.stop=t,_.isMiddleOrRightButtonOnMouseUpDown=s,_.notLeftMouse=u},YJ9k:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._listeners=new Map}return y(v,[{key:"addEventListener",value:function(c,a){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(a)}},{key:"removeEventListener",value:function(c,a){this._listeners.has(c)&&this._listeners.get(c).delete(a)}},{key:"dispatchEvent",value:function(c){var a=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(i){return i.call(a,c)}),!c.defaultPrevented):!0}}]),v}();_.default=m},YJCA:function(D,_,e){"use strict";e.d(_,"a",function(){return Q}),e.d(_,"b",function(){return Ne});var g=e("wx14"),f=e("ODXe"),y=e("vpQ4"),m=e("1OyB"),v=e("vuIU"),h=e("md7G"),c=e("foSv"),a=e("Ji7U"),i=e("JX7q"),r=e("rePB"),o=e("q1tI"),d=e.n(o),n=e("17x9"),l=e.n(n),t=e("i8i4"),s=e.n(t),u=e("QLaP"),p=e.n(u),w=e("KQm4"),b=function(){function Te(){Object(m.a)(this,Te),Object(r.a)(this,"refs",{})}return Object(v.a)(Te,[{key:"add",value:function(de,Le){this.refs[de]||(this.refs[de]=[]),this.refs[de].push(Le)}},{key:"remove",value:function(de,Le){var Ge=this.getIndex(de,Le);Ge!==-1&&this.refs[de].splice(Ge,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var de=this;return this.refs[this.active.collection].find(function(Le){var Ge=Le.node;return Ge.sortableInfo.index==de.active.index})}},{key:"getIndex",value:function(de,Le){return this.refs[de].indexOf(Le)}},{key:"getOrderedRefs",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[de].sort(E)}}]),Te}();function E(Te,oe){var de=Te.node.sortableInfo.index,Le=oe.node.sortableInfo.index;return de-Le}function A(Te,oe,de){return Te=Te.slice(),Te.splice(de<0?Te.length+de:de,0,Te.splice(oe,1)[0]),Te}function S(Te,oe){return Object.keys(Te).reduce(function(de,Le){return oe.indexOf(Le)===-1&&(de[Le]=Te[Le]),de},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},L=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Te=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],oe=(Array.prototype.slice.call(Te).join("").match(/-(moz|webkit|ms)-/)||Te.OLink===""&&["","o"])[1];switch(oe){case"ms":return"ms";default:return oe&&oe.length?oe[0].toUpperCase()+oe.substr(1):""}}();function x(Te,oe){Object.keys(oe).forEach(function(de){Te.style[de]=oe[de]})}function C(Te,oe){Te.style["".concat(L,"Transform")]=oe==null?"":"translate3d(".concat(oe.x,"px,").concat(oe.y,"px,0)")}function O(Te,oe){Te.style["".concat(L,"TransitionDuration")]=oe==null?"":"".concat(oe,"ms")}function N(Te,oe){for(;Te;){if(oe(Te))return Te;Te=Te.parentNode}return null}function F(Te,oe,de){return Math.max(Te,Math.min(de,oe))}function k(Te){return Te.substr(-2)==="px"?parseFloat(Te):0}function P(Te){var oe=window.getComputedStyle(Te);return{bottom:k(oe.marginBottom),left:k(oe.marginLeft),right:k(oe.marginRight),top:k(oe.marginTop)}}function B(Te,oe){var de=oe.displayName||oe.name;return de?"".concat(Te,"(").concat(de,")"):Te}function z(Te,oe){var de=Te.getBoundingClientRect();return{top:de.top+oe.top,left:de.left+oe.left}}function R(Te){return Te.touches&&Te.touches.length?{x:Te.touches[0].pageX,y:Te.touches[0].pageY}:Te.changedTouches&&Te.changedTouches.length?{x:Te.changedTouches[0].pageX,y:Te.changedTouches[0].pageY}:{x:Te.pageX,y:Te.pageY}}function U(Te){return Te.touches&&Te.touches.length||Te.changedTouches&&Te.changedTouches.length}function j(Te,oe){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Te)return;var Le={left:de.left+Te.offsetLeft,top:de.top+Te.offsetTop};return Te.parentNode===oe?Le:j(Te.parentNode,oe,Le)}function H(Te,oe,de){return Te<de&&Te>oe?Te-1:Te>de&&Te<oe?Te+1:Te}function V(Te){var oe=Te.lockOffset,de=Te.width,Le=Te.height,Ge=oe,ht=oe,Et="px";if(typeof oe=="string"){var Be=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(oe);p()(Be!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',oe),Ge=parseFloat(oe),ht=parseFloat(oe),Et=Be[1]}return p()(isFinite(Ge)&&isFinite(ht),"lockOffset value should be a finite. Given %s",oe),Et==="%"&&(Ge=Ge*de/100,ht=ht*Le/100),{x:Ge,y:ht}}function X(Te){var oe=Te.height,de=Te.width,Le=Te.lockOffset,Ge=Array.isArray(Le)?Le:[Le,Le];p()(Ge.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Le);var ht=Object(f.a)(Ge,2),Et=ht[0],Be=ht[1];return[V({height:oe,lockOffset:Et,width:de}),V({height:oe,lockOffset:Be,width:de})]}function W(Te){var oe=window.getComputedStyle(Te),de=/(auto|scroll)/,Le=["overflow","overflowX","overflowY"];return Le.find(function(Ge){return de.test(oe[Ge])})}function G(Te){return Te instanceof HTMLElement?W(Te)?Te:G(Te.parentNode):null}function $(Te){var oe=window.getComputedStyle(Te);return oe.display==="grid"?{x:k(oe.gridColumnGap),y:k(oe.gridRowGap)}:{x:0,y:0}}var ge={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},q={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Se(Te){var oe="input, textarea, select, canvas, [contenteditable]",de=Te.querySelectorAll(oe),Le=Te.cloneNode(!0),Ge=Object(w.a)(Le.querySelectorAll(oe));return Ge.forEach(function(ht,Et){if(ht.type!=="file"&&(ht.value=de[Et].value),ht.type==="radio"&&ht.name&&(ht.name="__sortableClone__".concat(ht.name)),ht.tagName===q.Canvas&&de[Et].width>0&&de[Et].height>0){var Be=ht.getContext("2d");Be.drawImage(de[Et],0,0)}}),Le}function Ce(Te){var oe,de,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Ge){Object(a.a)(ht,Ge);function ht(){return Object(m.a)(this,ht),Object(h.a)(this,Object(c.a)(ht).apply(this,arguments))}return Object(v.a)(ht,[{key:"componentDidMount",value:function(){var Be=Object(t.findDOMNode)(this);Be.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Te,Object(g.a)({ref:Be},this.props))}}]),ht}(o.Component),Object(r.a)(oe,"displayName",B("sortableHandle",Te)),de}function Ae(Te){return Te.sortableHandle!=null}var Ue=function(){function Te(oe,de){Object(m.a)(this,Te),this.container=oe,this.onScrollCallback=de}return Object(v.a)(Te,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(de){var Le=this,Ge=de.translate,ht=de.minTranslate,Et=de.maxTranslate,Be=de.width,Dt=de.height,Ke={x:0,y:0},At={x:1,y:1},Xe={x:10,y:10},et=this.container,tt=et.scrollTop,ot=et.scrollLeft,Ve=et.scrollHeight,se=et.scrollWidth,re=et.clientHeight,it=et.clientWidth,qe=tt===0,be=Ve-tt-re===0,Zt=ot===0,dt=se-ot-it===0;Ge.y>=Et.y-Dt/2&&!be?(Ke.y=1,At.y=Xe.y*Math.abs((Et.y-Dt/2-Ge.y)/Dt)):Ge.x>=Et.x-Be/2&&!dt?(Ke.x=1,At.x=Xe.x*Math.abs((Et.x-Be/2-Ge.x)/Be)):Ge.y<=ht.y+Dt/2&&!qe?(Ke.y=-1,At.y=Xe.y*Math.abs((Ge.y-Dt/2-ht.y)/Dt)):Ge.x<=ht.x+Be/2&&!Zt&&(Ke.x=-1,At.x=Xe.x*Math.abs((Ge.x-Be/2-ht.x)/Be)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ke.x!==0||Ke.y!==0)&&(this.interval=setInterval(function(){Le.isAutoScrolling=!0;var ct={left:At.x*Ke.x,top:At.y*Ke.y};Le.container.scrollTop+=ct.top,Le.container.scrollLeft+=ct.left,Le.onScrollCallback(ct)},5))}}]),Te}();function Qe(Te){var oe=Te.node;return{height:oe.offsetHeight,width:oe.offsetWidth}}function gt(Te){var oe=[q.Input,q.Textarea,q.Select,q.Option,q.Button];return oe.indexOf(Te.target.tagName)!==-1?!0:!!N(Te.target,function(de){return de.contentEditable==="true"})}var _e={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},Oe={lift:[ge.SPACE],drop:[ge.SPACE],cancel:[ge.ESC],up:[ge.UP,ge.LEFT],down:[ge.DOWN,ge.RIGHT]},lt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Qe,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Oe,shouldCancelStart:gt,transitionDuration:300,useWindowAsScrollContainer:!1},ce=Object.keys(_e);function Y(Te){p()(!(Te.distance&&Te.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function K(Te,oe){try{var de=Te()}catch(Le){return oe(!0,Le)}return de&&de.then?de.then(oe.bind(null,!1),oe.bind(null,!0)):oe(!1,value)}function Q(Te){var oe,de,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Ge){Object(a.a)(ht,Ge);function ht(Et){var Be;return Object(m.a)(this,ht),Be=Object(h.a)(this,Object(c.a)(ht).call(this,Et)),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"state",{}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleStart",function(Dt){var Ke=Be.props,At=Ke.distance,Xe=Ke.shouldCancelStart;if(Dt.button===2||Xe(Dt))return;Be.touched=!0,Be.position=R(Dt);var et=N(Dt.target,function(it){return it.sortableInfo!=null});if(et&&et.sortableInfo&&Be.nodeIsChild(et)&&!Be.state.sorting){var tt=Be.props.useDragHandle,ot=et.sortableInfo,Ve=ot.index,se=ot.collection,re=ot.disabled;if(re)return;if(tt&&!N(Dt.target,Ae))return;Be.manager.active={collection:se,index:Ve},!U(Dt)&&Dt.target.tagName===q.Anchor&&Dt.preventDefault(),At||(Be.props.pressDelay===0?Be.handlePress(Dt):Be.pressTimer=setTimeout(function(){return Be.handlePress(Dt)},Be.props.pressDelay))}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"nodeIsChild",function(Dt){return Dt.sortableInfo.manager===Be.manager}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleMove",function(Dt){var Ke=Be.props,At=Ke.distance,Xe=Ke.pressThreshold;if(!Be.state.sorting&&Be.touched&&!Be._awaitingUpdateBeforeSortStart){var et=R(Dt),tt={x:Be.position.x-et.x,y:Be.position.y-et.y},ot=Math.abs(tt.x)+Math.abs(tt.y);Be.delta=tt,!At&&(!Xe||ot>=Xe)?(clearTimeout(Be.cancelTimer),Be.cancelTimer=setTimeout(Be.cancel,0)):At&&ot>=At&&Be.manager.isActive()&&Be.handlePress(Dt)}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleEnd",function(){Be.touched=!1,Be.cancel()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"cancel",function(){var Dt=Be.props.distance,Ke=Be.state.sorting;Ke||(Dt||clearTimeout(Be.pressTimer),Be.manager.active=null)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handlePress",function(Dt){try{var Ke=Be.manager.getActive(),At=function(){if(Ke){var Xe=function(){var _t=be.sortableInfo.index,or=P(be),Bt=$(Be.container),we=Be.scrollContainer.getBoundingClientRect(),ve=ot({index:_t,node:be,collection:Zt});if(Be.node=be,Be.margin=or,Be.gridGap=Bt,Be.width=ve.width,Be.height=ve.height,Be.marginOffset={x:Be.margin.left+Be.margin.right+Be.gridGap.x,y:Math.max(Be.margin.top,Be.margin.bottom,Be.gridGap.y)},Be.boundingClientRect=be.getBoundingClientRect(),Be.containerBoundingRect=we,Be.index=_t,Be.newIndex=_t,Be.axis={x:tt.indexOf("x")>=0,y:tt.indexOf("y")>=0},Be.offsetEdge=j(be,Be.container),dt?Be.initialOffset=R(Object(y.a)({},Dt,{pageX:Be.boundingClientRect.left,pageY:Be.boundingClientRect.top})):Be.initialOffset=R(Dt),Be.initialScroll={left:Be.scrollContainer.scrollLeft,top:Be.scrollContainer.scrollTop},Be.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Be.helper=Be.helperContainer.appendChild(Se(be)),x(Be.helper,{boxSizing:"border-box",height:"".concat(Be.height,"px"),left:"".concat(Be.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Be.boundingClientRect.top-or.top,"px"),width:"".concat(Be.width,"px")}),dt&&Be.helper.focus(),se&&(Be.sortableGhost=be,x(be,{opacity:0,visibility:"hidden"})),Be.minTranslate={},Be.maxTranslate={},dt){var me=qe?{top:0,left:0,width:Be.contentWindow.innerWidth,height:Be.contentWindow.innerHeight}:Be.containerBoundingRect,he=me.top,Re=me.left,He=me.width,ze=me.height,Ye=he+ze,Pe=Re+He;Be.axis.x&&(Be.minTranslate.x=Re-Be.boundingClientRect.left,Be.maxTranslate.x=Pe-(Be.boundingClientRect.left+Be.width)),Be.axis.y&&(Be.minTranslate.y=he-Be.boundingClientRect.top,Be.maxTranslate.y=Ye-(Be.boundingClientRect.top+Be.height))}else Be.axis.x&&(Be.minTranslate.x=(qe?0:we.left)-Be.boundingClientRect.left-Be.width/2,Be.maxTranslate.x=(qe?Be.contentWindow.innerWidth:we.left+we.width)-Be.boundingClientRect.left-Be.width/2),Be.axis.y&&(Be.minTranslate.y=(qe?0:we.top)-Be.boundingClientRect.top-Be.height/2,Be.maxTranslate.y=(qe?Be.contentWindow.innerHeight:we.top+we.height)-Be.boundingClientRect.top-Be.height/2);Ve&&Ve.split(" ").forEach(function(nt){return Be.helper.classList.add(nt)}),Be.listenerNode=Dt.touches?be:Be.contentWindow,dt?(Be.listenerNode.addEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.addEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortMove,!1)}),T.end.forEach(function(nt){return Be.listenerNode.addEventListener(nt,Be.handleSortEnd,!1)})),Be.setState({sorting:!0,sortingIndex:_t}),it&&it({node:be,index:_t,collection:Zt,isKeySorting:dt,nodes:Be.manager.getOrderedRefs(),helper:Be.helper},Dt),dt&&Be.keyMove(0)},et=Be.props,tt=et.axis,ot=et.getHelperDimensions,Ve=et.helperClass,se=et.hideSortableGhost,re=et.updateBeforeSortStart,it=et.onSortStart,qe=et.useWindowAsScrollContainer,be=Ke.node,Zt=Ke.collection,dt=Be.manager.isKeySorting,ct=function(){if(typeof re=="function"){Be._awaitingUpdateBeforeSortStart=!0;var yt=K(function(){var _t=be.sortableInfo.index;return Promise.resolve(re({collection:Zt,index:_t,node:be,isKeySorting:dt},Dt)).then(function(){})},function(_t,or){if(Be._awaitingUpdateBeforeSortStart=!1,_t)throw or;return or});if(yt&&yt.then)return yt.then(function(){})}}();return ct&&ct.then?ct.then(Xe):Xe(ct)}}();return Promise.resolve(At&&At.then?At.then(function(){}):void 0)}catch(Xe){return Promise.reject(Xe)}}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleSortMove",function(Dt){var Ke=Be.props.onSortMove;typeof Dt.preventDefault=="function"&&Dt.preventDefault(),Be.updateHelperPosition(Dt),Be.animateNodes(),Be.autoscroll(),Ke&&Ke(Dt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleSortEnd",function(Dt){var Ke=Be.props,At=Ke.hideSortableGhost,Xe=Ke.onSortEnd,et=Be.manager,tt=et.active.collection,ot=et.isKeySorting,Ve=Be.manager.getOrderedRefs();Be.listenerNode&&(ot?(Be.listenerNode.removeEventListener("wheel",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("mousedown",Be.handleKeyEnd,!0),Be.listenerNode.removeEventListener("keydown",Be.handleKeyDown)):(T.move.forEach(function(be){return Be.listenerNode.removeEventListener(be,Be.handleSortMove)}),T.end.forEach(function(be){return Be.listenerNode.removeEventListener(be,Be.handleSortEnd)}))),Be.helper.parentNode.removeChild(Be.helper),At&&Be.sortableGhost&&x(Be.sortableGhost,{opacity:"",visibility:""});for(var se=0,re=Ve.length;se<re;se++){var it=Ve[se],qe=it.node;it.edgeOffset=null,it.boundingClientRect=null,C(qe,null),O(qe,null),it.translate=null}Be.autoScroller.clear(),Be.manager.active=null,Be.manager.isKeySorting=!1,Be.setState({sorting:!1,sortingIndex:null}),typeof Xe=="function"&&Xe({collection:tt,newIndex:Be.newIndex,oldIndex:Be.index,isKeySorting:ot,nodes:Ve},Dt),Be.touched=!1}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"autoscroll",function(){var Dt=Be.props.disableAutoscroll,Ke=Be.manager.isKeySorting;if(Dt){Be.autoScroller.clear();return}if(Ke){var At=Object(y.a)({},Be.translate),Xe=0,et=0;Be.axis.x&&(At.x=Math.min(Be.maxTranslate.x,Math.max(Be.minTranslate.x,Be.translate.x)),Xe=Be.translate.x-At.x),Be.axis.y&&(At.y=Math.min(Be.maxTranslate.y,Math.max(Be.minTranslate.y,Be.translate.y)),et=Be.translate.y-At.y),Be.translate=At,C(Be.helper,Be.translate),Be.scrollContainer.scrollLeft+=Xe,Be.scrollContainer.scrollTop+=et;return}Be.autoScroller.update({height:Be.height,maxTranslate:Be.maxTranslate,minTranslate:Be.minTranslate,translate:Be.translate,width:Be.width})}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"onAutoScroll",function(Dt){Be.translate.x+=Dt.left,Be.translate.y+=Dt.top,Be.animateNodes()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyDown",function(Dt){var Ke=Dt.keyCode,At=Be.props,Xe=At.shouldCancelStart,et=At.keyCodes,tt=et===void 0?{}:et,ot=Object(y.a)({},Oe,tt);if(Be.manager.active&&!Be.manager.isKeySorting||!Be.manager.active&&(!ot.lift.includes(Ke)||Xe(Dt)||!Be.isValidSortingTarget(Dt)))return;Dt.stopPropagation(),Dt.preventDefault(),ot.lift.includes(Ke)&&!Be.manager.active?Be.keyLift(Dt):ot.drop.includes(Ke)&&Be.manager.active?Be.keyDrop(Dt):ot.cancel.includes(Ke)?(Be.newIndex=Be.manager.active.index,Be.keyDrop(Dt)):ot.up.includes(Ke)?Be.keyMove(-1):ot.down.includes(Ke)&&Be.keyMove(1)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyLift",function(Dt){var Ke=Dt.target,At=N(Ke,function(ot){return ot.sortableInfo!=null}),Xe=At.sortableInfo,et=Xe.index,tt=Xe.collection;Be.initialFocusedNode=Ke,Be.manager.isKeySorting=!0,Be.manager.active={index:et,collection:tt},Be.handlePress(Dt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyMove",function(Dt){var Ke=Be.manager.getOrderedRefs(),At=Ke[Ke.length-1].node.sortableInfo.index,Xe=Be.newIndex+Dt,et=Be.newIndex;if(Xe<0||Xe>At)return;Be.prevIndex=et,Be.newIndex=Xe;var tt=H(Be.newIndex,Be.prevIndex,Be.index),ot=Ke.find(function(dt){var ct=dt.node;return ct.sortableInfo.index===tt}),Ve=ot.node,se=Be.containerScrollDelta,re=ot.boundingClientRect||z(Ve,se),it=ot.translate||{x:0,y:0},qe={top:re.top+it.y-se.top,left:re.left+it.x-se.left},be=et<Xe,Zt={x:be&&Be.axis.x?Ve.offsetWidth-Be.width:0,y:be&&Be.axis.y?Ve.offsetHeight-Be.height:0};Be.handleSortMove({pageX:qe.left+Zt.x,pageY:qe.top+Zt.y,ignoreTransition:Dt===0})}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"keyDrop",function(Dt){Be.handleSortEnd(Dt),Be.initialFocusedNode&&Be.initialFocusedNode.focus()}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"handleKeyEnd",function(Dt){Be.manager.active&&Be.keyDrop(Dt)}),Object(r.a)(Object(i.a)(Object(i.a)(Be)),"isValidSortingTarget",function(Dt){var Ke=Be.props.useDragHandle,At=Dt.target,Xe=N(At,function(et){return et.sortableInfo!=null});return Xe&&Xe.sortableInfo&&!Xe.sortableInfo.disabled&&(Ke?Ae(At):At.sortableInfo)}),Y(Et),Be.manager=new b,Be.events={end:Be.handleEnd,move:Be.handleMove,start:Be.handleStart},Be}return Object(v.a)(ht,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Be=this,Dt=this.props.useWindowAsScrollContainer,Ke=this.getContainer();Promise.resolve(Ke).then(function(At){Be.container=At,Be.document=Be.container.ownerDocument||document;var Xe=Be.props.contentWindow||Be.document.defaultView||window;Be.contentWindow=typeof Xe=="function"?Xe():Xe,Be.scrollContainer=Dt?Be.document.scrollingElement||Be.document.documentElement:G(Be.container)||Be.container,Be.autoScroller=new Ue(Be.scrollContainer,Be.onAutoScroll),Object.keys(Be.events).forEach(function(et){return T[et].forEach(function(tt){return Be.container.addEventListener(tt,Be.events[et],!1)})}),Be.container.addEventListener("keydown",Be.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Be=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Dt){return T[Dt].forEach(function(Ke){return Be.container.removeEventListener(Ke,Be.events[Dt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Be){var Dt=this.props,Ke=Dt.lockAxis,At=Dt.lockOffset,Xe=Dt.lockToContainerEdges,et=Dt.transitionDuration,tt=Dt.keyboardSortingTransitionDuration,ot=tt===void 0?et:tt,Ve=this.manager.isKeySorting,se=Be.ignoreTransition,re=R(Be),it={x:re.x-this.initialOffset.x,y:re.y-this.initialOffset.y};if(it.y-=window.pageYOffset-this.initialWindowScroll.top,it.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=it,Xe){var qe=X({height:this.height,lockOffset:At,width:this.width}),be=Object(f.a)(qe,2),Zt=be[0],dt=be[1],ct={x:this.width/2-Zt.x,y:this.height/2-Zt.y},yt={x:this.width/2-dt.x,y:this.height/2-dt.y};it.x=F(this.minTranslate.x+ct.x,this.maxTranslate.x-yt.x,it.x),it.y=F(this.minTranslate.y+ct.y,this.maxTranslate.y-yt.y,it.y)}Ke==="x"?it.y=0:Ke==="y"&&(it.x=0),Ve&&ot&&!se&&O(this.helper,ot),C(this.helper,it)}},{key:"animateNodes",value:function(){var Be=this.props,Dt=Be.transitionDuration,Ke=Be.hideSortableGhost,At=Be.onSortOver,Xe=this.containerScrollDelta,et=this.windowScrollDelta,tt=this.manager.getOrderedRefs(),ot={left:this.offsetEdge.left+this.translate.x+Xe.left,top:this.offsetEdge.top+this.translate.y+Xe.top},Ve=this.manager.isKeySorting,se=this.newIndex;this.newIndex=null;for(var re=0,it=tt.length;re<it;re++){var qe=tt[re].node,be=qe.sortableInfo.index,Zt=qe.offsetWidth,dt=qe.offsetHeight,ct={height:this.height>dt?dt/2:this.height/2,width:this.width>Zt?Zt/2:this.width/2},yt=Ve&&be>this.index&&be<=se,_t=Ve&&be<this.index&&be>=se,or={x:0,y:0},Bt=tt[re].edgeOffset;Bt||(Bt=j(qe,this.container),tt[re].edgeOffset=Bt,Ve&&(tt[re].boundingClientRect=z(qe,Xe)));var we=re<tt.length-1&&tt[re+1],ve=re>0&&tt[re-1];if(we&&!we.edgeOffset&&(we.edgeOffset=j(we.node,this.container),Ve&&(we.boundingClientRect=z(we.node,Xe))),be===this.index){Ke&&(this.sortableGhost=qe,x(qe,{opacity:0,visibility:"hidden"}));continue}Dt&&O(qe,Dt),this.axis.x?this.axis.y?_t||be<this.index&&(ot.left+et.left-ct.width<=Bt.left&&ot.top+et.top<=Bt.top+ct.height||ot.top+et.top+ct.height<=Bt.top)?(or.x=this.width+this.marginOffset.x,Bt.left+or.x>this.containerBoundingRect.width-ct.width&&(we&&(or.x=we.edgeOffset.left-Bt.left,or.y=we.edgeOffset.top-Bt.top)),this.newIndex===null&&(this.newIndex=be)):(yt||be>this.index&&(ot.left+et.left+ct.width>=Bt.left&&ot.top+et.top+ct.height>=Bt.top||ot.top+et.top+ct.height>=Bt.top+dt))&&(or.x=-(this.width+this.marginOffset.x),Bt.left+or.x<this.containerBoundingRect.left+ct.width&&(ve&&(or.x=ve.edgeOffset.left-Bt.left,or.y=ve.edgeOffset.top-Bt.top)),this.newIndex=be):yt||be>this.index&&ot.left+et.left+ct.width>=Bt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=be):(_t||be<this.index&&ot.left+et.left<=Bt.left+ct.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=be)):this.axis.y&&(yt||be>this.index&&ot.top+et.top+ct.height>=Bt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=be):(_t||be<this.index&&ot.top+et.top<=Bt.top+ct.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=be))),C(qe,or),tt[re].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=se);var me=Ve?this.prevIndex:se;At&&this.newIndex!==me&&At({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:me,isKeySorting:Ve,nodes:tt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Be=this.props.getContainer;return typeof Be!="function"?Object(t.findDOMNode)(this):Be(Le.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Te,Object(g.a)({ref:Be},S(this.props,ce)))}},{key:"helperContainer",get:function(){var Be=this.props.helperContainer;return typeof Be=="function"?Be():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Be=this.props.useWindowAsScrollContainer;return Be?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),ht}(o.Component),Object(r.a)(oe,"displayName",B("sortableList",Te)),Object(r.a)(oe,"defaultProps",lt),Object(r.a)(oe,"propTypes",_e),Object(r.a)(oe,"childContextTypes",{manager:l.a.object.isRequired}),de}var ye={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},ue=Object.keys(ye);function Ne(Te){var oe,de,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return de=oe=function(Ge){Object(a.a)(ht,Ge);function ht(){return Object(m.a)(this,ht),Object(h.a)(this,Object(c.a)(ht).apply(this,arguments))}return Object(v.a)(ht,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Be){this.node&&(Be.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Be.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Be.collection!==this.props.collection&&(this.unregister(Be.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Be=this.props,Dt=Be.collection,Ke=Be.disabled,At=Be.index,Xe=Object(t.findDOMNode)(this);Xe.sortableInfo={collection:Dt,disabled:Ke,index:At,manager:this.context.manager},this.node=Xe,this.ref={node:Xe},this.context.manager.add(Dt,this.ref)}},{key:"unregister",value:function(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Be,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(Le.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Be=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Te,Object(g.a)({ref:Be},S(this.props,ue)))}}]),ht}(o.Component),Object(r.a)(oe,"displayName",B("sortableElement",Te)),Object(r.a)(oe,"contextTypes",{manager:l.a.object.isRequired}),Object(r.a)(oe,"propTypes",ye),Object(r.a)(oe,"defaultProps",{collection:0}),de}},YNAk:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("QyFq")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownFilled";var c=y.forwardRef(h);_.default=c},YNf1:function(D,_,e){var g=e("IwbS"),f=e("6Ic6"),y=.3,m=f.extend({type:"parallel",init:function(){this._dataGroup=new g.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(d,n,l,t){var s=this._dataGroup,u=d.getData(),p=this._data,w=d.coordinateSystem,b=w.dimensions,E=a(d);u.diff(p).add(A).update(S).remove(T).execute();function A(x){var C=c(u,s,x,b,w);i(C,u,x,E)}function S(x,C){var O=p.getItemGraphicEl(C),N=h(u,x,b,w);u.setItemGraphicEl(x,O);var F=t&&t.animation===!1?null:d;g.updateProps(O,{shape:{points:N}},F,x),i(O,u,x,E)}function T(x){var C=p.getItemGraphicEl(x);s.remove(C)}if(!this._initialized){this._initialized=!0;var L=v(w,d,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(L)}this._data=u},incrementalPrepareRender:function(d,n,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(d,n,l){for(var t=n.getData(),s=n.coordinateSystem,u=s.dimensions,p=a(n),w=d.start;w<d.end;w++){var b=c(t,this._dataGroup,w,u,s);b.incremental=!0,i(b,t,w,p)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(d,n,l){var t=d.model,s=d.getRect(),u=new g.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),p=t.get("layout")==="horizontal"?"width":"height";return u.setShape(p,0),g.initProps(u,{shape:{width:s.width,height:s.height}},n,l),u}function h(d,n,l,t){for(var s=[],u=0;u<l.length;u++){var p=l[u],w=d.get(d.mapDimension(p),n);r(w,t.getAxis(p).type)||s.push(t.dataToPoint(w,p))}return s}function c(d,n,l,t,s){var u=h(d,l,t,s),p=new g.Polyline({shape:{points:u},silent:!0,z2:10});return n.add(p),d.setItemGraphicEl(l,p),p}function a(d){var n=d.get("smooth",!0);return n===!0&&(n=y),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:y}}function i(d,n,l,t){var s=t.lineStyle;if(n.hasItemOption){var u=n.getItemModel(l).getModel("lineStyle");s=u.getLineStyle()}d.useStyle(s);var p=d.style;p.fill=null,p.stroke=n.getItemVisual(l,"color"),p.opacity=n.getItemVisual(l,"opacity"),t.smooth&&(d.shape.smooth=t.smooth)}function r(d,n){return n==="category"?d==null:d==null||isNaN(d)}var o=m;D.exports=o},YOMW:function(D,_,e){var g=e("bYtY"),f={get:function(v,h,c){var a=g.clone((y[v]||{})[h]);return c&&g.isArray(a)?a[a.length-1]:a}},y={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;D.exports=m},YXkt:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("Qxkt"),v=e("gPAo"),h=e("7G+c"),c=e("KxfA"),a=c.defaultDimValueGetters,i=c.DefaultDataProvider,r=e("L0Ub"),o=r.summarizeDimensions,d=e("Vi4m"),n=y.isObject,l="undefined",t=-1,s="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array===l?Array:Uint32Array,w=typeof Int32Array===l?Array:Int32Array,b=typeof Uint16Array===l?Array:Uint16Array;function E(W){return W._rawCount>65535?p:b}function A(W){var G=W.constructor;return G===Array?W.slice():new G(W)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function L(W,G){y.each(S.concat(G.__wrappedMethods||[]),function($){G.hasOwnProperty($)&&(W[$]=G[$])}),W.__wrappedMethods=G.__wrappedMethods,y.each(T,function($){W[$]=y.clone(G[$])}),W._calculationInfo=y.extend(G._calculationInfo)}var x=function(W,G){W=W||["x","y"];for(var $={},ge=[],q={},Se=0;Se<W.length;Se++){var Ce=W[Se];y.isString(Ce)?Ce=new d({name:Ce}):Ce instanceof d||(Ce=new d(Ce));var Ae=Ce.name;Ce.type=Ce.type||"float",Ce.coordDim||(Ce.coordDim=Ae,Ce.coordDimIndex=0),Ce.otherDims=Ce.otherDims||{},ge.push(Ae),$[Ae]=Ce,Ce.index=Se,Ce.createInvertedIndices&&(q[Ae]=[])}this.dimensions=ge,this._dimensionInfos=$,this.hostModel=G,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=o(this),this._invertedIndicesMap=q,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=x.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(W){return(typeof W=="number"||!isNaN(W)&&!this._dimensionInfos.hasOwnProperty(W))&&(W=this.dimensions[W]),W},C.getDimensionInfo=function(W){return this._dimensionInfos[this.getDimension(W)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(W,G){var $=this._dimensionsSummary;if(G==null)return $.encodeFirstDimNotExtra[W];var ge=$.encode[W];return G===!0?(ge||[]).slice():ge&&ge[G]},C.initData=function(W,G,$){var ge=h.isInstance(W)||y.isArrayLike(W);ge&&(W=new i(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=G||[],this._idList=[],this._nameRepeatCount={},$||(this.hasItemOption=!1),this.defaultDimValueGetter=a[this._rawData.getSource().sourceFormat],this._dimValueGetter=$=$||this.defaultDimValueGetter,this._dimValueGetterArrayRows=a.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(W){var G=this._rawData,$=this.count();G.appendData(W);var ge=G.count();G.persistent||(ge+=$),this._initDataFromProvider($,ge)},C.appendValues=function(W,G){for(var $=this._chunkSize,ge=this._storage,q=this.dimensions,Se=q.length,Ce=this._rawExtent,Ae=this.count(),Ue=Ae+Math.max(W.length,G?G.length:0),Qe=this._chunkCount,gt=0;gt<Se;gt++){var _e=q[gt];Ce[_e]||(Ce[_e]=H()),ge[_e]||(ge[_e]=[]),O(ge,this._dimensionInfos[_e],$,Qe,Ue),this._chunkCount=ge[_e].length}for(var Oe=new Array(Se),lt=Ae;lt<Ue;lt++){for(var ce=lt-Ae,Y=Math.floor(lt/$),K=lt%$,Q=0;Q<Se;Q++){var _e=q[Q],ye=this._dimValueGetterArrayRows(W[ce]||Oe,_e,ce,Q);ge[_e][Y][K]=ye;var ue=Ce[_e];ye<ue[0]&&(ue[0]=ye),ye>ue[1]&&(ue[1]=ye)}G&&(this._nameList[lt]=G[ce])}this._rawCount=this._count=Ue,this._extent={},N(this)},C._initDataFromProvider=function(W,G){if(W>=G)return;for(var $=this._chunkSize,ge=this._rawData,q=this._storage,Se=this.dimensions,Ce=Se.length,Ae=this._dimensionInfos,Ue=this._nameList,Qe=this._idList,gt=this._rawExtent,_e=this._nameRepeatCount={},Oe,lt=this._chunkCount,ce=0;ce<Ce;ce++){var Y=Se[ce];gt[Y]||(gt[Y]=H());var K=Ae[Y];K.otherDims.itemName===0&&(Oe=this._nameDimIdx=ce),K.otherDims.itemId===0&&(this._idDimIdx=ce),q[Y]||(q[Y]=[]),O(q,K,$,lt,G),this._chunkCount=q[Y].length}for(var Q=new Array(Ce),ye=W;ye<G;ye++){Q=ge.getItem(ye,Q);for(var ue=Math.floor(ye/$),Ne=ye%$,Te=0;Te<Ce;Te++){var Y=Se[Te],oe=q[Y][ue],de=this._dimValueGetter(Q,Y,ye,Te);oe[Ne]=de;var Le=gt[Y];de<Le[0]&&(Le[0]=de),de>Le[1]&&(Le[1]=de)}if(!ge.pure){var Ge=Ue[ye];if(Q&&Ge==null){if(Q.name!=null)Ue[ye]=Ge=Q.name;else if(Oe!=null){var ht=Se[Oe],Et=q[ht][ue];if(Et){Ge=Et[Ne];var Be=Ae[ht].ordinalMeta;Be&&Be.categories.length&&(Ge=Be.categories[Ge])}}}var Dt=Q==null?null:Q.id;Dt==null&&Ge!=null&&(_e[Ge]=_e[Ge]||0,Dt=Ge,_e[Ge]>0&&(Dt+="__ec__"+_e[Ge]),_e[Ge]++),Dt!=null&&(Qe[ye]=Dt)}}!ge.persistent&&ge.clean&&ge.clean(),this._rawCount=this._count=G,this._extent={},N(this)};function O(W,G,$,ge,q){var Se=u[G.type],Ce=ge-1,Ae=G.name,Ue=W[Ae][Ce];if(Ue&&Ue.length<$){for(var Qe=new Se(Math.min(q-Ce*$,$)),gt=0;gt<Ue.length;gt++)Qe[gt]=Ue[gt];W[Ae][Ce]=Qe}for(var _e=ge*$;_e<q;_e+=$)W[Ae].push(new Se(Math.min(q-_e,$)))}function N(W){var G=W._invertedIndicesMap;y.each(G,function($,ge){var q=W._dimensionInfos[ge],Se=q.ordinalMeta;if(Se){$=G[ge]=new w(Se.categories.length);for(var Ce=0;Ce<$.length;Ce++)$[Ce]=t;for(var Ce=0;Ce<W._count;Ce++)$[W.get(ge,Ce)]=Ce}})}function F(W,G,$){var ge;if(G!=null){var q=W._chunkSize,Se=Math.floor($/q),Ce=$%q,Ae=W.dimensions[G],Ue=W._storage[Ae][Se];if(Ue){ge=Ue[Ce];var Qe=W._dimensionInfos[Ae].ordinalMeta;Qe&&Qe.categories.length&&(ge=Qe.categories[ge])}}return ge}C.count=function(){return this._count},C.getIndices=function(){var W,G=this._indices;if(G){var $=G.constructor,ge=this._count;if($===Array){W=new $(ge);for(var q=0;q<ge;q++)W[q]=G[q]}else W=new $(G.buffer,0,ge)}else for(var $=E(this),W=new $(this.count()),q=0;q<W.length;q++)W[q]=q;return W},C.get=function(W,G){if(!(G>=0&&G<this._count))return NaN;var $=this._storage;if(!$[W])return NaN;G=this.getRawIndex(G);var ge=Math.floor(G/this._chunkSize),q=G%this._chunkSize,Se=$[W][ge],Ce=Se[q];return Ce},C.getByRawIndex=function(W,G){if(!(G>=0&&G<this._rawCount))return NaN;var $=this._storage[W];if(!$)return NaN;var ge=Math.floor(G/this._chunkSize),q=G%this._chunkSize,Se=$[ge];return Se[q]},C._getFast=function(W,G){var $=Math.floor(G/this._chunkSize),ge=G%this._chunkSize,q=this._storage[W][$];return q[ge]},C.getValues=function(W,G){var $=[];y.isArray(W)||(G=W,W=this.dimensions);for(var ge=0,q=W.length;ge<q;ge++)$.push(this.get(W[ge],G));return $},C.hasValue=function(W){for(var G=this._dimensionsSummary.dataDimsOnCoord,$=0,ge=G.length;$<ge;$++)if(isNaN(this.get(G[$],W)))return!1;return!0},C.getDataExtent=function(W){W=this.getDimension(W);var G=this._storage[W],$=H();if(!G)return $;var ge=this.count(),q=!this._indices,Se;if(q)return this._rawExtent[W].slice();if(Se=this._extent[W],Se)return Se.slice();Se=$;for(var Ce=Se[0],Ae=Se[1],Ue=0;Ue<ge;Ue++){var Qe=this._getFast(W,this.getRawIndex(Ue));Qe<Ce&&(Ce=Qe),Qe>Ae&&(Ae=Qe)}return Se=[Ce,Ae],this._extent[W]=Se,Se},C.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},C.setApproximateExtent=function(W,G){G=this.getDimension(G),this._approximateExtent[G]=W.slice()},C.getCalculationInfo=function(W){return this._calculationInfo[W]},C.setCalculationInfo=function(W,G){n(W)?y.extend(this._calculationInfo,W):this._calculationInfo[W]=G},C.getSum=function(W){var G=this._storage[W],$=0;if(G)for(var ge=0,q=this.count();ge<q;ge++){var Se=this.get(W,ge);isNaN(Se)||($+=Se)}return $},C.getMedian=function(W){var G=[];this.each(W,function(q,Se){isNaN(q)||G.push(q)});var $=[].concat(G).sort(function(q,Se){return q-Se}),ge=this.count();return ge===0?0:ge%2===1?$[(ge-1)/2]:($[ge/2]+$[ge/2-1])/2},C.rawIndexOf=function(W,G){var $=W&&this._invertedIndicesMap[W],ge=$[G];return ge==null||isNaN(ge)?t:ge},C.indexOfName=function(W){for(var G=0,$=this.count();G<$;G++)if(this.getName(G)===W)return G;return-1},C.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var G=this._indices,$=G[W];if($!=null&&$<this._count&&$===W)return W;for(var ge=0,q=this._count-1;ge<=q;){var Se=(ge+q)/2|0;if(G[Se]<W)ge=Se+1;else if(G[Se]>W)q=Se-1;else return Se}return-1},C.indicesOfNearest=function(W,G,$){var ge=this._storage,q=ge[W],Se=[];if(!q)return Se;$==null&&($=Infinity);for(var Ce=Infinity,Ae=-1,Ue=0,Qe=0,gt=this.count();Qe<gt;Qe++){var _e=G-this.get(W,Qe),Oe=Math.abs(_e);Oe<=$&&((Oe<Ce||Oe===Ce&&_e>=0&&Ae<0)&&(Ce=Oe,Ae=_e,Ue=0),_e===Ae&&(Se[Ue++]=Qe))}return Se.length=Ue,Se},C.getRawIndex=k;function k(W){return W}function P(W){return W<this._count&&W>=0?this._indices[W]:-1}C.getRawDataItem=function(W){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(W));for(var G=[],$=0;$<this.dimensions.length;$++){var ge=this.dimensions[$];G.push(this.get(ge,W))}return G},C.getName=function(W){var G=this.getRawIndex(W);return this._nameList[G]||F(this,this._nameDimIdx,G)||""},C.getId=function(W){return B(this,this.getRawIndex(W))};function B(W,G){var $=W._idList[G];return $==null&&($=F(W,W._idDimIdx,G)),$==null&&($=s+G),$}function z(W){return y.isArray(W)||(W=[W]),W}function R(W,G){for(var $=0;$<G.length;$++)W._dimensionInfos[G[$]]||console.error("Unkown dimension "+G[$])}C.each=function(W,G,$,ge){"use strict";if(!this._count)return;typeof W=="function"&&(ge=$,$=G,G=W,W=[]),$=$||ge||this,W=y.map(z(W),this.getDimension,this);for(var q=W.length,Se=0;Se<this.count();Se++)switch(q){case 0:G.call($,Se);break;case 1:G.call($,this.get(W[0],Se),Se);break;case 2:G.call($,this.get(W[0],Se),this.get(W[1],Se),Se);break;default:for(var Ce=0,Ae=[];Ce<q;Ce++)Ae[Ce]=this.get(W[Ce],Se);Ae[Ce]=Se,G.apply($,Ae)}},C.filterSelf=function(W,G,$,ge){"use strict";if(!this._count)return;typeof W=="function"&&(ge=$,$=G,G=W,W=[]),$=$||ge||this,W=y.map(z(W),this.getDimension,this);for(var q=this.count(),Se=E(this),Ce=new Se(q),Ae=[],Ue=W.length,Qe=0,gt=W[0],_e=0;_e<q;_e++){var Oe,lt=this.getRawIndex(_e);if(Ue===0)Oe=G.call($,_e);else if(Ue===1){var ce=this._getFast(gt,lt);Oe=G.call($,ce,_e)}else{for(var Y=0;Y<Ue;Y++)Ae[Y]=this._getFast(gt,lt);Ae[Y]=_e,Oe=G.apply($,Ae)}Oe&&(Ce[Qe++]=lt)}return Qe<q&&(this._indices=Ce),this._count=Qe,this._extent={},this.getRawIndex=this._indices?P:k,this},C.selectRange=function(W){"use strict";if(!this._count)return;var G=[];for(var $ in W)W.hasOwnProperty($)&&G.push($);var ge=G.length;if(!ge)return;var q=this.count(),Se=E(this),Ce=new Se(q),Ae=0,Ue=G[0],Qe=W[Ue][0],gt=W[Ue][1],_e=!1;if(!this._indices){var Oe=0;if(ge===1){for(var lt=this._storage[G[0]],ce=0;ce<this._chunkCount;ce++)for(var Y=lt[ce],K=Math.min(this._count-ce*this._chunkSize,this._chunkSize),Q=0;Q<K;Q++){var ye=Y[Q];(ye>=Qe&&ye<=gt||isNaN(ye))&&(Ce[Ae++]=Oe),Oe++}_e=!0}else if(ge===2){for(var lt=this._storage[Ue],ue=this._storage[G[1]],Ne=W[G[1]][0],Te=W[G[1]][1],ce=0;ce<this._chunkCount;ce++)for(var Y=lt[ce],oe=ue[ce],K=Math.min(this._count-ce*this._chunkSize,this._chunkSize),Q=0;Q<K;Q++){var ye=Y[Q],de=oe[Q];(ye>=Qe&&ye<=gt||isNaN(ye))&&(de>=Ne&&de<=Te||isNaN(de))&&(Ce[Ae++]=Oe),Oe++}_e=!0}}if(!_e)if(ge===1)for(var Q=0;Q<q;Q++){var Le=this.getRawIndex(Q),ye=this._getFast(Ue,Le);(ye>=Qe&&ye<=gt||isNaN(ye))&&(Ce[Ae++]=Le)}else for(var Q=0;Q<q;Q++){for(var Ge=!0,Le=this.getRawIndex(Q),ce=0;ce<ge;ce++){var ht=G[ce],ye=this._getFast($,Le);(ye<W[ht][0]||ye>W[ht][1])&&(Ge=!1)}Ge&&(Ce[Ae++]=this.getRawIndex(Q))}return Ae<q&&(this._indices=Ce),this._count=Ae,this._extent={},this.getRawIndex=this._indices?P:k,this},C.mapArray=function(W,G,$,ge){"use strict";typeof W=="function"&&(ge=$,$=G,G=W,W=[]),$=$||ge||this;var q=[];return this.each(W,function(){q.push(G&&G.apply(this,arguments))},$),q};function U(W,G){var $=W.dimensions,ge=new x(y.map($,W.getDimensionInfo,W),W.hostModel);L(ge,W);for(var q=ge._storage={},Se=W._storage,Ce=0;Ce<$.length;Ce++){var Ae=$[Ce];Se[Ae]&&(y.indexOf(G,Ae)>=0?(q[Ae]=j(Se[Ae]),ge._rawExtent[Ae]=H(),ge._extent[Ae]=null):q[Ae]=Se[Ae])}return ge}function j(W){for(var G=new Array(W.length),$=0;$<W.length;$++)G[$]=A(W[$]);return G}function H(){return[Infinity,-Infinity]}C.map=function(W,G,$,ge){"use strict";$=$||ge||this,W=y.map(z(W),this.getDimension,this);var q=U(this,W);q._indices=this._indices,q.getRawIndex=q._indices?P:k;for(var Se=q._storage,Ce=[],Ae=this._chunkSize,Ue=W.length,Qe=this.count(),gt=[],_e=q._rawExtent,Oe=0;Oe<Qe;Oe++){for(var lt=0;lt<Ue;lt++)gt[lt]=this.get(W[lt],Oe);gt[Ue]=Oe;var ce=G&&G.apply($,gt);if(ce!=null){typeof ce!="object"&&(Ce[0]=ce,ce=Ce);for(var Y=this.getRawIndex(Oe),K=Math.floor(Y/Ae),Q=Y%Ae,ye=0;ye<ce.length;ye++){var ue=W[ye],Ne=ce[ye],Te=_e[ue],oe=Se[ue];oe&&(oe[K][Q]=Ne),Ne<Te[0]&&(Te[0]=Ne),Ne>Te[1]&&(Te[1]=Ne)}}}return q},C.downSample=function(W,G,$,ge){for(var q=U(this,[W]),Se=q._storage,Ce=[],Ae=Math.floor(1/G),Ue=Se[W],Qe=this.count(),gt=this._chunkSize,_e=q._rawExtent[W],Oe=new(E(this))(Qe),lt=0,ce=0;ce<Qe;ce+=Ae){Ae>Qe-ce&&(Ae=Qe-ce,Ce.length=Ae);for(var Y=0;Y<Ae;Y++){var K=this.getRawIndex(ce+Y),Q=Math.floor(K/gt),ye=K%gt;Ce[Y]=Ue[Q][ye]}var ue=$(Ce),Ne=this.getRawIndex(Math.min(ce+ge(Ce,ue)||0,Qe-1)),Te=Math.floor(Ne/gt),oe=Ne%gt;Ue[Te][oe]=ue,ue<_e[0]&&(_e[0]=ue),ue>_e[1]&&(_e[1]=ue),Oe[lt++]=Ne}return q._count=lt,q._indices=Oe,q.getRawIndex=P,q},C.getItemModel=function(W){var G=this.hostModel;return new m(this.getRawDataItem(W),G,G&&G.ecModel)},C.diff=function(W){var G=this;return new v(W?W.getIndices():[],this.getIndices(),function($){return B(W,$)},function($){return B(G,$)})},C.getVisual=function(W){var G=this._visual;return G&&G[W]},C.setVisual=function(W,G){if(n(W)){for(var $ in W)W.hasOwnProperty($)&&this.setVisual($,W[$]);return}this._visual=this._visual||{},this._visual[W]=G},C.setLayout=function(W,G){if(n(W)){for(var $ in W)W.hasOwnProperty($)&&this.setLayout($,W[$]);return}this._layout[W]=G},C.getLayout=function(W){return this._layout[W]},C.getItemLayout=function(W){return this._itemLayouts[W]},C.setItemLayout=function(W,G,$){this._itemLayouts[W]=$?y.extend(this._itemLayouts[W]||{},G):G},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(W,G,$){var ge=this._itemVisuals[W],q=ge&&ge[G];return q==null&&!$?this.getVisual(G):q},C.setItemVisual=function(W,G,$){var ge=this._itemVisuals[W]||{},q=this.hasItemVisual;if(this._itemVisuals[W]=ge,n(G)){for(var Se in G)G.hasOwnProperty(Se)&&(ge[Se]=G[Se],q[Se]=!0);return}ge[G]=$,q[G]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var V=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};C.setItemGraphicEl=function(W,G){var $=this.hostModel;G&&(G.dataIndex=W,G.dataType=this.dataType,G.seriesIndex=$&&$.seriesIndex,G.type==="group"&&G.traverse(V,G)),this._graphicEls[W]=G},C.getItemGraphicEl=function(W){return this._graphicEls[W]},C.eachItemGraphicEl=function(W,G){y.each(this._graphicEls,function($,ge){$&&(W&&W.call(G,$,ge))})},C.cloneShallow=function(W){if(!W){var G=y.map(this.dimensions,this.getDimensionInfo,this);W=new x(G,this.hostModel)}if(W._storage=this._storage,L(W,this),this._indices){var $=this._indices.constructor;W._indices=new $(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?P:k,W},C.wrapMethod=function(W,G){var $=this[W];if(typeof $!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var ge=$.apply(this,arguments);return G.apply(this,[ge].concat(y.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var X=x;D.exports=X},YgsL:function(D,_,e){var g=e("QBsz"),f=g.distance;function y(v,h,c,a,i,r,o){var d=(c-v)*.5,n=(a-h)*.5;return(2*(h-c)+d+n)*o+(-3*(h-c)-2*d-n)*r+d*i+h}function m(v,h){for(var c=v.length,a=[],i=0,r=1;r<c;r++)i+=f(v[r-1],v[r]);var o=i/2;o=o<c?c:o;for(var r=0;r<o;r++){var d=r/(o-1)*(h?c:c-1),n=Math.floor(d),l=d-n,t,s=v[n%c],u,p;h?(t=v[(n-1+c)%c],u=v[(n+1)%c],p=v[(n+2)%c]):(t=v[n===0?n:n-1],u=v[n>c-2?c-1:n+1],p=v[n>c-3?c-1:n+2]);var w=l*l,b=l*w;a.push([y(t[0],s[0],u[0],p[0],l,w,b),y(t[1],s[1],u[1],p[1],l,w,b)])}return a}D.exports=m},Yl7c:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=".",v="___EC__COMPONENT__CONTAINER___";function h(t){var s={main:"",sub:""};return t&&(t=t.split(m),s.main=t[0]||"",s.sub=t[1]||""),s}function c(t){y.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function a(t,s){t.$constructor=t,t.extend=function(u){var p=this,w=function(){u.$constructor?u.$constructor.apply(this,arguments):p.apply(this,arguments)};return y.extend(w.prototype,u),w.extend=this.extend,w.superCall=o,w.superApply=d,y.inherits(w,this),w.superClass=p,w}}var i=0;function r(t){var s=["__\0is_clz",i++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(u){return!!(u&&u[s])}}function o(t,s){var u=y.slice(arguments,2);return this.superClass.prototype[s].apply(t,u)}function d(t,s,u){return this.superClass.prototype[s].apply(t,u)}function n(t,s){s=s||{};var u={};t.registerClass=function(b,E){if(E){if(c(E),E=h(E),!E.sub)u[E.main]=b;else if(E.sub!==v){var A=p(E);A[E.sub]=b}}return b},t.getClass=function(b,E,A){var S=u[b];if(S&&S[v]&&(S=E?S[E]:null),A&&!S)throw new Error(E?"Component "+b+"."+(E||"")+" not exists. Load it first.":b+".type should be specified.");return S},t.getClassesByMainType=function(b){b=h(b);var E=[],A=u[b.main];return A&&A[v]?y.each(A,function(S,T){T!==v&&E.push(S)}):E.push(A),E},t.hasClass=function(b){return b=h(b),!!u[b.main]},t.getAllClassMainTypes=function(){var b=[];return y.each(u,function(E,A){b.push(A)}),b},t.hasSubTypes=function(b){b=h(b);var E=u[b.main];return E&&E[v]},t.parseClassType=h;function p(b){var E=u[b.main];return(!E||!E[v])&&(E=u[b.main]={},E[v]=!0),E}if(s.registerWhenExtend){var w=t.extend;w&&(t.extend=function(b){var E=w.call(this,b);return t.registerClass(E,b.type)})}return t}function l(t,s){}_.parseClassType=h,_.enableClassExtend=a,_.enableClassCheck=r,_.enableClassManagement=n,_.setReadOnly=l},Ynxi:function(D,_,e){var g=e("bYtY"),f=e("ProS"),y=e("IwbS"),m=e("+TT/"),v=m.getLayoutRect,h=e("7aKB"),c=h.windowOpen;f.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),f.extendComponentView({type:"title",render:function(a,i,r){if(this.group.removeAll(),!a.get("show"))return;var o=this.group,d=a.getModel("textStyle"),n=a.getModel("subtextStyle"),l=a.get("textAlign"),t=g.retrieve2(a.get("textBaseline"),a.get("textVerticalAlign")),s=new y.Text({style:y.setTextStyle({},d,{text:a.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),p=a.get("subtext"),w=new y.Text({style:y.setTextStyle({},n,{text:p,textFill:n.getTextColor(),y:u.height+a.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),b=a.get("link"),E=a.get("sublink"),A=a.get("triggerEvent",!0);s.silent=!b&&!A,w.silent=!E&&!A,b&&s.on("click",function(){c(b,"_"+a.get("target"))}),E&&w.on("click",function(){c(b,"_"+a.get("subtarget"))}),s.eventData=w.eventData=A?{componentType:"title",componentIndex:a.componentIndex}:null,o.add(s),p&&o.add(w);var S=o.getBoundingRect(),T=a.getBoxLayoutParams();T.width=S.width,T.height=S.height;var L=v(T,{width:r.getWidth(),height:r.getHeight()},a.get("padding"));l||(l=a.get("left")||a.get("right"),l==="middle"&&(l="center"),l==="right"?L.x+=L.width:l==="center"&&(L.x+=L.width/2)),t||(t=a.get("top")||a.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?L.y+=L.height:t==="middle"&&(L.y+=L.height/2),t=t||"top"),o.attr("position",[L.x,L.y]);var x={textAlign:l,textVerticalAlign:t};s.setStyle(x),w.setStyle(x),S=o.getBoundingRect();var C=L.margin,O=a.getItemStyle(["color","opacity"]);O.fill=a.get("backgroundColor");var N=new y.Rect({shape:{x:S.x-C[3],y:S.y-C[0],width:S.width+C[1]+C[3],height:S.height+C[0]+C[2],r:a.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});o.add(N)}})},YrtM:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=e("q1tI"),f=e.n(g);function y(m,v,h){var c=g.useRef({});return(!("value"in c.current)||h(c.current.condition,v))&&(c.current.value=m(),c.current.condition=v),c.current.value}},Ywus:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("DO2E")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DeleteOutlined";var c=y.forwardRef(h);_.default=c},Z0Lh:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("pVnL")),y=g(e("HjOm")),m=g(e("Z6rY")),v={lang:(0,f.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},y.default),timePickerLocale:(0,f.default)({},m.default)};v.lang.ok="\u786E \u5B9A";var h=v;_.default=h},Z0cm:function(D,_){var e=Array.isArray;D.exports=e},Z1HP:function(D,_,e){var g=e("ycre"),f=e("quyA"),y=e("q4HE");function m(v){return f(v)?y(v):g(v)}D.exports=m},Z1r0:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(y){var m=y.getCategoriesData(),v=y.getGraph(),h=v.data,c=m.mapArray(m.getName);h.filterSelf(function(a){var i=h.getItemModel(a),r=i.getShallow("category");if(r!=null){typeof r=="number"&&(r=c[r]);for(var o=0;o<f.length;o++)if(!f[o].isSelected(r))return!1}return!0})},this)}D.exports=e},Z1wy:function(D,_,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),y=e("VPsl"),m=e("9u0u"),v=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m),g.registerPreprocessor(v),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,v){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});D.exports=y},Z6rY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;_.default=f},Z8oC:function(D,_,e){var g=e("y1pI");function f(y,m){var v=this.__data__,h=g(v,y);return h<0?(++this.size,v.push([y,m])):v[h][1]=m,this}D.exports=f},Z8zF:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("IwbS"),h=e("56rv"),c=h.setLabel,a=e("Qxkt"),i=e("tceW"),r=e("y+Vt"),o=e("4fz+"),d=e("iLNv"),n=d.throttle,l=e("sK/D"),t=l.createClipPath,s=e("wr5s"),u=["itemStyle","barBorderWidth"],p=[0,0];m.extend(a.prototype,i);function w(V,X){var W=V.getArea&&V.getArea();if(V.type==="cartesian2d"){var G=V.getBaseAxis();if(G.type!=="category"||!G.onBand){var $=X.getLayout("bandWidth");G.isHorizontal()?(W.x-=$,W.width+=$*2):(W.y-=$,W.height+=$*2)}}return W}var b=y.extendChartView({type:"bar",render:function(V,X,W){this._updateDrawMode(V);var G=V.get("coordinateSystem");return(G==="cartesian2d"||G==="polar")&&(this._isLargeDraw?this._renderLarge(V,X,W):this._renderNormal(V,X,W)),this.group},incrementalPrepareRender:function(V,X,W){this._clear(),this._updateDrawMode(V)},incrementalRender:function(V,X,W,G){this._incrementalRenderLarge(V,X)},_updateDrawMode:function(V){var X=V.pipelineContext.large;(this._isLargeDraw==null||X^this._isLargeDraw)&&(this._isLargeDraw=X,this._clear())},_renderNormal:function(V,X,W){var G=this.group,$=V.getData(),ge=this._data,q=V.coordinateSystem,Se=q.getBaseAxis(),Ce;q.type==="cartesian2d"?Ce=Se.isHorizontal():q.type==="polar"&&(Ce=Se.dim==="angle");var Ae=V.isAnimationEnabled()?V:null,Ue=V.get("clip",!0),Qe=w(q,$);G.removeClipPath();var gt=V.get("roundCap",!0),_e=V.get("showBackground",!0),Oe=V.getModel("backgroundStyle"),lt=Oe.get("barBorderRadius")||0,ce=[],Y=this._backgroundEls||[];$.diff(ge).add(function(ye){var ue=$.getItemModel(ye),Ne=C[q.type]($,ye,ue);if(_e){var Te=C[q.type]($,ye),oe=H(q,Ce,Te);oe.useStyle(Oe.getBarItemStyle()),q.type==="cartesian2d"&&oe.setShape("r",lt),ce[ye]=oe}if(!$.hasValue(ye))return;if(Ue){var de=S[q.type](Qe,Ne);if(de){G.remove(Le);return}}var Le=T[q.type](ye,Ne,Ce,Ae,!1,gt);$.setItemGraphicEl(ye,Le),G.add(Le),N(Le,$,ye,ue,Ne,V,Ce,q.type==="polar")}).update(function(ye,ue){var Ne=$.getItemModel(ye),Te=C[q.type]($,ye,Ne);if(_e){var oe=Y[ue];oe.useStyle(Oe.getBarItemStyle()),q.type==="cartesian2d"&&oe.setShape("r",lt),ce[ye]=oe;var de=C[q.type]($,ye),Le=j(Ce,de,q);v.updateProps(oe,{shape:Le},Ae,ye)}var Ge=ge.getItemGraphicEl(ue);if(!$.hasValue(ye)){G.remove(Ge);return}if(Ue){var ht=S[q.type](Qe,Te);if(ht){G.remove(Ge);return}}Ge?v.updateProps(Ge,{shape:Te},Ae,ye):Ge=T[q.type](ye,Te,Ce,Ae,!0,gt),$.setItemGraphicEl(ye,Ge),G.add(Ge),N(Ge,$,ye,Ne,Te,V,Ce,q.type==="polar")}).remove(function(ye){var ue=ge.getItemGraphicEl(ye);q.type==="cartesian2d"?ue&&L(ye,Ae,ue):ue&&x(ye,Ae,ue)}).execute();var K=this._backgroundGroup||(this._backgroundGroup=new o);K.removeAll();for(var Q=0;Q<ce.length;++Q)K.add(ce[Q]);G.add(K),this._backgroundEls=ce,this._data=$},_renderLarge:function(V,X,W){this._clear(),P(V,this.group);var G=V.get("clip",!0)?t(V.coordinateSystem,!1,V):null;G?this.group.setClipPath(G):this.group.removeClipPath()},_incrementalRenderLarge:function(V,X){this._removeBackground(),P(X,this.group,!0)},dispose:m.noop,remove:function(V){this._clear(V)},_clear:function(V){var X=this.group,W=this._data;V&&V.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(G){G.type==="sector"?x(G.dataIndex,V,G):L(G.dataIndex,V,G)})):X.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),E=Math.max,A=Math.min,S={cartesian2d:function(V,X){var W=X.width<0?-1:1,G=X.height<0?-1:1;W<0&&(X.x+=X.width,X.width=-X.width),G<0&&(X.y+=X.height,X.height=-X.height);var $=E(X.x,V.x),ge=A(X.x+X.width,V.x+V.width),q=E(X.y,V.y),Se=A(X.y+X.height,V.y+V.height);X.x=$,X.y=q,X.width=ge-$,X.height=Se-q;var Ce=X.width<0||X.height<0;return W<0&&(X.x+=X.width,X.width=-X.width),G<0&&(X.y+=X.height,X.height=-X.height),Ce},polar:function(V){return!1}},T={cartesian2d:function(V,X,W,G,$){var ge=new v.Rect({shape:m.extend({},X),z2:1});if(ge.name="item",G){var q=ge.shape,Se=W?"height":"width",Ce={};q[Se]=0,Ce[Se]=X[Se],v[$?"updateProps":"initProps"](ge,{shape:Ce},G,V)}return ge},polar:function(V,X,W,G,$,ge){var q=X.startAngle<X.endAngle,Se=!W&&ge?s:v.Sector,Ce=new Se({shape:m.defaults({clockwise:q},X),z2:1});if(Ce.name="item",G){var Ae=Ce.shape,Ue=W?"r":"endAngle",Qe={};Ae[Ue]=W?0:X.startAngle,Qe[Ue]=X[Ue],v[$?"updateProps":"initProps"](Ce,{shape:Qe},G,V)}return Ce}};function L(V,X,W){W.style.text=null,v.updateProps(W,{shape:{width:0}},X,V,function(){W.parent&&W.parent.remove(W)})}function x(V,X,W){W.style.text=null,v.updateProps(W,{shape:{r:W.shape.r0}},X,V,function(){W.parent&&W.parent.remove(W)})}var C={cartesian2d:function(V,X,W){var G=V.getItemLayout(X),$=W?F(W,G):0,ge=G.width>0?1:-1,q=G.height>0?1:-1;return{x:G.x+ge*$/2,y:G.y+q*$/2,width:G.width-ge*$,height:G.height-q*$}},polar:function(V,X,W){var G=V.getItemLayout(X);return{cx:G.cx,cy:G.cy,r0:G.r0,r:G.r,startAngle:G.startAngle,endAngle:G.endAngle}}};function O(V){return V.startAngle!=null&&V.endAngle!=null&&V.startAngle===V.endAngle}function N(V,X,W,G,$,ge,q,Se){var Ce=X.getItemVisual(W,"color"),Ae=X.getItemVisual(W,"opacity"),Ue=X.getVisual("borderColor"),Qe=G.getModel("itemStyle"),gt=G.getModel("emphasis.itemStyle").getBarItemStyle();Se||V.setShape("r",Qe.get("barBorderRadius")||0),V.useStyle(m.defaults({stroke:O($)?"none":Ue,fill:O($)?"none":Ce,opacity:Ae},Qe.getBarItemStyle()));var _e=G.getShallow("cursor");_e&&V.attr("cursor",_e);var Oe=q?$.height>0?"bottom":"top":$.width>0?"left":"right";Se||c(V.style,gt,G,Ce,ge,W,Oe),O($)&&(gt.fill=gt.stroke="none"),v.setHoverStyle(V,gt)}function F(V,X){var W=V.get(u)||0,G=isNaN(X.width)?Number.MAX_VALUE:Math.abs(X.width),$=isNaN(X.height)?Number.MAX_VALUE:Math.abs(X.height);return Math.min(W,G,$)}var k=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(V,X){for(var W=X.points,G=this.__startPoint,$=this.__baseDimIdx,ge=0;ge<W.length;ge+=2)G[$]=W[ge+$],V.moveTo(G[0],G[1]),V.lineTo(W[ge],W[ge+1])}});function P(V,X,W){var G=V.getData(),$=[],ge=G.getLayout("valueAxisHorizontal")?1:0;$[1-ge]=G.getLayout("valueAxisStart");var q=G.getLayout("largeDataIndices"),Se=G.getLayout("barWidth"),Ce=V.getModel("backgroundStyle"),Ae=V.get("showBackground",!0);if(Ae){var Ue=G.getLayout("largeBackgroundPoints"),Qe=[];Qe[1-ge]=G.getLayout("backgroundStart");var gt=new k({shape:{points:Ue},incremental:!!W,__startPoint:Qe,__baseDimIdx:ge,__largeDataIndices:q,__barWidth:Se,silent:!0,z2:0});U(gt,Ce,G),X.add(gt)}var _e=new k({shape:{points:G.getLayout("largePoints")},incremental:!!W,__startPoint:$,__baseDimIdx:ge,__largeDataIndices:q,__barWidth:Se});X.add(_e),R(_e,V,G),_e.seriesIndex=V.seriesIndex,V.get("silent")||(_e.on("mousedown",B),_e.on("mousemove",B))}var B=n(function(V){var X=this,W=z(X,V.offsetX,V.offsetY);X.dataIndex=W>=0?W:null},30,!1);function z(V,X,W){var G=V.__baseDimIdx,$=1-G,ge=V.shape.points,q=V.__largeDataIndices,Se=Math.abs(V.__barWidth/2),Ce=V.__startPoint[$];p[0]=X,p[1]=W;for(var Ae=p[G],Ue=p[1-G],Qe=Ae-Se,gt=Ae+Se,_e=0,Oe=ge.length/2;_e<Oe;_e++){var lt=_e*2,ce=ge[lt+G],Y=ge[lt+$];if(ce>=Qe&&ce<=gt&&(Ce<=Y?Ue>=Ce&&Ue<=Y:Ue>=Y&&Ue<=Ce))return q[_e]}return-1}function R(V,X,W){var G=W.getVisual("borderColor")||W.getVisual("color"),$=X.getModel("itemStyle").getItemStyle(["color","borderColor"]);V.useStyle($),V.style.fill=null,V.style.stroke=G,V.style.lineWidth=W.getLayout("barWidth")}function U(V,X,W){var G=X.get("borderColor")||X.get("color"),$=X.getItemStyle(["color","borderColor"]);V.useStyle($),V.style.fill=null,V.style.stroke=G,V.style.lineWidth=W.getLayout("barWidth")}function j(V,X,W){var G,$=W.type==="polar";return $?G=W.getArea():G=W.grid.getRect(),$?{cx:G.cx,cy:G.cy,r0:V?G.r0:X.r0,r:V?G.r:X.r,startAngle:V?X.startAngle:0,endAngle:V?X.endAngle:Math.PI*2}:{x:V?X.x:G.x,y:V?G.y:X.y,width:V?X.width:G.width,height:V?G.height:X.height}}function H(V,X,W){var G=V.type==="polar"?v.Sector:v.Rect;return new G({shape:j(X,W,V),silent:!0,z2:0})}D.exports=b},ZCgT:function(D,_,e){var g=e("tLB3"),f=1/0,y=17976931348623157e292;function m(v){if(!v)return v===0?v:0;if(v=g(v),v===f||v===-f){var h=v<0?-1:1;return h*y}return v===v?v:0}D.exports=m},ZLWo:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};_.default=g},ZMnZ:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("2oIt")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="UpOutlined";var c=y.forwardRef(h);_.default=c},ZTPi:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e("ODXe"),c=e("Ff2n"),a=e("rePB"),i=e("TSYQ"),r=e.n(i),o=e("Zm9Q"),d=e("6cGi"),n=e("KQm4"),l=e("xEkU"),t=e.n(l),s=e("t23M");function u(Ke){var At=Object(v.useRef)(),Xe=Object(v.useRef)(!1);function et(){for(var tt=arguments.length,ot=new Array(tt),Ve=0;Ve<tt;Ve++)ot[Ve]=arguments[Ve];Xe.current||(t.a.cancel(At.current),At.current=t()(function(){Ke.apply(void 0,ot)}))}return Object(v.useEffect)(function(){return function(){Xe.current=!0,t.a.cancel(At.current)}},[]),et}function p(Ke){var At=Object(v.useRef)([]),Xe=Object(v.useState)({}),et=Object(h.a)(Xe,2),tt=et[1],ot=Object(v.useRef)(typeof Ke=="function"?Ke():Ke),Ve=u(function(){var re=ot.current;At.current.forEach(function(it){re=it(re)}),At.current=[],ot.current=re,tt({})});function se(re){At.current.push(re),Ve()}return[ot.current,se]}var w=e("4IlW");function b(Ke,At){var Xe,et=Ke.prefixCls,tt=Ke.id,ot=Ke.active,Ve=Ke.rtl,se=Ke.tab,re=se.key,it=se.tab,qe=se.disabled,be=se.closeIcon,Zt=Ke.tabBarGutter,dt=Ke.tabPosition,ct=Ke.closable,yt=Ke.renderWrapper,_t=Ke.removeAriaLabel,or=Ke.editable,Bt=Ke.onClick,we=Ke.onRemove,ve=Ke.onFocus,me="".concat(et,"-tab");v.useEffect(function(){return we},[]);var he={};dt==="top"||dt==="bottom"?he[Ve?"marginLeft":"marginRight"]=Zt:he.marginBottom=Zt;var Re=or&&ct!==!1&&!qe;function He(Pe){if(qe)return;Bt(Pe)}function ze(Pe){Pe.preventDefault(),Pe.stopPropagation(),or.onEdit("remove",{key:re,event:Pe})}var Ye=v.createElement("div",{key:re,ref:At,className:r()(me,(Xe={},Object(a.a)(Xe,"".concat(me,"-with-remove"),Re),Object(a.a)(Xe,"".concat(me,"-active"),ot),Object(a.a)(Xe,"".concat(me,"-disabled"),qe),Xe)),style:he,onClick:He},v.createElement("div",{role:"tab","aria-selected":ot,id:tt&&"".concat(tt,"-tab-").concat(re),className:"".concat(me,"-btn"),"aria-controls":tt&&"".concat(tt,"-panel-").concat(re),"aria-disabled":qe,tabIndex:qe?null:0,onClick:function(nt){nt.stopPropagation(),He(nt)},onKeyDown:function(nt){[w.a.SPACE,w.a.ENTER].includes(nt.which)&&(nt.preventDefault(),He(nt))},onFocus:ve},it),Re&&v.createElement("button",{type:"button","aria-label":_t||"remove",tabIndex:0,className:"".concat(me,"-remove"),onClick:function(nt){nt.stopPropagation(),ze(nt)}},be||or.removeIcon||"\xD7"));return yt&&(Ye=yt(Ye)),Ye}var E=v.forwardRef(b);function A(Ke,At){var Xe=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);At&&(et=et.filter(function(tt){return Object.getOwnPropertyDescriptor(Ke,tt).enumerable})),Xe.push.apply(Xe,et)}return Xe}function S(Ke){for(var At=1;At<arguments.length;At++){var Xe=arguments[At]!=null?arguments[At]:{};At%2?A(Object(Xe),!0).forEach(function(et){Object(a.a)(Ke,et,Xe[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Xe)):A(Object(Xe)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Xe,et))})}return Ke}var T={width:0,height:0,left:0,top:0};function L(Ke,At,Xe){return Object(v.useMemo)(function(){for(var et,tt=new Map,ot=At.get((et=Ke[0])===null||et===void 0?void 0:et.key)||T,Ve=ot.left+ot.width,se=0;se<Ke.length;se+=1){var re=Ke[se].key,it=At.get(re);if(!it){var qe;it=At.get((qe=Ke[se-1])===null||qe===void 0?void 0:qe.key)||T}var be=tt.get(re)||S({},it);be.right=Ve-be.left-be.width,tt.set(re,be)}return tt},[Ke.map(function(et){return et.key}).join("_"),At,Xe])}var x={width:0,height:0,left:0,top:0,right:0};function C(Ke,At,Xe,et,tt){var ot=tt.tabs,Ve=tt.tabPosition,se=tt.rtl,re,it,qe;["top","bottom"].includes(Ve)?(re="width",it=se?"right":"left",qe=Math.abs(At.left)):(re="height",it="top",qe=-At.top);var be=At[re],Zt=Xe[re],dt=et[re],ct=be;return Zt+dt>be&&(ct=be-dt),Object(v.useMemo)(function(){if(!ot.length)return[0,0];for(var yt=ot.length,_t=yt,or=0;or<yt;or+=1){var Bt=Ke.get(ot[or].key)||x;if(Bt[it]+Bt[re]>qe+ct){_t=or-1;break}}for(var we=0,ve=yt-1;ve>=0;ve-=1){var me=Ke.get(ot[ve].key)||x;if(me[it]<qe){we=ve+1;break}}return[we,_t]},[Ke,qe,ct,Ve,ot.map(function(yt){return yt.key}).join("_"),se])}var O=e("1j5w"),N=e("eDIo");function F(Ke,At){var Xe=Ke.prefixCls,et=Ke.editable,tt=Ke.locale,ot=Ke.style;return!et||et.showAdd===!1?null:v.createElement("button",{ref:At,type:"button",className:"".concat(Xe,"-nav-add"),style:ot,"aria-label":(tt==null?void 0:tt.addAriaLabel)||"Add tab",onClick:function(se){et.onEdit("add",{event:se})}},et.addIcon||"+")}var k=v.forwardRef(F);function P(Ke,At){var Xe=Ke.prefixCls,et=Ke.id,tt=Ke.tabs,ot=Ke.locale,Ve=Ke.mobile,se=Ke.moreIcon,re=se===void 0?"More":se,it=Ke.moreTransitionName,qe=Ke.style,be=Ke.className,Zt=Ke.editable,dt=Ke.tabBarGutter,ct=Ke.rtl,yt=Ke.onTabClick,_t=Object(v.useState)(!1),or=Object(h.a)(_t,2),Bt=or[0],we=or[1],ve=Object(v.useState)(null),me=Object(h.a)(ve,2),he=me[0],Re=me[1],He="".concat(et,"-more-popup"),ze="".concat(Xe,"-dropdown"),Ye=he!==null?"".concat(He,"-").concat(he):null,Pe=ot==null?void 0:ot.dropdownAriaLabel,nt=v.createElement(O.f,{onClick:function(xe){var De=xe.key,Fe=xe.domEvent;yt(De,Fe),we(!1)},id:He,tabIndex:-1,role:"listbox","aria-activedescendant":Ye,selectedKeys:[he],"aria-label":Pe!==void 0?Pe:"expanded dropdown"},tt.map(function(ne){return v.createElement(O.d,{key:ne.key,id:"".concat(He,"-").concat(ne.key),role:"option","aria-controls":et&&"".concat(et,"-panel-").concat(ne.key),disabled:ne.disabled},ne.tab)}));function bt(ne){for(var xe=tt.filter(function(Wt){return!Wt.disabled}),De=xe.findIndex(function(Wt){return Wt.key===he})||0,Fe=xe.length,$e=0;$e<Fe;$e+=1){De=(De+ne+Fe)%Fe;var vt=xe[De];if(!vt.disabled){Re(vt.key);return}}}function Ot(ne){var xe=ne.which;if(!Bt){[w.a.DOWN,w.a.SPACE,w.a.ENTER].includes(xe)&&(we(!0),ne.preventDefault());return}switch(xe){case w.a.UP:bt(-1),ne.preventDefault();break;case w.a.DOWN:bt(1),ne.preventDefault();break;case w.a.ESC:we(!1);break;case w.a.SPACE:case w.a.ENTER:he!==null&&yt(he,ne);break}}Object(v.useEffect)(function(){var ne=document.getElementById(Ye);ne&&ne.scrollIntoView&&ne.scrollIntoView(!1)},[he]),Object(v.useEffect)(function(){Bt||Re(null)},[Bt]);var ae=Object(a.a)({},ct?"marginLeft":"marginRight",dt);tt.length||(ae.visibility="hidden",ae.order=1);var pe=r()(Object(a.a)({},"".concat(ze,"-rtl"),ct)),J=Ve?null:v.createElement(N.a,{prefixCls:ze,overlay:nt,trigger:["hover"],visible:Bt,transitionName:it,onVisibleChange:we,overlayClassName:pe},v.createElement("button",{type:"button",className:"".concat(Xe,"-nav-more"),style:ae,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":He,id:"".concat(et,"-more"),"aria-expanded":Bt,onKeyDown:Ot},re));return v.createElement("div",{className:r()("".concat(Xe,"-nav-operations"),be),style:qe,ref:At},J,v.createElement(k,{prefixCls:Xe,locale:ot,editable:Zt}))}var B=v.forwardRef(P),z=Object(v.createContext)(null),R=.1,U=.01,j=20,H=Math.pow(.995,j);function V(){var Ke=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ke)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ke.substr(0,4)))}function X(Ke,At){var Xe=Object(v.useState)(),et=Object(h.a)(Xe,2),tt=et[0],ot=et[1],Ve=Object(v.useState)(0),se=Object(h.a)(Ve,2),re=se[0],it=se[1],qe=Object(v.useState)(0),be=Object(h.a)(qe,2),Zt=be[0],dt=be[1],ct=Object(v.useState)(),yt=Object(h.a)(ct,2),_t=yt[0],or=yt[1],Bt=Object(v.useRef)();function we(Pe){var nt=Pe.touches[0],bt=nt.screenX,Ot=nt.screenY;ot({x:bt,y:Ot}),window.clearInterval(Bt.current)}function ve(Pe){if(!tt)return;Pe.preventDefault();var nt=Pe.touches[0],bt=nt.screenX,Ot=nt.screenY;ot({x:bt,y:Ot});var ae=bt-tt.x,pe=Ot-tt.y;At(ae,pe);var J=Date.now();it(J),dt(J-re),or({x:ae,y:pe})}function me(){if(!tt)return;if(ot(null),or(null),_t){var Pe=_t.x/Zt,nt=_t.y/Zt,bt=Math.abs(Pe),Ot=Math.abs(nt);if(Math.max(bt,Ot)<R)return;var ae=Pe,pe=nt;Bt.current=window.setInterval(function(){if(Math.abs(ae)<U&&Math.abs(pe)<U){window.clearInterval(Bt.current);return}ae*=H,pe*=H,At(ae*j,pe*j)},j)}}var he=Object(v.useRef)(0),Re=Object(v.useRef)(!1),He=Object(v.useRef)();function ze(Pe){var nt=Pe.deltaX,bt=Pe.deltaY,Ot=0,ae=Math.abs(nt),pe=Math.abs(bt);ae===pe?Ot=He.current==="x"?nt:bt:ae>pe?(Ot=nt,He.current="x"):(Ot=bt,He.current="y");var J=Date.now();J-he.current>100&&(Re.current=!1),(At(-Ot,-Ot)||Re.current)&&(Pe.preventDefault(),Re.current=!0),he.current=J}var Ye=Object(v.useRef)(null);Ye.current={onTouchStart:we,onTouchMove:ve,onTouchEnd:me,onWheel:ze},v.useEffect(function(){function Pe(ae){Ye.current.onTouchStart(ae)}function nt(ae){Ye.current.onTouchMove(ae)}function bt(ae){Ye.current.onTouchEnd(ae)}function Ot(ae){Ye.current.onWheel(ae)}return document.addEventListener("touchmove",nt,{passive:!1}),document.addEventListener("touchend",bt,{passive:!1}),Ke.current.addEventListener("touchstart",Pe,{passive:!1}),Ke.current.addEventListener("wheel",Ot),function(){document.removeEventListener("touchmove",nt),document.removeEventListener("touchend",bt)}},[])}function W(){var Ke=Object(v.useRef)(new Map);function At(et){return Ke.current.has(et)||Ke.current.set(et,v.createRef()),Ke.current.get(et)}function Xe(et){Ke.current.delete(et)}return[At,Xe]}function G(Ke,At){var Xe=v.useRef(Ke),et=v.useState({}),tt=Object(h.a)(et,2),ot=tt[1];function Ve(se){var re=typeof se=="function"?se(Xe.current):se;re!==Xe.current&&At(re,Xe.current),Xe.current=re,ot({})}return[Xe.current,Ve]}function $(Ke,At){var Xe=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);At&&(et=et.filter(function(tt){return Object.getOwnPropertyDescriptor(Ke,tt).enumerable})),Xe.push.apply(Xe,et)}return Xe}function ge(Ke){for(var At=1;At<arguments.length;At++){var Xe=arguments[At]!=null?arguments[At]:{};At%2?$(Object(Xe),!0).forEach(function(et){Object(a.a)(Ke,et,Xe[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Xe)):$(Object(Xe)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Xe,et))})}return Ke}var q=function(At){var Xe=At.position,et=At.prefixCls,tt=At.extra;if(!tt)return null;var ot,Ve=tt;return Xe==="right"&&(ot=Ve.right||!Ve.left&&Ve||null),Xe==="left"&&(ot=Ve.left||null),ot?v.createElement("div",{className:"".concat(et,"-extra-content")},ot):null};function Se(Ke,At){var Xe,et=v.useContext(z),tt=et.prefixCls,ot=et.tabs,Ve=Ke.className,se=Ke.style,re=Ke.id,it=Ke.animated,qe=Ke.activeKey,be=Ke.rtl,Zt=Ke.extra,dt=Ke.editable,ct=Ke.locale,yt=Ke.tabPosition,_t=Ke.tabBarGutter,or=Ke.children,Bt=Ke.onTabClick,we=Ke.onTabScroll,ve=Object(v.useRef)(),me=Object(v.useRef)(),he=Object(v.useRef)(),Re=Object(v.useRef)(),He=W(),ze=Object(h.a)(He,2),Ye=ze[0],Pe=ze[1],nt=yt==="top"||yt==="bottom",bt=G(0,function(aa,Hi){nt&&we&&we({direction:aa>Hi?"left":"right"})}),Ot=Object(h.a)(bt,2),ae=Ot[0],pe=Ot[1],J=G(0,function(aa,Hi){!nt&&we&&we({direction:aa>Hi?"top":"bottom"})}),ne=Object(h.a)(J,2),xe=ne[0],De=ne[1],Fe=Object(v.useState)(0),$e=Object(h.a)(Fe,2),vt=$e[0],Wt=$e[1],$t=Object(v.useState)(0),Rt=Object(h.a)($t,2),Kt=Rt[0],Gt=Rt[1],Qt=Object(v.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],st=Object(v.useState)(0),xt=Object(h.a)(st,2),ut=xt[0],pt=xt[1],It=Object(v.useState)(null),Tt=Object(h.a)(It,2),ft=Tt[0],Ht=Tt[1],Ft=Object(v.useState)(null),ir=Object(h.a)(Ft,2),Xt=ir[0],mr=ir[1],Ar=Object(v.useState)(0),Nr=Object(h.a)(Ar,2),Fr=Nr[0],tn=Nr[1],qr=Object(v.useState)(0),Lr=Object(h.a)(qr,2),Qr=Lr[0],_r=Lr[1],ur=p(new Map),pr=Object(h.a)(ur,2),cr=pr[0],fr=pr[1],xr=L(ot,cr,vt),Yr="".concat(tt,"-nav-operations-hidden"),un=0,Nn=0;nt?be?(un=0,Nn=Math.max(0,vt-ft)):(un=Math.min(0,ft-vt),Nn=0):(un=Math.min(0,Xt-Kt),Nn=0);function jr(aa){return aa<un?[un,!1]:aa>Nn?[Nn,!1]:[aa,!0]}var Tn=Object(v.useRef)(),gn=Object(v.useState)(),Pn=Object(h.a)(gn,2),zn=Pn[0],qn=Pn[1];function Yn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}X(ve,function(aa,Hi){var ga=!1;function ha(mo,kn){mo(function($i){var eo=jr($i+kn),To=Object(h.a)(eo,2),uo=To[0],rr=To[1];return ga=rr,uo})}if(nt){if(ft>=vt)return ga;ha(pe,aa)}else{if(Xt>=Kt)return ga;ha(De,Hi)}return Vn(),Yn(),ga}),Object(v.useEffect)(function(){return Vn(),zn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[zn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qe,Hi=xr.get(aa);if(!Hi)return;if(nt){var ga=ae;be?Hi.right<ae?ga=Hi.right:Hi.right+Hi.width>ae+ft&&(ga=Hi.right+Hi.width-ft):Hi.left<-ae?ga=-Hi.left:Hi.left+Hi.width>-ae+ft&&(ga=-(Hi.left+Hi.width-ft)),De(0),pe(jr(ga)[0])}else{var ha=xe;Hi.top<-xe?ha=-Hi.top:Hi.top+Hi.height>-xe+Xt&&(ha=-(Hi.top+Hi.height-Xt)),pe(0),De(jr(ha)[0])}}var on=C(xr,{width:ft,height:Xt,left:ae,top:xe},{width:dr,height:ut},{width:Fr,height:Qr},ge(ge({},Ke),{},{tabs:ot})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],_i=ot.map(function(aa){var Hi=aa.key;return v.createElement(E,{id:re,prefixCls:tt,key:Hi,rtl:be,tab:aa,closable:aa.closable,editable:dt,active:Hi===qe,tabPosition:yt,tabBarGutter:_t,renderWrapper:or,removeAriaLabel:ct==null?void 0:ct.removeAriaLabel,ref:Ye(Hi),onClick:function(ha){Bt(Hi,ha)},onRemove:function(){Pe(Hi)},onFocus:function(){An(Hi),Yn(),be||(ve.current.scrollLeft=0),ve.current.scrollTop=0}})}),Ci=u(function(){var aa,Hi,ga,ha,mo,kn,$i,eo,To,uo=((aa=ve.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=ve.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=Re.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Pr=((ha=Re.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=he.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((kn=he.current)===null||kn===void 0?void 0:kn.offsetHeight)||0;Ht(uo),mr(rr),tn(Tr),_r(Pr);var rt=((($i=me.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=me.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Pr;Wt(rt),Gt(jt);var Jt=(To=he.current)===null||To===void 0?void 0:To.className.includes(Yr);er(rt-(Jt?0:Wr)),pt(jt-(Jt?0:hn)),fr(function(){var nr=new Map;return ot.forEach(function(Or){var wr=Or.key,Er=Ye(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Gn=ot.slice(0,xa),Oa=ot.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Oa)),On=Object(v.useState)(),Ln=Object(h.a)(On,2),_n=Ln[0],jn=Ln[1],ni=xr.get(qe),di=Object(v.useRef)();function Na(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(nt?(be?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Na(),di.current=t()(function(){jn(aa)}),Na},[ni,nt,be]),Object(v.useEffect)(function(){An()},[qe,ni,xr,nt]),Object(v.useEffect)(function(){Ci()},[be,_t,qe,ot.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(tt,"-nav-wrap"),Ba,Qa,Wi,Co;return nt?be?(Qa=ae>0,Ba=ae+ft<vt):(Ba=ae<0,Qa=-ae+ft<vt):(Wi=xe<0,Co=-xe+Xt<Kt),v.createElement("div",{ref:At,role:"tablist",className:r()("".concat(tt,"-nav"),Ve),style:se,onKeyDown:function(){Yn()}},v.createElement(q,{position:"left",extra:Zt,prefixCls:tt}),v.createElement(s.a,{onResize:Ci},v.createElement("div",{className:r()(ma,(Xe={},Object(a.a)(Xe,"".concat(ma,"-ping-left"),Ba),Object(a.a)(Xe,"".concat(ma,"-ping-right"),Qa),Object(a.a)(Xe,"".concat(ma,"-ping-top"),Wi),Object(a.a)(Xe,"".concat(ma,"-ping-bottom"),Co),Xe)),ref:ve},v.createElement(s.a,{onResize:Ci},v.createElement("div",{ref:me,className:"".concat(tt,"-nav-list"),style:{transform:"translate(".concat(ae,"px, ").concat(xe,"px)"),transition:zn?"none":void 0}},_i,v.createElement(k,{ref:Re,prefixCls:tt,locale:ct,editable:dt,style:{visibility:Qi?"hidden":null}}),v.createElement("div",{className:r()("".concat(tt,"-ink-bar"),Object(a.a)({},"".concat(tt,"-ink-bar-animated"),it.inkBar)),style:_n}))))),v.createElement(B,Object.assign({},Ke,{ref:he,prefixCls:tt,tabs:mn,className:!Qi&&Yr})),v.createElement(q,{position:"right",extra:Zt,prefixCls:tt}))}var Ce=v.forwardRef(Se);function Ae(Ke){var At=Ke.id,Xe=Ke.activeKey,et=Ke.animated,tt=Ke.tabPosition,ot=Ke.rtl,Ve=Ke.destroyInactiveTabPane,se=v.useContext(z),re=se.prefixCls,it=se.tabs,qe=et.tabPane,be=it.findIndex(function(Zt){return Zt.key===Xe});return v.createElement("div",{className:r()("".concat(re,"-content-holder"))},v.createElement("div",{className:r()("".concat(re,"-content"),"".concat(re,"-content-").concat(tt),Object(a.a)({},"".concat(re,"-content-animated"),qe)),style:be&&qe?Object(a.a)({},ot?"marginRight":"marginLeft","-".concat(be,"00%")):null},it.map(function(Zt){return v.cloneElement(Zt.node,{key:Zt.key,prefixCls:re,tabKey:Zt.key,id:At,animated:qe,active:Zt.key===Xe,destroyInactiveTabPane:Ve})})))}function Ue(Ke,At){var Xe=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);At&&(et=et.filter(function(tt){return Object.getOwnPropertyDescriptor(Ke,tt).enumerable})),Xe.push.apply(Xe,et)}return Xe}function Qe(Ke){for(var At=1;At<arguments.length;At++){var Xe=arguments[At]!=null?arguments[At]:{};At%2?Ue(Object(Xe),!0).forEach(function(et){Object(a.a)(Ke,et,Xe[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Xe)):Ue(Object(Xe)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Xe,et))})}return Ke}function gt(Ke){var At=Ke.prefixCls,Xe=Ke.forceRender,et=Ke.className,tt=Ke.style,ot=Ke.id,Ve=Ke.active,se=Ke.animated,re=Ke.destroyInactiveTabPane,it=Ke.tabKey,qe=Ke.children,be=v.useState(Xe),Zt=Object(h.a)(be,2),dt=Zt[0],ct=Zt[1];v.useEffect(function(){Ve?ct(!0):re&&ct(!1)},[Ve,re]);var yt={};return Ve||(se?(yt.visibility="hidden",yt.height=0,yt.overflowY="hidden"):yt.display="none"),v.createElement("div",{id:ot&&"".concat(ot,"-panel-").concat(it),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":ot&&"".concat(ot,"-tab-").concat(it),"aria-hidden":!Ve,style:Qe(Qe({},yt),tt),className:r()("".concat(At,"-tabpane"),Ve&&"".concat(At,"-tabpane-active"),et)},(Ve||dt||Xe)&&qe)}function _e(Ke,At){var Xe=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);At&&(et=et.filter(function(tt){return Object.getOwnPropertyDescriptor(Ke,tt).enumerable})),Xe.push.apply(Xe,et)}return Xe}function Oe(Ke){for(var At=1;At<arguments.length;At++){var Xe=arguments[At]!=null?arguments[At]:{};At%2?_e(Object(Xe),!0).forEach(function(et){Object(a.a)(Ke,et,Xe[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Xe)):_e(Object(Xe)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Xe,et))})}return Ke}var lt=0;function ce(Ke){return Object(o.a)(Ke).map(function(At){if(v.isValidElement(At)){var Xe=At.key!==void 0?String(At.key):void 0;return Oe(Oe({key:Xe},At.props),{},{node:At})}return null}).filter(function(At){return At})}function Y(Ke,At){var Xe,et=Ke.id,tt=Ke.prefixCls,ot=tt===void 0?"rc-tabs":tt,Ve=Ke.className,se=Ke.children,re=Ke.direction,it=Ke.activeKey,qe=Ke.defaultActiveKey,be=Ke.editable,Zt=Ke.animated,dt=Ke.tabPosition,ct=dt===void 0?"top":dt,yt=Ke.tabBarGutter,_t=Ke.tabBarStyle,or=Ke.tabBarExtraContent,Bt=Ke.locale,we=Ke.moreIcon,ve=Ke.moreTransitionName,me=Ke.destroyInactiveTabPane,he=Ke.renderTabBar,Re=Ke.onChange,He=Ke.onTabClick,ze=Ke.onTabScroll,Ye=Object(c.a)(Ke,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Pe=ce(se),nt=re==="rtl",bt;Zt===!1?bt={inkBar:!1,tabPane:!1}:bt=Oe({inkBar:!0,tabPane:!1},Zt!==!0?Zt:null);var Ot=Object(v.useState)(!1),ae=Object(h.a)(Ot,2),pe=ae[0],J=ae[1];Object(v.useEffect)(function(){J(V())},[]);var ne=Object(d.a)(function(){var ut;return(ut=Pe[0])===null||ut===void 0?void 0:ut.key},{value:it,defaultValue:qe}),xe=Object(h.a)(ne,2),De=xe[0],Fe=xe[1],$e=Object(v.useState)(function(){return Pe.findIndex(function(ut){return ut.key===De})}),vt=Object(h.a)($e,2),Wt=vt[0],$t=vt[1];Object(v.useEffect)(function(){var ut=Pe.findIndex(function(It){return It.key===De});if(ut===-1){var pt;ut=Math.max(0,Math.min(Wt,Pe.length-1)),Fe((pt=Pe[ut])===null||pt===void 0?void 0:pt.key)}$t(ut)},[Pe.map(function(ut){return ut.key}).join("_"),De,Wt]);var Rt=Object(d.a)(null,{value:et}),Kt=Object(h.a)(Rt,2),Gt=Kt[0],Qt=Kt[1],Mt=ct;pe&&!["left","right"].includes(ct)&&(Mt="top"),Object(v.useEffect)(function(){et||(Qt("rc-tabs-".concat(lt)),lt+=1)},[]);function dr(ut,pt){He==null||He(ut,pt),Fe(ut),Re==null||Re(ut)}var er={id:Gt,activeKey:De,animated:bt,tabPosition:Mt,rtl:nt,mobile:pe},st,xt=Oe(Oe({},er),{},{editable:be,locale:Bt,moreIcon:we,moreTransitionName:ve,tabBarGutter:yt,onTabClick:dr,onTabScroll:ze,extra:or,style:_t,panes:se});return he?st=he(xt,Ce):st=v.createElement(Ce,Object.assign({},xt)),v.createElement(z.Provider,{value:{tabs:Pe,prefixCls:ot}},v.createElement("div",Object.assign({ref:At,id:et,className:r()(ot,"".concat(ot,"-").concat(Mt),(Xe={},Object(a.a)(Xe,"".concat(ot,"-mobile"),pe),Object(a.a)(Xe,"".concat(ot,"-editable"),be),Object(a.a)(Xe,"".concat(ot,"-rtl"),nt),Xe),Ve)},Ye),st,v.createElement(Ae,Object.assign({destroyInactiveTabPane:me},er,{animated:bt}))))}var K=v.forwardRef(Y);K.TabPane=gt;var Q=K,ye=Q,ue=e("cCPh"),Ne=e.n(ue),Te=e("fNCr"),oe=e.n(Te),de=e("V/uB"),Le=e.n(de),Ge=e("uaoM"),ht=e("H84U"),Et=function(Ke,At){var Xe={};for(var et in Ke)Object.prototype.hasOwnProperty.call(Ke,et)&&At.indexOf(et)<0&&(Xe[et]=Ke[et]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,et=Object.getOwnPropertySymbols(Ke);tt<et.length;tt++)At.indexOf(et[tt])<0&&Object.prototype.propertyIsEnumerable.call(Ke,et[tt])&&(Xe[et[tt]]=Ke[et[tt]]);return Xe};function Be(Ke){var At,Xe=Ke.type,et=Ke.className,tt=Ke.size,ot=Ke.onEdit,Ve=Ke.hideAdd,se=Ke.centered,re=Ke.addIcon,it=Et(Ke,["type","className","size","onEdit","hideAdd","centered","addIcon"]),qe=it.prefixCls,be=v.useContext(ht.b),Zt=be.getPrefixCls,dt=be.direction,ct=Zt("tabs",qe),yt;return Xe==="editable-card"&&(yt={onEdit:function(or,Bt){var we=Bt.key,ve=Bt.event;ot==null||ot(or==="add"?ve:we,or)},removeIcon:v.createElement(Le.a,null),addIcon:re||v.createElement(oe.a,null),showAdd:Ve!==!0}),Object(Ge.a)(!("onPrevClick"in it)&&!("onNextClick"in it),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(ye,f()({direction:dt},it,{moreTransitionName:"slide-up",className:r()(et,(At={},m()(At,"".concat(ct,"-").concat(tt),tt),m()(At,"".concat(ct,"-card"),["card","editable-card"].includes(Xe)),m()(At,"".concat(ct,"-editable-card"),Xe==="editable-card"),m()(At,"".concat(ct,"-centered"),se),At)),editable:yt,moreIcon:v.createElement(Ne.a,null),prefixCls:ct}))}Be.TabPane=gt;var Dt=_.a=Be},ZTW2:function(D,_,e){},ZWlE:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function y(h){m(h),v(h)}function m(h){if(h.parallel)return;var c=!1;g.each(h.series,function(a){a&&a.type==="parallel"&&(c=!0)}),c&&(h.parallel=[{}])}function v(h){var c=f.normalizeToArray(h.parallelAxis);g.each(c,function(a){if(!g.isObject(a))return;var i=a.parallelIndex||0,r=f.normalizeToArray(h.parallel)[i];r&&r.parallelAxisDefault&&g.merge(a,r.parallelAxisDefault,!1)})}D.exports=y},ZX9x:function(D,_,e){"use strict";e.d(_,"a",function(){return N}),e.d(_,"b",function(){return P});var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),u=e("T1rO"),p=e.n(u),w=e("fEPi"),b=e.n(w),E=e("DFhj"),A=e.n(E),S=e("PKem"),T=e("H84U"),L=function(z){return!isNaN(parseFloat(z))&&isFinite(z)},x=L,C=function(B,z){var R={};for(var U in B)Object.prototype.hasOwnProperty.call(B,U)&&z.indexOf(U)<0&&(R[U]=B[U]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(B);j<U.length;j++)z.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(B,U[j])&&(R[U[j]]=B[U[j]]);return R},O={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},N=n.createContext({}),F=function(){var B=0;return function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return B+=1,"".concat(z).concat(B)}}(),k=function(B){r()(R,B);var z=d()(R);function R(U){var j;h()(this,R),j=z.call(this,U),j.responsiveHandler=function(X){j.setState({below:X.matches});var W=j.props.onBreakpoint,G=j.state.collapsed;W&&W(X.matches),G!==X.matches&&j.setCollapsed(X.matches,"responsive")},j.setCollapsed=function(X,W){"collapsed"in j.props||j.setState({collapsed:X});var G=j.props.onCollapse;G&&G(X,W)},j.toggle=function(){var X=!j.state.collapsed;j.setCollapsed(X,"clickTrigger")},j.renderSider=function(X){var W,G=X.getPrefixCls,$=j.props,ge=$.prefixCls,q=$.className,Se=$.theme,Ce=$.collapsible,Ae=$.reverseArrow,Ue=$.trigger,Qe=$.style,gt=$.width,_e=$.collapsedWidth,Oe=$.zeroWidthTriggerStyle,lt=$.children,ce=C($,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Y=j.state,K=Y.collapsed,Q=Y.below,ye=G("layout-sider",ge),ue=Object(s.default)(ce,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Ne=K?_e:gt,Te=x(Ne)?"".concat(Ne,"px"):String(Ne),oe=parseFloat(String(_e||0))===0?n.createElement("span",{onClick:j.toggle,className:t()("".concat(ye,"-zero-width-trigger"),"".concat(ye,"-zero-width-trigger-").concat(Ae?"right":"left")),style:Oe},Ue||n.createElement(p.a,null)):null,de={expanded:Ae?n.createElement(b.a,null):n.createElement(A.a,null),collapsed:Ae?n.createElement(A.a,null):n.createElement(b.a,null)},Le=K?"collapsed":"expanded",Ge=de[Le],ht=Ue!==null?oe||n.createElement("div",{className:"".concat(ye,"-trigger"),onClick:j.toggle,style:{width:Te}},Ue||Ge):null,Et=m()(m()({},Qe),{flex:"0 0 ".concat(Te),maxWidth:Te,minWidth:Te,width:Te}),Be=t()(q,ye,"".concat(ye,"-").concat(Se),(W={},f()(W,"".concat(ye,"-collapsed"),!!K),f()(W,"".concat(ye,"-has-trigger"),Ce&&Ue!==null&&!oe),f()(W,"".concat(ye,"-below"),!!Q),f()(W,"".concat(ye,"-zero-width"),parseFloat(Te)===0),W));return n.createElement("aside",m()({className:Be},ue,{style:Et}),n.createElement("div",{className:"".concat(ye,"-children")},lt),Ce||Q&&oe?ht:null)},j.uniqueId=F("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&U.breakpoint&&U.breakpoint in O&&(j.mql=H("(max-width: ".concat(O[U.breakpoint],")")));var V;return"collapsed"in U?V=U.collapsed:V=U.defaultCollapsed,j.state={collapsed:V,below:!1},j}return a()(R,[{key:"componentDidMount",value:function(){var j;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(j=this.props)===null||j===void 0||j.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var j,H;(j=this===null||this===void 0?void 0:this.mql)===null||j===void 0||j.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var j=this.state.collapsed,H=this.props.collapsedWidth;return n.createElement(N.Provider,{value:{siderCollapsed:j,collapsedWidth:H}},n.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(j){return"collapsed"in j?{collapsed:j.collapsed}:null}}]),R}(n.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var P=function(B){r()(R,B);var z=d()(R);function R(){return h()(this,R),z.apply(this,arguments)}return a()(R,[{key:"render",value:function(){var j=this;return n.createElement(S.a.Consumer,null,function(H){return n.createElement(k,m()({},H,j.props))})}}]),R}(n.Component)},ZYIC:function(D,_,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(y){var m=y.coordinateSystem,v=y.get("polyline"),h=y.pipelineContext.large;function c(a,i){var r=[];if(h){var o,d=a.end-a.start;if(v){for(var n=0,l=a.start;l<a.end;l++)n+=y.getLineCoordsCount(l);o=new Float32Array(d+n*2)}else o=new Float32Array(d*4);for(var t=0,s=[],l=a.start;l<a.end;l++){var u=y.getLineCoords(l,r);v&&(o[t++]=u);for(var p=0;p<u;p++)s=m.dataToPoint(r[p],!1,s),o[t++]=s[0],o[t++]=s[1]}i.setLayout("linesPoints",o)}else for(var l=a.start;l<a.end;l++){var w=i.getItemModel(l),u=y.getLineCoords(l,r),b=[];if(v)for(var E=0;E<u;E++)b.push(m.dataToPoint(r[E]));else{b[0]=m.dataToPoint(r[0]),b[1]=m.dataToPoint(r[1]);var A=w.get("lineStyle.curveness");+A&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*A,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*A])}i.setItemLayout(l,b)}}return{progress:c}}};D.exports=f},Ze12:function(D,_,e){var g=e("ItGF"),f=e("hOwI"),y=f.buildTransformer,m="___zrEVENTSAVED",v=[];function h(o,d,n,l,t){return c(v,d,l,t,!0)&&c(o,n,v[0],v[1])}function c(o,d,n,l,t){if(d.getBoundingClientRect&&g.domSupported&&!r(d)){var s=d[m]||(d[m]={}),u=a(d,s),p=i(u,s,t);if(p)return p(o,n,l),!0}return!1}function a(o,d){var n=d.markers;if(n)return n;n=d.markers=[];for(var l=["left","right"],t=["top","bottom"],s=0;s<4;s++){var u=document.createElement("div"),p=u.style,w=s%2,b=(s>>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[w]+":0",t[b]+":0",l[1-w]+":auto",t[1-b]+":auto",""].join("!important;"),o.appendChild(u),n.push(u)}return n}function i(o,d,n){for(var l=n?"invTrans":"trans",t=d[l],s=d.srcCoords,u=!0,p=[],w=[],b=0;b<4;b++){var E=o[b].getBoundingClientRect(),A=2*b,S=E.left,T=E.top;p.push(S,T),u=u&&s&&S===s[A]&&T===s[A+1],w.push(o[b].offsetLeft,o[b].offsetTop)}return u&&t?t:(d.srcCoords=p,d[l]=n?y(w,p):y(p,w))}function r(o){return o.nodeName.toUpperCase()==="CANVAS"}_.transformLocalCoord=h,_.transformCoordWithViewport=c,_.isCanvasEl=r},Znkb:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("zTMp"),v=y.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,o,d,n){this.axisPointerClass&&m.fixValue(r),v.superApply(this,"render",arguments),h(this,r,o,d,n,!0)},updateAxisPointer:function(r,o,d,n,l){h(this,r,o,d,n,!1)},remove:function(r,o){var d=this._axisPointer;d&&d.remove(o),v.superApply(this,"remove",arguments)},dispose:function(r,o){c(this,o),v.superApply(this,"dispose",arguments)}});function h(r,o,d,n,l,t){var s=v.getAxisPointerClass(r.axisPointerClass);if(!s)return;var u=m.getAxisPointerModel(o);u?(r._axisPointer||(r._axisPointer=new s)).render(o,u,n,t):c(r,n)}function c(r,o,d){var n=r._axisPointer;n&&n.dispose(o,d),r._axisPointer=null}var a=[];v.registerAxisPointerClass=function(r,o){a[r]=o},v.getAxisPointerClass=function(r){return r&&a[r]};var i=v;D.exports=i},"Znn+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("9ama"),m=e.n(y)},ZqQs:function(D,_,e){var g=e("bYtY");function f(h){var c=h&&h.timeline;g.isArray(c)||(c=c?[c]:[]),g.each(c,function(a){if(!a)return;y(a)})}function y(h){var c=h.type,a={number:"value",time:"time"};if(a[c]&&(h.axisType=a[c],delete h.type),m(h),v(h,"controlPosition")){var i=h.controlStyle||(h.controlStyle={});v(i,"position")||(i.position=h.controlPosition),i.position==="none"&&!v(i,"show")&&(i.show=!1,delete i.position),delete h.controlPosition}g.each(h.data||[],function(r){g.isObject(r)&&!g.isArray(r)&&(!v(r,"value")&&v(r,"name")&&(r.value=r.name),m(r))})}function m(h){var c=h.itemStyle||(h.itemStyle={}),a=c.emphasis||(c.emphasis={}),i=h.label||h.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};g.each(i,function(d,n){!o[n]&&!v(r,n)&&(r[n]=d)}),a.label&&!v(i,"emphasis")&&(i.emphasis=a.label,delete a.label)}function v(h,c){return h.hasOwnProperty(c)}D.exports=f},Zvw2:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom",this.orient=null};y.prototype={constructor:y,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,h){return this.coordinateSystem.pointToData(v,h)[0]},toGlobalCoord:null,toLocalCoord:null},g.inherits(y,f);var m=y;D.exports=m},a7Wl:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};_.default=g},a9QJ:function(D,_){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,y){if(f==="world"){var m=e[y.name];if(m){var v=y.center;v[0]=m[0],v[1]=m[1]}}}D.exports=g},aHsQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6D9b"),m=e.n(y)},aKvl:function(D,_,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function y(m,v,h,c,a,i,r,o,d){if(r===0)return!1;var n=r;if(d>v+n&&d>c+n&&d>i+n||d<v-n&&d<c-n&&d<i-n||o>m+n&&o>h+n&&o>a+n||o<m-n&&o<h-n&&o<a-n)return!1;var l=f(m,v,h,c,a,i,o,d,null);return l<=n/2}_.containStroke=y},aTJb:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(D,_,e){"use strict";var g=Array.isArray,f=Object.keys,y=Object.prototype.hasOwnProperty;D.exports=function m(v,h){if(v===h)return!0;if(v&&h&&typeof v=="object"&&typeof h=="object"){var c=g(v),a=g(h),i,r,o;if(c&&a){if(r=v.length,r!=h.length)return!1;for(i=r;i--!==0;)if(!m(v[i],h[i]))return!1;return!0}if(c!=a)return!1;var d=v instanceof Date,n=h instanceof Date;if(d!=n)return!1;if(d&&n)return v.getTime()==h.getTime();var l=v instanceof RegExp,t=h instanceof RegExp;if(l!=t)return!1;if(l&&t)return v.toString()==h.toString();var s=f(v);if(r=s.length,r!==f(h).length)return!1;for(i=r;i--!==0;)if(!y.call(h,s[i]))return!1;for(i=r;i--!==0;)if(o=s[i],!m(v[o],h[o]))return!1;return!0}return v!==v&&h!==h}},aX58:function(D,_,e){var g=e("3gBT"),f=e("ItGF"),y=e("bYtY"),m=e("0s+r"),v=e("r6Bn"),h=e("7SHv"),c=e("MKOG"),a=e("zarK");/*!
|
|
|
* ZRender, a high performance 2d drawing library.
|
|
|
*
|
|
|
* Copyright (c) 2013, Baidu Inc.
|
|
|
* All rights reserved.
|
|
|
*
|
|
|
* LICENSE
|
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
|
*/var i=!f.canvasSupported,r={canvas:h},o={},d="4.3.1";function n(w,b){var E=new p(g(),w,b);return o[E.id]=E,E}function l(w){if(w)w.dispose();else{for(var b in o)o.hasOwnProperty(b)&&o[b].dispose();o={}}return this}function t(w){return o[w]}function s(w,b){r[w]=b}function u(w){delete o[w]}var p=function(b,E,A){A=A||{},this.dom=E,this.id=b;var S=this,T=new v,L=A.renderer;if(i){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");L="vml"}else(!L||!r[L])&&(L="canvas");var x=new r[L](E,T,A,b);this.storage=T,this.painter=x;var C=!f.node&&!f.worker?new a(x.getViewportRoot(),x.root):null;this.handler=new m(T,x,C,x.root),this.animation=new c({stage:{update:y.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var O=T.delFromStorage,N=T.addToStorage;T.delFromStorage=function(F){O.call(T,F),F&&F.removeSelfFromZr(S)},T.addToStorage=function(F){N.call(T,F),F.addSelfToZr(S)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(b){this.storage.addRoot(b),this._needsRefresh=!0},remove:function(b){this.storage.delRoot(b),this._needsRefresh=!0},configLayer:function(b,E){this.painter.configLayer&&this.painter.configLayer(b,E),this._needsRefresh=!0},setBackgroundColor:function(b){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(b),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var b;this._needsRefresh&&(b=!0,this.refreshImmediately()),this._needsRefreshHover&&(b=!0,this.refreshHoverImmediately()),b&&this.trigger("rendered")},addHover:function(b,E){if(this.painter.addHover){var A=this.painter.addHover(b,E);return this.refreshHover(),A}},removeHover:function(b){this.painter.removeHover&&(this.painter.removeHover(b),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(b){b=b||{},this.painter.resize(b.width,b.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(b,E){return this.painter.pathToImage(b,E)},setCursorStyle:function(b){this.handler.setCursorStyle(b)},findHover:function(b,E){return this.handler.findHover(b,E)},on:function(b,E,A){this.handler.on(b,E,A)},off:function(b,E){this.handler.off(b,E)},trigger:function(b,E){this.handler.trigger(b,E)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,u(this.id)}},_.version=d,_.init=n,_.dispose=l,_.getInstance=t,_.registerPainter=s},aX7z:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("GMDS"),v=e("ieMj"),h=e("4NgU"),c=e("OELB"),a=e("nVfU"),i=a.prepareLayoutBarSeries,r=a.makeColumnLayout,o=a.retrieveColumnLayout,d=e("mFDi");e("IWp7"),e("jCoz");function n(T,L){var x=T.type,C=L.getMin(),O=L.getMax(),N=T.getExtent(),F,k,P;x==="ordinal"?F=L.getCategories().length:(k=L.get("boundaryGap"),y.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=c.parsePercent(k[0],1),k[1]=c.parsePercent(k[1],1),P=N[1]-N[0]||Math.abs(N[0])),C==="dataMin"?C=N[0]:typeof C=="function"&&(C=C({min:N[0],max:N[1]})),O==="dataMax"?O=N[1]:typeof O=="function"&&(O=O({min:N[0],max:N[1]}));var B=C!=null,z=O!=null;C==null&&(C=x==="ordinal"?F?0:NaN:N[0]-k[0]*P),O==null&&(O=x==="ordinal"?F?F-1:NaN:N[1]+k[1]*P),(C==null||!isFinite(C))&&(C=NaN),(O==null||!isFinite(O))&&(O=NaN),T.setBlank(y.eqNaN(C)||y.eqNaN(O)||x==="ordinal"&&!T.getOrdinalMeta().categories.length),L.getNeedCrossZero()&&(C>0&&O>0&&!B&&(C=0),C<0&&O<0&&!z&&(O=0));var R=L.ecModel;if(R&&x==="time"){var U=i("bar",R),j;if(y.each(U,function(X){j|=X.getBaseAxis()===L.axis}),j){var H=r(U),V=l(C,O,L,H);C=V.min,O=V.max}}return{extent:[C,O],fixMin:B,fixMax:z}}function l(T,L,x,C){var O=x.axis.getExtent(),N=O[1]-O[0],F=o(C,x.axis);if(F===void 0)return{min:T,max:L};var k=Infinity;y.each(F,function(j){k=Math.min(j.offset,k)});var P=-Infinity;y.each(F,function(j){P=Math.max(j.offset+j.width,P)}),k=Math.abs(k),P=Math.abs(P);var B=k+P,z=L-T,R=1-(k+P)/N,U=z/R-z;return L+=U*(P/B),T-=U*(k/B),{min:T,max:L}}function t(T,L){var x=n(T,L),C=x.extent,O=L.get("splitNumber");T.type==="log"&&(T.base=L.get("logBase"));var N=T.type;T.setExtent(C[0],C[1]),T.niceExtent({splitNumber:O,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:N==="interval"||N==="time"?L.get("minInterval"):null,maxInterval:N==="interval"||N==="time"?L.get("maxInterval"):null});var F=L.get("interval");F!=null&&(T.setInterval&&T.setInterval(F))}function s(T,L){if(L=L||T.get("type"),L)switch(L){case"category":return new m(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(h.getClass(L)||v).create(T)}}function u(T){var L=T.scale.getExtent(),x=L[0],C=L[1];return!(x>0&&C>0||x<0&&C<0)}function p(T){var L=T.getLabelModel().get("formatter"),x=T.type==="category"?T.scale.getExtent()[0]:null;return typeof L=="string"?(L=function(C){return function(O){return O=T.scale.getLabel(O),C.replace("{value}",O!=null?O:"")}}(L),L):typeof L=="function"?function(C,O){return x!=null&&(O=C-x),L(w(T,C),O)}:function(C){return T.scale.getLabel(C)}}function w(T,L){return T.type==="category"?T.scale.getLabel(L):L}function b(T){var L=T.model,x=T.scale;if(!L.get("axisLabel.show")||x.isBlank())return;var C=T.type==="category",O,N,F=x.getExtent();C?N=x.count():(O=x.getTicks(),N=O.length);var k=T.getLabelModel(),P=p(T),B,z=1;N>40&&(z=Math.ceil(N/40));for(var R=0;R<N;R+=z){var U=O?O[R]:F[0]+R,j=P(U),H=k.getTextRect(j),V=E(H,k.get("rotate")||0);B?B.union(V):B=V}return B}function E(T,L){var x=L*Math.PI/180,C=T.plain(),O=C.width,N=C.height,F=O*Math.cos(x)+N*Math.sin(x),k=O*Math.sin(x)+N*Math.cos(x),P=new d(C.x,C.y,F,k);return P}function A(T){var L=T.get("interval");return L==null?"auto":L}function S(T){return T.type==="category"&&A(T.getLabelModel())===0}_.getScaleExtent=n,_.niceScaleExtent=t,_.createScaleByModel=s,_.ifAxisCrossZero=u,_.makeLabelFormatter=p,_.getAxisRawValue=w,_.estimateLabelUnionRect=b,_.getOptionCategoryInterval=A,_.shouldShowAllLabels=S},adU4:function(D,_,e){var g=e("y1pI"),f=Array.prototype,y=f.splice;function m(v){var h=this.__data__,c=g(h,v);if(c<0)return!1;var a=h.length-1;return c==a?h.pop():y.call(h,c,1),--this.size,!0}D.exports=m},"af/B":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.map,m=g.isFunction,v=g.createHashMap,h=g.noop,c=e("9H2F"),a=c.createTask,i=e("iRjW"),r=i.getUID,o=e("fmMI"),d=e("hD7B"),n=e("4NO4"),l=n.normalizeToArray;function t(j,H,V,X){this.ecInstance=j,this.api=H,this.unfinished;var V=this._dataProcessorHandlers=V.slice(),X=this._visualHandlers=X.slice();this._allHandlers=V.concat(X),this._stageTaskMap=v()}var s=t.prototype;s.restoreData=function(j,H){j.restoreData(H),this._stageTaskMap.each(function(V){var X=V.overallTask;X&&X.dirty()})},s.getPerformArgs=function(j,H){if(!j.__pipeline)return;var V=this._pipelineMap.get(j.__pipeline.id),X=V.context,W=!H&&V.progressiveEnabled&&(!X||X.progressiveRender)&&j.__idxInPipeline>V.blockIndex,G=W?V.step:null,$=X&&X.modDataCount,ge=$!=null?Math.ceil($/G):null;return{step:G,modBy:ge,modDataCount:$}},s.getPipeline=function(j){return this._pipelineMap.get(j)},s.updateStreamModes=function(j,H){var V=this._pipelineMap.get(j.uid),X=j.getData(),W=X.count(),G=V.progressiveEnabled&&H.incrementalPrepareRender&&W>=V.threshold,$=j.get("large")&&W>=j.get("largeThreshold"),ge=j.get("progressiveChunkMode")==="mod"?W:null;j.pipelineContext=V.context={progressiveRender:G,modDataCount:ge,large:$}},s.restorePipelines=function(j){var H=this,V=H._pipelineMap=v();j.eachSeries(function(X){var W=X.getProgressive(),G=X.uid;V.set(G,{id:G,head:null,tail:null,threshold:X.getProgressiveThreshold(),progressiveEnabled:W&&!(X.preventIncremental&&X.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),F(H,X,X.dataTask)})},s.prepareStageTasks=function(){var j=this._stageTaskMap,H=this.ecInstance.getModel(),V=this.api;f(this._allHandlers,function(X){var W=j.get(X.uid)||j.set(X.uid,[]);X.reset&&w(this,X,W,H,V),X.overallReset&&b(this,X,W,H,V)},this)},s.prepareView=function(j,H,V,X){var W=j.renderTask,G=W.context;G.model=H,G.ecModel=V,G.api=X,W.__block=!j.incrementalPrepareRender,F(this,H,W)},s.performDataProcessorTasks=function(j,H){u(this,this._dataProcessorHandlers,j,H,{block:!0})},s.performVisualTasks=function(j,H,V){u(this,this._visualHandlers,j,H,V)};function u(j,H,V,X,W){W=W||{};var G;f(H,function(ge,q){if(W.visualType&&W.visualType!==ge.visualType)return;var Se=j._stageTaskMap.get(ge.uid),Ce=Se.seriesTaskMap,Ae=Se.overallTask;if(Ae){var Ue,Qe=Ae.agentStubMap;Qe.each(function(_e){$(W,_e)&&(_e.dirty(),Ue=!0)}),Ue&&Ae.dirty(),p(Ae,X);var gt=j.getPerformArgs(Ae,W.block);Qe.each(function(_e){_e.perform(gt)}),G|=Ae.perform(gt)}else Ce&&Ce.each(function(_e,Oe){$(W,_e)&&_e.dirty();var lt=j.getPerformArgs(_e,W.block);lt.skip=!ge.performRawSeries&&V.isSeriesFiltered(_e.context.model),p(_e,X),G|=_e.perform(lt)})});function $(ge,q){return ge.setDirty&&(!ge.dirtyMap||ge.dirtyMap.get(q.__pipeline.id))}j.unfinished|=G}s.performSeriesTasks=function(j){var H;j.eachSeries(function(V){H|=V.dataTask.perform()}),this.unfinished|=H},s.plan=function(){this._pipelineMap.each(function(j){var H=j.tail;do{if(H.__block){j.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var p=s.updatePayload=function(j,H){H!=="remain"&&(j.context.payload=H)};function w(j,H,V,X,W){var G=V.seriesTaskMap||(V.seriesTaskMap=v()),$=H.seriesType,ge=H.getTargetSeries;H.createOnAllSeries?X.eachRawSeries(q):$?X.eachRawSeriesByType($,q):ge&&ge(X,W).each(q);function q(Ce){var Ae=Ce.uid,Ue=G.get(Ae)||G.set(Ae,a({plan:L,reset:x,count:N}));Ue.context={model:Ce,ecModel:X,api:W,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:j},F(j,Ce,Ue)}var Se=j._pipelineMap;G.each(function(Ce,Ae){Se.get(Ae)||(Ce.dispose(),G.removeKey(Ae))})}function b(j,H,V,X,W){var G=V.overallTask=V.overallTask||a({reset:E});G.context={ecModel:X,api:W,overallReset:H.overallReset,scheduler:j};var $=G.agentStubMap=G.agentStubMap||v(),ge=H.seriesType,q=H.getTargetSeries,Se=!0,Ce=H.modifyOutputEnd;ge?X.eachRawSeriesByType(ge,Ae):q?q(X,W).each(Ae):(Se=!1,f(X.getSeries(),Ae));function Ae(Qe){var gt=Qe.uid,_e=$.get(gt);_e||(_e=$.set(gt,a({reset:A,onDirty:T})),G.dirty()),_e.context={model:Qe,overallProgress:Se,modifyOutputEnd:Ce},_e.agent=G,_e.__block=Se,F(j,Qe,_e)}var Ue=j._pipelineMap;$.each(function(Qe,gt){Ue.get(gt)||(Qe.dispose(),G.dirty(),$.removeKey(gt))})}function E(j){j.overallReset(j.ecModel,j.api,j.payload)}function A(j,H){return j.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function L(j){return j.plan&&j.plan(j.model,j.ecModel,j.api,j.payload)}function x(j){j.useClearVisual&&j.data.clearAllVisual();var H=j.resetDefines=l(j.reset(j.model,j.ecModel,j.api,j.payload));return H.length>1?y(H,function(V,X){return O(X)}):C}var C=O(0);function O(j){return function(H,V){var X=V.data,W=V.resetDefines[j];if(W&&W.dataEach)for(var G=H.start;G<H.end;G++)W.dataEach(X,G);else W&&W.progress&&W.progress(H,X)}}function N(j){return j.data.count()}function F(j,H,V){var X=H.uid,W=j._pipelineMap.get(X);!W.head&&(W.head=V),W.tail&&W.tail.pipe(V),W.tail=V,V.__idxInPipeline=W.count++,V.__pipeline=W}t.wrapStageHandler=function(j,H){return m(j)&&(j={overallReset:j,seriesType:k(j)}),j.uid=r("stageHandler"),H&&(j.visualType=H),j};function k(j){z=null;try{j(P,B)}catch(H){}return z}var P={},B={},z;R(P,o),R(B,d),P.eachSeriesByType=P.eachRawSeriesByType=function(j){z=j},P.eachComponent=function(j){j.mainType==="series"&&j.subType&&(z=j.subType)};function R(j,H){for(var V in H.prototype)j[V]=h}var U=t;D.exports=U},akwb:function(D,_,e){var g=e("RSch"),f=e("bYtY"),y=e("D9ME"),m=e("QBsz");function v(a,i,r){y.call(this,a,i,r),this._lastFrame=0,this._lastFramePercent=0}var h=v.prototype;h.createLine=function(a,i,r){return new g(a,i,r)},h.updateAnimationPoints=function(a,i){this._points=i;for(var r=[0],o=0,d=1;d<i.length;d++){var n=i[d-1],l=i[d];o+=m.dist(n,l),r.push(o)}if(o===0)return;for(var d=0;d<r.length;d++)r[d]/=o;this._offsets=r,this._length=o},h.getLineLength=function(a){return this._length},h.updateSymbolPosition=function(a){var i=a.__t,r=this._points,o=this._offsets,d=r.length;if(!o)return;var n=this._lastFrame,l;if(i<this._lastFramePercent){var t=Math.min(n+1,d-1);for(l=t;l>=0&&!(o[l]<=i);l--);l=Math.min(l,d-2)}else{for(var l=n;l<d&&!(o[l]>i);l++);l=Math.min(l-1,d-2)}m.lerp(a.position,r[l],r[l+1],(i-o[l])/(o[l+1]-o[l]));var s=r[l+1][0]-r[l][0],u=r[l+1][1]-r[l][1];a.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=i,a.ignore=!1},f.inherits(v,y);var c=v;D.exports=c},apAg:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("bsht")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SearchOutlined";var c=y.forwardRef(h);_.default=c},as94:function(D,_,e){var g=e("7aKB"),f=e("3LNs"),y=e("IwbS"),m=e("/y7N"),v=e("Fofx"),h=e("+rIm"),c=e("Znkb"),a=f.extend({makeElOption:function(d,n,l,t,s){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=u.polar,w=p.getOtherAxis(u),b=w.getExtent(),E;E=u["dataTo"+g.capitalFirst(u.dim)](n);var A=t.get("type");if(A&&A!=="none"){var S=m.buildElStyle(t),T=r[A](u,p,E,b,S);T.style=S,d.graphicKey=T.type,d.pointer=T}var L=t.get("label.margin"),x=i(n,l,t,p,L);m.buildLabelElOption(d,l,t,s,x)}});function i(d,n,l,t,s){var u=n.axis,p=u.dataToCoord(d),w=t.getAngleAxis().getExtent()[0];w=w/180*Math.PI;var b=t.getRadiusAxis().getExtent(),E,A,S;if(u.dim==="radius"){var T=v.create();v.rotate(T,T,w),v.translate(T,T,[t.cx,t.cy]),E=y.applyTransform([p,-s],T);var L=n.getModel("axisLabel").get("rotate")||0,x=h.innerTextLayout(w,L*Math.PI/180,-1);A=x.textAlign,S=x.textVerticalAlign}else{var C=b[1];E=t.coordToPoint([C+s,p]);var O=t.cx,N=t.cy;A=Math.abs(E[0]-O)/C<.3?"center":E[0]>O?"left":"right",S=Math.abs(E[1]-N)/C<.3?"middle":E[1]>N?"top":"bottom"}return{position:E,align:A,verticalAlign:S}}var r={line:function(d,n,l,t,s){return d.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(d,n,l,t,s){var u=Math.max(1,d.getBandWidth()),p=Math.PI/180;return d.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,t[0],t[1],(-l-u/2)*p,(-l+u/2)*p)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,l-u/2,l+u/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",a);var o=a;D.exports=o},b56q:function(D,_,e){},b80T:function(D,_,e){var g=e("UNi/"),f=e("03A+"),y=e("Z0cm"),m=e("DSRE"),v=e("wJg7"),h=e("c6wG"),c=Object.prototype,a=c.hasOwnProperty;function i(r,o){var d=y(r),n=!d&&f(r),l=!d&&!n&&m(r),t=!d&&!n&&!l&&h(r),s=d||n||l||t,u=s?g(r.length,String):[],p=u.length;for(var w in r)(o||a.call(r,w))&&!(s&&(w=="length"||l&&(w=="offset"||w=="parent")||t&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||v(w,p)))&&u.push(w);return u}D.exports=i},b80e:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("gKaM")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleLeftOutlined";var c=y.forwardRef(h);_.default=c},b9oc:function(D,_,e){var g=e("bYtY"),f=g.each,y="\0_ec_hist_store";function m(i,r){var o=a(i);f(r,function(d,n){for(var l=o.length-1;l>=0;l--){var t=o[l];if(t[n])break}if(l<0){var s=i.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var u=s.getPercentRange();o[0][n]={dataZoomId:n,start:u[0],end:u[1]}}}}),o.push(r)}function v(i){var r=a(i),o=r[r.length-1];r.length>1&&r.pop();var d={};return f(o,function(n,l){for(var t=r.length-1;t>=0;t--){var n=r[t][l];if(n){d[l]=n;break}}}),d}function h(i){i[y]=null}function c(i){return a(i).length}function a(i){var r=i[y];return r||(r=i[y]=[{}]),r}_.push=m,_.pop=v,_.clear=h,_.count=c},bBKM:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("+rIm"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],a=y.extendComponentView({type:"radar",render:function(i,r,o){var d=this.group;d.removeAll(),this._buildAxes(i),this._buildSplitLineAndArea(i)},_buildAxes:function(i){var r=i.coordinateSystem,o=r.getIndicatorAxes(),d=m.map(o,function(n){var l=new v(n.model,{position:[r.cx,r.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(d,function(n){m.each(c,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(i){var r=i.coordinateSystem,o=r.getIndicatorAxes();if(!o.length)return;var d=i.get("shape"),n=i.getModel("splitLine"),l=i.getModel("splitArea"),t=n.getModel("lineStyle"),s=l.getModel("areaStyle"),u=n.get("show"),p=l.get("show"),w=t.get("color"),b=s.get("color");w=m.isArray(w)?w:[w],b=m.isArray(b)?b:[b];var E=[],A=[];function S(U,j,H){var V=H%j.length;return U[V]=U[V]||[],V}if(d==="circle")for(var T=o[0].getTicksCoords(),L=r.cx,x=r.cy,C=0;C<T.length;C++){if(u){var O=S(E,w,C);E[O].push(new h.Circle({shape:{cx:L,cy:x,r:T[C].coord}}))}if(p&&C<T.length-1){var O=S(A,b,C);A[O].push(new h.Ring({shape:{cx:L,cy:x,r0:T[C].coord,r:T[C+1].coord}}))}}else for(var N,F=m.map(o,function(U,j){var H=U.getTicksCoords();return N=N==null?H.length-1:Math.min(H.length-1,N),m.map(H,function(V){return r.coordToPoint(V.coord,j)})}),k=[],C=0;C<=N;C++){for(var P=[],B=0;B<o.length;B++)P.push(F[B][C]);if(P[0]&&P.push(P[0].slice()),u){var O=S(E,w,C);E[O].push(new h.Polyline({shape:{points:P}}))}if(p&&k){var O=S(A,b,C-1);A[O].push(new h.Polygon({shape:{points:P.concat(k)}}))}k=P.slice().reverse()}var z=t.getLineStyle(),R=s.getAreaStyle();m.each(A,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({stroke:"none",fill:b[j%b.length]},R),silent:!0}))},this),m.each(E,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({fill:"none",stroke:w[j%w.length]},z),silent:!0}))},this)}});D.exports=a},bBL8:function(D,_,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),y=e("cbJ4"),m=e("0/Rx");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(m("themeRiver"))},bE4E:function(D,_,e){},bE4q:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("RIqP"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("Zm9Q"),o=e("HQEm"),d=e.n(o),n=e("XBQK"),l=e("H84U"),t=function(k,P){var B={};for(var z in k)Object.prototype.hasOwnProperty.call(k,z)&&P.indexOf(z)<0&&(B[z]=k[z]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,z=Object.getOwnPropertySymbols(k);R<z.length;R++)P.indexOf(z[R])<0&&Object.prototype.propertyIsEnumerable.call(k,z[R])&&(B[z[R]]=k[z[R]]);return B},s=function(P){var B=P.prefixCls,z=P.separator,R=z===void 0?"/":z,U=P.children,j=P.overlay,H=P.dropdownProps,V=t(P,["prefixCls","separator","children","overlay","dropdownProps"]),X=c.useContext(l.b),W=X.getPrefixCls,G=W("breadcrumb",B),$=function(Se){return j?c.createElement(n.a,f()({overlay:j,placement:"bottomCenter"},H),c.createElement("span",{className:"".concat(G,"-overlay-link")},Se,c.createElement(d.a,null))):Se},ge;return"href"in V?ge=c.createElement("a",f()({className:"".concat(G,"-link")},V),U):ge=c.createElement("span",f()({className:"".concat(G,"-link")},V),U),ge=$(ge),U?c.createElement("span",null,ge,R&&R!==""&&c.createElement("span",{className:"".concat(G,"-separator")},R)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,p=function(P){var B=P.children,z=c.useContext(l.b),R=z.getPrefixCls,U=R("breadcrumb");return c.createElement("span",{className:"".concat(U,"-separator")},B||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var w=p,b=e("BvKs"),E=e("uaoM"),A=e("0n0R"),S=function(k,P){var B={};for(var z in k)Object.prototype.hasOwnProperty.call(k,z)&&P.indexOf(z)<0&&(B[z]=k[z]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,z=Object.getOwnPropertySymbols(k);R<z.length;R++)P.indexOf(z[R])<0&&Object.prototype.propertyIsEnumerable.call(k,z[R])&&(B[z[R]]=k[z[R]]);return B};function T(k,P){if(!k.breadcrumbName)return null;var B=Object.keys(P).join("|"),z=k.breadcrumbName.replace(new RegExp(":(".concat(B,")"),"g"),function(R,U){return P[U]||R});return z}function L(k,P,B,z){var R=B.indexOf(k)===B.length-1,U=T(k,P);return R?c.createElement("span",null,U):c.createElement("a",{href:"#/".concat(z.join("/"))},U)}var x=function(P,B){return P=(P||"").replace(/^\//,""),Object.keys(B).forEach(function(z){P=P.replace(":".concat(z),B[z])}),P},C=function(P){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",z=arguments.length>2?arguments[2]:void 0,R=h()(P),U=x(B,z);return U&&R.push(U),R},O=function(P){var B=P.prefixCls,z=P.separator,R=z===void 0?"/":z,U=P.style,j=P.className,H=P.routes,V=P.children,X=P.itemRender,W=X===void 0?L:X,G=P.params,$=G===void 0?{}:G,ge=S(P,["prefixCls","separator","style","className","routes","children","itemRender","params"]),q=c.useContext(l.b),Se=q.getPrefixCls,Ce=q.direction,Ae,Ue=Se("breadcrumb",B);if(H&&H.length>0){var Qe=[];Ae=H.map(function(_e){var Oe=x(_e.path,$);Oe&&Qe.push(Oe);var lt;return _e.children&&_e.children.length&&(lt=c.createElement(b.a,null,_e.children.map(function(ce){return c.createElement(b.a.Item,{key:ce.path||ce.breadcrumbName},W(ce,$,H,C(Qe,ce.path,$)))}))),c.createElement(u,{overlay:lt,separator:R,key:Oe||_e.breadcrumbName},W(_e,$,H,Qe))})}else V&&(Ae=Object(r.a)(V).map(function(_e,Oe){return _e&&(Object(E.a)(_e.type&&(_e.type.__ANT_BREADCRUMB_ITEM===!0||_e.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(A.a)(_e,{separator:R,key:Oe}))}));var gt=i()(j,Ue,m()({},"".concat(Ue,"-rtl"),Ce==="rtl"));return c.createElement("div",f()({className:gt,style:U},ge),Ae)};O.Item=u,O.Separator=w;var N=O,F=_.a=N},bKJz:function(D,_,e){},bLfw:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=e("iRjW"),m=e("Yl7c"),v=m.enableClassManagement,h=m.parseClassType,c=e("4NO4"),a=c.makeInner,i=e("+TT/"),r=e("3hzK"),o=a(),d=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,u,p){f.call(this,t,s,u,p),this.uid=y.getUID("ec_cpt_model")},init:function(t,s,u,p){this.mergeDefaultAndTheme(t,u)},mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,p=u?i.getLayoutParams(t):{},w=s.getTheme();g.merge(t,w.get(this.mainType)),g.merge(t,this.getDefaultOption()),u&&i.mergeLayoutParam(t,p,u)},mergeOption:function(t,s){g.merge(this.option,t,!0);var u=this.layoutMode;u&&i.mergeLayoutParam(this.option,t,u)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=o(this);if(!t.defaultOption){for(var s=[],u=this.constructor;u;){var p=u.prototype.defaultOption;p&&s.push(p),u=u.superClass}for(var w={},b=s.length-1;b>=0;b--)w=g.merge(w,s[b],!0);t.defaultOption=w}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(d,{registerWhenExtend:!0}),y.enableSubTypeDefaulter(d),y.enableTopologicalTravel(d,n);function n(t){var s=[];return g.each(d.getClassesByMainType(t),function(u){s=s.concat(u.prototype.dependencies||[])}),s=g.map(s,function(u){return h(u).main}),t!=="dataset"&&g.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}g.mixin(d,r);var l=d;D.exports=l},bMXI:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("Fofx"),m=e("mFDi"),v=e("DN4a"),h=f.applyTransform;function c(){v.call(this)}g.mixin(c,v);function a(o){this.name=o,this.zoomLimit,v.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}a.prototype={constructor:a,type:"view",dimensions:["x","y"],setBoundingRect:function(o,d,n,l){return this._rect=new m(o,d,n,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(o,d,n,l){this.transformTo(o,d,n,l),this._viewRect=new m(o,d,n,l)},transformTo:function(o,d,n,l){var t=this.getBoundingRect(),s=this._rawTransformable;s.transform=t.calculateTransform(new m(o,d,n,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(o){if(!o)return;this._center=o,this._updateCenterAndZoom()},setZoom:function(o){o=o||1;var d=this.zoomLimit;d&&(d.max!=null&&(o=Math.min(d.max,o)),d.min!=null&&(o=Math.max(d.min,o))),this._zoom=o,this._updateCenterAndZoom()},getDefaultCenter:function(){var o=this.getBoundingRect(),d=o.x+o.width/2,n=o.y+o.height/2;return[d,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var o=this._rawTransformable.getLocalTransform(),d=this._roamTransformable,n=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=f.applyTransform([],l,o),n=f.applyTransform([],n,o),d.origin=l,d.position=[n[0]-l[0],n[1]-l[1]],d.scale=[t,t],this._updateTransform()},_updateTransform:function(){var o=this._roamTransformable,d=this._rawTransformable;d.parent=o,o.updateTransform(),d.updateTransform(),y.copy(this.transform||(this.transform=[]),d.transform||y.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],y.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var o=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:o?g.slice(o):y.create(),rawScale:g.slice(d.scale),rawPosition:g.slice(d.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var o=this.getBoundingRect().clone();return o.applyTransform(this.transform),o},dataToPoint:function(o,d,n){var l=d?this._rawTransform:this.transform;return n=n||[],l?h(n,o,l):f.copy(n,o)},pointToData:function(o){var d=this.invTransform;return d?h([],o,d):[o[0],o[1]]},convertToPixel:g.curry(i,"dataToPoint"),convertFromPixel:g.curry(i,"pointToData"),containPoint:function(o){return this.getViewRectAfterRoam().contain(o[0],o[1])}},g.mixin(a,v);function i(o,d,n,l){var t=n.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[o](l):null}var r=a;D.exports=r},bNin:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("FBjb"),m=e("Itpr"),v=m.radialCoordinate,h=e("ProS"),c=e("4mN7"),a=e("bMXI"),i=e("Ae+d"),r=e("SgGq"),o=e("xSat"),d=o.onIrrelevantElement,n=e("Tghj"),l=n.__DEV__,t=e("OELB"),s=t.parsePercent,u=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(L,x){var C=x.childPoints,O=C.length,N=x.parentPoint,F=C[0],k=C[O-1];if(O===1){L.moveTo(N[0],N[1]),L.lineTo(F[0],F[1]);return}var P=x.orient,B=P==="TB"||P==="BT"?0:1,z=1-B,R=s(x.forkPosition,1),U=[];U[B]=N[B],U[z]=N[z]+(k[z]-N[z])*R,L.moveTo(N[0],N[1]),L.lineTo(U[0],U[1]),L.moveTo(F[0],F[1]),U[B]=F[B],L.lineTo(U[0],U[1]),U[B]=k[B],L.lineTo(U[0],U[1]),L.lineTo(k[0],k[1]);for(var j=1;j<O-1;j++){var H=C[j];L.moveTo(H[0],H[1]),U[B]=H[B],L.lineTo(U[0],U[1])}}}),p=h.extendChartView({type:"tree",init:function(L,x){this._oldTree,this._mainGroup=new f.Group,this._controller=new r(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(L,x,C,O){var N=L.getData(),F=L.layoutInfo,k=this._mainGroup,P=L.get("layout");P==="radial"?k.attr("position",[F.x+F.width/2,F.y+F.height/2]):k.attr("position",[F.x,F.y]),this._updateViewCoordSys(L,F,P),this._updateController(L,x,C);var B=this._data,z={expandAndCollapse:L.get("expandAndCollapse"),layout:P,edgeShape:L.get("edgeShape"),edgeForkPosition:L.get("edgeForkPosition"),orient:L.getOrient(),curvature:L.get("lineStyle.curveness"),symbolRotate:L.get("symbolRotate"),symbolOffset:L.get("symbolOffset"),hoverAnimation:L.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};N.diff(B).add(function(R){w(N,R)&&E(N,R,null,k,L,z)}).update(function(R,U){var j=B.getItemGraphicEl(U);if(!w(N,R)){j&&S(B,U,j,k,L,z);return}E(N,R,j,k,L,z)}).remove(function(R){var U=B.getItemGraphicEl(R);U&&S(B,R,U,k,L,z)}).execute(),this._nodeScaleRatio=L.get("nodeScaleRatio"),this._updateNodeAndLinkScale(L),z.expandAndCollapse===!0&&N.eachItemGraphicEl(function(R,U){R.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:L.id,dataIndex:U})})}),this._data=N},_updateViewCoordSys:function(L){var x=L.getData(),C=[];x.each(function(B){var z=x.getItemLayout(B);z&&!isNaN(z.x)&&!isNaN(z.y)&&C.push([+z.x,+z.y])});var O=[],N=[];c.fromPoints(C,O,N);var F=this._min,k=this._max;N[0]-O[0]===0&&(O[0]=F?F[0]:O[0]-1,N[0]=k?k[0]:N[0]+1),N[1]-O[1]===0&&(O[1]=F?F[1]:O[1]-1,N[1]=k?k[1]:N[1]+1);var P=L.coordinateSystem=new a;P.zoomLimit=L.get("scaleLimit"),P.setBoundingRect(O[0],O[1],N[0]-O[0],N[1]-O[1]),P.setCenter(L.get("center")),P.setZoom(L.get("zoom")),this.group.attr({position:P.position,scale:P.scale}),this._viewCoordSys=P,this._min=O,this._max=N},_updateController:function(L,x,C){var O=this._controller,N=this._controllerHost,F=this.group;O.setPointerChecker(function(k,P,B){var z=F.getBoundingRect();return z.applyTransform(F.transform),z.contain(P,B)&&!d(k,C,L)}),O.enable(L.get("roam")),N.zoomLimit=L.get("scaleLimit"),N.zoom=L.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(k){i.updateViewOnPan(N,k.dx,k.dy),C.dispatchAction({seriesId:L.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){i.updateViewOnZoom(N,k.scale,k.originX,k.originY),C.dispatchAction({seriesId:L.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(L)},this)},_updateNodeAndLinkScale:function(L){var x=L.getData(),C=this._getNodeGlobalScale(L),O=[C,C];x.eachItemGraphicEl(function(N,F){N.attr("scale",O)})},_getNodeGlobalScale:function(L){var x=L.coordinateSystem;if(x.type!=="view")return 1;var C=this._nodeScaleRatio,O=x.scale,N=O&&O[0]||1,F=x.getZoom(),k=(F-1)*C+1;return k/N},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function w(L,x){var C=L.getItemLayout(x);return C&&!isNaN(C.x)&&!isNaN(C.y)&&L.getItemVisual(x,"symbol")!=="none"}function b(L,x,C){return C.itemModel=x,C.itemStyle=x.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=x.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=x.getModel("lineStyle").getLineStyle(),C.labelModel=x.getModel("label"),C.hoverLabelModel=x.getModel("emphasis.label"),L.isExpand===!1&&L.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function E(L,x,C,O,N,F){var k=!C,P=L.tree.getNodeByDataIndex(x),B=P.getModel(),F=b(P,B,F),z=L.tree.root,R=P.parentNode===z?P:P.parentNode||P,U=L.getItemGraphicEl(R.dataIndex),j=R.getLayout(),H=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:j,V=P.getLayout();k?(C=new y(L,x,F),C.attr("position",[H.x,H.y])):C.updateData(L,x,F),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=V.rawX,C.__radialRawY=V.rawY,O.add(C),L.setItemGraphicEl(x,C),f.updateProps(C,{position:[V.x,V.y]},N);var X=C.getSymbolPath();if(F.layout==="radial"){var W=z.children[0],G=W.getLayout(),$=W.children.length,ge,q;if(V.x===G.x&&P.isExpand===!0){var Se={};Se.x=(W.children[0].getLayout().x+W.children[$-1].getLayout().x)/2,Se.y=(W.children[0].getLayout().y+W.children[$-1].getLayout().y)/2,ge=Math.atan2(Se.y-G.y,Se.x-G.x),ge<0&&(ge=Math.PI*2+ge),q=Se.x<G.x,q&&(ge=ge-Math.PI)}else ge=Math.atan2(V.y-G.y,V.x-G.x),ge<0&&(ge=Math.PI*2+ge),P.children.length===0||P.children.length!==0&&P.isExpand===!1?(q=V.x<G.x,q&&(ge=ge-Math.PI)):(q=V.x>G.x,q||(ge=ge-Math.PI));var Ce=q?"left":"right",Ae=F.labelModel.get("rotate"),Ue=Ae*(Math.PI/180);X.setStyle({textPosition:F.labelModel.get("position")||Ce,textRotation:Ae==null?-ge:Ue,textOrigin:"center",verticalAlign:"middle"})}A(N,P,z,C,H,j,V,O,F)}function A(L,x,C,O,N,F,k,P,B){var z=B.edgeShape,R=O.__edge;if(z==="curve")x.parentNode&&x.parentNode!==C&&(R||(R=O.__edge=new f.BezierCurve({shape:T(B,N,N),style:g.defaults({opacity:0,strokeNoScale:!0},B.lineStyle)})),f.updateProps(R,{shape:T(B,F,k),style:{opacity:1}},L));else if(z==="polyline"&&(B.layout==="orthogonal"&&(x!==C&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var U=x.children,j=[],H=0;H<U.length;H++){var V=U[H].getLayout();j.push([V.x,V.y])}R||(R=O.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:B.orient,forkPosition:B.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},B.lineStyle)})),f.updateProps(R,{shape:{parentPoint:[k.x,k.y],childPoints:j},style:{opacity:1}},L)}P.add(R)}function S(L,x,C,O,N,F){for(var k=L.tree.getNodeByDataIndex(x),P=L.tree.root,B=k.getModel(),F=b(k,B,F),z=k.parentNode===P?k:k.parentNode||k,R=F.edgeShape,U;U=z.getLayout(),U==null;)z=z.parentNode===P?z:z.parentNode||z;f.updateProps(C,{position:[U.x+1,U.y+1]},N,function(){O.remove(C),L.setItemGraphicEl(x,null)}),C.fadeOut(null,{keepLabel:!0});var j=L.getItemGraphicEl(z.dataIndex),H=j.__edge,V=C.__edge||(z.isExpand===!1||z.children.length===1?H:void 0),R=F.edgeShape;V&&(R==="curve"?f.updateProps(V,{shape:T(F,U,U),style:{opacity:0}},N,function(){O.remove(V)}):R==="polyline"&&F.layout==="orthogonal"&&f.updateProps(V,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},N,function(){O.remove(V)}))}function T(L,x,C){var O,N,F,k,P=L.orient,B,z,R,U;if(L.layout==="radial"){B=x.rawX,R=x.rawY,z=C.rawX,U=C.rawY;var j=v(B,R),H=v(B,R+(U-R)*L.curvature),V=v(z,U+(R-U)*L.curvature),X=v(z,U);return{x1:j.x,y1:j.y,x2:X.x,y2:X.y,cpx1:H.x,cpy1:H.y,cpx2:V.x,cpy2:V.y}}else B=x.x,R=x.y,z=C.x,U=C.y,(P==="LR"||P==="RL")&&(O=B+(z-B)*L.curvature,N=R,F=z+(B-z)*L.curvature,k=U),(P==="TB"||P==="BT")&&(O=B,N=R+(U-R)*L.curvature,F=z,k=U+(R-U)*L.curvature);return{x1:B,y1:R,x2:z,y2:U,cpx1:O,cpy1:N,cpx2:F,cpy2:k}}D.exports=p},bRQS:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CheckOutlined";var h=_.a=g.forwardRef(v)},bX4T:function(D,_,e){"use strict";e.d(_,"a",function(){return c});var g=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,f=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,y="".concat(g," ").concat(f).split(/[\s\n]+/),m="aria-",v="data-";function h(a,i){return a.indexOf(i)===0}function c(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={};return Object.keys(a).forEach(function(o){(h(o,m)||!i&&(y.includes(o)||h(o,v)))&&(r[o]=a[o])}),r}},bYtY:function(D,_){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},g={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},f=Object.prototype.toString,y=Array.prototype,m=y.forEach,v=y.filter,h=y.slice,c=y.map,a=y.reduce,i={};function r(_e,Oe){_e==="createCanvas"&&(u=null),i[_e]=Oe}function o(_e){if(_e==null||typeof _e!="object")return _e;var Oe=_e,lt=f.call(_e);if(lt==="[object Array]"){if(!Ce(_e)){Oe=[];for(var ce=0,Y=_e.length;ce<Y;ce++)Oe[ce]=o(_e[ce])}}else if(g[lt]){if(!Ce(_e)){var K=_e.constructor;if(_e.constructor.from)Oe=K.from(_e);else{Oe=new K(_e.length);for(var ce=0,Y=_e.length;ce<Y;ce++)Oe[ce]=o(_e[ce])}}}else if(!e[lt]&&!Ce(_e)&&!U(_e)){Oe={};for(var Q in _e)_e.hasOwnProperty(Q)&&(Oe[Q]=o(_e[Q]))}return Oe}function d(_e,Oe,lt){if(!B(Oe)||!B(_e))return lt?o(Oe):_e;for(var ce in Oe)if(Oe.hasOwnProperty(ce)){var Y=_e[ce],K=Oe[ce];B(K)&&B(Y)&&!F(K)&&!F(Y)&&!U(K)&&!U(Y)&&!z(K)&&!z(Y)&&!Ce(K)&&!Ce(Y)?d(Y,K,lt):(lt||!(ce in _e))&&(_e[ce]=o(Oe[ce],!0))}return _e}function n(_e,Oe){for(var lt=_e[0],ce=1,Y=_e.length;ce<Y;ce++)lt=d(lt,_e[ce],Oe);return lt}function l(_e,Oe){for(var lt in Oe)Oe.hasOwnProperty(lt)&&(_e[lt]=Oe[lt]);return _e}function t(_e,Oe,lt){for(var ce in Oe)Oe.hasOwnProperty(ce)&&(lt?Oe[ce]!=null:_e[ce]==null)&&(_e[ce]=Oe[ce]);return _e}var s=function(){return i.createCanvas()};i.createCanvas=function(){return document.createElement("canvas")};var u;function p(){return u||(u=s().getContext("2d")),u}function w(_e,Oe){if(_e){if(_e.indexOf)return _e.indexOf(Oe);for(var lt=0,ce=_e.length;lt<ce;lt++)if(_e[lt]===Oe)return lt}return-1}function b(_e,Oe){var lt=_e.prototype;function ce(){}ce.prototype=Oe.prototype,_e.prototype=new ce;for(var Y in lt)lt.hasOwnProperty(Y)&&(_e.prototype[Y]=lt[Y]);_e.prototype.constructor=_e,_e.superClass=Oe}function E(_e,Oe,lt){_e="prototype"in _e?_e.prototype:_e,Oe="prototype"in Oe?Oe.prototype:Oe,t(_e,Oe,lt)}function A(_e){return _e?typeof _e=="string"?!1:typeof _e.length=="number":void 0}function S(_e,Oe,lt){if(!(_e&&Oe))return;if(_e.forEach&&_e.forEach===m)_e.forEach(Oe,lt);else if(_e.length===+_e.length)for(var ce=0,Y=_e.length;ce<Y;ce++)Oe.call(lt,_e[ce],ce,_e);else for(var K in _e)_e.hasOwnProperty(K)&&Oe.call(lt,_e[K],K,_e)}function T(_e,Oe,lt){if(!(_e&&Oe))return;if(_e.map&&_e.map===c)return _e.map(Oe,lt);for(var ce=[],Y=0,K=_e.length;Y<K;Y++)ce.push(Oe.call(lt,_e[Y],Y,_e));return ce}function L(_e,Oe,lt,ce){if(!(_e&&Oe))return;if(_e.reduce&&_e.reduce===a)return _e.reduce(Oe,lt,ce);for(var Y=0,K=_e.length;Y<K;Y++)lt=Oe.call(ce,lt,_e[Y],Y,_e);return lt}function x(_e,Oe,lt){if(!(_e&&Oe))return;if(_e.filter&&_e.filter===v)return _e.filter(Oe,lt);for(var ce=[],Y=0,K=_e.length;Y<K;Y++)Oe.call(lt,_e[Y],Y,_e)&&ce.push(_e[Y]);return ce}function C(_e,Oe,lt){if(!(_e&&Oe))return;for(var ce=0,Y=_e.length;ce<Y;ce++)if(Oe.call(lt,_e[ce],ce,_e))return _e[ce]}function O(_e,Oe){var lt=h.call(arguments,2);return function(){return _e.apply(Oe,lt.concat(h.call(arguments)))}}function N(_e){var Oe=h.call(arguments,1);return function(){return _e.apply(this,Oe.concat(h.call(arguments)))}}function F(_e){return f.call(_e)==="[object Array]"}function k(_e){return typeof _e=="function"}function P(_e){return f.call(_e)==="[object String]"}function B(_e){var Oe=typeof _e;return Oe==="function"||!!_e&&Oe==="object"}function z(_e){return!!e[f.call(_e)]}function R(_e){return!!g[f.call(_e)]}function U(_e){return typeof _e=="object"&&typeof _e.nodeType=="number"&&typeof _e.ownerDocument=="object"}function j(_e){return _e!==_e}function H(_e){for(var Oe=0,lt=arguments.length;Oe<lt;Oe++)if(arguments[Oe]!=null)return arguments[Oe]}function V(_e,Oe){return _e!=null?_e:Oe}function X(_e,Oe,lt){return _e!=null?_e:Oe!=null?Oe:lt}function W(){return Function.call.apply(h,arguments)}function G(_e){if(typeof _e=="number")return[_e,_e,_e,_e];var Oe=_e.length;return Oe===2?[_e[0],_e[1],_e[0],_e[1]]:Oe===3?[_e[0],_e[1],_e[2],_e[1]]:_e}function $(_e,Oe){if(!_e)throw new Error(Oe)}function ge(_e){return _e==null?null:typeof _e.trim=="function"?_e.trim():_e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var q="__ec_primitive__";function Se(_e){_e[q]=!0}function Ce(_e){return _e[q]}function Ae(_e){var Oe=F(_e);this.data={};var lt=this;_e instanceof Ae?_e.each(ce):_e&&S(_e,ce);function ce(Y,K){Oe?lt.set(Y,K):lt.set(K,Y)}}Ae.prototype={constructor:Ae,get:function(Oe){return this.data.hasOwnProperty(Oe)?this.data[Oe]:null},set:function(Oe,lt){return this.data[Oe]=lt},each:function(Oe,lt){lt!==void 0&&(Oe=O(Oe,lt));for(var ce in this.data)this.data.hasOwnProperty(ce)&&Oe(this.data[ce],ce)},removeKey:function(Oe){delete this.data[Oe]}};function Ue(_e){return new Ae(_e)}function Qe(_e,Oe){for(var lt=new _e.constructor(_e.length+Oe.length),ce=0;ce<_e.length;ce++)lt[ce]=_e[ce];var Y=_e.length;for(ce=0;ce<Oe.length;ce++)lt[ce+Y]=Oe[ce];return lt}function gt(){}_.$override=r,_.clone=o,_.merge=d,_.mergeAll=n,_.extend=l,_.defaults=t,_.createCanvas=s,_.getContext=p,_.indexOf=w,_.inherits=b,_.mixin=E,_.isArrayLike=A,_.each=S,_.map=T,_.reduce=L,_.filter=x,_.find=C,_.bind=O,_.curry=N,_.isArray=F,_.isFunction=k,_.isString=P,_.isObject=B,_.isBuiltInObject=z,_.isTypedArray=R,_.isDom=U,_.eqNaN=j,_.retrieve=H,_.retrieve2=V,_.retrieve3=X,_.slice=W,_.normalizeCssArray=G,_.assert=$,_.trim=ge,_.setAsPrimitive=Se,_.isPrimitive=Ce,_.createHashMap=Ue,_.concatArray=Qe,_.noop=gt},bZqE:function(D,_){function e(f,y,m){for(var v=[f],h=[],c;c=v.pop();)if(h.push(c),c.isExpand){var a=c.children;if(a.length)for(var i=0;i<a.length;i++)v.push(a[i])}for(;c=h.pop();)y(c,m)}function g(f,y){for(var m=[f],v;v=m.pop();)if(y(v),v.isExpand){var h=v.children;if(h.length)for(var c=h.length-1;c>=0;c--)m.push(h[c])}}_.eachAfter=e,_.eachBefore=g},bahg:function(D,_){function e(g){return g.split("")}D.exports=e},bbsP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("CWI+"),m=e.n(y)},bogI:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g=function(y){if(!y)return null;var m=typeof y=="function";return m?y():y}},bsht:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};_.default=g},bx4M:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("BGR+"),i=e("H84U"),r=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(x[C[O]]=T[C[O]]);return x},o=function(L){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,O=L.prefixCls,N=L.className,F=L.hoverable,k=F===void 0?!0:F,P=r(L,["prefixCls","className","hoverable"]),B=C("card",O),z=c()("".concat(B,"-grid"),N,f()({},"".concat(B,"-grid-hoverable"),k));return v.createElement("div",m()({},P,{className:z}))})},d=o,n=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(x[C[O]]=T[C[O]]);return x},l=function(L){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,O=L.prefixCls,N=L.className,F=L.avatar,k=L.title,P=L.description,B=n(L,["prefixCls","className","avatar","title","description"]),z=C("card",O),R=c()("".concat(z,"-meta"),N),U=F?v.createElement("div",{className:"".concat(z,"-meta-avatar")},F):null,j=k?v.createElement("div",{className:"".concat(z,"-meta-title")},k):null,H=P?v.createElement("div",{className:"".concat(z,"-meta-description")},P):null,V=j||H?v.createElement("div",{className:"".concat(z,"-meta-detail")},j,H):null;return v.createElement("div",m()({},B,{className:R}),U,V)})},t=l,s=e("ZTPi"),u=e("BMrR"),p=e("kPKH"),w=e("3Nzz"),b=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,C=Object.getOwnPropertySymbols(T);O<C.length;O++)L.indexOf(C[O])<0&&Object.prototype.propertyIsEnumerable.call(T,C[O])&&(x[C[O]]=T[C[O]]);return x};function E(T){var L=T.map(function(x,C){return v.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(C)},v.createElement("span",null,x))});return L}var A=function(L){var x,C,O=v.useContext(i.b),N=O.getPrefixCls,F=O.direction,k=v.useContext(w.b),P=function(Xe){L.onTabChange&&L.onTabChange(Xe)},B=function(){var Xe;return v.Children.forEach(L.children,function(et){et&&et.type&&et.type===d&&(Xe=!0)}),Xe},z=L.prefixCls,R=L.className,U=L.extra,j=L.headStyle,H=j===void 0?{}:j,V=L.bodyStyle,X=V===void 0?{}:V,W=L.title,G=L.loading,$=L.bordered,ge=$===void 0?!0:$,q=L.size,Se=L.type,Ce=L.cover,Ae=L.actions,Ue=L.tabList,Qe=L.children,gt=L.activeTabKey,_e=L.defaultActiveTabKey,Oe=L.tabBarExtraContent,lt=L.hoverable,ce=L.tabProps,Y=ce===void 0?{}:ce,K=b(L,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Q=N("card",z),ye=X.padding===0||X.padding==="0px"?{padding:24}:void 0,ue=v.createElement("div",{className:"".concat(Q,"-loading-block")}),Ne=v.createElement("div",{className:"".concat(Q,"-loading-content"),style:ye},v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:22},ue)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:8},ue),v.createElement(p.a,{span:15},ue)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:6},ue),v.createElement(p.a,{span:18},ue)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:13},ue),v.createElement(p.a,{span:9},ue)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:4},ue),v.createElement(p.a,{span:3},ue),v.createElement(p.a,{span:16},ue))),Te=gt!==void 0,oe=m()(m()({},Y),(x={},f()(x,Te?"activeKey":"defaultActiveKey",Te?gt:_e),f()(x,"tabBarExtraContent",Oe),x)),de,Le=Ue&&Ue.length?v.createElement(s.a,m()({size:"large"},oe,{className:"".concat(Q,"-head-tabs"),onChange:P}),Ue.map(function(At){return v.createElement(s.a.TabPane,{tab:At.tab,disabled:At.disabled,key:At.key})})):null;(W||U||Le)&&(de=v.createElement("div",{className:"".concat(Q,"-head"),style:H},v.createElement("div",{className:"".concat(Q,"-head-wrapper")},W&&v.createElement("div",{className:"".concat(Q,"-head-title")},W),U&&v.createElement("div",{className:"".concat(Q,"-extra")},U)),Le));var Ge=Ce?v.createElement("div",{className:"".concat(Q,"-cover")},Ce):null,ht=v.createElement("div",{className:"".concat(Q,"-body"),style:X},G?Ne:Qe),Et=Ae&&Ae.length?v.createElement("ul",{className:"".concat(Q,"-actions")},E(Ae)):null,Be=Object(a.default)(K,["onTabChange"]),Dt=q||k,Ke=c()(Q,R,(C={},f()(C,"".concat(Q,"-loading"),G),f()(C,"".concat(Q,"-bordered"),ge),f()(C,"".concat(Q,"-hoverable"),lt),f()(C,"".concat(Q,"-contain-grid"),B()),f()(C,"".concat(Q,"-contain-tabs"),Ue&&Ue.length),f()(C,"".concat(Q,"-").concat(Dt),Dt),f()(C,"".concat(Q,"-type-").concat(Se),!!Se),f()(C,"".concat(Q,"-rtl"),F==="rtl"),C));return v.createElement("div",m()({},Be,{className:Ke}),de,Ge,ht,Et)};A.Grid=d,A.Meta=t;var S=_.a=A},c2i1:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("Yl7c"),v=m.enableClassCheck;function h(n){return"_EC_"+n}var c=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},a=c.prototype;a.type="graph",a.isDirected=function(){return this._directed},a.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[h(n)])return;var s=new i(n,l);return s.hostGraph=this,this.nodes.push(s),t[h(n)]=s,s},a.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},a.getNodeById=function(n){return this._nodesMap[h(n)]},a.addEdge=function(n,l,t){var s=this._nodesMap,u=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),i.isInstance(n)||(n=s[h(n)]),i.isInstance(l)||(l=s[h(l)]),!n||!l)return;var p=n.id+"-"+l.id;if(u[p])return;var w=new r(n,l,t);return w.hostGraph=this,this._directed&&(n.outEdges.push(w),l.inEdges.push(w)),n.edges.push(w),n!==l&&l.edges.push(w),this.edges.push(w),u[p]=w,w},a.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},a.getEdge=function(n,l){i.isInstance(n)&&(n=n.id),i.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},a.eachNode=function(n,l){for(var t=this.nodes,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&n.call(l,t[u],u)},a.eachEdge=function(n,l){for(var t=this.edges,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&t[u].node1.dataIndex>=0&&t[u].node2.dataIndex>=0&&n.call(l,t[u],u)},a.breadthFirstTraverse=function(n,l,t,s){if(i.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var u=t==="out"?"outEdges":t==="in"?"inEdges":"edges",p=0;p<this.nodes.length;p++)this.nodes[p].__visited=!1;if(n.call(s,l,null))return;for(var w=[l];w.length;)for(var b=w.shift(),E=b[u],p=0;p<E.length;p++){var A=E[p],S=A.node1===b?A.node2:A.node1;if(!S.__visited){if(n.call(s,S,b))return;w.push(S),S.__visited=!0}}},a.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,s=this.edges,u=0,p=t.length;u<p;u++)t[u].dataIndex=-1;for(var u=0,p=n.count();u<p;u++)t[n.getRawIndex(u)].dataIndex=u;l.filterSelf(function(w){var b=s[l.getRawIndex(w)];return b.node1.dataIndex>=0&&b.node2.dataIndex>=0});for(var u=0,p=s.length;u<p;u++)s[u].dataIndex=-1;for(var u=0,p=l.count();u<p;u++)s[l.getRawIndex(u)].dataIndex=u},a.clone=function(){for(var n=new c(this._directed),l=this.nodes,t=this.edges,s=0;s<l.length;s++)n.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<t.length;s++){var u=t[s];n.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return n};function i(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}i.prototype={constructor:i,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(n)}};function r(n,l,t){this.node1=n,this.node2=l,this.dataIndex=t==null?-1:t}r.prototype.getModel=function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var o=function(n,l){return{getValue:function(t){var s=this[n][l];return s.get(s.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,s){this.dataIndex>=0&&this[n][l].setItemVisual(this.dataIndex,t,s)},getVisual:function(t,s){return this[n][l].getItemVisual(this.dataIndex,t,s)},setLayout:function(t,s){this.dataIndex>=0&&this[n][l].setItemLayout(this.dataIndex,t,s)},getLayout:function(){return this[n][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][l].getRawIndex(this.dataIndex)}}};y.mixin(i,o("hostGraph","data")),y.mixin(r,o("hostGraph","edgeData")),c.Node=i,c.Edge=r,v(i),v(r);var d=c;D.exports=d},c5Ni:function(D,_,e){},c5fP:function(D,_,e){"use strict";function g(Ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Xe){return typeof Xe}:g=function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},g(Ke)}Object.defineProperty(_,"__esModule",{value:!0}),_._tr_init=Ge,_._tr_stored_block=ht,_._tr_flush_block=Be,_._tr_tally=Dt,_._tr_align=Et;var f=m(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var Ke=new WeakMap;return y=function(){return Ke},Ke}function m(Ke){if(Ke&&Ke.__esModule)return Ke;if(Ke===null||g(Ke)!=="object"&&typeof Ke!="function")return{default:Ke};var At=y();if(At&&At.has(Ke))return At.get(Ke);var Xe={},et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var tt in Ke)if(Object.prototype.hasOwnProperty.call(Ke,tt)){var ot=et?Object.getOwnPropertyDescriptor(Ke,tt):null;ot&&(ot.get||ot.set)?Object.defineProperty(Xe,tt,ot):Xe[tt]=Ke[tt]}return Xe.default=Ke,At&&At.set(Ke,Xe),Xe}var v=4,h=0,c=1,a=2;function i(Ke){for(var At=Ke.length;--At>=0;)Ke[At]=0}var r=0,o=1,d=2,n=3,l=258,t=29,s=256,u=s+1+t,p=30,w=19,b=2*u+1,E=15,A=16,S=7,T=256,L=16,x=17,C=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],N=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=512,B=new Array((u+2)*2);i(B);var z=new Array(p*2);i(z);var R=new Array(P);i(R);var U=new Array(l-n+1);i(U);var j=new Array(t);i(j);var H=new Array(p);i(H);function V(Ke,At,Xe,et,tt){this.static_tree=Ke,this.extra_bits=At,this.extra_base=Xe,this.elems=et,this.max_length=tt,this.has_stree=Ke&&Ke.length}var X,W,G;function $(Ke,At){this.dyn_tree=Ke,this.max_code=0,this.stat_desc=At}function ge(Ke){return Ke<256?R[Ke]:R[256+(Ke>>>7)]}function q(Ke,At){Ke.pending_buf[Ke.pending++]=At&255,Ke.pending_buf[Ke.pending++]=At>>>8&255}function Se(Ke,At,Xe){Ke.bi_valid>A-Xe?(Ke.bi_buf|=At<<Ke.bi_valid&65535,q(Ke,Ke.bi_buf),Ke.bi_buf=At>>A-Ke.bi_valid,Ke.bi_valid+=Xe-A):(Ke.bi_buf|=At<<Ke.bi_valid&65535,Ke.bi_valid+=Xe)}function Ce(Ke,At,Xe){Se(Ke,Xe[At*2],Xe[At*2+1])}function Ae(Ke,At){var Xe=0;do Xe|=Ke&1,Ke>>>=1,Xe<<=1;while(--At>0);return Xe>>>1}function Ue(Ke){Ke.bi_valid===16?(q(Ke,Ke.bi_buf),Ke.bi_buf=0,Ke.bi_valid=0):Ke.bi_valid>=8&&(Ke.pending_buf[Ke.pending++]=Ke.bi_buf&255,Ke.bi_buf>>=8,Ke.bi_valid-=8)}function Qe(Ke,At){var Xe=At.dyn_tree,et=At.max_code,tt=At.stat_desc.static_tree,ot=At.stat_desc.has_stree,Ve=At.stat_desc.extra_bits,se=At.stat_desc.extra_base,re=At.stat_desc.max_length,it,qe,be,Zt,dt,ct,yt=0;for(Zt=0;Zt<=E;Zt++)Ke.bl_count[Zt]=0;for(Xe[Ke.heap[Ke.heap_max]*2+1]=0,it=Ke.heap_max+1;it<b;it++){if(qe=Ke.heap[it],Zt=Xe[Xe[qe*2+1]*2+1]+1,Zt>re&&(Zt=re,yt++),Xe[qe*2+1]=Zt,qe>et)continue;Ke.bl_count[Zt]++,dt=0,qe>=se&&(dt=Ve[qe-se]),ct=Xe[qe*2],Ke.opt_len+=ct*(Zt+dt),ot&&(Ke.static_len+=ct*(tt[qe*2+1]+dt))}if(yt===0)return;do{for(Zt=re-1;Ke.bl_count[Zt]===0;)Zt--;Ke.bl_count[Zt]--,Ke.bl_count[Zt+1]+=2,Ke.bl_count[re]--,yt-=2}while(yt>0);for(Zt=re;Zt!==0;Zt--)for(qe=Ke.bl_count[Zt];qe!==0;){if(be=Ke.heap[--it],be>et)continue;Xe[be*2+1]!==Zt&&(Ke.opt_len+=(Zt-Xe[be*2+1])*Xe[be*2],Xe[be*2+1]=Zt),qe--}}function gt(Ke,At,Xe){var et=new Array(E+1),tt=0,ot,Ve;for(ot=1;ot<=E;ot++)et[ot]=tt=tt+Xe[ot-1]<<1;for(Ve=0;Ve<=At;Ve++){var se=Ke[Ve*2+1];if(se===0)continue;Ke[Ve*2]=Ae(et[se]++,se)}}function _e(){var Ke,At,Xe,et,tt,ot=new Array(E+1);for(Xe=0,et=0;et<t-1;et++)for(j[et]=Xe,Ke=0;Ke<1<<O[et];Ke++)U[Xe++]=et;for(U[Xe-1]=et,tt=0,et=0;et<16;et++)for(H[et]=tt,Ke=0;Ke<1<<N[et];Ke++)R[tt++]=et;for(tt>>=7;et<p;et++)for(H[et]=tt<<7,Ke=0;Ke<1<<N[et]-7;Ke++)R[256+tt++]=et;for(At=0;At<=E;At++)ot[At]=0;for(Ke=0;Ke<=143;)B[Ke*2+1]=8,Ke++,ot[8]++;for(;Ke<=255;)B[Ke*2+1]=9,Ke++,ot[9]++;for(;Ke<=279;)B[Ke*2+1]=7,Ke++,ot[7]++;for(;Ke<=287;)B[Ke*2+1]=8,Ke++,ot[8]++;for(gt(B,u+1,ot),Ke=0;Ke<p;Ke++)z[Ke*2+1]=5,z[Ke*2]=Ae(Ke,5);X=new V(B,O,s+1,u,E),W=new V(z,N,0,p,E),G=new V(new Array(0),F,0,w,S)}function Oe(Ke){var At;for(At=0;At<u;At++)Ke.dyn_ltree[At*2]=0;for(At=0;At<p;At++)Ke.dyn_dtree[At*2]=0;for(At=0;At<w;At++)Ke.bl_tree[At*2]=0;Ke.dyn_ltree[T*2]=1,Ke.opt_len=Ke.static_len=0,Ke.last_lit=Ke.matches=0}function lt(Ke){Ke.bi_valid>8?q(Ke,Ke.bi_buf):Ke.bi_valid>0&&(Ke.pending_buf[Ke.pending++]=Ke.bi_buf),Ke.bi_buf=0,Ke.bi_valid=0}function ce(Ke,At,Xe,et){lt(Ke),et&&(q(Ke,Xe),q(Ke,~Xe)),f.arraySet(Ke.pending_buf,Ke.window,At,Xe,Ke.pending),Ke.pending+=Xe}function Y(Ke,At,Xe,et){var tt=At*2,ot=Xe*2;return Ke[tt]<Ke[ot]||Ke[tt]===Ke[ot]&&et[At]<=et[Xe]}function K(Ke,At,Xe){for(var et=Ke.heap[Xe],tt=Xe<<1;tt<=Ke.heap_len&&!(tt<Ke.heap_len&&Y(At,Ke.heap[tt+1],Ke.heap[tt],Ke.depth)&&tt++,Y(At,et,Ke.heap[tt],Ke.depth));)Ke.heap[Xe]=Ke.heap[tt],Xe=tt,tt<<=1;Ke.heap[Xe]=et}function Q(Ke,At,Xe){var et,tt,ot=0,Ve,se;if(Ke.last_lit!==0)do et=Ke.pending_buf[Ke.d_buf+ot*2]<<8|Ke.pending_buf[Ke.d_buf+ot*2+1],tt=Ke.pending_buf[Ke.l_buf+ot],ot++,et===0?Ce(Ke,tt,At):(Ve=U[tt],Ce(Ke,Ve+s+1,At),se=O[Ve],se!==0&&(tt-=j[Ve],Se(Ke,tt,se)),et--,Ve=ge(et),Ce(Ke,Ve,Xe),se=N[Ve],se!==0&&(et-=H[Ve],Se(Ke,et,se)));while(ot<Ke.last_lit);Ce(Ke,T,At)}function ye(Ke,At){var Xe=At.dyn_tree,et=At.stat_desc.static_tree,tt=At.stat_desc.has_stree,ot=At.stat_desc.elems,Ve,se,re=-1,it;for(Ke.heap_len=0,Ke.heap_max=b,Ve=0;Ve<ot;Ve++)Xe[Ve*2]!==0?(Ke.heap[++Ke.heap_len]=re=Ve,Ke.depth[Ve]=0):Xe[Ve*2+1]=0;for(;Ke.heap_len<2;)it=Ke.heap[++Ke.heap_len]=re<2?++re:0,Xe[it*2]=1,Ke.depth[it]=0,Ke.opt_len--,tt&&(Ke.static_len-=et[it*2+1]);for(At.max_code=re,Ve=Ke.heap_len>>1;Ve>=1;Ve--)K(Ke,Xe,Ve);it=ot;do Ve=Ke.heap[1],Ke.heap[1]=Ke.heap[Ke.heap_len--],K(Ke,Xe,1),se=Ke.heap[1],Ke.heap[--Ke.heap_max]=Ve,Ke.heap[--Ke.heap_max]=se,Xe[it*2]=Xe[Ve*2]+Xe[se*2],Ke.depth[it]=(Ke.depth[Ve]>=Ke.depth[se]?Ke.depth[Ve]:Ke.depth[se])+1,Xe[Ve*2+1]=Xe[se*2+1]=it,Ke.heap[1]=it++,K(Ke,Xe,1);while(Ke.heap_len>=2);Ke.heap[--Ke.heap_max]=Ke.heap[1],Qe(Ke,At),gt(Xe,re,Ke.bl_count)}function ue(Ke,At,Xe){var et,tt=-1,ot,Ve=At[0*2+1],se=0,re=7,it=4;for(Ve===0&&(re=138,it=3),At[(Xe+1)*2+1]=65535,et=0;et<=Xe;et++){if(ot=Ve,Ve=At[(et+1)*2+1],++se<re&&ot===Ve)continue;se<it?Ke.bl_tree[ot*2]+=se:ot!==0?(ot!==tt&&Ke.bl_tree[ot*2]++,Ke.bl_tree[L*2]++):se<=10?Ke.bl_tree[x*2]++:Ke.bl_tree[C*2]++,se=0,tt=ot,Ve===0?(re=138,it=3):ot===Ve?(re=6,it=3):(re=7,it=4)}}function Ne(Ke,At,Xe){var et,tt=-1,ot,Ve=At[0*2+1],se=0,re=7,it=4;for(Ve===0&&(re=138,it=3),et=0;et<=Xe;et++){if(ot=Ve,Ve=At[(et+1)*2+1],++se<re&&ot===Ve)continue;if(se<it)do Ce(Ke,ot,Ke.bl_tree);while(--se!==0);else ot!==0?(ot!==tt&&(Ce(Ke,ot,Ke.bl_tree),se--),Ce(Ke,L,Ke.bl_tree),Se(Ke,se-3,2)):se<=10?(Ce(Ke,x,Ke.bl_tree),Se(Ke,se-3,3)):(Ce(Ke,C,Ke.bl_tree),Se(Ke,se-11,7));se=0,tt=ot,Ve===0?(re=138,it=3):ot===Ve?(re=6,it=3):(re=7,it=4)}}function Te(Ke){var At;for(ue(Ke,Ke.dyn_ltree,Ke.l_desc.max_code),ue(Ke,Ke.dyn_dtree,Ke.d_desc.max_code),ye(Ke,Ke.bl_desc),At=w-1;At>=3&&!(Ke.bl_tree[k[At]*2+1]!==0);At--);return Ke.opt_len+=3*(At+1)+5+5+4,At}function oe(Ke,At,Xe,et){var tt;for(Se(Ke,At-257,5),Se(Ke,Xe-1,5),Se(Ke,et-4,4),tt=0;tt<et;tt++)Se(Ke,Ke.bl_tree[k[tt]*2+1],3);Ne(Ke,Ke.dyn_ltree,At-1),Ne(Ke,Ke.dyn_dtree,Xe-1)}function de(Ke){var At=4093624447,Xe;for(Xe=0;Xe<=31;Xe++,At>>>=1)if(At&1&&Ke.dyn_ltree[Xe*2]!==0)return h;if(Ke.dyn_ltree[9*2]!==0||Ke.dyn_ltree[10*2]!==0||Ke.dyn_ltree[13*2]!==0)return c;for(Xe=32;Xe<s;Xe++)if(Ke.dyn_ltree[Xe*2]!==0)return c;return h}var Le=!1;function Ge(Ke){Le||(_e(),Le=!0),Ke.l_desc=new $(Ke.dyn_ltree,X),Ke.d_desc=new $(Ke.dyn_dtree,W),Ke.bl_desc=new $(Ke.bl_tree,G),Ke.bi_buf=0,Ke.bi_valid=0,Oe(Ke)}function ht(Ke,At,Xe,et){Se(Ke,(r<<1)+(et?1:0),3),ce(Ke,At,Xe,!0)}function Et(Ke){Se(Ke,o<<1,3),Ce(Ke,T,B),Ue(Ke)}function Be(Ke,At,Xe,et){var tt,ot,Ve=0;Ke.level>0?(Ke.strm.data_type===a&&(Ke.strm.data_type=de(Ke)),ye(Ke,Ke.l_desc),ye(Ke,Ke.d_desc),Ve=Te(Ke),tt=Ke.opt_len+3+7>>>3,ot=Ke.static_len+3+7>>>3,ot<=tt&&(tt=ot)):tt=ot=Xe+5,Xe+4<=tt&&At!==-1?ht(Ke,At,Xe,et):Ke.strategy===v||ot===tt?(Se(Ke,(o<<1)+(et?1:0),3),Q(Ke,B,z)):(Se(Ke,(d<<1)+(et?1:0),3),oe(Ke,Ke.l_desc.max_code+1,Ke.d_desc.max_code+1,Ve+1),Q(Ke,Ke.dyn_ltree,Ke.dyn_dtree)),Oe(Ke),et&<(Ke)}function Dt(Ke,At,Xe){return Ke.pending_buf[Ke.d_buf+Ke.last_lit*2]=At>>>8&255,Ke.pending_buf[Ke.d_buf+Ke.last_lit*2+1]=At&255,Ke.pending_buf[Ke.l_buf+Ke.last_lit]=Xe&255,Ke.last_lit++,At===0?Ke.dyn_ltree[Xe*2]++:(Ke.matches++,At--,Ke.dyn_ltree[(U[Xe]+s+1)*2]++,Ke.dyn_dtree[ge(At)*2]++),Ke.last_lit===Ke.lit_bufsize-1}},c6wG:function(D,_,e){var g=e("dD9F"),f=e("sEf8"),y=e("mdPL"),m=y&&y.isTypedArray,v=m?f(m):g;D.exports=v},c8qY:function(D,_,e){var g=e("IwbS"),f=e("fls0");function y(d){this._ctor=d||f,this.group=new g.Group}var m=y.prototype;m.isPersistent=function(){return!0},m.updateData=function(d){var n=this,l=n.group,t=n._lineData;n._lineData=d,t||l.removeAll();var s=a(d);d.diff(t).add(function(u){v(n,d,u,s)}).update(function(u,p){h(n,t,d,p,u,s)}).remove(function(u){l.remove(t.getItemGraphicEl(u))}).execute()};function v(d,n,l,t){var s=n.getItemLayout(l);if(!r(s))return;var u=new d._ctor(n,l,t);n.setItemGraphicEl(l,u),d.group.add(u)}function h(d,n,l,t,s,u){var p=n.getItemGraphicEl(t);if(!r(l.getItemLayout(s))){d.group.remove(p);return}p?p.updateData(l,s,u):p=new d._ctor(l,s,u),l.setItemGraphicEl(s,p),d.group.add(p)}m.updateLayout=function(){var d=this._lineData;if(!d)return;d.eachItemGraphicEl(function(n,l){n.updateLayout(d,l)},this)},m.incrementalPrepareUpdate=function(d){this._seriesScope=a(d),this._lineData=null,this.group.removeAll()};function c(d){return d.animators&&d.animators.length>0}m.incrementalUpdate=function(d,n){function l(p){!p.isGroup&&!c(p)&&(p.incremental=p.useHoverLayer=!0)}for(var t=d.start;t<d.end;t++){var s=n.getItemLayout(t);if(r(s)){var u=new this._ctor(n,t,this._seriesScope);u.traverse(l),this.group.add(u),n.setItemGraphicEl(t,u)}}};function a(d){var n=d.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var d=this._incremental;d&&d.clearDisplaybles()};function i(d){return isNaN(d[0])||isNaN(d[1])}function r(d){return!i(d[0])&&!i(d[1])}var o=y;D.exports=o},cCMj:function(D,_,e){var g=e("bYtY"),f={updateSelectedMap:function(y){this._targetList=g.isArray(y)?y.slice():[],this._selectTargetMap=g.reduce(y||[],function(m,v){return m.set(v.name,v),m},g.createHashMap())},select:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),v&&(v.selected=!0)},unSelect:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);v&&(v.selected=!1)},toggleSelected:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);if(v!=null)return this[v.selected?"unSelect":"select"](y,m),v.selected},isSelected:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);return v&&v.selected}};D.exports=f},cVA7:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("MT78"),f=v(g),y=e("t3Fx"),m=v(y);function v(r){return r&&r.__esModule?r:{default:r}}function h(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function c(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:r}function a(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}var i=function(r){a(o,r);function o(d){h(this,o);var n=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,d));return n.echartsLib=f.default,n}return o}(m.default);_.default=i},cWXX:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("oIFs"),m=e.n(y)},ca2m:function(D,_,e){var g=e("bYtY"),f={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},y={};y.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),y.valueAxis=g.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),y.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},y.valueAxis),y.logAxis=g.defaults({scale:!0,logBase:10},y.valueAxis);var m=y;D.exports=m},cbJ4:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function y(m){m.eachSeriesByType("themeRiver",function(v){var h=v.getData(),c=v.getRawData(),a=v.get("color"),i=f();h.each(function(r){i.set(h.getRawIndex(r),r)}),c.each(function(r){var o=c.getName(r),d=a[(v.nameMap.get(o)-1)%a.length];c.setItemVisual(r,"color",d);var n=i.get(r);n!=null&&h.setItemVisual(n,"color",d)})})}D.exports=y},chpo:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=1,f=function(){return"".concat(g++)};_.default=f},cpOr:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("T4UG"),m=e("YXkt"),v=e("bYtY"),h=v.concatArray,c=v.mergeAll,a=v.map,i=e("7aKB"),r=i.encodeHTML,o=e("IDmD"),d=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var p=u.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(u.data=a(p,function(w){var b=[w[0].coord,w[1].coord],E={coords:b};return w[0].name&&(E.fromName=w[0].name),w[1].name&&(E.toName=w[1].name),c([E,w[0],w[1]])}))}var t=y.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var p=this._processFlatCoordsArray(u.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(u.data=new Float32Array(p.count)),t.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var p=this._processFlatCoordsArray(u.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(u.data=new Float32Array(p.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(u){var p=this._processFlatCoordsArray(u.data);p.flatCoords&&(this._flatCoords?(this._flatCoords=h(this._flatCoords,p.flatCoords),this._flatCoordsOffset=h(this._flatCoordsOffset,p.flatCoordsOffset)):(this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset),u.data=new Float32Array(p.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var p=this.getData().getItemModel(u),w=p.option instanceof Array?p.option:p.getShallow("coords");return w},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,p){if(this._flatCoordsOffset){for(var w=this._flatCoordsOffset[u*2],b=this._flatCoordsOffset[u*2+1],E=0;E<b;E++)p[E]=p[E]||[],p[E][0]=this._flatCoords[w+E*2],p[E][1]=this._flatCoords[w+E*2+1];return b}else{for(var A=this._getCoordsFromItemModel(u),E=0;E<A.length;E++)p[E]=p[E]||[],p[E][0]=A[E][0],p[E][1]=A[E][1];return A.length}},_processFlatCoordsArray:function(u){var p=0;if(this._flatCoords&&(p=this._flatCoords.length),typeof u[0]=="number"){for(var w=u.length,b=new d(w),E=new n(w),A=0,S=0,T=0,L=0;L<w;){T++;var x=u[L++];b[S++]=A+p,b[S++]=x;for(var C=0;C<x;C++){var O=u[L++],N=u[L++];E[A++]=O,E[A++]=N,L>w}}return{flatCoordsOffset:new Uint32Array(b.buffer,0,S),flatCoords:E,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,p){var w=new m(["value"],this);return w.hasItemOption=!1,w.initData(u.data,[],function(b,E,A,S){if(b instanceof Array)return NaN;w.hasItemOption=!0;var T=b.value;if(T!=null)return T instanceof Array?T[S]:T}),w},formatTooltip:function(u){var p=this.getData(),w=p.getItemModel(u),b=w.get("name");if(b)return b;var E=w.get("fromName"),A=w.get("toName"),S=[];return E!=null&&S.push(E),A!=null&&S.push(A),r(S.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),s=t;D.exports=s},crZl:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("7aKB"),v=e("+TT/"),h=e("XxSj"),c=g.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(a,i){this.ecModel=a,this.api=i,this.visualMapModel},render:function(a,i,r,o){if(this.visualMapModel=a,a.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(a){var i=this.visualMapModel,r=m.normalizeCssArray(i.get("padding")||0),o=a.getBoundingRect();a.add(new y.Rect({z2:-1,silent:!0,shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[3]+r[1],height:o.height+r[0]+r[2]},style:{fill:i.get("backgroundColor"),stroke:i.get("borderColor"),lineWidth:i.get("borderWidth")}}))},getControllerVisual:function(a,i,r){r=r||{};var o=r.forceState,d=this.visualMapModel,n={};if(i==="symbol"&&(n.symbol=d.get("itemSymbol")),i==="color"){var l=d.get("contentColor");n.color=l}function t(w){return n[w]}function s(w,b){n[w]=b}var u=d.controllerVisuals[o||d.getValueState(a)],p=h.prepareVisualTypes(u);return f.each(p,function(w){var b=u[w];r.convertOpacityToAlpha&&w==="opacity"&&(w="colorAlpha",b=u.__alphaForOpacity),h.dependsOn(w,i)&&(b&&b.applyVisual(a,t,s))}),n[i]},positionGroup:function(a){var i=this.visualMapModel,r=this.api;v.positionElement(a,i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:f.noop});D.exports=c},czTT:function(D,_,e){},d4KN:function(D,_,e){var g=e("ProS"),f=e("bYtY");function y(m,v){f.each(v,function(h){h.update="updateView",g.registerAction(h,function(c,a){var i={};return a.eachComponent({mainType:"series",subType:m,query:c},function(r){r[h.method]&&r[h.method](c.name,c.dataIndex);var o=r.getData();o.each(function(d){var n=o.getName(d);i[n]=r.isSelected(n)||!1})}),{name:c.name,selected:i,seriesId:c.seriesId}})})}D.exports=y},dBmv:function(D,_,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),g.registerPreprocessor(f)},dD9F:function(D,_,e){var g=e("NykK"),f=e("shjB"),y=e("ExA7"),m="[object Arguments]",v="[object Array]",h="[object Boolean]",c="[object Date]",a="[object Error]",i="[object Function]",r="[object Map]",o="[object Number]",d="[object Object]",n="[object RegExp]",l="[object Set]",t="[object String]",s="[object WeakMap]",u="[object ArrayBuffer]",p="[object DataView]",w="[object Float32Array]",b="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",L="[object Uint8ClampedArray]",x="[object Uint16Array]",C="[object Uint32Array]",O={};O[w]=O[b]=O[E]=O[A]=O[S]=O[T]=O[L]=O[x]=O[C]=!0,O[m]=O[v]=O[u]=O[h]=O[p]=O[c]=O[a]=O[i]=O[r]=O[o]=O[d]=O[n]=O[l]=O[t]=O[s]=!1;function N(F){return y(F)&&f(F.length)&&!!O[g(F)]}D.exports=N},"dF/Y":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DownloadOutlined";var h=_.a=g.forwardRef(v)},dMvE:function(D,_){var e={linear:function(y){return y},quadraticIn:function(y){return y*y},quadraticOut:function(y){return y*(2-y)},quadraticInOut:function(y){return(y*=2)<1?.5*y*y:-.5*(--y*(y-2)-1)},cubicIn:function(y){return y*y*y},cubicOut:function(y){return--y*y*y+1},cubicInOut:function(y){return(y*=2)<1?.5*y*y*y:.5*((y-=2)*y*y+2)},quarticIn:function(y){return y*y*y*y},quarticOut:function(y){return 1- --y*y*y*y},quarticInOut:function(y){return(y*=2)<1?.5*y*y*y*y:-.5*((y-=2)*y*y*y-2)},quinticIn:function(y){return y*y*y*y*y},quinticOut:function(y){return--y*y*y*y*y+1},quinticInOut:function(y){return(y*=2)<1?.5*y*y*y*y*y:.5*((y-=2)*y*y*y*y+2)},sinusoidalIn:function(y){return 1-Math.cos(y*Math.PI/2)},sinusoidalOut:function(y){return Math.sin(y*Math.PI/2)},sinusoidalInOut:function(y){return .5*(1-Math.cos(Math.PI*y))},exponentialIn:function(y){return y===0?0:Math.pow(1024,y-1)},exponentialOut:function(y){return y===1?1:1-Math.pow(2,-10*y)},exponentialInOut:function(y){return y===0?0:y===1?1:(y*=2)<1?.5*Math.pow(1024,y-1):.5*(-Math.pow(2,-10*(y-1))+2)},circularIn:function(y){return 1-Math.sqrt(1-y*y)},circularOut:function(y){return Math.sqrt(1- --y*y)},circularInOut:function(y){return(y*=2)<1?-.5*(Math.sqrt(1-y*y)-1):.5*(Math.sqrt(1-(y-=2)*y)+1)},elasticIn:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)))},elasticOut:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*y)*Math.sin((y-m)*(2*Math.PI)/h)+1)},elasticInOut:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),(y*=2)<1?-.5*(v*Math.pow(2,10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)):v*Math.pow(2,-10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)*.5+1)},backIn:function(y){var m=1.70158;return y*y*((m+1)*y-m)},backOut:function(y){var m=1.70158;return--y*y*((m+1)*y+m)+1},backInOut:function(y){var m=1.70158*1.525;return(y*=2)<1?.5*(y*y*((m+1)*y-m)):.5*((y-=2)*y*((m+1)*y+m)+2)},bounceIn:function(y){return 1-e.bounceOut(1-y)},bounceOut:function(y){return y<1/2.75?7.5625*y*y:y<2/2.75?7.5625*(y-=1.5/2.75)*y+.75:y<2.5/2.75?7.5625*(y-=2.25/2.75)*y+.9375:7.5625*(y-=2.625/2.75)*y+.984375},bounceInOut:function(y){return y<.5?e.bounceIn(y*2)*.5:e.bounceOut(y*2-1)*.5+.5}},g=e;D.exports=g},diRs:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("3S7+"),h=e("H84U"),c=e("bogI"),a=function(r,o){var d={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&o.indexOf(n)<0&&(d[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(r);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(r,n[l])&&(d[n[l]]=r[n[l]]);return d},i=y.forwardRef(function(r,o){var d=r.prefixCls,n=r.title,l=r.content,t=a(r,["prefixCls","title","content"]),s=y.useContext(h.b),u=s.getPrefixCls,p=function(E){return y.createElement(y.Fragment,null,n&&y.createElement("div",{className:"".concat(E,"-title")},Object(c.a)(n)),y.createElement("div",{className:"".concat(E,"-inner-content")},Object(c.a)(l)))},w=u("popover",d);return y.createElement(v.a,f()({},t,{prefixCls:w,ref:o,overlay:p(w)}))});i.displayName="Popover",i.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},_.a=i},digP:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(y,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:y}}]}},name:"file",theme:"twotone"};_.default=g},dmGj:function(D,_,e){var g=e("DEFe"),f=e("ProS"),y=f.extendComponentView({type:"geo",init:function(m,v){var h=new g(v,!0);this._mapDraw=h,this.group.add(h.group)},render:function(m,v,h,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var a=this._mapDraw;m.get("show")?a.draw(m,v,h,this,c):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});D.exports=y},dnwI:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("YH21"),m=e("Kagy"),v=e("IUWy"),h=m.toolbox.dataView,c=new Array(60).join("-"),a=" ";function i(A){var S={},T=[],L=[];return A.eachRawSeries(function(x){var C=x.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var O=C.getBaseAxis();if(O.type==="category"){var N=O.dim+"_"+O.index;S[N]||(S[N]={categoryAxis:O,valueAxis:C.getOtherAxis(O),series:[]},L.push({axisDim:O.dim,axisIndex:O.index})),S[N].series.push(x)}else T.push(x)}else T.push(x)}),{seriesGroupByCategoryAxis:S,other:T,meta:L}}function r(A){var S=[];return f.each(A,function(T,L){var x=T.categoryAxis,C=T.valueAxis,O=C.dim,N=[" "].concat(f.map(T.series,function(R){return R.name})),F=[x.model.getCategories()];f.each(T.series,function(R){F.push(R.getRawData().mapArray(O,function(U){return U}))});for(var k=[N.join(a)],P=0;P<F[0].length;P++){for(var B=[],z=0;z<F.length;z++)B.push(F[z][P]);k.push(B.join(a))}S.push(k.join(`
|
|
|
`))}),S.join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function o(A){return f.map(A,function(S){var T=S.getRawData(),L=[S.name],x=[];return T.each(T.dimensions,function(){for(var C=arguments.length,O=arguments[C-1],N=T.getName(O),F=0;F<C-1;F++)x[F]=arguments[F];L.push((N?N+a:"")+x.join(a))}),L.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`)}function d(A){var S=i(A);return{value:f.filter([r(S.seriesGroupByCategoryAxis),o(S.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+c+`
|
|
|
|
|
|
`),meta:S.meta}}function n(A){return A.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(A){var S=A.slice(0,A.indexOf(`
|
|
|
`));if(S.indexOf(a)>=0)return!0}var t=new RegExp("["+a+"]+","g");function s(A){for(var S=A.split(/\n+/g),T=n(S.shift()).split(t),L=[],x=f.map(T,function(F){return{name:F,data:[]}}),C=0;C<S.length;C++){var O=n(S[C]).split(t);L.push(O.shift());for(var N=0;N<O.length;N++)x[N]&&(x[N].data[C]=O[N])}return{series:x,categories:L}}function u(A){for(var S=A.split(/\n+/g),T=n(S.shift()),L=[],x=0;x<S.length;x++){var C=n(S[x]).split(t),O="",N,F=!1;isNaN(C[0])?(F=!0,O=C[0],C=C.slice(1),L[x]={name:O,value:[]},N=L[x].value):N=L[x]=[];for(var k=0;k<C.length;k++)N.push(+C[k]);N.length===1&&(F?L[x].value=N[0]:L[x]=N[0])}return{name:T,data:L}}function p(A,S){var T=A.split(new RegExp(`
|
|
|
*`+c+`
|
|
|
*`,"g")),L={series:[]};return f.each(T,function(x,C){if(l(x)){var O=s(x),N=S[C],F=N.axisDim+"Axis";N&&(L[F]=L[F]||[],L[F][N.axisIndex]={data:O.categories},L.series=L.series.concat(O.series))}else{var O=u(x);L.series.push(O)}}),L}function w(A){this._dom=null,this.model=A}w.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:f.clone(h.title),lang:f.clone(h.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},w.prototype.onclick=function(A,S){var T=S.getDom(),L=this.model;this._dom&&T.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=L.get("backgroundColor")||"#fff";var C=document.createElement("h4"),O=L.get("lang")||[];C.innerHTML=O[0]||L.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=L.get("textColor");var N=document.createElement("div"),F=document.createElement("textarea");N.style.cssText="display:block;width:100%;overflow:auto;";var k=L.get("optionToContent"),P=L.get("contentToOption"),B=d(A);if(typeof k=="function"){var z=k(S.getOption());typeof z=="string"?N.innerHTML=z:f.isDom(z)&&N.appendChild(z)}else N.appendChild(F),F.readOnly=L.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=L.get("textColor"),F.style.borderColor=L.get("textareaBorderColor"),F.style.backgroundColor=L.get("textareaColor"),F.value=B.value;var R=B.meta,U=document.createElement("div");U.style.cssText="position:absolute;bottom:0;left:0;right:0;";var j="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",H=document.createElement("div"),V=document.createElement("div");j+=";background-color:"+L.get("buttonColor"),j+=";color:"+L.get("buttonTextColor");var X=this;function W(){T.removeChild(x),X._dom=null}y.addEventListener(H,"click",W),y.addEventListener(V,"click",function(){var G;try{typeof P=="function"?G=P(N,S.getOption()):G=p(F.value,R)}catch($){throw W(),new Error("Data view format error "+$)}G&&S.dispatchAction({type:"changeDataView",newOption:G}),W()}),H.innerHTML=O[1],V.innerHTML=O[2],V.style.cssText=j,H.style.cssText=j,!L.get("readOnly")&&U.appendChild(V),U.appendChild(H),x.appendChild(C),x.appendChild(N),x.appendChild(U),N.style.height=T.clientHeight-80+"px",T.appendChild(x),this._dom=x},w.prototype.remove=function(A,S){this._dom&&S.getDom().removeChild(this._dom)},w.prototype.dispose=function(A,S){this.remove(A,S)};function b(A,S){return f.map(A,function(T,L){var x=S&&S[L];return f.isObject(x)&&!f.isArray(x)?(f.isObject(T)&&!f.isArray(T)&&(T=T.value),f.defaults({value:T},x)):T})}v.register("dataView",w),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(A,S){var T=[];f.each(A.newOption.series,function(L){var x=S.getSeriesByName(L.name)[0];if(!x)T.push(f.extend({type:"scatter"},L));else{var C=x.get("data");T.push({name:L.name,data:b(L.data,C)})}}),S.mergeOption(f.defaults({series:T},A.newOption))});var E=w;D.exports=E},dqUG:function(D,_,e){var g=e("Gev7"),f=e("bYtY"),y=e("6GrX"),m=e("pzxd"),v=e("gut8"),h=v.ContextCachedBy,c=function(r){g.call(this,r)};c.prototype={constructor:c,type:"text",brush:function(r,o){var d=this.style;this.__dirty&&m.normalizeTextStyle(d,!0),d.fill=d.stroke=d.shadowBlur=d.shadowColor=d.shadowOffsetX=d.shadowOffsetY=null;var n=d.text;if(n!=null&&(n+=""),!m.needDrawText(n,d)){r.__attrCachedBy=h.NONE;return}this.setTransform(r),m.renderText(this,r,n,d,null,o),this.restoreTransform(r)},getBoundingRect:function(){var r=this.style;if(this.__dirty&&m.normalizeTextStyle(r,!0),!this._rect){var o=r.text;o!=null?o+="":o="";var d=y.getBoundingRect(r.text+"",r.font,r.textAlign,r.textVerticalAlign,r.textPadding,r.textLineHeight,r.rich);if(d.x+=r.x||0,d.y+=r.y||0,m.getStroke(r.textStroke,r.textStrokeWidth)){var n=r.textStrokeWidth;d.x-=n/2,d.y-=n/2,d.width+=n,d.height+=n}this._rect=d}return this._rect}},f.inherits(c,g);var a=c;D.exports=a},dt0z:function(D,_,e){var g=e("zoYe");function f(y){return y==null?"":g(y)}D.exports=f},e4Nc:function(D,_,e){var g=e("fGT3"),f=e("k+1r"),y=e("JHgL"),m=e("pSRY"),v=e("H8j4");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},e5VY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},e5cp:function(D,_,e){var g=e("fmRc"),f=e("or5M"),y=e("HDyB"),m=e("seXi"),v=e("QqLw"),h=e("Z0cm"),c=e("DSRE"),a=e("c6wG"),i=1,r="[object Arguments]",o="[object Array]",d="[object Object]",n=Object.prototype,l=n.hasOwnProperty;function t(s,u,p,w,b,E){var A=h(s),S=h(u),T=A?o:v(s),L=S?o:v(u);T=T==r?d:T,L=L==r?d:L;var x=T==d,C=L==d,O=T==L;if(O&&c(s)){if(!c(u))return!1;A=!0,x=!1}if(O&&!x)return E||(E=new g),A||a(s)?f(s,u,p,w,b,E):y(s,u,T,p,w,b,E);if(!(p&i)){var N=x&&l.call(s,"__wrapped__"),F=C&&l.call(u,"__wrapped__");if(N||F){var k=N?s.value():s,P=F?u.value():u;return E||(E=new g),b(k,P,p,w,E)}}return O?(E||(E=new g),m(s,u,p,w,b,E)):!1}D.exports=t},eIcI:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function y(v,h,c){f.call(this,v,h,c),this.type="value",this.angle=0,this.name="",this.model}g.inherits(y,f);var m=y;D.exports=m},eJH7:function(D,_,e){var g=e("bYtY");function f(y){var m=y.polar;if(m){g.isArray(m)||(m=[m]);var v=[];g.each(m,function(h,c){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),y.radar=y.radar||[],g.isArray(y.radar)||(y.radar=[y.radar]),y.radar.push(h)):v.push(h)}),y.polar=v}g.each(y.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}D.exports=f},eP3c:function(D,_,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(re){return typeof re}:g=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},g(Ve)}Object.defineProperty(_,"__esModule",{value:!0}),_.inflateReset=oe,_.inflateReset2=de,_.inflateResetKeep=Te,_.inflateInit=Ge,_.inflateInit2=Le,_.inflate=At,_.inflateEnd=Xe,_.inflateGetHeader=et,_.inflateSetDictionary=tt,_.inflateInfo=_.Z_DEFLATED=_.Z_BUF_ERROR=_.Z_MEM_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_NEED_DICT=_.Z_STREAM_END=_.Z_OK=_.Z_TREES=_.Z_BLOCK=_.Z_FINISH=void 0;var f=i(e("6BzB")),y=c(e("xlC8")),m=c(e("QV2g")),v=c(e("sjKO")),h=c(e("JSwD"));function c(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function a(){if(typeof WeakMap!="function")return null;var Ve=new WeakMap;return a=function(){return Ve},Ve}function i(Ve){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||g(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var se=a();if(se&&se.has(Ve))return se.get(Ve);var re={},it=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var qe in Ve)if(Object.prototype.hasOwnProperty.call(Ve,qe)){var be=it?Object.getOwnPropertyDescriptor(Ve,qe):null;be&&(be.get||be.set)?Object.defineProperty(re,qe,be):re[qe]=Ve[qe]}return re.default=Ve,se&&se.set(Ve,re),re}var r=0,o=1,d=2,n=4;_.Z_FINISH=n;var l=5;_.Z_BLOCK=l;var t=6;_.Z_TREES=t;var s=0;_.Z_OK=s;var u=1;_.Z_STREAM_END=u;var p=2;_.Z_NEED_DICT=p;var w=-2;_.Z_STREAM_ERROR=w;var b=-3;_.Z_DATA_ERROR=b;var E=-4;_.Z_MEM_ERROR=E;var A=-5;_.Z_BUF_ERROR=A;var S=8;_.Z_DEFLATED=S;var T=1,L=2,x=3,C=4,O=5,N=6,F=7,k=8,P=9,B=10,z=11,R=12,U=13,j=14,H=15,V=16,X=17,W=18,G=19,$=20,ge=21,q=22,Se=23,Ce=24,Ae=25,Ue=26,Qe=27,gt=28,_e=29,Oe=30,lt=31,ce=32,Y=852,K=592,Q=15,ye=Q;function ue(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function Ne(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Te(Ve){var se;return!Ve||!Ve.state?w:(se=Ve.state,Ve.total_in=Ve.total_out=se.total=0,Ve.msg="",se.wrap&&(Ve.adler=se.wrap&1),se.mode=T,se.last=0,se.havedict=0,se.dmax=32768,se.head=null,se.hold=0,se.bits=0,se.lencode=se.lendyn=new f.Buf32(Y),se.distcode=se.distdyn=new f.Buf32(K),se.sane=1,se.back=-1,s)}function oe(Ve){var se;return!Ve||!Ve.state?w:(se=Ve.state,se.wsize=0,se.whave=0,se.wnext=0,Te(Ve))}function de(Ve,se){var re,it;return!Ve||!Ve.state?w:(it=Ve.state,se<0?(re=0,se=-se):(re=(se>>4)+1,se<48&&(se&=15)),se&&(se<8||se>15)?w:(it.window!==null&&it.wbits!==se&&(it.window=null),it.wrap=re,it.wbits=se,oe(Ve)))}function Le(Ve,se){var re,it;return Ve?(it=new Ne,Ve.state=it,it.window=null,re=de(Ve,se),re!==s&&(Ve.state=null),re):w}function Ge(Ve){return Le(Ve,ye)}var ht=!0,Et,Be;function Dt(Ve){if(ht){var se;for(Et=new f.Buf32(512),Be=new f.Buf32(32),se=0;se<144;)Ve.lens[se++]=8;for(;se<256;)Ve.lens[se++]=9;for(;se<280;)Ve.lens[se++]=7;for(;se<288;)Ve.lens[se++]=8;for((0,h.default)(o,Ve.lens,0,288,Et,0,Ve.work,{bits:9}),se=0;se<32;)Ve.lens[se++]=5;(0,h.default)(d,Ve.lens,0,32,Be,0,Ve.work,{bits:5}),ht=!1}Ve.lencode=Et,Ve.lenbits=9,Ve.distcode=Be,Ve.distbits=5}function Ke(Ve,se,re,it){var qe,be=Ve.state;return be.window===null&&(be.wsize=1<<be.wbits,be.wnext=0,be.whave=0,be.window=new f.Buf8(be.wsize)),it>=be.wsize?(f.arraySet(be.window,se,re-be.wsize,be.wsize,0),be.wnext=0,be.whave=be.wsize):(qe=be.wsize-be.wnext,qe>it&&(qe=it),f.arraySet(be.window,se,re-it,qe,be.wnext),it-=qe,it?(f.arraySet(be.window,se,re-it,it,0),be.wnext=it,be.whave=be.wsize):(be.wnext+=qe,be.wnext===be.wsize&&(be.wnext=0),be.whave<be.wsize&&(be.whave+=qe))),0}function At(Ve,se){var re,it,qe,be,Zt,dt,ct,yt,_t,or,Bt,we,ve,me,he=0,Re,He,ze,Ye,Pe,nt,bt,Ot,ae=new f.Buf8(4),pe,J,ne=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ve||!Ve.state||!Ve.output||!Ve.input&&Ve.avail_in!==0)return w;re=Ve.state,re.mode===R&&(re.mode=U),Zt=Ve.next_out,qe=Ve.output,ct=Ve.avail_out,be=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=re.hold,_t=re.bits,or=dt,Bt=ct,Ot=s;e:for(;;)switch(re.mode){case T:if(re.wrap===0){re.mode=U;break}for(;_t<16;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(re.wrap&2&&yt===35615){re.check=0,ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0),yt=0,_t=0,re.mode=L;break}if(re.flags=0,re.head&&(re.head.done=!1),!(re.wrap&1)||(((yt&255)<<8)+(yt>>8))%31){Ve.msg="incorrect header check",re.mode=Oe;break}if((yt&15)!==S){Ve.msg="unknown compression method",re.mode=Oe;break}if(yt>>>=4,_t-=4,bt=(yt&15)+8,re.wbits===0)re.wbits=bt;else if(bt>re.wbits){Ve.msg="invalid window size",re.mode=Oe;break}re.dmax=1<<bt,Ve.adler=re.check=1,re.mode=yt&512?B:R,yt=0,_t=0;break;case L:for(;_t<16;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(re.flags=yt,(re.flags&255)!==S){Ve.msg="unknown compression method",re.mode=Oe;break}if(re.flags&57344){Ve.msg="unknown header flags set",re.mode=Oe;break}re.head&&(re.head.text=yt>>8&1),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0,re.mode=x;case x:for(;_t<32;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.head&&(re.head.time=yt),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,ae[2]=yt>>>16&255,ae[3]=yt>>>24&255,re.check=(0,m.default)(re.check,ae,4,0)),yt=0,_t=0,re.mode=C;case C:for(;_t<16;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.head&&(re.head.xflags=yt&255,re.head.os=yt>>8),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0,re.mode=O;case O:if(re.flags&1024){for(;_t<16;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.length=yt,re.head&&(re.head.extra_len=yt),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0}else re.head&&(re.head.extra=null);re.mode=N;case N:if(re.flags&1024&&(we=re.length,we>dt&&(we=dt),we&&(re.head&&(bt=re.head.extra_len-re.length,re.head.extra||(re.head.extra=new Array(re.head.extra_len)),f.arraySet(re.head.extra,it,be,we,bt)),re.flags&512&&(re.check=(0,m.default)(re.check,it,we,be)),dt-=we,be+=we,re.length-=we),re.length))break e;re.length=0,re.mode=F;case F:if(re.flags&2048){if(dt===0)break e;we=0;do bt=it[be+we++],re.head&&bt&&re.length<65536&&(re.head.name+=String.fromCharCode(bt));while(bt&&we<dt);if(re.flags&512&&(re.check=(0,m.default)(re.check,it,we,be)),dt-=we,be+=we,bt)break e}else re.head&&(re.head.name=null);re.length=0,re.mode=k;case k:if(re.flags&4096){if(dt===0)break e;we=0;do bt=it[be+we++],re.head&&bt&&re.length<65536&&(re.head.comment+=String.fromCharCode(bt));while(bt&&we<dt);if(re.flags&512&&(re.check=(0,m.default)(re.check,it,we,be)),dt-=we,be+=we,bt)break e}else re.head&&(re.head.comment=null);re.mode=P;case P:if(re.flags&512){for(;_t<16;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(yt!==(re.check&65535)){Ve.msg="header crc mismatch",re.mode=Oe;break}yt=0,_t=0}re.head&&(re.head.hcrc=re.flags>>9&1,re.head.done=!0),Ve.adler=re.check=0,re.mode=R;break;case B:for(;_t<32;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}Ve.adler=re.check=ue(yt),yt=0,_t=0,re.mode=z;case z:if(re.havedict===0)return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=be,Ve.avail_in=dt,re.hold=yt,re.bits=_t,p;Ve.adler=re.check=1,re.mode=R;case R:if(se===l||se===t)break e;case U:if(re.last){yt>>>=_t&7,_t-=_t&7,re.mode=Qe;break}for(;_t<3;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.last=yt&1,yt>>>=1,_t-=1;switch(yt&3){case 0:re.mode=j;break;case 1:if(Dt(re),re.mode=$,se===t){yt>>>=2,_t-=2;break e}break;case 2:re.mode=X;break;case 3:Ve.msg="invalid block type",re.mode=Oe}yt>>>=2,_t-=2;break;case j:for(yt>>>=_t&7,_t-=_t&7;_t<32;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if((yt&65535)!==(yt>>>16^65535)){Ve.msg="invalid stored block lengths",re.mode=Oe;break}if(re.length=yt&65535,yt=0,_t=0,re.mode=H,se===t)break e;case H:re.mode=V;case V:if(we=re.length,we){if(we>dt&&(we=dt),we>ct&&(we=ct),we===0)break e;f.arraySet(qe,it,be,we,Zt),dt-=we,be+=we,ct-=we,Zt+=we,re.length-=we;break}re.mode=R;break;case X:for(;_t<14;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(re.nlen=(yt&31)+257,yt>>>=5,_t-=5,re.ndist=(yt&31)+1,yt>>>=5,_t-=5,re.ncode=(yt&15)+4,yt>>>=4,_t-=4,re.nlen>286||re.ndist>30){Ve.msg="too many length or distance symbols",re.mode=Oe;break}re.have=0,re.mode=W;case W:for(;re.have<re.ncode;){for(;_t<3;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.lens[ne[re.have++]]=yt&7,yt>>>=3,_t-=3}for(;re.have<19;)re.lens[ne[re.have++]]=0;if(re.lencode=re.lendyn,re.lenbits=7,pe={bits:re.lenbits},Ot=(0,h.default)(r,re.lens,0,19,re.lencode,0,re.work,pe),re.lenbits=pe.bits,Ot){Ve.msg="invalid code lengths set",re.mode=Oe;break}re.have=0,re.mode=G;case G:for(;re.have<re.nlen+re.ndist;){for(;!(he=re.lencode[yt&(1<<re.lenbits)-1],Re=he>>>24,He=he>>>16&255,ze=he&65535,Re<=_t);){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(ze<16)yt>>>=Re,_t-=Re,re.lens[re.have++]=ze;else{if(ze===16){for(J=Re+2;_t<J;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(yt>>>=Re,_t-=Re,re.have===0){Ve.msg="invalid bit length repeat",re.mode=Oe;break}bt=re.lens[re.have-1],we=3+(yt&3),yt>>>=2,_t-=2}else if(ze===17){for(J=Re+3;_t<J;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}yt>>>=Re,_t-=Re,bt=0,we=3+(yt&7),yt>>>=3,_t-=3}else{for(J=Re+7;_t<J;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}yt>>>=Re,_t-=Re,bt=0,we=11+(yt&127),yt>>>=7,_t-=7}if(re.have+we>re.nlen+re.ndist){Ve.msg="invalid bit length repeat",re.mode=Oe;break}for(;we--;)re.lens[re.have++]=bt}}if(re.mode===Oe)break;if(re.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",re.mode=Oe;break}if(re.lenbits=9,pe={bits:re.lenbits},Ot=(0,h.default)(o,re.lens,0,re.nlen,re.lencode,0,re.work,pe),re.lenbits=pe.bits,Ot){Ve.msg="invalid literal/lengths set",re.mode=Oe;break}if(re.distbits=6,re.distcode=re.distdyn,pe={bits:re.distbits},Ot=(0,h.default)(d,re.lens,re.nlen,re.ndist,re.distcode,0,re.work,pe),re.distbits=pe.bits,Ot){Ve.msg="invalid distances set",re.mode=Oe;break}if(re.mode=$,se===t)break e;case $:re.mode=ge;case ge:if(dt>=6&&ct>=258){Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=be,Ve.avail_in=dt,re.hold=yt,re.bits=_t,(0,v.default)(Ve,Bt),Zt=Ve.next_out,qe=Ve.output,ct=Ve.avail_out,be=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=re.hold,_t=re.bits,re.mode===R&&(re.back=-1);break}for(re.back=0;!(he=re.lencode[yt&(1<<re.lenbits)-1],Re=he>>>24,He=he>>>16&255,ze=he&65535,Re<=_t);){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(He&&(He&240)===0){for(Ye=Re,Pe=He,nt=ze;!(he=re.lencode[nt+((yt&(1<<Ye+Pe)-1)>>Ye)],Re=he>>>24,He=he>>>16&255,ze=he&65535,Ye+Re<=_t);){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}yt>>>=Ye,_t-=Ye,re.back+=Ye}if(yt>>>=Re,_t-=Re,re.back+=Re,re.length=ze,He===0){re.mode=Ue;break}if(He&32){re.back=-1,re.mode=R;break}if(He&64){Ve.msg="invalid literal/length code",re.mode=Oe;break}re.extra=He&15,re.mode=q;case q:if(re.extra){for(J=re.extra;_t<J;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.length+=yt&(1<<re.extra)-1,yt>>>=re.extra,_t-=re.extra,re.back+=re.extra}re.was=re.length,re.mode=Se;case Se:for(;!(he=re.distcode[yt&(1<<re.distbits)-1],Re=he>>>24,He=he>>>16&255,ze=he&65535,Re<=_t);){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if((He&240)===0){for(Ye=Re,Pe=He,nt=ze;!(he=re.distcode[nt+((yt&(1<<Ye+Pe)-1)>>Ye)],Re=he>>>24,He=he>>>16&255,ze=he&65535,Ye+Re<=_t);){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}yt>>>=Ye,_t-=Ye,re.back+=Ye}if(yt>>>=Re,_t-=Re,re.back+=Re,He&64){Ve.msg="invalid distance code",re.mode=Oe;break}re.offset=ze,re.extra=He&15,re.mode=Ce;case Ce:if(re.extra){for(J=re.extra;_t<J;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}re.offset+=yt&(1<<re.extra)-1,yt>>>=re.extra,_t-=re.extra,re.back+=re.extra}if(re.offset>re.dmax){Ve.msg="invalid distance too far back",re.mode=Oe;break}re.mode=Ae;case Ae:if(ct===0)break e;if(we=Bt-ct,re.offset>we){if(we=re.offset-we,we>re.whave&&re.sane){Ve.msg="invalid distance too far back",re.mode=Oe;break}we>re.wnext?(we-=re.wnext,ve=re.wsize-we):ve=re.wnext-we,we>re.length&&(we=re.length),me=re.window}else me=qe,ve=Zt-re.offset,we=re.length;we>ct&&(we=ct),ct-=we,re.length-=we;do qe[Zt++]=me[ve++];while(--we);re.length===0&&(re.mode=ge);break;case Ue:if(ct===0)break e;qe[Zt++]=re.length,ct--,re.mode=ge;break;case Qe:if(re.wrap){for(;_t<32;){if(dt===0)break e;dt--,yt|=it[be++]<<_t,_t+=8}if(Bt-=ct,Ve.total_out+=Bt,re.total+=Bt,Bt&&(Ve.adler=re.check=re.flags?(0,m.default)(re.check,qe,Bt,Zt-Bt):(0,y.default)(re.check,qe,Bt,Zt-Bt)),Bt=ct,(re.flags?yt:ue(yt))!==re.check){Ve.msg="incorrect data check",re.mode=Oe;break}yt=0,_t=0}re.mode=gt;case gt:if(re.wrap&&re.flags){for(;_t<32;){if(dt===0)break e;dt--,yt+=it[be++]<<_t,_t+=8}if(yt!==(re.total&4294967295)){Ve.msg="incorrect length check",re.mode=Oe;break}yt=0,_t=0}re.mode=_e;case _e:Ot=u;break e;case Oe:Ot=b;break e;case lt:return E;case ce:default:return w}return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=be,Ve.avail_in=dt,re.hold=yt,re.bits=_t,(re.wsize||Bt!==Ve.avail_out&&re.mode<Oe&&(re.mode<Qe||se!==n))&&Ke(Ve,Ve.output,Ve.next_out,Bt-Ve.avail_out)?(re.mode=lt,E):(or-=Ve.avail_in,Bt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Bt,re.total+=Bt,re.wrap&&Bt&&(Ve.adler=re.check=re.flags?(0,m.default)(re.check,qe,Bt,Ve.next_out-Bt):(0,y.default)(re.check,qe,Bt,Ve.next_out-Bt)),Ve.data_type=re.bits+(re.last?64:0)+(re.mode===R?128:0)+(re.mode===$||re.mode===H?256:0),(or===0&&Bt===0||se===n)&&Ot===s&&(Ot=A),Ot)}function Xe(Ve){if(!Ve||!Ve.state)return w;var se=Ve.state;return se.window&&(se.window=null),Ve.state=null,s}function et(Ve,se){var re;return!Ve||!Ve.state?w:(re=Ve.state,(re.wrap&2)===0?w:(re.head=se,se.done=!1,s))}function tt(Ve,se){var re=se.length,it,qe,be;return!Ve||!Ve.state?w:(it=Ve.state,it.wrap!==0&&it.mode!==z?w:it.mode===z&&(qe=1,qe=(0,y.default)(qe,se,re,0),qe!==it.check)?b:(be=Ke(Ve,se,re,re),be?(it.mode=lt,E):(it.havedict=1,s)))}var ot="pako inflate (from Nodeca project)";_.inflateInfo=ot},ePAk:function(D,_,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(y){var m,v=this.ecModel;return v.eachComponent(y,function(h){h.getCoordSysModel()===this&&(m=h)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});D.exports=f},eRkO:function(D,_,e){var g=e("+TT/"),f=g.getLayoutRect,y=g.box,m=g.positionElement,v=e("7aKB"),h=e("IwbS");function c(i,r,o){var d=r.getBoxLayoutParams(),n=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},t=f(d,l,n);y(r.get("orient"),i,r.get("itemGap"),t.width,t.height),m(i,d,l,n)}function a(i,r){var o=v.normalizeCssArray(r.get("padding")),d=r.getItemStyle(["color","opacity"]);d.fill=r.get("backgroundColor");var i=new h.Rect({shape:{x:i.x-o[3],y:i.y-o[0],width:i.width+o[1]+o[3],height:i.height+o[0]+o[2],r:r.get("borderRadius")},style:d,silent:!0,z2:-1});return i}_.layout=c,_.makeBackground=a},eS4l:function(D,_,e){e("HM/N"),e("FNN5")},eUgh:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length,v=Array(m);++y<m;)v[y]=f(g[y],y,g);return v}D.exports=e},ebwN:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Map");D.exports=y},ekgI:function(D,_,e){var g=e("YESw"),f=Object.prototype,y=f.hasOwnProperty;function m(v){var h=this.__data__;return g?h[v]!==void 0:y.call(h,v)}D.exports=m},ewwo:function(D,_,e){var g=e("bMXI"),f=e("+TT/"),y=f.getLayoutRect,m=e("4mN7");function v(c,a,i){var r=c.getBoxLayoutParams();return r.aspect=i,y(r,{width:a.getWidth(),height:a.getHeight()})}function h(c,a){var i=[];return c.eachSeriesByType("graph",function(r){var o=r.get("coordinateSystem");if(!o||o==="view"){var d=r.getData(),n=d.mapArray(function(S){var T=d.getItemModel(S);return[+T.get("x"),+T.get("y")]}),l=[],t=[];m.fromPoints(n,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var s=(t[0]-l[0])/(t[1]-l[1]),u=v(r,a,s);isNaN(s)&&(l=[u.x,u.y],t=[u.x+u.width,u.y+u.height]);var p=t[0]-l[0],w=t[1]-l[1],b=u.width,E=u.height,A=r.coordinateSystem=new g;A.zoomLimit=r.get("scaleLimit"),A.setBoundingRect(l[0],l[1],p,w),A.setViewRect(u.x,u.y,b,E),A.setCenter(r.get("center")),A.setZoom(r.get("zoom")),i.push(A)}}),i}D.exports=h},f1nB:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("4NO4"),h=e("IwbS"),c=e("+TT/"),a=e("OELB"),i=a.parsePercent,r={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};y.registerPreprocessor(function(b){var E=b.graphic;m.isArray(E)?!E[0]||!E[0].elements?b.graphic=[{elements:E}]:b.graphic=[b.graphic[0]]:E&&!E.elements&&(b.graphic=[{elements:[E]}])});var o=y.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(b){var E=this.option.elements;this.option.elements=null,o.superApply(this,"mergeOption",arguments),this.option.elements=E},optionUpdated:function(b,E){var A=this.option,S=(E?A:b).elements,T=A.elements=E?[]:A.elements,L=[];this._flatten(S,L);var x=v.mappingToExists(T,L);v.makeIdAndName(x);var C=this._elOptionsToUpdate=[];m.each(x,function(N,F){var k=N.option;if(!k)return;C.push(k),s(N,k),u(T,F,k),p(T[F],k)},this);for(var O=T.length-1;O>=0;O--)T[O]==null?T.splice(O,1):delete T[O].$action},_flatten:function(b,E,A){m.each(b,function(S){if(!S)return;A&&(S.parentOption=A),E.push(S);var T=S.children;S.type==="group"&&T&&this._flatten(T,E,S),delete S.children},this)},useElOptionsToUpdate:function(){var b=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,b}});y.extendComponentView({type:"graphic",init:function(b,E){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(b,E,A){b!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=b,this._updateElements(b),this._relocate(b,A)},_updateElements:function(b){var E=b.useElOptionsToUpdate();if(!E)return;var A=this._elMap,S=this.group;m.each(E,function(T){var L=T.$action,x=T.id,C=A.get(x),O=T.parentId,N=O!=null?A.get(O):S,F=T.style;T.type==="text"&&F&&(T.hv&&T.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var k=l(T);!L||L==="merge"?C?C.attr(k):d(x,N,k,A):L==="replace"?(n(C,A),d(x,N,k,A)):L==="remove"&&n(C,A);var P=A.get(x);P&&(P.__ecGraphicWidthOption=T.width,P.__ecGraphicHeightOption=T.height,w(P,b,T))})},_relocate:function(b,E){for(var A=b.option.elements,S=this.group,T=this._elMap,L=E.getWidth(),x=E.getHeight(),C=0;C<A.length;C++){var O=A[C],N=T.get(O.id);if(!N||!N.isGroup)continue;var F=N.parent,k=F===S;N.__ecGraphicWidth=i(N.__ecGraphicWidthOption,k?L:F.__ecGraphicWidth)||0,N.__ecGraphicHeight=i(N.__ecGraphicHeightOption,k?x:F.__ecGraphicHeight)||0}for(var C=A.length-1;C>=0;C--){var O=A[C],N=T.get(O.id);if(!N)continue;var F=N.parent,P=F===S?{width:L,height:x}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};c.positionElement(N,O,P,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var b=this._elMap;b.each(function(E){n(E,b)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function d(b,E,A,S){var T=A.type,L=r.hasOwnProperty(T)?r[T]:h.getShapeClass(T),x=new L(A);E.add(x),S.set(b,x),x.__ecGraphicId=b}function n(b,E){var A=b&&b.parent;A&&(b.type==="group"&&b.traverse(function(S){n(S,E)}),E.removeKey(b.__ecGraphicId),A.remove(b))}function l(b){return b=m.extend({},b),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(E){delete b[E]}),b}function t(b,E){var A;return m.each(E,function(S){b[S]!=null&&b[S]!=="auto"&&(A=!0)}),A}function s(b,E){var A=b.exist;if(E.id=b.keyInfo.id,!E.type&&A&&(E.type=A.type),E.parentId==null){var S=E.parentOption;S?E.parentId=S.id:A&&(E.parentId=A.parentId)}E.parentOption=null}function u(b,E,A){var S=m.extend({},A),T=b[E],L=A.$action||"merge";L==="merge"?T?(m.merge(T,S,!0),c.mergeLayoutParam(T,S,{ignoreSize:!0}),c.copyLayoutParams(A,T)):b[E]=S:L==="replace"?b[E]=S:L==="remove"&&(T&&(b[E]=null))}function p(b,E){if(!b)return;b.hv=E.hv=[t(E,["left","right"]),t(E,["top","bottom"])],b.type==="group"&&(b.width==null&&(b.width=E.width=0),b.height==null&&(b.height=E.height=0))}function w(b,E,A){var S=b.eventData;!b.silent&&!b.ignore&&!S&&(S=b.eventData={componentType:"graphic",componentIndex:E.componentIndex,name:b.name}),S&&(S.info=b.info)}},f3JH:function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(D,_,e){var g=e("IwbS"),f=e("QBsz"),y=g.Line.prototype,m=g.BezierCurve.prototype;function v(c){return isNaN(+c.cpx1)||isNaN(+c.cpy1)}var h=g.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(c,a){this[v(a)?"_buildPathLine":"_buildPathCurve"](c,a)},_buildPathLine:y.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:y.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(c){var a=this.shape,i=v(a)?[a.x2-a.x1,a.y2-a.y1]:this._tangentAtCurve(c);return f.normalize(i,i)},_tangentAtCurve:m.tangentAt});D.exports=h},f5Yq:function(D,_,e){var g=e("bYtY"),f=g.isFunction;function y(m,v,h){return{seriesType:m,performRawSeries:!0,reset:function(c,a,i){var r=c.getData(),o=c.get("symbol"),d=c.get("symbolSize"),n=c.get("symbolKeepAspect"),l=c.get("symbolRotate"),t=f(o),s=f(d),u=f(l),p=t||s||u,w=!t&&o?o:v,b=s?null:d,E=u?null:E;if(r.setVisual({legendSymbol:h||w,symbol:w,symbolSize:b,symbolKeepAspect:n,symbolRotate:l}),a.isSeriesFiltered(c))return;function A(S,T){if(p){var L=c.getRawValue(T),x=c.getDataParams(T);t&&S.setItemVisual(T,"symbol",o(L,x)),s&&S.setItemVisual(T,"symbolSize",d(L,x)),u&&S.setItemVisual(T,"symbolRotate",l(L,x))}if(S.hasItemOption){var C=S.getItemModel(T),O=C.getShallow("symbol",!0),N=C.getShallow("symbolSize",!0),F=C.getShallow("symbolRotate",!0),k=C.getShallow("symbolKeepAspect",!0);O!=null&&S.setItemVisual(T,"symbol",O),N!=null&&S.setItemVisual(T,"symbolSize",N),F!=null&&S.setItemVisual(T,"symbolRotate",F),k!=null&&S.setItemVisual(T,"symbolKeepAspect",k)}}return{dataEach:r.hasItemOption||p?A:null}}}}D.exports=y},fAei:function(D,_,e){"use strict";e.d(_,"a",function(){return b.a});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),m=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),c=e("LK+K"),a=e("q1tI"),i=e("4IlW"),r=e("Kwbf"),o=e("TSYQ"),d=e.n(o),n=e("sboe"),l=e("OZM5"),t=e("815F"),s=e("ODXe"),u=e("Ff2n"),p=e("+nKL"),w=e("8XRh"),b=e("WaYH"),E=function($,ge){var q=$.className,Se=$.style,Ce=$.motion,Ae=$.motionNodes,Ue=$.motionType,Qe=$.onMotionEnd,gt=$.active,_e=$.treeNodeRequiredProps,Oe=Object(u.a)($,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),lt=a.useState(!0),ce=Object(s.a)(lt,2),Y=ce[0],K=ce[1],Q=a.useContext(n.a),ye=Q.prefixCls,ue=a.useRef(!1),Ne=function(){ue.current||Qe(),ue.current=!0};return Object(a.useEffect)(function(){Ae&&Ue==="hide"&&Y&&K(!1)},[Ae]),Object(a.useEffect)(function(){return function(){Ae&&Ne()}},[]),Ae?a.createElement(w.default,Object.assign({ref:ge,visible:Y},Ce,{motionAppear:Ue==="show",onAppearEnd:Ne,onLeaveEnd:Ne}),function(Te,oe){var de=Te.className,Le=Te.style;return a.createElement("div",{ref:oe,className:d()("".concat(ye,"-treenode-motion"),de),style:Le},Ae.map(function(Ge){var ht=Ge.data,Et=ht.key,Be=Object(u.a)(ht,["key"]),Dt=Ge.isStart,Ke=Ge.isEnd;delete Be.children;var At=Object(t.f)(Et,_e);return a.createElement(b.a,Object.assign({},Be,At,{active:gt,data:Ge.data,key:Et,isStart:Dt,isEnd:Ke}))}))}):a.createElement(b.a,Object.assign({domRef:ge,className:q,style:Se},Oe,{active:gt}))};E.displayName="MotionTreeNode";var A=a.forwardRef(E),S=A;function T(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],$=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ge=G.length,q=$.length;if(Math.abs(ge-q)!==1)return{add:!1,key:null};function Se(Ce,Ae){var Ue=new Map;Ce.forEach(function(gt){Ue.set(gt,!0)});var Qe=Ae.filter(function(gt){return!Ue.has(gt)});return Qe.length===1?Qe[0]:null}return ge<q?{add:!0,key:Se(G,$)}:{add:!1,key:Se($,G)}}function L(G,$,ge){var q=G.findIndex(function(Ue){var Qe=Ue.data;return Qe.key===ge}),Se=G[q+1],Ce=$.findIndex(function(Ue){var Qe=Ue.data;return Qe.key===ge});if(Se){var Ae=$.findIndex(function(Ue){var Qe=Ue.data;return Qe.key===Se.data.key});return $.slice(Ce+1,Ae)}return $.slice(Ce+1)}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},O="RC_TREE_MOTION_".concat(Math.random()),N={key:O},F={key:O,level:0,index:0,pos:"0",node:N},k={parent:null,children:[],pos:F.pos,data:N,isStart:[],isEnd:[]};function P(G,$,ge,q){return $===!1||!ge?G:G.slice(0,Math.ceil(ge/q)+1)}function B(G){var $=G.data.key,ge=G.pos;return Object(t.e)($,ge)}function z(G){for(var $=String(G.data.key),ge=G;ge.parent;)ge=ge.parent,$="".concat(ge.data.key," > ").concat($);return $}var R=function($,ge){var q=$.prefixCls,Se=$.data,Ce=$.selectable,Ae=$.checkable,Ue=$.expandedKeys,Qe=$.selectedKeys,gt=$.checkedKeys,_e=$.loadedKeys,Oe=$.loadingKeys,lt=$.halfCheckedKeys,ce=$.keyEntities,Y=$.disabled,K=$.dragging,Q=$.dragOverNodeKey,ye=$.dropPosition,ue=$.motion,Ne=$.height,Te=$.itemHeight,oe=$.virtual,de=$.focusable,Le=$.activeItem,Ge=$.focused,ht=$.tabIndex,Et=$.onKeyDown,Be=$.onFocus,Dt=$.onBlur,Ke=$.onActiveChange,At=$.onListChangeStart,Xe=$.onListChangeEnd,et=Object(u.a)($,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),tt=a.useRef(null);a.useImperativeHandle(ge,function(){return{scrollTo:function(bt){tt.current.scrollTo(bt)}}});var ot=a.useState(Ue),Ve=Object(s.a)(ot,2),se=Ve[0],re=Ve[1],it=a.useState(Se),qe=Object(s.a)(it,2),be=qe[0],Zt=qe[1],dt=a.useState(Se),ct=Object(s.a)(dt,2),yt=ct[0],_t=ct[1],or=a.useState([]),Bt=Object(s.a)(or,2),we=Bt[0],ve=Bt[1],me=a.useState(null),he=Object(s.a)(me,2),Re=he[0],He=he[1];function ze(){Zt(Se),_t(Se),ve([]),He(null),Xe()}a.useEffect(function(){re(Ue);var nt=T(se,Ue);if(nt.key!==null){if(nt.add){var bt=be.findIndex(function(xe){var De=xe.data.key;return De===nt.key}),Ot=P(L(be,Se,nt.key),oe,Ne,Te),ae=be.slice();ae.splice(bt+1,0,k),_t(ae),ve(Ot),He("show")}else{var pe=Se.findIndex(function(xe){var De=xe.data.key;return De===nt.key}),J=P(L(Se,be,nt.key),oe,Ne,Te),ne=Se.slice();ne.splice(pe+1,0,k),_t(ne),ve(J),He("hide")}ue&&At()}else be!==Se&&(Zt(Se),_t(Se))},[Ue,Se]),a.useEffect(function(){K||ze()},[K]);var Ye=ue?yt:Se,Pe={expandedKeys:Ue,selectedKeys:Qe,loadedKeys:_e,loadingKeys:Oe,checkedKeys:gt,halfCheckedKeys:lt,dragOverNodeKey:Q,dropPosition:ye,keyEntities:ce};return a.createElement(a.Fragment,null,Ge&&Le&&a.createElement("span",{style:x,"aria-live":"assertive"},z(Le)),a.createElement("div",{role:"tree"},a.createElement("input",{style:x,disabled:de===!1||Y,tabIndex:de!==!1?ht:null,onKeyDown:Et,onFocus:Be,onBlur:Dt,value:"",onChange:C})),a.createElement(p.a,Object.assign({},et,{data:Ye,itemKey:B,height:Ne,fullHeight:!1,virtual:oe,itemHeight:Te,prefixCls:"".concat(q,"-list"),ref:tt}),function(nt){var bt=nt.pos,Ot=nt.data,ae=Ot.key,pe=Object(u.a)(Ot,["key"]),J=nt.isStart,ne=nt.isEnd,xe=Object(t.e)(ae,bt);delete pe.children;var De=Object(t.f)(xe,Pe);return a.createElement(S,Object.assign({},pe,De,{active:Le&&ae===Le.data.key,pos:bt,data:nt.data,isStart:J,isEnd:ne,motion:ue,motionNodes:ae===O?we:null,motionType:Re,onMotionEnd:ze,treeNodeRequiredProps:Pe,onMouseMove:function(){Ke(null)}}))}))},U=a.forwardRef(R);U.displayName="NodeList";var j=U,H=e("NvD2"),V=function(G){Object(h.a)(ge,G);var $=Object(c.a)(ge);function ge(){var q;return Object(m.a)(this,ge),q=$.apply(this,arguments),q.destroyed=!1,q.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},q.listRef=a.createRef(),q.onNodeDragStart=function(Se,Ce){var Ae=q.state,Ue=Ae.expandedKeys,Qe=Ae.keyEntities,gt=q.props.onDragStart,_e=Ce.props.eventKey;q.dragNode=Ce;var Oe=Object(l.b)(Ue,_e);q.setState({dragging:!0,dragNodesKeys:Object(l.g)(_e,Qe)}),q.setExpandedKeys(Oe),gt&>({event:Se,node:Object(t.b)(Ce.props)})},q.onNodeDragEnter=function(Se,Ce){var Ae=q.state,Ue=Ae.expandedKeys,Qe=Ae.keyEntities,gt=Ae.dragNodesKeys,_e=q.props.onDragEnter,Oe=Ce.props,lt=Oe.pos,ce=Oe.eventKey;if(!q.dragNode||gt.indexOf(ce)!==-1)return;var Y=Object(l.c)(Se,Ce);if(q.dragNode.props.eventKey===ce&&Y===0){q.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){q.setState({dragOverNodeKey:ce,dropPosition:Y}),q.delayedDragEnterLogic||(q.delayedDragEnterLogic={}),Object.keys(q.delayedDragEnterLogic).forEach(function(K){clearTimeout(q.delayedDragEnterLogic[K])}),q.delayedDragEnterLogic[lt]=window.setTimeout(function(){if(!q.state.dragging)return;var K=Object(y.a)(Ue),Q=Qe[ce];Q&&(Q.children||[]).length&&(K=Object(l.a)(Ue,ce)),"expandedKeys"in q.props||q.setExpandedKeys(K),_e&&_e({event:Se,node:Object(t.b)(Ce.props),expandedKeys:K})},400)},0)},q.onNodeDragOver=function(Se,Ce){var Ae=q.state.dragNodesKeys,Ue=q.props.onDragOver,Qe=Ce.props.eventKey;if(Ae.indexOf(Qe)!==-1)return;if(q.dragNode&&Qe===q.state.dragOverNodeKey){var gt=Object(l.c)(Se,Ce);if(gt===q.state.dropPosition)return;q.setState({dropPosition:gt})}Ue&&Ue({event:Se,node:Object(t.b)(Ce.props)})},q.onNodeDragLeave=function(Se,Ce){var Ae=q.props.onDragLeave;q.setState({dragOverNodeKey:""}),Ae&&Ae({event:Se,node:Object(t.b)(Ce.props)})},q.onNodeDragEnd=function(Se,Ce){var Ae=q.props.onDragEnd;q.setState({dragOverNodeKey:""}),q.cleanDragState(),Ae&&Ae({event:Se,node:Object(t.b)(Ce.props)}),q.dragNode=null},q.onNodeDrop=function(Se,Ce){var Ae=q.state,Ue=Ae.dragNodesKeys,Qe=Ue===void 0?[]:Ue,gt=Ae.dropPosition,_e=q.props.onDrop,Oe=Ce.props,lt=Oe.eventKey,ce=Oe.pos;if(q.setState({dragOverNodeKey:""}),q.cleanDragState(),Qe.indexOf(lt)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Y=Object(l.k)(ce),K={event:Se,node:Object(t.b)(Ce.props),dragNode:q.dragNode?Object(t.b)(q.dragNode.props):null,dragNodesKeys:Qe.slice(),dropPosition:gt+Number(Y[Y.length-1]),dropToGap:!1};gt!==0&&(K.dropToGap=!0),_e&&_e(K),q.dragNode=null},q.cleanDragState=function(){var Se=q.state.dragging;Se&&q.setState({dragging:!1})},q.onNodeClick=function(Se,Ce){var Ae=q.props.onClick;Ae&&Ae(Se,Ce)},q.onNodeDoubleClick=function(Se,Ce){var Ae=q.props.onDoubleClick;Ae&&Ae(Se,Ce)},q.onNodeSelect=function(Se,Ce){var Ae=q.state.selectedKeys,Ue=q.state.keyEntities,Qe=q.props,gt=Qe.onSelect,_e=Qe.multiple,Oe=Ce.selected,lt=Ce.key,ce=!Oe;ce?_e?Ae=Object(l.a)(Ae,lt):Ae=[lt]:Ae=Object(l.b)(Ae,lt);var Y=Ae.map(function(K){var Q=Ue[K];return Q?Q.node:null}).filter(function(K){return K});q.setUncontrolledState({selectedKeys:Ae}),gt&>(Ae,{event:"select",selected:ce,node:Ce,selectedNodes:Y,nativeEvent:Se.nativeEvent})},q.onNodeCheck=function(Se,Ce,Ae){var Ue=q.state,Qe=Ue.keyEntities,gt=Ue.checkedKeys,_e=Ue.halfCheckedKeys,Oe=q.props,lt=Oe.checkStrictly,ce=Oe.onCheck,Y=Ce.key,K,Q={event:"check",node:Ce,checked:Ae,nativeEvent:Se.nativeEvent};if(lt){var ye=Ae?Object(l.a)(gt,Y):Object(l.b)(gt,Y),ue=Object(l.b)(_e,Y);K={checked:ye,halfChecked:ue},Q.checkedNodes=ye.map(function(Ge){return Qe[Ge]}).filter(function(Ge){return Ge}).map(function(Ge){return Ge.node}),q.setUncontrolledState({checkedKeys:ye})}else{var Ne=Object(H.a)([].concat(Object(y.a)(gt),[Y]),!0,Qe),Te=Ne.checkedKeys,oe=Ne.halfCheckedKeys;if(!Ae){var de=new Set(Te);de.delete(Y);var Le=Object(H.a)(Array.from(de),{checked:!1,halfCheckedKeys:oe},Qe);Te=Le.checkedKeys,oe=Le.halfCheckedKeys}K=Te,Q.checkedNodes=[],Q.checkedNodesPositions=[],Q.halfCheckedKeys=oe,Te.forEach(function(Ge){var ht=Qe[Ge];if(!ht)return;var Et=ht.node,Be=ht.pos;Q.checkedNodes.push(Et),Q.checkedNodesPositions.push({node:Et,pos:Be})}),q.setUncontrolledState({checkedKeys:Te},!1,{halfCheckedKeys:oe})}ce&&ce(K,Q)},q.onNodeLoad=function(Se){return new Promise(function(Ce){q.setState(function(Ae){var Ue=Ae.loadedKeys,Qe=Ue===void 0?[]:Ue,gt=Ae.loadingKeys,_e=gt===void 0?[]:gt,Oe=q.props,lt=Oe.loadData,ce=Oe.onLoad,Y=Se.key;if(!lt||Qe.indexOf(Y)!==-1||_e.indexOf(Y)!==-1)return{};var K=lt(Se);return K.then(function(){var Q=q.state,ye=Q.loadedKeys,ue=Q.loadingKeys,Ne=Object(l.a)(ye,Y),Te=Object(l.b)(ue,Y);ce&&ce(Ne,{event:"load",node:Se}),q.setUncontrolledState({loadedKeys:Ne}),q.setState({loadingKeys:Te}),Ce()}),{loadingKeys:Object(l.a)(_e,Y)}})})},q.onNodeMouseEnter=function(Se,Ce){var Ae=q.props.onMouseEnter;Ae&&Ae({event:Se,node:Ce})},q.onNodeMouseLeave=function(Se,Ce){var Ae=q.props.onMouseLeave;Ae&&Ae({event:Se,node:Ce})},q.onNodeContextMenu=function(Se,Ce){var Ae=q.props.onRightClick;Ae&&(Se.preventDefault(),Ae({event:Se,node:Ce}))},q.onFocus=function(){var Se=q.props.onFocus;q.setState({focused:!0}),Se&&Se.apply(void 0,arguments)},q.onBlur=function(){var Se=q.props.onBlur;q.setState({focused:!1}),q.onActiveChange(null),Se&&Se.apply(void 0,arguments)},q.getTreeNodeRequiredProps=function(){var Se=q.state,Ce=Se.expandedKeys,Ae=Se.selectedKeys,Ue=Se.loadedKeys,Qe=Se.loadingKeys,gt=Se.checkedKeys,_e=Se.halfCheckedKeys,Oe=Se.dragOverNodeKey,lt=Se.dropPosition,ce=Se.keyEntities;return{expandedKeys:Ce||[],selectedKeys:Ae||[],loadedKeys:Ue||[],loadingKeys:Qe||[],checkedKeys:gt||[],halfCheckedKeys:_e||[],dragOverNodeKey:Oe,dropPosition:lt,keyEntities:ce}},q.setExpandedKeys=function(Se){var Ce=q.state.treeData,Ae=Object(t.d)(Ce,Se);q.setUncontrolledState({expandedKeys:Se,flattenNodes:Ae},!0)},q.onNodeExpand=function(Se,Ce){var Ae=q.state.expandedKeys,Ue=q.state.listChanging,Qe=q.props,gt=Qe.onExpand,_e=Qe.loadData,Oe=Ce.key,lt=Ce.expanded;if(Ue)return;var ce=Ae.indexOf(Oe),Y=!lt;if(Object(r.a)(lt&&ce!==-1||!lt&&ce===-1,"Expand state not sync with index check"),Y?Ae=Object(l.a)(Ae,Oe):Ae=Object(l.b)(Ae,Oe),q.setExpandedKeys(Ae),gt&>(Ae,{node:Ce,expanded:Y,nativeEvent:Se.nativeEvent}),Y&&_e){var K=q.onNodeLoad(Ce);K&&K.then(function(){var Q=Object(t.d)(q.state.treeData,Ae);q.setUncontrolledState({flattenNodes:Q})})}},q.onListChangeStart=function(){q.setUncontrolledState({listChanging:!0})},q.onListChangeEnd=function(){setTimeout(function(){q.setUncontrolledState({listChanging:!1})})},q.onActiveChange=function(Se){var Ce=q.state.activeKey,Ae=q.props.onActiveChange;if(Ce===Se)return;q.setState({activeKey:Se}),Se!==null&&q.scrollTo({key:Se}),Ae&&Ae(Se)},q.getActiveItem=function(){var Se=q.state,Ce=Se.activeKey,Ae=Se.flattenNodes;return Ce===null?null:Ae.find(function(Ue){var Qe=Ue.data.key;return Qe===Ce})||null},q.offsetActiveKey=function(Se){var Ce=q.state,Ae=Ce.flattenNodes,Ue=Ce.activeKey,Qe=Ae.findIndex(function(Oe){var lt=Oe.data.key;return lt===Ue});Qe===-1&&Se<0&&(Qe=Ae.length),Qe=(Qe+Se+Ae.length)%Ae.length;var gt=Ae[Qe];if(gt){var _e=gt.data.key;q.onActiveChange(_e)}else q.onActiveChange(null)},q.onKeyDown=function(Se){var Ce=q.state,Ae=Ce.activeKey,Ue=Ce.expandedKeys,Qe=Ce.checkedKeys,gt=q.props,_e=gt.onKeyDown,Oe=gt.checkable,lt=gt.selectable;switch(Se.which){case i.a.UP:{q.offsetActiveKey(-1),Se.preventDefault();break}case i.a.DOWN:{q.offsetActiveKey(1),Se.preventDefault();break}}var ce=q.getActiveItem();if(ce&&ce.data){var Y=q.getTreeNodeRequiredProps(),K=ce.data.isLeaf===!1||!!(ce.data.children||[]).length,Q=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(Ae,Y)),{},{data:ce.data,active:!0}));switch(Se.which){case i.a.LEFT:{K&&Ue.includes(Ae)?q.onNodeExpand({},Q):ce.parent&&q.onActiveChange(ce.parent.data.key),Se.preventDefault();break}case i.a.RIGHT:{K&&!Ue.includes(Ae)?q.onNodeExpand({},Q):ce.children&&ce.children.length&&q.onActiveChange(ce.children[0].data.key),Se.preventDefault();break}case i.a.ENTER:case i.a.SPACE:{Oe&&!Q.disabled&&Q.checkable!==!1&&!Q.disableCheckbox?q.onNodeCheck({},Q,!Qe.includes(Ae)):!Oe&<&&!Q.disabled&&Q.selectable!==!1&&q.onNodeSelect({},Q);break}}}_e&&_e(Se)},q.setUncontrolledState=function(Se){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(q.destroyed)return;var Ue=!1,Qe=!0,gt={};Object.keys(Se).forEach(function(_e){if(_e in q.props){Qe=!1;return}Ue=!0,gt[_e]=Se[_e]}),Ue&&(!Ce||Qe)&&q.setState(Object(f.a)(Object(f.a)({},gt),Ae))},q.scrollTo=function(Se){q.listRef.current.scrollTo(Se)},q}return Object(v.a)(ge,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var Se,Ce=this.state,Ae=Ce.focused,Ue=Ce.flattenNodes,Qe=Ce.keyEntities,gt=Ce.dragging,_e=Ce.activeKey,Oe=this.props,lt=Oe.prefixCls,ce=Oe.className,Y=Oe.style,K=Oe.showLine,Q=Oe.focusable,ye=Oe.tabIndex,ue=ye===void 0?0:ye,Ne=Oe.selectable,Te=Oe.showIcon,oe=Oe.icon,de=Oe.switcherIcon,Le=Oe.draggable,Ge=Oe.checkable,ht=Oe.checkStrictly,Et=Oe.disabled,Be=Oe.motion,Dt=Oe.loadData,Ke=Oe.filterTreeNode,At=Oe.height,Xe=Oe.itemHeight,et=Oe.virtual,tt=Oe.titleRender,ot=Object(l.f)(this.props);return a.createElement(n.a.Provider,{value:{prefixCls:lt,selectable:Ne,showIcon:Te,icon:oe,switcherIcon:de,draggable:Le,checkable:Ge,checkStrictly:ht,disabled:Et,keyEntities:Qe,loadData:Dt,filterTreeNode:Ke,titleRender:tt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{className:d()(lt,ce,(Se={},Object(g.a)(Se,"".concat(lt,"-show-line"),K),Object(g.a)(Se,"".concat(lt,"-focused"),Ae),Object(g.a)(Se,"".concat(lt,"-active-focused"),_e!==null),Se))},a.createElement(j,Object.assign({ref:this.listRef,prefixCls:lt,style:Y,data:Ue,disabled:Et,selectable:Ne,checkable:!!Ge,motion:Be,dragging:gt,height:At,itemHeight:Xe,virtual:et,focusable:Q,focused:Ae,tabIndex:ue,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),ot))))}}],[{key:"getDerivedStateFromProps",value:function(Se,Ce){var Ae=Ce.prevProps,Ue={prevProps:Se};function Qe(oe){return!Ae&&oe in Se||Ae&&Ae[oe]!==Se[oe]}var gt;if(Qe("treeData")?gt=Se.treeData:Qe("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),gt=Object(t.c)(Se.children)),gt){Ue.treeData=gt;var _e=Object(t.a)(gt);Ue.keyEntities=Object(f.a)(Object(g.a)({},O,F),_e.keyEntities)}var Oe=Ue.keyEntities||Ce.keyEntities;if(Qe("expandedKeys")||Ae&&Qe("autoExpandParent"))Ue.expandedKeys=Se.autoExpandParent||!Ae&&Se.defaultExpandParent?Object(l.e)(Se.expandedKeys,Oe):Se.expandedKeys;else if(!Ae&&Se.defaultExpandAll){var lt=Object(f.a)({},Oe);delete lt[O],Ue.expandedKeys=Object.keys(lt).map(function(oe){return lt[oe].key})}else!Ae&&Se.defaultExpandedKeys&&(Ue.expandedKeys=Se.autoExpandParent||Se.defaultExpandParent?Object(l.e)(Se.defaultExpandedKeys,Oe):Se.defaultExpandedKeys);if(Ue.expandedKeys||delete Ue.expandedKeys,gt||Ue.expandedKeys){var ce=Object(t.d)(gt||Ce.treeData,Ue.expandedKeys||Ce.expandedKeys);Ue.flattenNodes=ce}if(Se.selectable&&(Qe("selectedKeys")?Ue.selectedKeys=Object(l.d)(Se.selectedKeys,Se):!Ae&&Se.defaultSelectedKeys&&(Ue.selectedKeys=Object(l.d)(Se.defaultSelectedKeys,Se))),Se.checkable){var Y;if(Qe("checkedKeys")?Y=Object(l.j)(Se.checkedKeys)||{}:!Ae&&Se.defaultCheckedKeys?Y=Object(l.j)(Se.defaultCheckedKeys)||{}:gt&&(Y=Object(l.j)(Se.checkedKeys)||{checkedKeys:Ce.checkedKeys,halfCheckedKeys:Ce.halfCheckedKeys}),Y){var K=Y,Q=K.checkedKeys,ye=Q===void 0?[]:Q,ue=K.halfCheckedKeys,Ne=ue===void 0?[]:ue;if(!Se.checkStrictly){var Te=Object(H.a)(ye,!0,Oe);ye=Te.checkedKeys,Ne=Te.halfCheckedKeys}Ue.checkedKeys=ye,Ue.halfCheckedKeys=Ne}}return Qe("loadedKeys")&&(Ue.loadedKeys=Se.loadedKeys),Ue}}]),ge}(a.Component);V.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},V.TreeNode=b.a;var X=V,W=_.b=X},fE02:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),m=e("vZ6x"),v=e("b9oc"),h=e("72pK"),c=e("Kagy"),a=e("IUWy");e("3TkU");var i=c.toolbox.dataZoom,r=f.each,o="\0_ec_\0toolbox-dataZoom_";function d(w,b,E){(this._brushController=new y(E.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}d.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:f.clone(i.title)};var n=d.prototype;n.render=function(w,b,E,A){this.model=w,this.ecModel=b,this.api=E,u(w,b,this,A,E),s(w,b)},n.onclick=function(w,b,E){l[E].call(this)},n.remove=function(w,b){this._brushController.unmount()},n.dispose=function(w,b){this._brushController.dispose()};var l={zoom:function(){var w=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:w})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(w,b){if(!b.isEnd||!w.length)return;var E={},A=this.ecModel;this._brushController.updateCovers([]);var S=new m(t(this.model.option),A,{include:["grid"]});S.matchOutputRanges(w,A,function(x,C,O){if(O.type!=="cartesian2d")return;var N=x.brushType;N==="rect"?(T("x",O,C[0]),T("y",O,C[1])):T({lineX:"x",lineY:"y"}[N],O,C)}),v.push(A,E),this._dispatchZoomAction(E);function T(x,C,O){var N=C.getAxis(x),F=N.model,k=L(x,F,A),P=k.findRepresentativeAxisProxy(F).getMinMaxSpan();(P.minValueSpan!=null||P.maxValueSpan!=null)&&(O=h(0,O.slice(),N.scale.getExtent(),0,P.minValueSpan,P.maxValueSpan)),k&&(E[k.id]={dataZoomId:k.id,startValue:O[0],endValue:O[1]})}function L(x,C,O){var N;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var k=F.getAxisModel(x,C.componentIndex);k&&(N=F)}),N}},n._dispatchZoomAction=function(w){var b=[];r(w,function(E,A){b.push(f.clone(E))}),b.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:b})};function t(w){var b={};return f.each(["xAxisIndex","yAxisIndex"],function(E){b[E]=w[E],b[E]==null&&(b[E]="all"),(b[E]===!1||b[E]==="none")&&(b[E]=[])}),b}function s(w,b){w.setIconStatus("back",v.count(b)>1?"emphasis":"normal")}function u(w,b,E,A,S){var T=E._isZoomActive;A&&A.type==="takeGlobalCursor"&&(T=A.key==="dataZoomSelect"?A.dataZoomSelectActive:!1),E._isZoomActive=T,w.setIconStatus("zoom",T?"emphasis":"normal");var L=new m(t(w.option),b,{include:["grid"]});E._brushController.setPanels(L.makePanelOpts(S,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}a.register("dataZoom",d),g.registerPreprocessor(function(w){if(!w)return;var b=w.dataZoom||(w.dataZoom=[]);f.isArray(b)||(w.dataZoom=b=[b]);var E=w.toolbox;if(E&&(f.isArray(E)&&(E=E[0]),E&&E.feature)){var A=E.feature.dataZoom;S("xAxis",A),S("yAxis",A)}function S(L,x){if(!x)return;var C=L+"Index",O=x[C];O!=null&&O!=="all"&&!f.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),T(L,function(N,F){if(O!=null&&O!=="all"&&f.indexOf(O,F)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:o+L+F};k[C]=F,b.push(k)})}function T(L,x){var C=w[L];f.isArray(C)||(C=C?[C]:[]),r(C,x)}});var p=d;D.exports=p},fGT3:function(D,_,e){var g=e("4kuk"),f=e("Xi7e"),y=e("ebwN");function m(){this.size=0,this.__data__={hash:new g,map:new(y||f),string:new g}}D.exports=m},fNCr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"fR/l":function(D,_,e){var g=e("CH3K"),f=e("Z0cm");function y(m,v,h){var c=v(m);return f(m)?c:g(c,h(m))}D.exports=y},fUL4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},fW2E:function(D,_){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,y,m){return e.hasOwnProperty(y)?m*=f.dpr:m}D.exports=g},"fc+c":function(D,_,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(y,m,v,h){this.dataZoomModel=y,this.ecModel=m,this.api=v},getTargetCoordInfo:function(){var y=this.dataZoomModel,m=this.ecModel,v={};y.eachTargetAxis(function(c,a){var i=m.getComponent(c.axis,a);if(i){var r=i.getCoordSysModel();r&&h(r,i,v[r.mainType]||(v[r.mainType]=[]),r.componentIndex)}},this);function h(c,a,i,r){for(var o,d=0;d<i.length;d++)if(i[d].model===c){o=i[d];break}o||i.push(o={model:c,axisModels:[],coordIndex:r}),o.axisModels.push(a)}return v}});D.exports=f},fjKi:function(D,_,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("oVpE"),m=e("f5HG"),v=e("IwbS"),h=e("OELB"),c=h.round,a=["fromSymbol","toSymbol"];function i(u){return"_"+u+"Type"}function r(u,p,w){var b=p.getItemVisual(w,"color"),E=p.getItemVisual(w,u),A=p.getItemVisual(w,u+"Size");if(!E||E==="none")return;g.isArray(A)||(A=[A,A]);var S=y.createSymbol(E,-A[0]/2,-A[1]/2,A[0],A[1],b);return S.name=u,S}function o(u){var p=new m({name:"line",subPixelOptimize:!0});return d(p.shape,u),p}function d(u,p){u.x1=p[0][0],u.y1=p[0][1],u.x2=p[1][0],u.y2=p[1][1],u.percent=1;var w=p[2];w?(u.cpx1=w[0],u.cpy1=w[1]):(u.cpx1=NaN,u.cpy1=NaN)}function n(){var u=this,p=u.childOfName("fromSymbol"),w=u.childOfName("toSymbol"),b=u.childOfName("label");if(!p&&!w&&b.ignore)return;for(var E=1,A=this.parent;A;)A.scale&&(E/=A.scale[0]),A=A.parent;var S=u.childOfName("line");if(!this.__dirty&&!S.__dirty)return;var T=S.shape.percent,L=S.pointAt(0),x=S.pointAt(T),C=f.sub([],x,L);if(f.normalize(C,C),p){p.attr("position",L);var O=S.tangentAt(0);p.attr("rotation",Math.PI/2-Math.atan2(O[1],O[0])),p.attr("scale",[E*T,E*T])}if(w){w.attr("position",x);var O=S.tangentAt(1);w.attr("rotation",-Math.PI/2-Math.atan2(O[1],O[0])),w.attr("scale",[E*T,E*T])}if(!b.ignore){b.attr("position",x);var N,F,k,P,B=b.__labelDistance,z=B[0]*E,R=B[1]*E,U=T/2,O=S.tangentAt(U),j=[O[1],-O[0]],H=S.pointAt(U);j[1]>0&&(j[0]=-j[0],j[1]=-j[1]);var V=O[0]<0?-1:1;if(b.__position!=="start"&&b.__position!=="end"){var X=-Math.atan2(O[1],O[0]);x[0]<L[0]&&(X=Math.PI+X),b.attr("rotation",X)}var W;switch(b.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-R,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=R,k="top";break;default:W=0,k="middle"}switch(b.__position){case"end":N=[C[0]*z+x[0],C[1]*R+x[1]],F=C[0]>.8?"left":C[0]<-.8?"right":"center",k=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":N=[-C[0]*z+L[0],-C[1]*R+L[1]],F=C[0]>.8?"right":C[0]<-.8?"left":"center",k=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":N=[z*V+L[0],L[1]+W],F=O[0]<0?"right":"left",P=[-z*V,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":N=[H[0],H[1]+W],F="center",P=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":N=[-z*V+x[0],x[1]+W],F=O[0]>=0?"right":"left",P=[z*V,-W];break}b.attr({style:{textVerticalAlign:b.__verticalAlign||k,textAlign:b.__textAlign||F},position:N,scale:[E,E],origin:P})}}function l(u,p,w){v.Group.call(this),this._createLine(u,p,w)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(u,p,w){var b=u.hostModel,E=u.getItemLayout(p),A=o(E);A.shape.percent=0,v.initProps(A,{shape:{percent:1}},b,p),this.add(A);var S=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),g.each(a,function(T){var L=r(T,u,p);this.add(L),this[i(T)]=u.getItemVisual(p,T)},this),this._updateCommonStl(u,p,w)},t.updateData=function(u,p,w){var b=u.hostModel,E=this.childOfName("line"),A=u.getItemLayout(p),S={shape:{}};d(S.shape,A),v.updateProps(E,S,b,p),g.each(a,function(T){var L=u.getItemVisual(p,T),x=i(T);if(this[x]!==L){this.remove(this.childOfName(T));var C=r(T,u,p);this.add(C)}this[x]=L},this),this._updateCommonStl(u,p,w)},t._updateCommonStl=function(u,p,w){var b=u.hostModel,E=this.childOfName("line"),A=w&&w.lineStyle,S=w&&w.hoverLineStyle,T=w&&w.labelModel,L=w&&w.hoverLabelModel;if(!w||u.hasItemOption){var x=u.getItemModel(p);A=x.getModel("lineStyle").getLineStyle(),S=x.getModel("emphasis.lineStyle").getLineStyle(),T=x.getModel("label"),L=x.getModel("emphasis.label")}var C=u.getItemVisual(p,"color"),O=g.retrieve3(u.getItemVisual(p,"opacity"),A.opacity,1);E.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:O},A)),E.hoverStyle=S,g.each(a,function(V){var X=this.childOfName(V);X&&(X.setColor(C),X.setStyle({opacity:O}))},this);var N=T.getShallow("show"),F=L.getShallow("show"),k=this.childOfName("label"),P,B;if((N||F)&&(P=C||"#000",B=b.getFormattedLabel(p,"normal",u.dataType),B==null)){var z=b.getRawValue(p);B=z==null?u.getName(p):isFinite(z)?c(z):z}var R=N?B:null,U=F?g.retrieve2(b.getFormattedLabel(p,"emphasis",u.dataType),B):null,j=k.style;if(R!=null||U!=null){v.setTextStyle(k.style,T,{text:R},{autoColor:P}),k.__textAlign=j.textAlign,k.__verticalAlign=j.textVerticalAlign,k.__position=T.get("position")||"middle";var H=T.get("distance");g.isArray(H)||(H=[H,H]),k.__labelDistance=H}U!=null?k.hoverStyle={text:U,textFill:L.getTextColor(!0),fontStyle:L.getShallow("fontStyle"),fontWeight:L.getShallow("fontWeight"),fontSize:L.getShallow("fontSize"),fontFamily:L.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!N&&!F,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(u,p){this.setLinePoints(u.getItemLayout(p))},t.setLinePoints=function(u){var p=this.childOfName("line");d(p.shape,u),p.dirty()},g.inherits(l,v.Group);var s=l;D.exports=s},fmMI:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.each,v=y.filter,h=y.map,c=y.isArray,a=y.indexOf,i=y.isObject,r=y.isString,o=y.createHashMap,d=y.assert,n=y.clone,l=y.merge,t=y.extend,s=y.mixin,u=e("4NO4"),p=e("Qxkt"),w=e("bLfw"),b=e("iXHM"),E=e("5Hur"),A=e("D5nY"),S=A.resetSourceDefaulter,T="\0_ec_inner",L=p.extend({init:function(R,U,j,H){j=j||{},this.option=null,this._theme=new p(j),this._optionManager=H},setOption:function(R,U){d(!(T in R),"please use chart.getOption()"),this._optionManager.setOption(R,U),this.resetOption(null)},resetOption:function(R){var U=!1,j=this._optionManager;if(!R||R==="recreate"){var H=j.mountOption(R==="recreate");!this.option||R==="recreate"?O.call(this,H):(this.restoreData(),this.mergeOption(H)),U=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var V=j.getTimelineOption(this);V&&(this.mergeOption(V),U=!0)}if(!R||R==="recreate"||R==="media"){var X=j.getMediaOption(this,this._api);X.length&&m(X,function(W){this.mergeOption(W,U=!0)},this)}return U},mergeOption:function(R){var U=this.option,j=this._componentsMap,H=[];S(this),m(R,function(X,W){if(X==null)return;w.hasClass(W)?W&&H.push(W):U[W]=U[W]==null?n(X):l(U[W],X,!0)}),w.topologicalTravel(H,w.getAllClassMainTypes(),V,this);function V(X,W){var G=u.normalizeToArray(R[X]),$=u.mappingToExists(j.get(X),G);u.makeIdAndName($),m($,function(q,Se){var Ce=q.option;i(Ce)&&(q.keyInfo.mainType=X,q.keyInfo.subType=F(X,Ce,q.exist))});var ge=N(j,W);U[X]=[],j.set(X,[]),m($,function(q,Se){var Ce=q.exist,Ae=q.option;if(d(i(Ae)||Ce,"Empty component definition"),!Ae)Ce.mergeOption({},this),Ce.optionUpdated({},!1);else{var Ue=w.getClass(X,q.keyInfo.subType,!0);if(Ce&&Ce.constructor===Ue)Ce.name=q.keyInfo.name,Ce.mergeOption(Ae,this),Ce.optionUpdated(Ae,!1);else{var Qe=t({dependentModels:ge,componentIndex:Se},q.keyInfo);Ce=new Ue(Ae,this,this,Qe),t(Ce,Qe),Ce.init(Ae,this,this,Qe),Ce.optionUpdated(null,!0)}}j.get(X)[Se]=Ce,U[X][Se]=Ce.option},this),X==="series"&&k(this,j.get("series"))}this._seriesIndicesMap=o(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=n(this.option);return m(R,function(U,j){if(w.hasClass(j)){for(var U=u.normalizeToArray(U),H=U.length-1;H>=0;H--)u.isIdInner(U[H])&&U.splice(H,1);R[j]=U}}),delete R[T],R},getTheme:function(){return this._theme},getComponent:function(R,U){var j=this._componentsMap.get(R);if(j)return j[U||0]},queryComponents:function(R){var U=R.mainType;if(!U)return[];var j=R.index,H=R.id,V=R.name,X=this._componentsMap.get(U);if(!X||!X.length)return[];var W;if(j!=null)c(j)||(j=[j]),W=v(h(j,function(ge){return X[ge]}),function(ge){return!!ge});else if(H!=null){var G=c(H);W=v(X,function(ge){return G&&a(H,ge.id)>=0||!G&&ge.id===H})}else if(V!=null){var $=c(V);W=v(X,function(ge){return $&&a(V,ge.name)>=0||!$&&ge.name===V})}else W=X.slice();return P(W,R)},findComponents:function(R){var U=R.query,j=R.mainType,H=X(U),V=H?this.queryComponents(H):this._componentsMap.get(j);return W(P(V,R));function X(G){var $=j+"Index",ge=j+"Id",q=j+"Name";return G&&(G[$]!=null||G[ge]!=null||G[q]!=null)?{mainType:j,index:G[$],id:G[ge],name:G[q]}:null}function W(G){return R.filter?v(G,R.filter):G}},eachComponent:function(R,U,j){var H=this._componentsMap;if(typeof R=="function")j=U,U=R,H.each(function(X,W){m(X,function(G,$){U.call(j,W,G,$)})});else if(r(R))m(H.get(R),U,j);else if(i(R)){var V=this.findComponents(R);m(V,U,j)}},getSeriesByName:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,U){B(this),m(this._seriesIndices,function(j){var H=this._componentsMap.get("series")[j];R.call(U,H,j)},this)},eachRawSeries:function(R,U){m(this._componentsMap.get("series"),R,U)},eachSeriesByType:function(R,U,j){B(this),m(this._seriesIndices,function(H){var V=this._componentsMap.get("series")[H];V.subType===R&&U.call(j,V,H)},this)},eachRawSeriesByType:function(R,U,j){return m(this.getSeriesByType(R),U,j)},isSeriesFiltered:function(R){return B(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,U){B(this);var j=v(this._componentsMap.get("series"),R,U);k(this,j)},restoreData:function(R){var U=this._componentsMap;k(this,U.get("series"));var j=[];U.each(function(H,V){j.push(V)}),w.topologicalTravel(j,w.getAllClassMainTypes(),function(H,V){m(U.get(H),function(X){(H!=="series"||!x(X,R))&&X.restoreData()})})}});function x(R,U){if(U){var j=U.seiresIndex,H=U.seriesId,V=U.seriesName;return j!=null&&R.componentIndex!==j||H!=null&&R.id!==H||V!=null&&R.name!==V}}function C(R,U){var j=R.color&&!R.colorLayer;m(U,function(H,V){if(V==="colorLayer"&&j)return;w.hasClass(V)||(typeof H=="object"?R[V]=R[V]?l(R[V],H,!1):n(H):R[V]==null&&(R[V]=H))})}function O(R){R=R,this.option={},this.option[T]=1,this._componentsMap=o({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(R,this._theme.option),l(R,b,!1),this.mergeOption(R)}function N(R,U){c(U)||(U=U?[U]:[]);var j={};return m(U,function(H){j[H]=(R.get(H)||[]).slice()}),j}function F(R,U,j){var H=U.type?U.type:j?j.subType:w.determineSubType(R,U);return H}function k(R,U){R._seriesIndicesMap=o(R._seriesIndices=h(U,function(j){return j.componentIndex})||[])}function P(R,U){return U.hasOwnProperty("subType")?v(R,function(j){return j.subType===U.subType}):R}function B(R){}s(L,E);var z=L;D.exports=z},fmRc:function(D,_,e){var g=e("Xi7e"),f=e("77Zs"),y=e("L8xA"),m=e("gCq4"),v=e("VaNO"),h=e("0Cz8");function c(a){var i=this.__data__=new g(a);this.size=i.size}c.prototype.clear=f,c.prototype.delete=y,c.prototype.get=m,c.prototype.has=v,c.prototype.set=h,D.exports=c},ftKO:function(D,_){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}D.exports=g},fu2T:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("3dVZ"),m=e.n(y)},fyUT:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("Ff2n"),r=e("rePB"),o=e("1OyB"),d=e("vuIU"),n=e("Ji7U"),l=e("md7G"),t=e("foSv"),s=e("4IlW");function u(W,G){var $=Object.keys(W);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(W);G&&(ge=ge.filter(function(q){return Object.getOwnPropertyDescriptor(W,q).enumerable})),$.push.apply($,ge)}return $}function p(W){for(var G=1;G<arguments.length;G++){var $=arguments[G]!=null?arguments[G]:{};G%2?u(Object($),!0).forEach(function(ge){Object(r.a)(W,ge,$[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors($)):u(Object($)).forEach(function(ge){Object.defineProperty(W,ge,Object.getOwnPropertyDescriptor($,ge))})}return W}function w(W){var G=b();return function(){var ge=Object(t.a)(W),q;if(G){var Se=Object(t.a)(this).constructor;q=Reflect.construct(ge,arguments,Se)}else q=ge.apply(this,arguments);return Object(l.a)(this,q)}}function b(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(W){return!1}}function E(){}function A(W){W.preventDefault()}var S=function(G){return G.replace(/[^\w.-]+/g,"")},T=200,L=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(G){return G!=null},O=function(G,$){return $===G||typeof $=="number"&&typeof G=="number"&&isNaN($)&&isNaN(G)},N=function(W){Object(n.a)($,W);var G=w($);function $(ge){var q;Object(o.a)(this,$),q=G.call(this,ge),q.onKeyDown=function(Ae){var Ue=q.props,Qe=Ue.onKeyDown,gt=Ue.onPressEnter;if(Ae.keyCode===s.a.UP){var _e=q.getRatio(Ae);q.up(Ae,_e,null),q.stop()}else if(Ae.keyCode===s.a.DOWN){var Oe=q.getRatio(Ae);q.down(Ae,Oe,null),q.stop()}else Ae.keyCode===s.a.ENTER&>&>(Ae);if(q.recordCursorPosition(),q.lastKeyCode=Ae.keyCode,Qe){for(var lt=arguments.length,ce=new Array(lt>1?lt-1:0),Y=1;Y<lt;Y++)ce[Y-1]=arguments[Y];Qe.apply(void 0,[Ae].concat(ce))}},q.onKeyUp=function(Ae){var Ue=q.props.onKeyUp;if(q.stop(),q.recordCursorPosition(),Ue){for(var Qe=arguments.length,gt=new Array(Qe>1?Qe-1:0),_e=1;_e<Qe;_e++)gt[_e-1]=arguments[_e];Ue.apply(void 0,[Ae].concat(gt))}},q.onChange=function(Ae){var Ue=q.props.onChange;q.state.focused&&(q.inputting=!0),q.rawInput=q.props.parser(q.getValueFromEvent(Ae)),q.setState({inputValue:q.rawInput}),Ue(q.toNumber(q.rawInput))},q.onMouseUp=function(){var Ae=q.props.onMouseUp;q.recordCursorPosition(),Ae&&Ae.apply(void 0,arguments)},q.onFocus=function(){var Ae;q.setState({focused:!0}),(Ae=q.props).onFocus.apply(Ae,arguments)},q.onBlur=function(){var Ae=q.props.onBlur;q.inputting=!1,q.setState({focused:!1});var Ue=q.getCurrentValidValue(q.state.inputValue),Qe=q.setValue(Ue,E);if(Ae){var gt=q.input.value,_e=q.getInputDisplayValue({focus:!1,value:Qe});q.input.value=_e&&Number(_e),Ae.apply(void 0,arguments),q.input.value=gt}},q.getRatio=function(Ae){var Ue=1;return Ae.metaKey||Ae.ctrlKey?Ue=.1:Ae.shiftKey&&(Ue=10),Ue},q.getFullNum=function(Ae){return isNaN(Ae)?Ae:/e/i.test(String(Ae))?Number(Ae).toFixed(18).replace(/\.?0+$/,""):Ae},q.getPrecision=function(Ae){if(C(q.props.precision))return q.props.precision;var Ue=String(Ae);if(Ue.indexOf("e-")>=0)return parseInt(Ue.slice(Ue.indexOf("e-")+2),10);var Qe=0;return Ue.indexOf(".")>=0&&(Qe=Ue.length-Ue.indexOf(".")-1),Qe},q.getInputDisplayValue=function(Ae){var Ue=Ae||q.state,Qe=Ue.focused,gt=Ue.inputValue,_e=Ue.value,Oe;Qe?Oe=gt:Oe=q.toPrecisionAsStep(_e),Oe==null&&(Oe="");var lt=q.formatWrapper(Oe);return C(q.props.decimalSeparator)&&(lt=lt.toString().replace(".",q.props.decimalSeparator)),lt},q.recordCursorPosition=function(){try{q.cursorStart=q.input.selectionStart,q.cursorEnd=q.input.selectionEnd,q.currentValue=q.input.value,q.cursorBefore=q.input.value.substring(0,q.cursorStart),q.cursorAfter=q.input.value.substring(q.cursorEnd)}catch(Ae){}},q.restoreByAfter=function(Ae){if(Ae===void 0)return!1;var Ue=q.input.value,Qe=Ue.lastIndexOf(Ae);if(Qe===-1)return!1;var gt=q.cursorBefore.length;return q.lastKeyCode===s.a.DELETE&&q.cursorBefore.charAt(gt-1)===Ae[0]?(q.fixCaret(gt,gt),!0):Qe+Ae.length===Ue.length?(q.fixCaret(Qe,Qe),!0):!1},q.partRestoreByAfter=function(Ae){return Ae===void 0?!1:Array.prototype.some.call(Ae,function(Ue,Qe){var gt=Ae.substring(Qe);return q.restoreByAfter(gt)})},q.isNotCompleteNumber=function(Ae){return isNaN(Ae)||Ae===""||Ae===null||Ae&&Ae.toString().indexOf(".")===Ae.toString().length-1},q.stop=function(){q.autoStepTimer&&clearTimeout(q.autoStepTimer)},q.down=function(Ae,Ue,Qe){q.pressingUpOrDown=!0,q.step("down",Ae,Ue,Qe)},q.up=function(Ae,Ue,Qe){q.pressingUpOrDown=!0,q.step("up",Ae,Ue,Qe)},q.saveInput=function(Ae){q.input=Ae};var Se=ge.value;Se===void 0&&(Se=ge.defaultValue),q.state={focused:ge.autoFocus};var Ce=q.getValidValue(q.toNumber(Se));return q.state=p(p({},q.state),{},{inputValue:q.toPrecisionAsStep(Ce),value:Ce}),q}return Object(d.a)($,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(q){var Se=this.props,Ce=Se.value,Ae=Se.onChange,Ue=Se.max,Qe=Se.min,gt=this.state.focused;if(q){if(!O(q.value,Ce)||!O(q.max,Ue)||!O(q.min,Qe)){var _e=gt?Ce:this.getValidValue(Ce),Oe;this.pressingUpOrDown?Oe=_e:this.inputting?Oe=this.rawInput:Oe=this.toPrecisionAsStep(_e),this.setState({value:_e,inputValue:Oe})}var lt="value"in this.props?Ce:this.state.value;"max"in this.props&&q.max!==Ue&&typeof lt=="number"&<>Ue&&Ae&&Ae(Ue),"min"in this.props&&q.min!==Qe&&typeof lt=="number"&<<Qe&&Ae&&Ae(Qe)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var ce=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?ce=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(ce=this.cursorStart):ce=this.input.value.length,this.fixCaret(ce,ce)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(Y){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(q){var Se=q;return Se===""?Se="":this.isNotCompleteNumber(parseFloat(Se))?Se=this.state.value:Se=this.getValidValue(Se),this.toNumber(Se)}},{key:"getValueFromEvent",value:function(q){var Se=q.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(Se=Se.replace(this.props.decimalSeparator,".")),Se}},{key:"getValidValue",value:function(q){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Ae=parseFloat(q);return isNaN(Ae)?q:(Ae<Se&&(Ae=Se),Ae>Ce&&(Ae=Ce),Ae)}},{key:"setValue",value:function(q,Se){var Ce=this.props.precision,Ae=this.isNotCompleteNumber(parseFloat(q))?null:parseFloat(q),Ue=this.state.value,Qe=Ue===void 0?null:Ue,gt=this.state.inputValue,_e=gt===void 0?null:gt,Oe=typeof Ae=="number"?Ae.toFixed(Ce):"".concat(Ae),lt=Ae!==Qe||Oe!=="".concat(_e);return"value"in this.props?(_e=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:_e},Se)):this.setState({value:Ae,inputValue:this.toPrecisionAsStep(q)},Se),lt&&this.props.onChange(Ae),Ae}},{key:"getMaxPrecision",value:function(q){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ce=this.props,Ae=Ce.precision,Ue=Ce.step;if(C(Ae))return Ae;var Qe=this.getPrecision(Se),gt=this.getPrecision(Ue),_e=this.getPrecision(q);return q?Math.max(_e,Qe+gt):Qe+gt}},{key:"getPrecisionFactor",value:function(q){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ce=this.getMaxPrecision(q,Se);return Math.pow(10,Ce)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(q){return this.props.formatter?this.props.formatter(q):q}},{key:"toPrecisionAsStep",value:function(q){if(this.isNotCompleteNumber(q)||q==="")return q;var Se=Math.abs(this.getMaxPrecision(q));return isNaN(Se)?q.toString():Number(q).toFixed(Se)}},{key:"toNumber",value:function(q){var Se=this.props.precision,Ce=this.state.focused,Ae=q&&q.length>16&&Ce;return this.isNotCompleteNumber(q)||Ae?q:C(Se)?Math.round(q*Math.pow(10,Se))/Math.pow(10,Se):Number(q)}},{key:"upStep",value:function(q,Se){var Ce=this.props.step,Ae=this.getPrecisionFactor(q,Se),Ue=Math.abs(this.getMaxPrecision(q,Se)),Qe=((Ae*q+Ae*Ce*Se)/Ae).toFixed(Ue);return this.toNumber(Qe)}},{key:"downStep",value:function(q,Se){var Ce=this.props.step,Ae=this.getPrecisionFactor(q,Se),Ue=Math.abs(this.getMaxPrecision(q,Se)),Qe=((Ae*q-Ae*Ce*Se)/Ae).toFixed(Ue);return this.toNumber(Qe)}},{key:"step",value:function(q,Se){var Ce=this,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ue=arguments.length>3?arguments[3]:void 0;this.stop(),Se&&(Se.persist(),Se.preventDefault());var Qe=this.props;if(Qe.disabled)return;var gt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(gt))return;var _e=this["".concat(q,"Step")](gt,Ae),Oe=_e>Qe.max||_e<Qe.min;if(_e>Qe.max?_e=Qe.max:_e<Qe.min&&(_e=Qe.min),this.setValue(_e,null),this.setState({focused:!0},function(){Ce.pressingUpOrDown=!1}),Oe)return;this.autoStepTimer=setTimeout(function(){Ce[q](Se,Ae,!0)},Ue?T:L)}},{key:"fixCaret",value:function(q,Se){if(q===void 0||Se===void 0||!this.input||!this.input.value)return;try{var Ce=this.input.selectionStart,Ae=this.input.selectionEnd;(q!==Ce||Se!==Ae)&&this.input.setSelectionRange(q,Se)}catch(Ue){}}},{key:"render",value:function(){var q,Se=this.props,Ce=Se.prefixCls,Ae=Se.disabled,Ue=Se.readOnly,Qe=Se.useTouch,gt=Se.autoComplete,_e=Se.upHandler,Oe=Se.downHandler,lt=Se.className,ce=Se.max,Y=Se.min,K=Se.style,Q=Se.title,ye=Se.onMouseEnter,ue=Se.onMouseLeave,Ne=Se.onMouseOver,Te=Se.onMouseOut,oe=Se.required,de=Se.onClick,Le=Se.tabIndex,Ge=Se.type,ht=Se.placeholder,Et=Se.id,Be=Se.inputMode,Dt=Se.pattern,Ke=Se.step,At=Se.maxLength,Xe=Se.autoFocus,et=Se.name,tt=Se.onPaste,ot=Object(i.a)(Se,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),Ve=this.state,se=Ve.value,re=Ve.focused,it=a()(Ce,(q={},Object(r.a)(q,lt,!!lt),Object(r.a)(q,"".concat(Ce,"-disabled"),Ae),Object(r.a)(q,"".concat(Ce,"-focused"),re),q)),qe={};Object.keys(ot).forEach(function(me){(me.substr(0,5)==="data-"||me.substr(0,5)==="aria-"||me==="role")&&(qe[me]=ot[me])});var be=!Ue&&!Ae,Zt=this.getInputDisplayValue(null),dt=(se||se===0)&&(isNaN(se)||Number(se)>=ce),ct=(se||se===0)&&(isNaN(se)||Number(se)<=Y),yt=dt||Ae||Ue,_t=ct||Ae||Ue,or=a()("".concat(Ce,"-handler"),"".concat(Ce,"-handler-up"),Object(r.a)({},"".concat(Ce,"-handler-up-disabled"),yt)),Bt=a()("".concat(Ce,"-handler"),"".concat(Ce,"-handler-down"),Object(r.a)({},"".concat(Ce,"-handler-down-disabled"),_t)),we=Qe?{onTouchStart:yt?E:this.up,onTouchEnd:this.stop}:{onMouseDown:yt?E:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ve=Qe?{onTouchStart:_t?E:this.down,onTouchEnd:this.stop}:{onMouseDown:_t?E:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:it,style:K,title:Q,onMouseEnter:ye,onMouseLeave:ue,onMouseOver:Ne,onMouseOut:Te,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(Ce,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},we,{role:"button","aria-label":"Increase Value","aria-disabled":yt,className:or}),_e||h.a.createElement("span",{unselectable:"on",className:"".concat(Ce,"-handler-up-inner"),onClick:A})),h.a.createElement("span",Object.assign({unselectable:"on"},ve,{role:"button","aria-label":"Decrease Value","aria-disabled":_t,className:Bt}),Oe||h.a.createElement("span",{unselectable:"on",className:"".concat(Ce,"-handler-down-inner"),onClick:A}))),h.a.createElement("div",{className:"".concat(Ce,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Y,"aria-valuemax":ce,"aria-valuenow":se,required:oe,type:Ge,placeholder:ht,onPaste:tt,onClick:de,onMouseUp:this.onMouseUp,className:"".concat(Ce,"-input"),tabIndex:Le,autoComplete:gt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:be?this.onKeyDown:E,onKeyUp:be?this.onKeyUp:E,autoFocus:Xe,maxLength:At,readOnly:Ue,disabled:Ae,max:ce,min:Y,step:Ke,name:et,title:Q,id:Et,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Zt),pattern:Dt,inputMode:Be},qe))))}}]),$}(h.a.Component);N.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:x,min:-x,step:1,style:{},onChange:E,onKeyDown:E,onPressEnter:E,onFocus:E,onBlur:E,parser:S,required:!1,autoComplete:"off"};var F=N,k=F,P=e("FH2Y"),B=e.n(P),z=e("HQEm"),R=e.n(z),U=e("H84U"),j=e("3Nzz"),H=function(W,G){var $={};for(var ge in W)Object.prototype.hasOwnProperty.call(W,ge)&&G.indexOf(ge)<0&&($[ge]=W[ge]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,ge=Object.getOwnPropertySymbols(W);q<ge.length;q++)G.indexOf(ge[q])<0&&Object.prototype.propertyIsEnumerable.call(W,ge[q])&&($[ge[q]]=W[ge[q]]);return $},V=v.forwardRef(function(W,G){var $=function(q){var Se=q.getPrefixCls,Ce=q.direction,Ae=W.className,Ue=W.size,Qe=W.prefixCls,gt=W.readOnly,_e=H(W,["className","size","prefixCls","readOnly"]),Oe=Se("input-number",Qe),lt=v.createElement(B.a,{className:"".concat(Oe,"-handler-up-inner")}),ce=v.createElement(R.a,{className:"".concat(Oe,"-handler-down-inner")});return v.createElement(j.b.Consumer,null,function(Y){var K,Q=Ue||Y,ye=a()((K={},m()(K,"".concat(Oe,"-lg"),Q==="large"),m()(K,"".concat(Oe,"-sm"),Q==="small"),m()(K,"".concat(Oe,"-rtl"),Ce==="rtl"),m()(K,"".concat(Oe,"-readonly"),gt),K),Ae);return v.createElement(k,f()({ref:G,className:ye,upHandler:lt,downHandler:ce,prefixCls:Oe,readOnly:gt},_e))})};return v.createElement(U.a,null,$)});V.defaultProps={step:1};var X=_.a=V},g0SD:function(D,_,e){var g=e("bYtY"),f=e("9wZj"),y=e("OELB"),m=e("YXkt"),v=e("kj2x"),h=e("iPDy");function c(r,o,d){var n=o.coordinateSystem;r.each(function(l){var t=r.getItemModel(l),s,u=y.parsePercent(t.get("x"),d.getWidth()),p=y.parsePercent(t.get("y"),d.getHeight());if(!isNaN(u)&&!isNaN(p))s=[u,p];else if(o.getMarkerPosition)s=o.getMarkerPosition(r.getValues(r.dimensions,l));else if(n){var w=r.get(n.dimensions[0],l),b=r.get(n.dimensions[1],l);s=n.dataToPoint([w,b])}isNaN(u)||(s[0]=u),isNaN(p)||(s[1]=p),r.setItemLayout(l,s)})}var a=h.extend({type:"markPoint",updateTransform:function(r,o,d){o.eachSeries(function(n){var l=n.markPointModel;l&&(c(l.getData(),n,d),this.markerGroupMap.get(n.id).updateLayout(l))},this)},renderSeries:function(r,o,d,n){var l=r.coordinateSystem,t=r.id,s=r.getData(),u=this.markerGroupMap,p=u.get(t)||u.set(t,new f),w=i(l,r,o);o.setData(w),c(o.getData(),r,n),w.each(function(b){var E=w.getItemModel(b),A=E.getShallow("symbol"),S=E.getShallow("symbolSize"),T=g.isFunction(A),L=g.isFunction(S);if(T||L){var x=o.getRawValue(b),C=o.getDataParams(b);T&&(A=A(x,C)),L&&(S=S(x,C))}w.setItemVisual(b,{symbol:A,symbolSize:S,color:E.get("itemStyle.color")||s.getVisual("color")})}),p.updateData(w),this.group.add(p.group),w.eachItemGraphicEl(function(b){b.traverse(function(E){E.dataModel=o})}),p.__keep=!0,p.group.silent=o.get("silent")||r.get("silent")}});function i(r,o,d){var n;r?n=g.map(r&&r.dimensions,function(s){var u=o.getData().getDimensionInfo(o.getData().mapDimension(s))||{};return g.defaults({name:s},u)}):n=[{name:"value",type:"float"}];var l=new m(n,d),t=g.map(d.get("data"),g.curry(v.dataTransform,o));return r&&(t=g.filter(t,g.curry(v.dataFilter,r))),l.initData(t,null,r?v.dimValueGetter:function(s){return s.value}),l}D.exports=a},g7p0:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("+TT/"),m=y.getLayoutParams,v=y.sizeCalculable,h=y.mergeLayoutParam,c=f.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(r,o,d,n){var l=m(r);c.superApply(this,"init",arguments),a(r,l)},mergeOption:function(r,o){c.superApply(this,"mergeOption",arguments),a(this.option,r)}});function a(r,o){var d=r.cellSize;g.isArray(d)?d.length===1&&(d[1]=d[0]):d=r.cellSize=[d,d];var n=g.map([0,1],function(l){return v(o,l)&&(d[l]="auto"),d[l]!=null&&d[l]!=="auto"});h(r,o,{type:"box",ignoreSize:n})}var i=c;D.exports=i},g9YV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pED+"),m=e.n(y),v=e("+L6B"),h=e("R9oj"),c=e("7Kak"),a=e("sRBo"),i=e("qVdP"),r=e("T2oS"),o=e("DjyN"),d=e("5Dmo")},gCq4:function(D,_){function e(g){return this.__data__.get(g)}D.exports=e},gIYZ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};_.default=g},gK9i:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("Gytx"),r=e.n(i),o=function(){function K(Q,ye){for(var ue=0;ue<ye.length;ue++){var Ne=ye[ue];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Q,Ne.key,Ne)}}return function(Q,ye,ue){return ye&&K(Q.prototype,ye),ue&&K(Q,ue),Q}}();function d(K,Q,ye){return Q in K?Object.defineProperty(K,Q,{value:ye,enumerable:!0,configurable:!0,writable:!0}):K[Q]=ye,K}function n(K,Q){if(!(K instanceof Q))throw new TypeError("Cannot call a class as a function")}function l(K,Q){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Q&&(typeof Q=="object"||typeof Q=="function")?Q:K}function t(K,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Q);K.prototype=Object.create(Q&&Q.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),Q&&(Object.setPrototypeOf?Object.setPrototypeOf(K,Q):K.__proto__=Q)}var s=function(K){t(Q,K);function Q(){return n(this,Q),l(this,(Q.__proto__||Object.getPrototypeOf(Q)).apply(this,arguments))}return o(Q,[{key:"shouldComponentUpdate",value:function(ue){return this.props.forceRender||!r()(this.props,ue)}},{key:"render",value:function(){var ue;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Ne=this.props,Te=Ne.prefixCls,oe=Ne.isActive,de=Ne.children,Le=Ne.destroyInactivePanel,Ge=Ne.forceRender,ht=Ne.role,Et=a()(Te+"-content",(ue={},d(ue,Te+"-content-active",oe),d(ue,Te+"-content-inactive",!oe),ue)),Be=!Ge&&!oe&&Le?null:h.a.createElement("div",{className:Te+"-content-box"},de);return h.a.createElement("div",{className:Et,role:ht},Be)}}]),Q}(v.Component),u=s,p=e("UmKh"),w=function(){function K(Q,ye){for(var ue=0;ue<ye.length;ue++){var Ne=ye[ue];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Q,Ne.key,Ne)}}return function(Q,ye,ue){return ye&&K(Q.prototype,ye),ue&&K(Q,ue),Q}}();function b(K,Q,ye){return Q in K?Object.defineProperty(K,Q,{value:ye,enumerable:!0,configurable:!0,writable:!0}):K[Q]=ye,K}function E(K,Q){if(!(K instanceof Q))throw new TypeError("Cannot call a class as a function")}function A(K,Q){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Q&&(typeof Q=="object"||typeof Q=="function")?Q:K}function S(K,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Q);K.prototype=Object.create(Q&&Q.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),Q&&(Object.setPrototypeOf?Object.setPrototypeOf(K,Q):K.__proto__=Q)}var T=function(K){S(Q,K);function Q(){var ye,ue,Ne,Te;E(this,Q);for(var oe=arguments.length,de=Array(oe),Le=0;Le<oe;Le++)de[Le]=arguments[Le];return Te=(ue=(Ne=A(this,(ye=Q.__proto__||Object.getPrototypeOf(Q)).call.apply(ye,[this].concat(de))),Ne),Ne.handleItemClick=function(){var Ge=Ne.props,ht=Ge.onItemClick,Et=Ge.panelKey;typeof ht=="function"&&ht(Et)},Ne.handleKeyPress=function(Ge){(Ge.key==="Enter"||Ge.keyCode===13||Ge.which===13)&&Ne.handleItemClick()},ue),A(Ne,Te)}return w(Q,[{key:"shouldComponentUpdate",value:function(ue){return!r()(this.props,ue)}},{key:"render",value:function(){var ue,Ne=this.props,Te=Ne.className,oe=Ne.id,de=Ne.style,Le=Ne.prefixCls,Ge=Ne.header,ht=Ne.headerClass,Et=Ne.children,Be=Ne.isActive,Dt=Ne.showArrow,Ke=Ne.destroyInactivePanel,At=Ne.disabled,Xe=Ne.accordion,et=Ne.forceRender,tt=Ne.expandIcon,ot=Ne.extra,Ve=a()(Le+"-header",b({},ht,ht)),se=a()((ue={},b(ue,Le+"-item",!0),b(ue,Le+"-item-active",Be),b(ue,Le+"-item-disabled",At),ue),Te),re=h.a.createElement("i",{className:"arrow"});return Dt&&typeof tt=="function"&&(re=tt(this.props)),h.a.createElement("div",{className:se,style:de,id:oe},h.a.createElement("div",{className:Ve,onClick:this.handleItemClick,role:Xe?"tab":"button",tabIndex:At?-1:0,"aria-expanded":""+Be,onKeyPress:this.handleKeyPress},Dt&&re,Ge,ot&&h.a.createElement("div",{className:Le+"-extra"},ot)),h.a.createElement(p.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},h.a.createElement(u,{prefixCls:Le,isActive:Be,destroyInactivePanel:Ke,forceRender:et,role:Xe?"tabpanel":null},Et)))}}]),Q}(v.Component);T.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var L=T,x=e("UwPn");function C(K,Q,ye,ue){var Ne=void 0;return Object(x.a)(K,ye,{start:function(){Q?(Ne=K.offsetHeight,K.style.height=0):K.style.height=K.offsetHeight+"px"},active:function(){K.style.height=(Q?Ne:0)+"px"},end:function(){K.style.height="",ue()}})}function O(K){return{enter:function(ye,ue){return C(ye,!0,K+"-anim",ue)},leave:function(ye,ue){return C(ye,!1,K+"-anim",ue)}}}var N=O,F=e("TOwV"),k=function(){function K(Q,ye){for(var ue=0;ue<ye.length;ue++){var Ne=ye[ue];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Q,Ne.key,Ne)}}return function(Q,ye,ue){return ye&&K(Q.prototype,ye),ue&&K(Q,ue),Q}}();function P(K){if(Array.isArray(K)){for(var Q=0,ye=Array(K.length);Q<K.length;Q++)ye[Q]=K[Q];return ye}else return Array.from(K)}function B(K,Q,ye){return Q in K?Object.defineProperty(K,Q,{value:ye,enumerable:!0,configurable:!0,writable:!0}):K[Q]=ye,K}function z(K,Q){if(!(K instanceof Q))throw new TypeError("Cannot call a class as a function")}function R(K,Q){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Q&&(typeof Q=="object"||typeof Q=="function")?Q:K}function U(K,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Q);K.prototype=Object.create(Q&&Q.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),Q&&(Object.setPrototypeOf?Object.setPrototypeOf(K,Q):K.__proto__=Q)}function j(K){var Q=K;return Array.isArray(Q)||(Q=Q?[Q]:[]),Q.map(function(ye){return String(ye)})}var H=function(K){U(Q,K);function Q(ye){z(this,Q);var ue=R(this,(Q.__proto__||Object.getPrototypeOf(Q)).call(this,ye));V.call(ue);var Ne=ye.activeKey,Te=ye.defaultActiveKey,oe=Te;return"activeKey"in ye&&(oe=Ne),ue.state={openAnimation:ye.openAnimation||N(ye.prefixCls),activeKey:j(oe)},ue}return k(Q,[{key:"shouldComponentUpdate",value:function(ue,Ne){return!r()(this.props,ue)||!r()(this.state,Ne)}},{key:"render",value:function(){var ue,Ne=this.props,Te=Ne.prefixCls,oe=Ne.className,de=Ne.style,Le=Ne.accordion,Ge=a()((ue={},B(ue,Te,!0),B(ue,oe,!!oe),ue));return h.a.createElement("div",{className:Ge,style:de,role:Le?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(ue){var Ne={};return"activeKey"in ue&&(Ne.activeKey=j(ue.activeKey)),"openAnimation"in ue&&(Ne.openAnimation=ue.openAnimation),Ne.activeKey||Ne.openAnimation?Ne:null}}]),Q}(v.Component),V=function(){var Q=this;this.onClickItem=function(ye){var ue=Q.state.activeKey;if(Q.props.accordion)ue=ue[0]===ye?[]:[ye];else{ue=[].concat(P(ue));var Ne=ue.indexOf(ye),Te=Ne>-1;Te?ue.splice(Ne,1):ue.push(ye)}Q.setActiveKey(ue)},this.getNewChild=function(ye,ue){if(!ye)return null;var Ne=Q.state.activeKey,Te=Q.props,oe=Te.prefixCls,de=Te.accordion,Le=Te.destroyInactivePanel,Ge=Te.expandIcon,ht=ye.key||String(ue),Et=ye.props,Be=Et.header,Dt=Et.headerClass,Ke=Et.disabled,At=!1;de?At=Ne[0]===ht:At=Ne.indexOf(ht)>-1;var Xe={key:ht,panelKey:ht,header:Be,headerClass:Dt,isActive:At,prefixCls:oe,destroyInactivePanel:Le,openAnimation:Q.state.openAnimation,accordion:de,children:ye.props.children,onItemClick:Ke?null:Q.onClickItem,expandIcon:Ge};return typeof ye.type=="string"?ye:h.a.cloneElement(ye,Xe)},this.getItems=function(){var ye=Q.props.children,ue=Object(F.isFragment)(ye)?ye.props.children:ye,Ne=v.Children.map(ue,Q.getNewChild);return Object(F.isFragment)(ye)?h.a.createElement(h.a.Fragment,null,Ne):Ne},this.setActiveKey=function(ye){"activeKey"in Q.props||Q.setState({activeKey:ye}),Q.props.onChange(Q.props.accordion?ye[0]:ye)}};H.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},H.Panel=L;var X=H,W=X,G=X.Panel,$=e("fEPi"),ge=e.n($),q=e("H84U"),Se=function(Q){var ye=v.useContext(q.b),ue=ye.getPrefixCls,Ne=Q.prefixCls,Te=Q.className,oe=Te===void 0?"":Te,de=Q.showArrow,Le=de===void 0?!0:de,Ge=ue("collapse",Ne),ht=a()(m()({},"".concat(Ge,"-no-arrow"),!Le),oe);return v.createElement(W.Panel,f()({},Q,{prefixCls:Ge,className:ht}))},Ce=Se,Ae=e("xEkU"),Ue=e.n(Ae);function Qe(K,Q,ye){var ue,Ne;return Object(x.a)(K,"ant-motion-collapse-legacy",{start:function(){Q?(ue=K.offsetHeight,K.style.height="0px",K.style.opacity="0"):(K.style.height="".concat(K.offsetHeight,"px"),K.style.opacity="1")},active:function(){Ne&&Ue.a.cancel(Ne),Ne=Ue()(function(){K.style.height="".concat(Q?ue:0,"px"),K.style.opacity=Q?"1":"0"})},end:function(){Ne&&Ue.a.cancel(Ne),K.style.height="",K.style.opacity="",ye()}})}var gt={enter:function(Q,ye){return Qe(Q,!0,ye)},leave:function(Q,ye){return Qe(Q,!1,ye)},appear:function(Q,ye){return Qe(Q,!0,ye)}},_e=gt,Oe=e("0n0R"),lt=function(Q){var ye,ue=v.useContext(q.b),Ne=ue.getPrefixCls,Te=ue.direction,oe=Q.prefixCls,de=Q.className,Le=de===void 0?"":de,Ge=Q.bordered,ht=Q.ghost,Et=Ne("collapse",oe),Be=function(){var tt=Q.expandIconPosition;return tt!==void 0?tt:Te==="rtl"?"right":"left"},Dt=function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ot=Q.expandIcon,Ve=ot?ot(tt):v.createElement(ge.a,{rotate:tt.isActive?90:void 0});return Object(Oe.a)(Ve,function(){return{className:a()(Ve.props.className,"".concat(Et,"-arrow"))}})},Ke=Be(),At=a()((ye={},m()(ye,"".concat(Et,"-borderless"),!Ge),m()(ye,"".concat(Et,"-icon-position-").concat(Ke),!0),m()(ye,"".concat(Et,"-rtl"),Te==="rtl"),m()(ye,"".concat(Et,"-ghost"),!!ht),ye),Le),Xe=f()(f()({},_e),{appear:function(){}});return v.createElement(W,f()({openAnimation:Xe},Q,{expandIcon:function(tt){return Dt(tt)},prefixCls:Et,className:At}))};lt.Panel=Ce,lt.defaultProps={bordered:!0};var ce=lt,Y=_.a=ce},gKaM:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};_.default=g},gPAo:function(D,_){function e(m){return m}function g(m,v,h,c,a){this._old=m,this._new=v,this._oldKeyGetter=h||e,this._newKeyGetter=c||e,this.context=a}g.prototype={constructor:g,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,v=this._new,h={},c={},a=[],i=[],r;for(f(m,h,a,"_oldKeyGetter",this),f(v,c,i,"_newKeyGetter",this),r=0;r<m.length;r++){var o=a[r],d=c[o];if(d!=null){var n=d.length;n?(n===1&&(c[o]=null),d=d.shift()):c[o]=null,this._update&&this._update(d,r)}else this._remove&&this._remove(r)}for(var r=0;r<i.length;r++){var o=i[r];if(c.hasOwnProperty(o)){var d=c[o];if(d==null)continue;if(!d.length)this._add&&this._add(d);else for(var l=0,n=d.length;l<n;l++)this._add&&this._add(d[l])}}}};function f(m,v,h,c,a){for(var i=0;i<m.length;i++){var r="_ec_"+a[c](m[i],i),o=v[r];o==null?(h.push(r),v[r]=i):(o.length||(v[r]=o=[o]),o.push(i))}}var y=g;D.exports=y},gRFJ:function(D,_,e){D.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(D){return D<10?"0"+D:D}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(D){return rx_escapable.lastIndex=0,rx_escapable.test(D)?'"'+D.replace(rx_escapable,function(_){var e=meta[_];return typeof e=="string"?e:"\\u"+("0000"+_.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+D+'"'}function str(D,_){var e,g,f,y,m=gap,v,h=_[D];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(D)),typeof rep=="function"&&(h=rep.call(_,D,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,v=[],Object.prototype.toString.apply(h)==="[object Array]"){for(y=h.length,e=0;e<y;e+=1)v[e]=str(e,h)||"null";return f=v.length===0?"[]":gap?`[
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"]":"["+v.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(y=rep.length,e=0;e<y;e+=1)typeof rep[e]=="string"&&(g=rep[e],f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));else for(g in h)Object.prototype.hasOwnProperty.call(h,g)&&(f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));return f=v.length===0?"{}":gap?`{
|
|
|
`+gap+v.join(`,
|
|
|
`+gap)+`
|
|
|
`+m+"}":"{"+v.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(D,_,e){var g;if(gap="",indent="",typeof e=="number")for(g=0;g<e;g+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=_,_&&typeof _!="function"&&(typeof _!="object"||typeof _.length!="number"))throw new Error("JSON.stringify");return str("",{"":D})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(D,_){var e,g,f=D[_];if(f&&typeof f=="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=walk(f,e),g!==void 0?f[e]=g:delete f[e]);return reviver.call(D,_,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(D){return"\\u"+("0000"+D.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(D,_,e){var g=e("+TT/"),f=e("bYtY"),y=e("4NO4"),m=y.groupData;function v(O,N,F){O.eachSeriesByType("sankey",function(k){var P=k.get("nodeWidth"),B=k.get("nodeGap"),z=h(k,N);k.layoutInfo=z;var R=z.width,U=z.height,j=k.getGraph(),H=j.nodes,V=j.edges;a(H);var X=f.filter(H,function(ge){return ge.getLayout().value===0}),W=X.length!==0?0:k.get("layoutIterations"),G=k.get("orient"),$=k.get("nodeAlign");c(H,V,P,B,R,U,W,G,$)})}function h(O,N){return g.getLayoutRect(O.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()})}function c(O,N,F,k,P,B,z,R,U){i(O,N,F,P,B,R,U),l(O,N,B,P,k,z,R),C(O,R)}function a(O){f.each(O,function(N){var F=L(N.outEdges,T),k=L(N.inEdges,T),P=N.getValue()||0,B=Math.max(F,k,P);N.setLayout({value:B},!0)})}function i(O,N,F,k,P,B,z){for(var R=[],U=[],j=[],H=[],V=0,X=0,W=0;W<N.length;W++)R[W]=1;for(W=0;W<O.length;W++)U[W]=O[W].inEdges.length,U[W]===0&&j.push(O[W]);for(var G=-1;j.length;){for(var $=0;$<j.length;$++){var ge=j[$],q=ge.hostGraph.data.getRawDataItem(ge.dataIndex),Se=q.depth!=null&&q.depth>=0;Se&&q.depth>G&&(G=q.depth),ge.setLayout({depth:Se?q.depth:V},!0),B==="vertical"?ge.setLayout({dy:F},!0):ge.setLayout({dx:F},!0);for(var Ce=0;Ce<ge.outEdges.length;Ce++){var Ae=ge.outEdges[Ce],Ue=N.indexOf(Ae);R[Ue]=0;var Qe=Ae.node2,gt=O.indexOf(Qe);--U[gt]===0&&H.indexOf(Qe)<0&&H.push(Qe)}}++V,j=H,H=[]}for(W=0;W<R.length;W++)if(R[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var _e=G>V-1?G:V-1;z&&z!=="left"&&o(O,z,B,_e);var X=B==="vertical"?(P-F)/_e:(k-F)/_e;n(O,X,B)}function r(O){var N=O.hostGraph.data.getRawDataItem(O.dataIndex);return N.depth!=null&&N.depth>=0}function o(O,N,F,k){if(N==="right"){for(var P=[],B=O,z=0;B.length;){for(var R=0;R<B.length;R++){var U=B[R];U.setLayout({skNodeHeight:z},!0);for(var j=0;j<U.inEdges.length;j++){var H=U.inEdges[j];P.indexOf(H.node1)<0&&P.push(H.node1)}}B=P,P=[],++z}f.each(O,function(V){r(V)||V.setLayout({depth:Math.max(0,k-V.getLayout().skNodeHeight)},!0)})}else N==="justify"&&d(O,k)}function d(O,N){f.each(O,function(F){!r(F)&&!F.outEdges.length&&F.setLayout({depth:N},!0)})}function n(O,N,F){f.each(O,function(k){var P=k.getLayout().depth*N;F==="vertical"?k.setLayout({y:P},!0):k.setLayout({x:P},!0)})}function l(O,N,F,k,P,B,z){var R=t(O,z);s(R,N,F,k,P,z),u(R,P,F,k,z);for(var U=1;B>0;B--)U*=.99,p(R,U,z),u(R,P,F,k,z),x(R,U,z),u(R,P,F,k,z)}function t(O,N){var F=[],k=N==="vertical"?"y":"x",P=m(O,function(B){return B.getLayout()[k]});return P.keys.sort(function(B,z){return B-z}),f.each(P.keys,function(B){F.push(P.buckets.get(B))}),F}function s(O,N,F,k,P,B){var z=Infinity;f.each(O,function(R){var U=R.length,j=0;f.each(R,function(V){j+=V.getLayout().value});var H=B==="vertical"?(k-(U-1)*P)/j:(F-(U-1)*P)/j;H<z&&(z=H)}),f.each(O,function(R){f.each(R,function(U,j){var H=U.getLayout().value*z;B==="vertical"?(U.setLayout({x:j},!0),U.setLayout({dx:H},!0)):(U.setLayout({y:j},!0),U.setLayout({dy:H},!0))})}),f.each(N,function(R){var U=+R.getValue()*z;R.setLayout({dy:U},!0)})}function u(O,N,F,k,P){var B=P==="vertical"?"x":"y";f.each(O,function(z){z.sort(function($,ge){return $.getLayout()[B]-ge.getLayout()[B]});for(var R,U,j,H=0,V=z.length,X=P==="vertical"?"dx":"dy",W=0;W<V;W++)U=z[W],j=H-U.getLayout()[B],j>0&&(R=U.getLayout()[B]+j,P==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[B]+U.getLayout()[X]+N;var G=P==="vertical"?k:F;if(j=H-N-G,j>0)for(R=U.getLayout()[B]-j,P==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0),H=R,W=V-2;W>=0;--W)U=z[W],j=U.getLayout()[B]+U.getLayout()[X]+N-H,j>0&&(R=U.getLayout()[B]-j,P==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[B]})}function p(O,N,F){f.each(O.slice().reverse(),function(k){f.each(k,function(P){if(P.outEdges.length){var B=L(P.outEdges,w,F)/L(P.outEdges,T,F);if(isNaN(B)){var z=P.outEdges.length;B=z?L(P.outEdges,b,F)/z:0}if(F==="vertical"){var R=P.getLayout().x+(B-S(P,F))*N;P.setLayout({x:R},!0)}else{var U=P.getLayout().y+(B-S(P,F))*N;P.setLayout({y:U},!0)}}})})}function w(O,N){return S(O.node2,N)*O.getValue()}function b(O,N){return S(O.node2,N)}function E(O,N){return S(O.node1,N)*O.getValue()}function A(O,N){return S(O.node1,N)}function S(O,N){return N==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function T(O){return O.getValue()}function L(O,N,F){for(var k=0,P=O.length,B=-1;++B<P;){var z=+N.call(O,O[B],F);isNaN(z)||(k+=z)}return k}function x(O,N,F){f.each(O,function(k){f.each(k,function(P){if(P.inEdges.length){var B=L(P.inEdges,E,F)/L(P.inEdges,T,F);if(isNaN(B)){var z=P.inEdges.length;B=z?L(P.inEdges,A,F)/z:0}if(F==="vertical"){var R=P.getLayout().x+(B-S(P,F))*N;P.setLayout({x:R},!0)}else{var U=P.getLayout().y+(B-S(P,F))*N;P.setLayout({y:U},!0)}}})})}function C(O,N){var F=N==="vertical"?"x":"y";f.each(O,function(k){k.outEdges.sort(function(P,B){return P.node2.getLayout()[F]-B.node2.getLayout()[F]}),k.inEdges.sort(function(P,B){return P.node1.getLayout()[F]-B.node1.getLayout()[F]})}),f.each(O,function(k){var P=0,B=0;f.each(k.outEdges,function(z){z.setLayout({sy:P},!0),P+=z.getLayout().dy}),f.each(k.inEdges,function(z){z.setLayout({ty:B},!0),B+=z.getLayout().dy})})}D.exports=v},"giR+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("QbM5"),m=e.n(y)},gut8:function(D,_){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;_.ContextCachedBy=e,_.WILL_BE_RESTORED=g},gvm7:function(D,_,e){var g=e("bYtY"),f=e("dqUG");function y(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}y.prototype={constructor:y,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,h,c){this.el&&this._zr.remove(this.el);for(var a={},i=v,r="{marker",o="|}",d=i.indexOf(r);d>=0;){var n=i.indexOf(o),l=i.substr(d+r.length,n-d-r.length);l.indexOf("sub")>-1?a["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:a["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},i=i.substr(n+1),d=i.indexOf("{marker")}this.el=new f({style:{rich:a,text:v,textLineHeight:20,textBackgroundColor:c.get("backgroundColor"),textBorderRadius:c.get("borderRadius"),textFill:c.get("textStyle.color"),textPadding:c.get("padding")},z:c.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,h){this.el&&this.el.attr("position",[v,h])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var m=y;D.exports=m},gwTy:function(D,_,e){},h54F:function(D,_,e){var g=e("ProS"),f=e("YXkt"),y=e("bYtY"),m=e("4NO4"),v=m.defaultEmphasis,h=e("Qxkt"),c=e("7aKB"),a=c.encodeHTML,i=e("I3/A"),r=e("xKMd"),o=g.extendSeriesModel({type:"series.graph",init:function(n){o.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new r(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){o.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){o.superApply(this,"mergeDefaultAndTheme",arguments),v(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],s=n.data||n.nodes||[],u=this;if(s&&t)return i(s,t,this,!0,p).data;function p(w,b){w.wrapMethod("getItemModel",function(x){var C=u._categoriesModels,O=x.getShallow("category"),N=C[O];return N&&(N.parentModel=x.parentModel,x.parentModel=N),x});var E=u.getModel("edgeLabel"),A=new h({label:E.option},E.parentModel,l),S=u.getModel("emphasis.edgeLabel"),T=new h({emphasis:{label:S.option}},S.parentModel,l);b.wrapMethod("getItemModel",function(x){return x.customizeGetParent(L),x});function L(x){return x=this.parsePath(x),x&&x[0]==="label"?A:x&&x[0]==="emphasis"&&x[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,l,t){if(t==="edge"){var s=this.getData(),u=this.getDataParams(n,t),p=s.graph.getEdgeByIndex(n),w=s.getName(p.node1.dataIndex),b=s.getName(p.node2.dataIndex),E=[];return w!=null&&E.push(w),b!=null&&E.push(b),E=a(E.join(" > ")),u.value&&(E+=" : "+a(u.value)),E}else return o.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=y.map(this.option.categories||[],function(t){return t.value!=null?t:y.extend({value:0},t)}),l=new f(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return o.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),d=o;D.exports=d},h7HQ:function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,h){f.buildPath(v,h,!0)}});D.exports=y},h8O9:function(D,_,e){var g=e("bYtY"),f=g.map,y=e("zM3Q"),m=e("7hqr"),v=m.isDimensionStacked;function h(c){return{seriesType:c,plan:y(),reset:function(a){var i=a.getData(),r=a.coordinateSystem,o=a.pipelineContext,d=o.large;if(!r)return;var n=f(r.dimensions,function(u){return i.mapDimension(u)}).slice(0,2),l=n.length,t=i.getCalculationInfo("stackResultDimension");v(i,n[0])&&(n[0]=t),v(i,n[1])&&(n[1]=t);function s(u,p){for(var w=u.end-u.start,b=d&&new Float32Array(w*l),E=u.start,A=0,S=[],T=[];E<u.end;E++){var L;if(l===1){var x=p.get(n[0],E);L=!isNaN(x)&&r.dataToPoint(x,null,T)}else{var x=S[0]=p.get(n[0],E),C=S[1]=p.get(n[1],E);L=!isNaN(x)&&!isNaN(C)&&r.dataToPoint(S,null,T)}d?(b[A++]=L?L[0]:NaN,b[A++]=L?L[1]:NaN):p.setItemLayout(E,L&&L.slice()||[NaN,NaN])}d&&p.setLayout("symbolPoints",b)}return l&&{progress:s}}}}D.exports=h},hD7B:function(D,_,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function y(v){g.each(f,function(h){this[h]=g.bind(v[h],v)},this)}var m=y;D.exports=m},hFmY:function(D,_,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(y,m){m.eachComponent({mainType:"parallelAxis",query:y},function(v){v.axis.model.setActiveIntervals(y.intervals)})}),g.registerAction("parallelAxisExpand",function(y,m){m.eachComponent({mainType:"parallel",query:y},function(v){v.setAxisExpand(y)})})},hJvP:function(D,_,e){var g=e("2dDv"),f=e("IDmD");function y(m,v){var h=[];return m.eachComponent("parallel",function(c,a){var i=new g(c,m,v);i.name="parallel_"+a,i.resize(c,v),c.coordinateSystem=i,i.model=c,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var a=m.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=a.coordinateSystem}}),h}f.register("parallel",{create:y})},hM6l:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.map,m=e("OELB"),v=m.linearMap,h=m.getPixelPrecision,c=m.round,a=e("4HMb"),i=a.createAxisTicks,r=a.createAxisLabels,o=a.calculateCategoryInterval,d=[0,1],n=function(u,p,w){this.dim=u,this.scale=p,this._extent=w||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(u){var p=this._extent,w=Math.min(p[0],p[1]),b=Math.max(p[0],p[1]);return u>=w&&u<=b},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return h(u||this.scale.getExtent(),this._extent)},setExtent:function(u,p){var w=this._extent;w[0]=u,w[1]=p},dataToCoord:function(u,p){var w=this._extent,b=this.scale;return u=b.normalize(u),this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count())),v(u,d,w,p)},coordToData:function(u,p){var w=this._extent,b=this.scale;this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count()));var E=v(u,w,d,p);return this.scale.scale(E)},pointToData:function(u,p){},getTicksCoords:function(u){u=u||{};var p=u.tickModel||this.getTickModel(),w=i(this,p),b=w.ticks,E=y(b,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this),A=p.get("alignWithLabel");return t(this,E,A,u.clamp),E},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),p=u.get("splitNumber");p>0&&p<100||(p=5);var w=this.scale.getMinorTicks(p),b=y(w,function(E){return y(E,function(A){return{coord:this.dataToCoord(A),tickValue:A}},this)},this);return b},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,p=this.scale.getExtent(),w=p[1]-p[0]+(this.onBand?1:0);w===0&&(w=1);var b=Math.abs(u[1]-u[0]);return Math.abs(b)/w},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return o(this)}};function l(u,p){var w=u[1]-u[0],b=p,E=w/b/2;u[0]+=E,u[1]-=E}function t(u,p,w,b){var E=p.length;if(!u.onBand||w||!E)return;var A=u.getExtent(),S,T;if(E===1)p[0].coord=A[0],S=p[1]={coord:A[0]};else{var L=p[E-1].tickValue-p[0].tickValue,x=(p[E-1].coord-p[0].coord)/L;f(p,function(F){F.coord-=x/2});var C=u.scale.getExtent();T=1+C[1]-p[E-1].tickValue,S={coord:p[E-1].coord+x*T},p.push(S)}var O=A[0]>A[1];N(p[0].coord,A[0])&&(b?p[0].coord=A[0]:p.shift()),b&&N(A[0],p[0].coord)&&p.unshift({coord:A[0]}),N(A[1],S.coord)&&(b?S.coord=A[1]:p.pop()),b&&N(S.coord,A[1])&&p.push({coord:A[1]});function N(F,k){return F=c(F),k=c(k),O?F>k:F<k}}var s=n;D.exports=s},hNWo:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("Qxkt"),m=e("4NO4"),v=m.isNameSpecified,h=e("Kagy"),c=h.legend.selector,a={all:{type:"all",title:f.clone(c.all)},inverse:{type:"inverse",title:f.clone(c.inverse)}},i=g.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(o,d,n){this.mergeDefaultAndTheme(o,n),o.selected=o.selected||{},this._updateSelector(o)},mergeOption:function(o){i.superCall(this,"mergeOption",o),this._updateSelector(o)},_updateSelector:function(o){var d=o.selector;d===!0&&(d=o.selector=["all","inverse"]),f.isArray(d)&&f.each(d,function(n,l){f.isString(n)&&(n={type:n}),d[l]=f.merge(n,a[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var o=this._data;if(o[0]&&this.get("selectedMode")==="single"){for(var d=!1,n=0;n<o.length;n++){var l=o[n].get("name");if(this.isSelected(l)){this.select(l),d=!0;break}}!d&&this.select(o[0].get("name"))}},_updateData:function(o){var d=[],n=[];o.eachRawSeries(function(s){var u=s.name;n.push(u);var p;if(s.legendVisualProvider){var w=s.legendVisualProvider,b=w.getAllNames();o.isSeriesFiltered(s)||(n=n.concat(b)),b.length?d=d.concat(b):p=!0}else p=!0;p&&v(s)&&d.push(s.name)}),this._availableNames=n;var l=this.get("data")||d,t=f.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new y(s,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(o){var d=this.option.selected,n=this.get("selectedMode");if(n==="single"){var l=this._data;f.each(l,function(t){d[t.get("name")]=!1})}d[o]=!0},unSelect:function(o){this.get("selectedMode")!=="single"&&(this.option.selected[o]=!1)},toggleSelected:function(o){var d=this.option.selected;d.hasOwnProperty(o)||(d[o]=!0),this[d[o]?"unSelect":"select"](o)},allSelect:function(){var o=this._data,d=this.option.selected;f.each(o,function(n){d[n.get("name",!0)]=!0})},inverseSelect:function(){var o=this._data,d=this.option.selected;f.each(o,function(n){var l=n.get("name",!0);d.hasOwnProperty(l)||(d[l]=!0),d[l]=!d[l]})},isSelected:function(o){var d=this.option.selected;return!(d.hasOwnProperty(o)&&!d[o])&&f.indexOf(this._availableNames,o)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),r=i;D.exports=r},hOwI:function(D,_){var e=Math.log(2);function g(y,m,v,h,c,a){var i=h+"-"+c,r=y.length;if(a.hasOwnProperty(i))return a[i];if(m===1){var o=Math.round(Math.log((1<<r)-1&~c)/e);return y[v][o]}for(var d=h|1<<v,n=v+1;h&1<<n;)n++;for(var l=0,t=0,s=0;t<r;t++){var u=1<<t;u&c||(l+=(s%2?-1:1)*y[v][t]*g(y,m-1,n,d,c|u,a),s++)}return a[i]=l,l}function f(y,m){var v=[[y[0],y[1],1,0,0,0,-m[0]*y[0],-m[0]*y[1]],[0,0,0,y[0],y[1],1,-m[1]*y[0],-m[1]*y[1]],[y[2],y[3],1,0,0,0,-m[2]*y[2],-m[2]*y[3]],[0,0,0,y[2],y[3],1,-m[3]*y[2],-m[3]*y[3]],[y[4],y[5],1,0,0,0,-m[4]*y[4],-m[4]*y[5]],[0,0,0,y[4],y[5],1,-m[5]*y[4],-m[5]*y[5]],[y[6],y[7],1,0,0,0,-m[6]*y[6],-m[6]*y[7]],[0,0,0,y[6],y[7],1,-m[7]*y[6],-m[7]*y[7]]],h={},c=g(v,8,0,0,0,h);if(c===0)return;for(var a=[],i=0;i<8;i++)for(var r=0;r<8;r++)a[r]==null&&(a[r]=0),a[r]+=((i+r)%2?-1:1)*g(v,7,i===0?1:0,1<<i,1<<r,h)/c*m[i];return function(o,d,n){var l=d*a[6]+n*a[7]+1;o[0]=(d*a[0]+n*a[1]+a[2])/l,o[1]=(d*a[3]+n*a[4]+a[5])/l}}_.buildTransformer=f},hX1E:function(D,_){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}_.normalizeRadian=g},hXwI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v)}return y(v,[{key:"decodeRect",value:function(c,a,i,r,o,d,n){if(o.rQwait("COPYRECT",4))return!1;var l=o.rQshift16(),t=o.rQshift16();return d.copyImage(l,t,c,a,i,r),!0}}]),v}();_.default=m},hi0g:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.each,m=g.isString,v=g.defaults,h=g.extend,c=g.isObject,a=g.clone,i=e("4NO4"),r=i.normalizeToArray,o=e("D5nY"),d=o.guessOrdinal,n=o.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),s=t.OTHER_DIMENSIONS,u=e("Vi4m");function p(A,S,T){l.isInstance(S)||(S=l.seriesDataToSource(S)),T=T||{},A=(A||[]).slice();for(var L=(T.dimsDef||[]).slice(),x=f(),C=f(),O=[],N=w(S,A,L,T.dimCount),F=0;F<N;F++){var k=L[F]=h({},c(L[F])?L[F]:{name:L[F]}),P=k.name,B=O[F]=new u;P!=null&&x.get(P)==null&&(B.name=B.displayName=P,x.set(P,F)),k.type!=null&&(B.type=k.type),k.displayName!=null&&(B.displayName=k.displayName)}var z=T.encodeDef;!z&&T.encodeDefaulter&&(z=T.encodeDefaulter(S,N)),z=f(z),z.each(function($,ge){if($=r($).slice(),$.length===1&&!m($[0])&&$[0]<0){z.set(ge,!1);return}var q=z.set(ge,[]);y($,function(Se,Ce){m(Se)&&(Se=x.get(Se)),Se!=null&&Se<N&&(q[Ce]=Se,U(O[Se],ge,Ce))})});var R=0;y(A,function($,ge){var q,$,Se,Ce;if(m($))q=$,$={};else{q=$.name;var Ae=$.ordinalMeta;$.ordinalMeta=null,$=a($),$.ordinalMeta=Ae,Se=$.dimsDef,Ce=$.otherDims,$.name=$.coordDim=$.coordDimIndex=$.dimsDef=$.otherDims=null}var Ue=z.get(q);if(Ue===!1)return;var Ue=r(Ue);if(!Ue.length)for(var Qe=0;Qe<(Se&&Se.length||1);Qe++){for(;R<O.length&&O[R].coordDim!=null;)R++;R<O.length&&Ue.push(R++)}y(Ue,function(gt,_e){var Oe=O[gt];if(U(v(Oe,$),q,_e),Oe.name==null&&Se){var lt=Se[_e];!c(lt)&&(lt={name:lt}),Oe.name=Oe.displayName=lt.name,Oe.defaultTooltip=lt.defaultTooltip}Ce&&v(Oe.otherDims,Ce)})});function U($,ge,q){s.get(ge)!=null?$.otherDims[ge]=q:($.coordDim=ge,$.coordDimIndex=q,C.set(ge,!0))}var j=T.generateCoord,H=T.generateCoordCount,V=H!=null;H=j?H||1:0;for(var X=j||"value",W=0;W<N;W++){var B=O[W]=O[W]||new u,G=B.coordDim;G==null&&(B.coordDim=b(X,C,V),B.coordDimIndex=0,(!j||H<=0)&&(B.isExtraCoord=!0),H--),B.name==null&&(B.name=b(B.coordDim,x)),B.type==null&&(d(S,W,B.name)===n.Must||B.isExtraCoord&&(B.otherDims.itemName!=null||B.otherDims.seriesName!=null))&&(B.type="ordinal")}return O}function w(A,S,T,L){var x=Math.max(A.dimensionsDetectCount||1,S.length,T.length,L||0);return y(S,function(C){var O=C.dimsDef;O&&(x=Math.max(x,O.length))}),x}function b(A,S,T){if(T||S.get(A)!=null){for(var L=0;S.get(A+L)!=null;)L++;A+=L}return S.set(A,!0),A}var E=p;D.exports=E},hkKa:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("J4zp"),f=e.n(g),y=e("q1tI"),m=e.n(y);function v(){var h=y.useReducer(function(i){return i+1},0),c=f()(h,2),a=c[1];return a}},hw6D:function(D,_,e){var g=e("bYtY");function f(v){v.eachSeriesByType("radar",function(h){var c=h.getData(),a=[],i=h.coordinateSystem;if(!i)return;var r=i.getIndicatorAxes();g.each(r,function(o,d){c.each(c.mapDimension(r[d].dim),function(n,l){a[l]=a[l]||[];var t=i.dataToPoint(n,d);a[l][d]=y(t)?t:m(i)})}),c.each(function(o){var d=g.find(a[o],function(n){return y(n)})||m(i);a[o].push(d.slice()),c.setItemLayout(o,a[o])})})}function y(v){return!isNaN(v[0])&&!isNaN(v[1])}function m(v){return[v.cx,v.cy]}D.exports=f},hwYd:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Nu4q")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PictureTwoTone";var c=y.forwardRef(h);_.default=c},hydK:function(D,_){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}_.createElement=g},hyiK:function(D,_){function e(g,f,y,m,v,h){if(h>f&&h>m||h<f&&h<m)return 0;if(m===f)return 0;var c=m<f?1:-1,a=(h-f)/(m-f);(a===1||a===0)&&(c=m<f?.5:-.5);var i=a*(y-g)+g;return i===v?Infinity:i>v?c:0}D.exports=e},i38C:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.createHashMap,v=y.retrieve,h=y.each;function c(o){this.coordSysName=o,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function a(o){var d=o.get("coordinateSystem"),n=new c(d),l=i[d];if(l)return l(o,n,n.axisMap,n.categoryAxisMap),n}var i={cartesian2d:function(o,d,n,l){var t=o.getReferringComponents("xAxis")[0],s=o.getReferringComponents("yAxis")[0];d.coordSysDims=["x","y"],n.set("x",t),n.set("y",s),r(t)&&(l.set("x",t),d.firstCategoryDimIndex=0),r(s)&&(l.set("y",s),d.firstCategoryDimIndex==null&(d.firstCategoryDimIndex=1))},singleAxis:function(o,d,n,l){var t=o.getReferringComponents("singleAxis")[0];d.coordSysDims=["single"],n.set("single",t),r(t)&&(l.set("single",t),d.firstCategoryDimIndex=0)},polar:function(o,d,n,l){var t=o.getReferringComponents("polar")[0],s=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");d.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",u),r(s)&&(l.set("radius",s),d.firstCategoryDimIndex=0),r(u)&&(l.set("angle",u),d.firstCategoryDimIndex==null&&(d.firstCategoryDimIndex=1))},geo:function(o,d,n,l){d.coordSysDims=["lng","lat"]},parallel:function(o,d,n,l){var t=o.ecModel,s=t.getComponent("parallel",o.get("parallelIndex")),u=d.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(p,w){var b=t.getComponent("parallelAxis",p),E=u[w];n.set(E,b),r(b)&&d.firstCategoryDimIndex==null&&(l.set(E,b),d.firstCategoryDimIndex=w)})}};function r(o){return o.get("type")==="category"}_.getCoordSysInfoBySeries=a},i6bk:function(D,_,e){"use strict";e.d(_,"b",function(){return g}),e.d(_,"a",function(){return f});function g(y){return y!=null&&y===y.window}function f(y,m){if(typeof window=="undefined")return 0;var v=m?"scrollTop":"scrollLeft",h=0;return g(y)?h=y[m?"pageYOffset":"pageXOffset"]:y instanceof Document?h=y.documentElement[v]:y&&(h=y[v]),y&&!g(y)&&typeof h!="number"&&(h=(y.ownerDocument||y).documentElement[v]),h}},i8CU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},iLNv:function(D,_){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function y(h,c,a){var i,r=0,o=0,d=null,n,l,t,s;c=c||0;function u(){o=new Date().getTime(),d=null,h.apply(l,t||[])}var p=function(){i=new Date().getTime(),l=this,t=arguments;var w=s||c,b=s||a;s=null,n=i-(b?r:o)-w,clearTimeout(d),b?d=setTimeout(u,w):n>=0?u():d=setTimeout(u,-n),r=i};return p.clear=function(){d&&(clearTimeout(d),d=null)},p.debounceNextCall=function(w){s=w},p}function m(h,c,a,i){var r=h[c];if(!r)return;var o=r[e]||r,d=r[f],n=r[g];if(n!==a||d!==i){if(a==null||!i)return h[c]=o;r=h[c]=y(o,a,i==="debounce"),r[e]=o,r[f]=i,r[g]=a}return r}function v(h,c){var a=h[c];a&&a[e]&&(h[c]=a[e])}_.throttle=y,_.createOrUpdate=m,_.clear=v},iPDy:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=g.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,v,h){var c=this.markerGroupMap;c.each(function(i){i.__keep=!1});var a=this.type+"Model";v.eachSeries(function(i){var r=i[a];r&&this.renderSeries(i,r,v,h)},this),c.each(function(i){!i.__keep&&this.group.remove(i.group)},this)},renderSeries:function(){}});D.exports=y},iQDF:function(D,_,e){"use strict";var g=e("ZTW2"),f=e.n(g),y=e("+BJd"),m=e("+L6B")},iRjW:function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),y=f.parseClassType,m=0;function v(a){return[a||"",m++,Math.random().toFixed(5)].join("_")}function h(a){var i={};return a.registerSubTypeDefaulter=function(r,o){r=y(r),i[r.main]=o},a.determineSubType=function(r,o){var d=o.type;if(!d){var n=y(r).main;a.hasSubTypes(r)&&i[n]&&(d=i[n](o))}return d},a}function c(a,i){a.topologicalTravel=function(n,l,t,s){if(!n.length)return;var u=r(l),p=u.graph,w=u.noEntryList,b={};for(g.each(n,function(x){b[x]=!0});w.length;){var E=w.pop(),A=p[E],S=!!b[E];S&&(t.call(s,E,A.originalDeps.slice()),delete b[E]),g.each(A.successor,S?L:T)}g.each(b,function(){throw new Error("Circle dependency may exists")});function T(x){p[x].entryCount--,p[x].entryCount===0&&w.push(x)}function L(x){b[x]=!0,T(x)}};function r(n){var l={},t=[];return g.each(n,function(s){var u=o(l,s),p=u.originalDeps=i(s),w=d(p,n);u.entryCount=w.length,u.entryCount===0&&t.push(s),g.each(w,function(b){g.indexOf(u.predecessor,b)<0&&u.predecessor.push(b);var E=o(l,b);g.indexOf(E.successor,b)<0&&E.successor.push(s)})}),{graph:l,noEntryList:t}}function o(n,l){return n[l]||(n[l]={predecessor:[],successor:[]}),n[l]}function d(n,l){var t=[];return g.each(n,function(s){g.indexOf(l,s)>=0&&t.push(s)}),t}}_.getUID=v,_.enableSubTypeDefaulter=h,_.enableTopologicalTravel=c},iUHT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(A,S){if(!(A instanceof S))throw new TypeError("Cannot call a class as a function")}function f(A,S){for(var T=0;T<S.length;T++){var L=S[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(A,L.key,L)}}function y(A,S,T){return S&&f(A.prototype,S),T&&f(A,T),A}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=0,c,a,i,r,o,d;c=1<<16,a=1<<24,i=c|a,r=1<<2,o=1<<10,d=r|o;var n=[i|o,h|h,c|h,i|d,i|r,c|d,h|r,c|h,h|o,i|o,i|d,h|o,a|d,i|r,a|h,h|r,h|d,a|o,a|o,c|o,c|o,i|h,i|h,a|d,c|r,a|r,a|r,c|r,h|h,h|d,c|d,a|h,c|h,i|d,h|r,i|h,i|o,a|h,a|h,h|o,i|r,c|h,c|o,a|r,h|o,h|r,a|d,c|d,i|d,c|r,i|h,a|d,a|r,h|d,c|d,i|o,h|d,a|o,a|o,h|h,c|r,c|o,h|h,i|r];c=1<<20,a=1<<31,i=c|a,r=1<<5,o=1<<15,d=r|o;var l=[i|d,a|o,h|o,c|d,c|h,h|r,i|r,a|d,a|r,i|d,i|o,a|h,a|o,c|h,h|r,i|r,c|o,c|r,a|d,h|h,a|h,h|o,c|d,i|h,c|r,a|r,h|h,c|o,h|d,i|o,i|h,h|d,h|h,c|d,i|r,c|h,a|d,i|h,i|o,h|o,i|h,a|o,h|r,i|d,c|d,h|r,h|o,a|h,h|d,i|o,c|h,a|r,c|r,a|d,a|r,c|r,c|o,h|h,a|o,h|d,a|h,i|r,i|d,c|o];c=1<<17,a=1<<27,i=c|a,r=1<<3,o=1<<9,d=r|o;var t=[h|d,i|o,h|h,i|r,a|o,h|h,c|d,a|o,c|r,a|r,a|r,c|h,i|d,c|r,i|h,h|d,a|h,h|r,i|o,h|o,c|o,i|h,i|r,c|d,a|d,c|o,c|h,a|d,h|r,i|d,h|o,a|h,i|o,a|h,c|r,h|d,c|h,i|o,a|o,h|h,h|o,c|r,i|d,a|o,a|r,h|o,h|h,i|r,a|d,c|h,a|h,i|d,h|r,c|d,c|o,a|r,i|h,a|d,h|d,i|h,c|d,h|r,i|r,c|o];c=1<<13,a=1<<23,i=c|a,r=1<<0,o=1<<7,d=r|o;var s=[i|r,c|d,c|d,h|o,i|o,a|d,a|r,c|r,h|h,i|h,i|h,i|d,h|d,h|h,a|o,a|r,h|r,c|h,a|h,i|r,h|o,a|h,c|r,c|o,a|d,h|r,c|o,a|o,c|h,i|o,i|d,h|d,a|o,a|r,i|h,i|d,h|d,h|h,h|h,i|h,c|o,a|o,a|d,h|r,i|r,c|d,c|d,h|o,i|d,h|d,h|r,c|h,a|r,c|r,i|o,a|d,c|r,c|o,a|h,i|r,h|o,a|h,c|h,i|o];c=1<<25,a=1<<30,i=c|a,r=1<<8,o=1<<19,d=r|o;var u=[h|r,c|d,c|o,i|r,h|o,h|r,a|h,c|o,a|d,h|o,c|r,a|d,i|r,i|o,h|d,a|h,c|h,a|o,a|o,h|h,a|r,i|d,i|d,c|r,i|o,a|r,h|h,i|h,c|d,c|h,i|h,h|d,h|o,i|r,h|r,c|h,a|h,c|o,i|r,a|d,c|r,a|h,i|o,c|d,a|d,h|r,c|h,i|o,i|d,h|d,i|h,i|d,c|o,h|h,a|o,i|h,h|d,c|r,a|r,h|o,h|h,a|o,c|d,a|r];c=1<<22,a=1<<29,i=c|a,r=1<<4,o=1<<14,d=r|o;var p=[a|r,i|h,h|o,i|d,i|h,h|r,i|d,c|h,a|o,c|d,c|h,a|r,c|r,a|o,a|h,h|d,h|h,c|r,a|d,h|o,c|o,a|d,h|r,i|r,i|r,h|h,c|d,i|o,h|d,c|o,i|o,a|h,a|o,h|r,i|r,c|o,i|d,c|h,h|d,a|r,c|h,a|o,a|h,h|d,a|r,i|d,c|o,i|h,c|d,i|o,h|h,i|r,h|r,h|o,i|h,c|d,h|o,c|r,a|d,h|h,i|o,a|h,c|r,a|d];c=1<<21,a=1<<26,i=c|a,r=1<<1,o=1<<11,d=r|o;var w=[c|h,i|r,a|d,h|h,h|o,a|d,c|d,i|o,i|d,c|h,h|h,a|r,h|r,a|h,i|r,h|d,a|o,c|d,c|r,a|o,a|r,i|h,i|o,c|r,i|h,h|o,h|d,i|d,c|o,h|r,a|h,c|o,a|h,c|o,c|h,a|d,a|d,i|r,i|r,h|r,c|r,a|h,a|o,c|h,i|o,h|d,c|d,i|o,h|d,a|r,i|d,i|h,c|o,h|h,h|r,i|d,h|h,c|d,i|h,h|o,a|r,a|o,h|o,c|r];c=1<<18,a=1<<28,i=c|a,r=1<<6,o=1<<12,d=r|o;var b=[a|d,h|o,c|h,i|d,a|h,a|d,h|r,a|h,c|r,i|h,i|d,c|o,i|o,c|d,h|o,h|r,i|h,a|r,a|o,h|d,c|o,c|r,i|r,i|o,h|d,h|h,h|h,i|r,a|r,a|o,c|d,c|h,c|d,c|h,i|o,h|o,h|r,i|r,h|o,c|d,a|o,h|r,a|r,i|h,i|r,a|h,c|h,a|d,h|h,i|d,c|r,a|r,i|h,a|o,a|d,h|h,i|d,c|o,c|o,h|d,h|d,c|r,a|h,i|o],E=function(){function A(S){g(this,A),this.keys=[];for(var T=[],L=[],x=[],C=0,O=56;C<56;++C,O-=8){O+=O<-5?65:O<-3?31:O<-1?63:O===27?35:0;var N=O&7;T[C]=(S[O>>>3]&1<<N)!==0?1:0}for(var F=0;F<16;++F){var k=F<<1,P=k+1;x[k]=x[P]=0;for(var B=28;B<59;B+=28)for(var z=B-28;z<B;++z){var R=z+v[F];L[z]=R<B?T[R]:T[R-28]}for(var U=0;U<24;++U)L[m[U]]!==0&&(x[k]|=1<<23-U),L[m[U+24]]!==0&&(x[P]|=1<<23-U)}for(var j=0,H=0,V=0;j<16;++j){var X=x[H++],W=x[H++];this.keys[V]=(X&16515072)<<6,this.keys[V]|=(X&4032)<<10,this.keys[V]|=(W&16515072)>>>10,this.keys[V]|=(W&4032)>>>6,++V,this.keys[V]=(X&258048)<<12,this.keys[V]|=(X&63)<<16,this.keys[V]|=(W&258048)>>>4,this.keys[V]|=W&63,++V}}return y(A,[{key:"enc8",value:function(T){var L=T.slice(),x=0,C,O,N;C=L[x++]<<24|L[x++]<<16|L[x++]<<8|L[x++],O=L[x++]<<24|L[x++]<<16|L[x++]<<8|L[x++],N=(C>>>4^O)&252645135,O^=N,C^=N<<4,N=(C>>>16^O)&65535,O^=N,C^=N<<16,N=(O>>>2^C)&858993459,C^=N,O^=N<<2,N=(O>>>8^C)&16711935,C^=N,O^=N<<8,O=O<<1|O>>>31&1,N=(C^O)&2863311530,C^=N,O^=N,C=C<<1|C>>>31&1;for(var F=0,k=0;F<8;++F){N=O<<28|O>>>4,N^=this.keys[k++];var P=w[N&63];P|=u[N>>>8&63],P|=t[N>>>16&63],P|=n[N>>>24&63],N=O^this.keys[k++],P|=b[N&63],P|=p[N>>>8&63],P|=s[N>>>16&63],P|=l[N>>>24&63],C^=P,N=C<<28|C>>>4,N^=this.keys[k++],P=w[N&63],P|=u[N>>>8&63],P|=t[N>>>16&63],P|=n[N>>>24&63],N=C^this.keys[k++],P|=b[N&63],P|=p[N>>>8&63],P|=s[N>>>16&63],P|=l[N>>>24&63],O^=P}for(O=O<<31|O>>>1,N=(C^O)&2863311530,C^=N,O^=N,C=C<<31|C>>>1,N=(C>>>8^O)&16711935,O^=N,C^=N<<8,N=(C>>>2^O)&858993459,O^=N,C^=N<<2,N=(O>>>16^C)&65535,C^=N,O^=N<<16,N=(O>>>4^C)&252645135,C^=N,O^=N<<4,N=[O,C],x=0;x<8;x++)L[x]=(N[x>>>2]>>>8*(3-x%4))%256,L[x]<0&&(L[x]+=256);return L}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),A}();_.default=E},iXHM:function(D,_){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var g={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};D.exports=g},iXp4:function(D,_,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function y(m){return g.browser.ie&&g.browser.version>=11?function(){var v=this.__clipPaths,h=this.style,c;if(v)for(var a=0;a<v.length;a++){var i=v[a],r=i&&i.shape,o=i&&i.type;if(r&&(o==="sector"&&r.startAngle===r.endAngle||o==="rect"&&(!r.width||!r.height))){for(var d=0;d<f.length;d++)f[d][2]=h[f[d][0]],h[f[d][0]]=f[d][1];c=!0;break}}if(m.apply(this,arguments),c)for(var d=0;d<f.length;d++)h[f[d][0]]=f[d][2]}:m}D.exports=y},iYpf:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ZLWo")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOpenOutlined";var c=y.forwardRef(h);_.default=c},ieMj:function(D,_,e){var g=e("OELB"),f=e("7aKB"),y=e("4NgU"),m=e("lE7J"),v=g.round,h=y.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(a,i){var r=this._extent;isNaN(a)||(r[0]=parseFloat(a)),isNaN(i)||(r[1]=parseFloat(i))},unionExtent:function(a){var i=this._extent;a[0]<i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1]),h.prototype.setExtent.call(this,i[0],i[1])},getInterval:function(){return this._interval},setInterval:function(a){this._interval=a,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(a)},getTicks:function(a){var i=this._interval,r=this._extent,o=this._niceExtent,d=this._intervalPrecision,n=[];if(!i)return n;var l=1e4;r[0]<o[0]&&(a?n.push(v(o[0]-i,d)):n.push(r[0]));for(var t=o[0];t<=o[1]&&!(n.push(t),t=v(t+i,d),t===n[n.length-1]);)if(n.length>l)return[];var s=n.length?n[n.length-1]:o[1];return r[1]>s&&(a?n.push(v(s+i,d)):n.push(r[1])),n},getMinorTicks:function(a){for(var i=this.getTicks(!0),r=[],o=this.getExtent(),d=1;d<i.length;d++){for(var n=i[d],l=i[d-1],t=0,s=[],u=n-l,p=u/a;t<a-1;){var w=g.round(l+(t+1)*p);w>o[0]&&w<o[1]&&s.push(w),t++}r.push(s)}return r},getLabel:function(a,i){if(a==null)return"";var r=i&&i.precision;return r==null?r=g.getPrecisionSafe(a)||0:r==="auto"&&(r=this._intervalPrecision),a=v(a,r,!0),f.addCommas(a)},niceTicks:function(a,i,r){a=a||5;var o=this._extent,d=o[1]-o[0];if(!isFinite(d))return;d<0&&(d=-d,o.reverse());var n=m.intervalScaleNiceTicks(o,a,i,r);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(a){var i=this._extent;if(i[0]===i[1])if(i[0]!==0){var r=i[0];a.fixMax||(i[1]+=r/2),i[0]-=r/2}else i[1]=1;var o=i[1]-i[0];isFinite(o)||(i[0]=0,i[1]=1),this.niceTicks(a.splitNumber,a.minInterval,a.maxInterval);var d=this._interval;a.fixMin||(i[0]=v(Math.floor(i[0]/d)*d)),a.fixMax||(i[1]=v(Math.ceil(i[1]/d)*d))}});h.create=function(){return new h};var c=h;D.exports=c},j5sG:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var y=function(v){var h=void 0,c=[],a=(0,g.default)(function(){c.forEach(function(n){n(v)})}),i=function(){var l=new ResizeObserver(a);return l.observe(v),a(),l},r=function(l){h||(h=i()),c.indexOf(l)===-1&&c.push(l)},o=function(){h.disconnect(),c=[],h=void 0},d=function(l){var t=c.indexOf(l);t!==-1&&c.splice(t,1),c.length===0&&h&&o()};return{element:v,bind:r,destroy:o,unbind:d}};_.createSensor=y},jCoz:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),y=e("OELB"),m=e("ieMj"),v=f.prototype,h=m.prototype,c=y.getPrecisionSafe,a=y.round,i=Math.floor,r=Math.ceil,o=Math.pow,d=Math.log,n=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var u=this._originalScale,p=this._extent,w=u.getExtent();return g.map(h.getTicks.call(this,s),function(b){var E=y.round(o(this.base,b));return E=b===p[0]&&u.__fixMin?l(E,w[0]):E,E=b===p[1]&&u.__fixMax?l(E,w[1]):E,E},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=v.scale.call(this,s),o(this.base,s)},setExtent:function(s,u){var p=this.base;s=d(s)/d(p),u=d(u)/d(p),h.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=v.getExtent.call(this);u[0]=o(s,u[0]),u[1]=o(s,u[1]);var p=this._originalScale,w=p.getExtent();return p.__fixMin&&(u[0]=l(u[0],w[0])),p.__fixMax&&(u[1]=l(u[1],w[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=d(s[0])/d(u),s[1]=d(s[1])/d(u),v.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,p=u[1]-u[0];if(p===Infinity||p<=0)return;var w=y.quantity(p),b=s/p*w;for(b<=.5&&(w*=10);!isNaN(w)&&Math.abs(w)<1&&Math.abs(w)>0;)w*=10;var E=[y.round(r(u[0]/w)*w),y.round(i(u[1]/w)*w)];this._interval=w,this._niceExtent=E},niceExtent:function(s){h.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});g.each(["contain","normalize"],function(s){n.prototype[s]=function(u){return u=d(u)/d(this.base),v[s].call(this,u)}}),n.create=function(){return new n};function l(s,u){return a(s,c(u))}var t=n;D.exports=t},jN4g:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseCircleFilled";var h=_.a=g.forwardRef(v)},jO45:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CheckCircleFilled";var h=_.a=g.forwardRef(v)},jTL6:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,v){var h=v.cx,c=v.cy,a=Math.max(v.r,0),i=v.startAngle,r=v.endAngle,o=v.clockwise,d=Math.cos(i),n=Math.sin(i);m.moveTo(d*a+h,n*a+c),m.arc(h,c,a,i,r,!o)}});D.exports=f},je13:function(D,_,e){var g=e("5nXd"),f=e("gRFJ"),y=[e("uQRt")];D.exports=g.createStore(f,y)},jett:function(D,_,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),y=e("f5Yq"),m=e("hw6D"),v=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(y("radar","circle")),g.registerLayout(m),g.registerProcessor(v("radar")),g.registerPreprocessor(h)},jhfD:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ArrowLeftOutlined";var h=_.a=g.forwardRef(v)},jkPA:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.isObject,m=g.map;function v(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}v.createByAxisModel=function(r){var o=r.option,d=o.data,n=d&&m(d,a);return new v({categories:n,needCollect:!n,deduplication:o.dedplication!==!1})};var h=v.prototype;h.getOrdinal=function(r){return c(this).get(r)},h.parseAndCollect=function(r){var o,d=this._needCollect;if(typeof r!="string"&&!d)return r;if(d&&!this._deduplication)return o=this.categories.length,this.categories[o]=r,o;var n=c(this);return o=n.get(r),o==null&&(d?(o=this.categories.length,this.categories[o]=r,n.set(r,o)):o=NaN),o};function c(r){return r._map||(r._map=f(r.categories))}function a(r){return y(r)&&r.value!=null?r.value:r+""}var i=v;D.exports=i},jndi:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YXkt"),m=e("OELB"),v=e("IwbS"),h=e("kj2x"),c=e("iPDy"),a=function(t,s,u,p){var w=h.dataTransform(t,p[0]),b=h.dataTransform(t,p[1]),E=g.retrieve,A=w.coord,S=b.coord;A[0]=E(A[0],-Infinity),A[1]=E(A[1],-Infinity),S[0]=E(S[0],Infinity),S[1]=E(S[1],Infinity);var T=g.mergeAll([{},w,b]);return T.coord=[w.coord,b.coord],T.x0=w.x,T.y0=w.y,T.x1=b.x,T.y1=b.y,T};function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,s,u,p){var w=1-t;return i(s[w])&&i(u[w])}function o(t,s){var u=s.coord[0],p=s.coord[1];return t.type==="cartesian2d"&&(u&&p&&(r(1,u,p,t)||r(0,u,p,t)))?!0:h.dataFilter(t,{coord:u,x:s.x0,y:s.y0})||h.dataFilter(t,{coord:p,x:s.x1,y:s.y1})}function d(t,s,u,p,w){var b=p.coordinateSystem,E=t.getItemModel(s),A,S=m.parsePercent(E.get(u[0]),w.getWidth()),T=m.parsePercent(E.get(u[1]),w.getHeight());if(!isNaN(S)&&!isNaN(T))A=[S,T];else{if(p.getMarkerPosition)A=p.getMarkerPosition(t.getValues(u,s));else{var L=t.get(u[0],s),x=t.get(u[1],s),C=[L,x];b.clampData&&b.clampData(C,C),A=b.dataToPoint(C,!0)}if(b.type==="cartesian2d"){var O=b.getAxis("x"),N=b.getAxis("y"),L=t.get(u[0],s),x=t.get(u[1],s);i(L)?A[0]=O.toGlobalCoord(O.getExtent()[u[0]==="x0"?0:1]):i(x)&&(A[1]=N.toGlobalCoord(N.getExtent()[u[1]==="y0"?0:1]))}isNaN(S)||(A[0]=S),isNaN(T)||(A[1]=T)}return A}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,s,u){s.eachSeries(function(p){var w=p.markAreaModel;if(w){var b=w.getData();b.each(function(E){var A=g.map(n,function(T){return d(b,E,T,p,u)});b.setItemLayout(E,A);var S=b.getItemGraphicEl(E);S.setShape("points",A)})}},this)},renderSeries:function(t,s,u,p){var w=t.coordinateSystem,b=t.id,E=t.getData(),A=this.markerGroupMap,S=A.get(b)||A.set(b,{group:new v.Group});this.group.add(S.group),S.__keep=!0;var T=l(w,t,s);s.setData(T),T.each(function(L){T.setItemLayout(L,g.map(n,function(x){return d(T,L,x,t,p)})),T.setItemVisual(L,{color:E.getVisual("color")})}),T.diff(S.__data).add(function(L){var x=new v.Polygon({shape:{points:T.getItemLayout(L)}});T.setItemGraphicEl(L,x),S.group.add(x)}).update(function(L,x){var C=S.__data.getItemGraphicEl(x);v.updateProps(C,{shape:{points:T.getItemLayout(L)}},s,L),S.group.add(C),T.setItemGraphicEl(L,C)}).remove(function(L){var x=S.__data.getItemGraphicEl(L);S.group.remove(x)}).execute(),T.eachItemGraphicEl(function(L,x){var C=T.getItemModel(x),O=C.getModel("label"),N=C.getModel("emphasis.label"),F=T.getItemVisual(x,"color");L.useStyle(g.defaults(C.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(F,.4),stroke:F})),L.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(L.style,L.hoverStyle,O,N,{labelFetcher:s,labelDataIndex:x,defaultText:T.getName(x)||"",isRectText:!0,autoColor:F}),v.setHoverStyle(L,{}),L.dataModel=s}),S.__data=T,S.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,u){var p,w,b=["x0","y0","x1","y1"];t?(p=g.map(t&&t.dimensions,function(S){var T=s.getData(),L=T.getDimensionInfo(T.mapDimension(S))||{};return g.defaults({name:S},L)}),w=new y(g.map(b,function(S,T){return{name:S,type:p[T%2].type}}),u)):(p=[{name:"value",type:"float"}],w=new y(p,u));var E=g.map(u.get("data"),g.curry(a,s,t,u));t&&(E=g.filter(E,g.curry(o,t)));var A=t?function(S,T,L,x){return S.coord[Math.floor(x/2)][x%2]}:function(S){return S.value};return w.initData(E,null,A),w.hasItemOption=!0,w}},"jsU+":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IUWy"),m=g.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(h,c){var a=y.get(c);a&&f.merge(h,a.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),v=m;D.exports=v},jtI2:function(D,_,e){e("SMc4");var g=e("bLfw"),f=g.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});D.exports=f},juDX:function(D,_,e){e("P47w");var g=e("aX58"),f=g.registerPainter,y=e("3CBa");f("svg",y)},"k+1r":function(D,_,e){var g=e("QkVE");function f(y){var m=g(this,y).delete(y);return this.size-=m?1:0,m}D.exports=f},k5C7:function(D,_,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(D,_){var e="original",g="arrayRows",f="objectRows",y="keyedColumns",m="unknown",v="typedArray",h="column",c="row";_.SOURCE_FORMAT_ORIGINAL=e,_.SOURCE_FORMAT_ARRAY_ROWS=g,_.SOURCE_FORMAT_OBJECT_ROWS=f,_.SOURCE_FORMAT_KEYED_COLUMNS=y,_.SOURCE_FORMAT_UNKNOWN=m,_.SOURCE_FORMAT_TYPED_ARRAY=v,_.SERIES_LAYOUT_BY_COLUMN=h,_.SERIES_LAYOUT_BY_ROW=c},kDyi:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(y){for(var m=0;m<f.length;m++)if(!f[m].isSelected(y.name))return!1;return!0})}D.exports=e},kGiB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},kMLO:function(D,_,e){var g=e("XxSj"),f=e("Qe9p"),y=e("bYtY"),m=y.isArray,v="itemStyle",h={seriesType:"treemap",reset:function(t,s,u,p){var w=t.getData().tree,b=w.root,E=t.getModel(v);if(b.isRemoved())return;var A=y.map(w.levelModels,function(S){return S?S.get(v):null});c(b,{},A,E,t.getViewRoot().getAncestors(),t)}};function c(t,s,u,p,w,b){var E=t.getModel(),A=t.getLayout();if(!A||A.invisible||!A.isInView)return;var S=t.getModel(v),T=u[t.depth],L=a(S,s,T,p),x=S.get("borderColor"),C=S.get("borderColorSaturation"),O;C!=null&&(O=i(L,t),x=r(C,O)),t.setVisual("borderColor",x);var N=t.viewChildren;if(!N||!N.length)O=i(L,t),t.setVisual("color",O);else{var F=d(t,E,A,S,L,N);y.each(N,function(k,P){if(k.depth>=w.length||k===w[k.depth]){var B=l(E,L,k,P,F,b);c(k,B,u,p,w,b)}})}}function a(t,s,u,p){var w=y.extend({},s);return y.each(["color","colorAlpha","colorSaturation"],function(b){var E=t.get(b,!0);E==null&&u&&(E=u[b]),E==null&&(E=s[b]),E==null&&(E=p.get(b)),E!=null&&(w[b]=E)}),w}function i(t){var s=o(t,"color");if(s){var u=o(t,"colorAlpha"),p=o(t,"colorSaturation");return p&&(s=f.modifyHSL(s,null,null,p)),u&&(s=f.modifyAlpha(s,u)),s}}function r(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function o(t,s){var u=t[s];if(u!=null&&u!=="none")return u}function d(t,s,u,p,w,b){if(!b||!b.length)return;var E=n(s,"color")||w.color!=null&&w.color!=="none"&&(n(s,"colorAlpha")||n(s,"colorSaturation"));if(!E)return;var A=s.get("visualMin"),S=s.get("visualMax"),T=u.dataExtent.slice();A!=null&&A<T[0]&&(T[0]=A),S!=null&&S>T[1]&&(T[1]=S);var L=s.get("colorMappingBy"),x={type:E.name,dataExtent:T,visual:E.range};x.type==="color"&&(L==="index"||L==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var C=new g(x);return C.__drColorMappingBy=L,C}function n(t,s){var u=t.get(s);return m(u)&&u.length?{name:s,range:u}:null}function l(t,s,u,p,w,b){var E=y.extend({},s);if(w){var A=w.type,S=A==="color"&&w.__drColorMappingBy,T=S==="index"?p:S==="id"?b.mapIdToIndex(u.getId()):u.getValue(t.get("visualDimension"));E[A]=w.mapValueToVisual(T)}return E}D.exports=h},"kVK+":function(D,_){_.read=function(e,g,f,y,m){var v,h,c=m*8-y-1,a=(1<<c)-1,i=a>>1,r=-7,o=f?m-1:0,d=f?-1:1,n=e[g+o];for(o+=d,v=n&(1<<-r)-1,n>>=-r,r+=c;r>0;v=v*256+e[g+o],o+=d,r-=8);for(h=v&(1<<-r)-1,v>>=-r,r+=y;r>0;h=h*256+e[g+o],o+=d,r-=8);if(v===0)v=1-i;else{if(v===a)return h?NaN:(n?-1:1)*Infinity;h=h+Math.pow(2,y),v=v-i}return(n?-1:1)*h*Math.pow(2,v-y)},_.write=function(e,g,f,y,m,v){var h,c,a,i=v*8-m-1,r=(1<<i)-1,o=r>>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,n=y?0:v-1,l=y?1:-1,t=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===Infinity?(c=isNaN(g)?1:0,h=r):(h=Math.floor(Math.log(g)/Math.LN2),g*(a=Math.pow(2,-h))<1&&(h--,a*=2),h+o>=1?g+=d/a:g+=d*Math.pow(2,1-o),g*a>=2&&(h++,a/=2),h+o>=r?(c=0,h=r):h+o>=1?(c=(g*a-1)*Math.pow(2,m),h=h+o):(c=g*Math.pow(2,o-1)*Math.pow(2,m),h=0));m>=8;e[f+n]=c&255,n+=l,c/=256,m-=8);for(h=h<<m|c,i+=m;i>0;e[f+n]=h&255,n+=l,h/=256,i-=8);e[f+n-l]|=t*128}},kekF:function(D,_){function e(g,f){return function(y){return g(f(y))}}D.exports=e},kj2x:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("7hqr"),m=y.isDimensionStacked,v=g.indexOf;function h(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function c(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function a(u,p,w,b,E,A){var S=[],T=m(p,b),L=T?p.getCalculationInfo("stackResultDimension"):b,x=s(p,L,u),C=p.indicesOfNearest(L,x)[0];S[E]=p.get(w,C),S[A]=p.get(L,C);var O=p.get(b,C),N=f.getPrecision(p.get(b,C));return N=Math.min(N,20),N>=0&&(S[A]=+S[A].toFixed(N)),[S,O]}var i=g.curry,r={min:i(a,"min"),max:i(a,"max"),average:i(a,"average")};function o(u,p){var w=u.getData(),b=u.coordinateSystem;if(p&&!c(p)&&!g.isArray(p.coord)&&b){var E=b.dimensions,A=d(p,w,b,u);if(p=g.clone(p),p.type&&r[p.type]&&A.baseAxis&&A.valueAxis){var S=v(E,A.baseAxis.dim),T=v(E,A.valueAxis.dim),L=r[p.type](w,A.baseDataDim,A.valueDataDim,S,T);p.coord=L[0],p.value=L[1]}else{for(var x=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],C=0;C<2;C++)r[x[C]]&&(x[C]=s(w,w.mapDimension(E[C]),x[C]));p.coord=x}}return p}function d(u,p,w,b){var E={};return u.valueIndex!=null||u.valueDim!=null?(E.valueDataDim=u.valueIndex!=null?p.getDimension(u.valueIndex):u.valueDim,E.valueAxis=w.getAxis(n(b,E.valueDataDim)),E.baseAxis=w.getOtherAxis(E.valueAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim)):(E.baseAxis=b.getBaseAxis(),E.valueAxis=w.getOtherAxis(E.baseAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim),E.valueDataDim=p.mapDimension(E.valueAxis.dim)),E}function n(u,p){var w=u.getData(),b=w.dimensions;p=w.getDimension(p);for(var E=0;E<b.length;E++){var A=w.getDimensionInfo(b[E]);if(A.name===p)return A.coordDim}}function l(u,p){return u&&u.containData&&p.coord&&!h(p)?u.containData(p.coord):!0}function t(u,p,w,b){return b<2?u.coord&&u.coord[b]:u.value}function s(u,p,w){if(w==="average"){var b=0,E=0;return u.each(p,function(A,S){isNaN(A)||(b+=A,E++)}),b/E}else return w==="median"?u.getMedian(p):u.getDataExtent(p,!0)[w==="max"?1:0]}_.dataTransform=o,_.getAxisInfo=d,_.dataFilter=l,_.dimValueGetter=t,_.numCalculate=s},knOB:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function y(v,h){f.call(this,"radius",v,h),this.type="category"}y.prototype={constructor:y,pointToData:function(v,h){return this.polar.pointToData(v,h)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},g.inherits(y,f);var m=y;D.exports=m},ko1b:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),m=e("Qxkt"),v=e("7aKB"),h=v.encodeHTML,c=v.addCommas,a=e("VaxA"),i=a.wrapTreePathInfo,r=f.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,l){var t={name:n.name,children:n.data};o(t);var s=n.levels||[];s=n.levels=d(s,l);var u=g.map(s||[],function(b){return new m(b,this,l)},this),p=y.createTree(t,this,null,w);function w(b){b.wrapMethod("getItemModel",function(E,A){var S=p.getNodeByDataIndex(A),T=u[S.depth];return T&&(E.parentModel=T),E})}return p.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),s=g.isArray(t)?c(t[0]):c(t),u=l.getName(n);return h(u+": "+s)},getDataParams:function(n){var l=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=i(t,this),l},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var l=this._idIndexMap;l||(l=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var t=l.get(n);return t==null&&l.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var l=this.getRawData().tree.root;(!n||n!==l&&!l.contains(n))&&(this._viewRoot=l)}});function o(n){var l=0;g.each(n.children,function(s){o(s);var u=s.value;g.isArray(u)&&(u=u[0]),l+=u});var t=n.value;g.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),g.isArray(n.value)?n.value[0]=t:n.value=t}function d(n,l){var t=l.get("color");if(!t)return;n=n||[];var s;if(g.each(n,function(p){var w=new m(p),b=w.get("color");(w.get("itemStyle.color")||b&&b!=="none")&&(s=!0)}),!s){var u=n[0]||(n[0]={});u.color=t.slice()}return n}D.exports=r},kzFp:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=_.pick=function(y,m){var v={};return m.forEach(function(h){v[h]=y[h]}),v}},kzvK:function(D,_,e){var g=e("sS/r"),f=g.extend({type:"timeline"});D.exports=f},"l+S1":function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="SearchOutlined";var h=_.a=g.forwardRef(v)},lE7J:function(D,_,e){var g=e("OELB"),f=g.round;function y(c,a,i,r){var o={},d=c[1]-c[0],n=o.interval=g.nice(d/a,!0);i!=null&&n<i&&(n=o.interval=i),r!=null&&n>r&&(n=o.interval=r);var l=o.intervalPrecision=m(n),t=o.niceTickExtent=[f(Math.ceil(c[0]/n)*n,l),f(Math.floor(c[1]/n)*n,l)];return h(t,c),o}function m(c){return g.getPrecisionSafe(c)+2}function v(c,a,i){c[a]=Math.max(Math.min(c[a],i[1]),i[0])}function h(c,a){!isFinite(c[0])&&(c[0]=a[0]),!isFinite(c[1])&&(c[1]=a[1]),v(c,0,a),v(c,1,a),c[0]>c[1]&&(c[0]=c[1])}_.intervalScaleNiceTicks=y,_.getIntervalPrecision=m,_.fixExtent=h},lELe:function(D,_,e){var g=e("bYtY");function f(y){var m=[];g.each(y.series,function(v){v&&v.type==="map"&&(m.push(v),v.map=v.map||v.mapType,g.defaults(v,v.mapLocation))})}D.exports=f},lLGD:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("nVfU"),m=y.layout,v=y.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),g.registerLayout(g.PRIORITY.VISUAL.LAYOUT,f.curry(m,"bar")),g.registerLayout(g.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,v),g.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(D,_,e){"use strict";function g(be){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(dt){return typeof dt}:g=function(dt){return dt&&typeof Symbol=="function"&&dt.constructor===Symbol&&dt!==Symbol.prototype?"symbol":typeof dt},g(be)}Object.defineProperty(_,"__esModule",{value:!0}),_.deflateInit=Ve,_.deflateInit2=ot,_.deflateReset=et,_.deflateResetKeep=Xe,_.deflateSetHeader=tt,_.deflate=se,_.deflateEnd=re,_.deflateSetDictionary=it,_.deflateInfo=_.Z_DEFLATED=_.Z_UNKNOWN=_.Z_DEFAULT_STRATEGY=_.Z_FIXED=_.Z_RLE=_.Z_HUFFMAN_ONLY=_.Z_FILTERED=_.Z_DEFAULT_COMPRESSION=_.Z_BUF_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_STREAM_END=_.Z_OK=_.Z_BLOCK=_.Z_FINISH=_.Z_FULL_FLUSH=_.Z_PARTIAL_FLUSH=_.Z_NO_FLUSH=void 0;var f=i(e("6BzB")),y=i(e("c5fP")),m=c(e("xlC8")),v=c(e("QV2g")),h=c(e("xSIq"));function c(be){return be&&be.__esModule?be:{default:be}}function a(){if(typeof WeakMap!="function")return null;var be=new WeakMap;return a=function(){return be},be}function i(be){if(be&&be.__esModule)return be;if(be===null||g(be)!=="object"&&typeof be!="function")return{default:be};var Zt=a();if(Zt&&Zt.has(be))return Zt.get(be);var dt={},ct=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var yt in be)if(Object.prototype.hasOwnProperty.call(be,yt)){var _t=ct?Object.getOwnPropertyDescriptor(be,yt):null;_t&&(_t.get||_t.set)?Object.defineProperty(dt,yt,_t):dt[yt]=be[yt]}return dt.default=be,Zt&&Zt.set(be,dt),dt}var r=0;_.Z_NO_FLUSH=r;var o=1;_.Z_PARTIAL_FLUSH=o;var d=3;_.Z_FULL_FLUSH=d;var n=4;_.Z_FINISH=n;var l=5;_.Z_BLOCK=l;var t=0;_.Z_OK=t;var s=1;_.Z_STREAM_END=s;var u=-2;_.Z_STREAM_ERROR=u;var p=-3;_.Z_DATA_ERROR=p;var w=-5;_.Z_BUF_ERROR=w;var b=-1;_.Z_DEFAULT_COMPRESSION=b;var E=1;_.Z_FILTERED=E;var A=2;_.Z_HUFFMAN_ONLY=A;var S=3;_.Z_RLE=S;var T=4;_.Z_FIXED=T;var L=0;_.Z_DEFAULT_STRATEGY=L;var x=2;_.Z_UNKNOWN=x;var C=8;_.Z_DEFLATED=C;var O=9,N=15,F=8,k=29,P=256,B=P+1+k,z=30,R=19,U=2*B+1,j=15,H=3,V=258,X=V+H+1,W=32,G=42,$=69,ge=73,q=91,Se=103,Ce=113,Ae=666,Ue=1,Qe=2,gt=3,_e=4,Oe=3;function lt(be,Zt){return be.msg=h.default[Zt],Zt}function ce(be){return(be<<1)-(be>4?9:0)}function Y(be){for(var Zt=be.length;--Zt>=0;)be[Zt]=0}function K(be){var Zt=be.state,dt=Zt.pending;if(dt>be.avail_out&&(dt=be.avail_out),dt===0)return;f.arraySet(be.output,Zt.pending_buf,Zt.pending_out,dt,be.next_out),be.next_out+=dt,Zt.pending_out+=dt,be.total_out+=dt,be.avail_out-=dt,Zt.pending-=dt,Zt.pending===0&&(Zt.pending_out=0)}function Q(be,Zt){y._tr_flush_block(be,be.block_start>=0?be.block_start:-1,be.strstart-be.block_start,Zt),be.block_start=be.strstart,K(be.strm)}function ye(be,Zt){be.pending_buf[be.pending++]=Zt}function ue(be,Zt){be.pending_buf[be.pending++]=Zt>>>8&255,be.pending_buf[be.pending++]=Zt&255}function Ne(be,Zt,dt,ct){var yt=be.avail_in;return yt>ct&&(yt=ct),yt===0?0:(be.avail_in-=yt,f.arraySet(Zt,be.input,be.next_in,yt,dt),be.state.wrap===1?be.adler=(0,m.default)(be.adler,Zt,yt,dt):be.state.wrap===2&&(be.adler=(0,v.default)(be.adler,Zt,yt,dt)),be.next_in+=yt,be.total_in+=yt,yt)}function Te(be,Zt){var dt=be.max_chain_length,ct=be.strstart,yt,_t,or=be.prev_length,Bt=be.nice_match,we=be.strstart>be.w_size-X?be.strstart-(be.w_size-X):0,ve=be.window,me=be.w_mask,he=be.prev,Re=be.strstart+V,He=ve[ct+or-1],ze=ve[ct+or];be.prev_length>=be.good_match&&(dt>>=2),Bt>be.lookahead&&(Bt=be.lookahead);do{if(yt=Zt,ve[yt+or]!==ze||ve[yt+or-1]!==He||ve[yt]!==ve[ct]||ve[++yt]!==ve[ct+1])continue;ct+=2,yt++;do;while(ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ve[++ct]===ve[++yt]&&ct<Re);if(_t=V-(Re-ct),ct=Re-V,_t>or){if(be.match_start=Zt,or=_t,_t>=Bt)break;He=ve[ct+or-1],ze=ve[ct+or]}}while((Zt=he[Zt&me])>we&&--dt!==0);return or<=be.lookahead?or:be.lookahead}function oe(be){var Zt=be.w_size,dt,ct,yt,_t,or;do{if(_t=be.window_size-be.lookahead-be.strstart,be.strstart>=Zt+(Zt-X)){f.arraySet(be.window,be.window,Zt,Zt,0),be.match_start-=Zt,be.strstart-=Zt,be.block_start-=Zt,ct=be.hash_size,dt=ct;do yt=be.head[--dt],be.head[dt]=yt>=Zt?yt-Zt:0;while(--ct);ct=Zt,dt=ct;do yt=be.prev[--dt],be.prev[dt]=yt>=Zt?yt-Zt:0;while(--ct);_t+=Zt}if(be.strm.avail_in===0)break;if(ct=Ne(be.strm,be.window,be.strstart+be.lookahead,_t),be.lookahead+=ct,be.lookahead+be.insert>=H)for(or=be.strstart-be.insert,be.ins_h=be.window[or],be.ins_h=(be.ins_h<<be.hash_shift^be.window[or+1])&be.hash_mask;be.insert&&!(be.ins_h=(be.ins_h<<be.hash_shift^be.window[or+H-1])&be.hash_mask,be.prev[or&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=or,or++,be.insert--,be.lookahead+be.insert<H););}while(be.lookahead<X&&be.strm.avail_in!==0)}function de(be,Zt){var dt=65535;for(dt>be.pending_buf_size-5&&(dt=be.pending_buf_size-5);;){if(be.lookahead<=1){if(oe(be),be.lookahead===0&&Zt===r)return Ue;if(be.lookahead===0)break}be.strstart+=be.lookahead,be.lookahead=0;var ct=be.block_start+dt;if((be.strstart===0||be.strstart>=ct)&&(be.lookahead=be.strstart-ct,be.strstart=ct,Q(be,!1),be.strm.avail_out===0))return Ue;if(be.strstart-be.block_start>=be.w_size-X&&(Q(be,!1),be.strm.avail_out===0))return Ue}return be.insert=0,Zt===n?(Q(be,!0),be.strm.avail_out===0?gt:_e):(be.strstart>be.block_start&&(Q(be,!1),be.strm.avail_out===0),Ue)}function Le(be,Zt){for(var dt,ct;;){if(be.lookahead<X){if(oe(be),be.lookahead<X&&Zt===r)return Ue;if(be.lookahead===0)break}if(dt=0,be.lookahead>=H&&(be.ins_h=(be.ins_h<<be.hash_shift^be.window[be.strstart+H-1])&be.hash_mask,dt=be.prev[be.strstart&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=be.strstart),dt!==0&&be.strstart-dt<=be.w_size-X&&(be.match_length=Te(be,dt)),be.match_length>=H)if(ct=y._tr_tally(be,be.strstart-be.match_start,be.match_length-H),be.lookahead-=be.match_length,be.match_length<=be.max_lazy_match&&be.lookahead>=H){be.match_length--;do be.strstart++,be.ins_h=(be.ins_h<<be.hash_shift^be.window[be.strstart+H-1])&be.hash_mask,dt=be.prev[be.strstart&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=be.strstart;while(--be.match_length!==0);be.strstart++}else be.strstart+=be.match_length,be.match_length=0,be.ins_h=be.window[be.strstart],be.ins_h=(be.ins_h<<be.hash_shift^be.window[be.strstart+1])&be.hash_mask;else ct=y._tr_tally(be,0,be.window[be.strstart]),be.lookahead--,be.strstart++;if(ct&&(Q(be,!1),be.strm.avail_out===0))return Ue}return be.insert=be.strstart<H-1?be.strstart:H-1,Zt===n?(Q(be,!0),be.strm.avail_out===0?gt:_e):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?Ue:Qe}function Ge(be,Zt){for(var dt,ct,yt;;){if(be.lookahead<X){if(oe(be),be.lookahead<X&&Zt===r)return Ue;if(be.lookahead===0)break}if(dt=0,be.lookahead>=H&&(be.ins_h=(be.ins_h<<be.hash_shift^be.window[be.strstart+H-1])&be.hash_mask,dt=be.prev[be.strstart&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=be.strstart),be.prev_length=be.match_length,be.prev_match=be.match_start,be.match_length=H-1,dt!==0&&be.prev_length<be.max_lazy_match&&be.strstart-dt<=be.w_size-X&&(be.match_length=Te(be,dt),be.match_length<=5&&(be.strategy===E||be.match_length===H&&be.strstart-be.match_start>4096)&&(be.match_length=H-1)),be.prev_length>=H&&be.match_length<=be.prev_length){yt=be.strstart+be.lookahead-H,ct=y._tr_tally(be,be.strstart-1-be.prev_match,be.prev_length-H),be.lookahead-=be.prev_length-1,be.prev_length-=2;do++be.strstart<=yt&&(be.ins_h=(be.ins_h<<be.hash_shift^be.window[be.strstart+H-1])&be.hash_mask,dt=be.prev[be.strstart&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=be.strstart);while(--be.prev_length!==0);if(be.match_available=0,be.match_length=H-1,be.strstart++,ct&&(Q(be,!1),be.strm.avail_out===0))return Ue}else if(be.match_available){if(ct=y._tr_tally(be,0,be.window[be.strstart-1]),ct&&Q(be,!1),be.strstart++,be.lookahead--,be.strm.avail_out===0)return Ue}else be.match_available=1,be.strstart++,be.lookahead--}return be.match_available&&(ct=y._tr_tally(be,0,be.window[be.strstart-1]),be.match_available=0),be.insert=be.strstart<H-1?be.strstart:H-1,Zt===n?(Q(be,!0),be.strm.avail_out===0?gt:_e):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?Ue:Qe}function ht(be,Zt){for(var dt,ct,yt,_t,or=be.window;;){if(be.lookahead<=V){if(oe(be),be.lookahead<=V&&Zt===r)return Ue;if(be.lookahead===0)break}if(be.match_length=0,be.lookahead>=H&&be.strstart>0&&(yt=be.strstart-1,ct=or[yt],ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt])){_t=be.strstart+V;do;while(ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&yt<_t);be.match_length=V-(_t-yt),be.match_length>be.lookahead&&(be.match_length=be.lookahead)}if(be.match_length>=H?(dt=y._tr_tally(be,1,be.match_length-H),be.lookahead-=be.match_length,be.strstart+=be.match_length,be.match_length=0):(dt=y._tr_tally(be,0,be.window[be.strstart]),be.lookahead--,be.strstart++),dt&&(Q(be,!1),be.strm.avail_out===0))return Ue}return be.insert=0,Zt===n?(Q(be,!0),be.strm.avail_out===0?gt:_e):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?Ue:Qe}function Et(be,Zt){for(var dt;;){if(be.lookahead===0&&(oe(be),be.lookahead===0)){if(Zt===r)return Ue;break}if(be.match_length=0,dt=y._tr_tally(be,0,be.window[be.strstart]),be.lookahead--,be.strstart++,dt&&(Q(be,!1),be.strm.avail_out===0))return Ue}return be.insert=0,Zt===n?(Q(be,!0),be.strm.avail_out===0?gt:_e):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?Ue:Qe}function Be(be,Zt,dt,ct,yt){this.good_length=be,this.max_lazy=Zt,this.nice_length=dt,this.max_chain=ct,this.func=yt}var Dt;Dt=[new Be(0,0,0,0,de),new Be(4,4,8,4,Le),new Be(4,5,16,8,Le),new Be(4,6,32,32,Le),new Be(4,4,16,16,Ge),new Be(8,16,32,32,Ge),new Be(8,16,128,128,Ge),new Be(8,32,128,256,Ge),new Be(32,128,258,1024,Ge),new Be(32,258,258,4096,Ge)];function Ke(be){be.window_size=2*be.w_size,Y(be.head),be.max_lazy_match=Dt[be.level].max_lazy,be.good_match=Dt[be.level].good_length,be.nice_match=Dt[be.level].nice_length,be.max_chain_length=Dt[be.level].max_chain,be.strstart=0,be.block_start=0,be.lookahead=0,be.insert=0,be.match_length=be.prev_length=H-1,be.match_available=0,be.ins_h=0}function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new f.Buf16(U*2),this.dyn_dtree=new f.Buf16((2*z+1)*2),this.bl_tree=new f.Buf16((2*R+1)*2),Y(this.dyn_ltree),Y(this.dyn_dtree),Y(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(j+1),this.heap=new f.Buf16(2*B+1),Y(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*B+1),Y(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xe(be){var Zt;return!be||!be.state?lt(be,u):(be.total_in=be.total_out=0,be.data_type=x,Zt=be.state,Zt.pending=0,Zt.pending_out=0,Zt.wrap<0&&(Zt.wrap=-Zt.wrap),Zt.status=Zt.wrap?G:Ce,be.adler=Zt.wrap===2?0:1,Zt.last_flush=r,y._tr_init(Zt),t)}function et(be){var Zt=Xe(be);return Zt===t&&Ke(be.state),Zt}function tt(be,Zt){return!be||!be.state||be.state.wrap!==2?u:(be.state.gzhead=Zt,t)}function ot(be,Zt,dt,ct,yt,_t){if(!be)return u;var or=1;if(Zt===b&&(Zt=6),ct<0?(or=0,ct=-ct):ct>15&&(or=2,ct-=16),yt<1||yt>O||dt!==C||ct<8||ct>15||Zt<0||Zt>9||_t<0||_t>T)return lt(be,u);ct===8&&(ct=9);var Bt=new At;return be.state=Bt,Bt.strm=be,Bt.wrap=or,Bt.gzhead=null,Bt.w_bits=ct,Bt.w_size=1<<Bt.w_bits,Bt.w_mask=Bt.w_size-1,Bt.hash_bits=yt+7,Bt.hash_size=1<<Bt.hash_bits,Bt.hash_mask=Bt.hash_size-1,Bt.hash_shift=~~((Bt.hash_bits+H-1)/H),Bt.window=new f.Buf8(Bt.w_size*2),Bt.head=new f.Buf16(Bt.hash_size),Bt.prev=new f.Buf16(Bt.w_size),Bt.lit_bufsize=1<<yt+6,Bt.pending_buf_size=Bt.lit_bufsize*4,Bt.pending_buf=new f.Buf8(Bt.pending_buf_size),Bt.d_buf=1*Bt.lit_bufsize,Bt.l_buf=(1+2)*Bt.lit_bufsize,Bt.level=Zt,Bt.strategy=_t,Bt.method=dt,et(be)}function Ve(be,Zt){return ot(be,Zt,C,N,F,L)}function se(be,Zt){var dt,ct,yt,_t;if(!be||!be.state||Zt>l||Zt<0)return be?lt(be,u):u;if(ct=be.state,!be.output||!be.input&&be.avail_in!==0||ct.status===Ae&&Zt!==n)return lt(be,be.avail_out===0?w:u);if(ct.strm=be,dt=ct.last_flush,ct.last_flush=Zt,ct.status===G)if(ct.wrap===2)be.adler=0,ye(ct,31),ye(ct,139),ye(ct,8),ct.gzhead?(ye(ct,(ct.gzhead.text?1:0)+(ct.gzhead.hcrc?2:0)+(ct.gzhead.extra?4:0)+(ct.gzhead.name?8:0)+(ct.gzhead.comment?16:0)),ye(ct,ct.gzhead.time&255),ye(ct,ct.gzhead.time>>8&255),ye(ct,ct.gzhead.time>>16&255),ye(ct,ct.gzhead.time>>24&255),ye(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),ye(ct,ct.gzhead.os&255),ct.gzhead.extra&&ct.gzhead.extra.length&&(ye(ct,ct.gzhead.extra.length&255),ye(ct,ct.gzhead.extra.length>>8&255)),ct.gzhead.hcrc&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending,0)),ct.gzindex=0,ct.status=$):(ye(ct,0),ye(ct,0),ye(ct,0),ye(ct,0),ye(ct,0),ye(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),ye(ct,Oe),ct.status=Ce);else{var or=C+(ct.w_bits-8<<4)<<8,Bt=-1;ct.strategy>=A||ct.level<2?Bt=0:ct.level<6?Bt=1:ct.level===6?Bt=2:Bt=3,or|=Bt<<6,ct.strstart!==0&&(or|=W),or+=31-or%31,ct.status=Ce,ue(ct,or),ct.strstart!==0&&(ue(ct,be.adler>>>16),ue(ct,be.adler&65535)),be.adler=1}if(ct.status===$)if(ct.gzhead.extra){for(yt=ct.pending;ct.gzindex<(ct.gzhead.extra.length&65535)&&!(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),K(be),yt=ct.pending,ct.pending===ct.pending_buf_size));)ye(ct,ct.gzhead.extra[ct.gzindex]&255),ct.gzindex++;ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),ct.gzindex===ct.gzhead.extra.length&&(ct.gzindex=0,ct.status=ge)}else ct.status=ge;if(ct.status===ge)if(ct.gzhead.name){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),K(be),yt=ct.pending,ct.pending===ct.pending_buf_size)){_t=1;break}ct.gzindex<ct.gzhead.name.length?_t=ct.gzhead.name.charCodeAt(ct.gzindex++)&255:_t=0,ye(ct,_t)}while(_t!==0);ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),_t===0&&(ct.gzindex=0,ct.status=q)}else ct.status=q;if(ct.status===q)if(ct.gzhead.comment){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),K(be),yt=ct.pending,ct.pending===ct.pending_buf_size)){_t=1;break}ct.gzindex<ct.gzhead.comment.length?_t=ct.gzhead.comment.charCodeAt(ct.gzindex++)&255:_t=0,ye(ct,_t)}while(_t!==0);ct.gzhead.hcrc&&ct.pending>yt&&(be.adler=(0,v.default)(be.adler,ct.pending_buf,ct.pending-yt,yt)),_t===0&&(ct.status=Se)}else ct.status=Se;if(ct.status===Se&&(ct.gzhead.hcrc?(ct.pending+2>ct.pending_buf_size&&K(be),ct.pending+2<=ct.pending_buf_size&&(ye(ct,be.adler&255),ye(ct,be.adler>>8&255),be.adler=0,ct.status=Ce)):ct.status=Ce),ct.pending!==0){if(K(be),be.avail_out===0)return ct.last_flush=-1,t}else if(be.avail_in===0&&ce(Zt)<=ce(dt)&&Zt!==n)return lt(be,w);if(ct.status===Ae&&be.avail_in!==0)return lt(be,w);if(be.avail_in!==0||ct.lookahead!==0||Zt!==r&&ct.status!==Ae){var we=ct.strategy===A?Et(ct,Zt):ct.strategy===S?ht(ct,Zt):Dt[ct.level].func(ct,Zt);if((we===gt||we===_e)&&(ct.status=Ae),we===Ue||we===gt)return be.avail_out===0&&(ct.last_flush=-1),t;if(we===Qe&&(Zt===o?y._tr_align(ct):Zt!==l&&(y._tr_stored_block(ct,0,0,!1),Zt===d&&(Y(ct.head),ct.lookahead===0&&(ct.strstart=0,ct.block_start=0,ct.insert=0))),K(be),be.avail_out===0))return ct.last_flush=-1,t}return Zt!==n?t:ct.wrap<=0?s:(ct.wrap===2?(ye(ct,be.adler&255),ye(ct,be.adler>>8&255),ye(ct,be.adler>>16&255),ye(ct,be.adler>>24&255),ye(ct,be.total_in&255),ye(ct,be.total_in>>8&255),ye(ct,be.total_in>>16&255),ye(ct,be.total_in>>24&255)):(ue(ct,be.adler>>>16),ue(ct,be.adler&65535)),K(be),ct.wrap>0&&(ct.wrap=-ct.wrap),ct.pending!==0?t:s)}function re(be){var Zt;return!be||!be.state?u:(Zt=be.state.status,Zt!==G&&Zt!==$&&Zt!==ge&&Zt!==q&&Zt!==Se&&Zt!==Ce&&Zt!==Ae?lt(be,u):(be.state=null,Zt===Ce?lt(be,p):t))}function it(be,Zt){var dt=Zt.length,ct,yt,_t,or,Bt,we,ve,me;if(!be||!be.state)return u;if(ct=be.state,or=ct.wrap,or===2||or===1&&ct.status!==G||ct.lookahead)return u;for(or===1&&(be.adler=(0,m.default)(be.adler,Zt,dt,0)),ct.wrap=0,dt>=ct.w_size&&(or===0&&(Y(ct.head),ct.strstart=0,ct.block_start=0,ct.insert=0),me=new f.Buf8(ct.w_size),f.arraySet(me,Zt,dt-ct.w_size,ct.w_size,0),Zt=me,dt=ct.w_size),Bt=be.avail_in,we=be.next_in,ve=be.input,be.avail_in=dt,be.next_in=0,be.input=Zt,oe(ct);ct.lookahead>=H;){yt=ct.strstart,_t=ct.lookahead-(H-1);do ct.ins_h=(ct.ins_h<<ct.hash_shift^ct.window[yt+H-1])&ct.hash_mask,ct.prev[yt&ct.w_mask]=ct.head[ct.ins_h],ct.head[ct.ins_h]=yt,yt++;while(--_t);ct.strstart=yt,ct.lookahead=H-1,oe(ct)}return ct.strstart+=ct.lookahead,ct.block_start=ct.strstart,ct.insert=ct.lookahead,ct.lookahead=0,ct.match_length=ct.prev_length=H-1,ct.match_available=0,be.next_in=we,be.input=ve,be.avail_in=Bt,ct.wrap=or,t}var qe="pako deflate (from Nodeca project)";_.deflateInfo=qe},lOQZ:function(D,_,e){var g=e("QBsz"),f=e("U/Mo"),y=f.getSymbolSize,m=f.getNodeGlobalScale,v=Math.PI,h=[];function c(i,r){var o=i.coordinateSystem;if(o&&o.type!=="view")return;var d=o.getBoundingRect(),n=i.getData(),l=n.graph,t=d.width/2+d.x,s=d.height/2+d.y,u=Math.min(d.width,d.height)/2,p=n.count();if(n.setLayout({cx:t,cy:s}),!p)return;a[r](i,o,l,n,u,t,s,p),l.eachEdge(function(w){var b=w.getModel().get("lineStyle.curveness")||0,E=g.clone(w.node1.getLayout()),A=g.clone(w.node2.getLayout()),S,T=(E[0]+A[0])/2,L=(E[1]+A[1])/2;+b&&(b*=3,S=[t*b+T*(1-b),s*b+L*(1-b)]),w.setLayout([E,A,S])})}var a={value:function(i,r,o,d,n,l,t,s){var u=0,p=d.getSum("value"),w=Math.PI*2/(p||s);o.eachNode(function(b){var E=b.getValue("value"),A=w*(p?E:1)/2;u+=A,b.setLayout([n*Math.cos(u)+l,n*Math.sin(u)+t]),u+=A})},symbolSize:function(i,r,o,d,n,l,t,s){var u=0;h.length=s;var p=m(i);o.eachNode(function(E){var A=y(E);isNaN(A)&&(A=2),A<0&&(A=0),A*=p;var S=Math.asin(A/2/n);isNaN(S)&&(S=v/2),h[E.dataIndex]=S,u+=S*2});var w=(2*v-u)/s/2,b=0;o.eachNode(function(E){var A=w+h[E.dataIndex];b+=A,E.setLayout([n*Math.cos(b)+l,n*Math.sin(b)+t]),b+=A})}};_.circularLayout=c},lSCD:function(D,_,e){var g=e("NykK"),f=e("GoyQ"),y="[object AsyncFunction]",m="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function c(a){if(!f(a))return!1;var i=g(a);return i==m||i==v||i==y||i==h}D.exports=c},lUTK:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("x54q"),m=e.n(y),v=e("5Dmo")},lZu9:function(D,_,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,y){var m=g.getMode(f,"text/html"),v=m.name=="null";function h(j){if(g.findModeByName){var H=g.findModeByName(j);H&&(j=H.mime||H.mimes[0])}var V=g.getMode(f,j);return V.name=="null"?null:V}y.highlightFormatting===void 0&&(y.highlightFormatting=!1),y.maxBlockquoteDepth===void 0&&(y.maxBlockquoteDepth=0),y.taskLists===void 0&&(y.taskLists=!1),y.strikethrough===void 0&&(y.strikethrough=!1),y.emoji===void 0&&(y.emoji=!1),y.fencedCodeBlockHighlighting===void 0&&(y.fencedCodeBlockHighlighting=!0),y.fencedCodeBlockDefaultMode===void 0&&(y.fencedCodeBlockDefaultMode="text/plain"),y.xml===void 0&&(y.xml=!0),y.tokenTypeOverrides===void 0&&(y.tokenTypeOverrides={});var c={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var a in c)c.hasOwnProperty(a)&&y.tokenTypeOverrides[a]&&(c[a]=y.tokenTypeOverrides[a]);var i=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,o=/^\[(x| )\](?=\s)/i,d=y.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,p=" ";function w(j,H,V){return H.f=H.inline=V,V(j,H)}function b(j,H,V){return H.f=H.block=V,V(j,H)}function E(j){return!j||!/\S/.test(j.string)}function A(j){if(j.linkTitle=!1,j.linkHref=!1,j.linkText=!1,j.em=!1,j.strong=!1,j.strikethrough=!1,j.quote=0,j.indentedCode=!1,j.f==T){var H=v;if(!H){var V=g.innerMode(m,j.htmlState);H=V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText}H&&(j.f=O,j.block=S,j.htmlState=null)}return j.trailingSpace=0,j.trailingSpaceNewLine=!1,j.prevLine=j.thisLine,j.thisLine={stream:null},null}function S(j,H){var V=j.column()===H.indentation,X=E(H.prevLine.stream),W=H.indentedCode,G=H.prevLine.hr,$=H.list!==!1,ge=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var q=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,$)){for(H.list=null;q<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=q-H.listStack[H.listStack.length-1])}var Se=!X&&!G&&!H.prevLine.header&&(!$||!W)&&!H.prevLine.fencedCodeEnd,Ce=(H.list===!1||G||X)&&H.indentation<=ge&&j.match(i),Ae=null;if(H.indentationDiff>=4&&(W||H.prevLine.fencedCodeEnd||H.prevLine.header||X))return j.skipToEnd(),H.indentedCode=!0,c.code;if(j.eatSpace())return null;if(V&&H.indentation<=ge&&(Ae=j.match(d))&&Ae[1].length<=6)return H.quote=0,H.header=Ae[1].length,H.thisLine.header=!0,y.highlightFormatting&&(H.formatting="header"),H.f=H.inline,x(H);if(H.indentation<=ge&&j.eat(">"))return H.quote=V?1:H.quote+1,y.highlightFormatting&&(H.formatting="quote"),j.eatSpace(),x(H);if(!Ce&&!H.setext&&V&&H.indentation<=ge&&(Ae=j.match(r))){var Ue=Ae[1]?"ol":"ul";return H.indentation=q+j.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,y.taskLists&&j.match(o,!1)&&(H.taskList=!0),H.f=H.inline,y.highlightFormatting&&(H.formatting=["list","list-"+Ue]),x(H)}else{if(V&&H.indentation<=ge&&(Ae=j.match(t,!0)))return H.quote=0,H.fencedEndRE=new RegExp(Ae[1]+"+ *$"),H.localMode=y.fencedCodeBlockHighlighting&&h(Ae[2]||y.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=g.startState(H.localMode)),H.f=H.block=L,y.highlightFormatting&&(H.formatting="code-block"),H.code=-1,x(H);if(H.setext||(!Se||!$)&&!H.quote&&H.list===!1&&!H.code&&!Ce&&!s.test(j.string)&&(Ae=j.lookAhead(1))&&(Ae=Ae.match(n)))return H.setext?(H.header=H.setext,H.setext=0,j.skipToEnd(),y.highlightFormatting&&(H.formatting="header")):(H.header=Ae[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,x(H);if(Ce)return j.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,c.hr;if(j.peek()==="[")return w(j,H,B)}return w(j,H,H.inline)}function T(j,H){var V=m.token(j,H.htmlState);if(!v){var X=g.innerMode(m,H.htmlState);(X.mode.name=="xml"&&X.state.tagStart===null&&!X.state.context&&X.state.tokenize.isInText||H.md_inside&&j.current().indexOf(">")>-1)&&(H.f=O,H.block=S,H.htmlState=null)}return V}function L(j,H){var V=H.listStack[H.listStack.length-1]||0,X=H.indentation<V,W=V+3;if(H.fencedEndRE&&H.indentation<=W&&(X||j.match(H.fencedEndRE))){y.highlightFormatting&&(H.formatting="code-block");var G;return X||(G=x(H)),H.localMode=H.localState=null,H.block=S,H.f=O,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,X?b(j,H,H.block):G}else return H.localMode?H.localMode.token(j,H.localState):(j.skipToEnd(),c.code)}function x(j){var H=[];if(j.formatting){H.push(c.formatting),typeof j.formatting=="string"&&(j.formatting=[j.formatting]);for(var V=0;V<j.formatting.length;V++)H.push(c.formatting+"-"+j.formatting[V]),j.formatting[V]==="header"&&H.push(c.formatting+"-"+j.formatting[V]+"-"+j.header),j.formatting[V]==="quote"&&(!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=j.quote?H.push(c.formatting+"-"+j.formatting[V]+"-"+j.quote):H.push("error"))}if(j.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(j.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(j.linkHref?H.push(c.linkHref,"url"):(j.strong&&H.push(c.strong),j.em&&H.push(c.em),j.strikethrough&&H.push(c.strikethrough),j.emoji&&H.push(c.emoji),j.linkText&&H.push(c.linkText),j.code&&H.push(c.code),j.image&&H.push(c.image),j.imageAltText&&H.push(c.imageAltText,"link"),j.imageMarker&&H.push(c.imageMarker)),j.header&&H.push(c.header,c.header+"-"+j.header),j.quote&&(H.push(c.quote),!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=j.quote?H.push(c.quote+"-"+j.quote):H.push(c.quote+"-"+y.maxBlockquoteDepth)),j.list!==!1){var X=(j.listStack.length-1)%3;X?X===1?H.push(c.list2):H.push(c.list3):H.push(c.list1)}return j.trailingSpaceNewLine?H.push("trailing-space-new-line"):j.trailingSpace&&H.push("trailing-space-"+(j.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function C(j,H){return j.match(l,!0)?x(H):void 0}function O(j,H){var V=H.text(j,H);if(typeof V!="undefined")return V;if(H.list)return H.list=null,x(H);if(H.taskList){var X=j.match(o,!0)[1]===" ";return X?H.taskOpen=!0:H.taskClosed=!0,y.highlightFormatting&&(H.formatting="task"),H.taskList=!1,x(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&j.match(/^#+$/,!0))return y.highlightFormatting&&(H.formatting="header"),x(H);var W=j.next();if(H.linkTitle){H.linkTitle=!1;var G=W;W==="("&&(G=")"),G=(G+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var $="^\\s*(?:[^"+G+"\\\\]+|\\\\\\\\|\\\\.)"+G;if(j.match(new RegExp($),!0))return c.linkHref}if(W==="`"){var ge=H.formatting;y.highlightFormatting&&(H.formatting="code"),j.eatWhile("`");var q=j.current().length;if(H.code==0&&(!H.quote||q==1))return H.code=q,x(H);if(q==H.code){var Se=x(H);return H.code=0,Se}else return H.formatting=ge,x(H)}else if(H.code)return x(H);if(W==="\\"&&(j.next(),y.highlightFormatting)){var Ce=x(H),Ae=c.formatting+"-escape";return Ce?Ce+" "+Ae:Ae}if(W==="!"&&j.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(W==="["&&H.imageMarker&&j.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(W==="]"&&H.imageAltText){y.highlightFormatting&&(H.formatting="image");var Ce=x(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=F,Ce}if(W==="["&&!H.image)return H.linkText&&j.match(/^.*?\]/)||(H.linkText=!0,y.highlightFormatting&&(H.formatting="link")),x(H);if(W==="]"&&H.linkText){y.highlightFormatting&&(H.formatting="link");var Ce=x(H);return H.linkText=!1,H.inline=H.f=j.match(/\(.*?\)| ?\[.*?\]/,!1)?F:O,Ce}if(W==="<"&&j.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Ce=x(H);return Ce?Ce+=" ":Ce="",Ce+c.linkInline}if(W==="<"&&j.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Ce=x(H);return Ce?Ce+=" ":Ce="",Ce+c.linkEmail}if(y.xml&&W==="<"&&j.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ue=j.string.indexOf(">",j.pos);if(Ue!=-1){var Qe=j.string.substring(j.start,Ue);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Qe)&&(H.md_inside=!0)}return j.backUp(1),H.htmlState=g.startState(m),b(j,H,T)}if(y.xml&&W==="<"&&j.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var gt=1,_e=j.pos==1?" ":j.string.charAt(j.pos-2);gt<3&&j.eat(W);)gt++;var Oe=j.peek()||" ",lt=!/\s/.test(Oe)&&(!u.test(Oe)||/\s/.test(_e)||u.test(_e)),ce=!/\s/.test(_e)&&(!u.test(_e)||/\s/.test(Oe)||u.test(Oe)),Y=null,K=null;if(gt%2&&(!H.em&<&&(W==="*"||!ce||u.test(_e))?Y=!0:H.em==W&&ce&&(W==="*"||!lt||u.test(Oe))&&(Y=!1)),gt>1&&(!H.strong&<&&(W==="*"||!ce||u.test(_e))?K=!0:H.strong==W&&ce&&(W==="*"||!lt||u.test(Oe))&&(K=!1)),K!=null||Y!=null){y.highlightFormatting&&(H.formatting=Y==null?"strong":K==null?"em":"strong em"),Y===!0&&(H.em=W),K===!0&&(H.strong=W);var Se=x(H);return Y===!1&&(H.em=!1),K===!1&&(H.strong=!1),Se}}else if(W===" "&&(j.eat("*")||j.eat("_"))){if(j.peek()===" ")return x(H);j.backUp(1)}if(y.strikethrough){if(W==="~"&&j.eatWhile(W)){if(H.strikethrough){y.highlightFormatting&&(H.formatting="strikethrough");var Se=x(H);return H.strikethrough=!1,Se}else if(j.match(/^[^\s]/,!1))return H.strikethrough=!0,y.highlightFormatting&&(H.formatting="strikethrough"),x(H)}else if(W===" "&&j.match(/^~~/,!0)){if(j.peek()===" ")return x(H);j.backUp(2)}}if(y.emoji&&W===":"&&j.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,y.highlightFormatting&&(H.formatting="emoji");var Q=x(H);return H.emoji=!1,Q}return W===" "&&(j.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),x(H)}function N(j,H){var V=j.next();if(V===">"){H.f=H.inline=O,y.highlightFormatting&&(H.formatting="link");var X=x(H);return X?X+=" ":X="",X+c.linkInline}return j.match(/^[^>]+/,!0),c.linkInline}function F(j,H){if(j.eatSpace())return null;var V=j.next();return V==="("||V==="["?(H.f=H.inline=P(V==="("?")":"]"),y.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,x(H)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function P(j){return function(H,V){var X=H.next();if(X===j){V.f=V.inline=O,y.highlightFormatting&&(V.formatting="link-string");var W=x(V);return V.linkHref=!1,W}return H.match(k[j]),V.linkHref=!0,x(V)}}function B(j,H){return j.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=z,j.next(),y.highlightFormatting&&(H.formatting="link"),H.linkText=!0,x(H)):w(j,H,O)}function z(j,H){if(j.match(/^\]:/,!0)){H.f=H.inline=R,y.highlightFormatting&&(H.formatting="link");var V=x(H);return H.linkText=!1,V}return j.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function R(j,H){return j.eatSpace()?null:(j.match(/^[^\s]+/,!0),j.peek()===void 0?H.linkTitle=!0:j.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=O,c.linkHref+" url")}var U={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:O,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&g.copyState(m,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?g.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,V){if(V.formatting=!1,H!=V.thisLine.stream){if(V.header=0,V.hr=!1,H.match(/^\s*$/,!0))return A(V),null;if(V.prevLine=V.thisLine,V.thisLine={stream:H},V.taskList=!1,V.trailingSpace=0,V.trailingSpaceNewLine=!1,!V.localState&&(V.f=V.block,V.f!=T)){var X=H.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(V.indentation=X,V.indentationDiff=null,X>0)return null}}return V.f(H,V)},innerMode:function(H){return H.block==T?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:U}},indent:function(H,V,X){return H.block==T&&m.indent?m.indent(H.htmlState,V,X):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,V,X):g.Pass},blankLine:A,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(D,_,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(D,_){function e(g,f){return g===f||g!==g&&f!==f}D.exports=e},lnY3:function(D,_,e){},loD1:function(D,_){function e(g,f,y,m,v,h,c){if(v===0)return!1;var a=v,i=0,r=g;if(c>f+a&&c>m+a||c<f-a&&c<m-a||h>g+a&&h>y+a||h<g-a&&h<y-a)return!1;if(g!==y)i=(f-m)/(g-y),r=(g*m-y*f)/(g-y);else return Math.abs(h-g)<=a/2;var o=i*h-c+r,d=o*o/(i*i+1);return d<=a/2*a/2}_.containStroke=e},lrIw:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("cDf5"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("q1tI"),a=e.n(c),i=e("Zm9Q"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("2fM7"),l=e("H84U"),t=e("uaoM"),s=e("0n0R"),u=n.a.Option,p=n.a;function w(A){return A&&A.type&&(A.type.isSelectOption||A.type.isSelectOptGroup)}var b=function(S,T){var L=S.prefixCls,x=S.className,C=S.children,O=S.dataSource,N=Object(i.a)(C),F=c.useRef();c.useImperativeHandle(T,function(){return F.current});var k;if(N.length===1&&Object(s.b)(N[0])&&!w(N[0])){var P=h()(N,1);k=P[0]}var B=function(){return k},z;return N.length&&w(N[0])?z=C:z=O?O.map(function(R){if(Object(s.b)(R))return R;switch(m()(R)){case"string":return c.createElement(u,{key:R,value:R},R);case"object":{var U=R.value;return c.createElement(u,{key:U,value:U},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(t.a)(!("dataSource"in S),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!k||!("size"in S),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(R){var U=R.getPrefixCls,j=U("select",L);return c.createElement(p,f()({ref:F},Object(d.default)(S,["dataSource"]),{prefixCls:j,className:o()(x,"".concat(j,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:B}),z)})},E=c.forwardRef(b);E.Option=u,_.a=E},lwQL:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("9wZj"),m=e("c8qY"),v=e("SgGq"),h=e("Ae+d"),c=e("xSat"),a=c.onIrrelevantElement,i=e("IwbS"),r=e("SA8n"),o=e("U/Mo"),d=o.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(E,A){var S=E.getVisual("opacity");return S!=null?S:E.getModel().get(A)}function p(E,A,S){var T=E.getGraphicEl(),L=u(E,A);S!=null&&(L==null&&(L=1),L*=S),T.downplay&&T.downplay(),T.traverse(function(x){if(!x.isGroup){var C=x.lineLabelOriginalOpacity;(C==null||S!=null)&&(C=L),x.setStyle("opacity",C)}})}function w(E,A){var S=u(E,A),T=E.getGraphicEl();T.traverse(function(L){!L.isGroup&&L.setStyle("opacity",S)}),T.highlight&&T.highlight()}var b=g.extendChartView({type:"graph",init:function(E,A){var S=new y,T=new m,L=this.group;this._controller=new v(A.getZr()),this._controllerHost={target:L},L.add(S.group),L.add(T.group),this._symbolDraw=S,this._lineDraw=T,this._firstRender=!0},render:function(E,A,S){var T=this,L=E.coordinateSystem;this._model=E;var x=this._symbolDraw,C=this._lineDraw,O=this.group;if(L.type==="view"){var N={position:L.position,scale:L.scale};this._firstRender?O.attr(N):i.updateProps(O,N,E)}r(E.getGraph(),d(E));var F=E.getData();x.updateData(F);var k=E.getEdgeData();C.updateData(k),this._updateNodeAndLinkScale(),this._updateController(E,A,S),clearTimeout(this._layoutTimeout);var P=E.forceLayout,B=E.get("force.layoutAnimation");P&&this._startForceLayoutIteration(P,B),F.eachItemGraphicEl(function(j,H){var V=F.getItemModel(H);j.off("drag").off("dragend");var X=V.get("draggable");X&&j.on("drag",function(){P&&(P.warmUp(),!this._layouting&&this._startForceLayoutIteration(P,B),P.setFixed(H),F.setItemLayout(H,j.position))},this).on("dragend",function(){P&&P.setUnfixed(H)},this),j.setDraggable(X&&P),j[n]&&j.off("mouseover",j[n]),j[l]&&j.off("mouseout",j[l]),V.get("focusNodeAdjacency")&&(j.on("mouseover",j[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,dataIndex:j.dataIndex})}),j.on("mouseout",j[l]=function(){T._dispatchUnfocus(S)}))},this),F.graph.eachEdge(function(j){var H=j.getGraphicEl();H[n]&&H.off("mouseover",H[n]),H[l]&&H.off("mouseout",H[l]),j.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,edgeDataIndex:j.dataIndex})}),H.on("mouseout",H[l]=function(){T._dispatchUnfocus(S)}))});var z=E.get("layout")==="circular"&&E.get("circular.rotateLabel"),R=F.getLayout("cx"),U=F.getLayout("cy");F.eachItemGraphicEl(function(j,H){var V=F.getItemModel(H),X=V.get("label.rotate")||0,W=j.getSymbolPath();if(z){var G=F.getItemLayout(H),$=Math.atan2(G[1]-U,G[0]-R);$<0&&($=Math.PI*2+$);var ge=G[0]<R;ge&&($=$-Math.PI);var q=ge?"left":"right";i.modifyLabelStyle(W,{textRotation:-$,textPosition:q,textOrigin:"center"},{textPosition:q})}else i.modifyLabelStyle(W,{textRotation:X*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(E,A){var S=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){S._unfocusDelayTimer=null,E.dispatchAction({type:"unfocusNodeAdjacency",seriesId:S._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(E,A,S,T){var L=E.getData(),x=L.graph,C=T.dataIndex,O=T.edgeDataIndex,N=x.getNodeByIndex(C),F=x.getEdgeByIndex(O);if(!N&&!F)return;x.eachNode(function(k){p(k,t,.1)}),x.eachEdge(function(k){p(k,s,.1)}),N&&(w(N,t),f.each(N.edges,function(k){if(k.dataIndex<0)return;w(k,s),w(k.node1,t),w(k.node2,t)})),F&&(w(F,s),w(F.node1,t),w(F.node2,t))},unfocusNodeAdjacency:function(E,A,S,T){var L=E.getData().graph;L.eachNode(function(x){p(x,t)}),L.eachEdge(function(x){p(x,s)})},_startForceLayoutIteration:function(E,A){var S=this;(function T(){E.step(function(L){S.updateLayout(S._model),(S._layouting=!L)&&(A?S._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(E,A,S){var T=this._controller,L=this._controllerHost,x=this.group;if(T.setPointerChecker(function(C,O,N){var F=x.getBoundingRect();return F.applyTransform(x.transform),F.contain(O,N)&&!a(C,S,E)}),E.coordinateSystem.type!=="view"){T.disable();return}T.enable(E.get("roam")),L.zoomLimit=E.get("scaleLimit"),L.zoom=E.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(C){h.updateViewOnPan(L,C.dx,C.dy),S.dispatchAction({seriesId:E.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){h.updateViewOnZoom(L,C.scale,C.originX,C.originY),S.dispatchAction({seriesId:E.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),r(E.getGraph(),d(E)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var E=this._model,A=E.getData(),S=d(E),T=[S,S];A.eachItemGraphicEl(function(L,x){L.attr("scale",T)})},updateLayout:function(E){r(E.getGraph(),d(E)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(E,A){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});D.exports=b},m9t5:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),y={getAreaStyle:function(m,v){return f(this,m,v)}};D.exports=y},mFDi:function(D,_,e){var g=e("QBsz"),f=e("Fofx"),y=g.applyTransform,m=Math.min,v=Math.max;function h(a,i,r,o){r<0&&(a=a+r,r=-r),o<0&&(i=i+o,o=-o),this.x=a,this.y=i,this.width=r,this.height=o}h.prototype={constructor:h,union:function(i){var r=m(i.x,this.x),o=m(i.y,this.y);this.width=v(i.x+i.width,this.x+this.width)-r,this.height=v(i.y+i.height,this.y+this.height)-o,this.x=r,this.y=o},applyTransform:function(){var a=[],i=[],r=[],o=[];return function(d){if(!d)return;a[0]=r[0]=this.x,a[1]=o[1]=this.y,i[0]=o[0]=this.x+this.width,i[1]=r[1]=this.y+this.height,y(a,a,d),y(i,i,d),y(r,r,d),y(o,o,d),this.x=m(a[0],i[0],r[0],o[0]),this.y=m(a[1],i[1],r[1],o[1]);var n=v(a[0],i[0],r[0],o[0]),l=v(a[1],i[1],r[1],o[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(i){var r=this,o=i.width/r.width,d=i.height/r.height,n=f.create();return f.translate(n,n,[-r.x,-r.y]),f.scale(n,n,[o,d]),f.translate(n,n,[i.x,i.y]),n},intersect:function(i){if(!i)return!1;i instanceof h||(i=h.create(i));var r=this,o=r.x,d=r.x+r.width,n=r.y,l=r.y+r.height,t=i.x,s=i.x+i.width,u=i.y,p=i.y+i.height;return!(d<t||s<o||l<u||p<n)},contain:function(i,r){var o=this;return i>=o.x&&i<=o.x+o.width&&r>=o.y&&r<=o.y+o.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(i){this.x=i.x,this.y=i.y,this.width=i.width,this.height=i.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(a){return new h(a.x,a.y,a.width,a.height)};var c=h;D.exports=c},mHUz:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};_.default=g},mLcG:function(D,_){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(g){setTimeout(g,16)};D.exports=e},"mO/d":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},mOdp:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function y(m){return{getTargetSeries:function(v){var h={},c=f();return v.eachSeriesByType(m,function(a){a.__paletteScope=h,c.set(a.uid,a)}),c},reset:function(v,h){var c=v.getRawData(),a={},i=v.getData();i.each(function(r){var o=i.getRawIndex(r);a[o]=r}),c.each(function(r){var o=a[r],d=o!=null&&i.getItemVisual(o,"color",!0),n=o!=null&&i.getItemVisual(o,"borderColor",!0),l;if((!d||!n)&&(l=c.getItemModel(r)),!d){var t=l.get("itemStyle.color")||v.getColorFromPalette(c.getName(r)||r+"",v.__paletteScope,c.count());o!=null&&i.setItemVisual(o,"color",t)}if(!n){var s=l.get("itemStyle.borderColor");o!=null&&i.setItemVisual(o,"borderColor",s)}})}}}D.exports=y},mTgk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("mHUz"));function f(a){return a&&a.__esModule?a:{default:a}}var y={};function m(a,i){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,i,i]}function v(a,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,r,i]}function h(a,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,i,r]}v("Alt",g.default.XK_Alt_L,g.default.XK_Alt_R),m("AltGraph",g.default.XK_ISO_Level3_Shift),m("CapsLock",g.default.XK_Caps_Lock),v("Control",g.default.XK_Control_L,g.default.XK_Control_R),v("Meta",g.default.XK_Super_L,g.default.XK_Super_R),m("NumLock",g.default.XK_Num_Lock),m("ScrollLock",g.default.XK_Scroll_Lock),v("Shift",g.default.XK_Shift_L,g.default.XK_Shift_R),h("Enter",g.default.XK_Return,g.default.XK_KP_Enter),m("Tab",g.default.XK_Tab),h(" ",g.default.XK_space,g.default.XK_KP_Space),h("ArrowDown",g.default.XK_Down,g.default.XK_KP_Down),h("ArrowUp",g.default.XK_Up,g.default.XK_KP_Up),h("ArrowLeft",g.default.XK_Left,g.default.XK_KP_Left),h("ArrowRight",g.default.XK_Right,g.default.XK_KP_Right),h("End",g.default.XK_End,g.default.XK_KP_End),h("Home",g.default.XK_Home,g.default.XK_KP_Home),h("PageDown",g.default.XK_Next,g.default.XK_KP_Next),h("PageUp",g.default.XK_Prior,g.default.XK_KP_Prior),m("Backspace",g.default.XK_BackSpace),h("Clear",g.default.XK_Clear,g.default.XK_KP_Begin),m("Copy",g.default.XF86XK_Copy),m("Cut",g.default.XF86XK_Cut),h("Delete",g.default.XK_Delete,g.default.XK_KP_Delete),h("Insert",g.default.XK_Insert,g.default.XK_KP_Insert),m("Paste",g.default.XF86XK_Paste),m("Redo",g.default.XK_Redo),m("Undo",g.default.XK_Undo),m("Cancel",g.default.XK_Cancel),m("ContextMenu",g.default.XK_Menu),m("Escape",g.default.XK_Escape),m("Execute",g.default.XK_Execute),m("Find",g.default.XK_Find),m("Help",g.default.XK_Help),m("Pause",g.default.XK_Pause),m("Select",g.default.XK_Select),m("ZoomIn",g.default.XF86XK_ZoomIn),m("ZoomOut",g.default.XF86XK_ZoomOut),m("BrightnessDown",g.default.XF86XK_MonBrightnessDown),m("BrightnessUp",g.default.XF86XK_MonBrightnessUp),m("Eject",g.default.XF86XK_Eject),m("LogOff",g.default.XF86XK_LogOff),m("Power",g.default.XF86XK_PowerOff),m("PowerOff",g.default.XF86XK_PowerDown),m("PrintScreen",g.default.XK_Print),m("Hibernate",g.default.XF86XK_Hibernate),m("Standby",g.default.XF86XK_Standby),m("WakeUp",g.default.XF86XK_WakeUp),m("AllCandidates",g.default.XK_MultipleCandidate),m("Alphanumeric",g.default.XK_Eisu_Shift),m("CodeInput",g.default.XK_Codeinput),m("Compose",g.default.XK_Multi_key),m("Convert",g.default.XK_Henkan),m("GroupFirst",g.default.XK_ISO_First_Group),m("GroupLast",g.default.XK_ISO_Last_Group),m("GroupNext",g.default.XK_ISO_Next_Group),m("GroupPrevious",g.default.XK_ISO_Prev_Group),m("NonConvert",g.default.XK_Muhenkan),m("PreviousCandidate",g.default.XK_PreviousCandidate),m("SingleCandidate",g.default.XK_SingleCandidate),m("HangulMode",g.default.XK_Hangul),m("HanjaMode",g.default.XK_Hangul_Hanja),m("JunjuaMode",g.default.XK_Hangul_Jeonja),m("Eisu",g.default.XK_Eisu_toggle),m("Hankaku",g.default.XK_Hankaku),m("Hiragana",g.default.XK_Hiragana),m("HiraganaKatakana",g.default.XK_Hiragana_Katakana),m("KanaMode",g.default.XK_Kana_Shift),m("KanjiMode",g.default.XK_Kanji),m("Katakana",g.default.XK_Katakana),m("Romaji",g.default.XK_Romaji),m("Zenkaku",g.default.XK_Zenkaku),m("ZenkakuHanaku",g.default.XK_Zenkaku_Hankaku),m("F1",g.default.XK_F1),m("F2",g.default.XK_F2),m("F3",g.default.XK_F3),m("F4",g.default.XK_F4),m("F5",g.default.XK_F5),m("F6",g.default.XK_F6),m("F7",g.default.XK_F7),m("F8",g.default.XK_F8),m("F9",g.default.XK_F9),m("F10",g.default.XK_F10),m("F11",g.default.XK_F11),m("F12",g.default.XK_F12),m("F13",g.default.XK_F13),m("F14",g.default.XK_F14),m("F15",g.default.XK_F15),m("F16",g.default.XK_F16),m("F17",g.default.XK_F17),m("F18",g.default.XK_F18),m("F19",g.default.XK_F19),m("F20",g.default.XK_F20),m("F21",g.default.XK_F21),m("F22",g.default.XK_F22),m("F23",g.default.XK_F23),m("F24",g.default.XK_F24),m("F25",g.default.XK_F25),m("F26",g.default.XK_F26),m("F27",g.default.XK_F27),m("F28",g.default.XK_F28),m("F29",g.default.XK_F29),m("F30",g.default.XK_F30),m("F31",g.default.XK_F31),m("F32",g.default.XK_F32),m("F33",g.default.XK_F33),m("F34",g.default.XK_F34),m("F35",g.default.XK_F35),m("Close",g.default.XF86XK_Close),m("MailForward",g.default.XF86XK_MailForward),m("MailReply",g.default.XF86XK_Reply),m("MailSend",g.default.XF86XK_Send),m("MediaFastForward",g.default.XF86XK_AudioForward),m("MediaPause",g.default.XF86XK_AudioPause),m("MediaPlay",g.default.XF86XK_AudioPlay),m("MediaRecord",g.default.XF86XK_AudioRecord),m("MediaRewind",g.default.XF86XK_AudioRewind),m("MediaStop",g.default.XF86XK_AudioStop),m("MediaTrackNext",g.default.XF86XK_AudioNext),m("MediaTrackPrevious",g.default.XF86XK_AudioPrev),m("New",g.default.XF86XK_New),m("Open",g.default.XF86XK_Open),m("Print",g.default.XK_Print),m("Save",g.default.XF86XK_Save),m("SpellCheck",g.default.XF86XK_Spell),m("AudioVolumeDown",g.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",g.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",g.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",g.default.XF86XK_AudioMicMute),m("LaunchApplication1",g.default.XF86XK_MyComputer),m("LaunchApplication2",g.default.XF86XK_Calculator),m("LaunchCalendar",g.default.XF86XK_Calendar),m("LaunchMail",g.default.XF86XK_Mail),m("LaunchMediaPlayer",g.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",g.default.XF86XK_Music),m("LaunchPhone",g.default.XF86XK_Phone),m("LaunchScreenSaver",g.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",g.default.XF86XK_Excel),m("LaunchWebBrowser",g.default.XF86XK_WWW),m("LaunchWebCam",g.default.XF86XK_WebCam),m("LaunchWordProcessor",g.default.XF86XK_Word),m("BrowserBack",g.default.XF86XK_Back),m("BrowserFavorites",g.default.XF86XK_Favorites),m("BrowserForward",g.default.XF86XK_Forward),m("BrowserHome",g.default.XF86XK_HomePage),m("BrowserRefresh",g.default.XF86XK_Refresh),m("BrowserSearch",g.default.XF86XK_Search),m("BrowserStop",g.default.XF86XK_Stop),m("Dimmer",g.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",g.default.XF86XK_AudioCycleTrack),m("RandomToggle",g.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",g.default.XF86XK_SplitScreen),m("Subtitle",g.default.XF86XK_Subtitle),m("VideoModeNext",g.default.XF86XK_Next_VMode),h("=",g.default.XK_equal,g.default.XK_KP_Equal),h("+",g.default.XK_plus,g.default.XK_KP_Add),h("-",g.default.XK_minus,g.default.XK_KP_Subtract),h("*",g.default.XK_asterisk,g.default.XK_KP_Multiply),h("/",g.default.XK_slash,g.default.XK_KP_Divide),h(".",g.default.XK_period,g.default.XK_KP_Decimal),h(",",g.default.XK_comma,g.default.XK_KP_Separator),h("0",g.default.XK_0,g.default.XK_KP_0),h("1",g.default.XK_1,g.default.XK_KP_1),h("2",g.default.XK_2,g.default.XK_KP_2),h("3",g.default.XK_3,g.default.XK_KP_3),h("4",g.default.XK_4,g.default.XK_KP_4),h("5",g.default.XK_5,g.default.XK_KP_5),h("6",g.default.XK_6,g.default.XK_KP_6),h("7",g.default.XK_7,g.default.XK_KP_7),h("8",g.default.XK_8,g.default.XK_KP_8),h("9",g.default.XK_9,g.default.XK_KP_9);var c=y;_.default=c},mYwL:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),m=Math.PI;function v(h,c){c=c||{},g.defaults(c,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var a=new f.Group,i=new f.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});a.add(i);var r=c.fontSize+" sans-serif",o=new f.Rect({style:{fill:"none",text:c.text,font:r,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(a.add(o),c.showSpinner){var d=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.zlevel,z:10001});d.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),a.add(d)}return a.resize=function(){var n=y.getWidth(c.text,r),l=c.showSpinner?c.spinnerRadius:0,t=(h.getWidth()-l*2-(c.showSpinner&&n?10:0)-n)/2-(c.showSpinner?0:n/2),s=h.getHeight()/2;c.showSpinner&&d.setShape({cx:t,cy:s}),o.setShape({x:t-l,y:s-l,width:l*2,height:l*2}),i.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},a.resize(),a}D.exports=v},mdPL:function(D,_,e){(function(g){var f=e("WFqU"),y=_&&!_.nodeType&&_,m=y&&typeof g=="object"&&g&&!g.nodeType&&g,v=m&&m.exports===y,h=v&&f.process,c=function(){try{var a=m&&m.require&&m.require("util").types;return a||h&&h.binding&&h.binding("util")}catch(i){}}();g.exports=c}).call(this,e("YuTi")(D))},mdZa:function(D,_,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,y){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),v=1;v<arguments.length;v++){var h=arguments[v];if(h!=null)for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(m[c]=h[c])}return m},writable:!0,configurable:!0}),function(){function g(f,y){y=y||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,y.bubbles,y.cancelable,y.detail),m}g.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=g)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mr32:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("BGR+"),o=e("V/uB"),d=e.n(o),n=e("H84U"),l=function(L,x){var C={};for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&x.indexOf(O)<0&&(C[O]=L[O]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(L);N<O.length;N++)x.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(L,O[N])&&(C[O[N]]=L[O[N]]);return C},t=function(x){var C,O=c.useContext(n.b),N=O.getPrefixCls,F=function(H){var V=x.checked,X=x.onChange,W=x.onClick;X&&X(!V),W&&W(H)},k=x.prefixCls,P=x.className,B=x.checked,z=l(x,["prefixCls","className","checked"]),R=N("tag",k),U=i()(R,(C={},f()(C,"".concat(R,"-checkable"),!0),f()(C,"".concat(R,"-checkable-checked"),B),C),P);return delete z.onChange,c.createElement("span",m()({},z,{className:U,onClick:F}))},s=t,u=e("09Wf"),p=e("g0mS"),w=function(L,x){var C={};for(var O in L)Object.prototype.hasOwnProperty.call(L,O)&&x.indexOf(O)<0&&(C[O]=L[O]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,O=Object.getOwnPropertySymbols(L);N<O.length;N++)x.indexOf(O[N])<0&&Object.prototype.propertyIsEnumerable.call(L,O[N])&&(C[O[N]]=L[O[N]]);return C},b=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(u.b.join("|"),")$")),A=function(x,C){var O,N=x.prefixCls,F=x.className,k=x.style,P=x.children,B=x.icon,z=x.color,R=x.onClose,U=x.closeIcon,j=x.closable,H=j===void 0?!1:j,V=w(x,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),X=c.useContext(n.b),W=X.getPrefixCls,G=X.direction,$=c.useState(!0),ge=h()($,2),q=ge[0],Se=ge[1];c.useEffect(function(){"visible"in V&&Se(V.visible)},[V.visible]);var Ce=function(){return z?b.test(z)||E.test(z):!1},Ae=m()({backgroundColor:z&&!Ce()?z:void 0},k),Ue=Ce(),Qe=W("tag",N),gt=i()(Qe,(O={},f()(O,"".concat(Qe,"-").concat(z),Ue),f()(O,"".concat(Qe,"-has-color"),z&&!Ue),f()(O,"".concat(Qe,"-hidden"),!q),f()(O,"".concat(Qe,"-rtl"),G==="rtl"),O),F),_e=function(ue){if(ue.stopPropagation(),R&&R(ue),ue.defaultPrevented)return;"visible"in V||Se(!1)},Oe=function(){return H?U?c.createElement("div",{className:"".concat(Qe,"-close-icon"),onClick:_e},U):c.createElement(d.a,{className:"".concat(Qe,"-close-icon"),onClick:_e}):null},lt="onClick"in V||P&&P.type==="a",ce=Object(r.default)(V,["visible"]),Y=B||null,K=Y?c.createElement(c.Fragment,null,Y,c.createElement("span",null,P)):P,Q=c.createElement("span",m()({},ce,{ref:C,className:gt,style:Ae}),K,Oe());return lt?c.createElement(p.a,null,Q):Q},S=c.forwardRef(A);S.displayName="Tag",S.CheckableTag=s;var T=_.a=S},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(D){if(!0)module.exports=D();else var _})(function(){var define,module,exports;return function(){function D(_,e,g){function f(v,h){if(!e[v]){if(!_[v]){var c=typeof require=="function"&&require;if(!h&&c)return require(v,!0);if(y)return y(v,!0);var a=new Error("Cannot find module '"+v+"'");throw a.code="MODULE_NOT_FOUND",a}var i=e[v]={exports:{}};_[v][0].call(i.exports,function(r){var o=_[v][1][r];return f(o||r)},i,i.exports,D,_,e,g)}return e[v].exports}for(var y=typeof require=="function"&&require,m=0;m<g.length;m++)f(g[m]);return f}return D}()({1:[function(D,_,e){"use strict";var g=D("./browser/client");g.Buffer=D("buffer").Buffer,g.urllib=D("../shims/xhr"),g.version=D("./browser/version").version,_.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/promise"),m=i(y),v=D("babel-runtime/regenerator"),h=i(v),c=D("babel-runtime/core-js/object/assign"),a=i(c);function i(B){return B&&B.__esModule?B:{default:B}}var r=D("debug")("ali-oss"),o=D("copy-to"),d=D("xml2js"),n=D("agentkeepalive"),l=D("merge-descriptors"),t=D("url"),s=D("is-type-of"),u=D("platform"),p=D("utility"),w=D("urllib"),b=D("./version"),E=D("bowser"),A=D("../common/signUtils"),S=D("../common/utils/isIP"),T=S.isIP,L=D("../common/client/initOptions"),x=D("../common/utils/createRequest"),C=x.createRequest,O=new n;function N(){var B=u.name,z=u.version;B&&B.toLowerCase&&B.toLowerCase()==="ie"&&z.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function k(B,z){if(N(),!(this instanceof k))return new k(B,z);B&&B.inited?this.options=B:this.options=k.initOptions(B),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=w,this.agent=this.options.agent||O),this.ctx=z,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}_.exports=k,k.initOptions=function(z){z.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,a.default)({secure:F(),useFetch:!1},z);return L(R)};var P=k.prototype;P.debug=r,l(P,D("./object")),l(P,D("../common/bucket/getBucketWebsite")),l(P,D("../common/bucket/putBucketWebsite")),l(P,D("../common/bucket/deleteBucketWebsite")),l(P,D("../common/bucket/getBucketLifecycle")),l(P,D("../common/bucket/putBucketLifecycle")),l(P,D("../common/bucket/deleteBucketLifecycle")),l(P,D("../common/bucket/putBucketVersioning")),l(P,D("../common/bucket/getBucketVersioning")),l(P,D("./managed-upload")),l(P,D("../common/multipart")),l(P,D("../common/parallel")),P.signature=function(z){return this.debug("authorization stringToSign: %s",z,"info"),A.computeSignature(this.options.accessKeySecret,z)},P.authorization=function(z,R,U,j){var H=A.buildCanonicalString(z.toUpperCase(),R,{headers:j,parameters:U});return A.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},P.request=function(z){var R,U,j,H,V,X;return h.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:return R=C.call(this,z),this.options.useFetch||(R.params.mode="disable-fetch"),U=void 0,j=void 0,H=!!z.stream,G.prev=5,G.next=8,h.default.awrap(this.urllib.request(R.url,R.params));case 8:U=G.sent,this.debug("response %s %s, got %s, headers: %j",z.method,R.url,U.status,U.headers,"info"),G.next=15;break;case 12:G.prev=12,G.t0=G.catch(5),j=G.t0;case 15:if(V=void 0,!(U&&z.successStatuses&&z.successStatuses.indexOf(U.status)===-1)){G.next=28;break}return G.next=19,h.default.awrap(this.requestError(U));case 19:if(V=G.sent,!(V.code==="RequestTimeTooSkewed"&&!H)){G.next=25;break}return this.options.amendTimeSkewed=+new Date(V.serverTime)-new Date,G.next=24,h.default.awrap(this.request(z));case 24:return G.abrupt("return",G.sent);case 25:V.params=z,G.next=32;break;case 28:if(!j){G.next=32;break}return G.next=31,h.default.awrap(this.requestError(j));case 31:V=G.sent;case 32:if(!V){G.next=34;break}throw V;case 34:if(!z.xmlResponse){G.next=39;break}return G.next=37,h.default.awrap(this.parseXML(U.data));case 37:X=G.sent,U.data=X;case 39:return G.abrupt("return",U);case 40:case"end":return G.stop()}},null,this,[[5,12]])},P._getResource=function(z){var R="/";return z.bucket&&(R+=z.bucket+"/"),z.object&&(R+=z.object),R},P._isIP=T,P._escape=function(z){return p.encodeURIComponent(z).replace(/%2F/g,"/")},P._getReqUrl=function(z){var R={};o(this.options.endpoint).to(R);var U=this._isIP(R.hostname),j=this.options.cname;z.bucket&&!j&&!U&&(R.host=z.bucket+"."+R.host);var H="/";z.bucket&&U&&(H+=z.bucket+"/"),z.object&&(H+=this._escape(z.object).replace(/\+/g,"%2B")),R.pathname=H;var V={};if(z.query&&l(V,z.query),z.subres){var X={};s.string(z.subres)?X[z.subres]="":s.array(z.subres)?z.subres.forEach(function(W){X[W]=""}):X=z.subres,l(V,X)}return R.query=V,t.format(R)},P._getUserAgent=function(){var z=f&&f.browser?"js":"nodejs",R="aliyun-sdk-"+z+"/"+b.version,U=u.description;return!U&&f&&(U="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(R+" "+U)},P._checkUserAgent=function(z){var R=z.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},P.checkBrowserAndVersion=function(z,R){return E.name===z&&E.version.split(".")[0]===R},P.parseXML=function(z){return new m.default(function(R,U){g.isBuffer(z)&&(z=z.toString()),d.parseString(z,{explicitRoot:!1,explicitArray:!1},function(j,H){j?U(j):R(H)})})},P.requestError=function(z){var R,U,j,H;return h.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(R=null,!(!z.data||!z.data.length)){X.next=5;break}z.status===-1||z.status===-2?(R=new Error(z.message),R.name=z.name,R.status=z.status,R.code=z.name):(z.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):z.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+z.status),R.name="UnknowError",R.status=z.status),R.requestId=z.headers["x-oss-request-id"],R.host=""),X.next=33;break;case 5:return U=String(z.data),this.debug("request response error data: %s",U,"error"),j=void 0,X.prev=8,X.next=11,h.default.awrap(this.parseXML(U));case 11:if(X.t0=X.sent,X.t0){X.next=14;break}X.t0={};case 14:j=X.t0,X.next=24;break;case 17:return X.prev=17,X.t1=X.catch(8),this.debug(U,"error"),X.t1.message+=`
|
|
|
raw xml: `+U,X.t1.status=z.status,X.t1.requestId=z.headers["x-oss-request-id"],X.abrupt("return",X.t1);case 24:H=j.Message||"unknow request error, status: "+z.status,j.Condition&&(H+=" (condition: "+j.Condition+")"),R=new Error(H),R.name=j.Code?j.Code+"Error":"UnknowError",R.status=z.status,R.code=j.Code,R.requestId=j.RequestId,R.hostId=j.HostId,R.serverTime=j.ServerTime;case 33:return this.debug("generate error %j",R,"error"),X.abrupt("return",R);case 35:case"end":return X.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:D("../../node_modules/is-buffer/index.js")},D("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/array/from"),y=a(f),m=D("babel-runtime/core-js/promise"),v=a(m),h=D("babel-runtime/regenerator"),c=a(h);function a(A){return A&&A.__esModule?A:{default:A}}var i=D("is-type-of"),r=D("util"),o=D("path"),d=D("mime"),n=D("copy-to"),l=D("../common/utils/isBlob"),t=l.isBlob,s=D("../common/utils/isFile"),u=s.isFile,p=e;p.multipartUpload=function(S,T,L){var x,C,O,N,F,k,P,B,z;return c.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),L=L||{},!(L.checkpoint&&L.checkpoint.uploadId)){U.next=6;break}return U.next=5,c.default.awrap(this._resumeMultipart(L.checkpoint,L));case 5:return U.abrupt("return",U.sent);case 6:return x=100*1024,L.mime||(u(T)?L.mime=d.getType(o.extname(T.name)):t(T)?L.mime=T.type:L.mime=d.getType(o.extname(T))),L.headers=L.headers||{},this._convertMetaToHeaders(L.meta,L.headers),U.next=12,c.default.awrap(this._getFileSize(T));case 12:if(C=U.sent,!(C<x)){U.next=25;break}return O=this._createStream(T,0,C),L.contentLength=C,U.next=18,c.default.awrap(this.putStream(S,O,L));case 18:if(N=U.sent,!(L&&L.progress)){U.next=22;break}return U.next=22,c.default.awrap(L.progress(1));case 22:return F={res:N.res,bucket:this.options.bucket,name:S,etag:N.res.headers.etag},(L.headers&&L.headers["x-oss-callback"]||L.callback)&&(F.data=N.data),U.abrupt("return",F);case 25:if(!(L.partSize&&!(parseInt(L.partSize,10)===L.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(L.partSize&&L.partSize<x)){U.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return U.next=31,c.default.awrap(this.initMultipartUpload(S,L));case 31:if(k=U.sent,P=k.uploadId,B=this._getPartSize(C,L.partSize),z={file:T,name:S,fileSize:C,partSize:B,uploadId:P,doneParts:[]},!(L&&L.progress)){U.next=38;break}return U.next=38,c.default.awrap(L.progress(0,z,k.res));case 38:return U.next=40,c.default.awrap(this._resumeMultipart(z,L));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},p._resumeMultipart=function(S,T){var L,x,C,O,N,F,k,P,B,z,R,U,j,H,V,X,W,G;return c.default.async(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(L=this,!this.isCancel()){ge.next=3;break}throw this._makeCancelEvent();case 3:return x=S.file,C=S.fileSize,O=S.partSize,N=S.uploadId,F=S.doneParts,k=S.name,P=[],F.length>0&&n(F).to(P),B=this._divideParts(C,O),z=B.length,R=!1,U=function(Se,Ce){var Ae=this;return new v.default(function(Qe,gt){var _e,Oe,lt,ce;return c.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:if(K.prev=0,Se.isCancel()){K.next=18;break}return _e=B[Ce-1],Oe={stream:Se._createStream(x,_e.start,_e.end),size:_e.end-_e.start},K.next=6,c.default.awrap(Se._uploadPart(k,N,Ce,Oe));case 6:if(lt=K.sent,!(!Se.isCancel()&&!R)){K.next=15;break}if(S.doneParts.push({number:Ce,etag:lt.res.headers.etag}),!T.progress){K.next=12;break}return K.next=12,c.default.awrap(T.progress(F.length/z,S,lt.res));case 12:Qe({number:Ce,etag:lt.res.headers.etag}),K.next=16;break;case 15:Qe();case 16:K.next=19;break;case 18:Qe();case 19:K.next=30;break;case 21:K.prev=21,K.t0=K.catch(0),ce=new Error,ce.name=K.t0.name,ce.message=K.t0.message,ce.stack=K.t0.stack,ce.partNum=Ce,n(K.t0).to(ce),gt(ce);case 30:case"end":return K.stop()}},null,Ae,[[0,21]])})},j=(0,y.default)(new Array(z),function(q,Se){return Se+1}),H=P.map(function(q){return q.number}),V=j.filter(function(q){return H.indexOf(q)<0}),X=5,W=T.parallel||X,ge.next=17,c.default.awrap(this._parallel(V,W,function(q){return new v.default(function(Se,Ce){U(L,q).then(function(Ae){Ae&&P.push(Ae),Se()}).catch(function(Ae){Ce(Ae)})})}));case 17:if(G=ge.sent,R=!0,!this.isCancel()){ge.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(G&&G.length>0)){ge.next=25;break}throw G[0].message="Failed to upload some parts with error: "+G[0].toString()+" part_num: "+G[0].partNum,G[0];case 25:return ge.next=27,c.default.awrap(this.completeMultipartUpload(k,N,P,T));case 27:return ge.abrupt("return",ge.sent);case 28:case"end":return ge.stop()}},null,this)},p._getFileSize=function(S){return c.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!i.buffer(S)){L.next=4;break}return L.abrupt("return",S.length);case 4:if(!(t(S)||u(S))){L.next=6;break}return L.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return L.stop()}},null,this)};var w=D("stream"),b=w.Readable;function E(A,S){if(!(this instanceof E))return new E(A,S);b.call(this,S),this.file=A,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(E,b),E.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var L=this.start,x=L+S;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,T=this.push(this.fileBuffer.slice(L,x))}},E.prototype._read=function(S){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var T=16*1024;S=S||T;var L=this;this.reader.onload=function(C){L.fileBuffer=g.from(new Uint8Array(C.target.result)),L.file=null,L.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},p._createStream=function(S,T,L){if(t(S)||u(S))return new E(S.slice(T,L));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(S,T){var L=10*1e3,x=1024*1024;return T?Math.max(Math.ceil(S/L),T):x},p._divideParts=function(S,T){for(var L=Math.ceil(S/T),x=[],C=0;C<L;C++){var O=T*C,N=Math.min(O+T,S);x.push({start:O,end:N})}return x}}).call(this,D("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/keys"),m=i(y),v=D("babel-runtime/core-js/object/assign"),h=i(v),c=D("babel-runtime/regenerator"),a=i(c);function i(L){return L&&L.__esModule?L:{default:L}}var r=D("utility"),o=D("fs"),d=D("is-type-of"),n=D("url"),l=D("copy-to"),t=D("path"),s=D("mime"),u=D("../common/callback"),p=D("../common/signUtils"),w=D("merge-descriptors"),b=D("../common/utils/isBlob"),E=b.isBlob,A=D("../common/utils/isFile"),S=A.isFile,T=e;T.append=function(x,C,O){var N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return O=O||{},O.position===void 0&&(O.position="0"),O.subres={append:"",position:O.position},O.method="POST",k.next=6,a.default.awrap(this.put(x,C,O));case 6:return N=k.sent,N.nextAppendPosition=N.res.headers["x-oss-next-append-position"],k.abrupt("return",N);case 9:case"end":return k.stop()}},null,this)},T.put=function(x,C,O){var N,F,k,P,B,z,R;return a.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(N=void 0,O=O||{},x=this._objectName(x),!d.buffer(C)){j.next=7;break}N=C,j.next=33;break;case 7:if(!(E(C)||S(C))){j.next=32;break}return O.mime||(S(C)?O.mime=s.getType(t.extname(C.name)):O.mime=C.type),F=this._createStream(C,0,C.size),j.next=12,a.default.awrap(this._getFileSize(C));case 12:return O.contentLength=j.sent,j.prev=13,j.next=16,a.default.awrap(this.putStream(x,F,O));case 16:return k=j.sent,j.abrupt("return",k);case 20:if(j.prev=20,j.t0=j.catch(13),!(j.t0.code==="RequestTimeTooSkewed")){j.next=29;break}return this.options.amendTimeSkewed=+new Date(j.t0.serverTime)-new Date,j.next=26,a.default.awrap(this.put(x,C,O));case 26:return j.abrupt("return",j.sent);case 29:throw j.t0;case 30:j.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),P=O.method||"PUT",B=this._objectRequestParams(P,x,O),u.encodeCallback(B,O),B.mime=O.mime,B.content=N,B.successStatuses=[200],j.next=43,a.default.awrap(this.request(B));case 43:return z=j.sent,R={name:x,url:this._objectUrl(x),res:z.res},B.headers&&B.headers["x-oss-callback"]&&(R.data=JSON.parse(z.data.toString())),j.abrupt("return",R);case 47:case"end":return j.stop()}},null,this,[[13,20]])},T.putStream=function(x,C,O){var N,F,k,P;return a.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return O=O||{},O.headers=O.headers||{},x=this._objectName(x),O.contentLength?O.headers["Content-Length"]=O.contentLength:O.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(O.meta,O.headers),N=O.method||"PUT",F=this._objectRequestParams(N,x,O),u.encodeCallback(F,O),F.mime=O.mime,F.stream=C,F.successStatuses=[200],z.next=13,a.default.awrap(this.request(F));case 13:return k=z.sent,P={name:x,url:this._objectUrl(x),res:k.res},F.headers&&F.headers["x-oss-callback"]&&(P.data=JSON.parse(k.data.toString())),z.abrupt("return",P);case 17:case"end":return z.stop()}},null,this)},w(T,D("../common/object/copyObject")),w(T,D("../common/object/getObjectTagging")),w(T,D("../common/object/putObjectTagging")),w(T,D("../common/object/deleteObjectTagging")),w(T,D("../common/image")),w(T,D("../common/object/getBucketVersions")),w(T,D("../common/object/getACL")),w(T,D("../common/object/putACL")),w(T,D("../common/object/head")),w(T,D("../common/object/delete")),w(T,D("../common/object/get")),w(T,D("../common/object/putSymlink")),w(T,D("../common/object/getSymlink")),w(T,D("../common/object/deleteMulti")),w(T,D("../common/object/getObjectMeta")),T.putMeta=function(x,C,O){var N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,a.default.awrap(this.copy(x,x,{meta:C||{},timeout:O&&O.timeout,ctx:O&&O.ctx}));case 2:return N=k.sent,k.abrupt("return",N);case 4:case"end":return k.stop()}},null,this)},T.list=function(x,C){var O,N,F,k,P;return a.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:return O=this._objectRequestParams("GET","",C),O.query=x,O.xmlResponse=!0,O.successStatuses=[200],z.next=6,a.default.awrap(this.request(O));case 6:return N=z.sent,F=N.data.Contents,k=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(R){return{name:R.Key,url:k._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),P=N.data.CommonPrefixes||null,P&&(Array.isArray(P)||(P=[P]),P=P.map(function(R){return R.Prefix})),z.abrupt("return",{res:N.res,objects:F,prefixes:P,nextMarker:N.data.NextMarker||null,isTruncated:N.data.IsTruncated==="true"});case 13:case"end":return z.stop()}},null,this)},T.restore=function(x,C){var O,N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return C=C||{},C.subres=(0,h.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),O=this._objectRequestParams("POST",x,C),O.successStatuses=[202],k.next=7,a.default.awrap(this.request(O));case 7:return N=k.sent,k.abrupt("return",{res:N.res});case 9:case"end":return k.stop()}},null,this)},T.signatureUrl=function(x,C){C=C||{},x=this._objectName(x),C.method=C.method||"GET";var O=r.timestamp()+(C.expires||1800),N={bucket:this.options.bucket,object:x},F=this._getResource(N);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var k=p._signatureForURL(this.options.accessKeySecret,C,F,O),P=n.parse(this._getReqUrl(N));return P.query={OSSAccessKeyId:this.options.accessKeyId,Expires:O,Signature:k.Signature},l(k.subResource).to(P.query),P.format()},T.getObjectUrl=function(x,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(x))},T._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},T.generateObjectUrl=function(L,x){if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var C=n.parse(x),O=this.options.bucket;C.hostname=O+"."+C.hostname,C.host=O+"."+C.host,x=C.format()}return x+this._escape(this._objectName(L))},T._objectRequestParams=function(x,C,O){if(!this.options.bucket)throw new Error("Please create a bucket first");O=O||{},C=this._objectName(C);var N={object:C,bucket:this.options.bucket,method:x,subres:O&&O.subres,timeout:O&&O.timeout,ctx:O&&O.ctx};return O.headers&&(N.headers={},l(O.headers).to(N.headers)),N},T._objectName=function(x){return x.replace(/^\/+/,"")},T._convertMetaToHeaders=function(x,C){if(!x)return;(0,m.default)(x).forEach(function(O){C["x-oss-meta-"+O]=x[O]})},T._deleteFileSafe=function(x){var C=this;return new f.default(function(O){o.exists(x,function(N){N?o.unlink(x,function(F){F&&C.debug("unlink %j error: %s",x,F,"error"),O()}):O()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(D,_,e){"use strict";e.version="6.10.0"},{}],6:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketLifecycle=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(a),r=this._bucketRequestParams("DELETE",a,"lifecycle",i),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return o=n.sent,n.abrupt("return",{res:o.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketWebsite=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(a),r=this._bucketRequestParams("DELETE",a,"website",i),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return o=n.sent,n.abrupt("return",{res:o.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,a=D("../utils/formatObjKey"),i=a.formatObjKey,r=e;r.getBucketLifecycle=function(d,n){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return v(d),l=this._bucketRequestParams("GET",d,"lifecycle",n),l.successStatuses=[200],l.xmlResponse=!0,p.next=6,f.default.awrap(this.request(l));case 6:return t=p.sent,s=t.data.Rule||null,s&&(c(s)||(s=[s]),s=s.map(function(w){return w.ID&&(w.id=w.ID,delete w.ID),w.Tag&&!c(w.Tag)&&(w.Tag=[w.Tag]),i(w,"firstLowerCase")})),p.abrupt("return",{rules:s,res:t.res});case 10:case"end":return p.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.getBucketVersioning=function(a,i){var r,o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return v(a),r=this._bucketRequestParams("GET",a,"versioning",i),r.xmlResponse=!0,r.successStatuses=[200],l.next=6,f.default.awrap(this.request(r));case 6:return o=l.sent,d=o.data.Status,l.abrupt("return",{status:o.status,versionStatus:d,res:o.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isObject"),c=h.isObject,a=e;a.getBucketWebsite=function(r,o){var d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(r),d=this._bucketRequestParams("GET",r,"website",o),d.successStatuses=[200],d.xmlResponse=!0,s.next=6,f.default.awrap(this.request(d));case 6:return n=s.sent,l=[],n.data.RoutingRules&&n.data.RoutingRules.RoutingRule&&(c(n.data.RoutingRules.RoutingRule)?l=[n.data.RoutingRules.RoutingRule]:l=n.data.RoutingRules.RoutingRule),s.abrupt("return",{index:n.data.IndexDocument&&n.data.IndexDocument.Suffix||"",supportSubDir:n.data.IndexDocument&&n.data.IndexDocument.SupportSubDir||"false",type:n.data.IndexDocument&&n.data.IndexDocument.Type,routingRules:l,error:n.data.ErrorDocument&&n.data.ErrorDocument.Key||null,res:n.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(S){return S&&S.__esModule?S:{default:S}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,a=D("../utils/deepCopy"),i=a.deepCopy,r=D("../utils/isObject"),o=r.isObject,d=D("../utils/obj2xml"),n=d.obj2xml,l=D("../utils/checkObjectTag"),t=l.checkObjectTag,s=D("../utils/getStrBytesCount"),u=s.getStrBytesCount,p=e;p.putBucketLifecycle=function(T,L,x){var C,O,N,F,k;return f.default.async(function(B){for(;;)switch(B.prev=B.next){case 0:if(v(T),c(L)){B.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",T,"lifecycle",x),O=[],N={LifecycleConfiguration:{Rule:O}},L.forEach(function(z){w(z),A(z),z.id&&(z.ID=z.id,delete z.id),O.push(z)}),F=n(N,{headers:!0,firstUpperCase:!0}),C.content=F,C.mime="xml",C.successStatuses=[200],B.next=13,f.default.awrap(this.request(C));case 13:return k=B.sent,B.abrupt("return",{res:k.res});case 15:case"end":return B.stop()}},null,this)};function w(S){S.days&&(S.expiration={days:S.days}),S.date&&(S.expiration={createdBeforeDate:S.date})}function b(S,T){var L=S.days,x=S.createdBeforeDate;if(!L&&!x)throw new Error(T+" must includes days or createdBeforeDate");if(L&&!/^[1-9][0-9]*$/.test(L))throw new Error("days must be a positive integer");if(x&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(x))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function E(S){if(!c(S)&&!o(S))throw new Error("tag must be Object or Array");S=o(S)?[S]:S;var T={},L=i(S);L.forEach(function(x){T[x.key]=x.value}),t(T)}function A(S){if(S.id&&u(S.id)>255)throw new Error("ID is composed of 255 bytes at most");if(S.prefix===""||S.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(S.status))throw new Error("Status must be Enabled or Disabled");if(S.transition){if(!["IA","Archive"].includes(S.transition.storageClass))throw new Error("StorageClass must be IA or Archive");b(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)b(S.expiration,"Expiration");else if(S.expiration.days||S.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(S.abortMultipartUpload&&b(S.abortMultipartUpload,"AbortMultipartUpload"),!S.expiration&&!S.abortMultipartUpload&&!S.transition&&!S.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(S.tag){if(S.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");E(S.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,a=e;a.putBucketVersioning=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(v(r),["Enabled","Suspended"].includes(o)){u.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return n=this._bucketRequestParams("PUT",r,"versioning",d),l={VersioningConfiguration:{Status:o}},n.mime="xml",n.content=c(l,{headers:!0}),u.next=9,f.default.awrap(this.request(n));case 9:return t=u.sent,u.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,a=D("../utils/isArray"),i=a.isArray,r=e;r.putBucketWebsite=function(d){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(v(d),t=this._bucketRequestParams("PUT",d,"website",l),s={Suffix:n.index||"index.html"},u={IndexDocument:s},p={WebsiteConfiguration:u},n.supportSubDir&&(s.SupportSubDir=n.supportSubDir),n.type&&(s.Type=n.type),n.error&&(u.ErrorDocument={Key:n.error}),!(n.routingRules!==void 0)){E.next=12;break}if(i(n.routingRules)){E.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:n.routingRules};case 12:return p=c(p),t.content=p,t.mime="xml",t.successStatuses=[200],E.next=18,f.default.awrap(this.request(t));case 18:return w=E.sent,E.abrupt("return",{res:w.res});case 20:case"end":return E.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/keys"),y=h(f),m=D("babel-runtime/core-js/json/stringify"),v=h(m);function h(c){return c&&c.__esModule?c:{default:c}}e.encodeCallback=function(a,i){if(a.headers=a.headers||{},!Object.prototype.hasOwnProperty.call(a.headers,"x-oss-callback")&&i.callback){var r={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};i.callback.host&&(r.callbackHost=i.callback.host),i.callback.contentType&&(r.callbackBodyType=i.callback.contentType);var o=g.from((0,v.default)(r)).toString("base64");if(a.headers["x-oss-callback"]=o,i.callback.customValue){var d={};(0,y.default)(i.callback.customValue).forEach(function(n){d["x:"+n]=i.callback.customValue[n]}),a.headers["x-oss-callback-var"]=g.from((0,v.default)(d)).toString("base64")}}}}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/assign"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}var m=D("humanize-ms"),v=D("url"),h=D("../utils/checkBucketName"),c=h.checkBucketName;function a(r,o){var d=v.parse(r);if(d.protocol||(d=v.parse("http"+(o?"s":"")+"://"+r)),d.protocol!=="http:"&&d.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return d}function i(r,o,d){var n=d?"https://":"http://",l=o?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return r.substr(0,t.length)===t&&(l=".aliyuncs.com"),v.parse(n+r+l)}_.exports=function(r){if(!r||!r.accessKeyId||!r.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");r.bucket&&c(r.bucket);var o=(0,f.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},r);if(o.accessKeyId=o.accessKeyId.trim(),o.accessKeySecret=o.accessKeySecret.trim(),o.timeout&&(o.timeout=m(o.timeout)),o.endpoint)o.endpoint=a(o.endpoint,o.secure);else if(o.region)o.endpoint=i(o.region,o.internal,o.secure);else throw new Error("require options.endpoint or options.region");return o.inited=!0,o}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(D,_,e){"use strict";var g=D("merge-descriptors"),f=e;g(f,D("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("querystring"),c=D("js-base64"),a=c.Base64.encode,i=e;i.processObjectSave=function(d,n,l,t){var s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return r(d,"sourceObject"),r(n,"targetObject"),r(l,"process"),n=this._objectName(n),t&&v(t),s=this._objectRequestParams("POST",d,{subres:"x-oss-process"}),u=t?",b_"+a(t):"",n=a(n),p={"x-oss-process":l+"|sys/saveas,o_"+n+u},s.content=h.stringify(p),E.next=12,f.default.awrap(this.request(s));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.res.status});case 14:case"end":return E.stop()}},null,this)};function r(o,d){if(!o)throw new Error(d+" is required");if(typeof o!="string")throw new Error(d+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("copy-to"),v=D("./callback"),h=D("./utils/deepCopy"),c=h.deepCopy,a=e;a.listUploads=function(r,o){var d,n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return o=o||{},d={},m(o).to(d),d.subres="uploads",n=this._objectRequestParams("GET","",d),n.query=r,n.xmlResponse=!0,n.successStatuses=[200],u.next=10,f.default.awrap(this.request(n));case 10:return l=u.sent,t=l.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(p){return{name:p.Key,uploadId:p.UploadId,initiated:p.Initiated}}),u.abrupt("return",{res:l.res,uploads:t,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return u.stop()}},null,this)},a.listParts=function(r,o,d,n){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return n=n||{},l={},m(n).to(l),l.subres={uploadId:o},t=this._objectRequestParams("GET",r,l),t.query=d,t.xmlResponse=!0,t.successStatuses=[200],p.next=10,f.default.awrap(this.request(t));case 10:return s=p.sent,p.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return p.stop()}},null,this)},a.abortMultipartUpload=function(r,o,d){var n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),d=d||{},n={},m(d).to(n),n.subres={uploadId:o},l=this._objectRequestParams("DELETE",r,n),l.successStatuses=[204],u.next=9,f.default.awrap(this.request(l));case 9:return t=u.sent,u.abrupt("return",{res:t.res});case 11:case"end":return u.stop()}},null,this)},a.initMultipartUpload=function(r,o){var d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o=o||{},d={},m(o).to(d),d.headers=d.headers||{},this._convertMetaToHeaders(o.meta,d.headers),d.subres="uploads",n=this._objectRequestParams("POST",r,d),n.mime=o.mime,n.xmlResponse=!0,n.successStatuses=[200],s.next=12,f.default.awrap(this.request(n));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},a.uploadPart=function(r,o,d,n,l,t,s){var u;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return u={stream:this._createStream(n,l,t),size:t-l},w.next=3,f.default.awrap(this._uploadPart(r,o,d,u,s));case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}},null,this)},a.completeMultipartUpload=function(r,o,d,n){var l,t,s,u,p,w,b,E;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(l=d.concat().sort(function(T,L){return T.number-L.number}).filter(function(T,L,x){return!L||T.number!==x[L-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,s=0;s<l.length;s++)u=l[s],t+=`<Part>
|
|
|
`,t+="<PartNumber>"+u.number+`</PartNumber>
|
|
|
`,t+="<ETag>"+u.etag+`</ETag>
|
|
|
`,t+=`</Part>
|
|
|
`;return t+="</CompleteMultipartUpload>",n=n||{},p={},p=c(n),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:o},w=this._objectRequestParams("POST",r,p),v.encodeCallback(w,p),w.mime="xml",w.content=t,w.headers&&w.headers["x-oss-callback"]||(w.xmlResponse=!0),w.successStatuses=[200],S.next=17,f.default.awrap(this.request(w));case 17:return b=S.sent,E={res:b.res,bucket:w.bucket,name:r,etag:b.res.headers.etag},w.headers&&w.headers["x-oss-callback"]&&(E.data=JSON.parse(b.data.toString())),S.abrupt("return",E);case 21:case"end":return S.stop()}},null,this)},a._uploadPart=function(r,o,d,n,l){var t,s,u;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return l=l||{},t={},m(l).to(t),t.headers={"Content-Length":n.size},t.subres={partNumber:d,uploadId:o},s=this._objectRequestParams("PUT",r,t),s.mime=t.mime,s.stream=n.stream,s.successStatuses=[200],w.next=11,f.default.awrap(this.request(s));case 11:if(u=w.sent,u.res.headers.etag){w.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
|
|
|
https://help.aliyun.com/document_detail/32069.html`);case 14:return n.stream=null,s.stream=null,w.abrupt("return",{name:r,etag:u.res.headers.etag,res:u.res});case 17:case"end":return w.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(o){return o&&o.__esModule?o:{default:o}}var a=D("../utils/checkBucketName"),i=a.checkBucketName,r=e;r.copy=function(d,n,l,t){var s,u,p;return f.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return(typeof l=="undefined"?"undefined":(0,h.default)(l))==="object"&&(t=l),t=t||{},t.headers=t.headers||{},(0,m.default)(t.headers).forEach(function(E){t.headers["x-oss-copy-source-"+E.toLowerCase()]=t.headers[E]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),n=this._getSourceName(n,l),t.versionId&&(n=n+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=n,s=this._objectRequestParams("PUT",d,t),s.xmlResponse=!0,s.successStatuses=[200,304],b.next=14,f.default.awrap(this.request(s));case 14:return u=b.sent,p=u.data,p&&(p={etag:p.ETag,lastModified:p.LastModified}),b.abrupt("return",{data:p,res:u.res});case 18:case"end":return b.stop()}},null,this)},r._getSourceName=function(d,n){return typeof n=="string"?d=this._objectName(d):d[0]!=="/"?n=this.options.bucket:(n=d.replace(/\/(.+?)(\/.*)/,"$1"),d=d.replace(/(\/.+?\/)(.*)/,"$2")),i(n),d=encodeURI(d),d="/"+n+"/"+d,d}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.delete=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,m.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("DELETE",a,i),r.successStatuses=[204],n.next=6,f.default.awrap(this.request(r));case 6:return o=n.sent,n.abrupt("return",{res:o.res});case 8:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(r){return r&&r.__esModule?r:{default:r}}var h=D("utility"),c=D("../utils/obj2xml"),a=c.obj2xml,i=e;i.deleteMulti=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,l,t,s,u,p,w,b,E,A,S,T;return f.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(n=[],!(!o||!o.length)){x.next=3;break}throw new Error("names is required");case 3:for(l=0;l<o.length;l++)t={},typeof o[l]=="string"?t.Key=h.escape(this._objectName(o[l])):(s=o[l],u=s.key,p=s.versionId,t.Key=h.escape(this._objectName(u)),t.VersionId=p),n.push(t);return w={Delete:{Quiet:!!d.quiet,Object:n}},b=a(w,{headers:!0}),d.subres=(0,m.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),E=this._objectRequestParams("POST","",d),E.mime="xml",E.content=b,E.xmlResponse=!0,E.successStatuses=[200],x.next=15,f.default.awrap(this.request(E));case 15:return A=x.sent,S=A.data,T=S&&S.Deleted||null,T&&(Array.isArray(T)||(T=[T])),x.abrupt("return",{res:A.res,deleted:T||[]});case 20:case"end":return x.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.deleteObjectTagging=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,m.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("DELETE",a,i),r.successStatuses=[204],n.next=7,f.default.awrap(this.request(r));case 7:return o=n.sent,n.abrupt("return",{status:o.status,res:o.res});case 9:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=D("fs"),c=D("is-type-of"),a=e;a.get=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return n=null,l=!1,c.writableStream(o)?n=o:c.string(o)?(n=h.createWriteStream(o),l=!0):d=o,d=d||{},d.subres=(0,m.default)({},d.subres),d.versionId&&(d.subres.versionId=d.versionId),d.process&&(d.subres["x-oss-process"]=d.process),t=void 0,p.prev=8,s=this._objectRequestParams("GET",r,d),s.writeStream=n,s.successStatuses=[200,206,304],p.next=14,f.default.awrap(this.request(s));case 14:t=p.sent,l&&n.destroy(),p.next=25;break;case 18:if(p.prev=18,p.t0=p.catch(8),!l){p.next=24;break}return n.destroy(),p.next=24,f.default.awrap(this._deleteFileSafe(o));case 24:throw p.t0;case 25:return p.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return p.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getACL=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i.subres=(0,m.default)({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("GET",a,i),r.successStatuses=[200],r.xmlResponse=!0,n.next=8,f.default.awrap(this.request(r));case 8:return o=n.sent,n.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=c(g),y=D("babel-runtime/regenerator"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(s){return s&&s.__esModule?s:{default:s}}var a=e,i=D("../utils/isObject"),r=i.isObject,o=D("../utils/isArray"),d=o.isArray;a.getBucketVersions=n,a.listObjectVersions=n;function n(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p,w,b,E,A,S;return m.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){L.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,h.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),p=this._objectRequestParams("GET","",u),p.xmlResponse=!0,p.successStatuses=[200],p.query=t(s),L.next=10,m.default.awrap(this.request(p));case 10:return w=L.sent,b=w.data.Version||[],E=w.data.DeleteMarker||[],A=this,b&&(Array.isArray(b)||(b=[b]),b=b.map(function(x){return{name:x.Key,url:A._objectUrl(x.Key),lastModified:x.LastModified,isLatest:x.IsLatest==="true",versionId:x.VersionId,etag:x.ETag,type:x.Type,size:Number(x.Size),storageClass:x.StorageClass,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),E&&(d(E)||(E=[E]),E=E.map(function(x){return{name:x.Key,lastModified:x.LastModified,versionId:x.VersionId,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),S=w.data.CommonPrefixes||null,S&&(d(S)||(S=[S]),S=S.map(function(x){return x.Prefix})),L.abrupt("return",{res:w.res,objects:b,deleteMarker:E,prefixes:S,nextMarker:w.data.NextMarker||null,NextVersionIdMarker:w.data.NextVersionIdMarker||null,isTruncated:w.data.IsTruncated==="true"});case 19:case"end":return L.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u={};return r(s)&&(0,f.default)(s).forEach(function(p){u[l(p)]=s[p]}),u}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getObjectMeta=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i=i||{},a=this._objectName(a),i.subres=(0,m.default)({objectMeta:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("HEAD",a,i),r.successStatuses=[200],n.next=8,f.default.awrap(this.request(r));case 8:return o=n.sent,n.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=e,c=D("../utils/isObject"),a=c.isObject;h.getObjectTagging=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,n,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return o.subres=(0,m.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),r=this._objectName(r),d=this._objectRequestParams("GET",r,o),d.successStatuses=[200],p.next=7,f.default.awrap(this.request(d));case 7:return n=p.sent,p.next=10,f.default.awrap(this.parseXML(n.data));case 10:return l=p.sent,t=l.TagSet.Tag,t=t&&a(t)?[t]:t||[],s={},t.forEach(function(w){s[w.Key]=w.Value}),p.abrupt("return",{status:n.status,res:n.res,tag:s});case 16:case"end":return p.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getSymlink=function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return i.subres=(0,m.default)({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("GET",a,i),r.successStatuses=[200],l.next=7,f.default.awrap(this.request(r));case 7:return o=l.sent,d=o.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(d),res:o.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(i){return i&&i.__esModule?i:{default:i}}var a=e;a.head=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o.subres=(0,h.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),d=this._objectRequestParams("HEAD",r,o),d.successStatuses=[200,304],s.next=6,f.default.awrap(this.request(d));case 6:return n=s.sent,l={meta:null,res:n.res,status:n.status},n.status===200&&(0,m.default)(n.headers).forEach(function(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=n.headers[u])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putACL=function(a,i,r){var o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.subres=(0,m.default)({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.headers=r.headers||{},r.headers["x-oss-object-acl"]=i,a=this._objectName(a),o=this._objectRequestParams("PUT",a,r),o.successStatuses=[200],l.next=10,f.default.awrap(this.request(o));case 10:return d=l.sent,l.abrupt("return",{res:d.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(n){return n&&n.__esModule?n:{default:n}}var a=D("../utils/obj2xml"),i=a.obj2xml,r=D("../utils/checkObjectTag"),o=r.checkObjectTag,d=e;d.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return o(t),s.subres=(0,h.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),u=this._objectRequestParams("PUT",l,s),u.successStatuses=[200],t=(0,m.default)(t).map(function(A){return{Key:A,Value:t[A]}}),p={Tagging:{TagSet:{Tag:t}}},u.mime="xml",u.content=i(p),E.next=12,f.default.awrap(this.request(u));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.status});case 14:case"end":return E.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putSymlink=function(a,i,r){var o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.headers=r.headers||{},i=this._escape(this._objectName(i)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=i,r.subres=(0,m.default)({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.storageClass&&(r.headers["x-oss-storage-class"]=r.storageClass),a=this._objectName(a),o=this._objectRequestParams("PUT",a,r),o.successStatuses=[200],l.next=13,f.default.awrap(this.request(o));case 13:return d=l.sent,l.abrupt("return",{res:d.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/promise"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h._parallelNode=function(a,i,r,o){var d,n,l,t,s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:d=this,n=[],l=[],t=a.length/i,s=a.length%i,u=s===0?t:(a.length-s)/i+1,p=1,w=0;case 8:if(!(w<a.length)){E.next=26;break}if(!d.isCancel()){E.next=11;break}return E.abrupt("break",26);case 11:if(o?l.push(r(d,a[w],o)):l.push(r(d,a[w])),!(l.length===i||p===u&&w===a.length-1)){E.next=23;break}return E.prev=13,p+=1,E.next=17,f.default.awrap(m.default.all(l));case 17:E.next=22;break;case 19:E.prev=19,E.t0=E.catch(13),n.push(E.t0);case 22:l=[];case 23:w++,E.next=8;break;case 26:return E.abrupt("return",n);case 27:case"end":return E.stop()}},null,this,[[13,19]])},h._parallel=function(a,i,r){var o=this;return new m.default(function(d){var n=[];if(i<=0||!a){d(n);return}function l(S){return function(){if(S===null)throw new Error("Callback was already called.");var T=S;S=null;for(var L=arguments.length,x=Array(L),C=0;C<L;C++)x[C]=arguments[C];T.apply(this,x)}}function t(S){var T=-1,L=S.length;return function(){return++T<L&&!o.isCancel()?{value:S[T],key:T}:null}}var s=t(a),u=!1,p=0,w=!1;function b(S,T){p-=1,S?(u=!0,n.push(S),d(n)):T==={}||u&&p<=0?(u=!0,d(n)):w||(o.isCancel()?d(n):A())}function E(S,T){r(S).then(function(L){T(null,L)}).catch(function(L){T(L)})}function A(){for(w=!0;p<i&&!u&&!o.isCancel();){var S=s();if(S===null||n.length>0){u=!0,p<=0&&d(n);return}p+=1,E(S.value,l(b))}w=!1}A()})},h.cancel=function(a){this.options.cancelFlag=!0,a&&this.abortMultipartUpload(a.name,a.uploadId,a.options)},h.isCancel=function(){return this.options.cancelFlag},h.resetCancelFlag=function(){this.options.cancelFlag=!1},h._stop=function(){this.options.cancelFlag=!0},h._makeCancelEvent=function(){var a={status:0,name:"cancel"};return a}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/json/stringify"),y=h(f),m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(i){return i&&i.__esModule?i:{default:i}}var c=D("./../../shims/crypto/crypto.js"),a=D("is-type-of");e.buildCanonicalizedResource=function(r,o){var d=""+r,n="?";if(a.string(o)&&o.trim()!=="")d+=n+o;else if(a.array(o))o.sort(),d+=n+o.join("&");else if(o){var l=function(u,p){return u[0]>p[0]?1:u[0]<p[0]?-1:0},t=function(u){d+=n+u,o[u]&&(d+="="+o[u]),n="&"};(0,v.default)(o).sort(l).forEach(t)}return d},e.buildCanonicalString=function(r,o,d,n){d=d||{};var l=d.headers||{},t="x-oss-",s=[],u={},p=[r.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],n||l["x-oss-date"]];return(0,v.default)(l).forEach(function(w){var b=w.toLowerCase();b.indexOf(t)===0&&(u[b]=String(l[w]).trim())}),(0,v.default)(u).sort().forEach(function(w){s.push(w+":"+u[w])}),p=p.concat(s),p.push(this.buildCanonicalizedResource(o,d.parameters)),p.join(`
|
|
|
`)},e.computeSignature=function(r,o){var d=c.createHmac("sha1",r);return d.update(g.from(o,"utf8")).digest("base64")},e.authorization=function(r,o,d){return"OSS "+r+":"+this.computeSignature(o,d)},e._signatureForURL=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments[2],n=arguments[3],l={},t=o.subResource,s=t===void 0?{}:t;if(o.process){var u="x-oss-process";s[u]=o.process}if(o.trafficLimit){var p="x-oss-traffic-limit";s[p]=o.trafficLimit}if(o.response&&(0,v.default)(o.response).forEach(function(A){var S="response-"+A.toLowerCase();s[S]=o.response[A]}),(0,v.default)(o).forEach(function(A){var S=A.toLowerCase(),T=o[A];S.indexOf("x-oss-")===0?l[S]=T:(S.indexOf("content-md5")===0||S.indexOf("content-type")===0)&&(l[A]=T)}),Object.prototype.hasOwnProperty.call(o,"security-token")&&(s["security-token"]=o["security-token"]),Object.prototype.hasOwnProperty.call(o,"callback")){var w={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};if(o.callback.host&&(w.callbackHost=o.callback.host),o.callback.contentType&&(w.callbackBodyType=o.callback.contentType),s.callback=g.from((0,y.default)(w)).toString("base64"),o.callback.customValue){var b={};(0,v.default)(o.callback.customValue).forEach(function(A){b["x:"+A]=o.callback.customValue[A]}),s["callback-var"]=g.from((0,y.default)(b)).toString("base64")}}var E=this.buildCanonicalString(o.method,d,{headers:l,parameters:s},n.toString());return{Signature:this.computeSignature(r,E),subResource:s}}}).call(this,D("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var y=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!y.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/entries"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=D("./checkValid"),v=m.checkValid,h=D("./isObject"),c=h.isObject,a=[{validator:function(d){if(typeof d!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],i={key:[].concat(a,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(a,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function r(o){if(!c(o))throw new Error("tag must be Object");var d=(0,f.default)(o);if(d.length>10)throw new Error("maximum of 10 tags for a object");var n=["key","value"];d.forEach(function(l){l.forEach(function(t,s){v(t,i[n[s]])})})}e.checkObjectTag=r},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,y){y.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}e.checkValid=g},{}],38:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/assign"),y=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var v=D("./../../../shims/crypto/crypto.js"),h=D("debug")("ali-oss"),c=D("mime"),a=D("dateformat"),i=D("copy-to"),r=D("path");function o(l,t){return l[t]||l[t.toLowerCase()]}function d(l,t){delete l[t],delete l[t.toLowerCase()]}function n(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":a(t,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,y.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),i(l.headers).to(s),o(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=c.getType(l.mime||r.extname(l.object||""))),o(s,"Content-Type")||d(s,"Content-Type"),l.content&&(s["Content-Md5"]=v.createHash("md5").update(g.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var u=this._getResource(l);s.authorization=this.authorization(l.method,u,l.subres,s);var p=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,p,s,!!l.stream);var w=l.timeout||this.options.timeout,b={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:w,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(b.agent=this.agent),this.httpsAgent&&(b.httpsAgent=this.httpsAgent),{url:p,params:b}}e.createRequest=n}).call(this,D("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),m=v(y);function v(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepCopy=void 0,e.deepCopy=function(h){if(h===null||(typeof h=="undefined"?"undefined":(0,m.default)(h))!=="object")return h;var c=Array.isArray(h)?[]:{};return(0,f.default)(h).forEach(function(a){c[a]=e.deepCopy(h[a])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),m=v(y);function v(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function h(a,i){if(a===null||(typeof a=="undefined"?"undefined":(0,m.default)(a))!=="object")return a;var r=void 0;if(Array.isArray(a)){r=[];for(var o=0;o<a.length;o++)r.push(h(a[o],i))}else r={},(0,f.default)(a).forEach(function(d){r[c(d,i)]=h(a[d],i)});return r}e.formatObjKey=h;function c(a,i){return i==="firstUpperCase"?a=a.replace(/^./,function(r){return r.toUpperCase()}):i==="firstLowerCase"&&(a=a.replace(/^./,function(r){return r.toLowerCase()})),a}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var y=0,m=0;m<f.length;m++){var v=f.charAt(m);/^[\u00-\uff]$/.test(v)?y+=1:y+=2}return y}e.getStrBytesCount=g},{}],42:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"}},{}],43:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBlob=void 0;function g(f){return typeof Blob!="undefined"&&f instanceof Blob}e.isBlob=g},{}],44:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFile=void 0,e.isFile=function(g){return typeof File!="undefined"&&g instanceof File}},{}],45:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIP=void 0,e.isIP=function(g){var f=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,y=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return f.test(g)||y.test(g)}},{}],46:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"}},{}],47:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=D("./formatObjKey");function v(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function h(c,a){var i="";return a&&a.headers&&(i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),a&&a.firstUpperCase&&(c=m.formatObjKey(c,"firstUpperCase")),v(c)==="object"?(0,f.default)(c).forEach(function(r){v(c[r])==="string"||v(c[r])==="number"?i+="<"+r+">"+c[r]+"</"+r+">":v(c[r])==="object"?i+="<"+r+">"+h(c[r])+"</"+r+">":v(c[r])==="array"?i+=c[r].map(function(o){return"<"+r+">"+h(o)+"</"+r+">"}).join(""):i+="<"+r+">"+c[r].toString()+"</"+r+">"}):i+=c.toString(),i}e.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(D,_,e){_.exports=g,_.exports.HttpsAgent=g;function g(){}},{}],49:[function(D,_,e){_.exports=D("./register")().Promise},{"./register":51}],50:[function(D,_,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;_.exports=function(y,m){return function(h,c){h=h||null,c=c||{};var a=c.global!==!1;if(f===null&&a&&(f=y[g]||null),f!==null&&h!==null&&f.implementation!==h)throw new Error('any-promise already defined as "'+f.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return f===null&&(h!==null&&typeof c.Promise!="undefined"?f={Promise:c.Promise,implementation:h}:f=m(h),a&&(y[g]=f)),f}}},{}],51:[function(D,_,e){"use strict";_.exports=D("./loader")(window,g);function g(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(D,_,e){_.exports={default:D("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(D,_,e){_.exports={default:D("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(D,_,e){_.exports={default:D("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(D,_,e){_.exports={default:D("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(D,_,e){_.exports={default:D("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(D,_,e){"use strict";e.__esModule=!0;var g=D("../core-js/symbol/iterator"),f=h(g),y=D("../core-js/symbol"),m=h(y),v=typeof m.default=="function"&&typeof f.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c};function h(c){return c&&c.__esModule?c:{default:c}}e.default=typeof m.default=="function"&&v(f.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":v(c)}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c=="undefined"?"undefined":v(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(D,_,e){_.exports=D("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(D,_,e){"use strict";e.byteLength=a,e.toByteArray=r,e.fromByteArray=n;for(var g=[],f=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=m.length;v<h;++v)g[v]=m[v],f[m.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var u=s===t?0:4-s%4;return[s,u]}function a(l){var t=c(l),s=t[0],u=t[1];return(s+u)*3/4-u}function i(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=c(l),u=s[0],p=s[1],w=new y(i(l,u,p)),b=0,E=p>0?u-4:u,A;for(A=0;A<E;A+=4)t=f[l.charCodeAt(A)]<<18|f[l.charCodeAt(A+1)]<<12|f[l.charCodeAt(A+2)]<<6|f[l.charCodeAt(A+3)],w[b++]=t>>16&255,w[b++]=t>>8&255,w[b++]=t&255;return p===2&&(t=f[l.charCodeAt(A)]<<2|f[l.charCodeAt(A+1)]>>4,w[b++]=t&255),p===1&&(t=f[l.charCodeAt(A)]<<10|f[l.charCodeAt(A+1)]<<4|f[l.charCodeAt(A+2)]>>2,w[b++]=t>>8&255,w[b++]=t&255),w}function o(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function d(l,t,s){for(var u,p=[],w=t;w<s;w+=3)u=(l[w]<<16&16711680)+(l[w+1]<<8&65280)+(l[w+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],w=16383,b=0,E=s-u;b<E;b+=w)p.push(d(l,b,b+w>E?E:b+w));return u===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):u===2&&(t=(l[s-2]<<8)+l[s-1],p.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),p.join("")}},{}],70:[function(D,_,e){/*!
|
|
|
* Bowser - a browser detector
|
|
|
* https://github.com/ded/bowser
|
|
|
* MIT License | (c) Dustin Diaz 2015
|
|
|
*/!function(g,f,y){typeof _!="undefined"&&_.exports?_.exports=y():typeof define=="function"&&define.amd?define(f,y):g[f]=y()}(this,"bowser",function(){var g=!0;function f(i){function r(U){var j=i.match(U);return j&&j.length>1&&j[1]||""}function o(U){var j=i.match(U);return j&&j.length>1&&j[2]||""}var d=r(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(i),l=!n&&/android/i.test(i),t=/nexus\s*[0-6]\s*/i.test(i),s=!t&&/nexus\s*[0-9]+/i.test(i),u=/CrOS/.test(i),p=/silk/i.test(i),w=/sailfish/i.test(i),b=/tizen/i.test(i),E=/(web|hpw)(o|0)s/i.test(i),A=/windows phone/i.test(i),S=/SamsungBrowser/i.test(i),T=!A&&/windows/i.test(i),L=!d&&!p&&/macintosh/i.test(i),x=!l&&!w&&!b&&!E&&/linux/i.test(i),C=o(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=r(/version\/(\d+(\.\d+)?)/i),N=/tablet/i.test(i)&&!/tablet pc/i.test(i),F=!N&&/[^-]mobi/i.test(i),k=/xbox/i.test(i),P;/opera/i.test(i)?P={name:"Opera",opera:g,version:O||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?P={name:"Opera",opera:g,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(i)?P={name:"Samsung Internet for Android",samsungBrowser:g,version:O||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?P={name:"NAVER Whale browser",whale:g,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?P={name:"MZ Browser",mzbrowser:g,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?P={name:"Opera Coast",coast:g,version:O||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?P={name:"Focus",focus:g,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?P={name:"Yandex Browser",yandexbrowser:g,version:O||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?P={name:"UC Browser",ucbrowser:g,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?P={name:"Maxthon",maxthon:g,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?P={name:"Epiphany",epiphany:g,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?P={name:"Puffin",puffin:g,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?P={name:"Sleipnir",sleipnir:g,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?P={name:"K-Meleon",kMeleon:g,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:A?(P={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},C?(P.msedge=g,P.version=C):(P.msie=g,P.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?P={name:"Internet Explorer",msie:g,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?P={name:"Chrome",osname:"Chrome OS",chromeos:g,chromeBook:g,chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(i)?P={name:"Microsoft Edge",msedge:g,version:C}:/vivaldi/i.test(i)?P={name:"Vivaldi",vivaldi:g,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||O}:w?P={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?P={name:"SeaMonkey",seamonkey:g,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(P={name:"Firefox",firefox:g,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(P.firefoxos=g,P.osname="Firefox OS")):p?P={name:"Amazon Silk",silk:g,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?P={name:"PhantomJS",phantom:g,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?P={name:"SlimerJS",slimer:g,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?P={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:O||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:E?(P={name:"WebOS",osname:"WebOS",webos:g,version:O||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(P.touchpad=g)):/bada/i.test(i)?P={name:"Bada",osname:"Bada",bada:g,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:b?P={name:"Tizen",osname:"Tizen",tizen:g,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(i)?P={name:"QupZilla",qupzilla:g,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(i)?P={name:"Chromium",chromium:g,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(i)?P={name:"Chrome",chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?P={name:"Android",version:O}:/safari|applewebkit/i.test(i)?(P={name:"Safari",safari:g},O&&(P.version=O)):d?(P={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},O&&(P.version=O)):/googlebot/i.test(i)?P={name:"Googlebot",googlebot:g,version:r(/googlebot\/(\d+(\.\d+))/i)||O}:P={name:r(/^(.*)\/(.*) /),version:o(/^(.*)\/(.*) /)},!P.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(P.name=P.name||"Blink",P.blink=g):(P.name=P.name||"Webkit",P.webkit=g),!P.version&&O&&(P.version=O)):!P.opera&&/gecko\//i.test(i)&&(P.name=P.name||"Gecko",P.gecko=g,P.version=P.version||r(/gecko\/(\d+(\.\d+)?)/i)),!P.windowsphone&&(l||P.silk)?(P.android=g,P.osname="Android"):!P.windowsphone&&d?(P[d]=g,P.ios=g,P.osname="iOS"):L?(P.mac=g,P.osname="macOS"):k?(P.xbox=g,P.osname="Xbox"):T?(P.windows=g,P.osname="Windows"):x&&(P.linux=g,P.osname="Linux");function B(U){switch(U){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var z="";P.windows?z=B(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):P.windowsphone?z=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):P.mac?(z=r(/Mac OS X (\d+([_\.\s]\d+)*)/i),z=z.replace(/[_\s]/g,".")):d?(z=r(/os (\d+([_\s]\d+)*) like mac os x/i),z=z.replace(/[_\s]/g,".")):l?z=r(/android[ \/-](\d+(\.\d+)*)/i):P.webos?z=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):P.blackberry?z=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):P.bada?z=r(/bada\/(\d+(\.\d+)*)/i):P.tizen&&(z=r(/tizen[\/\s](\d+(\.\d+)*)/i)),z&&(P.osversion=z);var R=!P.windows&&z.split(".")[0];return N||s||d=="ipad"||l&&(R==3||R>=4&&!F)||P.silk?P.tablet=g:(F||d=="iphone"||d=="ipod"||l||t||P.blackberry||P.webos||P.bada)&&(P.mobile=g),P.msedge||P.msie&&P.version>=10||P.yandexbrowser&&P.version>=15||P.vivaldi&&P.version>=1||P.chrome&&P.version>=20||P.samsungBrowser&&P.version>=4||P.whale&&h([P.version,"1.0"])===1||P.mzbrowser&&h([P.version,"6.0"])===1||P.focus&&h([P.version,"1.0"])===1||P.firefox&&P.version>=20||P.safari&&P.version>=6||P.opera&&P.version>=10||P.ios&&P.osversion&&P.osversion.split(".")[0]>=6||P.blackberry&&P.version>=10.1||P.chromium&&P.version>=20?P.a=g:P.msie&&P.version<10||P.chrome&&P.version<20||P.firefox&&P.version<20||P.safari&&P.version<6||P.opera&&P.version<10||P.ios&&P.osversion&&P.osversion.split(".")[0]<6||P.chromium&&P.version<20?P.c=g:P.x=g,P}var y=f(typeof navigator!="undefined"&&navigator.userAgent||"");y.test=function(i){for(var r=0;r<i.length;++r){var o=i[r];if(typeof o=="string"&&o in y)return!0}return!1};function m(i){return i.split(".").length}function v(i,r){var o=[],d;if(Array.prototype.map)return Array.prototype.map.call(i,r);for(d=0;d<i.length;d++)o.push(r(i[d]));return o}function h(i){for(var r=Math.max(m(i[0]),m(i[1])),o=v(i,function(d){var n=r-m(d);return d=d+new Array(n+1).join(".0"),v(d.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--r>=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]===o[1][r]){if(r===0)return 0}else return-1}}function c(i,r,o){var d=y;typeof r=="string"&&(o=r,r=void 0),r===void 0&&(r=!1),o&&(d=f(o));var n=""+d.version;for(var l in i)if(i.hasOwnProperty(l)&&d[l]){if(typeof i[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(i));return h([n,i[l]])<0}return r}function a(i,r,o){return!c(i,r,o)}return y.isUnsupportedBrowser=c,y.compareVersions=h,y.check=a,y._detect=f,y.detect=f,y})},{}],71:[function(D,_,e){},{}],72:[function(D,_,e){var g=D("buffer").Buffer,f=g.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function y(a){if(a&&!f(a))throw new Error("Unknown encoding: "+a)}var m=e.StringDecoder=function(a){this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),y(a);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=h;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=c;break;default:this.write=v;return}this.charBuffer=new g(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(a){for(var i="";this.charLength;){var r=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";a=a.slice(r,a.length),i=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=i.charCodeAt(i.length-1);if(d>=55296&&d<=56319){this.charLength+=this.surrogateSize,i="";continue}if(this.charReceived=this.charLength=0,a.length===0)return i;break}this.detectIncompleteChar(a);var o=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,o),o-=this.charReceived),i+=a.toString(this.encoding,0,o);var o=i.length-1,d=i.charCodeAt(o);if(d>=55296&&d<=56319){var n=this.surrogateSize;return this.charLength+=n,this.charReceived+=n,this.charBuffer.copy(this.charBuffer,n,0,n),a.copy(this.charBuffer,0,0,n),i.substring(0,o)}return i},m.prototype.detectIncompleteChar=function(a){for(var i=a.length>=3?3:a.length;i>0;i--){var r=a[a.length-i];if(i==1&&r>>5==6){this.charLength=2;break}if(i<=2&&r>>4==14){this.charLength=3;break}if(i<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=i},m.prototype.end=function(a){var i="";if(a&&a.length&&(i=this.write(a)),this.charReceived){var r=this.charReceived,o=this.charBuffer,d=this.encoding;i+=o.slice(0,r).toString(d)}return i};function v(a){return a.toString(this.encoding)}function h(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function c(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(D,_,e){(function(g,f){/*!
|
|
|
* The buffer module from node.js, for the browser.
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|
|
* @license MIT
|
|
|
*/"use strict";var y=D("base64-js"),m=D("ieee754"),v=D("isarray");e.Buffer=f,e.SlowBuffer=p,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:h(),e.kMaxLength=c();function h(){try{var ce=new Uint8Array(1);return ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ce.foo()===42&&typeof ce.subarray=="function"&&ce.subarray(1,1).byteLength===0}catch(Y){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(ce,Y){if(c()<Y)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(ce=new Uint8Array(Y),ce.__proto__=f.prototype):(ce===null&&(ce=new f(Y)),ce.length=Y),ce}function f(ce,Y,K){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(ce,Y,K);if(typeof ce=="number"){if(typeof Y=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ce)}return i(this,ce,Y,K)}f.poolSize=8192,f._augment=function(ce){return ce.__proto__=f.prototype,ce};function i(ce,Y,K,Q){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Y instanceof ArrayBuffer?t(ce,Y,K,Q):typeof Y=="string"?n(ce,Y,K):s(ce,Y)}f.from=function(ce,Y,K){return i(null,ce,Y,K)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}));function r(ce){if(typeof ce!="number")throw new TypeError('"size" argument must be a number');if(ce<0)throw new RangeError('"size" argument must not be negative')}function o(ce,Y,K,Q){return r(Y),Y<=0?a(ce,Y):K!==void 0?typeof Q=="string"?a(ce,Y).fill(K,Q):a(ce,Y).fill(K):a(ce,Y)}f.alloc=function(ce,Y,K){return o(null,ce,Y,K)};function d(ce,Y){if(r(Y),ce=a(ce,Y<0?0:u(Y)|0),!f.TYPED_ARRAY_SUPPORT)for(var K=0;K<Y;++K)ce[K]=0;return ce}f.allocUnsafe=function(ce){return d(null,ce)},f.allocUnsafeSlow=function(ce){return d(null,ce)};function n(ce,Y,K){if((typeof K!="string"||K==="")&&(K="utf8"),!f.isEncoding(K))throw new TypeError('"encoding" must be a valid string encoding');var Q=w(Y,K)|0;ce=a(ce,Q);var ye=ce.write(Y,K);return ye!==Q&&(ce=ce.slice(0,ye)),ce}function l(ce,Y){var K=Y.length<0?0:u(Y.length)|0;ce=a(ce,K);for(var Q=0;Q<K;Q+=1)ce[Q]=Y[Q]&255;return ce}function t(ce,Y,K,Q){if(Y.byteLength,K<0||Y.byteLength<K)throw new RangeError("'offset' is out of bounds");if(Y.byteLength<K+(Q||0))throw new RangeError("'length' is out of bounds");return K===void 0&&Q===void 0?Y=new Uint8Array(Y):Q===void 0?Y=new Uint8Array(Y,K):Y=new Uint8Array(Y,K,Q),f.TYPED_ARRAY_SUPPORT?(ce=Y,ce.__proto__=f.prototype):ce=l(ce,Y),ce}function s(ce,Y){if(f.isBuffer(Y)){var K=u(Y.length)|0;return ce=a(ce,K),ce.length===0||Y.copy(ce,0,0,K),ce}if(Y){if(typeof ArrayBuffer!="undefined"&&Y.buffer instanceof ArrayBuffer||"length"in Y)return typeof Y.length!="number"||lt(Y.length)?a(ce,0):l(ce,Y);if(Y.type==="Buffer"&&v(Y.data))return l(ce,Y.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ce){if(ce>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return ce|0}function p(ce){return+ce!=ce&&(ce=0),f.alloc(+ce)}f.isBuffer=function(Y){return!!(Y!=null&&Y._isBuffer)},f.compare=function(Y,K){if(!f.isBuffer(Y)||!f.isBuffer(K))throw new TypeError("Arguments must be Buffers");if(Y===K)return 0;for(var Q=Y.length,ye=K.length,ue=0,Ne=Math.min(Q,ye);ue<Ne;++ue)if(Y[ue]!==K[ue]){Q=Y[ue],ye=K[ue];break}return Q<ye?-1:ye<Q?1:0},f.isEncoding=function(Y){switch(String(Y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(Y,K){if(!v(Y))throw new TypeError('"list" argument must be an Array of Buffers');if(Y.length===0)return f.alloc(0);var Q;if(K===void 0)for(K=0,Q=0;Q<Y.length;++Q)K+=Y[Q].length;var ye=f.allocUnsafe(K),ue=0;for(Q=0;Q<Y.length;++Q){var Ne=Y[Q];if(!f.isBuffer(Ne))throw new TypeError('"list" argument must be an Array of Buffers');Ne.copy(ye,ue),ue+=Ne.length}return ye};function w(ce,Y){if(f.isBuffer(ce))return ce.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ce)||ce instanceof ArrayBuffer))return ce.byteLength;typeof ce!="string"&&(ce=""+ce);var K=ce.length;if(K===0)return 0;for(var Q=!1;;)switch(Y){case"ascii":case"latin1":case"binary":return K;case"utf8":case"utf-8":case void 0:return Ue(ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K*2;case"hex":return K>>>1;case"base64":return _e(ce).length;default:if(Q)return Ue(ce).length;Y=(""+Y).toLowerCase(),Q=!0}}f.byteLength=w;function b(ce,Y,K){var Q=!1;if((Y===void 0||Y<0)&&(Y=0),Y>this.length)return"";if((K===void 0||K>this.length)&&(K=this.length),K<=0)return"";if(K>>>=0,Y>>>=0,K<=Y)return"";for(ce||(ce="utf8");;)switch(ce){case"hex":return U(this,Y,K);case"utf8":case"utf-8":return k(this,Y,K);case"ascii":return z(this,Y,K);case"latin1":case"binary":return R(this,Y,K);case"base64":return F(this,Y,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,Y,K);default:if(Q)throw new TypeError("Unknown encoding: "+ce);ce=(ce+"").toLowerCase(),Q=!0}}f.prototype._isBuffer=!0;function E(ce,Y,K){var Q=ce[Y];ce[Y]=ce[K],ce[K]=Q}f.prototype.swap16=function(){var Y=this.length;if(Y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var K=0;K<Y;K+=2)E(this,K,K+1);return this},f.prototype.swap32=function(){var Y=this.length;if(Y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var K=0;K<Y;K+=4)E(this,K,K+3),E(this,K+1,K+2);return this},f.prototype.swap64=function(){var Y=this.length;if(Y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var K=0;K<Y;K+=8)E(this,K,K+7),E(this,K+1,K+6),E(this,K+2,K+5),E(this,K+3,K+4);return this},f.prototype.toString=function(){var Y=this.length|0;return Y===0?"":arguments.length===0?k(this,0,Y):b.apply(this,arguments)},f.prototype.equals=function(Y){if(!f.isBuffer(Y))throw new TypeError("Argument must be a Buffer");return this===Y?!0:f.compare(this,Y)===0},f.prototype.inspect=function(){var Y="",K=e.INSPECT_MAX_BYTES;return this.length>0&&(Y=this.toString("hex",0,K).match(/.{2}/g).join(" "),this.length>K&&(Y+=" ... ")),"<Buffer "+Y+">"},f.prototype.compare=function(Y,K,Q,ye,ue){if(!f.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(K===void 0&&(K=0),Q===void 0&&(Q=Y?Y.length:0),ye===void 0&&(ye=0),ue===void 0&&(ue=this.length),K<0||Q>Y.length||ye<0||ue>this.length)throw new RangeError("out of range index");if(ye>=ue&&K>=Q)return 0;if(ye>=ue)return-1;if(K>=Q)return 1;if(K>>>=0,Q>>>=0,ye>>>=0,ue>>>=0,this===Y)return 0;for(var Ne=ue-ye,Te=Q-K,oe=Math.min(Ne,Te),de=this.slice(ye,ue),Le=Y.slice(K,Q),Ge=0;Ge<oe;++Ge)if(de[Ge]!==Le[Ge]){Ne=de[Ge],Te=Le[Ge];break}return Ne<Te?-1:Te<Ne?1:0};function A(ce,Y,K,Q,ye){if(ce.length===0)return-1;if(typeof K=="string"?(Q=K,K=0):K>2147483647?K=2147483647:K<-2147483648&&(K=-2147483648),K=+K,isNaN(K)&&(K=ye?0:ce.length-1),K<0&&(K=ce.length+K),K>=ce.length){if(ye)return-1;K=ce.length-1}else if(K<0)if(ye)K=0;else return-1;if(typeof Y=="string"&&(Y=f.from(Y,Q)),f.isBuffer(Y))return Y.length===0?-1:S(ce,Y,K,Q,ye);if(typeof Y=="number")return Y=Y&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(ce,Y,K):Uint8Array.prototype.lastIndexOf.call(ce,Y,K):S(ce,[Y],K,Q,ye);throw new TypeError("val must be string, number or Buffer")}function S(ce,Y,K,Q,ye){var ue=1,Ne=ce.length,Te=Y.length;if(Q!==void 0&&(Q=String(Q).toLowerCase(),Q==="ucs2"||Q==="ucs-2"||Q==="utf16le"||Q==="utf-16le")){if(ce.length<2||Y.length<2)return-1;ue=2,Ne/=2,Te/=2,K/=2}function oe(Et,Be){return ue===1?Et[Be]:Et.readUInt16BE(Be*ue)}var de;if(ye){var Le=-1;for(de=K;de<Ne;de++)if(oe(ce,de)===oe(Y,Le===-1?0:de-Le)){if(Le===-1&&(Le=de),de-Le+1===Te)return Le*ue}else Le!==-1&&(de-=de-Le),Le=-1}else for(K+Te>Ne&&(K=Ne-Te),de=K;de>=0;de--){for(var Ge=!0,ht=0;ht<Te;ht++)if(oe(ce,de+ht)!==oe(Y,ht)){Ge=!1;break}if(Ge)return de}return-1}f.prototype.includes=function(Y,K,Q){return this.indexOf(Y,K,Q)!==-1},f.prototype.indexOf=function(Y,K,Q){return A(this,Y,K,Q,!0)},f.prototype.lastIndexOf=function(Y,K,Q){return A(this,Y,K,Q,!1)};function T(ce,Y,K,Q){K=Number(K)||0;var ye=ce.length-K;Q?(Q=Number(Q),Q>ye&&(Q=ye)):Q=ye;var ue=Y.length;if(ue%2!==0)throw new TypeError("Invalid hex string");Q>ue/2&&(Q=ue/2);for(var Ne=0;Ne<Q;++Ne){var Te=parseInt(Y.substr(Ne*2,2),16);if(isNaN(Te))return Ne;ce[K+Ne]=Te}return Ne}function L(ce,Y,K,Q){return Oe(Ue(Y,ce.length-K),ce,K,Q)}function x(ce,Y,K,Q){return Oe(Qe(Y),ce,K,Q)}function C(ce,Y,K,Q){return x(ce,Y,K,Q)}function O(ce,Y,K,Q){return Oe(_e(Y),ce,K,Q)}function N(ce,Y,K,Q){return Oe(gt(Y,ce.length-K),ce,K,Q)}f.prototype.write=function(Y,K,Q,ye){if(K===void 0)ye="utf8",Q=this.length,K=0;else if(Q===void 0&&typeof K=="string")ye=K,Q=this.length,K=0;else if(isFinite(K))K=K|0,isFinite(Q)?(Q=Q|0,ye===void 0&&(ye="utf8")):(ye=Q,Q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ue=this.length-K;if((Q===void 0||Q>ue)&&(Q=ue),Y.length>0&&(Q<0||K<0)||K>this.length)throw new RangeError("Attempt to write outside buffer bounds");ye||(ye="utf8");for(var Ne=!1;;)switch(ye){case"hex":return T(this,Y,K,Q);case"utf8":case"utf-8":return L(this,Y,K,Q);case"ascii":return x(this,Y,K,Q);case"latin1":case"binary":return C(this,Y,K,Q);case"base64":return O(this,Y,K,Q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,Y,K,Q);default:if(Ne)throw new TypeError("Unknown encoding: "+ye);ye=(""+ye).toLowerCase(),Ne=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ce,Y,K){return Y===0&&K===ce.length?y.fromByteArray(ce):y.fromByteArray(ce.slice(Y,K))}function k(ce,Y,K){K=Math.min(ce.length,K);for(var Q=[],ye=Y;ye<K;){var ue=ce[ye],Ne=null,Te=ue>239?4:ue>223?3:ue>191?2:1;if(ye+Te<=K){var oe,de,Le,Ge;switch(Te){case 1:ue<128&&(Ne=ue);break;case 2:oe=ce[ye+1],(oe&192)===128&&(Ge=(ue&31)<<6|oe&63,Ge>127&&(Ne=Ge));break;case 3:oe=ce[ye+1],de=ce[ye+2],(oe&192)===128&&(de&192)===128&&(Ge=(ue&15)<<12|(oe&63)<<6|de&63,Ge>2047&&(Ge<55296||Ge>57343)&&(Ne=Ge));break;case 4:oe=ce[ye+1],de=ce[ye+2],Le=ce[ye+3],(oe&192)===128&&(de&192)===128&&(Le&192)===128&&(Ge=(ue&15)<<18|(oe&63)<<12|(de&63)<<6|Le&63,Ge>65535&&Ge<1114112&&(Ne=Ge))}}Ne===null?(Ne=65533,Te=1):Ne>65535&&(Ne-=65536,Q.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),Q.push(Ne),ye+=Te}return B(Q)}var P=4096;function B(ce){var Y=ce.length;if(Y<=P)return String.fromCharCode.apply(String,ce);for(var K="",Q=0;Q<Y;)K+=String.fromCharCode.apply(String,ce.slice(Q,Q+=P));return K}function z(ce,Y,K){var Q="";K=Math.min(ce.length,K);for(var ye=Y;ye<K;++ye)Q+=String.fromCharCode(ce[ye]&127);return Q}function R(ce,Y,K){var Q="";K=Math.min(ce.length,K);for(var ye=Y;ye<K;++ye)Q+=String.fromCharCode(ce[ye]);return Q}function U(ce,Y,K){var Q=ce.length;(!Y||Y<0)&&(Y=0),(!K||K<0||K>Q)&&(K=Q);for(var ye="",ue=Y;ue<K;++ue)ye+=Ae(ce[ue]);return ye}function j(ce,Y,K){for(var Q=ce.slice(Y,K),ye="",ue=0;ue<Q.length;ue+=2)ye+=String.fromCharCode(Q[ue]+Q[ue+1]*256);return ye}f.prototype.slice=function(Y,K){var Q=this.length;Y=~~Y,K=K===void 0?Q:~~K,Y<0?(Y+=Q,Y<0&&(Y=0)):Y>Q&&(Y=Q),K<0?(K+=Q,K<0&&(K=0)):K>Q&&(K=Q),K<Y&&(K=Y);var ye;if(f.TYPED_ARRAY_SUPPORT)ye=this.subarray(Y,K),ye.__proto__=f.prototype;else{var ue=K-Y;ye=new f(ue,void 0);for(var Ne=0;Ne<ue;++Ne)ye[Ne]=this[Ne+Y]}return ye};function H(ce,Y,K){if(ce%1!==0||ce<0)throw new RangeError("offset is not uint");if(ce+Y>K)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y],ue=1,Ne=0;++Ne<K&&(ue*=256);)ye+=this[Y+Ne]*ue;return ye},f.prototype.readUIntBE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y+--K],ue=1;K>0&&(ue*=256);)ye+=this[Y+--K]*ue;return ye},f.prototype.readUInt8=function(Y,K){return K||H(Y,1,this.length),this[Y]},f.prototype.readUInt16LE=function(Y,K){return K||H(Y,2,this.length),this[Y]|this[Y+1]<<8},f.prototype.readUInt16BE=function(Y,K){return K||H(Y,2,this.length),this[Y]<<8|this[Y+1]},f.prototype.readUInt32LE=function(Y,K){return K||H(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+this[Y+3]*16777216},f.prototype.readUInt32BE=function(Y,K){return K||H(Y,4,this.length),this[Y]*16777216+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},f.prototype.readIntLE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=this[Y],ue=1,Ne=0;++Ne<K&&(ue*=256);)ye+=this[Y+Ne]*ue;return ue*=128,ye>=ue&&(ye-=Math.pow(2,8*K)),ye},f.prototype.readIntBE=function(Y,K,Q){Y=Y|0,K=K|0,Q||H(Y,K,this.length);for(var ye=K,ue=1,Ne=this[Y+--ye];ye>0&&(ue*=256);)Ne+=this[Y+--ye]*ue;return ue*=128,Ne>=ue&&(Ne-=Math.pow(2,8*K)),Ne},f.prototype.readInt8=function(Y,K){return K||H(Y,1,this.length),this[Y]&128?(255-this[Y]+1)*-1:this[Y]},f.prototype.readInt16LE=function(Y,K){K||H(Y,2,this.length);var Q=this[Y]|this[Y+1]<<8;return Q&32768?Q|4294901760:Q},f.prototype.readInt16BE=function(Y,K){K||H(Y,2,this.length);var Q=this[Y+1]|this[Y]<<8;return Q&32768?Q|4294901760:Q},f.prototype.readInt32LE=function(Y,K){return K||H(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},f.prototype.readInt32BE=function(Y,K){return K||H(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},f.prototype.readFloatLE=function(Y,K){return K||H(Y,4,this.length),m.read(this,Y,!0,23,4)},f.prototype.readFloatBE=function(Y,K){return K||H(Y,4,this.length),m.read(this,Y,!1,23,4)},f.prototype.readDoubleLE=function(Y,K){return K||H(Y,8,this.length),m.read(this,Y,!0,52,8)},f.prototype.readDoubleBE=function(Y,K){return K||H(Y,8,this.length),m.read(this,Y,!1,52,8)};function V(ce,Y,K,Q,ye,ue){if(!f.isBuffer(ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>ye||Y<ue)throw new RangeError('"value" argument is out of bounds');if(K+Q>ce.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,Q=Q|0,!ye){var ue=Math.pow(2,8*Q)-1;V(this,Y,K,Q,ue,0)}var Ne=1,Te=0;for(this[K]=Y&255;++Te<Q&&(Ne*=256);)this[K+Te]=Y/Ne&255;return K+Q},f.prototype.writeUIntBE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,Q=Q|0,!ye){var ue=Math.pow(2,8*Q)-1;V(this,Y,K,Q,ue,0)}var Ne=Q-1,Te=1;for(this[K+Ne]=Y&255;--Ne>=0&&(Te*=256);)this[K+Ne]=Y/Te&255;return K+Q},f.prototype.writeUInt8=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,1,255,0),f.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[K]=Y&255,K+1};function X(ce,Y,K,Q){Y<0&&(Y=65535+Y+1);for(var ye=0,ue=Math.min(ce.length-K,2);ye<ue;++ye)ce[K+ye]=(Y&255<<8*(Q?ye:1-ye))>>>(Q?ye:1-ye)*8}f.prototype.writeUInt16LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8):X(this,Y,K,!0),K+2},f.prototype.writeUInt16BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>8,this[K+1]=Y&255):X(this,Y,K,!1),K+2};function W(ce,Y,K,Q){Y<0&&(Y=4294967295+Y+1);for(var ye=0,ue=Math.min(ce.length-K,4);ye<ue;++ye)ce[K+ye]=Y>>>(Q?ye:3-ye)*8&255}f.prototype.writeUInt32LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[K+3]=Y>>>24,this[K+2]=Y>>>16,this[K+1]=Y>>>8,this[K]=Y&255):W(this,Y,K,!0),K+4},f.prototype.writeUInt32BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>24,this[K+1]=Y>>>16,this[K+2]=Y>>>8,this[K+3]=Y&255):W(this,Y,K,!1),K+4},f.prototype.writeIntLE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,!ye){var ue=Math.pow(2,8*Q-1);V(this,Y,K,Q,ue-1,-ue)}var Ne=0,Te=1,oe=0;for(this[K]=Y&255;++Ne<Q&&(Te*=256);)Y<0&&oe===0&&this[K+Ne-1]!==0&&(oe=1),this[K+Ne]=(Y/Te>>0)-oe&255;return K+Q},f.prototype.writeIntBE=function(Y,K,Q,ye){if(Y=+Y,K=K|0,!ye){var ue=Math.pow(2,8*Q-1);V(this,Y,K,Q,ue-1,-ue)}var Ne=Q-1,Te=1,oe=0;for(this[K+Ne]=Y&255;--Ne>=0&&(Te*=256);)Y<0&&oe===0&&this[K+Ne+1]!==0&&(oe=1),this[K+Ne]=(Y/Te>>0)-oe&255;return K+Q},f.prototype.writeInt8=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,1,127,-128),f.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[K]=Y&255,K+1},f.prototype.writeInt16LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8):X(this,Y,K,!0),K+2},f.prototype.writeInt16BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>8,this[K+1]=Y&255):X(this,Y,K,!1),K+2},f.prototype.writeInt32LE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[K]=Y&255,this[K+1]=Y>>>8,this[K+2]=Y>>>16,this[K+3]=Y>>>24):W(this,Y,K,!0),K+4},f.prototype.writeInt32BE=function(Y,K,Q){return Y=+Y,K=K|0,Q||V(this,Y,K,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),f.TYPED_ARRAY_SUPPORT?(this[K]=Y>>>24,this[K+1]=Y>>>16,this[K+2]=Y>>>8,this[K+3]=Y&255):W(this,Y,K,!1),K+4};function G(ce,Y,K,Q,ye,ue){if(K+Q>ce.length)throw new RangeError("Index out of range");if(K<0)throw new RangeError("Index out of range")}function $(ce,Y,K,Q,ye){return ye||G(ce,Y,K,4,34028234663852886e22,-34028234663852886e22),m.write(ce,Y,K,Q,23,4),K+4}f.prototype.writeFloatLE=function(Y,K,Q){return $(this,Y,K,!0,Q)},f.prototype.writeFloatBE=function(Y,K,Q){return $(this,Y,K,!1,Q)};function ge(ce,Y,K,Q,ye){return ye||G(ce,Y,K,8,17976931348623157e292,-17976931348623157e292),m.write(ce,Y,K,Q,52,8),K+8}f.prototype.writeDoubleLE=function(Y,K,Q){return ge(this,Y,K,!0,Q)},f.prototype.writeDoubleBE=function(Y,K,Q){return ge(this,Y,K,!1,Q)},f.prototype.copy=function(Y,K,Q,ye){if(Q||(Q=0),!ye&&ye!==0&&(ye=this.length),K>=Y.length&&(K=Y.length),K||(K=0),ye>0&&ye<Q&&(ye=Q),ye===Q)return 0;if(Y.length===0||this.length===0)return 0;if(K<0)throw new RangeError("targetStart out of bounds");if(Q<0||Q>=this.length)throw new RangeError("sourceStart out of bounds");if(ye<0)throw new RangeError("sourceEnd out of bounds");ye>this.length&&(ye=this.length),Y.length-K<ye-Q&&(ye=Y.length-K+Q);var ue=ye-Q,Ne;if(this===Y&&Q<K&&K<ye)for(Ne=ue-1;Ne>=0;--Ne)Y[Ne+K]=this[Ne+Q];else if(ue<1e3||!f.TYPED_ARRAY_SUPPORT)for(Ne=0;Ne<ue;++Ne)Y[Ne+K]=this[Ne+Q];else Uint8Array.prototype.set.call(Y,this.subarray(Q,Q+ue),K);return ue},f.prototype.fill=function(Y,K,Q,ye){if(typeof Y=="string"){if(typeof K=="string"?(ye=K,K=0,Q=this.length):typeof Q=="string"&&(ye=Q,Q=this.length),Y.length===1){var ue=Y.charCodeAt(0);ue<256&&(Y=ue)}if(ye!==void 0&&typeof ye!="string")throw new TypeError("encoding must be a string");if(typeof ye=="string"&&!f.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye)}else typeof Y=="number"&&(Y=Y&255);if(K<0||this.length<K||this.length<Q)throw new RangeError("Out of range index");if(Q<=K)return this;K=K>>>0,Q=Q===void 0?this.length:Q>>>0,Y||(Y=0);var Ne;if(typeof Y=="number")for(Ne=K;Ne<Q;++Ne)this[Ne]=Y;else{var Te=f.isBuffer(Y)?Y:Ue(new f(Y,ye).toString()),oe=Te.length;for(Ne=0;Ne<Q-K;++Ne)this[Ne+K]=Te[Ne%oe]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function Se(ce){if(ce=Ce(ce).replace(q,""),ce.length<2)return"";for(;ce.length%4!==0;)ce=ce+"=";return ce}function Ce(ce){return ce.trim?ce.trim():ce.replace(/^\s+|\s+$/g,"")}function Ae(ce){return ce<16?"0"+ce.toString(16):ce.toString(16)}function Ue(ce,Y){Y=Y||Infinity;for(var K,Q=ce.length,ye=null,ue=[],Ne=0;Ne<Q;++Ne){if(K=ce.charCodeAt(Ne),K>55295&&K<57344){if(!ye){if(K>56319){(Y-=3)>-1&&ue.push(239,191,189);continue}else if(Ne+1===Q){(Y-=3)>-1&&ue.push(239,191,189);continue}ye=K;continue}if(K<56320){(Y-=3)>-1&&ue.push(239,191,189),ye=K;continue}K=(ye-55296<<10|K-56320)+65536}else ye&&((Y-=3)>-1&&ue.push(239,191,189));if(ye=null,K<128){if((Y-=1)<0)break;ue.push(K)}else if(K<2048){if((Y-=2)<0)break;ue.push(K>>6|192,K&63|128)}else if(K<65536){if((Y-=3)<0)break;ue.push(K>>12|224,K>>6&63|128,K&63|128)}else if(K<1114112){if((Y-=4)<0)break;ue.push(K>>18|240,K>>12&63|128,K>>6&63|128,K&63|128)}else throw new Error("Invalid code point")}return ue}function Qe(ce){for(var Y=[],K=0;K<ce.length;++K)Y.push(ce.charCodeAt(K)&255);return Y}function gt(ce,Y){for(var K,Q,ye,ue=[],Ne=0;Ne<ce.length&&!((Y-=2)<0);++Ne)K=ce.charCodeAt(Ne),Q=K>>8,ye=K%256,ue.push(ye),ue.push(Q);return ue}function _e(ce){return y.toByteArray(Se(ce))}function Oe(ce,Y,K,Q){for(var ye=0;ye<Q&&!(ye+K>=Y.length||ye>=ce.length);++ye)Y[ye+K]=ce[ye];return ye}function lt(ce){return ce!==ce}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(D,_,e){_.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(D,_,e){_.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(D,_,e){/*!
|
|
|
* copy-to - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=Array.prototype.slice;_.exports=f;function f(m,v){if(!(this instanceof f))return new f(m,v);this.src=m,this._withAccess=v}f.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},f.prototype.pick=function(m){return Array.isArray(m)||(m=g.call(arguments)),m.length&&(this.keys=m),this},f.prototype.to=function(m){if(m=m||{},!this.src)return m;var v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<v.length;h++){if(c=v[h],m[c]!==void 0)continue;m[c]=this.src[c]}return m}for(var h=0;h<v.length;h++){var c=v[h];if(!y(m,c))continue;var a=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);a&&m.__defineGetter__(c,a),i&&m.__defineSetter__(c,i),!a&&!i&&(m[c]=this.src[c])}return m},f.prototype.toCover=function(m){for(var v=this.keys||Object.keys(this.src),h=0;h<v.length;h++){var c=v[h];delete m[c];var a=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);a&&m.__defineGetter__(c,a),i&&m.__defineSetter__(c,i),!a&&!i&&(m[c]=this.src[c])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var v={};return this.to(v),this.src=m,this.to(v),this.src=v,this};function y(m,v){return m[v]===void 0&&m.__lookupGetter__(v)===void 0&&m.__lookupSetter__(v)===void 0}},{}],77:[function(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/es6.array.from"),_.exports=D("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(D,_,e){var g=D("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});_.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(D,_,e){D("../../modules/es6.object.assign"),_.exports=D("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(D,_,e){D("../../modules/es6.object.create");var g=D("../../modules/_core").Object;_.exports=function(y,m){return g.create(y,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(D,_,e){D("../../modules/es6.object.define-property");var g=D("../../modules/_core").Object;_.exports=function(y,m,v){return g.defineProperty(y,m,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(D,_,e){D("../../modules/es7.object.entries"),_.exports=D("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(D,_,e){D("../../modules/es6.object.get-own-property-names");var g=D("../../modules/_core").Object;_.exports=function(y){return g.getOwnPropertyNames(y)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(D,_,e){D("../../modules/es6.object.get-prototype-of"),_.exports=D("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(D,_,e){D("../../modules/es6.object.keys"),_.exports=D("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(D,_,e){D("../modules/es6.object.to-string"),D("../modules/es6.string.iterator"),D("../modules/web.dom.iterable"),D("../modules/es6.promise"),D("../modules/es7.promise.finally"),D("../modules/es7.promise.try"),_.exports=D("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(D,_,e){D("../modules/web.immediate"),_.exports=D("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(D,_,e){D("../../modules/es6.string.from-code-point"),_.exports=D("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(D,_,e){D("../../modules/es6.function.has-instance"),_.exports=D("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(D,_,e){D("../../modules/es6.symbol"),D("../../modules/es6.object.to-string"),D("../../modules/es7.symbol.async-iterator"),D("../../modules/es7.symbol.observable"),_.exports=D("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/web.dom.iterable"),_.exports=D("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(D,_,e){_.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(D,_,e){_.exports=function(){}},{}],94:[function(D,_,e){_.exports=function(g,f,y,m){if(!(g instanceof f)||m!==void 0&&m in g)throw TypeError(y+": incorrect invocation!");return g}},{}],95:[function(D,_,e){var g=D("./_is-object");_.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_to-length"),y=D("./_to-absolute-index");_.exports=function(m){return function(v,h,c){var a=g(v),i=f(a.length),r=y(c,i),o;if(m&&h!=h){for(;i>r;)if(o=a[r++],o!=o)return!0}else for(;i>r;r++)if((m||r in a)&&a[r]===h)return m||r||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(D,_,e){var g=D("./_cof"),f=D("./_wks")("toStringTag"),y=g(function(){return arguments}())=="Arguments",m=function(h,c){try{return h[c]}catch(a){}};_.exports=function(v){var h,c,a;return v===void 0?"Undefined":v===null?"Null":typeof(c=m(h=Object(v),f))=="string"?c:y?g(h):(a=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},{"./_cof":98,"./_wks":166}],98:[function(D,_,e){var g={}.toString;_.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(D,_,e){var g=_.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(D,_,e){"use strict";var g=D("./_object-dp"),f=D("./_property-desc");_.exports=function(y,m,v){m in y?g.f(y,m,f(0,v)):y[m]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(D,_,e){var g=D("./_a-function");_.exports=function(f,y,m){if(g(f),y===void 0)return f;switch(m){case 1:return function(v){return f.call(y,v)};case 2:return function(v,h){return f.call(y,v,h)};case 3:return function(v,h,c){return f.call(y,v,h,c)}}return function(){return f.apply(y,arguments)}}},{"./_a-function":92}],102:[function(D,_,e){_.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(D,_,e){_.exports=!D("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(D,_,e){var g=D("./_is-object"),f=D("./_global").document,y=g(f)&&g(f.createElement);_.exports=function(m){return y?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(D,_,e){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(D,_,e){var g=D("./_object-keys"),f=D("./_object-gops"),y=D("./_object-pie");_.exports=function(m){var v=g(m),h=f.f;if(h)for(var c=h(m),a=y.f,i=0,r;c.length>i;)a.call(m,r=c[i++])&&v.push(r);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(D,_,e){var g=D("./_global"),f=D("./_core"),y=D("./_ctx"),m=D("./_hide"),v=D("./_has"),h="prototype",c=function a(i,r,o){var d=i&a.F,n=i&a.G,l=i&a.S,t=i&a.P,s=i&a.B,u=i&a.W,p=n?f:f[r]||(f[r]={}),w=p[h],b=n?g:l?g[r]:(g[r]||{})[h],E,A,S;n&&(o=r);for(E in o){if(A=!d&&b&&b[E]!==void 0,A&&v(p,E))continue;S=A?b[E]:o[E],p[E]=n&&typeof b[E]!="function"?o[E]:s&&A?y(S,g):u&&b[E]==S?function(T){var L=function(C,O,N){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(C);case 2:return new T(C,O)}return new T(C,O,N)}return T.apply(this,arguments)};return L[h]=T[h],L}(S):t&&typeof S=="function"?y(Function.call,S):S,t&&((p.virtual||(p.virtual={}))[E]=S,i&a.R&&w&&!w[E]&&m(w,E,S))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(D,_,e){_.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(D,_,e){var g=D("./_ctx"),f=D("./_iter-call"),y=D("./_is-array-iter"),m=D("./_an-object"),v=D("./_to-length"),h=D("./core.get-iterator-method"),c={},a={},e=_.exports=function(i,r,o,d,n){var l=n?function(){return i}:h(i),t=g(o,d,r?2:1),s=0,u,p,w,b;if(typeof l!="function")throw TypeError(i+" is not iterable!");if(y(l)){for(u=v(i.length);u>s;s++)if(b=r?t(m(p=i[s])[0],p[1]):t(i[s]),b===c||b===a)return b}else for(w=l.call(i);!(p=w.next()).done;)if(b=f(w,t,p.value,r),b===c||b===a)return b};e.BREAK=c,e.RETURN=a},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(D,_,e){var g=_.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=g)},{}],111:[function(D,_,e){var g={}.hasOwnProperty;_.exports=function(f,y){return g.call(f,y)}},{}],112:[function(D,_,e){var g=D("./_object-dp"),f=D("./_property-desc");_.exports=D("./_descriptors")?function(y,m,v){return g.f(y,m,f(1,v))}:function(y,m,v){return y[m]=v,y}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(D,_,e){var g=D("./_global").document;_.exports=g&&g.documentElement},{"./_global":110}],114:[function(D,_,e){_.exports=!D("./_descriptors")&&!D("./_fails")(function(){return Object.defineProperty(D("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(D,_,e){_.exports=function(g,f,y){var m=y===void 0;switch(f.length){case 0:return m?g():g.call(y);case 1:return m?g(f[0]):g.call(y,f[0]);case 2:return m?g(f[0],f[1]):g.call(y,f[0],f[1]);case 3:return m?g(f[0],f[1],f[2]):g.call(y,f[0],f[1],f[2]);case 4:return m?g(f[0],f[1],f[2],f[3]):g.call(y,f[0],f[1],f[2],f[3])}return g.apply(y,f)}},{}],116:[function(D,_,e){var g=D("./_cof");_.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(D,_,e){var g=D("./_iterators"),f=D("./_wks")("iterator"),y=Array.prototype;_.exports=function(m){return m!==void 0&&(g.Array===m||y[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(D,_,e){var g=D("./_cof");_.exports=Array.isArray||function(y){return g(y)=="Array"}},{"./_cof":98}],119:[function(D,_,e){_.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(D,_,e){var g=D("./_an-object");_.exports=function(f,y,m,v){try{return v?y(g(m)[0],m[1]):y(m)}catch(c){var h=f.return;throw h!==void 0&&g(h.call(f)),c}}},{"./_an-object":95}],121:[function(D,_,e){"use strict";var g=D("./_object-create"),f=D("./_property-desc"),y=D("./_set-to-string-tag"),m={};D("./_hide")(m,D("./_wks")("iterator"),function(){return this}),_.exports=function(v,h,c){v.prototype=g(m,{next:f(1,c)}),y(v,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_export"),y=D("./_redefine"),m=D("./_hide"),v=D("./_iterators"),h=D("./_iter-create"),c=D("./_set-to-string-tag"),a=D("./_object-gpo"),i=D("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),o="@@iterator",d="keys",n="values",l=function(){return this};_.exports=function(t,s,u,p,w,b,E){h(u,s,p);var A=function(R){if(!r&&R in x)return x[R];switch(R){case d:return function(){return new u(this,R)};case n:return function(){return new u(this,R)}}return function(){return new u(this,R)}},S=s+" Iterator",T=w==n,L=!1,x=t.prototype,C=x[i]||x[o]||w&&x[w],O=C||A(w),N=w?T?A("entries"):O:void 0,F=s=="Array"&&x.entries||C,k,P,B;if(F&&(B=a(F.call(new t)),B!==Object.prototype&&B.next&&(c(B,S,!0),!g&&typeof B[i]!="function"&&m(B,i,l))),T&&C&&C.name!==n&&(L=!0,O=function(){return C.call(this)}),(!g||E)&&(r||L||!x[i])&&m(x,i,O),v[s]=O,v[S]=l,w)if(k={values:T?O:A(n),keys:b?O:A(d),entries:N},E)for(P in k)P in x||y(x,P,k[P]);else f(f.P+f.F*(r||L),s,k);return k}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(D,_,e){var g=D("./_wks")("iterator"),f=!1;try{var y=[7][g]();y.return=function(){f=!0},Array.from(y,function(){throw 2})}catch(m){}_.exports=function(m,v){if(!v&&!f)return!1;var h=!1;try{var c=[7],a=c[g]();a.next=function(){return{done:h=!0}},c[g]=function(){return a},m(c)}catch(i){}return h}},{"./_wks":166}],124:[function(D,_,e){_.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(D,_,e){_.exports={}},{}],126:[function(D,_,e){_.exports=!0},{}],127:[function(D,_,e){var g=D("./_uid")("meta"),f=D("./_is-object"),y=D("./_has"),m=D("./_object-dp").f,v=0,h=Object.isExtensible||function(){return!0},c=!D("./_fails")(function(){return h(Object.preventExtensions({}))}),a=function(l){m(l,g,{value:{i:"O"+ ++v,w:{}}})},i=function(l,t){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!y(l,g)){if(!h(l))return"F";if(!t)return"E";a(l)}return l[g].i},r=function(l,t){if(!y(l,g)){if(!h(l))return!0;if(!t)return!1;a(l)}return l[g].w},o=function(l){return c&&d.NEED&&h(l)&&!y(l,g)&&a(l),l},d=_.exports={KEY:g,NEED:!1,fastKey:i,getWeak:r,onFreeze:o}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(D,_,e){var g=D("./_global"),f=D("./_task").set,y=g.MutationObserver||g.WebKitMutationObserver,m=g.process,v=g.Promise,h=D("./_cof")(m)=="process";_.exports=function(){var c,a,i,r=function(){var t,s;for(h&&(t=m.domain)&&t.exit();c;){s=c.fn,c=c.next;try{s()}catch(u){throw c?i():a=void 0,u}}a=void 0,t&&t.enter()};if(h)i=function(){m.nextTick(r)};else if(y&&!(g.navigator&&g.navigator.standalone)){var o=!0,d=document.createTextNode("");new y(r).observe(d,{characterData:!0}),i=function(){d.data=o=!o}}else if(v&&v.resolve){var n=v.resolve(void 0);i=function(){n.then(r)}}else i=function(){f.call(g,r)};return function(l){var t={fn:l,next:void 0};a&&(a.next=t),c||(c=t,i()),a=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(D,_,e){"use strict";var g=D("./_a-function");function f(y){var m,v;this.promise=new y(function(h,c){if(m!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");m=h,v=c}),this.resolve=g(m),this.reject=g(v)}_.exports.f=function(y){return new f(y)}},{"./_a-function":92}],130:[function(D,_,e){"use strict";var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_object-gops"),m=D("./_object-pie"),v=D("./_to-object"),h=D("./_iobject"),c=Object.assign;_.exports=!c||D("./_fails")(function(){var a={},i={},r=Symbol(),o="abcdefghijklmnopqrst";return a[r]=7,o.split("").forEach(function(d){i[d]=d}),c({},a)[r]!=7||Object.keys(c({},i)).join("")!=o})?function(i,r){for(var o=v(i),d=arguments.length,n=1,l=y.f,t=m.f;d>n;)for(var s=h(arguments[n++]),u=l?f(s).concat(l(s)):f(s),p=u.length,w=0,b;p>w;)b=u[w++],(!g||t.call(s,b))&&(o[b]=s[b]);return o}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(D,_,e){var g=D("./_an-object"),f=D("./_object-dps"),y=D("./_enum-bug-keys"),m=D("./_shared-key")("IE_PROTO"),v=function(){},h="prototype",c=function(){var i=D("./_dom-create")("iframe"),r=y.length,o="<",d=">",n;for(i.style.display="none",D("./_html").appendChild(i),i.src="javascript:",n=i.contentWindow.document,n.open(),n.write(o+"script"+d+"document.F=Object"+o+"/script"+d),n.close(),c=n.F;r--;)delete c[h][y[r]];return c()};_.exports=Object.create||function(i,r){var o;return i!==null?(v[h]=g(i),o=new v,v[h]=null,o[m]=i):o=c(),r===void 0?o:f(o,r)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(D,_,e){var g=D("./_an-object"),f=D("./_ie8-dom-define"),y=D("./_to-primitive"),m=Object.defineProperty;e.f=D("./_descriptors")?Object.defineProperty:function(h,c,a){if(g(h),c=y(c,!0),g(a),f)try{return m(h,c,a)}catch(i){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(h[c]=a.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(D,_,e){var g=D("./_object-dp"),f=D("./_an-object"),y=D("./_object-keys");_.exports=D("./_descriptors")?Object.defineProperties:function(v,h){f(v);for(var c=y(h),a=c.length,i=0,r;a>i;)g.f(v,r=c[i++],h[r]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(D,_,e){var g=D("./_object-pie"),f=D("./_property-desc"),y=D("./_to-iobject"),m=D("./_to-primitive"),v=D("./_has"),h=D("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;e.f=D("./_descriptors")?c:function(i,r){if(i=y(i),r=m(r,!0),h)try{return c(i,r)}catch(o){}if(v(i,r))return f(!g.f.call(i,r),i[r])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_object-gopn").f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(c){try{return f(c)}catch(a){return m.slice()}};_.exports.f=function(c){return m&&y.call(c)=="[object Window]"?v(c):f(g(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(D,_,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(D,_,e){var g=D("./_has"),f=D("./_to-object"),y=D("./_shared-key")("IE_PROTO"),m=Object.prototype;_.exports=Object.getPrototypeOf||function(v){return v=f(v),g(v,y)?v[y]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(D,_,e){var g=D("./_has"),f=D("./_to-iobject"),y=D("./_array-includes")(!1),m=D("./_shared-key")("IE_PROTO");_.exports=function(v,h){var c=f(v),a=0,i=[],r;for(r in c)r!=m&&(g(c,r)&&i.push(r));for(;h.length>a;)g(c,r=h[a++])&&(~y(i,r)||i.push(r));return i}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys");_.exports=Object.keys||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(D,_,e){e.f={}.propertyIsEnumerable},{}],142:[function(D,_,e){var g=D("./_export"),f=D("./_core"),y=D("./_fails");_.exports=function(m,v){var h=(f.Object||{})[m]||Object[m],c={};c[m]=v(h),g(g.S+g.F*y(function(){h(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(D,_,e){var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_to-iobject"),m=D("./_object-pie").f;_.exports=function(v){return function(h){for(var c=y(h),a=f(c),i=a.length,r=0,o=[],d;i>r;)d=a[r++],(!g||m.call(c,d))&&o.push(v?[d,c[d]]:c[d]);return o}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(D,_,e){_.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(D,_,e){var g=D("./_an-object"),f=D("./_is-object"),y=D("./_new-promise-capability");_.exports=function(m,v){if(g(m),f(v)&&v.constructor===m)return v;var h=y.f(m),c=h.resolve;return c(v),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(D,_,e){_.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(D,_,e){var g=D("./_hide");_.exports=function(f,y,m){for(var v in y)m&&f[v]?f[v]=y[v]:g(f,v,y[v]);return f}},{"./_hide":112}],148:[function(D,_,e){_.exports=D("./_hide")},{"./_hide":112}],149:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_core"),y=D("./_object-dp"),m=D("./_descriptors"),v=D("./_wks")("species");_.exports=function(h){var c=typeof f[h]=="function"?f[h]:g[h];m&&c&&!c[v]&&y.f(c,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(D,_,e){var g=D("./_object-dp").f,f=D("./_has"),y=D("./_wks")("toStringTag");_.exports=function(m,v,h){m&&!f(m=h?m:m.prototype,y)&&g(m,y,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(D,_,e){var g=D("./_shared")("keys"),f=D("./_uid");_.exports=function(y){return g[y]||(g[y]=f(y))}},{"./_shared":152,"./_uid":162}],152:[function(D,_,e){var g=D("./_core"),f=D("./_global"),y="__core-js_shared__",m=f[y]||(f[y]={});(_.exports=function(v,h){return m[v]||(m[v]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:D("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(D,_,e){var g=D("./_an-object"),f=D("./_a-function"),y=D("./_wks")("species");_.exports=function(m,v){var h=g(m).constructor,c;return h===void 0||(c=g(h)[y])==null?v:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(D,_,e){var g=D("./_to-integer"),f=D("./_defined");_.exports=function(y){return function(m,v){var h=String(f(m)),c=g(v),a=h.length,i,r;return c<0||c>=a?y?"":void 0:(i=h.charCodeAt(c),i<55296||i>56319||c+1===a||(r=h.charCodeAt(c+1))<56320||r>57343?y?h.charAt(c):i:y?h.slice(c,c+2):(i-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(D,_,e){var g=D("./_ctx"),f=D("./_invoke"),y=D("./_html"),m=D("./_dom-create"),v=D("./_global"),h=v.process,c=v.setImmediate,a=v.clearImmediate,i=v.MessageChannel,r=v.Dispatch,o=0,d={},n="onreadystatechange",l,t,s,u=function(){var b=+this;if(d.hasOwnProperty(b)){var E=d[b];delete d[b],E()}},p=function(b){u.call(b.data)};(!c||!a)&&(c=function(b){for(var E=[],A=1;arguments.length>A;)E.push(arguments[A++]);return d[++o]=function(){f(typeof b=="function"?b:Function(b),E)},l(o),o},a=function(b){delete d[b]},D("./_cof")(h)=="process"?l=function(b){h.nextTick(g(u,b,1))}:r&&r.now?l=function(b){r.now(g(u,b,1))}:i?(t=new i,s=t.port2,t.port1.onmessage=p,l=g(s.postMessage,s,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(l=function(b){v.postMessage(b+"","*")},v.addEventListener("message",p,!1)):n in m("script")?l=function(b){y.appendChild(m("script"))[n]=function(){y.removeChild(this),u.call(b)}}:l=function(b){setTimeout(g(u,b,1),0)}),_.exports={set:c,clear:a}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(D,_,e){var g=D("./_to-integer"),f=Math.max,y=Math.min;_.exports=function(m,v){return m=g(m),m<0?f(m+v,0):y(m,v)}},{"./_to-integer":157}],157:[function(D,_,e){var g=Math.ceil,f=Math.floor;_.exports=function(y){return isNaN(y=+y)?0:(y>0?f:g)(y)}},{}],158:[function(D,_,e){var g=D("./_iobject"),f=D("./_defined");_.exports=function(y){return g(f(y))}},{"./_defined":102,"./_iobject":116}],159:[function(D,_,e){var g=D("./_to-integer"),f=Math.min;_.exports=function(y){return y>0?f(g(y),9007199254740991):0}},{"./_to-integer":157}],160:[function(D,_,e){var g=D("./_defined");_.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(D,_,e){var g=D("./_is-object");_.exports=function(f,y){if(!g(f))return f;var m,v;if(y&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;if(typeof(m=f.valueOf)=="function"&&!g(v=m.call(f)))return v;if(!y&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(D,_,e){var g=0,f=Math.random();_.exports=function(y){return"Symbol(".concat(y===void 0?"":y,")_",(++g+f).toString(36))}},{}],163:[function(D,_,e){var g=D("./_global"),f=g.navigator;_.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(D,_,e){var g=D("./_global"),f=D("./_core"),y=D("./_library"),m=D("./_wks-ext"),v=D("./_object-dp").f;_.exports=function(h){var c=f.Symbol||(f.Symbol=y?{}:g.Symbol||{});h.charAt(0)!="_"&&!(h in c)&&v(c,h,{value:m.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(D,_,e){e.f=D("./_wks")},{"./_wks":166}],166:[function(D,_,e){var g=D("./_shared")("wks"),f=D("./_uid"),y=D("./_global").Symbol,m=typeof y=="function",v=_.exports=function(h){return g[h]||(g[h]=m&&y[h]||(m?y:f)("Symbol."+h))};v.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(D,_,e){var g=D("./_classof"),f=D("./_wks")("iterator"),y=D("./_iterators");_.exports=D("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||y[g(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(D,_,e){"use strict";var g=D("./_ctx"),f=D("./_export"),y=D("./_to-object"),m=D("./_iter-call"),v=D("./_is-array-iter"),h=D("./_to-length"),c=D("./_create-property"),a=D("./core.get-iterator-method");f(f.S+f.F*!D("./_iter-detect")(function(i){Array.from(i)}),"Array",{from:function(r){var o=y(r),d=typeof this=="function"?this:Array,n=arguments.length,l=n>1?arguments[1]:void 0,t=l!==void 0,s=0,u=a(o),p,w,b,E;if(t&&(l=g(l,n>2?arguments[2]:void 0,2)),u!=null&&!(d==Array&&v(u)))for(E=u.call(o),w=new d;!(b=E.next()).done;s++)c(w,s,t?m(E,l,[b.value,s],!0):b.value);else for(p=h(o.length),w=new d(p);p>s;s++)c(w,s,t?l(o[s],s):o[s]);return w.length=s,w}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(D,_,e){"use strict";var g=D("./_add-to-unscopables"),f=D("./_iter-step"),y=D("./_iterators"),m=D("./_to-iobject");_.exports=D("./_iter-define")(Array,"Array",function(v,h){this._t=m(v),this._i=0,this._k=h},function(){var v=this._t,h=this._k,c=this._i++;return!v||c>=v.length?(this._t=void 0,f(1)):h=="keys"?f(0,c):h=="values"?f(0,v[c]):f(0,[c,v[c]])},"values"),y.Arguments=y.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(D,_,e){"use strict";var g=D("./_is-object"),f=D("./_object-gpo"),y=D("./_wks")("hasInstance"),m=Function.prototype;y in m||D("./_object-dp").f(m,y,{value:function(h){if(typeof this!="function"||!g(h))return!1;if(!g(this.prototype))return h instanceof this;for(;h=f(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(D,_,e){var g=D("./_export");g(g.S+g.F,"Object",{assign:D("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(D,_,e){var g=D("./_export");g(g.S,"Object",{create:D("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(D,_,e){var g=D("./_export");g(g.S+g.F*!D("./_descriptors"),"Object",{defineProperty:D("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(D,_,e){D("./_object-sap")("getOwnPropertyNames",function(){return D("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-gpo");D("./_object-sap")("getPrototypeOf",function(){return function(m){return f(g(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-keys");D("./_object-sap")("keys",function(){return function(m){return f(g(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(D,_,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_global"),y=D("./_ctx"),m=D("./_classof"),v=D("./_export"),h=D("./_is-object"),c=D("./_a-function"),a=D("./_an-instance"),i=D("./_for-of"),r=D("./_species-constructor"),o=D("./_task").set,d=D("./_microtask")(),n=D("./_new-promise-capability"),l=D("./_perform"),t=D("./_user-agent"),s=D("./_promise-resolve"),u="Promise",p=f.TypeError,w=f.process,b=w&&w.versions,E=b&&b.v8||"",A=f[u],S=m(w)=="process",T=function(){},L,x,C,O,N=x=n.f,F=!!function(){try{var H=A.resolve(1),V=(H.constructor={})[D("./_wks")("species")]=function(X){X(T,T)};return(S||typeof PromiseRejectionEvent=="function")&&H.then(T)instanceof V&&E.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(X){}}(),k=function(V){var X;return h(V)&&typeof(X=V.then)=="function"?X:!1},P=function(V,X){if(V._n)return;V._n=!0;var W=V._c;d(function(){for(var G=V._v,$=V._s==1,ge=0,q=function(Ce){var Ae=$?Ce.ok:Ce.fail,Ue=Ce.resolve,Qe=Ce.reject,gt=Ce.domain,_e,Oe,lt;try{Ae?($||(V._h==2&&R(V),V._h=1),Ae===!0?_e=G:(gt&>.enter(),_e=Ae(G),gt&&(gt.exit(),lt=!0)),_e===Ce.promise?Qe(p("Promise-chain cycle")):(Oe=k(_e))?Oe.call(_e,Ue,Qe):Ue(_e)):Qe(G)}catch(ce){gt&&!lt&>.exit(),Qe(ce)}};W.length>ge;)q(W[ge++]);V._c=[],V._n=!1,X&&!V._h&&B(V)})},B=function(V){o.call(f,function(){var X=V._v,W=z(V),G,$,ge;if(W&&(G=l(function(){S?w.emit("unhandledRejection",X,V):($=f.onunhandledrejection)?$({promise:V,reason:X}):(ge=f.console)&&ge.error&&ge.error("Unhandled promise rejection",X)}),V._h=S||z(V)?2:1),V._a=void 0,W&&G.e)throw G.v})},z=function(V){return V._h!==1&&(V._a||V._c).length===0},R=function(V){o.call(f,function(){var X;S?w.emit("rejectionHandled",V):(X=f.onrejectionhandled)&&X({promise:V,reason:V._v})})},U=function(V){var X=this;if(X._d)return;X._d=!0,X=X._w||X,X._v=V,X._s=2,X._a||(X._a=X._c.slice()),P(X,!0)},j=function H(V){var X=this,W;if(X._d)return;X._d=!0,X=X._w||X;try{if(X===V)throw p("Promise can't be resolved itself");(W=k(V))?d(function(){var G={_w:X,_d:!1};try{W.call(V,y(H,G,1),y(U,G,1))}catch($){U.call(G,$)}}):(X._v=V,X._s=1,P(X,!1))}catch(G){U.call({_w:X,_d:!1},G)}};F||(A=function(V){a(this,A,u,"_h"),c(V),L.call(this);try{V(y(j,this,1),y(U,this,1))}catch(X){U.call(this,X)}},L=function(V){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},L.prototype=D("./_redefine-all")(A.prototype,{then:function(V,X){var W=N(r(this,A));return W.ok=typeof V=="function"?V:!0,W.fail=typeof X=="function"&&X,W.domain=S?w.domain:void 0,this._c.push(W),this._a&&this._a.push(W),this._s&&P(this,!1),W.promise},catch:function(V){return this.then(void 0,V)}}),C=function(){var V=new L;this.promise=V,this.resolve=y(j,V,1),this.reject=y(U,V,1)},n.f=N=function(V){return V===A||V===O?new C(V):x(V)}),v(v.G+v.W+v.F*!F,{Promise:A}),D("./_set-to-string-tag")(A,u),D("./_set-species")(u),O=D("./_core")[u],v(v.S+v.F*!F,u,{reject:function(V){var X=N(this),W=X.reject;return W(V),X.promise}}),v(v.S+v.F*(g||!F),u,{resolve:function(V){return s(g&&this===O?A:this,V)}}),v(v.S+v.F*!(F&&D("./_iter-detect")(function(H){A.all(H).catch(T)})),u,{all:function(V){var X=this,W=N(X),G=W.resolve,$=W.reject,ge=l(function(){var q=[],Se=0,Ce=1;i(V,!1,function(Ae){var Ue=Se++,Qe=!1;q.push(void 0),Ce++,X.resolve(Ae).then(function(gt){if(Qe)return;Qe=!0,q[Ue]=gt,--Ce||G(q)},$)}),--Ce||G(q)});return ge.e&&$(ge.v),W.promise},race:function(V){var X=this,W=N(X),G=W.reject,$=l(function(){i(V,!1,function(ge){X.resolve(ge).then(W.resolve,G)})});return $.e&&G($.v),W.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(D,_,e){var g=D("./_export"),f=D("./_to-absolute-index"),y=String.fromCharCode,m=String.fromCodePoint;g(g.S+g.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(h){for(var c=[],a=arguments.length,i=0,r;a>i;){if(r=+arguments[i++],f(r,1114111)!==r)throw RangeError(r+" is not a valid code point");c.push(r<65536?y(r):y(((r-=65536)>>10)+55296,r%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(D,_,e){"use strict";var g=D("./_string-at")(!0);D("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,y=this._i,m;return y>=f.length?{value:void 0,done:!0}:(m=g(f,y),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_has"),y=D("./_descriptors"),m=D("./_export"),v=D("./_redefine"),h=D("./_meta").KEY,c=D("./_fails"),a=D("./_shared"),i=D("./_set-to-string-tag"),r=D("./_uid"),o=D("./_wks"),d=D("./_wks-ext"),n=D("./_wks-define"),l=D("./_enum-keys"),t=D("./_is-array"),s=D("./_an-object"),u=D("./_is-object"),p=D("./_to-object"),w=D("./_to-iobject"),b=D("./_to-primitive"),E=D("./_property-desc"),A=D("./_object-create"),S=D("./_object-gopn-ext"),T=D("./_object-gopd"),L=D("./_object-gops"),x=D("./_object-dp"),C=D("./_object-keys"),O=T.f,N=x.f,F=S.f,k=g.Symbol,P=g.JSON,B=P&&P.stringify,z="prototype",R=o("_hidden"),U=o("toPrimitive"),j={}.propertyIsEnumerable,H=a("symbol-registry"),V=a("symbols"),X=a("op-symbols"),W=Object[z],G=typeof k=="function"&&!!L.f,$=g.QObject,ge=!$||!$[z]||!$[z].findChild,q=y&&c(function(){return A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a!=7})?function(ue,Ne,Te){var oe=O(W,Ne);oe&&delete W[Ne],N(ue,Ne,Te),oe&&ue!==W&&N(W,Ne,oe)}:N,Se=function(Ne){var Te=V[Ne]=A(k[z]);return Te._k=Ne,Te},Ce=G&&typeof k.iterator=="symbol"?function(ue){return typeof ue=="symbol"}:function(ue){return ue instanceof k},Ae=function(Ne,Te,oe){return Ne===W&&Ae(X,Te,oe),s(Ne),Te=b(Te,!0),s(oe),f(V,Te)?(oe.enumerable?(f(Ne,R)&&Ne[R][Te]&&(Ne[R][Te]=!1),oe=A(oe,{enumerable:E(0,!1)})):(f(Ne,R)||N(Ne,R,E(1,{})),Ne[R][Te]=!0),q(Ne,Te,oe)):N(Ne,Te,oe)},Ue=function(Ne,Te){s(Ne);for(var oe=l(Te=w(Te)),de=0,Le=oe.length,Ge;Le>de;)Ae(Ne,Ge=oe[de++],Te[Ge]);return Ne},Qe=function(Ne,Te){return Te===void 0?A(Ne):Ue(A(Ne),Te)},gt=function(Ne){var Te=j.call(this,Ne=b(Ne,!0));return this===W&&f(V,Ne)&&!f(X,Ne)?!1:Te||!f(this,Ne)||!f(V,Ne)||f(this,R)&&this[R][Ne]?Te:!0},_e=function(Ne,Te){if(Ne=w(Ne),Te=b(Te,!0),Ne===W&&f(V,Te)&&!f(X,Te))return;var oe=O(Ne,Te);return oe&&f(V,Te)&&!(f(Ne,R)&&Ne[R][Te])&&(oe.enumerable=!0),oe},Oe=function(Ne){for(var Te=F(w(Ne)),oe=[],de=0,Le;Te.length>de;)!f(V,Le=Te[de++])&&Le!=R&&Le!=h&&oe.push(Le);return oe},lt=function(Ne){for(var Te=Ne===W,oe=F(Te?X:w(Ne)),de=[],Le=0,Ge;oe.length>Le;)f(V,Ge=oe[Le++])&&(Te?f(W,Ge):!0)&&de.push(V[Ge]);return de};G||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Ne=r(arguments.length>0?arguments[0]:void 0),Te=function oe(de){this===W&&oe.call(X,de),f(this,R)&&f(this[R],Ne)&&(this[R][Ne]=!1),q(this,Ne,E(1,de))};return y&&ge&&q(W,Ne,{configurable:!0,set:Te}),Se(Ne)},v(k[z],"toString",function(){return this._k}),T.f=_e,x.f=Ae,D("./_object-gopn").f=S.f=Oe,D("./_object-pie").f=gt,L.f=lt,y&&!D("./_library")&&v(W,"propertyIsEnumerable",gt,!0),d.f=function(ue){return Se(o(ue))}),m(m.G+m.W+m.F*!G,{Symbol:k});for(var ce="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Y=0;ce.length>Y;)o(ce[Y++]);for(var K=C(o.store),Q=0;K.length>Q;)n(K[Q++]);m(m.S+m.F*!G,"Symbol",{for:function(Ne){return f(H,Ne+="")?H[Ne]:H[Ne]=k(Ne)},keyFor:function(Ne){if(!Ce(Ne))throw TypeError(Ne+" is not a symbol!");for(var Te in H)if(H[Te]===Ne)return Te},useSetter:function(){ge=!0},useSimple:function(){ge=!1}}),m(m.S+m.F*!G,"Object",{create:Qe,defineProperty:Ae,defineProperties:Ue,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Oe,getOwnPropertySymbols:lt});var ye=c(function(){L.f(1)});m(m.S+m.F*ye,"Object",{getOwnPropertySymbols:function(Ne){return L.f(p(Ne))}}),P&&m(m.S+m.F*(!G||c(function(){var ue=k();return B([ue])!="[null]"||B({a:ue})!="{}"||B(Object(ue))!="{}"})),"JSON",{stringify:function(Ne){for(var Te=[Ne],oe=1,de,Le;arguments.length>oe;)Te.push(arguments[oe++]);return Le=de=Te[1],!u(de)&&Ne===void 0||Ce(Ne)?void 0:(t(de)||(de=function(ht,Et){if(typeof Le=="function"&&(Et=Le.call(this,ht,Et)),!Ce(Et))return Et}),Te[1]=de,B.apply(P,Te))}}),k[z][U]||D("./_hide")(k[z],U,k[z].valueOf),i(k,"Symbol"),i(Math,"Math",!0),i(g.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(D,_,e){var g=D("./_export"),f=D("./_object-to-array")(!0);g(g.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_core"),y=D("./_global"),m=D("./_species-constructor"),v=D("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(c){var a=m(this,f.Promise||y.Promise),i=typeof c=="function";return this.then(i?function(r){return v(a,c()).then(function(){return r})}:c,i?function(r){return v(a,c()).then(function(){throw r})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_new-promise-capability"),y=D("./_perform");g(g.S,"Promise",{try:function(v){var h=f.f(this),c=y(v);return(c.e?h.reject:h.resolve)(c.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(D,_,e){D("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(D,_,e){D("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(D,_,e){D("./es6.array.iterator");for(var g=D("./_global"),f=D("./_hide"),y=D("./_iterators"),m=D("./_wks")("toStringTag"),v="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),h=0;h<v.length;h++){var c=v[h],a=g[c],i=a&&a.prototype;i&&!i[m]&&f(i,m,c),y[c]=y.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(D,_,e){var g=D("./_export"),f=D("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=m(f);function m(b){return b&&b.__esModule?b:{default:b}}function v(b){return Array.isArray?Array.isArray(b):w(b)==="[object Array]"}e.isArray=v;function h(b){return typeof b=="boolean"}e.isBoolean=h;function c(b){return b===null}e.isNull=c;function a(b){return b==null}e.isNullOrUndefined=a;function i(b){return typeof b=="number"}e.isNumber=i;function r(b){return typeof b=="string"}e.isString=r;function o(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"}e.isSymbol=o;function d(b){return b===void 0}e.isUndefined=d;function n(b){return w(b)==="[object RegExp]"}e.isRegExp=n;function l(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="object"&&b!==null}e.isObject=l;function t(b){return w(b)==="[object Date]"}e.isDate=t;function s(b){return w(b)==="[object Error]"||b instanceof Error}e.isError=s;function u(b){return typeof b=="function"}e.isFunction=u;function p(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"||typeof b=="undefined"}e.isPrimitive=p,e.isBuffer=g.isBuffer;function w(b){return Object.prototype.toString.call(b)}}).call(this,{isBuffer:D("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var v=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,o=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g;return function(n,l,t,s){if(arguments.length===1&&i(n)==="string"&&!/\d/.test(n)&&(l=n,n=void 0),n=n||new Date,n instanceof Date||(n=new Date(n)),isNaN(n))throw TypeError("Invalid date");l=String(v.masks[l]||l||v.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),t=!0,u==="GMT:"&&(s=!0));var p=t?"getUTC":"get",w=n[p+"Date"](),b=n[p+"Day"](),E=n[p+"Month"](),A=n[p+"FullYear"](),S=n[p+"Hours"](),T=n[p+"Minutes"](),L=n[p+"Seconds"](),x=n[p+"Milliseconds"](),C=t?0:n.getTimezoneOffset(),O=c(n),N=a(n),F={d:w,dd:h(w),ddd:v.i18n.dayNames[b],dddd:v.i18n.dayNames[b+7],m:E+1,mm:h(E+1),mmm:v.i18n.monthNames[E],mmmm:v.i18n.monthNames[E+12],yy:String(A).slice(2),yyyy:A,h:S%12||12,hh:h(S%12||12),H:S,HH:h(S),M:T,MM:h(T),s:L,ss:h(L),l:h(x,3),L:h(Math.round(x/10)),t:S<12?"a":"p",tt:S<12?"am":"pm",T:S<12?"A":"P",TT:S<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(n).match(o)||[""]).pop().replace(d,""),o:(C>0?"-":"+")+h(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][w%10>3?0:(w%100-w%10!=10)*w%10],W:O,N};return l.replace(r,function(k){return k in F?F[k]:k.slice(1,k.length-1)})}}();v.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},v.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function h(r,o){for(r=String(r),o=o||2;r.length<o;)r="0"+r;return r}function c(r){var o=new Date(r.getFullYear(),r.getMonth(),r.getDate());o.setDate(o.getDate()-(o.getDay()+6)%7+3);var d=new Date(o.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var n=o.getTimezoneOffset()-d.getTimezoneOffset();o.setHours(o.getHours()-n);var l=(o-d)/(864e5*7);return 1+Math.floor(l)}function a(r){var o=r.getDay();return o===0&&(o=7),o}function i(r){return r===null?"null":r===void 0?"undefined":(typeof r=="undefined"?"undefined":(0,f.default)(r))!=="object"?typeof r=="undefined"?"undefined":(0,f.default)(r):Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return v}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?_.exports=v:m.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(D,_,e){/*!
|
|
|
* escape-html
|
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=/["'&<>]/;_.exports=f;function f(y){var m=""+y,v=g.exec(m);if(!v)return m;var h,c="",a=0,i=0;for(a=v.index;a<m.length;a++){switch(m.charCodeAt(a)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}i!==a&&(c+=m.substring(i,a)),i=a+1,c+=h}return i!==a?c+m.substring(i,a):c}},{}],192:[function(D,_,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}_.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!y(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},g.prototype.emit=function(h){var c,a,i,r,o,d;if(this._events||(this._events={}),h==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var n=new Error('Uncaught, unspecified "error" event. ('+c+")");throw n.context=c,n}if(a=this._events[h],v(a))return!1;if(f(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:r=Array.prototype.slice.call(arguments,1),a.apply(this,r)}else if(m(a))for(r=Array.prototype.slice.call(arguments,1),d=a.slice(),i=d.length,o=0;o<i;o++)d[o].apply(this,r);return!0},g.prototype.addListener=function(h,c){var a;if(!f(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,f(c.listener)?c.listener:c),this._events[h]?m(this._events[h])?this._events[h].push(c):this._events[h]=[this._events[h],c]:this._events[h]=c,m(this._events[h])&&!this._events[h].warned&&(v(this._maxListeners)?a=g.defaultMaxListeners:a=this._maxListeners,a&&a>0&&this._events[h].length>a&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),typeof console.trace=="function"&&console.trace())),this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(h,c){if(!f(c))throw TypeError("listener must be a function");var a=!1;function i(){this.removeListener(h,i),a||(a=!0,c.apply(this,arguments))}return i.listener=c,this.on(h,i),this},g.prototype.removeListener=function(h,c){var a,i,r,o;if(!f(c))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(a=this._events[h],r=a.length,i=-1,a===c||f(a.listener)&&a.listener===c)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,c);else if(m(a)){for(o=r;o-- >0;)if(a[o]===c||a[o].listener&&a[o].listener===c){i=o;break}if(i<0)return this;a.length===1?(a.length=0,delete this._events[h]):a.splice(i,1),this._events.removeListener&&this.emit("removeListener",h,c)}return this},g.prototype.removeAllListeners=function(h){var c,a;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[h]&&delete this._events[h],this;if(arguments.length===0){for(c in this._events){if(c==="removeListener")continue;this.removeAllListeners(c)}return this.removeAllListeners("removeListener"),this._events={},this}if(a=this._events[h],f(a))this.removeListener(h,a);else if(a)for(;a.length;)this.removeListener(h,a[a.length-1]);return delete this._events[h],this},g.prototype.listeners=function(h){var c;return!this._events||!this._events[h]?c=[]:f(this._events[h])?c=[this._events[h]]:c=this._events[h].slice(),c},g.prototype.listenerCount=function(h){if(this._events){var c=this._events[h];if(f(c))return 1;if(c)return c.length}return 0},g.listenerCount=function(h,c){return h.listenerCount(c)};function f(h){return typeof h=="function"}function y(h){return typeof h=="number"}function m(h){return typeof h=="object"&&h!==null}function v(h){return h===void 0}},{}],193:[function(D,_,e){var g=D("http"),f=_.exports;for(var y in g)g.hasOwnProperty(y)&&(f[y]=g[y]);f.request=function(m,v){return m||(m={}),m.scheme="https",m.protocol="https:",g.request.call(this,m,v)}},{http:231}],194:[function(D,_,e){/*!
|
|
|
* humanize-ms - index.js
|
|
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|
|
* MIT Licensed
|
|
|
*/"use strict";var g=D("util"),f=D("ms");_.exports=function(y){if(typeof y=="number")return y;var m=f(y);if(m===void 0){var v=new Error(g.format("humanize-ms(%j) result undefined",y));console.warn(v.stack)}return m}},{ms:204,util:243}],195:[function(D,_,e){e.read=function(g,f,y,m,v){var h,c,a=v*8-m-1,i=(1<<a)-1,r=i>>1,o=-7,d=y?v-1:0,n=y?-1:1,l=g[f+d];for(d+=n,h=l&(1<<-o)-1,l>>=-o,o+=a;o>0;h=h*256+g[f+d],d+=n,o-=8);for(c=h&(1<<-o)-1,h>>=-o,o+=m;o>0;c=c*256+g[f+d],d+=n,o-=8);if(h===0)h=1-r;else{if(h===i)return c?NaN:(l?-1:1)*Infinity;c=c+Math.pow(2,m),h=h-r}return(l?-1:1)*c*Math.pow(2,h-m)},e.write=function(g,f,y,m,v,h){var c,a,i,r=h*8-v-1,o=(1<<r)-1,d=o>>1,n=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:h-1,t=m?1:-1,s=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(a=isNaN(f)?1:0,c=o):(c=Math.floor(Math.log(f)/Math.LN2),f*(i=Math.pow(2,-c))<1&&(c--,i*=2),c+d>=1?f+=n/i:f+=n*Math.pow(2,1-d),f*i>=2&&(c++,i/=2),c+d>=o?(a=0,c=o):c+d>=1?(a=(f*i-1)*Math.pow(2,v),c=c+d):(a=f*Math.pow(2,d-1)*Math.pow(2,v),c=0));v>=8;g[y+l]=a&255,l+=t,a/=256,v-=8);for(c=c<<v|a,r+=v;r>0;g[y+l]=c&255,l+=t,c/=256,r-=8);g[y+l-t]|=s*128}},{}],196:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,y){y&&(f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:_.exports=function(f,y){if(y){f.super_=y;var m=function(){};m.prototype=y.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(D,_,e){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/_.exports=function(y){return y!=null&&(g(y)||f(y)||!!y._isBuffer)};function g(y){return!!y.constructor&&typeof y.constructor.isBuffer=="function"&&y.constructor.isBuffer(y)}function f(y){return typeof y.readFloatLE=="function"&&typeof y.slice=="function"&&g(y.slice(0,0))}},{}],198:[function(D,_,e){var g={}.toString;_.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(D,_){typeof exports=="object"&&typeof module!="undefined"?module.exports=_(D):typeof define=="function"&&define.amd?define(_):_(D)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(D){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(D){for(var _={},e=0,g=D.length;e<g;e++)_[D.charAt(e)]=e;return _}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(_){if(_.length<2){var e=_.charCodeAt(0);return e<128?_:e<2048?fromCharCode(192|e>>>6)+fromCharCode(128|e&63):fromCharCode(224|e>>>12&15)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}else{var e=65536+(_.charCodeAt(0)-55296)*1024+(_.charCodeAt(1)-56320);return fromCharCode(240|e>>>18&7)+fromCharCode(128|e>>>12&63)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(_){return _.replace(re_utob,cb_utob)},cb_encode=function(_){var e=[0,2,1][_.length%3],g=_.charCodeAt(0)<<16|(_.length>1?_.charCodeAt(1):0)<<8|(_.length>2?_.charCodeAt(2):0),f=[b64chars.charAt(g>>>18),b64chars.charAt(g>>>12&63),e>=2?"=":b64chars.charAt(g>>>6&63),e>=1?"=":b64chars.charAt(g&63)];return f.join("")},btoa=global.btoa?function(D){return global.btoa(D)}:function(D){return D.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(_){var e=Object.prototype.toString.call(_)==="[object Uint8Array]";return e?_.toString("base64"):btoa(utob(String(_)))},encode=function(_,e){return e?_encode(String(_)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(_)},encodeURI=function(_){return encode(_,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(_){switch(_.length){case 4:var e=(7&_.charCodeAt(0))<<18|(63&_.charCodeAt(1))<<12|(63&_.charCodeAt(2))<<6|63&_.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&_.charCodeAt(0))<<12|(63&_.charCodeAt(1))<<6|63&_.charCodeAt(2));default:return fromCharCode((31&_.charCodeAt(0))<<6|63&_.charCodeAt(1))}},btou=function(_){return _.replace(re_btou,cb_btou)},cb_decode=function(_){var e=_.length,g=e%4,f=(e>0?b64tab[_.charAt(0)]<<18:0)|(e>1?b64tab[_.charAt(1)]<<12:0)|(e>2?b64tab[_.charAt(2)]<<6:0)|(e>3?b64tab[_.charAt(3)]:0),y=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return y.length-=[0,0,2,1][g],y.join("")},_atob=global.atob?function(D){return global.atob(D)}:function(D){return D.replace(/\S{1,4}/g,cb_decode)},atob=function(_){return _atob(String(_).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(D){return(D.constructor===buffer.constructor?D:buffer.from(D,"base64")).toString()}:function(D){return(D.constructor===buffer.constructor?D:new buffer(D,"base64")).toString()}:function(D){return btou(_atob(D))},decode=function(_){return _decode(String(_).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var _=global.Base64;return global.Base64=_Base64,_};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(_){return{value:_,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(D){return encode(this,D)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(D,_,e){/*!
|
|
|
* merge-descriptors
|
|
|
* Copyright(c) 2014 Jonathan Ong
|
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
|
* MIT Licensed
|
|
|
*/"use strict";_.exports=f;var g=Object.prototype.hasOwnProperty;function f(y,m,v){if(!y)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(m).forEach(function(c){if(!v&&g.call(y,c))return;var a=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(y,c,a)}),y}},{}],201:[function(D,_,e){"use strict";function g(){this._types=Object.create(null),this._extensions=Object.create(null);for(var f=0;f<arguments.length;f++)this.define(arguments[f]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}g.prototype.define=function(f,y){for(var m in f){var v=f[m].map(function(a){return a.toLowerCase()});m=m.toLowerCase();for(var h=0;h<v.length;h++){var c=v[h];if(c[0]=="*")continue;if(!y&&c in this._types)throw new Error('Attempt to change mapping for "'+c+'" extension from "'+this._types[c]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+c+'" from the list of extensions for "'+m+'".');this._types[c]=m}if(y||!this._extensions[m]){var c=v[0];this._extensions[m]=c[0]!="*"?c:c.substr(1)}}},g.prototype.getType=function(f){f=String(f);var y=f.replace(/^.*[/\\]/,"").toLowerCase(),m=y.replace(/^.*\./,"").toLowerCase(),v=y.length<f.length,h=m.length<y.length-1;return(h||!v)&&this._types[m]||null},g.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},_.exports=g},{}],202:[function(D,_,e){"use strict";var g=D("./Mime");_.exports=new g(D("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(D,_,e){_.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(D,_,e){var g=1e3,f=g*60,y=f*60,m=y*24,v=m*7,h=m*365.25;_.exports=function(o,d){d=d||{};var n=typeof o;if(n==="string"&&o.length>0)return c(o);if(n==="number"&&isFinite(o))return d.long?i(o):a(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function c(o){if(o=String(o),o.length>100)return;var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!d)return;var n=parseFloat(d[1]),l=(d[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return n*h;case"weeks":case"week":case"w":return n*v;case"days":case"day":case"d":return n*m;case"hours":case"hour":case"hrs":case"hr":case"h":return n*y;case"minutes":case"minute":case"mins":case"min":case"m":return n*f;case"seconds":case"second":case"secs":case"sec":case"s":return n*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function a(o){var d=Math.abs(o);return d>=m?Math.round(o/m)+"d":d>=y?Math.round(o/y)+"h":d>=f?Math.round(o/f)+"m":d>=g?Math.round(o/g)+"s":o+"ms"}function i(o){var d=Math.abs(o);return d>=m?r(o,d,m,"day"):d>=y?r(o,d,y,"hour"):d>=f?r(o,d,f,"minute"):d>=g?r(o,d,g,"second"):o+" ms"}function r(o,d,n,l){var t=d>=n*1.5;return Math.round(o/n)+" "+l+(t?"s":"")}},{}],205:[function(D,_,e){(function(g){function f(h,c){for(var a=0,i=h.length-1;i>=0;i--){var r=h[i];r==="."?h.splice(i,1):r===".."?(h.splice(i,1),a++):a&&(h.splice(i,1),a--)}if(c)for(;a--;a)h.unshift("..");return h}e.resolve=function(){for(var h="",c=!1,a=arguments.length-1;a>=-1&&!c;a--){var i=a>=0?arguments[a]:g.cwd();if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;h=i+"/"+h,c=i.charAt(0)==="/"}return h=f(m(h.split("/"),function(r){return!!r}),!c).join("/"),(c?"/":"")+h||"."},e.normalize=function(h){var c=e.isAbsolute(h),a=v(h,-1)==="/";return h=f(m(h.split("/"),function(i){return!!i}),!c).join("/"),!h&&!c&&(h="."),h&&a&&(h+="/"),(c?"/":"")+h},e.isAbsolute=function(h){return h.charAt(0)==="/"},e.join=function(){var h=Array.prototype.slice.call(arguments,0);return e.normalize(m(h,function(c,a){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},e.relative=function(h,c){h=e.resolve(h).substr(1),c=e.resolve(c).substr(1);function a(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var u=t.length-1;u>=0&&!(t[u]!=="");u--);return s>u?[]:t.slice(s,u-s+1)}for(var i=a(h.split("/")),r=a(c.split("/")),o=Math.min(i.length,r.length),d=o,n=0;n<o;n++)if(i[n]!==r[n]){d=n;break}for(var l=[],n=d;n<i.length;n++)l.push("..");return l=l.concat(r.slice(d)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var c=h.charCodeAt(0),a=c===47,i=-1,r=!0,o=h.length-1;o>=1;--o)if(c=h.charCodeAt(o),c===47){if(!r){i=o;break}}else r=!1;return i===-1?a?"/":".":a&&i===1?"/":h.slice(0,i)};function y(h){typeof h!="string"&&(h=h+"");var c=0,a=-1,i=!0,r;for(r=h.length-1;r>=0;--r)if(h.charCodeAt(r)===47){if(!i){c=r+1;break}}else a===-1&&(i=!1,a=r+1);return a===-1?"":h.slice(c,a)}e.basename=function(h,c){var a=y(h);return c&&a.substr(-1*c.length)===c&&(a=a.substr(0,a.length-c.length)),a},e.extname=function(h){typeof h!="string"&&(h=h+"");for(var c=-1,a=0,i=-1,r=!0,o=0,d=h.length-1;d>=0;--d){var n=h.charCodeAt(d);if(n===47){if(!r){a=d+1;break}continue}i===-1&&(r=!1,i=d+1),n===46?c===-1?c=d:o!==1&&(o=1):c!==-1&&(o=-1)}return c===-1||i===-1||o===0||o===1&&c===i-1&&c===a+1?"":h.slice(c,i)};function m(h,c){if(h.filter)return h.filter(c);for(var a=[],i=0;i<h.length;i++)c(h[i],i,h)&&a.push(h[i]);return a}var v="ab".substr(-1)==="b"?function(h,c,a){return h.substr(c,a)}:function(h,c,a){return c<0&&(c=h.length+c),h.substr(c,a)}}).call(this,D("_process"))},{_process:208}],206:[function(D,_,e){(function(g){/*!
|
|
|
* Platform.js <https://mths.be/platform>
|
|
|
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
|
|
|
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
|
|
|
* Available under MIT license <https://mths.be/mit>
|
|
|
*/(function(){"use strict";var f={function:!0,object:!0},y=f[typeof window]&&window||this,m=y,v=f[typeof e]&&e,h=f[typeof _]&&_&&!_.nodeType&&_,c=v&&h&&typeof g=="object"&&g;c&&(c.global===c||c.window===c||c.self===c)&&(y=c);var a=Math.pow(2,53)-1,i=/\bOpera/,r=this,o=Object.prototype,d=o.hasOwnProperty,n=o.toString;function l(x){return x=String(x),x.charAt(0).toUpperCase()+x.slice(1)}function t(x,C,O){var N={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return C&&O&&/^Win/i.test(x)&&!/^Windows Phone /i.test(x)&&(N=N[/[\d.]+$/.exec(x)])&&(x="Windows "+N),x=String(x),C&&O&&(x=x.replace(RegExp(C,"i"),O)),x=u(x.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),x}function s(x,C){var O=-1,N=x?x.length:0;if(typeof N=="number"&&N>-1&&N<=a)for(;++O<N;)C(x[O],O,x);else p(x,C)}function u(x){return x=S(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:l(x)}function p(x,C){for(var O in x)d.call(x,O)&&C(x[O],O,x)}function w(x){return x==null?l(x):n.call(x).slice(8,-1)}function b(x,C){var O=x!=null?typeof x[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(O)&&(O=="object"?!!x[C]:!0)}function E(x){return String(x).replace(/([ -])(?!$)/g,"$1?")}function A(x,C){var O=null;return s(x,function(N,F){O=C(O,N,F,x)}),O}function S(x){return String(x).replace(/^ +| +$/g,"")}function T(x){var C=y,O=x&&typeof x=="object"&&w(x)!="String";O&&(C=x,x=null);var N=C.navigator||{},F=N.userAgent||"";x||(x=F);var k=O||r==m,P=O?!!N.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(n.toString()),B="Object",z=O?B:"ScriptBridgingProxyObject",R=O?B:"Environment",U=O&&C.java?"JavaPackage":w(C.java),j=O?B:"RuntimeObject",H=/\bJava/.test(U)&&C.java,V=H&&w(C.environment)==R,X=H?"a":"\u03B1",W=H?"b":"\u03B2",G=C.document||{},$=C.operamini||C.opera,ge=i.test(ge=O&&$?$["[[Class]]"]:w($))?ge:$=null,q,Se=x,Ce=[],Ae=null,Ue=x==F,Qe=Ue&&$&&typeof $.version=="function"&&$.version(),gt,_e=K([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Oe=ye(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),lt=Ne([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),ce=Q({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),Y=ue(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function K(Le){return A(Le,function(Ge,ht){return Ge||RegExp("\\b"+(ht.pattern||E(ht))+"\\b","i").exec(x)&&(ht.label||ht)})}function Q(Le){return A(Le,function(Ge,ht,Et){return Ge||(ht[lt]||ht[/^[a-z]+(?: +[a-z]+\b)*/i.exec(lt)]||RegExp("\\b"+E(Et)+"(?:\\b|\\w*\\d)","i").exec(x))&&Et})}function ye(Le){return A(Le,function(Ge,ht){return Ge||RegExp("\\b"+(ht.pattern||E(ht))+"\\b","i").exec(x)&&(ht.label||ht)})}function ue(Le){return A(Le,function(Ge,ht){var Et=ht.pattern||E(ht);return!Ge&&(Ge=RegExp("\\b"+Et+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(Ge=t(Ge,Et,ht.label||ht)),Ge})}function Ne(Le){return A(Le,function(Ge,ht){var Et=ht.pattern||E(ht);return!Ge&&(Ge=RegExp("\\b"+Et+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+Et+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+Et+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((Ge=String(ht.label&&!RegExp(Et,"i").test(ht.label)?ht.label:Ge).split("/"))[1]&&!/[\d.]+/.test(Ge[0])&&(Ge[0]+=" "+Ge[1]),ht=ht.label||ht,Ge=u(Ge[0].replace(RegExp(Et,"i"),ht).replace(RegExp("; *(?:"+ht+"[_-])?","i")," ").replace(RegExp("("+ht+")[-_.]?(\\w)","i"),"$1 $2"))),Ge})}function Te(Le){return A(Le,function(Ge,ht){return Ge||(RegExp(ht+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function oe(){return this.description||""}if(_e&&(_e=[_e]),ce&&!lt&&(lt=Ne([ce])),(q=/\bGoogle TV\b/.exec(lt))&&(lt=q[0]),/\bSimulator\b/i.test(x)&&(lt=(lt?lt+" ":"")+"Simulator"),Oe=="Opera Mini"&&/\bOPiOS\b/.test(x)&&Ce.push("running in Turbo/Uncompressed mode"),Oe=="IE"&&/\blike iPhone OS\b/.test(x)?(q=T(x.replace(/like iPhone OS/,"")),ce=q.manufacturer,lt=q.product):/^iP/.test(lt)?(Oe||(Oe="Safari"),Y="iOS"+((q=/ OS ([\d_]+)/i.exec(x))?" "+q[1].replace(/_/g,"."):"")):Oe=="Konqueror"&&!/buntu/i.test(Y)?Y="Kubuntu":ce&&ce!="Google"&&(/Chrome/.test(Oe)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(lt))||/\bAndroid\b/.test(Y)&&/^Chrome/.test(Oe)&&/\bVersion\//i.test(x)?(Oe="Android Browser",Y=/\bAndroid\b/.test(Y)?Y:"Android"):Oe=="Silk"?(/\bMobi/i.test(x)||(Y="Android",Ce.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&Ce.unshift("accelerated")):Oe=="PaleMoon"&&(q=/\bFirefox\/([\d.]+)\b/.exec(x))?Ce.push("identifying as Firefox "+q[1]):Oe=="Firefox"&&(q=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(Y||(Y="Firefox OS"),lt||(lt=q[1])):!Oe||(q=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(Oe))?(Oe&&!lt&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(q+"/")+8))&&(Oe=null),(q=lt||ce||Y)&&(lt||ce||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Y))&&(Oe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Y)?Y:q)+" Browser")):Oe=="Electron"&&(q=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&Ce.push("Chromium "+q),Qe||(Qe=Te(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",E(Oe),"(?:Firefox|Minefield|NetFront)"])),(q=_e=="iCab"&&parseFloat(Qe)>3&&"WebKit"||/\bOpera\b/.test(Oe)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(_e)&&"WebKit"||!_e&&/\bMSIE\b/i.test(x)&&(Y=="Mac OS"?"Tasman":"Trident")||_e=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Oe)&&"NetFront")&&(_e=[q]),Oe=="IE"&&(q=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(Oe+=" Mobile",Y="Windows Phone "+(/\+$/.test(q)?q:q+".x"),Ce.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(Oe="IE Mobile",Y="Windows Phone 8.x",Ce.unshift("desktop mode"),Qe||(Qe=(/\brv:([\d.]+)/.exec(x)||0)[1])):Oe!="IE"&&_e=="Trident"&&(q=/\brv:([\d.]+)/.exec(x))&&(Oe&&Ce.push("identifying as "+Oe+(Qe?" "+Qe:"")),Oe="IE",Qe=q[1]),Ue){if(b(C,"global"))if(H&&(q=H.lang.System,Se=q.getProperty("os.arch"),Y=Y||q.getProperty("os.name")+" "+q.getProperty("os.version")),V){try{Qe=C.require("ringo/engine").version.join("."),Oe="RingoJS"}catch(Le){(q=C.system)&&q.global.system==C.system&&(Oe="Narwhal",Y||(Y=q[0].os||null))}Oe||(Oe="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(q=C.process)&&(typeof q.versions=="object"&&(typeof q.versions.electron=="string"?(Ce.push("Node "+q.versions.node),Oe="Electron",Qe=q.versions.electron):typeof q.versions.nw=="string"&&(Ce.push("Chromium "+Qe,"Node "+q.versions.node),Oe="NW.js",Qe=q.versions.nw)),Oe||(Oe="Node.js",Se=q.arch,Y=q.platform,Qe=/[\d.]+/.exec(q.version),Qe=Qe?Qe[0]:null));else w(q=C.runtime)==z?(Oe="Adobe AIR",Y=q.flash.system.Capabilities.os):w(q=C.phantom)==j?(Oe="PhantomJS",Qe=(q=q.version||null)&&q.major+"."+q.minor+"."+q.patch):typeof G.documentMode=="number"&&(q=/\bTrident\/(\d+)/i.exec(x))?(Qe=[Qe,G.documentMode],(q=+q[1]+4)!=Qe[1]&&(Ce.push("IE "+Qe[1]+" mode"),_e&&(_e[1]=""),Qe[1]=q),Qe=Oe=="IE"?String(Qe[1].toFixed(1)):Qe[0]):typeof G.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Oe)&&(Ce.push("masking as "+Oe+" "+Qe),Oe="IE",Qe="11.0",_e=["Trident"],Y="Windows");Y=Y&&u(Y)}if(Qe&&(q=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Qe)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Ue&&N.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(Ae=/b/i.test(q)?"beta":"alpha",Qe=Qe.replace(RegExp(q+"\\+?$"),"")+(Ae=="beta"?W:X)+(/\d+\+?/.exec(q)||"")),Oe=="Fennec"||Oe=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Y))Oe="Firefox Mobile";else if(Oe=="Maxthon"&&Qe)Qe=Qe.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(lt))lt=="Xbox 360"&&(Y=null),lt=="Xbox 360"&&/\bIEMobile\b/.test(x)&&Ce.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Oe)||Oe&&!lt&&!/Browser|Mobi/.test(Oe))&&(Y=="Windows CE"||/Mobi/i.test(x)))Oe+=" Mobile";else if(Oe=="IE"&&Ue)try{C.external===null&&Ce.unshift("platform preview")}catch(Le){Ce.unshift("embedded")}else(/\bBlackBerry\b/.test(lt)||/\bBB10\b/.test(x))&&(q=(RegExp(lt.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||Qe)?(q=[q,/BB10/.test(x)],Y=(q[1]?(lt=null,ce="BlackBerry"):"Device Software")+" "+q[0],Qe=null):this!=p&<!="Wii"&&(Ue&&$||/Opera/.test(Oe)&&/\b(?:MSIE|Firefox)\b/i.test(x)||Oe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Y)||Oe=="IE"&&(Y&&!/^Win/.test(Y)&&Qe>5.5||/\bWindows XP\b/.test(Y)&&Qe>8||Qe==8&&!/\bTrident\b/.test(x)))&&!i.test(q=T.call(p,x.replace(i,"")+";"))&&q.name&&(q="ing as "+q.name+((q=q.version)?" "+q:""),i.test(Oe)?(/\bIE\b/.test(q)&&Y=="Mac OS"&&(Y=null),q="identify"+q):(q="mask"+q,ge?Oe=u(ge.replace(/([a-z])([A-Z])/g,"$1 $2")):Oe="Opera",/\bIE\b/.test(q)&&(Y=null),Ue||(Qe=null)),_e=["Presto"],Ce.push(q));(q=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(q=[parseFloat(q.replace(/\.(\d)$/,".0$1")),q],Oe=="Safari"&&q[1].slice(-1)=="+"?(Oe="WebKit Nightly",Ae="alpha",Qe=q[1].slice(0,-1)):(Qe==q[1]||Qe==(q[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(Qe=null),q[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],q[0]==537.36&&q[2]==537.36&&parseFloat(q[1])>=28&&_e=="WebKit"&&(_e=["Blink"]),!Ue||!P&&!q[1]?(_e&&(_e[1]="like Safari"),q=(q=q[0],q<400?1:q<500?2:q<526?3:q<533?4:q<534?"4+":q<535?5:q<537?6:q<538?7:q<601?8:"8")):(_e&&(_e[1]="like Chrome"),q=q[1]||(q=q[0],q<530?1:q<532?2:q<532.05?3:q<533?4:q<534.03?5:q<534.07?6:q<534.1?7:q<534.13?8:q<534.16?9:q<534.24?10:q<534.3?11:q<535.01?12:q<535.02?"13+":q<535.07?15:q<535.11?16:q<535.19?17:q<536.05?18:q<536.1?19:q<537.01?20:q<537.11?"21+":q<537.13?23:q<537.18?24:q<537.24?25:q<537.36?26:_e!="Blink"?"27":"28")),_e&&(_e[1]+=" "+(q+=typeof q=="number"?".x":/[.+]/.test(q)?"":"+")),Oe=="Safari"&&(!Qe||parseInt(Qe)>45)&&(Qe=q)),Oe=="Opera"&&(q=/\bzbov|zvav$/.exec(Y))?(Oe+=" ",Ce.unshift("desktop mode"),q=="zvav"?(Oe+="Mini",Qe=null):Oe+="Mobile",Y=Y.replace(RegExp(" *"+q+"$"),"")):Oe=="Safari"&&/\bChrome\b/.exec(_e&&_e[1])&&(Ce.unshift("desktop mode"),Oe="Chrome Mobile",Qe=null,/\bOS X\b/.test(Y)?(ce="Apple",Y="iOS 4.3+"):Y=null),Qe&&Qe.indexOf(q=/[\d.]+$/.exec(Y))==0&&x.indexOf("/"+q+"-")>-1&&(Y=S(Y.replace(q,""))),_e&&!/\b(?:Avant|Nook)\b/.test(Oe)&&(/Browser|Lunascape|Maxthon/.test(Oe)||Oe!="Safari"&&/^iOS/.test(Y)&&/\bSafari\b/.test(_e[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Oe)&&_e[1])&&((q=_e[_e.length-1])&&Ce.push(q)),Ce.length&&(Ce=["("+Ce.join("; ")+")"]),ce&<&<.indexOf(ce)<0&&Ce.push("on "+ce),lt&&Ce.push((/^on /.test(Ce[Ce.length-1])?"":"on ")+lt),Y&&(q=/ ([\d.+]+)$/.exec(Y),gt=q&&Y.charAt(Y.length-q[0].length-1)=="/",Y={architecture:32,family:q&&!gt?Y.replace(q[0],""):Y,version:q?q[1]:null,toString:function(){var Ge=this.version;return this.family+(Ge&&!gt?" "+Ge:"")+(this.architecture==64?" 64-bit":"")}}),(q=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Se))&&!/\bi686\b/i.test(Se)?(Y&&(Y.architecture=64,Y.family=Y.family.replace(RegExp(" *"+q),"")),Oe&&(/\bWOW64\b/i.test(x)||Ue&&/\w(?:86|32)$/.test(N.cpuClass||N.platform)&&!/\bWin64; x64\b/i.test(x))&&Ce.unshift("32-bit")):Y&&/^OS X/.test(Y.family)&&Oe=="Chrome"&&parseFloat(Qe)>=39&&(Y.architecture=64),x||(x=null);var de={};return de.description=x,de.layout=_e&&_e[0],de.manufacturer=ce,de.name=Oe,de.prerelease=Ae,de.product=lt,de.ua=x,de.version=Oe&&Qe,de.os=Y||{architecture:null,family:null,version:null,toString:function(){return"null"}},de.parse=T,de.toString=oe,de.version&&Ce.unshift(Qe),de.name&&Ce.unshift(Oe),Y&&Oe&&!(Y==String(Y).split(" ")[0]&&(Y==Oe.split(" ")[0]||lt))&&Ce.push(lt?"("+Y+")":"on "+Y),Ce.length&&(de.description=Ce.join(" ")),de}var L=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(y.platform=L,define(function(){return L})):v&&h?p(L,function(x,C){v[C]=x}):y.platform=L}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(D,_,e){(function(g){"use strict";typeof g=="undefined"||!g.version||g.version.indexOf("v0.")===0||g.version.indexOf("v1.")===0&&g.version.indexOf("v1.8.")!==0?_.exports={nextTick:f}:_.exports=g;function f(y,m,v,h){if(typeof y!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,a,i;switch(c){case 0:case 1:return g.nextTick(y);case 2:return g.nextTick(function(){y.call(null,m)});case 3:return g.nextTick(function(){y.call(null,m,v)});case 4:return g.nextTick(function(){y.call(null,m,v,h)});default:for(a=new Array(c-1),i=0;i<a.length;)a[i++]=arguments[i];return g.nextTick(function(){y.apply(null,a)})}}}).call(this,D("_process"))},{_process:208}],208:[function(D,_,e){var g=_.exports={},f,y;function m(){throw new Error("setTimeout has not been defined")}function v(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch(s){f=m}try{typeof clearTimeout=="function"?y=clearTimeout:y=v}catch(s){y=v}})();function h(s){if(f===setTimeout)return setTimeout(s,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(s,0);try{return f(s,0)}catch(u){try{return f.call(null,s,0)}catch(p){return f.call(this,s,0)}}}function c(s){if(y===clearTimeout)return clearTimeout(s);if((y===v||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(s);try{return y(s)}catch(u){try{return y.call(null,s)}catch(p){return y.call(this,s)}}}var a=[],i=!1,r,o=-1;function d(){if(!i||!r)return;i=!1,r.length?a=r.concat(a):o=-1,a.length&&n()}function n(){if(i)return;var s=h(d);i=!0;for(var u=a.length;u;){for(r=a,a=[];++o<u;)r&&r[o].run();o=-1,u=a.length}r=null,i=!1,c(s)}g.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)u[p-1]=arguments[p];a.push(new l(s,u)),a.length===1&&!i&&h(n)};function l(s,u){this.fun=s,this.array=u}l.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function t(){}g.on=t,g.addListener=t,g.once=t,g.off=t,g.removeListener=t,g.removeAllListeners=t,g.emit=t,g.prependListener=t,g.prependOnceListener=t,g.listeners=function(s){return[]},g.binding=function(s){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(s){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},{}],209:[function(D,_,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var y=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof _=="object"&&_&&!_.nodeType&&_,v=typeof g=="object"&&g;(v.global===v||v.window===v||v.self===v)&&(f=v);var h,c=2147483647,a=36,i=1,r=26,o=38,d=700,n=72,l=128,t="-",s=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=a-i,E=Math.floor,A=String.fromCharCode,S;function T(U){throw new RangeError(w[U])}function L(U,j){for(var H=U.length,V=[];H--;)V[H]=j(U[H]);return V}function x(U,j){var H=U.split("@"),V="";H.length>1&&(V=H[0]+"@",U=H[1]),U=U.replace(p,".");var X=U.split("."),W=L(X,j).join(".");return V+W}function C(U){for(var j=[],H=0,V=U.length,X,W;H<V;)X=U.charCodeAt(H++),X>=55296&&X<=56319&&H<V?(W=U.charCodeAt(H++),(W&64512)==56320?j.push(((X&1023)<<10)+(W&1023)+65536):(j.push(X),H--)):j.push(X);return j}function O(U){return L(U,function(j){var H="";return j>65535&&(j-=65536,H+=A(j>>>10&1023|55296),j=56320|j&1023),H+=A(j),H}).join("")}function N(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:a}function F(U,j){return U+22+75*(U<26)-((j!=0)<<5)}function k(U,j,H){var V=0;for(U=H?E(U/d):U>>1,U+=E(U/j);U>b*r>>1;V+=a)U=E(U/b);return E(V+(b+1)*U/(U+o))}function P(U){var j=[],H=U.length,V,X=0,W=l,G=n,$,ge,q,Se,Ce,Ae,Ue,Qe,gt;for($=U.lastIndexOf(t),$<0&&($=0),ge=0;ge<$;++ge)U.charCodeAt(ge)>=128&&T("not-basic"),j.push(U.charCodeAt(ge));for(q=$>0?$+1:0;q<H;){for(Se=X,Ce=1,Ae=a;!(q>=H&&T("invalid-input"),Ue=N(U.charCodeAt(q++)),(Ue>=a||Ue>E((c-X)/Ce))&&T("overflow"),X+=Ue*Ce,Qe=Ae<=G?i:Ae>=G+r?r:Ae-G,Ue<Qe);Ae+=a)gt=a-Qe,Ce>E(c/gt)&&T("overflow"),Ce*=gt;V=j.length+1,G=k(X-Se,V,Se==0),E(X/V)>c-W&&T("overflow"),W+=E(X/V),X%=V,j.splice(X++,0,W)}return O(j)}function B(U){var j,H,V,X,W,G,$,ge,q,Se,Ce,Ae=[],Ue,Qe,gt,_e;for(U=C(U),Ue=U.length,j=l,H=0,W=n,G=0;G<Ue;++G)Ce=U[G],Ce<128&&Ae.push(A(Ce));for(V=X=Ae.length,X&&Ae.push(t);V<Ue;){for($=c,G=0;G<Ue;++G)Ce=U[G],Ce>=j&&Ce<$&&($=Ce);for(Qe=V+1,$-j>E((c-H)/Qe)&&T("overflow"),H+=($-j)*Qe,j=$,G=0;G<Ue;++G)if(Ce=U[G],Ce<j&&++H>c&&T("overflow"),Ce==j){for(ge=H,q=a;!(Se=q<=W?i:q>=W+r?r:q-W,ge<Se);q+=a)_e=ge-Se,gt=a-Se,Ae.push(A(F(Se+_e%gt,0))),ge=E(_e/gt);Ae.push(A(F(ge,0))),W=k(H,Qe,V==X),H=0,++V}++H,++j}return Ae.join("")}function z(U){return x(U,function(j){return s.test(j)?P(j.slice(4).toLowerCase()):j})}function R(U){return x(U,function(j){return u.test(j)?"xn--"+B(j):j})}if(h={version:"1.4.1",ucs2:{decode:C,encode:O},decode:P,encode:B,toASCII:R,toUnicode:z},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(y&&m)if(_.exports==y)m.exports=h;else for(S in h)h.hasOwnProperty(S)&&(y[S]=h[S]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(D,_,e){"use strict";function g(y,m){return Object.prototype.hasOwnProperty.call(y,m)}_.exports=function(y,m,v,h){m=m||"&",v=v||"=";var c={};if(typeof y!="string"||y.length===0)return c;var a=/\+/g;y=y.split(m);var i=1e3;h&&typeof h.maxKeys=="number"&&(i=h.maxKeys);var r=y.length;i>0&&r>i&&(r=i);for(var o=0;o<r;++o){var d=y[o].replace(a,"%20"),n=d.indexOf(v),l,t,s,u;n>=0?(l=d.substr(0,n),t=d.substr(n+1)):(l=d,t=""),s=decodeURIComponent(l),u=decodeURIComponent(t),g(c,s)?f(c[s])?c[s].push(u):c[s]=[c[s],u]:c[s]=u}return c};var f=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],211:[function(D,_,e){"use strict";var g=function(h){switch(typeof h){case"string":return h;case"boolean":return h?"true":"false";case"number":return isFinite(h)?h:"";default:return""}};_.exports=function(v,h,c,a){return h=h||"&",c=c||"=",v===null&&(v=void 0),typeof v=="object"?y(m(v),function(i){var r=encodeURIComponent(g(i))+c;return f(v[i])?y(v[i],function(o){return r+encodeURIComponent(g(o))}).join(h):r+encodeURIComponent(g(v[i]))}).join(h):a?encodeURIComponent(g(a))+c+encodeURIComponent(g(v)):""};var f=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function y(v,h){if(v.map)return v.map(h);for(var c=[],a=0;a<v.length;a++)c.push(h(v[a],a));return c}var m=Object.keys||function(v){var h=[];for(var c in v)Object.prototype.hasOwnProperty.call(v,c)&&h.push(c);return h}},{}],212:[function(D,_,e){"use strict";e.decode=e.parse=D("./decode"),e.encode=e.stringify=D("./encode")},{"./decode":210,"./encode":211}],213:[function(D,_,e){_.exports=D("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=v(g),y=D("babel-runtime/core-js/object/keys"),m=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=D("process-nextick-args"),c=m.default||function(u){var p=[];for(var w in u)p.push(w);return p};_.exports=l;var a=(0,f.default)(D("core-util-is"));a.inherits=D("inherits");var i=D("./_stream_readable"),r=D("./_stream_writable");a.inherits(l,i);for(var o=c(r.prototype),d=0;d<o.length;d++){var n=o[d];l.prototype[n]||(l.prototype[n]=r.prototype[n])}function l(u){if(!(this instanceof l))return new l(u);i.call(this,u),r.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;h.nextTick(s,this)}function s(u){u.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(p){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=p,this._writableState.destroyed=p}}),l.prototype._destroy=function(u,p){this.push(null),this.end(),h.nextTick(p,u)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}_.exports=h;var m=D("./_stream_transform"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(h,m);function h(c){if(!(this instanceof h))return new h(c);m.call(this,c)}h.prototype._transform=function(c,a,i){i(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/get-prototype-of"),m=c(y),v=D("babel-runtime/core-js/object/create"),h=c(v);function c(_e){return _e&&_e.__esModule?_e:{default:_e}}var a=D("process-nextick-args");_.exports=C;var i=D("isarray"),r;C.ReadableState=x;var o=D("events").EventEmitter,d=function(Oe,lt){return Oe.listeners(lt).length},n=D("./internal/streams/stream"),l=D("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(_e){return l.from(_e)}function u(_e){return l.isBuffer(_e)||_e instanceof t}var p=(0,h.default)(D("core-util-is"));p.inherits=D("inherits");var w=D("util"),b=void 0;w&&w.debuglog?b=w.debuglog("stream"):b=function(){};var E=D("./internal/streams/BufferList"),A=D("./internal/streams/destroy"),S;p.inherits(C,n);var T=["error","close","destroy","pause","resume"];function L(_e,Oe,lt){if(typeof _e.prependListener=="function")return _e.prependListener(Oe,lt);!_e._events||!_e._events[Oe]?_e.on(Oe,lt):i(_e._events[Oe])?_e._events[Oe].unshift(lt):_e._events[Oe]=[lt,_e._events[Oe]]}function x(_e,Oe){r=r||D("./_stream_duplex"),_e=_e||{};var lt=Oe instanceof r;this.objectMode=!!_e.objectMode,lt&&(this.objectMode=this.objectMode||!!_e.readableObjectMode);var ce=_e.highWaterMark,Y=_e.readableHighWaterMark,K=this.objectMode?16:16*1024;ce||ce===0?this.highWaterMark=ce:lt&&(Y||Y===0)?this.highWaterMark=Y:this.highWaterMark=K,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new E,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=_e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_e.encoding&&(S||(S=D("string_decoder/").StringDecoder),this.decoder=new S(_e.encoding),this.encoding=_e.encoding)}function C(_e){if(r=r||D("./_stream_duplex"),!(this instanceof C))return new C(_e);this._readableState=new x(_e,this),this.readable=!0,_e&&(typeof _e.read=="function"&&(this._read=_e.read),typeof _e.destroy=="function"&&(this._destroy=_e.destroy)),n.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Oe){if(!this._readableState)return;this._readableState.destroyed=Oe}}),C.prototype.destroy=A.destroy,C.prototype._undestroy=A.undestroy,C.prototype._destroy=function(_e,Oe){this.push(null),Oe(_e)},C.prototype.push=function(_e,Oe){var lt=this._readableState,ce;return lt.objectMode?ce=!0:typeof _e=="string"&&(Oe=Oe||lt.defaultEncoding,Oe!==lt.encoding&&(_e=l.from(_e,Oe),Oe=""),ce=!0),O(this,_e,Oe,!1,ce)},C.prototype.unshift=function(_e){return O(this,_e,null,!0,!1)};function O(_e,Oe,lt,ce,Y){var K=_e._readableState;if(Oe===null)K.reading=!1,R(_e,K);else{var Q;Y||(Q=F(K,Oe)),Q?_e.emit("error",Q):K.objectMode||Oe&&Oe.length>0?(typeof Oe!="string"&&!K.objectMode&&(0,m.default)(Oe)!==l.prototype&&(Oe=s(Oe)),ce?K.endEmitted?_e.emit("error",new Error("stream.unshift() after end event")):N(_e,K,Oe,!0):K.ended?_e.emit("error",new Error("stream.push() after EOF")):(K.reading=!1,K.decoder&&!lt?(Oe=K.decoder.write(Oe),K.objectMode||Oe.length!==0?N(_e,K,Oe,!1):H(_e,K)):N(_e,K,Oe,!1))):ce||(K.reading=!1)}return k(K)}function N(_e,Oe,lt,ce){Oe.flowing&&Oe.length===0&&!Oe.sync?(_e.emit("data",lt),_e.read(0)):(Oe.length+=Oe.objectMode?1:lt.length,ce?Oe.buffer.unshift(lt):Oe.buffer.push(lt),Oe.needReadable&&U(_e)),H(_e,Oe)}function F(_e,Oe){var lt;return!u(Oe)&&typeof Oe!="string"&&Oe!==void 0&&!_e.objectMode&&(lt=new TypeError("Invalid non-string/buffer chunk")),lt}function k(_e){return!_e.ended&&(_e.needReadable||_e.length<_e.highWaterMark||_e.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(_e){return S||(S=D("string_decoder/").StringDecoder),this._readableState.decoder=new S(_e),this._readableState.encoding=_e,this};var P=8388608;function B(_e){return _e>=P?_e=P:(_e--,_e|=_e>>>1,_e|=_e>>>2,_e|=_e>>>4,_e|=_e>>>8,_e|=_e>>>16,_e++),_e}function z(_e,Oe){return _e<=0||Oe.length===0&&Oe.ended?0:Oe.objectMode?1:_e!==_e?Oe.flowing&&Oe.length?Oe.buffer.head.data.length:Oe.length:(_e>Oe.highWaterMark&&(Oe.highWaterMark=B(_e)),_e<=Oe.length?_e:Oe.ended?Oe.length:(Oe.needReadable=!0,0))}C.prototype.read=function(_e){b("read",_e),_e=parseInt(_e,10);var Oe=this._readableState,lt=_e;if(_e!==0&&(Oe.emittedReadable=!1),_e===0&&Oe.needReadable&&(Oe.length>=Oe.highWaterMark||Oe.ended))return b("read: emitReadable",Oe.length,Oe.ended),Oe.length===0&&Oe.ended?Ue(this):U(this),null;if(_e=z(_e,Oe),_e===0&&Oe.ended)return Oe.length===0&&Ue(this),null;var ce=Oe.needReadable;b("need readable",ce),(Oe.length===0||Oe.length-_e<Oe.highWaterMark)&&(ce=!0,b("length less than watermark",ce)),Oe.ended||Oe.reading?(ce=!1,b("reading or ended",ce)):ce&&(b("do read"),Oe.reading=!0,Oe.sync=!0,Oe.length===0&&(Oe.needReadable=!0),this._read(Oe.highWaterMark),Oe.sync=!1,Oe.reading||(_e=z(lt,Oe)));var Y;return _e>0?Y=q(_e,Oe):Y=null,Y===null?(Oe.needReadable=!0,_e=0):Oe.length-=_e,Oe.length===0&&(Oe.ended||(Oe.needReadable=!0),lt!==_e&&Oe.ended&&Ue(this)),Y!==null&&this.emit("data",Y),Y};function R(_e,Oe){if(Oe.ended)return;if(Oe.decoder){var lt=Oe.decoder.end();lt&<.length&&(Oe.buffer.push(lt),Oe.length+=Oe.objectMode?1:lt.length)}Oe.ended=!0,U(_e)}function U(_e){var Oe=_e._readableState;Oe.needReadable=!1,Oe.emittedReadable||(b("emitReadable",Oe.flowing),Oe.emittedReadable=!0,Oe.sync?a.nextTick(j,_e):j(_e))}function j(_e){b("emit readable"),_e.emit("readable"),ge(_e)}function H(_e,Oe){Oe.readingMore||(Oe.readingMore=!0,a.nextTick(V,_e,Oe))}function V(_e,Oe){for(var lt=Oe.length;!Oe.reading&&!Oe.flowing&&!Oe.ended&&Oe.length<Oe.highWaterMark&&!(b("maybeReadMore read 0"),_e.read(0),lt===Oe.length);)lt=Oe.length;Oe.readingMore=!1}C.prototype._read=function(_e){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(_e,Oe){var lt=this,ce=this._readableState;switch(ce.pipesCount){case 0:ce.pipes=_e;break;case 1:ce.pipes=[ce.pipes,_e];break;default:ce.pipes.push(_e);break}ce.pipesCount+=1,b("pipe count=%d opts=%j",ce.pipesCount,Oe);var Y=(!Oe||Oe.end!==!1)&&_e!==g.stdout&&_e!==g.stderr,K=Y?ye:Et;ce.endEmitted?a.nextTick(K):lt.once("end",K),_e.on("unpipe",Q);function Q(Be,Dt){b("onunpipe"),Be===lt&&(Dt&&Dt.hasUnpiped===!1&&(Dt.hasUnpiped=!0,Te()))}function ye(){b("onend"),_e.end()}var ue=X(lt);_e.on("drain",ue);var Ne=!1;function Te(){b("cleanup"),_e.removeListener("close",Ge),_e.removeListener("finish",ht),_e.removeListener("drain",ue),_e.removeListener("error",Le),_e.removeListener("unpipe",Q),lt.removeListener("end",ye),lt.removeListener("end",Et),lt.removeListener("data",de),Ne=!0,ce.awaitDrain&&(!_e._writableState||_e._writableState.needDrain)&&ue()}var oe=!1;lt.on("data",de);function de(Be){b("ondata"),oe=!1;var Dt=_e.write(Be);Dt===!1&&!oe&&((ce.pipesCount===1&&ce.pipes===_e||ce.pipesCount>1&>(ce.pipes,_e)!==-1)&&!Ne&&(b("false write response, pause",lt._readableState.awaitDrain),lt._readableState.awaitDrain++,oe=!0),lt.pause())}function Le(Be){b("onerror",Be),Et(),_e.removeListener("error",Le),d(_e,"error")===0&&_e.emit("error",Be)}L(_e,"error",Le);function Ge(){_e.removeListener("finish",ht),Et()}_e.once("close",Ge);function ht(){b("onfinish"),_e.removeListener("close",Ge),Et()}_e.once("finish",ht);function Et(){b("unpipe"),lt.unpipe(_e)}return _e.emit("pipe",lt),ce.flowing||(b("pipe resume"),lt.resume()),_e};function X(_e){return function(){var Oe=_e._readableState;b("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&d(_e,"data")&&(Oe.flowing=!0,ge(_e))}}C.prototype.unpipe=function(_e){var Oe=this._readableState,lt={hasUnpiped:!1};if(Oe.pipesCount===0)return this;if(Oe.pipesCount===1)return _e&&_e!==Oe.pipes?this:(_e||(_e=Oe.pipes),Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1,_e&&_e.emit("unpipe",this,lt),this);if(!_e){var ce=Oe.pipes,Y=Oe.pipesCount;Oe.pipes=null,Oe.pipesCount=0,Oe.flowing=!1;for(var K=0;K<Y;K++)ce[K].emit("unpipe",this,lt);return this}var Q=gt(Oe.pipes,_e);return Q===-1?this:(Oe.pipes.splice(Q,1),Oe.pipesCount-=1,Oe.pipesCount===1&&(Oe.pipes=Oe.pipes[0]),_e.emit("unpipe",this,lt),this)},C.prototype.on=function(_e,Oe){var lt=n.prototype.on.call(this,_e,Oe);if(_e==="data")this._readableState.flowing!==!1&&this.resume();else if(_e==="readable"){var ce=this._readableState;!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.emittedReadable=!1,ce.reading?ce.length&&U(this):a.nextTick(W,this))}return lt},C.prototype.addListener=C.prototype.on;function W(_e){b("readable nexttick read 0"),_e.read(0)}C.prototype.resume=function(){var _e=this._readableState;return _e.flowing||(b("resume"),_e.flowing=!0,G(this,_e)),this};function G(_e,Oe){Oe.resumeScheduled||(Oe.resumeScheduled=!0,a.nextTick($,_e,Oe))}function $(_e,Oe){Oe.reading||(b("resume read 0"),_e.read(0)),Oe.resumeScheduled=!1,Oe.awaitDrain=0,_e.emit("resume"),ge(_e),Oe.flowing&&!Oe.reading&&_e.read(0)}C.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ge(_e){var Oe=_e._readableState;for(b("flow",Oe.flowing);Oe.flowing&&_e.read()!==null;);}C.prototype.wrap=function(_e){var Oe=this,lt=this._readableState,ce=!1;_e.on("end",function(){if(b("wrapped end"),lt.decoder&&!lt.ended){var Q=lt.decoder.end();Q&&Q.length&&Oe.push(Q)}Oe.push(null)}),_e.on("data",function(Q){if(b("wrapped data"),lt.decoder&&(Q=lt.decoder.write(Q)),lt.objectMode&&Q==null)return;if(!lt.objectMode&&(!Q||!Q.length))return;var ye=Oe.push(Q);ye||(ce=!0,_e.pause())});for(var Y in _e)this[Y]===void 0&&typeof _e[Y]=="function"&&(this[Y]=function(Q){return function(){return _e[Q].apply(_e,arguments)}}(Y));for(var K=0;K<T.length;K++)_e.on(T[K],this.emit.bind(this,T[K]));return this._read=function(Q){b("wrapped _read",Q),ce&&(ce=!1,_e.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=q;function q(_e,Oe){if(Oe.length===0)return null;var lt;return Oe.objectMode?lt=Oe.buffer.shift():!_e||_e>=Oe.length?(Oe.decoder?lt=Oe.buffer.join(""):Oe.buffer.length===1?lt=Oe.buffer.head.data:lt=Oe.buffer.concat(Oe.length),Oe.buffer.clear()):lt=Se(_e,Oe.buffer,Oe.decoder),lt}function Se(_e,Oe,lt){var ce;return _e<Oe.head.data.length?(ce=Oe.head.data.slice(0,_e),Oe.head.data=Oe.head.data.slice(_e)):_e===Oe.head.data.length?ce=Oe.shift():ce=lt?Ce(_e,Oe):Ae(_e,Oe),ce}function Ce(_e,Oe){var lt=Oe.head,ce=1,Y=lt.data;for(_e-=Y.length;lt=lt.next;){var K=lt.data,Q=_e>K.length?K.length:_e;if(Q===K.length?Y+=K:Y+=K.slice(0,_e),_e-=Q,_e===0){Q===K.length?(++ce,lt.next?Oe.head=lt.next:Oe.head=Oe.tail=null):(Oe.head=lt,lt.data=K.slice(Q));break}++ce}return Oe.length-=ce,Y}function Ae(_e,Oe){var lt=l.allocUnsafe(_e),ce=Oe.head,Y=1;for(ce.data.copy(lt),_e-=ce.data.length;ce=ce.next;){var K=ce.data,Q=_e>K.length?K.length:_e;if(K.copy(lt,lt.length-_e,0,Q),_e-=Q,_e===0){Q===K.length?(++Y,ce.next?Oe.head=ce.next:Oe.head=Oe.tail=null):(Oe.head=ce,ce.data=K.slice(Q));break}++Y}return Oe.length-=Y,lt}function Ue(_e){var Oe=_e._readableState;if(Oe.length>0)throw new Error('"endReadable()" called on non-empty stream');Oe.endEmitted||(Oe.ended=!0,a.nextTick(Qe,Oe,_e))}function Qe(_e,Oe){!_e.endEmitted&&_e.length===0&&(_e.endEmitted=!0,Oe.readable=!1,Oe.emit("end"))}function gt(_e,Oe){for(var lt=0,ce=_e.length;lt<ce;lt++)if(_e[lt]===Oe)return lt;return-1}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}_.exports=c;var m=D("./_stream_duplex"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(c,m);function h(r,o){var d=this._transformState;d.transforming=!1;var n=d.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,o!=null&&this.push(o),n(r);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function c(r){if(!(this instanceof c))return new c(r);m.call(this,r),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",a)}function a(){var r=this;typeof this._flush=="function"?this._flush(function(o,d){i(r,o,d)}):i(this,null,null)}c.prototype.push=function(r,o){return this._transformState.needTransform=!1,m.prototype.push.call(this,r,o)},c.prototype._transform=function(r,o,d){throw new Error("_transform() is not implemented")},c.prototype._write=function(r,o,d){var n=this._transformState;if(n.writecb=d,n.writechunk=r,n.writeencoding=o,!n.transforming){var l=this._readableState;(n.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},c.prototype._read=function(r){var o=this._transformState;o.writechunk!==null&&o.writecb&&!o.transforming?(o.transforming=!0,this._transform(o.writechunk,o.writeencoding,o.afterTransform)):o.needTransform=!0},c.prototype._destroy=function(r,o){var d=this;m.prototype._destroy.call(this,r,function(n){o(n),d.emit("close")})};function i(r,o,d){if(o)return r.emit("error",o);if(d!=null&&r.push(d),r._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(r._transformState.transforming)throw new Error("Calling transform done when still transforming");return r.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/define-property"),m=n(y),v=D("babel-runtime/core-js/symbol/has-instance"),h=n(v),c=D("babel-runtime/core-js/symbol"),a=n(c),i=D("babel-runtime/core-js/object/create"),r=n(i),o=D("babel-runtime/core-js/set-immediate"),d=n(o);function n(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}var l=D("process-nextick-args");_.exports=F;function t(Ae,Ue,Qe){this.chunk=Ae,this.encoding=Ue,this.callback=Qe,this.next=null}function s(Ae){var Ue=this;this.next=null,this.entry=null,this.finish=function(){Ce(Ue,Ae)}}var u=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?d.default:l.nextTick,p;F.WritableState=O;var w=(0,r.default)(D("core-util-is"));w.inherits=D("inherits");var b={deprecate:D("util-deprecate")},E=D("./internal/streams/stream"),A=D("safe-buffer").Buffer,S=f.Uint8Array||function(){};function T(Ae){return A.from(Ae)}function L(Ae){return A.isBuffer(Ae)||Ae instanceof S}var x=D("./internal/streams/destroy");w.inherits(F,E);function C(){}function O(Ae,Ue){p=p||D("./_stream_duplex"),Ae=Ae||{};var Qe=Ue instanceof p;this.objectMode=!!Ae.objectMode,Qe&&(this.objectMode=this.objectMode||!!Ae.writableObjectMode);var gt=Ae.highWaterMark,_e=Ae.writableHighWaterMark,Oe=this.objectMode?16:16*1024;gt||gt===0?this.highWaterMark=gt:Qe&&(_e||_e===0)?this.highWaterMark=_e:this.highWaterMark=Oe,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var lt=Ae.decodeStrings===!1;this.decodeStrings=!lt,this.defaultEncoding=Ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){H(Ue,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}O.prototype.getBuffer=function(){for(var Ue=this.bufferedRequest,Qe=[];Ue;)Qe.push(Ue),Ue=Ue.next;return Qe},function(){try{Object.defineProperty(O.prototype,"buffer",{get:b.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ae){}}();var N;typeof a.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(N=Function.prototype[h.default],(0,m.default)(F,h.default,{value:function(Ue){return N.call(this,Ue)?!0:this!==F?!1:Ue&&Ue._writableState instanceof O}})):N=function(Ue){return Ue instanceof this};function F(Ae){if(p=p||D("./_stream_duplex"),!N.call(F,this)&&!(this instanceof p))return new F(Ae);this._writableState=new O(Ae,this),this.writable=!0,Ae&&(typeof Ae.write=="function"&&(this._write=Ae.write),typeof Ae.writev=="function"&&(this._writev=Ae.writev),typeof Ae.destroy=="function"&&(this._destroy=Ae.destroy),typeof Ae.final=="function"&&(this._final=Ae.final)),E.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(Ae,Ue){var Qe=new Error("write after end");Ae.emit("error",Qe),l.nextTick(Ue,Qe)}function P(Ae,Ue,Qe,gt){var _e=!0,Oe=!1;return Qe===null?Oe=new TypeError("May not write null values to stream"):typeof Qe!="string"&&Qe!==void 0&&!Ue.objectMode&&(Oe=new TypeError("Invalid non-string/buffer chunk")),Oe&&(Ae.emit("error",Oe),l.nextTick(gt,Oe),_e=!1),_e}F.prototype.write=function(Ae,Ue,Qe){var gt=this._writableState,_e=!1,Oe=!gt.objectMode&&L(Ae);return Oe&&!A.isBuffer(Ae)&&(Ae=T(Ae)),typeof Ue=="function"&&(Qe=Ue,Ue=null),Oe?Ue="buffer":Ue||(Ue=gt.defaultEncoding),typeof Qe!="function"&&(Qe=C),gt.ended?k(this,Qe):(Oe||P(this,gt,Ae,Qe))&&(gt.pendingcb++,_e=z(this,gt,Oe,Ae,Ue,Qe)),_e},F.prototype.cork=function(){var Ae=this._writableState;Ae.corked++},F.prototype.uncork=function(){var Ae=this._writableState;Ae.corked&&(Ae.corked--,!Ae.writing&&!Ae.corked&&!Ae.finished&&!Ae.bufferProcessing&&Ae.bufferedRequest&&W(this,Ae))},F.prototype.setDefaultEncoding=function(Ue){if(typeof Ue=="string"&&(Ue=Ue.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ue+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ue);return this._writableState.defaultEncoding=Ue,this};function B(Ae,Ue,Qe){return!Ae.objectMode&&Ae.decodeStrings!==!1&&typeof Ue=="string"&&(Ue=A.from(Ue,Qe)),Ue}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function z(Ae,Ue,Qe,gt,_e,Oe){if(!Qe){var lt=B(Ue,gt,_e);gt!==lt&&(Qe=!0,_e="buffer",gt=lt)}var ce=Ue.objectMode?1:gt.length;Ue.length+=ce;var Y=Ue.length<Ue.highWaterMark;if(Y||(Ue.needDrain=!0),Ue.writing||Ue.corked){var K=Ue.lastBufferedRequest;Ue.lastBufferedRequest={chunk:gt,encoding:_e,isBuf:Qe,callback:Oe,next:null},K?K.next=Ue.lastBufferedRequest:Ue.bufferedRequest=Ue.lastBufferedRequest,Ue.bufferedRequestCount+=1}else R(Ae,Ue,!1,ce,gt,_e,Oe);return Y}function R(Ae,Ue,Qe,gt,_e,Oe,lt){Ue.writelen=gt,Ue.writecb=lt,Ue.writing=!0,Ue.sync=!0,Qe?Ae._writev(_e,Ue.onwrite):Ae._write(_e,Oe,Ue.onwrite),Ue.sync=!1}function U(Ae,Ue,Qe,gt,_e){--Ue.pendingcb,Qe?(l.nextTick(_e,gt),l.nextTick(q,Ae,Ue),Ae._writableState.errorEmitted=!0,Ae.emit("error",gt)):(_e(gt),Ae._writableState.errorEmitted=!0,Ae.emit("error",gt),q(Ae,Ue))}function j(Ae){Ae.writing=!1,Ae.writecb=null,Ae.length-=Ae.writelen,Ae.writelen=0}function H(Ae,Ue){var Qe=Ae._writableState,gt=Qe.sync,_e=Qe.writecb;if(j(Qe),Ue)U(Ae,Qe,gt,Ue,_e);else{var Oe=G(Qe);!Oe&&!Qe.corked&&!Qe.bufferProcessing&&Qe.bufferedRequest&&W(Ae,Qe),gt?u(V,Ae,Qe,Oe,_e):V(Ae,Qe,Oe,_e)}}function V(Ae,Ue,Qe,gt){Qe||X(Ae,Ue),Ue.pendingcb--,gt(),q(Ae,Ue)}function X(Ae,Ue){Ue.length===0&&Ue.needDrain&&(Ue.needDrain=!1,Ae.emit("drain"))}function W(Ae,Ue){Ue.bufferProcessing=!0;var Qe=Ue.bufferedRequest;if(Ae._writev&&Qe&&Qe.next){var gt=Ue.bufferedRequestCount,_e=new Array(gt),Oe=Ue.corkedRequestsFree;Oe.entry=Qe;for(var lt=0,ce=!0;Qe;)_e[lt]=Qe,Qe.isBuf||(ce=!1),Qe=Qe.next,lt+=1;_e.allBuffers=ce,R(Ae,Ue,!0,Ue.length,_e,"",Oe.finish),Ue.pendingcb++,Ue.lastBufferedRequest=null,Oe.next?(Ue.corkedRequestsFree=Oe.next,Oe.next=null):Ue.corkedRequestsFree=new s(Ue),Ue.bufferedRequestCount=0}else{for(;Qe;){var Y=Qe.chunk,K=Qe.encoding,Q=Qe.callback,ye=Ue.objectMode?1:Y.length;if(R(Ae,Ue,!1,ye,Y,K,Q),Qe=Qe.next,Ue.bufferedRequestCount--,Ue.writing)break}Qe===null&&(Ue.lastBufferedRequest=null)}Ue.bufferedRequest=Qe,Ue.bufferProcessing=!1}F.prototype._write=function(Ae,Ue,Qe){Qe(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(Ae,Ue,Qe){var gt=this._writableState;typeof Ae=="function"?(Qe=Ae,Ae=null,Ue=null):typeof Ue=="function"&&(Qe=Ue,Ue=null),Ae!=null&&this.write(Ae,Ue),gt.corked&&(gt.corked=1,this.uncork()),!gt.ending&&!gt.finished&&Se(this,gt,Qe)};function G(Ae){return Ae.ending&&Ae.length===0&&Ae.bufferedRequest===null&&!Ae.finished&&!Ae.writing}function $(Ae,Ue){Ae._final(function(Qe){Ue.pendingcb--,Qe&&Ae.emit("error",Qe),Ue.prefinished=!0,Ae.emit("prefinish"),q(Ae,Ue)})}function ge(Ae,Ue){!Ue.prefinished&&!Ue.finalCalled&&(typeof Ae._final=="function"?(Ue.pendingcb++,Ue.finalCalled=!0,l.nextTick($,Ae,Ue)):(Ue.prefinished=!0,Ae.emit("prefinish")))}function q(Ae,Ue){var Qe=G(Ue);return Qe&&(ge(Ae,Ue),Ue.pendingcb===0&&(Ue.finished=!0,Ae.emit("finish"))),Qe}function Se(Ae,Ue,Qe){Ue.ending=!0,q(Ae,Ue),Qe&&(Ue.finished?l.nextTick(Qe):Ae.once("finish",Qe)),Ue.ended=!0,Ae.writable=!1}function Ce(Ae,Ue,Qe){var gt=Ae.entry;for(Ae.entry=null;gt;){var _e=gt.callback;Ue.pendingcb--,_e(Qe),gt=gt.next}Ue.corkedRequestsFree?Ue.corkedRequestsFree.next=Ae:Ue.corkedRequestsFree=Ae}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Ue){if(!this._writableState)return;this._writableState.destroyed=Ue}}),F.prototype.destroy=x.destroy,F.prototype._undestroy=x.undestroy,F.prototype._destroy=function(Ae,Ue){this.end(),Ue(Ae)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(D,_,e){"use strict";function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}var f=D("safe-buffer").Buffer,y=D("util");function m(v,h,c){v.copy(h,c)}_.exports=function(){function v(){g(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(c){var a={data:c,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},v.prototype.unshift=function(c){var a={data:c,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},v.prototype.shift=function(){if(this.length===0)return;var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(c){if(this.length===0)return"";for(var a=this.head,i=""+a.data;a=a.next;)i+=c+a.data;return i},v.prototype.concat=function(c){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var a=f.allocUnsafe(c>>>0),i=this.head,r=0;i;)m(i.data,a,r),r+=i.data.length,i=i.next;return a},v}(),y&&y.inspect&&y.inspect.custom&&(_.exports.prototype[y.inspect.custom]=function(){var v=y.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(D,_,e){"use strict";var g=D("process-nextick-args");function f(v,h){var c=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(h?h(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&g.nextTick(m,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(r){!h&&r?(g.nextTick(m,c,r),c._writableState&&(c._writableState.errorEmitted=!0)):h&&h(r)}),this)}function y(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function m(v,h){v.emit("error",h)}_.exports={destroy:f,undestroy:y}},{"process-nextick-args":207}],221:[function(D,_,e){"use strict";_.exports=D("events").EventEmitter},{events:192}],222:[function(D,_,e){_.exports=D("./readable").PassThrough},{"./readable":223}],223:[function(D,_,e){e=_.exports=D("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=D("./lib/_stream_writable.js"),e.Duplex=D("./lib/_stream_duplex.js"),e.Transform=D("./lib/_stream_transform.js"),e.PassThrough=D("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(D,_,e){_.exports=D("./readable").Transform},{"./readable":223}],225:[function(D,_,e){_.exports=D("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(D,_,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,y=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,_.exports=D("./runtime"),f)g.regeneratorRuntime=y;else try{delete g.regeneratorRuntime}catch(m){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(D,_,e){!function(g){"use strict";var f=Object.prototype,y=f.hasOwnProperty,m,v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",c=v.asyncIterator||"@@asyncIterator",a=v.toStringTag||"@@toStringTag",i=typeof _=="object",r=g.regeneratorRuntime;if(r){i&&(_.exports=r);return}r=g.regeneratorRuntime=i?_.exports:{};function o(z,R,U,j){var H=R&&R.prototype instanceof p?R:p,V=Object.create(H.prototype),X=new k(j||[]);return V._invoke=C(z,U,X),V}r.wrap=o;function d(z,R,U){try{return{type:"normal",arg:z.call(R,U)}}catch(j){return{type:"throw",arg:j}}}var n="suspendedStart",l="suspendedYield",t="executing",s="completed",u={};function p(){}function w(){}function b(){}var E={};E[h]=function(){return this};var A=Object.getPrototypeOf,S=A&&A(A(P([])));S&&S!==f&&y.call(S,h)&&(E=S);var T=b.prototype=p.prototype=Object.create(E);w.prototype=T.constructor=b,b.constructor=w,b[a]=w.displayName="GeneratorFunction";function L(z){["next","throw","return"].forEach(function(R){z[R]=function(U){return this._invoke(R,U)}})}r.isGeneratorFunction=function(z){var R=typeof z=="function"&&z.constructor;return R?R===w||(R.displayName||R.name)==="GeneratorFunction":!1},r.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,b):(z.__proto__=b,a in z||(z[a]="GeneratorFunction")),z.prototype=Object.create(T),z},r.awrap=function(z){return{__await:z}};function x(z){function R(H,V,X,W){var G=d(z[H],z,V);if(G.type==="throw")W(G.arg);else{var $=G.arg,ge=$.value;return ge&&typeof ge=="object"&&y.call(ge,"__await")?Promise.resolve(ge.__await).then(function(q){R("next",q,X,W)},function(q){R("throw",q,X,W)}):Promise.resolve(ge).then(function(q){$.value=q,X($)},W)}}var U;function j(H,V){function X(){return new Promise(function(W,G){R(H,V,W,G)})}return U=U?U.then(X,X):X()}this._invoke=j}L(x.prototype),x.prototype[c]=function(){return this},r.AsyncIterator=x,r.async=function(z,R,U,j){var H=new x(o(z,R,U,j));return r.isGeneratorFunction(R)?H:H.next().then(function(V){return V.done?V.value:H.next()})};function C(z,R,U){var j=n;return function(V,X){if(j===t)throw new Error("Generator is already running");if(j===s){if(V==="throw")throw X;return B()}for(U.method=V,U.arg=X;;){var W=U.delegate;if(W){var G=O(W,U);if(G){if(G===u)continue;return G}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(j===n)throw j=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);j=t;var $=d(z,R,U);if($.type==="normal"){if(j=U.done?s:l,$.arg===u)continue;return{value:$.arg,done:U.done}}else $.type==="throw"&&(j=s,U.method="throw",U.arg=$.arg)}}}function O(z,R){var U=z.iterator[R.method];if(U===m){if(R.delegate=null,R.method==="throw"){if(z.iterator.return&&(R.method="return",R.arg=m,O(z,R),R.method==="throw"))return u;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var j=d(U,z.iterator,R.arg);if(j.type==="throw")return R.method="throw",R.arg=j.arg,R.delegate=null,u;var H=j.arg;if(!H)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,u;if(H.done)R[z.resultName]=H.value,R.next=z.nextLoc,R.method!=="return"&&(R.method="next",R.arg=m);else return H;return R.delegate=null,u}L(T),T[a]="Generator",T[h]=function(){return this},T.toString=function(){return"[object Generator]"};function N(z){var R={tryLoc:z[0]};1 in z&&(R.catchLoc=z[1]),2 in z&&(R.finallyLoc=z[2],R.afterLoc=z[3]),this.tryEntries.push(R)}function F(z){var R=z.completion||{};R.type="normal",delete R.arg,z.completion=R}function k(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(N,this),this.reset(!0)}r.keys=function(z){var R=[];for(var U in z)R.push(U);return R.reverse(),function j(){for(;R.length;){var H=R.pop();if(H in z)return j.value=H,j.done=!1,j}return j.done=!0,j}};function P(z){if(z){var R=z[h];if(R)return R.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var U=-1,j=function H(){for(;++U<z.length;)if(y.call(z,U))return H.value=z[U],H.done=!1,H;return H.value=m,H.done=!0,H};return j.next=j}}return{next:B}}r.values=P;function B(){return{value:m,done:!0}}k.prototype={constructor:k,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(F),!R)for(var U in this)U.charAt(0)==="t"&&y.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var R=this.tryEntries[0],U=R.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var U=this;function j($,ge){return X.type="throw",X.arg=R,U.next=$,ge&&(U.method="next",U.arg=m),!!ge}for(var H=this.tryEntries.length-1;H>=0;--H){var V=this.tryEntries[H],X=V.completion;if(V.tryLoc==="root")return j("end");if(V.tryLoc<=this.prev){var W=y.call(V,"catchLoc"),G=y.call(V,"finallyLoc");if(W&&G){if(this.prev<V.catchLoc)return j(V.catchLoc,!0);if(this.prev<V.finallyLoc)return j(V.finallyLoc)}else if(W){if(this.prev<V.catchLoc)return j(V.catchLoc,!0)}else if(G){if(this.prev<V.finallyLoc)return j(V.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,U){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.tryLoc<=this.prev&&y.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var V=H;break}}V&&(R==="break"||R==="continue")&&V.tryLoc<=U&&U<=V.finallyLoc&&(V=null);var X=V?V.completion:{};return X.type=R,X.arg=U,V?(this.method="next",this.next=V.finallyLoc,u):this.complete(X)},complete:function(R,U){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&U&&(this.next=U),u},finish:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.finallyLoc===R)return this.complete(j.completion,j.afterLoc),F(j),u}},catch:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.tryLoc===R){var H=j.completion;if(H.type==="throw"){var V=H.arg;F(j)}return V}}throw new Error("illegal catch attempt")},delegateYield:function(R,U,j){return this.delegate={iterator:P(R),resultName:U,nextLoc:j},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(D,_,e){var g=D("buffer"),f=g.Buffer;function y(v,h){for(var c in v)h[c]=v[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?_.exports=g:(y(g,e),e.Buffer=m);function m(v,h,c){return f(v,h,c)}y(f,m),m.from=function(v,h,c){if(typeof v=="number")throw new TypeError("Argument must not be a number");return f(v,h,c)},m.alloc=function(v,h,c){if(typeof v!="number")throw new TypeError("Argument must be a number");var a=f(v);return h!==void 0?typeof c=="string"?a.fill(h,c):a.fill(h):a.fill(0),a},m.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return f(v)},m.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(v)}},{buffer:73}],229:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/string/from-code-point"),y=l(f),m=D("babel-runtime/core-js/json/stringify"),v=l(m),h=D("babel-runtime/helpers/typeof"),c=l(h),a=D("babel-runtime/core-js/object/define-property"),i=l(a),r=D("babel-runtime/core-js/object/keys"),o=l(r),d=D("babel-runtime/core-js/object/create"),n=l(d);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(K,Q){return new u(K,Q)},t.SAXParser=u,t.SAXStream=T,t.createStream=S,t.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function u(K,Q){if(!(this instanceof u))return new u(K,Q);var ye=this;w(ye),ye.q=ye.c="",ye.bufferCheckPosition=t.MAX_BUFFER_LENGTH,ye.opt=Q||{},ye.opt.lowercase=ye.opt.lowercase||ye.opt.lowercasetags,ye.looseCase=ye.opt.lowercase?"toLowerCase":"toUpperCase",ye.tags=[],ye.closed=ye.closedRoot=ye.sawRoot=!1,ye.tag=ye.error=null,ye.strict=!!K,ye.noscript=!!(K||ye.opt.noscript),ye.state=V.BEGIN,ye.strictEntities=ye.opt.strictEntities,ye.ENTITIES=ye.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),ye.attribList=[],ye.opt.xmlns&&(ye.ns=(0,n.default)(N)),ye.trackPosition=ye.opt.position!==!1,ye.trackPosition&&(ye.position=ye.line=ye.column=0),W(ye,"onready")}n.default||(Object.create=function(K){function Q(){}Q.prototype=K;var ye=new Q;return ye}),o.default||(Object.keys=function(K){var Q=[];for(var ye in K)K.hasOwnProperty(ye)&&Q.push(ye);return Q});function p(K){for(var Q=Math.max(t.MAX_BUFFER_LENGTH,10),ye=0,ue=0,Ne=s.length;ue<Ne;ue++){var Te=K[s[ue]].length;if(Te>Q)switch(s[ue]){case"textNode":$(K);break;case"cdata":G(K,"oncdata",K.cdata),K.cdata="";break;case"script":G(K,"onscript",K.script),K.script="";break;default:q(K,"Max buffer length exceeded: "+s[ue])}ye=Math.max(ye,Te)}var oe=t.MAX_BUFFER_LENGTH-ye;K.bufferCheckPosition=oe+K.position}function w(K){for(var Q=0,ye=s.length;Q<ye;Q++)K[s[Q]]=""}function b(K){$(K),K.cdata!==""&&(G(K,"oncdata",K.cdata),K.cdata=""),K.script!==""&&(G(K,"onscript",K.script),K.script="")}u.prototype={end:function(){Se(this)},write:Y,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){b(this)}};var E;try{E=D("stream").Stream}catch(K){E=function(){}}var A=t.EVENTS.filter(function(K){return K!=="error"&&K!=="end"});function S(K,Q){return new T(K,Q)}function T(K,Q){if(!(this instanceof T))return new T(K,Q);E.apply(this),this._parser=new u(K,Q),this.writable=!0,this.readable=!0;var ye=this;this._parser.onend=function(){ye.emit("end")},this._parser.onerror=function(ue){ye.emit("error",ue),ye._parser.error=null},this._decoder=null,A.forEach(function(ue){(0,i.default)(ye,"on"+ue,{get:function(){return ye._parser["on"+ue]},set:function(Te){if(!Te)return ye.removeAllListeners(ue),ye._parser["on"+ue]=Te,Te;ye.on(ue,Te)},enumerable:!0,configurable:!1})})}T.prototype=(0,n.default)(E.prototype,{constructor:{value:T}}),T.prototype.write=function(K){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(K)){if(!this._decoder){var Q=D("string_decoder").StringDecoder;this._decoder=new Q("utf8")}K=this._decoder.write(K)}return this._parser.write(K.toString()),this.emit("data",K),!0},T.prototype.end=function(K){return K&&K.length&&this.write(K),this._parser.end(),!0},T.prototype.on=function(K,Q){var ye=this;return!ye._parser["on"+K]&&A.indexOf(K)!==-1&&(ye._parser["on"+K]=function(){var ue=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ue.splice(0,0,K),ye.emit.apply(ye,ue)}),E.prototype.on.call(ye,K,Q)};var L="[CDATA[",x="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",N={xml:C,xmlns:O},F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,k=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,P=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,B=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function z(K){return K===" "||K===`
|
|
|
`||K==="\r"||K===" "}function R(K){return K==='"'||K==="'"}function U(K){return K===">"||z(K)}function j(K,Q){return K.test(Q)}function H(K,Q){return!j(K,Q)}var V=0;t.STATE={BEGIN:V++,BEGIN_WHITESPACE:V++,TEXT:V++,TEXT_ENTITY:V++,OPEN_WAKA:V++,SGML_DECL:V++,SGML_DECL_QUOTED:V++,DOCTYPE:V++,DOCTYPE_QUOTED:V++,DOCTYPE_DTD:V++,DOCTYPE_DTD_QUOTED:V++,COMMENT_STARTING:V++,COMMENT:V++,COMMENT_ENDING:V++,COMMENT_ENDED:V++,CDATA:V++,CDATA_ENDING:V++,CDATA_ENDING_2:V++,PROC_INST:V++,PROC_INST_BODY:V++,PROC_INST_ENDING:V++,OPEN_TAG:V++,OPEN_TAG_SLASH:V++,ATTRIB:V++,ATTRIB_NAME:V++,ATTRIB_NAME_SAW_WHITE:V++,ATTRIB_VALUE:V++,ATTRIB_VALUE_QUOTED:V++,ATTRIB_VALUE_CLOSED:V++,ATTRIB_VALUE_UNQUOTED:V++,ATTRIB_VALUE_ENTITY_Q:V++,ATTRIB_VALUE_ENTITY_U:V++,CLOSE_TAG:V++,CLOSE_TAG_SAW_WHITE:V++,SCRIPT:V++,SCRIPT_ENDING:V++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,o.default)(t.ENTITIES).forEach(function(K){var Q=t.ENTITIES[K],ye=typeof Q=="number"?String.fromCharCode(Q):Q;t.ENTITIES[K]=ye});for(var X in t.STATE)t.STATE[t.STATE[X]]=X;V=t.STATE;function W(K,Q,ye){K[Q]&&K[Q](ye)}function G(K,Q,ye){K.textNode&&$(K),W(K,Q,ye)}function $(K){K.textNode=ge(K.opt,K.textNode),K.textNode&&W(K,"ontext",K.textNode),K.textNode=""}function ge(K,Q){return K.trim&&(Q=Q.trim()),K.normalize&&(Q=Q.replace(/\s+/g," ")),Q}function q(K,Q){return $(K),K.trackPosition&&(Q+=`
|
|
|
Line: `+K.line+`
|
|
|
Column: `+K.column+`
|
|
|
Char: `+K.c),Q=new Error(Q),K.error=Q,W(K,"onerror",Q),K}function Se(K){return K.sawRoot&&!K.closedRoot&&Ce(K,"Unclosed root tag"),K.state!==V.BEGIN&&K.state!==V.BEGIN_WHITESPACE&&K.state!==V.TEXT&&q(K,"Unexpected end"),$(K),K.c="",K.closed=!0,W(K,"onend"),u.call(K,K.strict,K.opt),K}function Ce(K,Q){if((typeof K=="undefined"?"undefined":(0,c.default)(K))!=="object"||!(K instanceof u))throw new Error("bad call to strictFail");K.strict&&q(K,Q)}function Ae(K){K.strict||(K.tagName=K.tagName[K.looseCase]());var Q=K.tags[K.tags.length-1]||K,ye=K.tag={name:K.tagName,attributes:{}};K.opt.xmlns&&(ye.ns=Q.ns),K.attribList.length=0,G(K,"onopentagstart",ye)}function Ue(K,Q){var ye=K.indexOf(":"),ue=ye<0?["",K]:K.split(":"),Ne=ue[0],Te=ue[1];return Q&&K==="xmlns"&&(Ne="xmlns",Te=""),{prefix:Ne,local:Te}}function Qe(K){if(K.strict||(K.attribName=K.attribName[K.looseCase]()),K.attribList.indexOf(K.attribName)!==-1||K.tag.attributes.hasOwnProperty(K.attribName)){K.attribName=K.attribValue="";return}if(K.opt.xmlns){var Q=Ue(K.attribName,!0),ye=Q.prefix,ue=Q.local;if(ye==="xmlns")if(ue==="xml"&&K.attribValue!==C)Ce(K,"xml: prefix must be bound to "+C+`
|
|
|
Actual: `+K.attribValue);else if(ue==="xmlns"&&K.attribValue!==O)Ce(K,"xmlns: prefix must be bound to "+O+`
|
|
|
Actual: `+K.attribValue);else{var Ne=K.tag,Te=K.tags[K.tags.length-1]||K;Ne.ns===Te.ns&&(Ne.ns=(0,n.default)(Te.ns)),Ne.ns[ue]=K.attribValue}K.attribList.push([K.attribName,K.attribValue])}else K.tag.attributes[K.attribName]=K.attribValue,G(K,"onattribute",{name:K.attribName,value:K.attribValue});K.attribName=K.attribValue=""}function gt(K,Q){if(K.opt.xmlns){var ye=K.tag,ue=Ue(K.tagName);ye.prefix=ue.prefix,ye.local=ue.local,ye.uri=ye.ns[ue.prefix]||"",ye.prefix&&!ye.uri&&(Ce(K,"Unbound namespace prefix: "+(0,v.default)(K.tagName)),ye.uri=ue.prefix);var Ne=K.tags[K.tags.length-1]||K;ye.ns&&Ne.ns!==ye.ns&&(0,o.default)(ye.ns).forEach(function(At){G(K,"onopennamespace",{prefix:At,uri:ye.ns[At]})});for(var Te=0,oe=K.attribList.length;Te<oe;Te++){var de=K.attribList[Te],Le=de[0],Ge=de[1],ht=Ue(Le,!0),Et=ht.prefix,Be=ht.local,Dt=Et===""?"":ye.ns[Et]||"",Ke={name:Le,value:Ge,prefix:Et,local:Be,uri:Dt};Et&&Et!=="xmlns"&&!Dt&&(Ce(K,"Unbound namespace prefix: "+(0,v.default)(Et)),Ke.uri=Et),K.tag.attributes[Le]=Ke,G(K,"onattribute",Ke)}K.attribList.length=0}K.tag.isSelfClosing=!!Q,K.sawRoot=!0,K.tags.push(K.tag),G(K,"onopentag",K.tag),Q||(!K.noscript&&K.tagName.toLowerCase()==="script"?K.state=V.SCRIPT:K.state=V.TEXT,K.tag=null,K.tagName=""),K.attribName=K.attribValue="",K.attribList.length=0}function _e(K){if(!K.tagName){Ce(K,"Weird empty close tag."),K.textNode+="</>",K.state=V.TEXT;return}if(K.script){if(K.tagName!=="script"){K.script+="</"+K.tagName+">",K.tagName="",K.state=V.SCRIPT;return}G(K,"onscript",K.script),K.script=""}var Q=K.tags.length,ye=K.tagName;K.strict||(ye=ye[K.looseCase]());for(var ue=ye;Q--;){var Ne=K.tags[Q];if(Ne.name!==ue)Ce(K,"Unexpected close tag");else break}if(Q<0){Ce(K,"Unmatched closing tag: "+K.tagName),K.textNode+="</"+K.tagName+">",K.state=V.TEXT;return}K.tagName=ye;for(var Te=K.tags.length;Te-- >Q;){var oe=K.tag=K.tags.pop();K.tagName=K.tag.name,G(K,"onclosetag",K.tagName);var de={};for(var Le in oe.ns)de[Le]=oe.ns[Le];var Ge=K.tags[K.tags.length-1]||K;K.opt.xmlns&&oe.ns!==Ge.ns&&(0,o.default)(oe.ns).forEach(function(ht){var Et=oe.ns[ht];G(K,"onclosenamespace",{prefix:ht,uri:Et})})}Q===0&&(K.closedRoot=!0),K.tagName=K.attribValue=K.attribName="",K.attribList.length=0,K.state=V.TEXT}function Oe(K){var Q=K.entity,ye=Q.toLowerCase(),ue,Ne="";return K.ENTITIES[Q]?K.ENTITIES[Q]:K.ENTITIES[ye]?K.ENTITIES[ye]:(Q=ye,Q.charAt(0)==="#"&&(Q.charAt(1)==="x"?(Q=Q.slice(2),ue=parseInt(Q,16),Ne=ue.toString(16)):(Q=Q.slice(1),ue=parseInt(Q,10),Ne=ue.toString(10))),Q=Q.replace(/^0+/,""),isNaN(ue)||Ne.toLowerCase()!==Q?(Ce(K,"Invalid character entity"),"&"+K.entity+";"):(0,y.default)(ue))}function lt(K,Q){Q==="<"?(K.state=V.OPEN_WAKA,K.startTagPosition=K.position):z(Q)||(Ce(K,"Non-whitespace before first tag."),K.textNode=Q,K.state=V.TEXT)}function ce(K,Q){var ye="";return Q<K.length&&(ye=K.charAt(Q)),ye}function Y(K){var Q=this;if(this.error)throw this.error;if(Q.closed)return q(Q,"Cannot write after close. Assign an onready handler.");if(K===null)return Se(Q);(typeof K=="undefined"?"undefined":(0,c.default)(K))==="object"&&(K=K.toString());for(var ye=0,ue="";!(ue=ce(K,ye++),Q.c=ue,!ue);){Q.trackPosition&&(Q.position++,ue===`
|
|
|
`?(Q.line++,Q.column=0):Q.column++);switch(Q.state){case V.BEGIN:if(Q.state=V.BEGIN_WHITESPACE,ue==="\uFEFF")continue;lt(Q,ue);continue;case V.BEGIN_WHITESPACE:lt(Q,ue);continue;case V.TEXT:if(Q.sawRoot&&!Q.closedRoot){for(var Ne=ye-1;ue&&ue!=="<"&&ue!=="&";)ue=ce(K,ye++),ue&&Q.trackPosition&&(Q.position++,ue===`
|
|
|
`?(Q.line++,Q.column=0):Q.column++);Q.textNode+=K.substring(Ne,ye-1)}ue==="<"&&!(Q.sawRoot&&Q.closedRoot&&!Q.strict)?(Q.state=V.OPEN_WAKA,Q.startTagPosition=Q.position):(!z(ue)&&(!Q.sawRoot||Q.closedRoot)&&Ce(Q,"Text data outside of root node."),ue==="&"?Q.state=V.TEXT_ENTITY:Q.textNode+=ue);continue;case V.SCRIPT:ue==="<"?Q.state=V.SCRIPT_ENDING:Q.script+=ue;continue;case V.SCRIPT_ENDING:ue==="/"?Q.state=V.CLOSE_TAG:(Q.script+="<"+ue,Q.state=V.SCRIPT);continue;case V.OPEN_WAKA:if(ue==="!")Q.state=V.SGML_DECL,Q.sgmlDecl="";else if(!z(ue))if(j(F,ue))Q.state=V.OPEN_TAG,Q.tagName=ue;else if(ue==="/")Q.state=V.CLOSE_TAG,Q.tagName="";else if(ue==="?")Q.state=V.PROC_INST,Q.procInstName=Q.procInstBody="";else{if(Ce(Q,"Unencoded <"),Q.startTagPosition+1<Q.position){var Te=Q.position-Q.startTagPosition;ue=new Array(Te).join(" ")+ue}Q.textNode+="<"+ue,Q.state=V.TEXT}continue;case V.SGML_DECL:(Q.sgmlDecl+ue).toUpperCase()===L?(G(Q,"onopencdata"),Q.state=V.CDATA,Q.sgmlDecl="",Q.cdata=""):Q.sgmlDecl+ue==="--"?(Q.state=V.COMMENT,Q.comment="",Q.sgmlDecl=""):(Q.sgmlDecl+ue).toUpperCase()===x?(Q.state=V.DOCTYPE,(Q.doctype||Q.sawRoot)&&Ce(Q,"Inappropriately located doctype declaration"),Q.doctype="",Q.sgmlDecl=""):ue===">"?(G(Q,"onsgmldeclaration",Q.sgmlDecl),Q.sgmlDecl="",Q.state=V.TEXT):(R(ue)&&(Q.state=V.SGML_DECL_QUOTED),Q.sgmlDecl+=ue);continue;case V.SGML_DECL_QUOTED:ue===Q.q&&(Q.state=V.SGML_DECL,Q.q=""),Q.sgmlDecl+=ue;continue;case V.DOCTYPE:ue===">"?(Q.state=V.TEXT,G(Q,"ondoctype",Q.doctype),Q.doctype=!0):(Q.doctype+=ue,ue==="["?Q.state=V.DOCTYPE_DTD:R(ue)&&(Q.state=V.DOCTYPE_QUOTED,Q.q=ue));continue;case V.DOCTYPE_QUOTED:Q.doctype+=ue,ue===Q.q&&(Q.q="",Q.state=V.DOCTYPE);continue;case V.DOCTYPE_DTD:Q.doctype+=ue,ue==="]"?Q.state=V.DOCTYPE:R(ue)&&(Q.state=V.DOCTYPE_DTD_QUOTED,Q.q=ue);continue;case V.DOCTYPE_DTD_QUOTED:Q.doctype+=ue,ue===Q.q&&(Q.state=V.DOCTYPE_DTD,Q.q="");continue;case V.COMMENT:ue==="-"?Q.state=V.COMMENT_ENDING:Q.comment+=ue;continue;case V.COMMENT_ENDING:ue==="-"?(Q.state=V.COMMENT_ENDED,Q.comment=ge(Q.opt,Q.comment),Q.comment&&G(Q,"oncomment",Q.comment),Q.comment=""):(Q.comment+="-"+ue,Q.state=V.COMMENT);continue;case V.COMMENT_ENDED:ue!==">"?(Ce(Q,"Malformed comment"),Q.comment+="--"+ue,Q.state=V.COMMENT):Q.state=V.TEXT;continue;case V.CDATA:ue==="]"?Q.state=V.CDATA_ENDING:Q.cdata+=ue;continue;case V.CDATA_ENDING:ue==="]"?Q.state=V.CDATA_ENDING_2:(Q.cdata+="]"+ue,Q.state=V.CDATA);continue;case V.CDATA_ENDING_2:ue===">"?(Q.cdata&&G(Q,"oncdata",Q.cdata),G(Q,"onclosecdata"),Q.cdata="",Q.state=V.TEXT):ue==="]"?Q.cdata+="]":(Q.cdata+="]]"+ue,Q.state=V.CDATA);continue;case V.PROC_INST:ue==="?"?Q.state=V.PROC_INST_ENDING:z(ue)?Q.state=V.PROC_INST_BODY:Q.procInstName+=ue;continue;case V.PROC_INST_BODY:if(!Q.procInstBody&&z(ue))continue;ue==="?"?Q.state=V.PROC_INST_ENDING:Q.procInstBody+=ue;continue;case V.PROC_INST_ENDING:ue===">"?(G(Q,"onprocessinginstruction",{name:Q.procInstName,body:Q.procInstBody}),Q.procInstName=Q.procInstBody="",Q.state=V.TEXT):(Q.procInstBody+="?"+ue,Q.state=V.PROC_INST_BODY);continue;case V.OPEN_TAG:j(k,ue)?Q.tagName+=ue:(Ae(Q),ue===">"?gt(Q):ue==="/"?Q.state=V.OPEN_TAG_SLASH:(z(ue)||Ce(Q,"Invalid character in tag name"),Q.state=V.ATTRIB));continue;case V.OPEN_TAG_SLASH:ue===">"?(gt(Q,!0),_e(Q)):(Ce(Q,"Forward-slash in opening tag not followed by >"),Q.state=V.ATTRIB);continue;case V.ATTRIB:if(z(ue))continue;ue===">"?gt(Q):ue==="/"?Q.state=V.OPEN_TAG_SLASH:j(F,ue)?(Q.attribName=ue,Q.attribValue="",Q.state=V.ATTRIB_NAME):Ce(Q,"Invalid attribute name");continue;case V.ATTRIB_NAME:ue==="="?Q.state=V.ATTRIB_VALUE:ue===">"?(Ce(Q,"Attribute without value"),Q.attribValue=Q.attribName,Qe(Q),gt(Q)):z(ue)?Q.state=V.ATTRIB_NAME_SAW_WHITE:j(k,ue)?Q.attribName+=ue:Ce(Q,"Invalid attribute name");continue;case V.ATTRIB_NAME_SAW_WHITE:if(ue==="=")Q.state=V.ATTRIB_VALUE;else{if(z(ue))continue;Ce(Q,"Attribute without value"),Q.tag.attributes[Q.attribName]="",Q.attribValue="",G(Q,"onattribute",{name:Q.attribName,value:""}),Q.attribName="",ue===">"?gt(Q):j(F,ue)?(Q.attribName=ue,Q.state=V.ATTRIB_NAME):(Ce(Q,"Invalid attribute name"),Q.state=V.ATTRIB)}continue;case V.ATTRIB_VALUE:if(z(ue))continue;R(ue)?(Q.q=ue,Q.state=V.ATTRIB_VALUE_QUOTED):(Ce(Q,"Unquoted attribute value"),Q.state=V.ATTRIB_VALUE_UNQUOTED,Q.attribValue=ue);continue;case V.ATTRIB_VALUE_QUOTED:if(ue!==Q.q){ue==="&"?Q.state=V.ATTRIB_VALUE_ENTITY_Q:Q.attribValue+=ue;continue}Qe(Q),Q.q="",Q.state=V.ATTRIB_VALUE_CLOSED;continue;case V.ATTRIB_VALUE_CLOSED:z(ue)?Q.state=V.ATTRIB:ue===">"?gt(Q):ue==="/"?Q.state=V.OPEN_TAG_SLASH:j(F,ue)?(Ce(Q,"No whitespace between attributes"),Q.attribName=ue,Q.attribValue="",Q.state=V.ATTRIB_NAME):Ce(Q,"Invalid attribute name");continue;case V.ATTRIB_VALUE_UNQUOTED:if(!U(ue)){ue==="&"?Q.state=V.ATTRIB_VALUE_ENTITY_U:Q.attribValue+=ue;continue}Qe(Q),ue===">"?gt(Q):Q.state=V.ATTRIB;continue;case V.CLOSE_TAG:if(Q.tagName)ue===">"?_e(Q):j(k,ue)?Q.tagName+=ue:Q.script?(Q.script+="</"+Q.tagName,Q.tagName="",Q.state=V.SCRIPT):(z(ue)||Ce(Q,"Invalid tagname in closing tag"),Q.state=V.CLOSE_TAG_SAW_WHITE);else{if(z(ue))continue;H(F,ue)?Q.script?(Q.script+="</"+ue,Q.state=V.SCRIPT):Ce(Q,"Invalid tagname in closing tag."):Q.tagName=ue}continue;case V.CLOSE_TAG_SAW_WHITE:if(z(ue))continue;ue===">"?_e(Q):Ce(Q,"Invalid characters in closing tag");continue;case V.TEXT_ENTITY:case V.ATTRIB_VALUE_ENTITY_Q:case V.ATTRIB_VALUE_ENTITY_U:var oe,de;switch(Q.state){case V.TEXT_ENTITY:oe=V.TEXT,de="textNode";break;case V.ATTRIB_VALUE_ENTITY_Q:oe=V.ATTRIB_VALUE_QUOTED,de="attribValue";break;case V.ATTRIB_VALUE_ENTITY_U:oe=V.ATTRIB_VALUE_UNQUOTED,de="attribValue";break}ue===";"?(Q[de]+=Oe(Q),Q.entity="",Q.state=oe):j(Q.entity.length?B:P,ue)?Q.entity+=ue:(Ce(Q,"Invalid character in entity name"),Q[de]+="&"+Q.entity+ue,Q.entity="",Q.state=oe);continue;default:throw new Error(Q,"Unknown state: "+Q.state)}}return Q.position>=Q.bufferCheckPosition&&p(Q),Q}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */y.default||function(){var K=String.fromCharCode,Q=Math.floor,ye=function(){var Ne=16384,Te=[],oe,de,Le=-1,Ge=arguments.length;if(!Ge)return"";for(var ht="";++Le<Ge;){var Et=Number(arguments[Le]);if(!isFinite(Et)||Et<0||Et>1114111||Q(Et)!==Et)throw RangeError("Invalid code point: "+Et);Et<=65535?Te.push(Et):(Et-=65536,oe=(Et>>10)+55296,de=Et%1024+56320,Te.push(oe,de)),(Le+1===Ge||Te.length>Ne)&&(ht+=K.apply(null,Te),Te.length=0)}return ht};i.default?Object.defineProperty(String,"fromCodePoint",{value:ye,configurable:!0,writable:!0}):String.fromCodePoint=ye}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(D,_,e){_.exports=y;var g=D("events").EventEmitter,f=D("inherits");f(y,g),y.Readable=D("readable-stream/readable.js"),y.Writable=D("readable-stream/writable.js"),y.Duplex=D("readable-stream/duplex.js"),y.Transform=D("readable-stream/transform.js"),y.PassThrough=D("readable-stream/passthrough.js"),y.Stream=y;function y(){g.call(this)}y.prototype.pipe=function(m,v){var h=this;function c(l){m.writable&&(m.write(l)===!1&&h.pause&&h.pause())}h.on("data",c);function a(){h.readable&&h.resume&&h.resume()}m.on("drain",a),!m._isStdio&&(!v||v.end!==!1)&&(h.on("end",r),h.on("close",o));var i=!1;function r(){if(i)return;i=!0,m.end()}function o(){if(i)return;i=!0,typeof m.destroy=="function"&&m.destroy()}function d(l){if(n(),g.listenerCount(this,"error")===0)throw l}h.on("error",d),m.on("error",d);function n(){h.removeListener("data",c),m.removeListener("drain",a),h.removeListener("end",r),h.removeListener("close",o),h.removeListener("error",d),m.removeListener("error",d),h.removeListener("end",n),h.removeListener("close",n),m.removeListener("close",n)}return h.on("end",n),h.on("close",n),m.on("close",n),m.emit("pipe",h),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(D,_,e){(function(g){var f=D("./lib/request"),y=D("./lib/response"),m=D("xtend"),v=D("builtin-status-codes"),h=D("url"),c=e;c.request=function(a,i){typeof a=="string"?a=h.parse(a):a=m(a);var r=g.location.protocol.search(/^https?:$/)===-1?"http:":"",o=a.protocol||r,d=a.hostname||a.host,n=a.port,l=a.path||"/";d&&d.indexOf(":")!==-1&&(d="["+d+"]"),a.url=(d?o+"//"+d:"")+(n?":"+n:"")+l,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var t=new f(a);return i&&t.on("response",i),t},c.get=function(i,r){var o=c.request(i,r);return o.end(),o},c.ClientRequest=f,c.IncomingMessage=y.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=v,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(D,_,e){(function(g){"use strict";e.fetch=c(g.fetch)&&c(g.ReadableStream),e.writableStream=c(g.WritableStream),e.abortController=c(g.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(a){}var f;function y(){if(f!==void 0)return f;if(g.XMLHttpRequest){f=new g.XMLHttpRequest;try{f.open("GET",g.XDomainRequest?"/":"https://example.com")}catch(a){f=null}}else f=null;return f}function m(a){var i=y();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch(r){}return!1}var v=typeof g.ArrayBuffer!="undefined",h=v&&c(g.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||v&&m("arraybuffer"),e.msstream=!e.fetch&&h&&m("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&v&&m("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(y()?c(y().overrideMimeType):!1),e.vbArray=c(g.VBArray);function c(a){return typeof a=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(D,_,e){(function(g,f,y){"use strict";var m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(p){return p&&p.__esModule?p:{default:p}}var c=D("./capability"),a=D("inherits"),i=D("./response"),r=D("readable-stream"),o=D("to-arraybuffer"),d=i.IncomingMessage,n=i.readyStates;function l(p,w){return c.fetch&&w?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&p?"arraybuffer":c.vbArray&&p?"text:vbarray":"text"}var t=_.exports=function(p){var w=this;r.Writable.call(w),w._opts=p,w._body=[],w._headers={},p.auth&&w.setHeader("Authorization","Basic "+new y(p.auth).toString("base64")),(0,v.default)(p.headers).forEach(function(A){w.setHeader(A,p.headers[A])});var b,E=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!c.abortController)E=!1,b=!0;else if(p.mode==="prefer-streaming")b=!1;else if(p.mode==="allow-wrong-content-type")b=!c.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");w._mode=l(b,E),w._fetchTimer=null,w.on("finish",function(){w._onFinish()})};a(t,r.Writable),t.prototype.setHeader=function(p,w){var b=this,E=p.toLowerCase();if(u.indexOf(E)!==-1)return;b._headers[E]={name:p,value:w}},t.prototype.getHeader=function(p){var w=this._headers[p.toLowerCase()];return w?w.value:null},t.prototype.removeHeader=function(p){var w=this;delete w._headers[p.toLowerCase()]},t.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var w=p._opts,b=p._headers,E=null;w.method!=="GET"&&w.method!=="HEAD"&&(c.arraybuffer?E=o(y.concat(p._body)):c.blobConstructor?E=new f.Blob(p._body.map(function(C){return o(C)}),{type:(b["content-type"]||{}).value||""}):E=y.concat(p._body).toString());var A=[];if((0,v.default)(b).forEach(function(C){var O=b[C].name,N=b[C].value;Array.isArray(N)?N.forEach(function(F){A.push([O,F])}):A.push([O,N])}),p._mode==="fetch"){var S=null,T=null;if(c.abortController){var L=new AbortController;S=L.signal,p._fetchAbortController=L,"requestTimeout"in w&&w.requestTimeout!==0&&(p._fetchTimer=f.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},w.requestTimeout))}f.fetch(p._opts.url,{method:p._opts.method,headers:A,body:E||void 0,mode:"cors",credentials:w.withCredentials?"include":"same-origin",signal:S}).then(function(C){p._fetchResponse=C,p._connect()},function(C){f.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",C)})}else{var x=p._xhr=new f.XMLHttpRequest;try{x.open(p._opts.method,p._opts.url,!0)}catch(C){g.nextTick(function(){p.emit("error",C)});return}"responseType"in x&&(x.responseType=p._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!w.withCredentials),p._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in w&&(x.timeout=w.requestTimeout,x.ontimeout=function(){p.emit("requestTimeout")}),A.forEach(function(C){x.setRequestHeader(C[0],C[1])}),p._response=null,x.onreadystatechange=function(){switch(x.readyState){case n.LOADING:case n.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){p._onXHRProgress()}),x.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{x.send(E)}catch(C){g.nextTick(function(){p.emit("error",C)});return}}};function s(p){try{var w=p.status;return w!==null&&w!==0}catch(b){return!1}}t.prototype._onXHRProgress=function(){var p=this;if(!s(p._xhr)||p._destroyed)return;p._response||p._connect(),p._response._onXHRProgress()},t.prototype._connect=function(){var p=this;if(p._destroyed)return;p._response=new d(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(w){p.emit("error",w)}),p.emit("response",p._response)},t.prototype._write=function(p,w,b){var E=this;E._body.push(p),b()},t.prototype.abort=t.prototype.destroy=function(){var p=this;p._destroyed=!0,f.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},t.prototype.end=function(p,w,b){var E=this;typeof p=="function"&&(b=p,p=void 0),r.Writable.prototype.end.call(E,p,w,b)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(D,_,e){(function(g,f,y){"use strict";var m=D("babel-runtime/core-js/promise"),v=h(m);function h(d){return d&&d.__esModule?d:{default:d}}var c=D("./capability"),a=D("inherits"),i=D("readable-stream"),r=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=e.IncomingMessage=function(d,n,l,t){var s=this;if(i.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){g.nextTick(function(){s.emit("close")})}),l==="fetch"){var u=function S(){w.read().then(function(T){if(s._destroyed)return;if(T.done){f.clearTimeout(t),s.push(null);return}s.push(new y(T.value)),S()}).catch(function(T){f.clearTimeout(t),s._destroyed||s.emit("error",T)})};if(s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(S,T){s.headers[T.toLowerCase()]=S,s.rawHeaders.push(T,S)}),c.writableStream){var p=new WritableStream({write:function(T){return new v.default(function(L,x){s._destroyed?x():s.push(new y(T))?L():s._resumeFetch=L})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(T){s._destroyed||s.emit("error",T)}});try{n.body.pipeTo(p).catch(function(S){f.clearTimeout(t),s._destroyed||s.emit("error",S)});return}catch(S){}}var w=n.body.getReader();u()}else{s._xhr=d,s._pos=0,s.url=d.responseURL,s.statusCode=d.status,s.statusMessage=d.statusText;var b=d.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(S){var T=S.match(/^([^:]+):\s*(.*)/);if(T){var L=T[1].toLowerCase();L==="set-cookie"?(s.headers[L]===void 0&&(s.headers[L]=[]),s.headers[L].push(T[2])):s.headers[L]!==void 0?s.headers[L]+=", "+T[2]:s.headers[L]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var E=s.rawHeaders["mime-type"];if(E){var A=E.match(/;\s*charset=([^;])(;|$)/);A&&(s._charset=A[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};a(o,i.Readable),o.prototype._read=function(){var d=this,n=d._resumeFetch;n&&(d._resumeFetch=null,n())},o.prototype._onXHRProgress=function(){var d=this,n=d._xhr,l=null;switch(d._mode){case"text:vbarray":if(n.readyState!==r.DONE)break;try{l=new f.VBArray(n.responseBody).toArray()}catch(w){}if(l!==null){d.push(new y(l));break}case"text":try{l=n.responseText}catch(w){d._mode="text:vbarray";break}if(l.length>d._pos){var t=l.substr(d._pos);if(d._charset==="x-user-defined"){for(var s=new y(t.length),u=0;u<t.length;u++)s[u]=t.charCodeAt(u)&255;d.push(s)}else d.push(t,d._charset);d._pos=l.length}break;case"arraybuffer":if(n.readyState!==r.DONE||!n.response)break;l=n.response,d.push(new y(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==r.LOADING||!l)break;d.push(new y(new Uint8Array(l)));break;case"ms-stream":if(l=n.response,n.readyState!==r.LOADING)break;var p=new f.MSStreamReader;p.onprogress=function(){p.result.byteLength>d._pos&&(d.push(new y(new Uint8Array(p.result.slice(d._pos)))),d._pos=p.result.byteLength)},p.onload=function(){d.push(null)},p.readAsArrayBuffer(l);break}d._xhr.readyState===r.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(D,_,e){"use strict";var g=D("safe-buffer").Buffer,f=g.isEncoding||function(p){p=""+p;switch(p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function y(p){if(!p)return"utf8";for(var w;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(w)return;p=(""+p).toLowerCase(),w=!0}}function m(p){var w=y(p);if(typeof w!="string"&&(g.isEncoding===f||!f(p)))throw new Error("Unknown encoding: "+p);return w||p}e.StringDecoder=v;function v(p){this.encoding=m(p);var w;switch(this.encoding){case"utf16le":this.text=d,this.end=n,w=4;break;case"utf8":this.fillLast=i,w=4;break;case"base64":this.text=l,this.end=t,w=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(w)}v.prototype.write=function(p){if(p.length===0)return"";var w,b;if(this.lastNeed){if(w=this.fillLast(p),w===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<p.length?w?w+this.text(p,b):this.text(p,b):w||""},v.prototype.end=o,v.prototype.text=r,v.prototype.fillLast=function(p){if(this.lastNeed<=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length};function h(p){return p<=127?0:p>>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function c(p,w,b){var E=w.length-1;if(E<b)return 0;var A=h(w[E]);return A>=0?(A>0&&(p.lastNeed=A-1),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(p.lastNeed=A-2),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(A===2?A=0:p.lastNeed=A-3),A):0))}function a(p,w,b){if((w[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function i(p){var w=this.lastTotal-this.lastNeed,b=a(this,p,w);if(b!==void 0)return b;if(this.lastNeed<=p.length)return p.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,w,0,p.length),this.lastNeed-=p.length}function r(p,w){var b=c(this,p,w);if(!this.lastNeed)return p.toString("utf8",w);this.lastTotal=b;var E=p.length-(b-this.lastNeed);return p.copy(this.lastChar,0,E),p.toString("utf8",w,E)}function o(p){var w=p&&p.length?this.write(p):"";return this.lastNeed?w+"\uFFFD":w}function d(p,w){if((p.length-w)%2===0){var b=p.toString("utf16le",w);if(b){var E=b.charCodeAt(b.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",w,p.length-1)}function n(p){var w=p&&p.length?this.write(p):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,b)}return w}function l(p,w){var b=(p.length-w)%3;return b===0?p.toString("base64",w):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",w,p.length-b))}function t(p){var w=p&&p.length?this.write(p):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function s(p){return p.toString(this.encoding)}function u(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(D,_,e){(function(g,f){var y=D("process/browser.js").nextTick,m=Function.prototype.apply,v=Array.prototype.slice,h={},c=0;e.setTimeout=function(){return new a(m.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new a(m.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(i){i.close()};function a(i,r){this._id=i,this._clearFn=r}a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(i,r){clearTimeout(i._idleTimeoutId),i._idleTimeout=r},e.unenroll=function(i){clearTimeout(i._idleTimeoutId),i._idleTimeout=-1},e._unrefActive=e.active=function(i){clearTimeout(i._idleTimeoutId);var r=i._idleTimeout;r>=0&&(i._idleTimeoutId=setTimeout(function(){i._onTimeout&&i._onTimeout()},r))},e.setImmediate=typeof g=="function"?g:function(i){var r=c++,o=arguments.length<2?!1:v.call(arguments,1);return h[r]=!0,y(function(){h[r]&&(o?i.apply(null,o):i.call(null),e.clearImmediate(r))}),r},e.clearImmediate=typeof f=="function"?f:function(i){delete h[i]}}).call(this,D("timers").setImmediate,D("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(D,_,e){var g=D("buffer").Buffer;_.exports=function(f){if(f instanceof Uint8Array){if(f.byteOffset===0&&f.byteLength===f.buffer.byteLength)return f.buffer;if(typeof f.buffer.slice=="function")return f.buffer.slice(f.byteOffset,f.byteOffset+f.byteLength)}if(g.isBuffer(f)){for(var y=new Uint8Array(f.length),m=f.length,v=0;v<m;v++)y[v]=f[v];return y.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(D,_,e){"use strict";var g=D("punycode"),f=D("./util");e.parse=w,e.resolve=E,e.resolveObject=A,e.format=b,e.Url=y;function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],a=["{","}","|","\\","^","`"].concat(c),i=["'"].concat(a),r=["%","/","?",";","#"].concat(i),o=["/","?","#"],d=255,n=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=D("querystring");function w(S,T,L){if(S&&f.isObject(S)&&S instanceof y)return S;var x=new y;return x.parse(S,T,L),x}y.prototype.parse=function(S,T,L){if(!f.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var x=S.indexOf("?"),C=x!==-1&&x<S.indexOf("#")?"?":"#",O=S.split(C),N=/\\/g;O[0]=O[0].replace(N,"/"),S=O.join(C);var F=S;if(F=F.trim(),!L&&S.split("#").length===1){var k=h.exec(F);if(k)return this.path=F,this.href=F,this.pathname=k[1],k[2]?(this.search=k[2],T?this.query=p.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var P=m.exec(F);if(P){P=P[0];var B=P.toLowerCase();this.protocol=B,F=F.substr(P.length)}if(L||P||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var z=F.substr(0,2)==="//";z&&!(P&&s[P])&&(F=F.substr(2),this.slashes=!0)}if(!s[P]&&(z||P&&!u[P])){for(var R=-1,U=0;U<o.length;U++){var j=F.indexOf(o[U]);j!==-1&&(R===-1||j<R)&&(R=j)}var H,V;R===-1?V=F.lastIndexOf("@"):V=F.lastIndexOf("@",R),V!==-1&&(H=F.slice(0,V),F=F.slice(V+1),this.auth=decodeURIComponent(H)),R=-1;for(var U=0;U<r.length;U++){var j=F.indexOf(r[U]);j!==-1&&(R===-1||j<R)&&(R=j)}R===-1&&(R=F.length),this.host=F.slice(0,R),F=F.slice(R),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var W=this.hostname.split(/\./),U=0,G=W.length;U<G;U++){var $=W[U];if(!$)continue;if(!$.match(n)){for(var ge="",q=0,Se=$.length;q<Se;q++)$.charCodeAt(q)>127?ge+="x":ge+=$[q];if(!ge.match(n)){var Ce=W.slice(0,U),Ae=W.slice(U+1),Ue=$.match(l);Ue&&(Ce.push(Ue[1]),Ae.unshift(Ue[2])),Ae.length&&(F="/"+Ae.join(".")+F),this.hostname=Ce.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=g.toASCII(this.hostname));var Qe=this.port?":"+this.port:"",gt=this.hostname||"";this.host=gt+Qe,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!t[B])for(var U=0,G=i.length;U<G;U++){var _e=i[U];if(F.indexOf(_e)===-1)continue;var Oe=encodeURIComponent(_e);Oe===_e&&(Oe=escape(_e)),F=F.split(_e).join(Oe)}var lt=F.indexOf("#");lt!==-1&&(this.hash=F.substr(lt),F=F.slice(0,lt));var ce=F.indexOf("?");if(ce!==-1?(this.search=F.substr(ce),this.query=F.substr(ce+1),T&&(this.query=p.parse(this.query)),F=F.slice(0,ce)):T&&(this.search="",this.query={}),F&&(this.pathname=F),u[B]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Qe=this.pathname||"",Y=this.search||"";this.path=Qe+Y}return this.href=this.format(),this};function b(S){return f.isString(S)&&(S=w(S)),S instanceof y?S.format():y.prototype.format.call(S)}y.prototype.format=function(){var S=this.auth||"";S&&(S=encodeURIComponent(S),S=S.replace(/%3A/i,":"),S+="@");var T=this.protocol||"",L=this.pathname||"",x=this.hash||"",C=!1,O="";this.host?C=S+this.host:this.hostname&&(C=S+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(O=p.stringify(this.query));var N=this.search||O&&"?"+O||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||u[T])&&C!==!1?(C="//"+(C||""),L&&L.charAt(0)!=="/"&&(L="/"+L)):C||(C=""),x&&x.charAt(0)!=="#"&&(x="#"+x),N&&N.charAt(0)!=="?"&&(N="?"+N),L=L.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),N=N.replace("#","%23"),T+C+L+N+x};function E(S,T){return w(S,!1,!0).resolve(T)}y.prototype.resolve=function(S){return this.resolveObject(w(S,!1,!0)).format()};function A(S,T){return S?w(S,!1,!0).resolveObject(T):T}y.prototype.resolveObject=function(S){if(f.isString(S)){var T=new y;T.parse(S,!1,!0),S=T}for(var L=new y,x=Object.keys(this),C=0;C<x.length;C++){var O=x[C];L[O]=this[O]}if(L.hash=S.hash,S.href==="")return L.href=L.format(),L;if(S.slashes&&!S.protocol){for(var N=Object.keys(S),F=0;F<N.length;F++){var k=N[F];k!=="protocol"&&(L[k]=S[k])}return u[L.protocol]&&L.hostname&&!L.pathname&&(L.path=L.pathname="/"),L.href=L.format(),L}if(S.protocol&&S.protocol!==L.protocol){if(!u[S.protocol]){for(var P=Object.keys(S),B=0;B<P.length;B++){var z=P[B];L[z]=S[z]}return L.href=L.format(),L}if(L.protocol=S.protocol,!S.host&&!s[S.protocol]){for(var G=(S.pathname||"").split("/");G.length&&!(S.host=G.shift()););S.host||(S.host=""),S.hostname||(S.hostname=""),G[0]!==""&&G.unshift(""),G.length<2&&G.unshift(""),L.pathname=G.join("/")}else L.pathname=S.pathname;if(L.search=S.search,L.query=S.query,L.host=S.host||"",L.auth=S.auth,L.hostname=S.hostname||S.host,L.port=S.port,L.pathname||L.search){var R=L.pathname||"",U=L.search||"";L.path=R+U}return L.slashes=L.slashes||S.slashes,L.href=L.format(),L}var j=L.pathname&&L.pathname.charAt(0)==="/",H=S.host||S.pathname&&S.pathname.charAt(0)==="/",V=H||j||L.host&&S.pathname,X=V,W=L.pathname&&L.pathname.split("/")||[],G=S.pathname&&S.pathname.split("/")||[],$=L.protocol&&!u[L.protocol];if($&&(L.hostname="",L.port=null,L.host&&(W[0]===""?W[0]=L.host:W.unshift(L.host)),L.host="",S.protocol&&(S.hostname=null,S.port=null,S.host&&(G[0]===""?G[0]=S.host:G.unshift(S.host)),S.host=null),V=V&&(G[0]===""||W[0]==="")),H)L.host=S.host||S.host===""?S.host:L.host,L.hostname=S.hostname||S.hostname===""?S.hostname:L.hostname,L.search=S.search,L.query=S.query,W=G;else if(G.length)W||(W=[]),W.pop(),W=W.concat(G),L.search=S.search,L.query=S.query;else if(!f.isNullOrUndefined(S.search)){if($){L.hostname=L.host=W.shift();var ge=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;ge&&(L.auth=ge.shift(),L.host=L.hostname=ge.shift())}return L.search=S.search,L.query=S.query,(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.href=L.format(),L}if(!W.length)return L.pathname=null,L.search?L.path="/"+L.search:L.path=null,L.href=L.format(),L;for(var q=W.slice(-1)[0],Se=(L.host||S.host||W.length>1)&&(q==="."||q==="..")||q==="",Ce=0,Ae=W.length;Ae>=0;Ae--)q=W[Ae],q==="."?W.splice(Ae,1):q===".."?(W.splice(Ae,1),Ce++):Ce&&(W.splice(Ae,1),Ce--);if(!V&&!X)for(;Ce--;Ce)W.unshift("..");V&&W[0]!==""&&(!W[0]||W[0].charAt(0)!=="/")&&W.unshift(""),Se&&W.join("/").substr(-1)!=="/"&&W.push("");var Ue=W[0]===""||W[0]&&W[0].charAt(0)==="/";if($){L.hostname=L.host=Ue?"":W.length?W.shift():"";var ge=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;ge&&(L.auth=ge.shift(),L.host=L.hostname=ge.shift())}return V=V||L.host&&W.length,V&&!Ue&&W.unshift(""),W.length?L.pathname=W.join("/"):(L.pathname=null,L.path=null),(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.auth=S.auth||L.auth,L.slashes=L.slashes||S.slashes,L.href=L.format(),L},y.prototype.parseHost=function(){var S=this.host,T=v.exec(S);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),S=S.substr(0,S.length-T.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(D,_,e){"use strict";_.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(D,_,e){(function(g){_.exports=f;function f(m,v){if(y("noDeprecation"))return m;var h=!1;function c(){if(!h){if(y("throwDeprecation"))throw new Error(v);y("traceDeprecation")?console.trace(v):console.warn(v),h=!0}return m.apply(this,arguments)}return c}function y(m){try{if(!g.localStorage)return!1}catch(h){return!1}var v=g.localStorage[m];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,y){f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(f,y){f.super_=y;var m=function(){};m.prototype=y.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(D,_,e){_.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(D,_,e){(function(g,f){var y=/%[sdj%]/g;e.format=function(R){if(!E(R)){for(var U=[],j=0;j<arguments.length;j++)U.push(h(arguments[j]));return U.join(" ")}for(var j=1,H=arguments,V=H.length,X=String(R).replace(y,function(G){if(G==="%%")return"%";if(j>=V)return G;switch(G){case"%s":return String(H[j++]);case"%d":return Number(H[j++]);case"%j":try{return JSON.stringify(H[j++])}catch($){return"[Circular]"}default:return G}}),W=H[j];j<V;W=H[++j])p(W)||!L(W)?X+=" "+W:X+=" "+h(W);return X},e.deprecate=function(R,U){if(S(f.process))return function(){return e.deprecate(R,U).apply(this,arguments)};if(g.noDeprecation===!0)return R;var j=!1;function H(){if(!j){if(g.throwDeprecation)throw new Error(U);g.traceDeprecation?console.trace(U):console.error(U),j=!0}return R.apply(this,arguments)}return H};var m={},v;e.debuglog=function(R){if(S(v)&&(v=g.env.NODE_DEBUG||""),R=R.toUpperCase(),!m[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var U=g.pid;m[R]=function(){var j=e.format.apply(e,arguments);console.error("%s %d: %s",R,U,j)}}else m[R]=function(){};return m[R]};function h(R,U){var j={seen:[],stylize:a};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),u(U)?j.showHidden=U:U&&e._extend(j,U),S(j.showHidden)&&(j.showHidden=!1),S(j.depth)&&(j.depth=2),S(j.colors)&&(j.colors=!1),S(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=c),r(j,R,j.depth)}e.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(R,U){var j=h.styles[U];return j?"["+h.colors[j][0]+"m"+R+"["+h.colors[j][1]+"m":R}function a(R,U){return R}function i(R){var U={};return R.forEach(function(j,H){U[j]=!0}),U}function r(R,U,j){if(R.customInspect&&U&&O(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var H=U.inspect(j,R);return E(H)||(H=r(R,H,j)),H}var V=o(R,U);if(V)return V;var X=Object.keys(U),W=i(X);if(R.showHidden&&(X=Object.getOwnPropertyNames(U)),C(U)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return d(U);if(X.length===0){if(O(U)){var G=U.name?": "+U.name:"";return R.stylize("[Function"+G+"]","special")}if(T(U))return R.stylize(RegExp.prototype.toString.call(U),"regexp");if(x(U))return R.stylize(Date.prototype.toString.call(U),"date");if(C(U))return d(U)}var $="",ge=!1,q=["{","}"];if(s(U)&&(ge=!0,q=["[","]"]),O(U)){var Se=U.name?": "+U.name:"";$=" [Function"+Se+"]"}if(T(U)&&($=" "+RegExp.prototype.toString.call(U)),x(U)&&($=" "+Date.prototype.toUTCString.call(U)),C(U)&&($=" "+d(U)),X.length===0&&(!ge||U.length==0))return q[0]+$+q[1];if(j<0)return T(U)?R.stylize(RegExp.prototype.toString.call(U),"regexp"):R.stylize("[Object]","special");R.seen.push(U);var Ce;return ge?Ce=n(R,U,j,W,X):Ce=X.map(function(Ae){return l(R,U,j,W,Ae,ge)}),R.seen.pop(),t(Ce,$,q)}function o(R,U){if(S(U))return R.stylize("undefined","undefined");if(E(U)){var j="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(j,"string")}if(b(U))return R.stylize(""+U,"number");if(u(U))return R.stylize(""+U,"boolean");if(p(U))return R.stylize("null","null")}function d(R){return"["+Error.prototype.toString.call(R)+"]"}function n(R,U,j,H,V){for(var X=[],W=0,G=U.length;W<G;++W)z(U,String(W))?X.push(l(R,U,j,H,String(W),!0)):X.push("");return V.forEach(function($){$.match(/^\d+$/)||X.push(l(R,U,j,H,$,!0))}),X}function l(R,U,j,H,V,X){var W,G,$;if($=Object.getOwnPropertyDescriptor(U,V)||{value:U[V]},$.get?$.set?G=R.stylize("[Getter/Setter]","special"):G=R.stylize("[Getter]","special"):$.set&&(G=R.stylize("[Setter]","special")),z(H,V)||(W="["+V+"]"),G||(R.seen.indexOf($.value)<0?(p(j)?G=r(R,$.value,null):G=r(R,$.value,j-1),G.indexOf(`
|
|
|
`)>-1&&(X?G=G.split(`
|
|
|
`).map(function(ge){return" "+ge}).join(`
|
|
|
`).substr(2):G=`
|
|
|
`+G.split(`
|
|
|
`).map(function(ge){return" "+ge}).join(`
|
|
|
`))):G=R.stylize("[Circular]","special")),S(W)){if(X&&V.match(/^\d+$/))return G;W=JSON.stringify(""+V),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.substr(1,W.length-2),W=R.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=R.stylize(W,"string"))}return W+": "+G}function t(R,U,j){var H=0,V=R.reduce(function(X,W){return H++,W.indexOf(`
|
|
|
`)>=0&&H++,X+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return V>60?j[0]+(U===""?"":U+`
|
|
|
`)+" "+R.join(`,
|
|
|
`)+" "+j[1]:j[0]+U+" "+R.join(", ")+" "+j[1]}function s(R){return Array.isArray(R)}e.isArray=s;function u(R){return typeof R=="boolean"}e.isBoolean=u;function p(R){return R===null}e.isNull=p;function w(R){return R==null}e.isNullOrUndefined=w;function b(R){return typeof R=="number"}e.isNumber=b;function E(R){return typeof R=="string"}e.isString=E;function A(R){return typeof R=="symbol"}e.isSymbol=A;function S(R){return R===void 0}e.isUndefined=S;function T(R){return L(R)&&F(R)==="[object RegExp]"}e.isRegExp=T;function L(R){return typeof R=="object"&&R!==null}e.isObject=L;function x(R){return L(R)&&F(R)==="[object Date]"}e.isDate=x;function C(R){return L(R)&&(F(R)==="[object Error]"||R instanceof Error)}e.isError=C;function O(R){return typeof R=="function"}e.isFunction=O;function N(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}e.isPrimitive=N,e.isBuffer=D("./support/isBuffer");function F(R){return Object.prototype.toString.call(R)}function k(R){return R<10?"0"+R.toString(10):R.toString(10)}var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function B(){var R=new Date,U=[k(R.getHours()),k(R.getMinutes()),k(R.getSeconds())].join(":");return[R.getDate(),P[R.getMonth()],U].join(" ")}e.log=function(){console.log("%s - %s",B(),e.format.apply(e,arguments))},e.inherits=D("inherits"),e._extend=function(R,U){if(!U||!L(U))return R;for(var j=Object.keys(U),H=j.length;H--;)R[j[H]]=U[j[H]];return R};function z(R,U){return Object.prototype.hasOwnProperty.call(R,U)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(D,_,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=v(g),y=D("babel-runtime/core-js/object/keys"),m=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,c,a,i,r,o={}.hasOwnProperty;h=D("xmlbuilder"),c=D("./defaults").defaults,i=function(n){return typeof n=="string"&&(n.indexOf("&")>=0||n.indexOf(">")>=0||n.indexOf("<")>=0)},r=function(n){return"<![CDATA["+a(n)+"]]>"},a=function(n){return n.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function d(n){var l,t,s;this.options={},t=c["0.2"];for(l in t){if(!o.call(t,l))continue;s=t[l],this.options[l]=s}for(l in n){if(!o.call(n,l))continue;s=n[l],this.options[l]=s}}return d.prototype.buildObject=function(n){var l,t,s,u,p;return l=this.options.attrkey,t=this.options.charkey,(0,m.default)(n).length===1&&this.options.rootName===c["0.2"].rootName?(p=(0,m.default)(n)[0],n=n[p]):p=this.options.rootName,s=function(w){return function(b,E){var A,S,T,L,x,C;if((typeof E=="undefined"?"undefined":(0,f.default)(E))!=="object")w.options.cdata&&i(E)?b.raw(r(E)):b.txt(E);else if(Array.isArray(E))for(L in E){if(!o.call(E,L))continue;S=E[L];for(x in S)T=S[x],b=s(b.ele(x),T).up()}else for(x in E){if(!o.call(E,x))continue;if(S=E[x],x===l){if((typeof S=="undefined"?"undefined":(0,f.default)(S))==="object")for(A in S)C=S[A],b=b.att(A,C)}else if(x===t)w.options.cdata&&i(S)?b=b.raw(r(S)):b=b.txt(S);else if(Array.isArray(S))for(L in S){if(!o.call(S,L))continue;T=S[L],typeof T=="string"?w.options.cdata&&i(T)?b=b.ele(x).raw(r(T)).up():b=b.ele(x,T).up():b=s(b.ele(x),T).up()}else(typeof S=="undefined"?"undefined":(0,f.default)(S))==="object"?b=s(b.ele(x),S).up():typeof S=="string"&&w.options.cdata&&i(S)?b=b.ele(x).raw(r(S)).up():(S==null&&(S=""),b=b.ele(x,S.toString()).up())}return b}}(this),u=h.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,n).end(this.options.renderOpts)},d}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(D,_,e){"use strict";(function(){e.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/get-own-property-names"),m=i(y),v=D("babel-runtime/core-js/object/keys"),h=i(v),c=D("babel-runtime/helpers/typeof"),a=i(c);function i(r){return r&&r.__esModule?r:{default:r}}(function(){"use strict";var r,o,d,n,l,t,s,u,p=function(A,S){return function(){return A.apply(S,arguments)}},w=function(A,S){for(var T in S)b.call(S,T)&&(A[T]=S[T]);function L(){this.constructor=A}return L.prototype=S.prototype,A.prototype=new L,A.__super__=S.prototype,A},b={}.hasOwnProperty;s=D("sax"),d=D("events"),r=D("./bom"),t=D("./processors"),u=D("timers").setImmediate,o=D("./defaults").defaults,n=function(A){return(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&A!=null&&(0,h.default)(A).length===0},l=function(A,S,T){var L,x,C;for(L=0,x=A.length;L<x;L++)C=A[L],S=C(S,T);return S},e.Parser=function(E){w(A,E);function A(S){this.parseStringPromise=p(this.parseStringPromise,this),this.parseString=p(this.parseString,this),this.reset=p(this.reset,this),this.assignOrPush=p(this.assignOrPush,this),this.processAsync=p(this.processAsync,this);var T,L,x;if(!(this instanceof e.Parser))return new e.Parser(S);this.options={},L=o["0.2"];for(T in L){if(!b.call(L,T))continue;x=L[T],this.options[T]=x}for(T in S){if(!b.call(S,T))continue;x=S[T],this.options[T]=x}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(t.normalize)),this.reset()}return A.prototype.processAsync=function(){var S,T;try{return this.remaining.length<=this.options.chunkSize?(S=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(S),this.saxParser.close()):(S=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(S),u(this.processAsync))}catch(L){if(T=L,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},A.prototype.assignOrPush=function(S,T,L){return T in S?(S[T]instanceof Array||(S[T]=[S[T]]),S[T].push(L)):this.options.explicitArray?S[T]=[L]:S[T]=L},A.prototype.reset=function(){var S,T,L,x;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(C){return function(O){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",O)}}(this),this.saxParser.onend=function(C){return function(){if(!C.saxParser.ended)return C.saxParser.ended=!0,C.emit("end",C.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,x=[],S=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(C){return function(O){var N,F,k,P,B;if(k={},k[T]="",!C.options.ignoreAttrs){B=O.attributes;for(N in B){if(!b.call(B,N))continue;!(S in k)&&!C.options.mergeAttrs&&(k[S]={}),F=C.options.attrValueProcessors?l(C.options.attrValueProcessors,O.attributes[N],N):O.attributes[N],P=C.options.attrNameProcessors?l(C.options.attrNameProcessors,N):N,C.options.mergeAttrs?C.assignOrPush(k,P,F):k[S][P]=F}}return k["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,O.name):O.name,C.options.xmlns&&(k[C.options.xmlnskey]={uri:O.uri,local:O.local}),x.push(k)}}(this),this.saxParser.onclosetag=function(C){return function(){var O,N,F,k,P,B,z,R,U,j;if(B=x.pop(),P=B["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete B["#name"],B.cdata===!0&&(O=B.cdata,delete B.cdata),U=x[x.length-1],B[T].match(/^\s*$/)&&!O?(N=B[T],delete B[T]):(C.options.trim&&(B[T]=B[T].trim()),C.options.normalize&&(B[T]=B[T].replace(/\s{2,}/g," ").trim()),B[T]=C.options.valueProcessors?l(C.options.valueProcessors,B[T],P):B[T],(0,h.default)(B).length===1&&T in B&&!C.EXPLICIT_CHARKEY&&(B=B[T])),n(B)&&(B=C.options.emptyTag!==""?C.options.emptyTag:N),C.options.validator!=null&&(j="/"+function(){var H,V,X;for(X=[],H=0,V=x.length;H<V;H++)k=x[H],X.push(k["#name"]);return X}().concat(P).join("/"),function(){var H;try{return B=C.options.validator(j,U&&U[P],B)}catch(V){return H=V,C.emit("error",H)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof B=="undefined"?"undefined":(0,a.default)(B))==="object"){if(!C.options.preserveChildrenOrder)k={},C.options.attrkey in B&&(k[C.options.attrkey]=B[C.options.attrkey],delete B[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in B&&(k[C.options.charkey]=B[C.options.charkey],delete B[C.options.charkey]),(0,m.default)(B).length>0&&(k[C.options.childkey]=B),B=k;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],z={};for(F in B){if(!b.call(B,F))continue;z[F]=B[F]}U[C.options.childkey].push(z),delete B["#name"],(0,h.default)(B).length===1&&T in B&&!C.EXPLICIT_CHARKEY&&(B=B[T])}}return x.length>0?C.assignOrPush(U,P,B):(C.options.explicitRoot&&(R=B,B={},B[P]=R),C.resultObject=B,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),L=function(C){return function(O){var N,F;if(F=x[x.length-1],F)return F[T]+=O,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(F[C.options.childkey]=F[C.options.childkey]||[],N={"#name":"__text__"},N[T]=O,C.options.normalize&&(N[T]=N[T].replace(/\s{2,}/g," ").trim()),F[C.options.childkey].push(N)),F}}(this),this.saxParser.ontext=L,this.saxParser.oncdata=function(C){return function(O){var N;if(N=L(O),N)return N.cdata=!0}}(this)},A.prototype.parseString=function(S,T){var L;T!=null&&typeof T=="function"&&(this.on("end",function(x){return this.reset(),T(null,x)}),this.on("error",function(x){return this.reset(),T(x)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=r.stripBOM(S),this.options.async?(this.remaining=S,u(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(x){if(L=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw L}else return this.emit("error",L),this.saxParser.errThrown=!0}},A.prototype.parseStringPromise=function(S){return new f.default(function(T){return function(L,x){return T.parseString(S,function(C,O){return C?x(C):L(O)})}}(this))},A}(d),e.parseString=function(E,A,S){var T,L,x;return S!=null?(typeof S=="function"&&(T=S),(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&(L=A)):(typeof A=="function"&&(T=A),L={}),x=new e.Parser(L),x.parseString(E,T)},e.parseStringPromise=function(E,A){var S,T;return(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&(S=A),T=new e.Parser(S),T.parseStringPromise(E)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(D,_,e){"use strict";(function(){"use strict";var g;g=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(f){return f.toLowerCase()},e.firstCharLowerCase=function(f){return f.charAt(0).toLowerCase()+f.slice(1)},e.stripPrefix=function(f){return f.replace(g,"")},e.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},e.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(D,_,e){"use strict";(function(){"use strict";var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;f=D("./defaults"),g=D("./builder"),y=D("./parser"),m=D("./processors"),e.defaults=f.defaults,e.processors=m,e.ValidationError=function(c){v(a,c);function a(i){this.message=i}return a}(Error),e.Builder=g.Builder,e.Parser=y.Parser,e.parseString=y.parseString,e.parseStringPromise=y.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(D,_,e){"use strict";(function(){_.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(D,_,e){"use strict";(function(){_.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/get-prototype-of"),f=c(g),y=D("babel-runtime/helpers/typeof"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(a){return a&&a.__esModule?a:{default:a}}(function(){var a,i,r,o,d,n,l,t=[].slice,s={}.hasOwnProperty;a=function(){var p,w,b,E,A,S;if(S=arguments[0],A=2<=arguments.length?t.call(arguments,1):[],d(h.default))h.default.apply(null,arguments);else for(p=0,b=A.length;p<b;p++)if(E=A[p],E!=null)for(w in E){if(!s.call(E,w))continue;S[w]=E[w]}return S},d=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},n=function(p){var w;return!!p&&((w=typeof p=="undefined"?"undefined":(0,m.default)(p))==="function"||w==="object")},r=function(p){return d(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},o=function(p){var w;if(r(p))return!p.length;for(w in p){if(!s.call(p,w))continue;return!1}return!0},l=function(p){var w,b;return n(p)&&(b=(0,f.default)(p))&&(w=b.constructor)&&typeof w=="function"&&w instanceof w&&Function.prototype.toString.call(w)===Function.prototype.toString.call(Object)},i=function(p){return d(p.valueOf)?p.valueOf():p},_.exports.assign=a,_.exports.isFunction=d,_.exports.isObject=n,_.exports.isArray=r,_.exports.isEmpty=o,_.exports.isPlainObject=l,_.exports.getValue=i}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(D,_,e){"use strict";(function(){_.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h;m=D("./NodeType"),h=D("./XMLNode"),_.exports=v=function(){function c(a,i,r){if(this.parent=a,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),i==null)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(r),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(c.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(c.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(c.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(c.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(c.prototype,"specified",{get:function(){return!0}}),c.prototype.clone=function(){return(0,f.default)(this)},c.prototype.toString=function(a){return this.options.writer.attribute(this,this.options.writer.filterOptions(a))},c.prototype.debugInfo=function(a){return a=a||this.name,a==null?"parent: <"+this.parent.name+">":"attribute: {"+a+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(a){return a.namespaceURI!==this.namespaceURI||(a.prefix!==this.prefix||a.localName!==this.localName)?!1:!(a.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;m=D("./NodeType"),h=D("./XMLCharacterData"),_.exports=v=function(i){c(r,i);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.cdata(this,this.options.writer.filterOptions(o))},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h=function(i,r){for(var o in r)c.call(r,o)&&(i[o]=r[o]);function d(){this.constructor=i}return d.prototype=r.prototype,i.prototype=new d,i.__super__=r.prototype,i},c={}.hasOwnProperty;v=D("./XMLNode"),_.exports=m=function(a){h(i,a);function i(r){i.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(i.prototype,"data",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(i.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),i.prototype.clone=function(){return(0,f.default)(this)},i.prototype.substringData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.insertData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.deleteData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceData=function(r,o,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(r){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.data!==this.data):!1},i}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.comment(this,this.options.writer.filterOptions(o))},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/core-js/object/create"),m=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){var h,c,a;c=D("./XMLDOMErrorHandler"),a=D("./XMLDOMStringList"),_.exports=h=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=(0,m.default)(this.defaultParams)}return Object.defineProperty(i.prototype,"parameterNames",{get:function(){return new a((0,f.default)(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,o){return!0},i.prototype.setParameter=function(r,o){return o!=null?this.params[r]=o:delete this.params[r]},i}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.handleError=function(y){throw new Error(y)},f}()}).call(void 0)},{}],260:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.hasFeature=function(y,m){return!0},f.prototype.createDocumentType=function(y,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(y,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(y){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(y,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(y){this.arr=y||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(y){return this.arr[y]||null},f.prototype.contains=function(y){return this.arr.indexOf(y)!==-1},f}()}).call(void 0)},{}],262:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r,o,d,n){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(r==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(i));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(i));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(i));if(d.indexOf("#")!==0&&(d="#"+d),!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(i));if(n&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(i));this.elementName=this.stringify.name(i),this.type=g.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(o),n&&(this.defaultValue=this.stringify.dtdAttDefault(n)),this.defaultValueType=d}return c.prototype.toString=function(a){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(i),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return c.prototype.toString=function(a){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;m=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(a,c);function a(i,r,o,d){if(a.__super__.constructor.call(this,i),o==null)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(d==null)throw new Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!r,this.name=this.stringify.name(o),this.type=g.EntityDeclaration,!m(d))this.value=this.stringify.dtdEntityValue(d),this.internal=!0;else{if(!d.pubID&&!d.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(d.pubID&&!d.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,d.pubID!=null&&(this.pubID=this.stringify.dtdPubID(d.pubID)),d.sysID!=null&&(this.sysID=this.stringify.dtdSysID(d.sysID)),d.nData!=null&&(this.nData=this.stringify.dtdNData(d.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}}return Object.defineProperty(a.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(a.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(a.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(a.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(a.prototype,"xmlVersion",{get:function(){return null}}),a.prototype.toString=function(i){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(i))},a}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(i));this.name=this.stringify.name(i),this.type=g.NotationDeclaration,r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return Object.defineProperty(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),c.prototype.toString=function(a){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;m=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(a,c);function a(i,r,o,d){var n;a.__super__.constructor.call(this,i),m(r)&&(n=r,r=n.version,o=n.encoding,d=n.standalone),r||(r="1.0"),this.type=g.Declaration,this.version=this.stringify.xmlVersion(r),o!=null&&(this.encoding=this.stringify.xmlEncoding(o)),d!=null&&(this.standalone=this.stringify.xmlStandalone(d))}return a.prototype.toString=function(i){return this.options.writer.declaration(this,this.options.writer.filterOptions(i))},a}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r=function(n,l){for(var t in l)o.call(l,t)&&(n[t]=l[t]);function s(){this.constructor=n}return s.prototype=l.prototype,n.prototype=new s,n.__super__=l.prototype,n},o={}.hasOwnProperty;i=D("./Utility").isObject,a=D("./XMLNode"),g=D("./NodeType"),f=D("./XMLDTDAttList"),m=D("./XMLDTDEntity"),y=D("./XMLDTDElement"),v=D("./XMLDTDNotation"),c=D("./XMLNamedNodeMap"),_.exports=h=function(d){r(n,d);function n(l,t,s){var u,p,w,b,E,A;if(n.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(b=l.children,p=0,w=b.length;p<w;p++)if(u=b[p],u.type===g.Element){this.name=u.name;break}}this.documentObject=l,i(t)&&(E=t,t=E.pubID,s=E.sysID),s==null&&(A=[t,s],s=A[0],t=A[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(n.prototype,"entities",{get:function(){var t,s,u,p,w;for(p={},w=this.children,s=0,u=w.length;s<u;s++)t=w[s],t.type===g.EntityDeclaration&&!t.pe&&(p[t.name]=t);return new c(p)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,s,u,p,w;for(p={},w=this.children,s=0,u=w.length;s<u;s++)t=w[s],t.type===g.NotationDeclaration&&(p[t.name]=t);return new c(p)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(l,t){var s;return s=new y(this,l,t),this.children.push(s),this},n.prototype.attList=function(l,t,s,u,p){var w;return w=new f(this,l,t,s,u,p),this.children.push(w),this},n.prototype.entity=function(l,t){var s;return s=new m(this,!1,l,t),this.children.push(s),this},n.prototype.pEntity=function(l,t){var s;return s=new m(this,!0,l,t),this.children.push(s),this},n.prototype.notation=function(l,t){var s;return s=new v(this,l,t),this.children.push(s),this},n.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},n.prototype.ele=function(l,t){return this.element(l,t)},n.prototype.att=function(l,t,s,u,p){return this.attList(l,t,s,u,p)},n.prototype.ent=function(l,t){return this.entity(l,t)},n.prototype.pent=function(l,t){return this.pEntity(l,t)},n.prototype.not=function(l,t){return this.notation(l,t)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(l){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},n}(a)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i=function(d,n){for(var l in n)r.call(n,l)&&(d[l]=n[l]);function t(){this.constructor=d}return t.prototype=n.prototype,d.prototype=new t,d.__super__=n.prototype,d},r={}.hasOwnProperty;a=D("./Utility").isPlainObject,y=D("./XMLDOMImplementation"),f=D("./XMLDOMConfiguration"),v=D("./XMLNode"),g=D("./NodeType"),c=D("./XMLStringifier"),h=D("./XMLStringWriter"),_.exports=m=function(o){i(d,o);function d(n){d.__super__.constructor.call(this,null),this.name="#document",this.type=g.Document,this.documentURI=null,this.domConfig=new f,n||(n={}),n.writer||(n.writer=new h),this.options=n,this.stringify=new c(n)}return Object.defineProperty(d.prototype,"implementation",{value:new y}),Object.defineProperty(d.prototype,"doctype",{get:function(){var l,t,s,u;for(u=this.children,t=0,s=u.length;t<s;t++)if(l=u[t],l.type===g.DocType)return l;return null}}),Object.defineProperty(d.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].encoding:null}}),Object.defineProperty(d.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(d.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(d.prototype,"origin",{get:function(){return null}}),Object.defineProperty(d.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(d.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(d.prototype,"contentType",{get:function(){return null}}),d.prototype.end=function(n){var l;return l={},n?a(n)&&(l=n,n=this.options.writer):n=this.options.writer,n.document(this,n.filterOptions(l))},d.prototype.toString=function(n){return this.options.writer.document(this,this.options.writer.filterOptions(n))},d.prototype.createElement=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTextNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createComment=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createCDATASection=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createProcessingInstruction=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttribute=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEntityReference=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.importNode=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createElementNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttributeNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagNameNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementById=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.adoptNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.renameNode=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByClassName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEvent=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createNodeIterator=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTreeWalker=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L={}.hasOwnProperty;T=D("./Utility"),A=T.isObject,E=T.isFunction,S=T.isPlainObject,b=T.getValue,g=D("./NodeType"),d=D("./XMLDocument"),l=D("./XMLElement"),m=D("./XMLCData"),v=D("./XMLComment"),s=D("./XMLRaw"),w=D("./XMLText"),t=D("./XMLProcessingInstruction"),r=D("./XMLDeclaration"),o=D("./XMLDocType"),h=D("./XMLDTDAttList"),a=D("./XMLDTDEntity"),c=D("./XMLDTDElement"),i=D("./XMLDTDNotation"),y=D("./XMLAttribute"),p=D("./XMLStringifier"),u=D("./XMLStringWriter"),f=D("./WriterState"),_.exports=n=function(){function x(C,O,N){var F;this.name="?xml",this.type=g.Document,C||(C={}),F={},C.writer?S(C.writer)&&(F=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new p(C),this.onDataCallback=O||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return x.prototype.createChildNode=function(C){var O,N,F,k,P,B,z,R;switch(C.type){case g.CData:this.cdata(C.value);break;case g.Comment:this.comment(C.value);break;case g.Element:F={},z=C.attribs;for(N in z){if(!L.call(z,N))continue;O=z[N],F[N]=O.value}this.node(C.name,F);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(C.value);break;case g.Text:this.text(C.value);break;case g.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}for(R=C.children,P=0,B=R.length;P<B;P++)k=R[P],this.createChildNode(k),k.type===g.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(C,O,N){var F;if(C==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(C));return this.openCurrent(),C=b(C),O==null&&(O={}),O=b(O),A(O)||(F=[O,N],N=F[0],O=F[1]),this.currentNode=new l(this,C,O),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},x.prototype.element=function(C,O,N){var F,k,P,B,z,R;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||A(C)||E(C))for(B=this.options.noValidation,this.options.noValidation=!0,R=new d(this.options).element("TEMP_ROOT"),R.element(C),this.options.noValidation=B,z=R.children,k=0,P=z.length;k<P;k++)F=z[k],this.createChildNode(F),F.type===g.Element&&this.up();else this.node(C,O,N);return this},x.prototype.attribute=function(C,O){var N,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=b(C)),A(C))for(N in C){if(!L.call(C,N))continue;F=C[N],this.attribute(N,F)}else E(O)&&(O=O.apply()),this.options.keepNullAttributes&&O==null?this.currentNode.attribs[C]=new y(this,C,""):O!=null&&(this.currentNode.attribs[C]=new y(this,C,O));return this},x.prototype.text=function(C){var O;return this.openCurrent(),O=new w(this,C),this.onData(this.writer.text(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(C){var O;return this.openCurrent(),O=new m(this,C),this.onData(this.writer.cdata(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(C){var O;return this.openCurrent(),O=new v(this,C),this.onData(this.writer.comment(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(C){var O;return this.openCurrent(),O=new s(this,C),this.onData(this.writer.raw(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(C,O){var N,F,k,P,B;if(this.openCurrent(),C!=null&&(C=b(C)),O!=null&&(O=b(O)),Array.isArray(C))for(N=0,P=C.length;N<P;N++)F=C[N],this.instruction(F);else if(A(C))for(F in C){if(!L.call(C,F))continue;k=C[F],this.instruction(F,k)}else E(O)&&(O=O.apply()),B=new t(this,C,O),this.onData(this.writer.processingInstruction(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(C,O,N){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new r(this,C,O,N),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(C,O,N){if(this.openCurrent(),C==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new o(this,O,N),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(C,O){var N;return this.openCurrent(),N=new c(this,C,O),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(C,O,N,F,k){var P;return this.openCurrent(),P=new h(this,C,O,N,F,k),this.onData(this.writer.dtdAttList(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(C,O){var N;return this.openCurrent(),N=new a(this,!1,C,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(C,O){var N;return this.openCurrent(),N=new a(this,!0,C,O),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(C,O){var N;return this.openCurrent(),N=new i(this,C,O),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},x.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},x.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},x.prototype.openNode=function(C){var O,N,F,k;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===g.Element&&(this.root=C),N="",C.type===g.Element){this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,k=C.attribs;for(F in k){if(!L.call(k,F))continue;O=k[F],N+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}N+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?N+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(N+=' SYSTEM "'+C.sysID+'"'),C.children?(N+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,N+=">"),N+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),C.isOpen=!0}},x.prototype.closeNode=function(C){var O;if(!C.isClosed)return O="",this.writerOptions.state=f.CloseTag,C.type===g.Element?O=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):O=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(O,this.currentLevel),C.isClosed=!0},x.prototype.onData=function(C,O){return this.documentStarted=!0,this.onDataCallback(C,O+1)},x.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},x.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},x.prototype.ele=function(){return this.element.apply(this,arguments)},x.prototype.nod=function(C,O,N){return this.node(C,O,N)},x.prototype.txt=function(C){return this.text(C)},x.prototype.dat=function(C){return this.cdata(C)},x.prototype.com=function(C){return this.comment(C)},x.prototype.ins=function(C,O){return this.instruction(C,O)},x.prototype.dec=function(C,O,N){return this.declaration(C,O,N)},x.prototype.dtd=function(C,O,N){return this.doctype(C,O,N)},x.prototype.e=function(C,O,N){return this.element(C,O,N)},x.prototype.n=function(C,O,N){return this.node(C,O,N)},x.prototype.t=function(C){return this.text(C)},x.prototype.d=function(C){return this.cdata(C)},x.prototype.c=function(C){return this.comment(C)},x.prototype.r=function(C){return this.raw(C)},x.prototype.i=function(C,O){return this.instruction(C,O)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(C,O){return this.entity(C,O)},x.prototype.pent=function(C,O){return this.pEntity(C,O)},x.prototype.not=function(C,O){return this.notation(C,O)},x}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;h=D("./XMLNode"),m=D("./NodeType"),_.exports=v=function(i){c(r,i);function r(o){r.__super__.constructor.call(this,o),this.type=m.Dummy}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return""},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c,a,i,r,o,d,n=function(s,u){for(var p in u)l.call(u,p)&&(s[p]=u[p]);function w(){this.constructor=s}return w.prototype=u.prototype,s.prototype=new w,s.__super__=u.prototype,s},l={}.hasOwnProperty;d=D("./Utility"),o=d.isObject,r=d.isFunction,i=d.getValue,a=D("./XMLNode"),m=D("./NodeType"),v=D("./XMLAttribute"),c=D("./XMLNamedNodeMap"),_.exports=h=function(t){n(s,t);function s(u,p,w){var b,E,A,S;if(s.__super__.constructor.call(this,u),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,w!=null&&this.attribute(w),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(S=u.children,E=0,A=S.length;E<A;E++)if(b=S[E],b.type===m.DocType){b.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new c(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,p,w,b;w=(0,f.default)(this),w.isRoot&&(w.documentObject=null),w.attribs={},b=this.attribs;for(p in b){if(!l.call(b,p))continue;u=b[p],w.attribs[p]=u.clone()}return w.children=[],this.children.forEach(function(E){var A;return A=E.clone(),A.parent=w,w.children.push(A)}),w},s.prototype.attribute=function(u,p){var w,b;if(u!=null&&(u=i(u)),o(u))for(w in u){if(!l.call(u,w))continue;b=u[w],this.attribute(w,b)}else r(p)&&(p=p.apply()),this.options.keepNullAttributes&&p==null?this.attribs[u]=new v(this,u,""):p!=null&&(this.attribs[u]=new v(this,u,p));return this},s.prototype.removeAttribute=function(u){var p,w,b;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=i(u),Array.isArray(u))for(w=0,b=u.length;w<b;w++)p=u[w],delete this.attribs[p];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,p){return this.attribute(u,p)},s.prototype.a=function(u,p){return this.attribute(u,p)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,p,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,p){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:p},s.prototype.setIdAttributeNS=function(u,p,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var p,w,b;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(p=w=0,b=this.attribs.length-1;0<=b?w<=b:w>=b;p=0<=b?++w:--w)if(!this.attribs[p].isEqualNode(u.attribs[p]))return!1;return!0},s}(a)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m;_.exports=m=function(){function v(h){this.nodes=h}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(h){return this.nodes[h]},v.prototype.setNamedItem=function(h){var c;return c=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,c||null},v.prototype.removeNamedItem=function(h){var c;return c=this.nodes[h],delete this.nodes[h],c||null},v.prototype.item=function(h){return this.nodes[(0,f.default)(this.nodes)[h]]||null},v.prototype.getNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b={}.hasOwnProperty;w=D("./Utility"),p=w.isObject,u=w.isFunction,s=w.isEmpty,t=w.getValue,a=null,y=null,m=null,v=null,h=null,n=null,l=null,d=null,c=null,f=null,o=null,i=null,g=null,_.exports=r=function(){function E(A){this.parent=A,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,a||(a=D("./XMLElement"),y=D("./XMLCData"),m=D("./XMLComment"),v=D("./XMLDeclaration"),h=D("./XMLDocType"),n=D("./XMLRaw"),l=D("./XMLText"),d=D("./XMLProcessingInstruction"),c=D("./XMLDummy"),f=D("./NodeType"),o=D("./XMLNodeList"),i=D("./XMLNamedNodeMap"),g=D("./DocumentPosition"))}return Object.defineProperty(E.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(E.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(E.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new o(this.children)),this.childNodeList}}),Object.defineProperty(E.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(E.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(E.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(E.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(E.prototype,"textContent",{get:function(){var S,T,L,x,C;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(C="",x=this.children,T=0,L=x.length;T<L;T++)S=x[T],S.textContent&&(C+=S.textContent);return C}else return null},set:function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),E.prototype.setParent=function(A){var S,T,L,x,C;for(this.parent=A,A&&(this.options=A.options,this.stringify=A.stringify),x=this.children,C=[],T=0,L=x.length;T<L;T++)S=x[T],C.push(S.setParent(this));return C},E.prototype.element=function(A,S,T){var L,x,C,O,N,F,k,P,B,z,R;if(F=null,S===null&&T==null&&(B=[{},null],S=B[0],T=B[1]),S==null&&(S={}),S=t(S),p(S)||(z=[S,T],T=z[0],S=z[1]),A!=null&&(A=t(A)),Array.isArray(A))for(C=0,k=A.length;C<k;C++)x=A[C],F=this.element(x);else if(u(A))F=this.element(A.apply());else if(p(A))for(N in A){if(!b.call(A,N))continue;if(R=A[N],u(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(N.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&s(R))F=this.dummy();else if(p(R)&&s(R))F=this.element(N);else if(!this.options.keepNullNodes&&R==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(O=0,P=R.length;O<P;O++)x=R[O],L={},L[N]=x,F=this.element(L);else p(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?F=this.element(R):(F=this.element(N),F.element(R)):F=this.element(N,R)}else!this.options.keepNullNodes&&T===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&A.indexOf(this.stringify.convertTextKey)===0?F=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&A.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&A.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&A.indexOf(this.stringify.convertRawKey)===0?F=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&A.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(A.substr(this.stringify.convertPIKey.length),T):F=this.node(A,S,T);if(F==null)throw new Error("Could not create any elements with: "+A+". "+this.debugInfo());return F},E.prototype.insertBefore=function(A,S,T){var L,x,C,O,N;if(A!=null?A.type:void 0)return C=A,O=S,C.setParent(this),O?(x=children.indexOf(O),N=children.splice(x),children.push(C),Array.prototype.push.apply(children,N)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),N=this.parent.children.splice(x),L=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,N),L},E.prototype.insertAfter=function(A,S,T){var L,x,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),C=this.parent.children.splice(x+1),L=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,C),L},E.prototype.remove=function(){var A,S;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return A=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[A,A-A+1].concat(S=[])),this.parent},E.prototype.node=function(A,S,T){var L,x;return A!=null&&(A=t(A)),S||(S={}),S=t(S),p(S)||(x=[S,T],T=x[0],S=x[1]),L=new a(this,A,S),T!=null&&L.text(T),this.children.push(L),L},E.prototype.text=function(A){var S;return p(A)&&this.element(A),S=new l(this,A),this.children.push(S),this},E.prototype.cdata=function(A){var S;return S=new y(this,A),this.children.push(S),this},E.prototype.comment=function(A){var S;return S=new m(this,A),this.children.push(S),this},E.prototype.commentBefore=function(A){var S,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.commentAfter=function(A){var S,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T+1),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.raw=function(A){var S;return S=new n(this,A),this.children.push(S),this},E.prototype.dummy=function(){var A;return A=new c(this),A},E.prototype.instruction=function(A,S){var T,L,x,C,O;if(A!=null&&(A=t(A)),S!=null&&(S=t(S)),Array.isArray(A))for(C=0,O=A.length;C<O;C++)T=A[C],this.instruction(T);else if(p(A))for(T in A){if(!b.call(A,T))continue;L=A[T],this.instruction(T,L)}else u(S)&&(S=S.apply()),x=new d(this,A,S),this.children.push(x);return this},E.prototype.instructionBefore=function(A,S){var T,L,x;return L=this.parent.children.indexOf(this),x=this.parent.children.splice(L),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.instructionAfter=function(A,S){var T,L,x;return L=this.parent.children.indexOf(this),x=this.parent.children.splice(L+1),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.declaration=function(A,S,T){var L,x;return L=this.document(),x=new v(L,A,S,T),L.children.length===0?L.children.unshift(x):L.children[0].type===f.Declaration?L.children[0]=x:L.children.unshift(x),L.root()||L},E.prototype.dtd=function(A,S){var T,L,x,C,O,N,F,k,P,B;for(L=this.document(),x=new h(L,A,S),P=L.children,C=O=0,F=P.length;O<F;C=++O)if(T=P[C],T.type===f.DocType)return L.children[C]=x,x;for(B=L.children,C=N=0,k=B.length;N<k;C=++N)if(T=B[C],T.isRoot)return L.children.splice(C,0,x),x;return L.children.push(x),x},E.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},E.prototype.root=function(){var A;for(A=this;A;){if(A.type===f.Document)return A.rootObject;if(A.isRoot)return A;A=A.parent}},E.prototype.document=function(){var A;for(A=this;A;){if(A.type===f.Document)return A;A=A.parent}},E.prototype.end=function(A){return this.document().end(A)},E.prototype.prev=function(){var A;if(A=this.parent.children.indexOf(this),A<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[A-1]},E.prototype.next=function(){var A;if(A=this.parent.children.indexOf(this),A===-1||A===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[A+1]},E.prototype.importDocument=function(A){var S;return S=A.root().clone(),S.parent=this,S.isRoot=!1,this.children.push(S),this},E.prototype.debugInfo=function(A){var S,T;return A=A||this.name,A==null&&!((S=this.parent)!=null?S.name:void 0)?"":A==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+A+">, parent: <"+this.parent.name+">":"node: <"+A+">"},E.prototype.ele=function(A,S,T){return this.element(A,S,T)},E.prototype.nod=function(A,S,T){return this.node(A,S,T)},E.prototype.txt=function(A){return this.text(A)},E.prototype.dat=function(A){return this.cdata(A)},E.prototype.com=function(A){return this.comment(A)},E.prototype.ins=function(A,S){return this.instruction(A,S)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(A,S,T){return this.declaration(A,S,T)},E.prototype.e=function(A,S,T){return this.element(A,S,T)},E.prototype.n=function(A,S,T){return this.node(A,S,T)},E.prototype.t=function(A){return this.text(A)},E.prototype.d=function(A){return this.cdata(A)},E.prototype.c=function(A){return this.comment(A)},E.prototype.r=function(A){return this.raw(A)},E.prototype.i=function(A,S){return this.instruction(A,S)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(A){return this.importDocument(A)},E.prototype.replaceChild=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.removeChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.appendChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.hasChildNodes=function(){return this.children.length!==0},E.prototype.cloneNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isSupported=function(A,S){return!0},E.prototype.hasAttributes=function(){return this.attribs.length!==0},E.prototype.compareDocumentPosition=function(A){var S,T;return S=this,S===A?0:this.document()!==A.document()?(T=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?T|=g.Preceding:T|=g.Following,T):S.isAncestor(A)?g.Contains|g.Preceding:S.isDescendant(A)?g.Contains|g.Following:S.isPreceding(A)?g.Preceding:g.Following},E.prototype.isSameNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupPrefix=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isDefaultNamespace=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupNamespaceURI=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isEqualNode=function(A){var S,T,L;if(A.nodeType!==this.nodeType)return!1;if(A.children.length!==this.children.length)return!1;for(S=T=0,L=this.children.length-1;0<=L?T<=L:T>=L;S=0<=L?++T:--T)if(!this.children[S].isEqualNode(A.children[S]))return!1;return!0},E.prototype.getFeature=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.setUserData=function(A,S,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getUserData=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.contains=function(A){return A?A===this||this.isDescendant(A):!1},E.prototype.isDescendant=function(A){var S,T,L,x,C;for(C=this.children,L=0,x=C.length;L<x;L++){if(S=C[L],A===S)return!0;if(T=S.isDescendant(A),T)return!0}return!1},E.prototype.isAncestor=function(A){return A.isDescendant(this)},E.prototype.isPreceding=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S<T},E.prototype.isFollowing=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S>T},E.prototype.treePosition=function(A){var S,T;return T=0,S=!1,this.foreachTreeNode(this.document(),function(L){if(T++,!S&&L===A)return S=!0}),S?T:-1},E.prototype.foreachTreeNode=function(A,S){var T,L,x,C,O;for(A||(A=this.document()),C=A.children,L=0,x=C.length;L<x;L++){if(T=C[L],O=S(T))return O;if(O=this.foreachTreeNode(T,S),O)return O}},E}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(y){this.nodes=y}return Object.defineProperty(f.prototype,"length",{get:function(){return this.nodes.length||0}}),f.prototype.clone=function(){return this.nodes=null},f.prototype.item=function(y){return this.nodes[y]||null},f}()}).call(void 0)},{}],275:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);function r(o,d,n){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,n&&(this.value=this.stringify.insValue(n))}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(o))},r.prototype.isEqualNode=function(o){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(o)?!(o.target!==this.target):!1},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLNode"),_.exports=h=function(i){c(r,i);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.raw(this,this.options.writer.filterOptions(o))},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;g=D("./NodeType"),m=D("./XMLWriterBase"),f=D("./WriterState"),_.exports=y=function(c){v(a,c);function a(i,r){this.stream=i,a.__super__.constructor.call(this,r)}return a.prototype.endline=function(i,r,o){return i.isLastRootNode&&r.state===f.CloseTag?"":a.__super__.endline.call(this,i,r,o)},a.prototype.document=function(i,r){var o,d,n,l,t,s,u,p,w;for(u=i.children,d=n=0,t=u.length;n<t;d=++n)o=u[d],o.isLastRootNode=d===i.children.length-1;for(r=this.filterOptions(r),p=i.children,w=[],l=0,s=p.length;l<s;l++)o=p[l],w.push(this.writeChildNode(o,r,0));return w},a.prototype.attribute=function(i,r,o){return this.stream.write(a.__super__.attribute.call(this,i,r,o))},a.prototype.cdata=function(i,r,o){return this.stream.write(a.__super__.cdata.call(this,i,r,o))},a.prototype.comment=function(i,r,o){return this.stream.write(a.__super__.comment.call(this,i,r,o))},a.prototype.declaration=function(i,r,o){return this.stream.write(a.__super__.declaration.call(this,i,r,o))},a.prototype.docType=function(i,r,o){var d,n,l,t;if(o||(o=0),this.openNode(i,r,o),r.state=f.OpenTag,this.stream.write(this.indent(i,r,o)),this.stream.write("<!DOCTYPE "+i.root().name),i.pubID&&i.sysID?this.stream.write(' PUBLIC "'+i.pubID+'" "'+i.sysID+'"'):i.sysID&&this.stream.write(' SYSTEM "'+i.sysID+'"'),i.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(i,r,o)),r.state=f.InsideTag,t=i.children,n=0,l=t.length;n<l;n++)d=t[n],this.writeChildNode(d,r,o+1);r.state=f.CloseTag,this.stream.write("]")}return r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+">"),this.stream.write(this.endline(i,r,o)),r.state=f.None,this.closeNode(i,r,o)},a.prototype.element=function(i,r,o){var d,n,l,t,s,u,p,w,b,E;o||(o=0),this.openNode(i,r,o),r.state=f.OpenTag,this.stream.write(this.indent(i,r,o)+"<"+i.name),b=i.attribs;for(p in b){if(!h.call(b,p))continue;d=b[p],this.attribute(d,r,o)}if(l=i.children.length,t=l===0?null:i.children[0],l===0||i.children.every(function(A){return(A.type===g.Text||A.type===g.Raw)&&A.value===""}))r.allowEmpty?(this.stream.write(">"),r.state=f.CloseTag,this.stream.write("</"+i.name+">")):(r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&l===1&&(t.type===g.Text||t.type===g.Raw)&&t.value!=null)this.stream.write(">"),r.state=f.InsideTag,r.suppressPrettyCount++,w=!0,this.writeChildNode(t,r,o+1),r.suppressPrettyCount--,w=!1,r.state=f.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,r,o)),r.state=f.InsideTag,E=i.children,s=0,u=E.length;s<u;s++)n=E[s],this.writeChildNode(n,r,o+1);r.state=f.CloseTag,this.stream.write(this.indent(i,r,o)+"</"+i.name+">")}return this.stream.write(this.endline(i,r,o)),r.state=f.None,this.closeNode(i,r,o)},a.prototype.processingInstruction=function(i,r,o){return this.stream.write(a.__super__.processingInstruction.call(this,i,r,o))},a.prototype.raw=function(i,r,o){return this.stream.write(a.__super__.raw.call(this,i,r,o))},a.prototype.text=function(i,r,o){return this.stream.write(a.__super__.text.call(this,i,r,o))},a.prototype.dtdAttList=function(i,r,o){return this.stream.write(a.__super__.dtdAttList.call(this,i,r,o))},a.prototype.dtdElement=function(i,r,o){return this.stream.write(a.__super__.dtdElement.call(this,i,r,o))},a.prototype.dtdEntity=function(i,r,o){return this.stream.write(a.__super__.dtdEntity.call(this,i,r,o))},a.prototype.dtdNotation=function(i,r,o){return this.stream.write(a.__super__.dtdNotation.call(this,i,r,o))},a}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(D,_,e){"use strict";(function(){var g,f,y=function(h,c){for(var a in c)m.call(c,a)&&(h[a]=c[a]);function i(){this.constructor=h}return i.prototype=c.prototype,h.prototype=new i,h.__super__=c.prototype,h},m={}.hasOwnProperty;f=D("./XMLWriterBase"),_.exports=g=function(v){y(h,v);function h(c){h.__super__.constructor.call(this,c)}return h.prototype.document=function(c,a){var i,r,o,d,n;for(a=this.filterOptions(a),d="",n=c.children,r=0,o=n.length;r<o;r++)i=n[r],d+=this.writeChildNode(i,a,0);return a.pretty&&d.slice(-a.newline.length)===a.newline&&(d=d.slice(0,-a.newline.length)),d},h}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(D,_,e){"use strict";(function(){var g,f=function(v,h){return function(){return v.apply(h,arguments)}},y={}.hasOwnProperty;_.exports=g=function(){function m(v){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var h,c,a;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),c=v.stringify||{};for(h in c){if(!y.call(c,h))continue;a=c[h],this[h]=a}}return m.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},m.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},m.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},m.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},m.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},m.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},m.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},m.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},m.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},m.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},m.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(v){var h,c;if(this.options.noValidation)return v;if(h="",this.options.version==="1.0"){if(h=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=v.match(h))throw new Error("Invalid character in string: "+v+" at index "+c.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=v.match(h)))throw new Error("Invalid character in string: "+v+" at index "+c.index);return v},m.prototype.assertLegalName=function(v){var h;if(this.options.noValidation)return v;if(this.assertLegalChar(v),h=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!v.match(h))throw new Error("Invalid character in name");return v},m.prototype.textEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},m.prototype.attEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},m}()}).call(void 0)},{}],280:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(d)}return Object.defineProperty(r.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(r.prototype,"wholeText",{get:function(){var d,n,l;for(l="",n=this.previousSibling;n;)l=n.data+l,n=n.previousSibling;for(l+=this.data,d=this.nextSibling;d;)l=l+d.data,d=d.nextSibling;return l}}),r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.text(this,this.options.writer.filterOptions(o))},r.prototype.splitText=function(o){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceWholeText=function(o){throw new Error("This DOM method is not implemented."+this.debugInfo())},r}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p={}.hasOwnProperty;u=D("./Utility").assign,g=D("./NodeType"),i=D("./XMLDeclaration"),r=D("./XMLDocType"),y=D("./XMLCData"),m=D("./XMLComment"),d=D("./XMLElement"),l=D("./XMLRaw"),t=D("./XMLText"),n=D("./XMLProcessingInstruction"),o=D("./XMLDummy"),v=D("./XMLDTDAttList"),h=D("./XMLDTDElement"),c=D("./XMLDTDEntity"),a=D("./XMLDTDNotation"),f=D("./WriterState"),_.exports=s=function(){function w(b){var E,A,S;b||(b={}),this.options=b,A=b.writer||{};for(E in A){if(!p.call(A,E))continue;S=A[E],this["_"+E]=this[E],this[E]=S}}return w.prototype.filterOptions=function(b){var E,A,S,T,L,x,C,O;return b||(b={}),b=u({},this.options,b),E={writer:this},E.pretty=b.pretty||!1,E.allowEmpty=b.allowEmpty||!1,E.indent=(A=b.indent)!=null?A:" ",E.newline=(S=b.newline)!=null?S:`
|
|
|
`,E.offset=(T=b.offset)!=null?T:0,E.dontPrettyTextNodes=(L=(x=b.dontPrettyTextNodes)!=null?x:b.dontprettytextnodes)!=null?L:0,E.spaceBeforeSlash=(C=(O=b.spaceBeforeSlash)!=null?O:b.spacebeforeslash)!=null?C:"",E.spaceBeforeSlash===!0&&(E.spaceBeforeSlash=" "),E.suppressPrettyCount=0,E.user={},E.state=f.None,E},w.prototype.indent=function(b,E,A){var S;return!E.pretty||E.suppressPrettyCount?"":E.pretty&&(S=(A||0)+E.offset+1,S>0)?new Array(S).join(E.indent):""},w.prototype.endline=function(b,E,A){return!E.pretty||E.suppressPrettyCount?"":E.newline},w.prototype.attribute=function(b,E,A){var S;return this.openAttribute(b,E,A),S=" "+b.name+'="'+b.value+'"',this.closeAttribute(b,E,A),S},w.prototype.cdata=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<![CDATA[",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+="]]>"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.comment=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!-- ",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=" -->"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.declaration=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?xml",E.state=f.InsideTag,S+=' version="'+b.version+'"',b.encoding!=null&&(S+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(S+=' standalone="'+b.standalone+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.docType=function(b,E,A){var S,T,L,x,C;if(A||(A=0),this.openNode(b,E,A),E.state=f.OpenTag,x=this.indent(b,E,A),x+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?x+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(x+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(x+=" [",x+=this.endline(b,E,A),E.state=f.InsideTag,C=b.children,T=0,L=C.length;T<L;T++)S=C[T],x+=this.writeChildNode(S,E,A+1);E.state=f.CloseTag,x+="]"}return E.state=f.CloseTag,x+=E.spaceBeforeSlash+">",x+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),x},w.prototype.element=function(b,E,A){var S,T,L,x,C,O,N,F,k,P,B,z,R,U;A||(A=0),P=!1,B="",this.openNode(b,E,A),E.state=f.OpenTag,B+=this.indent(b,E,A)+"<"+b.name,z=b.attribs;for(k in z){if(!p.call(z,k))continue;S=z[k],B+=this.attribute(S,E,A)}if(L=b.children.length,x=L===0?null:b.children[0],L===0||b.children.every(function(j){return(j.type===g.Text||j.type===g.Raw)&&j.value===""}))E.allowEmpty?(B+=">",E.state=f.CloseTag,B+="</"+b.name+">"+this.endline(b,E,A)):(E.state=f.CloseTag,B+=E.spaceBeforeSlash+"/>"+this.endline(b,E,A));else if(E.pretty&&L===1&&(x.type===g.Text||x.type===g.Raw)&&x.value!=null)B+=">",E.state=f.InsideTag,E.suppressPrettyCount++,P=!0,B+=this.writeChildNode(x,E,A+1),E.suppressPrettyCount--,P=!1,E.state=f.CloseTag,B+="</"+b.name+">"+this.endline(b,E,A);else{if(E.dontPrettyTextNodes){for(R=b.children,C=0,N=R.length;C<N;C++)if(T=R[C],(T.type===g.Text||T.type===g.Raw)&&T.value!=null){E.suppressPrettyCount++,P=!0;break}}for(B+=">"+this.endline(b,E,A),E.state=f.InsideTag,U=b.children,O=0,F=U.length;O<F;O++)T=U[O],B+=this.writeChildNode(T,E,A+1);E.state=f.CloseTag,B+=this.indent(b,E,A)+"</"+b.name+">",P&&E.suppressPrettyCount--,B+=this.endline(b,E,A),E.state=f.None}return this.closeNode(b,E,A),B},w.prototype.writeChildNode=function(b,E,A){switch(b.type){case g.CData:return this.cdata(b,E,A);case g.Comment:return this.comment(b,E,A);case g.Element:return this.element(b,E,A);case g.Raw:return this.raw(b,E,A);case g.Text:return this.text(b,E,A);case g.ProcessingInstruction:return this.processingInstruction(b,E,A);case g.Dummy:return"";case g.Declaration:return this.declaration(b,E,A);case g.DocType:return this.docType(b,E,A);case g.AttributeDeclaration:return this.dtdAttList(b,E,A);case g.ElementDeclaration:return this.dtdElement(b,E,A);case g.EntityDeclaration:return this.dtdEntity(b,E,A);case g.NotationDeclaration:return this.dtdNotation(b,E,A);default:throw new Error("Unknown XML node type: "+b.constructor.name)}},w.prototype.processingInstruction=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?",E.state=f.InsideTag,S+=b.target,b.value&&(S+=" "+b.value),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.raw=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.text=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdAttList=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ATTLIST",E.state=f.InsideTag,S+=" "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(S+=" "+b.defaultValueType),b.defaultValue&&(S+=' "'+b.defaultValue+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdElement=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ELEMENT",E.state=f.InsideTag,S+=" "+b.name+" "+b.value,E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdEntity=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ENTITY",E.state=f.InsideTag,b.pe&&(S+=" %"),S+=" "+b.name,b.value?S+=' "'+b.value+'"':(b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.nData&&(S+=" NDATA "+b.nData)),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdNotation=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!NOTATION",E.state=f.InsideTag,S+=" "+b.name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?S+=' PUBLIC "'+b.pubID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.openNode=function(b,E,A){},w.prototype.closeNode=function(b,E,A){},w.prototype.openAttribute=function(b,E,A){},w.prototype.closeAttribute=function(b,E,A){},w}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r;r=D("./Utility"),a=r.assign,i=r.isFunction,y=D("./XMLDOMImplementation"),m=D("./XMLDocument"),v=D("./XMLDocumentCB"),c=D("./XMLStringWriter"),h=D("./XMLStreamWriter"),g=D("./NodeType"),f=D("./WriterState"),_.exports.create=function(o,d,n,l){var t,s;if(o==null)throw new Error("Root element needs a name.");return l=a({},d,n,l),t=new m(l),s=t.element(o),l.headless||(t.declaration(l),(l.pubID!=null||l.sysID!=null)&&t.dtd(l)),s},_.exports.begin=function(o,d,n){var l;return i(o)&&(l=[o,d],d=l[0],n=l[1],o={}),d?new v(o,d,n):new m(o)},_.exports.stringWriter=function(o){return new c(o)},_.exports.streamWriter=function(o,d){return new h(o,d)},_.exports.implementation=new y,_.exports.nodeType=g,_.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(D,_,e){_.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var y={},m=0;m<arguments.length;m++){var v=arguments[m];for(var h in v)g.call(v,h)&&(y[h]=v[h])}return y}},{}],284:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=D("./sha"),y=D("./md5"),m={sha1:f,md5:y},v=64,h=g.alloc(v);h.fill(0);function c(r,o,d){g.isBuffer(o)||(o=g.from(o)),g.isBuffer(d)||(d=g.from(d)),o.length>v?o=r(o):o.length<v&&(o=g.concat([o,h],v));for(var n=g.alloc(v),l=g.alloc(v),t=0;t<v;t++)n[t]=o[t]^54,l[t]=o[t]^92;var s=r(g.concat([n,d]));return r(g.concat([l,s]))}function a(r,o){r=r||"sha1";var d=m[r],n=[],l=0;return d||i("algorithm:",r,"is not yet supported"),{update:function(s){return g.isBuffer(s)||(s=g.from(s)),n.push(s),l+=s.length,this},digest:function(s){var u=g.concat(n),p=o?c(d,o,u):d(u);return n=null,s?p.toString(s):p}}}function i(){var r=[].slice.call(arguments).join(" ");throw new Error([r,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}e.createHash=function(r){return a(r)},e.createHmac=function(r,o){return a(r,o)},e.createCredentials=function(){i("sorry,createCredentials is not implemented yet")},e.createCipher=function(){i("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){i("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){i("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){i("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){i("sorry,createSign is not implemented yet")},e.createVerify=function(){i("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){i("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){i("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=4,y=g.alloc(f);y.fill(0);var m=8;function v(a,i){if(a.length%f!==0){var r=a.length+(f-a.length%f);a=g.concat([a,y],r)}for(var o=[],d=i?a.readInt32BE:a.readInt32LE,n=0;n<a.length;n+=f)o.push(d.call(a,n));return o}function h(a,i,r){for(var o=g.alloc(i),d=r?o.writeInt32BE:o.writeInt32LE,n=0;n<a.length;n++)d.call(o,a[n],n*4,!0);return o}function c(a,i,r,o){g.isBuffer(a)||(a=g.from(a));var d=i(v(a,o),a.length*m);return h(d,r,o)}_.exports={hash:c}},{buffer:73}],286:[function(D,_,e){"use strict";var g=D("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function y(o,d){o[d>>5]|=128<<d%32,o[(d+64>>>9<<4)+14]=d;for(var n=1732584193,l=-271733879,t=-1732584194,s=271733878,u=0;u<o.length;u+=16){var p=n,w=l,b=t,E=s;n=v(n,l,t,s,o[u+0],7,-680876936),s=v(s,n,l,t,o[u+1],12,-389564586),t=v(t,s,n,l,o[u+2],17,606105819),l=v(l,t,s,n,o[u+3],22,-1044525330),n=v(n,l,t,s,o[u+4],7,-176418897),s=v(s,n,l,t,o[u+5],12,1200080426),t=v(t,s,n,l,o[u+6],17,-1473231341),l=v(l,t,s,n,o[u+7],22,-45705983),n=v(n,l,t,s,o[u+8],7,1770035416),s=v(s,n,l,t,o[u+9],12,-1958414417),t=v(t,s,n,l,o[u+10],17,-42063),l=v(l,t,s,n,o[u+11],22,-1990404162),n=v(n,l,t,s,o[u+12],7,1804603682),s=v(s,n,l,t,o[u+13],12,-40341101),t=v(t,s,n,l,o[u+14],17,-1502002290),l=v(l,t,s,n,o[u+15],22,1236535329),n=h(n,l,t,s,o[u+1],5,-165796510),s=h(s,n,l,t,o[u+6],9,-1069501632),t=h(t,s,n,l,o[u+11],14,643717713),l=h(l,t,s,n,o[u+0],20,-373897302),n=h(n,l,t,s,o[u+5],5,-701558691),s=h(s,n,l,t,o[u+10],9,38016083),t=h(t,s,n,l,o[u+15],14,-660478335),l=h(l,t,s,n,o[u+4],20,-405537848),n=h(n,l,t,s,o[u+9],5,568446438),s=h(s,n,l,t,o[u+14],9,-1019803690),t=h(t,s,n,l,o[u+3],14,-187363961),l=h(l,t,s,n,o[u+8],20,1163531501),n=h(n,l,t,s,o[u+13],5,-1444681467),s=h(s,n,l,t,o[u+2],9,-51403784),t=h(t,s,n,l,o[u+7],14,1735328473),l=h(l,t,s,n,o[u+12],20,-1926607734),n=c(n,l,t,s,o[u+5],4,-378558),s=c(s,n,l,t,o[u+8],11,-2022574463),t=c(t,s,n,l,o[u+11],16,1839030562),l=c(l,t,s,n,o[u+14],23,-35309556),n=c(n,l,t,s,o[u+1],4,-1530992060),s=c(s,n,l,t,o[u+4],11,1272893353),t=c(t,s,n,l,o[u+7],16,-155497632),l=c(l,t,s,n,o[u+10],23,-1094730640),n=c(n,l,t,s,o[u+13],4,681279174),s=c(s,n,l,t,o[u+0],11,-358537222),t=c(t,s,n,l,o[u+3],16,-722521979),l=c(l,t,s,n,o[u+6],23,76029189),n=c(n,l,t,s,o[u+9],4,-640364487),s=c(s,n,l,t,o[u+12],11,-421815835),t=c(t,s,n,l,o[u+15],16,530742520),l=c(l,t,s,n,o[u+2],23,-995338651),n=a(n,l,t,s,o[u+0],6,-198630844),s=a(s,n,l,t,o[u+7],10,1126891415),t=a(t,s,n,l,o[u+14],15,-1416354905),l=a(l,t,s,n,o[u+5],21,-57434055),n=a(n,l,t,s,o[u+12],6,1700485571),s=a(s,n,l,t,o[u+3],10,-1894986606),t=a(t,s,n,l,o[u+10],15,-1051523),l=a(l,t,s,n,o[u+1],21,-2054922799),n=a(n,l,t,s,o[u+8],6,1873313359),s=a(s,n,l,t,o[u+15],10,-30611744),t=a(t,s,n,l,o[u+6],15,-1560198380),l=a(l,t,s,n,o[u+13],21,1309151649),n=a(n,l,t,s,o[u+4],6,-145523070),s=a(s,n,l,t,o[u+11],10,-1120210379),t=a(t,s,n,l,o[u+2],15,718787259),l=a(l,t,s,n,o[u+9],21,-343485551),n=i(n,p),l=i(l,w),t=i(t,b),s=i(s,E)}return Array(n,l,t,s)}function m(o,d,n,l,t,s){return i(r(i(i(d,o),i(l,s)),t),n)}function v(o,d,n,l,t,s,u){return m(d&n|~d&l,o,d,t,s,u)}function h(o,d,n,l,t,s,u){return m(d&l|n&~l,o,d,t,s,u)}function c(o,d,n,l,t,s,u){return m(d^n^l,o,d,t,s,u)}function a(o,d,n,l,t,s,u){return m(n^(d|~l),o,d,t,s,u)}function i(o,d){var n=(o&65535)+(d&65535),l=(o>>16)+(d>>16)+(n>>16);return l<<16|n&65535}function r(o,d){return o<<d|o>>>32-d}_.exports=function(d){return g.hash(d,y,16)}},{"./helpers":285}],287:[function(D,_,e){"use strict";var g=D("./helpers");function f(c,a){c[a>>5]|=128<<24-a%32,c[(a+64>>9<<4)+15]=a;for(var i=Array(80),r=1732584193,o=-271733879,d=-1732584194,n=271733878,l=-1009589776,t=0;t<c.length;t+=16){for(var s=r,u=o,p=d,w=n,b=l,E=0;E<80;E++){E<16?i[E]=c[t+E]:i[E]=h(i[E-3]^i[E-8]^i[E-14]^i[E-16],1);var A=v(v(h(r,5),y(E,o,d,n)),v(v(l,i[E]),m(E)));l=n,n=d,d=h(o,30),o=r,r=A}r=v(r,s),o=v(o,u),d=v(d,p),n=v(n,w),l=v(l,b)}return Array(r,o,d,n,l)}function y(c,a,i,r){return c<20?a&i|~a&r:c<40?a^i^r:c<60?a&i|a&r|i&r:a^i^r}function m(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function v(c,a){var i=(c&65535)+(a&65535),r=(c>>16)+(a>>16)+(i>>16);return r<<16|i&65535}function h(c,a){return c<<a|c>>>32-a}_.exports=function(a){return g.hash(a,f,20,!0)}},{"./helpers":285}],288:[function(D,_,e){"use strict";_.exports=function(){return function(){}}},{}],289:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=m(f);function m(r){return r&&r.__esModule?r:{default:r}}var v=D("stream"),h=v.Stream,c=D("../lib/common/utils/isArray"),a=c.isArray;_.exports.string=function(o){return typeof o=="string"},_.exports.array=a,_.exports.buffer=g.isBuffer;function i(r){return r instanceof h}_.exports.writableStream=function(o){return i(o)&&typeof o._write=="function"&&(0,y.default)(o._writableState)==="object"}}).call(this,{isBuffer:D("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(D,_,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=D("escape-html"),e.timestamp=function(f){if(f){var y=f;return typeof y=="string"&&(y=Number(y)),String(f).length===10&&(y*=1e3),new Date(y)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/json/stringify"),m=c(y),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(E){return E&&E.__esModule?E:{default:E}}var a=D("util"),i=D("url"),r=D("http"),o=D("https"),d=D("debug")("urllib"),n=D("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function p(E,A){return E===void 0?A:E}function w(E,A){return function(S,T,L){if(S)return A(S);E({data:T,status:L.statusCode,headers:L.headers,res:L})}}e.TIMEOUTS=[n("300s"),n("300s")];var b=["json","text"];e.request=function(A,S,T){return arguments.length===2&&typeof S=="function"&&(T=S,S=null),typeof T=="function"?e.requestWithCallback(A,S,T):(l||(l=D("any-promise")),new l(function(L,x){e.requestWithCallback(A,S,w(L,x))}))},e.requestWithCallback=function(A,S,T){if(!A||typeof A!="string"&&(typeof A=="undefined"?"undefined":(0,h.default)(A))!=="object"){var L=a.format("expect request url to be a string or a http request options, but got %j",A);throw new Error(L)}arguments.length===2&&typeof S=="function"&&(T=S,S=null),S=S||{},t>=s&&(t=0);var x=++t;S.requestUrls=S.requestUrls||[];var C={requestId:x,url:A,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",C),S.timeout=S.timeout||e.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var O=Date.now(),N;typeof A=="string"?(u.test(A)||(A="http://"+A),N=i.parse(A)):N=A;var F=(S.type||S.method||N.method||"GET").toUpperCase(),k=N.port||80,P=r,B=p(S.agent,e.agent),z=S.fixJSONCtlChars;N.protocol==="https:"&&(P=o,B=p(S.httpsAgent,e.httpsAgent),N.port||(k=443));var R={host:N.hostname||N.host||"localhost",path:N.path||"/",method:F,port:k,agent:B,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?R.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(R.requestTimeout=S.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],j=0;j<U.length;j++){var H=U[j];S.hasOwnProperty(H)&&(R[H]=S[H])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=D("constants").SSL_OP_NO_TLSv1_2);var V=S.auth||N.auth;V&&(R.auth=V);var X=S.content||S.data,W=F==="GET"||F==="HEAD"||S.dataAsQueryString;if(!S.content&&(X&&!(typeof X=="string"||f.isBuffer(X))))if(W)X=S.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var G=R.headers["Content-Type"]||R.headers["content-type"];G||(S.contentType==="json"?G="application/json":G="application/x-www-form-urlencoded",R.headers["Content-Type"]=G),parseContentType(G).type==="application/json"?X=(0,m.default)(X):X=S.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}W&&X&&(R.path+=(N.query?"&":"?")+X,X=null);var $=0;if(X){var ge=X.length;f.isBuffer(X)||(ge=f.byteLength(X)),$=R.headers["Content-Length"]=ge}S.dataType==="json"&&(R.headers.Accept="application/json"),typeof S.beforeRequest=="function"&&S.beforeRequest(R);var q=null,Se=null,Ce=null,Ae=!1,Ue=!1,Qe=0,gt=-1,_e=!1,Oe="",lt="",ce=null;S.timing&&(ce={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Y(){q&&(clearTimeout(q),q=null)}function K(){Se&&(clearTimeout(Se),Se=null)}function Q(Be,Dt,Ke){if(K(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,g.pid,R.method,A),Be&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),x,g.pid,Be.name,Be.message,Be.stack);return}var At=T;T=null;var Xe={};if(Ke&&(gt=Ke.statusCode,Xe=Ke.headers),gt===401&&Xe["www-authenticate"]&&(!S.headers||!S.headers.Authorization)&&S.digestAuth){var et=Xe["www-authenticate"];if(et.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,A,et),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(R.method,R.path,et,S.digestAuth),d("Request#%d %s: auth with digest header: %s",x,A,S.headers.Authorization),Ke.headers["set-cookie"]&&(S.headers.Cookie=Ke.headers["set-cookie"].join(";")),e.requestWithCallback(A,S,At)}var tt=Date.now()-O;ce&&(ce.contentDownload=tt),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",tt,Qe,gt,R.method,R.host,R.path,Ue,ce);var ot={status:gt,statusCode:gt,headers:Xe,size:Qe,aborted:_e,rt:tt,keepAliveSocket:Ue,data:Dt,requestUrls:S.requestUrls,timing:ce,remoteAddress:Oe,remotePort:lt};if(Be){var Ve="";B&&typeof B.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,m.default)(B.getCurrentStatus())),Be.message+=", "+R.method+" "+A+" "+gt+" (connected: "+Ae+", keepalive socket: "+Ue+Ve+`)
|
|
|
headers: `+(0,m.default)(Xe),Be.data=Dt,Be.path=R.path,Be.status=gt,Be.headers=Xe,Be.res=ot}At(Be,Dt,S.streaming?Ke:ot),S.emitter&&(C.url=A,C.socket=ht&&ht.connection,C.options=R,C.size=$,S.emitter.emit("response",{requestId:x,error:Be,ctx:S.ctx,req:C,res:ot}))}function ye(Be){var Dt=null;if(S.followRedirect&&statuses.redirect[Be.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var Ke=Be.headers.location;if(!Ke)Dt=new Error("Got statusCode "+Be.statusCode+" but cannot resolve next location from headers"),Dt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)Dt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+A),Dt.name="MaxRedirectError";else{var At=S.formatRedirectUrl?S.formatRedirectUrl(A,Ke):i.resolve(A,Ke);d("Request#%d %s: `redirected` from %s to %s",x,R.path,A,At),K(),S.headers&&S.headers.Host&&u.test(Ke)&&(S.headers.Host=null);var Xe=T;return T=null,e.requestWithCallback(At,S,Xe),{redirect:!0,error:null}}}return{redirect:!1,error:Dt}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function ue(Be,Dt,Ke){var At=Be.headers["content-encoding"];return Ke(null,Dt,At)}var Ne=S.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",x,F,A,R.headers,R.path),S.requestUrls.push(A);function Te(Be){if(ce&&(ce.waiting=Date.now()-O),d("Request#%d %s `req response` event emit: status %d, headers: %j",x,A,Be.statusCode,Be.headers),S.streaming){var Dt=ye(Be);if(Dt.redirect){Be.resume();return}return Dt.error?(Be.resume(),Q(Dt.error,null,Be)):Q(null,null,Be)}if(Be.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",x,A,Qe)}),Be.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",x,A,Qe)}),Be.on("aborted",function(){_e=!0,d("Request#%d %s: `res aborted` event emit, total size %d",x,A,Qe)}),Ne){var Dt=ye(Be);if(Dt.redirect){Be.resume();return}return Dt.error?(Be.resume(),Ne.end(),Q(Dt.error,null,Be)):(S.consumeWriteStream===!1?Be.on("end",Q.bind(null,null,null,Be)):isNode010||isNode012?first([[Ne,"close"],[Be,"aborted"]],function(Xe,et,tt){d("Request#%d %s: writeStream or res %s event emitted",x,A,tt),Q(Ce||null,null,Be)}):Ne.on("close",function(){d("Request#%d %s: writeStream close event emitted",x,A),Q(Ce||null,null,Be)}),Be.pipe(Ne))}var Ke=[];Be.on("data",function(At){d("Request#%d %s: `res data` event emit, size %d",x,A,At.length),Qe+=At.length,Ke.push(At)}),Be.on("end",function(){var At=f.concat(Ke,Qe);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,A,Qe,Be._dumped),Ce)return Q(Ce,At,Be);var Xe=ye(Be);if(Xe.error)return Q(Xe.error,At,Be);if(Xe.redirect)return;ue(Be,At,function(et,tt,ot){if(et)return Q(et,At,Be);if(!ot&&b.indexOf(S.dataType)>=0){try{tt=decodeBodyByCharset(tt,Be)}catch(se){return d("decodeBodyByCharset error: %s",se),Q(null,tt,Be)}if(S.dataType==="json")if(Qe===0)tt=null;else{var Ve=parseJSON(tt,z);Ve.error?et=Ve.error:tt=Ve.data}}_e&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,A),Q(et,tt,Be)})})}var oe,de;Array.isArray(S.timeout)?(oe=n(S.timeout[0]),de=n(S.timeout[1])):oe=de=n(S.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",oe,de);function Le(){d("Connect timer ticking, timeout: %d",oe),q=setTimeout(function(){q=null,gt===-1&&(gt=-2);var Be="Connect timeout for "+oe+"ms",Dt="ConnectionTimeoutError";ht.socket||(Dt="SocketAssignTimeoutError",Be+=", working sockets is full"),Ce=new Error(Be),Ce.name=Dt,Ce.requestId=x,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,A,Ce.name,Be,Ae),Et()},oe)}function Ge(){d("Response timer ticking, timeout: %d",de),Se=setTimeout(function(){Se=null;var Be="Response timeout for "+de+"ms",Dt="ResponseTimeoutError";Ce=new Error(Be),Ce.name=Dt,Ce.requestId=x,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,A,Ce.name,Be,Ae),Et()},de)}var ht;R.mode=S.mode?S.mode:"";try{ht=P.request(R,Te)}catch(Be){return Q(Be)}typeof window=="undefined"?Le():ht.on("requestTimeout",function(){gt===-1&&(gt=-2);var Be="Connect timeout for "+oe+"ms",Dt="ConnectionTimeoutError";Ce=new Error(Be),Ce.name=Dt,Ce.requestId=x,Et()});function Et(){d("Request#%d %s abort, connected: %s",x,A,Ae),ht.socket||(Ce.noSocket=!0,Q(Ce)),ht.abort()}return ce&&ht.on("finish",function(){ce.requestSent=Date.now()-O}),ht.once("socket",function(Be){ce&&(ce.queuing=Date.now()-O),isNode010&&Be.socket&&(Be=Be.socket);var Dt=Be.readyState;if(Dt==="opening"){Be.once("lookup",function(Ke,At,Xe){d("Request#%d %s lookup: %s, %s, %s",x,A,Ke,At,Xe),ce&&(ce.dnslookup=Date.now()-O),At&&(Oe=At)}),Be.once("connect",function(){ce&&(ce.connected=Date.now()-O),Y(),Ge(),d("Request#%d %s new socket connected",x,A),Ae=!0,Oe||(Oe=Be.remoteAddress),lt=Be.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",x,A,Dt),Ae=!0,Ue=!0,Oe||(Oe=Be.remoteAddress),lt=Be.remotePort,Y(),Ge()}),ht.on("error",function(Be){(Be.name==="Error"||Be.name==="TypeError")&&(Be.name=Ae?"ResponseError":"RequestError"),Be.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",x,A,Be.name,Be.message),Q(Ce||Be)}),Ne&&Ne.once("error",function(Be){Be.message+=' (writeStream "error")',Ce=Be,d("Request#%d %s `writeStream error` event emit, %s: %s",x,A,Be.name,Be.message),Et()}),S.stream?(S.stream.pipe(ht),S.stream.once("error",function(Be){Be.message+=' (stream "error")',Ce=Be,d("Request#%d %s `readStream error` event emit, %s: %s",x,A,Be.name,Be.message),Et()})):ht.end(X),ht.requestId=x,ht}}).call(this,D("_process"),D("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(D,_,e){var g=e("hX1E"),f=g.normalizeRadian,y=Math.PI*2;function m(v,h,c,a,i,r,o,d,n){if(o===0)return!1;var l=o;d-=v,n-=h;var t=Math.sqrt(d*d+n*n);if(t-l>c||t+l<c)return!1;if(Math.abs(a-i)%y<1e-4)return!0;if(r){var s=a;a=f(i),i=f(s)}else a=f(a),i=f(i);a>i&&(i+=y);var u=Math.atan2(n,d);return u<0&&(u+=y),u>=a&&u<=i||u+y>=a&&u+y<=i}_.containStroke=m},n4Lv:function(D,_,e){var g=e("7hqr"),f=g.isDimensionStacked,y=e("bYtY"),m=y.map;function v(a,i,r){var o=a.getBaseAxis(),d=a.getOtherAxis(o),n=h(d,r),l=o.dim,t=d.dim,s=i.mapDimension(t),u=i.mapDimension(l),p=t==="x"||t==="radius"?1:0,w=m(a.dimensions,function(A){return i.mapDimension(A)}),b,E=i.getCalculationInfo("stackResultDimension");return(b|=f(i,w[0]))&&(w[0]=E),(b|=f(i,w[1]))&&(w[1]=E),{dataDimsForPoint:w,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!b,valueDim:s,baseDim:u,baseDataOffset:p,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}}function h(a,i){var r=0,o=a.scale.getExtent();return i==="start"?r=o[0]:i==="end"?r=o[1]:o[0]>0?r=o[0]:o[1]<0&&(r=o[1]),r}function c(a,i,r,o){var d=NaN;a.stacked&&(d=r.get(r.getCalculationInfo("stackedOverDimension"),o)),isNaN(d)&&(d=a.valueStart);var n=a.baseDataOffset,l=[];return l[n]=r.get(a.baseDim,o),l[1-n]=d,i.dataToPoint(l)}_.prepareDataCoordInfo=v,_.getStackedOnPoint=c},n6Mw:function(D,_,e){var g=e("SrGk"),f=e("bYtY"),y=e("Fofx");function m(h,c){g.call(this,h,c,"clipPath","__clippath_in_use__")}f.inherits(m,g),m.prototype.update=function(h){var c=this.getSvgElement(h);c&&this.updateDom(c,h.__clipPaths,!1);var a=this.getTextSvgElement(h);a&&this.updateDom(a,h.__clipPaths,!0),this.markUsed(h)},m.prototype.updateDom=function(h,c,a){if(c&&c.length>0){var i=this.getDefs(!0),r=c[0],o,d,n=a?"_textDom":"_dom";r[n]?(d=r[n].getAttribute("id"),o=r[n],i.contains(o)||i.appendChild(o)):(d="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,o=this.createElement("clipPath"),o.setAttribute("id",d),i.appendChild(o),r[n]=o);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!a){var t=Array.prototype.slice.call(r.transform);y.mul(r.transform,r.parent.invTransform,r.transform),l.brush(r),r.transform=t}else l.brush(r);var s=this.getSvgElement(r);o.innerHTML="",o.appendChild(s.cloneNode()),h.setAttribute("clip-path","url(#"+d+")"),c.length>1&&this.updateDom(o,c.slice(1),a)}else h&&h.setAttribute("clip-path","none")},m.prototype.markUsed=function(h){var c=this;h.__clipPaths&&f.each(h.__clipPaths,function(a){a._dom&&g.prototype.markUsed.call(c,a._dom),a._textDom&&g.prototype.markUsed.call(c,a._textDom)})};var v=m;D.exports=v},nCxF:function(D,_,e){var g=e("QBsz"),f=g.min,y=g.max,m=g.scale,v=g.distance,h=g.add,c=g.clone,a=g.sub;function i(r,o,d,n){var l=[],t=[],s=[],u=[],p,w,b,E;if(n){b=[Infinity,Infinity],E=[-Infinity,-Infinity];for(var A=0,S=r.length;A<S;A++)f(b,b,r[A]),y(E,E,r[A]);f(b,b,n[0]),y(E,E,n[1])}for(var A=0,S=r.length;A<S;A++){var T=r[A];if(d)p=r[A?A-1:S-1],w=r[(A+1)%S];else if(A===0||A===S-1){l.push(c(r[A]));continue}else p=r[A-1],w=r[A+1];a(t,w,p),m(t,t,o);var L=v(T,p),x=v(T,w),C=L+x;C!==0&&(L/=C,x/=C),m(s,t,-L),m(u,t,x);var O=h([],T,s),N=h([],T,u);n&&(y(O,O,b),f(O,O,E),y(N,N,b),f(N,N,E)),l.push(O),l.push(N)}return d&&l.push(l.shift()),l}D.exports=i},nKiI:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),m=y.parsePercent,v=y.MAX_SAFE_INTEGER,h=e("+TT/"),c=e("VaxA"),a=Math.max,i=Math.min,r=g.retrieve,o=g.each,d=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],s={seriesType:"treemap",reset:function(O,N,F,k){var P=F.getWidth(),B=F.getHeight(),z=O.option,R=h.getLayoutRect(O.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),U=z.size||[],j=m(r(R.width,U[0]),P),H=m(r(R.height,U[1]),B),V=k&&k.type,X=["treemapZoomToNode","treemapRootToNode"],W=c.retrieveTargetInfo(k,X,O),G=V==="treemapRender"||V==="treemapMove"?k.rootRect:null,$=O.getViewRoot(),ge=c.getPathToRoot($);if(V!=="treemapMove"){var q=V==="treemapZoomToNode"?T(O,W,$,j,H):G?[G.width,G.height]:[j,H],Se=z.sort;Se&&Se!=="asc"&&Se!=="desc"&&(Se="desc");var Ce={squareRatio:z.squareRatio,sort:Se,leafDepth:z.leafDepth};$.hostTree.clearLayouts();var Ae={x:0,y:0,width:q[0],height:q[1],area:q[0]*q[1]};$.setLayout(Ae),u($,Ce,!1,0);var Ae=$.getLayout();o(ge,function(Qe,gt){var _e=(ge[gt+1]||$).getValue();Qe.setLayout(g.extend({dataExtent:[_e,_e],borderWidth:0,upperHeight:0},Ae))})}var Ue=O.getData().tree.root;Ue.setLayout(L(R,G,W),!0),O.setLayoutInfo(R),x(Ue,new f(-R.x,-R.y,P,B),ge,$,0)}};function u(O,N,F,k){var P,B;if(O.isRemoved())return;var z=O.getLayout();P=z.width,B=z.height;var R=O.getModel(),U=R.get(d),j=R.get(n)/2,H=C(R),V=Math.max(U,H),X=U-j,W=V-j,R=O.getModel();O.setLayout({borderWidth:U,upperHeight:V,upperLabelHeight:H},!0),P=a(P-2*X,0),B=a(B-X-W,0);var G=P*B,$=p(O,R,G,N,F,k);if(!$.length)return;var ge={x:X,y:W,width:P,height:B},q=i(P,B),Se=Infinity,Ce=[];Ce.area=0;for(var Ae=0,Ue=$.length;Ae<Ue;){var Qe=$[Ae];Ce.push(Qe),Ce.area+=Qe.getLayout().area;var gt=A(Ce,q,N.squareRatio);gt<=Se?(Ae++,Se=gt):(Ce.area-=Ce.pop().getLayout().area,S(Ce,q,ge,j,!1),q=i(ge.width,ge.height),Ce.length=Ce.area=0,Se=Infinity)}if(Ce.length&&S(Ce,q,ge,j,!0),!F){var _e=R.get("childrenVisibleMin");_e!=null&&G<_e&&(F=!0)}for(var Ae=0,Ue=$.length;Ae<Ue;Ae++)u($[Ae],N,F,k+1)}function p(O,N,F,k,P,B){var z=O.children||[],R=k.sort;R!=="asc"&&R!=="desc"&&(R=null);var U=k.leafDepth!=null&&k.leafDepth<=B;if(P&&!U)return O.viewChildren=[];z=g.filter(z,function(W){return!W.isRemoved()}),b(z,R);var j=E(N,z,R);if(j.sum===0)return O.viewChildren=[];if(j.sum=w(N,F,j.sum,R,z),j.sum===0)return O.viewChildren=[];for(var H=0,V=z.length;H<V;H++){var X=z[H].getValue()/j.sum*F;z[H].setLayout({area:X})}return U&&(z.length&&O.setLayout({isLeafRoot:!0},!0),z.length=0),O.viewChildren=z,O.setLayout({dataExtent:j.dataExtent},!0),z}function w(O,N,F,k,P){if(!k)return F;for(var B=O.get("visibleMin"),z=P.length,R=z,U=z-1;U>=0;U--){var j=P[k==="asc"?z-U-1:U].getValue();j/F*N<B&&(R=U,F-=j)}return k==="asc"?P.splice(0,z-R):P.splice(R,z-R),F}function b(O,N){return N&&O.sort(function(F,k){var P=N==="asc"?F.getValue()-k.getValue():k.getValue()-F.getValue();return P===0?N==="asc"?F.dataIndex-k.dataIndex:k.dataIndex-F.dataIndex:P}),O}function E(O,N,F){for(var k=0,P=0,B=N.length;P<B;P++)k+=N[P].getValue();var z=O.get("visualDimension"),R;if(!N||!N.length)R=[NaN,NaN];else if(z==="value"&&F)R=[N[N.length-1].getValue(),N[0].getValue()],F==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];o(N,function(j){var H=j.getValue(z);H<R[0]&&(R[0]=H),H>R[1]&&(R[1]=H)})}return{sum:k,dataExtent:R}}function A(O,N,F){for(var k=0,P=Infinity,B=0,z,R=O.length;B<R;B++)z=O[B].getLayout().area,z&&(z<P&&(P=z),z>k&&(k=z));var U=O.area*O.area,j=N*N*F;return U?a(j*k/U,U/(j*P)):Infinity}function S(O,N,F,k,P){var B=N===F.width?0:1,z=1-B,R=["x","y"],U=["width","height"],j=F[R[B]],H=N?O.area/N:0;(P||H>F[U[z]])&&(H=F[U[z]]);for(var V=0,X=O.length;V<X;V++){var W=O[V],G={},$=H?W.getLayout().area/H:0,ge=G[U[z]]=a(H-2*k,0),q=F[R[B]]+F[U[B]]-j,Se=V===X-1||q<$?q:$,Ce=G[U[B]]=a(Se-2*k,0);G[R[z]]=F[R[z]]+i(k,ge/2),G[R[B]]=j+i(k,Ce/2),j+=Se,W.setLayout(G,!0)}F[R[z]]+=H,F[U[z]]-=H}function T(O,N,F,k,P){var B=(N||{}).node,z=[k,P];if(!B||B===F)return z;for(var R,U=k*P,j=U*O.option.zoomToNodeRatio;R=B.parentNode;){for(var H=0,V=R.children,X=0,W=V.length;X<W;X++)H+=V[X].getValue();var G=B.getValue();if(G===0)return z;j*=H/G;var $=R.getModel(),ge=$.get(d),q=Math.max(ge,C($,ge));j+=4*ge*ge+(3*ge+q)*Math.pow(j,.5),j>v&&(j=v),B=R}j<U&&(j=U);var Se=Math.pow(j/U,.5);return[k*Se,P*Se]}function L(O,N,F){if(N)return{x:N.x,y:N.y};var k={x:0,y:0};if(!F)return k;var P=F.node,B=P.getLayout();if(!B)return k;for(var z=[B.width/2,B.height/2],R=P;R;){var U=R.getLayout();z[0]+=U.x,z[1]+=U.y,R=R.parentNode}return{x:O.width/2-z[0],y:O.height/2-z[1]}}function x(O,N,F,k,P){var B=O.getLayout(),z=F[P],R=z&&z===O;if(z&&!R||P===F.length&&O!==k)return;O.setLayout({isInView:!0,invisible:!R&&!N.intersect(B),isAboveViewRoot:R},!0);var U=new f(N.x-B.x,N.y-B.y,N.width,N.height);o(O.viewChildren||[],function(j){x(j,U,F,k,P+1)})}function C(O){return O.get(l)?O.get(t):0}D.exports=s},nPnh:function(D,_){var e=Math.round;function g(m,v,h){if(!v)return;var c=v.x1,a=v.x2,i=v.y1,r=v.y2;m.x1=c,m.x2=a,m.y1=i,m.y2=r;var o=h&&h.lineWidth;if(!o)return;e(c*2)===e(a*2)&&(m.x1=m.x2=y(c,o,!0)),e(i*2)===e(r*2)&&(m.y1=m.y2=y(i,o,!0))}function f(m,v,h){if(!v)return;var c=v.x,a=v.y,i=v.width,r=v.height;m.x=c,m.y=a,m.width=i,m.height=r;var o=h&&h.lineWidth;if(!o)return;m.x=y(c,o,!0),m.y=y(a,o,!0),m.width=Math.max(y(c+i,o,!1)-m.x,i===0?0:1),m.height=Math.max(y(a+r,o,!1)-m.y,r===0?0:1)}function y(m,v,h){if(!v)return m;var c=e(m*2);return(c+e(v))%2===0?c/2:(c+(h?1:-1))/2}_.subPixelOptimizeLine=g,_.subPixelOptimizeRect=f,_.subPixelOptimize=y},nRaC:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0fbx"),m=e.n(y),v=e("OaEy"),h=e("R9oj")},nVfU:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked,h=e("zM3Q"),c="__ec_stack_",a=.5,i=typeof Float32Array!="undefined"?Float32Array:Array;function r(S){return S.get("stack")||c+S.seriesIndex}function o(S){return S.dim+S.index}function d(S){var T=[],L=S.axis,x="axis0";if(L.type!=="category")return;for(var C=L.getBandWidth(),O=0;O<S.count||0;O++)T.push(g.defaults({bandWidth:C,axisKey:x,stackId:c+O},S));for(var N=s(T),F=[],O=0;O<S.count;O++){var k=N[x][c+O];k.offsetCenter=k.offset+k.width/2,F.push(k)}return F}function n(S,T){var L=[];return T.eachSeriesByType(S,function(x){b(x)&&!E(x)&&L.push(x)}),L}function l(S){var T={};g.each(S,function(k){var P=k.coordinateSystem,B=P.getBaseAxis();if(B.type!=="time"&&B.type!=="value")return;for(var z=k.getData(),R=B.dim+"_"+B.index,U=z.mapDimension(B.dim),j=0,H=z.count();j<H;++j){var V=z.get(U,j);T[R]?T[R].push(V):T[R]=[V]}});var L=[];for(var x in T)if(T.hasOwnProperty(x)){var C=T[x];if(C){C.sort(function(k,P){return k-P});for(var O=null,N=1;N<C.length;++N){var F=C[N]-C[N-1];F>0&&(O=O===null?F:Math.min(O,F))}L[x]=O}}return L}function t(S){var T=l(S),L=[];return g.each(S,function(x){var C=x.coordinateSystem,O=C.getBaseAxis(),N=O.getExtent(),F;if(O.type==="category")F=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var k=O.dim+"_"+O.index,P=T[k],B=Math.abs(N[1]-N[0]),z=O.scale.getExtent(),R=Math.abs(z[1]-z[0]);F=P?B/R*P:B}else{var U=x.getData();F=Math.abs(N[1]-N[0])/U.count()}var j=y(x.get("barWidth"),F),H=y(x.get("barMaxWidth"),F),V=y(x.get("barMinWidth")||1,F),X=x.get("barGap"),W=x.get("barCategoryGap");L.push({bandWidth:F,barWidth:j,barMaxWidth:H,barMinWidth:V,barGap:X,barCategoryGap:W,axisKey:o(O),stackId:r(x)})}),s(L)}function s(S){var T={};g.each(S,function(x,C){var O=x.axisKey,N=x.bandWidth,F=T[O]||{bandWidth:N,remainedWidth:N,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=F.stacks;T[O]=F;var P=x.stackId;k[P]||F.autoWidthCount++,k[P]=k[P]||{width:0,maxWidth:0};var B=x.barWidth;B&&!k[P].width&&(k[P].width=B,B=Math.min(F.remainedWidth,B),F.remainedWidth-=B);var z=x.barMaxWidth;z&&(k[P].maxWidth=z);var R=x.barMinWidth;R&&(k[P].minWidth=R);var U=x.barGap;U!=null&&(F.gap=U);var j=x.barCategoryGap;j!=null&&(F.categoryGap=j)});var L={};return g.each(T,function(x,C){L[C]={};var O=x.stacks,N=x.bandWidth,F=y(x.categoryGap,N),k=y(x.gap,1),P=x.remainedWidth,B=x.autoWidthCount,z=(P-F)/(B+(B-1)*k);z=Math.max(z,0),g.each(O,function(H){var V=H.maxWidth,X=H.minWidth;if(H.width){var W=H.width;V&&(W=Math.min(W,V)),X&&(W=Math.max(W,X)),H.width=W,P-=W+k*W,B--}else{var W=z;V&&V<W&&(W=Math.min(V,P)),X&&X>W&&(W=X),W!==z&&(H.width=W,P-=W+k*W,B--)}}),z=(P-F)/(B+(B-1)*k),z=Math.max(z,0);var R=0,U;g.each(O,function(H,V){H.width||(H.width=z),U=H,R+=H.width*(1+k)}),U&&(R-=U.width*k);var j=-R/2;g.each(O,function(H,V){L[C][V]=L[C][V]||{bandWidth:N,offset:j,width:H.width},j+=H.width*(1+k)})}),L}function u(S,T,L){if(S&&T){var x=S[o(T)];return x!=null&&L!=null&&(x=x[r(L)]),x}}function p(S,T){var L=n(S,T),x=t(L),C={},O={};g.each(L,function(N){var F=N.getData(),k=N.coordinateSystem,P=k.getBaseAxis(),B=r(N),z=x[o(P)][B],R=z.offset,U=z.width,j=k.getOtherAxis(P),H=N.get("barMinHeight")||0;C[B]=C[B]||[],O[B]=O[B]||[],F.setLayout({bandWidth:z.bandWidth,offset:R,size:U});for(var V=F.mapDimension(j.dim),X=F.mapDimension(P.dim),W=v(F,V),G=j.isHorizontal(),$=A(P,j,W),ge=0,q=F.count();ge<q;ge++){var Se=F.get(V,ge),Ce=F.get(X,ge),Ae=Se>=0?"p":"n",Ue=$;W&&(C[B][Ce]||(C[B][Ce]={p:$,n:$}),Ue=C[B][Ce][Ae]);var Qe,gt,_e,Oe;if(G){var lt=k.dataToPoint([Se,Ce]);Qe=Ue,gt=lt[1]+R,_e=lt[0]-$,Oe=U,Math.abs(_e)<H&&(_e=(_e<0?-1:1)*H),isNaN(_e)||W&&(C[B][Ce][Ae]+=_e)}else{var lt=k.dataToPoint([Ce,Se]);Qe=lt[0]+R,gt=Ue,_e=U,Oe=lt[1]-$,Math.abs(Oe)<H&&(Oe=(Oe<=0?-1:1)*H),isNaN(Oe)||W&&(C[B][Ce][Ae]+=Oe)}F.setItemLayout(ge,{x:Qe,y:gt,width:_e,height:Oe})}},this)}var w={seriesType:"bar",plan:h(),reset:function(S){if(!b(S)||!E(S))return;var T=S.getData(),L=S.coordinateSystem,x=L.grid.getRect(),C=L.getBaseAxis(),O=L.getOtherAxis(C),N=T.mapDimension(O.dim),F=T.mapDimension(C.dim),k=O.isHorizontal(),P=k?0:1,B=u(t([S]),C,S).width;return B>a||(B=a),{progress:z};function z(R,U){for(var j=R.count,H=new i(j*2),V=new i(j*2),X=new i(j),W,G=[],$=[],ge=0,q=0;(W=R.next())!=null;)$[P]=U.get(N,W),$[1-P]=U.get(F,W),G=L.dataToPoint($,null,G),V[ge]=k?x.x+x.width:G[0],H[ge++]=G[0],V[ge]=k?G[1]:x.y+x.height,H[ge++]=G[1],X[q++]=W;U.setLayout({largePoints:H,largeDataIndices:X,largeBackgroundPoints:V,barWidth:B,valueAxisStart:A(C,O,!1),backgroundStart:k?x.x:x.y,valueAxisHorizontal:k})}}};function b(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function E(S){return S.pipelineContext&&S.pipelineContext.large}function A(S,T,L){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}_.getLayoutOnAxis=d,_.prepareLayoutBarSeries=n,_.makeColumnLayout=t,_.retrieveColumnLayout=u,_.layout=p,_.largeLayout=w},ngQI:function(D,_,e){"use strict";e.d(_,"a",function(){return Kl}),e.d(_,"b",function(){return ec}),e.d(_,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),y=e("dI71"),m=e("wx14"),v=e("ANjH"),h=e("/MKj");function c(at,fe){if(at.length!==fe.length)return!1;for(var je=0;je<at.length;je++)if(at[je]!==fe[je])return!1;return!0}function a(at,fe){var je=Object(g.useState)(function(){return{inputs:fe,result:at()}})[0],wt=Object(g.useRef)(je),kt=Boolean(fe&&wt.current.inputs&&c(fe,wt.current.inputs)),qt=kt?wt.current:{inputs:fe,result:at()};return Object(g.useEffect)(function(){wt.current=qt},[qt]),qt.result}function i(at,fe){return a(function(){return at},fe)}var r=a,o=i,d=e("9R94"),n=function(fe){var je=fe.top,wt=fe.right,kt=fe.bottom,qt=fe.left,ar=wt-qt,lr=kt-je,yr={top:je,right:wt,bottom:kt,left:qt,width:ar,height:lr,x:qt,y:je,center:{x:(wt+qt)/2,y:(kt+je)/2}};return yr},l=function(fe,je){return{top:fe.top-je.top,left:fe.left-je.left,bottom:fe.bottom+je.bottom,right:fe.right+je.right}},t=function(fe,je){return{top:fe.top+je.top,left:fe.left+je.left,bottom:fe.bottom-je.bottom,right:fe.right-je.right}},s=function(fe,je){return{top:fe.top+je.y,left:fe.left+je.x,bottom:fe.bottom+je.y,right:fe.right+je.x}},u={top:0,right:0,bottom:0,left:0},p=function(fe){var je=fe.borderBox,wt=fe.margin,kt=wt===void 0?u:wt,qt=fe.border,ar=qt===void 0?u:qt,lr=fe.padding,yr=lr===void 0?u:lr,Vr=n(l(je,kt)),Xr=n(t(je,ar)),Br=n(t(Xr,yr));return{marginBox:Vr,borderBox:n(je),paddingBox:Xr,contentBox:Br,margin:kt,border:ar,padding:yr}},w=function(fe){var je=fe.slice(0,-2),wt=fe.slice(-2);if(wt!=="px")return 0;var kt=Number(je);return isNaN(kt)&&Object(d.a)(!1),kt},b=function(){return{x:window.pageXOffset,y:window.pageYOffset}},E=function(fe,je){var wt=fe.borderBox,kt=fe.border,qt=fe.margin,ar=fe.padding,lr=s(wt,je);return p({borderBox:lr,border:kt,margin:qt,padding:ar})},A=function(fe,je){return je===void 0&&(je=b()),E(fe,je)},S=function(fe,je){var wt={top:w(je.marginTop),right:w(je.marginRight),bottom:w(je.marginBottom),left:w(je.marginLeft)},kt={top:w(je.paddingTop),right:w(je.paddingRight),bottom:w(je.paddingBottom),left:w(je.paddingLeft)},qt={top:w(je.borderTopWidth),right:w(je.borderRightWidth),bottom:w(je.borderBottomWidth),left:w(je.borderLeftWidth)};return p({borderBox:fe,margin:wt,padding:kt,border:qt})},T=function(fe){var je=fe.getBoundingClientRect(),wt=window.getComputedStyle(fe);return S(je,wt)};function L(at,fe){if(at.length!==fe.length)return!1;for(var je=0;je<at.length;je++)if(at[je]!==fe[je])return!1;return!0}function x(at,fe){fe===void 0&&(fe=L);var je,wt=[],kt,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&je===this&&fe(lr,wt)||(kt=at.apply(this,lr),qt=!0,je=this,wt=lr),kt}return ar}var C=x,O=function(fe){var je=[],wt=null,kt=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(je=lr,wt)return;wt=requestAnimationFrame(function(){wt=null,fe.apply(void 0,je)})};return kt.cancel=function(){if(!wt)return;cancelAnimationFrame(wt),wt=null},kt},N=O,F=e("i8i4"),k=e.n(F),P=!0,B=/[ \t]{2,}/g,z=/^[ \t]*/gm,R=function(fe){return fe.replace(B," ").replace(z,"").trim()},U=function(fe){return R(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+R(fe)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},j=function(fe){return[U(fe),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},H="__react-beautiful-dnd-disable-dev-warnings";function V(at,fe){var je;if(P)return;if(typeof window!="undefined"&&window[H])return;(je=console)[at].apply(je,j(fe))}var X=V.bind(null,"warn"),W=V.bind(null,"error");function G(){}function $(at,fe){return Object(m.a)({},at,{},fe)}function ge(at,fe,je){var wt=fe.map(function(kt){var qt=$(je,kt.options);return at.addEventListener(kt.eventName,kt.fn,qt),function(){at.removeEventListener(kt.eventName,kt.fn,qt)}});return function(){wt.forEach(function(qt){qt()})}}var q=!0,Se="Invariant failed";function Ce(at){this.message=at}Ce.prototype.toString=function(){return this.message};function Ae(at,fe){if(at)return;throw q?new Ce(Se):new Ce(Se+": "+(fe||""))}var Ue=function(at){Object(y.a)(fe,at);function fe(){for(var wt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return wt=at.call.apply(at,[this].concat(qt))||this,wt.callbacks=null,wt.unbind=G,wt.onWindowError=function(lr){var yr=wt.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof Ce&&lr.preventDefault()},wt.getCallbacks=function(){if(!wt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return wt.callbacks},wt.setCallbacks=function(lr){wt.callbacks=lr},wt}var je=fe.prototype;return je.componentDidMount=function(){this.unbind=ge(window,[{eventName:"error",fn:this.onWindowError}])},je.componentWillUnmount=function(){this.unbind()},je.componentDidCatch=function(kt){if(kt instanceof Ce){this.setState({});return}throw kt},je.render=function(){return this.props.children(this.setCallbacks)},fe}(f.a.Component),Qe=`
|
|
|
Press space bar to start a drag.
|
|
|
When dragging you can use the arrow keys to move the item around and escape to cancel.
|
|
|
Some screen readers may require you to be in focus mode or to use your pass through key
|
|
|
`,gt=function(fe){return fe+1},_e=function(fe){return`
|
|
|
You have lifted an item in position `+gt(fe.source.index)+`
|
|
|
`},Oe=function(fe,je){var wt=fe.droppableId===je.droppableId,kt=gt(fe.index),qt=gt(je.index);return wt?`
|
|
|
You have moved the item from position `+kt+`
|
|
|
to position `+qt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+kt+`
|
|
|
in list `+fe.droppableId+`
|
|
|
to list `+je.droppableId+`
|
|
|
in position `+qt+`
|
|
|
`},lt=function(fe,je,wt){var kt=je.droppableId===wt.droppableId;return kt?`
|
|
|
The item `+fe+`
|
|
|
has been combined with `+wt.draggableId:`
|
|
|
The item `+fe+`
|
|
|
in list `+je.droppableId+`
|
|
|
has been combined with `+wt.draggableId+`
|
|
|
in list `+wt.droppableId+`
|
|
|
`},ce=function(fe){var je=fe.destination;if(je)return Oe(fe.source,je);var wt=fe.combine;return wt?lt(fe.draggableId,fe.source,wt):"You are over an area that cannot be dropped on"},Y=function(fe){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+gt(fe.index)+`
|
|
|
`},K=function(fe){if(fe.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+Y(fe.source)+`
|
|
|
`;var je=fe.destination,wt=fe.combine;return je?`
|
|
|
You have dropped the item.
|
|
|
`+Oe(fe.source,je)+`
|
|
|
`:wt?`
|
|
|
You have dropped the item.
|
|
|
`+lt(fe.draggableId,fe.source,wt)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+Y(fe.source)+`
|
|
|
`},Q={dragHandleUsageInstructions:Qe,onDragStart:_e,onDragUpdate:ce,onDragEnd:K},ye={x:0,y:0},ue=function(fe,je){return{x:fe.x+je.x,y:fe.y+je.y}},Ne=function(fe,je){return{x:fe.x-je.x,y:fe.y-je.y}},Te=function(fe,je){return fe.x===je.x&&fe.y===je.y},oe=function(fe){return{x:fe.x!==0?-fe.x:0,y:fe.y!==0?-fe.y:0}},de=function(fe,je,wt){var kt;return wt===void 0&&(wt=0),kt={},kt[fe]=je,kt[fe==="x"?"y":"x"]=wt,kt},Le=function(fe,je){return Math.sqrt(Math.pow(je.x-fe.x,2)+Math.pow(je.y-fe.y,2))},Ge=function(fe,je){return Math.min.apply(Math,je.map(function(wt){return Le(fe,wt)}))},ht=function(fe){return function(je){return{x:fe(je.x),y:fe(je.y)}}},Et=function(fe,je){var wt=n({top:Math.max(je.top,fe.top),right:Math.min(je.right,fe.right),bottom:Math.min(je.bottom,fe.bottom),left:Math.max(je.left,fe.left)});return wt.width<=0||wt.height<=0?null:wt},Be=function(fe,je){return{top:fe.top+je.y,left:fe.left+je.x,bottom:fe.bottom+je.y,right:fe.right+je.x}},Dt=function(fe){return[{x:fe.left,y:fe.top},{x:fe.right,y:fe.top},{x:fe.left,y:fe.bottom},{x:fe.right,y:fe.bottom}]},Ke={top:0,right:0,bottom:0,left:0},At=function(fe,je){return je?Be(fe,je.scroll.diff.displacement):fe},Xe=function(fe,je,wt){if(wt&&wt.increasedBy){var kt;return Object(m.a)({},fe,(kt={},kt[je.end]=fe[je.end]+wt.increasedBy[je.line],kt))}return fe},et=function(fe,je){return je&&je.shouldClipSubject?Et(je.pageMarginBox,fe):n(fe)},tt=function(fe){var je=fe.page,wt=fe.withPlaceholder,kt=fe.axis,qt=fe.frame,ar=At(je.marginBox,qt),lr=Xe(ar,kt,wt),yr=et(lr,qt);return{page:je,withPlaceholder:wt,active:yr}},ot=function(fe,je){fe.frame||Ae(!1);var wt=fe.frame,kt=Ne(je,wt.scroll.initial),qt=oe(kt),ar=Object(m.a)({},wt,{scroll:{initial:wt.scroll.initial,current:je,diff:{value:kt,displacement:qt},max:wt.scroll.max}}),lr=tt({page:fe.subject.page,withPlaceholder:fe.subject.withPlaceholder,axis:fe.axis,frame:ar}),yr=Object(m.a)({},fe,{frame:ar,subject:lr});return yr};function Ve(at){return Number.isInteger?Number.isInteger(at):typeof at=="number"&&isFinite(at)&&Math.floor(at)===at}function se(at){return Object.values?Object.values(at):Object.keys(at).map(function(fe){return at[fe]})}function re(at,fe){if(at.findIndex)return at.findIndex(fe);for(var je=0;je<at.length;je++)if(fe(at[je]))return je;return-1}function it(at,fe){if(at.find)return at.find(fe);var je=re(at,fe);return je!==-1?at[je]:void 0}function qe(at){return Array.prototype.slice.call(at)}var be=C(function(at){return at.reduce(function(fe,je){return fe[je.descriptor.id]=je,fe},{})}),Zt=C(function(at){return at.reduce(function(fe,je){return fe[je.descriptor.id]=je,fe},{})}),dt=C(function(at){return se(at)}),ct=C(function(at){return se(at)}),yt=C(function(at,fe){var je=ct(fe).filter(function(wt){return at===wt.descriptor.droppableId}).sort(function(wt,kt){return wt.descriptor.index-kt.descriptor.index});return je});function _t(at){return at.at&&at.at.type==="REORDER"?at.at.destination:null}function or(at){return at.at&&at.at.type==="COMBINE"?at.at.combine:null}var Bt=C(function(at,fe){return fe.filter(function(je){return je.descriptor.id!==at.descriptor.id})}),we=function(fe){var je=fe.isMovingForward,wt=fe.draggable,kt=fe.destination,qt=fe.insideDestination,ar=fe.previousImpact;if(!kt.isCombineEnabled)return null;var lr=_t(ar);if(!lr)return null;function yr(ei){var ci={type:"COMBINE",combine:{draggableId:ei,droppableId:kt.descriptor.id}};return Object(m.a)({},ar,{at:ci})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(je)return Xr?yr(Xr):null;var Br=Bt(wt,qt);if(!Xr){if(!Br.length)return null;var kr=Br[Br.length-1];return yr(kr.descriptor.id)}var Gr=re(Br,function(ei){return ei.descriptor.id===Xr});Gr!==-1||Ae(!1);var dn=Gr-1;if(dn<0)return null;var pn=Br[dn];return yr(pn.descriptor.id)},ve=function(fe,je){return fe.descriptor.droppableId===je.descriptor.id},me={point:ye,value:0},he={invisible:{},visible:{},all:[]},Re={displaced:he,displacedBy:me,at:null},He=function(fe,je){return function(wt){return fe<=wt&&wt<=je}},ze=function(fe){var je=He(fe.top,fe.bottom),wt=He(fe.left,fe.right);return function(kt){var qt=je(kt.top)&&je(kt.bottom)&&wt(kt.left)&&wt(kt.right);if(qt)return!0;var ar=je(kt.top)||je(kt.bottom),lr=wt(kt.left)||wt(kt.right),yr=ar&&lr;if(yr)return!0;var Vr=kt.top<fe.top&&kt.bottom>fe.bottom,Xr=kt.left<fe.left&&kt.right>fe.right,Br=Vr&&Xr;if(Br)return!0;var kr=Vr&&lr||Xr&&ar;return kr}},Ye=function(fe){var je=He(fe.top,fe.bottom),wt=He(fe.left,fe.right);return function(kt){var qt=je(kt.top)&&je(kt.bottom)&&wt(kt.left)&&wt(kt.right);return qt}},Pe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},nt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},bt=function(fe){return function(je){var wt=He(je.top,je.bottom),kt=He(je.left,je.right);return function(qt){return fe===Pe?wt(qt.top)&&wt(qt.bottom):kt(qt.left)&&kt(qt.right)}}},Ot=function(fe,je){var wt=je.frame?je.frame.scroll.diff.displacement:ye;return Be(fe,wt)},ae=function(fe,je,wt){return je.subject.active?wt(je.subject.active)(fe):!1},pe=function(fe,je,wt){return wt(je)(fe)},J=function(fe){var je=fe.target,wt=fe.destination,kt=fe.viewport,qt=fe.withDroppableDisplacement,ar=fe.isVisibleThroughFrameFn,lr=qt?Ot(je,wt):je;return ae(lr,wt,ar)&&pe(lr,kt,ar)},ne=function(fe){return J(Object(m.a)({},fe,{isVisibleThroughFrameFn:ze}))},xe=function(fe){return J(Object(m.a)({},fe,{isVisibleThroughFrameFn:Ye}))},De=function(fe){return J(Object(m.a)({},fe,{isVisibleThroughFrameFn:bt(fe.destination.axis)}))},Fe=function(fe,je,wt){if(typeof wt=="boolean")return wt;if(!je)return!0;var kt=je.invisible,qt=je.visible;if(kt[fe])return!1;var ar=qt[fe];return ar?ar.shouldAnimate:!0};function $e(at,fe){var je=at.page.marginBox,wt={top:fe.point.y,right:0,bottom:0,left:fe.point.x};return n(l(je,wt))}function vt(at){var fe=at.afterDragging,je=at.destination,wt=at.displacedBy,kt=at.viewport,qt=at.forceShouldAnimate,ar=at.last;return fe.reduce(function(yr,Vr){var Xr=$e(Vr,wt),Br=Vr.descriptor.id;yr.all.push(Br);var kr=ne({target:Xr,destination:je,viewport:kt,withDroppableDisplacement:!0});if(!kr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Gr=Fe(Br,ar,qt),dn={draggableId:Br,shouldAnimate:Gr};return yr.visible[Br]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(at,fe){if(!at.length)return 0;var je=at[at.length-1].descriptor.index;return fe.inHomeList?je:je+1}function $t(at){var fe=at.insideDestination,je=at.inHomeList,wt=at.displacedBy,kt=at.destination,qt=Wt(fe,{inHomeList:je});return{displaced:he,displacedBy:wt,at:{type:"REORDER",destination:{droppableId:kt.descriptor.id,index:qt}}}}function Rt(at){var fe=at.draggable,je=at.insideDestination,wt=at.destination,kt=at.viewport,qt=at.displacedBy,ar=at.last,lr=at.index,yr=at.forceShouldAnimate,Vr=ve(fe,wt);if(lr==null)return $t({insideDestination:je,inHomeList:Vr,displacedBy:qt,destination:wt});var Xr=it(je,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:je,inHomeList:Vr,displacedBy:qt,destination:wt});var Br=Bt(fe,je),kr=je.indexOf(Xr),Gr=Br.slice(kr),dn=vt({afterDragging:Gr,destination:wt,displacedBy:qt,last:ar,viewport:kt.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:wt.descriptor.id,index:lr}}}}function Kt(at,fe){return Boolean(fe.effected[at])}var Gt=function(fe){var je=fe.isMovingForward,wt=fe.destination,kt=fe.draggables,qt=fe.combine,ar=fe.afterCritical;if(!wt.isCombineEnabled)return null;var lr=qt.draggableId,yr=kt[lr],Vr=yr.descriptor.index,Xr=Kt(lr,ar);return Xr?je?Vr:Vr-1:je?Vr+1:Vr},Qt=function(fe){var je=fe.isMovingForward,wt=fe.isInHomeList,kt=fe.insideDestination,qt=fe.location;if(!kt.length)return null;var ar=qt.index,lr=je?ar+1:ar-1,yr=kt[0].descriptor.index,Vr=kt[kt.length-1].descriptor.index,Xr=wt?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(fe){var je=fe.isMovingForward,wt=fe.isInHomeList,kt=fe.draggable,qt=fe.draggables,ar=fe.destination,lr=fe.insideDestination,yr=fe.previousImpact,Vr=fe.viewport,Xr=fe.afterCritical,Br=yr.at;if(Br||Ae(!1),Br.type==="REORDER"){var kr=Qt({isMovingForward:je,isInHomeList:wt,location:Br.destination,insideDestination:lr});return kr==null?null:Rt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:kr})}var Gr=Gt({isMovingForward:je,destination:ar,displaced:yr.displaced,draggables:qt,combine:Br.combine,afterCritical:Xr});return Gr==null?null:Rt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Gr})},dr=function(fe){var je=fe.displaced,wt=fe.afterCritical,kt=fe.combineWith,qt=fe.displacedBy,ar=Boolean(je.visible[kt]||je.invisible[kt]);return Kt(kt,wt)?ar?ye:oe(qt.point):ar?qt.point:ye},er=function(fe){var je=fe.afterCritical,wt=fe.impact,kt=fe.draggables,qt=or(wt);qt||Ae(!1);var ar=qt.draggableId,lr=kt[ar].page.borderBox.center,yr=dr({displaced:wt.displaced,afterCritical:je,combineWith:ar,displacedBy:wt.displacedBy});return ue(lr,yr)},st=function(fe,je){return je.margin[fe.start]+je.borderBox[fe.size]/2},xt=function(fe,je){return je.margin[fe.end]+je.borderBox[fe.size]/2},ut=function(fe,je,wt){return je[fe.crossAxisStart]+wt.margin[fe.crossAxisStart]+wt.borderBox[fe.crossAxisSize]/2},pt=function(fe){var je=fe.axis,wt=fe.moveRelativeTo,kt=fe.isMoving;return de(je.line,wt.marginBox[je.end]+st(je,kt),ut(je,wt.marginBox,kt))},It=function(fe){var je=fe.axis,wt=fe.moveRelativeTo,kt=fe.isMoving;return de(je.line,wt.marginBox[je.start]-xt(je,kt),ut(je,wt.marginBox,kt))},Tt=function(fe){var je=fe.axis,wt=fe.moveInto,kt=fe.isMoving;return de(je.line,wt.contentBox[je.start]+st(je,kt),ut(je,wt.contentBox,kt))},ft=function(fe){var je=fe.impact,wt=fe.draggable,kt=fe.draggables,qt=fe.droppable,ar=fe.afterCritical,lr=yt(qt.descriptor.id,kt),yr=wt.page,Vr=qt.axis;if(!lr.length)return Tt({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=je.displaced,Br=je.displacedBy,kr=Xr.all[0];if(kr){var Gr=kt[kr];if(Kt(kr,ar))return It({axis:Vr,moveRelativeTo:Gr.page,isMoving:yr});var dn=E(Gr.page,Br.point);return It({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===wt.descriptor.id)return yr.borderBox.center;if(Kt(pn.descriptor.id,ar)){var ei=E(pn.page,oe(ar.displacedBy.point));return pt({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return pt({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(fe,je){var wt=fe.frame;return wt?ue(je,wt.scroll.diff.displacement):je},Ft=function(fe){var je=fe.impact,wt=fe.draggable,kt=fe.droppable,qt=fe.draggables,ar=fe.afterCritical,lr=wt.page.borderBox.center,yr=je.at;return kt&&yr?yr.type==="REORDER"?ft({impact:je,draggable:wt,draggables:qt,droppable:kt,afterCritical:ar}):er({impact:je,draggables:qt,afterCritical:ar}):lr},ir=function(fe){var je=Ft(fe),wt=fe.droppable,kt=wt?Ht(wt,je):je;return kt},Xt=function(fe,je){var wt=Ne(je,fe.scroll.initial),kt=oe(wt),qt=n({top:je.y,bottom:je.y+fe.frame.height,left:je.x,right:je.x+fe.frame.width}),ar={frame:qt,scroll:{initial:fe.scroll.initial,max:fe.scroll.max,current:je,diff:{value:wt,displacement:kt}}};return ar};function mr(at,fe){return at.map(function(je){return fe[je]})}function Ar(at,fe){for(var je=0;je<fe.length;je++){var wt=fe[je].visible[at];if(wt)return wt}return null}var Nr=function(fe){var je=fe.impact,wt=fe.viewport,kt=fe.destination,qt=fe.draggables,ar=fe.maxScrollChange,lr=Xt(wt,ue(wt.scroll.current,ar)),yr=kt.frame?ot(kt,ue(kt.frame.scroll.current,ar)):kt,Vr=je.displaced,Xr=vt({afterDragging:mr(Vr.all,qt),destination:kt,displacedBy:je.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Br=vt({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:je.displacedBy,viewport:wt.frame,last:Vr,forceShouldAnimate:!1}),kr={},Gr={},dn=[Vr,Xr,Br];Vr.all.forEach(function(ei){var ci=Ar(ei,dn);if(ci){Gr[ei]=ci;return}kr[ei]=!0});var pn=Object(m.a)({},je,{displaced:{all:Vr.all,invisible:kr,visible:Gr}});return pn},Fr=function(fe,je){return ue(fe.scroll.diff.displacement,je)},tn=function(fe){var je=fe.pageBorderBoxCenter,wt=fe.draggable,kt=fe.viewport,qt=Fr(kt,je),ar=Ne(qt,wt.page.borderBox.center);return ue(wt.client.borderBox.center,ar)},qr=function(fe){var je=fe.draggable,wt=fe.destination,kt=fe.newPageBorderBoxCenter,qt=fe.viewport,ar=fe.withDroppableDisplacement,lr=fe.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=Ne(kt,je.page.borderBox.center),Xr=Be(je.page.borderBox,Vr),Br={target:Xr,destination:wt,withDroppableDisplacement:ar,viewport:qt};return yr?De(Br):xe(Br)},Lr=function(fe){var je=fe.isMovingForward,wt=fe.draggable,kt=fe.destination,qt=fe.draggables,ar=fe.previousImpact,lr=fe.viewport,yr=fe.previousPageBorderBoxCenter,Vr=fe.previousClientSelection,Xr=fe.afterCritical;if(!kt.isEnabled)return null;var Br=yt(kt.descriptor.id,qt),kr=ve(wt,kt),Gr=we({isMovingForward:je,draggable:wt,destination:kt,insideDestination:Br,previousImpact:ar})||Mt({isMovingForward:je,isInHomeList:kr,draggable:wt,draggables:qt,destination:kt,insideDestination:Br,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:wt,droppable:kt,draggables:qt,afterCritical:Xr}),pn=qr({draggable:wt,destination:kt,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:wt,viewport:lr});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ci=Ne(dn,yr),ii=Nr({impact:Gr,viewport:lr,destination:kt,draggables:qt,maxScrollChange:ci});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ci}},Qr=function(fe){var je=fe.subject.active;return je||Ae(!1),je},_r=function(fe){var je=fe.isMovingForward,wt=fe.pageBorderBoxCenter,kt=fe.source,qt=fe.droppables,ar=fe.viewport,lr=kt.subject.active;if(!lr)return null;var yr=kt.axis,Vr=He(lr[yr.start],lr[yr.end]),Xr=dt(qt).filter(function(kr){return kr!==kt}).filter(function(kr){return kr.isEnabled}).filter(function(kr){return Boolean(kr.subject.active)}).filter(function(kr){return ze(ar.frame)(Qr(kr))}).filter(function(kr){var Gr=Qr(kr);return je?lr[yr.crossAxisEnd]<Gr[yr.crossAxisEnd]:Gr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(kr){var Gr=Qr(kr),dn=He(Gr[yr.start],Gr[yr.end]);return Vr(Gr[yr.start])||Vr(Gr[yr.end])||dn(lr[yr.start])||dn(lr[yr.end])}).sort(function(kr,Gr){var dn=Qr(kr)[yr.crossAxisStart],pn=Qr(Gr)[yr.crossAxisStart];return je?dn-pn:pn-dn}).filter(function(kr,Gr,dn){return Qr(kr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Br=Xr.filter(function(kr){var Gr=He(Qr(kr)[yr.start],Qr(kr)[yr.end]);return Gr(wt[yr.line])});return Br.length===1?Br[0]:Br.length>1?Br.sort(function(kr,Gr){return Qr(kr)[yr.start]-Qr(Gr)[yr.start]})[0]:Xr.sort(function(kr,Gr){var dn=Ge(wt,Dt(Qr(kr))),pn=Ge(wt,Dt(Qr(Gr)));return dn!==pn?dn-pn:Qr(kr)[yr.start]-Qr(Gr)[yr.start]})[0]},ur=function(fe,je){var wt=fe.page.borderBox.center;return Kt(fe.descriptor.id,je)?Ne(wt,je.displacedBy.point):wt},pr=function(fe,je){var wt=fe.page.borderBox;return Kt(fe.descriptor.id,je)?Be(wt,oe(je.displacedBy.point)):wt},cr=function(fe){var je=fe.pageBorderBoxCenter,wt=fe.viewport,kt=fe.destination,qt=fe.insideDestination,ar=fe.afterCritical,lr=qt.filter(function(yr){return xe({target:pr(yr,ar),destination:kt,viewport:wt.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=Le(je,Ht(kt,ur(yr,ar))),Br=Le(je,Ht(kt,ur(Vr,ar)));return Xr<Br?-1:Br<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=C(function(fe,je){var wt=je[fe.line];return{value:wt,point:de(fe.line,wt)}}),xr=function(fe,je,wt){var kt=fe.axis;if(fe.descriptor.mode==="virtual")return de(kt.line,je[kt.line]);var qt=fe.subject.page.contentBox[kt.size],ar=yt(fe.descriptor.id,wt),lr=ar.reduce(function(Xr,Br){return Xr+Br.client.marginBox[kt.size]},0),yr=lr+je[kt.line],Vr=yr-qt;return Vr<=0?null:de(kt.line,Vr)},Yr=function(fe,je){return Object(m.a)({},fe,{scroll:Object(m.a)({},fe.scroll,{max:je})})},un=function(fe,je,wt){var kt=fe.frame;ve(je,fe)&&Ae(!1),fe.subject.withPlaceholder&&Ae(!1);var qt=fr(fe.axis,je.displaceBy).point,ar=xr(fe,qt,wt),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:fe.frame?fe.frame.scroll.max:null};if(!kt){var yr=tt({page:fe.subject.page,withPlaceholder:lr,axis:fe.axis,frame:fe.frame});return Object(m.a)({},fe,{subject:yr})}var Vr=ar?ue(kt.scroll.max,ar):kt.scroll.max,Xr=Yr(kt,Vr),Br=tt({page:fe.subject.page,withPlaceholder:lr,axis:fe.axis,frame:Xr});return Object(m.a)({},fe,{subject:Br,frame:Xr})},Nn=function(fe){var je=fe.subject.withPlaceholder;je||Ae(!1);var wt=fe.frame;if(!wt){var kt=tt({page:fe.subject.page,axis:fe.axis,frame:null,withPlaceholder:null});return Object(m.a)({},fe,{subject:kt})}var qt=je.oldFrameMaxScroll;qt||Ae(!1);var ar=Yr(wt,qt),lr=tt({page:fe.subject.page,axis:fe.axis,frame:ar,withPlaceholder:null});return Object(m.a)({},fe,{subject:lr,frame:ar})},jr=function(fe){var je=fe.previousPageBorderBoxCenter,wt=fe.moveRelativeTo,kt=fe.insideDestination,qt=fe.draggable,ar=fe.draggables,lr=fe.destination,yr=fe.viewport,Vr=fe.afterCritical;if(!wt){if(kt.length)return null;var Xr={displaced:he,displacedBy:me,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Br=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),kr=ve(qt,lr)?lr:un(lr,qt,ar),Gr=qr({draggable:qt,destination:kr,newPageBorderBoxCenter:Br,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Xr:null}var dn=Boolean(je[lr.axis.line]<=wt.page.borderBox.center[lr.axis.line]),pn=function(){var ci=wt.descriptor.index;return wt.descriptor.id===qt.descriptor.id||dn?ci:ci+1}(),ei=fr(lr.axis,qt.displaceBy);return Rt({draggable:qt,insideDestination:kt,destination:lr,viewport:yr,displacedBy:ei,last:he,index:pn})},Tn=function(fe){var je=fe.isMovingForward,wt=fe.previousPageBorderBoxCenter,kt=fe.draggable,qt=fe.isOver,ar=fe.draggables,lr=fe.droppables,yr=fe.viewport,Vr=fe.afterCritical,Xr=_r({isMovingForward:je,pageBorderBoxCenter:wt,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Br=yt(Xr.descriptor.id,ar),kr=cr({pageBorderBoxCenter:wt,viewport:yr,destination:Xr,insideDestination:Br,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:wt,destination:Xr,draggable:kt,draggables:ar,moveRelativeTo:kr,insideDestination:Br,viewport:yr,afterCritical:Vr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:kt,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:kt,viewport:yr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(fe){var je=fe.at;return je?je.type==="REORDER"?je.destination.droppableId:je.combine.droppableId:null},Pn=function(fe,je){var wt=gn(fe);return wt?je[wt]:null},zn=function(fe){var je=fe.state,wt=fe.type,kt=Pn(je.impact,je.dimensions.droppables),qt=Boolean(kt),ar=je.dimensions.droppables[je.critical.droppable.id],lr=kt||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(wt==="MOVE_UP"||wt==="MOVE_DOWN")||yr==="horizontal"&&(wt==="MOVE_LEFT"||wt==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=wt==="MOVE_DOWN"||wt==="MOVE_RIGHT",Br=je.dimensions.draggables[je.critical.draggable.id],kr=je.current.page.borderBoxCenter,Gr=je.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?Lr({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Br,destination:lr,draggables:dn,viewport:je.viewport,previousClientSelection:je.current.client.selection,previousImpact:je.impact,afterCritical:je.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Br,isOver:lr,draggables:dn,droppables:pn,viewport:je.viewport,afterCritical:je.afterCritical})};function qn(at){return at.phase==="DRAGGING"||at.phase==="COLLECTING"}function Yn(at){var fe=He(at.top,at.bottom),je=He(at.left,at.right);return function(kt){return fe(kt.y)&&je(kt.x)}}function Vn(at,fe){return at.left<fe.right&&at.right>fe.left&&at.top<fe.bottom&&at.bottom>fe.top}function An(at){var fe=at.pageBorderBox,je=at.draggable,wt=at.candidates,kt=je.page.borderBox.center,qt=wt.map(function(ar){var lr=ar.axis,yr=de(ar.axis.line,fe.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:Le(kt,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(at){var fe=at.pageBorderBox,je=at.draggable,wt=at.droppables,kt=dt(wt).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(fe,ar))return!1;if(Yn(ar)(fe.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=fe[lr.crossAxisStart],Xr=fe[lr.crossAxisEnd],Br=He(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),kr=Br(Vr),Gr=Br(Xr);return!kr&&!Gr?!0:kr?Vr<yr:Xr>yr});return kt.length?kt.length===1?kt[0].descriptor.id:An({pageBorderBox:fe,draggable:je,candidates:kt}):null}var ia=function(fe,je){return n(Be(fe,je))},xa=function(fe,je){var wt=fe.frame;return wt?ia(je,wt.scroll.diff.value):je};function ta(at){var fe=at.displaced,je=at.id;return Boolean(fe.visible[je]||fe.invisible[je])}function _i(at){var fe=at.draggable,je=at.closest,wt=at.inHomeList;return je?wt&&je.descriptor.index>fe.descriptor.index?je.descriptor.index-1:je.descriptor.index:null}var Ci=function(fe){var je=fe.pageBorderBoxWithDroppableScroll,wt=fe.draggable,kt=fe.destination,qt=fe.insideDestination,ar=fe.last,lr=fe.viewport,yr=fe.afterCritical,Vr=kt.axis,Xr=fr(kt.axis,wt.displaceBy),Br=Xr.value,kr=je[Vr.start],Gr=je[Vr.end],dn=Bt(wt,qt),pn=it(dn,function(ci){var ii=ci.descriptor.id,Ji=ci.page.borderBox.center[Vr.line],Si=Kt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Gr<=Ji:kr<Ji-Br:Va?Gr<=Ji+Br:kr<Ji}),ei=_i({draggable:wt,closest:pn,inHomeList:ve(wt,kt)});return Rt({draggable:wt,insideDestination:qt,destination:kt,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Gn=4,Oa=function(fe){var je=fe.draggable,wt=fe.pageBorderBoxWithDroppableScroll,kt=fe.previousImpact,qt=fe.destination,ar=fe.insideDestination,lr=fe.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,je.displaceBy),Xr=Vr.value,Br=wt[yr.start],kr=wt[yr.end],Gr=Bt(je,ar),dn=it(Gr,function(ei){var ci=ei.descriptor.id,ii=ei.page.borderBox,Ji=ii[yr.size],Si=Ji/Gn,Va=Kt(ci,lr),Ei=ta({displaced:kt.displaced,id:ci});return Va?Ei?kr>ii[yr.start]+Si&&kr<ii[yr.end]-Si:Br>ii[yr.start]-Xr+Si&&Br<ii[yr.end]-Xr-Si:Ei?kr>ii[yr.start]+Xr+Si&&kr<ii[yr.end]+Xr-Si:Br>ii[yr.start]+Si&&Br<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:kt.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(fe){var je=fe.pageOffset,wt=fe.draggable,kt=fe.draggables,qt=fe.droppables,ar=fe.previousImpact,lr=fe.viewport,yr=fe.afterCritical,Vr=ia(wt.page.borderBox,je),Xr=on({pageBorderBox:Vr,draggable:wt,droppables:qt});if(!Xr)return Re;var Br=qt[Xr],kr=yt(Br.descriptor.id,kt),Gr=xa(Br,Vr);return Oa({pageBorderBoxWithDroppableScroll:Gr,draggable:wt,previousImpact:ar,destination:Br,insideDestination:kr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:wt,destination:Br,insideDestination:kr,last:ar.displaced,viewport:lr,afterCritical:yr})},On=function(fe,je){var wt;return Object(m.a)({},fe,(wt={},wt[je.descriptor.id]=je,wt))},Ln=function(fe){var je=fe.previousImpact,wt=fe.impact,kt=fe.droppables,qt=gn(je),ar=gn(wt);if(!qt)return kt;if(qt===ar)return kt;var lr=kt[qt];if(!lr.subject.withPlaceholder)return kt;var yr=Nn(lr);return On(kt,yr)},_n=function(fe){var je=fe.draggable,wt=fe.draggables,kt=fe.droppables,qt=fe.previousImpact,ar=fe.impact,lr=Ln({previousImpact:qt,impact:ar,droppables:kt}),yr=gn(ar);if(!yr)return lr;var Vr=kt[yr];if(ve(je,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=un(Vr,je,wt);return On(lr,Xr)},jn=function(fe){var je=fe.state,wt=fe.clientSelection,kt=fe.dimensions,qt=fe.viewport,ar=fe.impact,lr=fe.scrollJumpRequest,yr=qt||je.viewport,Vr=kt||je.dimensions,Xr=wt||je.current.client.selection,Br=Ne(Xr,je.initial.client.selection),kr={offset:Br,selection:Xr,borderBoxCenter:ue(je.initial.client.borderBoxCenter,Br)},Gr={selection:ue(kr.selection,yr.scroll.current),borderBoxCenter:ue(kr.borderBoxCenter,yr.scroll.current),offset:ue(kr.offset,yr.scroll.diff.value)},dn={client:kr,page:Gr};if(je.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},je,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[je.critical.draggable.id],ei=ar||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:je.impact,viewport:yr,afterCritical:je.afterCritical}),ci=_n({draggable:pn,impact:ei,previousImpact:je.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(m.a)({},je,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ci},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(at,fe){return at.map(function(je){return fe[je]})}var di=function(fe){var je=fe.impact,wt=fe.viewport,kt=fe.draggables,qt=fe.destination,ar=fe.forceShouldAnimate,lr=je.displaced,yr=ni(lr.all,kt),Vr=vt({afterDragging:yr,destination:qt,displacedBy:je.displacedBy,viewport:wt.frame,forceShouldAnimate:ar,last:lr});return Object(m.a)({},je,{displaced:Vr})},Na=function(fe){var je=fe.impact,wt=fe.draggable,kt=fe.droppable,qt=fe.draggables,ar=fe.viewport,lr=fe.afterCritical,yr=ir({impact:je,draggable:wt,draggables:qt,droppable:kt,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:wt,viewport:ar})},Qi=function(fe){var je=fe.state,wt=fe.dimensions,kt=fe.viewport;je.movementMode==="SNAP"||Ae(!1);var qt=je.impact,ar=kt||je.viewport,lr=wt||je.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[je.critical.draggable.id],Br=gn(qt);Br||Ae(!1);var kr=Vr[Br],Gr=di({impact:qt,viewport:ar,destination:kr,draggables:yr}),dn=Na({impact:Gr,draggable:Xr,droppable:kr,draggables:yr,viewport:ar,afterCritical:je.afterCritical});return jn({impact:Gr,clientSelection:dn,state:je,dimensions:lr,viewport:ar})},ma=function(fe){return{index:fe.index,droppableId:fe.droppableId}},Ba=function(fe){var je=fe.draggable,wt=fe.home,kt=fe.draggables,qt=fe.viewport,ar=fr(wt.axis,je.displaceBy),lr=yt(wt.descriptor.id,kt),yr=lr.indexOf(je);yr!==-1||Ae(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Br={inVirtualList:wt.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},kr=vt({afterDragging:Vr,destination:wt,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Gr={displaced:kr,displacedBy:ar,at:{type:"REORDER",destination:ma(je.descriptor)}};return{impact:Gr,afterCritical:Br}},Qa=function(fe,je){return{draggables:fe.draggables,droppables:On(fe.droppables,je)}},Wi=function(fe){},Co=function(fe){},aa=function(fe){var je=fe.draggable,wt=fe.offset,kt=fe.initialWindowScroll,qt=E(je.client,wt),ar=A(qt,kt),lr=Object(m.a)({},je,{placeholder:Object(m.a)({},je.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(fe){var je=fe.frame;return je||Ae(!1),je},ga=function(fe){var je=fe.additions,wt=fe.updatedDroppables,kt=fe.viewport,qt=kt.scroll.diff.value;return je.map(function(ar){var lr=ar.descriptor.droppableId,yr=wt[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Br=ue(qt,Xr),kr=aa({draggable:ar,offset:Br,initialWindowScroll:kt.scroll.initial});return kr})},ha=function(fe){var je=fe.state,wt=fe.published;Wi();var kt=wt.modified.map(function(Si){var Va=je.dimensions.droppables[Si.droppableId],Ei=ot(Va,Si.scroll);return Ei}),qt=Object(m.a)({},je.dimensions.droppables,{},be(kt)),ar=Zt(ga({additions:wt.additions,updatedDroppables:qt,viewport:je.viewport})),lr=Object(m.a)({},je.dimensions.draggables,{},ar);wt.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(je.impact),Xr=Vr?yr.droppables[Vr]:null,Br=yr.draggables[je.critical.draggable.id],kr=yr.droppables[je.critical.droppable.id],Gr=Ba({draggable:Br,home:kr,draggables:lr,viewport:je.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Xr&&Xr.isCombineEnabled?je.impact:dn,ci=mn({pageOffset:je.current.page.offset,draggable:yr.draggables[je.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:je.viewport,afterCritical:pn});Co();var ii=Object(m.a)({phase:"DRAGGING"},je,{phase:"DRAGGING",impact:ci,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(je.phase==="COLLECTING")return ii;var Ji=Object(m.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:je.reason,isWaiting:!1});return Ji},mo=function(fe){return fe.movementMode==="SNAP"},kn=function(fe,je,wt){var kt=Qa(fe.dimensions,je);return!mo(fe)||wt?jn({state:fe,dimensions:kt}):Qi({state:fe,dimensions:kt})};function $i(at){return at.isDragging&&at.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},at,{scrollJumpRequest:null}):at}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(fe,je){if(fe===void 0&&(fe=eo),je.type==="FLUSH")return Object(m.a)({},eo,{shouldFlush:!0});if(je.type==="INITIAL_PUBLISH"){fe.phase==="IDLE"||Ae(!1);var wt=je.payload,kt=wt.critical,qt=wt.clientSelection,ar=wt.viewport,lr=wt.dimensions,yr=wt.movementMode,Vr=lr.draggables[kt.draggable.id],Xr=lr.droppables[kt.droppable.id],Br={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:ye},kr={client:Br,page:{selection:ue(Br.selection,ar.scroll.initial),borderBoxCenter:ue(Br.selection,ar.scroll.initial),offset:ue(Br.selection,ar.scroll.diff.value)}},Gr=dt(lr.droppables).every(function(te){return!te.isFixedOnPage}),dn=Ba({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ci={phase:"DRAGGING",isDragging:!0,critical:kt,movementMode:yr,dimensions:lr,initial:kr,current:kr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ci}if(je.type==="COLLECTION_STARTING"){if(fe.phase==="COLLECTING"||fe.phase==="DROP_PENDING")return fe;fe.phase==="DRAGGING"||Ae(!1);var ii=Object(m.a)({phase:"COLLECTING"},fe,{phase:"COLLECTING"});return ii}if(je.type==="PUBLISH_WHILE_DRAGGING")return fe.phase==="COLLECTING"||fe.phase==="DROP_PENDING"||Ae(!1),ha({state:fe,published:je.payload});if(je.type==="MOVE"){if(fe.phase==="DROP_PENDING")return fe;qn(fe)||Ae(!1);var Ji=je.payload.client;return Te(Ji,fe.current.client.selection)?fe:jn({state:fe,clientSelection:Ji,impact:mo(fe)?fe.impact:null})}if(je.type==="UPDATE_DROPPABLE_SCROLL"){if(fe.phase==="DROP_PENDING")return $i(fe);if(fe.phase==="COLLECTING")return $i(fe);qn(fe)||Ae(!1);var Si=je.payload,Va=Si.id,Ei=Si.newScroll,co=fe.dimensions.droppables[Va];if(!co)return fe;var Ko=ot(co,Ei);return kn(fe,Ko,!1)}if(je.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(fe.phase==="DROP_PENDING")return fe;qn(fe)||Ae(!1);var ao=je.payload,Uo=ao.id,I=ao.isEnabled,M=fe.dimensions.droppables[Uo];M||Ae(!1),M.isEnabled!==I||Ae(!1);var Z=Object(m.a)({},M,{isEnabled:I});return kn(fe,Z,!0)}if(je.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(fe.phase==="DROP_PENDING")return fe;qn(fe)||Ae(!1);var ee=je.payload,ie=ee.id,Me=ee.isCombineEnabled,mt=fe.dimensions.droppables[ie];mt||Ae(!1),mt.isCombineEnabled!==Me||Ae(!1);var Nt=Object(m.a)({},mt,{isCombineEnabled:Me});return kn(fe,Nt,!0)}if(je.type==="MOVE_BY_WINDOW_SCROLL"){if(fe.phase==="DROP_PENDING"||fe.phase==="DROP_ANIMATING")return fe;qn(fe)||Ae(!1),fe.isWindowScrollAllowed||Ae(!1);var zt=je.payload.newScroll;if(Te(fe.viewport.scroll.current,zt))return $i(fe);var Yt=Xt(fe.viewport,zt);return mo(fe)?Qi({state:fe,viewport:Yt}):jn({state:fe,viewport:Yt})}if(je.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(fe))return fe;var Cr=je.payload.maxScroll;if(Te(Cr,fe.viewport.scroll.max))return fe;var Ur=Object(m.a)({},fe.viewport,{scroll:Object(m.a)({},fe.viewport.scroll,{max:Cr})});return Object(m.a)({phase:"DRAGGING"},fe,{viewport:Ur})}if(je.type==="MOVE_UP"||je.type==="MOVE_DOWN"||je.type==="MOVE_LEFT"||je.type==="MOVE_RIGHT"){if(fe.phase==="COLLECTING"||fe.phase==="DROP_PENDING")return fe;fe.phase==="DRAGGING"||Ae(!1);var en=zn({state:fe,type:je.type});return en?jn({state:fe,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):fe}if(je.type==="DROP_PENDING"){var nn=je.payload.reason;fe.phase==="COLLECTING"||Ae(!1);var xn=Object(m.a)({phase:"DROP_PENDING"},fe,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(je.type==="DROP_ANIMATE"){var Bn=je.payload,Zn=Bn.completed,Jn=Bn.dropDuration,oi=Bn.newHomeClientOffset;fe.phase==="DRAGGING"||fe.phase==="DROP_PENDING"||Ae(!1);var li={phase:"DROP_ANIMATING",completed:Zn,dropDuration:Jn,newHomeClientOffset:oi,dimensions:fe.dimensions};return li}if(je.type==="DROP_COMPLETE"){var Je=je.payload.completed;return{phase:"IDLE",completed:Je,shouldFlush:!1}}return fe},uo=function(fe){return{type:"BEFORE_INITIAL_CAPTURE",payload:fe}},rr=function(fe){return{type:"LIFT",payload:fe}},Tr=function(fe){return{type:"INITIAL_PUBLISH",payload:fe}},Pr=function(fe){return{type:"PUBLISH_WHILE_DRAGGING",payload:fe}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(fe){return{type:"UPDATE_DROPPABLE_SCROLL",payload:fe}},rt=function(fe){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:fe}},jt=function(fe){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:fe}},Jt=function(fe){return{type:"MOVE",payload:fe}},nr=function(fe){return{type:"MOVE_BY_WINDOW_SCROLL",payload:fe}},Or=function(fe){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:fe}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},zr=function(){return{type:"MOVE_RIGHT",payload:null}},Jr=function(){return{type:"MOVE_LEFT",payload:null}},Zr=function(){return{type:"FLUSH",payload:null}},an=function(fe){return{type:"DROP_ANIMATE",payload:fe}},St=function(fe){return{type:"DROP_COMPLETE",payload:fe}},Vt=function(fe){return{type:"DROP",payload:fe}},sr=function(fe){return{type:"DROP_PENDING",payload:fe}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(at){if(at.length<=1)return;for(var fe=at.map(function(lr){return lr.descriptor.index}),je={},wt=1;wt<fe.length;wt++){var kt=fe[wt],qt=fe[wt-1];kt!==qt+1&&(je[kt]=!0)}if(!Object.keys(je).length)return;var ar=fe.map(function(lr){var yr=Boolean(je[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(at,fe){if(!1)var je}var rn=function(fe){return function(je){var wt=je.getState,kt=je.dispatch;return function(qt){return function(ar){if(ar.type!=="LIFT"){qt(ar);return}var lr=ar.payload,yr=lr.id,Vr=lr.clientSelection,Xr=lr.movementMode,Br=wt();Br.phase==="DROP_ANIMATING"&&kt(St({completed:Br.completed})),wt().phase==="IDLE"||Ae(!1),kt(Zr()),kt(uo({draggableId:yr,movementMode:Xr}));var kr={shouldPublishImmediately:Xr==="SNAP"},Gr={draggableId:yr,scrollOptions:kr},dn=fe.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ci=dn.viewport;Dr(pn,ei),kt(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ci}))}}}},fn=function(fe){return function(){return function(je){return function(wt){wt.type==="INITIAL_PUBLISH"&&fe.dragging(),wt.type==="DROP_ANIMATE"&&fe.dropping(wt.payload.completed.result.reason),(wt.type==="FLUSH"||wt.type==="DROP_COMPLETE")&&fe.resting(),je(wt)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Mn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(fe){var je=fe+"s "+wn.drop;return"transform "+je+", opacity "+je},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(fe){return Te(fe,ye)?null:"translate("+fe.x+"px, "+fe.y+"px)"},Rn={moveTo:vn,drop:function(fe,je){var wt=vn(fe);return wt?je?wt+" scale("+Hn.scale.drop+")":wt:null}},En=Sn.minDropTime,In=Sn.maxDropTime,Xn=In-En,ai=1500,ri=.6,Di=function(fe){var je=fe.current,wt=fe.destination,kt=fe.reason,qt=Le(je,wt);if(qt<=0)return En;if(qt>=ai)return In;var ar=qt/ai,lr=En+Xn*ar,yr=kt==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(fe){var je=fe.impact,wt=fe.draggable,kt=fe.dimensions,qt=fe.viewport,ar=fe.afterCritical,lr=kt.draggables,yr=kt.droppables,Vr=gn(je),Xr=Vr?yr[Vr]:null,Br=yr[wt.descriptor.droppableId],kr=Na({impact:je,draggable:wt,draggables:lr,afterCritical:ar,droppable:Xr||Br,viewport:qt}),Gr=Ne(kr,wt.client.borderBox.center);return Gr},xi=function(fe){var je=fe.draggables,wt=fe.reason,kt=fe.lastImpact,qt=fe.home,ar=fe.viewport,lr=fe.onLiftImpact;if(!kt.at||wt!=="DROP"){var yr=di({draggables:je,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(kt.at.type==="REORDER")return{impact:kt,didDropInsideDroppable:!0};var Vr=Object(m.a)({},kt,{displaced:he});return{impact:Vr,didDropInsideDroppable:!0}},Li=function(fe){var je=fe.getState,wt=fe.dispatch;return function(kt){return function(qt){if(qt.type!=="DROP"){kt(qt);return}var ar=je(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){wt(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&Ae(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||Ae(!1);var Vr=ar.critical,Xr=ar.dimensions,Br=Xr.draggables[ar.critical.draggable.id],kr=xi({reason:lr,lastImpact:ar.impact,afterCritical:ar.afterCritical,onLiftImpact:ar.onLiftImpact,home:ar.dimensions.droppables[ar.critical.droppable.id],viewport:ar.viewport,draggables:ar.dimensions.draggables}),Gr=kr.impact,dn=kr.didDropInsideDroppable,pn=dn?_t(Gr):null,ei=dn?or(Gr):null,ci={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:Br.descriptor.id,type:Br.descriptor.type,source:ci,reason:lr,mode:ar.movementMode,destination:pn,combine:ei},Ji=yi({impact:Gr,draggable:Br,dimensions:Xr,viewport:ar.viewport,afterCritical:ar.afterCritical}),Si={critical:ar.critical,afterCritical:ar.afterCritical,result:ii,impact:Gr},Va=!Te(ar.current.client.offset,Ji)||Boolean(ii.combine);if(!Va){wt(St({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Ji,reason:lr}),co={newHomeClientOffset:Ji,dropDuration:Ei,completed:Si};wt(an(co))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(at){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(je){if(je.target!==window&&je.target!==window.document)return;at()}}}function fa(at){var fe=at.onWindowScroll;function je(){fe(Un())}var wt=N(je),kt=Ri(wt),qt=G;function ar(){return qt!==G}function lr(){ar()&&Ae(!1),qt=ge(window,[kt])}function yr(){ar()||Ae(!1),wt.cancel(),qt(),qt=G}return{start:lr,stop:yr,isActive:ar}}var Ui=function(fe){return fe.type==="DROP_COMPLETE"||fe.type==="DROP_ANIMATE"||fe.type==="FLUSH"},Mi=function(fe){var je=fa({onWindowScroll:function(kt){fe.dispatch(nr({newScroll:kt}))}});return function(wt){return function(kt){!je.isActive()&&kt.type==="INITIAL_PUBLISH"&&je.start(),je.isActive()&&Ui(kt)&&je.stop(),wt(kt)}}},mi=function(fe){var je=!1,wt=!1,kt=setTimeout(function(){wt=!0}),qt=function(lr){if(je)return;if(wt)return;je=!0,fe(lr),clearTimeout(kt)};return qt.wasCalled=function(){return je},qt},hi=function(){var fe=[],je=function(ar){var lr=re(fe,function(Xr){return Xr.timerId===ar});lr!==-1||Ae(!1);var yr=fe.splice(lr,1),Vr=yr[0];Vr.callback()},wt=function(ar){var lr=setTimeout(function(){return je(lr)}),yr={timerId:lr,callback:ar};fe.push(yr)},kt=function(){if(!fe.length)return;var ar=[].concat(fe);fe.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:wt,flush:kt}},qi=function(fe,je){return fe==null&&je==null?!0:fe==null||je==null?!1:fe.droppableId===je.droppableId&&fe.index===je.index},va=function(fe,je){return fe==null&&je==null?!0:fe==null||je==null?!1:fe.draggableId===je.draggableId&&fe.droppableId===je.droppableId},Ea=function(fe,je){if(fe===je)return!0;var wt=fe.draggable.id===je.draggable.id&&fe.draggable.droppableId===je.draggable.droppableId&&fe.draggable.type===je.draggable.type&&fe.draggable.index===je.draggable.index,kt=fe.droppable.id===je.droppable.id&&fe.droppable.type===je.droppable.type;return wt&&kt},ya=function(fe,je){Wi(),je(),Co()},oa=function(fe,je){return{draggableId:fe.draggable.id,type:fe.droppable.type,source:{droppableId:fe.droppable.id,index:fe.draggable.index},mode:je}},sa=function(fe,je,wt,kt){if(!fe){wt(kt(je));return}var qt=mi(wt),ar={announce:qt};fe(je,ar),qt.wasCalled()||wt(kt(je))},Ni=function(fe,je){var wt=hi(),kt=null,qt=function(Gr,dn){kt&&Ae(!1),ya("onBeforeCapture",function(){var pn=fe().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},ar=function(Gr,dn){kt&&Ae(!1),ya("onBeforeDragStart",function(){var pn=fe().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},lr=function(Gr,dn){kt&&Ae(!1);var pn=oa(Gr,dn);kt={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},wt.add(function(){ya("onDragStart",function(){return sa(fe().onDragStart,pn,je,Q.onDragStart)})})},yr=function(Gr,dn){var pn=_t(dn),ei=or(dn);kt||Ae(!1);var ci=!Ea(Gr,kt.lastCritical);ci&&(kt.lastCritical=Gr);var ii=!qi(kt.lastLocation,pn);ii&&(kt.lastLocation=pn);var Ji=!va(kt.lastCombine,ei);if(Ji&&(kt.lastCombine=ei),!ci&&!ii&&!Ji)return;var Si=Object(m.a)({},oa(Gr,kt.mode),{combine:ei,destination:pn});wt.add(function(){ya("onDragUpdate",function(){return sa(fe().onDragUpdate,Si,je,Q.onDragUpdate)})})},Vr=function(){kt||Ae(!1),wt.flush()},Xr=function(Gr){kt||Ae(!1),kt=null,ya("onDragEnd",function(){return sa(fe().onDragEnd,Gr,je,Q.onDragEnd)})},Br=function(){if(!kt)return;var Gr=Object(m.a)({},oa(kt.lastCritical,kt.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Gr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Br}},$n=function(fe,je){var wt=Ni(fe,je);return function(kt){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){wt.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;wt.beforeStart(lr,ar.payload.movementMode),qt(ar),wt.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;wt.flush(),qt(ar),wt.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){wt.abort();return}var Vr=kt.getState();Vr.phase==="DRAGGING"&&wt.update(Vr.critical,Vr.impact)}}}},Ai=function(fe){return function(je){return function(wt){if(wt.type!=="DROP_ANIMATION_FINISHED"){je(wt);return}var kt=fe.getState();kt.phase==="DROP_ANIMATING"||Ae(!1),fe.dispatch(St({completed:kt.completed}))}}},Ii=function(fe){var je=null,wt=null;function kt(){wt&&(cancelAnimationFrame(wt),wt=null),je&&(je(),je=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&kt(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=fe.getState();Vr.phase==="DROP_ANIMATING"&&fe.dispatch(br())}};wt=requestAnimationFrame(function(){wt=null,je=ge(window,[lr])})}}},Vi=function(fe){return function(){return function(je){return function(wt){(wt.type==="DROP_COMPLETE"||wt.type==="FLUSH"||wt.type==="DROP_ANIMATE")&&fe.stopPublishing(),je(wt)}}}},Xi=function(fe){var je=!1;return function(){return function(wt){return function(kt){if(kt.type==="INITIAL_PUBLISH"){je=!0,fe.tryRecordFocus(kt.payload.critical.draggable.id),wt(kt),fe.tryRestoreFocusRecorded();return}if(wt(kt),!je)return;if(kt.type==="FLUSH"){je=!1,fe.tryRestoreFocusRecorded();return}if(kt.type==="DROP_COMPLETE"){je=!1;var qt=kt.payload.completed.result;qt.combine&&fe.tryShiftRecord(qt.draggableId,qt.combine.draggableId),fe.tryRestoreFocusRecorded()}}}}},bi=function(fe){return fe.type==="DROP_COMPLETE"||fe.type==="DROP_ANIMATE"||fe.type==="FLUSH"},Aa=function(fe){return function(je){return function(wt){return function(kt){if(bi(kt)){fe.stop(),wt(kt);return}if(kt.type==="INITIAL_PUBLISH"){wt(kt);var qt=je.getState();qt.phase==="DRAGGING"||Ae(!1),fe.start(qt);return}wt(kt),fe.scroll(je.getState())}}}},ca=function(fe){return function(je){return function(wt){if(je(wt),wt.type!=="PUBLISH_WHILE_DRAGGING")return;var kt=fe.getState();if(kt.phase!=="DROP_PENDING")return;if(kt.isWaiting)return;fe.dispatch(Vt({reason:kt.reason}))}}},la=v.d,gi=function(fe){var je=fe.dimensionMarshal,wt=fe.focusMarshal,kt=fe.styleMarshal,qt=fe.getResponders,ar=fe.announce,lr=fe.autoScroller;return Object(v.e)(To,la(Object(v.a)(fn(kt),Vi(je),rn(je),Li,Ai,Ii,ca,Aa(lr),Mi,Xi(wt),$n(qt,ar))))},Pa=function(){return{additions:{},removals:{},modified:{}}};function Ma(at){var fe=at.registry,je=at.callbacks,wt=Pa(),kt=null,qt=function(){if(kt)return;je.collectionStarting(),kt=requestAnimationFrame(function(){kt=null,Wi();var Xr=wt,Br=Xr.additions,kr=Xr.removals,Gr=Xr.modified,dn=Object.keys(Br).map(function(ci){return fe.draggable.getById(ci).getDimension(ye)}).sort(function(ci,ii){return ci.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ci){var ii=fe.droppable.getById(ci),Ji=ii.callbacks.getScrollWhileDragging();return{droppableId:ci,scroll:Ji}}),ei={additions:dn,removals:Object.keys(kr),modified:pn};wt=Pa(),Co(),je.publish(ei)})},ar=function(Xr){var Br=Xr.descriptor.id;wt.additions[Br]=Xr,wt.modified[Xr.descriptor.droppableId]=!0,wt.removals[Br]&&delete wt.removals[Br],qt()},lr=function(Xr){var Br=Xr.descriptor;wt.removals[Br.id]=!0,wt.modified[Br.droppableId]=!0,wt.additions[Br.id]&&delete wt.additions[Br.id],qt()},yr=function(){if(!kt)return;cancelAnimationFrame(kt),kt=null,wt=Pa()};return{add:ar,remove:lr,stop:yr}}var ra=function(fe){var je=fe.scrollHeight,wt=fe.scrollWidth,kt=fe.height,qt=fe.width,ar=Ne({x:wt,y:je},{x:qt,y:kt}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Yi=function(){var fe=document.documentElement;return fe||Ae(!1),fe},Xa=function(){var fe=Yi(),je=ra({scrollHeight:fe.scrollHeight,scrollWidth:fe.scrollWidth,width:fe.clientWidth,height:fe.clientHeight});return je},Ki=function(){var fe=Un(),je=Xa(),wt=fe.y,kt=fe.x,qt=Yi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=kt+ar,Vr=wt+lr,Xr=n({top:wt,left:kt,right:yr,bottom:Vr}),Br={frame:Xr,scroll:{initial:fe,current:fe,max:je,diff:{value:ye,displacement:ye}}};return Br},zi=function(fe){var je=fe.critical,wt=fe.scrollOptions,kt=fe.registry;Wi();var qt=Ki(),ar=qt.scroll.current,lr=je.droppable,yr=kt.droppable.getAllByType(lr.type).map(function(kr){return kr.callbacks.getDimensionAndWatchScroll(ar,wt)}),Vr=kt.draggable.getAllByType(je.draggable.type).map(function(kr){return kr.getDimension(ar)}),Xr={draggables:Zt(Vr),droppables:be(yr)};Co();var Br={dimensions:Xr,critical:je,viewport:qt};return Br};function ba(at,fe,je){if(je.descriptor.id===fe.id)return!1;if(je.descriptor.type!==fe.type)return!1;var wt=at.droppable.getById(je.descriptor.droppableId);return!(wt.descriptor.mode!=="virtual")}var Ua=function(fe,je){var wt=null,kt=Ma({callbacks:{publish:je.publishWhileDragging,collectionStarting:je.collectionStarting},registry:fe}),qt=function(dn,pn){if(fe.droppable.exists(dn)||Ae(!1),!wt)return;je.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!wt)return;fe.droppable.exists(dn)||Ae(!1),je.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!wt)return;fe.droppable.exists(dn)||Ae(!1),je.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!wt)return;fe.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!wt)return;kt.stop();var dn=wt.critical.droppable;fe.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),wt.unsubscribe(),wt=null},Xr=function(dn){wt||Ae(!1);var pn=wt.critical.draggable;dn.type==="ADDITION"&&(ba(fe,pn,dn.value)&&kt.add(dn.value)),dn.type==="REMOVAL"&&(ba(fe,pn,dn.value)&&kt.remove(dn.value))},Br=function(dn){wt&&Ae(!1);var pn=fe.draggable.getById(dn.draggableId),ei=fe.droppable.getById(pn.descriptor.droppableId),ci={draggable:pn.descriptor,droppable:ei.descriptor},ii=fe.subscribe(Xr);return wt={critical:ci,unsubscribe:ii},zi({critical:ci,registry:fe,scrollOptions:dn.scrollOptions})},kr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Br,stopPublishing:Vr};return kr},wa=function(fe,je){return fe.phase==="IDLE"?!0:fe.phase!=="DROP_ANIMATING"||fe.completed.result.draggableId===je?!1:fe.completed.result.reason==="DROP"},vi=function(fe){window.scrollBy(fe.x,fe.y)},Ya=C(function(at){return dt(at).filter(function(fe){return fe.isEnabled?!!fe.frame:!1})}),Ka=function(fe,je){var wt=it(Ya(je),function(kt){return kt.frame||Ae(!1),Yn(kt.frame.pageMarginBox)(fe)});return wt},pa=function(fe){var je=fe.center,wt=fe.destination,kt=fe.droppables;if(wt){var qt=kt[wt];return qt.frame?qt:null}var ar=Ka(je,kt);return ar},Oi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(fe){return Math.pow(fe,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(fe,je){var wt=fe[je.size]*Oi.startFromPercentage,kt=fe[je.size]*Oi.maxScrollAtPercentage,qt={startScrollingFrom:wt,maxScrollValueAt:kt};return qt},za=function(fe){var je=fe.startOfRange,wt=fe.endOfRange,kt=fe.current,qt=wt-je;if(qt===0)return 0;var ar=kt-je,lr=ar/qt;return lr},ja=1,qa=function(fe,je){if(fe>je.startScrollingFrom)return 0;if(fe<=je.maxScrollValueAt)return Oi.maxPixelScroll;if(fe===je.startScrollingFrom)return ja;var wt=za({startOfRange:je.maxScrollValueAt,endOfRange:je.startScrollingFrom,current:fe}),kt=1-wt,qt=Oi.maxPixelScroll*Oi.ease(kt);return Math.ceil(qt)},ho=Oi.durationDampening.accelerateAt,Ca=Oi.durationDampening.stopDampeningAt,to=function(fe,je){var wt=je,kt=Ca,qt=Date.now(),ar=qt-wt;if(ar>=Ca)return fe;if(ar<ho)return ja;var lr=za({startOfRange:ho,endOfRange:kt,current:ar}),yr=fe*Oi.ease(lr);return Math.ceil(yr)},Lo=function(fe){var je=fe.distanceToEdge,wt=fe.thresholds,kt=fe.dragStartTime,qt=fe.shouldUseTimeDampening,ar=qa(je,wt);return ar===0?0:qt?Math.max(to(ar,kt),ja):ar},Ia=function(fe){var je=fe.container,wt=fe.distanceToEdges,kt=fe.dragStartTime,qt=fe.axis,ar=fe.shouldUseTimeDampening,lr=So(je,qt),yr=wt[qt.end]<wt[qt.start];return yr?Lo({distanceToEdge:wt[qt.end],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar}):-1*Lo({distanceToEdge:wt[qt.start],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar})},Fi=function(fe){var je=fe.container,wt=fe.subject,kt=fe.proposedScroll,qt=wt.height>je.height,ar=wt.width>je.width;return!ar&&!qt?kt:ar&&qt?null:{x:ar?0:kt.x,y:qt?0:kt.y}},Ja=ht(function(at){return at===0?0:at}),Da=function(fe){var je=fe.dragStartTime,wt=fe.container,kt=fe.subject,qt=fe.center,ar=fe.shouldUseTimeDampening,lr={top:qt.y-wt.top,right:wt.right-qt.x,bottom:wt.bottom-qt.y,left:qt.x-wt.left},yr=Ia({container:wt,distanceToEdges:lr,dragStartTime:je,axis:Pe,shouldUseTimeDampening:ar}),Vr=Ia({container:wt,distanceToEdges:lr,dragStartTime:je,axis:nt,shouldUseTimeDampening:ar}),Xr=Ja({x:Vr,y:yr});if(Te(Xr,ye))return null;var Br=Fi({container:wt,subject:kt,proposedScroll:Xr});return Br?Te(Br,ye)?null:Br:null},pi=ht(function(at){return at===0?0:at>0?1:-1}),Gi=function(){var at=function(je,wt){return je<0?je:je>wt?je-wt:0};return function(fe){var je=fe.current,wt=fe.max,kt=fe.change,qt=ue(je,kt),ar={x:at(qt.x,wt.x),y:at(qt.y,wt.y)};return Te(ar,ye)?null:ar}}(),oo=function(fe){var je=fe.max,wt=fe.current,kt=fe.change,qt={x:Math.max(wt.x,je.x),y:Math.max(wt.y,je.y)},ar=pi(kt),lr=Gi({max:qt,current:wt,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(fe,je){return oo({current:fe.scroll.current,max:fe.scroll.max,change:je})},fo=function(fe,je){if(!go(fe,je))return null;var wt=fe.scroll.max,kt=fe.scroll.current;return Gi({current:kt,max:wt,change:je})},Ta=function(fe,je){var wt=fe.frame;return wt?oo({current:wt.scroll.current,max:wt.scroll.max,change:je}):!1},ki=function(fe,je){var wt=fe.frame;return wt&&Ta(fe,je)?Gi({current:wt.scroll.current,max:wt.scroll.max,change:je}):null},Ra=function(fe){var je=fe.viewport,wt=fe.subject,kt=fe.center,qt=fe.dragStartTime,ar=fe.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:je.frame,subject:wt,center:kt,shouldUseTimeDampening:ar});return lr&&go(je,lr)?lr:null},Vo=function(fe){var je=fe.droppable,wt=fe.subject,kt=fe.center,qt=fe.dragStartTime,ar=fe.shouldUseTimeDampening,lr=je.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:wt,center:kt,shouldUseTimeDampening:ar});return yr&&Ta(je,yr)?yr:null},ro=function(fe){var je=fe.state,wt=fe.dragStartTime,kt=fe.shouldUseTimeDampening,qt=fe.scrollWindow,ar=fe.scrollDroppable,lr=je.current.page.borderBoxCenter,yr=je.dimensions.draggables[je.critical.draggable.id],Vr=yr.page.marginBox;if(je.isWindowScrollAllowed){var Xr=je.viewport,Br=Ra({dragStartTime:wt,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:kt});if(Br){qt(Br);return}}var kr=pa({center:lr,destination:gn(je.impact),droppables:je.dimensions.droppables});if(!kr)return;var Gr=Vo({dragStartTime:wt,droppable:kr,subject:Vr,center:lr,shouldUseTimeDampening:kt});Gr&&ar(kr.descriptor.id,Gr)},vo=function(fe){var je=fe.scrollWindow,wt=fe.scrollDroppable,kt=N(je),qt=N(wt),ar=null,lr=function(Br){ar||Ae(!1);var kr=ar,Gr=kr.shouldUseTimeDampening,dn=kr.dragStartTime;ro({state:Br,scrollWindow:kt,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Gr})},yr=function(Br){Wi(),ar&&Ae(!1);var kr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:Br,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:kr,shouldUseTimeDampening:Gr},Co(),Gr&&lr(Br)},Vr=function(){if(!ar)return;kt.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(fe){var je=fe.move,wt=fe.scrollDroppable,kt=fe.scrollWindow,qt=function(Xr,Br){var kr=ue(Xr.current.client.selection,Br);je({client:kr})},ar=function(Xr,Br){if(!Ta(Xr,Br))return Br;var kr=ki(Xr,Br);if(!kr)return wt(Xr.descriptor.id,Br),null;var Gr=Ne(Br,kr);wt(Xr.descriptor.id,Gr);var dn=Ne(Br,Gr);return dn},lr=function(Xr,Br,kr){if(!Xr)return kr;if(!go(Br,kr))return kr;var Gr=fo(Br,kr);if(!Gr)return kt(kr),null;var dn=Ne(kr,Gr);kt(dn);var pn=Ne(kr,dn);return pn},yr=function(Xr){var Br=Xr.scrollJumpRequest;if(!Br)return;var kr=gn(Xr.impact);kr||Ae(!1);var Gr=ar(Xr.dimensions.droppables[kr],Br);if(!Gr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Gr);if(!pn)return;qt(Xr,pn)};return yr},Zi=function(fe){var je=fe.scrollDroppable,wt=fe.scrollWindow,kt=fe.move,qt=vo({scrollWindow:wt,scrollDroppable:je}),ar=po({move:kt,scrollWindow:wt,scrollDroppable:je}),lr=function(Xr){if(Xr.phase!=="DRAGGING")return;if(Xr.movementMode==="FLUID"){qt.scroll(Xr);return}if(!Xr.scrollJumpRequest)return;ar(Xr)},yr={scroll:lr,start:qt.start,stop:qt.stop};return yr},xo="data-rbd",is=function(){var at=xo+"-drag-handle";return{base:at,draggableId:at+"-draggable-id",contextId:at+"-context-id"}}(),Jo=function(){var at=xo+"-draggable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),_s=function(){var at=xo+"-droppable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(fe){return function(je){return"["+je+'="'+fe+'"]'}},Go=function(fe,je){return fe.map(function(wt){var kt=wt.styles[je];return kt?wt.selector+" { "+kt+" }":""}).join(" ")},bo="pointer-events: none;",Za=function(fe){var je=Ts(fe),wt=function(){var yr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:je(is.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:yr,dragging:bo,dropAnimating:yr}}}(),kt=function(){var yr=`
|
|
|
transition: `+Mn.outOfTheWay+`;
|
|
|
`;return{selector:je(Jo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:je(_s.contextId),styles:{always:"overflow-anchor: none;"}},ar={selector:"body",styles:{dragging:`
|
|
|
cursor: grabbing;
|
|
|
cursor: -webkit-grabbing;
|
|
|
user-select: none;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
overflow-anchor: none;
|
|
|
`}},lr=[kt,wt,qt,ar];return{always:Go(lr,"always"),resting:Go(lr,"resting"),dragging:Go(lr,"dragging"),dropAnimating:Go(lr,"dropAnimating"),userCancel:Go(lr,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?g.useLayoutEffect:g.useEffect,so=function(){var fe=document.querySelector("head");return fe||Ae(!1),fe},ps=function(fe){var je=document.createElement("style");return fe&&je.setAttribute("nonce",fe),je.type="text/css",je};function Sr(at,fe){var je=r(function(){return Za(at)},[at]),wt=Object(g.useRef)(null),kt=Object(g.useRef)(null),qt=o(C(function(Br){var kr=kt.current;kr||Ae(!1),kr.textContent=Br}),[]),ar=o(function(Br){var kr=wt.current;kr||Ae(!1),kr.textContent=Br},[]);Ga(function(){!wt.current&&!kt.current||Ae(!1);var Br=ps(fe),kr=ps(fe);return wt.current=Br,kt.current=kr,Br.setAttribute(xo+"-always",at),kr.setAttribute(xo+"-dynamic",at),so().appendChild(Br),so().appendChild(kr),ar(je.always),qt(je.resting),function(){var Gr=function(pn){var ei=pn.current;ei||Ae(!1),so().removeChild(ei),pn.current=null};Gr(wt),Gr(kt)}},[fe,ar,qt,je.always,je.resting,at]);var lr=o(function(){return qt(je.dragging)},[qt,je.dragging]),yr=o(function(Br){if(Br==="DROP"){qt(je.dropAnimating);return}qt(je.userCancel)},[qt,je.dropAnimating,je.userCancel]),Vr=o(function(){if(!kt.current)return;qt(je.resting)},[qt,je.resting]),Xr=r(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(fe){return fe&&fe.ownerDocument?fe.ownerDocument.defaultView:window};function ss(at){return at instanceof Xo(at).HTMLElement}function Ls(at,fe){var je="["+is.contextId+'="'+at+'"]',wt=qe(document.querySelectorAll(je));if(!wt.length)return null;var kt=it(wt,function(qt){return qt.getAttribute(is.draggableId)===fe});return kt&&ss(kt)?kt:null}function Fa(at){var fe=Object(g.useRef)({}),je=Object(g.useRef)(null),wt=Object(g.useRef)(null),kt=Object(g.useRef)(!1),qt=o(function(kr,Gr){var dn={id:kr,focus:Gr};return fe.current[kr]=dn,function(){var ei=fe.current,ci=ei[kr];ci!==dn&&delete ei[kr]}},[]),ar=o(function(kr){var Gr=Ls(at,kr);Gr&&Gr!==document.activeElement&&Gr.focus()},[at]),lr=o(function(kr,Gr){je.current===kr&&(je.current=Gr)},[]),yr=o(function(){if(wt.current)return;if(!kt.current)return;wt.current=requestAnimationFrame(function(){wt.current=null;var kr=je.current;kr&&ar(kr)})},[ar]),Vr=o(function(kr){je.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==kr)return;je.current=kr},[]);Ga(function(){return kt.current=!0,function(){kt.current=!1;var kr=wt.current;kr&&cancelAnimationFrame(kr)}},[]);var Xr=r(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function La(){var at={draggables:{},droppables:{}},fe=[];function je(Br){return fe.push(Br),function(){var Gr=fe.indexOf(Br);if(Gr===-1)return;fe.splice(Gr,1)}}function wt(Br){fe.length&&fe.forEach(function(kr){return kr(Br)})}function kt(Br){return at.draggables[Br]||null}function qt(Br){var kr=kt(Br);return kr||Ae(!1),kr}var ar={register:function(kr){at.draggables[kr.descriptor.id]=kr,wt({type:"ADDITION",value:kr})},update:function(kr,Gr){var dn=at.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==kr.uniqueId)return;delete at.draggables[Gr.descriptor.id],at.draggables[kr.descriptor.id]=kr},unregister:function(kr){var Gr=kr.descriptor.id,dn=kt(Gr);if(!dn)return;if(kr.uniqueId!==dn.uniqueId)return;delete at.draggables[Gr],wt({type:"REMOVAL",value:kr})},getById:qt,findById:kt,exists:function(kr){return Boolean(kt(kr))},getAllByType:function(kr){return se(at.draggables).filter(function(Gr){return Gr.descriptor.type===kr})}};function lr(Br){return at.droppables[Br]||null}function yr(Br){var kr=lr(Br);return kr||Ae(!1),kr}var Vr={register:function(kr){at.droppables[kr.descriptor.id]=kr},unregister:function(kr){var Gr=lr(kr.descriptor.id);if(!Gr)return;if(kr.uniqueId!==Gr.uniqueId)return;delete at.droppables[kr.descriptor.id]},getById:yr,findById:lr,exists:function(kr){return Boolean(lr(kr))},getAllByType:function(kr){return se(at.droppables).filter(function(Gr){return Gr.descriptor.type===kr})}};function Xr(){at.draggables={},at.droppables={},fe.length=0}return{draggable:ar,droppable:Vr,subscribe:je,clean:Xr}}function Oo(){var at=r(La,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(at.clean)}},[at]),at}var Io=f.a.createContext(null),ts=function(){var fe=document.body;return fe||Ae(!1),fe},Bo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(fe){return"rbd-announcement-"+fe};function ms(at){var fe=r(function(){return rs(at)},[at]),je=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return je.current=qt,qt.id=fe,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(m.a)(qt.style,Bo),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===je.current&&(je.current=null)})}},[fe]);var wt=o(function(kt){var qt=je.current;if(qt){qt.textContent=kt;return}},[]);return wt}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(at,fe){return fe===void 0&&(fe=Ns),r(function(){return""+at+fe.separator+ls++},[fe.separator,at])}function $s(at){var fe=at.contextId,je=at.uniqueId;return"rbd-hidden-text-"+fe+"-"+je}function cs(at){var fe=at.contextId,je=at.text,wt=as("hidden-text",{separator:"-"}),kt=r(function(){return $s({contextId:fe,uniqueId:wt})},[wt,fe]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=kt,ar.textContent=je,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[kt,je]),kt}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Os=function(fe){var je=Vs.exec(fe);je!=null||Ae(!1);var wt=Number(je[1]),kt=Number(je[2]),qt=Number(je[3]);return{major:wt,minor:kt,patch:qt,raw:fe}},Pt=function(fe,je){return je.major>fe.major?!0:je.major<fe.major?!1:je.minor>fe.minor?!0:je.minor<fe.minor?!1:je.patch>=fe.patch},le=function(fe,je){var wt=Os(fe),kt=Os(je);if(Pt(wt,kt))return},Ee=`
|
|
|
We expect a html5 doctype: <!doctype html>
|
|
|
This is to ensure consistent browser layout and measurement
|
|
|
|
|
|
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
|
|
|
`,Ie=function(fe){var je=fe.doctype;if(!je)return;je.name.toLowerCase()!=="html",je.publicId!==""};function We(at){}function Ct(at,fe){We(function(){Object(g.useEffect)(function(){try{at()}catch(je){W(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+je.message+`
|
|
|
`)}},fe)})}function Ut(){Ct(function(){le(Dn.react,f.a.version),Ie(document)},[])}function hr(at){var fe=Object(g.useRef)(at);return Object(g.useEffect)(function(){fe.current=at}),fe}function gr(){var at=null;function fe(){return Boolean(at)}function je(ar){return ar===at}function wt(ar){at&&Ae(!1);var lr={abandon:ar};return at=lr,lr}function kt(){at||Ae(!1),at=null}function qt(){at&&(at.abandon(),kt())}return{isClaimed:fe,isActive:je,claim:wt,release:kt,tryAbandon:qt}}var Rr=9,$r=13,ln=27,yn=32,Cn=33,Qn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Wa,yo=(Wa={},Wa[$r]=!0,Wa[Rr]=!0,Wa),Ao=function(fe){yo[fe.keyCode]&&fe.preventDefault()},$a=function(){var at="visibilitychange";if(typeof document=="undefined")return at;var fe=[at,"ms"+at,"webkit"+at,"moz"+at,"o"+at],je=it(fe,function(wt){return"on"+wt in document});return je||at}(),Fo=0,No=5;function Ha(at,fe){return Math.abs(fe.x-at.x)>=No||Math.abs(fe.y-at.y)>=No}var jo={type:"IDLE"};function ko(at){var fe=at.cancel,je=at.completed,wt=at.getPhase,kt=at.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==Fo)return;var Xr={x:yr,y:Vr},Br=wt();if(Br.type==="DRAGGING"){ar.preventDefault(),Br.actions.move(Xr);return}Br.type==="PENDING"||Ae(!1);var kr=Br.point;if(!Ha(kr,Xr))return;ar.preventDefault();var Gr=Br.actions.fluidLift(Xr);kt({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(ar){var lr=wt();if(lr.type!=="DRAGGING"){fe();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),je()}},{eventName:"mousedown",fn:function(ar){wt().type==="DRAGGING"&&ar.preventDefault(),fe()}},{eventName:"keydown",fn:function(ar){var lr=wt();if(lr.type==="PENDING"){fe();return}if(ar.keyCode===ln){ar.preventDefault(),fe();return}Ao(ar)}},{eventName:"resize",fn:fe},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){wt().type==="PENDING"&&fe()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=wt();if(lr.type!=="IDLE"||Ae(!1),lr.actions.shouldRespectForcePress()){fe();return}ar.preventDefault()}},{eventName:$a,fn:fe}]}function Qo(at){var fe=Object(g.useRef)(jo),je=Object(g.useRef)(G),wt=r(function(){return{eventName:"mousedown",fn:function(Br){if(Br.defaultPrevented)return;if(Br.button!==Fo)return;if(Br.ctrlKey||Br.metaKey||Br.shiftKey||Br.altKey)return;var kr=at.findClosestDraggableId(Br);if(!kr)return;var Gr=at.tryGetLock(kr,ar,{sourceEvent:Br});if(!Gr)return;Br.preventDefault();var dn={x:Br.clientX,y:Br.clientY};je.current(),Vr(Gr,dn)}}},[at]),kt=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Br){if(Br.defaultPrevented)return;var kr=at.findClosestDraggableId(Br);if(!kr)return;var Gr=at.findOptionsForDraggable(kr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!at.canGetLock(kr))return;Br.preventDefault()}}},[at]),qt=o(function(){var Br={passive:!1,capture:!0};je.current=ge(window,[kt,wt],Br)},[kt,wt]),ar=o(function(){var Xr=fe.current;if(Xr.type==="IDLE")return;fe.current=jo,je.current(),qt()},[qt]),lr=o(function(){var Xr=fe.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=o(function(){var Br={capture:!0,passive:!1},kr=ko({cancel:lr,completed:ar,getPhase:function(){return fe.current},setPhase:function(dn){fe.current=dn}});je.current=ge(window,kr,Br)},[lr,ar]),Vr=o(function(Br,kr){fe.current.type==="IDLE"||Ae(!1),fe.current={type:"PENDING",point:kr,actions:Br},yr()},[yr]);Ga(function(){return qt(),function(){je.current()}},[qt])}var wo;function us(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(at,fe){function je(){fe(),at.cancel()}function wt(){fe(),at.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),je();return}if(qt.keyCode===yn){qt.preventDefault(),wt();return}if(qt.keyCode===lo){qt.preventDefault(),at.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),at.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),at.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),at.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:je},{eventName:"mouseup",fn:je},{eventName:"click",fn:je},{eventName:"touchstart",fn:je},{eventName:"resize",fn:je},{eventName:"wheel",fn:je,options:{passive:!0}},{eventName:$a,fn:je}]}function Ys(at){var fe=Object(g.useRef)(us),je=r(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=at.findClosestDraggableId(qt);if(!ar)return;var lr=at.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();fe.current();function Xr(){yr||Ae(!1),yr=!1,fe.current(),wt()}fe.current=ge(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[at]),wt=o(function(){var qt={passive:!1,capture:!0};fe.current=ge(window,[je],qt)},[je]);Ga(function(){return wt(),function(){fe.current()}},[wt])}var Yo={type:"IDLE"},Eo=120,ds=.15;function hs(at){var fe=at.cancel,je=at.getPhase;return[{eventName:"orientationchange",fn:fe},{eventName:"resize",fn:fe},{eventName:"contextmenu",fn:function(kt){kt.preventDefault()}},{eventName:"keydown",fn:function(kt){if(je().type!=="DRAGGING"){fe();return}kt.keyCode===ln&&kt.preventDefault(),fe()}},{eventName:$a,fn:fe}]}function Rs(at){var fe=at.cancel,je=at.completed,wt=at.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=wt();if(ar.type!=="DRAGGING"){fe();return}ar.hasMoved=!0;var lr=qt.touches[0],yr=lr.clientX,Vr=lr.clientY,Xr={x:yr,y:Vr};qt.preventDefault(),ar.actions.move(Xr)}},{eventName:"touchend",fn:function(qt){var ar=wt();if(ar.type!=="DRAGGING"){fe();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),je()}},{eventName:"touchcancel",fn:function(qt){if(wt().type!=="DRAGGING"){fe();return}qt.preventDefault(),fe()}},{eventName:"touchforcechange",fn:function(qt){var ar=wt();ar.type!=="IDLE"||Ae(!1);var lr=qt.touches[0];if(!lr)return;var yr=lr.force>=ds;if(!yr)return;var Vr=ar.actions.shouldRespectForcePress();if(ar.type==="PENDING"){Vr&&fe();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}fe();return}qt.preventDefault()}},{eventName:$a,fn:fe}]}function Do(at){var fe=Object(g.useRef)(Yo),je=Object(g.useRef)(G),wt=o(function(){return fe.current},[]),kt=o(function(Gr){fe.current=Gr},[]),qt=r(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=at.findClosestDraggableId(Gr);if(!dn)return;var pn=at.tryGetLock(dn,lr,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ci=ei.clientX,ii=ei.clientY,Ji={x:ci,y:ii};je.current(),Br(pn,Ji)}}},[at]),ar=o(function(){var Gr={capture:!0,passive:!1};je.current=ge(window,[qt],Gr)},[qt]),lr=o(function(){var kr=fe.current;if(kr.type==="IDLE")return;kr.type==="PENDING"&&clearTimeout(kr.longPressTimerId),kt(Yo),je.current(),ar()},[ar,kt]),yr=o(function(){var kr=fe.current;lr(),kr.type==="DRAGGING"&&kr.actions.cancel({shouldBlockNextClick:!0}),kr.type==="PENDING"&&kr.actions.abort()},[lr]),Vr=o(function(){var Gr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:wt},pn=ge(window,Rs(dn),Gr),ei=ge(window,hs(dn),Gr);je.current=function(){pn(),ei()}},[yr,wt,lr]),Xr=o(function(){var Gr=wt();Gr.type==="PENDING"||Ae(!1);var dn=Gr.actions.fluidLift(Gr.point);kt({type:"DRAGGING",actions:dn,hasMoved:!1})},[wt,kt]),Br=o(function(Gr,dn){wt().type==="IDLE"||Ae(!1);var pn=setTimeout(Xr,Eo);kt({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,wt,kt,Xr]);Ga(function(){return ar(),function(){je.current();var dn=wt();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),kt(Yo))}},[wt,ar,kt]),Ga(function(){var Gr=ge(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function ys(at){We(function(){var fe=hr(at);Ct(function(){fe.current.length===at.length||Ae(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(at,fe){if(fe==null)return!1;var je=Boolean(Ms[fe.tagName.toLowerCase()]);if(je)return!0;var wt=fe.getAttribute("contenteditable");return wt==="true"||wt===""?!0:fe===at?!1:As(at,fe.parentElement)}function Fs(at,fe){var je=fe.target;return ss(je)?As(at,je):!1}var Hs=function(fe){return n(fe.getBoundingClientRect()).center};function bs(at){return at instanceof Xo(at).Element}var ua=function(){var at="matches";if(typeof document=="undefined")return at;var fe=[at,"msMatchesSelector","webkitMatchesSelector"],je=it(fe,function(wt){return wt in Element.prototype});return je||at}();function ui(at,fe){return at==null?null:at[ua](fe)?at:ui(at.parentElement,fe)}function Bi(at,fe){return at.closest?at.closest(fe):ui(at,fe)}function Wn(at){return"["+is.contextId+'="'+at+'"]'}function io(at,fe){var je=fe.target;if(!bs(je))return null;var wt=Wn(at),kt=Bi(je,wt);return kt&&ss(kt)?kt:null}function qo(at,fe){var je=io(at,fe);return je?je.getAttribute(is.draggableId):null}function gs(at,fe){var je="["+Jo.contextId+'="'+at+'"]',wt=qe(document.querySelectorAll(je)),kt=it(wt,function(qt){return qt.getAttribute(Jo.id)===fe});return kt&&ss(kt)?kt:null}function os(at){at.preventDefault()}function Zo(at){var fe=at.expected,je=at.phase,wt=at.isLockActive,kt=at.shouldWarn;return wt()?!(fe!==je):!1}function $o(at){var fe=at.lockAPI,je=at.store,wt=at.registry,kt=at.draggableId;if(fe.isClaimed())return!1;var qt=wt.draggable.findById(kt);return qt&&qt.options.isEnabled?!!wa(je.getState(),kt):!1}function ws(at){var fe=at.lockAPI,je=at.contextId,wt=at.store,kt=at.registry,qt=at.draggableId,ar=at.forceSensorStop,lr=at.sourceEvent,yr=$o({lockAPI:fe,store:wt,registry:kt,draggableId:qt});if(!yr)return null;var Vr=kt.draggable.getById(qt),Xr=gs(je,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&Fs(Xr,lr))return null;var Br=fe.claim(ar||G),kr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return fe.isActive(Br)}function pn(Ei,co){Zo({expected:Ei,phase:kr,isLockActive:dn,shouldWarn:!0})&&wt.dispatch(co())}var ei=pn.bind(null,"DRAGGING");function ci(Ei){function co(){fe.release(),kr="COMPLETED"}kr!=="PRE_DRAG"&&(co(),kr==="PRE_DRAG"||Ae(!1)),wt.dispatch(rr(Ei.liftActionArgs)),kr="DRAGGING";function Ko(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var I=ge(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(I)}co(),wt.dispatch(Vt({reason:ao}))}return Object(m.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(Uo){return Ko("DROP",Uo)},cancel:function(Uo){return Ko("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var co=N(function(ao){ei(function(){return Jt({client:ao})})}),Ko=ci({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return co.cancel()},actions:{move:co}});return Object(m.a)({},Ko,{move:co})}function Ji(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(zr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Jr)}};return ci({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:G,actions:Ei})}function Si(){var Ei=Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!0});Ei&&fe.release()}var Va={isActive:function(){return Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Ji,abort:Si};return Va}var Ho=[Qo,Ys,Do];function ll(at){var fe=at.contextId,je=at.store,wt=at.registry,kt=at.customSensors,qt=at.enableDefaultSensors,ar=[].concat(qt?Ho:[],kt||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=o(function(ii,Ji){ii.isDragging&&!Ji.isDragging&&lr.tryAbandon()},[lr]);Ga(function(){var ii=je.getState(),Ji=je.subscribe(function(){var Si=je.getState();yr(ii,Si),ii=Si});return Ji},[lr,je,yr]),Ga(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=o(function(ci){return $o({lockAPI:lr,registry:wt,store:je,draggableId:ci})},[lr,wt,je]),Xr=o(function(ci,ii,Ji){return ws({lockAPI:lr,registry:wt,contextId:fe,store:je,draggableId:ci,forceSensorStop:ii,sourceEvent:Ji&&Ji.sourceEvent?Ji.sourceEvent:null})},[fe,lr,wt,je]),Br=o(function(ci){return qo(fe,ci)},[fe]),kr=o(function(ci){var ii=wt.draggable.findById(ci);return ii?ii.options:null},[wt.draggable]),Gr=o(function(){if(!lr.isClaimed())return;lr.tryAbandon(),je.getState().phase!=="IDLE"&&je.dispatch(Zr())},[lr,je]),dn=o(lr.isClaimed,[lr]),pn=r(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Br,findOptionsForDraggable:kr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Xr,Br,kr,Gr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(fe){return{onBeforeCapture:fe.onBeforeCapture,onBeforeDragStart:fe.onBeforeDragStart,onDragStart:fe.onDragStart,onDragEnd:fe.onDragEnd,onDragUpdate:fe.onDragUpdate}};function cl(at){return at.current||Ae(!1),at.current}function Nl(at){var fe=at.contextId,je=at.setCallbacks,wt=at.sensors,kt=at.nonce,qt=at.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(at),yr=o(function(){return jl(lr.current)},[lr]),Vr=ms(fe),Xr=cs({contextId:fe,text:qt}),Br=Sr(fe,kt),kr=o(function(ao){cl(ar).dispatch(ao)},[]),Gr=r(function(){return Object(v.b)({publishWhileDragging:Pr,updateDroppableScroll:hn,updateDroppableIsEnabled:rt,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},kr)},[kr]),dn=Oo(),pn=r(function(){return Ua(dn,Gr)},[dn,Gr]),ei=r(function(){return Zi(Object(m.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Jt},kr)))},[pn.scrollDroppable,kr]),ci=Fa(fe),ii=r(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ci,getResponders:yr,styleMarshal:Br})},[Vr,ei,pn,ci,yr,Br]);ar.current=ii;var Ji=o(function(){var ao=cl(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Zr())},[]),Si=o(function(){var ao=cl(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=r(function(){return{isDragging:Si,tryAbort:Ji}},[Si,Ji]);je(Va);var Ei=o(function(ao){return wa(cl(ar).getState(),ao)},[]),co=o(function(){return qn(cl(ar).getState())},[]),Ko=r(function(){return{marshal:pn,focus:ci,contextId:fe,canLift:Ei,isMovementAllowed:co,dragHandleUsageInstructionsId:Xr,registry:dn}},[fe,pn,Xr,ci,Ei,co,dn]);return ll({contextId:fe,store:ii,registry:dn,customSensors:wt,enableDefaultSensors:at.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Ji},[Ji]),f.a.createElement(Mo.Provider,{value:Ko},f.a.createElement(h.a,{context:Io,store:ii},at.children))}var Is=0;function Gs(){Is=0}function el(){return r(function(){return""+Is++},[])}function Hl(){Gs(),Ds()}function Kl(at){var fe=el(),je=at.dragHandleUsageInstructions||Q.dragHandleUsageInstructions;return f.a.createElement(Ue,null,function(wt){return f.a.createElement(Nl,{nonce:at.nonce,contextId:fe,setCallbacks:wt,dragHandleUsageInstructions:je,enableDefaultSensors:at.enableDefaultSensors,sensors:at.sensors,onBeforeCapture:at.onBeforeCapture,onBeforeDragStart:at.onBeforeDragStart,onDragStart:at.onDragStart,onDragUpdate:at.onDragUpdate,onDragEnd:at.onDragEnd},at.children)})}var Dl=function(fe){return function(je){return fe===je}},nc=Dl("scroll"),ic=Dl("auto"),es=Dl("visible"),tl=function(fe,je){return je(fe.overflowX)||je(fe.overflowY)},ac=function(fe,je){return je(fe.overflowX)&&je(fe.overflowY)},Rl=function(fe){var je=window.getComputedStyle(fe),wt={overflowX:je.overflowX,overflowY:je.overflowY};return tl(wt,nc)||tl(wt,ic)},Ml=function(){return!1;var fe,je;if(!Rl(fe))return!1;var wt,kt;if(ac(kt,es))return!1},bl=function at(fe){return fe==null?null:fe===document.body?Ml()?fe:null:fe===document.documentElement?null:Rl(fe)?fe:at(fe.parentElement)},zl=function(fe){if(!fe)return;var je=bl(fe.parentElement);if(!je)return},ul=function(fe){return{x:fe.scrollLeft,y:fe.scrollTop}},Wl=function at(fe){if(!fe)return!1;var je=window.getComputedStyle(fe);return je.position==="fixed"?!0:at(fe.parentElement)},oc=function(fe){var je=bl(fe),wt=Wl(fe);return{closestScrollable:je,isFixedOnPage:wt}},sc=function(fe){var je=fe.descriptor,wt=fe.isEnabled,kt=fe.isCombineEnabled,qt=fe.isFixedOnPage,ar=fe.direction,lr=fe.client,yr=fe.page,Vr=fe.closest,Xr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:ye,displacement:ye}}}}(),Br=ar==="vertical"?Pe:nt,kr=tt({page:yr,withPlaceholder:null,axis:Br,frame:Xr}),Gr={descriptor:je,isCombineEnabled:kt,isFixedOnPage:qt,axis:Br,isEnabled:wt,client:lr,page:yr,frame:Xr,subject:kr};return Gr},ks=function(fe,je){var wt=T(fe);if(!je)return wt;if(fe!==je)return wt;var kt=wt.paddingBox.top-je.scrollTop,qt=wt.paddingBox.left-je.scrollLeft,ar=kt+je.scrollHeight,lr=qt+je.scrollWidth,yr={top:kt,right:lr,bottom:ar,left:qt},Vr=l(yr,wt.border),Xr=p({borderBox:Vr,margin:wt.margin,border:wt.border,padding:wt.padding});return Xr},rl=function(fe){var je=fe.ref,wt=fe.descriptor,kt=fe.env,qt=fe.windowScroll,ar=fe.direction,lr=fe.isDropDisabled,yr=fe.isCombineEnabled,Vr=fe.shouldClipSubject,Xr=kt.closestScrollable,Br=ks(je,Xr),kr=A(Br,qt),Gr=function(){if(!Xr)return null;var pn=T(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:A(pn,qt),scroll:ul(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=sc({descriptor:wt,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:kt.isFixedOnPage,direction:ar,client:Br,page:kr,closest:Gr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(fe){return fe.shouldPublishImmediately?wl:dl};function Ks(at){var fe=Object(g.useContext)(at);return fe||Ae(!1),fe}var nl=function(fe){return fe&&fe.env.closestScrollable||null};function Ps(at){var fe=Object(g.useRef)(null),je=Ks(Mo),wt=as("droppable"),kt=je.registry,qt=je.marshal,ar=hr(at),lr=r(function(){return{id:at.droppableId,type:at.type,mode:at.mode}},[at.droppableId,at.mode,at.type]),yr=Object(g.useRef)(lr),Vr=r(function(){return C(function(Si,Va){fe.current||Ae(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=o(function(){var Si=fe.current;return!Si||!Si.env.closestScrollable?ye:ul(Si.env.closestScrollable)},[]),Br=o(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),kr=r(function(){return N(Br)},[Br]),Gr=o(function(){var Si=fe.current,Va=nl(Si);Si&&Va||Ae(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Br();return}kr()},[kr,Br]),dn=o(function(Si,Va){fe.current&&Ae(!1);var Ei=ar.current,co=Ei.getDroppableRef();co||Ae(!1);var Ko=oc(co),ao={ref:co,descriptor:lr,env:Ko,scrollOptions:Va};fe.current=ao;var Uo=rl({ref:co,descriptor:lr,env:Ko,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),I=Ko.closestScrollable;return I&&(I.setAttribute(Cs.contextId,je.contextId),I.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),Uo},[je.contextId,lr,Gr,ar]),pn=o(function(){var Si=fe.current,Va=nl(Si);return Si&&Va||Ae(!1),ul(Va)},[]),ei=o(function(){var Si=fe.current;Si||Ae(!1);var Va=nl(Si);if(fe.current=null,!Va)return;kr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,kr]),ci=o(function(Si){var Va=fe.current;Va||Ae(!1);var Ei=nl(Va);Ei||Ae(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=r(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ci}},[ei,dn,pn,ci]),Ji=r(function(){return{uniqueId:wt,descriptor:lr,callbacks:ii}},[ii,lr,wt]);Ga(function(){return yr.current=Ji.descriptor,kt.droppable.register(Ji),function(){fe.current&&ei(),kt.droppable.unregister(Ji)}},[ii,lr,ei,Ji,qt,kt.droppable]),Ga(function(){if(!fe.current)return;qt.updateDroppableIsEnabled(yr.current.id,!at.isDropDisabled)},[at.isDropDisabled,qt]),Ga(function(){if(!fe.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,at.isCombineEnabled)},[at.isCombineEnabled,qt])}function Sl(){}var Fl={width:0,height:0,margin:Ke},Vl=function(fe){var je=fe.isAnimatingOpenOnMount,wt=fe.placeholder,kt=fe.animate;return je||kt==="close"?Fl:{height:wt.client.borderBox.height,width:wt.client.borderBox.width,margin:wt.client.margin}},xl=function(fe){var je=fe.isAnimatingOpenOnMount,wt=fe.placeholder,kt=fe.animate,qt=Vl({isAnimatingOpenOnMount:je,placeholder:wt,animate:kt});return{display:wt.display,boxSizing:"border-box",width:qt.width,height:qt.height,marginTop:qt.margin.top,marginRight:qt.margin.right,marginBottom:qt.margin.bottom,marginLeft:qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:kt!=="none"?Mn.placeholder:null}};function Qs(at){var fe=Object(g.useRef)(null),je=o(function(){if(!fe.current)return;clearTimeout(fe.current),fe.current=null},[]),wt=at.animate,kt=at.onTransitionEnd,qt=at.onClose,ar=at.contextId,lr=Object(g.useState)(at.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?wt!=="open"?(je(),Vr(!1),Sl):fe.current?Sl:(fe.current=setTimeout(function(){fe.current=null,Vr(!1)}),je):Sl},[wt,yr,je]);var Xr=o(function(kr){if(kr.propertyName!=="height")return;kt(),wt==="close"&&qt()},[wt,qt,kt]),Br=xl({isAnimatingOpenOnMount:yr,animate:at.animate,placeholder:at.placeholder});return f.a.createElement(at.placeholder.tagName,{style:Br,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:at.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(at){at&&ss(at)||Ae(!1)}function El(at){return typeof at=="boolean"}function zs(at,fe){fe.forEach(function(je){return je(at)})}var Xl=[function(fe){var je=fe.props;je.droppableId||Ae(!1),typeof je.droppableId=="string"||Ae(!1)},function(fe){var je=fe.props;El(je.isDropDisabled)||Ae(!1),El(je.isCombineEnabled)||Ae(!1),El(je.ignoreContainerClipping)||Ae(!1)},function(fe){var je=fe.getDroppableRef;fl(je())}],Cl=[function(fe){var je=fe.props,wt=fe.getPlaceholderRef;if(!je.placeholder)return;var kt=wt();if(kt)return}],pl=[function(fe){var je=fe.props;je.renderClone||Ae(!1)},function(fe){var je=fe.getPlaceholderRef;je()&&Ae(!1)}];function Tl(at){Ct(function(){zs(at,Xl),at.props.mode==="standard"&&zs(at,Cl),at.props.mode==="virtual"&&zs(at,pl)})}var Yl=function(at){Object(y.a)(fe,at);function fe(){for(var wt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return wt=at.call.apply(at,[this].concat(qt))||this,wt.state={isVisible:Boolean(wt.props.on),data:wt.props.on,animate:wt.props.shouldAnimate&&wt.props.on?"open":"none"},wt.onClose=function(){if(wt.state.animate!=="close")return;wt.setState({isVisible:!1})},wt}fe.getDerivedStateFromProps=function(kt,qt){return kt.shouldAnimate?kt.on?{isVisible:!0,data:kt.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(kt.on),data:kt.on,animate:"none"}};var je=fe.prototype;return je.render=function(){if(!this.state.isVisible)return null;var kt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(kt)},fe}(f.a.PureComponent),kl={dragging:5e3,dropAnimating:4500},ml=function(fe,je){return je?Mn.drop(je.duration):fe?Mn.snap:Mn.fluid},Gl=function(fe,je){return fe?je?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(fe){return fe.forceShouldAnimate!=null?fe.forceShouldAnimate:fe.mode==="SNAP"};function Ql(at){var fe=at.dimension,je=fe.client,wt=at.offset,kt=at.combineWith,qt=at.dropping,ar=Boolean(kt),lr=Js(at),yr=Boolean(qt),Vr=yr?Rn.drop(wt,ar):Rn.moveTo(wt),Xr={position:"fixed",top:je.marginBox.top,left:je.marginBox.left,boxSizing:"border-box",width:je.borderBox.width,height:je.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Gl(ar,yr),zIndex:yr?kl.dropAnimating:kl.dragging,pointerEvents:"none"};return Xr}function Ro(at){return{transform:Rn.moveTo(at.offset),transition:at.shouldAnimateDisplacement?null:"none"}}function Ws(at){return at.type==="DRAGGING"?Ql(at):Ro(at)}function al(at,fe,je){je===void 0&&(je=ye);var wt=window.getComputedStyle(fe),kt=fe.getBoundingClientRect(),qt=S(kt,wt),ar=A(qt,je),lr={client:qt,tagName:fe.tagName.toLowerCase(),display:wt.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:at,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Bs(at){var fe=as("draggable"),je=at.descriptor,wt=at.registry,kt=at.getDraggableRef,qt=at.canDragInteractiveElements,ar=at.shouldRespectForcePress,lr=at.isEnabled,yr=r(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=o(function(Gr){var dn=kt();return dn||Ae(!1),al(je,dn,Gr)},[je,kt]),Xr=r(function(){return{uniqueId:fe,descriptor:je,options:yr,getDimension:Vr}},[je,Vr,yr,fe]),Br=Object(g.useRef)(Xr),kr=Object(g.useRef)(!0);Ga(function(){return wt.draggable.register(Br.current),function(){return wt.draggable.unregister(Br.current)}},[wt.draggable]),Ga(function(){if(kr.current){kr.current=!1;return}var Gr=Br.current;Br.current=Xr,wt.draggable.update(Xr,Gr)},[Xr,wt.draggable])}function Us(at,fe,je){Ct(function(){function wt(qt){return"Draggable[id: "+qt+"]: "}var kt=at.draggableId;if(kt||Ae(!1),typeof kt=="string"||Ae(!1),Ve(at.index)||Ae(!1),at.mapped.type==="DRAGGING")return;fl(je()),at.isEnabled&&(Ls(fe,kt)||Ae(!1))})}function gl(at){We(function(){var fe=Object(g.useRef)(at);Ct(function(){at===fe.current||Ae(!1)},[at])})}function xs(at){at.preventDefault()}function ol(at){var fe=Object(g.useRef)(null),je=o(function(ao){fe.current=ao},[]),wt=o(function(){return fe.current},[]),kt=Ks(Mo),qt=kt.contextId,ar=kt.dragHandleUsageInstructionsId,lr=kt.registry,yr=Ks(il),Vr=yr.type,Xr=yr.droppableId,Br=r(function(){return{id:at.draggableId,index:at.index,type:Vr,droppableId:Xr}},[at.draggableId,at.index,Vr,Xr]),kr=at.children,Gr=at.draggableId,dn=at.isEnabled,pn=at.shouldRespectForcePress,ei=at.canDragInteractiveElements,ci=at.isClone,ii=at.mapped,Ji=at.dropAnimationFinished;if(Us(at,qt,wt),gl(ci),!ci){var Si=r(function(){return{descriptor:Br,registry:lr,getDraggableRef:wt,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Br,lr,wt,ei,pn,dn]);Bs(Si)}var Va=r(function(){return dn?{tabIndex:0,role:"button","aria-describedby":ar,"data-rbd-drag-handle-draggable-id":Gr,"data-rbd-drag-handle-context-id":qt,draggable:!1,onDragStart:xs}:null},[qt,ar,Gr,dn]),Ei=o(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;Ji()},[Ji,ii]),co=r(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,I={innerRef:je,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return I},[qt,Va,Gr,ii,Ei,je]),Ko=r(function(){return{draggableId:Br.id,type:Br.type,source:{index:Br.index,droppableId:Br.droppableId}}},[Br.droppableId,Br.id,Br.index,Br.type]);return kr(co,ii.snapshot,Ko)}var Zs=function(fe,je){return fe===je},Pl=function(fe){var je=fe.combine,wt=fe.destination;return wt?wt.droppableId:je?je.droppableId:null},Ll=function(fe){return fe.combine?fe.combine.draggableId:null},vl=function(fe){return fe.at&&fe.at.type==="COMBINE"?fe.at.combine.draggableId:null};function ql(){var at=C(function(kt,qt){return{x:kt,y:qt}}),fe=C(function(kt,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:kt,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),je=C(function(kt,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:kt,dimension:ar,forceShouldAnimate:Xr,snapshot:fe(qt,lr,yr,Vr,null)}}}),wt=function(qt,ar){if(qt.isDragging){if(qt.critical.draggable.id!==ar.draggableId)return null;var lr=qt.current.client.offset,yr=qt.dimensions.draggables[ar.draggableId],Vr=gn(qt.impact),Xr=vl(qt.impact),Br=qt.forceShouldAnimate;return je(at(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Br)}if(qt.phase==="DROP_ANIMATING"){var kr=qt.completed;if(kr.result.draggableId!==ar.draggableId)return null;var Gr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=kr.result,ei=pn.mode,ci=Pl(pn),ii=Ll(pn),Ji=qt.dropDuration,Si={duration:Ji,curve:wn.drop,moveTo:qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ci,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:fe(ei,Gr,ci,ii,Si)}}}return null};return wt}function Bl(at){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:at,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:ye,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bl(null)}};function Jl(){var at=C(function(ar,lr){return{x:ar,y:lr}}),fe=C(Bl),je=C(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:fe(lr)}}}),wt=function(lr){return lr?je(ye,lr,!0):null},kt=function(lr,yr,Vr,Xr){var Br=Vr.displaced.visible[lr],kr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Gr=or(Vr),dn=Gr&&Gr.draggableId===lr?yr:null;if(!Br){if(!kr)return wt(dn);if(Vr.displaced.invisible[lr])return null;var pn=oe(Xr.displacedBy.point),ei=at(pn.x,pn.y);return je(ei,dn,!0)}if(kr)return wt(dn);var ci=Vr.displacedBy.point,ii=at(ci.x,ci.y);return je(ii,dn,Br.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:kt(yr.draggableId,lr.critical.draggable.id,lr.impact,lr.afterCritical);if(lr.phase==="DROP_ANIMATING"){var Vr=lr.completed;return Vr.result.draggableId===yr.draggableId?null:kt(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lc=function(){var fe=ql(),je=Jl(),wt=function(qt,ar){return fe(qt,ar)||je(qt,ar)||yl};return wt},Zl={dropAnimationFinished:br},$l=Object(h.c)(lc,Zl,null,{context:Io,pure:!0,areStatePropsEqual:Zs})(ol);function Ol(at){var fe=Ks(il),je=fe.isUsingCloneFor;return je===at.draggableId&&!at.isClone?null:f.a.createElement($l,at)}function ec(at){var fe=typeof at.isDragDisabled=="boolean"?!at.isDragDisabled:!0,je=Boolean(at.disableInteractiveElementBlocking),wt=Boolean(at.shouldRespectForcePress);return f.a.createElement(Ol,Object(m.a)({},at,{isClone:!1,isEnabled:fe,canDragInteractiveElements:je,shouldRespectForcePress:wt}))}function cc(at){var fe=Object(g.useContext)(Mo);fe||Ae(!1);var je=fe.contextId,wt=fe.isMovementAllowed,kt=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=at.children,lr=at.droppableId,yr=at.type,Vr=at.mode,Xr=at.direction,Br=at.ignoreContainerClipping,kr=at.isDropDisabled,Gr=at.isCombineEnabled,dn=at.snapshot,pn=at.useClone,ei=at.updateViewportMaxScroll,ci=at.getContainerForClone,ii=o(function(){return kt.current},[]),Ji=o(function(M){kt.current=M},[]),Si=o(function(){return qt.current},[]),Va=o(function(M){qt.current=M},[]);Tl({props:at,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=o(function(){wt()&&ei({maxScroll:Xa()})},[wt,ei]);Ps({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:kr,isCombineEnabled:Gr,ignoreContainerClipping:Br,getDroppableRef:ii});var co=f.a.createElement(Yl,{on:at.placeholder,shouldAnimate:at.shouldAnimatePlaceholder},function(M){var Z=M.onClose,ee=M.data,ie=M.animate;return f.a.createElement(hl,{placeholder:ee,onClose:Z,innerRef:Va,animate:ie,contextId:je,onTransitionEnd:Ei})}),Ko=r(function(){return{innerRef:Ji,placeholder:co,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":je}}},[je,lr,co,Ji]),ao=pn?pn.dragging.draggableId:null,Uo=r(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function I(){if(!pn)return null;var M=pn.dragging,Z=pn.render,ee=f.a.createElement(Ol,{draggableId:M.draggableId,index:M.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ie,Me){return Z(ie,Me,M)});return k.a.createPortal(ee,ci())}return f.a.createElement(il.Provider,{value:Uo},ar(Ko,dn),I())}var Il=function(fe,je){return fe===je.droppable.type},js=function(fe,je){return je.draggables[fe.draggable.id]},_l=function(){var fe={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},je=Object(m.a)({},fe,{shouldAnimatePlaceholder:!1}),wt=C(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),kt=C(function(ar,lr,yr,Vr,Xr,Br){var kr=Xr.descriptor.id,Gr=Xr.descriptor.droppableId===ar;if(Gr){var dn=Br?{render:Br,dragging:wt(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?kr:null,draggingFromThisWith:kr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return je;if(!Vr)return fe;var ei={isDraggingOver:yr,draggingOverWith:kr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),qt=function(lr,yr){var Vr=yr.droppableId,Xr=yr.type,Br=!yr.isDropDisabled,kr=yr.renderClone;if(lr.isDragging){var Gr=lr.critical;if(!Il(Xr,Gr))return je;var dn=js(Gr,lr.dimensions),pn=gn(lr.impact)===Vr;return kt(Vr,Br,pn,pn,dn,kr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!Il(Xr,ei.critical))return je;var ci=js(ei.critical,lr.dimensions);return kt(Vr,Br,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ci,kr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!Il(Xr,ii.critical))return je;var Ji=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Ji?Si?fe:je:Va?fe:je}return je};return qt},Al={updateViewportMaxScroll:Or};function uc(){return document.body||Ae(!1),document.body}var dc={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uc},sl=Object(h.c)(_l,Al,null,{context:Io,pure:!0,areStatePropsEqual:Zs})(cc);sl.defaultProps=dc},ni6a:function(D,_,e){var g=e("pzxd"),f=e("mFDi"),y=e("gut8"),m=y.WILL_BE_RESTORED,v=new f,h=function(){};h.prototype={constructor:h,drawRectText:function(i,r){var o=this.style;r=o.textRect||r,this.__dirty&&g.normalizeTextStyle(o,!0);var d=o.text;if(d!=null&&(d+=""),!g.needDrawText(d,o))return;i.save();var n=this.transform;o.transformText?this.setTransform(i):n&&(v.copy(r),v.applyTransform(n),r=v),g.renderText(this,i,d,o,r,m),i.restore()}};var c=h;D.exports=c},nkfE:function(D,_,e){var g=e("bYtY"),f=e("ca2m"),y=e("bLfw"),m=e("+TT/"),v=m.getLayoutParams,h=m.mergeLayoutParam,c=e("jkPA"),a=["value","category","time","log"];function i(r,o,d,n){g.each(a,function(l){o.extend({type:r+"Axis."+l,mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,p=u?v(t):{},w=s.getTheme();g.merge(t,w.get(l+"Axis")),g.merge(t,this.getDefaultOption()),t.type=d(r,t),u&&h(t,p,u)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var s=this.option;if(s.type==="category")return t?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:g.mergeAll([{},f[l+"Axis"],n],!0)})}),y.registerSubTypeDefaulter(r+"Axis",g.curry(d,r))}D.exports=i},noeP:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("UOVi");g.registerAction("dataZoom",function(m,v){var h=y.createLinkedNodesFinder(f.bind(v.eachComponent,v,"dataZoom"),y.eachAxisDim,function(a,i){return a.get(i.axisIndex)}),c=[];v.eachComponent({mainType:"dataZoom",query:m},function(a,i){c.push.apply(c,h(a).nodes)}),f.each(c,function(a,i){a.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},o40c:function(D,_,e){var g=e("IwbS"),f=e("OS9S"),y=e("loD1"),m=e("aKvl"),v=g.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(i,r){var o=r.segs,d=r.curveness;if(r.polyline)for(var n=0;n<o.length;){var l=o[n++];if(l>0){i.moveTo(o[n++],o[n++]);for(var t=1;t<l;t++)i.lineTo(o[n++],o[n++])}}else for(var n=0;n<o.length;){var s=o[n++],u=o[n++],p=o[n++],w=o[n++];if(i.moveTo(s,u),d>0){var b=(s+p)/2-(u-w)*d,E=(u+w)/2-(p-s)*d;i.quadraticCurveTo(b,E,p,w)}else i.lineTo(p,w)}},findDataIndex:function(i,r){var o=this.shape,d=o.segs,n=o.curveness;if(o.polyline)for(var l=0,t=0;t<d.length;){var s=d[t++];if(s>0)for(var u=d[t++],p=d[t++],w=1;w<s;w++){var b=d[t++],E=d[t++];if(y.containStroke(u,p,b,E))return l}l++}else for(var l=0,t=0;t<d.length;){var u=d[t++],p=d[t++],b=d[t++],E=d[t++];if(n>0){var A=(u+b)/2-(p-E)*n,S=(p+E)/2-(b-u)*n;if(m.containStroke(u,p,A,S,b,E))return l}else if(y.containStroke(u,p,b,E))return l;l++}return-1}});function h(){this.group=new g.Group}var c=h.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(i){this.group.removeAll();var r=new v({rectHover:!0,cursor:"default"});r.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(r,i),this.group.add(r),this._incremental=null},c.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(i,r){var o=new v;o.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(o,r,!!this._incremental),this._incremental?this._incremental.addDisplayable(o,!0):(o.rectHover=!0,o.cursor="default",o.__startIndex=i.start,this.group.add(o))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(i,r,o){var d=r.hostModel;i.setShape({polyline:d.get("polyline"),curveness:d.get("lineStyle.curveness")}),i.useStyle(d.getModel("lineStyle").getLineStyle()),i.style.strokeNoScale=!0;var n=r.getVisual("color");n&&i.setStyle("stroke",n),i.setStyle("fill"),o||(i.seriesIndex=d.seriesIndex,i.on("mousemove",function(l){i.dataIndex=null;var t=i.findDataIndex(l.offsetX,l.offsetY);t>0&&(i.dataIndex=t+i.__startIndex)}))},c._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var a=h;D.exports=a},oBaM:function(D,_,e){var g=e("T4UG"),f=e("5GtS"),y=e("bYtY"),m=e("7aKB"),v=m.encodeHTML,h=e("xKMd"),c=g.extend({type:"series.radar",dependencies:["radar"],init:function(i){c.superApply(this,"init",arguments),this.legendVisualProvider=new h(y.bind(this.getData,this),y.bind(this.getRawData,this))},getInitialData:function(i,r){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(i){var r=this.getData(),o=this.coordinateSystem,d=o.getIndicatorAxes(),n=this.getData().getName(i);return v(n===""?this.name:n)+"<br/>"+y.map(d,function(l,t){var s=r.get(r.mapDimension(l.dim),i);return v(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(i){if(i!=null){for(var r=this.getData(),o=this.coordinateSystem,d=r.getValues(y.map(o.dimensions,function(s){return r.mapDimension(s)}),i,!0),n=0,l=d.length;n<l;n++)if(!isNaN(d[n])){var t=o.getIndicatorAxes();return o.coordToPoint(t[n].dataToCoord(d[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),a=c;D.exports=a},oE7X:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(D,_,e){},oVpE:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("mFDi"),m=e("6GrX"),v=m.calculateTextPosition,h=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var p=u.cx,w=u.cy,b=u.width/2,E=u.height/2;s.moveTo(p,w-E),s.lineTo(p+b,w+E),s.lineTo(p-b,w+E),s.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var p=u.cx,w=u.cy,b=u.width/2,E=u.height/2;s.moveTo(p,w-E),s.lineTo(p+b,w),s.lineTo(p,w+E),s.lineTo(p-b,w),s.closePath()}}),a=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.x,w=u.y,b=u.width/5*3,E=Math.max(b,u.height),A=b/2,S=A*A/(E-A),T=w-E+A+S,L=Math.asin(S/A),x=Math.cos(L)*A,C=Math.sin(L),O=Math.cos(L),N=A*.6,F=A*.7;s.moveTo(p-x,T+S),s.arc(p,T,A,Math.PI-L,Math.PI*2+L),s.bezierCurveTo(p+x-C*N,T+S+O*N,p,w-F,p,w),s.bezierCurveTo(p,w-F,p-x+C*N,T+S+O*N,p-x,T+S),s.closePath()}}),i=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.height,w=u.width,b=u.x,E=u.y,A=w/3*2;s.moveTo(b,E),s.lineTo(b+A,E+p),s.lineTo(b,E+p/4*3),s.lineTo(b-A,E+p),s.lineTo(b,E),s.closePath()}}),r={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:c,pin:a,arrow:i,triangle:h},o={line:function(s,u,p,w,b){b.x1=s,b.y1=u+w/2,b.x2=s+p,b.y2=u+w/2},rect:function(s,u,p,w,b){b.x=s,b.y=u,b.width=p,b.height=w},roundRect:function(s,u,p,w,b){b.x=s,b.y=u,b.width=p,b.height=w,b.r=Math.min(p,w)/4},square:function(s,u,p,w,b){var E=Math.min(p,w);b.x=s,b.y=u,b.width=E,b.height=E},circle:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.r=Math.min(p,w)/2},diamond:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.width=p,b.height=w},pin:function(s,u,p,w,b){b.x=s+p/2,b.y=u+w/2,b.width=p,b.height=w},arrow:function(s,u,p,w,b){b.x=s+p/2,b.y=u+w/2,b.width=p,b.height=w},triangle:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.width=p,b.height=w}},d={};g.each(r,function(s,u){d[u]=new s});var n=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,p){var w=v(s,u,p),b=this.shape;return b&&b.symbolType==="pin"&&u.textPosition==="inside"&&(w.y=p.y+p.height*.4),w},buildPath:function(s,u,p){var w=u.symbolType;if(w!=="none"){var b=d[w];b||(w="rect",b=d[w]),o[w](u.x,u.y,u.width,u.height,b.shape),b.buildPath(s,b.shape,p)}}});function l(s,u){if(this.type!=="image"){var p=this.style,w=this.shape;w&&w.symbolType==="line"?p.stroke=s:this.__isEmptyBrush?(p.stroke=s,p.fill=u||"#fff"):(p.fill&&(p.fill=s),p.stroke&&(p.stroke=s)),this.dirty(!1)}}function t(s,u,p,w,b,E,A){var S=s.indexOf("empty")===0;S&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=f.makeImage(s.slice(8),new y(u,p,w,b),A?"center":"cover"):s.indexOf("path://")===0?T=f.makePath(s.slice(7),{},new y(u,p,w,b),A?"center":"cover"):T=new n({shape:{symbolType:s,x:u,y:p,width:w,height:b}}),T.__isEmptyBrush=S,T.setColor=l,T.setColor(E),T}_.createSymbol=t},oY9F:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});D.exports=f},or5M:function(D,_,e){var g=e("1hJj"),f=e("QoRX"),y=e("xYSL"),m=1,v=2;function h(c,a,i,r,o,d){var n=i&m,l=c.length,t=a.length;if(l!=t&&!(n&&t>l))return!1;var s=d.get(c),u=d.get(a);if(s&&u)return s==a&&u==c;var p=-1,w=!0,b=i&v?new g:void 0;for(d.set(c,a),d.set(a,c);++p<l;){var E=c[p],A=a[p];if(r)var S=n?r(A,E,p,a,c,d):r(E,A,p,c,a,d);if(S!==void 0){if(S)continue;w=!1;break}if(b){if(!f(a,function(T,L){if(!y(b,L)&&(E===T||o(E,T,i,r,d)))return b.push(L)})){w=!1;break}}else if(!(E===A||o(E,A,i,r,d))){w=!1;break}}return d.delete(c),d.delete(a),w}D.exports=h},osHv:function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function y(u,p){return u.line-p.line||u.ch-p.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",v=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+m+"]["+v+"]*)","g");function c(u,p,w,b){this.line=p,this.ch=w,this.cm=u,this.text=u.getLine(p),this.min=b?Math.max(b.from,u.firstLine()):u.firstLine(),this.max=b?Math.min(b.to-1,u.lastLine()):u.lastLine()}function a(u,p){var w=u.cm.getTokenTypeAt(f(u.line,p));return w&&/\btag\b/.test(w)}function i(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function r(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function o(u){for(;;){var p=u.text.indexOf(">",u.ch);if(p==-1){if(i(u))continue;return}if(!a(u,p+1)){u.ch=p+1;continue}var w=u.text.lastIndexOf("/",p),b=w>-1&&!/\S/.test(u.text.slice(w+1,p));return u.ch=p+1,b?"selfClose":"regular"}}function d(u){for(;;){var p=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(p==-1){if(r(u))continue;return}if(!a(u,p+1)){u.ch=p;continue}h.lastIndex=p,u.ch=p;var w=h.exec(u.text);if(w&&w.index==p)return w}}function n(u){for(;;){h.lastIndex=u.ch;var p=h.exec(u.text);if(!p){if(i(u))continue;return}if(!a(u,p.index+1)){u.ch=p.index+1;continue}return u.ch=p.index+p[0].length,p}}function l(u){for(;;){var p=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(p==-1){if(r(u))continue;return}if(!a(u,p+1)){u.ch=p;continue}var w=u.text.lastIndexOf("/",p),b=w>-1&&!/\S/.test(u.text.slice(w+1,p));return u.ch=p+1,b?"selfClose":"regular"}}function t(u,p){for(var w=[];;){var b=n(u),E,A=u.line,S=u.ch-(b?b[0].length:0);if(!b||!(E=o(u)))return;if(E=="selfClose")continue;if(b[1]){for(var T=w.length-1;T>=0;--T)if(w[T]==b[2]){w.length=T;break}if(T<0&&(!p||p==b[2]))return{tag:b[2],from:f(A,S),to:f(u.line,u.ch)}}else w.push(b[2])}}function s(u,p){for(var w=[];;){var b=l(u);if(!b)return;if(b=="selfClose"){d(u);continue}var E=u.line,A=u.ch,S=d(u);if(!S)return;if(S[1])w.push(S[2]);else{for(var T=w.length-1;T>=0;--T)if(w[T]==S[2]){w.length=T;break}if(T<0&&(!p||p==S[2]))return{tag:S[2],from:f(u.line,u.ch),to:f(E,A)}}}}g.registerHelper("fold","xml",function(u,p){for(var w=new c(u,p.line,0);;){var b=n(w);if(!b||w.line!=p.line)return;var E=o(w);if(!E)return;if(!b[1]&&E!="selfClose"){var A=f(w.line,w.ch),S=t(w,b[2]);return S&&y(S.from,A)>0?{from:A,to:S.from}:null}}}),g.findMatchingTag=function(u,p,w){var b=new c(u,p.line,p.ch,w);if(b.text.indexOf(">")==-1&&b.text.indexOf("<")==-1)return;var E=o(b),A=E&&f(b.line,b.ch),S=E&&d(b);if(!E||!S||y(b,p)>0)return;var T={from:f(b.line,b.ch),to:A,tag:S[2]};return E=="selfClose"?{open:T,close:null,at:"open"}:S[1]?{open:s(b,S[2]),close:T,at:"close"}:(b=new c(u,A.line,A.ch,w),{open:T,close:t(b,S[2]),at:"open"})},g.findEnclosingTag=function(u,p,w,b){for(var E=new c(u,p.line,p.ch,w);;){var A=s(E,b);if(!A)break;var S=new c(u,p.line,p.ch,w),T=t(S,A.tag);if(T)return{open:A,close:T}}},g.scanForClosingTag=function(u,p,w,b){var E=new c(u,p.line,p.ch,b?{from:0,to:b}:null);return t(E,w)}})},ozfa:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KxFI"),m=e.n(y)},"p+If":function(D,_,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),y=e("7ph2");g.registerLayout(f),g.registerVisual(y)},"p/La":function(D,_){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function g(f,y){f==="china"&&y.name==="\u53F0\u6E7E"&&y.geometries.push({type:"polygon",exterior:e[0]})}D.exports=g},p1MT:function(D,_,e){var g=e("Hw7h"),f=e("IwbS"),y=e("6Ic6"),m=e("OELB"),v=m.parsePercent,h=m.round,c=m.linearMap;function a(n,l){var t=n.get("center"),s=l.getWidth(),u=l.getHeight(),p=Math.min(s,u),w=v(t[0],l.getWidth()),b=v(t[1],l.getHeight()),E=v(n.get("radius"),p/2);return{cx:w,cy:b,r:E}}function i(n,l){return l&&(typeof l=="string"?n=l.replace("{value}",n!=null?n:""):typeof l=="function"&&(n=l(n))),n}var r=Math.PI*2,o=y.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var s=n.get("axisLine.lineStyle.color"),u=a(n,t);this._renderMain(n,l,t,s,u)},dispose:function(){},_renderMain:function(n,l,t,s,u){for(var p=this.group,w=n.getModel("axisLine"),b=w.getModel("lineStyle"),E=n.get("clockwise"),A=-n.get("startAngle")/180*Math.PI,S=-n.get("endAngle")/180*Math.PI,T=(S-A)%r,L=A,x=b.get("width"),C=w.get("show"),O=0;C&&O<s.length;O++){var N=Math.min(Math.max(s[O][0],0),1),S=A+T*N,F=new f.Sector({shape:{startAngle:L,endAngle:S,cx:u.cx,cy:u.cy,clockwise:E,r0:u.r-x,r:u.r},silent:!0});F.setStyle({fill:s[O][1]}),F.setStyle(b.getLineStyle(["color","borderWidth","borderColor"])),p.add(F),L=S}var k=function(B){if(B<=0)return s[0][1];for(var z=0;z<s.length;z++)if(s[z][0]>=B&&(z===0?0:s[z-1][0])<B)return s[z][1];return s[z-1][1]};if(!E){var P=A;A=S,S=P}this._renderTicks(n,l,t,k,u,A,S,E),this._renderPointer(n,l,t,k,u,A,S,E),this._renderTitle(n,l,t,k,u),this._renderDetail(n,l,t,k,u)},_renderTicks:function(n,l,t,s,u,p,w,b){for(var E=this.group,A=u.cx,S=u.cy,T=u.r,L=+n.get("min"),x=+n.get("max"),C=n.getModel("splitLine"),O=n.getModel("axisTick"),N=n.getModel("axisLabel"),F=n.get("splitNumber"),k=O.get("splitNumber"),P=v(C.get("length"),T),B=v(O.get("length"),T),z=p,R=(w-p)/F,U=R/k,j=C.getModel("lineStyle").getLineStyle(),H=O.getModel("lineStyle").getLineStyle(),V=0;V<=F;V++){var X=Math.cos(z),W=Math.sin(z);if(C.get("show")){var G=new f.Line({shape:{x1:X*T+A,y1:W*T+S,x2:X*(T-P)+A,y2:W*(T-P)+S},style:j,silent:!0});j.stroke==="auto"&&G.setStyle({stroke:s(V/F)}),E.add(G)}if(N.get("show")){var $=i(h(V/F*(x-L)+L),N.get("formatter")),ge=N.get("distance"),q=s(V/F);E.add(new f.Text({style:f.setTextStyle({},N,{text:$,x:X*(T-P-ge)+A,y:W*(T-P-ge)+S,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:X<-.4?"left":X>.4?"right":"center"},{autoColor:q}),silent:!0}))}if(O.get("show")&&V!==F){for(var Se=0;Se<=k;Se++){var X=Math.cos(z),W=Math.sin(z),Ce=new f.Line({shape:{x1:X*T+A,y1:W*T+S,x2:X*(T-B)+A,y2:W*(T-B)+S},silent:!0,style:H});H.stroke==="auto"&&Ce.setStyle({stroke:s((V+Se/k)/F)}),E.add(Ce),z+=U}z-=U}else z+=R}},_renderPointer:function(n,l,t,s,u,p,w,b){var E=this.group,A=this._data;if(!n.get("pointer.show")){A&&A.eachItemGraphicEl(function(C){E.remove(C)});return}var S=[+n.get("min"),+n.get("max")],T=[p,w],L=n.getData(),x=L.mapDimension("value");L.diff(A).add(function(C){var O=new g({shape:{angle:p}});f.initProps(O,{shape:{angle:c(L.get(x,C),S,T,!0)}},n),E.add(O),L.setItemGraphicEl(C,O)}).update(function(C,O){var N=A.getItemGraphicEl(O);f.updateProps(N,{shape:{angle:c(L.get(x,C),S,T,!0)}},n),E.add(N),L.setItemGraphicEl(C,N)}).remove(function(C){var O=A.getItemGraphicEl(C);E.remove(O)}).execute(),L.eachItemGraphicEl(function(C,O){var N=L.getItemModel(O),F=N.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:v(F.get("width"),u.r),r:v(F.get("length"),u.r)}),C.useStyle(N.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(c(L.get(x,O),S,[0,1],!0))),f.setHoverStyle(C,N.getModel("emphasis.itemStyle").getItemStyle())}),this._data=L},_renderTitle:function(n,l,t,s,u){var p=n.getData(),w=p.mapDimension("value"),b=n.getModel("title");if(b.get("show")){var E=b.get("offsetCenter"),A=u.cx+v(E[0],u.r),S=u.cy+v(E[1],u.r),T=+n.get("min"),L=+n.get("max"),x=n.getData().get(w,0),C=s(c(x,[T,L],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},b,{x:A,y:S,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(n,l,t,s,u){var p=n.getModel("detail"),w=+n.get("min"),b=+n.get("max");if(p.get("show")){var E=p.get("offsetCenter"),A=u.cx+v(E[0],u.r),S=u.cy+v(E[1],u.r),T=v(p.get("width"),u.r),L=v(p.get("height"),u.r),x=n.getData(),C=x.get(x.mapDimension("value"),0),O=s(c(C,[w,b],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},p,{x:A,y:S,text:i(C,p.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(L)?null:L,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),d=o;D.exports=d},"p77/":function(D,_,e){},pC0b:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("xzDV"),m=e.n(y),v=e("5Dmo")},"pED+":function(D,_,e){},pG52:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},pLH3:function(D,_,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),y=e("JLnu"),m=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(y),g.registerProcessor(m("funnel"))},pP6R:function(D,_,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function y(c,a,i){var r=h(c);r[a]=i}function m(c,a,i){var r=h(c),o=r[a];o===i&&(r[a]=null)}function v(c,a){return!!h(c)[a]}function h(c){return c[f]||(c[f]={})}g.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),_.take=y,_.release=m,_.isTaken=v},pSRY:function(D,_,e){var g=e("QkVE");function f(y){return g(this,y).has(y)}D.exports=f},pmaE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("DEFe"),v="__seriesMapHighDown",h="__seriesMapCallKey",c=g.extendChartView({type:"map",render:function(r,o,d,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var l=this.group;if(l.removeAll(),r.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===r.id){var t=this._mapDraw;t&&l.add(t.group)}else if(r.needsDrawMap){var t=this._mapDraw||new m(d,!0);l.add(t.group),t.draw(r,o,d,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&o.getComponent("legend")&&this._renderSymbols(r,o,d)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(r,o,d){var n=r.originalData,l=this.group;n.each(n.mapDimension("value"),function(t,s){if(isNaN(t))return;var u=n.getItemLayout(s);if(!u||!u.point)return;var p=u.point,w=u.offset,b=new y.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:p[0]+w*9,cy:p[1],r:3},silent:!0,z2:8+(w?0:y.Z2_EMPHASIS_LIFT+1)});if(!w){var E=r.mainSeries.getData(),A=n.getName(s),S=E.indexOfName(A),T=n.getItemModel(s),L=T.getModel("label"),x=T.getModel("emphasis.label"),C=E.getItemGraphicEl(S),O=f.retrieve2(r.getFormattedLabel(S,"normal"),A),N=f.retrieve2(r.getFormattedLabel(S,"emphasis"),O),F=C[v],k=Math.random();if(!F){F=C[v]={};var P=f.curry(a,!0),B=f.curry(a,!1);C.on("mouseover",P).on("mouseout",B).on("emphasis",P).on("normal",B)}C[h]=k,f.extend(F,{recordVersion:k,circle:b,labelModel:L,hoverLabelModel:x,emphasisText:N,normalText:O}),i(F,!1)}l.add(b)})}});function a(r){var o=this[v];o&&o.recordVersion===this[h]&&i(o,r)}function i(r,o){var d=r.circle,n=r.labelModel,l=r.hoverLabelModel,t=r.emphasisText,s=r.normalText;o?(d.style.extendFrom(y.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=y.Z2_EMPHASIS_LIFT):(y.setTextStyle(d.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),d.dirty(!1),d.__mapOriginalZ2!=null&&(d.z2=d.__mapOriginalZ2,d.__mapOriginalZ2=null))}D.exports=c},pwpV:function(D,_,e){},pzxd:function(D,_,e){var g=e("bYtY"),f=g.retrieve2,y=g.retrieve3,m=g.each,v=g.normalizeCssArray,h=g.isString,c=g.isObject,a=e("6GrX"),i=e("VpOo"),r=e("Xnb7"),o=e("fW2E"),d=e("gut8"),n=d.ContextCachedBy,l=d.WILL_BE_RESTORED,t=a.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],w={},b={};function E(V){return A(V),m(V.rich,A),V}function A(V){if(V){V.font=a.makeFont(V);var X=V.textAlign;X==="middle"&&(X="center"),V.textAlign=X==null||s[X]?X:"left";var W=V.textVerticalAlign||V.textBaseline;W==="center"&&(W="middle"),V.textVerticalAlign=W==null||u[W]?W:"top";var G=V.textPadding;G&&(V.textPadding=v(V.textPadding))}}function S(V,X,W,G,$,ge){G.rich?L(V,X,W,G,$,ge):T(V,X,W,G,$,ge)}function T(V,X,W,G,$,ge){"use strict";var q=N(G),Se,Ce=!1,Ae=X.__attrCachedBy===n.PLAIN_TEXT;ge!==l?(ge&&(Se=ge.style,Ce=!q&&Ae&&Se),X.__attrCachedBy=q?n.NONE:n.PLAIN_TEXT):Ae&&(X.__attrCachedBy=n.NONE);var Ue=G.font||t;(!Ce||Ue!==(Se.font||t))&&(X.font=Ue);var Qe=V.__computedFont;V.__styleFont!==Ue&&(V.__styleFont=Ue,Qe=V.__computedFont=X.font);var gt=G.textPadding,_e=G.textLineHeight,Oe=V.__textCotentBlock;(!Oe||V.__dirtyText)&&(Oe=V.__textCotentBlock=a.parsePlainText(W,Qe,gt,_e,G.truncate));var lt=Oe.outerHeight,ce=Oe.lines,Y=Oe.lineHeight,K=P(b,V,G,$),Q=K.baseX,ye=K.baseY,ue=K.textAlign||"left",Ne=K.textVerticalAlign;C(X,G,$,Q,ye);var Te=a.adjustTextY(ye,lt,Ne),oe=Q,de=Te;if(q||gt){var Le=a.getWidth(W,Qe),Ge=Le;gt&&(Ge+=gt[1]+gt[3]);var ht=a.adjustTextX(Q,Ge,ue);q&&F(V,X,G,ht,Te,Ge,lt),gt&&(oe=j(Q,ue,gt),de+=gt[0])}X.textAlign=ue,X.textBaseline="middle",X.globalAlpha=G.opacity||1;for(var Et=0;Et<p.length;Et++){var Be=p[Et],Dt=Be[0],Ke=Be[1],At=G[Dt];(!Ce||At!==Se[Dt])&&(X[Ke]=o(X,Ke,At||Be[2]))}de+=Y/2;var Xe=G.textStrokeWidth,et=Ce?Se.textStrokeWidth:null,tt=!Ce||Xe!==et,ot=!Ce||tt||G.textStroke!==Se.textStroke,Ve=z(G.textStroke,Xe),se=R(G.textFill);if(Ve&&(tt&&(X.lineWidth=Xe),ot&&(X.strokeStyle=Ve)),se&&((!Ce||G.textFill!==Se.textFill)&&(X.fillStyle=se)),ce.length===1)Ve&&X.strokeText(ce[0],oe,de),se&&X.fillText(ce[0],oe,de);else for(var Et=0;Et<ce.length;Et++)Ve&&X.strokeText(ce[Et],oe,de),se&&X.fillText(ce[Et],oe,de),de+=Y}function L(V,X,W,G,$,ge){ge!==l&&(X.__attrCachedBy=n.NONE);var q=V.__textCotentBlock;(!q||V.__dirtyText)&&(q=V.__textCotentBlock=a.parseRichText(W,G)),x(V,X,q,G,$)}function x(V,X,W,G,$){var ge=W.width,q=W.outerWidth,Se=W.outerHeight,Ce=G.textPadding,Ae=P(b,V,G,$),Ue=Ae.baseX,Qe=Ae.baseY,gt=Ae.textAlign,_e=Ae.textVerticalAlign;C(X,G,$,Ue,Qe);var Oe=a.adjustTextX(Ue,q,gt),lt=a.adjustTextY(Qe,Se,_e),ce=Oe,Y=lt;Ce&&(ce+=Ce[3],Y+=Ce[0]);var K=ce+ge;N(G)&&F(V,X,G,Oe,lt,q,Se);for(var Q=0;Q<W.lines.length;Q++){for(var ye=W.lines[Q],ue=ye.tokens,Ne=ue.length,Te=ye.lineHeight,oe=ye.width,de=0,Le=ce,Ge=K,ht=Ne-1,Et;de<Ne&&(Et=ue[de],!Et.textAlign||Et.textAlign==="left");)O(V,X,Et,G,Te,Y,Le,"left"),oe-=Et.width,Le+=Et.width,de++;for(;ht>=0&&(Et=ue[ht],Et.textAlign==="right");)O(V,X,Et,G,Te,Y,Ge,"right"),oe-=Et.width,Ge-=Et.width,ht--;for(Le+=(ge-(Le-ce)-(K-Ge)-oe)/2;de<=ht;)Et=ue[de],O(V,X,Et,G,Te,Y,Le+Et.width/2,"center"),Le+=Et.width,de++;Y+=Te}}function C(V,X,W,G,$){if(W&&X.textRotation){var ge=X.textOrigin;ge==="center"?(G=W.width/2+W.x,$=W.height/2+W.y):ge&&(G=ge[0]+W.x,$=ge[1]+W.y),V.translate(G,$),V.rotate(-X.textRotation),V.translate(-G,-$)}}function O(V,X,W,G,$,ge,q,Se){var Ce=G.rich[W.styleName]||{};Ce.text=W.text;var Ae=W.textVerticalAlign,Ue=ge+$/2;Ae==="top"?Ue=ge+W.height/2:Ae==="bottom"&&(Ue=ge+$-W.height/2),!W.isLineHolder&&N(Ce)&&F(V,X,Ce,Se==="right"?q-W.width:Se==="center"?q-W.width/2:q,Ue-W.height/2,W.width,W.height);var Qe=W.textPadding;Qe&&(q=j(q,Se,Qe),Ue-=W.height/2-Qe[2]-W.textHeight/2),B(X,"shadowBlur",y(Ce.textShadowBlur,G.textShadowBlur,0)),B(X,"shadowColor",Ce.textShadowColor||G.textShadowColor||"transparent"),B(X,"shadowOffsetX",y(Ce.textShadowOffsetX,G.textShadowOffsetX,0)),B(X,"shadowOffsetY",y(Ce.textShadowOffsetY,G.textShadowOffsetY,0)),B(X,"textAlign",Se),B(X,"textBaseline","middle"),B(X,"font",W.font||t);var gt=z(Ce.textStroke||G.textStroke,Oe),_e=R(Ce.textFill||G.textFill),Oe=f(Ce.textStrokeWidth,G.textStrokeWidth);gt&&(B(X,"lineWidth",Oe),B(X,"strokeStyle",gt),X.strokeText(W.text,q,Ue)),_e&&(B(X,"fillStyle",_e),X.fillText(W.text,q,Ue))}function N(V){return!!(V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor)}function F(V,X,W,G,$,ge,q){var Se=W.textBackgroundColor,Ce=W.textBorderWidth,Ae=W.textBorderColor,Ue=h(Se);if(B(X,"shadowBlur",W.textBoxShadowBlur||0),B(X,"shadowColor",W.textBoxShadowColor||"transparent"),B(X,"shadowOffsetX",W.textBoxShadowOffsetX||0),B(X,"shadowOffsetY",W.textBoxShadowOffsetY||0),Ue||Ce&&Ae){X.beginPath();var Qe=W.textBorderRadius;Qe?i.buildPath(X,{x:G,y:$,width:ge,height:q,r:Qe}):X.rect(G,$,ge,q),X.closePath()}if(Ue)if(B(X,"fillStyle",Se),W.fillOpacity!=null){var gt=X.globalAlpha;X.globalAlpha=W.fillOpacity*W.opacity,X.fill(),X.globalAlpha=gt}else X.fill();else if(c(Se)){var _e=Se.image;_e=r.createOrUpdateImage(_e,null,V,k,Se),_e&&r.isImageReady(_e)&&X.drawImage(_e,G,$,ge,q)}if(Ce&&Ae)if(B(X,"lineWidth",Ce),B(X,"strokeStyle",Ae),W.strokeOpacity!=null){var gt=X.globalAlpha;X.globalAlpha=W.strokeOpacity*W.opacity,X.stroke(),X.globalAlpha=gt}else X.stroke()}function k(V,X){X.image=V}function P(V,X,W,G){var $=W.x||0,ge=W.y||0,q=W.textAlign,Se=W.textVerticalAlign;if(G){var Ce=W.textPosition;if(Ce instanceof Array)$=G.x+U(Ce[0],G.width),ge=G.y+U(Ce[1],G.height);else{var Ae=X&&X.calculateTextPosition?X.calculateTextPosition(w,W,G):a.calculateTextPosition(w,W,G);$=Ae.x,ge=Ae.y,q=q||Ae.textAlign,Se=Se||Ae.textVerticalAlign}var Ue=W.textOffset;Ue&&($+=Ue[0],ge+=Ue[1])}return V=V||{},V.baseX=$,V.baseY=ge,V.textAlign=q,V.textVerticalAlign=Se,V}function B(V,X,W){return V[X]=o(V,X,W),V[X]}function z(V,X){return V==null||X<=0||V==="transparent"||V==="none"?null:V.image||V.colorStops?"#000":V}function R(V){return V==null||V==="none"?null:V.image||V.colorStops?"#000":V}function U(V,X){return typeof V=="string"?V.lastIndexOf("%")>=0?parseFloat(V)/100*X:parseFloat(V):V}function j(V,X,W){return X==="right"?V-W[1]:X==="center"?V+W[3]/2-W[1]/2:V+W[3]}function H(V,X){return V!=null&&(V||X.textBackgroundColor||X.textBorderWidth&&X.textBorderColor||X.textPadding)}_.normalizeTextStyle=E,_.renderText=S,_.getBoxPosition=P,_.getStroke=z,_.getFill=R,_.parsePercent=U,_.needDrawText=H},"q/+u":function(D,_,e){var g=e("ProS"),f=e("9wZj"),y=e("yWXo"),m=e("h8O9");g.extendChartView({type:"scatter",render:function(v,h,c){var a=v.getData(),i=this._updateSymbolDraw(a,v);i.updateData(a,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,h,c){var a=v.getData(),i=this._updateSymbolDraw(a,v);i.incrementalPrepareUpdate(a),this._finished=!1},incrementalRender:function(v,h,c){this._symbolDraw.incrementalUpdate(v,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=v.end===h.getData().count()},updateTransform:function(v,h,c){var a=v.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=m().reset(v);i.progress&&i.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_getClipShape:function(v){var h=v.coordinateSystem,c=h&&h.getArea&&h.getArea();return v.get("clip",!0)?c:null},_updateSymbolDraw:function(v,h){var c=this._symbolDraw,a=h.pipelineContext,i=a.large;return(!c||i!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=i?new y:new f,this._isLargeDraw=i,this.group.removeAll()),this.group.add(c.group),c},remove:function(v,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(D,_){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,y,m){var v=f.getModel("itemStyle"),h=f.getModel("lineStyle"),c=y.get("color"),a=h.get("color")||v.get("color")||c[f.seriesIndex%c.length],i=f.get("inactiveOpacity"),r=f.get("activeOpacity"),o=f.getModel("lineStyle").getLineStyle(),d=f.coordinateSystem,n=f.getData(),l={normal:o.opacity,active:r,inactive:i};n.setVisual("color",a);function t(s,u){d.eachActiveState(u,function(p,w){var b=l[p];if(p==="normal"&&u.hasItemOption){var E=u.getItemModel(w).get(e,!0);E!=null&&(b=E)}u.setItemVisual(w,"opacity",b)},s.start,s.end)}return{progress:t}}};D.exports=g},q4HE:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+a+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",u=t+l+s,p="(?:"+[r+c+"?",c,o,d,h].join("|")+")",w=RegExp(a+"(?="+a+")|"+p+u,"g");function b(E){for(var A=w.lastIndex=0;w.test(E);)++A;return A}D.exports=b},q7KB:function(D,_,e){},qH13:function(D,_,e){var g=e("ItGF"),f=e("QBsz"),y=f.applyTransform,m=e("mFDi"),v=e("Qe9p"),h=e("6GrX"),c=e("pzxd"),a=e("ni6a"),i=e("Gev7"),r=e("Dagg"),o=e("dqUG"),d=e("y+Vt"),n=e("IMiH"),l=e("QuXc"),t=e("06Qe"),s=n.CMD,u=Math.round,p=Math.sqrt,w=Math.abs,b=Math.cos,E=Math.sin,A=Math.max;if(!g.canvasSupported){var S=",",T="progid:DXImageTransform.Microsoft",L=21600,x=L/2,C=1e5,O=1e3,N=function(ye){ye.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",ye.coordsize=L+","+L,ye.coordorigin="0,0"},F=function(ye){return String(ye).replace(/&/g,"&").replace(/"/g,""")},k=function(ye,ue,Ne){return"rgb("+[ye,ue,Ne].join(",")+")"},P=function(ye,ue){ue&&ye&&ue.parentNode!==ye&&ye.appendChild(ue)},B=function(ye,ue){ue&&ye&&ue.parentNode===ye&&ye.removeChild(ue)},z=function(ye,ue,Ne){return(parseFloat(ye)||0)*C+(parseFloat(ue)||0)*O+Ne},R=c.parsePercent,U=function(ye,ue,Ne){var Te=v.parse(ue);Ne=+Ne,isNaN(Ne)&&(Ne=1),Te&&(ye.color=k(Te[0],Te[1],Te[2]),ye.opacity=Ne*Te[3])},j=function(ye){var ue=v.parse(ye);return[k(ue[0],ue[1],ue[2]),ue[3]]},H=function(ye,ue,Ne){var Te=ue.fill;if(Te!=null)if(Te instanceof l){var oe,de=0,Le=[0,0],Ge=0,ht=1,Et=Ne.getBoundingRect(),Be=Et.width,Dt=Et.height;if(Te.type==="linear"){oe="gradient";var Ke=Ne.transform,At=[Te.x*Be,Te.y*Dt],Xe=[Te.x2*Be,Te.y2*Dt];Ke&&(y(At,At,Ke),y(Xe,Xe,Ke));var et=Xe[0]-At[0],tt=Xe[1]-At[1];de=Math.atan2(et,tt)*180/Math.PI,de<0&&(de+=360),de<1e-6&&(de=0)}else{oe="gradientradial";var At=[Te.x*Be,Te.y*Dt],Ke=Ne.transform,ot=Ne.scale,Ve=Be,se=Dt;Le=[(At[0]-Et.x)/Ve,(At[1]-Et.y)/se],Ke&&y(At,At,Ke),Ve/=ot[0]*L,se/=ot[1]*L;var re=A(Ve,se);Ge=2*0/re,ht=2*Te.r/re-Ge}var it=Te.colorStops.slice();it.sort(function(ve,me){return ve.offset-me.offset});for(var qe=it.length,be=[],Zt=[],dt=0;dt<qe;dt++){var ct=it[dt],yt=j(ct.color);Zt.push(ct.offset*ht+Ge+" "+yt[0]),(dt===0||dt===qe-1)&&be.push(yt)}if(qe>=2){var _t=be[0][0],or=be[1][0],Bt=be[0][1]*ue.opacity,we=be[1][1]*ue.opacity;ye.type=oe,ye.method="none",ye.focus="100%",ye.angle=de,ye.color=_t,ye.color2=or,ye.colors=Zt.join(","),ye.opacity=we,ye.opacity2=Bt}oe==="radial"&&(ye.focusposition=Le.join(","))}else U(ye,Te,ue.opacity)},V=function(ye,ue){ue.lineDash&&(ye.dashstyle=ue.lineDash.join(" ")),ue.stroke!=null&&!(ue.stroke instanceof l)&&U(ye,ue.stroke,ue.opacity)},X=function(ye,ue,Ne,Te){var oe=ue==="fill",de=ye.getElementsByTagName(ue)[0];Ne[ue]!=null&&Ne[ue]!=="none"&&(oe||!oe&&Ne.lineWidth)?(ye[oe?"filled":"stroked"]="true",Ne[ue]instanceof l&&B(ye,de),de||(de=t.createNode(ue)),oe?H(de,Ne,Te):V(de,Ne),P(ye,de)):(ye[oe?"filled":"stroked"]="false",B(ye,de))},W=[[],[],[]],G=function(ye,ue){var Ne=s.M,Te=s.C,oe=s.L,de=s.A,Le=s.Q,Ge=[],ht,Et,Be,Dt,Ke,At,Xe=ye.data,et=ye.len();for(Dt=0;Dt<et;){Be=Xe[Dt++],Et="",ht=0;switch(Be){case Ne:Et=" m ",ht=1,Ke=Xe[Dt++],At=Xe[Dt++],W[0][0]=Ke,W[0][1]=At;break;case oe:Et=" l ",ht=1,Ke=Xe[Dt++],At=Xe[Dt++],W[0][0]=Ke,W[0][1]=At;break;case Le:case Te:Et=" c ",ht=3;var tt=Xe[Dt++],ot=Xe[Dt++],Ve=Xe[Dt++],se=Xe[Dt++],re,it;Be===Le?(re=Ve,it=se,Ve=(Ve+2*tt)/3,se=(se+2*ot)/3,tt=(Ke+2*tt)/3,ot=(At+2*ot)/3):(re=Xe[Dt++],it=Xe[Dt++]),W[0][0]=tt,W[0][1]=ot,W[1][0]=Ve,W[1][1]=se,W[2][0]=re,W[2][1]=it,Ke=re,At=it;break;case de:var qe=0,be=0,Zt=1,dt=1,ct=0;ue&&(qe=ue[4],be=ue[5],Zt=p(ue[0]*ue[0]+ue[1]*ue[1]),dt=p(ue[2]*ue[2]+ue[3]*ue[3]),ct=Math.atan2(-ue[1]/dt,ue[0]/Zt));var yt=Xe[Dt++],_t=Xe[Dt++],or=Xe[Dt++],Bt=Xe[Dt++],we=Xe[Dt++]+ct,ve=Xe[Dt++]+we+ct;Dt++;var me=Xe[Dt++],he=yt+b(we)*or,Re=_t+E(we)*Bt,tt=yt+b(ve)*or,ot=_t+E(ve)*Bt,He=me?" wa ":" at ";Math.abs(he-tt)<1e-4&&(Math.abs(ve-we)>.01?me&&(he+=270/L):Math.abs(Re-_t)<1e-4?me&&he<yt||!me&&he>yt?ot-=270/L:ot+=270/L:me&&Re<_t||!me&&Re>_t?tt+=270/L:tt-=270/L),Ge.push(He,u(((yt-or)*Zt+qe)*L-x),S,u(((_t-Bt)*dt+be)*L-x),S,u(((yt+or)*Zt+qe)*L-x),S,u(((_t+Bt)*dt+be)*L-x),S,u((he*Zt+qe)*L-x),S,u((Re*dt+be)*L-x),S,u((tt*Zt+qe)*L-x),S,u((ot*dt+be)*L-x)),Ke=tt,At=ot;break;case s.R:var ze=W[0],Ye=W[1];ze[0]=Xe[Dt++],ze[1]=Xe[Dt++],Ye[0]=ze[0]+Xe[Dt++],Ye[1]=ze[1]+Xe[Dt++],ue&&(y(ze,ze,ue),y(Ye,Ye,ue)),ze[0]=u(ze[0]*L-x),Ye[0]=u(Ye[0]*L-x),ze[1]=u(ze[1]*L-x),Ye[1]=u(Ye[1]*L-x),Ge.push(" m ",ze[0],S,ze[1]," l ",Ye[0],S,ze[1]," l ",Ye[0],S,Ye[1]," l ",ze[0],S,Ye[1]);break;case s.Z:Ge.push(" x ")}if(ht>0){Ge.push(Et);for(var Pe=0;Pe<ht;Pe++){var nt=W[Pe];ue&&y(nt,nt,ue),Ge.push(u(nt[0]*L-x),S,u(nt[1]*L-x),Pe<ht-1?S:"")}}}return Ge.join("")};d.prototype.brushVML=function(Q){var ye=this.style,ue=this._vmlEl;ue||(ue=t.createNode("shape"),N(ue),this._vmlEl=ue),X(ue,"fill",ye,this),X(ue,"stroke",ye,this);var Ne=this.transform,Te=Ne!=null,oe=ue.getElementsByTagName("stroke")[0];if(oe){var de=ye.lineWidth;if(Te&&!ye.strokeNoScale){var Le=Ne[0]*Ne[3]-Ne[1]*Ne[2];de*=p(w(Le))}oe.weight=de+"px"}var Ge=this.path||(this.path=new n);this.__dirtyPath&&(Ge.beginPath(),Ge.subPixelOptimize=!1,this.buildPath(Ge,this.shape),Ge.toStatic(),this.__dirtyPath=!1),ue.path=G(Ge,this.transform),ue.style.zIndex=z(this.zlevel,this.z,this.z2),P(Q,ue),ye.text!=null?this.drawRectText(Q,this.getBoundingRect()):this.removeRectText(Q)},d.prototype.onRemove=function(Q){B(Q,this._vmlEl),this.removeRectText(Q)},d.prototype.onAdd=function(Q){P(Q,this._vmlEl),this.appendRectText(Q)};var $=function(ye){return typeof ye=="object"&&ye.tagName&&ye.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(Q){var ye=this.style,ue=ye.image,Ne,Te;if($(ue)){var oe=ue.src;if(oe===this._imageSrc)Ne=this._imageWidth,Te=this._imageHeight;else{var de=ue.runtimeStyle,Le=de.width,Ge=de.height;de.width="auto",de.height="auto",Ne=ue.width,Te=ue.height,de.width=Le,de.height=Ge,this._imageSrc=oe,this._imageWidth=Ne,this._imageHeight=Te}ue=oe}else ue===this._imageSrc&&(Ne=this._imageWidth,Te=this._imageHeight);if(!ue)return;var ht=ye.x||0,Et=ye.y||0,Be=ye.width,Dt=ye.height,Ke=ye.sWidth,At=ye.sHeight,Xe=ye.sx||0,et=ye.sy||0,tt=Ke&&At,ot=this._vmlEl;ot||(ot=t.doc.createElement("div"),N(ot),this._vmlEl=ot);var Ve=ot.style,se=!1,re,it=1,qe=1;if(this.transform&&(re=this.transform,it=p(re[0]*re[0]+re[1]*re[1]),qe=p(re[2]*re[2]+re[3]*re[3]),se=re[1]||re[2]),se){var be=[ht,Et],Zt=[ht+Be,Et],dt=[ht,Et+Dt],ct=[ht+Be,Et+Dt];y(be,be,re),y(Zt,Zt,re),y(dt,dt,re),y(ct,ct,re);var yt=A(be[0],Zt[0],dt[0],ct[0]),_t=A(be[1],Zt[1],dt[1],ct[1]),or=[];or.push("M11=",re[0]/it,S,"M12=",re[2]/qe,S,"M21=",re[1]/it,S,"M22=",re[3]/qe,S,"Dx=",u(ht*it+re[4]),S,"Dy=",u(Et*qe+re[5])),Ve.padding="0 "+u(yt)+"px "+u(_t)+"px 0",Ve.filter=T+".Matrix("+or.join("")+", SizingMethod=clip)"}else re&&(ht=ht*it+re[4],Et=Et*qe+re[5]),Ve.filter="",Ve.left=u(ht)+"px",Ve.top=u(Et)+"px";var Bt=this._imageEl,we=this._cropEl;Bt||(Bt=t.doc.createElement("div"),this._imageEl=Bt);var ve=Bt.style;if(tt){if(Ne&&Te)ve.width=u(it*Ne*Be/Ke)+"px",ve.height=u(qe*Te*Dt/At)+"px";else{var me=new Image,he=this;me.onload=function(){me.onload=null,Ne=me.width,Te=me.height,ve.width=u(it*Ne*Be/Ke)+"px",ve.height=u(qe*Te*Dt/At)+"px",he._imageWidth=Ne,he._imageHeight=Te,he._imageSrc=ue},me.src=ue}we||(we=t.doc.createElement("div"),we.style.overflow="hidden",this._cropEl=we);var Re=we.style;Re.width=u((Be+Xe*Be/Ke)*it),Re.height=u((Dt+et*Dt/At)*qe),Re.filter=T+".Matrix(Dx="+-Xe*Be/Ke*it+",Dy="+-et*Dt/At*qe+")",we.parentNode||ot.appendChild(we),Bt.parentNode!==we&&we.appendChild(Bt)}else ve.width=u(it*Be)+"px",ve.height=u(qe*Dt)+"px",ot.appendChild(Bt),we&&we.parentNode&&(ot.removeChild(we),this._cropEl=null);var He="",ze=ye.opacity;ze<1&&(He+=".Alpha(opacity="+u(ze*100)+") "),He+=T+".AlphaImageLoader(src="+ue+", SizingMethod=scale)",ve.filter=He,ot.style.zIndex=z(this.zlevel,this.z,this.z2),P(Q,ot),ye.text!=null&&this.drawRectText(Q,this.getBoundingRect())},r.prototype.onRemove=function(Q){B(Q,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Q)},r.prototype.onAdd=function(Q){P(Q,this._vmlEl),this.appendRectText(Q)};var ge="normal",q={},Se=0,Ce=100,Ae=document.createElement("div"),Ue=function(ye){var ue=q[ye];if(!ue){Se>Ce&&(Se=0,q={});var Ne=Ae.style,Te;try{Ne.font=ye,Te=Ne.fontFamily.split(",")[0]}catch(oe){}ue={style:Ne.fontStyle||ge,variant:Ne.fontVariant||ge,weight:Ne.fontWeight||ge,size:parseFloat(Ne.fontSize||12)|0,family:Te||"Microsoft YaHei"},q[ye]=ue,Se++}return ue},Qe;h.$override("measureText",function(Q,ye){var ue=t.doc;Qe||(Qe=ue.createElement("div"),Qe.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Qe));try{Qe.style.font=ye}catch(Ne){}return Qe.innerHTML="",Qe.appendChild(ue.createTextNode(Q)),{width:Qe.offsetWidth}});for(var gt=new m,_e=function(ye,ue,Ne,Te){var oe=this.style;this.__dirty&&c.normalizeTextStyle(oe,!0);var de=oe.text;if(de!=null&&(de+=""),!de)return;if(oe.rich){var Le=h.parseRichText(de,oe);de=[];for(var Ge=0;Ge<Le.lines.length;Ge++){for(var ht=Le.lines[Ge].tokens,Et=[],Be=0;Be<ht.length;Be++)Et.push(ht[Be].text);de.push(Et.join(""))}de=de.join(`
|
|
|
`)}var Dt,Ke,At=oe.textAlign,Xe=oe.textVerticalAlign,et=Ue(oe.font),tt=et.style+" "+et.variant+" "+et.weight+" "+et.size+'px "'+et.family+'"';Ne=Ne||h.getBoundingRect(de,tt,At,Xe,oe.textPadding,oe.textLineHeight);var ot=this.transform;if(ot&&!Te&&(gt.copy(ue),gt.applyTransform(ot),ue=gt),Te)Dt=ue.x,Ke=ue.y;else{var Ve=oe.textPosition;if(Ve instanceof Array)Dt=ue.x+R(Ve[0],ue.width),Ke=ue.y+R(Ve[1],ue.height),At=At||"left";else{var se=this.calculateTextPosition?this.calculateTextPosition({},oe,ue):h.calculateTextPosition({},oe,ue);Dt=se.x,Ke=se.y,At=At||se.textAlign,Xe=Xe||se.textVerticalAlign}}Dt=h.adjustTextX(Dt,Ne.width,At),Ke=h.adjustTextY(Ke,Ne.height,Xe),Ke+=Ne.height/2;var re=t.createNode,it=this._textVmlEl,qe,be,Zt;it?(Zt=it.firstChild,qe=Zt.nextSibling,be=qe.nextSibling):(it=re("line"),qe=re("path"),be=re("textpath"),Zt=re("skew"),be.style["v-text-align"]="left",N(it),qe.textpathok=!0,be.on=!0,it.from="0 0",it.to="1000 0.05",P(it,Zt),P(it,qe),P(it,be),this._textVmlEl=it);var dt=[Dt,Ke],ct=it.style;ot&&Te?(y(dt,dt,ot),Zt.on=!0,Zt.matrix=ot[0].toFixed(3)+S+ot[2].toFixed(3)+S+ot[1].toFixed(3)+S+ot[3].toFixed(3)+",0,0",Zt.offset=(u(dt[0])||0)+","+(u(dt[1])||0),Zt.origin="0 0",ct.left="0px",ct.top="0px"):(Zt.on=!1,ct.left=u(Dt)+"px",ct.top=u(Ke)+"px"),be.string=F(de);try{be.style.font=tt}catch(yt){}X(it,"fill",{fill:oe.textFill,opacity:oe.opacity},this),X(it,"stroke",{stroke:oe.textStroke,opacity:oe.opacity,lineDash:oe.lineDash||null},this),it.style.zIndex=z(this.zlevel,this.z,this.z2),P(ye,it)},Oe=function(ye){B(ye,this._textVmlEl),this._textVmlEl=null},lt=function(ye){P(ye,this._textVmlEl)},ce=[a,i,r,d,o],Y=0;Y<ce.length;Y++){var K=ce[Y].prototype;K.drawRectText=_e,K.removeRectText=Oe,K.appendRectText=lt}o.prototype.brushVML=function(Q){var ye=this.style;ye.text!=null?this.drawRectText(Q,{x:ye.x||0,y:ye.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Q)},o.prototype.onRemove=function(Q){this.removeRectText(Q)},o.prototype.onAdd=function(Q){this.appendRectText(Q)}}},qJCg:function(D,_,e){var g=e("BlVb"),f=e("mFDi"),y=e("IwbS"),m=y.linePolygonIntersect,v={lineX:h(0),lineY:h(1),rect:{point:function(i,r,o){return i&&o.boundingRect.contain(i[0],i[1])},rect:function(i,r,o){return i&&o.boundingRect.intersect(i)}},polygon:{point:function(i,r,o){return i&&o.boundingRect.contain(i[0],i[1])&&g.contain(o.range,i[0],i[1])},rect:function(i,r,o){var d=o.range;if(!i||d.length<=1)return!1;var n=i.x,l=i.y,t=i.width,s=i.height,u=d[0];if(g.contain(d,n,l)||g.contain(d,n+t,l)||g.contain(d,n,l+s)||g.contain(d,n+t,l+s)||f.create(i).contain(u[0],u[1])||m(n,l,n+t,l,d)||m(n,l,n,l+s,d)||m(n+t,l,n+t,l+s,d)||m(n,l+s,n+t,l+s,d))return!0}}};function h(i){var r=["x","y"],o=["width","height"];return{point:function(d,n,l){if(d){var t=l.range,s=d[i];return c(s,t)}},rect:function(d,n,l){if(d){var t=l.range,s=[d[r[i]],d[r[i]]+d[o[i]]];return s[1]<s[0]&&s.reverse(),c(s[0],t)||c(s[1],t)||c(t[0],s)||c(t[1],s)}}}}function c(i,r){return r[0]<=i&&i<=r[1]}var a=v;D.exports=a},qMZE:function(D,_,e){var g=e("JEkh"),f=g.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});D.exports=f},qNPg:function(D,_,e){"use strict";e.d(_,"a",function(){return W});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),m=e("ODXe"),v=e("Ff2n"),h=e("q1tI"),c=e("4IlW"),a=e("TSYQ"),i=e.n(a),r=e("6cGi"),o=e("bX4T"),d=e("8XRh"),n=e("8OUc"),l=e("c+Xe"),t=function($,ge){var q=$.prefixCls,Se=$.id,Ce=$.inputElement,Ae=$.disabled,Ue=$.tabIndex,Qe=$.autoFocus,gt=$.autoComplete,_e=$.editable,Oe=$.accessibilityIndex,lt=$.value,ce=$.onKeyDown,Y=$.onMouseDown,K=$.onChange,Q=$.onPaste,ye=$.onCompositionStart,ue=$.onCompositionEnd,Ne=$.open,Te=$.attrs,oe=Ce||h.createElement("input",null),de=oe,Le=de.ref,Ge=de.props,ht=Ge.onKeyDown,Et=Ge.onChange,Be=Ge.onMouseDown,Dt=Ge.onCompositionStart,Ke=Ge.onCompositionEnd,At=Ge.style;return oe=h.cloneElement(oe,Object(f.a)(Object(f.a)({id:Se,ref:Object(l.a)(ge,Le),disabled:Ae,tabIndex:Ue,autoComplete:gt||"off",autoFocus:Qe,className:"".concat(q,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},At),{},{opacity:_e?null:0}),role:"combobox","aria-expanded":Ne,"aria-haspopup":"listbox","aria-owns":"".concat(Se,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Se,"_list"),"aria-activedescendant":"".concat(Se,"_list_").concat(Oe)},Te),{},{value:_e?lt:"",readOnly:!_e,unselectable:_e?null:"on",onKeyDown:function(et){ce(et),ht&&ht(et)},onMouseDown:function(et){Y(et),Be&&Be(et)},onChange:function(et){K(et),Et&&Et(et)},onCompositionStart:function(et){ye(et),Dt&&Dt(et)},onCompositionEnd:function(et){ue(et),Ke&&Ke(et)},onPaste:Q})),oe},s=h.forwardRef(t);s.displayName="Input";var u=s,p=e("WKfj");function w(G,$){p.b?h.useLayoutEffect(G,$):h.useEffect(G,$)}var b="__RC_SELECT_MAX_REST_COUNT__",E=function($){var ge=$.id,q=$.prefixCls,Se=$.values,Ce=$.open,Ae=$.searchValue,Ue=$.inputRef,Qe=$.placeholder,gt=$.disabled,_e=$.mode,Oe=$.showSearch,lt=$.autoFocus,ce=$.autoComplete,Y=$.accessibilityIndex,K=$.tabIndex,Q=$.removeIcon,ye=$.choiceTransitionName,ue=$.maxTagCount,Ne=$.maxTagTextLength,Te=$.maxTagPlaceholder,oe=Te===void 0?function(yt){return"+ ".concat(yt.length," ...")}:Te,de=$.tagRender,Le=$.onSelect,Ge=$.onInputChange,ht=$.onInputPaste,Et=$.onInputKeyDown,Be=$.onInputMouseDown,Dt=$.onInputCompositionStart,Ke=$.onInputCompositionEnd,At=h.useState(!1),Xe=Object(m.a)(At,2),et=Xe[0],tt=Xe[1],ot=h.useRef(null),Ve=h.useState(0),se=Object(m.a)(Ve,2),re=se[0],it=se[1];h.useEffect(function(){tt(!0)},[]);var qe=Ce||_e==="tags"?Ae:"",be=_e==="tags"||Ce&&Oe;w(function(){it(ot.current.scrollWidth)},[qe]);var Zt=Se,dt;typeof ue=="number"&&(dt=Se.length-ue,Zt=Se.slice(0,ue)),typeof Ne=="number"&&(Zt=Zt.map(function(yt){var _t=yt.label,or=Object(v.a)(yt,["label"]),Bt=_t;if(typeof _t=="string"||typeof _t=="number"){var we=String(Bt);we.length>Ne&&(Bt="".concat(we.slice(0,Ne),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Bt})})),dt>0&&Zt.push({key:b,label:typeof oe=="function"?oe(Se.slice(ue)):oe});var ct=h.createElement(d.CSSMotionList,{component:!1,keys:Zt,motionName:ye,motionAppear:et},function(yt){var _t=yt.key,or=yt.label,Bt=yt.value,we=yt.disabled,ve=yt.className,me=yt.style,he=_t||Bt,Re=_t!==b&&!we,He=function(Pe){Pe.preventDefault(),Pe.stopPropagation()},ze=function(Pe){Pe&&Pe.stopPropagation(),Le(Bt,{selected:!1})};return typeof de=="function"?h.createElement("span",{key:he,onMouseDown:He,className:ve,style:me},de({label:or,value:Bt,disabled:we,closable:Re,onClose:ze})):h.createElement("span",{key:he,className:i()(ve,"".concat(q,"-selection-item"),Object(g.a)({},"".concat(q,"-selection-item-disabled"),we)),style:me},h.createElement("span",{className:"".concat(q,"-selection-item-content")},or),Re&&h.createElement(n.a,{className:"".concat(q,"-selection-item-remove"),onMouseDown:He,onClick:ze,customizeIcon:Q},"\xD7"))});return h.createElement(h.Fragment,null,ct,h.createElement("span",{className:"".concat(q,"-selection-search"),style:{width:re}},h.createElement(u,{ref:Ue,open:Ce,prefixCls:q,id:ge,inputElement:null,disabled:gt,autoFocus:lt,autoComplete:ce,editable:be,accessibilityIndex:Y,value:qe,onKeyDown:Et,onMouseDown:Be,onChange:Ge,onPaste:ht,onCompositionStart:Dt,onCompositionEnd:Ke,tabIndex:K,attrs:Object(o.a)($,!0)}),h.createElement("span",{ref:ot,className:"".concat(q,"-selection-search-mirror"),"aria-hidden":!0},qe,"\xA0")),!Se.length&&!qe&&h.createElement("span",{className:"".concat(q,"-selection-placeholder")},Qe))},A=E,S=function($){var ge=$.inputElement,q=$.prefixCls,Se=$.id,Ce=$.inputRef,Ae=$.disabled,Ue=$.autoFocus,Qe=$.autoComplete,gt=$.accessibilityIndex,_e=$.mode,Oe=$.open,lt=$.values,ce=$.placeholder,Y=$.tabIndex,K=$.showSearch,Q=$.searchValue,ye=$.activeValue,ue=$.onInputKeyDown,Ne=$.onInputMouseDown,Te=$.onInputChange,oe=$.onInputPaste,de=$.onInputCompositionStart,Le=$.onInputCompositionEnd,Ge=h.useState(!1),ht=Object(m.a)(Ge,2),Et=ht[0],Be=ht[1],Dt=_e==="combobox",Ke=Dt||K&&Oe,At=lt[0],Xe=Q||"";Dt&&ye&&!Et&&(Xe=ye),h.useEffect(function(){Dt&&Be(!1)},[Dt,ye]);var et=_e!=="combobox"&&!Oe?!1:!!Xe,tt=At&&(typeof At.label=="string"||typeof At.label=="number")?At.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(q,"-selection-search")},h.createElement(u,{ref:Ce,prefixCls:q,id:Se,open:Oe,inputElement:ge,disabled:Ae,autoFocus:Ue,autoComplete:Qe,editable:Ke,accessibilityIndex:gt,value:Xe,onKeyDown:ue,onMouseDown:Ne,onChange:function(Ve){Be(!0),Te(Ve)},onPaste:oe,onCompositionStart:de,onCompositionEnd:Le,tabIndex:Y,attrs:Object(o.a)($,!0)})),!Dt&&At&&!et&&h.createElement("span",{className:"".concat(q,"-selection-item"),title:tt},At.label),!At&&!et&&h.createElement("span",{className:"".concat(q,"-selection-placeholder")},ce))},T=S;function L(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,$=h.useRef(null),ge=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(ge.current)}},[]);function q(Se){(Se||$.current===null)&&($.current=Se),window.clearTimeout(ge.current),ge.current=window.setTimeout(function(){$.current=null},G)}return[function(){return $.current},q]}var x=function($,ge){var q=Object(h.useRef)(null),Se=Object(h.useRef)(!1),Ce=$.prefixCls,Ae=$.multiple,Ue=$.open,Qe=$.mode,gt=$.showSearch,_e=$.tokenWithEnter,Oe=$.onSearch,lt=$.onSearchSubmit,ce=$.onToggleOpen,Y=$.onInputKeyDown,K=$.domRef;h.useImperativeHandle(ge,function(){return{focus:function(){q.current.focus()},blur:function(){q.current.blur()}}});var Q=L(0),ye=Object(m.a)(Q,2),ue=ye[0],Ne=ye[1],Te=function(et){var tt=et.which;(tt===c.a.UP||tt===c.a.DOWN)&&et.preventDefault(),Y&&Y(et),tt===c.a.ENTER&&Qe==="tags"&&!Se.current&&!Ue&<(et.target.value),[c.a.SHIFT,c.a.TAB,c.a.BACKSPACE,c.a.ESC].includes(tt)||ce(!0)},oe=function(){Ne(!0)},de=Object(h.useRef)(null),Le=function(et){Oe(et,!0,Se.current)!==!1&&ce(!0)},Ge=function(){Se.current=!0},ht=function(){Se.current=!1},Et=function(et){var tt=et.target.value;if(_e&&de.current&&/[\r\n]/.test(de.current)){var ot=de.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");tt=tt.replace(ot,de.current)}de.current=null,Le(tt)},Be=function(et){var tt=et.clipboardData,ot=tt.getData("text");de.current=ot},Dt=function(et){var tt=ue();if(et.target!==q.current){tt||et.preventDefault();var ot=document.body.style.msTouchAction!==void 0;ot?setTimeout(function(){q.current.focus()}):q.current.focus()}(Qe!=="combobox"&&(!gt||!tt)||!Ue)&&(Ue&&Oe("",!0,!1),ce())},Ke={inputRef:q,onInputKeyDown:Te,onInputMouseDown:oe,onInputChange:Et,onInputPaste:Be,onInputCompositionStart:Ge,onInputCompositionEnd:ht},At=Ae?h.createElement(A,Object.assign({},$,Ke)):h.createElement(T,Object.assign({},$,Ke));return h.createElement("div",{ref:K,className:"".concat(Ce,"-selector"),onMouseDown:Dt},At)},C=h.forwardRef(x);C.displayName="Selector";var O=C,N=e("uciX"),F=function($){var ge=typeof $!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}}}},k=function($,ge){var q=$.prefixCls,Se=$.disabled,Ce=$.visible,Ae=$.children,Ue=$.popupElement,Qe=$.containerWidth,gt=$.animation,_e=$.transitionName,Oe=$.dropdownStyle,lt=$.dropdownClassName,ce=$.direction,Y=ce===void 0?"ltr":ce,K=$.dropdownMatchSelectWidth,Q=K===void 0?!0:K,ye=$.dropdownRender,ue=$.dropdownAlign,Ne=$.getPopupContainer,Te=$.empty,oe=$.getTriggerDOMNode,de=Object(v.a)($,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Le="".concat(q,"-dropdown"),Ge=Ue;ye&&(Ge=ye(Ue));var ht=h.useMemo(function(){return F(Q)},[Q]),Et=gt?"".concat(Le,"-").concat(gt):_e,Be=h.useRef(null);h.useImperativeHandle(ge,function(){return{getPopupElement:function(){return Be.current}}});var Dt=Object(f.a)({minWidth:Qe},Oe);return typeof Q=="number"?Dt.width=Q:Q&&(Dt.width=Qe),h.createElement(N.a,Object.assign({},de,{showAction:[],hideAction:[],popupPlacement:Y==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:ht,prefixCls:Le,popupTransitionName:Et,popup:h.createElement("div",{ref:Be},Ge),popupAlign:ue,popupVisible:Ce,getPopupContainer:Ne,popupClassName:i()(lt,Object(g.a)({},"".concat(Le,"-empty"),Te)),popupStyle:Dt,getTriggerDOMNode:oe}),Ae)},P=h.forwardRef(k);P.displayName="SelectTrigger";var B=P,z=e("wPlo");function R(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,$=h.useState(!1),ge=Object(m.a)($,2),q=ge[0],Se=ge[1],Ce=h.useRef(null),Ae=function(){window.clearTimeout(Ce.current)};h.useEffect(function(){return Ae},[]);var Ue=function(gt,_e){Ae(),Ce.current=window.setTimeout(function(){Se(gt),_e&&_e()},G)};return[q,Ue,Ae]}var U=e("2Qr1");function j(G,$,ge){var q=h.useRef(null);q.current={elements:G.filter(function(Se){return Se}),open:$,triggerOpen:ge},h.useEffect(function(){function Se(Ce){var Ae=Ce.target;q.current.open&&q.current.elements.every(function(Ue){return!Ue.contains(Ae)&&Ue!==Ae})&&q.current.triggerOpen(!1)}return window.addEventListener("mousedown",Se),function(){return window.removeEventListener("mousedown",Se)}},[])}function H(G){var $=h.useRef(G),ge=h.useMemo(function(){var q=new Map;$.current.forEach(function(Ce){var Ae=Ce.value,Ue=Ce.label;Ae!==Ue&&q.set(Ae,Ue)});var Se=G.map(function(Ce){var Ae=q.get(Ce.value);return Ce.value===Ce.label&&Ae?Object(f.a)(Object(f.a)({},Ce),{},{label:Ae}):Ce});return $.current=Se,Se},[G]);return ge}function V(G,$){var ge=h.useRef(null),q=h.useMemo(function(){var Ce=new Map;return $.forEach(function(Ae){var Ue=Ae.data.value;Ce.set(Ue,Ae)}),Ce},[G,$]);ge.current=q;var Se=function(Ae){return Ae.map(function(Ue){return ge.current.get(Ue)}).filter(Boolean)};return Se}var X=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function W(G){var $=G.prefixCls,ge=G.components.optionList,q=G.convertChildrenToData,Se=G.flattenOptions,Ce=G.getLabeledValue,Ae=G.filterOptions,Ue=G.isValueDisabled,Qe=G.findValueOption,gt=G.warningProps,_e=G.fillOptionsWithMissingValue,Oe=G.omitDOMProps;function lt(Y,K){var Q,ye=Y.prefixCls,ue=ye===void 0?$:ye,Ne=Y.className,Te=Y.id,oe=Y.open,de=Y.defaultOpen,Le=Y.options,Ge=Y.children,ht=Y.mode,Et=Y.value,Be=Y.defaultValue,Dt=Y.labelInValue,Ke=Y.showSearch,At=Y.inputValue,Xe=Y.searchValue,et=Y.filterOption,tt=Y.optionFilterProp,ot=tt===void 0?"value":tt,Ve=Y.autoClearSearchValue,se=Ve===void 0?!0:Ve,re=Y.onSearch,it=Y.allowClear,qe=Y.clearIcon,be=Y.showArrow,Zt=Y.inputIcon,dt=Y.menuItemSelectedIcon,ct=Y.disabled,yt=Y.loading,_t=Y.defaultActiveFirstOption,or=Y.notFoundContent,Bt=or===void 0?"Not Found":or,we=Y.optionLabelProp,ve=Y.backfill,me=Y.getInputElement,he=Y.getPopupContainer,Re=Y.listHeight,He=Re===void 0?200:Re,ze=Y.listItemHeight,Ye=ze===void 0?20:ze,Pe=Y.animation,nt=Y.transitionName,bt=Y.virtual,Ot=Y.dropdownStyle,ae=Y.dropdownClassName,pe=Y.dropdownMatchSelectWidth,J=Y.dropdownRender,ne=Y.dropdownAlign,xe=Y.showAction,De=xe===void 0?[]:xe,Fe=Y.direction,$e=Y.tokenSeparators,vt=Y.tagRender,Wt=Y.onPopupScroll,$t=Y.onDropdownVisibleChange,Rt=Y.onFocus,Kt=Y.onBlur,Gt=Y.onKeyUp,Qt=Y.onKeyDown,Mt=Y.onMouseDown,dr=Y.onChange,er=Y.onSelect,st=Y.onDeselect,xt=Y.onClear,ut=Y.internalProps,pt=ut===void 0?{}:ut,It=Object(v.a)(Y,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),Tt=pt.mark===z.a,ft=Oe?Oe(It):It;X.forEach(function(Rn){delete ft[Rn]});var Ht=Object(h.useRef)(null),Ft=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return($e||[]).some(function(Rn){return[`
|
|
|
`,`\r
|
|
|
`].includes(Rn)})},[$e]),Ar=R(),Nr=Object(m.a)(Ar,3),Fr=Nr[0],tn=Nr[1],qr=Nr[2],Lr=Object(h.useState)(),Qr=Object(m.a)(Lr,2),_r=Qr[0],ur=Qr[1];Object(h.useEffect)(function(){ur("rc_select_".concat(Object(p.a)()))},[]);var pr=Te||_r,cr=we;cr===void 0&&(cr=Le?"label":"children");var fr=ht==="combobox"?!1:Dt,xr=ht==="tags"||ht==="multiple",Yr=Ke!==void 0?Ke:xr||ht==="combobox",un=Object(h.useRef)(null);h.useImperativeHandle(K,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(r.a)(Be,{value:Et}),jr=Object(m.a)(Nn,2),Tn=jr[0],gn=jr[1],Pn=Object(h.useMemo)(function(){return Object(p.e)(Tn,{labelInValue:fr,combobox:ht==="combobox"})},[Tn,fr]),zn=Object(h.useMemo)(function(){return new Set(Pn)},[Pn]),qn=Object(h.useState)(null),Yn=Object(m.a)(qn,2),Vn=Yn[0],An=Yn[1],on=Object(h.useState)(""),ia=Object(m.a)(on,2),xa=ia[0],ta=ia[1],_i=xa;ht==="combobox"&&Tn!==void 0?_i=Tn:Xe!==void 0?_i=Xe:At&&(_i=At);var Ci=Object(h.useMemo)(function(){var Rn=Le;return Rn===void 0&&(Rn=q(Ge)),ht==="tags"&&_e&&(Rn=_e(Rn,Tn,cr,Dt)),Rn||[]},[Le,Ge,ht,Tn]),Gn=Object(h.useMemo)(function(){return Se(Ci,Y)},[Ci]),Oa=V(Pn,Gn),mn=Object(h.useMemo)(function(){if(!_i||!Yr)return Object(y.a)(Ci);var Rn=Ae(_i,Ci,{optionFilterProp:ot,filterOption:ht==="combobox"&&et===void 0?function(){return!0}:et});return ht==="tags"&&Rn.every(function(En){return En[ot]!==_i})&&Rn.unshift({value:_i,label:_i,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,_i,ht,Yr]),On=Object(h.useMemo)(function(){return Se(mn,Y)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[_i]);var Ln=Object(h.useMemo)(function(){var Rn=Pn.map(function(En){var In=Oa([En]),Xn=Ce(En,{options:In,prevValue:Tn,labelInValue:fr,optionLabelProp:cr});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Ue(En,In)})});return!ht&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,ht]);Ln=H(Ln);var _n=function(En,In,Xn){var ai=Oa([En]),ri=Qe([En],ai)[0];if(!pt.skipTriggerSelect){var Di=fr?Ce(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:cr}):En;In&&er?er(Di,ri):!In&&st&&st(Di,ri)}Tt&&(In&&pt.onRawSelect?pt.onRawSelect(En,ri,Xn):!In&&pt.onRawDeselect&&pt.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(m.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(Tt&&pt.skipTriggerChange)return;var In=Oa(En),Xn=Object(p.f)(Array.from(En),{labelInValue:fr,options:In,getLabeledValue:Ce,prevValue:Tn,optionLabelProp:cr}),ai=xr?Xn:Xn[0];if(dr&&(Pn.length!==0||Xn.length!==0)){var ri=Qe(En,In,{prevValueOptions:di});Na(ri.map(function(Di,yi){var xi=Object(f.a)({},Di);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[yi]}}),xi})),dr(ai,xr?ri:ri[0])}gn(ai)},ma=function(En,In){var Xn=In.selected,ai=In.source;if(ct)return;var ri;xr?(ri=new Set(Pn),Xn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(xr||!xr&&Array.from(Pn)[0]!==En)&&Qi(Array.from(ri)),_n(En,!xr||Xn,ai),ht==="combobox"?(ta(String(En)),An("")):(!xr||se)&&(ta(""),An(""))},Ba=function(En,In){ma(En,Object(f.a)(Object(f.a)({},In),{},{source:"option"}))},Qa=function(En,In){ma(En,Object(f.a)(Object(f.a)({},In),{},{source:"selection"}))},Wi=ht==="combobox"&&me&&me()||null,Co=Object(r.a)(void 0,{defaultValue:de,value:oe}),aa=Object(m.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Bt&&!mn.length;(ct||mo&&ha&&ht==="combobox")&&(ha=!1);var kn=mo?!1:ha,$i=function(En){var In=En!==void 0?En:!ha;Hi!==In&&!ct&&(ga(In),$t&&$t(In))};j([Ht.current,Ft.current&&Ft.current.getPopupElement()],kn,$i);var eo=function(En,In,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(U.f)(En,$e),yi=Di;if(ht==="combobox")In&&Qi([ri]);else if(Di){ri="",ht!=="tags"&&(yi=Di.map(function(Li){var Un=Gn.find(function(Ri){var fa=Ri.data;return fa[cr]===Li});return Un?Un.data.value:null}).filter(function(Li){return Li!==null}));var xi=Array.from(new Set([].concat(Object(y.a)(Pn),Object(y.a)(yi))));Qi(xi),xi.forEach(function(Li){_n(Li,!0,"input")}),$i(!1),ai=!1}return ta(ri),re&&_i!==ri&&re(ri),ai},To=function(En){var In=Array.from(new Set([].concat(Object(y.a)(Pn),[En])));Qi(In),In.forEach(function(Xn){_n(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ct&&ga(!1)},[ct]),Object(h.useEffect)(function(){!ha&&!xr&&ht!=="combobox"&&eo("",!1,!1)},[ha]);var uo=L(),rr=Object(m.a)(uo,2),Tr=rr[0],Pr=rr[1],Wr=function(En){var In=Tr(),Xn=En.which;if(!ha&&Xn===c.a.ENTER&&$i(!0),Pr(!!_i),Xn===c.a.BACKSPACE&&!In&&xr&&!_i&&Pn.length){var ai=Object(p.c)(Ln,Pn);ai.removedValue!==null&&(Qi(ai.values),_n(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];if(ha&&Xt.current){var xi;(xi=Xt.current).onKeyDown.apply(xi,[En].concat(Di))}Qt&&Qt.apply(void 0,[En].concat(Di))},hn=function(En){for(var In=arguments.length,Xn=new Array(In>1?In-1:0),ai=1;ai<In;ai++)Xn[ai-1]=arguments[ai];if(ha&&Xt.current){var ri;(ri=Xt.current).onKeyUp.apply(ri,[En].concat(Xn))}Gt&&Gt.apply(void 0,[En].concat(Xn))},rt=Object(h.useRef)(!1),jt=function(){tn(!0),ct||(Rt&&!rt.current&&Rt.apply(void 0,arguments),De.includes("focus")&&$i(!0)),rt.current=!0},Jt=function(){if(tn(!1,function(){rt.current=!1,$i(!1)}),ct)return;_i&&(ht==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(y.a)(Pn),[_i]))))):ht==="multiple"&&ta("")),Kt&&Kt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var Or=function(En){var In=En.target,Xn=Ft.current&&Ft.current.getPopupElement();if(Xn&&Xn.contains(In)){var ai=setTimeout(function(){var xi=nr.indexOf(ai);xi!==-1&&nr.splice(xi,1),qr(),Xn.contains(document.activeElement)||ir.current.focus()});nr.push(ai)}if(Mt){for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];Mt.apply(void 0,[En].concat(Di))}},wr=Object(h.useState)(0),Er=Object(m.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=_t!==void 0?_t:ht!=="combobox",an=function(En,In){Jr(In),ve&&ht==="combobox"&&En!==null&&An(String(En))},St=Object(h.useState)(null),Vt=Object(m.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(m.a)(Mr,2),rn=Dr[1];function fn(){rn({})}w(function(){if(kn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[kn]);var wn=h.createElement(ge,{ref:Xt,prefixCls:ue,id:pr,open:ha,childrenAsData:!Le,options:mn,flattenOptions:On,multiple:xr,values:zn,height:He,itemHeight:Ye,onSelect:Ba,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Zr,notFoundContent:Bt,onScroll:Wt,searchValue:_i,menuItemSelectedIcon:dt,virtual:bt!==!1&&pe!==!1,onMouseEnter:fn}),Hn,Sn=function(){Tt&&pt.onClear&&pt.onClear(),xt&&xt(),Qi([]),eo("",!1,!1)};!ct&&it&&(Pn.length||_i)&&(Hn=h.createElement(n.a,{className:"".concat(ue,"-clear"),onMouseDown:Sn,customizeIcon:qe},"\xD7"));var bn=be!==void 0?be:yt||!xr&&ht!=="combobox",Mn;bn&&(Mn=h.createElement(n.a,{className:i()("".concat(ue,"-arrow"),Object(g.a)({},"".concat(ue,"-arrow-loading"),yt)),customizeIcon:Zt,customizeIconProps:{loading:yt,searchValue:_i,open:ha,focused:Fr,showSearch:Yr}}));var vn=i()(ue,Ne,(Q={},Object(g.a)(Q,"".concat(ue,"-focused"),Fr),Object(g.a)(Q,"".concat(ue,"-multiple"),xr),Object(g.a)(Q,"".concat(ue,"-single"),!xr),Object(g.a)(Q,"".concat(ue,"-allow-clear"),it),Object(g.a)(Q,"".concat(ue,"-show-arrow"),bn),Object(g.a)(Q,"".concat(ue,"-disabled"),ct),Object(g.a)(Q,"".concat(ue,"-loading"),yt),Object(g.a)(Q,"".concat(ue,"-open"),ha),Object(g.a)(Q,"".concat(ue,"-customize-input"),Wi),Object(g.a)(Q,"".concat(ue,"-show-search"),Yr),Q));return h.createElement("div",Object.assign({className:vn},ft,{ref:Ht,onMouseDown:Or,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Jt}),Fr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Pn.join(", "))),h.createElement(B,{ref:Ft,disabled:ct,prefixCls:ue,visible:kn,popupElement:wn,containerWidth:sr,animation:Pe,transitionName:nt,dropdownStyle:Ot,dropdownClassName:ae,direction:Fe,dropdownMatchSelectWidth:pe,dropdownRender:J,dropdownAlign:ne,getPopupContainer:he,empty:!Ci.length,getTriggerDOMNode:function(){return un.current}},h.createElement(O,Object.assign({},Y,{domRef:un,prefixCls:ue,inputElement:Wi,ref:ir,id:pr,showSearch:Yr,mode:ht,accessibilityIndex:zr,multiple:xr,tagRender:vt,values:Ln,open:ha,onToggleOpen:$i,searchValue:_i,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var ce=h.forwardRef(lt);return ce}},qPY4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},qWUW:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("DL4k")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownOutlined";var c=y.forwardRef(h);_.default=c},qWt2:function(D,_,e){var g=e("ProS"),f=g.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});D.exports=f},qZFw:function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("hM6l"),m=e("4NO4"),v=m.makeInner,h=v();function c(i,r){r=r||[0,360],y.call(this,"angle",i,r),this.type="category"}c.prototype={constructor:c,pointToData:function(i,r){return this.polar.pointToData(i,r)[this.dim==="radius"?0:1]},dataToAngle:y.prototype.dataToCoord,angleToData:y.prototype.coordToData,calculateCategoryInterval:function(){var i=this,r=i.getLabelModel(),o=i.scale,d=o.getExtent(),n=o.count();if(d[1]-d[0]<1)return 0;var l=d[0],t=i.dataToCoord(l+1)-i.dataToCoord(l),s=Math.abs(t),u=f.getBoundingRect(l,r.getFont(),"center","top"),p=Math.max(u.height,7),w=p/s;isNaN(w)&&(w=Infinity);var b=Math.max(0,Math.floor(w)),E=h(i.model),A=E.lastAutoInterval,S=E.lastTickCount;return A!=null&&S!=null&&Math.abs(A-b)<=1&&Math.abs(S-n)<=1&&A>b?b=A:(E.lastTickCount=n,E.lastAutoInterval=b),b}},g.inherits(c,y);var a=c;D.exports=a},qZTm:function(D,_,e){var g=e("fR/l"),f=e("MvSz"),y=e("7GkX");function m(v){return g(v,y,f)}D.exports=m},qgGe:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),m=e("VaxA"),v=m.wrapTreePathInfo,h=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(a,i){var r={name:a.name,children:a.data};c(r);var o=a.levels||[],d={};return d.levels=o,y.createTree(r,this,d).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(a){var i=f.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(a);return i.treePathInfo=v(r,this),i},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(a){a?this._viewRoot=a:a=this._viewRoot;var i=this.getRawData().tree.root;(!a||a!==i&&!i.contains(a))&&(this._viewRoot=i)}});function c(a){var i=0;g.each(a.children,function(o){c(o);var d=o.value;g.isArray(d)&&(d=d[0]),i+=d});var r=a.value;g.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=i),r<0&&(r=0),g.isArray(a.value)?a.value[0]=r:a.value=r}D.exports=h},qj72:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map(["x","y"],function(h,c){var a=this.getAxis(h),i=v[c],r=m[c]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(i-r)-a.dataToCoord(i+r))},this)}function y(m){var v=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},"qt/9":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var y=e("nVfU"),m=y.layout,v=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(m,"pictorialBar")),g.registerVisual(v("pictorialBar","roundRect"))},quyA:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="\\u200d",c=RegExp("["+h+e+m+v+"]");function a(i){return c.test(i)}D.exports=a},qwVE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("K4ya"),m=e("XxSj"),v=g.PRIORITY.VISUAL.COMPONENT;g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,a){var i=[];return a.eachComponent("visualMap",function(r){var o=c.pipelineContext;if(!r.isTargetSeries(c)||o&&o.large)return;i.push(y.incrementalApplyVisual(r.stateList,r.targetVisuals,f.bind(r.getValueState,r),r.getDataDimension(c.getData())))}),i}}),g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,a){var i=c.getData(),r=[];a.eachComponent("visualMap",function(o){if(o.isTargetSeries(c)){var d=o.getVisualMeta(f.bind(h,null,c,o))||{stops:[],outerColors:[]},n=o.getDataDimension(i),l=i.getDimensionInfo(n);l!=null&&(d.dimension=l.index,r.push(d))}}),c.getData().setVisual("visualMeta",r)}});function h(c,a,i,r){for(var o=a.targetVisuals[r],d=m.prepareVisualTypes(o),n={color:c.getData().getVisual("color")},l=0,t=d.length;l<t;l++){var s=d[l],u=o[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(i,p,w)}return n.color;function p(b){return n[b]}function w(b,E){n[b]=E}}},"r+aA":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("s2MQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeInvisibleOutlined";var c=y.forwardRef(h);_.default=c},"r/2G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},r6Bn:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4fz+"),m=e("BPZU");function v(a,i){return a.zlevel===i.zlevel?a.z===i.z?a.z2-i.z2:a.z-i.z:a.zlevel-i.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(i,r){for(var o=0;o<this._roots.length;o++)this._roots[o].traverse(i,r)},getDisplayList:function(i,r){return r=r||!1,i&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(i){this._displayListLen=0;for(var r=this._roots,o=this._displayList,d=0,n=r.length;d<n;d++)this._updateAndAddDisplayable(r[d],null,i);o.length=this._displayListLen,f.canvasSupported&&m(o,v)},_updateAndAddDisplayable:function(i,r,o){if(i.ignore&&!o)return;i.beforeUpdate(),i.__dirty&&i.update(),i.afterUpdate();var d=i.clipPath;if(d){r?r=r.slice():r=[];for(var n=d,l=i;n;)n.parent=l,n.updateTransform(),r.push(n),l=n,n=n.clipPath}if(i.isGroup){for(var t=i._children,s=0;s<t.length;s++){var u=t[s];i.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,r,o)}i.__dirty=!1}else i.__clipPaths=r,this._displayList[this._displayListLen++]=i},addRoot:function(i){if(i.__storage===this)return;i instanceof y&&i.addChildrenToStorage(this),this.addToStorage(i),this._roots.push(i)},delRoot:function(i){if(i==null){for(var r=0;r<this._roots.length;r++){var o=this._roots[r];o instanceof y&&o.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(i instanceof Array){for(var r=0,d=i.length;r<d;r++)this.delRoot(i[r]);return}var n=g.indexOf(this._roots,i);n>=0&&(this.delFromStorage(i),this._roots.splice(n,1),i instanceof y&&i.delChildrenFromStorage(this))},addToStorage:function(i){return i&&(i.__storage=this,i.dirty(!1)),this},delFromStorage:function(i){return i&&(i.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var c=h;D.exports=c},rA99:function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),y=e("Sj9i"),m=y.quadraticSubdivide,v=y.cubicSubdivide,h=y.quadraticAt,c=y.cubicAt,a=y.quadraticDerivativeAt,i=y.cubicDerivativeAt,r=[];function o(n,l,t){var s=n.cpx2,u=n.cpy2;return s===null||u===null?[(t?i:c)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?i:c)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?a:h)(n.x1,n.cpx1,n.x2,l),(t?a:h)(n.y1,n.cpy1,n.y2,l)]}var d=g.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,t){var s=t.x1,u=t.y1,p=t.x2,w=t.y2,b=t.cpx1,E=t.cpy1,A=t.cpx2,S=t.cpy2,T=t.percent;if(T===0)return;l.moveTo(s,u),A==null||S==null?(T<1&&(m(s,b,p,T,r),b=r[1],p=r[2],m(u,E,w,T,r),E=r[1],w=r[2]),l.quadraticCurveTo(b,E,p,w)):(T<1&&(v(s,b,A,p,T,r),b=r[1],A=r[2],p=r[3],v(u,E,S,w,T,r),E=r[1],S=r[2],w=r[3]),l.bezierCurveTo(b,E,A,S,p,w))},pointAt:function(l){return o(this.shape,l,!1)},tangentAt:function(l){var t=o(this.shape,l,!0);return f.normalize(t,t)}});D.exports=d},"rAM+":function(D,_,e){"use strict";e.d(_,"a",function(){return f});var g=e("Qw5x");function f(y,m){var v;if(typeof Symbol=="undefined"||y[Symbol.iterator]==null){if(Array.isArray(y)||(v=Object(g.a)(y))||m&&y&&typeof y.length=="number"){v&&(y=v);var h=0,c=function(){};return{s:c,n:function(){return h>=y.length?{done:!0}:{done:!1,value:y[h++]}},e:function(d){throw d},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,i=!1,r;return{s:function(){v=y[Symbol.iterator]()},n:function(){var d=v.next();return a=d.done,d},e:function(d){i=!0,r=d},f:function(){try{!a&&v.return!=null&&v.return()}finally{if(i)throw r}}}}},rEGp:function(D,_){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(m){y[++f]=m}),y}D.exports=e},rHrb:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CopyToClipboard=void 0;var g=y(e("q1tI")),f=y(e("+QRC"));function y(w){return w&&w.__esModule?w:{default:w}}function m(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(E){return typeof E}:m=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},m(w)}function v(w,b){var E=Object.keys(w);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(w);b&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(w,S).enumerable})),E.push.apply(E,A)}return E}function h(w){for(var b=1;b<arguments.length;b++){var E=arguments[b]!=null?arguments[b]:{};b%2?v(E,!0).forEach(function(A){u(w,A,E[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(E)):v(E).forEach(function(A){Object.defineProperty(w,A,Object.getOwnPropertyDescriptor(E,A))})}return w}function c(w,b){if(w==null)return{};var E=a(w,b),A,S;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(w);for(S=0;S<T.length;S++){if(A=T[S],b.indexOf(A)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(w,A))continue;E[A]=w[A]}}return E}function a(w,b){if(w==null)return{};var E={},A=Object.keys(w),S,T;for(T=0;T<A.length;T++){if(S=A[T],b.indexOf(S)>=0)continue;E[S]=w[S]}return E}function i(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function r(w,b){for(var E=0;E<b.length;E++){var A=b[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function o(w,b,E){return b&&r(w.prototype,b),E&&r(w,E),w}function d(w,b){return b&&(m(b)==="object"||typeof b=="function")?b:l(w)}function n(w){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},n(w)}function l(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function t(w,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(b&&b.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),b&&s(w,b)}function s(w,b){return s=Object.setPrototypeOf||function(A,S){return A.__proto__=S,A},s(w,b)}function u(w,b,E){return b in w?Object.defineProperty(w,b,{value:E,enumerable:!0,configurable:!0,writable:!0}):w[b]=E,w}var p=function(w){t(b,w);function b(){var E,A;i(this,b);for(var S=arguments.length,T=new Array(S),L=0;L<S;L++)T[L]=arguments[L];return A=d(this,(E=n(b)).call.apply(E,[this].concat(T))),u(l(A),"onClick",function(x){var C=A.props,O=C.text,N=C.onCopy,F=C.children,k=C.options,P=g.default.Children.only(F),B=(0,f.default)(O,k);N&&N(O,B),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(x)}),A}return o(b,[{key:"render",value:function(){var A=this.props,S=A.text,T=A.onCopy,L=A.options,x=A.children,C=c(A,["text","onCopy","options","children"]),O=g.default.Children.only(x);return g.default.cloneElement(O,h({},C,{onClick:this.onClick}))}}]),b}(g.default.PureComponent);_.CopyToClipboard=p,u(p,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ReloadOutlined";var h=_.a=g.forwardRef(v)},rUJ1:function(D,_){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,y=/[<>"']|&(?!#?\w+;)/g,m={"&":"&","<":"<",">":">",'"':""","'":"'"},v=function(x){return m[x]};function h(L,x){if(x){if(e.test(L))return L.replace(g,v)}else if(f.test(L))return L.replace(y,v);return L}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function a(L){return L.replace(c,function(x,C){return C=C.toLowerCase(),C==="colon"?":":C.charAt(0)==="#"?C.charAt(1)==="x"?String.fromCharCode(parseInt(C.substring(2),16)):String.fromCharCode(+C.substring(1)):""})}var i=/(^|[^\[])\^/g;function r(L,x){L=L.source||L,x=x||"";var C={replace:function(N,F){return F=F.source||F,F=F.replace(i,"$1"),L=L.replace(N,F),C},getRegex:function(){return new RegExp(L,x)}};return C}var o=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(L,x,C){if(L){var O;try{O=decodeURIComponent(a(C)).replace(o,"").toLowerCase()}catch(N){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}x&&!d.test(C)&&(C=p(x,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(N){return null}return C}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(L,x){l[" "+L]||(t.test(L)?l[" "+L]=L+"/":l[" "+L]=A(L,"/",!0)),L=l[" "+L];var C=L.indexOf(":")===-1;return x.substring(0,2)==="//"?C?x:L.replace(s,"$1")+x:x.charAt(0)==="/"?C?x:L.replace(u,"$1")+x:L+x}var w={exec:function(){}};function b(L){for(var x=1,C,O;x<arguments.length;x++){C=arguments[x];for(O in C)Object.prototype.hasOwnProperty.call(C,O)&&(L[O]=C[O])}return L}function E(L,x){var C=L.replace(/\|/g,function(F,k,P){for(var B=!1,z=k;--z>=0&&P[z]==="\\";)B=!B;return B?"|":" |"}),O=C.split(/ \|/),N=0;if(O.length>x)O.splice(x);else for(;O.length<x;)O.push("");for(;N<O.length;N++)O[N]=O[N].trim().replace(/\\\|/g,"|");return O}function A(L,x,C){var O=L.length;if(O===0)return"";for(var N=0;N<O;){var F=L.charAt(O-N-1);if(F===x&&!C)N++;else if(F!==x&&C)N++;else break}return L.substr(0,O-N)}function S(L,x){if(L.indexOf(x[1])===-1)return-1;for(var C=L.length,O=0,N=0;N<C;N++)if(L[N]==="\\")N++;else if(L[N]===x[0])O++;else if(L[N]===x[1]&&(O--,O<0))return N;return-1}function T(L){L&&L.sanitize&&!L.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}D.exports={escape:h,unescape:a,edit:r,cleanUrl:n,resolveUrl:p,noopTest:w,merge:b,splitCells:E,rtrim:A,findClosingBracket:S,checkSanitizeDeprecation:T}},rdUC:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"localStorage",read:m,write:v,each:h,remove:c,clearAll:a};function y(){return f.localStorage}function m(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var o=y().key(r);i(m(o),o)}}function c(i){return y().removeItem(i)}function a(){return y().clear()}},rdor:function(D,_,e){var g=e("lOQZ"),f=g.circularLayout;function y(m){m.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&f(v,"symbolSize")})}D.exports=y},rfSb:function(D,_,e){var g=e("T4UG"),f=e("sdST"),y=e("L0Ub"),m=y.getDimensionTypeByAxis,v=e("YXkt"),h=e("bYtY"),c=e("4NO4"),a=c.groupData,i=e("7aKB"),r=i.encodeHTML,o=e("xKMd"),d=2,n=g.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new o(h.bind(this.getData,this),h.bind(this.getRawData,this))},fixData:function(t){var s=t.length,u=a(t,function(P){return P[2]}),p=[];u.buckets.each(function(P,B){p.push({name:B,dataList:P})});for(var w=p.length,b=-1,E=-1,A=0;A<w;++A){var S=p[A].dataList.length;S>b&&(b=S,E=A)}for(var T=0;T<w;++T){if(T===E)continue;for(var L=p[T].name,x=0;x<b;++x){for(var C=p[E].dataList[x][0],O=p[T].dataList.length,N=-1,F=0;F<O;++F){var k=p[T].dataList[F][0];if(k===C){N=F;break}}N===-1&&(t[s]=[],t[s][0]=C,t[s][1]=0,t[s][2]=L,s++)}}return t},getInitialData:function(t,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],p=u.get("type"),w=h.filter(t.data,function(C){return C[2]!==void 0}),b=this.fixData(w||[]),E=[],A=this.nameMap=h.createHashMap(),S=0,T=0;T<b.length;++T)E.push(b[T][d]),A.get(b[T][d])||(A.set(b[T][d],S),S++);var L=f(b,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new v(L,this);return x.initData(b),x},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),u=[],p=0;p<s;++p)u[p]=p;var w=t.mapDimension("single"),b=a(u,function(A){return t.get("name",A)}),E=[];return b.buckets.each(function(A,S){A.sort(function(T,L){return t.get(w,T)-t.get(w,L)}),E.push({name:S,indices:A})}),E},getAxisTooltipData:function(t,s,u){h.isArray(t)||(t=t?[t]:[]);for(var p=this.getData(),w=this.getLayerSeries(),b=[],E=w.length,A,S=0;S<E;++S){for(var T=Number.MAX_VALUE,L=-1,x=w[S].indices.length,C=0;C<x;++C){var O=p.get(t[0],w[S].indices[C]),N=Math.abs(O-s);N<=T&&(A=O,T=N,L=w[S].indices[C])}b.push(L)}return{dataIndices:b,nestestValue:A}},formatTooltip:function(t){var s=this.getData(),u=s.getName(t),p=s.get(s.mapDimension("value"),t);return(isNaN(p)||p==null)&&(p="-"),r(u+" : "+p)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=n;D.exports=l},rkZ5:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("c8qY"),v=e("D9ME"),h=e("fls0"),c=e("RSch"),a=e("akwb"),i=e("o40c"),r=e("ZYIC"),o=e("sK/D"),d=o.createClipPath,n=y.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var u=l.getData(),p=this._updateLineDraw(u,l),w=l.get("zlevel"),b=l.get("effect.trailLength"),E=s.getZr(),A=E.painter.getType()==="svg";A||E.painter.getLayer(w).clear(!0),this._lastZlevel!=null&&!A&&E.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&b&&(A||E.configLayer(w,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(b/10+.9,1),0)})),p.updateData(u);var S=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);S?this.group.setClipPath(S):this.group.removeClipPath(),this._lastZlevel=w,this._finished=!0},incrementalPrepareRender:function(l,t,s){var u=l.getData(),p=this._updateLineDraw(u,l);p.incrementalPrepareUpdate(u),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,t,s){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,s){var u=l.getData(),p=l.pipelineContext;if(!this._finished||p.large||p.progressiveRender)return{update:!0};var w=r.reset(l);w.progress&&w.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,t){var s=this._lineDraw,u=this._showEffect(t),p=!!t.get("polyline"),w=t.pipelineContext,b=w.large;return(!s||u!==this._hasEffet||p!==this._isPolyline||b!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=b?new i:new m(p?u?a:c:u?v:h),this._hasEffet=u,this._isPolyline=p,this._isLargeDraw=b,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});D.exports=n},rmlV:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,v){var h=.5522848,c=v.cx,a=v.cy,i=v.rx,r=v.ry,o=i*h,d=r*h;m.moveTo(c-i,a),m.bezierCurveTo(c-i,a-d,c-o,a-r,c,a-r),m.bezierCurveTo(c+o,a-r,c+i,a-d,c+i,a),m.bezierCurveTo(c+i,a+d,c+o,a+r,c,a+r),m.bezierCurveTo(c-o,a+r,c-i,a+d,c-i,a),m.closePath()}});D.exports=f},rnVJ:function(D,_,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function y(v,h){var c=v&&v.brush;if(g.isArray(c)||(c=c?[c]:[]),!c.length)return;var a=[];g.each(c,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(a=a.concat(l))});var i=v&&v.toolbox;g.isArray(i)&&(i=i[0]),i||(i={feature:{}},v.toolbox=[i]);var r=i.feature||(i.feature={}),o=r.brush||(r.brush={}),d=o.type||(o.type=[]);d.push.apply(d,a),m(d),h&&!d.length&&d.push.apply(d,f)}function m(v){var h={};g.each(v,function(c){h[c]=1}),v.length=0,g.each(h,function(c,a){v.push(a)})}D.exports=y},rwxt:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GdRQ");function f(c,a){if(!(c instanceof a))throw new TypeError("Cannot call a class as a function")}function y(c,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(c,r.key,r)}}function m(c,a,i){return a&&y(c.prototype,a),i&&y(c,i),c}var v=!g.supportsCursorURIs||g.isTouchDevice,h=function(){function c(){f(this,c),this._target=null,this._canvas=document.createElement("canvas"),v&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(c,[{key:"attach",value:function(i){if(this._target&&this.detach(),this._target=i,v){document.body.appendChild(this._canvas);var r={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,r),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,r),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,r),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,r)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(v){var i={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,i),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,i),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,i),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,i),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(i,r,o,d,n){if(d===0||n===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-r,this._position.y=this._position.y+this._hotSpot.y-o,this._hotSpot.x=r,this._hotSpot.y=o;var l=this._canvas.getContext("2d");this._canvas.width=d,this._canvas.height=n;var t;try{t=new ImageData(new Uint8ClampedArray(i),d,n)}catch(u){t=l.createImageData(d,n),t.data.set(new Uint8ClampedArray(i))}if(l.clearRect(0,0,d,n),l.putImageData(t,0,0),v)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+r+" "+o+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(i,r){if(!v)return;window.visualViewport?(this._position.x=i+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=i,this._position.y=r),this._updatePosition();var o=document.elementFromPoint(i,r);this._updateVisibility(o)}},{key:"_handleMouseOver",value:function(i){this._handleMouseMove(i)}},{key:"_handleMouseLeave",value:function(i){this._updateVisibility(i.relatedTarget)}},{key:"_handleMouseMove",value:function(i){this._updateVisibility(i.target),this._position.x=i.clientX-this._hotSpot.x,this._position.y=i.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(i){var r=this,o=document.elementFromPoint(i.clientX,i.clientY);this._updateVisibility(o),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;o=document.elementFromPoint(i.clientX,i.clientY),r._updateVisibility(o)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(i){return i?i===this._target?!0:this._target.contains(i)?!(window.getComputedStyle(i).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(i){this._captureIsActive()&&(i=document.captureElement),this._shouldShowCursor(i)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),c}();_.default=h},rySg:function(D,_,e){e("SMc4"),e("8nMs")},s2MQ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};_.default=g},s2lz:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("gPAo"),v=e("VaxA"),h=e("9hCq"),c=e("SgGq"),a=e("mFDi"),i=e("Fofx"),r=e("5s0K"),o=e("KCsZ"),d=e("7aKB"),n=d.windowOpen,l=f.bind,t=y.Group,s=y.Rect,u=f.each,p=3,w=["label"],b=["emphasis","label"],E=["upperLabel"],A=["emphasis","upperLabel"],S=10,T=1,L=2,x=o([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(P){var B=x(P);return B.stroke=B.fill=B.lineWidth=null,B},O=g.extendChartView({type:"treemap",init:function(P,B){this._containerGroup,this._storage=N(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(P,B,z,R){var U=B.findComponents({mainType:"series",subType:"treemap",query:R});if(f.indexOf(U,P)<0)return;this.seriesModel=P,this.api=z,this.ecModel=B;var j=["treemapZoomToNode","treemapRootToNode"],H=v.retrieveTargetInfo(R,j,P),V=R&&R.type,X=P.layoutInfo,W=!this._oldTree,G=this._storage,$=V==="treemapRootToNode"&&H&&G?{rootNodeGroup:G.nodeGroup[H.node.getRawIndex()],direction:R.direction}:null,ge=this._giveContainerGroup(X),q=this._doRender(ge,P,$);!W&&(!V||V==="treemapZoomToNode"||V==="treemapRootToNode")?this._doAnimation(ge,q,P,$):q.renderFinally(),this._resetController(z),this._renderBreadcrumb(P,z,H)},_giveContainerGroup:function(P){var B=this._containerGroup;return B||(B=this._containerGroup=new t,this._initEvents(B),this.group.add(B)),B.attr("position",[P.x,P.y]),B},_doRender:function(P,B,z){var R=B.getData().tree,U=this._oldTree,j=N(),H=N(),V=this._storage,X=[],W=f.curry(F,B,H,V,z,j,X);$(R.root?[R.root]:[],U&&U.root?[U.root]:[],P,R===U||!U,0);var G=ge(V);return this._oldTree=R,this._storage=H,{lastsForAnimation:j,willDeleteEls:G,renderFinally:q};function $(Se,Ce,Ae,Ue,Qe){Ue?(Ce=Se,u(Se,function(Oe,lt){!Oe.isRemoved()&&_e(lt,lt)})):new m(Ce,Se,gt,gt).add(_e).update(_e).remove(f.curry(_e,null)).execute();function gt(Oe){return Oe.getId()}function _e(Oe,lt){var ce=Oe!=null?Se[Oe]:null,Y=lt!=null?Ce[lt]:null,K=W(ce,Y,Ae,Qe);K&&$(ce&&ce.viewChildren||[],Y&&Y.viewChildren||[],K,Ue,Qe+1)}}function ge(Se){var Ce=N();return Se&&u(Se,function(Ae,Ue){var Qe=Ce[Ue];u(Ae,function(gt){gt&&(Qe.push(gt),gt.__tmWillDelete=1)})}),Ce}function q(){u(G,function(Se){u(Se,function(Ce){Ce.parent&&Ce.parent.remove(Ce)})}),u(X,function(Se){Se.invisible=!0,Se.dirty()})}},_doAnimation:function(P,B,z,R){if(!z.get("animation"))return;var U=z.get("animationDurationUpdate"),j=z.get("animationEasing"),H=r.createWrap();u(B.willDeleteEls,function(V,X){u(V,function(W,G){if(W.invisible)return;var $=W.parent,ge;if(R&&R.direction==="drillDown")ge=$===R.rootNodeGroup?{shape:{x:0,y:0,width:$.__tmNodeWidth,height:$.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var q=0,Se=0;$.__tmWillDelete||(q=$.__tmNodeWidth/2,Se=$.__tmNodeHeight/2),ge=X==="nodeGroup"?{position:[q,Se],style:{opacity:0}}:{shape:{x:q,y:Se,width:0,height:0},style:{opacity:0}}}ge&&H.add(W,ge,U,j)})}),u(this._storage,function(V,X){u(V,function(W,G){var $=B.lastsForAnimation[X][G],ge={};if(!$)return;X==="nodeGroup"?$.old&&(ge.position=W.position.slice(),W.attr("position",$.old)):($.old&&(ge.shape=f.extend({},W.shape),W.setShape($.old)),$.fadein?(W.setStyle("opacity",0),ge.style={opacity:1}):W.style.opacity!==1&&(ge.style={opacity:1})),H.add(W,ge,U,j)})},this),this._state="animating",H.done(l(function(){this._state="ready",B.renderFinally()},this)).start()},_resetController:function(P){var B=this._controller;B||(B=this._controller=new c(P.getZr()),B.enable(this.seriesModel.get("roam")),B.on("pan",l(this._onPan,this)),B.on("zoom",l(this._onZoom,this)));var z=new a(0,0,P.getWidth(),P.getHeight());B.setPointerChecker(function(R,U,j){return z.contain(U,j)})},_clearController:function(){var P=this._controller;P&&(P.dispose(),P=null)},_onPan:function(P){if(this._state!=="animating"&&(Math.abs(P.dx)>p||Math.abs(P.dy)>p)){var B=this.seriesModel.getData().tree.root;if(!B)return;var z=B.getLayout();if(!z)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x+P.dx,y:z.y+P.dy,width:z.width,height:z.height}})}},_onZoom:function(P){var B=P.originX,z=P.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var U=R.getLayout();if(!U)return;var j=new a(U.x,U.y,U.width,U.height),H=this.seriesModel.layoutInfo;B-=H.x,z-=H.y;var V=i.create();i.translate(V,V,[-B,-z]),i.scale(V,V,[P.scale,P.scale]),i.translate(V,V,[B,z]),j.applyTransform(V),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:j.x,y:j.y,width:j.width,height:j.height}})}},_initEvents:function(P){P.on("click",function(B){if(this._state!=="ready")return;var z=this.seriesModel.get("nodeClick",!0);if(!z)return;var R=this.findTarget(B.offsetX,B.offsetY);if(!R)return;var U=R.node;if(U.getLayout().isLeafRoot)this._rootToNode(R);else if(z==="zoomToNode")this._zoomToNode(R);else if(z==="link"){var j=U.hostTree.data.getItemModel(U.dataIndex),H=j.get("link",!0),V=j.get("target",!0)||"blank";H&&n(H,V)}},this)},_renderBreadcrumb:function(P,B,z){z||(z=P.get("leafDepth",!0)!=null?{node:P.getViewRoot()}:this.findTarget(B.getWidth()/2,B.getHeight()/2),z||(z={node:P.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(P,B,z.node,l(R,this));function R(U){this._state!=="animating"&&(v.aboveViewRoot(P.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(P){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},_rootToNode:function(P){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:P.node})},findTarget:function(P,B){var z,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(U){var j=this._storage.background[U.getRawIndex()];if(j){var H=j.transformCoordToLocal(P,B),V=j.shape;if(V.x<=H[0]&&H[0]<=V.x+V.width&&V.y<=H[1]&&H[1]<=V.y+V.height)z={node:U,offsetX:H[0],offsetY:H[1]};else return!1}},this),z}});function N(){return{nodeGroup:[],background:[],content:[]}}function F(P,B,z,R,U,j,H,V,X,W){if(!H)return;var G=H.getLayout(),$=P.getData();if($.setItemGraphicEl(H.dataIndex,null),!G||!G.isInView)return;var ge=G.width,q=G.height,Se=G.borderWidth,Ce=G.invisible,Ae=H.getRawIndex(),Ue=V&&V.getRawIndex(),Qe=H.viewChildren,gt=G.upperHeight,_e=Qe&&Qe.length,Oe=H.getModel("itemStyle"),lt=H.getModel("emphasis.itemStyle"),ce=de("nodeGroup",t);if(!ce)return;if(X.add(ce),ce.attr("position",[G.x||0,G.y||0]),ce.__tmNodeWidth=ge,ce.__tmNodeHeight=q,G.isAboveViewRoot)return ce;var Y=H.getModel(),K=de("background",s,W,T);if(K&&ye(ce,K,_e&&G.upperLabelHeight),_e)y.isHighDownDispatcher(ce)&&y.setAsHighDownDispatcher(ce,!1),K&&(y.setAsHighDownDispatcher(K,!0),$.setItemGraphicEl(H.dataIndex,K));else{var Q=de("content",s,W,L);Q&&ue(ce,Q),K&&y.isHighDownDispatcher(K)&&y.setAsHighDownDispatcher(K,!1),y.setAsHighDownDispatcher(ce,!0),$.setItemGraphicEl(H.dataIndex,ce)}return ce;function ye(ht,Et,Be){if(Et.dataIndex=H.dataIndex,Et.seriesIndex=P.seriesIndex,Et.setShape({x:0,y:0,width:ge,height:q}),Ce)Ne(Et);else{Et.invisible=!1;var Dt=H.getVisual("borderColor",!0),Ke=lt.get("borderColor"),At=C(Oe);At.fill=Dt;var Xe=x(lt);if(Xe.fill=Ke,Be){var et=ge-2*Se;Te(At,Xe,Dt,et,gt,{x:Se,y:0,width:et,height:gt})}else At.text=Xe.text=null;Et.setStyle(At),y.setElementHoverStyle(Et,Xe)}ht.add(Et)}function ue(ht,Et){Et.dataIndex=H.dataIndex,Et.seriesIndex=P.seriesIndex;var Be=Math.max(ge-2*Se,0),Dt=Math.max(q-2*Se,0);if(Et.culling=!0,Et.setShape({x:Se,y:Se,width:Be,height:Dt}),Ce)Ne(Et);else{Et.invisible=!1;var Ke=H.getVisual("color",!0),At=C(Oe);At.fill=Ke;var Xe=x(lt);Te(At,Xe,Ke,Be,Dt),Et.setStyle(At),y.setElementHoverStyle(Et,Xe)}ht.add(Et)}function Ne(ht){!ht.invisible&&j.push(ht)}function Te(ht,Et,Be,Dt,Ke,At){var Xe=Y.get("name"),et=Y.getModel(At?E:w),tt=Y.getModel(At?A:b),ot=et.getShallow("show");y.setLabelStyle(ht,Et,et,tt,{defaultText:ot?Xe:null,autoColor:Be,isRectText:!0,labelFetcher:P,labelDataIndex:H.dataIndex,labelProp:At?"upperLabel":"label"}),oe(ht,At,G),oe(Et,At,G),At&&(ht.textRect=f.clone(At)),ht.truncate=ot&&et.get("ellipsis")?{outerWidth:Dt,outerHeight:Ke,minChar:2}:null}function oe(ht,Et,Be){var Dt=ht.text;if(!Et&&Be.isLeafRoot&&Dt!=null){var Ke=P.get("drillDownIcon",!0);ht.text=Ke?Ke+" "+Dt:Dt}}function de(ht,Et,Be,Dt){var Ke=Ue!=null&&z[ht][Ue],At=U[ht];return Ke?(z[ht][Ue]=null,Le(At,Ke,ht)):Ce||(Ke=new Et({z:k(Be,Dt)}),Ke.__tmDepth=Be,Ke.__tmStorageName=ht,Ge(At,Ke,ht)),B[ht][Ae]=Ke}function Le(ht,Et,Be){var Dt=ht[Ae]={};Dt.old=Be==="nodeGroup"?Et.position.slice():f.extend({},Et.shape)}function Ge(ht,Et,Be){var Dt=ht[Ae]={},Ke=H.parentNode;if(Ke&&(!R||R.direction==="drillDown")){var At=0,Xe=0,et=U.background[Ke.getRawIndex()];!R&&et&&et.old&&(At=et.old.width,Xe=et.old.height),Dt.old=Be==="nodeGroup"?[0,Xe]:{x:At,y:Xe,width:0,height:0}}Dt.fadein=Be!=="nodeGroup"}}function k(P,B){var z=P*S+B;return(z-1)/z}D.exports=O},sAZ8:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("+rIm"),m=e("/IIm"),v=e("9KIM"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],a=g.extendComponentView({type:"parallelAxis",init:function(n,l){a.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(n,l,t,s){if(i(n,l,s))return;this.axisModel=n,this.api=t,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!n.get("show"))return;var p=o(n,l),w=p.coordinateSystem,b=n.getAreaSelectStyle(),E=b.width,A=n.axis.dim,S=w.getAxisLayout(A),T=f.extend({strokeContainThreshold:E},S),L=new y(n,T);f.each(c,L.add,L),this._axisGroup.add(L.getGroup()),this._refreshBrushController(T,b,n,p,E,t);var x=s&&s.animation===!1?null:n;h.groupTransition(u,this._axisGroup,x)},_refreshBrushController:function(n,l,t,s,u,p){var w=t.axis.getExtent(),b=w[1]-w[0],E=Math.min(30,Math.abs(b)*.1),A=h.BoundingRect.create({x:w[0],y:-u/2,width:b,height:u});A.x-=E,A.width+=2*E,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(A),isTargetByCursor:v.makeRectIsTargetByCursor(A,p,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(A,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(r(t))},_onBrush:function(n,l){var t=this.axisModel,s=t.axis,u=f.map(n,function(p){return[s.coordToData(p.range[0],!0),s.coordToData(p.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:u})},dispose:function(){this._brushController.dispose()}});function i(n,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===n}function r(n){var l=n.axis;return f.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function o(n,l){return l.getComponent("parallel",n.get("parallelIndex"))}var d=a;D.exports=d},sE09:function(D,_,e){},sEf8:function(D,_){function e(g){return function(f){return g(f)}}D.exports=e},sGsY:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("H84U"),i=e("B6l+"),r=e.n(i),o=function(H){var V=H.value,X=H.formatter,W=H.precision,G=H.decimalSeparator,$=H.groupSeparator,ge=$===void 0?"":$,q=H.prefixCls,Se;if(typeof X=="function")Se=X(V);else{var Ce=String(V),Ae=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ae||Ce==="-")Se=Ce;else{var Ue=Ae[1],Qe=Ae[2]||"0",gt=Ae[4]||"";Qe=Qe.replace(/\B(?=(\d{3})+(?!\d))/g,ge),typeof W=="number"&&(gt=r()(gt,W,"0").slice(0,W)),gt&&(gt="".concat(G).concat(gt)),Se=[v.createElement("span",{key:"int",className:"".concat(q,"-content-value-int")},Ue,Qe),gt&&v.createElement("span",{key:"decimal",className:"".concat(q,"-content-value-decimal")},gt)]}}return v.createElement("span",{className:"".concat(q,"-content-value")},Se)},d=o,n=function(H){var V=H.prefixCls,X=H.className,W=H.style,G=H.valueStyle,$=H.value,ge=$===void 0?0:$,q=H.title,Se=H.valueRender,Ce=H.prefix,Ae=H.suffix,Ue=H.direction,Qe=H.onMouseEnter,gt=H.onMouseLeave,_e=v.createElement(d,m()({},H,{value:ge})),Oe=c()(V,X,f()({},"".concat(V,"-rtl"),Ue==="rtl"));return v.createElement("div",{className:Oe,style:W,onMouseEnter:Qe,onMouseLeave:gt},q&&v.createElement("div",{className:"".concat(V,"-title")},q),v.createElement("div",{style:G,className:"".concat(V,"-content")},Ce&&v.createElement("span",{className:"".concat(V,"-content-prefix")},Ce),Se?Se(_e):_e,Ae&&v.createElement("span",{className:"".concat(V,"-content-suffix")},Ae)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(a.c)({prefixCls:"statistic"})(n),t=l,s=e("lwsE"),u=e.n(s),p=e("W8MJ"),w=e.n(p),b=e("7W2i"),E=e.n(b),A=e("LQ03"),S=e.n(A),T=e("J4zp"),L=e.n(T),x=e("QQZ/"),C=e.n(x),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function N(j,H){var V=j,X=/\[[^\]]*]/g,W=(H.match(X)||[]).map(function(q){return q.slice(1,-1)}),G=H.replace(X,"[]"),$=O.reduce(function(q,Se){var Ce=L()(Se,2),Ae=Ce[0],Ue=Ce[1];if(q.indexOf(Ae)!==-1){var Qe=Math.floor(V/Ue);return V-=Qe*Ue,q.replace(new RegExp("".concat(Ae,"+"),"g"),function(gt){var _e=gt.length;return C()(Qe.toString(),_e,"0")})}return q},G),ge=0;return $.replace(X,function(){var q=W[ge];return ge+=1,q})}function F(j,H){var V=H.format,X=V===void 0?"":V,W=new Date(j).getTime(),G=Date.now(),$=Math.max(W-G,0);return N($,X)}var k=e("0n0R"),P=1e3/30;function B(j){return new Date(j).getTime()}var z=function(j){E()(V,j);var H=S()(V);function V(){var X;return u()(this,V),X=H.apply(this,arguments),X.syncTimer=function(){var W=X.props.value,G=B(W);G>=Date.now()?X.startTimer():X.stopTimer()},X.startTimer=function(){if(X.countdownId)return;X.countdownId=window.setInterval(function(){X.forceUpdate()},P)},X.stopTimer=function(){var W=X.props,G=W.onFinish,$=W.value;if(X.countdownId){clearInterval(X.countdownId),X.countdownId=void 0;var ge=B($);G&&ge<Date.now()&&G()}},X.formatCountdown=function(W,G){var $=X.props.format;return F(W,m()(m()({},G),{format:$}))},X.valueRender=function(W){return Object(k.a)(W,{title:void 0})},X}return w()(V,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(t,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),V}(v.Component);z.defaultProps={format:"HH:mm:ss"};var R=z;t.Countdown=R;var U=_.a=t},"sK/D":function(D,_,e){var g=e("IwbS"),f=e("OELB"),y=f.round;function m(c,a,i){var r=c.getArea(),o=c.getBaseAxis().isHorizontal(),d=r.x,n=r.y,l=r.width,t=r.height,s=i.get("lineStyle.width")||2;d-=s/2,n-=s/2,l+=s,t+=s,d=Math.floor(d),l=Math.round(l);var u=new g.Rect({shape:{x:d,y:n,width:l,height:t}});return a&&(u.shape[o?"width":"height"]=0,g.initProps(u,{shape:{width:l,height:t}},i)),u}function v(c,a,i){var r=c.getArea(),o=new g.Sector({shape:{cx:y(c.cx,1),cy:y(c.cy,1),r0:y(r.r0,1),r:y(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return a&&(o.shape.endAngle=r.startAngle,g.initProps(o,{shape:{endAngle:r.endAngle}},i)),o}function h(c,a,i){if(c){if(c.type==="polar")return v(c,a,i);if(c.type==="cartesian2d")return m(c,a,i)}else return null;return null}_.createGridClipPath=m,_.createPolarClipPath=v,_.createClipPath=h},sKgW:function(D,_){var e=9007199254740991,g=Math.floor;function f(y,m){var v="";if(!y||m<1||m>e)return v;do m%2&&(v+=y),m=g(m/2),m&&(y+=y);while(m);return v}D.exports=f},sPJy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("AOa7"),m=e.n(y),v=e("lUTK"),h=e("qVdP")},sPtV:function(D,_,e){"use strict";e.d(_,"a",function(){return m});var g=e("q1tI"),f=e.n(g),y=e("hkKa");function m(v){var h=g.useRef(v),c=Object(y.a)();return[function(){return h.current},function(a){h.current=a,c()}]}},sRwP:function(D,_,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(D,_,e){var g=e("4fz+"),f=e("iRjW"),y=e("Yl7c"),m=function(){this.group=new g,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(c,a){},render:function(c,a,i,r){},dispose:function(){},filterForExposedEvent:null};var v=m.prototype;v.updateView=v.updateLayout=v.updateVisual=function(c,a,i,r){},y.enableClassExtend(m),y.enableClassManagement(m,{registerWhenExtend:!0});var h=m;D.exports=h},"sW+o":function(D,_,e){var g=e("SrGk"),f=e("bYtY"),y=e("SUKs"),m=e("Qe9p");function v(c,a){g.call(this,c,a,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(v,g),v.prototype.addWithoutUpdate=function(c,a){if(a&&a.style){var i=this;f.each(["fill","stroke"],function(r){if(a.style[r]&&(a.style[r].type==="linear"||a.style[r].type==="radial")){var o=a.style[r],d=i.getDefs(!0),n;o._dom?(n=o._dom,d.contains(o._dom)||i.addDom(n)):n=i.add(o),i.markUsed(a);var l=n.getAttribute("id");c.setAttribute(r,"url(#"+l+")")}})}},v.prototype.add=function(c){var a;if(c.type==="linear")a=this.createElement("linearGradient");else if(c.type==="radial")a=this.createElement("radialGradient");else return y("Illegal gradient type."),null;return c.id=c.id||this.nextId++,a.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,a),this.addDom(a),a},v.prototype.update=function(c){var a=this;g.prototype.update.call(this,c,function(){var i=c.type,r=c._dom.tagName;i==="linear"&&r==="linearGradient"||i==="radial"&&r==="radialGradient"?a.updateDom(c,c._dom):(a.removeDom(c),a.add(c))})},v.prototype.updateDom=function(c,a){if(c.type==="linear")a.setAttribute("x1",c.x),a.setAttribute("y1",c.y),a.setAttribute("x2",c.x2),a.setAttribute("y2",c.y2);else if(c.type==="radial")a.setAttribute("cx",c.x),a.setAttribute("cy",c.y),a.setAttribute("r",c.r);else{y("Illegal gradient type.");return}c.global?a.setAttribute("gradientUnits","userSpaceOnUse"):a.setAttribute("gradientUnits","objectBoundingBox"),a.innerHTML="";for(var i=c.colorStops,r=0,o=i.length;r<o;++r){var d=this.createElement("stop");d.setAttribute("offset",i[r].offset*100+"%");var n=i[r].color;if(n.indexOf("rgba">-1)){var l=m.parse(n)[3],t=m.toHex(n);d.setAttribute("stop-color","#"+t),d.setAttribute("stop-opacity",l)}else d.setAttribute("stop-color",i[r].color);a.appendChild(d)}c._dom=a},v.prototype.markUsed=function(c){if(c.style){var a=c.style.fill;a&&a._dom&&g.prototype.markUsed.call(this,a._dom),a=c.style.stroke,a&&a._dom&&g.prototype.markUsed.call(this,a._dom)}};var h=v;D.exports=h},sboe:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=e("q1tI"),f=e.n(g),y=g.createContext(null)},sdST:function(D,_,e){var g=e("hi0g");function f(y,m){return m=m||{},g(m.coordDimensions||[],y,{dimsDef:m.dimensionsDefine||y.dimensionsDefine,encodeDef:m.encodeDefine||y.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}D.exports=f},seXi:function(D,_,e){var g=e("qZTm"),f=1,y=Object.prototype,m=y.hasOwnProperty;function v(h,c,a,i,r,o){var d=a&f,n=g(h),l=n.length,t=g(c),s=t.length;if(l!=s&&!d)return!1;for(var u=l;u--;){var p=n[u];if(!(d?p in c:m.call(c,p)))return!1}var w=o.get(h),b=o.get(c);if(w&&b)return w==c&&b==h;var E=!0;o.set(h,c),o.set(c,h);for(var A=d;++u<l;){p=n[u];var S=h[p],T=c[p];if(i)var L=d?i(T,S,p,c,h,o):i(S,T,p,h,c,o);if(!(L===void 0?S===T||r(S,T,a,i,o):L)){E=!1;break}A||(A=p=="constructor")}if(E&&!A){var x=h.constructor,C=c.constructor;x!=C&&"constructor"in h&&"constructor"in c&&!(typeof x=="function"&&x instanceof x&&typeof C=="function"&&C instanceof C)&&(E=!1)}return o.delete(h),o.delete(c),E}D.exports=v},shjB:function(D,_){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}D.exports=g},sjKO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=y;var g=30,f=12;function y(m,v){var h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L,x,C,O,N,F;h=m.state,c=m.next_in,N=m.input,a=c+(m.avail_in-5),i=m.next_out,F=m.output,r=i-(v-m.avail_out),o=i+(m.avail_out-257),d=h.dmax,n=h.wsize,l=h.whave,t=h.wnext,s=h.window,u=h.hold,p=h.bits,w=h.lencode,b=h.distcode,E=(1<<h.lenbits)-1,A=(1<<h.distbits)-1;e:do{p<15&&(u+=N[c++]<<p,p+=8,u+=N[c++]<<p,p+=8),S=w[u&E];t:for(;;){if(T=S>>>24,u>>>=T,p-=T,T=S>>>16&255,T===0)F[i++]=S&65535;else if(T&16){L=S&65535,T&=15,T&&(p<T&&(u+=N[c++]<<p,p+=8),L+=u&(1<<T)-1,u>>>=T,p-=T),p<15&&(u+=N[c++]<<p,p+=8,u+=N[c++]<<p,p+=8),S=b[u&A];r:for(;;){if(T=S>>>24,u>>>=T,p-=T,T=S>>>16&255,T&16){if(x=S&65535,T&=15,p<T&&(u+=N[c++]<<p,p+=8,p<T&&(u+=N[c++]<<p,p+=8)),x+=u&(1<<T)-1,x>d){m.msg="invalid distance too far back",h.mode=g;break e}if(u>>>=T,p-=T,T=i-r,x>T){if(T=x-T,T>l&&h.sane){m.msg="invalid distance too far back",h.mode=g;break e}if(C=0,O=s,t===0){if(C+=n-T,T<L){L-=T;do F[i++]=s[C++];while(--T);C=i-x,O=F}}else if(t<T){if(C+=n+t-T,T-=t,T<L){L-=T;do F[i++]=s[C++];while(--T);if(C=0,t<L){T=t,L-=T;do F[i++]=s[C++];while(--T);C=i-x,O=F}}}else if(C+=t-T,T<L){L-=T;do F[i++]=s[C++];while(--T);C=i-x,O=F}for(;L>2;)F[i++]=O[C++],F[i++]=O[C++],F[i++]=O[C++],L-=3;L&&(F[i++]=O[C++],L>1&&(F[i++]=O[C++]))}else{C=i-x;do F[i++]=F[C++],F[i++]=F[C++],F[i++]=F[C++],L-=3;while(L>2);L&&(F[i++]=F[C++],L>1&&(F[i++]=F[C++]))}}else if((T&64)===0){S=b[(S&65535)+(u&(1<<T)-1)];continue r}else{m.msg="invalid distance code",h.mode=g;break e}break}}else if((T&64)===0){S=w[(S&65535)+(u&(1<<T)-1)];continue t}else if(T&32){h.mode=f;break e}else{m.msg="invalid literal/length code",h.mode=g;break e}break}}while(c<a&&i<o);L=p>>3,c-=L,p-=L<<3,u&=(1<<p)-1,m.next_in=c,m.next_out=i,m.avail_in=c<a?5+(a-c):5-(c-a),m.avail_out=i<o?257+(o-i):257-(i-o),h.hold=u,h.bits=p;return}},szbU:function(D,_,e){var g=e("bYtY"),f=g.each;function y(v){var h=v&&v.visualMap;g.isArray(h)||(h=h?[h]:[]),f(h,function(c){if(!c)return;m(c,"splitList")&&!m(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var a=c.pieces;a&&g.isArray(a)&&f(a,function(i){g.isObject(i)&&(m(i,"start")&&!m(i,"min")&&(i.min=i.start),m(i,"end")&&!m(i,"max")&&(i.max=i.end))})})}function m(v,h){return v&&v.hasOwnProperty&&v.hasOwnProperty(h)}D.exports=y},t23M:function(D,_,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),m=e("Ji7U"),v=e("LK+K"),h=e("q1tI"),c=e.n(h),a=e("m+aA"),i=e("Zm9Q"),r=e("Kwbf"),o=e("c+Xe"),d=e("bdgK"),n="rc-observer-key",l=function(t){Object(m.a)(u,t);var s=Object(v.a)(u);function u(){var p;return Object(f.a)(this,u),p=s.apply(this,arguments),p.resizeObserver=null,p.childNode=null,p.currentElement=null,p.state={width:0,height:0,offsetHeight:0,offsetWidth:0},p.onResize=function(w){var b=p.props.onResize,E=w[0].target,A=E.getBoundingClientRect(),S=A.width,T=A.height,L=E.offsetWidth,x=E.offsetHeight,C=Math.floor(S),O=Math.floor(T);if(p.state.width!==C||p.state.height!==O||p.state.offsetWidth!==L||p.state.offsetHeight!==x){var N={width:C,height:O,offsetWidth:L,offsetHeight:x};p.setState(N),b&&Promise.resolve().then(function(){b(Object(g.a)(Object(g.a)({},N),{},{offsetWidth:L,offsetHeight:x}))})}},p.setChildNode=function(w){p.childNode=w},p}return Object(y.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var w=this.props.disabled;if(w){this.destroyObserver();return}var b=Object(a.a)(this.childNode||this),E=b!==this.currentElement;E&&(this.destroyObserver(),this.currentElement=b),!this.resizeObserver&&b&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(b))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var w=this.props.children,b=Object(i.a)(w);if(b.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(b.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var E=b[0];if(h.isValidElement(E)&&Object(o.c)(E)){var A=E.ref;b[0]=h.cloneElement(E,{ref:Object(o.a)(A,this.setChildNode)})}return b.length===1?b[0]:b.map(function(S,T){return!h.isValidElement(S)||"key"in S&&S.key!==null?S:h.cloneElement(S,{key:"".concat(n,"-").concat(T)})})}}]),u}(h.Component);l.displayName="ResizeObserver",_.a=l},t3Fx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var p=arguments[u];for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&(s[w]=p[w])}return s},f=function(){function s(u,p){for(var w=0;w<p.length;w++){var b=p[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,w){return p&&s(u.prototype,p),w&&s(u,w),u}}(),y=e("q1tI"),m=o(y),v=e("17x9"),h=o(v),c=e("aUsF"),a=o(c),i=e("u3os"),r=e("kzFp");function o(s){return s&&s.__esModule?s:{default:s}}function d(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function n(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function l(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var t=function(s){l(u,s);function u(p){d(this,u);var w=n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p));return w.getEchartsInstance=function(){return w.echartsLib.getInstanceByDom(w.echartsElement)||w.echartsLib.init(w.echartsElement,w.props.theme,w.props.opts)},w.dispose=function(){if(w.echartsElement){try{(0,i.clear)(w.echartsElement)}catch(b){console.warn(b)}w.echartsLib.dispose(w.echartsElement)}},w.rerender=function(){var b=w.props,E=b.onEvents,A=b.onChartReady,S=w.renderEchartDom();w.bindEvents(S,E||{}),typeof A=="function"&&w.props.onChartReady(S),w.echartsElement&&(0,i.bind)(w.echartsElement,function(){try{S.resize()}catch(T){console.warn(T)}})},w.bindEvents=function(b,E){var A=function(L,x){typeof L=="string"&&typeof x=="function"&&b.on(L,function(C){x(C,b)})};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&A(S,E[S])},w.renderEchartDom=function(){var b=w.getEchartsInstance();return b.setOption(w.props.option,w.props.notMerge||!1,w.props.lazyUpdate||!1),w.props.showLoading?b.showLoading(w.props.loadingOption||null):b.hideLoading(),b},w.echartsLib=p.echarts,w.echartsElement=null,w}return f(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(w){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(w,this.props))return;if(!(0,a.default)(w.theme,this.props.theme)||!(0,a.default)(w.opts,this.props.opts)||!(0,a.default)(w.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var b=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,a.default)((0,r.pick)(this.props,b),(0,r.pick)(w,b)))return;var E=this.renderEchartDom();if(!(0,a.default)(w.style,this.props.style)||!(0,a.default)(w.className,this.props.className))try{E.resize()}catch(A){console.warn(A)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var w=this,b=this.props,E=b.style,A=b.className,S=g({height:300},E);return m.default.createElement("div",{ref:function(L){w.echartsElement=L},style:S,className:"echarts-for-react "+A})}}]),u}(y.Component);_.default=t,t.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("Qxkt"),m=e("Znkb"),v=e("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(o,d,n){d[1]>d[0]&&(d=d.slice().reverse());var l=o.coordToPoint([d[0],n]),t=o.coordToPoint([d[1],n]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function a(o){var d=o.getRadiusAxis();return d.inverse?0:1}function i(o){var d=o[0],n=o[o.length-1];d&&n&&Math.abs(Math.abs(d.coord-n.coord)-360)<1e-4&&o.pop()}var r=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(o,d){if(this.group.removeAll(),!o.get("show"))return;var n=o.axis,l=n.polar,t=l.getRadiusAxis().getExtent(),s=n.getTicksCoords(),u=n.getMinorTicksCoords(),p=g.map(n.getViewLabels(),function(w){var w=g.clone(w);return w.coord=n.dataToCoord(w.tickValue),w});i(p),i(s),g.each(h,function(w){o.get(w+".show")&&(!n.scale.isBlank()||w==="axisLine")&&this["_"+w](o,l,s,u,t,p)},this)},_axisLine:function(o,d,n,l,t){var s=o.getModel("axisLine.lineStyle"),u=a(d),p=u?0:1,w;t[p]===0?w=new f.Circle({shape:{cx:d.cx,cy:d.cy,r:t[u]},style:s.getLineStyle(),z2:1,silent:!0}):w=new f.Ring({shape:{cx:d.cx,cy:d.cy,r:t[u],r0:t[p]},style:s.getLineStyle(),z2:1,silent:!0}),w.style.fill=null,this.group.add(w)},_axisTick:function(o,d,n,l,t){var s=o.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),p=t[a(d)],w=g.map(n,function(b){return new f.Line({shape:c(d,[p,p+u],b.coord)})});this.group.add(f.mergePath(w,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:o.get("axisLine.lineStyle.color")})}))},_minorTick:function(o,d,n,l,t){if(!l.length)return;for(var s=o.getModel("axisTick"),u=o.getModel("minorTick"),p=(s.get("inside")?-1:1)*u.get("length"),w=t[a(d)],b=[],E=0;E<l.length;E++)for(var A=0;A<l[E].length;A++)b.push(new f.Line({shape:c(d,[w,w+p],l[E][A].coord)}));this.group.add(f.mergePath(b,{style:g.defaults(u.getModel("lineStyle").getLineStyle(),g.defaults(s.getLineStyle(),{stroke:o.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(o,d,n,l,t,s){var u=o.getCategories(!0),p=o.getModel("axisLabel"),w=p.get("margin"),b=o.get("triggerEvent");g.each(s,function(E,A){var S=p,T=E.tickValue,L=t[a(d)],x=d.coordToPoint([L+w,E.coord]),C=d.cx,O=d.cy,N=Math.abs(x[0]-C)/L<.3?"center":x[0]>C?"left":"right",F=Math.abs(x[1]-O)/L<.3?"middle":x[1]>O?"top":"bottom";u&&u[T]&&u[T].textStyle&&(S=new y(u[T].textStyle,p,p.ecModel));var k=new f.Text({silent:v.isLabelSilent(o)});this.group.add(k),f.setTextStyle(k.style,S,{x:x[0],y:x[1],textFill:S.getTextColor()||o.get("axisLine.lineStyle.color"),text:E.formattedLabel,textAlign:N,textVerticalAlign:F}),b&&(k.eventData=v.makeAxisEventDataBase(o),k.eventData.targetType="axisLabel",k.eventData.value=E.rawLabel)},this)},_splitLine:function(o,d,n,l,t){var s=o.getModel("splitLine"),u=s.getModel("lineStyle"),p=u.get("color"),w=0;p=p instanceof Array?p:[p];for(var b=[],E=0;E<n.length;E++){var A=w++%p.length;b[A]=b[A]||[],b[A].push(new f.Line({shape:c(d,t,n[E].coord)}))}for(var E=0;E<b.length;E++)this.group.add(f.mergePath(b[E],{style:g.defaults({stroke:p[E%p.length]},u.getLineStyle()),silent:!0,z:o.get("z")}))},_minorSplitLine:function(o,d,n,l,t){if(!l.length)return;for(var s=o.getModel("minorSplitLine"),u=s.getModel("lineStyle"),p=[],w=0;w<l.length;w++)for(var b=0;b<l[w].length;b++)p.push(new f.Line({shape:c(d,t,l[w][b].coord)}));this.group.add(f.mergePath(p,{style:u.getLineStyle(),silent:!0,z:o.get("z")}))},_splitArea:function(o,d,n,l,t){if(!n.length)return;var s=o.getModel("splitArea"),u=s.getModel("areaStyle"),p=u.get("color"),w=0;p=p instanceof Array?p:[p];for(var b=[],E=Math.PI/180,A=-n[0].coord*E,S=Math.min(t[0],t[1]),T=Math.max(t[0],t[1]),L=o.get("clockwise"),x=1;x<n.length;x++){var C=w++%p.length;b[C]=b[C]||[],b[C].push(new f.Sector({shape:{cx:d.cx,cy:d.cy,r0:S,r:T,startAngle:A,endAngle:-n[x].coord*E,clockwise:L},silent:!0})),A=-n[x].coord*E}for(var x=0;x<b.length;x++)this.group.add(f.mergePath(b[x],{style:g.defaults({fill:p[x%p.length]},u.getAreaStyle()),silent:!0}))}});D.exports=r},tMB7:function(D,_,e){var g=e("y1pI");function f(y){var m=this.__data__,v=g(m,y);return v<0?void 0:m[v][1]}D.exports=f},tSko:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("SRve")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusOutlined";var c=y.forwardRef(h);_.default=c},tadb:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"DataView");D.exports=y},tceW:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getBarItemStyle:function(m){var v=f(this,m);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(v.lineDash=h)}return v}};D.exports=y},txkQ:function(D,_,e){var g=e("aX58");_.zrender=g;var f=e("Fofx");_.matrix=f;var y=e("QBsz");_.vector=y;var m=e("bYtY"),v=e("Qe9p");_.color=v;var h=e("IwbS"),c=e("OELB");_.number=c;var a=e("7aKB");_.format=a;var i=e("iLNv"),r=i.throttle;_.throttle=i.throttle;var o=e("FUi9");_.helper=o;var d=e("vafp");_.parseGeoJSON=d;var n=e("YXkt");_.List=n;var l=e("Qxkt");_.Model=l;var t=e("hM6l");_.Axis=t;var s=e("ItGF");_.env=s;var u=d,p={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(b){p[b]=m[b]});var w={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(b){w[b]=h[b]}),_.parseGeoJson=u,_.util=p,_.graphic=w},u3DP:function(D,_,e){var g=e("6GrX"),f=e("OELB"),y=f.parsePercent,m=Math.PI/180;function v(i,r,o,d,n,l,t,s,u,p){i.sort(function(N,F){return N.y-F.y});function w(N,F,k,P){for(var B=N;B<F&&!(i[B].y+k>u+t);B++)if(i[B].y+=k,B>N&&B+1<F&&i[B+1].y>i[B].y+i[B].height){b(B,k/2);return}b(F-1,k/2)}function b(N,F){for(var k=N;k>=0&&!(i[k].y-F<u);k--)if(i[k].y-=F,k>0&&i[k].y>i[k-1].y+i[k-1].height)break}function E(N,F,k,P,B,z){for(var R=(z>0,F?Number.MAX_VALUE:0),U=0,j=N.length;U<j;U++){if(N[U].labelAlignTo!=="none")continue;var H=Math.abs(N[U].y-P),V=N[U].len,X=N[U].len2,W=H<B+V?Math.sqrt((B+V+X)*(B+V+X)-H*H):Math.abs(N[U].x-k);F&&W>=R&&(W=R-10),!F&&W<=R&&(W=R+10),N[U].x=k+W*z,R=W}}for(var A=0,S,T=i.length,L=[],x=[],C=0;C<T;C++){if(i[C].position==="outer"&&i[C].labelAlignTo==="labelLine"){var O=i[C].x-p;i[C].linePoints[1][0]+=O,i[C].x=p}S=i[C].y-A,S<0&&w(C,T,-S,n),A=i[C].y+i[C].height}t-A<0&&b(T-1,A-t);for(var C=0;C<T;C++)i[C].y>=o?x.push(i[C]):L.push(i[C]);E(L,!1,r,o,d,n),E(x,!0,r,o,d,n)}function h(i,r,o,d,n,l,t,s){for(var u=[],p=[],w=Number.MAX_VALUE,b=-Number.MAX_VALUE,E=0;E<i.length;E++){if(c(i[E]))continue;i[E].x<r?(w=Math.min(w,i[E].x),u.push(i[E])):(b=Math.max(b,i[E].x),p.push(i[E]))}v(p,r,o,d,1,n,l,t,s,b),v(u,r,o,d,-1,n,l,t,s,w);for(var E=0;E<i.length;E++){var A=i[E];if(c(A))continue;var S=A.linePoints;if(S){var T=A.labelAlignTo==="edge",L=A.textRect.width,x;T?A.x<r?x=S[2][0]-A.labelDistance-t-A.labelMargin:x=t+n-A.labelMargin-S[2][0]-A.labelDistance:A.x<r?x=A.x-t-A.bleedMargin:x=t+n-A.x-A.bleedMargin,x<A.textRect.width&&(A.text=g.truncateText(A.text,x,A.font),A.labelAlignTo==="edge"&&(L=g.getWidth(A.text,A.font)));var C=S[1][0]-S[2][0];T?A.x<r?S[2][0]=t+A.labelMargin+L+A.labelDistance:S[2][0]=t+n-A.labelMargin-L-A.labelDistance:(A.x<r?S[2][0]=A.x+A.labelDistance:S[2][0]=A.x-A.labelDistance,S[1][0]=S[2][0]+C),S[1][1]=S[2][1]=A.y}}}function c(i){return i.position==="center"}function a(i,r,o,d,n,l){var t=i.getData(),s=[],u,p,w=!1,b=(i.get("minShowLabelAngle")||0)*m;t.each(function(E){var A=t.getItemLayout(E),S=t.getItemModel(E),T=S.getModel("label"),L=T.get("position")||S.get("emphasis.label.position"),x=T.get("distanceToLabelLine"),C=T.get("alignTo"),O=y(T.get("margin"),o),N=T.get("bleedMargin"),F=T.getFont(),k=S.getModel("labelLine"),P=k.get("length");P=y(P,o);var B=k.get("length2");if(B=y(B,o),A.angle<b)return;var z=(A.startAngle+A.endAngle)/2,R=Math.cos(z),U=Math.sin(z),j,H,V,X;u=A.cx,p=A.cy;var W=i.getFormattedLabel(E,"normal")||t.getName(E),G=g.getBoundingRect(W,F,X,"top"),$=L==="inside"||L==="inner";if(L==="center")j=A.cx,H=A.cy,X="center";else{var ge=($?(A.r+A.r0)/2*R:A.r*R)+u,q=($?(A.r+A.r0)/2*U:A.r*U)+p;if(j=ge+R*3,H=q+U*3,!$){var Se=ge+R*(P+r-A.r),Ce=q+U*(P+r-A.r),Ae=Se+(R<0?-1:1)*B,Ue=Ce;C==="edge"?j=R<0?n+O:n+o-O:j=Ae+(R<0?-x:x),H=Ue,V=[[ge,q],[Se,Ce],[Ae,Ue]]}X=$?"center":C==="edge"?R>0?"right":"left":R>0?"left":"right"}var Qe,gt=T.get("rotate");typeof gt=="number"?Qe=gt*(Math.PI/180):Qe=gt?R<0?-z+Math.PI:-z:0,w=!!Qe,A.label={x:j,y:H,position:L,height:G.height,len:P,len2:B,linePoints:V,textAlign:X,verticalAlign:"middle",rotation:Qe,inside:$,labelDistance:x,labelAlignTo:C,labelMargin:O,bleedMargin:N,textRect:G,text:W,font:F},$||s.push(A.label)}),!w&&i.get("avoidLabelOverlap")&&h(s,u,p,r,o,d,n,l)}D.exports=a},u3os:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ver=_.clear=_.bind=void 0;var g=e("P4Qj"),f=function(h,c){var a=(0,g.getSensor)(h);return a.bind(c),function(){a.unbind(c)}};_.bind=f;var y=function(h){var c=(0,g.getSensor)(h);(0,g.removeSensor)(c)};_.clear=y;var m="1.0.1";_.ver=m},u4NN:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Uc92")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeOutlined";var c=y.forwardRef(h);_.default=c},u8Dt:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__",y=Object.prototype,m=y.hasOwnProperty;function v(h){var c=this.__data__;if(g){var a=c[h];return a===f?void 0:a}return m.call(c,h)?c[h]:void 0}D.exports=v},u9fO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},uAnK:function(D,_,e){var g=e("bYtY"),f=e("Kagy"),y=e("KxfA"),m=y.retrieveRawValue;function v(h,c){var a=c.getModel("aria");if(a.get("show")){if(a.get("description")){h.setAttribute("aria-label",a.get("description"));return}}else return;var i=0;c.eachSeries(function(E,A){++i},this);var r=a.get("data.maxCount")||10,o=a.get("series.maxCount")||10,d=Math.min(i,o),n;if(i<1)return;var l=w();l?n=u(p("general.withTitle"),{title:l}):n=p("general.withoutTitle");var t=[],s=i>1?"series.multiple.prefix":"series.single.prefix";n+=u(p(s),{seriesCount:i}),c.eachSeries(function(E,A){if(A<d){var S,T=E.get("name"),L="series."+(i>1?"multiple":"single")+".";S=p(T?L+"withName":L+"withoutName"),S=u(S,{seriesId:E.seriesIndex,seriesName:E.get("name"),seriesType:b(E.subType)});var x=E.getData();window.data=x,x.count()>r?S+=u(p("data.partialData"),{displayCnt:r}):S+=p("data.allData");for(var C=[],O=0;O<x.count();O++)if(O<r){var N=x.getName(O),F=m(x,O);C.push(u(p(N?"data.withName":"data.withoutName"),{name:N,value:F}))}S+=C.join(p("data.separator.middle"))+p("data.separator.end"),t.push(S)}}),n+=t.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),h.setAttribute("aria-label",n);function u(E,A){if(typeof E!="string")return E;var S=E;return g.each(A,function(T,L){S=S.replace(new RegExp("\\{\\s*"+L+"\\s*\\}","g"),T)}),S}function p(E){var A=a.get(E);if(A==null){for(var S=E.split("."),T=f.aria,L=0;L<S.length;++L)T=T[S[L]];return T}else return A}function w(){var E=c.getModel("title").option;return E&&E.length&&(E=E[0]),E&&E.text}function b(E){return f.series.typeNames[E]||"\u81EA\u5B9A\u4E49\u56FE"}}D.exports=v},uK0f:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(f,y,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var v=f||[],h=[],c=0;do{var a=v.filter(function(i){return y(i,c)})[0];if(!a)break;h.push(a),v=a[m.childrenKeyName]||[],c+=1}while(v.length>0);return h}return g})},uOyE:function(D,_,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,y){y.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),g.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),g.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(D,_,e){D.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};_.default=g},v56E:function(D,_,e){},v5uJ:function(D,_,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;g.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=m.dataIndex,a=h.getData().tree,i=a.getNodeByDataIndex(c);i.isExpand=!i.isExpand})}),g.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=h.coordinateSystem,a=y(c,m);h.setCenter&&h.setCenter(a.center),h.setZoom&&h.setZoom(a.zoom)})})},"vF/C":function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(D,_,e){var g=e("SrGk"),f=e("bYtY");function y(h,c){g.call(this,h,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(y,g),y.prototype.addWithoutUpdate=function(h,c){if(c&&m(c.style)){var a;if(c._shadowDom){a=c._shadowDom;var i=this.getDefs(!0);i.contains(c._shadowDom)||this.addDom(a)}else a=this.add(c);this.markUsed(c);var r=a.getAttribute("id");h.style.filter="url(#"+r+")"}},y.prototype.add=function(h){var c=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,c),this.addDom(c),c},y.prototype.update=function(h,c){var a=c.style;if(m(a)){var i=this;g.prototype.update.call(this,c,function(){i.updateDom(c,c._shadowDom)})}else this.remove(h,c)},y.prototype.remove=function(h,c){c._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},y.prototype.updateDom=function(h,c){var a=c.getElementsByTagName("feDropShadow");a.length===0?a=this.createElement("feDropShadow"):a=a[0];var i=h.style,r=h.scale&&h.scale[0]||1,o=h.scale&&h.scale[1]||1,d,n,l,t;if(i.shadowBlur||i.shadowOffsetX||i.shadowOffsetY)d=i.shadowOffsetX||0,n=i.shadowOffsetY||0,l=i.shadowBlur,t=i.shadowColor;else if(i.textShadowBlur)d=i.textShadowOffsetX||0,n=i.textShadowOffsetY||0,l=i.textShadowBlur,t=i.textShadowColor;else{this.removeDom(c,i);return}a.setAttribute("dx",d/r),a.setAttribute("dy",n/o),a.setAttribute("flood-color",t);var s=l/2/r,u=l/2/o,p=s+" "+u;a.setAttribute("stdDeviation",p),c.setAttribute("x","-100%"),c.setAttribute("y","-100%"),c.setAttribute("width",Math.ceil(l/2*200)+"%"),c.setAttribute("height",Math.ceil(l/2*200)+"%"),c.appendChild(a),h._shadowDom=c},y.prototype.markUsed=function(h){h._shadowDom&&g.prototype.markUsed.call(this,h._shadowDom)};function m(h){return h&&(h.shadowBlur||h.shadowOffsetX||h.shadowOffsetY||h.textShadowBlur||h.textShadowOffsetX||h.textShadowOffsetY)}var v=y;D.exports=v},vL6D:function(D,_,e){var g=e("bYtY"),f=e("+rIm"),y=e("IwbS"),m=e("7bkD"),v=e("Znkb"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,a=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],o=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,s){var u=this.group;u.removeAll();var p=this._axisGroup;this._axisGroup=new y.Group;var w=m.layout(n),b=new f(n,w);g.each(i,b.add,b),u.add(this._axisGroup),u.add(b.getGroup()),g.each(r,function(E){n.get(E+".show")&&this["_"+E](n)},this),y.groupTransition(p,this._axisGroup,n),o.superCall(this,"render",n,l,t,s)},remove:function(){a(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("width"),p=s.get("color");p=p instanceof Array?p:[p];for(var w=n.coordinateSystem.getRect(),b=l.isHorizontal(),E=[],A=0,S=l.getTicksCoords({tickModel:t}),T=[],L=[],x=0;x<S.length;++x){var C=l.toGlobalCoord(S[x].coord);b?(T[0]=C,T[1]=w.y,L[0]=C,L[1]=w.y+w.height):(T[0]=w.x,T[1]=C,L[0]=w.x+w.width,L[1]=C);var O=A++%p.length;E[O]=E[O]||[],E[O].push(new y.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:L[0],y2:L[1]},style:{lineWidth:u},silent:!0}))}for(var x=0;x<E.length;++x)this.group.add(y.mergePath(E[x],{style:{stroke:p[x%p.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(n){c(this,this._axisGroup,n,n)}}),d=o;D.exports=d},vWvF:function(D,_,e){var g=e("Bq2U"),f=e("SUKs"),y=e("bYtY"),m=y.isString,v=y.isFunction,h=y.isObject,c=y.isArrayLike,a=y.indexOf,i=function(){this.animators=[]};i.prototype={constructor:i,animate:function(t,s){var u,p=!1,w=this,b=this.__zr;if(t){var E=t.split("."),A=w;p=E[0]==="shape";for(var S=0,T=E.length;S<T;S++){if(!A)continue;A=A[E[S]]}A&&(u=A)}else u=w;if(!u){f('Property "'+t+'" is not existed in element '+w.id);return}var L=w.animators,x=new g(u,s);return x.during(function(C){w.dirty(p)}).done(function(){L.splice(a(L,x),1)}),L.push(x),b&&b.animation.addAnimator(x),x},stopAnimation:function(t){for(var s=this.animators,u=s.length,p=0;p<u;p++)s[p].stop(t);return s.length=0,this},animateTo:function(t,s,u,p,w,b){r(this,t,s,u,p,w,b)},animateFrom:function(t,s,u,p,w,b){r(this,t,s,u,p,w,b,!0)}};function r(l,t,s,u,p,w,b,E){m(u)?(w=p,p=u,u=0):v(p)?(w=p,p="linear",u=0):v(u)?(w=u,u=0):v(s)?(w=s,s=500):s||(s=500),l.stopAnimation(),o(l,"",l,t,s,u,E);var A=l.animators.slice(),S=A.length;function T(){S--,S||w&&w()}S||w&&w();for(var L=0;L<A.length;L++)A[L].done(T).start(p,b)}function o(l,t,s,u,p,w,b){var E={},A=0;for(var S in u){if(!u.hasOwnProperty(S))continue;s[S]!=null?h(u[S])&&!c(u[S])?o(l,t?t+"."+S:S,s[S],u[S],p,w,b):(b?(E[S]=s[S],d(l,t,S,u[S])):E[S]=u[S],A++):u[S]!=null&&!b&&d(l,t,S,u[S])}A>0&&l.animate(t,!1).when(p==null?500:p,E).delay(w||0)}function d(l,t,s,u){if(!t)l.attr(s,u);else{var p={};p[t]={},p[t][s]=u,l.attr(p)}}var n=i;D.exports=n},vZ6x:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("IwbS"),v=e("4NO4"),h=e("9KIM"),c=y.each,a=y.indexOf,i=y.curry,r=["dataToPoint","pointToData"],o=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(x,C,O){var N=this._targetInfoList=[],F={},k=t(C,x);c(s,function(P,B){(!O||!O.include||a(O.include,B)>=0)&&P(k,N,F)})}var n=d.prototype;n.setOutputRanges=function(x,C){this.matchOutputRanges(x,C,function(O,N,F){if((O.coordRanges||(O.coordRanges=[])).push(N),!O.coordRange){O.coordRange=N;var k=w[O.brushType](0,F,N);O.__rangeOffset={offset:E[O.brushType](k.values,O.range,[1,1]),xyMinMax:k.xyMinMax}}})},n.matchOutputRanges=function(x,C,O){c(x,function(N){var F=this.findTargetInfo(N,C);F&&F!==!0&&y.each(F.coordSyses,function(k){var P=w[N.brushType](1,k,N.range);O(N,P.values,k,C)})},this)},n.setInputRanges=function(x,C){c(x,function(O){var N=this.findTargetInfo(O,C);if(O.range=O.range||[],N&&N!==!0){O.panelId=N.panelId;var F=w[O.brushType](0,N.coordSys,O.coordRange),k=O.__rangeOffset;O.range=k?E[O.brushType](F.values,k.offset,S(F.xyMinMax,k.xyMinMax)):F.values}},this)},n.makePanelOpts=function(x,C){return y.map(this._targetInfoList,function(O){var N=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:C&&C(O),clipPath:h.makeRectPanelClipPath(N),isTargetByCursor:h.makeRectIsTargetByCursor(N,x,O.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(N)}})},n.controlSeries=function(x,C,O){var N=this.findTargetInfo(x,O);return N===!0||N&&a(N.coordSyses,C.coordinateSystem)>=0},n.findTargetInfo=function(x,C){for(var O=this._targetInfoList,N=t(C,x),F=0;F<O.length;F++){var k=O[F],P=x.panelId;if(P){if(k.panelId===P)return k}else for(var F=0;F<u.length;F++)if(u[F](N,k))return k}return!0};function l(x){return x[0]>x[1]&&x.reverse(),x}function t(x,C){return v.parseFinder(x,C,{includeMainTypes:o})}var s={grid:function(x,C){var O=x.xAxisModels,N=x.yAxisModels,F=x.gridModels,k=y.createHashMap(),P={},B={};if(!O&&!N&&!F)return;c(O,function(z){var R=z.axis.grid.model;k.set(R.id,R),P[R.id]=!0}),c(N,function(z){var R=z.axis.grid.model;k.set(R.id,R),B[R.id]=!0}),c(F,function(z){k.set(z.id,z),P[z.id]=!0,B[z.id]=!0}),k.each(function(z){var R=z.coordinateSystem,U=[];c(R.getCartesians(),function(j,H){(a(O,j.getAxis("x").model)>=0||a(N,j.getAxis("y").model)>=0)&&U.push(j)}),C.push({panelId:"grid--"+z.id,gridModel:z,coordSysModel:z,coordSys:U[0],coordSyses:U,getPanelRect:p.grid,xAxisDeclared:P[z.id],yAxisDeclared:B[z.id]})})},geo:function(x,C){c(x.geoModels,function(O){var N=O.coordinateSystem;C.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:N,coordSyses:[N],getPanelRect:p.geo})})}},u=[function(x,C){var O=x.xAxisModel,N=x.yAxisModel,F=x.gridModel;return!F&&O&&(F=O.axis.grid.model),!F&&N&&(F=N.axis.grid.model),F&&F===C.gridModel},function(x,C){var O=x.geoModel;return O&&O===C.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var x=this.coordSys,C=x.getBoundingRect().clone();return C.applyTransform(m.getTransform(x)),C}},w={lineX:i(b,0),lineY:i(b,1),rect:function(x,C,O){var N=C[r[x]]([O[0][0],O[1][0]]),F=C[r[x]]([O[0][1],O[1][1]]),k=[l([N[0],F[0]]),l([N[1],F[1]])];return{values:k,xyMinMax:k}},polygon:function(x,C,O){var N=[[Infinity,-Infinity],[Infinity,-Infinity]],F=y.map(O,function(k){var P=C[r[x]](k);return N[0][0]=Math.min(N[0][0],P[0]),N[1][0]=Math.min(N[1][0],P[1]),N[0][1]=Math.max(N[0][1],P[0]),N[1][1]=Math.max(N[1][1],P[1]),P});return{values:F,xyMinMax:N}}};function b(x,C,O,N){var F=O.getAxis(["x","y"][x]),k=l(y.map([0,1],function(B){return C?F.coordToData(F.toLocalCoord(N[B])):F.toGlobalCoord(F.dataToCoord(N[B]))})),P=[];return P[x]=k,P[1-x]=[NaN,NaN],{values:k,xyMinMax:P}}var E={lineX:i(A,0),lineY:i(A,1),rect:function(x,C,O){return[[x[0][0]-O[0]*C[0][0],x[0][1]-O[0]*C[0][1]],[x[1][0]-O[1]*C[1][0],x[1][1]-O[1]*C[1][1]]]},polygon:function(x,C,O){return y.map(x,function(N,F){return[N[0]-O[0]*C[F][0],N[1]-O[1]*C[F][1]]})}};function A(x,C,O,N){return[C[0]-N[x]*O[0],C[1]-N[x]*O[1]]}function S(x,C){var O=T(x),N=T(C),F=[O[0]/N[0],O[1]/N[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function T(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var L=d;D.exports=L},vZI5:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),m=y.seriesModelMixin,v=f.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(c,a,i){var r=a.getItemLayout(c);return r&&i.rect(r.brushRect)}});g.mixin(v,m,!0);var h=v;D.exports=h},vafp:function(D,_,e){var g=e("bYtY"),f=e("8nly");function y(h){if(!h.UTF8Encoding)return h;var c=h.UTF8Scale;c==null&&(c=1024);for(var a=h.features,i=0;i<a.length;i++)for(var r=a[i],o=r.geometry,d=o.coordinates,n=o.encodeOffsets,l=0;l<d.length;l++){var t=d[l];if(o.type==="Polygon")d[l]=m(t,n[l],c);else if(o.type==="MultiPolygon")for(var s=0;s<t.length;s++){var u=t[s];t[s]=m(u,n[l][s],c)}}return h.UTF8Encoding=!1,h}function m(h,c,a){for(var i=[],r=c[0],o=c[1],d=0;d<h.length;d+=2){var n=h.charCodeAt(d)-64,l=h.charCodeAt(d+1)-64;n=n>>1^-(n&1),l=l>>1^-(l&1),n+=r,l+=o,r=n,o=l,i.push([n/a,l/a])}return i}function v(h,c){return y(h),g.map(g.filter(h.features,function(a){return a.geometry&&a.properties&&a.geometry.coordinates.length>0}),function(a){var i=a.properties,r=a.geometry,o=r.coordinates,d=[];r.type==="Polygon"&&d.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),r.type==="MultiPolygon"&&g.each(o,function(l){l[0]&&d.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var n=new f(i[c||"name"],d,i.cp);return n.properties=i,n})}D.exports=v},vcCh:function(D,_,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,y){y.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getPointerEvent=g,_.stopEvent=f,_.setCapture=a,_.releaseCapture=i;function g(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function f(r){r.stopPropagation(),r.preventDefault()}var y=!1,m=null;document.captureElement=null;function v(r){if(y)return;var o=new r.constructor(r.type,r);y=!0,document.captureElement?document.captureElement.dispatchEvent(o):m.dispatchEvent(o),y=!1,r.stopPropagation(),o.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&i()}function h(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(h);function a(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",i);else{i();var o=document.getElementById("noVNC_mouse_capture_elem");o===null&&(o=document.createElement("div"),o.id="noVNC_mouse_capture_elem",o.style.position="fixed",o.style.top="0px",o.style.left="0px",o.style.width="100%",o.style.height="100%",o.style.zIndex=1e4,o.style.display="none",document.body.appendChild(o),o.addEventListener("contextmenu",v),o.addEventListener("mousemove",v),o.addEventListener("mouseup",v)),document.captureElement=r,c.observe(r,{attributes:!0}),h(),o.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function i(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,c.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(D,_,e){},"vk+C":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},w5pM:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusCircleOutlined";var h=_.a=g.forwardRef(v)},w6Tc:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},wCAj:function(D,_,e){"use strict";var g=e("cDf5"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("pVnL"),a=e.n(c),i=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("rePB"),l=e("VTBJ"),t=e("KQm4"),s=e("U8pU"),u=e("ODXe"),p=e("Gytx"),w=e.n(p),b=e("Kwbf"),E=e("t23M"),A=e("qx4F");function S(rr){return null}var T=S;function L(rr){return null}var x=L,C=e("Ff2n"),O=e("c+Xe"),N="RC_TABLE_KEY";function F(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function k(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Pr=F(Tr),Wr=rr,hn=0;hn<Pr.length;hn+=1){if(!Wr)return null;var rt=Pr[hn];Wr=Wr[rt]}return Wr}function P(rr){var Tr=[],Pr={};return rr.forEach(function(Wr){for(var hn=Wr||{},rt=hn.key,jt=hn.dataIndex,Jt=rt||F(jt).join("-")||N;Pr[Jt];)Jt="".concat(Jt,"_next");Pr[Jt]=!0,Tr.push(Jt)}),Tr}function B(){var rr={};function Tr(rt,jt){jt&&Object.keys(jt).forEach(function(Jt){var nr=jt[Jt];nr&&Object(s.a)(nr)==="object"?(rt[Jt]=rt[Jt]||{},Tr(rt[Jt],nr)):rt[Jt]=nr})}for(var Pr=arguments.length,Wr=new Array(Pr),hn=0;hn<Pr;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(rt){Tr(rr,rt)}),rr}function z(rr){return rr!=null}function R(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!i.isValidElement(rr)}function U(rr){return typeof rr=="string"?!0:Object(O.c)(rr)}function j(rr,Tr){var Pr,Wr=rr.prefixCls,hn=rr.className,rt=rr.record,jt=rr.index,Jt=rr.dataIndex,nr=rr.render,Or=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,zr=rr.colSpan,Jr=rr.rowSpan,Zr=rr.fixLeft,an=rr.fixRight,St=rr.firstFixLeft,Vt=rr.lastFixLeft,sr=rr.firstFixRight,br=rr.lastFixRight,Mr=rr.appendNode,Dr=rr.additionalProps,rn=Dr===void 0?{}:Dr,fn=rr.ellipsis,wn=rr.align,Hn=rr.rowType,Sn=rr.isSticky,bn="".concat(Wr,"-cell"),Mn,vn;if(Or)vn=Or;else{var Rn=k(rt,Jt);if(vn=Rn,nr){var En=nr(Rn,rt,jt);R(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!i.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=i.createElement("span",{className:"".concat(bn,"-content")},vn));var In=Mn||{},Xn=In.colSpan,ai=In.rowSpan,ri=In.style,Di=In.className,yi=Object(C.a)(In,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:zr,Li=ai!==void 0?ai:Jr;if(xi===0||Li===0)return null;var Un={},Ri=typeof Zr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Zr),fa&&(Un.position="sticky",Un.right=an);var Ui={};wn&&(Ui.textAlign=wn);var Mi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Mi=vn.toString():i.isValidElement(vn)&&typeof vn.props.children=="string"&&(Mi=vn.props.children));var hi=Object(l.a)(Object(l.a)(Object(l.a)({title:Mi},yi),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:Li&&Li!==1?Li:null,className:o()(bn,hn,(Pr={},Object(n.a)(Pr,"".concat(bn,"-fix-left"),Ri),Object(n.a)(Pr,"".concat(bn,"-fix-left-first"),St),Object(n.a)(Pr,"".concat(bn,"-fix-left-last"),Vt),Object(n.a)(Pr,"".concat(bn,"-fix-right"),fa),Object(n.a)(Pr,"".concat(bn,"-fix-right-first"),sr),Object(n.a)(Pr,"".concat(bn,"-fix-right-last"),br),Object(n.a)(Pr,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Pr,"".concat(bn,"-with-append"),Mr),Object(n.a)(Pr,"".concat(bn,"-fix-sticky"),(Ri||fa)&&Sn),Pr),rn.className,Di),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},rn.style),Ui),Un),ri),ref:U(Er)?Tr:null});return i.createElement(Er,Object.assign({},hi),Mr,vn)}var H=i.forwardRef(j);H.displayName="Cell";var V=i.memo(H,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),X=V,W=i.createContext(null),G=W;function $(rr,Tr,Pr,Wr,hn){var rt=Pr[rr]||{},jt=Pr[Tr]||{},Jt,nr;rt.fixed==="left"?Jt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var Or=!1,wr=!1,Er=!1,zr=!1,Jr=Pr[Tr+1],Zr=Pr[rr-1];if(hn==="rtl"){if(Jt!==void 0){var an=Zr&&Zr.fixed==="left";zr=!an}else if(nr!==void 0){var St=Jr&&Jr.fixed==="right";Er=!St}}else if(Jt!==void 0){var Vt=Jr&&Jr.fixed==="left";Or=!Vt}else if(nr!==void 0){var sr=Zr&&Zr.fixed==="right";wr=!sr}return{fixLeft:Jt,fixRight:nr,lastFixLeft:Or,firstFixRight:wr,lastFixRight:Er,firstFixLeft:zr,isSticky:Wr.isSticky}}function ge(rr){var Tr=rr.cells,Pr=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,rt=rr.cellComponent,jt=rr.onHeaderRow,Jt=rr.index,nr=i.useContext(G),Or=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Jr){return Jr.column}),Jt));var zr=P(Tr.map(function(Jr){return Jr.column}));return i.createElement(hn,Object.assign({},Er),Tr.map(function(Jr,Zr){var an=Jr.column,St=$(Jr.colStart,Jr.colEnd,Wr,Pr,wr),Vt;return an&&an.onHeaderCell&&(Vt=Jr.column.onHeaderCell(an)),i.createElement(X,Object.assign({},Jr,{ellipsis:an.ellipsis,align:an.align,component:rt,prefixCls:Or,key:zr[Zr]},St,{additionalProps:Vt,rowType:"header"}))}))}ge.displayName="HeaderRow";var q=ge;function Se(rr){var Tr=[];function Pr(jt,Jt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var Or=Jt,wr=jt.filter(Boolean).map(function(Er){var zr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:Or},Jr=1,Zr=Er.children;return Zr&&Zr.length>0&&(Jr=Pr(Zr,Or,nr+1).reduce(function(an,St){return an+St},0),zr.hasSubColumns=!0),"colSpan"in Er&&(Jr=Er.colSpan),"rowSpan"in Er&&(zr.rowSpan=Er.rowSpan),zr.colSpan=Jr,zr.colEnd=zr.colStart+Jr-1,Tr[nr].push(zr),Or+=Jr,Jr});return wr}Pr(rr,0);for(var Wr=Tr.length,hn=function(Jt){Tr[Jt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Jt)})},rt=0;rt<Wr;rt+=1)hn(rt);return Tr}function Ce(rr){var Tr=rr.stickyOffsets,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,rt=i.useContext(G),jt=rt.prefixCls,Jt=rt.getComponent,nr=i.useMemo(function(){return Se(Pr)},[Pr]),Or=Jt(["header","wrapper"],"thead"),wr=Jt(["header","row"],"tr"),Er=Jt(["header","cell"],"th");return i.createElement(Or,{className:"".concat(jt,"-thead")},nr.map(function(zr,Jr){var Zr=i.createElement(q,{key:Jr,flattenColumns:Wr,cells:zr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Jr});return Zr}))}var Ae=Ce,Ue="RC_TABLE_INTERNAL_COL_DEFINE";function Qe(rr){var Tr=rr.expandable,Pr=Object(C.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Pr),Tr):Pr}function gt(rr){return Object.keys(rr).reduce(function(Tr,Pr){return(Pr.substr(0,5)==="data-"||Pr.substr(0,5)==="aria-")&&(Tr[Pr]=rr[Pr]),Tr},{})}function _e(rr){for(var Tr=rr.colWidths,Pr=rr.columns,Wr=rr.columCount,hn=[],rt=Wr||Pr.length,jt=!1,Jt=rt-1;Jt>=0;Jt-=1){var nr=Tr[Jt],Or=Pr&&Pr[Jt],wr=Or&&Or[Ue];(nr||wr||jt)&&(hn.unshift(i.createElement("col",Object.assign({key:Jt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return i.createElement("colgroup",null,hn)}var Oe=_e;function lt(rr,Tr){return Object(i.useMemo)(function(){for(var Pr=[],Wr=0;Wr<Tr;Wr+=1){var hn=rr[Wr];if(hn)Pr[Wr]=hn;else return null}return Pr},[rr.join("_"),Tr])}function ce(rr){var Tr=rr.noData,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,rt=rr.columCount,jt=rr.stickyOffsets,Jt=rr.direction,nr=rr.fixHeader,Or=Object(C.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=i.useContext(G),Er=wr.prefixCls,zr=wr.scrollbarSize,Jr=wr.isSticky,Zr=Jr&&!nr?0:zr,an=Wr[Wr.length-1],St={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Pr),[St]):Pr},[Zr,Pr]),sr=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Wr),[St]):Wr},[Zr,Wr]),br=Object(i.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Jt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Zr})),[0]):rn,right:Jt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Zr})),[0]),isSticky:Jr})},[Zr,jt,Jr]),Mr=lt(hn,rt);return i.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},i.createElement(Oe,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Zr]):[],columCount:rt+1,columns:sr}),i.createElement(Ae,Object.assign({},Or,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var Y=ce,K=i.createContext(null),Q=K;function ye(rr){var Tr=rr.prefixCls,Pr=rr.children,Wr=rr.component,hn=rr.cellComponent,rt=rr.fixHeader,jt=rr.fixColumn,Jt=rr.horizonScroll,nr=rr.className,Or=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,zr=i.useContext(G),Jr=zr.scrollbarSize;return i.useMemo(function(){var Zr=Pr;return jt&&(Zr=i.createElement("div",{style:{width:wr-(rt?Jr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Zr)),i.createElement(Wr,{className:nr,style:{display:Or?null:"none"}},i.createElement(X,{component:hn,prefixCls:Tr,colSpan:Er},Zr))},[Pr,Wr,rt,Jt,nr,Or,wr,Er,Jr])}var ue=ye;function Ne(rr){var Tr=rr.className,Pr=rr.style,Wr=rr.record,hn=rr.index,rt=rr.rowKey,jt=rr.getRowKey,Jt=rr.rowExpandable,nr=rr.expandedKeys,Or=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,zr=rr.rowComponent,Jr=rr.cellComponent,Zr=rr.childrenColumnName,an=i.useContext(G),St=an.prefixCls,Vt=an.fixedInfoList,sr=i.useContext(Q),br=sr.fixHeader,Mr=sr.fixColumn,Dr=sr.horizonScroll,rn=sr.componentWidth,fn=sr.flattenColumns,wn=sr.expandableType,Hn=sr.expandRowByClick,Sn=sr.onTriggerExpand,bn=sr.rowClassName,Mn=sr.expandedRowClassName,vn=sr.indentSize,Rn=sr.expandIcon,En=sr.expandedRowRender,In=sr.expandIconColumnIndex,Xn=i.useState(!1),ai=Object(u.a)(Xn,2),ri=ai[0],Di=ai[1],yi=nr&&nr.has(rr.recordKey);i.useEffect(function(){yi&&Di(!0)},[yi]);var xi=wn==="row"&&(!Jt||Jt(Wr)),Li=wn==="nest",Un=Zr&&Wr&&Wr[Zr],Ri=xi||Li,fa;Or&&(fa=Or(Wr,hn));var Ui=function(sa){if(Hn&&Ri&&Sn(Wr,sa),fa&&fa.onClick){for(var Ni,$n=arguments.length,Ai=new Array($n>1?$n-1:0),Ii=1;Ii<$n;Ii++)Ai[Ii-1]=arguments[Ii];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=P(fn),hi=i.createElement(zr,Object.assign({},fa,{"data-row-key":rt,className:o()(Tr,"".concat(St,"-row"),"".concat(St,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Pr),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,Ii=mi[sa],Vi=Vt[sa],Xi;sa===(In||0)&&Li&&(Xi=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(St,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:St,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),i.createElement(X,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Jr,prefixCls:St,key:Ii,record:Wr,index:hn,dataIndex:$n,render:Ni,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Xi,additionalProps:bi}))})),qi;if(xi&&(ri||yi)){var va=En(Wr,hn,Er+1,yi),Ea=Mn&&Mn(Wr,hn,Er);qi=i.createElement(ue,{expanded:yi,className:o()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:St,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:zr,componentWidth:rn,cellComponent:Jr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Zr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return i.createElement(Ne,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),i.createElement(i.Fragment,null,hi,qi,ya)}Ne.displayName="BodyRow";var Te=Ne,oe=i.createContext(null),de=oe;function Le(rr){var Tr=rr.data,Pr=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,rt=rr.onRow,jt=rr.rowExpandable,Jt=rr.emptyNode,nr=rr.childrenColumnName,Or=i.useContext(de),wr=Or.onColumnResize,Er=i.useContext(G),zr=Er.prefixCls,Jr=Er.getComponent,Zr=i.useContext(Q),an=Zr.fixHeader,St=Zr.horizonScroll,Vt=Zr.flattenColumns,sr=Zr.componentWidth;return i.useMemo(function(){var br=Jr(["body","wrapper"],"tbody"),Mr=Jr(["body","row"],"tr"),Dr=Jr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Pr(wn,Hn);return i.createElement(Te,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:rt,getRowKey:Pr,rowExpandable:jt,childrenColumnName:nr})}):rn=i.createElement(ue,{expanded:!0,className:"".concat(zr,"-placeholder"),prefixCls:zr,fixHeader:an,fixColumn:St,horizonScroll:St,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Jt);var fn=P(Vt);return i.createElement(br,{className:"".concat(zr,"-tbody")},Wr&&i.createElement("tr",{"aria-hidden":"true",className:"".concat(zr,"-measure-row"),style:{height:0}},fn.map(function(wn){return i.createElement(E.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;wr(wn,bn)}},i.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Tr,zr,rt,Wr,hn,Pr,Jr,sr,Jt,Vt])}var Ge=i.memo(Le);Ge.displayName="Body";var ht=Ge,Et=e("Zm9Q");function Be(rr){return Object(Et.a)(rr).filter(function(Tr){return i.isValidElement(Tr)}).map(function(Tr){var Pr=Tr.key,Wr=Tr.props,hn=Wr.children,rt=Object(C.a)(Wr,["children"]),jt=Object(l.a)({key:Pr},rt);return hn&&(jt.children=Be(hn)),jt})}function Dt(rr){return rr.reduce(function(Tr,Pr){var Wr=Pr.fixed,hn=Wr===!0?"left":Wr,rt=Pr.children;return rt&&rt.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Dt(rt).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Pr),{},{fixed:hn})])},[])}function Ke(rr){for(var Tr=!0,Pr=0;Pr<rr.length;Pr+=1){var Wr=rr[Pr];if(Tr&&Wr.fixed!=="left")Tr=!1;else if(!Tr&&Wr.fixed==="left"){Object(b.a)(!1,"Index ".concat(Pr-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,rt=rr.length-1;rt>=0;rt-=1){var jt=rr[rt];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(b.a)(!1,"Index ".concat(rt+1," of `columns` missing `fixed='right'` prop."));break}}}function At(rr){return rr.map(function(Tr){var Pr=Tr.fixed,Wr=Object(C.a)(Tr,["fixed"]),hn=Pr;return Pr==="left"?hn="right":Pr==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Xe(rr,Tr){var Pr=rr.prefixCls,Wr=rr.columns,hn=rr.children,rt=rr.expandable,jt=rr.expandedKeys,Jt=rr.getRowKey,nr=rr.onTriggerExpand,Or=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,zr=rr.direction,Jr=rr.expandRowByClick,Zr=i.useMemo(function(){return Wr||Be(hn)},[Wr,hn]),an=i.useMemo(function(){if(rt){var sr,br=Er||0,Mr=Zr[br],Dr=(sr={},Object(n.a)(sr,Ue,{className:"".concat(Pr,"-expand-icon-col")}),Object(n.a)(sr,"title",""),Object(n.a)(sr,"fixed",Mr?Mr.fixed:null),Object(n.a)(sr,"className","".concat(Pr,"-row-expand-icon-cell")),Object(n.a)(sr,"render",function(wn,Hn,Sn){var bn=Jt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=Or({prefixCls:Pr,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Jr?i.createElement("span",{onClick:function(In){return In.stopPropagation()}},Rn):Rn}),sr),rn=Zr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Zr},[rt,Zr,Jt,jt,Or,zr]),St=i.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,zr]),Vt=i.useMemo(function(){return zr==="rtl"?At(Dt(St)):Dt(St)},[St,zr]);return[St,Vt]}var et=Xe,tt=e("xEkU"),ot=e.n(tt);function Ve(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useState)({}),Wr=Object(u.a)(Pr,2),hn=Wr[1],rt=Object(i.useRef)(null),jt=Object(i.useRef)([]);function Jt(nr){rt.current===null&&(jt.current=[],rt.current=ot()(function(){jt.current.forEach(function(Or){Tr.current=Or(Tr.current)}),rt.current=null,hn({})})),jt.current.push(nr)}return Object(i.useEffect)(function(){return function(){ot.a.cancel(rt.current)}},[]),[Tr.current,Jt]}function se(rr){var Tr=Object(i.useRef)(rr),Pr=Object(i.useRef)(null);function Wr(){window.clearTimeout(Pr.current)}function hn(jt){Tr.current=jt,Wr(),Pr.current=window.setTimeout(function(){Tr.current=null,Pr.current=null},100)}function rt(){return Tr.current}return Object(i.useEffect)(function(){return Wr},[]),[hn,rt]}function re(rr,Tr,Pr){var Wr=Object(i.useMemo)(function(){for(var hn=[],rt=[],jt=0,Jt=0,nr=0;nr<Tr;nr+=1)if(Pr==="rtl"){rt[nr]=Jt,Jt+=rr[nr]||0;var Or=Tr-nr-1;hn[Or]=jt,jt+=rr[Or]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;rt[wr]=Jt,Jt+=rr[wr]||0}return{left:hn,right:rt}},[rr,Tr,Pr]);return Wr}var it=re;function qe(rr){var Tr=rr.className,Pr=rr.children;return i.createElement("div",{className:Tr},Pr)}var be=qe;function Zt(rr){var Tr=rr.className,Pr=rr.index,Wr=rr.children,hn=rr.colSpan,rt=rr.rowSpan,jt=i.useContext(G),Jt=jt.prefixCls,nr=jt.fixedInfoList,Or=nr[Pr];return i.createElement(X,Object.assign({className:Tr,index:Pr,component:"td",prefixCls:Jt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:rt}}}},Or))}function dt(rr){return i.createElement("tr",Object.assign({},rr))}function ct(rr){var Tr=rr.children,Pr=i.useContext(G),Wr=Pr.prefixCls;return i.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var yt=ct,_t={Cell:Zt,Row:dt};function or(rr){var Tr,Pr=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,rt=rr.expanded,jt=rr.expandable,Jt="".concat(Pr,"-row-expand-icon");if(!jt)return i.createElement("span",{className:o()(Jt,"".concat(Pr,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return i.createElement("span",{className:o()(Jt,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-row-expanded"),rt),Object(n.a)(Tr,"".concat(Pr,"-row-collapsed"),!rt),Tr)),onClick:nr})}function Bt(rr,Tr,Pr){var Wr=[];function hn(rt){(rt||[]).forEach(function(jt,Jt){Wr.push(Tr(jt,Jt)),hn(jt[Pr])})}return hn(rr),Wr}var we=e("zT1h"),ve=e("y0+3"),me=function(Tr,Pr){var Wr,hn,rt=Tr.scrollBodyRef,jt=Tr.onScroll,Jt=Tr.offsetScroll,nr=i.useContext(G),Or=nr.prefixCls,wr=((Wr=rt.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=rt.current)===null||hn===void 0?void 0:hn.clientWidth)||0,zr=wr&&Er*(Er/wr),Jr=i.useRef(),Zr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(u.a)(Zr,2),St=an[0],Vt=an[1],sr=i.useRef({delta:0,x:0}),br=i.useState(!1),Mr=Object(u.a)(br,2),Dr=Mr[0],rn=Mr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),sr.current.delta=vn.pageX-St.scrollLeft,sr.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Rn,En=vn||((Rn=window)===null||Rn===void 0?void 0:Rn.event),In=En.buttons;if(!Dr||In===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+zr>=Er&&(Xn=Er-zr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(ve.b)(rt.current).top,Rn=vn+rt.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(A.a)()<=En||vn>=En-Jt?Vt(function(In){return Object(l.a)(Object(l.a)({},In),{},{isHiddenScrollBar:!0})}):Vt(function(In){return Object(l.a)(Object(l.a)({},In),{},{isHiddenScrollBar:!1})})},bn=function(vn){Vt(function(Rn){return Object(l.a)(Object(l.a)({},Rn),{},{scrollLeft:vn/wr*Er||0})})};return i.useImperativeHandle(Pr,function(){return{setScrollLeft:bn}}),i.useEffect(function(){var Mn=Object(we.a)(document.body,"mouseup",fn,!1),vn=Object(we.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[zr,Dr]),i.useEffect(function(){var Mn=Object(we.a)(window,"scroll",Sn,!1),vn=Object(we.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),i.useEffect(function(){St.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:rt.current.scrollLeft/((vn=rt.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=rt.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[St.isHiddenScrollBar]),wr<=Er||!zr||St.isHiddenScrollBar?null:i.createElement("div",{style:{height:Object(A.a)(),width:Er,bottom:Jt},className:"".concat(Or,"-sticky-scroll")},i.createElement("div",{onMouseDown:wn,ref:Jr,className:o()("".concat(Or,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Or,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(zr,"px"),transform:"translate3d(".concat(St.scrollLeft,"px, 0, 0)")}}))},he=i.forwardRef(me);function Re(rr,Tr){return i.useMemo(function(){var Pr=!!rr;return{isSticky:Pr,stickyClassName:Pr?"".concat(Tr,"-sticky-header"):"",offsetHeader:Object(s.a)(rr)==="object"&&rr.offsetHeader||0,offsetScroll:Object(s.a)(rr)==="object"&&rr.offsetScroll||0}},[rr,Tr])}var He=[],ze={},Ye="rc-table-internal-hook",Pe=i.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return w()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function nt(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,rt=rr.style,jt=rr.data,Jt=rr.rowKey,nr=rr.scroll,Or=rr.tableLayout,wr=rr.direction,Er=rr.title,zr=rr.footer,Jr=rr.summary,Zr=rr.id,an=rr.showHeader,St=rr.components,Vt=rr.emptyText,sr=rr.onRow,br=rr.onHeaderRow,Mr=rr.internalHooks,Dr=rr.transformColumns,rn=rr.internalRefs,fn=rr.sticky,wn=jt||He,Hn=!!wn.length,Sn=i.useState(0),bn=Object(u.a)(Sn,2),Mn=bn[0],vn=bn[1];i.useEffect(function(){vn(Object(A.a)())});var Rn=i.useMemo(function(){return B(St,{})},[St]),En=i.useCallback(function(Fa,La){return k(Rn,Fa)||La},[Rn]),In=i.useMemo(function(){return typeof Jt=="function"?Jt:function(Fa){var La=Fa&&Fa[Jt];return La}},[Jt]),Xn=Qe(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,Li=Xn.onExpand,Un=Xn.onExpandedRowsChange,Ri=Xn.expandRowByClick,fa=Xn.rowExpandable,Ui=Xn.expandIconColumnIndex,Mi=Xn.expandedRowClassName,mi=Xn.childrenColumnName,hi=Xn.indentSize,qi=ai||or,va=mi||"children",Ea=i.useMemo(function(){return xi?"row":rr.expandable&&Mr===Ye&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(Fa){return Fa&&Object(s.a)(Fa)==="object"&&Fa[va]})?"nest":!1},[!!xi,wn]),ya=i.useState(function(){return Di||(yi?Bt(wn,In,va):[])}),oa=Object(u.a)(ya,2),sa=oa[0],Ni=oa[1],$n=i.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),Ai=i.useCallback(function(Fa){var La=In(Fa,wn.indexOf(Fa)),Oo,Io=$n.has(La);Io?($n.delete(La),Oo=Object(t.a)($n)):Oo=[].concat(Object(t.a)($n),[La]),Ni(Oo),Li&&Li(!Io,Fa),Un&&Un(Oo)},[In,$n,wn,Li,Un]),Ii=i.useState(0),Vi=Object(u.a)(Ii,2),Xi=Vi[0],bi=Vi[1],Aa=et(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:In,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===Ye?Dr:null),ca=Object(u.a)(Aa,2),la=ca[0],gi=ca[1],Pa=i.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ma=i.useRef(),ra=i.useRef(),Yi=i.useRef(),Xa=i.useState(!1),Ki=Object(u.a)(Xa,2),zi=Ki[0],ba=Ki[1],Ua=i.useState(!1),wa=Object(u.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Ve(new Map),pa=Object(u.a)(Ka,2),Oi=pa[0],So=pa[1],za=P(gi),ja=za.map(function(Fa){return Oi.get(Fa)}),qa=i.useMemo(function(){return ja},[ja.join("_")]),ho=it(qa,gi.length,wr),Ca=nr&&z(nr.y),to=nr&&z(nr.x),Lo=to&&gi.some(function(Fa){var La=Fa.fixed;return La}),Ia=i.useRef(),Fi=Re(fn,Pr),Ja=Fi.isSticky,Da=Fi.offsetHeader,pi=Fi.offsetScroll,Gi=Fi.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:nr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:nr.x===!0?"auto":nr.x,minWidth:"100%"});var Ta=i.useCallback(function(Fa,La){So(function(Oo){var Io=new Map(Oo);return Io.set(Fa,La),Io})},[]),ki=se(null),Ra=Object(u.a)(ki,2),Vo=Ra[0],ro=Ra[1];function vo(Fa,La){La&&(typeof La=="function"?La(Fa):La.scrollLeft!==Fa&&(La.scrollLeft=Fa))}var po=function(La){var Oo=La.currentTarget,Io=La.scrollLeft,ts=typeof Io=="number"?Io:Oo.scrollLeft,Bo=Oo||ze;if(!ro()||ro()===Bo){var rs;Vo(Bo),vo(ts,ra.current),vo(ts,Yi.current),vo(ts,(rs=Ia.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Oo){var ms=Oo.scrollWidth,ls=Oo.clientWidth;ba(ts>0),Ya(ts<ms-ls)}},Zi=function(){Yi.current&&po({currentTarget:Yi.current})},xo=function(La){var Oo=La.width;Zi(),bi(Ma.current?Ma.current.offsetWidth:Oo)};i.useEffect(function(){return Zi},[]),i.useEffect(function(){to&&Zi()},[to]),i.useEffect(function(){Mr===Ye&&rn&&(rn.body.current=Yi.current)});var is=En(["table"],"table"),Jo=i.useMemo(function(){return Or||(Lo?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(Fa){var La=Fa.ellipsis;return La})?"fixed":"auto")},[Ca,Lo,gi,Or]),_s,Cs={colWidths:qa,columCount:gi.length,stickyOffsets:ho,onHeaderRow:br,fixHeader:Ca},Ts=i.useMemo(function(){return Hn?null:typeof Vt=="function"?Vt():Vt},[Hn,Vt]),Go=i.createElement(ht,{data:wn,measureColumnWidth:Ca||to||Ja,expandedKeys:$n,rowExpandable:fa,getRowKey:In,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=i.createElement(Oe,{colWidths:gi.map(function(Fa){var La=Fa.width;return La}),columns:gi}),Za=Jr&&i.createElement(yt,null,Jr(wn)),Ga=En(["body"]);if(Ca||Ja){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Mn,ref:Yi,onScroll:po}),Cs.colWidths=gi.map(function(Fa,La){var Oo=Fa.width,Io=La===la.length-1?Oo-Mn:Oo;return typeof Io=="number"&&!Number.isNaN(Io)?Io:(Object(b.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),onScroll:po,ref:Yi,className:o()("".concat(Pr,"-body"))},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,Go,Za),Ja&&i.createElement(he,{ref:Ia,offsetScroll:pi,scrollBodyRef:Yi,onScroll:po})),_s=i.createElement(i.Fragment,null,an!==!1&&i.createElement("div",{style:Object(l.a)({overflow:"hidden"},Ja?{top:Da}:{}),onScroll:po,ref:ra,className:o()("".concat(Pr,"-header"),Object(n.a)({},Gi,!!Gi))},i.createElement(Y,Object.assign({noData:!wn.length},Cs,Pa,{direction:wr}))),so)}else _s=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),className:o()("".concat(Pr,"-content")),onScroll:po,ref:Yi},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,an!==!1&&i.createElement(Ae,Object.assign({},Cs,Pa)),Go,Za));var ps=gt(rr),Sr=i.createElement("div",Object.assign({className:o()(Pr,Wr,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-rtl"),wr==="rtl"),Object(n.a)(Tr,"".concat(Pr,"-ping-left"),zi),Object(n.a)(Tr,"".concat(Pr,"-ping-right"),vi),Object(n.a)(Tr,"".concat(Pr,"-layout-fixed"),Or==="fixed"),Object(n.a)(Tr,"".concat(Pr,"-fixed-header"),Ca),Object(n.a)(Tr,"".concat(Pr,"-fixed-column"),Lo),Object(n.a)(Tr,"".concat(Pr,"-scroll-horizontal"),to),Object(n.a)(Tr,"".concat(Pr,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Tr,"".concat(Pr,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Tr)),style:rt,id:Zr,ref:Ma},ps),i.createElement(Pe,{pingLeft:zi,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&i.createElement(be,{className:"".concat(Pr,"-title")},Er(wn)),i.createElement("div",{className:"".concat(Pr,"-container")},_s),zr&&i.createElement(be,{className:"".concat(Pr,"-footer")},zr(wn))));to&&(Sr=i.createElement(E.a,{onResize:xo},Sr));var Xo=i.useMemo(function(){return{prefixCls:Pr,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(Fa,La){return $(La,La,gi,ho,wr)}),isSticky:Ja}},[Pr,En,Mn,wr,gi,ho,wr,Ja]),ss=i.useMemo(function(){return Object(l.a)(Object(l.a)({},Pa),{},{tableLayout:Jo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:Lo,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Pa,Jo,hn,Mi,Xi,Ca,Lo,to,qi,Ea,Ri,xi,Ai,Ui,hi]),Ls=i.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return i.createElement(G.Provider,{value:Xo},i.createElement(Q.Provider,{value:ss},i.createElement(de.Provider,{value:Ls},Sr)))}nt.Column=x,nt.ColumnGroup=T,nt.Summary=_t,nt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var bt=nt,Ot=bt,ae=e("W9HT"),pe=e("NUBc"),J=e("H84U"),ne=function(rr,Tr){var Pr={};for(var Wr in rr)Object.prototype.hasOwnProperty.call(rr,Wr)&&Tr.indexOf(Wr)<0&&(Pr[Wr]=rr[Wr]);if(rr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Wr=Object.getOwnPropertySymbols(rr);hn<Wr.length;hn++)Tr.indexOf(Wr[hn])<0&&Object.prototype.propertyIsEnumerable.call(rr,Wr[hn])&&(Pr[Wr[hn]]=rr[Wr[hn]]);return Pr},xe=10;function De(rr,Tr){var Pr={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var rt=Tr[hn];typeof rt!="function"&&(Pr[hn]=rt)}),Pr}function Fe(){for(var rr={},Tr=arguments.length,Pr=new Array(Tr),Wr=0;Wr<Tr;Wr++)Pr[Wr]=arguments[Wr];return Pr.forEach(function(hn){hn&&Object.keys(hn).forEach(function(rt){var jt=hn[rt];jt!==void 0&&(rr[rt]=jt)})}),rr}function $e(rr,Tr,Pr){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,rt=hn===void 0?0:hn,jt=ne(Wr,["total"]),Jt=Object(i.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:xe}}),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=Fe(Or,jt,{total:rt>0?rt:rr});if(!rt){var zr=Math.ceil(rr/Er.pageSize);zr<Er.current&&(Er.current=1)}var Jr=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(a()(a()({},Er),{current:St,pageSize:Vt||Er.pageSize}))},Zr=function(St,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(St=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(St,Vt)),Tr&&Tr.onChange&&Tr.onChange(St,Vt),Jr(St,Vt),Pr(St,Vt||sr)};return Tr===!1?[{},function(){}]:[a()(a()({},Er),{onChange:Zr}),Jr]}function vt(rr,Tr,Pr){var Wr=i.useRef({});function hn(rt){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Pr){var jt=function nr(Or){Or.forEach(function(wr,Er){var zr=Pr(wr,Er);Jt.set(zr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Jt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Jt,getRowKey:Pr}}return Wr.current.kvMap.get(rt)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Rt=e("RIqP"),Kt=e.n(Rt),Gt=e("HQEm"),Qt=e.n(Gt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),st=e("6cGi"),xt=e("kaz8"),ut=e("jsC+"),pt=e("BvKs"),It=e("9yH6"),Tt=e("uaoM"),ft="SELECT_ALL",Ht="SELECT_INVERT";function Ft(rr){return rr&&rr.fixed}function ir(rr,Tr){var Pr=[];return(rr||[]).forEach(function(Wr){Pr.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Pr=[].concat(Kt()(Pr),Kt()(ir(Wr[Tr],Tr))))}),Pr}function Xt(rr,Tr){var Pr=rr||{},Wr=Pr.preserveSelectedRowKeys,hn=Pr.selectedRowKeys,rt=Pr.getCheckboxProps,jt=Pr.onChange,Jt=Pr.onSelect,nr=Pr.onSelectAll,Or=Pr.onSelectInvert,wr=Pr.onSelectMultiple,Er=Pr.columnWidth,zr=Pr.type,Jr=Pr.selections,Zr=Pr.fixed,an=Pr.renderCell,St=Pr.hideSelectAll,Vt=Pr.checkStrictly,sr=Vt===void 0?!0:Vt,br=Tr.prefixCls,Mr=Tr.data,Dr=Tr.pageData,rn=Tr.getRecordByKey,fn=Tr.getRowKey,wn=Tr.expandType,Hn=Tr.childrenColumnName,Sn=Tr.locale,bn=Tr.expandIconColumnIndex,Mn=Tr.getPopupContainer,vn=i.useRef(new Map),Rn=Object(st.a)(hn||[],{value:hn}),En=h()(Rn,2),In=En[0],Xn=En[1],ai=Object(i.useMemo)(function(){return sr?{keyEntities:null}:Object(Mt.a)(Mr,void 0,fn)},[Mr,fn,sr]),ri=ai.keyEntities,Di=Object(i.useMemo)(function(){return ir(Dr,Hn)},[Dr,Hn]),yi=Object(i.useMemo)(function(){var Ni=new Map;return Di.forEach(function($n,Ai){var Ii=fn($n,Ai),Vi=(rt?rt($n):null)||{};Ni.set(Ii,Vi)}),Ni},[Di,fn,rt]),xi=Object(i.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),Li=Object(i.useMemo)(function(){if(sr)return[In,[]];var Ni=Object(dr.a)(In,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[In,sr,ri,xi]),Un=h()(Li,2),Ri=Un[0],fa=Un[1],Ui=Object(i.useMemo)(function(){var Ni=zr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,zr]),Mi=Object(i.useMemo)(function(){return zr==="radio"?new Set:new Set(fa)},[fa,zr]),mi=Object(i.useState)(null),hi=h()(mi,2),qi=hi[0],va=hi[1];i.useEffect(function(){rr||Xn([])},[!!rr]);var Ea=Object(i.useCallback)(function(Ni){var $n,Ai;if(Wr){var Ii=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),Ii.set(Vi,Xi),Xi}),vn.current=Ii}else $n=[],Ai=[],Ni.forEach(function(Vi){var Xi=rn(Vi);Xi!==void 0&&($n.push(Vi),Ai.push(Xi))});Xn($n),jt&&jt($n,Ai)},[Xn,rn,jt,Wr]),ya=Object(i.useCallback)(function(Ni,$n,Ai,Ii){if(Jt){var Vi=Ai.map(function(Xi){return rn(Xi)});Jt(rn(Ni),$n,Vi,Ii)}Ea(Ai)},[Jt,rn,Ea]),oa=Object(i.useMemo)(function(){if(!Jr||St)return null;var Ni=Jr===!0?[ft,Ht]:Jr;return Ni.map(function($n){return $n===ft?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(Ii,Vi){return fn(Ii,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Ii=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);Ii.has(Aa)?Ii.delete(Aa):Ii.add(Aa)});var Vi=Array.from(Ii);Ea(Vi),Or&&(Object(Tt.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Vi))}}:$n})},[Jr,Ui,Dr,fn,Or,Ea]),sa=Object(i.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(zi){return!yi.get(zi).disabled}),Ii=Ai.every(function(zi){return $n.has(zi)}),Vi=Ai.some(function(zi){return $n.has(zi)}),Xi=function(){var ba=[];Ii?Ai.forEach(function(wa){$n.delete(wa),ba.push(wa)}):Ai.forEach(function(wa){$n.has(wa)||($n.add(wa),ba.push(wa))});var Ua=Array.from($n);Ea(Ua),nr&&nr(!Ii,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(zr!=="radio"){var Aa;if(oa){var ca=i.createElement(pt.a,{getPopupContainer:Mn},oa.map(function(zi,ba){var Ua=zi.key,wa=zi.text,vi=zi.onSelect;return i.createElement(pt.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=i.createElement("div",{className:"".concat(br,"-selection-extra")},i.createElement(ut.a,{overlay:ca,getPopupContainer:Mn},i.createElement("span",null,i.createElement(Qt.a,null))))}var la=Di.every(function(zi,ba){var Ua=fn(zi,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!St&&i.createElement("div",{className:"".concat(br,"-selection")},i.createElement(xt.a,{checked:!la&&!!Di.length&&Ii,indeterminate:!Ii&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;zr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ya=$n.has(vi);return{node:i.createElement(It.a,a()({},yi.get(vi),{checked:Ya,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){$n.has(vi)||ya(vi,!0,[vi],pa.nativeEvent)}})),checked:Ya}}:gi=function(ba,Ua,wa){var vi,Ya=fn(Ua,wa),Ka=$n.has(Ya),pa=Mi.has(Ya),Oi=yi.get(Ya),So;return wn==="nest"?(So=pa,Object(Tt.a)(!(typeof(Oi==null?void 0:Oi.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Oi==null?void 0:Oi.indeterminate)!==null&&vi!==void 0?vi:pa,{node:i.createElement(xt.a,a()({},Oi,{indeterminate:So,checked:Ka,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var Lo=new Set([qi,Ya]);Ai.some(function(ki,Ra){if(Lo.has(ki))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var Ia=Ai.slice(Ca,to+1),Fi=[];Ka?Ia.forEach(function(ki){$n.has(ki)&&(Fi.push(ki),$n.delete(ki))}):Ia.forEach(function(ki){$n.has(ki)||(Fi.push(ki),$n.add(ki))});var Ja=Array.from($n);Ea(Ja),wr&&wr(!Ka,Ja.map(function(ki){return rn(ki)}),Fi.map(function(ki){return rn(ki)}))}else{var Da=Ri;if(sr){var pi=Ka?Object(er.b)(Da,Ya):Object(er.a)(Da,Ya);ya(Ya,!Ka,pi,qa)}else{var Gi=Object(dr.a)([].concat(Kt()(Da),[Ya]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(Ka){var Ta=new Set(oo);Ta.delete(Ya),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ya,!Ka,fo,qa)}}va(Ya)}})),checked:Ka}};var Pa=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ya=vi.node,Ka=vi.checked;return an?an(Ka,Ua,wa,Ya):Ya},Ma=m()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Pa},Ue,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Yi=ra[0],Xa=ra.slice(1),Ki=Zr||Ft(Xa[0]);return Ki&&(Yi.fixed=Ki),[Yi,a()(a()({},Ma),{fixed:Ki})].concat(Kt()(Xa))}return[a()(a()({},Ma),{fixed:Zr||Ft(Ni[0])})].concat(Kt()(Ni))},[fn,Di,rr,Ri,Ui,Mi,Er,oa,wn,qi,yi,wr,ya,xi]);return[sa,Ui]}var mr=e("6SEX"),Ar=e.n(mr),Nr=e("i8CU"),Fr=e.n(Nr),tn=e("3S7+");function qr(rr,Tr){return"key"in rr&&rr.key!==void 0&&rr.key!==null?rr.key:rr.dataIndex?Array.isArray(rr.dataIndex)?rr.dataIndex.join("."):rr.dataIndex:Tr}function Lr(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var _r="ascend",ur="descend";function pr(rr){return f()(rr.sorter)==="object"&&typeof rr.sorter.multiple=="number"?rr.sorter.multiple:!1}function cr(rr){return typeof rr=="function"?rr:rr&&f()(rr)==="object"&&rr.compare?rr.compare:!1}function fr(rr,Tr){return Tr?rr[rr.indexOf(Tr)+1]:rr[0]}function xr(rr,Tr,Pr){var Wr=[];function hn(rt,jt){Wr.push({column:rt,key:qr(rt,jt),multiplePriority:pr(rt),sortOrder:rt.sortOrder})}return(rr||[]).forEach(function(rt,jt){var Jt=Lr(jt,Pr);rt.children?("sortOrder"in rt&&hn(rt,Jt),Wr=[].concat(Kt()(Wr),Kt()(xr(rt.children,Tr,Jt)))):rt.sorter&&("sortOrder"in rt?hn(rt,Jt):Tr&&rt.defaultSortOrder&&Wr.push({column:rt,key:qr(rt,Jt),multiplePriority:pr(rt),sortOrder:rt.defaultSortOrder}))}),Wr}function Yr(rr,Tr,Pr,Wr,hn,rt,jt,Jt){return(Tr||[]).map(function(nr,Or){var wr=Lr(Or,Jt),Er=nr;if(Er.sorter){var zr=Er.sortDirections||hn,Jr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Zr=qr(Er,wr),an=Pr.find(function(Hn){var Sn=Hn.key;return Sn===Zr}),St=an?an.sortOrder:null,Vt=fr(zr,St),sr=zr.includes(_r)&&i.createElement(Fr.a,{className:o()("".concat(rr,"-column-sorter-up"),{active:St===_r})}),br=zr.includes(ur)&&i.createElement(Ar.a,{className:o()("".concat(rr,"-column-sorter-down"),{active:St===ur})}),Mr=rt||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===ur?wn=fn:Vt===_r&&(wn=rn),Er=a()(a()({},Er),{className:o()(Er.className,m()({},"".concat(rr,"-column-sort"),St)),title:function(Sn){var bn=i.createElement("div",{className:"".concat(rr,"-column-sorters")},i.createElement("span",null,Qr(nr.title,Sn)),i.createElement("span",{className:o()("".concat(rr,"-column-sorter"),m()({},"".concat(rr,"-column-sorter-full"),sr&&br))},i.createElement("span",{className:"".concat(rr,"-column-sorter-inner")},sr,br)));return Jr?i.createElement(tn.a,{title:wn},i.createElement("div",{className:"".concat(rr,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=nr.onHeaderCell&&nr.onHeaderCell(Sn)||{},Mn=bn.onClick;return bn.onClick=function(vn){Wr({column:nr,key:Zr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=o()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=a()(a()({},Er),{children:Yr(rr,Er.children,Pr,Wr,hn,rt,jt,wr)})),Er})}function un(rr){var Tr=rr.column,Pr=rr.sortOrder;return{column:Tr,order:Pr,field:Tr.dataIndex,columnKey:Tr.key}}function Nn(rr){var Tr=rr.filter(function(Pr){var Wr=Pr.sortOrder;return Wr}).map(un);return Tr.length===0&&rr.length?a()(a()({},un(rr[rr.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function jr(rr,Tr,Pr){var Wr=Tr.slice().sort(function(jt,Jt){return Jt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),rt=Wr.filter(function(jt){var Jt=jt.column.sorter,nr=jt.sortOrder;return cr(Jt)&&nr});return rt.length?hn.sort(function(jt,Jt){for(var nr=0;nr<rt.length;nr+=1){var Or=rt[nr],wr=Or.column.sorter,Er=Or.sortOrder,zr=cr(wr);if(zr&&Er){var Jr=zr(jt,Jt,Er);if(Jr!==0)return Er===_r?Jr:-Jr}}return 0}).map(function(jt){var Jt=jt[Pr];return Jt?a()(a()({},jt),m()({},Pr,jr(Jt,Tr,Pr))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Pr=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,rt=rr.tableLocale,jt=rr.showSorterTooltip,Jt=i.useState(xr(Pr,!0)),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var St=!0,Vt=xr(Pr,!1);if(!Vt.length)return Or;var sr=[];function br(Dr){St?sr.push(Dr):sr.push(a()(a()({},Dr),{sortOrder:null}))}var Mr=null;return Vt.forEach(function(Dr){Mr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?St=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(St=!1),br(Dr))}),sr},[Pr,Or]),zr=i.useMemo(function(){var St=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:St,sortColumn:St[0]&&St[0].column,sortOrder:St[0]&&St[0].order}},[Er]);function Jr(St){var Vt;St.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[St]:Vt=[].concat(Kt()(Er.filter(function(sr){var br=sr.key;return br!==St.key})),[St]),wr(Vt),Wr(Nn(Vt),Vt)}var Zr=function(Vt){return Yr(Tr,Vt,Er,Jr,hn,rt,jt)},an=function(){return Nn(Er)};return[Zr,Er,zr,an]}var gn=e("Y+p1"),Pn=e.n(gn),zn=e("5Uyt"),qn=e.n(zn),Yn=e("2/Rp"),Vn=e("ECub"),An=function(Tr){return i.createElement("div",{className:Tr.className,onClick:function(Wr){return Wr.stopPropagation()}},Tr.children)},on=An,ia=e("sPtV"),xa=pt.a.SubMenu,ta=pt.a.Item;function _i(rr){return rr.some(function(Tr){var Pr=Tr.children;return Pr})}function Ci(rr){var Tr=rr.filters,Pr=rr.prefixCls,Wr=rr.filteredKeys,hn=rr.filterMultiple,rt=rr.locale;return Tr.length===0?i.createElement(i.Fragment,null,i.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:rt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Jt){var nr=String(jt.value);if(jt.children)return i.createElement(xa,{key:nr||Jt,title:jt.text,popupClassName:"".concat(Pr,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Pr,filteredKeys:Wr,filterMultiple:hn,locale:rt}));var Or=hn?xt.a:It.a;return i.createElement(ta,{key:jt.value!==void 0?nr:Jt},i.createElement(Or,{checked:Wr.includes(nr)}),i.createElement("span",null,jt.text))})}function Gn(rr){var Tr,Pr=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,rt=rr.columnKey,jt=rr.filterMultiple,Jt=rr.filterState,nr=rr.triggerFilter,Or=rr.locale,wr=rr.children,Er=rr.getPopupContainer,zr=Wr.filterDropdownVisible,Jr=Wr.onFilterDropdownVisibleChange,Zr=i.useState(!1),an=h()(Zr,2),St=an[0],Vt=an[1],sr=!!(Jt&&(((Tr=Jt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Jt.forceFiltered)),br=function(hi){Vt(hi),Jr&&Jr(hi)},Mr=typeof zr=="boolean"?zr:St,Dr=Jt&&Jt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=h()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var qi=hi.selectedKeys;Hn(qi)};i.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=i.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=i.useRef(),In=function(hi){En.current=window.setTimeout(function(){Rn(hi)})},Xn=function(){window.clearTimeout(En.current)};i.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){br(!1);var qi=hi&&hi.length?hi:null;if(qi===null&&(!Jt||!Jt.filteredKeys))return null;if(Pn()(qi,Jt==null?void 0:Jt.filteredKeys))return null;nr({column:Wr,key:rt,filteredKeys:qi})},ri=function(){ai(wn())},Di=function(){Hn([]),ai([])},yi=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),br(hi),!hi&&!Wr.filterDropdown&&ri()},xi=o()(m()({},"".concat(hn,"-menu-without-submenu"),!_i(Wr.filters||[]))),Li;if(typeof Wr.filterDropdown=="function")Li=Wr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Di,filters:Wr.filters,visible:Mr});else if(Wr.filterDropdown)Li=Wr.filterDropdown;else{var Un=wn()||[];Li=i.createElement(i.Fragment,null,i.createElement(pt.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:In},Ci({filters:Wr.filters||[],prefixCls:Pr,filteredKeys:wn(),filterMultiple:jt,locale:Or})),i.createElement("div",{className:"".concat(Pr,"-dropdown-btns")},i.createElement(Yn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},Or.filterReset),i.createElement(Yn.a,{type:"primary",size:"small",onClick:ri},Or.filterConfirm)))}var Ri=i.createElement(on,{className:"".concat(Pr,"-dropdown")},Li),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=i.createElement(qn.a,null);var Ui=i.useContext(J.b),Mi=Ui.direction;return i.createElement("div",{className:o()("".concat(Pr,"-column"))},i.createElement("span",{className:"".concat(Pr,"-column-title")},wr),i.createElement("span",{className:o()("".concat(Pr,"-trigger-container"),m()({},"".concat(Pr,"-trigger-container-open"),Mr)),onClick:function(hi){hi.stopPropagation()}},i.createElement(ut.a,{overlay:Ri,trigger:["click"],visible:Mr,onVisibleChange:yi,getPopupContainer:Er,placement:Mi==="rtl"?"bottomLeft":"bottomRight"},i.createElement("span",{role:"button",tabIndex:-1,className:o()("".concat(Pr,"-trigger"),{active:sr})},fa))))}var Oa=Gn;function mn(rr,Tr,Pr){var Wr=[];return(rr||[]).forEach(function(hn,rt){var jt=Lr(rt,Pr);"children"in hn?Wr=[].concat(Kt()(Wr),Kt()(mn(hn.children,Tr,jt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Wr.push({column:hn,key:qr(hn,jt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Wr.push({column:hn,key:qr(hn,jt),filteredKeys:Tr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Wr}function On(rr,Tr,Pr,Wr,hn,rt,jt,Jt){return Pr.map(function(nr,Or){var wr=Lr(Or,Jt),Er=nr.filterMultiple,zr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Jr=qr(nr,wr),Zr=Wr.find(function(an){var St=an.key;return Jr===St});return a()(a()({},nr),{title:function(St){return i.createElement(Oa,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Jr,filterState:Zr,filterMultiple:zr,triggerFilter:hn,locale:jt,getPopupContainer:rt},Qr(nr.title,St))}})}return"children"in nr?a()(a()({},nr),{children:On(rr,Tr,nr.children,Wr,hn,rt,jt,wr)}):nr})}function Ln(rr){var Tr={};return rr.forEach(function(Pr){var Wr=Pr.key,hn=Pr.filteredKeys;Tr[Wr]=hn||null}),Tr}function _n(rr){var Tr=[];return(rr||[]).forEach(function(Pr){var Wr=Pr.value,hn=Pr.children;Tr.push(Wr),hn&&(Tr=[].concat(Kt()(Tr),Kt()(_n(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Pr,Wr){var hn=Wr.column,rt=hn.onFilter,jt=hn.filters,Jt=Wr.filteredKeys;return rt&&Jt&&Jt.length?Pr.filter(function(nr){return Jt.some(function(Or){var wr=_n(jt),Er=wr.findIndex(function(Jr){return String(Jr)===String(Or)}),zr=Er!==-1?wr[Er]:Or;return rt(zr,nr)})}):Pr},rr)}function ni(rr){var Tr=rr.prefixCls,Pr=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,rt=rr.getPopupContainer,jt=rr.locale,Jt=i.useState(mn(Wr,!0)),nr=h()(Jt,2),Or=nr[0],wr=nr[1],Er=i.useMemo(function(){var an=mn(Wr,!1);return an.every(function(St){var Vt=St.filteredKeys;return Vt===void 0})?Or:an},[Wr,Or]),zr=i.useCallback(function(){return Ln(Er)},[Er]),Jr=function(St){var Vt=Er.filter(function(sr){var br=sr.key;return br!==St.key});Vt.push(St),wr(Vt),hn(Ln(Vt),Vt)},Zr=function(St){return On(Tr,Pr,St,Er,Jr,rt,jt)};return[Zr,Er,zr]}var di=ni;function Na(rr,Tr){return rr.map(function(Pr){var Wr=a()({},Pr);return Wr.title=Qr(Pr.title,Tr),"children"in Wr&&(Wr.children=Na(Wr.children,Tr)),Wr})}function Qi(rr){var Tr=i.useCallback(function(Pr){return Na(Pr,rr)},[rr]);return[Tr]}function ma(rr){return function(Pr){var Wr,hn=Pr.prefixCls,rt=Pr.onExpand,jt=Pr.record,Jt=Pr.expanded,nr=Pr.expandable,Or="".concat(hn,"-row-expand-icon");return i.createElement("button",{type:"button",onClick:function(Er){rt(jt,Er),Er.stopPropagation()},className:o()(Or,(Wr={},m()(Wr,"".concat(Or,"-spaced"),!nr),m()(Wr,"".concat(Or,"-expanded"),nr&&Jt),m()(Wr,"".concat(Or,"-collapsed"),nr&&!Jt),Wr)),"aria-label":Jt?rr.collapse:rr.expand})}}var Ba=ma,Qa=e("zAh6"),Wi=e("ZvpZ"),Co=Wi.a,aa=e("3Nzz");function Hi(rr){return null}var ga=Hi;function ha(rr){return null}var mo=ha,kn=e("5OYt"),$i=[];function eo(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.style,rt=rr.size,jt=rr.bordered,Jt=rr.dropdownPrefixCls,nr=rr.dataSource,Or=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,zr=rr.rowClassName,Jr=rr.columns,Zr=rr.children,an=rr.childrenColumnName,St=rr.onChange,Vt=rr.getPopupContainer,sr=rr.loading,br=rr.expandIcon,Mr=rr.expandable,Dr=rr.expandedRowRender,rn=rr.expandIconColumnIndex,fn=rr.indentSize,wn=rr.scroll,Hn=rr.sortDirections,Sn=rr.locale,bn=rr.showSorterTooltip,Mn=bn===void 0?!0:bn;Object(Tt.a)(!(typeof Er=="function"&&Er.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(kn.a)(),Rn=i.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(ki){return vn[ki]}));return(Jr||Be(Zr)).filter(function(ki){return!ki.responsive||ki.responsive.some(function(Ra){return Ta.has(Ra)})})},[Zr,Jr,vn]),En=Object(d.default)(rr,["className","style","columns"]),In=i.useContext(aa.b),Xn=i.useContext(J.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=rt||In,Li=a()(a()({},ri.Table),Sn),Un=nr||$i,Ri=i.useContext(J.b),fa=Ri.getPrefixCls,Ui=fa("table",Pr),Mi=fa("dropdown",Jt),mi=a()({childrenColumnName:an,expandIconColumnIndex:rn},Mr),hi=mi.childrenColumnName,qi=hi===void 0?"children":hi,va=i.useMemo(function(){return Un.some(function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[qi]})?"nest":Dr||Mr&&Mr.expandedRowRender?"row":null},[Un]),Ea={body:i.useRef()},ya=i.useMemo(function(){return typeof Er=="function"?Er:function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[Er]}},[Er]),oa=vt(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(ki,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=a()(a()({},$n),ki);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),St&&St(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},Ii=function(ki,Ra){Ai({sorter:ki,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:Ii,sortDirections:Hn||["ascend","descend"],tableLocale:Li,showSorterTooltip:Mn}),Xi=h()(Vi,4),bi=Xi[0],Aa=Xi[1],ca=Xi[2],la=Xi[3],gi=i.useMemo(function(){return jr(Un,Aa,qi)},[Un,Aa]);$n.sorter=la(),$n.sorterStates=Aa;var Pa=function(ki,Ra){Ai({filters:ki,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:Li,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Pa,getPopupContainer:Vt}),ra=h()(Ma,3),Yi=ra[0],Xa=ra[1],Ki=ra[2],zi=jn(gi,Xa);$n.filters=Ki(),$n.filterStates=Xa;var ba=i.useMemo(function(){return a()({},ca)},[ca]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ya=function(ki,Ra){Ai({pagination:a()(a()({},$n.pagination),{current:ki,pageSize:Ra})},"paginate")},Ka=$e(zi.length,Or,Ya),pa=h()(Ka,2),Oi=pa[0],So=pa[1];$n.pagination=Or===!1?{}:De(Or,Oi),$n.resetPagination=So;var za=i.useMemo(function(){if(Or===!1||!Oi.pageSize)return zi;var Ta=Oi.current,ki=Ta===void 0?1:Ta,Ra=Oi.total,Vo=Oi.pageSize,ro=Vo===void 0?xe:Vo;return zi.length<Ra?zi.length>ro?(Object(Tt.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),zi.slice((ki-1)*ro,ki*ro)):zi:zi.slice((ki-1)*ro,ki*ro)},[!!Or,zi,Oi&&Oi.current,Oi&&Oi.pageSize,Oi&&Oi.total]),ja=Xt(wr,{prefixCls:Ui,data:zi,pageData:za,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:Li,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(ki,Ra,Vo){var ro;return typeof zr=="function"?ro=o()(zr(ki,Ra,Vo)):ro=o()(zr),o()(m()({},"".concat(Ui,"-row-selected"),Ca.has(ya(ki,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Ba(Li),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=wr?1:0:mi.expandIconColumnIndex>0&&wr&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var Lo=i.useCallback(function(Ta){return vi(ho(Yi(bi(Ta))))},[bi,Yi,ho]),Ia,Fi;if(Or!==!1){var Ja;Oi.size?Ja=Oi.size:Ja=xi==="small"||xi==="middle"?"small":void 0;var Da=function(ki){return i.createElement(pe.a,a()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(ki)},Oi,{size:Ja}))},pi=yi==="rtl"?"left":"right";if(Oi.position!==null&&Array.isArray(Oi.position)){var Gi=Oi.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=Oi.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Gi&&!oo?Fi=Da(pi):(Gi&&(Ia=Da(Gi.toLowerCase().replace("top",""))),oo&&(Fi=Da(oo.toLowerCase().replace("bottom",""))))}else Fi=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=a()({spinning:!0},sr));var fo=o()("".concat(Ui,"-wrapper"),Wr,m()({},"".concat(Ui,"-wrapper-rtl"),yi==="rtl"));return i.createElement("div",{className:fo,style:hn},i.createElement(ae.a,a()({spinning:!1},go),Ia,i.createElement(Ot,a()({},En,{columns:Rn,direction:yi,expandable:mi,prefixCls:Ui,className:o()((Tr={},m()(Tr,"".concat(Ui,"-middle"),xi==="middle"),m()(Tr,"".concat(Ui,"-small"),xi==="small"),m()(Tr,"".concat(Ui,"-bordered"),jt),m()(Tr,"".concat(Ui,"-empty"),Un.length===0),Tr)),data:za,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:Ye,internalRefs:Ea,transformColumns:Lo})),zi&&zi.length>0&&Fi))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=ft,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=_t;var To=eo,uo=_.a=To},wDdD:function(D,_,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var y=e("d4KN"),m=e("mOdp"),v=e("KS52"),h=e("0/Rx");y("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),g.registerVisual(m("pie")),g.registerLayout(f.curry(v,"pie")),g.registerProcessor(h("pie"))},"wF/u":function(D,_,e){var g=e("e5cp"),f=e("ExA7");function y(m,v,h,c,a){return m===v?!0:m==null||v==null||!f(m)&&!f(v)?m!==m&&v!==v:g(m,v,h,c,y,a)}D.exports=y},wJg7:function(D,_){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(y,m){var v=typeof y;return m=m==null?e:m,!!m&&(v=="number"||v!="symbol"&&g.test(y))&&(y>-1&&y%1==0)&&y<m}D.exports=f},wOnQ:function(D,_,e){/*!
|
|
|
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(g,f){D.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
|
and limitations under the License.
|
|
|
***************************************************************************** */var g=function(te,ke){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,Lt){Ze.__proto__=Lt}||function(Ze,Lt){for(var tr in Lt)Lt.hasOwnProperty(tr)&&(Ze[tr]=Lt[tr])},g(te,ke)};function f(Je,te){g(Je,te);function ke(){this.constructor=Je}Je.prototype=te===null?Object.create(te):(ke.prototype=te.prototype,new ke)}var y=function(){return y=Object.assign||function(ke){for(var Ze,Lt=1,tr=arguments.length;Lt<tr;Lt++){Ze=arguments[Lt];for(var vr in Ze)Object.prototype.hasOwnProperty.call(Ze,vr)&&(ke[vr]=Ze[vr])}return ke},y.apply(this,arguments)};function m(Je,te,ke,Ze){return new(ke||(ke=Promise))(function(Lt,tr){function vr(Kr){try{Hr(Ze.next(Kr))}catch(cn){tr(cn)}}function Ir(Kr){try{Hr(Ze.throw(Kr))}catch(cn){tr(cn)}}function Hr(Kr){Kr.done?Lt(Kr.value):new ke(function(cn){cn(Kr.value)}).then(vr,Ir)}Hr((Ze=Ze.apply(Je,te||[])).next())})}function v(Je,te){var ke={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},Ze,Lt,tr,vr;return vr={next:Ir(0),throw:Ir(1),return:Ir(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Ir(Kr){return function(cn){return Hr([Kr,cn])}}function Hr(Kr){if(Ze)throw new TypeError("Generator is already executing.");for(;ke;)try{if(Ze=1,Lt&&(tr=Kr[0]&2?Lt.return:Kr[0]?Lt.throw||((tr=Lt.return)&&tr.call(Lt),0):Lt.next)&&!(tr=tr.call(Lt,Kr[1])).done)return tr;(Lt=0,tr)&&(Kr=[Kr[0]&2,tr.value]);switch(Kr[0]){case 0:case 1:tr=Kr;break;case 4:return ke.label++,{value:Kr[1],done:!1};case 5:ke.label++,Lt=Kr[1],Kr=[0];continue;case 7:Kr=ke.ops.pop(),ke.trys.pop();continue;default:if(!(tr=ke.trys,tr=tr.length>0&&tr[tr.length-1])&&(Kr[0]===6||Kr[0]===2)){ke=0;continue}if(Kr[0]===3&&(!tr||Kr[1]>tr[0]&&Kr[1]<tr[3])){ke.label=Kr[1];break}if(Kr[0]===6&&ke.label<tr[1]){ke.label=tr[1],tr=Kr;break}if(tr&&ke.label<tr[2]){ke.label=tr[2],ke.ops.push(Kr);break}tr[2]&&ke.ops.pop(),ke.trys.pop();continue}Kr=te.call(Je,ke)}catch(cn){Kr=[6,cn],Lt=0}finally{Ze=tr=0}if(Kr[0]&5)throw Kr[1];return{value:Kr[0]?Kr[1]:void 0,done:!0}}}for(var h=function(){function Je(te,ke,Ze,Lt){this.left=te,this.top=ke,this.width=Ze,this.height=Lt}return Je.prototype.add=function(te,ke,Ze,Lt){return new Je(this.left+te,this.top+ke,this.width+Ze,this.height+Lt)},Je.fromClientRect=function(te){return new Je(te.left,te.top,te.width,te.height)},Je}(),c=function(te){return h.fromClientRect(te.getBoundingClientRect())},a=function(te){var ke=te.body,Ze=te.documentElement;if(!ke||!Ze)throw new Error("Unable to get document size");var Lt=Math.max(Math.max(ke.scrollWidth,Ze.scrollWidth),Math.max(ke.offsetWidth,Ze.offsetWidth),Math.max(ke.clientWidth,Ze.clientWidth)),tr=Math.max(Math.max(ke.scrollHeight,Ze.scrollHeight),Math.max(ke.offsetHeight,Ze.offsetHeight),Math.max(ke.clientHeight,Ze.clientHeight));return new h(0,0,Lt,tr)},i=function(te){for(var ke=[],Ze=0,Lt=te.length;Ze<Lt;){var tr=te.charCodeAt(Ze++);if(tr>=55296&&tr<=56319&&Ze<Lt){var vr=te.charCodeAt(Ze++);(vr&64512)===56320?ke.push(((tr&1023)<<10)+(vr&1023)+65536):(ke.push(tr),Ze--)}else ke.push(tr)}return ke},r=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];if(String.fromCodePoint)return String.fromCodePoint.apply(String,te);var Ze=te.length;if(!Ze)return"";for(var Lt=[],tr=-1,vr="";++tr<Ze;){var Ir=te[tr];Ir<=65535?Lt.push(Ir):(Ir-=65536,Lt.push((Ir>>10)+55296,Ir%1024+56320)),(tr+1===Ze||Lt.length>16384)&&(vr+=String.fromCharCode.apply(String,Lt),Lt.length=0)}return vr},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<o.length;n++)d[o.charCodeAt(n)]=n;var l=function(te){var ke=te.length*.75,Ze=te.length,Lt,tr=0,vr,Ir,Hr,Kr;te[te.length-1]==="="&&(ke--,te[te.length-2]==="="&&ke--);var cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ke):new Array(ke),sn=Array.isArray(cn)?cn:new Uint8Array(cn);for(Lt=0;Lt<Ze;Lt+=4)vr=d[te.charCodeAt(Lt)],Ir=d[te.charCodeAt(Lt+1)],Hr=d[te.charCodeAt(Lt+2)],Kr=d[te.charCodeAt(Lt+3)],sn[tr++]=vr<<2|Ir>>4,sn[tr++]=(Ir&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|Kr&63;return cn},t=function(te){for(var ke=te.length,Ze=[],Lt=0;Lt<ke;Lt+=2)Ze.push(te[Lt+1]<<8|te[Lt]);return Ze},s=function(te){for(var ke=te.length,Ze=[],Lt=0;Lt<ke;Lt+=4)Ze.push(te[Lt+3]<<24|te[Lt+2]<<16|te[Lt+1]<<8|te[Lt]);return Ze},u=5,p=6+5,w=2,b=p-u,E=65536>>u,A=1<<u,S=A-1,T=1024>>u,L=E+T,x=L,C=2048>>6,O=x+C,N=65536>>p,F=1<<b,k=F-1,P=function(te,ke,Ze){return te.slice?te.slice(ke,Ze):new Uint16Array(Array.prototype.slice.call(te,ke,Ze))},B=function(te,ke,Ze){return te.slice?te.slice(ke,Ze):new Uint32Array(Array.prototype.slice.call(te,ke,Ze))},z=function(te){var ke=l(te),Ze=Array.isArray(ke)?s(ke):new Uint32Array(ke),Lt=Array.isArray(ke)?t(ke):new Uint16Array(ke),tr=24,vr=P(Lt,tr/2,Ze[4]/2),Ir=Ze[5]===2?P(Lt,(tr+Ze[4])/2):B(Ze,Math.ceil((tr+Ze[4])/4));return new R(Ze[0],Ze[1],Ze[2],Ze[3],vr,Ir)},R=function(){function Je(te,ke,Ze,Lt,tr,vr){this.initialValue=te,this.errorValue=ke,this.highStart=Ze,this.highValueIndex=Lt,this.index=tr,this.data=vr}return Je.prototype.get=function(te){var ke;if(te>=0){if(te<55296||te>56319&&te<=65535)return ke=this.index[te>>u],ke=(ke<<w)+(te&S),this.data[ke];if(te<=65535)return ke=this.index[E+(te-55296>>u)],ke=(ke<<w)+(te&S),this.data[ke];if(te<this.highStart)return ke=O-N+(te>>p),ke=this.index[ke],ke+=te>>u&k,ke=this.index[ke],ke=(ke<<w)+(te&S),this.data[ke];if(te<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Je}(),U="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",j=50,H=1,V=2,X=3,W=4,G=5,$=7,ge=8,q=9,Se=10,Ce=11,Ae=12,Ue=13,Qe=14,gt=15,_e=16,Oe=17,lt=18,ce=19,Y=20,K=21,Q=22,ye=23,ue=24,Ne=25,Te=26,oe=27,de=28,Le=29,Ge=30,ht=31,Et=32,Be=33,Dt=34,Ke=35,At=36,Xe=37,et=38,tt=39,ot=40,Ve=41,se=42,re=43,it="!",qe="\xD7",be="\xF7",Zt=z(U),dt=[Ge,At],ct=[H,V,X,G],yt=[Se,ge],_t=[oe,Te],or=ct.concat(yt),Bt=[et,tt,ot,Dt,Ke],we=[gt,Ue],ve=function(te,ke){ke===void 0&&(ke="strict");var Ze=[],Lt=[],tr=[];return te.forEach(function(vr,Ir){var Hr=Zt.get(vr);if(Hr>j?(tr.push(!0),Hr-=j):tr.push(!1),["normal","auto","loose"].indexOf(ke)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Lt.push(Ir),Ze.push(_e);if(Hr===W||Hr===Ce){if(Ir===0)return Lt.push(Ir),Ze.push(Ge);var Kr=Ze[Ir-1];return or.indexOf(Kr)===-1?(Lt.push(Lt[Ir-1]),Ze.push(Kr)):(Lt.push(Ir),Ze.push(Ge))}if(Lt.push(Ir),Hr===ht)return Ze.push(ke==="strict"?K:Xe);if(Hr===se)return Ze.push(Ge);if(Hr===Le)return Ze.push(Ge);if(Hr===re)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?Ze.push(Xe):Ze.push(Ge);Ze.push(Hr)}),[Lt,Ze,tr]},me=function(te,ke,Ze,Lt){var tr=Lt[Ze];if(Array.isArray(te)?te.indexOf(tr)!==-1:te===tr)for(var vr=Ze;vr<=Lt.length;){vr++;var Ir=Lt[vr];if(Ir===ke)return!0;if(Ir!==Se)break}if(tr===Se)for(var vr=Ze;vr>0;){vr--;var Hr=Lt[vr];if(Array.isArray(te)?te.indexOf(Hr)!==-1:te===Hr)for(var Kr=Ze;Kr<=Lt.length;){Kr++;var Ir=Lt[Kr];if(Ir===ke)return!0;if(Ir!==Se)break}if(Hr!==Se)break}return!1},he=function(te,ke){for(var Ze=te;Ze>=0;){var Lt=ke[Ze];if(Lt===Se)Ze--;else return Lt}return 0},Re=function(te,ke,Ze,Lt,tr){if(Ze[Lt]===0)return qe;var vr=Lt-1;if(Array.isArray(tr)&&tr[vr]===!0)return qe;var Ir=vr-1,Hr=vr+1,Kr=ke[vr],cn=Ir>=0?ke[Ir]:0,sn=ke[Hr];if(Kr===V&&sn===X)return qe;if(ct.indexOf(Kr)!==-1)return it;if(ct.indexOf(sn)!==-1)return qe;if(yt.indexOf(sn)!==-1)return qe;if(he(vr,ke)===ge)return be;if(Zt.get(te[vr])===Ce&&(sn===Xe||sn===Et||sn===Be))return qe;if(Kr===$||sn===$)return qe;if(Kr===q)return qe;if([Se,Ue,gt].indexOf(Kr)===-1&&sn===q)return qe;if([Oe,lt,ce,ue,de].indexOf(sn)!==-1)return qe;if(he(vr,ke)===Q)return qe;if(me(ye,Q,vr,ke))return qe;if(me([Oe,lt],K,vr,ke))return qe;if(me(Ae,Ae,vr,ke))return qe;if(Kr===Se)return be;if(Kr===ye||sn===ye)return qe;if(sn===_e||Kr===_e)return be;if([Ue,gt,K].indexOf(sn)!==-1||Kr===Qe)return qe;if(cn===At&&we.indexOf(Kr)!==-1)return qe;if(Kr===de&&sn===At)return qe;if(sn===Y&&dt.concat(Y,ce,Ne,Xe,Et,Be).indexOf(Kr)!==-1)return qe;if(dt.indexOf(sn)!==-1&&Kr===Ne||dt.indexOf(Kr)!==-1&&sn===Ne)return qe;if(Kr===oe&&[Xe,Et,Be].indexOf(sn)!==-1||[Xe,Et,Be].indexOf(Kr)!==-1&&sn===Te)return qe;if(dt.indexOf(Kr)!==-1&&_t.indexOf(sn)!==-1||_t.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return qe;if([oe,Te].indexOf(Kr)!==-1&&(sn===Ne||[Q,gt].indexOf(sn)!==-1&&ke[Hr+1]===Ne)||[Q,gt].indexOf(Kr)!==-1&&sn===Ne||Kr===Ne&&[Ne,de,ue].indexOf(sn)!==-1)return qe;if([Ne,de,ue,Oe,lt].indexOf(sn)!==-1)for(var Fn=vr;Fn>=0;){var si=ke[Fn];if(si===Ne)return qe;if([de,ue].indexOf(si)!==-1)Fn--;else break}if([oe,Te].indexOf(sn)!==-1)for(var Fn=[Oe,lt].indexOf(Kr)!==-1?Ir:vr;Fn>=0;){var si=ke[Fn];if(si===Ne)return qe;if([de,ue].indexOf(si)!==-1)Fn--;else break}if(et===Kr&&[et,tt,Dt,Ke].indexOf(sn)!==-1||[tt,Dt].indexOf(Kr)!==-1&&[tt,ot].indexOf(sn)!==-1||[ot,Ke].indexOf(Kr)!==-1&&sn===ot)return qe;if(Bt.indexOf(Kr)!==-1&&[Y,Te].indexOf(sn)!==-1||Bt.indexOf(sn)!==-1&&Kr===oe)return qe;if(dt.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return qe;if(Kr===ue&&dt.indexOf(sn)!==-1)return qe;if(dt.concat(Ne).indexOf(Kr)!==-1&&sn===Q||dt.concat(Ne).indexOf(sn)!==-1&&Kr===lt)return qe;if(Kr===Ve&&sn===Ve){for(var Kn=Ze[vr],fi=1;Kn>0&&(Kn--,ke[Kn]===Ve);)fi++;if(fi%2!==0)return qe}return Kr===Et&&sn===Be?qe:be},He=function(te,ke){ke||(ke={lineBreak:"normal",wordBreak:"normal"});var Ze=ve(te,ke.lineBreak),Lt=Ze[0],tr=Ze[1],vr=Ze[2];(ke.wordBreak==="break-all"||ke.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[Ne,Ge,se].indexOf(Hr)!==-1?Xe:Hr}));var Ir=ke.wordBreak==="keep-all"?vr.map(function(Hr,Kr){return Hr&&te[Kr]>=19968&&te[Kr]<=40959}):void 0;return[Lt,tr,Ir]},ze=function(){function Je(te,ke,Ze,Lt){this.codePoints=te,this.required=ke===it,this.start=Ze,this.end=Lt}return Je.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},Je}(),Ye=function(te,ke){var Ze=i(te),Lt=He(Ze,ke),tr=Lt[0],vr=Lt[1],Ir=Lt[2],Hr=Ze.length,Kr=0,cn=0;return{next:function(){if(cn>=Hr)return{done:!0,value:null};for(var Fn=qe;cn<Hr&&(Fn=Re(Ze,vr,tr,++cn,Ir))===qe;);if(Fn!==qe||cn===Hr){var si=new ze(Ze,Fn,Kr,cn);return Kr=cn,{value:si,done:!1}}return{done:!0,value:null}}}},Pe;(function(Je){Je[Je.STRING_TOKEN=0]="STRING_TOKEN",Je[Je.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",Je[Je.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",Je[Je.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",Je[Je.COMMA_TOKEN=4]="COMMA_TOKEN",Je[Je.HASH_TOKEN=5]="HASH_TOKEN",Je[Je.DELIM_TOKEN=6]="DELIM_TOKEN",Je[Je.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",Je[Je.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",Je[Je.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",Je[Je.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",Je[Je.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",Je[Je.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",Je[Je.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",Je[Je.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",Je[Je.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",Je[Je.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",Je[Je.NUMBER_TOKEN=17]="NUMBER_TOKEN",Je[Je.FUNCTION=18]="FUNCTION",Je[Je.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",Je[Je.IDENT_TOKEN=20]="IDENT_TOKEN",Je[Je.COLUMN_TOKEN=21]="COLUMN_TOKEN",Je[Je.URL_TOKEN=22]="URL_TOKEN",Je[Je.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",Je[Je.CDC_TOKEN=24]="CDC_TOKEN",Je[Je.CDO_TOKEN=25]="CDO_TOKEN",Je[Je.COLON_TOKEN=26]="COLON_TOKEN",Je[Je.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",Je[Je.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",Je[Je.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",Je[Je.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",Je[Je.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",Je[Je.EOF_TOKEN=32]="EOF_TOKEN"})(Pe||(Pe={}));var nt=1<<0,bt=1<<1,Ot=1<<2,ae=1<<3,pe=10,J=47,ne=92,xe=9,De=32,Fe=34,$e=61,vt=35,Wt=36,$t=37,Rt=39,Kt=40,Gt=41,Qt=95,Mt=45,dr=33,er=60,st=62,xt=64,ut=91,pt=93,It=61,Tt=123,ft=63,Ht=125,Ft=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,Fr=44,tn=58,qr=59,Lr=46,Qr=0,_r=8,ur=11,pr=14,cr=31,fr=127,xr=-1,Yr=48,un=97,Nn=101,jr=102,Tn=117,gn=122,Pn=65,zn=69,qn=70,Yn=85,Vn=90,An=function(te){return te>=Yr&&te<=57},on=function(te){return te>=55296&&te<=57343},ia=function(te){return An(te)||te>=Pn&&te<=qn||te>=un&&te<=jr},xa=function(te){return te>=un&&te<=gn},ta=function(te){return te>=Pn&&te<=Vn},_i=function(te){return xa(te)||ta(te)},Ci=function(te){return te>=Xt},Gn=function(te){return te===pe||te===xe||te===De},Oa=function(te){return _i(te)||Ci(te)||te===Qt},mn=function(te){return Oa(te)||An(te)||te===Mt},On=function(te){return te>=Qr&&te<=_r||te===ur||te>=pr&&te<=cr||te===fr},Ln=function(te,ke){return te!==ne?!1:ke!==pe},_n=function(te,ke,Ze){return te===Mt?Oa(ke)||Ln(ke,Ze):Oa(te)?!0:!!(te===ne&&Ln(te,ke))},jn=function(te,ke,Ze){return te===Nr||te===Mt?An(ke)?!0:ke===Lr&&An(Ze):te===Lr?An(ke):An(te)},ni=function(te){var ke=0,Ze=1;(te[ke]===Nr||te[ke]===Mt)&&(te[ke]===Mt&&(Ze=-1),ke++);for(var Lt=[];An(te[ke]);)Lt.push(te[ke++]);var tr=Lt.length?parseInt(r.apply(void 0,Lt),10):0;te[ke]===Lr&&ke++;for(var vr=[];An(te[ke]);)vr.push(te[ke++]);var Ir=vr.length,Hr=Ir?parseInt(r.apply(void 0,vr),10):0;(te[ke]===zn||te[ke]===Nn)&&ke++;var Kr=1;(te[ke]===Nr||te[ke]===Mt)&&(te[ke]===Mt&&(Kr=-1),ke++);for(var cn=[];An(te[ke]);)cn.push(te[ke++]);var sn=cn.length?parseInt(r.apply(void 0,cn),10):0;return Ze*(tr+Hr*Math.pow(10,-Ir))*Math.pow(10,Kr*sn)},di={type:Pe.LEFT_PARENTHESIS_TOKEN},Na={type:Pe.RIGHT_PARENTHESIS_TOKEN},Qi={type:Pe.COMMA_TOKEN},ma={type:Pe.SUFFIX_MATCH_TOKEN},Ba={type:Pe.PREFIX_MATCH_TOKEN},Qa={type:Pe.COLUMN_TOKEN},Wi={type:Pe.DASH_MATCH_TOKEN},Co={type:Pe.INCLUDE_MATCH_TOKEN},aa={type:Pe.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Pe.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Pe.SUBSTRING_MATCH_TOKEN},ha={type:Pe.BAD_URL_TOKEN},mo={type:Pe.BAD_STRING_TOKEN},kn={type:Pe.CDO_TOKEN},$i={type:Pe.CDC_TOKEN},eo={type:Pe.COLON_TOKEN},To={type:Pe.SEMICOLON_TOKEN},uo={type:Pe.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Pe.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Pe.WHITESPACE_TOKEN},Pr={type:Pe.EOF_TOKEN},Wr=function(){function Je(){this._value=[]}return Je.prototype.write=function(te){this._value=this._value.concat(i(te))},Je.prototype.read=function(){for(var te=[],ke=this.consumeToken();ke!==Pr;)te.push(ke),ke=this.consumeToken();return te},Je.prototype.consumeToken=function(){var te=this.consumeCodePoint();switch(te){case Fe:return this.consumeStringToken(Fe);case vt:var ke=this.peekCodePoint(0),Ze=this.peekCodePoint(1),Lt=this.peekCodePoint(2);if(mn(ke)||Ln(Ze,Lt)){var tr=_n(ke,Ze,Lt)?bt:nt,vr=this.consumeName();return{type:Pe.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ma;break;case Rt:return this.consumeStringToken(Rt);case Kt:return di;case Gt:return Na;case Ar:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ga;break;case Nr:if(jn(te,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(te),this.consumeNumericToken();break;case Fr:return Qi;case Mt:var Ir=te,Hr=this.peekCodePoint(0),Kr=this.peekCodePoint(1);if(jn(Ir,Hr,Kr))return this.reconsumeCodePoint(te),this.consumeNumericToken();if(_n(Ir,Hr,Kr))return this.reconsumeCodePoint(te),this.consumeIdentLikeToken();if(Hr===Mt&&Kr===st)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case Lr:if(jn(te,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(te),this.consumeNumericToken();break;case J:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var cn=this.consumeCodePoint();if(cn===Ar&&(cn=this.consumeCodePoint(),cn===J))return this.consumeToken();if(cn===xr)return this.consumeToken()}break;case tn:return eo;case qr:return To;case er:if(this.peekCodePoint(0)===dr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),kn;break;case xt:var sn=this.peekCodePoint(0),Fn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(_n(sn,Fn,si)){var vr=this.consumeName();return{type:Pe.AT_KEYWORD_TOKEN,value:vr}}break;case ut:return uo;case ne:if(Ln(te,this.peekCodePoint(0)))return this.reconsumeCodePoint(te),this.consumeIdentLikeToken();break;case pt:return rr;case It:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Ba;break;case Tt:return aa;case Ht:return Hi;case Tn:case Yn:var Kn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return Kn===Nr&&(ia(fi)||fi===ft)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(te),this.consumeIdentLikeToken();case Ft:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===Ft)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Co;break;case xr:return Pr}return Gn(te)?(this.consumeWhiteSpace(),Tr):An(te)?(this.reconsumeCodePoint(te),this.consumeNumericToken()):Oa(te)?(this.reconsumeCodePoint(te),this.consumeIdentLikeToken()):{type:Pe.DELIM_TOKEN,value:r(te)}},Je.prototype.consumeCodePoint=function(){var te=this._value.shift();return typeof te=="undefined"?-1:te},Je.prototype.reconsumeCodePoint=function(te){this._value.unshift(te)},Je.prototype.peekCodePoint=function(te){return te>=this._value.length?-1:this._value[te]},Je.prototype.consumeUnicodeRangeToken=function(){for(var te=[],ke=this.consumeCodePoint();ia(ke)&&te.length<6;)te.push(ke),ke=this.consumeCodePoint();for(var Ze=!1;ke===ft&&te.length<6;)te.push(ke),ke=this.consumeCodePoint(),Ze=!0;if(Ze){var Lt=parseInt(r.apply(void 0,te.map(function(Hr){return Hr===ft?Yr:Hr})),16),tr=parseInt(r.apply(void 0,te.map(function(Hr){return Hr===ft?qn:Hr})),16);return{type:Pe.UNICODE_RANGE_TOKEN,start:Lt,end:tr}}var vr=parseInt(r.apply(void 0,te),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),ke=this.consumeCodePoint();for(var Ir=[];ia(ke)&&Ir.length<6;)Ir.push(ke),ke=this.consumeCodePoint();var tr=parseInt(r.apply(void 0,Ir),16);return{type:Pe.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Pe.UNICODE_RANGE_TOKEN,start:vr,end:vr}},Je.prototype.consumeIdentLikeToken=function(){var te=this.consumeName();return te.toLowerCase()==="url"&&this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:Pe.FUNCTION_TOKEN,value:te}):{type:Pe.IDENT_TOKEN,value:te}},Je.prototype.consumeUrlToken=function(){var te=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Pe.URL_TOKEN,value:""};var ke=this.peekCodePoint(0);if(ke===Rt||ke===Fe){var Ze=this.consumeStringToken(this.consumeCodePoint());return Ze.type===Pe.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt)?(this.consumeCodePoint(),{type:Pe.URL_TOKEN,value:Ze.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Lt=this.consumeCodePoint();if(Lt===xr||Lt===Gt)return{type:Pe.URL_TOKEN,value:r.apply(void 0,te)};if(Gn(Lt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt?(this.consumeCodePoint(),{type:Pe.URL_TOKEN,value:r.apply(void 0,te)}):(this.consumeBadUrlRemnants(),ha);if(Lt===Fe||Lt===Rt||Lt===Kt||On(Lt))return this.consumeBadUrlRemnants(),ha;if(Lt===ne)if(Ln(Lt,this.peekCodePoint(0)))te.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else te.push(Lt)}},Je.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},Je.prototype.consumeBadUrlRemnants=function(){for(;;){var te=this.consumeCodePoint();if(te===Gt||te===xr)return;Ln(te,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Je.prototype.consumeStringSlice=function(te){for(var ke=6e4,Ze="";te>0;){var Lt=Math.min(ke,te);Ze+=r.apply(void 0,this._value.splice(0,Lt)),te-=Lt}return this._value.shift(),Ze},Je.prototype.consumeStringToken=function(te){var ke="",Ze=0;do{var Lt=this._value[Ze];if(Lt===xr||Lt===void 0||Lt===te)return ke+=this.consumeStringSlice(Ze),{type:Pe.STRING_TOKEN,value:ke};if(Lt===pe)return this._value.splice(0,Ze),mo;if(Lt===ne){var tr=this._value[Ze+1];tr!==xr&&tr!==void 0&&(tr===pe?(ke+=this.consumeStringSlice(Ze),Ze=-1,this._value.shift()):Ln(Lt,tr)&&(ke+=this.consumeStringSlice(Ze),ke+=r(this.consumeEscapedCodePoint()),Ze=-1))}Ze++}while(!0)},Je.prototype.consumeNumber=function(){var te=[],ke=Ot,Ze=this.peekCodePoint(0);for((Ze===Nr||Ze===Mt)&&te.push(this.consumeCodePoint());An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());Ze=this.peekCodePoint(0);var Lt=this.peekCodePoint(1);if(Ze===Lr&&An(Lt))for(te.push(this.consumeCodePoint(),this.consumeCodePoint()),ke=ae;An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());Ze=this.peekCodePoint(0),Lt=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((Ze===zn||Ze===Nn)&&((Lt===Nr||Lt===Mt)&&An(tr)||An(Lt)))for(te.push(this.consumeCodePoint(),this.consumeCodePoint()),ke=ae;An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());return[ni(te),ke]},Je.prototype.consumeNumericToken=function(){var te=this.consumeNumber(),ke=te[0],Ze=te[1],Lt=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(_n(Lt,tr,vr)){var Ir=this.consumeName();return{type:Pe.DIMENSION_TOKEN,number:ke,flags:Ze,unit:Ir}}return Lt===$t?(this.consumeCodePoint(),{type:Pe.PERCENTAGE_TOKEN,number:ke,flags:Ze}):{type:Pe.NUMBER_TOKEN,number:ke,flags:Ze}},Je.prototype.consumeEscapedCodePoint=function(){var te=this.consumeCodePoint();if(ia(te)){for(var ke=r(te);ia(this.peekCodePoint(0))&&ke.length<6;)ke+=r(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var Ze=parseInt(ke,16);return Ze===0||on(Ze)||Ze>1114111?mr:Ze}return te===xr?mr:te},Je.prototype.consumeName=function(){for(var te="";;){var ke=this.consumeCodePoint();if(mn(ke))te+=r(ke);else if(Ln(ke,this.peekCodePoint(0)))te+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ke),te}},Je}(),hn=function(){function Je(te){this._tokens=te}return Je.create=function(te){var ke=new Wr;return ke.write(te),new Je(ke.read())},Je.parseValue=function(te){return Je.create(te).parseComponentValue()},Je.parseValues=function(te){return Je.create(te).parseComponentValues()},Je.prototype.parseComponentValue=function(){for(var te=this.consumeToken();te.type===Pe.WHITESPACE_TOKEN;)te=this.consumeToken();if(te.type===Pe.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(te);var ke=this.consumeComponentValue();do te=this.consumeToken();while(te.type===Pe.WHITESPACE_TOKEN);if(te.type===Pe.EOF_TOKEN)return ke;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Je.prototype.parseComponentValues=function(){for(var te=[];;){var ke=this.consumeComponentValue();if(ke.type===Pe.EOF_TOKEN)return te;te.push(ke),te.push()}},Je.prototype.consumeComponentValue=function(){var te=this.consumeToken();switch(te.type){case Pe.LEFT_CURLY_BRACKET_TOKEN:case Pe.LEFT_SQUARE_BRACKET_TOKEN:case Pe.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(te.type);case Pe.FUNCTION_TOKEN:return this.consumeFunction(te)}return te},Je.prototype.consumeSimpleBlock=function(te){for(var ke={type:te,values:[]},Ze=this.consumeToken();;){if(Ze.type===Pe.EOF_TOKEN||Jr(Ze,te))return ke;this.reconsumeToken(Ze),ke.values.push(this.consumeComponentValue()),Ze=this.consumeToken()}},Je.prototype.consumeFunction=function(te){for(var ke={name:te.value,values:[],type:Pe.FUNCTION};;){var Ze=this.consumeToken();if(Ze.type===Pe.EOF_TOKEN||Ze.type===Pe.RIGHT_PARENTHESIS_TOKEN)return ke;this.reconsumeToken(Ze),ke.values.push(this.consumeComponentValue())}},Je.prototype.consumeToken=function(){var te=this._tokens.shift();return typeof te=="undefined"?Pr:te},Je.prototype.reconsumeToken=function(te){this._tokens.unshift(te)},Je}(),rt=function(te){return te.type===Pe.DIMENSION_TOKEN},jt=function(te){return te.type===Pe.NUMBER_TOKEN},Jt=function(te){return te.type===Pe.IDENT_TOKEN},nr=function(te){return te.type===Pe.STRING_TOKEN},Or=function(te,ke){return Jt(te)&&te.value===ke},wr=function(te){return te.type!==Pe.WHITESPACE_TOKEN},Er=function(te){return te.type!==Pe.WHITESPACE_TOKEN&&te.type!==Pe.COMMA_TOKEN},zr=function(te){var ke=[],Ze=[];return te.forEach(function(Lt){if(Lt.type===Pe.COMMA_TOKEN){if(Ze.length===0)throw new Error("Error parsing function args, zero tokens for arg");ke.push(Ze),Ze=[];return}Lt.type!==Pe.WHITESPACE_TOKEN&&Ze.push(Lt)}),Ze.length&&ke.push(Ze),ke},Jr=function(te,ke){return ke===Pe.LEFT_CURLY_BRACKET_TOKEN&&te.type===Pe.RIGHT_CURLY_BRACKET_TOKEN||ke===Pe.LEFT_SQUARE_BRACKET_TOKEN&&te.type===Pe.RIGHT_SQUARE_BRACKET_TOKEN?!0:ke===Pe.LEFT_PARENTHESIS_TOKEN&&te.type===Pe.RIGHT_PARENTHESIS_TOKEN},Zr=function(te){return te.type===Pe.NUMBER_TOKEN||te.type===Pe.DIMENSION_TOKEN},an=function(te){return te.type===Pe.PERCENTAGE_TOKEN||Zr(te)},St=function(te){return te.length>1?[te[0],te[1]]:[te[0]]},Vt={type:Pe.NUMBER_TOKEN,number:0,flags:Ot},sr={type:Pe.PERCENTAGE_TOKEN,number:50,flags:Ot},br={type:Pe.PERCENTAGE_TOKEN,number:100,flags:Ot},Mr=function(te,ke,Ze){var Lt=te[0],tr=te[1];return[Dr(Lt,ke),Dr(typeof tr!="undefined"?tr:Lt,Ze)]},Dr=function(te,ke){if(te.type===Pe.PERCENTAGE_TOKEN)return te.number/100*ke;if(rt(te))switch(te.unit){case"rem":case"em":return 16*te.number;case"px":default:return te.number}return te.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(te){if(te.type===Pe.DIMENSION_TOKEN)switch(te.unit){case rn:return Math.PI*te.number/180;case fn:return Math.PI/200*te.number;case wn:return te.number;case Hn:return Math.PI*2*te.number}throw new Error("Unsupported angle type")}},bn=function(te){return te.type===Pe.DIMENSION_TOKEN&&(te.unit===rn||te.unit===fn||te.unit===wn||te.unit===Hn)},Mn=function(te){var ke=te.filter(Jt).map(function(Ze){return Ze.value}).join(" ");switch(ke){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,br];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[br,br];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[br,Vt];case"to left":case"right":return vn(270)}return 0},vn=function(te){return Math.PI*te/180},Rn={name:"color",parse:function(te){if(te.type===Pe.FUNCTION){var ke=xi[te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported color function "'+te.name+'"');return ke(te.values)}if(te.type===Pe.HASH_TOKEN){if(te.value.length===3){var Ze=te.value.substring(0,1),Lt=te.value.substring(1,2),tr=te.value.substring(2,3);return Xn(parseInt(Ze+Ze,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),1)}if(te.value.length===4){var Ze=te.value.substring(0,1),Lt=te.value.substring(1,2),tr=te.value.substring(2,3),vr=te.value.substring(3,4);return Xn(parseInt(Ze+Ze,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(te.value.length===6){var Ze=te.value.substring(0,2),Lt=te.value.substring(2,4),tr=te.value.substring(4,6);return Xn(parseInt(Ze,16),parseInt(Lt,16),parseInt(tr,16),1)}if(te.value.length===8){var Ze=te.value.substring(0,2),Lt=te.value.substring(2,4),tr=te.value.substring(4,6),vr=te.value.substring(6,8);return Xn(parseInt(Ze,16),parseInt(Lt,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(te.type===Pe.IDENT_TOKEN){var Ir=Li[te.value.toUpperCase()];if(typeof Ir!="undefined")return Ir}return Li.TRANSPARENT}},En=function(te){return(255&te)===0},In=function(te){var ke=255&te,Ze=255&te>>8,Lt=255&te>>16,tr=255&te>>24;return ke<255?"rgba("+tr+","+Lt+","+Ze+","+ke/255+")":"rgb("+tr+","+Lt+","+Ze+")"},Xn=function(te,ke,Ze,Lt){return(te<<24|ke<<16|Ze<<8|Math.round(Lt*255)<<0)>>>0},ai=function(te,ke){if(te.type===Pe.NUMBER_TOKEN)return te.number;if(te.type===Pe.PERCENTAGE_TOKEN){var Ze=ke===3?1:255;return ke===3?te.number/100*Ze:Math.round(te.number/100*Ze)}return 0},ri=function(te){var ke=te.filter(Er);if(ke.length===3){var Ze=ke.map(ai),Lt=Ze[0],tr=Ze[1],vr=Ze[2];return Xn(Lt,tr,vr,1)}if(ke.length===4){var Ir=ke.map(ai),Lt=Ir[0],tr=Ir[1],vr=Ir[2],Hr=Ir[3];return Xn(Lt,tr,vr,Hr)}return 0};function Di(Je,te,ke){return ke<0&&(ke+=1),ke>=1&&(ke-=1),ke<1/6?(te-Je)*ke*6+Je:ke<1/2?te:ke<2/3?(te-Je)*6*(2/3-ke)+Je:Je}var yi=function(te){var ke=te.filter(Er),Ze=ke[0],Lt=ke[1],tr=ke[2],vr=ke[3],Ir=(Ze.type===Pe.NUMBER_TOKEN?vn(Ze.number):Sn.parse(Ze))/(Math.PI*2),Hr=an(Lt)?Lt.number/100:0,Kr=an(tr)?tr.number/100:0,cn=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(Kr*255,Kr*255,Kr*255,1);var sn=Kr<=.5?Kr*(Hr+1):Kr+Hr-Kr*Hr,Fn=Kr*2-sn,si=Di(Fn,sn,Ir+1/3),Kn=Di(Fn,sn,Ir),fi=Di(Fn,sn,Ir-1/3);return Xn(si*255,Kn*255,fi*255,cn)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},Li={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Un;(function(Je){Je[Je.VALUE=0]="VALUE",Je[Je.LIST=1]="LIST",Je[Je.IDENT_VALUE=2]="IDENT_VALUE",Je[Je.TYPE_VALUE=3]="TYPE_VALUE",Je[Je.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function(Je){Je[Je.BORDER_BOX=0]="BORDER_BOX",Je[Je.PADDING_BOX=1]="PADDING_BOX",Je[Je.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(te){return te.map(function(ke){if(Jt(ke))switch(ke.value){case"padding-box":return Ri.PADDING_BOX;case"content-box":return Ri.CONTENT_BOX}return Ri.BORDER_BOX})}},Ui={name:"background-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Mi=function(te){var ke=Rn.parse(te[0]),Ze=te[1];return Ze&&an(Ze)?{color:ke,stop:Ze}:{color:ke,stop:null}},mi=function(te,ke){var Ze=te[0],Lt=te[te.length-1];Ze.stop===null&&(Ze.stop=Vt),Lt.stop===null&&(Lt.stop=br);for(var tr=[],vr=0,Ir=0;Ir<te.length;Ir++){var Hr=te[Ir].stop;if(Hr!==null){var Kr=Dr(Hr,ke);Kr>vr?tr.push(Kr):tr.push(vr),vr=Kr}else tr.push(null)}for(var cn=null,Ir=0;Ir<tr.length;Ir++){var sn=tr[Ir];if(sn===null)cn===null&&(cn=Ir);else if(cn!==null){for(var Fn=Ir-cn,si=tr[cn-1],Kn=(sn-si)/(Fn+1),fi=1;fi<=Fn;fi++)tr[cn+fi-1]=Kn*fi;cn=null}}return te.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/ke),0)}})},hi=function(te,ke,Ze){var Lt=ke/2,tr=Ze/2,vr=Dr(te[0],ke)-Lt,Ir=tr-Dr(te[1],Ze);return(Math.atan2(Ir,vr)+Math.PI*2)%(Math.PI*2)},qi=function(te,ke,Ze){var Lt=typeof te=="number"?te:hi(te,ke,Ze),tr=Math.abs(ke*Math.sin(Lt))+Math.abs(Ze*Math.cos(Lt)),vr=ke/2,Ir=Ze/2,Hr=tr/2,Kr=Math.sin(Lt-Math.PI/2)*Hr,cn=Math.cos(Lt-Math.PI/2)*Hr;return[tr,vr-cn,vr+cn,Ir-Kr,Ir+Kr]},va=function(te,ke){return Math.sqrt(te*te+ke*ke)},Ea=function(te,ke,Ze,Lt,tr){var vr=[[0,0],[0,ke],[te,0],[te,ke]];return vr.reduce(function(Ir,Hr){var Kr=Hr[0],cn=Hr[1],sn=va(Ze-Kr,Lt-cn);return(tr?sn<Ir.optimumDistance:sn>Ir.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Ir},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(te,ke,Ze,Lt,tr){var vr=0,Ir=0;switch(te.size){case Fi.CLOSEST_SIDE:te.shape===Ia.CIRCLE?vr=Ir=Math.min(Math.abs(ke),Math.abs(ke-Lt),Math.abs(Ze),Math.abs(Ze-tr)):te.shape===Ia.ELLIPSE&&(vr=Math.min(Math.abs(ke),Math.abs(ke-Lt)),Ir=Math.min(Math.abs(Ze),Math.abs(Ze-tr)));break;case Fi.CLOSEST_CORNER:if(te.shape===Ia.CIRCLE)vr=Ir=Math.min(va(ke,Ze),va(ke,Ze-tr),va(ke-Lt,Ze),va(ke-Lt,Ze-tr));else if(te.shape===Ia.ELLIPSE){var Hr=Math.min(Math.abs(Ze),Math.abs(Ze-tr))/Math.min(Math.abs(ke),Math.abs(ke-Lt)),Kr=Ea(Lt,tr,ke,Ze,!0),cn=Kr[0],sn=Kr[1];vr=va(cn-ke,(sn-Ze)/Hr),Ir=Hr*vr}break;case Fi.FARTHEST_SIDE:te.shape===Ia.CIRCLE?vr=Ir=Math.max(Math.abs(ke),Math.abs(ke-Lt),Math.abs(Ze),Math.abs(Ze-tr)):te.shape===Ia.ELLIPSE&&(vr=Math.max(Math.abs(ke),Math.abs(ke-Lt)),Ir=Math.max(Math.abs(Ze),Math.abs(Ze-tr)));break;case Fi.FARTHEST_CORNER:if(te.shape===Ia.CIRCLE)vr=Ir=Math.max(va(ke,Ze),va(ke,Ze-tr),va(ke-Lt,Ze),va(ke-Lt,Ze-tr));else if(te.shape===Ia.ELLIPSE){var Hr=Math.max(Math.abs(Ze),Math.abs(Ze-tr))/Math.max(Math.abs(ke),Math.abs(ke-Lt)),Fn=Ea(Lt,tr,ke,Ze,!1),cn=Fn[0],sn=Fn[1];vr=va(cn-ke,(sn-Ze)/Hr),Ir=Hr*vr}break}return Array.isArray(te.size)&&(vr=Dr(te.size[0],Lt),Ir=te.size.length===2?Dr(te.size[1],tr):vr),[vr,Ir]},oa=function(te){var ke=vn(180),Ze=[];return zr(te).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Pe.IDENT_TOKEN&&vr.value==="to"){ke=Mn(Lt);return}else if(bn(vr)){ke=Sn.parse(vr);return}}var Ir=Mi(Lt);Ze.push(Ir)}),{angle:ke,stops:Ze,type:Ca.LINEAR_GRADIENT}},sa=function(te){var ke=vn(180),Ze=[];return zr(te).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Pe.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){ke=Mn(Lt);return}else if(bn(vr)){ke=(Sn.parse(vr)+vn(270))%vn(360);return}}var Ir=Mi(Lt);Ze.push(Ir)}),{angle:ke,stops:Ze,type:Ca.LINEAR_GRADIENT}},Ni=function(te){var ke=123;if(te.createRange){var Ze=te.createRange();if(Ze.getBoundingClientRect){var Lt=te.createElement("boundtest");Lt.style.height=ke+"px",Lt.style.display="block",te.body.appendChild(Lt),Ze.selectNode(Lt);var tr=Ze.getBoundingClientRect(),vr=Math.round(tr.height);if(te.body.removeChild(Lt),vr===ke)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},Ii=function(te){var ke=new Image,Ze=te.createElement("canvas"),Lt=Ze.getContext("2d");if(!Lt)return!1;ke.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Lt.drawImage(ke,0,0),Ze.toDataURL()}catch(tr){return!1}return!0},Vi=function(te){return te[0]===0&&te[1]===255&&te[2]===0&&te[3]===255},Xi=function(te){var ke=te.createElement("canvas"),Ze=100;ke.width=Ze,ke.height=Ze;var Lt=ke.getContext("2d");if(!Lt)return Promise.reject(!1);Lt.fillStyle="rgb(0, 255, 0)",Lt.fillRect(0,0,Ze,Ze);var tr=new Image,vr=ke.toDataURL();tr.src=vr;var Ir=bi(Ze,Ze,0,0,tr);return Lt.fillStyle="red",Lt.fillRect(0,0,Ze,Ze),Aa(Ir).then(function(Hr){Lt.drawImage(Hr,0,0);var Kr=Lt.getImageData(0,0,Ze,Ze).data;Lt.fillStyle="red",Lt.fillRect(0,0,Ze,Ze);var cn=te.createElement("div");return cn.style.backgroundImage="url("+vr+")",cn.style.height=Ze+"px",Vi(Kr)?Aa(bi(Ze,Ze,0,0,cn)):Promise.reject(!1)}).then(function(Hr){return Lt.drawImage(Hr,0,0),Vi(Lt.getImageData(0,0,Ze,Ze).data)}).catch(function(){return!1})},bi=function(te,ke,Ze,Lt,tr){var vr="http://www.w3.org/2000/svg",Ir=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Ir.setAttributeNS(null,"width",te.toString()),Ir.setAttributeNS(null,"height",ke.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Ze.toString()),Hr.setAttributeNS(null,"y",Lt.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Ir.appendChild(Hr),Hr.appendChild(tr),Ir},Aa=function(te){return new Promise(function(ke,Ze){var Lt=new Image;Lt.onload=function(){return ke(Lt)},Lt.onerror=Ze,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(te))})},ca={get SUPPORT_RANGE_BOUNDS(){var Je=Ni(document);return Object.defineProperty(ca,"SUPPORT_RANGE_BOUNDS",{value:Je}),Je},get SUPPORT_SVG_DRAWING(){var Je=Ii(document);return Object.defineProperty(ca,"SUPPORT_SVG_DRAWING",{value:Je}),Je},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Je=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ca,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Je}),Je},get SUPPORT_CORS_IMAGES(){var Je=$n();return Object.defineProperty(ca,"SUPPORT_CORS_IMAGES",{value:Je}),Je},get SUPPORT_RESPONSE_TYPE(){var Je=Ai();return Object.defineProperty(ca,"SUPPORT_RESPONSE_TYPE",{value:Je}),Je},get SUPPORT_CORS_XHR(){var Je="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ca,"SUPPORT_CORS_XHR",{value:Je}),Je}},la=function(){function Je(te){var ke=te.id,Ze=te.enabled;this.id=ke,this.enabled=Ze,this.start=Date.now()}return Je.prototype.debug=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(te)):this.info.apply(this,te))},Je.prototype.getTime=function(){return Date.now()-this.start},Je.create=function(te){Je.instances[te.id]=new Je(te)},Je.destroy=function(te){delete Je.instances[te]},Je.getInstance=function(te){var ke=Je.instances[te];if(typeof ke=="undefined")throw new Error("No logger instance found with id "+te);return ke},Je.prototype.info=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(te)))},Je.prototype.error=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(te)):this.info.apply(this,te))},Je.instances={},Je}(),gi=function(){function Je(){}return Je.create=function(te,ke){return Je._caches[te]=new Pa(te,ke)},Je.destroy=function(te){delete Je._caches[te]},Je.open=function(te){var ke=Je._caches[te];if(typeof ke!="undefined")return ke;throw new Error('Cache with key "'+te+'" not found')},Je.getOrigin=function(te){var ke=Je._link;return ke?(ke.href=te,ke.href=ke.href,ke.protocol+ke.hostname+ke.port):"about:blank"},Je.isSameOrigin=function(te){return Je.getOrigin(te)===Je._origin},Je.setContext=function(te){Je._link=te.document.createElement("a"),Je._origin=Je.getOrigin(te.location.href)},Je.getInstance=function(){var te=Je._current;if(te===null)throw new Error("No cache instance attached");return te},Je.attachInstance=function(te){Je._current=te},Je.detachInstance=function(){Je._current=null},Je._caches={},Je._origin="about:blank",Je._current=null,Je}(),Pa=function(){function Je(te,ke){this.id=te,this._options=ke,this._cache={}}return Je.prototype.addImage=function(te){var ke=Promise.resolve();return this.has(te)||(ba(te)||Xa(te))&&(this._cache[te]=this.loadImage(te)),ke},Je.prototype.match=function(te){return this._cache[te]},Je.prototype.loadImage=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr=this;return v(this,function(Ir){switch(Ir.label){case 0:return ke=gi.isSameOrigin(te),Ze=!Ki(te)&&this._options.useCORS===!0&&ca.SUPPORT_CORS_IMAGES&&!ke,Lt=!Ki(te)&&!ke&&typeof this._options.proxy=="string"&&ca.SUPPORT_CORS_XHR&&!Ze,!ke&&this._options.allowTaint===!1&&!Ki(te)&&!Lt&&!Ze?[2]:(tr=te,Lt?[4,this.proxy(tr)]:[3,2]);case 1:tr=Ir.sent(),Ir.label=2;case 2:return la.getInstance(this.id).debug("Added image "+te.substring(0,256)),[4,new Promise(function(Hr,Kr){var cn=new Image;cn.onload=function(){return Hr(cn)},cn.onerror=Kr,(zi(tr)||Ze)&&(cn.crossOrigin="anonymous"),cn.src=tr,cn.complete===!0&&setTimeout(function(){return Hr(cn)},500),vr._options.imageTimeout>0&&setTimeout(function(){return Kr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Ir.sent()]}})})},Je.prototype.has=function(te){return typeof this._cache[te]!="undefined"},Je.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Je.prototype.proxy=function(te){var ke=this,Ze=this._options.proxy;if(!Ze)throw new Error("No proxy defined");var Lt=te.substring(0,256);return new Promise(function(tr,vr){var Ir=ca.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Ir==="text")tr(Hr.response);else{var cn=new FileReader;cn.addEventListener("load",function(){return tr(cn.result)},!1),cn.addEventListener("error",function(sn){return vr(sn)},!1),cn.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+Lt+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",Ze+"?url="+encodeURIComponent(te)+"&responseType="+Ir),Ir!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Ir),ke._options.imageTimeout){var Kr=ke._options.imageTimeout;Hr.timeout=Kr,Hr.ontimeout=function(){return vr("Timed out ("+Kr+"ms) proxying "+Lt)}}Hr.send()})},Je}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Yi=/^data:image\/.*/i,Xa=function(te){return ca.SUPPORT_SVG_DRAWING||!Ua(te)},Ki=function(te){return Yi.test(te)},zi=function(te){return ra.test(te)},ba=function(te){return te.substr(0,4)==="blob"},Ua=function(te){return te.substr(-3).toLowerCase()==="svg"||Ma.test(te)},wa=function(te){var ke=vn(180),Ze=[],Lt=Ca.LINEAR_GRADIENT,tr=Ia.CIRCLE,vr=Fi.FARTHEST_CORNER,Ir=[];return zr(te).forEach(function(Hr,Kr){var cn=Hr[0];if(Kr===0){if(Jt(cn)&&cn.value==="linear"){Lt=Ca.LINEAR_GRADIENT;return}else if(Jt(cn)&&cn.value==="radial"){Lt=Ca.RADIAL_GRADIENT;return}}if(cn.type===Pe.FUNCTION){if(cn.name==="from"){var sn=Rn.parse(cn.values[0]);Ze.push({stop:Vt,color:sn})}else if(cn.name==="to"){var sn=Rn.parse(cn.values[0]);Ze.push({stop:br,color:sn})}else if(cn.name==="color-stop"){var Fn=cn.values.filter(Er);if(Fn.length===2){var sn=Rn.parse(Fn[1]),si=Fn[0];jt(si)&&Ze.push({stop:{type:Pe.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Lt===Ca.LINEAR_GRADIENT?{angle:(ke+vn(180))%vn(360),stops:Ze,type:Lt}:{size:vr,shape:tr,stops:Ze,position:Ir,type:Lt}},vi="closest-side",Ya="farthest-side",Ka="closest-corner",pa="farthest-corner",Oi="circle",So="ellipse",za="cover",ja="contain",qa=function(te){var ke=Ia.CIRCLE,Ze=Fi.FARTHEST_CORNER,Lt=[],tr=[];return zr(te).forEach(function(vr,Ir){var Hr=!0;if(Ir===0){var Kr=!1;Hr=vr.reduce(function(sn,Fn){if(Kr)if(Jt(Fn))switch(Fn.value){case"center":return tr.push(sr),sn;case"top":case"left":return tr.push(Vt),sn;case"right":case"bottom":return tr.push(br),sn}else(an(Fn)||Zr(Fn))&&tr.push(Fn);else if(Jt(Fn))switch(Fn.value){case Oi:return ke=Ia.CIRCLE,!1;case So:return ke=Ia.ELLIPSE,!1;case"at":return Kr=!0,!1;case vi:return Ze=Fi.CLOSEST_SIDE,!1;case za:case Ya:return Ze=Fi.FARTHEST_SIDE,!1;case ja:case Ka:return Ze=Fi.CLOSEST_CORNER,!1;case pa:return Ze=Fi.FARTHEST_CORNER,!1}else if(Zr(Fn)||an(Fn))return Array.isArray(Ze)||(Ze=[]),Ze.push(Fn),!1;return sn},Hr)}if(Hr){var cn=Mi(vr);Lt.push(cn)}}),{size:Ze,shape:ke,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(te){var ke=Ia.CIRCLE,Ze=Fi.FARTHEST_CORNER,Lt=[],tr=[];return zr(te).forEach(function(vr,Ir){var Hr=!0;if(Ir===0?Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case"center":return tr.push(sr),!1;case"top":case"left":return tr.push(Vt),!1;case"right":case"bottom":return tr.push(br),!1}else if(an(sn)||Zr(sn))return tr.push(sn),!1;return cn},Hr):Ir===1&&(Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case Oi:return ke=Ia.CIRCLE,!1;case So:return ke=Ia.ELLIPSE,!1;case ja:case vi:return Ze=Fi.CLOSEST_SIDE,!1;case Ya:return Ze=Fi.FARTHEST_SIDE,!1;case Ka:return Ze=Fi.CLOSEST_CORNER,!1;case za:case pa:return Ze=Fi.FARTHEST_CORNER,!1}else if(Zr(sn)||an(sn))return Array.isArray(Ze)||(Ze=[]),Ze.push(sn),!1;return cn},Hr)),Hr){var Kr=Mi(vr);Lt.push(Kr)}}),{size:Ze,shape:ke,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function(Je){Je[Je.URL=0]="URL",Je[Je.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",Je[Je.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(te){return te.type===Ca.LINEAR_GRADIENT},Lo=function(te){return te.type===Ca.RADIAL_GRADIENT},Ia;(function(Je){Je[Je.CIRCLE=0]="CIRCLE",Je[Je.ELLIPSE=1]="ELLIPSE"})(Ia||(Ia={}));var Fi;(function(Je){Je[Je.CLOSEST_SIDE=0]="CLOSEST_SIDE",Je[Je.FARTHEST_SIDE=1]="FARTHEST_SIDE",Je[Je.CLOSEST_CORNER=2]="CLOSEST_CORNER",Je[Je.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Fi||(Fi={}));var Ja={name:"image",parse:function(te){if(te.type===Pe.URL_TOKEN){var ke={url:te.value,type:Ca.URL};return gi.getInstance().addImage(te.value),ke}if(te.type===Pe.FUNCTION){var Ze=pi[te.name];if(typeof Ze=="undefined")throw new Error('Attempting to parse an unsupported image function "'+te.name+'"');return Ze(te.values)}throw new Error("Unsupported image type")}};function Da(Je){return Je.type!==Pe.FUNCTION||pi[Je.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":qa,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){if(te.length===0)return[];var ke=te[0];return ke.type===Pe.IDENT_TOKEN&&ke.value==="none"?[]:te.filter(function(Ze){return Er(Ze)&&Da(Ze)}).map(Ja.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(te){return te.map(function(ke){if(Jt(ke))switch(ke.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:Un.LIST,prefix:!1,parse:function(te){return zr(te).map(function(ke){return ke.filter(an)}).map(St)}},fo;(function(Je){Je[Je.REPEAT=0]="REPEAT",Je[Je.NO_REPEAT=1]="NO_REPEAT",Je[Je.REPEAT_X=2]="REPEAT_X",Je[Je.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(te){return zr(te).map(function(ke){return ke.filter(Jt).map(function(Ze){return Ze.value}).join(" ")}).map(ki)}},ki=function(te){switch(te){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ra;(function(Je){Je.AUTO="auto",Je.CONTAIN="contain",Je.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(te){return zr(te).map(function(ke){return ke.filter(ro)})}},ro=function(te){return Jt(te)||an(te)},vo=function(te){return{name:"border-"+te+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Zi=vo("right"),xo=vo("bottom"),is=vo("left"),Jo=function(te){return{name:"border-radius-"+te,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(Ze){return St(Ze.filter(an))}}},_s=Jo("top-left"),Cs=Jo("top-right"),Ts=Jo("bottom-right"),Go=Jo("bottom-left"),bo;(function(Je){Je[Je.NONE=0]="NONE",Je[Je.SOLID=1]="SOLID"})(bo||(bo={}));var Za=function(te){return{name:"border-"+te+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(Ze){switch(Ze){case"none":return bo.NONE}return bo.SOLID}}},Ga=Za("top"),so=Za("right"),ps=Za("bottom"),Sr=Za("left"),Xo=function(te){return{name:"border-"+te+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(Ze){return rt(Ze)?Ze.number:0}}},ss=Xo("top"),Ls=Xo("right"),Fa=Xo("bottom"),La=Xo("left"),Oo={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Io={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(te){return te.filter(Jt).reduce(function(ke,Ze){return ke|ts(Ze.value)},0)}},ts=function(te){switch(te){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bo;(function(Je){Je[Je.NONE=0]="NONE",Je[Je.LEFT=1]="LEFT",Je[Je.RIGHT=2]="RIGHT",Je[Je.INLINE_START=3]="INLINE_START",Je[Je.INLINE_END=4]="INLINE_END"})(Bo||(Bo={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"left":return Bo.LEFT;case"right":return Bo.RIGHT;case"inline-start":return Bo.INLINE_START;case"inline-end":return Bo.INLINE_END}return Bo.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:Un.VALUE,parse:function(te){return te.type===Pe.IDENT_TOKEN&&te.value==="normal"?0:te.type===Pe.NUMBER_TOKEN||te.type===Pe.DIMENSION_TOKEN?te.number:0}},ls;(function(Je){Je.NORMAL="normal",Je.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Ds={name:"line-height",initialValue:"normal",prefix:!1,type:Un.TOKEN_VALUE},as=function(te,ke){return Jt(te)&&te.value==="normal"?1.2*ke:te.type===Pe.NUMBER_TOKEN?ke*te.number:an(te)?Dr(te,ke):ke},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(te){return te.type===Pe.IDENT_TOKEN&&te.value==="none"?null:Ja.parse(te)}},cs;(function(Je){Je[Je.INSIDE=0]="INSIDE",Je[Je.OUTSIDE=1]="OUTSIDE"})(cs||(cs={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"inside":return cs.INSIDE;case"outside":default:return cs.OUTSIDE}}},Dn;(function(Je){Je[Je.NONE=-1]="NONE",Je[Je.DISC=0]="DISC",Je[Je.CIRCLE=1]="CIRCLE",Je[Je.SQUARE=2]="SQUARE",Je[Je.DECIMAL=3]="DECIMAL",Je[Je.CJK_DECIMAL=4]="CJK_DECIMAL",Je[Je.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",Je[Je.LOWER_ROMAN=6]="LOWER_ROMAN",Je[Je.UPPER_ROMAN=7]="UPPER_ROMAN",Je[Je.LOWER_GREEK=8]="LOWER_GREEK",Je[Je.LOWER_ALPHA=9]="LOWER_ALPHA",Je[Je.UPPER_ALPHA=10]="UPPER_ALPHA",Je[Je.ARABIC_INDIC=11]="ARABIC_INDIC",Je[Je.ARMENIAN=12]="ARMENIAN",Je[Je.BENGALI=13]="BENGALI",Je[Je.CAMBODIAN=14]="CAMBODIAN",Je[Je.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",Je[Je.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",Je[Je.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",Je[Je.DEVANAGARI=18]="DEVANAGARI",Je[Je.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",Je[Je.GEORGIAN=20]="GEORGIAN",Je[Je.GUJARATI=21]="GUJARATI",Je[Je.GURMUKHI=22]="GURMUKHI",Je[Je.HEBREW=22]="HEBREW",Je[Je.HIRAGANA=23]="HIRAGANA",Je[Je.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",Je[Je.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",Je[Je.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",Je[Je.KANNADA=27]="KANNADA",Je[Je.KATAKANA=28]="KATAKANA",Je[Je.KATAKANA_IROHA=29]="KATAKANA_IROHA",Je[Je.KHMER=30]="KHMER",Je[Je.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",Je[Je.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",Je[Je.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",Je[Je.LAO=34]="LAO",Je[Je.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",Je[Je.MALAYALAM=36]="MALAYALAM",Je[Je.MONGOLIAN=37]="MONGOLIAN",Je[Je.MYANMAR=38]="MYANMAR",Je[Je.ORIYA=39]="ORIYA",Je[Je.PERSIAN=40]="PERSIAN",Je[Je.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",Je[Je.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",Je[Je.TAMIL=43]="TAMIL",Je[Je.TELUGU=44]="TELUGU",Je[Je.THAI=45]="THAI",Je[Je.TIBETAN=46]="TIBETAN",Je[Je.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",Je[Je.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",Je[Je.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",Je[Je.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",Je[Je.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"disc":return Dn.DISC;case"circle":return Dn.CIRCLE;case"square":return Dn.SQUARE;case"decimal":return Dn.DECIMAL;case"cjk-decimal":return Dn.CJK_DECIMAL;case"decimal-leading-zero":return Dn.DECIMAL_LEADING_ZERO;case"lower-roman":return Dn.LOWER_ROMAN;case"upper-roman":return Dn.UPPER_ROMAN;case"lower-greek":return Dn.LOWER_GREEK;case"lower-alpha":return Dn.LOWER_ALPHA;case"upper-alpha":return Dn.UPPER_ALPHA;case"arabic-indic":return Dn.ARABIC_INDIC;case"armenian":return Dn.ARMENIAN;case"bengali":return Dn.BENGALI;case"cambodian":return Dn.CAMBODIAN;case"cjk-earthly-branch":return Dn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Dn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Dn.CJK_IDEOGRAPHIC;case"devanagari":return Dn.DEVANAGARI;case"ethiopic-numeric":return Dn.ETHIOPIC_NUMERIC;case"georgian":return Dn.GEORGIAN;case"gujarati":return Dn.GUJARATI;case"gurmukhi":return Dn.GURMUKHI;case"hebrew":return Dn.HEBREW;case"hiragana":return Dn.HIRAGANA;case"hiragana-iroha":return Dn.HIRAGANA_IROHA;case"japanese-formal":return Dn.JAPANESE_FORMAL;case"japanese-informal":return Dn.JAPANESE_INFORMAL;case"kannada":return Dn.KANNADA;case"katakana":return Dn.KATAKANA;case"katakana-iroha":return Dn.KATAKANA_IROHA;case"khmer":return Dn.KHMER;case"korean-hangul-formal":return Dn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Dn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Dn.KOREAN_HANJA_INFORMAL;case"lao":return Dn.LAO;case"lower-armenian":return Dn.LOWER_ARMENIAN;case"malayalam":return Dn.MALAYALAM;case"mongolian":return Dn.MONGOLIAN;case"myanmar":return Dn.MYANMAR;case"oriya":return Dn.ORIYA;case"persian":return Dn.PERSIAN;case"simp-chinese-formal":return Dn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Dn.SIMP_CHINESE_INFORMAL;case"tamil":return Dn.TAMIL;case"telugu":return Dn.TELUGU;case"thai":return Dn.THAI;case"tibetan":return Dn.TIBETAN;case"trad-chinese-formal":return Dn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Dn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Dn.UPPER_ARMENIAN;case"disclosure-open":return Dn.DISCLOSURE_OPEN;case"disclosure-closed":return Dn.DISCLOSURE_CLOSED;case"none":default:return Dn.NONE}}},Os=function(te){return{name:"margin-"+te,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Pt=Os("top"),le=Os("right"),Ee=Os("bottom"),Ie=Os("left"),We;(function(Je){Je[Je.VISIBLE=0]="VISIBLE",Je[Je.HIDDEN=1]="HIDDEN",Je[Je.SCROLL=2]="SCROLL",Je[Je.AUTO=3]="AUTO"})(We||(We={}));var Ct={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(te){return te.filter(Jt).map(function(ke){switch(ke.value){case"hidden":return We.HIDDEN;case"scroll":return We.SCROLL;case"auto":return We.AUTO;case"visible":default:return We.VISIBLE}})}},Ut;(function(Je){Je.NORMAL="normal",Je.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(te){return{name:"padding-"+te,initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length-percentage"}},Rr=gr("top"),$r=gr("right"),ln=gr("bottom"),yn=gr("left"),Cn;(function(Je){Je[Je.LEFT=0]="LEFT",Je[Je.CENTER=1]="CENTER",Je[Je.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(Je){Je[Je.STATIC=0]="STATIC",Je[Je.RELATIVE=1]="RELATIVE",Je[Je.ABSOLUTE=2]="ABSOLUTE",Je[Je.FIXED=3]="FIXED",Je[Je.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){return te.length===1&&Or(te[0],"none")?[]:zr(te).map(function(ke){for(var Ze={color:Li.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Lt=0,tr=0;tr<ke.length;tr++){var vr=ke[tr];Zr(vr)?(Lt===0?Ze.offsetX=vr:Lt===1?Ze.offsetY=vr:Ze.blur=vr,Lt++):Ze.color=Rn.parse(vr)}return Ze})}},ji;(function(Je){Je[Je.NONE=0]="NONE",Je[Je.LOWERCASE=1]="LOWERCASE",Je[Je.UPPERCASE=2]="UPPERCASE",Je[Je.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:Un.VALUE,parse:function(te){if(te.type===Pe.IDENT_TOKEN&&te.value==="none")return null;if(te.type===Pe.FUNCTION){var ke=Ao[te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+te.name+'"');return ke(te.values)}return null}},Wa=function(te){var ke=te.filter(function(Ze){return Ze.type===Pe.NUMBER_TOKEN}).map(function(Ze){return Ze.number});return ke.length===6?ke:null},yo=function(te){var ke=te.filter(function(_a){return _a.type===Pe.NUMBER_TOKEN}).map(function(_a){return _a.number}),Ze=ke[0],Lt=ke[1],tr=ke[2],vr=ke[3],Ir=ke[4],Hr=ke[5],Kr=ke[6],cn=ke[7],sn=ke[8],Fn=ke[9],si=ke[10],Kn=ke[11],fi=ke[12],da=ke[13],Ti=ke[14],na=ke[15];return ke.length===16?[Ze,Lt,Ir,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Pe.PERCENTAGE_TOKEN,number:50,flags:Ot},Fo=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(te){var ke=te.filter(an);return ke.length!==2?Fo:[ke[0],ke[1]]}},Ha;(function(Je){Je[Je.VISIBLE=0]="VISIBLE",Je[Je.HIDDEN=1]="HIDDEN",Je[Je.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},ko;(function(Je){Je.NORMAL="normal",Je.BREAK_ALL="break-all",Je.KEEP_ALL="keep-all"})(ko||(ko={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"break-all":return ko.BREAK_ALL;case"keep-all":return ko.KEEP_ALL;case"normal":default:return ko.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(te){if(te.type===Pe.IDENT_TOKEN)return{auto:!0,order:0};if(jt(te))return{auto:!1,order:te.number};throw new Error("Invalid z-index number parsed")}},us={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(te){return jt(te)?te.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Xs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Un.LIST,parse:function(te){return te.filter(Jt).map(function(ke){switch(ke.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ke){return ke!==0})}},Ys={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(te){var ke=[],Ze=[];return te.forEach(function(Lt){switch(Lt.type){case Pe.IDENT_TOKEN:case Pe.STRING_TOKEN:ke.push(Lt.value);break;case Pe.NUMBER_TOKEN:ke.push(Lt.number.toString());break;case Pe.COMMA_TOKEN:Ze.push(ke.join(" ")),ke.length=0;break}}),ke.length&&Ze.push(ke.join(" ")),Ze.map(function(Lt){return Lt.indexOf(" ")===-1?Lt:"'"+Lt+"'"})}},Yo={name:"font-size",initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:Un.VALUE,prefix:!1,parse:function(te){if(jt(te))return te.number;if(Jt(te))switch(te.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){return te.filter(Jt).map(function(ke){return ke.value})}},hs;(function(Je){Je.NORMAL="normal",Je.ITALIC="italic",Je.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(te,ke){return(te&ke)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){if(te.length===0)return[];var ke=te[0];return ke.type===Pe.IDENT_TOKEN&&ke.value==="none"?[]:te}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return null;var ke=te[0];if(ke.type===Pe.IDENT_TOKEN&&ke.value==="none")return null;for(var Ze=[],Lt=te.filter(wr),tr=0;tr<Lt.length;tr++){var vr=Lt[tr],Ir=Lt[tr+1];if(vr.type===Pe.IDENT_TOKEN){var Hr=Ir&&jt(Ir)?Ir.number:1;Ze.push({counter:vr.value,increment:Hr})}}return Ze}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return[];for(var ke=[],Ze=te.filter(wr),Lt=0;Lt<Ze.length;Lt++){var tr=Ze[Lt],vr=Ze[Lt+1];if(Jt(tr)&&tr.value!=="none"){var Ir=vr&&jt(vr)?vr.number:0;ke.push({counter:tr.value,reset:Ir})}}return ke}},Fs={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return null;var ke=te[0];if(ke.type===Pe.IDENT_TOKEN&&ke.value==="none")return null;var Ze=[],Lt=te.filter(nr);if(Lt.length%2!==0)return null;for(var tr=0;tr<Lt.length;tr+=2){var vr=Lt[tr].value,Ir=Lt[tr+1].value;Ze.push({open:vr,close:Ir})}return Ze}},Hs=function(te,ke,Ze){if(!te)return"";var Lt=te[Math.min(ke,te.length-1)];return Lt?Ze?Lt.open:Lt.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){return te.length===1&&Or(te[0],"none")?[]:zr(te).map(function(ke){for(var Ze={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Lt=0,tr=0;tr<ke.length;tr++){var vr=ke[tr];Or(vr,"inset")?Ze.inset=!0:Zr(vr)?(Lt===0?Ze.offsetX=vr:Lt===1?Ze.offsetY=vr:Lt===2?Ze.blur=vr:Ze.spread=vr,Lt++):Ze.color=Rn.parse(vr)}return Ze})}},ua=function(){function Je(te){this.backgroundClip=Wn(fa,te.backgroundClip),this.backgroundColor=Wn(Ui,te.backgroundColor),this.backgroundImage=Wn(Gi,te.backgroundImage),this.backgroundOrigin=Wn(oo,te.backgroundOrigin),this.backgroundPosition=Wn(go,te.backgroundPosition),this.backgroundRepeat=Wn(Ta,te.backgroundRepeat),this.backgroundSize=Wn(Vo,te.backgroundSize),this.borderTopColor=Wn(po,te.borderTopColor),this.borderRightColor=Wn(Zi,te.borderRightColor),this.borderBottomColor=Wn(xo,te.borderBottomColor),this.borderLeftColor=Wn(is,te.borderLeftColor),this.borderTopLeftRadius=Wn(_s,te.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,te.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,te.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Go,te.borderBottomLeftRadius),this.borderTopStyle=Wn(Ga,te.borderTopStyle),this.borderRightStyle=Wn(so,te.borderRightStyle),this.borderBottomStyle=Wn(ps,te.borderBottomStyle),this.borderLeftStyle=Wn(Sr,te.borderLeftStyle),this.borderTopWidth=Wn(ss,te.borderTopWidth),this.borderRightWidth=Wn(Ls,te.borderRightWidth),this.borderBottomWidth=Wn(Fa,te.borderBottomWidth),this.borderLeftWidth=Wn(La,te.borderLeftWidth),this.boxShadow=Wn(bs,te.boxShadow),this.color=Wn(Oo,te.color),this.display=Wn(Io,te.display),this.float=Wn(rs,te.cssFloat),this.fontFamily=Wn(Ys,te.fontFamily),this.fontSize=Wn(Yo,te.fontSize),this.fontStyle=Wn(Rs,te.fontStyle),this.fontVariant=Wn(ds,te.fontVariant),this.fontWeight=Wn(Eo,te.fontWeight),this.letterSpacing=Wn(ms,te.letterSpacing),this.lineBreak=Wn(Ns,te.lineBreak),this.lineHeight=Wn(Ds,te.lineHeight),this.listStyleImage=Wn($s,te.listStyleImage),this.listStylePosition=Wn(Mo,te.listStylePosition),this.listStyleType=Wn(Vs,te.listStyleType),this.marginTop=Wn(Pt,te.marginTop),this.marginRight=Wn(le,te.marginRight),this.marginBottom=Wn(Ee,te.marginBottom),this.marginLeft=Wn(Ie,te.marginLeft),this.opacity=Wn(us,te.opacity);var ke=Wn(Ct,te.overflow);this.overflowX=ke[0],this.overflowY=ke[ke.length>1?1:0],this.overflowWrap=Wn(hr,te.overflowWrap),this.paddingTop=Wn(Rr,te.paddingTop),this.paddingRight=Wn($r,te.paddingRight),this.paddingBottom=Wn(ln,te.paddingBottom),this.paddingLeft=Wn(yn,te.paddingLeft),this.position=Wn(wi,te.position),this.textAlign=Wn(Qn,te.textAlign),this.textDecorationColor=Wn(ns,te.textDecorationColor||te.color),this.textDecorationLine=Wn(Xs,te.textDecorationLine),this.textShadow=Wn(ea,te.textShadow),this.textTransform=Wn(Sa,te.textTransform),this.transform=Wn(lo,te.transform),this.transformOrigin=Wn(No,te.transformOrigin),this.visibility=Wn(jo,te.visibility),this.wordBreak=Wn(Qo,te.wordBreak),this.zIndex=Wn(wo,te.zIndex)}return Je.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},Je.prototype.isTransparent=function(){return En(this.backgroundColor)},Je.prototype.isTransformed=function(){return this.transform!==null},Je.prototype.isPositioned=function(){return this.position!==ti.STATIC},Je.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Je.prototype.isFloating=function(){return this.float!==Bo.NONE},Je.prototype.isInlineLevel=function(){return Do(this.display,4)||Do(this.display,33554432)||Do(this.display,268435456)||Do(this.display,536870912)||Do(this.display,67108864)||Do(this.display,134217728)},Je}(),ui=function(){function Je(te){this.content=Wn(ys,te.content),this.quotes=Wn(Fs,te.quotes)}return Je}(),Bi=function(){function Je(te){this.counterIncrement=Wn(Ms,te.counterIncrement),this.counterReset=Wn(As,te.counterReset)}return Je}(),Wn=function(te,ke){var Ze=new Wr,Lt=ke!==null&&typeof ke!="undefined"?ke.toString():te.initialValue;Ze.write(Lt);var tr=new hn(Ze.read());switch(te.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return te.parse(Jt(vr)?vr.value:te.initialValue);case Un.VALUE:return te.parse(tr.parseComponentValue());case Un.LIST:return te.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(te.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Ja.parse(tr.parseComponentValue());case"length":var Ir=tr.parseComponentValue();return Zr(Ir)?Ir:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+te.format)},io=function(){function Je(te){this.styles=new ua(window.getComputedStyle(te,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(te)&&(te.style.transform="none"),this.bounds=c(te),this.flags=0}return Je}(),qo=function(){function Je(te,ke){this.text=te,this.bounds=ke}return Je}(),gs=function(te,ke,Ze){var Lt=$o(te,ke),tr=[],vr=0;return Lt.forEach(function(Ir){if(ke.textDecorationLine.length||Ir.trim().length>0)if(ca.SUPPORT_RANGE_BOUNDS)tr.push(new qo(Ir,Zo(Ze,vr,Ir.length)));else{var Hr=Ze.splitText(Ir.length);tr.push(new qo(Ir,os(Ze))),Ze=Hr}else ca.SUPPORT_RANGE_BOUNDS||(Ze=Ze.splitText(Ir.length));vr+=Ir.length}),tr},os=function(te){var ke=te.ownerDocument;if(ke){var Ze=ke.createElement("html2canvaswrapper");Ze.appendChild(te.cloneNode(!0));var Lt=te.parentNode;if(Lt){Lt.replaceChild(Ze,te);var tr=c(Ze);return Ze.firstChild&&Lt.replaceChild(Ze.firstChild,Ze),tr}}return new h(0,0,0,0)},Zo=function(te,ke,Ze){var Lt=te.ownerDocument;if(!Lt)throw new Error("Node has no owner document");var tr=Lt.createRange();return tr.setStart(te,ke),tr.setEnd(te,ke+Ze),h.fromClientRect(tr.getBoundingClientRect())},$o=function(te,ke){return ke.letterSpacing!==0?i(te).map(function(Ze){return r(Ze)}):ws(te,ke)},ws=function(te,ke){for(var Ze=Ye(te,{lineBreak:ke.lineBreak,wordBreak:ke.overflowWrap===Ut.BREAK_WORD?"break-word":ke.wordBreak}),Lt=[],tr;!(tr=Ze.next()).done;)tr.value&&Lt.push(tr.value.slice());return Lt},Ho=function(){function Je(te,ke){this.text=ll(te.data,ke.textTransform),this.textBounds=gs(this.text,ke,te)}return Je}(),ll=function(te,ke){switch(ke){case ji.LOWERCASE:return te.toLowerCase();case ji.CAPITALIZE:return te.replace(jl,cl);case ji.UPPERCASE:return te.toUpperCase();default:return te}},jl=/(^|\s|:|-|\(|\))([a-z])/g,cl=function(te,ke,Ze){return te.length>0?ke+Ze.toUpperCase():te},Nl=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;return Ze.src=ke.currentSrc||ke.src,Ze.intrinsicWidth=ke.naturalWidth,Ze.intrinsicHeight=ke.naturalHeight,gi.getInstance().addImage(Ze.src),Ze}return te}(io),Is=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;return Ze.canvas=ke,Ze.intrinsicWidth=ke.width,Ze.intrinsicHeight=ke.height,Ze}return te}(io),Gs=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this,Lt=new XMLSerializer;return Ze.svg="data:image/svg+xml,"+encodeURIComponent(Lt.serializeToString(ke)),Ze.intrinsicWidth=ke.width.baseVal.value,Ze.intrinsicHeight=ke.height.baseVal.value,gi.getInstance().addImage(Ze.svg),Ze}return te}(io),el=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;return Ze.value=ke.value,Ze}return te}(io),Hl=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;return Ze.start=ke.start,Ze.reversed=typeof ke.reversed=="boolean"&&ke.reversed===!0,Ze}return te}(io),Kl=[{type:Pe.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Pe.PERCENTAGE_TOKEN,flags:0,number:50}],nc=function(te){return te.width>te.height?new h(te.left+(te.width-te.height)/2,te.top,te.height,te.height):te.width<te.height?new h(te.left,te.top+(te.height-te.width)/2,te.width,te.width):te},ic=function(te){var ke=te.type===ac?new Array(te.value.length+1).join("\u2022"):te.value;return ke.length===0?te.placeholder||"":ke},es="checkbox",tl="radio",ac="password",Rl=707406591,Ml=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;Ze.type=ke.type.toLowerCase(),Ze.checked=ke.checked,Ze.value=ic(ke),(Ze.type===es||Ze.type===tl)&&(Ze.styles.backgroundColor=3739148031,Ze.styles.borderTopColor=Ze.styles.borderRightColor=Ze.styles.borderBottomColor=Ze.styles.borderLeftColor=2779096575,Ze.styles.borderTopWidth=Ze.styles.borderRightWidth=Ze.styles.borderBottomWidth=Ze.styles.borderLeftWidth=1,Ze.styles.borderTopStyle=Ze.styles.borderRightStyle=Ze.styles.borderBottomStyle=Ze.styles.borderLeftStyle=bo.SOLID,Ze.styles.backgroundClip=[Ri.BORDER_BOX],Ze.styles.backgroundOrigin=[0],Ze.bounds=nc(Ze.bounds));switch(Ze.type){case es:Ze.styles.borderTopRightRadius=Ze.styles.borderTopLeftRadius=Ze.styles.borderBottomRightRadius=Ze.styles.borderBottomLeftRadius=Kl;break;case tl:Ze.styles.borderTopRightRadius=Ze.styles.borderTopLeftRadius=Ze.styles.borderBottomRightRadius=Ze.styles.borderBottomLeftRadius=Dl;break}return Ze}return te}(io),bl=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this,Lt=ke.options[ke.selectedIndex||0];return Ze.value=Lt&&Lt.text||"",Ze}return te}(io),zl=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;return Ze.value=ke.value,Ze}return te}(io),ul=function(te){return Rn.parse(hn.create(te).parseComponentValue())},Wl=function(Je){f(te,Je);function te(ke){var Ze=Je.call(this,ke)||this;Ze.src=ke.src,Ze.width=parseInt(ke.width,10)||0,Ze.height=parseInt(ke.height,10)||0,Ze.backgroundColor=Ze.styles.backgroundColor;try{if(ke.contentWindow&&ke.contentWindow.document&&ke.contentWindow.document.documentElement){Ze.tree=rl(ke.contentWindow.document.documentElement);var Lt=ke.contentWindow.document.documentElement?ul(getComputedStyle(ke.contentWindow.document.documentElement).backgroundColor):Li.TRANSPARENT,tr=ke.contentWindow.document.body?ul(getComputedStyle(ke.contentWindow.document.body).backgroundColor):Li.TRANSPARENT;Ze.backgroundColor=En(Lt)?En(tr)?Ze.styles.backgroundColor:tr:Lt}}catch(vr){}return Ze}return te}(io),oc=["OL","UL","MENU"],sc=function Je(te,ke,Ze){for(var Lt=te.firstChild,tr=void 0;Lt;Lt=tr)if(tr=Lt.nextSibling,Ss(Lt)&&Lt.data.trim().length>0)ke.textNodes.push(new Ho(Lt,ke.styles));else if(Ks(Lt)){var vr=ks(Lt);vr.styles.isVisible()&&(wl(Lt,vr,Ze)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),oc.indexOf(Lt.tagName)!==-1&&(vr.flags|=8),ke.elements.push(vr),!Cl(Lt)&&!Qs(Lt)&&!pl(Lt)&&Je(Lt,vr,Ze))}},ks=function(te){return fl(te)?new Nl(te):il(te)?new Is(te):Qs(te)?new Gs(te):Sl(te)?new el(te):Fl(te)?new Hl(te):Vl(te)?new Ml(te):pl(te)?new bl(te):Cl(te)?new zl(te):El(te)?new Wl(te):new io(te)},rl=function(te){var ke=ks(te);return ke.flags|=4,sc(te,ke,ke),ke},wl=function(te,ke,Ze){return ke.styles.isPositionedWithZIndex()||ke.styles.opacity<1||ke.styles.isTransformed()||hl(te)&&Ze.styles.isTransparent()},dl=function(te){return te.isPositioned()||te.isFloating()},Ss=function(te){return te.nodeType===Node.TEXT_NODE},Ks=function(te){return te.nodeType===Node.ELEMENT_NODE},nl=function(te){return Ks(te)&&typeof te.style!="undefined"&&!Ps(te)},Ps=function(te){return typeof te.className=="object"},Sl=function(te){return te.tagName==="LI"},Fl=function(te){return te.tagName==="OL"},Vl=function(te){return te.tagName==="INPUT"},xl=function(te){return te.tagName==="HTML"},Qs=function(te){return te.tagName==="svg"},hl=function(te){return te.tagName==="BODY"},il=function(te){return te.tagName==="CANVAS"},fl=function(te){return te.tagName==="IMG"},El=function(te){return te.tagName==="IFRAME"},zs=function(te){return te.tagName==="STYLE"},Xl=function(te){return te.tagName==="SCRIPT"},Cl=function(te){return te.tagName==="TEXTAREA"},pl=function(te){return te.tagName==="SELECT"},Tl=function(){function Je(){this.counters={}}return Je.prototype.getCounterValue=function(te){var ke=this.counters[te];return ke&&ke.length?ke[ke.length-1]:1},Je.prototype.getCounterValues=function(te){var ke=this.counters[te];return ke||[]},Je.prototype.pop=function(te){var ke=this;te.forEach(function(Ze){return ke.counters[Ze].pop()})},Je.prototype.parse=function(te){var ke=this,Ze=te.counterIncrement,Lt=te.counterReset,tr=!0;Ze!==null&&Ze.forEach(function(Ir){var Hr=ke.counters[Ir.counter];Hr&&Ir.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=Ir.increment)});var vr=[];return tr&&Lt.forEach(function(Ir){var Hr=ke.counters[Ir.counter];vr.push(Ir.counter),Hr||(Hr=ke.counters[Ir.counter]=[]),Hr.push(Ir.reset)}),vr},Je}(),Yl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},kl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},ml={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Js=function(te,ke,Ze,Lt,tr,vr){return te<ke||te>Ze?vl(te,tr,vr.length>0):Lt.integers.reduce(function(Ir,Hr,Kr){for(;te>=Hr;)te-=Hr,Ir+=Lt.values[Kr];return Ir},"")+vr},Ql=function(te,ke,Ze,Lt){var tr="";do Ze||te--,tr=Lt(te)+tr,te/=ke;while(te*ke>=ke);return tr},Ro=function(te,ke,Ze,Lt,tr){var vr=Ze-ke+1;return(te<0?"-":"")+(Ql(Math.abs(te),vr,Lt,function(Ir){return r(Math.floor(Ir%vr)+ke)})+tr)},Ws=function(te,ke,Ze){Ze===void 0&&(Ze=". ");var Lt=ke.length;return Ql(Math.abs(te),Lt,!1,function(tr){return ke[Math.floor(tr%Lt)]})+Ze},al=1<<0,Bs=1<<1,Us=1<<2,gl=1<<3,xs=function(te,ke,Ze,Lt,tr,vr){if(te<-9999||te>9999)return vl(te,Dn.CJK_DECIMAL,tr.length>0);var Ir=Math.abs(te),Hr=tr;if(Ir===0)return ke[0]+Hr;for(var Kr=0;Ir>0&&Kr<=4;Kr++){var cn=Ir%10;cn===0&&Do(vr,al)&&Hr!==""?Hr=ke[cn]+Hr:cn>1||cn===1&&Kr===0||cn===1&&Kr===1&&Do(vr,Bs)||cn===1&&Kr===1&&Do(vr,Us)&&te>100||cn===1&&Kr>1&&Do(vr,gl)?Hr=ke[cn]+(Kr>0?Ze[Kr-1]:"")+Hr:cn===1&&Kr>0&&(Hr=Ze[Kr-1]+Hr),Ir=Math.floor(Ir/10)}return(te<0?Lt:"")+Hr},ol="\u5341\u767E\u5343\u842C",Zs="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",Ll="\uB9C8\uC774\uB108\uC2A4",vl=function(te,ke,Ze){var Lt=Ze?". ":"",tr=Ze?"\u3001":"",vr=Ze?", ":"",Ir=Ze?" ":"";switch(ke){case Dn.DISC:return"\u2022"+Ir;case Dn.CIRCLE:return"\u25E6"+Ir;case Dn.SQUARE:return"\u25FE"+Ir;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(te,48,57,!0,Lt);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(te,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Js(te,1,3999,Yl,Dn.DECIMAL,Lt).toLowerCase();case Dn.UPPER_ROMAN:return Js(te,1,3999,Yl,Dn.DECIMAL,Lt);case Dn.LOWER_GREEK:return Ro(te,945,969,!1,Lt);case Dn.LOWER_ALPHA:return Ro(te,97,122,!1,Lt);case Dn.UPPER_ALPHA:return Ro(te,65,90,!1,Lt);case Dn.ARABIC_INDIC:return Ro(te,1632,1641,!0,Lt);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Js(te,1,9999,kl,Dn.DECIMAL,Lt);case Dn.LOWER_ARMENIAN:return Js(te,1,9999,kl,Dn.DECIMAL,Lt).toLowerCase();case Dn.BENGALI:return Ro(te,2534,2543,!0,Lt);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(te,6112,6121,!0,Lt);case Dn.CJK_EARTHLY_BRANCH:return Ws(te,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(te,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Bs|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(te,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Zs,"\u8CA0",tr,al|Bs|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Bs|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(te,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Zs,"\u8D1F",tr,al|Bs|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(te,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,tr,0);case Dn.JAPANESE_FORMAL:return xs(te,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,tr,al|Bs|Us);case Dn.KOREAN_HANGUL_FORMAL:return xs(te,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ll,vr,al|Bs|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ll,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(te,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ll,vr,al|Bs|Us);case Dn.DEVANAGARI:return Ro(te,2406,2415,!0,Lt);case Dn.GEORGIAN:return Js(te,1,19999,Gl,Dn.DECIMAL,Lt);case Dn.GUJARATI:return Ro(te,2790,2799,!0,Lt);case Dn.GURMUKHI:return Ro(te,2662,2671,!0,Lt);case Dn.HEBREW:return Js(te,1,10999,ml,Dn.DECIMAL,Lt);case Dn.HIRAGANA:return Ws(te,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Dn.HIRAGANA_IROHA:return Ws(te,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Dn.KANNADA:return Ro(te,3302,3311,!0,Lt);case Dn.KATAKANA:return Ws(te,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tr);case Dn.KATAKANA_IROHA:return Ws(te,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tr);case Dn.LAO:return Ro(te,3792,3801,!0,Lt);case Dn.MONGOLIAN:return Ro(te,6160,6169,!0,Lt);case Dn.MYANMAR:return Ro(te,4160,4169,!0,Lt);case Dn.ORIYA:return Ro(te,2918,2927,!0,Lt);case Dn.PERSIAN:return Ro(te,1776,1785,!0,Lt);case Dn.TAMIL:return Ro(te,3046,3055,!0,Lt);case Dn.TELUGU:return Ro(te,3174,3183,!0,Lt);case Dn.THAI:return Ro(te,3664,3673,!0,Lt);case Dn.TIBETAN:return Ro(te,3872,3881,!0,Lt);case Dn.DECIMAL:default:return Ro(te,48,57,!0,Lt)}},ql="data-html2canvas-ignore",Bl=function(){function Je(te,ke){if(this.options=ke,this.scrolledElements=[],this.referenceElement=te,this.counters=new Tl,this.quoteDepth=0,!te.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(te.ownerDocument.documentElement)}return Je.prototype.toIFrame=function(te,ke){var Ze=this,Lt=Jl(te,ke);if(!Lt.contentWindow)return Promise.reject("Unable to find iframe window");var tr=te.defaultView.pageXOffset,vr=te.defaultView.pageYOffset,Ir=Lt.contentWindow,Hr=Ir.document,Kr=lc(Lt).then(function(){return m(Ze,void 0,void 0,function(){var cn;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ec),Ir&&(Ir.scrollTo(ke.left,ke.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Ir.scrollY!==ke.top||Ir.scrollX!==ke.left)&&(Hr.documentElement.style.top=-ke.top+"px",Hr.documentElement.style.left=-ke.left+"px",Hr.documentElement.style.position="absolute")),cn=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof cn=="function"?[2,Promise.resolve().then(function(){return cn(Hr)}).then(function(){return Lt})]:[2,Lt]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Ol(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),Kr},Je.prototype.createElementClone=function(te){if(il(te))return this.createCanvasClone(te);if(zs(te))return this.createStyleClone(te);var ke=te.cloneNode(!1);return fl(ke)&&ke.loading==="lazy"&&(ke.loading="eager"),ke},Je.prototype.createStyleClone=function(te){try{var ke=te.sheet;if(ke&&ke.cssRules){var Ze=[].slice.call(ke.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Lt=te.cloneNode(!1);return Lt.textContent=Ze,Lt}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return te.cloneNode(!1)},Je.prototype.createCanvasClone=function(te){if(this.options.inlineImages&&te.ownerDocument){var ke=te.ownerDocument.createElement("img");try{return ke.src=te.toDataURL(),ke}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Ze=te.cloneNode(!1);try{Ze.width=te.width,Ze.height=te.height;var Lt=te.getContext("2d"),tr=Ze.getContext("2d");return tr&&(Lt?tr.putImageData(Lt.getImageData(0,0,te.width,te.height),0,0):tr.drawImage(te,0,0)),Ze}catch(vr){}return Ze},Je.prototype.cloneNode=function(te){if(Ss(te))return document.createTextNode(te.data);if(!te.ownerDocument)return te.cloneNode(!1);var ke=te.ownerDocument.defaultView;if(ke&&Ks(te)&&(nl(te)||Ps(te))){var Ze=this.createElementClone(te),Lt=ke.getComputedStyle(te),tr=ke.getComputedStyle(te,":before"),vr=ke.getComputedStyle(te,":after");this.referenceElement===te&&nl(Ze)&&(this.clonedReferenceElement=Ze),hl(Ze)&&uc(Ze);for(var Ir=this.counters.parse(new Bi(Lt)),Hr=this.resolvePseudoContent(te,Ze,tr,yl.BEFORE),Kr=te.firstChild;Kr;Kr=Kr.nextSibling)(!Ks(Kr)||!Xl(Kr)&&!Kr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Kr)))&&((!this.options.copyStyles||!Ks(Kr)||!zs(Kr))&&Ze.appendChild(this.cloneNode(Kr)));Hr&&Ze.insertBefore(Hr,Ze.firstChild);var cn=this.resolvePseudoContent(te,Ze,vr,yl.AFTER);return cn&&Ze.appendChild(cn),this.counters.pop(Ir),Lt&&(this.options.copyStyles||Ps(te))&&!El(te)&&Zl(Lt,Ze),(te.scrollTop!==0||te.scrollLeft!==0)&&this.scrolledElements.push([Ze,te.scrollLeft,te.scrollTop]),(Cl(te)||pl(te))&&(Cl(Ze)||pl(Ze))&&(Ze.value=te.value),Ze}return te.cloneNode(!1)},Je.prototype.resolvePseudoContent=function(te,ke,Ze,Lt){var tr=this;if(!Ze)return;var vr=Ze.content,Ir=ke.ownerDocument;if(!Ir||!vr||vr==="none"||vr==="-moz-alt-content"||Ze.display==="none")return;this.counters.parse(new Bi(Ze));var Hr=new ui(Ze),Kr=Ir.createElement("html2canvaspseudoelement");Zl(Ze,Kr),Hr.content.forEach(function(sn){if(sn.type===Pe.STRING_TOKEN)Kr.appendChild(Ir.createTextNode(sn.value));else if(sn.type===Pe.URL_TOKEN){var Fn=Ir.createElement("img");Fn.src=sn.value,Fn.style.opacity="1",Kr.appendChild(Fn)}else if(sn.type===Pe.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Jt);si.length&&Kr.appendChild(Ir.createTextNode(te.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var Kn=sn.values.filter(Er),fi=Kn[0],da=Kn[1];if(fi&&Jt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL;Kr.appendChild(Ir.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var _a=sn.values.filter(Er),fi=_a[0],Pi=_a[1],da=_a[2];if(fi&&Jt(fi)){var _o=tr.counters.getCounterValues(fi.value),no=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL,zo=Pi&&Pi.type===Pe.STRING_TOKEN?Pi.value:"",Po=_o.map(function(fs){return vl(fs,no,!1)}).join(zo);Kr.appendChild(Ir.createTextNode(Po))}}}else if(sn.type===Pe.IDENT_TOKEN)switch(sn.value){case"open-quote":Kr.appendChild(Ir.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":Kr.appendChild(Ir.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:Kr.appendChild(Ir.createTextNode(sn.value))}}),Kr.className=js+" "+_l;var cn=Lt===yl.BEFORE?" "+js:" "+_l;return Ps(ke)?ke.className.baseValue+=cn:ke.className+=cn,Kr},Je.destroy=function(te){return te.parentNode?(te.parentNode.removeChild(te),!0):!1},Je}(),yl;(function(Je){Je[Je.BEFORE=0]="BEFORE",Je[Je.AFTER=1]="AFTER"})(yl||(yl={}));var Jl=function(te,ke){var Ze=te.createElement("iframe");return Ze.className="html2canvas-container",Ze.style.visibility="hidden",Ze.style.position="fixed",Ze.style.left="-10000px",Ze.style.top="0px",Ze.style.border="0",Ze.width=ke.width.toString(),Ze.height=ke.height.toString(),Ze.scrolling="no",Ze.setAttribute(ql,"true"),te.body.appendChild(Ze),Ze},lc=function(te){return new Promise(function(ke,Ze){var Lt=te.contentWindow;if(!Lt)return Ze("No window assigned for iframe");var tr=Lt.document;Lt.onload=te.onload=tr.onreadystatechange=function(){Lt.onload=te.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),ke(te))},50)}})},Zl=function(te,ke){for(var Ze=te.length-1;Ze>=0;Ze--){var Lt=te.item(Ze);Lt!=="content"&&ke.style.setProperty(Lt,te.getPropertyValue(Lt))}return ke},$l=function(te){var ke="";return te&&(ke+="<!DOCTYPE ",te.name&&(ke+=te.name),te.internalSubset&&(ke+=te.internalSubset),te.publicId&&(ke+='"'+te.publicId+'"'),te.systemId&&(ke+='"'+te.systemId+'"'),ke+=">"),ke},Ol=function(te,ke,Ze){te&&te.defaultView&&(ke!==te.defaultView.pageXOffset||Ze!==te.defaultView.pageYOffset)&&te.defaultView.scrollTo(ke,Ze)},ec=function(te){var ke=te[0],Ze=te[1],Lt=te[2];ke.scrollLeft=Ze,ke.scrollTop=Lt},cc=":before",Il=":after",js="___html2canvas___pseudoelement_before",_l="___html2canvas___pseudoelement_after",Al=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,uc=function(te){dc(te,"."+js+cc+Al+`
|
|
|
.`+_l+Il+Al)},dc=function(te,ke){var Ze=te.ownerDocument;if(Ze){var Lt=Ze.createElement("style");Lt.textContent=ke,te.appendChild(Lt)}},sl;(function(Je){Je[Je.VECTOR=0]="VECTOR",Je[Je.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var at=function(te,ke){return te.length===ke.length?te.some(function(Ze,Lt){return Ze===ke[Lt]}):!1},fe=function(te,ke,Ze,Lt,tr){return te.map(function(vr,Ir){switch(Ir){case 0:return vr.add(ke,Ze);case 1:return vr.add(ke+Lt,Ze);case 2:return vr.add(ke+Lt,Ze+tr);case 3:return vr.add(ke,Ze+tr)}return vr})},je=function(){function Je(te,ke){this.type=sl.VECTOR,this.x=te,this.y=ke}return Je.prototype.add=function(te,ke){return new Je(this.x+te,this.y+ke)},Je}(),wt=function(te,ke,Ze){return new je(te.x+(ke.x-te.x)*Ze,te.y+(ke.y-te.y)*Ze)},kt=function(){function Je(te,ke,Ze,Lt){this.type=sl.BEZIER_CURVE,this.start=te,this.startControl=ke,this.endControl=Ze,this.end=Lt}return Je.prototype.subdivide=function(te,ke){var Ze=wt(this.start,this.startControl,te),Lt=wt(this.startControl,this.endControl,te),tr=wt(this.endControl,this.end,te),vr=wt(Ze,Lt,te),Ir=wt(Lt,tr,te),Hr=wt(vr,Ir,te);return ke?new Je(this.start,Ze,vr,Hr):new Je(Hr,Ir,tr,this.end)},Je.prototype.add=function(te,ke){return new Je(this.start.add(te,ke),this.startControl.add(te,ke),this.endControl.add(te,ke),this.end.add(te,ke))},Je.prototype.reverse=function(){return new Je(this.end,this.endControl,this.startControl,this.start)},Je}(),qt=function(te){return te.type===sl.BEZIER_CURVE},ar=function(){function Je(te){var ke=te.styles,Ze=te.bounds,Lt=Mr(ke.borderTopLeftRadius,Ze.width,Ze.height),tr=Lt[0],vr=Lt[1],Ir=Mr(ke.borderTopRightRadius,Ze.width,Ze.height),Hr=Ir[0],Kr=Ir[1],cn=Mr(ke.borderBottomRightRadius,Ze.width,Ze.height),sn=cn[0],Fn=cn[1],si=Mr(ke.borderBottomLeftRadius,Ze.width,Ze.height),Kn=si[0],fi=si[1],da=[];da.push((tr+Hr)/Ze.width),da.push((Kn+sn)/Ze.width),da.push((vr+fi)/Ze.height),da.push((Kr+Fn)/Ze.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,Kr/=Ti,sn/=Ti,Fn/=Ti,Kn/=Ti,fi/=Ti);var na=Ze.width-Hr,_a=Ze.height-Fn,Pi=Ze.width-sn,_o=Ze.height-fi,no=ke.borderTopWidth,zo=ke.borderRightWidth,Po=ke.borderBottomWidth,ka=ke.borderLeftWidth,Wo=Dr(ke.paddingTop,te.bounds.width),fs=Dr(ke.paddingRight,te.bounds.width),vs=Dr(ke.paddingBottom,te.bounds.width),Es=Dr(ke.paddingLeft,te.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(Ze.left,Ze.top,tr,vr,lr.TOP_LEFT):new je(Ze.left,Ze.top),this.topRightBorderBox=Hr>0||Kr>0?yr(Ze.left+na,Ze.top,Hr,Kr,lr.TOP_RIGHT):new je(Ze.left+Ze.width,Ze.top),this.bottomRightBorderBox=sn>0||Fn>0?yr(Ze.left+Pi,Ze.top+_a,sn,Fn,lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width,Ze.top+Ze.height),this.bottomLeftBorderBox=Kn>0||fi>0?yr(Ze.left,Ze.top+_o,Kn,fi,lr.BOTTOM_LEFT):new je(Ze.left,Ze.top+Ze.height),this.topLeftPaddingBox=tr>0||vr>0?yr(Ze.left+ka,Ze.top+no,Math.max(0,tr-ka),Math.max(0,vr-no),lr.TOP_LEFT):new je(Ze.left+ka,Ze.top+no),this.topRightPaddingBox=Hr>0||Kr>0?yr(Ze.left+Math.min(na,Ze.width+ka),Ze.top+no,na>Ze.width+ka?0:Hr-ka,Kr-no,lr.TOP_RIGHT):new je(Ze.left+Ze.width-zo,Ze.top+no),this.bottomRightPaddingBox=sn>0||Fn>0?yr(Ze.left+Math.min(Pi,Ze.width-ka),Ze.top+Math.min(_a,Ze.height+no),Math.max(0,sn-zo),Fn-Po,lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width-zo,Ze.top+Ze.height-Po),this.bottomLeftPaddingBox=Kn>0||fi>0?yr(Ze.left+ka,Ze.top+_o,Math.max(0,Kn-ka),fi-Po,lr.BOTTOM_LEFT):new je(Ze.left+ka,Ze.top+Ze.height-Po),this.topLeftContentBox=tr>0||vr>0?yr(Ze.left+ka+Es,Ze.top+no+Wo,Math.max(0,tr-(ka+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new je(Ze.left+ka+Es,Ze.top+no+Wo),this.topRightContentBox=Hr>0||Kr>0?yr(Ze.left+Math.min(na,Ze.width+ka+Es),Ze.top+no+Wo,na>Ze.width+ka+Es?0:Hr-ka+Es,Kr-(no+Wo),lr.TOP_RIGHT):new je(Ze.left+Ze.width-(zo+fs),Ze.top+no+Wo),this.bottomRightContentBox=sn>0||Fn>0?yr(Ze.left+Math.min(Pi,Ze.width-(ka+Es)),Ze.top+Math.min(_a,Ze.height+no+Wo),Math.max(0,sn-(zo+fs)),Fn-(Po+vs),lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width-(zo+fs),Ze.top+Ze.height-(Po+vs)),this.bottomLeftContentBox=Kn>0||fi>0?yr(Ze.left+ka+Es,Ze.top+_o,Math.max(0,Kn-(ka+Es)),fi-(Po+vs),lr.BOTTOM_LEFT):new je(Ze.left+ka+Es,Ze.top+Ze.height-(Po+vs))}return Je}(),lr;(function(Je){Je[Je.TOP_LEFT=0]="TOP_LEFT",Je[Je.TOP_RIGHT=1]="TOP_RIGHT",Je[Je.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Je[Je.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(te,ke,Ze,Lt,tr){var vr=4*((Math.sqrt(2)-1)/3),Ir=Ze*vr,Hr=Lt*vr,Kr=te+Ze,cn=ke+Lt;switch(tr){case lr.TOP_LEFT:return new kt(new je(te,cn),new je(te,cn-Hr),new je(Kr-Ir,ke),new je(Kr,ke));case lr.TOP_RIGHT:return new kt(new je(te,ke),new je(te+Ir,ke),new je(Kr,cn-Hr),new je(Kr,cn));case lr.BOTTOM_RIGHT:return new kt(new je(Kr,ke),new je(Kr,ke+Hr),new je(te+Ir,cn),new je(te,cn));case lr.BOTTOM_LEFT:default:return new kt(new je(Kr,cn),new je(Kr-Ir,cn),new je(te,ke+Hr),new je(te,ke))}},Vr=function(te){return[te.topLeftBorderBox,te.topRightBorderBox,te.bottomRightBorderBox,te.bottomLeftBorderBox]},Xr=function(te){return[te.topLeftContentBox,te.topRightContentBox,te.bottomRightContentBox,te.bottomLeftContentBox]},Br=function(te){return[te.topLeftPaddingBox,te.topRightPaddingBox,te.bottomRightPaddingBox,te.bottomLeftPaddingBox]},kr=function(){function Je(te,ke,Ze){this.type=0,this.offsetX=te,this.offsetY=ke,this.matrix=Ze,this.target=2|4}return Je}(),Gr=function(){function Je(te,ke){this.type=1,this.target=ke,this.path=te}return Je}(),dn=function(te){return te.type===0},pn=function(te){return te.type===1},ei=function(){function Je(te){this.element=te,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Je}(),ci=function(){function Je(te,ke){if(this.container=te,this.effects=ke.slice(0),this.curves=new ar(te),te.styles.transform!==null){var Ze=te.bounds.left+te.styles.transformOrigin[0].number,Lt=te.bounds.top+te.styles.transformOrigin[1].number,tr=te.styles.transform;this.effects.push(new kr(Ze,Lt,tr))}if(te.styles.overflowX!==We.VISIBLE){var vr=Vr(this.curves),Ir=Br(this.curves);at(vr,Ir)?this.effects.push(new Gr(vr,2|4)):(this.effects.push(new Gr(vr,2)),this.effects.push(new Gr(Ir,4)))}}return Je.prototype.getParentEffects=function(){var te=this.effects.slice(0);if(this.container.styles.overflowX!==We.VISIBLE){var ke=Vr(this.curves),Ze=Br(this.curves);at(ke,Ze)||te.push(new Gr(Ze,2|4))}return te},Je}(),ii=function Je(te,ke,Ze,Lt){te.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),Ir=Do(tr.flags,2),Hr=new ci(tr,te.getParentEffects());Do(tr.styles.display,2048)&&Lt.push(Hr);var Kr=Do(tr.flags,8)?[]:Lt;if(vr||Ir){var cn=vr||tr.styles.isPositioned()?Ze:ke,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var Fn=tr.styles.zIndex.order;if(Fn<0){var si=0;cn.negativeZIndex.some(function(fi,da){return Fn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),cn.negativeZIndex.splice(si,0,sn)}else if(Fn>0){var Kn=0;cn.positiveZIndex.some(function(fi,da){return Fn>=fi.element.container.styles.zIndex.order?(Kn=da+1,!1):Kn>0}),cn.positiveZIndex.splice(Kn,0,sn)}else cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?cn.nonPositionedFloats.push(sn):cn.nonPositionedInlineLevel.push(sn);Je(Hr,sn,vr?sn:Ze,Kr)}else tr.styles.isInlineLevel()?ke.inlineLevel.push(Hr):ke.nonInlineLevel.push(Hr),Je(Hr,ke,Ze,Kr);Do(tr.flags,8)&&Ji(tr,Kr)})},Ji=function(te,ke){for(var Ze=te instanceof Hl?te.start:1,Lt=te instanceof Hl?te.reversed:!1,tr=0;tr<ke.length;tr++){var vr=ke[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(Ze=vr.container.value),vr.listValue=vl(Ze,vr.container.styles.listStyleType,!0),Ze+=Lt?-1:1}},Si=function(te){var ke=new ci(te,[]),Ze=new ei(ke),Lt=[];return ii(ke,Ze,Ze,Lt),Ji(ke.container,Lt),Ze},Va=function(te,ke){switch(ke){case 0:return Ei(te.topLeftBorderBox,te.topLeftPaddingBox,te.topRightBorderBox,te.topRightPaddingBox);case 1:return Ei(te.topRightBorderBox,te.topRightPaddingBox,te.bottomRightBorderBox,te.bottomRightPaddingBox);case 2:return Ei(te.bottomRightBorderBox,te.bottomRightPaddingBox,te.bottomLeftBorderBox,te.bottomLeftPaddingBox);case 3:default:return Ei(te.bottomLeftBorderBox,te.bottomLeftPaddingBox,te.topLeftBorderBox,te.topLeftPaddingBox)}},Ei=function(te,ke,Ze,Lt){var tr=[];return qt(te)?tr.push(te.subdivide(.5,!1)):tr.push(te),qt(Ze)?tr.push(Ze.subdivide(.5,!0)):tr.push(Ze),qt(Lt)?tr.push(Lt.subdivide(.5,!0).reverse()):tr.push(Lt),qt(ke)?tr.push(ke.subdivide(.5,!1).reverse()):tr.push(ke),tr},co=function(te){var ke=te.bounds,Ze=te.styles;return ke.add(Ze.borderLeftWidth,Ze.borderTopWidth,-(Ze.borderRightWidth+Ze.borderLeftWidth),-(Ze.borderTopWidth+Ze.borderBottomWidth))},Ko=function(te){var ke=te.styles,Ze=te.bounds,Lt=Dr(ke.paddingLeft,Ze.width),tr=Dr(ke.paddingRight,Ze.width),vr=Dr(ke.paddingTop,Ze.width),Ir=Dr(ke.paddingBottom,Ze.width);return Ze.add(Lt+ke.borderLeftWidth,vr+ke.borderTopWidth,-(ke.borderRightWidth+ke.borderLeftWidth+Lt+tr),-(ke.borderTopWidth+ke.borderBottomWidth+vr+Ir))},ao=function(te,ke){return te===0?ke.bounds:te===2?Ko(ke):co(ke)},Uo=function(te,ke){return te===Ri.BORDER_BOX?ke.bounds:te===Ri.CONTENT_BOX?Ko(ke):co(ke)},I=function(te,ke,Ze){var Lt=ao(ie(te.styles.backgroundOrigin,ke),te),tr=Uo(ie(te.styles.backgroundClip,ke),te),vr=ee(ie(te.styles.backgroundSize,ke),Ze,Lt),Ir=vr[0],Hr=vr[1],Kr=Mr(ie(te.styles.backgroundPosition,ke),Lt.width-Ir,Lt.height-Hr),cn=Me(ie(te.styles.backgroundRepeat,ke),Kr,vr,Lt,tr),sn=Math.round(Lt.left+Kr[0]),Fn=Math.round(Lt.top+Kr[1]);return[cn,sn,Fn,Ir,Hr]},M=function(te){return Jt(te)&&te.value===Ra.AUTO},Z=function(te){return typeof te=="number"},ee=function(te,ke,Ze){var Lt=ke[0],tr=ke[1],vr=ke[2],Ir=te[0],Hr=te[1];if(an(Ir)&&Hr&&an(Hr))return[Dr(Ir,Ze.width),Dr(Hr,Ze.height)];var Kr=Z(vr);if(Jt(Ir)&&(Ir.value===Ra.CONTAIN||Ir.value===Ra.COVER)){if(Z(vr)){var cn=Ze.width/Ze.height;return cn<vr!==(Ir.value===Ra.COVER)?[Ze.width,Ze.width/vr]:[Ze.height*vr,Ze.height]}return[Ze.width,Ze.height]}var sn=Z(Lt),Fn=Z(tr),si=sn||Fn;if(M(Ir)&&(!Hr||M(Hr))){if(sn&&Fn)return[Lt,tr];if(!Kr&&!si)return[Ze.width,Ze.height];if(si&&Kr){var Kn=sn?Lt:tr*vr,fi=Fn?tr:Lt/vr;return[Kn,fi]}var da=sn?Lt:Ze.width,Ti=Fn?tr:Ze.height;return[da,Ti]}if(Kr){var na=0,_a=0;return an(Ir)?na=Dr(Ir,Ze.width):an(Hr)&&(_a=Dr(Hr,Ze.height)),M(Ir)?na=_a*vr:(!Hr||M(Hr))&&(_a=na/vr),[na,_a]}var Pi=null,_o=null;if(an(Ir)?Pi=Dr(Ir,Ze.width):Hr&&an(Hr)&&(_o=Dr(Hr,Ze.height)),Pi!==null&&(!Hr||M(Hr))&&(_o=sn&&Fn?Pi/Lt*tr:Ze.height),_o!==null&&M(Ir)&&(Pi=sn&&Fn?_o/tr*Lt:Ze.width),Pi!==null&&_o!==null)return[Pi,_o];throw new Error("Unable to calculate background-size for element")},ie=function(te,ke){var Ze=te[ke];return typeof Ze=="undefined"?te[0]:Ze},Me=function(te,ke,Ze,Lt,tr){var vr=ke[0],Ir=ke[1],Hr=Ze[0],Kr=Ze[1];switch(te){case fo.REPEAT_X:return[new je(Math.round(Lt.left),Math.round(Lt.top+Ir)),new je(Math.round(Lt.left+Lt.width),Math.round(Lt.top+Ir)),new je(Math.round(Lt.left+Lt.width),Math.round(Kr+Lt.top+Ir)),new je(Math.round(Lt.left),Math.round(Kr+Lt.top+Ir))];case fo.REPEAT_Y:return[new je(Math.round(Lt.left+vr),Math.round(Lt.top)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.height+Lt.top)),new je(Math.round(Lt.left+vr),Math.round(Lt.height+Lt.top))];case fo.NO_REPEAT:return[new je(Math.round(Lt.left+vr),Math.round(Lt.top+Ir)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+Ir)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+Ir+Kr)),new je(Math.round(Lt.left+vr),Math.round(Lt.top+Ir+Kr))];default:return[new je(Math.round(tr.left),Math.round(tr.top)),new je(Math.round(tr.left+tr.width),Math.round(tr.top)),new je(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new je(Math.round(tr.left),Math.round(tr.height+tr.top))]}},mt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Nt="Hidden Text",zt=function(){function Je(te){this._data={},this._document=te}return Je.prototype.parseMetrics=function(te,ke){var Ze=this._document.createElement("div"),Lt=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;Ze.style.visibility="hidden",Ze.style.fontFamily=te,Ze.style.fontSize=ke,Ze.style.margin="0",Ze.style.padding="0",vr.appendChild(Ze),Lt.src=mt,Lt.width=1,Lt.height=1,Lt.style.margin="0",Lt.style.padding="0",Lt.style.verticalAlign="baseline",tr.style.fontFamily=te,tr.style.fontSize=ke,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Nt)),Ze.appendChild(tr),Ze.appendChild(Lt);var Ir=Lt.offsetTop-tr.offsetTop+2;Ze.removeChild(tr),Ze.appendChild(this._document.createTextNode(Nt)),Ze.style.lineHeight="normal",Lt.style.verticalAlign="super";var Hr=Lt.offsetTop-Ze.offsetTop+2;return vr.removeChild(Ze),{baseline:Ir,middle:Hr}},Je.prototype.getMetrics=function(te,ke){var Ze=te+" "+ke;return typeof this._data[Ze]=="undefined"&&(this._data[Ze]=this.parseMetrics(te,ke)),this._data[Ze]},Je}(),Yt=1e4,Cr=function(){function Je(te){this._activeEffects=[],this.canvas=te.canvas?te.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=te,te.canvas||(this.canvas.width=Math.floor(te.width*te.scale),this.canvas.height=Math.floor(te.height*te.scale),this.canvas.style.width=te.width+"px",this.canvas.style.height=te.height+"px"),this.fontMetrics=new zt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-te.x+te.scrollX,-te.y+te.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(te.id).debug("Canvas renderer initialized ("+te.width+"x"+te.height+" at "+te.x+","+te.y+") with scale "+te.scale)}return Je.prototype.applyEffects=function(te,ke){for(var Ze=this;this._activeEffects.length;)this.popEffect();te.filter(function(Lt){return Do(Lt.target,ke)}).forEach(function(Lt){return Ze.applyEffect(Lt)})},Je.prototype.applyEffect=function(te){this.ctx.save(),dn(te)&&(this.ctx.translate(te.offsetX,te.offsetY),this.ctx.transform(te.matrix[0],te.matrix[1],te.matrix[2],te.matrix[3],te.matrix[4],te.matrix[5]),this.ctx.translate(-te.offsetX,-te.offsetY)),pn(te)&&(this.path(te.path),this.ctx.clip()),this._activeEffects.push(te)},Je.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},Je.prototype.renderStack=function(te){return m(this,void 0,void 0,function(){var ke;return v(this,function(Ze){switch(Ze.label){case 0:return ke=te.element.container.styles,ke.isVisible()?(this.ctx.globalAlpha=ke.opacity,[4,this.renderStackContent(te)]):[3,2];case 1:Ze.sent(),Ze.label=2;case 2:return[2]}})})},Je.prototype.renderNode=function(te){return m(this,void 0,void 0,function(){return v(this,function(ke){switch(ke.label){case 0:return te.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(te)]:[3,3];case 1:return ke.sent(),[4,this.renderNodeContent(te)];case 2:ke.sent(),ke.label=3;case 3:return[2]}})})},Je.prototype.renderTextWithLetterSpacing=function(te,ke){var Ze=this;if(ke===0)this.ctx.fillText(te.text,te.bounds.left,te.bounds.top+te.bounds.height);else{var Lt=i(te.text).map(function(tr){return r(tr)});Lt.reduce(function(tr,vr){return Ze.ctx.fillText(vr,tr,te.bounds.top+te.bounds.height),tr+Ze.ctx.measureText(vr).width},te.bounds.left)}},Je.prototype.createFontStyle=function(te){var ke=te.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),Ze=te.fontFamily.join(", "),Lt=rt(te.fontSize)?""+te.fontSize.number+te.fontSize.unit:te.fontSize.number+"px";return[[te.fontStyle,ke,te.fontWeight,Lt,Ze].join(" "),Ze,Lt]},Je.prototype.renderTextNode=function(te,ke){return m(this,void 0,void 0,function(){var Ze,Lt,tr,vr,Ir=this;return v(this,function(Hr){return Ze=this.createFontStyle(ke),Lt=Ze[0],tr=Ze[1],vr=Ze[2],this.ctx.font=Lt,te.textBounds.forEach(function(Kr){Ir.ctx.fillStyle=In(ke.color),Ir.renderTextWithLetterSpacing(Kr,ke.letterSpacing);var cn=ke.textShadow;cn.length&&Kr.text.trim().length&&(cn.slice(0).reverse().forEach(function(sn){Ir.ctx.shadowColor=In(sn.color),Ir.ctx.shadowOffsetX=sn.offsetX.number*Ir.options.scale,Ir.ctx.shadowOffsetY=sn.offsetY.number*Ir.options.scale,Ir.ctx.shadowBlur=sn.blur.number,Ir.ctx.fillText(Kr.text,Kr.bounds.left,Kr.bounds.top+Kr.bounds.height)}),Ir.ctx.shadowColor="",Ir.ctx.shadowOffsetX=0,Ir.ctx.shadowOffsetY=0,Ir.ctx.shadowBlur=0),ke.textDecorationLine.length&&(Ir.ctx.fillStyle=In(ke.textDecorationColor||ke.color),ke.textDecorationLine.forEach(function(sn){switch(sn){case 1:var Fn=Ir.fontMetrics.getMetrics(tr,vr).baseline;Ir.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top+Fn),Kr.bounds.width,1);break;case 2:Ir.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top),Kr.bounds.width,1);break;case 3:var si=Ir.fontMetrics.getMetrics(tr,vr).middle;Ir.ctx.fillRect(Kr.bounds.left,Math.ceil(Kr.bounds.top+si),Kr.bounds.width,1);break}}))}),[2]})})},Je.prototype.renderReplacedElement=function(te,ke,Ze){if(Ze&&te.intrinsicWidth>0&&te.intrinsicHeight>0){var Lt=Ko(te),tr=Br(ke);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ze,0,0,te.intrinsicWidth,te.intrinsicHeight,Lt.left,Lt.top,Lt.width,Lt.height),this.ctx.restore()}},Je.prototype.renderNodeContent=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Ir,Hr,Kr,Hr,cn,sn,Fn,si,Kn,fi,da,Ti,Hr,na,_a,Kn;return v(this,function(Pi){switch(Pi.label){case 0:this.applyEffects(te.effects,4),ke=te.container,Ze=te.curves,Lt=ke.styles,tr=0,vr=ke.textNodes,Pi.label=1;case 1:return tr<vr.length?(Ir=vr[tr],[4,this.renderTextNode(Ir,Lt)]):[3,4];case 2:Pi.sent(),Pi.label=3;case 3:return tr++,[3,1];case 4:if(!(ke instanceof Nl))return[3,8];Pi.label=5;case 5:return Pi.trys.push([5,7,,8]),[4,this.options.cache.match(ke.src)];case 6:return Hr=Pi.sent(),this.renderReplacedElement(ke,Ze,Hr),[3,8];case 7:return Kr=Pi.sent(),la.getInstance(this.options.id).error("Error loading image "+ke.src),[3,8];case 8:if(ke instanceof Is&&this.renderReplacedElement(ke,Ze,ke.canvas),!(ke instanceof Gs))return[3,12];Pi.label=9;case 9:return Pi.trys.push([9,11,,12]),[4,this.options.cache.match(ke.svg)];case 10:return Hr=Pi.sent(),this.renderReplacedElement(ke,Ze,Hr),[3,12];case 11:return cn=Pi.sent(),la.getInstance(this.options.id).error("Error loading svg "+ke.svg.substring(0,255)),[3,12];case 12:return ke instanceof Wl&&ke.tree?(sn=new Je({id:this.options.id,scale:this.options.scale,backgroundColor:ke.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:ke.width,height:ke.height,cache:this.options.cache,windowWidth:ke.width,windowHeight:ke.height}),[4,sn.render(ke.tree)]):[3,14];case 13:Fn=Pi.sent(),ke.width&&ke.height&&this.ctx.drawImage(Fn,0,0,ke.width,ke.height,ke.bounds.left,ke.bounds.top,ke.bounds.width,ke.bounds.height),Pi.label=14;case 14:if(ke instanceof Ml&&(si=Math.min(ke.bounds.width,ke.bounds.height),ke.type===es?ke.checked&&(this.ctx.save(),this.path([new je(ke.bounds.left+si*.39363,ke.bounds.top+si*.79),new je(ke.bounds.left+si*.16,ke.bounds.top+si*.5549),new je(ke.bounds.left+si*.27347,ke.bounds.top+si*.44071),new je(ke.bounds.left+si*.39694,ke.bounds.top+si*.5649),new je(ke.bounds.left+si*.72983,ke.bounds.top+si*.23),new je(ke.bounds.left+si*.84,ke.bounds.top+si*.34085),new je(ke.bounds.left+si*.39363,ke.bounds.top+si*.79)]),this.ctx.fillStyle=In(Rl),this.ctx.fill(),this.ctx.restore()):ke.type===tl&&(ke.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ke.bounds.left+si/2,ke.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=In(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(ke)&&ke.value.length){this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=In(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(ke.styles.textAlign),Kn=Ko(ke),fi=0;switch(ke.styles.textAlign){case Cn.CENTER:fi+=Kn.width/2;break;case Cn.RIGHT:fi+=Kn.width;break}da=Kn.add(fi,0,0,-Kn.height/2+1),this.ctx.save(),this.path([new je(Kn.left,Kn.top),new je(Kn.left+Kn.width,Kn.top),new je(Kn.left+Kn.width,Kn.top+Kn.height),new je(Kn.left,Kn.top+Kn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(ke.value,da),Lt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(ke.styles.display,2048))return[3,20];if(!(ke.styles.listStyleImage!==null))return[3,19];if(Ti=ke.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,Pi.label=15;case 15:return Pi.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Pi.sent(),this.ctx.drawImage(Hr,ke.bounds.left-(Hr.width+10),ke.bounds.top),[3,18];case 17:return _a=Pi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:te.listValue&&ke.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=In(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Kn=new h(ke.bounds.left,ke.bounds.top+Dr(ke.styles.paddingTop,ke.bounds.width),ke.bounds.width,as(Lt.lineHeight,Lt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(te.listValue,Kn),Lt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Pi.label=20;case 20:return[2]}})})},Je.prototype.renderStackContent=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Lt,Ir,Hr,Lt,Kr,cn,Lt,sn,Fn,Lt,si,Kn,Lt,fi,da,Lt;return v(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(te.element)];case 1:Ti.sent(),ke=0,Ze=te.negativeZIndex,Ti.label=2;case 2:return ke<Ze.length?(Lt=Ze[ke],[4,this.renderStack(Lt)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return ke++,[3,2];case 5:return[4,this.renderNodeContent(te.element)];case 6:Ti.sent(),tr=0,vr=te.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Lt=vr[tr],[4,this.renderNode(Lt)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:Ir=0,Hr=te.nonPositionedFloats,Ti.label=11;case 11:return Ir<Hr.length?(Lt=Hr[Ir],[4,this.renderStack(Lt)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return Ir++,[3,11];case 14:Kr=0,cn=te.nonPositionedInlineLevel,Ti.label=15;case 15:return Kr<cn.length?(Lt=cn[Kr],[4,this.renderStack(Lt)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return Kr++,[3,15];case 18:sn=0,Fn=te.inlineLevel,Ti.label=19;case 19:return sn<Fn.length?(Lt=Fn[sn],[4,this.renderNode(Lt)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,Kn=te.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<Kn.length?(Lt=Kn[si],[4,this.renderStack(Lt)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=te.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Lt=da[fi],[4,this.renderStack(Lt)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},Je.prototype.mask=function(te){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(te.slice(0).reverse()),this.ctx.closePath()},Je.prototype.path=function(te){this.ctx.beginPath(),this.formatPath(te),this.ctx.closePath()},Je.prototype.formatPath=function(te){var ke=this;te.forEach(function(Ze,Lt){var tr=qt(Ze)?Ze.start:Ze;Lt===0?ke.ctx.moveTo(tr.x,tr.y):ke.ctx.lineTo(tr.x,tr.y),qt(Ze)&&ke.ctx.bezierCurveTo(Ze.startControl.x,Ze.startControl.y,Ze.endControl.x,Ze.endControl.y,Ze.end.x,Ze.end.y)})},Je.prototype.renderRepeat=function(te,ke,Ze,Lt){this.path(te),this.ctx.fillStyle=ke,this.ctx.translate(Ze,Lt),this.ctx.fill(),this.ctx.translate(-Ze,-Lt)},Je.prototype.resizeImage=function(te,ke,Ze){if(te.width===ke&&te.height===Ze)return te;var Lt=this.canvas.ownerDocument.createElement("canvas");Lt.width=ke,Lt.height=Ze;var tr=Lt.getContext("2d");return tr.drawImage(te,0,0,te.width,te.height,0,0,ke,Ze),Lt},Je.prototype.renderBackgroundImage=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Ir;return v(this,function(Hr){switch(Hr.label){case 0:ke=te.styles.backgroundImage.length-1,Ze=function(cn){var sn,Fn,si,Kn,fi,da,Ti,na,_a,Pi,_o,fi,da,Ti,na,_a,no,zo,Po,ka,Wo,fs,vs,Es,vc,Pi,tc,fi,pc,mc,na,_a,gc,da,Ti,yc,Ul,Ac,bc,wc,hc,Sc,xc;return v(this,function(rc){switch(rc.label){case 0:if(!(cn.type===Ca.URL))return[3,5];sn=void 0,Fn=cn.url,rc.label=1;case 1:return rc.trys.push([1,3,,4]),[4,Lt.options.cache.match(Fn)];case 2:return sn=rc.sent(),[3,4];case 3:return si=rc.sent(),la.getInstance(Lt.options.id).error("Error loading background-image "+Fn),[3,4];case 4:return sn&&(Kn=I(te,ke,[sn.width,sn.height,sn.width/sn.height]),fi=Kn[0],da=Kn[1],Ti=Kn[2],na=Kn[3],_a=Kn[4],Pi=Lt.ctx.createPattern(Lt.resizeImage(sn,na,_a),"repeat"),Lt.renderRepeat(fi,Pi,da,Ti)),[3,6];case 5:to(cn)?(_o=I(te,ke,[null,null,null]),fi=_o[0],da=_o[1],Ti=_o[2],na=_o[3],_a=_o[4],no=qi(cn.angle,na,_a),zo=no[0],Po=no[1],ka=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=_a,Es=vs.getContext("2d"),vc=Es.createLinearGradient(Po,Wo,ka,fs),mi(cn.stops,zo).forEach(function(fc){return vc.addColorStop(fc.stop,In(fc.color))}),Es.fillStyle=vc,Es.fillRect(0,0,na,_a),na>0&&_a>0&&(Pi=Lt.ctx.createPattern(vs,"repeat"),Lt.renderRepeat(fi,Pi,da,Ti))):Lo(cn)&&(tc=I(te,ke,[null,null,null]),fi=tc[0],pc=tc[1],mc=tc[2],na=tc[3],_a=tc[4],gc=cn.position.length===0?[sr]:cn.position,da=Dr(gc[0],na),Ti=Dr(gc[gc.length-1],_a),yc=ya(cn,da,Ti,na,_a),Ul=yc[0],Ac=yc[1],Ul>0&&Ul>0&&(bc=Lt.ctx.createRadialGradient(pc+da,mc+Ti,0,pc+da,mc+Ti,Ul),mi(cn.stops,Ul*2).forEach(function(fc){return bc.addColorStop(fc.stop,In(fc.color))}),Lt.path(fi),Lt.ctx.fillStyle=bc,Ul!==Ac?(wc=te.bounds.left+.5*te.bounds.width,hc=te.bounds.top+.5*te.bounds.height,Sc=Ac/Ul,xc=1/Sc,Lt.ctx.save(),Lt.ctx.translate(wc,hc),Lt.ctx.transform(1,0,0,Sc,0,0),Lt.ctx.translate(-wc,-hc),Lt.ctx.fillRect(pc,xc*(mc-hc)+hc,na,_a*xc),Lt.ctx.restore()):Lt.ctx.fill())),rc.label=6;case 6:return ke--,[2]}})},Lt=this,tr=0,vr=te.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(Ir=vr[tr],[5,Ze(Ir)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},Je.prototype.renderBorder=function(te,ke,Ze){return m(this,void 0,void 0,function(){return v(this,function(Lt){return this.path(Va(Ze,ke)),this.ctx.fillStyle=In(te),this.ctx.fill(),[2]})})},Je.prototype.renderNodeBackgroundAndBorders=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Ir,Hr,Kr,cn=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(te.effects,2),ke=te.container.styles,Ze=!En(ke.backgroundColor)||ke.backgroundImage.length,Lt=[{style:ke.borderTopStyle,color:ke.borderTopColor},{style:ke.borderRightStyle,color:ke.borderRightColor},{style:ke.borderBottomStyle,color:ke.borderBottomColor},{style:ke.borderLeftStyle,color:ke.borderLeftColor}],tr=en(ie(ke.backgroundClip,0),te.curves),Ze||ke.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(ke.backgroundColor)||(this.ctx.fillStyle=In(ke.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(te.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),ke.boxShadow.slice(0).reverse().forEach(function(Fn){cn.ctx.save();var si=Vr(te.curves),Kn=Fn.inset?0:Yt,fi=fe(si,-Kn+(Fn.inset?1:-1)*Fn.spread.number,(Fn.inset?1:-1)*Fn.spread.number,Fn.spread.number*(Fn.inset?-2:2),Fn.spread.number*(Fn.inset?-2:2));Fn.inset?(cn.path(si),cn.ctx.clip(),cn.mask(fi)):(cn.mask(si),cn.ctx.clip(),cn.path(fi)),cn.ctx.shadowOffsetX=Fn.offsetX.number+Kn,cn.ctx.shadowOffsetY=Fn.offsetY.number,cn.ctx.shadowColor=In(Fn.color),cn.ctx.shadowBlur=Fn.blur.number,cn.ctx.fillStyle=Fn.inset?In(Fn.color):"rgba(0,0,0,1)",cn.ctx.fill(),cn.ctx.restore()}),sn.label=2;case 2:vr=0,Ir=0,Hr=Lt,sn.label=3;case 3:return Ir<Hr.length?(Kr=Hr[Ir],Kr.style!==bo.NONE&&!En(Kr.color)?[4,this.renderBorder(Kr.color,vr,te.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Ir++,[3,3];case 7:return[2]}})})},Je.prototype.render=function(te){return m(this,void 0,void 0,function(){var ke;return v(this,function(Ze){switch(Ze.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=In(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),ke=Si(te),[4,this.renderStack(ke)];case 1:return Ze.sent(),this.applyEffects([],2),[2,this.canvas]}})})},Je}(),Ur=function(te){return te instanceof zl||te instanceof bl?!0:te instanceof Ml&&te.type!==tl&&te.type!==es},en=function(te,ke){switch(te){case Ri.BORDER_BOX:return Vr(ke);case Ri.CONTENT_BOX:return Xr(ke);case Ri.PADDING_BOX:default:return Br(ke)}},nn=function(te){switch(te){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function Je(te){this.canvas=te.canvas?te.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=te,this.canvas.width=Math.floor(te.width*te.scale),this.canvas.height=Math.floor(te.height*te.scale),this.canvas.style.width=te.width+"px",this.canvas.style.height=te.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-te.x+te.scrollX,-te.y+te.scrollY),la.getInstance(te.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+te.width+"x"+te.height+" at "+te.x+","+te.y+") with scale "+te.scale)}return Je.prototype.render=function(te){return m(this,void 0,void 0,function(){var ke,Ze;return v(this,function(Lt){switch(Lt.label){case 0:return ke=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,te),[4,Bn(ke)];case 1:return Ze=Lt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=In(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Ze,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},Je}(),Bn=function(te){return new Promise(function(ke,Ze){var Lt=new Image;Lt.onload=function(){ke(Lt)},Lt.onerror=Ze,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(te))})},Zn=void 0,Jn=function(te){return Rn.parse(hn.create(te).parseComponentValue())},oi=function(te,ke){return ke===void 0&&(ke={}),li(te,ke)};typeof window!="undefined"&&gi.setContext(window);var li=function(te,ke){return m(Zn,void 0,void 0,function(){var Ze,Lt,tr,vr,Ir,Hr,Kr,cn,sn,Fn,si,Kn,fi,da,Ti,na,_a,Pi,_o,no,zo,Po,ka,Wo,fs,Wo;return v(this,function(vs){switch(vs.label){case 0:if(Ze=te.ownerDocument,!Ze)throw new Error("Element is not attached to a Document");if(Lt=Ze.defaultView,!Lt)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(te)||xl(te)?a(Ze):c(te),Ir=vr.width,Hr=vr.height,Kr=vr.left,cn=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Fn=y({},sn,ke),si={backgroundColor:"#ffffff",cache:ke.cache?ke.cache:gi.create(tr,Fn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Lt.devicePixelRatio||1,windowWidth:Lt.innerWidth,windowHeight:Lt.innerHeight,scrollX:Lt.pageXOffset,scrollY:Lt.pageYOffset,x:Kr,y:cn,width:Math.ceil(Ir),height:Math.ceil(Hr),id:tr},Kn=y({},si,Fn,ke),fi=new h(Kn.scrollX,Kn.scrollY,Kn.windowWidth,Kn.windowHeight),la.create({id:tr,enabled:Kn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Bl(te,{id:tr,onclone:Kn.onclone,ignoreElements:Kn.ignoreElements,inlineImages:Kn.foreignObjectRendering,copyStyles:Kn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(Ze,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),_a=Ze.documentElement?Jn(getComputedStyle(Ze.documentElement).backgroundColor):Li.TRANSPARENT,Pi=Ze.body?Jn(getComputedStyle(Ze.body).backgroundColor):Li.TRANSPARENT,_o=ke.backgroundColor,no=typeof _o=="string"?Jn(_o):_o===null?Li.TRANSPARENT:4294967295,zo=te===Ze.documentElement?En(_a)?En(Pi)?no:Pi:_a:no,Po={id:tr,cache:Kn.cache,canvas:Kn.canvas,backgroundColor:zo,scale:Kn.scale,x:Kn.x,y:Kn.y,scrollX:Kn.scrollX,scrollY:Kn.scrollY,width:Kn.width,height:Kn.height,windowWidth:Kn.windowWidth,windowHeight:Kn.windowHeight},Kn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Po),[4,Wo.render(Ti)]):[3,3];case 2:return ka=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(Kn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),zo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Li.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Po),[4,Wo.render(fs)];case 4:ka=vs.sent(),vs.label=5;case 5:return Kn.removeContainer===!0&&(Bl.destroy(na)||la.getInstance(tr).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance(tr).debug("Finished rendering"),la.destroy(tr),gi.destroy(tr),[2,ka]}})})};return oi})},wPlo:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ygfH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CheckOutlined";var c=y.forwardRef(h);_.default=c},wYyv:function(D,_,e){"use strict";var g=e("R5yR"),f=e("5wUe"),y=function(h,c,a){var i=c<0?h.length+c:c;if(i>=0&&i<h.length){var r=a<0?h.length+a:a,o=h.splice(c,1),d=f(o,1),n=d[0];h.splice(r,0,n)}},m=function(h,c,a){return h=g(h),y(h,c,a),h};D.exports=m,D.exports.mutate=y},wgJM:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=function(v){return+setTimeout(v,16)},f=function(v){return clearTimeout(v)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(g=function(v){return window.requestAnimationFrame(v)},f=function(v){return window.cancelAnimationFrame(v)});function y(m){return g(m)}y.cancel=f},wgjA:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};_.default=g},whVF:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("lNSK"),f=y(e("1q3G"));function y(a){return a&&a.__esModule?a:{default:a}}function m(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){for(var r=0;r<i.length;r++){var o=i[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function h(a,i,r){return i&&v(a.prototype,i),r&&v(a,r),a}var c=function(){function a(){m(this,a),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.deflateInit)(this.strm,this.windowBits)}return h(a,[{key:"deflate",value:function(r){this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var o=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),d=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(o<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var n=[d],l=d.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,o=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),o<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=t.length,n.push(t)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),u=0,p=0;p<n.length;p++)s.set(n[p],u),u+=n[p].length;d=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,d}}]),a}();_.default=c},wlus:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="MinusCircleOutlined";var h=_.a=g.forwardRef(v)},wr5s:function(D,_,e){var g=e("IwbS"),f=g.extendShape,y=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,v){var h=v.cx,c=v.cy,a=Math.max(v.r0||0,0),i=Math.max(v.r,0),r=(i-a)*.5,o=a+r,d=v.startAngle,n=v.endAngle,l=v.clockwise,t=Math.cos(d),s=Math.sin(d),u=Math.cos(n),p=Math.sin(n),w=l?n-d<Math.PI*2:d-n<Math.PI*2;w&&(m.moveTo(t*a+h,s*a+c),m.arc(t*o+h,s*o+c,r,-Math.PI+d,d,!l)),m.arc(h,c,i,d,n,!l),m.moveTo(u*i+h,p*i+c),m.arc(u*o+h,p*o+c,r,n-Math.PI*2,n-Math.PI,!l),a!==0&&(m.arc(h,c,a,n,d,l),m.moveTo(t*a+h,p*a+c)),m.closePath()}});D.exports=y},wt3j:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),m=e("EMyp"),v=m.layoutCovers,h=g.extendComponentView({type:"brush",init:function(a,i){this.ecModel=a,this.api=i,this.model,(this._brushController=new y(i.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(a){return this.model=a,c.apply(this,arguments)},updateTransform:function(a,i){return v(i),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(a,i){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(a,this.ecModel),(!i.isEnd||i.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:f.clone(a),$from:r}),i.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:f.clone(a),$from:r})}});function c(a,i,r,o){(!o||o.$from!==a.id)&&this._brushController.setPanels(a.brushTargetManager.makePanelOpts(r)).enableBrush(a.brushOption).updateCovers(a.areas.slice())}D.exports=h},wy8a:function(D,_,e){var g=e("KxBF");function f(y,m,v){var h=y.length;return v=v===void 0?h:v,!m&&v>=h?y:g(y,m,v)}D.exports=f},x3X8:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue;function y(m,v){var h=m.mapDimension("defaultedLabel",!0),c=h.length;if(c===1)return f(m,v,h[0]);if(c){for(var a=[],i=0;i<h.length;i++){var r=f(m,v,h[i]);a.push(r)}return a.join(" ")}}_.getDefaultLabel=y},x54q:function(D,_,e){},x6Kt:function(D,_,e){var g=e("y+Vt"),f=e("VpOo"),y=e("nPnh"),m=y.subPixelOptimizeRect,v={},h=g.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(a,i){var r,o,d,n;this.subPixelOptimize?(m(v,i,this.style),r=v.x,o=v.y,d=v.width,n=v.height,v.r=i.r,i=v):(r=i.x,o=i.y,d=i.width,n=i.height),i.r?f.buildPath(a,i):a.rect(r,o,d,n),a.closePath();return}});D.exports=h},xGfz:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusSquareOutlined";var h=_.a=g.forwardRef(v)},xKMd:function(D,_){function e(f,y){this.getAllNames=function(){var m=y();return m.mapArray(m.getName)},this.containName=function(m){var v=y();return v.indexOfName(m)>=0},this.indexOfName=function(m){var v=f();return v.indexOfName(m)},this.getItemVisual=function(m,v){var h=f();return h.getItemVisual(m,v)}}var g=e;D.exports=g},xO64:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function y(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(u){return typeof u}:y=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},y(t)}function m(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function v(t,s){for(var u=0;u<s.length;u++){var p=s[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}function h(t,s,u){return s&&v(t.prototype,s),u&&v(t,u),t}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s&&a(t,s)}function a(t,s){return a=Object.setPrototypeOf||function(p,w){return p.__proto__=w,p},a(t,s)}function i(t){var s=d();return function(){var p=n(t),w;if(s){var b=n(this).constructor;w=Reflect.construct(p,arguments,b)}else w=p.apply(this,arguments);return r(this,w)}}function r(t,s){return s&&(y(s)==="object"||typeof s=="function")?s:o(t)}function o(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},n(t)}var l=function(t){c(u,t);var s=i(u);function u(){return m(this,u),s.apply(this,arguments)}return h(u,[{key:"_pngRect",value:function(w,b,E,A,S,T,L){var x=this._readData(S);return x===null?!1:(T.imageRect(w,b,E,A,"image/png",x),!0)}},{key:"_basicRect",value:function(w,b,E,A,S,T,L,x){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(g.default);_.default=l},xRUu:function(D,_,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};_.default=g},xSat:function(D,_){var e={axisPointer:1,tooltip:1,brush:1};function g(f,y,m){var v=y.getComponentByElement(f.topTarget),h=v&&v.coordinateSystem;return v&&v!==m&&!e[v.mainType]&&h&&h.model!==m}_.onIrrelevantElement=g},xTNl:function(D,_){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],g={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};D.exports=g},xYSL:function(D,_){function e(g,f){return g.has(f)}D.exports=e},xb2K:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("5yev")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="RedoOutlined";var c=y.forwardRef(h);_.default=c},xiyX:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),h={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function c(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,m),y("single",v,c,h);var a=v;D.exports=a},xlC8:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(f,y,m,v){for(var h=f&65535|0,c=f>>>16&65535|0,a=0;m!==0;){a=m>2e3?2e3:m,m-=a;do h=h+y[v++]|0,c=c+h|0;while(--a);h%=65521,c%=65521}return h|c<<16|0}},xvlK:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusOutlined";var h=_.a=g.forwardRef(v)},xzDV:function(D,_,e){},"y+Vt":function(D,_,e){var g=e("Gev7"),f=e("bYtY"),y=e("IMiH"),m=e("2DNl"),v=e("3C/r"),h=v.prototype.getCanvasPattern,c=Math.abs,a=new y(!0);function i(o){g.call(this,o),this.path=null}i.prototype={constructor:i,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(d,n){var l=this.style,t=this.path||a,s=l.hasStroke(),u=l.hasFill(),p=l.fill,w=l.stroke,b=u&&!!p.colorStops,E=s&&!!w.colorStops,A=u&&!!p.image,S=s&&!!w.image;if(l.bind(d,this,n),this.setTransform(d),this.__dirty){var T;b&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(d,p,T)),E&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,w,T))}b?d.fillStyle=this._fillGradient:A&&(d.fillStyle=h.call(p,d)),E?d.strokeStyle=this._strokeGradient:S&&(d.strokeStyle=h.call(w,d));var L=l.lineDash,x=l.lineDashOffset,C=!!d.setLineDash,O=this.getGlobalScale();if(t.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||L&&!C&&s?(t.beginPath(d),L&&!C&&(t.setLineDash(L),t.setLineDashOffset(x)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),u)if(l.fillOpacity!=null){var N=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,t.fill(d),d.globalAlpha=N}else t.fill(d);if(L&&C&&(d.setLineDash(L),d.lineDashOffset=x),s)if(l.strokeOpacity!=null){var N=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(d),d.globalAlpha=N}else t.stroke(d);L&&C&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,n,l){},createPathProxy:function(){this.path=new y},getBoundingRect:function(){var d=this._rect,n=this.style,l=!d;if(l){var t=this.path;t||(t=this.path=new y),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),d=t.getBoundingRect()}if(this._rect=d,n.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=d.clone());if(this.__dirty||l){s.copy(d);var u=n.lineWidth,p=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),p>1e-10&&(s.width+=u/p,s.height+=u/p,s.x-=u/p/2,s.y-=u/p/2)}return s}return d},contain:function(d,n){var l=this.transformCoordToLocal(d,n),t=this.getBoundingRect(),s=this.style;if(d=l[0],n=l[1],t.contain(d,n)){var u=this.path.data;if(s.hasStroke()){var p=s.lineWidth,w=s.strokeNoScale?this.getLineScale():1;if(w>1e-10&&(s.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),m.containStroke(u,p/w,d,n)))return!0}if(s.hasFill())return m.contain(u,d,n)}return!1},dirty:function(d){d==null&&(d=!0),d&&(this.__dirtyPath=d,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(d){return this.animate("shape",d)},attrKV:function(d,n){d==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):g.prototype.attrKV.call(this,d,n)},setShape:function(d,n){var l=this.shape;if(l){if(f.isObject(d))for(var t in d)d.hasOwnProperty(t)&&(l[t]=d[t]);else l[d]=n;this.dirty(!0)}return this},getLineScale:function(){var d=this.transform;return d&&c(d[0]-1)>1e-10&&c(d[3]-1)>1e-10?Math.sqrt(c(d[0]*d[3]-d[2]*d[1])):1}},i.extend=function(o){var d=function(t){i.call(this,t),o.style&&this.style.extendFrom(o.style,!1);var s=o.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var p in s)!u.hasOwnProperty(p)&&s.hasOwnProperty(p)&&(u[p]=s[p])}o.init&&o.init.call(this,t)};f.inherits(d,i);for(var n in o)n!=="style"&&n!=="shape"&&(d.prototype[n]=o[n]);return d},f.inherits(i,g);var r=i;D.exports=r},"y+lR":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("z35g");function m(h){y.call(this,h)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(h){var c=this.getAxis("x"),a=this.getAxis("y");return c.contain(c.toLocalCoord(h[0]))&&a.contain(a.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,c,a){var i=this.getAxis("x"),r=this.getAxis("y");return a=a||[],a[0]=i.toGlobalCoord(i.dataToCoord(h[0])),a[1]=r.toGlobalCoord(r.dataToCoord(h[1])),a},clampData:function(h,c){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,r=a.getExtent(),o=i.getExtent(),d=a.parse(h[0]),n=i.parse(h[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(r[0],r[1]),d),Math.max(r[0],r[1])),c[1]=Math.min(Math.max(Math.min(o[0],o[1]),n),Math.max(o[0],o[1])),c},pointToData:function(h,c){var a=this.getAxis("x"),i=this.getAxis("y");return c=c||[],c[0]=a.coordToData(a.toLocalCoord(h[0])),c[1]=i.coordToData(i.toLocalCoord(h[1])),c},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),a=Math.min(h[0],h[1]),i=Math.min(c[0],c[1]),r=Math.max(h[0],h[1])-a,o=Math.max(c[0],c[1])-i,d=new f(a,i,r,o);return d}},g.inherits(m,y);var v=m;D.exports=v},"y0+3":function(D,_,e){"use strict";e.d(_,"a",function(){return o}),e.d(_,"b",function(){return n});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},y={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function v(l,t,s){if(t=t.toLowerCase(),s==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in f||(f[t]=g.test(t)),f[t]?parseFloat(s)||0:s}function h(l,t){var s=arguments.length,u=m(l);return t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,s===1?u:v(l,t,u[t]||l.style[t])}function c(l,t,s){var u=arguments.length;if(t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,u===3)return typeof s=="number"&&g.test(t)&&(s="".concat(s,"px")),l.style[t]=s,s;for(var p in t)t.hasOwnProperty(p)&&c(l,p,t[p]);return m(l)}function a(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function i(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function r(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function o(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(l){var t=l.getBoundingClientRect(),s=document.documentElement;return{left:t.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},y1pI:function(D,_,e){var g=e("ljhN");function f(y,m){for(var v=y.length;v--;)if(g(y[v][0],m))return v;return-1}D.exports=f},y23F:function(D,_){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(m){for(var v=m.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(g(v,m),"dragstart",m.event))},_drag:function(m){var v=this._draggingTarget;if(v){var h=m.offsetX,c=m.offsetY,a=h-this._x,i=c-this._y;this._x=h,this._y=c,v.drift(a,i,m),this.dispatchToElement(g(v,m),"drag",m.event);var r=this.findHover(h,c,v).target,o=this._dropTarget;this._dropTarget=r,v!==r&&(o&&r!==o&&this.dispatchToElement(g(o,m),"dragleave",m.event),r&&r!==o&&this.dispatchToElement(g(r,m),"dragenter",m.event))}},_dragEnd:function(m){var v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(g(v,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(g(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function g(y,m){return{target:y,topTarget:m&&m.topTarget}}var f=e;D.exports=f},y2l5:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,v){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});D.exports=y},y3Kf:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="UpOutlined";var h=_.a=g.forwardRef(v)},y3NT:function(D,_,e){var g=e("OELB"),f=g.parsePercent,y=e("bYtY"),m=Math.PI/180;function v(a,i,r,o){i.eachSeriesByType(a,function(d){var n=d.get("center"),l=d.get("radius");y.isArray(l)||(l=[0,l]),y.isArray(n)||(n=[n,n]);var t=r.getWidth(),s=r.getHeight(),u=Math.min(t,s),p=f(n[0],t),w=f(n[1],s),b=f(l[0],u/2),E=f(l[1],u/2),A=-d.get("startAngle")*m,S=d.get("minAngle")*m,T=d.getData().tree.root,L=d.getViewRoot(),x=L.depth,C=d.get("sort");C!=null&&h(L,C);var O=0;y.each(L.children,function(W){!isNaN(W.getValue())&&O++});var N=L.getValue(),F=Math.PI/(N||O)*2,k=L.depth>0,P=L.height-(k?-1:1),B=(E-b)/(P||1),z=d.get("clockwise"),R=d.get("stillShowZeroSum"),U=z?1:-1,j=function(W,G){if(!W)return;var $=G;if(W!==T){var ge=W.getValue(),q=N===0&&R?F:ge*F;q<S&&(q=S),$=G+U*q;var Se=W.depth-x-(k?-1:1),Ce=b+B*Se,Ae=b+B*(Se+1),Ue=W.getModel();Ue.get("r0")!=null&&(Ce=f(Ue.get("r0"),u/2)),Ue.get("r")!=null&&(Ae=f(Ue.get("r"),u/2)),W.setLayout({angle:q,startAngle:G,endAngle:$,clockwise:z,cx:p,cy:w,r0:Ce,r:Ae})}if(W.children&&W.children.length){var Qe=0;y.each(W.children,function(gt){Qe+=j(gt,G+Qe)})}return $-G};if(k){var H=b,V=b+B,X=Math.PI*2;T.setLayout({angle:X,startAngle:A,endAngle:A+X,clockwise:z,cx:p,cy:w,r0:H,r:V})}j(L,A)})}function h(a,i){var r=a.children||[];a.children=c(r,i),r.length&&y.each(a.children,function(o){h(o,i)})}function c(a,i){if(typeof i=="function")return a.sort(i);var r=i==="asc";return a.sort(function(o,d){var n=(o.getValue()-d.getValue())*(r?1:-1);return n===0?(o.dataIndex-d.dataIndex)*(r?-1:1):n})}D.exports=v},y3Yb:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("HBhm")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PaperClipOutlined";var c=y.forwardRef(h);_.default=c},"y4/Y":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("zTMp"),m=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),g.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var h=v.axisPointer.link;h&&!f.isArray(h)&&(v.axisPointer.link=[h])}}),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,function(v,h){v.getComponent("axisPointer").coordSysAxesInfo=y.collect(v,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(D,_,e){var g=e("bYtY"),f=e("+TT/"),y=f.getLayoutRect;function m(h,c,a){var i=h.option,r=i.align;if(r!=null&&r!=="auto")return r;for(var o={width:c.getWidth(),height:c.getHeight()},d=i.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[d],t=[0,null,10],s={},u=0;u<3;u++)s[n[1-d][u]]=t[u],s[l[u]]=u===2?a[0]:i[l[u]];var p=[["x","width",3],["y","height",0]][d],w=y(s,o,i.padding);return l[(w.margin[p[2]]||0)+w[p[0]]+w[p[1]]*.5<o[p[1]]*.5?0:1]}function v(h,c){return g.each(h||[],function(a){a.dataIndex!=null&&(a.dataIndexInside=a.dataIndex,a.dataIndex=null),a.highlightKey="visualMap"+(c?c.componentIndex:"")}),h}_.getItemAlign=m,_.makeHighDownBatch=v},y8nQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("gwTy"),m=e.n(y),v=e("1GLa")},yEEn:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ArrowDownOutlined";var h=_.a=g.forwardRef(v)},yGk4:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Set");D.exports=y},yO87:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,m=e("IwbS"),v=m.Group,h=e("OELB"),c=h.parsePercent,a=e("FBjb"),i=3;function r(t){return g.isArray(t)||(t=[+t,+t]),t}function o(t,s){var u=s.rippleEffectColor||s.color;t.eachChild(function(p){p.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function d(t,s){v.call(this);var u=new a(t,s),p=new v;this.add(u),this.add(p),p.beforeUpdate=function(){this.attr(u.getScale())},this.updateData(t,s)}var n=d.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var s=t.symbolType,u=t.color,p=this.childAt(1),w=0;w<i;w++){var b=y(s,-1,-1,2,2,u);b.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var E=-w/i*t.period+t.effectOffset;b.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(E).start(),b.animateStyle(!0).when(t.period,{opacity:0}).delay(E).start(),p.add(b)}o(p,t)},n.updateEffectAnimation=function(t){for(var s=this._effectCfg,u=this.childAt(1),p=["symbolType","period","rippleScale"],w=0;w<p.length;w++){var b=p[w];if(s[b]!==t[b]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}o(u,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,s){var u=t.hostModel;this.childAt(0).updateData(t,s);var p=this.childAt(1),w=t.getItemModel(s),b=t.getItemVisual(s,"symbol"),E=r(t.getItemVisual(s,"symbolSize")),A=t.getItemVisual(s,"color");p.attr("scale",E),p.traverse(function(F){F.attr({fill:A})});var S=w.getShallow("symbolOffset");if(S){var T=p.position;T[0]=c(S[0],E[0]),T[1]=c(S[1],E[1])}var L=t.getItemVisual(s,"symbolRotate");p.rotation=(L||0)*Math.PI/180||0;var x={};if(x.showEffectOn=u.get("showEffectOn"),x.rippleScale=w.get("rippleEffect.scale"),x.brushType=w.get("rippleEffect.brushType"),x.period=w.get("rippleEffect.period")*1e3,x.effectOffset=s/t.count(),x.z=w.getShallow("z")||0,x.zlevel=w.getShallow("zlevel")||0,x.symbolType=b,x.color=A,x.rippleEffectColor=w.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),x.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(x):this.startEffectAnimation(x),this._effectCfg=x;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),O=function(){C.highlight(),x.showEffectOn!=="render"&&this.startEffectAnimation(x)},N=function(){C.downplay(),x.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",O,this).on("mouseout",N,this).on("emphasis",O,this).on("normal",N,this)}this._effectCfg=x},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(d,v);var l=d;D.exports=l},yS9w:function(D,_,e){var g=e("MEGo"),f=g.parseSVG,y=g.makeViewBoxTransform,m=e("4fz+"),v=e("x6Kt"),h=e("bYtY"),c=h.assert,a=h.createHashMap,i=e("mFDi"),r=e("4NO4"),o=r.makeInner,d=o(),n={load:function(t,s){var u=d(s).originRoot;if(u)return{root:u,boundingRect:d(s).boundingRect};var p=l(s);return d(s).originRoot=p.root,d(s).boundingRect=p.boundingRect,p},makeGraphic:function(t,s,u){var p=d(s),w=p.rootMap||(p.rootMap=a()),b=w.get(u);if(b)return b;var E=p.originRoot,A=p.boundingRect;return p.originRootHostKey?b=l(s,A).root:(p.originRootHostKey=u,b=E),w.set(u,b)},removeGraphic:function(t,s,u){var p=d(s),w=p.rootMap;w&&w.removeKey(u),u===p.originRootHostKey&&(p.originRootHostKey=null)}};function l(t,s){var u=t.svgXML,p,w;try{p=u&&f(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},w=p.root,c(w!=null)}catch(L){throw new Error(`Invalid svg format
|
|
|
`+L.message)}var b=p.width,E=p.height,A=p.viewBoxRect;if(s||(s=b==null||E==null?w.getBoundingRect():new i(0,0,0,0),b!=null&&(s.width=b),E!=null&&(s.height=E)),A){var S=y(A,s.width,s.height),T=w;w=new m,w.add(T),T.scale=S.scale,T.position=S.position}return w.setClipPath(new v({shape:s.plain()})),{root:w,boundingRect:s}}D.exports=n},yWXo:function(D,_,e){var g=e("IwbS"),f=e("oVpE"),y=f.createSymbol,m=e("OS9S"),v=4,h=g.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(r,o){var d=o.points,n=o.size,l=this.symbolProxy,t=l.shape,s=r.getContext?r.getContext():r,u=s&&n[0]<v;if(u)return;for(var p=0;p<d.length;){var w=d[p++],b=d[p++];if(isNaN(w)||isNaN(b))continue;if(this.softClipShape&&!this.softClipShape.contain(w,b))continue;t.x=w-n[0]/2,t.y=b-n[1]/2,t.width=n[0],t.height=n[1],l.buildPath(r,t,!0)}},afterBrush:function(r){var o=this.shape,d=o.points,n=o.size,l=n[0]<v;if(!l)return;this.setTransform(r);for(var t=0;t<d.length;){var s=d[t++],u=d[t++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;r.fillRect(s-n[0]/2,u-n[1]/2,n[0],n[1])}this.restoreTransform(r)},findDataIndex:function(r,o){for(var d=this.shape,n=d.points,l=d.size,t=Math.max(l[0],4),s=Math.max(l[1],4),u=n.length/2-1;u>=0;u--){var p=u*2,w=n[p]-t/2,b=n[p+1]-s/2;if(r>=w&&o>=b&&r<=w+t&&o<=b+s)return u}return-1}});function c(){this.group=new g.Group}var a=c.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(r,o){this.group.removeAll();var d=new h({rectHover:!0,cursor:"default"});d.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(d,r,!1,o),this.group.add(d),this._incremental=null},a.updateLayout=function(r){if(this._incremental)return;var o=r.getLayout("symbolPoints");this.group.eachChild(function(d){if(d.startIndex!=null){var n=(d.endIndex-d.startIndex)*2,l=d.startIndex*4*2;o=new Float32Array(o.buffer,l,n)}d.setShape("points",o)})},a.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(r,o,d){var n;this._incremental?(n=new h,this._incremental.addDisplayable(n,!0)):(n=new h({rectHover:!0,cursor:"default",startIndex:r.start,endIndex:r.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:o.getLayout("symbolPoints")}),this._setCommon(n,o,!!this._incremental,d)},a._setCommon=function(r,o,d,n){var l=o.hostModel;n=n||{};var t=o.getVisual("symbolSize");r.setShape("size",t instanceof Array?t:[t,t]),r.softClipShape=n.clipShape||null,r.symbolProxy=y(o.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var s=r.shape.size[0]<v;r.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=o.getVisual("color");u&&r.setColor(u),d||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(p){r.dataIndex=null;var w=r.findDataIndex(p.offsetX,p.offsetY);w>=0&&(r.dataIndex=w+(r.startIndex||0))}))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var i=c;D.exports=i},ycre:function(D,_,e){var g=e("711d"),f=g("length");D.exports=f},ye1Q:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LoadingOutlined";var h=_.a=g.forwardRef(v)},ygfH:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};_.default=g},yik8:function(D,_,e){var g=e("bZqE"),f=g.eachAfter,y=g.eachBefore,m=e("Itpr"),v=m.init,h=m.firstWalk,c=m.secondWalk,a=m.separation,i=m.radialCoordinate,r=m.getViewRect;function o(n,l){n.eachSeriesByType("tree",function(t){d(t,l)})}function d(n,l){var t=r(n,l);n.layoutInfo=t;var s=n.get("layout"),u=0,p=0,w=null;s==="radial"?(u=2*Math.PI,p=Math.min(t.height,t.width)/2,w=a(function(P,B){return(P.parentNode===B.parentNode?1:2)/P.depth})):(u=t.width,p=t.height,w=a());var b=n.getData().tree.root,E=b.children[0];if(E){v(b),f(E,h,w),b.hierNode.modifier=-E.hierNode.prelim,y(E,c);var A=E,S=E,T=E;y(E,function(P){var B=P.getLayout().x;B<A.getLayout().x&&(A=P),B>S.getLayout().x&&(S=P),P.depth>T.depth&&(T=P)});var L=A===S?1:w(A,S)/2,x=L-A.getLayout().x,C=0,O=0,N=0,F=0;if(s==="radial")C=u/(S.getLayout().x+L+x),O=p/(T.depth-1||1),y(E,function(P){N=(P.getLayout().x+x)*C,F=(P.depth-1)*O;var B=i(N,F);P.setLayout({x:B.x,y:B.y,rawX:N,rawY:F},!0)});else{var k=n.getOrient();k==="RL"||k==="LR"?(O=p/(S.getLayout().x+L+x),C=u/(T.depth-1||1),y(E,function(P){F=(P.getLayout().x+x)*O,N=k==="LR"?(P.depth-1)*C:u-(P.depth-1)*C,P.setLayout({x:N,y:F},!0)})):(k==="TB"||k==="BT")&&(C=u/(S.getLayout().x+L+x),O=p/(T.depth-1||1),y(E,function(P){N=(P.getLayout().x+x)*C,F=k==="TB"?(P.depth-1)*O:p-(P.depth-1)*O,P.setLayout({x:N,y:F},!0)}))}}}D.exports=o},ynwM:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldFF-globalStorage",read:m,write:v,each:h,remove:c,clearAll:a};var y=f.globalStorage;function m(i){return y[i]}function v(i,r){y[i]=r}function h(i){for(var r=y.length-1;r>=0;r--){var o=y.key(r);i(y[o],o)}}function c(i){return y.removeItem(i)}function a(){h(function(i,r){delete y[i]})}},ypgQ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),m=g.each,v=g.clone,h=g.map,c=g.merge,a=/^(min|max)?(.+)$/;function i(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}i.prototype={constructor:i,setOption:function(s,u){s&&g.each(f.normalizeToArray(s.series),function(b){b&&b.data&&g.isTypedArray(b.data)&&g.setAsPrimitive(b.data)}),s=v(s);var p=this._optionBackup,w=r.call(this,s,u,!p);this._newBaseOption=w.baseOption,p?(l(p.baseOption,w.baseOption),w.timelineOptions.length&&(p.timelineOptions=w.timelineOptions),w.mediaList.length&&(p.mediaList=w.mediaList),w.mediaDefault&&(p.mediaDefault=w.mediaDefault)):this._optionBackup=w},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=h(u.timelineOptions,v),this._mediaList=h(u.mediaList,v),this._mediaDefault=v(u.mediaDefault),this._currentMediaIndices=[],v(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,p=this._timelineOptions;if(p.length){var w=s.getComponent("timeline");w&&(u=v(p[w.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),p=this._api.getHeight(),w=this._mediaList,b=this._mediaDefault,E=[],A=[];if(!w.length&&!b)return A;for(var S=0,T=w.length;S<T;S++)o(w[S].query,u,p)&&E.push(S);return!E.length&&b&&(E=[-1]),E.length&&!n(E,this._currentMediaIndices)&&(A=h(E,function(L){return v(L===-1?b.option:w[L].option)})),this._currentMediaIndices=E,A}};function r(s,u,p){var w=[],b=[],E,A,S=s.timeline;if(s.baseOption&&(A=s.baseOption),(S||s.options)&&(A=A||{},w=(s.options||[]).slice()),s.media){A=A||{};var T=s.media;m(T,function(L){L&&L.option&&(L.query?b.push(L):E||(E=L))})}return A||(A=s),A.timeline||(A.timeline=S),m([A].concat(w).concat(g.map(b,function(L){return L.option})),function(L){m(u,function(x){x(L,p)})}),{baseOption:A,timelineOptions:w,mediaDefault:E,mediaList:b}}function o(s,u,p){var w={width:u,height:p,aspectratio:u/p},b=!0;return g.each(s,function(E,A){var S=A.match(a);if(!S||!S[1]||!S[2])return;var T=S[1],L=S[2].toLowerCase();d(w[L],E,T)||(b=!1)}),b}function d(s,u,p){return p==="min"?s>=u:p==="max"?s<=u:s===u}function n(s,u){return s.join(",")===u.join(",")}function l(s,u){u=u||{},m(u,function(p,w){if(p==null)return;var b=s[w];if(!y.hasClass(w))s[w]=c(b,p,!0);else{p=f.normalizeToArray(p),b=f.normalizeToArray(b);var E=f.mappingToExists(b,p);s[w]=h(E,function(A){return A.option&&A.exist?c(A.exist,A.option,!0):A.exist||A.option})}})}var t=i;D.exports=t},yxFR:function(D,_,e){var g=e("y+Vt"),f=e("nPnh"),y=f.subPixelOptimizeLine,m={},v=g.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,a){var i,r,o,d;this.subPixelOptimize?(y(m,a,this.style),i=m.x1,r=m.y1,o=m.x2,d=m.y2):(i=a.x1,r=a.y1,o=a.x2,d=a.y2);var n=a.percent;if(n===0)return;c.moveTo(i,r),n<1&&(o=i*(1-n)+o*n,d=r*(1-n)+d*n),c.lineTo(o,d)},pointAt:function(c){var a=this.shape;return[a.x1*(1-c)+a.x2*c,a.y1*(1-c)+a.y2*c]}});D.exports=v},z35g:function(D,_,e){var g=e("bYtY");function f(v){return this._axes[v]}var y=function(v){this._axes={},this._dimList=[],this.name=v||""};y.prototype={constructor:y,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return g.map(this._dimList,f,this)},getAxesByScale:function(v){return v=v.toLowerCase(),g.filter(this.getAxes(),function(h){return h.scale.type===v})},addAxis:function(v){var h=v.dim;this._axes[h]=v,this._dimList.push(h)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,h){for(var c=this._dimList,a=v instanceof Array?[]:{},i=0;i<c.length;i++){var r=c[i],o=this._axes[r];a[r]=o[h](v[r])}return a}};var m=y;D.exports=m},z7Xi:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="UploadOutlined";var h=_.a=g.forwardRef(v)},zAh6:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("xEkU"),f=e.n(g),y=e("i6bk");function m(h,c,a,i){var r=a-c;return h/=i/2,h<1?r/2*h*h*h+c:r/2*((h-=2)*h*h+2)+c}function v(h){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=c.getContainer,i=a===void 0?function(){return window}:a,r=c.callback,o=c.duration,d=o===void 0?450:o,n=i(),l=Object(y.a)(n,!0),t=Date.now(),s=function u(){var p=Date.now(),w=p-t,b=m(w>d?d:w,l,h,d);Object(y.b)(n)?n.scrollTo(window.pageXOffset,b):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=b:n.scrollTop=b,w<d?f()(u):typeof r=="function"&&r()};f()(s)}},zDms:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("UOVi"),m=e("72pK"),v=g.each,h=f.asc,c=function(n,l,t,s){this._dimName=n,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=t};c.prototype={constructor:c,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],l=this.ecModel;return l.eachSeries(function(t){if(y.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,u=l.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(u&&u.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,l=this.ecModel,t=this.getAxisModel(),s=n==="x"||n==="y",u,p;s?(p="gridIndex",u=n==="x"?"y":"x"):(p="polarIndex",u=n==="angle"?"radius":"angle");var w;return l.eachComponent(u+"Axis",function(b){(b.get(p)||0)===(t.get(p)||0)&&(w=b)}),w},getMinMaxSpan:function(){return g.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,u=this._dataZoomModel.getRangePropMode(),p=[0,100],w=[],b=[],E;v(["start","end"],function(T,L){var x=n[T],C=n[T+"Value"];u[L]==="percent"?(x==null&&(x=p[L]),C=s.parse(f.linearMap(x,p,l))):(E=!0,C=C==null?l[L]:s.parse(C),x=f.linearMap(C,l,p)),b[L]=C,w[L]=x}),h(b),h(w);var A=this._minMaxSpan;E?S(b,w,l,p,!1):S(w,b,p,l,!0);function S(T,L,x,C,O){var N=O?"Span":"ValueSpan";m(0,T,x,"all",A["min"+N],A["max"+N]);for(var F=0;F<2;F++)L[F]=f.linearMap(T[F],x,C,!0),O&&(L[F]=s.parse(L[F]))}return{valueWindow:b,percentWindow:w}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=a(this,this._dimName,l),o(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,r(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,r(this,!0)},filterData:function(n,l){if(n!==this._dataZoomModel)return;var t=this._dimName,s=this.getTargetSeriesModels(),u=n.get("filterMode"),p=this._valueWindow;if(u==="none")return;v(s,function(b){var E=b.getData(),A=E.mapDimension(t,!0);if(!A.length)return;u==="weakFilter"?E.filterSelf(function(S){for(var T,L,x,C=0;C<A.length;C++){var O=E.get(A[C],S),N=!isNaN(O),F=O<p[0],k=O>p[1];if(N&&!F&&!k)return!0;N&&(x=!0),F&&(T=!0),k&&(L=!0)}return x&&T&&L}):v(A,function(S){if(u==="empty")b.setData(E=E.map(S,function(L){return w(L)?L:NaN}));else{var T={};T[S]=p,E.selectRange(T)}}),v(A,function(S){E.setApproximateExtent(p,S)})});function w(b){return b>=p[0]&&b<=p[1]}}};function a(n,l,t){var s=[Infinity,-Infinity];return v(t,function(u){var p=u.getData();p&&v(p.mapDimension(l,!0),function(w){var b=p.getApproximateExtent(w);b[0]<s[0]&&(s[0]=b[0]),b[1]>s[1]&&(s[1]=b[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),i(n,s),s}function i(n,l){var t=n.getAxisModel(),s=t.getMin(!0),u=t.get("type")==="category",p=u&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:u&&(l[0]=p>0?0:NaN);var w=t.getMax(!0);return w!=null&&w!=="dataMax"&&typeof w!="function"?l[1]=w:u&&(l[1]=p>0?p-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function r(n,l){var t=n.getAxisModel(),s=n._percentWindow,u=n._valueWindow;if(!s)return;var p=f.getPixelPrecision(u,[0,500]);p=Math.min(p,20);var w=l||s[0]===0&&s[1]===100;t.setRange(w?null:+u[0].toFixed(p),w?null:+u[1].toFixed(p))}function o(n){var l=n._minMaxSpan={},t=n._dataZoomModel,s=n._dataExtent;v(["min","max"],function(u){var p=t.get(u+"Span"),w=t.get(u+"ValueSpan");w!=null&&(w=n.getAxisModel().axis.scale.parse(w)),w!=null?p=f.linearMap(s[0]+w,s,[0,100],!0):p!=null&&(w=f.linearMap(p,[0,100],s,!0)-s[0]),l[u+"Span"]=p,l[u+"ValueSpan"]=w})}var d=c;D.exports=d},zM3Q:function(D,_,e){var g=e("4NO4"),f=g.makeInner;function y(){var m=f();return function(v){var h=m(v),c=v.pipelineContext,a=h.large,i=h.progressiveRender,r=h.large=c&&c.large,o=h.progressiveRender=c&&c.progressiveRender;return!!(a^r||i^o)&&"reset"}}D.exports=y},zRKj:function(D,_,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=g.each,m=g.curry;function v(s,u){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(p,s,u),p.seriesInvolved&&a(p,s),p}function h(s,u,p){var w=u.getComponent("tooltip"),b=u.getComponent("axisPointer"),E=b.get("link",!0)||[],A=[];y(p.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var T=t(S.model),L=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=S;var x=S.model,C=x.getModel("tooltip",w);if(y(S.getAxes(),m(k,!1,null)),S.getTooltipAxes&&w&&C.get("show")){var O=C.get("trigger")==="axis",N=C.get("axisPointer.type")==="cross",F=S.getTooltipAxes(C.get("axisPointer.axis"));(O||N)&&y(F.baseAxes,m(k,N?"cross":!0,O)),N&&y(F.otherAxes,m(k,"cross",!1))}function k(P,B,z){var R=z.model.getModel("axisPointer",b),U=R.get("show");if(!U||U==="auto"&&!P&&!l(R))return;B==null&&(B=R.get("triggerTooltip")),R=P?c(z,C,b,u,P,B):R;var j=R.get("snap"),H=t(z.model),V=B||j||z.type==="category",X=s.axesInfo[H]={key:H,axis:z,coordSys:S,axisPointerModel:R,triggerTooltip:B,involveSeries:V,snap:j,useHandle:l(R),seriesModels:[]};L[H]=X,s.seriesInvolved|=V;var W=i(E,z);if(W!=null){var G=A[W]||(A[W]={axesInfo:{}});G.axesInfo[H]=X,G.mapper=E[W].mapper,X.linkGroup=G}}})}function c(s,u,p,w,b,E){var A=u.getModel("axisPointer"),S={};y(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){S[C]=g.clone(A.get(C))}),S.snap=s.type!=="category"&&!!E,A.get("type")==="cross"&&(S.type="line");var T=S.label||(S.label={});if(T.show==null&&(T.show=!1),b==="cross"){var L=A.get("label.show");if(T.show=L!=null?L:!0,!E){var x=S.lineStyle=A.get("crossStyle");x&&g.defaults(T,x.textStyle)}}return s.model.getModel("axisPointer",new f(S,p,w))}function a(s,u){u.eachSeries(function(p){var w=p.coordinateSystem,b=p.get("tooltip.trigger",!0),E=p.get("tooltip.show",!0);if(!w||b==="none"||b===!1||b==="item"||E===!1||p.get("axisPointer.show",!0)===!1)return;y(s.coordSysAxesInfo[t(w.model)],function(A){var S=A.axis;w.getAxis(S.dim)===S&&(A.seriesModels.push(p),A.seriesDataCount==null&&(A.seriesDataCount=0),A.seriesDataCount+=p.getData().count())})},this)}function i(s,u){for(var p=u.model,w=u.dim,b=0;b<s.length;b++){var E=s[b]||{};if(r(E[w+"AxisId"],p.id)||r(E[w+"AxisIndex"],p.componentIndex)||r(E[w+"AxisName"],p.name))return b}}function r(s,u){return s==="all"||g.isArray(s)&&g.indexOf(s,u)>=0||s===u}function o(s){var u=d(s);if(!u)return;var p=u.axisPointerModel,w=u.axis.scale,b=p.option,E=p.get("status"),A=p.get("value");A!=null&&(A=w.parse(A));var S=l(p);E==null&&(b.status=S?"show":"hide");var T=w.getExtent().slice();T[0]>T[1]&&T.reverse(),(A==null||A>T[1])&&(A=T[1]),A<T[0]&&(A=T[0]),b.value=A,S&&(b.status=u.axis.scale.isBlank()?"hide":"show")}function d(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[t(s)]}function n(s){var u=d(s);return u&&u.axisPointerModel}function l(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}_.collect=v,_.fixValue=o,_.getAxisInfo=d,_.getAxisPointerModel=n,_.makeKey=t},zYTA:function(D,_,e){var g=e("bYtY"),f=256;function y(){var v=g.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}y.prototype={update:function(v,h,c,a,i,r){var o=this._getBrush(),d=this._getGradient(v,i,"inRange"),n=this._getGradient(v,i,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),u=v.length;t.width=h,t.height=c;for(var p=0;p<u;++p){var w=v[p],b=w[0],E=w[1],A=w[2],S=a(A);s.globalAlpha=S,s.drawImage(o,b-l,E-l)}if(!t.width||!t.height)return t;for(var T=s.getImageData(0,0,t.width,t.height),L=T.data,x=0,C=L.length,O=this.minOpacity,N=this.maxOpacity,F=N-O;x<C;){var S=L[x+3]/256,k=Math.floor(S*(f-1))*4;if(S>0){var P=r(S)?d:n;S>0&&(S=S*F+O),L[x++]=P[k],L[x++]=P[k+1],L[x++]=P[k+2],L[x++]=P[k+3]*S*256}else x+=4}return s.putImageData(T,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=g.createCanvas()),h=this.pointSize+this.blurSize,c=h*2;v.width=c,v.height=c;var a=v.getContext("2d");return a.clearRect(0,0,c,c),a.shadowOffsetX=c,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-h,h,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),v},_getGradient:function(v,h,c){for(var a=this._gradientPixels,i=a[c]||(a[c]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],o=0,d=0;d<256;d++)h[c](d/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i}};var m=y;D.exports=m},zarK:function(D,_,e){var g=e("YH21"),f=g.addEventListener,y=g.removeEventListener,m=g.normalizeEvent,v=g.getNativeEvent,h=e("bYtY"),c=e("H6uX"),a=e("ItGF"),i=300,r=a.domSupported,o=function(){var P=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],B=["touchstart","touchend","touchmove"],z={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=h.map(P,function(U){var j=U.replace("mouse","pointer");return z.hasOwnProperty(j)?j:U});return{mouse:P,touch:B,pointer:R}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(P){return P==="mousewheel"&&a.browser.firefox?"DOMMouseScroll":P}function l(P){var B=P.pointerType;return B==="pen"||B==="touch"}function t(P){P.touching=!0,P.touchTimer!=null&&(clearTimeout(P.touchTimer),P.touchTimer=null),P.touchTimer=setTimeout(function(){P.touching=!1,P.touchTimer=null},700)}function s(P){P&&(P.zrByTouch=!0)}function u(P,B){return m(P.dom,new w(P,B),!0)}function p(P,B){for(var z=B,R=!1;z&&z.nodeType!==9&&!(R=z.domBelongToZr||z!==B&&z===P.painterRoot);)z=z.parentNode;return R}function w(P,B){this.type=B.type,this.target=this.currentTarget=P.dom,this.pointerType=B.pointerType,this.clientX=B.clientX,this.clientY=B.clientY}var b=w.prototype;b.stopPropagation=b.stopImmediatePropagation=b.preventDefault=h.noop;var E={mousedown:function(B){B=m(this.dom,B),this._mayPointerCapture=[B.zrX,B.zrY],this.trigger("mousedown",B)},mousemove:function(B){B=m(this.dom,B);var z=this._mayPointerCapture;z&&(B.zrX!==z[0]||B.zrY!==z[1])&&C(this,!0),this.trigger("mousemove",B)},mouseup:function(B){B=m(this.dom,B),C(this,!1),this.trigger("mouseup",B)},mouseout:function(B){B=m(this.dom,B),this._pointerCapturing&&(B.zrEventControl="no_globalout");var z=B.toElement||B.relatedTarget;B.zrIsToLocalDOM=p(this,z),this.trigger("mouseout",B)},touchstart:function(B){B=m(this.dom,B),s(B),this._lastTouchMoment=new Date,this.handler.processGesture(B,"start"),E.mousemove.call(this,B),E.mousedown.call(this,B)},touchmove:function(B){B=m(this.dom,B),s(B),this.handler.processGesture(B,"change"),E.mousemove.call(this,B)},touchend:function(B){B=m(this.dom,B),s(B),this.handler.processGesture(B,"end"),E.mouseup.call(this,B),+new Date-this._lastTouchMoment<i&&E.click.call(this,B)},pointerdown:function(B){E.mousedown.call(this,B)},pointermove:function(B){l(B)||E.mousemove.call(this,B)},pointerup:function(B){E.mouseup.call(this,B)},pointerout:function(B){l(B)||E.mouseout.call(this,B)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(P){E[P]=function(B){B=m(this.dom,B),this.trigger(P,B)}});var A={pointermove:function(B){l(B)||A.mousemove.call(this,B)},pointerup:function(B){A.mouseup.call(this,B)},mousemove:function(B){this.trigger("mousemove",B)},mouseup:function(B){var z=this._pointerCapturing;C(this,!1),this.trigger("mouseup",B),z&&(B.zrEventControl="only_globalout",this.trigger("mouseout",B))}};function S(P,B){var z=B.domHandlers;a.pointerEventsSupported?h.each(o.pointer,function(R){L(B,R,function(U){z[R].call(P,U)})}):(a.touchEventsSupported&&h.each(o.touch,function(R){L(B,R,function(U){z[R].call(P,U),t(B)})}),h.each(o.mouse,function(R){L(B,R,function(U){U=v(U),B.touching||z[R].call(P,U)})}))}function T(P,B){a.pointerEventsSupported?h.each(d.pointer,z):a.touchEventsSupported||h.each(d.mouse,z);function z(R){function U(j){j=v(j),p(P,j.target)||(j=u(P,j),B.domHandlers[R].call(P,j))}L(B,R,U,{capture:!0})}}function L(P,B,z,R){P.mounted[B]=z,P.listenerOpts[B]=R,f(P.domTarget,n(B),z,R)}function x(P){var B=P.mounted;for(var z in B)B.hasOwnProperty(z)&&y(P.domTarget,n(z),B[z],P.listenerOpts[z]);P.mounted={}}function C(P,B){if(P._mayPointerCapture=null,r&&P._pointerCapturing^B){P._pointerCapturing=B;var z=P._globalHandlerScope;B?T(P,z):x(z)}}function O(P,B){this.domTarget=P,this.domHandlers=B,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function N(P,B){c.call(this),this.dom=P,this.painterRoot=B,this._localHandlerScope=new O(P,E),r&&(this._globalHandlerScope=new O(document,A)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var F=N.prototype;F.dispose=function(){x(this._localHandlerScope),r&&x(this._globalHandlerScope)},F.setCursor=function(P){this.dom.style&&(this.dom.style.cursor=P||"default")},h.mixin(N,c);var k=N;D.exports=k},zdCA:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("PSzr")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="BarsOutlined";var c=y.forwardRef(h);_.default=c},zeV3:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("H84U"),r=function(n,l){var t={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&l.indexOf(s)<0&&(t[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,s=Object.getOwnPropertySymbols(n);u<s.length;u++)l.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(n,s[u])&&(t[s[u]]=n[s[u]]);return t},o={small:8,middle:16,large:24},d=function(l){var t,s=v.useContext(i.b),u=s.getPrefixCls,p=s.space,w=s.direction,b=l.size,E=b===void 0?(p==null?void 0:p.size)||"small":b,A=l.align,S=l.className,T=l.children,L=l.direction,x=L===void 0?"horizontal":L,C=l.prefixCls,O=r(l,["size","align","className","children","direction","prefixCls"]),N=v.Children.count(T);if(N===0)return null;var F=A===void 0&&x==="horizontal"?"center":A,k=u("space",C),P=a()(k,"".concat(k,"-").concat(x),(t={},m()(t,"".concat(k,"-rtl"),w==="rtl"),m()(t,"".concat(k,"-align-").concat(F),F),t),S),B="".concat(k,"-item"),z=w==="rtl"?"marginLeft":"marginRight";return v.createElement("div",f()({className:P},O),v.Children.map(T,function(R,U){return v.createElement("div",{className:B,key:"".concat(B,"-").concat(U),style:U===N-1||R===null||R===void 0?{}:m()({},x==="vertical"?"marginBottom":z,typeof E=="string"?o[E]:E)},R)}))};_.a=d},zoYe:function(D,_,e){var g=e("nmnc"),f=e("eUgh"),y=e("Z0cm"),m=e("/9aa"),v=1/0,h=g?g.prototype:void 0,c=h?h.toString:void 0;function a(i){if(typeof i=="string")return i;if(y(i))return f(i,a)+"";if(m(i))return c?c.call(i):"";var r=i+"";return r=="0"&&1/i==-v?"-0":r}D.exports=a},zs7G:function(D,_,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DoubleRightOutlined";var h=_.a=g.forwardRef(v)},zuHt:function(D,_,e){var g=e("bYtY");function f(y){var m={};y.eachSeriesByType("map",function(v){var h=v.getMapType();if(v.getHostGeoModel()||m[h])return;var c={};g.each(v.seriesGroup,function(i){var r=i.coordinateSystem,o=i.originalData;i.get("showLegendSymbol")&&y.getComponent("legend")&&o.each(o.mapDimension("value"),function(d,n){var l=o.getName(n),t=r.getRegion(l);if(!t||isNaN(d))return;var s=c[l]||0,u=r.dataToPoint(t.center);c[l]=s+1,o.setItemLayout(n,{point:u,offset:s})})});var a=v.getData();a.each(function(i){var r=a.getName(i),o=a.getItemLayout(i)||{};o.showLabel=!c[r],a.setItemLayout(i,o)}),m[h]=!0})}D.exports=f}}]);
|