|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("Ff2n"),D=e("VTBJ"),I=e("1OyB"),E=e("vuIU"),C=e("Ji7U"),f=e("LK+K"),t=e("q1tI"),i=e.n(t),s=e("TSYQ"),o=e.n(s),r=function(u){Object(C.a)(l,u);var n=Object(f.a)(l);function l(a){var c;Object(I.a)(this,l),c=n.call(this,a),c.handleChange=function(h){var y=c.props,A=y.disabled,v=y.onChange;A||("checked"in c.props||c.setState({checked:h.target.checked}),v&&v({target:Object(D.a)(Object(D.a)({},c.props),{},{checked:h.target.checked}),stopPropagation:function(){h.stopPropagation()},preventDefault:function(){h.preventDefault()},nativeEvent:h.nativeEvent}))},c.saveInput=function(h){c.input=h};var d="checked"in a?a.checked:a.defaultChecked;return c.state={checked:d},c}return Object(E.a)(l,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var c,d=this.props,h=d.prefixCls,y=d.className,A=d.style,v=d.name,g=d.id,x=d.type,m=d.disabled,b=d.readOnly,S=d.tabIndex,P=d.onClick,M=d.onFocus,R=d.onBlur,F=d.onKeyDown,L=d.onKeyPress,U=d.onKeyUp,N=d.autoFocus,Q=d.value,z=d.required,_=Object(w.a)(d,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),J=Object.keys(_).reduce(function(W,ie){return(ie.substr(0,5)==="aria-"||ie.substr(0,5)==="data-"||ie==="role")&&(W[ie]=_[ie]),W},{}),Y=this.state.checked,k=o()(h,y,(c={},Object(T.a)(c,"".concat(h,"-checked"),Y),Object(T.a)(c,"".concat(h,"-disabled"),m),c));return i.a.createElement("span",{className:k,style:A},i.a.createElement("input",Object(B.a)({name:v,id:g,type:x,required:z,readOnly:b,disabled:m,tabIndex:S,className:"".concat(h,"-input"),checked:!!Y,onClick:P,onFocus:M,onBlur:R,onKeyUp:U,onKeyDown:F,onKeyPress:L,onChange:this.handleChange,autoFocus:N,ref:this.saveInput,value:Q},J)),i.a.createElement("span",{className:"".concat(h,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(c,d){return"checked"in c?Object(D.a)(Object(D.a)({},d),{},{checked:c.checked}):null}}]),l}(t.Component);r.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},V.a=r},"+BJd":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("6MrE"),D=e.n(w)},"+QRC":function(oe,V,e){"use strict";var B=e("E9nw"),T={"text/plain":"Text","text/html":"Url",default:"Text"},w="Copy to clipboard: #{key}, Enter";function D(E){var C=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return E.replace(/#{\s*key\s*}/g,C)}function I(E,C){var f,t,i,s,o,r,u=!1;C||(C={}),f=C.debug||!1;try{i=B(),s=document.createRange(),o=document.getSelection(),r=document.createElement("span"),r.textContent=E,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(l){if(l.stopPropagation(),C.format)if(l.preventDefault(),typeof l.clipboardData=="undefined"){f&&console.warn("unable to use e.clipboardData"),f&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=T[C.format]||T.default;window.clipboardData.setData(a,E)}else l.clipboardData.clearData(),l.clipboardData.setData(C.format,E);C.onCopy&&(l.preventDefault(),C.onCopy(l.clipboardData))}),document.body.appendChild(r),s.selectNodeContents(r),o.addRange(s);var n=document.execCommand("copy");if(!n)throw new Error("copy command was unsuccessful");u=!0}catch(l){f&&console.error("unable to copy using execCommand: ",l),f&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(C.format||"text",E),C.onCopy&&C.onCopy(window.clipboardData),u=!0}catch(a){f&&console.error("unable to copy using clipboardData: ",a),f&&console.error("falling back to prompt"),t=D("message"in C?C.message:w),window.prompt(t,E)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),r&&document.body.removeChild(r),i()}return u}oe.exports=I},"+TT/":function(oe,V,e){var B=e("bYtY"),T=e("mFDi"),w=e("OELB"),D=w.parsePercent,I=e("7aKB"),E=B.each,C=["left","right","top","bottom","width","height"],f=[["width","left","right"],["height","top","bottom"]];function t(h,y,A,v,g){var x=0,m=0;v==null&&(v=Infinity),g==null&&(g=Infinity);var b=0;y.eachChild(function(S,P){var M=S.position,R=S.getBoundingRect(),F=y.childAt(P+1),L=F&&F.getBoundingRect(),U,N;if(h==="horizontal"){var Q=R.width+(L?-L.x+R.x:0);U=x+Q,U>v||S.newline?(x=0,U=Q,m+=b+A,b=R.height):b=Math.max(b,R.height)}else{var z=R.height+(L?-L.y+R.y:0);N=m+z,N>g||S.newline?(x+=b+A,m=0,N=z,b=R.width):b=Math.max(b,R.width)}S.newline||(M[0]=x,M[1]=m,h==="horizontal"?x=U+A:m=N+A)})}var i=t,s=B.curry(t,"vertical"),o=B.curry(t,"horizontal");function r(h,y,A){var v=y.width,g=y.height,x=D(h.x,v),m=D(h.y,g),b=D(h.x2,v),S=D(h.y2,g);return(isNaN(x)||isNaN(parseFloat(h.x)))&&(x=0),(isNaN(b)||isNaN(parseFloat(h.x2)))&&(b=v),(isNaN(m)||isNaN(parseFloat(h.y)))&&(m=0),(isNaN(S)||isNaN(parseFloat(h.y2)))&&(S=g),A=I.normalizeCssArray(A||0),{width:Math.max(b-x-A[1]-A[3],0),height:Math.max(S-m-A[0]-A[2],0)}}function u(h,y,A){A=I.normalizeCssArray(A||0);var v=y.width,g=y.height,x=D(h.left,v),m=D(h.top,g),b=D(h.right,v),S=D(h.bottom,g),P=D(h.width,v),M=D(h.height,g),R=A[2]+A[0],F=A[1]+A[3],L=h.aspect;switch(isNaN(P)&&(P=v-b-F-x),isNaN(M)&&(M=g-S-R-m),L!=null&&(isNaN(P)&&isNaN(M)&&(L>v/g?P=v*.8:M=g*.8),isNaN(P)&&(P=L*M),isNaN(M)&&(M=P/L)),isNaN(x)&&(x=v-b-P-F),isNaN(m)&&(m=g-S-M-R),h.left||h.right){case"center":x=v/2-P/2-A[3];break;case"right":x=v-P-F;break}switch(h.top||h.bottom){case"middle":case"center":m=g/2-M/2-A[0];break;case"bottom":m=g-M-R;break}x=x||0,m=m||0,isNaN(P)&&(P=v-F-x-(b||0)),isNaN(M)&&(M=g-R-m-(S||0));var U=new T(x+A[3],m+A[0],P,M);return U.margin=A,U}function n(h,y,A,v,g){var x=!g||!g.hv||g.hv[0],m=!g||!g.hv||g.hv[1],b=g&&g.boundingMode||"all";if(!(!x&&!m)){var S;if(b==="raw")S=h.type==="group"?new T(0,0,+y.width||0,+y.height||0):h.getBoundingRect();else if(S=h.getBoundingRect(),h.needLocalTransform()){var P=h.getLocalTransform();S=S.clone(),S.applyTransform(P)}y=u(B.defaults({width:S.width,height:S.height},y),A,v);var M=h.position,R=x?y.x-S.x:0,F=m?y.y-S.y:0;h.attr("position",b==="raw"?[R,F]:[M[0]+R,M[1]+F])}}function l(h,y){return h[f[y][0]]!=null||h[f[y][1]]!=null&&h[f[y][2]]!=null}function a(h,y,A){!B.isObject(A)&&(A={});var v=A.ignoreSize;!B.isArray(v)&&(v=[v,v]);var g=m(f[0],0),x=m(f[1],1);P(f[0],h,g),P(f[1],h,x);function m(M,R){var F={},L=0,U={},N=0,Q=2;if(E(M,function(J){U[J]=h[J]}),E(M,function(J){b(y,J)&&(F[J]=U[J]=y[J]),S(F,J)&&L++,S(U,J)&&N++}),v[R])return S(y,M[1])?U[M[2]]=null:S(y,M[2])&&(U[M[1]]=null),U;if(N===Q||!L)return U;if(L>=Q)return F;for(var z=0;z<M.length;z++){var _=M[z];if(!b(F,_)&&b(h,_)){F[_]=h[_];break}}return F}function b(M,R){return M.hasOwnProperty(R)}function S(M,R){return M[R]!=null&&M[R]!=="auto"}function P(M,R,F){E(M,function(L){R[L]=F[L]})}}function c(h){return d({},h)}function d(h,y){return y&&h&&E(C,function(A){y.hasOwnProperty(A)&&(h[A]=y[A])}),h}V.LOCATION_PARAMS=C,V.HV_NAMES=f,V.box=i,V.vbox=s,V.hbox=o,V.getAvailableSize=r,V.getLayoutRect=u,V.positionElement=n,V.sizeCalculable=l,V.mergeLayoutParam=a,V.getLayoutParams=c,V.copyLayoutParams=d},"+eQT":function(oe,V,e){"use strict";var B=e("wd/R"),T=e.n(B),w=e("Kwbf"),D={getNow:function(){return T()()},getFixedDate:function(Gt){return T()(Gt,"YYYY-MM-DD")},getEndDate:function(Gt){var sr=Gt.clone();return sr.endOf("month")},getWeekDay:function(Gt){var sr=Gt.clone().locale("en_US");return sr.weekday()+sr.localeData().firstDayOfWeek()},getYear:function(Gt){return Gt.year()},getMonth:function(Gt){return Gt.month()},getDate:function(Gt){return Gt.date()},getHour:function(Gt){return Gt.hour()},getMinute:function(Gt){return Gt.minute()},getSecond:function(Gt){return Gt.second()},addYear:function(Gt,sr){var lr=Gt.clone();return lr.add(sr,"year")},addMonth:function(Gt,sr){var lr=Gt.clone();return lr.add(sr,"month")},addDate:function(Gt,sr){var lr=Gt.clone();return lr.add(sr,"day")},setYear:function(Gt,sr){var lr=Gt.clone();return lr.year(sr)},setMonth:function(Gt,sr){var lr=Gt.clone();return lr.month(sr)},setDate:function(Gt,sr){var lr=Gt.clone();return lr.date(sr)},setHour:function(Gt,sr){var lr=Gt.clone();return lr.hour(sr)},setMinute:function(Gt,sr){var lr=Gt.clone();return lr.minute(sr)},setSecond:function(Gt,sr){var lr=Gt.clone();return lr.second(sr)},isAfter:function(Gt,sr){return Gt.isAfter(sr)},isValidate:function(Gt){return Gt.isValid()},locale:{getWeekFirstDay:function(Gt){var sr=T()().locale(Gt);return sr.localeData().firstDayOfWeek()},getWeekFirstDate:function(Gt,sr){var lr=sr.clone(),Mr=lr.locale(Gt);return Mr.weekday(0)},getWeek:function(Gt,sr){var lr=sr.clone(),Mr=lr.locale(Gt);return Mr.week()},getShortWeekDays:function(Gt){var sr=T()().locale(Gt);return sr.localeData().weekdaysMin()},getShortMonths:function(Gt){var sr=T()().locale(Gt);return sr.localeData().monthsShort()},format:function(Gt,sr,lr){var Mr=sr.clone(),Rr=Mr.locale(Gt);return Rr.format(lr)},parse:function(Gt,sr,lr){for(var Mr=[],Rr=0;Rr<lr.length;Rr+=1){var Vr=lr[Rr],sn=sr;if(Vr.includes("wo")||Vr.includes("Wo")){Vr=Vr.replace(/wo/g,"w").replace(/Wo/g,"W");var vn=Vr.match(/[-YyMmDdHhSsWwGg]+/g),An=sn.match(/[-\d]+/g);vn&&An?(Vr=vn.join(""),sn=An.join("")):Mr.push(Vr.replace(/o/g,""))}var Fn=T()(sn,Vr,Gt,!0);if(Fn.isValid())return Fn}for(var tn=0;tn<Mr.length;tn+=1){var Kr=T()(sr,Mr[tn],Gt,!1);if(Kr.isValid())return Object(w.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Kr}return null}}},I=D,E=e("wx14"),C=e("CWQg"),f=e("q1tI"),t=e("2/Rp");function i(Ke){return f.createElement(t.a,Object(E.a)({size:"small",type:"primary"},Ke))}var s=e("mr32");function o(Ke){return f.createElement(s.a,Object(E.a)({color:"blue"},Ke))}var r=e("rePB"),u=e("VTBJ"),n={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"},l=n,a=e("6VBw"),c=function(Gt,sr){return f.createElement(a.a,Object(u.a)(Object(u.a)({},Gt),{},{ref:sr,icon:l}))};c.displayName="CalendarOutlined";var d=f.forwardRef(c),h={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"},y=h,A=function(Gt,sr){return f.createElement(a.a,Object(u.a)(Object(u.a)({},Gt),{},{ref:sr,icon:y}))};A.displayName="ClockCircleOutlined";var v=f.forwardRef(A),g=e("jN4g"),x={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"},m=x,b=function(Gt,sr){return f.createElement(a.a,Object(u.a)(Object(u.a)({},Gt),{},{ref:sr,icon:m}))};b.displayName="SwapRightOutlined";var S=f.forwardRef(b),P=e("TSYQ"),M=e.n(P),R=e("1OyB"),F=e("vuIU"),L=e("Ji7U"),U=e("LK+K"),N=e("ODXe"),Q=e("6cGi"),z=e("U8pU"),_=e("4IlW"),J=f.createContext({}),Y=J,k={visibility:"hidden"};function W(Ke){var Gt=Ke.prefixCls,sr=Ke.prevIcon,lr=sr===void 0?"\u2039":sr,Mr=Ke.nextIcon,Rr=Mr===void 0?"\u203A":Mr,Vr=Ke.superPrevIcon,sn=Vr===void 0?"\xAB":Vr,vn=Ke.superNextIcon,An=vn===void 0?"\xBB":vn,Fn=Ke.onSuperPrev,tn=Ke.onSuperNext,Kr=Ke.onPrev,on=Ke.onNext,dn=Ke.children,Bn=f.useContext(Y),wn=Bn.hideNextBtn,Nn=Bn.hidePrevBtn;return f.createElement("div",{className:Gt},Fn&&f.createElement("button",{type:"button",onClick:Fn,tabIndex:-1,className:"".concat(Gt,"-super-prev-btn"),style:Nn?k:{}},sn),Kr&&f.createElement("button",{type:"button",onClick:Kr,tabIndex:-1,className:"".concat(Gt,"-prev-btn"),style:Nn?k:{}},lr),f.createElement("div",{className:"".concat(Gt,"-view")},dn),on&&f.createElement("button",{type:"button",onClick:on,tabIndex:-1,className:"".concat(Gt,"-next-btn"),style:wn?k:{}},Rr),tn&&f.createElement("button",{type:"button",onClick:tn,tabIndex:-1,className:"".concat(Gt,"-super-next-btn"),style:wn?k:{}},An))}var ie=W;function fe(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.viewDate,Mr=Ke.onPrevDecades,Rr=Ke.onNextDecades,Vr=f.useContext(Y),sn=Vr.hideHeader;if(sn)return null;var vn="".concat(Gt,"-header"),An=sr.getYear(lr),Fn=Math.floor(An/Kt)*Kt,tn=Fn+Kt-1;return f.createElement(ie,Object(E.a)({},Ke,{prefixCls:vn,onSuperPrev:Mr,onSuperNext:Rr}),Fn,"-",tn)}var Ce=fe;function ge(Ke,Gt,sr,lr,Mr){var Rr=Ke.setHour(Gt,sr);return Rr=Ke.setMinute(Rr,lr),Rr=Ke.setSecond(Rr,Mr),Rr}function de(Ke,Gt,sr){if(!sr)return Gt;var lr=Gt;return lr=Ke.setHour(lr,Ke.getHour(sr)),lr=Ke.setMinute(lr,Ke.getMinute(sr)),lr=Ke.setSecond(lr,Ke.getSecond(sr)),lr}function Pe(Ke,Gt,sr,lr,Mr,Rr){var Vr=Math.floor(Ke/lr)*lr;if(Vr<Ke)return[Vr,60-Mr,60-Rr];var sn=Math.floor(Gt/Mr)*Mr;if(sn<Gt)return[Vr,sn,60-Rr];var vn=Math.floor(sr/Rr)*Rr;return[Vr,sn,vn]}function _e(Ke,Gt){var sr=Ke.getYear(Gt),lr=Ke.getMonth(Gt)+1,Mr=Ke.getEndDate(Ke.getFixedDate("".concat(sr,"-").concat(lr,"-01"))),Rr=Ke.getDate(Mr),Vr=lr<10?"0".concat(lr):"".concat(lr);return"".concat(sr,"-").concat(Vr,"-").concat(Rr)}function Ne(Ke){for(var Gt=Ke.prefixCls,sr=Ke.disabledDate,lr=Ke.onSelect,Mr=Ke.picker,Rr=Ke.rowNum,Vr=Ke.colNum,sn=Ke.prefixColumn,vn=Ke.rowClassName,An=Ke.baseDate,Fn=Ke.getCellClassName,tn=Ke.getCellText,Kr=Ke.getCellNode,on=Ke.getCellDate,dn=Ke.generateConfig,Bn=Ke.titleCell,wn=Ke.headerCells,Nn=f.useContext(Y),qn=Nn.onDateMouseEnter,Ra=Nn.onDateMouseLeave,hi=Nn.mode,na="".concat(Gt,"-cell"),Ba=[],Et=0;Et<Rr;Et+=1){for(var fr=[],hr=void 0,Sr=function(nn){var Zr,Gr=Et*Vr+nn,gn=on(An,Gr),On=Ee({cellDate:gn,mode:hi,disabledDate:sr,generateConfig:dn});nn===0&&(hr=gn,sn&&fr.push(sn(hr)));var cn=Bn&&Bn(gn);fr.push(f.createElement("td",{key:nn,title:cn,className:M()(na,Object(u.a)((Zr={},Object(r.a)(Zr,"".concat(na,"-disabled"),On),Object(r.a)(Zr,"".concat(na,"-start"),tn(gn)===1||Mr==="year"&&Number(cn)%10==0),Object(r.a)(Zr,"".concat(na,"-end"),cn===_e(dn,gn)||Mr==="year"&&Number(cn)%10==9),Zr),Fn(gn))),onClick:function(){On||lr(gn)},onMouseEnter:function(){!On&&qn&&qn(gn)},onMouseLeave:function(){!On&&Ra&&Ra(gn)}},Kr?Kr(gn):f.createElement("div",{className:"".concat(na,"-inner")},tn(gn))))},Er=0;Er<Vr;Er+=1)Sr(Er);Ba.push(f.createElement("tr",{key:Et,className:vn&&vn(hr)},fr))}return f.createElement("div",{className:"".concat(Gt,"-body")},f.createElement("table",{className:"".concat(Gt,"-content")},wn&&f.createElement("thead",null,f.createElement("tr",null,wn)),f.createElement("tbody",null,Ba)))}var He=3,ue=4;function Re(Ke){var Gt=It-1,sr=Ke.prefixCls,lr=Ke.viewDate,Mr=Ke.generateConfig,Rr="".concat(sr,"-cell"),Vr=Mr.getYear(lr),sn=Math.floor(Vr/It)*It,vn=Math.floor(Vr/Kt)*Kt,An=vn+Kt-1,Fn=Mr.setYear(lr,vn-Math.ceil((He*ue*It-Kt)/2)),tn=function(on){var dn,Bn=Mr.getYear(on),wn=Bn+Gt;return dn={},Object(r.a)(dn,"".concat(Rr,"-in-view"),vn<=Bn&&wn<=An),Object(r.a)(dn,"".concat(Rr,"-selected"),Bn===sn),dn};return f.createElement(Ne,Object(E.a)({},Ke,{rowNum:ue,colNum:He,baseDate:Fn,getCellText:function(on){var dn=Mr.getYear(on);return"".concat(dn,"-").concat(dn+Gt)},getCellClassName:tn,getCellDate:function(on,dn){return Mr.addYear(on,dn*It)}}))}var nt=Re,Ve=e("KQm4"),Ge=e("wgJM"),dt=e("x/xZ"),et=new Map;function At(Ke,Gt){var sr;function lr(){Object(dt.a)(Ke)?Gt():sr=Object(Ge.a)(function(){lr()})}return lr(),function(){Ge.a.cancel(sr)}}function Dt(Ke,Gt,sr){if(et.get(Ke)&&cancelAnimationFrame(et.get(Ke)),sr<=0){et.set(Ke,requestAnimationFrame(function(){Ke.scrollTop=Gt}));return}var lr=Gt-Ke.scrollTop,Mr=lr/sr*10;et.set(Ke,requestAnimationFrame(function(){Ke.scrollTop+=Mr,Ke.scrollTop!==Gt&&Dt(Ke,Gt,sr-10)}))}function Ft(Ke,Gt){var sr=Gt.onLeftRight,lr=Gt.onCtrlLeftRight,Mr=Gt.onUpDown,Rr=Gt.onPageUpDown,Vr=Gt.onEnter,sn=Ke.which,vn=Ke.ctrlKey,An=Ke.metaKey;switch(sn){case _.a.LEFT:if(vn||An){if(lr)return lr(-1),!0}else if(sr)return sr(-1),!0;break;case _.a.RIGHT:if(vn||An){if(lr)return lr(1),!0}else if(sr)return sr(1),!0;break;case _.a.UP:if(Mr)return Mr(-1),!0;break;case _.a.DOWN:if(Mr)return Mr(1),!0;break;case _.a.PAGE_UP:if(Rr)return Rr(-1),!0;break;case _.a.PAGE_DOWN:if(Rr)return Rr(1),!0;break;case _.a.ENTER:if(Vr)return Vr(),!0;break}return!1}function St(Ke,Gt,sr,lr){var Mr=Ke;if(!Mr)switch(Gt){case"time":Mr=lr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Mr="gggg-wo";break;case"month":Mr="YYYY-MM";break;case"quarter":Mr="YYYY-[Q]Q";break;case"year":Mr="YYYY";break;default:Mr=sr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Mr}function $e(Ke,Gt,sr){var lr=Ke==="time"?8:10,Mr=typeof Gt=="function"?Gt(sr.getNow()).length:Gt.length;return Math.max(lr,Mr)+2}var lt=null,Ut=new Set;function gt(Ke){return!lt&&typeof window!="undefined"&&window.addEventListener&&(lt=function(sr){Object(Ve.a)(Ut).forEach(function(lr){lr(sr)})},window.addEventListener("mousedown",lt)),Ut.add(Ke),function(){Ut.delete(Ke),Ut.size===0&&(window.removeEventListener("mousedown",lt),lt=null)}}function ft(Ke){var Gt=Ke.target;if(Ke.composed&&Gt.shadowRoot){var sr;return((sr=Ke.composedPath)===null||sr===void 0?void 0:sr.call(Ke)[0])||Gt}return Gt}var rt=function(Gt){return Gt==="month"||Gt==="date"?"year":Gt},Ie=function(Gt){return Gt==="date"?"month":Gt},Ot=function(Gt){return Gt==="month"||Gt==="date"?"quarter":Gt},Xt=function(Gt){return Gt==="date"?"week":Gt},Vt={year:rt,month:Ie,quarter:Ot,week:Xt,time:null,date:null};function bt(Ke,Gt){return Ke.some(function(sr){return sr&&sr.contains(Gt)})}var It=10,Kt=It*10;function Se(Ke){var Gt=Ke.prefixCls,sr=Ke.onViewDateChange,lr=Ke.generateConfig,Mr=Ke.viewDate,Rr=Ke.operationRef,Vr=Ke.onSelect,sn=Ke.onPanelChange,vn="".concat(Gt,"-decade-panel");Rr.current={onKeyDown:function(Kr){return Ft(Kr,{onLeftRight:function(dn){Vr(lr.addYear(Mr,dn*It),"key")},onCtrlLeftRight:function(dn){Vr(lr.addYear(Mr,dn*Kt),"key")},onUpDown:function(dn){Vr(lr.addYear(Mr,dn*It*He),"key")},onEnter:function(){sn("year",Mr)}})}};var An=function(Kr){var on=lr.addYear(Mr,Kr*Kt);sr(on),sn(null,on)},Fn=function(Kr){Vr(Kr,"mouse"),sn("year",Kr)};return f.createElement("div",{className:vn},f.createElement(Ce,Object(E.a)({},Ke,{prefixCls:Gt,onPrevDecades:function(){An(-1)},onNextDecades:function(){An(1)}})),f.createElement(nt,Object(E.a)({},Ke,{prefixCls:Gt,onSelect:Fn})))}var Ye=Se,q=7;function Ae(Ke,Gt){if(!Ke&&!Gt)return!0;if(!Ke||!Gt)return!1}function Me(Ke,Gt,sr){var lr=Ae(Gt,sr);if(typeof lr=="boolean")return lr;var Mr=Math.floor(Ke.getYear(Gt)/10),Rr=Math.floor(Ke.getYear(sr)/10);return Mr===Rr}function De(Ke,Gt,sr){var lr=Ae(Gt,sr);return typeof lr=="boolean"?lr:Ke.getYear(Gt)===Ke.getYear(sr)}function ze(Ke,Gt){var sr=Math.floor(Ke.getMonth(Gt)/3);return sr+1}function pe(Ke,Gt,sr){var lr=Ae(Gt,sr);return typeof lr=="boolean"?lr:De(Ke,Gt,sr)&&ze(Ke,Gt)===ze(Ke,sr)}function te(Ke,Gt,sr){var lr=Ae(Gt,sr);return typeof lr=="boolean"?lr:De(Ke,Gt,sr)&&Ke.getMonth(Gt)===Ke.getMonth(sr)}function be(Ke,Gt,sr){var lr=Ae(Gt,sr);return typeof lr=="boolean"?lr:Ke.getYear(Gt)===Ke.getYear(sr)&&Ke.getMonth(Gt)===Ke.getMonth(sr)&&Ke.getDate(Gt)===Ke.getDate(sr)}function xe(Ke,Gt,sr){var lr=Ae(Gt,sr);return typeof lr=="boolean"?lr:Ke.getHour(Gt)===Ke.getHour(sr)&&Ke.getMinute(Gt)===Ke.getMinute(sr)&&Ke.getSecond(Gt)===Ke.getSecond(sr)}function Z(Ke,Gt,sr,lr){var Mr=Ae(sr,lr);return typeof Mr=="boolean"?Mr:Ke.locale.getWeek(Gt,sr)===Ke.locale.getWeek(Gt,lr)}function se(Ke,Gt,sr){return be(Ke,Gt,sr)&&xe(Ke,Gt,sr)}function he(Ke,Gt,sr,lr){return!Gt||!sr||!lr?!1:!be(Ke,Gt,lr)&&!be(Ke,sr,lr)&&Ke.isAfter(lr,Gt)&&Ke.isAfter(sr,lr)}function Oe(Ke,Gt,sr){var lr=Gt.locale.getWeekFirstDay(Ke),Mr=Gt.setDate(sr,1),Rr=Gt.getWeekDay(Mr),Vr=Gt.addDate(Mr,lr-Rr);return Gt.getMonth(Vr)===Gt.getMonth(sr)&&Gt.getDate(Vr)>1&&(Vr=Gt.addDate(Vr,-7)),Vr}function ne(Ke,Gt,sr){var lr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Gt){case"year":return sr.addYear(Ke,lr*10);case"quarter":case"month":return sr.addYear(Ke,lr);default:return sr.addMonth(Ke,lr)}}function ce(Ke,Gt){var sr=Gt.generateConfig,lr=Gt.locale,Mr=Gt.format;return typeof Mr=="function"?Mr(Ke):sr.locale.format(lr.locale,Ke,Mr)}function ae(Ke,Gt){var sr=Gt.generateConfig,lr=Gt.locale,Mr=Gt.formatList;return!Ke||typeof Mr[0]=="function"?null:sr.locale.parse(lr.locale,Ke,Mr)}function Ee(Ke){var Gt=Ke.cellDate,sr=Ke.mode,lr=Ke.disabledDate,Mr=Ke.generateConfig;if(!lr)return!1;var Rr=function(dn,Bn,wn){for(var Nn=Bn;Nn<=wn;){var qn=void 0;switch(dn){case"date":{if(qn=Mr.setDate(Gt,Nn),!lr(qn))return!1;break}case"month":{if(qn=Mr.setMonth(Gt,Nn),!Ee({cellDate:qn,mode:"month",generateConfig:Mr,disabledDate:lr}))return!1;break}case"year":{if(qn=Mr.setYear(Gt,Nn),!Ee({cellDate:qn,mode:"year",generateConfig:Mr,disabledDate:lr}))return!1;break}}Nn+=1}return!0};switch(sr){case"date":case"week":return lr(Gt);case"month":{var Vr=1,sn=Mr.getDate(Mr.getEndDate(Gt));return Rr("date",Vr,sn)}case"quarter":{var vn=Math.floor(Mr.getMonth(Gt)/3)*3,An=vn+2;return Rr("month",vn,An)}case"year":return Rr("month",0,11);case"decade":{var Fn=Mr.getYear(Gt),tn=Math.floor(Fn/It)*It,Kr=tn+It-1;return Rr("year",tn,Kr)}}}function ye(Ke){var Gt=f.useContext(Y),sr=Gt.hideHeader;if(sr)return null;var lr=Ke.prefixCls,Mr=Ke.generateConfig,Rr=Ke.locale,Vr=Ke.value,sn=Ke.format,vn="".concat(lr,"-header");return f.createElement(ie,{prefixCls:vn},Vr?ce(Vr,{locale:Rr,format:sn,generateConfig:Mr}):"\xA0")}var Te=ye,je=e("YrtM");function qe(Ke){var Gt=Ke.prefixCls,sr=Ke.units,lr=Ke.onSelect,Mr=Ke.value,Rr=Ke.active,Vr=Ke.hideDisabledOptions,sn="".concat(Gt,"-cell"),vn=f.useContext(Y),An=vn.open,Fn=Object(f.useRef)(null),tn=Object(f.useRef)(new Map),Kr=Object(f.useRef)();return Object(f.useLayoutEffect)(function(){var on=tn.current.get(Mr);on&&An!==!1&&Dt(Fn.current,on.offsetTop,120)},[Mr]),Object(f.useLayoutEffect)(function(){if(An){var on=tn.current.get(Mr);on&&(Kr.current=At(on,function(){Dt(Fn.current,on.offsetTop,0)}))}return function(){var dn;(dn=Kr.current)===null||dn===void 0||dn.call(Kr)}},[An]),f.createElement("ul",{className:M()("".concat(Gt,"-column"),Object(r.a)({},"".concat(Gt,"-column-active"),Rr)),ref:Fn,style:{position:"relative"}},sr.map(function(on){var dn;return Vr&&on.disabled?null:f.createElement("li",{key:on.value,ref:function(wn){tn.current.set(on.value,wn)},className:M()(sn,(dn={},Object(r.a)(dn,"".concat(sn,"-disabled"),on.disabled),Object(r.a)(dn,"".concat(sn,"-selected"),Mr===on.value),dn)),onClick:function(){on.disabled||lr(on.value)}},f.createElement("div",{className:"".concat(sn,"-inner")},on.label))}))}var Le=qe;function ke(Ke,Gt){for(var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",lr=String(Ke);lr.length<Gt;)lr="".concat(sr).concat(Ke);return lr}var tt=function(){for(var Gt=arguments.length,sr=new Array(Gt),lr=0;lr<Gt;lr++)sr[lr]=arguments[lr];return sr};function st(Ke){return Ke==null?[]:Array.isArray(Ke)?Ke:[Ke]}function _t(Ke){var Gt={};return Object.keys(Ke).forEach(function(sr){(sr.substr(0,5)==="data-"||sr.substr(0,5)==="aria-"||sr==="role"||sr==="name")&&sr.substr(0,7)!=="data-__"&&(Gt[sr]=Ke[sr])}),Gt}function Ct(Ke,Gt){return Ke?Ke[Gt]:null}function Rt(Ke,Gt,sr){var lr=[Ct(Ke,0),Ct(Ke,1)];return lr[sr]=typeof Gt=="function"?Gt(lr[sr]):Gt,!lr[0]&&!lr[1]?null:lr}function Wt(Ke,Gt){if(Ke.length!==Gt.length)return!0;for(var sr=0;sr<Ke.length;sr+=1)if(Ke[sr].disabled!==Gt[sr].disabled)return!0;return!1}function vt(Ke,Gt,sr,lr){for(var Mr=[],Rr=Ke;Rr<=Gt;Rr+=sr)Mr.push({label:ke(Rr,2),value:Rr,disabled:(lr||[]).includes(Rr)});return Mr}function Je(Ke){var Gt=Ke.generateConfig,sr=Ke.prefixCls,lr=Ke.operationRef,Mr=Ke.activeColumnIndex,Rr=Ke.value,Vr=Ke.showHour,sn=Ke.showMinute,vn=Ke.showSecond,An=Ke.use12Hours,Fn=Ke.hourStep,tn=Fn===void 0?1:Fn,Kr=Ke.minuteStep,on=Kr===void 0?1:Kr,dn=Ke.secondStep,Bn=dn===void 0?1:dn,wn=Ke.disabledHours,Nn=Ke.disabledMinutes,qn=Ke.disabledSeconds,Ra=Ke.disabledTime,hi=Ke.hideDisabledOptions,na=Ke.onSelect,Ba=[],Et="".concat(sr,"-content"),fr="".concat(sr,"-time-panel"),hr,Sr=Rr?Gt.getHour(Rr):-1,Er=Sr,Wr=Rr?Gt.getMinute(Rr):-1,nn=Rr?Gt.getSecond(Rr):-1,Zr=Gt.getNow(),Gr=f.useMemo(function(){if(Ra){var Jn=Ra(Zr);return[Jn.disabledHours,Jn.disabledMinutes,Jn.disabledSeconds]}return[wn,Nn,qn]},[wn,Nn,qn,Ra,Zr]),gn=Object(N.a)(Gr,3),On=gn[0],cn=gn[1],Dn=gn[2],Mn=function(ei,Na,_n,sa){var wa=Rr||Gt.getNow(),si=Math.max(0,Na),Ka=Math.max(0,_n),ja=Math.max(0,sa);return wa=ge(Gt,wa,!An||!ei?si:si+12,Ka,ja),wa},Yn=vt(0,23,tn,On&&On()),$n=Object(je.a)(function(){return Yn},Yn,Wt);An&&(hr=Er>=12,Er%=12);var Tn=f.useMemo(function(){if(!An)return[!1,!1];var Jn=[!0,!0];return $n.forEach(function(ei){var Na=ei.disabled,_n=ei.value;Na||(_n>=12?Jn[1]=!1:Jn[0]=!1)}),Jn},[An,$n]),ea=Object(N.a)(Tn,2),Kn=ea[0],Fa=ea[1],Ya=f.useMemo(function(){return An?$n.filter(hr?function(Jn){return Jn.value>=12}:function(Jn){return Jn.value<12}).map(function(Jn){var ei=Jn.value%12,Na=ei===0?"12":ke(ei,2);return Object(u.a)(Object(u.a)({},Jn),{},{label:Na,value:ei})}):$n},[An,hr,$n]),Va=vt(0,59,on,cn&&cn(Sr)),Ga=vt(0,59,Bn,Dn&&Dn(Sr,Wr));lr.current={onUpDown:function(ei){var Na=Ba[Mr];if(Na)for(var _n=Na.units.findIndex(function(Ka){return Ka.value===Na.value}),sa=Na.units.length,wa=1;wa<sa;wa+=1){var si=Na.units[(_n+ei*wa+sa)%sa];if(si.disabled!==!0){Na.onSelect(si.value);break}}}};function vi(Jn,ei,Na,_n,sa){Jn!==!1&&Ba.push({node:f.cloneElement(ei,{prefixCls:fr,value:Na,active:Mr===Ba.length,onSelect:sa,units:_n,hideDisabledOptions:hi}),onSelect:sa,value:Na,units:_n})}vi(Vr,f.createElement(Le,{key:"hour"}),Er,Ya,function(Jn){na(Mn(hr,Jn,Wr,nn),"mouse")}),vi(sn,f.createElement(Le,{key:"minute"}),Wr,Va,function(Jn){na(Mn(hr,Er,Jn,nn),"mouse")}),vi(vn,f.createElement(Le,{key:"second"}),nn,Ga,function(Jn){na(Mn(hr,Er,Wr,Jn),"mouse")});var Xa=-1;return typeof hr=="boolean"&&(Xa=hr?1:0),vi(An===!0,f.createElement(Le,{key:"12hours"}),Xa,[{label:"AM",value:0,disabled:Kn},{label:"PM",value:1,disabled:Fa}],function(Jn){na(Mn(!!Jn,Er,Wr,nn),"mouse")}),f.createElement("div",{className:Et},Ba.map(function(Jn){var ei=Jn.node;return ei}))}var Yt=Je,Ht=function(Gt){return Gt.filter(function(sr){return sr!==!1}).length};function nr(Ke){var Gt=Ke.generateConfig,sr=Ke.format,lr=sr===void 0?"HH:mm:ss":sr,Mr=Ke.prefixCls,Rr=Ke.active,Vr=Ke.operationRef,sn=Ke.showHour,vn=Ke.showMinute,An=Ke.showSecond,Fn=Ke.use12Hours,tn=Fn===void 0?!1:Fn,Kr=Ke.onSelect,on=Ke.value,dn="".concat(Mr,"-time-panel"),Bn=f.useRef(),wn=f.useState(-1),Nn=Object(N.a)(wn,2),qn=Nn[0],Ra=Nn[1],hi=Ht([sn,vn,An,tn]);return Vr.current={onKeyDown:function(Ba){return Ft(Ba,{onLeftRight:function(fr){Ra((qn+fr+hi)%hi)},onUpDown:function(fr){qn===-1?Ra(0):Bn.current&&Bn.current.onUpDown(fr)},onEnter:function(){Kr(on||Gt.getNow(),"key"),Ra(-1)}})},onBlur:function(){Ra(-1)}},f.createElement("div",{className:M()(dn,Object(r.a)({},"".concat(dn,"-active"),Rr))},f.createElement(Te,Object(E.a)({},Ke,{format:lr,prefixCls:Mr})),f.createElement(Yt,Object(E.a)({},Ke,{prefixCls:Mr,activeColumnIndex:qn,operationRef:Bn})))}var ir=nr,Zt=f.createContext({}),Mt=Zt;function pt(Ke){var Gt=Ke.cellPrefixCls,sr=Ke.generateConfig,lr=Ke.rangedValue,Mr=Ke.hoverRangedValue,Rr=Ke.isInView,Vr=Ke.isSameCell,sn=Ke.offsetCell,vn=Ke.today,An=Ke.value;function Fn(tn){var Kr,on=sn(tn,-1),dn=sn(tn,1),Bn=Ct(lr,0),wn=Ct(lr,1),Nn=Ct(Mr,0),qn=Ct(Mr,1),Ra=he(sr,Nn,qn,tn);function hi(Sr){return Vr(Bn,Sr)}function na(Sr){return Vr(wn,Sr)}var Ba=Vr(Nn,tn),Et=Vr(qn,tn),fr=(Ra||Et)&&(!Rr(on)||na(on)),hr=(Ra||Ba)&&(!Rr(dn)||hi(dn));return Kr={},Object(r.a)(Kr,"".concat(Gt,"-in-view"),Rr(tn)),Object(r.a)(Kr,"".concat(Gt,"-in-range"),he(sr,Bn,wn,tn)),Object(r.a)(Kr,"".concat(Gt,"-range-start"),hi(tn)),Object(r.a)(Kr,"".concat(Gt,"-range-end"),na(tn)),Object(r.a)(Kr,"".concat(Gt,"-range-start-single"),hi(tn)&&!wn),Object(r.a)(Kr,"".concat(Gt,"-range-end-single"),na(tn)&&!Bn),Object(r.a)(Kr,"".concat(Gt,"-range-start-near-hover"),hi(tn)&&(Vr(on,Nn)||he(sr,Nn,qn,on))),Object(r.a)(Kr,"".concat(Gt,"-range-end-near-hover"),na(tn)&&(Vr(dn,qn)||he(sr,Nn,qn,dn))),Object(r.a)(Kr,"".concat(Gt,"-range-hover"),Ra),Object(r.a)(Kr,"".concat(Gt,"-range-hover-start"),Ba),Object(r.a)(Kr,"".concat(Gt,"-range-hover-end"),Et),Object(r.a)(Kr,"".concat(Gt,"-range-hover-edge-start"),fr),Object(r.a)(Kr,"".concat(Gt,"-range-hover-edge-end"),hr),Object(r.a)(Kr,"".concat(Gt,"-range-hover-edge-start-near-range"),fr&&Vr(on,wn)),Object(r.a)(Kr,"".concat(Gt,"-range-hover-edge-end-near-range"),hr&&Vr(dn,Bn)),Object(r.a)(Kr,"".concat(Gt,"-today"),Vr(vn,tn)),Object(r.a)(Kr,"".concat(Gt,"-selected"),Vr(An,tn)),Kr}return Fn}function Tt(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.prefixColumn,Mr=Ke.locale,Rr=Ke.rowCount,Vr=Ke.viewDate,sn=Ke.value,vn=Ke.dateRender,An=f.useContext(Mt),Fn=An.rangedValue,tn=An.hoverRangedValue,Kr=Oe(Mr.locale,sr,Vr),on="".concat(Gt,"-cell"),dn=sr.locale.getWeekFirstDay(Mr.locale),Bn=sr.getNow(),wn=[],Nn=Mr.shortWeekDays||(sr.locale.getShortWeekDays?sr.locale.getShortWeekDays(Mr.locale):[]);lr&&wn.push(f.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var qn=0;qn<q;qn+=1)wn.push(f.createElement("th",{key:qn},Nn[(qn+dn)%q]));var Ra=pt({cellPrefixCls:on,today:Bn,value:sn,generateConfig:sr,rangedValue:lr?null:Fn,hoverRangedValue:lr?null:tn,isSameCell:function(Ba,Et){return be(sr,Ba,Et)},isInView:function(Ba){return te(sr,Ba,Vr)},offsetCell:function(Ba,Et){return sr.addDate(Ba,Et)}}),hi=vn?function(na){return vn(na,Bn)}:void 0;return f.createElement(Ne,Object(E.a)({},Ke,{rowNum:Rr,colNum:q,baseDate:Kr,getCellNode:hi,getCellText:sr.getDate,getCellClassName:Ra,getCellDate:sr.addDate,titleCell:function(Ba){return ce(Ba,{locale:Mr,format:"YYYY-MM-DD",generateConfig:sr})},headerCells:wn}))}var mt=Tt;function Jt(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.locale,Mr=Ke.viewDate,Rr=Ke.onNextMonth,Vr=Ke.onPrevMonth,sn=Ke.onNextYear,vn=Ke.onPrevYear,An=Ke.onYearClick,Fn=Ke.onMonthClick,tn=f.useContext(Y),Kr=tn.hideHeader;if(Kr)return null;var on="".concat(Gt,"-header"),dn=lr.shortMonths||(sr.locale.getShortMonths?sr.locale.getShortMonths(lr.locale):[]),Bn=sr.getMonth(Mr),wn=f.createElement("button",{type:"button",key:"year",onClick:An,tabIndex:-1,className:"".concat(Gt,"-year-btn")},ce(Mr,{locale:lr,format:lr.yearFormat,generateConfig:sr})),Nn=f.createElement("button",{type:"button",key:"month",onClick:Fn,tabIndex:-1,className:"".concat(Gt,"-month-btn")},lr.monthFormat?ce(Mr,{locale:lr,format:lr.monthFormat,generateConfig:sr}):dn[Bn]),qn=lr.monthBeforeYear?[Nn,wn]:[wn,Nn];return f.createElement(ie,Object(E.a)({},Ke,{prefixCls:on,onSuperPrev:vn,onPrev:Vr,onNext:Rr,onSuperNext:sn}),qn)}var or=Jt,ut=6;function ht(Ke){var Gt=Ke.prefixCls,sr=Ke.panelName,lr=sr===void 0?"date":sr,Mr=Ke.keyboardConfig,Rr=Ke.active,Vr=Ke.operationRef,sn=Ke.generateConfig,vn=Ke.value,An=Ke.viewDate,Fn=Ke.onViewDateChange,tn=Ke.onPanelChange,Kr=Ke.onSelect,on="".concat(Gt,"-").concat(lr,"-panel");Vr.current={onKeyDown:function(Nn){return Ft(Nn,Object(u.a)({onLeftRight:function(Ra){Kr(sn.addDate(vn||An,Ra),"key")},onCtrlLeftRight:function(Ra){Kr(sn.addYear(vn||An,Ra),"key")},onUpDown:function(Ra){Kr(sn.addDate(vn||An,Ra*q),"key")},onPageUpDown:function(Ra){Kr(sn.addMonth(vn||An,Ra),"key")}},Mr))}};var dn=function(Nn){var qn=sn.addYear(An,Nn);Fn(qn),tn(null,qn)},Bn=function(Nn){var qn=sn.addMonth(An,Nn);Fn(qn),tn(null,qn)};return f.createElement("div",{className:M()(on,Object(r.a)({},"".concat(on,"-active"),Rr))},f.createElement(or,Object(E.a)({},Ke,{prefixCls:Gt,value:vn,viewDate:An,onPrevYear:function(){dn(-1)},onNextYear:function(){dn(1)},onPrevMonth:function(){Bn(-1)},onNextMonth:function(){Bn(1)},onMonthClick:function(){tn("month",An)},onYearClick:function(){tn("year",An)}})),f.createElement(mt,Object(E.a)({},Ke,{onSelect:function(Nn){return Kr(Nn,"mouse")},prefixCls:Gt,value:vn,viewDate:An,rowCount:ut})))}var qt=ht,Nt=tt("date","time");function Qt(Ke){var Gt=Ke.prefixCls,sr=Ke.operationRef,lr=Ke.generateConfig,Mr=Ke.value,Rr=Ke.defaultValue,Vr=Ke.disabledTime,sn=Ke.showTime,vn=Ke.onSelect,An="".concat(Gt,"-datetime-panel"),Fn=f.useState(null),tn=Object(N.a)(Fn,2),Kr=tn[0],on=tn[1],dn=f.useRef({}),Bn=f.useRef({}),wn=Object(z.a)(sn)==="object"?Object(u.a)({},sn):{};function Nn(na){var Ba=Nt.indexOf(Kr)+na,Et=Nt[Ba]||null;return Et}var qn=function(Ba){Bn.current.onBlur&&Bn.current.onBlur(Ba),on(null)};sr.current={onKeyDown:function(Ba){if(Ba.which===_.a.TAB){var Et=Nn(Ba.shiftKey?-1:1);return on(Et),Et&&Ba.preventDefault(),!0}if(Kr){var fr=Kr==="date"?dn:Bn;return fr.current&&fr.current.onKeyDown&&fr.current.onKeyDown(Ba),!0}return[_.a.LEFT,_.a.RIGHT,_.a.UP,_.a.DOWN].includes(Ba.which)?(on("date"),!0):!1},onBlur:qn,onClose:qn};var Ra=function(Ba,Et){var fr=Ba;Et==="date"&&!Mr&&wn.defaultValue?(fr=lr.setHour(fr,lr.getHour(wn.defaultValue)),fr=lr.setMinute(fr,lr.getMinute(wn.defaultValue)),fr=lr.setSecond(fr,lr.getSecond(wn.defaultValue))):Et==="time"&&!Mr&&Rr&&(fr=lr.setYear(fr,lr.getYear(Rr)),fr=lr.setMonth(fr,lr.getMonth(Rr)),fr=lr.setDate(fr,lr.getDate(Rr))),vn&&vn(fr,"mouse")},hi=Vr?Vr(Mr||null):{};return f.createElement("div",{className:M()(An,Object(r.a)({},"".concat(An,"-active"),Kr))},f.createElement(qt,Object(E.a)({},Ke,{operationRef:dn,active:Kr==="date",onSelect:function(Ba){Ra(de(lr,Ba,!Mr&&Object(z.a)(sn)==="object"?sn.defaultValue:null),"date")}})),f.createElement(ir,Object(E.a)({},Ke,{format:void 0},wn,hi,{disabledTime:null,defaultValue:void 0,operationRef:Bn,active:Kr==="time",onSelect:function(Ba){Ra(Ba,"time")}})))}var at=Qt;function Ue(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.locale,Mr=Ke.value,Rr="".concat(Gt,"-cell"),Vr=function(Fn){return f.createElement("td",{key:"week",className:M()(Rr,"".concat(Rr,"-week"))},sr.locale.getWeek(lr.locale,Fn))},sn="".concat(Gt,"-week-panel-row"),vn=function(Fn){return M()(sn,Object(r.a)({},"".concat(sn,"-selected"),Z(sr,lr.locale,Mr,Fn)))};return f.createElement(qt,Object(E.a)({},Ke,{panelName:"week",prefixColumn:Vr,rowClassName:vn,keyboardConfig:{onLeftRight:null}}))}var ot=Ue;function it(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.locale,Mr=Ke.viewDate,Rr=Ke.onNextYear,Vr=Ke.onPrevYear,sn=Ke.onYearClick,vn=f.useContext(Y),An=vn.hideHeader;if(An)return null;var Fn="".concat(Gt,"-header");return f.createElement(ie,Object(E.a)({},Ke,{prefixCls:Fn,onSuperPrev:Vr,onSuperNext:Rr}),f.createElement("button",{type:"button",onClick:sn,className:"".concat(Gt,"-year-btn")},ce(Mr,{locale:lr,format:lr.yearFormat,generateConfig:sr})))}var zt=it,ar=3,dr=4;function pr(Ke){var Gt=Ke.prefixCls,sr=Ke.locale,lr=Ke.value,Mr=Ke.viewDate,Rr=Ke.generateConfig,Vr=Ke.monthCellRender,sn=f.useContext(Mt),vn=sn.rangedValue,An=sn.hoverRangedValue,Fn="".concat(Gt,"-cell"),tn=pt({cellPrefixCls:Fn,value:lr,generateConfig:Rr,rangedValue:vn,hoverRangedValue:An,isSameCell:function(wn,Nn){return te(Rr,wn,Nn)},isInView:function(){return!0},offsetCell:function(wn,Nn){return Rr.addMonth(wn,Nn)}}),Kr=sr.shortMonths||(Rr.locale.getShortMonths?Rr.locale.getShortMonths(sr.locale):[]),on=Rr.setMonth(Mr,0),dn=Vr?function(Bn){return Vr(Bn,sr)}:void 0;return f.createElement(Ne,Object(E.a)({},Ke,{rowNum:dr,colNum:ar,baseDate:on,getCellNode:dn,getCellText:function(wn){return sr.monthFormat?ce(wn,{locale:sr,format:sr.monthFormat,generateConfig:Rr}):Kr[Rr.getMonth(wn)]},getCellClassName:tn,getCellDate:Rr.addMonth,titleCell:function(wn){return ce(wn,{locale:sr,format:"YYYY-MM",generateConfig:Rr})}}))}var Tr=pr;function Lr(Ke){var Gt=Ke.prefixCls,sr=Ke.operationRef,lr=Ke.onViewDateChange,Mr=Ke.generateConfig,Rr=Ke.value,Vr=Ke.viewDate,sn=Ke.onPanelChange,vn=Ke.onSelect,An="".concat(Gt,"-month-panel");sr.current={onKeyDown:function(Kr){return Ft(Kr,{onLeftRight:function(dn){vn(Mr.addMonth(Rr||Vr,dn),"key")},onCtrlLeftRight:function(dn){vn(Mr.addYear(Rr||Vr,dn),"key")},onUpDown:function(dn){vn(Mr.addMonth(Rr||Vr,dn*ar),"key")},onEnter:function(){sn("date",Rr||Vr)}})}};var Fn=function(Kr){var on=Mr.addYear(Vr,Kr);lr(on),sn(null,on)};return f.createElement("div",{className:An},f.createElement(zt,Object(E.a)({},Ke,{prefixCls:Gt,onPrevYear:function(){Fn(-1)},onNextYear:function(){Fn(1)},onYearClick:function(){sn("year",Vr)}})),f.createElement(Tr,Object(E.a)({},Ke,{prefixCls:Gt,onSelect:function(Kr){vn(Kr,"mouse"),sn("date",Kr)}})))}var Yr=Lr;function Jr(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.locale,Mr=Ke.viewDate,Rr=Ke.onNextYear,Vr=Ke.onPrevYear,sn=Ke.onYearClick,vn=f.useContext(Y),An=vn.hideHeader;if(An)return null;var Fn="".concat(Gt,"-header");return f.createElement(ie,Object(E.a)({},Ke,{prefixCls:Fn,onSuperPrev:Vr,onSuperNext:Rr}),f.createElement("button",{type:"button",onClick:sn,className:"".concat(Gt,"-year-btn")},ce(Mr,{locale:lr,format:lr.yearFormat,generateConfig:sr})))}var hn=Jr,yr=4,zn=1;function xn(Ke){var Gt=Ke.prefixCls,sr=Ke.locale,lr=Ke.value,Mr=Ke.viewDate,Rr=Ke.generateConfig,Vr=f.useContext(Mt),sn=Vr.rangedValue,vn=Vr.hoverRangedValue,An="".concat(Gt,"-cell"),Fn=pt({cellPrefixCls:An,value:lr,generateConfig:Rr,rangedValue:sn,hoverRangedValue:vn,isSameCell:function(on,dn){return pe(Rr,on,dn)},isInView:function(){return!0},offsetCell:function(on,dn){return Rr.addMonth(on,dn*3)}}),tn=Rr.setDate(Rr.setMonth(Mr,0),1);return f.createElement(Ne,Object(E.a)({},Ke,{rowNum:zn,colNum:yr,baseDate:tn,getCellText:function(on){return ce(on,{locale:sr,format:sr.quarterFormat||"[Q]Q",generateConfig:Rr})},getCellClassName:Fn,getCellDate:function(on,dn){return Rr.addMonth(on,dn*3)},titleCell:function(on){return ce(on,{locale:sr,format:"YYYY-[Q]Q",generateConfig:Rr})}}))}var In=xn;function Qn(Ke){var Gt=Ke.prefixCls,sr=Ke.operationRef,lr=Ke.onViewDateChange,Mr=Ke.generateConfig,Rr=Ke.value,Vr=Ke.viewDate,sn=Ke.onPanelChange,vn=Ke.onSelect,An="".concat(Gt,"-quarter-panel");sr.current={onKeyDown:function(Kr){return Ft(Kr,{onLeftRight:function(dn){vn(Mr.addMonth(Rr||Vr,dn*3),"key")},onCtrlLeftRight:function(dn){vn(Mr.addYear(Rr||Vr,dn),"key")},onUpDown:function(dn){vn(Mr.addYear(Rr||Vr,dn),"key")}})}};var Fn=function(Kr){var on=Mr.addYear(Vr,Kr);lr(on),sn(null,on)};return f.createElement("div",{className:An},f.createElement(hn,Object(E.a)({},Ke,{prefixCls:Gt,onPrevYear:function(){Fn(-1)},onNextYear:function(){Fn(1)},onYearClick:function(){sn("year",Vr)}})),f.createElement(In,Object(E.a)({},Ke,{prefixCls:Gt,onSelect:function(Kr){vn(Kr,"mouse")}})))}var Cn=Qn;function bn(Ke){var Gt=Ke.prefixCls,sr=Ke.generateConfig,lr=Ke.viewDate,Mr=Ke.onPrevDecade,Rr=Ke.onNextDecade,Vr=Ke.onDecadeClick,sn=f.useContext(Y),vn=sn.hideHeader;if(vn)return null;var An="".concat(Gt,"-header"),Fn=sr.getYear(lr),tn=Math.floor(Fn/Pn)*Pn,Kr=tn+Pn-1;return f.createElement(ie,Object(E.a)({},Ke,{prefixCls:An,onSuperPrev:Mr,onSuperNext:Rr}),f.createElement("button",{type:"button",onClick:Vr,className:"".concat(Gt,"-decade-btn")},tn,"-",Kr))}var Wn=bn,Vn=3,oa=4;function kr(Ke){var Gt=Ke.prefixCls,sr=Ke.value,lr=Ke.viewDate,Mr=Ke.locale,Rr=Ke.generateConfig,Vr=f.useContext(Mt),sn=Vr.rangedValue,vn=Vr.hoverRangedValue,An="".concat(Gt,"-cell"),Fn=Rr.getYear(lr),tn=Math.floor(Fn/Pn)*Pn,Kr=tn+Pn-1,on=Rr.setYear(lr,tn-Math.ceil((Vn*oa-Pn)/2)),dn=function(Nn){var qn=Rr.getYear(Nn);return tn<=qn&&qn<=Kr},Bn=pt({cellPrefixCls:An,value:sr,generateConfig:Rr,rangedValue:sn,hoverRangedValue:vn,isSameCell:function(Nn,qn){return De(Rr,Nn,qn)},isInView:dn,offsetCell:function(Nn,qn){return Rr.addYear(Nn,qn)}});return f.createElement(Ne,Object(E.a)({},Ke,{rowNum:oa,colNum:Vn,baseDate:on,getCellText:Rr.getYear,getCellClassName:Bn,getCellDate:Rr.addYear,titleCell:function(Nn){return ce(Nn,{locale:Mr,format:"YYYY",generateConfig:Rr})}}))}var kn=kr,Pn=10;function Ma(Ke){var Gt=Ke.prefixCls,sr=Ke.operationRef,lr=Ke.onViewDateChange,Mr=Ke.generateConfig,Rr=Ke.value,Vr=Ke.viewDate,sn=Ke.sourceMode,vn=Ke.onSelect,An=Ke.onPanelChange,Fn="".concat(Gt,"-year-panel");sr.current={onKeyDown:function(on){return Ft(on,{onLeftRight:function(Bn){vn(Mr.addYear(Rr||Vr,Bn),"key")},onCtrlLeftRight:function(Bn){vn(Mr.addYear(Rr||Vr,Bn*Pn),"key")},onUpDown:function(Bn){vn(Mr.addYear(Rr||Vr,Bn*Vn),"key")},onEnter:function(){An(sn==="date"?"date":"month",Rr||Vr)}})}};var tn=function(on){var dn=Mr.addYear(Vr,on*10);lr(dn),An(null,dn)};return f.createElement("div",{className:Fn},f.createElement(Wn,Object(E.a)({},Ke,{prefixCls:Gt,onPrevDecade:function(){tn(-1)},onNextDecade:function(){tn(1)},onDecadeClick:function(){An("decade",Vr)}})),f.createElement(kn,Object(E.a)({},Ke,{prefixCls:Gt,onSelect:function(on){An(sn==="date"?"date":"month",on),vn(on,"mouse")}})))}var Oa=Ma;function ba(Ke,Gt,sr){return sr?f.createElement("div",{className:"".concat(Ke,"-footer-extra")},sr(Gt)):null}function La(Ke){var Gt=Ke.prefixCls,sr=Ke.rangeList,lr=sr===void 0?[]:sr,Mr=Ke.components,Rr=Mr===void 0?{}:Mr,Vr=Ke.needConfirmButton,sn=Ke.onNow,vn=Ke.onOk,An=Ke.okDisabled,Fn=Ke.showNow,tn=Ke.locale,Kr,on;if(lr.length){var dn=Rr.rangeItem||"span";Kr=f.createElement(f.Fragment,null,lr.map(function(wn){var Nn=wn.label,qn=wn.onClick,Ra=wn.onMouseEnter,hi=wn.onMouseLeave;return f.createElement("li",{key:Nn,className:"".concat(Gt,"-preset")},f.createElement(dn,{onClick:qn,onMouseEnter:Ra,onMouseLeave:hi},Nn))}))}if(Vr){var Bn=Rr.button||"button";sn&&!Kr&&Fn!==!1&&(Kr=f.createElement("li",{className:"".concat(Gt,"-now")},f.createElement("a",{className:"".concat(Gt,"-now-btn"),onClick:sn},tn.now))),on=Vr&&f.createElement("li",{className:"".concat(Gt,"-ok")},f.createElement(Bn,{disabled:An,onClick:vn},tn.ok))}return!Kr&&!on?null:f.createElement("ul",{className:"".concat(Gt,"-ranges")},Kr,on)}function Hn(Ke){var Gt,sr=Ke.prefixCls,lr=sr===void 0?"rc-picker":sr,Mr=Ke.className,Rr=Ke.style,Vr=Ke.locale,sn=Ke.generateConfig,vn=Ke.value,An=Ke.defaultValue,Fn=Ke.pickerValue,tn=Ke.defaultPickerValue,Kr=Ke.disabledDate,on=Ke.mode,dn=Ke.picker,Bn=dn===void 0?"date":dn,wn=Ke.tabIndex,Nn=wn===void 0?0:wn,qn=Ke.showNow,Ra=Ke.showTime,hi=Ke.showToday,na=Ke.renderExtraFooter,Ba=Ke.hideHeader,Et=Ke.onSelect,fr=Ke.onChange,hr=Ke.onPanelChange,Sr=Ke.onMouseDown,Er=Ke.onPickerValueChange,Wr=Ke.onOk,nn=Ke.components,Zr=Ke.direction,Gr=Ke.hourStep,gn=Gr===void 0?1:Gr,On=Ke.minuteStep,cn=On===void 0?1:On,Dn=Ke.secondStep,Mn=Dn===void 0?1:Dn,Yn=Bn==="date"&&!!Ra||Bn==="time",$n=24%gn==0,Tn=60%cn==0,ea=60%Mn==0,Kn=f.useContext(Y),Fa=Kn.operationRef,Ya=Kn.panelRef,Va=Kn.onSelect,Ga=Kn.hideRanges,vi=Kn.defaultOpenValue,Xa=f.useContext(Mt),Jn=Xa.inRange,ei=Xa.panelPosition,Na=Xa.rangedValue,_n=Xa.hoverRangedValue,sa=f.useRef({}),wa=f.useRef(!0),si=Object(Q.a)(null,{value:vn,defaultValue:An,postState:function(Zn){return!Zn&&vi&&Bn==="time"?vi:Zn}}),Ka=Object(N.a)(si,2),ja=Ka[0],$a=Ka[1],Wi=Object(Q.a)(null,{value:Fn,defaultValue:tn||ja,postState:function(Zn){var Qa=sn.getNow();if(!Zn)return Qa;if(!ja&&Ra){var Wa=Object(z.a)(Ra)==="object"?Ra.defaultValue:An;return de(sn,Array.isArray(Zn)?Zn[0]:Zn,Wa||Qa)}return Array.isArray(Zn)?Zn[0]:Zn}}),Vi=Object(N.a)(Wi,2),co=Vi[0],oo=Vi[1],Ki=function(Zn){oo(Zn),Er&&Er(Zn)},Gi=function(Zn){var Qa=Vt[Bn];return Qa?Qa(Zn):Zn},Ji=Object(Q.a)(function(){return Bn==="time"?"time":Gi("date")},{value:on}),pi=Object(N.a)(Ji,2),Ri=pi[0],Ii=pi[1];f.useEffect(function(){Ii(Bn)},[Bn]);var Fi=f.useState(function(){return Ri}),Ro=Object(N.a)(Fi,2),Zi=Ro[0],eo=Ro[1],Ni=function(Zn,Qa){var Wa=Gi(Zn||Ri);eo(Ri),Ii(Wa),hr&&(Ri!==Wa||se(sn,co,co))&&hr(Qa,Wa)},ii=function(Zn,Qa){var Wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Ri===Bn||Wa)&&($a(Zn),Et&&Et(Zn),Va&&Va(Zn,Qa),fr&&!se(sn,Zn,ja)&&!(Kr==null?void 0:Kr(Zn))&&fr(Zn))},Yi=function(Zn){return sa.current&&sa.current.onKeyDown?([_.a.LEFT,_.a.RIGHT,_.a.UP,_.a.DOWN,_.a.PAGE_UP,_.a.PAGE_DOWN,_.a.ENTER].includes(Zn.which)&&Zn.preventDefault(),sa.current.onKeyDown(Zn)):(Object(w.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},fo=function(Zn){sa.current&&sa.current.onBlur&&sa.current.onBlur(Zn)};Fa&&ei!=="right"&&(Fa.current={onKeyDown:Yi,onClose:function(){sa.current&&sa.current.onClose&&sa.current.onClose()}}),f.useEffect(function(){vn&&!wa.current&&oo(vn)},[vn]),f.useEffect(function(){wa.current=!1},[]);var fa,uo=Object(u.a)(Object(u.a)({},Ke),{},{operationRef:sa,prefixCls:lr,viewDate:co,value:ja,onViewDateChange:Ki,sourceMode:Zi,onPanelChange:Ni,disabledDate:Kr});switch(delete uo.onChange,delete uo.onSelect,Ri){case"decade":fa=f.createElement(Ye,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;case"year":fa=f.createElement(Oa,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;case"month":fa=f.createElement(Yr,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;case"quarter":fa=f.createElement(Cn,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;case"week":fa=f.createElement(ot,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;case"time":delete uo.showTime,fa=f.createElement(ir,Object(E.a)({},uo,Object(z.a)(Ra)==="object"?Ra:null,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}));break;default:Ra?fa=f.createElement(at,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}})):fa=f.createElement(qt,Object(E.a)({},uo,{onSelect:function(Zn,Qa){Ki(Zn),ii(Zn,Qa)}}))}var fi,Ta,Ja=function(){var Zn=sn.getNow(),Qa=Pe(sn.getHour(Zn),sn.getMinute(Zn),sn.getSecond(Zn),$n?gn:1,Tn?cn:1,ea?Mn:1),Wa=ge(sn,Zn,Qa[0],Qa[1],Qa[2]);ii(Wa,"submit")};Ga||(fi=ba(lr,Ri,na),Ta=La({prefixCls:lr,components:nn,needConfirmButton:Yn,okDisabled:!ja||Kr&&Kr(ja),locale:Vr,showNow:qn,onNow:Yn&&Ja,onOk:function(){ja&&(ii(ja,"submit",!0),Wr&&Wr(ja))}}));var Da;if(hi&&Ri==="date"&&Bn==="date"&&!Ra){var Gn=sn.getNow(),mi="".concat(lr,"-today-btn"),no=Kr&&Kr(Gn);Da=f.createElement("a",{className:M()(mi,no&&"".concat(mi,"-disabled")),"aria-disabled":no,onClick:function(){no||ii(Gn,"mouse",!0)}},Vr.today)}return f.createElement(Y.Provider,{value:Object(u.a)(Object(u.a)({},Kn),{},{mode:Ri,hideHeader:"hideHeader"in Ke?Ba:Kn.hideHeader,hidePrevBtn:Jn&&ei==="right",hideNextBtn:Jn&&ei==="left"})},f.createElement("div",{tabIndex:Nn,className:M()("".concat(lr,"-panel"),Mr,(Gt={},Object(r.a)(Gt,"".concat(lr,"-panel-has-range"),Na&&Na[0]&&Na[1]),Object(r.a)(Gt,"".concat(lr,"-panel-has-range-hover"),_n&&_n[0]&&_n[1]),Object(r.a)(Gt,"".concat(lr,"-panel-rtl"),Zr==="rtl"),Gt)),style:Rr,onKeyDown:Yi,onBlur:fo,onMouseDown:Sr,ref:Ya},fa,fi||Ta||Da?f.createElement("div",{className:"".concat(lr,"-footer")},fi,Ta,Da):null))}var Ir=Hn,xr=e("uciX"),Xr={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 Cr(Ke){var Gt,sr=Ke.prefixCls,lr=Ke.popupElement,Mr=Ke.popupStyle,Rr=Ke.visible,Vr=Ke.dropdownClassName,sn=Ke.dropdownAlign,vn=Ke.transitionName,An=Ke.getPopupContainer,Fn=Ke.children,tn=Ke.range,Kr=Ke.popupPlacement,on=Ke.direction,dn="".concat(sr,"-dropdown"),Bn=function(){return Kr!==void 0?Kr:on==="rtl"?"bottomRight":"bottomLeft"};return f.createElement(xr.a,{showAction:[],hideAction:[],popupPlacement:Bn(),builtinPlacements:Xr,prefixCls:dn,popupTransitionName:vn,popup:lr,popupAlign:sn,popupVisible:Rr,popupClassName:M()(Vr,(Gt={},Object(r.a)(Gt,"".concat(dn,"-range"),tn),Object(r.a)(Gt,"".concat(dn,"-rtl"),on==="rtl"),Gt)),popupStyle:Mr,getPopupContainer:An},Fn)}var Hr=Cr;function Fr(Ke){var Gt=Ke.open,sr=Ke.value,lr=Ke.isClickOutside,Mr=Ke.triggerOpen,Rr=Ke.forwardKeyDown,Vr=Ke.onKeyDown,sn=Ke.blurToCancel,vn=Ke.onSubmit,An=Ke.onCancel,Fn=Ke.onFocus,tn=Ke.onBlur,Kr=Object(f.useState)(!1),on=Object(N.a)(Kr,2),dn=on[0],Bn=on[1],wn=Object(f.useState)(!1),Nn=Object(N.a)(wn,2),qn=Nn[0],Ra=Nn[1],hi=Object(f.useRef)(!1),na=Object(f.useRef)(!1),Ba=Object(f.useRef)(!1),Et={onMouseDown:function(){Bn(!0),Mr(!0)},onKeyDown:function(hr){var Sr=function(){Ba.current=!0};if(Vr(hr,Sr),!Ba.current){switch(hr.which){case _.a.ENTER:{Gt?vn()!==!1&&Bn(!0):Mr(!0),hr.preventDefault();return}case _.a.TAB:{dn&&Gt&&!hr.shiftKey?(Bn(!1),hr.preventDefault()):!dn&&Gt&&!Rr(hr)&&hr.shiftKey&&(Bn(!0),hr.preventDefault());return}case _.a.ESC:{Bn(!0),An();return}}!Gt&&![_.a.SHIFT].includes(hr.which)?Mr(!0):dn||Rr(hr)}},onFocus:function(hr){Bn(!0),Ra(!0),Fn&&Fn(hr)},onBlur:function(hr){if(hi.current||!lr(document.activeElement)){hi.current=!1;return}sn?setTimeout(function(){for(var Sr=document,Er=Sr.activeElement;Er&&Er.shadowRoot;)Er=Er.shadowRoot.activeElement;lr(Er)&&An()},0):Gt&&(Mr(!1),na.current&&vn()),Ra(!1),tn&&tn(hr)}};return Object(f.useEffect)(function(){na.current=!1},[Gt]),Object(f.useEffect)(function(){na.current=!0},[sr]),Object(f.useEffect)(function(){return gt(function(fr){var hr=ft(fr);if(Gt){var Sr=lr(hr);Sr?(!qn||Sr)&&Mr(!1):(hi.current=!0,requestAnimationFrame(function(){hi.current=!1}))}})}),[Et,{focused:qn,typing:dn}]}function jr(Ke){var Gt=Ke.valueTexts,sr=Ke.onTextChange,lr=f.useState(""),Mr=Object(N.a)(lr,2),Rr=Mr[0],Vr=Mr[1],sn=f.useRef([]);sn.current=Gt;function vn(Fn){Vr(Fn),sr(Fn)}function An(){Vr(sn.current[0])}return f.useEffect(function(){Gt.every(function(Fn){return Fn!==Rr})&&An()},[Gt.join("||")]),[Rr,vn,An]}var wr=e("Gytx"),pn=e.n(wr);function un(Ke,Gt){var sr=Gt.formatList,lr=Gt.generateConfig,Mr=Gt.locale;return Object(je.a)(function(){if(!Ke)return[[""],""];for(var Rr="",Vr=[],sn=0;sn<sr.length;sn+=1){var vn=sr[sn],An=ce(Ke,{generateConfig:lr,locale:Mr,format:vn});Vr.push(An),sn===0&&(Rr=An)}return[Vr,Rr]},[Ke,sr],function(Rr,Vr){return Rr[0]!==Vr[0]||!pn()(Rr[1],Vr[1])})}function jn(Ke,Gt){var sr=Gt.formatList,lr=Gt.generateConfig,Mr=Gt.locale,Rr=Object(f.useState)(null),Vr=Object(N.a)(Rr,2),sn=Vr[0],vn=Vr[1],An=Object(f.useRef)(null);function Fn(wn){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(An.current),Nn){vn(wn);return}An.current=requestAnimationFrame(function(){vn(wn)})}var tn=un(sn,{formatList:sr,generateConfig:lr,locale:Mr}),Kr=Object(N.a)(tn,2),on=Kr[1];function dn(wn){Fn(wn)}function Bn(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Fn(null,wn)}return Object(f.useEffect)(function(){Bn(!0)},[Ke]),Object(f.useEffect)(function(){return function(){return cancelAnimationFrame(An.current)}},[]),[on,dn,Bn]}function Xn(Ke){var Gt=Ke.picker,sr=Ke.disabledHours,lr=Ke.disabledMinutes,Mr=Ke.disabledSeconds;Gt==="time"&&(sr||lr||Mr)&&Object(w.a)(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ca(Ke){var Gt,sr=Ke.prefixCls,lr=sr===void 0?"rc-picker":sr,Mr=Ke.id,Rr=Ke.tabIndex,Vr=Ke.style,sn=Ke.className,vn=Ke.dropdownClassName,An=Ke.dropdownAlign,Fn=Ke.popupStyle,tn=Ke.transitionName,Kr=Ke.generateConfig,on=Ke.locale,dn=Ke.inputReadOnly,Bn=Ke.allowClear,wn=Ke.autoFocus,Nn=Ke.showTime,qn=Ke.picker,Ra=qn===void 0?"date":qn,hi=Ke.format,na=Ke.use12Hours,Ba=Ke.value,Et=Ke.defaultValue,fr=Ke.open,hr=Ke.defaultOpen,Sr=Ke.defaultOpenValue,Er=Ke.suffixIcon,Wr=Ke.clearIcon,nn=Ke.disabled,Zr=Ke.disabledDate,Gr=Ke.placeholder,gn=Ke.getPopupContainer,On=Ke.pickerRef,cn=Ke.panelRender,Dn=Ke.onChange,Mn=Ke.onOpenChange,Yn=Ke.onFocus,$n=Ke.onBlur,Tn=Ke.onMouseDown,ea=Ke.onMouseUp,Kn=Ke.onMouseEnter,Fa=Ke.onMouseLeave,Ya=Ke.onContextMenu,Va=Ke.onClick,Ga=Ke.onKeyDown,vi=Ke.onSelect,Xa=Ke.direction,Jn=Ke.autoComplete,ei=Jn===void 0?"off":Jn,Na=Ke.inputRender,_n=f.useRef(null),sa=Ra==="date"&&!!Nn||Ra==="time",wa=st(St(hi,Ra,Nn,na)),si=f.useRef(null),Ka=f.useRef(null),ja=f.useRef(null),$a=Object(Q.a)(null,{value:Ba,defaultValue:Et}),Wi=Object(N.a)($a,2),Vi=Wi[0],co=Wi[1],oo=f.useState(Vi),Ki=Object(N.a)(oo,2),Gi=Ki[0],Ji=Ki[1],pi=f.useRef(null),Ri=Object(Q.a)(!1,{value:fr,defaultValue:hr,postState:function(da){return nn?!1:da},onChange:function(da){Mn&&Mn(da),!da&&pi.current&&pi.current.onClose&&pi.current.onClose()}}),Ii=Object(N.a)(Ri,2),Fi=Ii[0],Ro=Ii[1],Zi=un(Gi,{formatList:wa,generateConfig:Kr,locale:on}),eo=Object(N.a)(Zi,2),Ni=eo[0],ii=eo[1],Yi=jr({valueTexts:Ni,onTextChange:function(da){var Pa=ae(da,{locale:on,formatList:wa,generateConfig:Kr});Pa&&(!Zr||!Zr(Pa))&&Ji(Pa)}}),fo=Object(N.a)(Yi,3),fa=fo[0],uo=fo[1],fi=fo[2],Ta=function(da){Ji(da),co(da),Dn&&!se(Kr,Vi,da)&&Dn(da,da?ce(da,{generateConfig:Kr,locale:on,format:wa[0]}):"")},Ja=function(da){nn&&da||Ro(da)},Da=function(da){return Fi&&pi.current&&pi.current.onKeyDown?pi.current.onKeyDown(da):(Object(w.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Gn=function(){ea&&ea.apply(void 0,arguments),_n.current&&(_n.current.focus(),Ja(!0))},mi=Fr({blurToCancel:sa,open:Fi,value:fa,triggerOpen:Ja,forwardKeyDown:Da,isClickOutside:function(da){return!bt([si.current,Ka.current,ja.current],da)},onSubmit:function(){return!Gi||Zr&&Zr(Gi)?!1:(Ta(Gi),Ja(!1),fi(),!0)},onCancel:function(){Ja(!1),Ji(Vi),fi()},onKeyDown:function(da,Pa){Ga==null||Ga(da,Pa)},onFocus:Yn,onBlur:$n}),no=Object(N.a)(mi,2),bi=no[0],Zn=no[1],Qa=Zn.focused,Wa=Zn.typing;f.useEffect(function(){Fi||(Ji(Vi),!Ni.length||Ni[0]===""?uo(""):ii!==fa&&fi())},[Fi,Ni]),f.useEffect(function(){Fi||fi()},[Ra]),f.useEffect(function(){Ji(Vi)},[Vi]),On&&(On.current={focus:function(){_n.current&&_n.current.focus()},blur:function(){_n.current&&_n.current.blur()}});var to=jn(fa,{formatList:wa,generateConfig:Kr,locale:on}),Ci=Object(N.a)(to,3),Ao=Ci[0],jo=Ci[1],es=Ci[2],ts=Object(u.a)(Object(u.a)({},Ke),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),gs=f.createElement(Ir,Object(E.a)({},ts,{generateConfig:Kr,className:M()(Object(r.a)({},"".concat(lr,"-panel-focused"),!Wa)),value:Gi,locale:on,tabIndex:-1,onSelect:function(da){vi==null||vi(da),Ji(da)},direction:Xa,onPanelChange:function(da,Pa){var lo=Ke.onPanelChange;es(!0),lo==null||lo(da,Pa)}}));cn&&(gs=cn(gs));var ls=f.createElement("div",{className:"".concat(lr,"-panel-container"),onMouseDown:function(da){da.preventDefault()}},gs),Ko;Er&&(Ko=f.createElement("span",{className:"".concat(lr,"-suffix")},Er));var Ps;Bn&&Vi&&!nn&&(Ps=f.createElement("span",{onMouseDown:function(da){da.preventDefault(),da.stopPropagation()},onMouseUp:function(da){da.preventDefault(),da.stopPropagation(),Ta(null),Ja(!1)},className:"".concat(lr,"-clear"),role:"button"},Wr||f.createElement("span",{className:"".concat(lr,"-clear-btn")})));var Fo=Object(u.a)(Object(u.a)(Object(u.a)({id:Mr,tabIndex:Rr,disabled:nn,readOnly:dn||typeof wa[0]=="function"||!Wa,value:Ao||fa,onChange:function(da){uo(da.target.value)},autoFocus:wn,placeholder:Gr,ref:_n,title:fa},bi),{},{size:$e(Ra,wa[0],Kr)},_t(Ke)),{},{autoComplete:ei}),Ei=Na?Na(Fo):f.createElement("input",Fo),Ar=function(da,Pa){(Pa==="submit"||Pa!=="key"&&!sa)&&(Ta(da),Ja(!1))},so=Xa==="rtl"?"bottomRight":"bottomLeft";return f.createElement(Y.Provider,{value:{operationRef:pi,hideHeader:Ra==="time",panelRef:si,onSelect:Ar,open:Fi,defaultOpenValue:Sr,onDateMouseEnter:jo,onDateMouseLeave:es}},f.createElement(Hr,{visible:Fi,popupElement:ls,popupStyle:Fn,prefixCls:lr,dropdownClassName:vn,dropdownAlign:An,getPopupContainer:gn,transitionName:tn,popupPlacement:so,direction:Xa},f.createElement("div",{ref:ja,className:M()(lr,sn,(Gt={},Object(r.a)(Gt,"".concat(lr,"-disabled"),nn),Object(r.a)(Gt,"".concat(lr,"-focused"),Qa),Object(r.a)(Gt,"".concat(lr,"-rtl"),Xa==="rtl"),Gt)),style:Vr,onMouseDown:Tn,onMouseUp:Gn,onMouseEnter:Kn,onMouseLeave:Fa,onContextMenu:Ya,onClick:Va},f.createElement("div",{className:M()("".concat(lr,"-input"),Object(r.a)({},"".concat(lr,"-input-placeholder"),!!Ao)),ref:Ka},Ei,Ko,Ps))))}var ti=function(Ke){Object(L.a)(sr,Ke);var Gt=Object(U.a)(sr);function sr(){var lr;Object(R.a)(this,sr);for(var Mr=arguments.length,Rr=new Array(Mr),Vr=0;Vr<Mr;Vr++)Rr[Vr]=arguments[Vr];return lr=Gt.call.apply(Gt,[this].concat(Rr)),lr.pickerRef=f.createRef(),lr.focus=function(){lr.pickerRef.current&&lr.pickerRef.current.focus()},lr.blur=function(){lr.pickerRef.current&&lr.pickerRef.current.blur()},lr}return Object(F.a)(sr,[{key:"render",value:function(){return f.createElement(ca,Object(E.a)({},this.props,{pickerRef:this.pickerRef}))}}]),sr}(f.Component),Ia=ti;function aa(Ke,Gt,sr){var lr=Ke.picker,Mr=Ke.locale,Rr=Ke.selectedValue,Vr=Ke.disabledDate,sn=Ke.disabled,vn=Ke.generateConfig,An=Ct(Rr,0),Fn=Ct(Rr,1);function tn(wn){return vn.locale.getWeekFirstDate(Mr.locale,wn)}function Kr(wn){var Nn=vn.getYear(wn),qn=vn.getMonth(wn);return Nn*100+qn}function on(wn){var Nn=vn.getYear(wn),qn=ze(vn,wn);return Nn*10+qn}var dn=f.useCallback(function(wn){if(Vr&&Vr(wn))return!0;if(sn[1]&&Fn)return!be(vn,wn,Fn)&&vn.isAfter(wn,Fn);if(Gt&&Fn)switch(lr){case"quarter":return on(wn)>on(Fn);case"month":return Kr(wn)>Kr(Fn);case"week":return tn(wn)>tn(Fn);default:return!be(vn,wn,Fn)&&vn.isAfter(wn,Fn)}return!1},[Vr,sn[1],Fn,Gt]),Bn=f.useCallback(function(wn){if(Vr&&Vr(wn))return!0;if(sn[0]&&An)return!be(vn,wn,Fn)&&vn.isAfter(An,wn);if(sr&&An)switch(lr){case"quarter":return on(wn)<on(An);case"month":return Kr(wn)<Kr(An);case"week":return tn(wn)<tn(An);default:return!be(vn,wn,An)&&vn.isAfter(An,wn)}return!1},[Vr,sn[0],An,sr]);return[dn,Bn]}function za(Ke,Gt,sr,lr){var Mr=ne(Ke,sr,lr,1);function Rr(Vr){return Vr(Ke,Gt)?"same":Vr(Mr,Gt)?"closing":"far"}switch(sr){case"year":return Rr(function(Vr,sn){return Me(lr,Vr,sn)});case"quarter":case"month":return Rr(function(Vr,sn){return De(lr,Vr,sn)});default:return Rr(function(Vr,sn){return te(lr,Vr,sn)})}}function ci(Ke,Gt,sr,lr){var Mr=Ct(Ke,0),Rr=Ct(Ke,1);if(Gt===0)return Mr;if(Mr&&Rr){var Vr=za(Mr,Rr,sr,lr);switch(Vr){case"same":return Mr;case"closing":return Mr;default:return ne(Rr,sr,lr,-1)}}return Mr}function qa(Ke){var Gt=Ke.values,sr=Ke.picker,lr=Ke.defaultDates,Mr=Ke.generateConfig,Rr=f.useState(function(){return[Ct(lr,0),Ct(lr,1)]}),Vr=Object(N.a)(Rr,2),sn=Vr[0],vn=Vr[1],An=f.useState(null),Fn=Object(N.a)(An,2),tn=Fn[0],Kr=Fn[1],on=Ct(Gt,0),dn=Ct(Gt,1);function Bn(Nn){return sn[Nn]?sn[Nn]:Ct(tn,Nn)||ci(Gt,Nn,sr,Mr)||on||dn||Mr.getNow()}function wn(Nn,qn){if(Nn){var Ra=Rt(tn,Nn,qn);vn(Rt(sn,null,qn)||[null,null]);var hi=(qn+1)%2;Ct(Gt,hi)||(Ra=Rt(Ra,Nn,hi)),Kr(Ra)}else(on||dn)&&Kr(null)}return[Bn,wn]}function yi(Ke,Gt){return Ke&&Ke[0]&&Ke[1]&&Gt.isAfter(Ke[0],Ke[1])?[Ke[1],Ke[0]]:Ke}function Li(Ke,Gt,sr,lr){return!!(Ke||lr&&lr[Gt]||sr[(Gt+1)%2])}function ha(Ke){var Gt,sr,lr,Mr=Ke.prefixCls,Rr=Mr===void 0?"rc-picker":Mr,Vr=Ke.id,sn=Ke.style,vn=Ke.className,An=Ke.popupStyle,Fn=Ke.dropdownClassName,tn=Ke.transitionName,Kr=Ke.dropdownAlign,on=Ke.getPopupContainer,dn=Ke.generateConfig,Bn=Ke.locale,wn=Ke.placeholder,Nn=Ke.autoFocus,qn=Ke.disabled,Ra=Ke.format,hi=Ke.picker,na=hi===void 0?"date":hi,Ba=Ke.showTime,Et=Ke.use12Hours,fr=Ke.separator,hr=fr===void 0?"~":fr,Sr=Ke.value,Er=Ke.defaultValue,Wr=Ke.defaultPickerValue,nn=Ke.open,Zr=Ke.defaultOpen,Gr=Ke.disabledDate,gn=Ke.disabledTime,On=Ke.dateRender,cn=Ke.panelRender,Dn=Ke.ranges,Mn=Ke.allowEmpty,Yn=Ke.allowClear,$n=Ke.suffixIcon,Tn=Ke.clearIcon,ea=Ke.pickerRef,Kn=Ke.inputReadOnly,Fa=Ke.mode,Ya=Ke.renderExtraFooter,Va=Ke.onChange,Ga=Ke.onOpenChange,vi=Ke.onPanelChange,Xa=Ke.onCalendarChange,Jn=Ke.onFocus,ei=Ke.onBlur,Na=Ke.onMouseDown,_n=Ke.onMouseUp,sa=Ke.onMouseEnter,wa=Ke.onMouseLeave,si=Ke.onClick,Ka=Ke.onOk,ja=Ke.onKeyDown,$a=Ke.components,Wi=Ke.order,Vi=Ke.direction,co=Ke.activePickerIndex,oo=Ke.autoComplete,Ki=oo===void 0?"off":oo,Gi=na==="date"&&!!Ba||na==="time",Ji=Object(f.useRef)({}),pi=Object(f.useRef)(null),Ri=Object(f.useRef)(null),Ii=Object(f.useRef)(null),Fi=Object(f.useRef)(null),Ro=Object(f.useRef)(null),Zi=Object(f.useRef)(null),eo=Object(f.useRef)(null),Ni=Object(f.useRef)(null),ii=st(St(Ra,na,Ba,Et)),Yi=Object(Q.a)(0,{value:co}),fo=Object(N.a)(Yi,2),fa=fo[0],uo=fo[1],fi=Object(f.useRef)(null),Ta=f.useMemo(function(){return Array.isArray(qn)?qn:[qn||!1,qn||!1]},[qn]),Ja=Object(Q.a)(null,{value:Sr,defaultValue:Er,postState:function(ga){return na==="time"&&!Wi?ga:yi(ga,dn)}}),Da=Object(N.a)(Ja,2),Gn=Da[0],mi=Da[1],no=qa({values:Gn,picker:na,defaultDates:Wr,generateConfig:dn}),bi=Object(N.a)(no,2),Zn=bi[0],Qa=bi[1],Wa=Object(Q.a)(Gn,{postState:function(ga){var oi=ga;if(Ta[0]&&Ta[1])return oi;for(var Xi=0;Xi<2;Xi+=1)Ta[Xi]&&!Ct(oi,Xi)&&!Ct(Mn,Xi)&&(oi=Rt(oi,dn.getNow(),Xi));return oi}}),to=Object(N.a)(Wa,2),Ci=to[0],Ao=to[1],jo=Object(Q.a)([na,na],{value:Fa}),es=Object(N.a)(jo,2),ts=es[0],gs=es[1];Object(f.useEffect)(function(){gs([na,na])},[na]);var ls=function(ga,oi){gs(ga),vi&&vi(oi,ga)},Ko=aa({picker:na,selectedValue:Ci,locale:Bn,disabled:Ta,disabledDate:Gr,generateConfig:dn},Ji.current[1],Ji.current[0]),Ps=Object(N.a)(Ko,2),Fo=Ps[0],Ei=Ps[1],Ar=Object(Q.a)(!1,{value:nn,defaultValue:Zr,postState:function(ga){return Ta[fa]?!1:ga},onChange:function(ga){Ga&&Ga(ga),!ga&&fi.current&&fi.current.onClose&&fi.current.onClose()}}),so=Object(N.a)(Ar,2),Ui=so[0],da=so[1],Pa=Ui&&fa===0,lo=Ui&&fa===1,go=Object(f.useState)(0),Po=Object(N.a)(go,2),bo=Po[0],So=Po[1];Object(f.useEffect)(function(){!Ui&&pi.current&&So(pi.current.offsetWidth)},[Ui]);var rs=f.useRef();function is(zi,ga){if(zi)clearTimeout(rs.current),Ji.current[ga]=!0,uo(ga),da(zi),Ui||Qa(null,ga);else if(fa===ga){da(zi);var oi=Ji.current;rs.current=setTimeout(function(){oi===Ji.current&&(Ji.current={})})}}function Is(zi){is(!0,zi),setTimeout(function(){var ga=[Zi,eo][zi];ga.current&&ga.current.focus()},0)}function ds(zi,ga){var oi=zi,Xi=Ct(oi,0),Zo=Ct(oi,1);Xi&&Zo&&dn.isAfter(Xi,Zo)&&(na==="week"&&!Z(dn,Bn.locale,Xi,Zo)||na==="quarter"&&!pe(dn,Xi,Zo)||na!=="week"&&na!=="quarter"&&na!=="time"&&!be(dn,Xi,Zo)?(ga===0?(oi=[Xi,null],Zo=null):(Xi=null,oi=[null,Zo]),Ji.current=Object(r.a)({},ga,!0)):(na!=="time"||Wi!==!1)&&(oi=yi(oi,dn))),Ao(oi);var zs=oi&&oi[0]?ce(oi[0],{generateConfig:dn,locale:Bn,format:ii[0]}):"",$s=oi&&oi[1]?ce(oi[1],{generateConfig:dn,locale:Bn,format:ii[0]}):"";if(Xa){var Qs={range:ga===0?"start":"end"};Xa(oi,[zs,$s],Qs)}var Vs=Li(Xi,0,Ta,Mn),Xo=Li(Zo,1,Ta,Mn),Al=oi===null||Vs&&Xo;Al&&(mi(oi),Va&&(!se(dn,Ct(Gn,0),Xi)||!se(dn,Ct(Gn,1),Zo))&&Va(oi,[zs,$s]));var Ls=null;ga===0&&!Ta[1]?Ls=1:ga===1&&!Ta[0]&&(Ls=0),Ls!==null&&Ls!==fa&&(!Ji.current[Ls]||!Ct(oi,Ls))&&Ct(oi,ga)?Is(Ls):is(!1,ga)}var ps=function(ga){return Ui&&fi.current&&fi.current.onKeyDown?fi.current.onKeyDown(ga):(Object(w.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},$o={formatList:ii,generateConfig:dn,locale:Bn},ms=un(Ct(Ci,0),$o),os=Object(N.a)(ms,2),_o=os[0],Fs=os[1],ss=un(Ct(Ci,1),$o),us=Object(N.a)(ss,2),Bt=us[0],X=us[1],re=function(ga,oi){var Xi=ae(ga,{locale:Bn,formatList:ii,generateConfig:dn}),Zo=oi===0?Fo:Ei;Xi&&!Zo(Xi)&&(Ao(Rt(Ci,Xi,oi)),Qa(Xi,oi))},le=jr({valueTexts:_o,onTextChange:function(ga){return re(ga,0)}}),we=Object(N.a)(le,3),Xe=we[0],xt=we[1],tr=we[2],ur=jr({valueTexts:Bt,onTextChange:function(ga){return re(ga,1)}}),br=Object(N.a)(ur,3),Qr=br[0],an=br[1],yn=br[2],Ln=Object(f.useState)(null),Rn=Object(N.a)(Ln,2),ma=Rn[0],Ha=Rn[1],wi=Object(f.useState)(null),Di=Object(N.a)(wi,2),Oi=Di[0],po=Di[1],mo=jn(Xe,{formatList:ii,generateConfig:dn,locale:Bn}),Eo=Object(N.a)(mo,3),Bo=Eo[0],No=Eo[1],Go=Eo[2],Yo=jn(Qr,{formatList:ii,generateConfig:dn,locale:Bn}),ro=Object(N.a)(Yo,3),va=ro[0],_s=ro[1],As=ro[2],Jo=function(ga){po(Rt(Ci,ga,fa)),fa===0?No(ga):_s(ga)},ni=function(){po(Rt(Ci,null,fa)),fa===0?Go():As()},Si=function(ga,oi){return{blurToCancel:Gi,forwardKeyDown:ps,onBlur:ei,isClickOutside:function(Zo){return!bt([Ri.current,Ii.current,Fi.current,pi.current],Zo)},onFocus:function(Zo){uo(ga),Jn&&Jn(Zo)},triggerOpen:function(Zo){is(Zo,ga)},onSubmit:function(){if(!Ci||Gr&&Gr(Ci[ga]))return!1;ds(Ci,ga),oi()},onCancel:function(){is(!1,ga),Ao(Gn),oi()}}},Uo=Fr(Object(u.a)(Object(u.a)({},Si(0,tr)),{},{open:Pa,value:Xe,onKeyDown:function(ga,oi){ja==null||ja(ga,oi)}})),ns=Object(N.a)(Uo,2),Ds=ns[0],cs=ns[1],Ms=cs.focused,js=cs.typing,Oo=Fr(Object(u.a)(Object(u.a)({},Si(1,yn)),{},{open:lo,value:Qr,onKeyDown:function(ga,oi){ja==null||ja(ga,oi)}})),Ns=Object(N.a)(Oo,2),sl=Ns[0],xl=Ns[1],el=xl.focused,Ys=xl.typing,Xs=function(ga){si&&si(ga),!Ui&&!Zi.current.contains(ga.target)&&!eo.current.contains(ga.target)&&(Ta[0]?Ta[1]||Is(1):Is(0))},bl=function(ga){Na&&Na(ga),Ui&&(Ms||el)&&!Zi.current.contains(ga.target)&&!eo.current.contains(ga.target)&&ga.preventDefault()},al=Gn&&Gn[0]?ce(Gn[0],{locale:Bn,format:"YYYYMMDDHHmmss",generateConfig:dn}):"",Xl=Gn&&Gn[1]?ce(Gn[1],{locale:Bn,format:"YYYYMMDDHHmmss",generateConfig:dn}):"";Object(f.useEffect)(function(){Ui||(Ao(Gn),!_o.length||_o[0]===""?xt(""):Fs!==Xe&&tr(),!Bt.length||Bt[0]===""?an(""):X!==Qr&&yn())},[Ui,_o,Bt]),Object(f.useEffect)(function(){Ao(Gn)},[al,Xl]),ea&&(ea.current={focus:function(){Zi.current&&Zi.current.focus()},blur:function(){Zi.current&&Zi.current.blur(),eo.current&&eo.current.blur()}});var ll=Object.keys(Dn||{}),Ul=ll.map(function(zi){var ga=Dn[zi],oi=typeof ga=="function"?ga():ga;return{label:zi,onClick:function(){ds(oi,null),is(!1,fa)},onMouseEnter:function(){Ha(oi)},onMouseLeave:function(){Ha(null)}}});function ul(){var zi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ga=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oi=null;Ui&&Oi&&Oi[0]&&Oi[1]&&dn.isAfter(Oi[1],Oi[0])&&(oi=Oi);var Xi=Ba;if(Ba&&Object(z.a)(Ba)==="object"&&Ba.defaultValue){var Zo=Ba.defaultValue;Xi=Object(u.a)(Object(u.a)({},Ba),{},{defaultValue:Ct(Zo,fa)||void 0})}var zs=null;return On&&(zs=function(Qs,Vs){return On(Qs,Vs,{range:fa?"end":"start"})}),f.createElement(Mt.Provider,{value:{inRange:!0,panelPosition:zi,rangedValue:ma||Ci,hoverRangedValue:oi}},f.createElement(Ir,Object(E.a)({},Ke,ga,{dateRender:zs,showTime:Xi,mode:ts[fa],generateConfig:dn,style:void 0,direction:Vi,disabledDate:fa===0?Fo:Ei,disabledTime:function(Qs){return gn?gn(Qs,fa===0?"start":"end"):!1},className:M()(Object(r.a)({},"".concat(Rr,"-panel-focused"),fa===0?!js:!Ys)),value:Ct(Ci,fa),locale:Bn,tabIndex:-1,onPanelChange:function(Qs,Vs){fa===0&&Go(!0),fa===1&&As(!0),ls(Rt(ts,Vs,fa),Rt(Ci,Qs,fa));var Xo=Qs;zi==="right"&&ts[fa]===Vs&&(Xo=ne(Xo,Vs,dn,-1)),Qa(Xo,fa)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:fa===0?Ct(Ci,1):Ct(Ci,0)})))}var Js=0,cl=0;if(fa&&Ii.current&&Ro.current&&Ri.current){Js=Ii.current.offsetWidth+Ro.current.offsetWidth;var $l=Ni.current.offsetLeft>Js?Ni.current.offsetLeft-Js:Ni.current.offsetLeft;Ri.current.offsetWidth&&Ni.current.offsetWidth&&Js>Ri.current.offsetWidth-Ni.current.offsetWidth-(Vi==="rtl"?0:$l)&&(cl=Js)}var fl=Vi==="rtl"?{right:Js}:{left:Js};function Jl(){var zi,ga=ba(Rr,ts[fa],Ya),oi=La({prefixCls:Rr,components:$a,needConfirmButton:Gi,okDisabled:!Ct(Ci,fa)||Gr&&Gr(Ci[fa]),locale:Bn,rangeList:Ul,onOk:function(){Ct(Ci,fa)&&(ds(Ci,fa),Ka&&Ka(Ci))}});if(na!=="time"&&!Ba){var Xi=Zn(fa),Zo=ne(Xi,na,dn),zs=ts[fa],$s=zs===na,Qs=ul($s?"left":!1,{pickerValue:Xi,onPickerValueChange:function(Ls){Qa(Ls,fa)}}),Vs=ul("right",{pickerValue:Zo,onPickerValueChange:function(Ls){Qa(ne(Ls,na,dn,-1),fa)}});Vi==="rtl"?zi=f.createElement(f.Fragment,null,Vs,$s&&Qs):zi=f.createElement(f.Fragment,null,Qs,$s&&Vs)}else zi=ul();var Xo=f.createElement(f.Fragment,null,f.createElement("div",{className:"".concat(Rr,"-panels")},zi),(ga||oi)&&f.createElement("div",{className:"".concat(Rr,"-footer")},ga,oi));return cn&&(Xo=cn(Xo)),f.createElement("div",{className:"".concat(Rr,"-panel-container"),style:{marginLeft:cl},ref:Ri,onMouseDown:function(Ls){Ls.preventDefault()}},Xo)}var Cl=f.createElement("div",{className:M()("".concat(Rr,"-range-wrapper"),"".concat(Rr,"-").concat(na,"-range-wrapper")),style:{minWidth:bo}},f.createElement("div",{ref:Ni,className:"".concat(Rr,"-range-arrow"),style:fl}),Jl()),wl;$n&&(wl=f.createElement("span",{className:"".concat(Rr,"-suffix")},$n));var dl;Yn&&(Ct(Gn,0)&&!Ta[0]||Ct(Gn,1)&&!Ta[1])&&(dl=f.createElement("span",{onMouseDown:function(ga){ga.preventDefault(),ga.stopPropagation()},onMouseUp:function(ga){ga.preventDefault(),ga.stopPropagation();var oi=Gn;Ta[0]||(oi=Rt(oi,null,0)),Ta[1]||(oi=Rt(oi,null,1)),ds(oi,null),is(!1,fa)},className:"".concat(Rr,"-clear")},Tn||f.createElement("span",{className:"".concat(Rr,"-clear-btn")})));var Zs={size:$e(na,ii[0],dn)},il=0,qs=0;Ii.current&&Fi.current&&Ro.current&&(fa===0?qs=Ii.current.offsetWidth:(il=Js,qs=Fi.current.offsetWidth));var tl=Vi==="rtl"?{right:il}:{left:il},Zl=function(ga,oi){var Xi=Rt(Ci,ga,fa);oi==="submit"||oi!=="key"&&!Gi?(ds(Xi,fa),fa===0?Go():As()):Ao(Xi)};return f.createElement(Y.Provider,{value:{operationRef:fi,hideHeader:na==="time",onDateMouseEnter:Jo,onDateMouseLeave:ni,hideRanges:!0,onSelect:Zl,open:Ui}},f.createElement(Hr,{visible:Ui,popupElement:Cl,popupStyle:An,prefixCls:Rr,dropdownClassName:Fn,dropdownAlign:Kr,getPopupContainer:on,transitionName:tn,range:!0,direction:Vi},f.createElement("div",Object(E.a)({ref:pi,className:M()(Rr,"".concat(Rr,"-range"),vn,(Gt={},Object(r.a)(Gt,"".concat(Rr,"-disabled"),Ta[0]&&Ta[1]),Object(r.a)(Gt,"".concat(Rr,"-focused"),fa===0?Ms:el),Object(r.a)(Gt,"".concat(Rr,"-rtl"),Vi==="rtl"),Gt)),style:sn,onClick:Xs,onMouseEnter:sa,onMouseLeave:wa,onMouseDown:bl,onMouseUp:_n},_t(Ke)),f.createElement("div",{className:M()("".concat(Rr,"-input"),(sr={},Object(r.a)(sr,"".concat(Rr,"-input-active"),fa===0),Object(r.a)(sr,"".concat(Rr,"-input-placeholder"),!!Bo),sr)),ref:Ii},f.createElement("input",Object(E.a)({id:Vr,disabled:Ta[0],readOnly:Kn||typeof ii[0]=="function"||!js,value:Bo||Xe,onChange:function(ga){xt(ga.target.value)},autoFocus:Nn,placeholder:Ct(wn,0)||"",ref:Zi},Ds,Zs,{autoComplete:Ki}))),f.createElement("div",{className:"".concat(Rr,"-range-separator"),ref:Ro},hr),f.createElement("div",{className:M()("".concat(Rr,"-input"),(lr={},Object(r.a)(lr,"".concat(Rr,"-input-active"),fa===1),Object(r.a)(lr,"".concat(Rr,"-input-placeholder"),!!va),lr)),ref:Fi},f.createElement("input",Object(E.a)({disabled:Ta[1],readOnly:Kn||typeof ii[0]=="function"||!Ys,value:va||Qr,onChange:function(ga){an(ga.target.value)},placeholder:Ct(wn,1)||"",ref:eo},sl,Zs,{autoComplete:Ki}))),f.createElement("div",{className:"".concat(Rr,"-active-bar"),style:Object(u.a)(Object(u.a)({},tl),{},{width:qs,position:"absolute"})}),wl,dl)))}var ka=function(Ke){Object(L.a)(sr,Ke);var Gt=Object(U.a)(sr);function sr(){var lr;Object(R.a)(this,sr);for(var Mr=arguments.length,Rr=new Array(Mr),Vr=0;Vr<Mr;Vr++)Rr[Vr]=arguments[Vr];return lr=Gt.call.apply(Gt,[this].concat(Rr)),lr.pickerRef=f.createRef(),lr.focus=function(){lr.pickerRef.current&&lr.pickerRef.current.focus()},lr.blur=function(){lr.pickerRef.current&&lr.pickerRef.current.blur()},lr}return Object(F.a)(sr,[{key:"render",value:function(){return f.createElement(ha,Object(E.a)({},this.props,{pickerRef:this.pickerRef}))}}]),sr}(f.Component),Hi=ka,ao=Ia,Qi=e("H84U"),ta=e("caoh"),la=e("3Nzz"),qr=e("ihLV"),Ca=e("+f9I"),li=e("YMnH"),di=e("ATYA"),_i=e("61s2");function Lo(Ke,Gt,sr){return sr!==void 0?sr:Ke==="year"&&Gt.lang.yearPlaceholder?Gt.lang.yearPlaceholder:Ke==="quarter"&&Gt.lang.quarterPlaceholder?Gt.lang.quarterPlaceholder:Ke==="month"&&Gt.lang.monthPlaceholder?Gt.lang.monthPlaceholder:Ke==="week"&&Gt.lang.weekPlaceholder?Gt.lang.weekPlaceholder:Ke==="time"&&Gt.timePickerLocale.placeholder?Gt.timePickerLocale.placeholder:Gt.lang.placeholder}function $i(Ke,Gt,sr){return sr!==void 0?sr:Ke==="year"&&Gt.lang.yearPlaceholder?Gt.lang.rangeYearPlaceholder:Ke==="quarter"&&Gt.lang.quarterPlaceholder?Gt.lang.rangeQuarterPlaceholder:Ke==="month"&&Gt.lang.monthPlaceholder?Gt.lang.rangeMonthPlaceholder:Ke==="week"&&Gt.lang.weekPlaceholder?Gt.lang.rangeWeekPlaceholder:Ke==="time"&&Gt.timePickerLocale.placeholder?Gt.timePickerLocale.rangePlaceholder:Gt.lang.rangePlaceholder}function io(Ke,Gt){var sr={adjustX:1,adjustY:1};switch(Gt){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:sr};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:sr};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:sr};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:sr};default:return{points:Ke==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:sr}}}var Ho=function(Ke,Gt){var sr={};for(var lr in Ke)Object.prototype.hasOwnProperty.call(Ke,lr)&&Gt.indexOf(lr)<0&&(sr[lr]=Ke[lr]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mr=0,lr=Object.getOwnPropertySymbols(Ke);Mr<lr.length;Mr++)Gt.indexOf(lr[Mr])<0&&Object.prototype.propertyIsEnumerable.call(Ke,lr[Mr])&&(sr[lr[Mr]]=Ke[lr[Mr]]);return sr};function xo(Ke){var Gt=Object(f.forwardRef)(function(sr,lr){var Mr=sr.prefixCls,Rr=sr.getPopupContainer,Vr=sr.className,sn=sr.placement,vn=sr.size,An=sr.disabled,Fn=sr.bordered,tn=Fn===void 0?!0:Fn,Kr=sr.placeholder,on=sr.popupClassName,dn=sr.dropdownClassName,Bn=sr.status,wn=Ho(sr,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status"]),Nn=f.useRef(null),qn=Object(f.useContext)(Qi.b),Ra=qn.getPrefixCls,hi=qn.direction,na=qn.getPopupContainer,Ba=Ra("picker",Mr),Et=Object(Ca.c)(Ba,hi),fr=Et.compactSize,hr=Et.compactItemClassnames,Sr=sr.format,Er=sr.showTime,Wr=sr.picker,nn=Ra(),Zr={};Zr=Object(E.a)(Object(E.a)(Object(E.a)({},Zr),Er?as(Object(E.a)({format:Sr,picker:Wr},Er)):{}),Wr==="time"?as(Object(E.a)(Object(E.a)({format:Sr},sr),{picker:Wr})):{});var Gr=f.useContext(la.b),gn=fr||vn||Gr,On=f.useContext(ta.b),cn=An!=null?An:On,Dn=Object(f.useContext)(qr.b),Mn=Dn.hasFeedback,Yn=Dn.status,$n=Dn.feedbackIcon,Tn=f.createElement(f.Fragment,null,Wr==="time"?f.createElement(v,null):f.createElement(d,null),Mn&&$n);return Object(f.useImperativeHandle)(lr,function(){return{focus:function(){var Kn;return(Kn=Nn.current)===null||Kn===void 0?void 0:Kn.focus()},blur:function(){var Kn;return(Kn=Nn.current)===null||Kn===void 0?void 0:Kn.blur()}}}),f.createElement(li.a,{componentName:"DatePicker",defaultLocale:_i.a},function(ea){var Kn,Fa=Object(E.a)(Object(E.a)({},ea),sr.locale);return f.createElement(Hi,Object(E.a)({separator:f.createElement("span",{"aria-label":"to",className:"".concat(Ba,"-separator")},f.createElement(S,null)),disabled:cn,ref:Nn,dropdownClassName:on||dn,dropdownAlign:io(hi,sn),placeholder:$i(Wr,Fa,Kr),suffixIcon:Tn,clearIcon:f.createElement(g.a,null),prevIcon:f.createElement("span",{className:"".concat(Ba,"-prev-icon")}),nextIcon:f.createElement("span",{className:"".concat(Ba,"-next-icon")}),superPrevIcon:f.createElement("span",{className:"".concat(Ba,"-super-prev-icon")}),superNextIcon:f.createElement("span",{className:"".concat(Ba,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(nn,"-slide-up")},wn,Zr,{className:M()((Kn={},Object(r.a)(Kn,"".concat(Ba,"-").concat(gn),gn),Object(r.a)(Kn,"".concat(Ba,"-borderless"),!tn),Kn),Object(di.b)(Ba,Object(di.a)(Yn,Bn),Mn),hr,Vr),locale:Fa.lang,prefixCls:Ba,getPopupContainer:Rr||na,generateConfig:Ke,components:Do,direction:hi}))})});return Gt}var Vo=function(Ke,Gt){var sr={};for(var lr in Ke)Object.prototype.hasOwnProperty.call(Ke,lr)&&Gt.indexOf(lr)<0&&(sr[lr]=Ke[lr]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mr=0,lr=Object.getOwnPropertySymbols(Ke);Mr<lr.length;Mr++)Gt.indexOf(lr[Mr])<0&&Object.prototype.propertyIsEnumerable.call(Ke,lr[Mr])&&(sr[lr[Mr]]=Ke[lr[Mr]]);return sr};function Io(Ke){function Gt(vn,An){var Fn=Object(f.forwardRef)(function(tn,Kr){var on=tn.prefixCls,dn=tn.getPopupContainer,Bn=tn.className,wn=tn.size,Nn=tn.bordered,qn=Nn===void 0?!0:Nn,Ra=tn.placement,hi=tn.placeholder,na=tn.popupClassName,Ba=tn.dropdownClassName,Et=tn.disabled,fr=tn.status,hr=Vo(tn,["prefixCls","getPopupContainer","className","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status"]),Sr=Object(f.useContext)(Qi.b),Er=Sr.getPrefixCls,Wr=Sr.direction,nn=Sr.getPopupContainer,Zr=Er("picker",on),Gr=Object(Ca.c)(Zr,Wr),gn=Gr.compactSize,On=Gr.compactItemClassnames,cn=f.useRef(null),Dn=tn.format,Mn=tn.showTime;Object(f.useImperativeHandle)(Kr,function(){return{focus:function(){var _n;return(_n=cn.current)===null||_n===void 0?void 0:_n.focus()},blur:function(){var _n;return(_n=cn.current)===null||_n===void 0?void 0:_n.blur()}}});var Yn={showToday:!0},$n={};vn&&($n.picker=vn);var Tn=vn||tn.picker;$n=Object(E.a)(Object(E.a)(Object(E.a)({},$n),Mn?as(Object(E.a)({format:Dn,picker:Tn},Mn)):{}),Tn==="time"?as(Object(E.a)(Object(E.a)({format:Dn},tn),{picker:Tn})):{});var ea=Er(),Kn=f.useContext(la.b),Fa=gn||wn||Kn,Ya=f.useContext(ta.b),Va=Et!=null?Et:Ya,Ga=Object(f.useContext)(qr.b),vi=Ga.hasFeedback,Xa=Ga.status,Jn=Ga.feedbackIcon,ei=f.createElement(f.Fragment,null,Tn==="time"?f.createElement(v,null):f.createElement(d,null),vi&&Jn);return f.createElement(li.a,{componentName:"DatePicker",defaultLocale:_i.a},function(Na){var _n,sa=Object(E.a)(Object(E.a)({},Na),tn.locale);return f.createElement(ao,Object(E.a)({ref:cn,placeholder:Lo(Tn,sa,hi),suffixIcon:ei,dropdownAlign:io(Wr,Ra),dropdownClassName:na||Ba,clearIcon:f.createElement(g.a,null),prevIcon:f.createElement("span",{className:"".concat(Zr,"-prev-icon")}),nextIcon:f.createElement("span",{className:"".concat(Zr,"-next-icon")}),superPrevIcon:f.createElement("span",{className:"".concat(Zr,"-super-prev-icon")}),superNextIcon:f.createElement("span",{className:"".concat(Zr,"-super-next-icon")}),allowClear:!0,transitionName:"".concat(ea,"-slide-up")},Yn,hr,$n,{locale:sa.lang,className:M()((_n={},Object(r.a)(_n,"".concat(Zr,"-").concat(Fa),Fa),Object(r.a)(_n,"".concat(Zr,"-borderless"),!qn),_n),Object(di.b)(Zr,Object(di.a)(Xa,fr),vi),On,Bn),prefixCls:Zr,getPopupContainer:dn||nn,generateConfig:Ke,components:Do,direction:Wr,disabled:Va}))})});return An&&(Fn.displayName=An),Fn}var sr=Gt(),lr=Gt("week","WeekPicker"),Mr=Gt("month","MonthPicker"),Rr=Gt("year","YearPicker"),Vr=Gt("time","TimePicker"),sn=Gt("quarter","QuarterPicker");return{DatePicker:sr,WeekPicker:lr,MonthPicker:Mr,YearPicker:Rr,TimePicker:Vr,QuarterPicker:sn}}var Do={button:i,rangeItem:o};function Hs(Ke){return Ke?Array.isArray(Ke)?Ke:[Ke]:[]}function as(Ke){var Gt=Ke.format,sr=Ke.picker,lr=Ke.showHour,Mr=Ke.showMinute,Rr=Ke.showSecond,Vr=Ke.use12Hours,sn=Hs(Gt)[0],vn=Object(E.a)({},Ke);return sn&&typeof sn=="string"&&(!sn.includes("s")&&Rr===void 0&&(vn.showSecond=!1),!sn.includes("m")&&Mr===void 0&&(vn.showMinute=!1),!sn.includes("H")&&!sn.includes("h")&&lr===void 0&&(vn.showHour=!1),(sn.includes("a")||sn.includes("A"))&&Vr===void 0&&(vn.use12Hours=!0)),sr==="time"?vn:(typeof sn=="function"&&delete vn.format,{showTime:vn})}var xi=Object(C.a)("bottomLeft","bottomRight","topLeft","topRight");function Os(Ke){var Gt=Io(Ke),sr=Gt.DatePicker,lr=Gt.WeekPicker,Mr=Gt.MonthPicker,Rr=Gt.YearPicker,Vr=Gt.TimePicker,sn=Gt.QuarterPicker,vn=xo(Ke),An=sr;return An.WeekPicker=lr,An.MonthPicker=Mr,An.YearPicker=Rr,An.RangePicker=vn,An.TimePicker=Vr,An.QuarterPicker=sn,An}var vs=Os,fs=vs(I),ji=V.a=fs},"+lIL":function(oe,V,e){var B=e("ProS");e("/ry/"),e("3OrL");var T=e("L5E0"),w=e("7Phj");B.registerVisual(T),B.registerLayout(w)},"+nKL":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("VTBJ"),D=e("ODXe"),I=e("Ff2n"),E=e("q1tI"),C=e("TSYQ"),f=e.n(C),t=e("t23M"),i=E.forwardRef(function(Ce,ge){var de=Ce.height,Pe=Ce.offset,_e=Ce.children,Ne=Ce.prefixCls,He=Ce.onInnerResize,ue={},Re={display:"flex",flexDirection:"column"};return Pe!==void 0&&(ue={height:de,position:"relative",overflow:"hidden"},Re=Object(w.a)(Object(w.a)({},Re),{},{transform:"translateY(".concat(Pe,"px)"),position:"absolute",left:0,right:0,top:0})),E.createElement("div",{style:ue},E.createElement(t.a,{onResize:function(Ve){var Ge=Ve.offsetHeight;Ge&&He&&He()}},E.createElement("div",{style:Re,className:f()(Object(T.a)({},"".concat(Ne,"-holder-inner"),Ne)),ref:ge},_e)))});i.displayName="Filler";var s=i,o=e("1OyB"),r=e("vuIU"),u=e("Ji7U"),n=e("LK+K"),l=e("wgJM"),a=20;function c(Ce){return"touches"in Ce?Ce.touches[0].pageY:Ce.pageY}var d=function(Ce){Object(u.a)(de,Ce);var ge=Object(n.a)(de);function de(){var Pe;Object(o.a)(this,de);for(var _e=arguments.length,Ne=new Array(_e),He=0;He<_e;He++)Ne[He]=arguments[He];return Pe=ge.call.apply(ge,[this].concat(Ne)),Pe.moveRaf=null,Pe.scrollbarRef=E.createRef(),Pe.thumbRef=E.createRef(),Pe.visibleTimeout=null,Pe.state={dragging:!1,pageY:null,startTop:null,visible:!1},Pe.delayHidden=function(){clearTimeout(Pe.visibleTimeout),Pe.setState({visible:!0}),Pe.visibleTimeout=setTimeout(function(){Pe.setState({visible:!1})},2e3)},Pe.onScrollbarTouchStart=function(ue){ue.preventDefault()},Pe.onContainerMouseDown=function(ue){ue.stopPropagation(),ue.preventDefault()},Pe.patchEvents=function(){window.addEventListener("mousemove",Pe.onMouseMove),window.addEventListener("mouseup",Pe.onMouseUp),Pe.thumbRef.current.addEventListener("touchmove",Pe.onMouseMove),Pe.thumbRef.current.addEventListener("touchend",Pe.onMouseUp)},Pe.removeEvents=function(){var ue;window.removeEventListener("mousemove",Pe.onMouseMove),window.removeEventListener("mouseup",Pe.onMouseUp),(ue=Pe.scrollbarRef.current)===null||ue===void 0||ue.removeEventListener("touchstart",Pe.onScrollbarTouchStart),Pe.thumbRef.current&&(Pe.thumbRef.current.removeEventListener("touchstart",Pe.onMouseDown),Pe.thumbRef.current.removeEventListener("touchmove",Pe.onMouseMove),Pe.thumbRef.current.removeEventListener("touchend",Pe.onMouseUp)),l.a.cancel(Pe.moveRaf)},Pe.onMouseDown=function(ue){var Re=Pe.props.onStartMove;Pe.setState({dragging:!0,pageY:c(ue),startTop:Pe.getTop()}),Re(),Pe.patchEvents(),ue.stopPropagation(),ue.preventDefault()},Pe.onMouseMove=function(ue){var Re=Pe.state,nt=Re.dragging,Ve=Re.pageY,Ge=Re.startTop,dt=Pe.props.onScroll;if(l.a.cancel(Pe.moveRaf),nt){var et=c(ue)-Ve,At=Ge+et,Dt=Pe.getEnableScrollRange(),Ft=Pe.getEnableHeightRange(),St=Ft?At/Ft:0,$e=Math.ceil(St*Dt);Pe.moveRaf=Object(l.a)(function(){dt($e)})}},Pe.onMouseUp=function(){var ue=Pe.props.onStopMove;Pe.setState({dragging:!1}),ue(),Pe.removeEvents()},Pe.getSpinHeight=function(){var ue=Pe.props,Re=ue.height,nt=ue.count,Ve=Re/nt*10;return Ve=Math.max(Ve,a),Ve=Math.min(Ve,Re/2),Math.floor(Ve)},Pe.getEnableScrollRange=function(){var ue=Pe.props,Re=ue.scrollHeight,nt=ue.height;return Re-nt||0},Pe.getEnableHeightRange=function(){var ue=Pe.props.height,Re=Pe.getSpinHeight();return ue-Re||0},Pe.getTop=function(){var ue=Pe.props.scrollTop,Re=Pe.getEnableScrollRange(),nt=Pe.getEnableHeightRange();if(ue===0||Re===0)return 0;var Ve=ue/Re;return Ve*nt},Pe.showScroll=function(){var ue=Pe.props,Re=ue.height,nt=ue.scrollHeight;return nt>Re},Pe}return Object(r.a)(de,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(_e){_e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var _e=this.state,Ne=_e.dragging,He=_e.visible,ue=this.props.prefixCls,Re=this.getSpinHeight(),nt=this.getTop(),Ve=this.showScroll(),Ge=Ve&&He;return E.createElement("div",{ref:this.scrollbarRef,className:f()("".concat(ue,"-scrollbar"),Object(T.a)({},"".concat(ue,"-scrollbar-show"),Ve)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:Ge?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},E.createElement("div",{ref:this.thumbRef,className:f()("".concat(ue,"-scrollbar-thumb"),Object(T.a)({},"".concat(ue,"-scrollbar-thumb-moving"),Ne)),style:{width:"100%",height:Re,top:nt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),de}(E.Component);function h(Ce){var ge=Ce.children,de=Ce.setRef,Pe=E.useCallback(function(_e){de(_e)},[]);return E.cloneElement(ge,{ref:Pe})}function y(Ce,ge,de,Pe,_e,Ne){var He=Ne.getKey;return Ce.slice(ge,de+1).map(function(ue,Re){var nt=ge+Re,Ve=_e(ue,nt,{}),Ge=He(ue);return E.createElement(h,{key:Ge,setRef:function(et){return Pe(ue,et)}},Ve)})}var A=e("m+aA"),v=function(){function Ce(){Object(o.a)(this,Ce),this.maps=void 0,this.maps=Object.create(null)}return Object(r.a)(Ce,[{key:"set",value:function(de,Pe){this.maps[de]=Pe}},{key:"get",value:function(de){return this.maps[de]}}]),Ce}(),g=v;function x(Ce,ge,de){var Pe=E.useState(0),_e=Object(D.a)(Pe,2),Ne=_e[0],He=_e[1],ue=Object(E.useRef)(new Map),Re=Object(E.useRef)(new g),nt=Object(E.useRef)();function Ve(){l.a.cancel(nt.current)}function Ge(){Ve(),nt.current=Object(l.a)(function(){ue.current.forEach(function(et,At){if(et&&et.offsetParent){var Dt=Object(A.a)(et),Ft=Dt.offsetHeight;Re.current.get(At)!==Ft&&Re.current.set(At,Dt.offsetHeight)}}),He(function(et){return et+1})})}function dt(et,At){var Dt=Ce(et),Ft=ue.current.get(Dt);At?(ue.current.set(Dt,At),Ge()):ue.current.delete(Dt),!Ft!=!At&&(At?ge==null||ge(et):de==null||de(et))}return Object(E.useEffect)(function(){return Ve},[]),[dt,Ge,Re.current,Ne]}var m=e("U8pU");function b(Ce,ge,de,Pe,_e,Ne,He,ue){var Re=E.useRef();return function(nt){if(nt==null){ue();return}if(l.a.cancel(Re.current),typeof nt=="number")He(nt);else if(nt&&Object(m.a)(nt)==="object"){var Ve,Ge=nt.align;"index"in nt?Ve=nt.index:Ve=ge.findIndex(function(Dt){return _e(Dt)===nt.key});var dt=nt.offset,et=dt===void 0?0:dt,At=function Dt(Ft,St){if(!(Ft<0||!Ce.current)){var $e=Ce.current.clientHeight,lt=!1,Ut=St;if($e){for(var gt=St||Ge,ft=0,rt=0,Ie=0,Ot=Math.min(ge.length,Ve),Xt=0;Xt<=Ot;Xt+=1){var Vt=_e(ge[Xt]);rt=ft;var bt=de.get(Vt);Ie=rt+(bt===void 0?Pe:bt),ft=Ie,Xt===Ve&&bt===void 0&&(lt=!0)}var It=null;switch(gt){case"top":It=rt-et;break;case"bottom":It=Ie-$e+et;break;default:{var Kt=Ce.current.scrollTop,Se=Kt+$e;rt<Kt?Ut="top":Ie>Se&&(Ut="bottom")}}It!==null&&It!==Ce.current.scrollTop&&He(It)}Re.current=Object(l.a)(function(){lt&&Ne(),Dt(Ft-1,Ut)})}};At(3)}}}function S(Ce,ge,de,Pe){var _e=de-Ce,Ne=ge-de,He=Math.min(_e,Ne)*2;if(Pe<=He){var ue=Math.floor(Pe/2);return Pe%2?de+ue+1:de-ue}return _e>Ne?de-(Pe-Ne):de+(Pe-_e)}function P(Ce,ge,de){var Pe=Ce.length,_e=ge.length,Ne,He;if(Pe===0&&_e===0)return null;Pe<_e?(Ne=Ce,He=ge):(Ne=ge,He=Ce);var ue={__EMPTY_ITEM__:!0};function Re(At){return At!==void 0?de(At):ue}for(var nt=null,Ve=Math.abs(Pe-_e)!==1,Ge=0;Ge<He.length;Ge+=1){var dt=Re(Ne[Ge]),et=Re(He[Ge]);if(dt!==et){nt=Ge,Ve=Ve||dt!==Re(He[Ge+1]);break}}return nt===null?null:{index:nt,multiple:Ve}}function M(Ce,ge,de){var Pe=E.useState(Ce),_e=Object(D.a)(Pe,2),Ne=_e[0],He=_e[1],ue=E.useState(null),Re=Object(D.a)(ue,2),nt=Re[0],Ve=Re[1];return E.useEffect(function(){var Ge=P(Ne||[],Ce||[],ge);(Ge==null?void 0:Ge.index)!==void 0&&(de==null||de(Ge.index),Ve(Ce[Ge.index])),He(Ce)},[Ce]),[nt]}var R=(typeof navigator=="undefined"?"undefined":Object(m.a)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),F=R,L=function(Ce,ge){var de=Object(E.useRef)(!1),Pe=Object(E.useRef)(null);function _e(){clearTimeout(Pe.current),de.current=!0,Pe.current=setTimeout(function(){de.current=!1},50)}var Ne=Object(E.useRef)({top:Ce,bottom:ge});return Ne.current.top=Ce,Ne.current.bottom=ge,function(He){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Re=He<0&&Ne.current.top||He>0&&Ne.current.bottom;return ue&&Re?(clearTimeout(Pe.current),de.current=!1):(!Re||de.current)&&_e(),!de.current&&Re}};function U(Ce,ge,de,Pe){var _e=Object(E.useRef)(0),Ne=Object(E.useRef)(null),He=Object(E.useRef)(null),ue=Object(E.useRef)(!1),Re=L(ge,de);function nt(Ge){if(!!Ce){l.a.cancel(Ne.current);var dt=Ge.deltaY;_e.current+=dt,He.current=dt,!Re(dt)&&(F||Ge.preventDefault(),Ne.current=Object(l.a)(function(){var et=ue.current?10:1;Pe(_e.current*et),_e.current=0}))}}function Ve(Ge){!Ce||(ue.current=Ge.detail===He.current)}return[nt,Ve]}var N=e("TNol"),Q=14/15;function z(Ce,ge,de){var Pe=Object(E.useRef)(!1),_e=Object(E.useRef)(0),Ne=Object(E.useRef)(null),He=Object(E.useRef)(null),ue,Re=function(dt){if(Pe.current){var et=Math.ceil(dt.touches[0].pageY),At=_e.current-et;_e.current=et,de(At)&&dt.preventDefault(),clearInterval(He.current),He.current=setInterval(function(){At*=Q,(!de(At,!0)||Math.abs(At)<=.1)&&clearInterval(He.current)},16)}},nt=function(){Pe.current=!1,ue()},Ve=function(dt){ue(),dt.touches.length===1&&!Pe.current&&(Pe.current=!0,_e.current=Math.ceil(dt.touches[0].pageY),Ne.current=dt.target,Ne.current.addEventListener("touchmove",Re),Ne.current.addEventListener("touchend",nt))};ue=function(){Ne.current&&(Ne.current.removeEventListener("touchmove",Re),Ne.current.removeEventListener("touchend",nt))},Object(N.a)(function(){return Ce&&ge.current.addEventListener("touchstart",Ve),function(){var Ge;(Ge=ge.current)===null||Ge===void 0||Ge.removeEventListener("touchstart",Ve),ue(),clearInterval(He.current)}},[Ce])}var _=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],J=[],Y={overflowY:"auto",overflowAnchor:"none"};function k(Ce,ge){var de=Ce.prefixCls,Pe=de===void 0?"rc-virtual-list":de,_e=Ce.className,Ne=Ce.height,He=Ce.itemHeight,ue=Ce.fullHeight,Re=ue===void 0?!0:ue,nt=Ce.style,Ve=Ce.data,Ge=Ce.children,dt=Ce.itemKey,et=Ce.virtual,At=Ce.component,Dt=At===void 0?"div":At,Ft=Ce.onScroll,St=Ce.onVisibleChange,$e=Object(I.a)(Ce,_),lt=!!(et!==!1&&Ne&&He),Ut=lt&&Ve&&He*Ve.length>Ne,gt=Object(E.useState)(0),ft=Object(D.a)(gt,2),rt=ft[0],Ie=ft[1],Ot=Object(E.useState)(!1),Xt=Object(D.a)(Ot,2),Vt=Xt[0],bt=Xt[1],It=f()(Pe,_e),Kt=Ve||J,Se=Object(E.useRef)(),Ye=Object(E.useRef)(),q=Object(E.useRef)(),Ae=E.useCallback(function(Zt){return typeof dt=="function"?dt(Zt):Zt==null?void 0:Zt[dt]},[dt]),Me={getKey:Ae};function De(Zt){Ie(function(Mt){var pt;typeof Zt=="function"?pt=Zt(Mt):pt=Zt;var Tt=ke(pt);return Se.current.scrollTop=Tt,Tt})}var ze=Object(E.useRef)({start:0,end:Kt.length}),pe=Object(E.useRef)(),te=M(Kt,Ae),be=Object(D.a)(te,1),xe=be[0];pe.current=xe;var Z=x(Ae,null,null),se=Object(D.a)(Z,4),he=se[0],Oe=se[1],ne=se[2],ce=se[3],ae=E.useMemo(function(){if(!lt)return{scrollHeight:void 0,start:0,end:Kt.length-1,offset:void 0};if(!Ut){var Zt;return{scrollHeight:((Zt=Ye.current)===null||Zt===void 0?void 0:Zt.offsetHeight)||0,start:0,end:Kt.length-1,offset:void 0}}for(var Mt=0,pt,Tt,mt,Jt=Kt.length,or=0;or<Jt;or+=1){var ut=Kt[or],ht=Ae(ut),qt=ne.get(ht),Nt=Mt+(qt===void 0?He:qt);Nt>=rt&&pt===void 0&&(pt=or,Tt=Mt),Nt>rt+Ne&&mt===void 0&&(mt=or),Mt=Nt}return pt===void 0&&(pt=0,Tt=0,mt=Math.ceil(Ne/He)),mt===void 0&&(mt=Kt.length-1),mt=Math.min(mt+1,Kt.length),{scrollHeight:Mt,start:pt,end:mt,offset:Tt}},[Ut,lt,rt,Kt,ce,Ne]),Ee=ae.scrollHeight,ye=ae.start,Te=ae.end,je=ae.offset;ze.current.start=ye,ze.current.end=Te;var qe=Ee-Ne,Le=Object(E.useRef)(qe);Le.current=qe;function ke(Zt){var Mt=Zt;return Number.isNaN(Le.current)||(Mt=Math.min(Mt,Le.current)),Mt=Math.max(Mt,0),Mt}var tt=rt<=0,st=rt>=qe,_t=L(tt,st);function Ct(Zt){var Mt=Zt;De(Mt)}function Rt(Zt){var Mt=Zt.currentTarget.scrollTop;Mt!==rt&&De(Mt),Ft==null||Ft(Zt)}var Wt=U(lt,tt,st,function(Zt){De(function(Mt){var pt=Mt+Zt;return pt})}),vt=Object(D.a)(Wt,2),Je=vt[0],Yt=vt[1];z(lt,Se,function(Zt,Mt){return _t(Zt,Mt)?!1:(Je({preventDefault:function(){},deltaY:Zt}),!0)}),Object(N.a)(function(){function Zt(Mt){lt&&Mt.preventDefault()}return Se.current.addEventListener("wheel",Je),Se.current.addEventListener("DOMMouseScroll",Yt),Se.current.addEventListener("MozMousePixelScroll",Zt),function(){Se.current&&(Se.current.removeEventListener("wheel",Je),Se.current.removeEventListener("DOMMouseScroll",Yt),Se.current.removeEventListener("MozMousePixelScroll",Zt))}},[lt]);var Ht=b(Se,Kt,ne,He,Ae,Oe,De,function(){var Zt;(Zt=q.current)===null||Zt===void 0||Zt.delayHidden()});E.useImperativeHandle(ge,function(){return{scrollTo:Ht}}),Object(N.a)(function(){if(St){var Zt=Kt.slice(ye,Te+1);St(Zt,Kt)}},[ye,Te,Kt]);var nr=y(Kt,ye,Te,he,Ge,Me),ir=null;return Ne&&(ir=Object(w.a)(Object(T.a)({},Re?"height":"maxHeight",Ne),Y),lt&&(ir.overflowY="hidden",Vt&&(ir.pointerEvents="none"))),E.createElement("div",Object(B.a)({style:Object(w.a)(Object(w.a)({},nt),{},{position:"relative"}),className:It},$e),E.createElement(Dt,{className:"".concat(Pe,"-holder"),style:ir,ref:Se,onScroll:Rt},E.createElement(s,{prefixCls:Pe,height:Ee,offset:je,onInnerResize:Oe,ref:Ye},nr)),lt&&E.createElement(d,{ref:q,prefixCls:Pe,scrollTop:rt,height:Ne,scrollHeight:Ee,count:Kt.length,onScroll:Ct,onStartMove:function(){bt(!0)},onStopMove:function(){bt(!1)}}))}var W=E.forwardRef(k);W.displayName="List";var ie=W,fe=V.a=ie},"+rIm":function(oe,V,e){var B=e("bYtY"),T=B.retrieve,w=B.defaults,D=B.extend,I=B.each,E=e("7aKB"),C=e("IwbS"),f=e("Qxkt"),t=e("OELB"),i=t.isRadianAroundZero,s=t.remRadian,o=e("oVpE"),r=o.createSymbol,u=e("Fofx"),n=e("QBsz"),l=n.applyTransform,a=e("aX7z"),c=a.shouldShowAllLabels,d=Math.PI,h=function(N,Q){this.opt=Q,this.axisModel=N,w(Q,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new C.Group;var z=new C.Group({position:Q.position.slice(),rotation:Q.rotation});z.updateTransform(),this._transform=z.transform,this._dumbGroup=z};h.prototype={constructor:h,hasBuilder:function(N){return!!y[N]},add:function(N){y[N].call(this)},getGroup:function(){return this.group}};var y={axisLine:function(){var N=this.opt,Q=this.axisModel;if(!!Q.get("axisLine.show")){var z=this.axisModel.axis.getExtent(),_=this._transform,J=[z[0],0],Y=[z[1],0];_&&(l(J,J,_),l(Y,Y,_));var k=D({lineCap:"round"},Q.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new C.Line({anid:"line",subPixelOptimize:!0,shape:{x1:J[0],y1:J[1],x2:Y[0],y2:Y[1]},style:k,strokeContainThreshold:N.strokeContainThreshold||5,silent:!0,z2:1}));var W=Q.get("axisLine.symbol"),ie=Q.get("axisLine.symbolSize"),fe=Q.get("axisLine.symbolOffset")||0;if(typeof fe=="number"&&(fe=[fe,fe]),W!=null){typeof W=="string"&&(W=[W,W]),(typeof ie=="string"||typeof ie=="number")&&(ie=[ie,ie]);var Ce=ie[0],ge=ie[1];I([{rotate:N.rotation+Math.PI/2,offset:fe[0],r:0},{rotate:N.rotation-Math.PI/2,offset:fe[1],r:Math.sqrt((J[0]-Y[0])*(J[0]-Y[0])+(J[1]-Y[1])*(J[1]-Y[1]))}],function(de,Pe){if(W[Pe]!=="none"&&W[Pe]!=null){var _e=r(W[Pe],-Ce/2,-ge/2,Ce,ge,k.stroke,!0),Ne=de.r+de.offset,He=[J[0]+Ne*Math.cos(N.rotation),J[1]-Ne*Math.sin(N.rotation)];_e.attr({rotation:de.rotate,position:He,silent:!0,z2:11}),this.group.add(_e)}},this)}}},axisTickLabel:function(){var N=this.axisModel,Q=this.opt,z=R(this,N,Q),_=L(this,N,Q);m(N,_,z),F(this,N,Q)},axisName:function(){var N=this.opt,Q=this.axisModel,z=T(N.axisName,Q.get("name"));if(!!z){var _=Q.get("nameLocation"),J=N.nameDirection,Y=Q.getModel("nameTextStyle"),k=Q.get("nameGap")||0,W=this.axisModel.axis.getExtent(),ie=W[0]>W[1]?-1:1,fe=[_==="start"?W[0]-ie*k:_==="end"?W[1]+ie*k:(W[0]+W[1])/2,P(_)?N.labelOffset+J*k:0],Ce,ge=Q.get("nameRotate");ge!=null&&(ge=ge*d/180);var de;P(_)?Ce=v(N.rotation,ge!=null?ge:N.rotation,J):(Ce=g(N,_,ge||0,W),de=N.axisNameAvailableWidth,de!=null&&(de=Math.abs(de/Math.sin(Ce.rotation)),!isFinite(de)&&(de=null)));var Pe=Y.getFont(),_e=Q.get("nameTruncate",!0)||{},Ne=_e.ellipsis,He=T(N.nameTruncateMaxWidth,_e.maxWidth,de),ue=Ne!=null&&He!=null?E.truncateText(z,He,Pe,Ne,{minChar:2,placeholder:_e.placeholder}):z,Re=Q.get("tooltip",!0),nt=Q.mainType,Ve={componentType:nt,name:z,$vars:["name"]};Ve[nt+"Index"]=Q.componentIndex;var Ge=new C.Text({anid:"name",__fullText:z,__truncatedText:ue,position:fe,rotation:Ce.rotation,silent:x(Q),z2:1,tooltip:Re&&Re.show?D({content:z,formatter:function(){return z},formatterParams:Ve},Re):null});C.setTextStyle(Ge.style,Y,{text:ue,textFont:Pe,textFill:Y.getTextColor()||Q.get("axisLine.lineStyle.color"),textAlign:Y.get("align")||Ce.textAlign,textVerticalAlign:Y.get("verticalAlign")||Ce.textVerticalAlign}),Q.get("triggerEvent")&&(Ge.eventData=A(Q),Ge.eventData.targetType="axisName",Ge.eventData.name=z),this._dumbGroup.add(Ge),Ge.updateTransform(),this.group.add(Ge),Ge.decomposeTransform()}}},A=h.makeAxisEventDataBase=function(N){var Q={componentType:N.mainType,componentIndex:N.componentIndex};return Q[N.mainType+"Index"]=N.componentIndex,Q},v=h.innerTextLayout=function(N,Q,z){var _=s(Q-N),J,Y;return i(_)?(Y=z>0?"top":"bottom",J="center"):i(_-d)?(Y=z>0?"bottom":"top",J="center"):(Y="middle",_>0&&_<d?J=z>0?"right":"left":J=z>0?"left":"right"),{rotation:_,textAlign:J,textVerticalAlign:Y}};function g(N,Q,z,_){var J=s(z-N.rotation),Y,k,W=_[0]>_[1],ie=Q==="start"&&!W||Q!=="start"&&W;return i(J-d/2)?(k=ie?"bottom":"top",Y="center"):i(J-d*1.5)?(k=ie?"top":"bottom",Y="center"):(k="middle",J<d*1.5&&J>d/2?Y=ie?"left":"right":Y=ie?"right":"left"),{rotation:J,textAlign:Y,textVerticalAlign:k}}var x=h.isLabelSilent=function(N){var Q=N.get("tooltip");return N.get("silent")||!(N.get("triggerEvent")||Q&&Q.show)};function m(N,Q,z){if(!c(N.axis)){var _=N.get("axisLabel.showMinLabel"),J=N.get("axisLabel.showMaxLabel");Q=Q||[],z=z||[];var Y=Q[0],k=Q[1],W=Q[Q.length-1],ie=Q[Q.length-2],fe=z[0],Ce=z[1],ge=z[z.length-1],de=z[z.length-2];_===!1?(b(Y),b(fe)):S(Y,k)&&(_?(b(k),b(Ce)):(b(Y),b(fe))),J===!1?(b(W),b(ge)):S(ie,W)&&(J?(b(ie),b(de)):(b(W),b(ge)))}}function b(N){N&&(N.ignore=!0)}function S(N,Q,z){var _=N&&N.getBoundingRect().clone(),J=Q&&Q.getBoundingRect().clone();if(!(!_||!J)){var Y=u.identity([]);return u.rotate(Y,Y,-N.rotation),_.applyTransform(u.mul([],Y,N.getLocalTransform())),J.applyTransform(u.mul([],Y,Q.getLocalTransform())),_.intersect(J)}}function P(N){return N==="middle"||N==="center"}function M(N,Q,z,_,J){for(var Y=[],k=[],W=[],ie=0;ie<N.length;ie++){var fe=N[ie].coord;k[0]=fe,k[1]=0,W[0]=fe,W[1]=z,Q&&(l(k,k,Q),l(W,W,Q));var Ce=new C.Line({anid:J+"_"+N[ie].tickValue,subPixelOptimize:!0,shape:{x1:k[0],y1:k[1],x2:W[0],y2:W[1]},style:_,z2:2,silent:!0});Y.push(Ce)}return Y}function R(N,Q,z){var _=Q.axis,J=Q.getModel("axisTick");if(!(!J.get("show")||_.scale.isBlank())){for(var Y=J.getModel("lineStyle"),k=z.tickDirection*J.get("length"),W=_.getTicksCoords(),ie=M(W,N._transform,k,w(Y.getLineStyle(),{stroke:Q.get("axisLine.lineStyle.color")}),"ticks"),fe=0;fe<ie.length;fe++)N.group.add(ie[fe]);return ie}}function F(N,Q,z){var _=Q.axis,J=Q.getModel("minorTick");if(!(!J.get("show")||_.scale.isBlank())){var Y=_.getMinorTicksCoords();if(!!Y.length)for(var k=J.getModel("lineStyle"),W=z.tickDirection*J.get("length"),ie=w(k.getLineStyle(),w(Q.getModel("axisTick").getLineStyle(),{stroke:Q.get("axisLine.lineStyle.color")})),fe=0;fe<Y.length;fe++)for(var Ce=M(Y[fe],N._transform,W,ie,"minorticks_"+fe),ge=0;ge<Ce.length;ge++)N.group.add(Ce[ge])}}function L(N,Q,z){var _=Q.axis,J=T(z.axisLabelShow,Q.get("axisLabel.show"));if(!(!J||_.scale.isBlank())){var Y=Q.getModel("axisLabel"),k=Y.get("margin"),W=_.getViewLabels(),ie=(T(z.labelRotate,Y.get("rotate"))||0)*d/180,fe=v(z.rotation,ie,z.labelDirection),Ce=Q.getCategories&&Q.getCategories(!0),ge=[],de=x(Q),Pe=Q.get("triggerEvent");return I(W,function(_e,Ne){var He=_e.tickValue,ue=_e.formattedLabel,Re=_e.rawLabel,nt=Y;Ce&&Ce[He]&&Ce[He].textStyle&&(nt=new f(Ce[He].textStyle,Y,Q.ecModel));var Ve=nt.getTextColor()||Q.get("axisLine.lineStyle.color"),Ge=_.dataToCoord(He),dt=[Ge,z.labelOffset+z.labelDirection*k],et=new C.Text({anid:"label_"+He,position:dt,rotation:fe.rotation,silent:de,z2:10});C.setTextStyle(et.style,nt,{text:ue,textAlign:nt.getShallow("align",!0)||fe.textAlign,textVerticalAlign:nt.getShallow("verticalAlign",!0)||nt.getShallow("baseline",!0)||fe.textVerticalAlign,textFill:typeof Ve=="function"?Ve(_.type==="category"?Re:_.type==="value"?He+"":He,Ne):Ve}),Pe&&(et.eventData=A(Q),et.eventData.targetType="axisLabel",et.eventData.value=Re),N._dumbGroup.add(et),et.updateTransform(),ge.push(et),N.group.add(et),et.decomposeTransform()}),ge}}var U=h;oe.exports=U},"+wW9":function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.isArray,D=B.isObject,I=e("JuEJ"),E=e("4NO4"),C=E.normalizeToArray;function f(u,n){n=n.split(",");for(var l=u,a=0;a<n.length&&(l=l&&l[n[a]],l!=null);a++);return l}function t(u,n,l,a){n=n.split(",");for(var c=u,d,h=0;h<n.length-1;h++)d=n[h],c[d]==null&&(c[d]={}),c=c[d];(a||c[n[h]]==null)&&(c[n[h]]=l)}function i(u){T(s,function(n){n[0]in u&&!(n[1]in u)&&(u[n[1]]=u[n[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],o=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function r(u,n){I(u,n),u.series=C(u.series),T(u.series,function(l){if(!!D(l)){var a=l.type;if(a==="line")l.clipOverflow!=null&&(l.clip=l.clipOverflow);else if(a==="pie"||a==="gauge")l.clockWise!=null&&(l.clockwise=l.clockWise);else if(a==="gauge"){var c=f(l,"pointer.color");c!=null&&t(l,"itemStyle.color",c)}i(l)}}),u.dataRange&&(u.visualMap=u.dataRange),T(o,function(l){var a=u[l];a&&(w(a)||(a=[a]),T(a,function(c){i(c)}))})}oe.exports=r},"/Hi2":function(oe,V,e){(function(B){(function(w,D){oe.exports=D()})(self,function(){return function(){var T={"./node_modules/es6-promise/dist/es6-promise.js":function(C,f,t){/*!
|
|
|
* @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(i,s){C.exports=s()})(this,function(){"use strict";function i(ft){var rt=typeof ft;return ft!==null&&(rt==="object"||rt==="function")}function s(ft){return typeof ft=="function"}var o=void 0;Array.isArray?o=Array.isArray:o=function(rt){return Object.prototype.toString.call(rt)==="[object Array]"};var r=o,u=0,n=void 0,l=void 0,a=function(rt,Ie){M[u]=rt,M[u+1]=Ie,u+=2,u===2&&(l?l(R):L())};function c(ft){l=ft}function d(ft){a=ft}var h=typeof window!="undefined"?window:void 0,y=h||{},A=y.MutationObserver||y.WebKitMutationObserver,v=typeof self=="undefined"&&typeof B!="undefined"&&{}.toString.call(B)==="[object process]",g=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function x(){return function(){return B.nextTick(R)}}function m(){return typeof n!="undefined"?function(){n(R)}:P()}function b(){var ft=0,rt=new A(R),Ie=document.createTextNode("");return rt.observe(Ie,{characterData:!0}),function(){Ie.data=ft=++ft%2}}function S(){var ft=new MessageChannel;return ft.port1.onmessage=R,function(){return ft.port2.postMessage(0)}}function P(){var ft=setTimeout;return function(){return ft(R,1)}}var M=new Array(1e3);function R(){for(var ft=0;ft<u;ft+=2){var rt=M[ft],Ie=M[ft+1];rt(Ie),M[ft]=void 0,M[ft+1]=void 0}u=0}function F(){try{var ft=Function("return this")().require("vertx");return n=ft.runOnLoop||ft.runOnContext,m()}catch(rt){return P()}}var L=void 0;v?L=x():A?L=b():g?L=S():h===void 0?L=F():L=P();function U(ft,rt){var Ie=this,Ot=new this.constructor(z);Ot[Q]===void 0&&dt(Ot);var Xt=Ie._state;if(Xt){var Vt=arguments[Xt-1];a(function(){return Re(Xt,Ot,Vt,Ie._result)})}else He(Ie,Ot,ft,rt);return Ot}function N(ft){var rt=this;if(ft&&typeof ft=="object"&&ft.constructor===rt)return ft;var Ie=new rt(z);return de(Ie,ft),Ie}var Q=Math.random().toString(36).substring(2);function z(){}var _=void 0,J=1,Y=2;function k(){return new TypeError("You cannot resolve a promise with itself")}function W(){return new TypeError("A promises callback cannot return that same promise.")}function ie(ft,rt,Ie,Ot){try{ft.call(rt,Ie,Ot)}catch(Xt){return Xt}}function fe(ft,rt,Ie){a(function(Ot){var Xt=!1,Vt=ie(Ie,rt,function(bt){Xt||(Xt=!0,rt!==bt?de(Ot,bt):_e(Ot,bt))},function(bt){Xt||(Xt=!0,Ne(Ot,bt))},"Settle: "+(Ot._label||" unknown promise"));!Xt&&Vt&&(Xt=!0,Ne(Ot,Vt))},ft)}function Ce(ft,rt){rt._state===J?_e(ft,rt._result):rt._state===Y?Ne(ft,rt._result):He(rt,void 0,function(Ie){return de(ft,Ie)},function(Ie){return Ne(ft,Ie)})}function ge(ft,rt,Ie){rt.constructor===ft.constructor&&Ie===U&&rt.constructor.resolve===N?Ce(ft,rt):Ie===void 0?_e(ft,rt):s(Ie)?fe(ft,rt,Ie):_e(ft,rt)}function de(ft,rt){if(ft===rt)Ne(ft,k());else if(i(rt)){var Ie=void 0;try{Ie=rt.then}catch(Ot){Ne(ft,Ot);return}ge(ft,rt,Ie)}else _e(ft,rt)}function Pe(ft){ft._onerror&&ft._onerror(ft._result),ue(ft)}function _e(ft,rt){ft._state===_&&(ft._result=rt,ft._state=J,ft._subscribers.length!==0&&a(ue,ft))}function Ne(ft,rt){ft._state===_&&(ft._state=Y,ft._result=rt,a(Pe,ft))}function He(ft,rt,Ie,Ot){var Xt=ft._subscribers,Vt=Xt.length;ft._onerror=null,Xt[Vt]=rt,Xt[Vt+J]=Ie,Xt[Vt+Y]=Ot,Vt===0&&ft._state&&a(ue,ft)}function ue(ft){var rt=ft._subscribers,Ie=ft._state;if(rt.length!==0){for(var Ot=void 0,Xt=void 0,Vt=ft._result,bt=0;bt<rt.length;bt+=3)Ot=rt[bt],Xt=rt[bt+Ie],Ot?Re(Ie,Ot,Xt,Vt):Xt(Vt);ft._subscribers.length=0}}function Re(ft,rt,Ie,Ot){var Xt=s(Ie),Vt=void 0,bt=void 0,It=!0;if(Xt){try{Vt=Ie(Ot)}catch(Kt){It=!1,bt=Kt}if(rt===Vt){Ne(rt,W());return}}else Vt=Ot;rt._state!==_||(Xt&&It?de(rt,Vt):It===!1?Ne(rt,bt):ft===J?_e(rt,Vt):ft===Y&&Ne(rt,Vt))}function nt(ft,rt){try{rt(function(Ot){de(ft,Ot)},function(Ot){Ne(ft,Ot)})}catch(Ie){Ne(ft,Ie)}}var Ve=0;function Ge(){return Ve++}function dt(ft){ft[Q]=Ve++,ft._state=void 0,ft._result=void 0,ft._subscribers=[]}function et(){return new Error("Array Methods must be provided an Array")}var At=function(){function ft(rt,Ie){this._instanceConstructor=rt,this.promise=new rt(z),this.promise[Q]||dt(this.promise),r(Ie)?(this.length=Ie.length,this._remaining=Ie.length,this._result=new Array(this.length),this.length===0?_e(this.promise,this._result):(this.length=this.length||0,this._enumerate(Ie),this._remaining===0&&_e(this.promise,this._result))):Ne(this.promise,et())}return ft.prototype._enumerate=function(Ie){for(var Ot=0;this._state===_&&Ot<Ie.length;Ot++)this._eachEntry(Ie[Ot],Ot)},ft.prototype._eachEntry=function(Ie,Ot){var Xt=this._instanceConstructor,Vt=Xt.resolve;if(Vt===N){var bt=void 0,It=void 0,Kt=!1;try{bt=Ie.then}catch(Ye){Kt=!0,It=Ye}if(bt===U&&Ie._state!==_)this._settledAt(Ie._state,Ot,Ie._result);else if(typeof bt!="function")this._remaining--,this._result[Ot]=Ie;else if(Xt===Ut){var Se=new Xt(z);Kt?Ne(Se,It):ge(Se,Ie,bt),this._willSettleAt(Se,Ot)}else this._willSettleAt(new Xt(function(Ye){return Ye(Ie)}),Ot)}else this._willSettleAt(Vt(Ie),Ot)},ft.prototype._settledAt=function(Ie,Ot,Xt){var Vt=this.promise;Vt._state===_&&(this._remaining--,Ie===Y?Ne(Vt,Xt):this._result[Ot]=Xt),this._remaining===0&&_e(Vt,this._result)},ft.prototype._willSettleAt=function(Ie,Ot){var Xt=this;He(Ie,void 0,function(Vt){return Xt._settledAt(J,Ot,Vt)},function(Vt){return Xt._settledAt(Y,Ot,Vt)})},ft}();function Dt(ft){return new At(this,ft).promise}function Ft(ft){var rt=this;return r(ft)?new rt(function(Ie,Ot){for(var Xt=ft.length,Vt=0;Vt<Xt;Vt++)rt.resolve(ft[Vt]).then(Ie,Ot)}):new rt(function(Ie,Ot){return Ot(new TypeError("You must pass an array to race."))})}function St(ft){var rt=this,Ie=new rt(z);return Ne(Ie,ft),Ie}function $e(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function lt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Ut=function(){function ft(rt){this[Q]=Ge(),this._result=this._state=void 0,this._subscribers=[],z!==rt&&(typeof rt!="function"&&$e(),this instanceof ft?nt(this,rt):lt())}return ft.prototype.catch=function(Ie){return this.then(null,Ie)},ft.prototype.finally=function(Ie){var Ot=this,Xt=Ot.constructor;return s(Ie)?Ot.then(function(Vt){return Xt.resolve(Ie()).then(function(){return Vt})},function(Vt){return Xt.resolve(Ie()).then(function(){throw Vt})}):Ot.then(Ie,Ie)},ft}();Ut.prototype.then=U,Ut.all=Dt,Ut.race=Ft,Ut.resolve=N,Ut.reject=St,Ut._setScheduler=c,Ut._setAsap=d,Ut._asap=a;function gt(){var ft=void 0;if(typeof t.g!="undefined")ft=t.g;else if(typeof self!="undefined")ft=self;else try{ft=Function("return this")()}catch(Ot){throw new Error("polyfill failed because global object is unavailable in this environment")}var rt=ft.Promise;if(rt){var Ie=null;try{Ie=Object.prototype.toString.call(rt.resolve())}catch(Ot){}if(Ie==="[object Promise]"&&!rt.cast)return}ft.Promise=Ut}return Ut.polyfill=gt,Ut.Promise=Ut,Ut})},"./node_modules/events/events.js":function(C){"use strict";var f=typeof Reflect=="object"?Reflect:null,t=f&&typeof f.apply=="function"?f.apply:function(P,M,R){return Function.prototype.apply.call(P,M,R)},i;f&&typeof f.ownKeys=="function"?i=f.ownKeys:Object.getOwnPropertySymbols?i=function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:i=function(P){return Object.getOwnPropertyNames(P)};function s(S){console&&console.warn&&console.warn(S)}var o=Number.isNaN||function(P){return P!==P};function r(){r.init.call(this)}C.exports=r,C.exports.once=x,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var u=10;function n(S){if(typeof S!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof S)}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(P){if(typeof P!="number"||P<0||o(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");u=P}}),r.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||o(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this};function l(S){return S._maxListeners===void 0?r.defaultMaxListeners:S._maxListeners}r.prototype.getMaxListeners=function(){return l(this)},r.prototype.emit=function(P){for(var M=[],R=1;R<arguments.length;R++)M.push(arguments[R]);var F=P==="error",L=this._events;if(L!==void 0)F=F&&L.error===void 0;else if(!F)return!1;if(F){var U;if(M.length>0&&(U=M[0]),U instanceof Error)throw U;var N=new Error("Unhandled error."+(U?" ("+U.message+")":""));throw N.context=U,N}var Q=L[P];if(Q===void 0)return!1;if(typeof Q=="function")t(Q,this,M);else for(var z=Q.length,_=A(Q,z),R=0;R<z;++R)t(_[R],this,M);return!0};function a(S,P,M,R){var F,L,U;if(n(M),L=S._events,L===void 0?(L=S._events=Object.create(null),S._eventsCount=0):(L.newListener!==void 0&&(S.emit("newListener",P,M.listener?M.listener:M),L=S._events),U=L[P]),U===void 0)U=L[P]=M,++S._eventsCount;else if(typeof U=="function"?U=L[P]=R?[M,U]:[U,M]:R?U.unshift(M):U.push(M),F=l(S),F>0&&U.length>F&&!U.warned){U.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+U.length+" "+String(P)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=S,N.type=P,N.count=U.length,s(N)}return S}r.prototype.addListener=function(P,M){return a(this,P,M,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(P,M){return a(this,P,M,!0)};function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(S,P,M){var R={fired:!1,wrapFn:void 0,target:S,type:P,listener:M},F=c.bind(R);return F.listener=M,R.wrapFn=F,F}r.prototype.once=function(P,M){return n(M),this.on(P,d(this,P,M)),this},r.prototype.prependOnceListener=function(P,M){return n(M),this.prependListener(P,d(this,P,M)),this},r.prototype.removeListener=function(P,M){var R,F,L,U,N;if(n(M),F=this._events,F===void 0)return this;if(R=F[P],R===void 0)return this;if(R===M||R.listener===M)--this._eventsCount==0?this._events=Object.create(null):(delete F[P],F.removeListener&&this.emit("removeListener",P,R.listener||M));else if(typeof R!="function"){for(L=-1,U=R.length-1;U>=0;U--)if(R[U]===M||R[U].listener===M){N=R[U].listener,L=U;break}if(L<0)return this;L===0?R.shift():v(R,L),R.length===1&&(F[P]=R[0]),F.removeListener!==void 0&&this.emit("removeListener",P,N||M)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(P){var M,R,F;if(R=this._events,R===void 0)return this;if(R.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):R[P]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete R[P]),this;if(arguments.length===0){var L=Object.keys(R),U;for(F=0;F<L.length;++F)U=L[F],U!=="removeListener"&&this.removeAllListeners(U);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(M=R[P],typeof M=="function")this.removeListener(P,M);else if(M!==void 0)for(F=M.length-1;F>=0;F--)this.removeListener(P,M[F]);return this};function h(S,P,M){var R=S._events;if(R===void 0)return[];var F=R[P];return F===void 0?[]:typeof F=="function"?M?[F.listener||F]:[F]:M?g(F):A(F,F.length)}r.prototype.listeners=function(P){return h(this,P,!0)},r.prototype.rawListeners=function(P){return h(this,P,!1)},r.listenerCount=function(S,P){return typeof S.listenerCount=="function"?S.listenerCount(P):y.call(S,P)},r.prototype.listenerCount=y;function y(S){var P=this._events;if(P!==void 0){var M=P[S];if(typeof M=="function")return 1;if(M!==void 0)return M.length}return 0}r.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function A(S,P){for(var M=new Array(P),R=0;R<P;++R)M[R]=S[R];return M}function v(S,P){for(;P+1<S.length;P++)S[P]=S[P+1];S.pop()}function g(S){for(var P=new Array(S.length),M=0;M<P.length;++M)P[M]=S[M].listener||S[M];return P}function x(S,P){return new Promise(function(M,R){function F(U){S.removeListener(P,L),R(U)}function L(){typeof S.removeListener=="function"&&S.removeListener("error",F),M([].slice.call(arguments))}b(S,P,L,{once:!0}),P!=="error"&&m(S,F,{once:!0})})}function m(S,P,M){typeof S.on=="function"&&b(S,"error",P,M)}function b(S,P,M,R){if(typeof S.on=="function")R.once?S.once(P,M):S.on(P,M);else if(typeof S.addEventListener=="function")S.addEventListener(P,function F(L){R.once&&S.removeEventListener(P,F),M(L)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof S)}},"./node_modules/webworkify-webpack/index.js":function(C,f,t){function i(c){var d={};function h(A){if(d[A])return d[A].exports;var v=d[A]={i:A,l:!1,exports:{}};return c[A].call(v.exports,v,v.exports,h),v.l=!0,v.exports}h.m=c,h.c=d,h.i=function(A){return A},h.d=function(A,v,g){h.o(A,v)||Object.defineProperty(A,v,{configurable:!1,enumerable:!0,get:g})},h.r=function(A){Object.defineProperty(A,"__esModule",{value:!0})},h.n=function(A){var v=A&&A.__esModule?function(){return A.default}:function(){return A};return h.d(v,"a",v),v},h.o=function(A,v){return Object.prototype.hasOwnProperty.call(A,v)},h.p="/",h.oe=function(A){throw console.error(A),A};var y=h(h.s=ENTRY_MODULE);return y.default||y}var s="[\\.|\\-|\\+|\\w|/|@]+",o="\\(\\s*(/\\*.*?\\*/)?\\s*.*?("+s+").*?\\)";function r(c){return(c+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function u(c){return!isNaN(1*c)}function n(c,d,h){var y={};y[h]=[];var A=d.toString(),v=A.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);if(!v)return y;for(var g=v[1],x=new RegExp("(\\\\n|\\W)"+r(g)+o,"g"),m;m=x.exec(A);)m[3]!=="dll-reference"&&y[h].push(m[3]);for(x=new RegExp("\\("+r(g)+'\\("(dll-reference\\s('+s+'))"\\)\\)'+o,"g");m=x.exec(A);)c[m[2]]||(y[h].push(m[1]),c[m[2]]=t(m[1]).m),y[m[2]]=y[m[2]]||[],y[m[2]].push(m[4]);for(var b=Object.keys(y),S=0;S<b.length;S++)for(var P=0;P<y[b[S]].length;P++)u(y[b[S]][P])&&(y[b[S]][P]=1*y[b[S]][P]);return y}function l(c){var d=Object.keys(c);return d.reduce(function(h,y){return h||c[y].length>0},!1)}function a(c,d){for(var h={main:[d]},y={main:[]},A={main:{}};l(h);)for(var v=Object.keys(h),g=0;g<v.length;g++){var x=v[g],m=h[x],b=m.pop();if(A[x]=A[x]||{},!(A[x][b]||!c[x][b])){A[x][b]=!0,y[x]=y[x]||[],y[x].push(b);for(var S=n(c,c[x][b],x),P=Object.keys(S),M=0;M<P.length;M++)h[P[M]]=h[P[M]]||[],h[P[M]]=h[P[M]].concat(S[P[M]])}}return y}C.exports=function(c,d){d=d||{};var h={main:t.m},y=d.all?{main:Object.keys(h.main)}:a(h,c),A="";Object.keys(y).filter(function(b){return b!=="main"}).forEach(function(b){for(var S=0;y[b][S];)S++;y[b].push(S),h[b][S]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",A=A+"var "+b+" = ("+i.toString().replace("ENTRY_MODULE",JSON.stringify(S))+")({"+y[b].map(function(P){return""+JSON.stringify(P)+": "+h[b][P].toString()}).join(",")+`});
|
|
|
`}),A=A+"new (("+i.toString().replace("ENTRY_MODULE",JSON.stringify(c))+")({"+y.main.map(function(b){return""+JSON.stringify(b)+": "+h.main[b].toString()}).join(",")+"}))(self);";var v=new window.Blob([A],{type:"text/javascript"});if(d.bare)return v;var g=window.URL||window.webkitURL||window.mozURL||window.msURL,x=g.createObjectURL(v),m=new window.Worker(x);return m.objectURL=x,m}},"./src/config.js":function(C,f,t){"use strict";t.r(f),t.d(f,{defaultConfig:function(){return i},createDefaultConfig:function(){return s}});var i={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 s(){return Object.assign({},i)}},"./src/core/features.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/io/io-controller.js"),s=t("./src/config.js"),o=function(){function r(){}return r.supportMSEH264Playback=function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')},r.supportNetworkStreamIO=function(){var u=new i.default({},(0,s.createDefaultConfig)()),n=u.loaderType;return u.destroy(),n=="fetch-stream-loader"||n=="xhr-moz-chunked-loader"},r.getNetworkLoaderTypeName=function(){var u=new i.default({},(0,s.createDefaultConfig)()),n=u.loaderType;return u.destroy(),n},r.supportNativeMediaPlayback=function(u){r.videoElement==null&&(r.videoElement=window.document.createElement("video"));var n=r.videoElement.canPlayType(u);return n==="probably"||n=="maybe"},r.getFeatureList=function(){var u={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return u.mseFlvPlayback=r.supportMSEH264Playback(),u.networkStreamIO=r.supportNetworkStreamIO(),u.networkLoaderName=r.getNetworkLoaderTypeName(),u.mseLiveFlvPlayback=u.mseFlvPlayback&&u.networkStreamIO,u.nativeMP4H264Playback=r.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),u.nativeWebmVP8Playback=r.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),u.nativeWebmVP9Playback=r.supportNativeMediaPlayback('video/webm; codecs="vp9"'),u},r}();f.default=o},"./src/core/media-info.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(){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 s.prototype.isComplete=function(){var o=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,r=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&&o&&r},s.prototype.isSeekable=function(){return this.hasKeyframesIndex===!0},s.prototype.getNearestKeyframe=function(o){if(this.keyframesIndex==null)return null;var r=this.keyframesIndex,u=this._search(r.times,o);return{index:u,milliseconds:r.times[u],fileposition:r.filepositions[u]}},s.prototype._search=function(o,r){var u=0,n=o.length-1,l=0,a=0,c=n;for(r<o[0]&&(u=0,a=c+1);a<=c;)if(l=a+Math.floor((c-a)/2),l===n||r>=o[l]&&r<o[l+1]){u=l;break}else o[l]<r?a=l+1:c=l-1;return u},s}();f.default=i},"./src/core/media-segment-info.js":function(C,f,t){"use strict";t.r(f),t.d(f,{SampleInfo:function(){return i},MediaSegmentInfo:function(){return s},IDRSampleList:function(){return o},MediaSegmentInfoList:function(){return r}});var i=function(){function u(n,l,a,c,d){this.dts=n,this.pts=l,this.duration=a,this.originalDts=c,this.isSyncPoint=d,this.fileposition=null}return u}(),s=function(){function u(){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 u.prototype.appendSyncPoint=function(n){n.isSyncPoint=!0,this.syncPoints.push(n)},u}(),o=function(){function u(){this._list=[]}return u.prototype.clear=function(){this._list=[]},u.prototype.appendArray=function(n){var l=this._list;n.length!==0&&(l.length>0&&n[0].originalDts<l[l.length-1].originalDts&&this.clear(),Array.prototype.push.apply(l,n))},u.prototype.getLastSyncPointBeforeDts=function(n){if(this._list.length==0)return null;var l=this._list,a=0,c=l.length-1,d=0,h=0,y=c;for(n<l[0].dts&&(a=0,h=y+1);h<=y;)if(d=h+Math.floor((y-h)/2),d===c||n>=l[d].dts&&n<l[d+1].dts){a=d;break}else l[d].dts<n?h=d+1:y=d-1;return this._list[a]},u}(),r=function(){function u(n){this._type=n,this._list=[],this._lastAppendLocation=-1}return Object.defineProperty(u.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"length",{get:function(){return this._list.length},enumerable:!1,configurable:!0}),u.prototype.isEmpty=function(){return this._list.length===0},u.prototype.clear=function(){this._list=[],this._lastAppendLocation=-1},u.prototype._searchNearestSegmentBefore=function(n){var l=this._list;if(l.length===0)return-2;var a=l.length-1,c=0,d=0,h=a,y=0;if(n<l[0].originalBeginDts)return y=-1,y;for(;d<=h;)if(c=d+Math.floor((h-d)/2),c===a||n>l[c].lastSample.originalDts&&n<l[c+1].originalBeginDts){y=c;break}else l[c].originalBeginDts<n?d=c+1:h=c-1;return y},u.prototype._searchNearestSegmentAfter=function(n){return this._searchNearestSegmentBefore(n)+1},u.prototype.append=function(n){var l=this._list,a=n,c=this._lastAppendLocation,d=0;c!==-1&&c<l.length&&a.originalBeginDts>=l[c].lastSample.originalDts&&(c===l.length-1||c<l.length-1&&a.originalBeginDts<l[c+1].originalBeginDts)?d=c+1:l.length>0&&(d=this._searchNearestSegmentBefore(a.originalBeginDts)+1),this._lastAppendLocation=d,this._list.splice(d,0,a)},u.prototype.getLastSegmentBefore=function(n){var l=this._searchNearestSegmentBefore(n);return l>=0?this._list[l]:null},u.prototype.getLastSampleBefore=function(n){var l=this.getLastSegmentBefore(n);return l!=null?l.lastSample:null},u.prototype.getLastSyncPointBefore=function(n){for(var l=this._searchNearestSegmentBefore(n),a=this._list[l].syncPoints;a.length===0&&l>0;)l--,a=this._list[l].syncPoints;return a.length>0?a[a.length-1]:null},u}()},"./src/core/mse-controller.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./src/utils/logger.js"),r=t("./src/utils/browser.js"),u=t("./src/core/mse-events.js"),n=t("./src/core/media-segment-info.js"),l=t("./src/utils/exception.js"),a=function(){function c(d){this.TAG="MSEController",this._config=d,this._emitter=new(s()),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 n.IDRSampleList}return c.prototype.destroy=function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null},c.prototype.on=function(d,h){this._emitter.addListener(d,h)},c.prototype.off=function(d,h){this._emitter.removeListener(d,h)},c.prototype.attachMediaElement=function(d){if(this._mediaSource)throw new l.IllegalStateException("MediaSource has been attached to an HTMLMediaElement!");var h=this._mediaSource=new window.MediaSource;h.addEventListener("sourceopen",this.e.onSourceOpen),h.addEventListener("sourceended",this.e.onSourceEnded),h.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=d,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),d.src=this._mediaSourceObjectURL},c.prototype.detachMediaElement=function(){if(this._mediaSource){var d=this._mediaSource;for(var h in this._sourceBuffers){var y=this._pendingSegments[h];y.splice(0,y.length),this._pendingSegments[h]=null,this._pendingRemoveRanges[h]=null,this._lastInitSegments[h]=null;var A=this._sourceBuffers[h];if(A){if(d.readyState!=="closed"){try{d.removeSourceBuffer(A)}catch(v){o.default.e(this.TAG,v.message)}A.removeEventListener("error",this.e.onSourceBufferError),A.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[h]=null,this._sourceBuffers[h]=null}}if(d.readyState==="open")try{d.endOfStream()}catch(v){o.default.e(this.TAG,v.message)}d.removeEventListener("sourceopen",this.e.onSourceOpen),d.removeEventListener("sourceended",this.e.onSourceEnded),d.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)},c.prototype.appendInitSegment=function(d,h){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(d),this._pendingSegments[d.type].push(d);return}var y=d,A=""+y.container;y.codec&&y.codec.length>0&&(A+=";codecs="+y.codec);var v=!1;if(o.default.v(this.TAG,"Received Initialization Segment, mimeType: "+A),this._lastInitSegments[y.type]=y,A!==this._mimeTypes[y.type]){if(this._mimeTypes[y.type])o.default.v(this.TAG,"Notice: "+y.type+" mimeType changed, origin: "+this._mimeTypes[y.type]+", target: "+A);else{v=!0;try{var g=this._sourceBuffers[y.type]=this._mediaSource.addSourceBuffer(A);g.addEventListener("error",this.e.onSourceBufferError),g.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(x){o.default.e(this.TAG,x.message),this._emitter.emit(u.default.ERROR,{code:x.code,msg:x.message});return}}this._mimeTypes[y.type]=A}h||this._pendingSegments[y.type].push(y),v||this._sourceBuffers[y.type]&&!this._sourceBuffers[y.type].updating&&this._doAppendSegments(),r.default.safari&&y.container==="audio/mpeg"&&y.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=y.mediaDuration/1e3,this._updateMediaSourceDuration())},c.prototype.appendMediaSegment=function(d){var h=d;this._pendingSegments[h.type].push(h),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var y=this._sourceBuffers[h.type];y&&!y.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()},c.prototype.seek=function(d){for(var h in this._sourceBuffers)if(!!this._sourceBuffers[h]){var y=this._sourceBuffers[h];if(this._mediaSource.readyState==="open")try{y.abort()}catch(b){o.default.e(this.TAG,b.message)}this._idrList.clear();var A=this._pendingSegments[h];if(A.splice(0,A.length),this._mediaSource.readyState!=="closed"){for(var v=0;v<y.buffered.length;v++){var g=y.buffered.start(v),x=y.buffered.end(v);this._pendingRemoveRanges[h].push({start:g,end:x})}if(y.updating||this._doRemoveRanges(),r.default.safari){var m=this._lastInitSegments[h];m&&(this._pendingSegments[h].push(m),y.updating||this._doAppendSegments())}}}},c.prototype.endOfStream=function(){var d=this._mediaSource,h=this._sourceBuffers;if(!d||d.readyState!=="open"){d&&d.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}h.video&&h.video.updating||h.audio&&h.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,d.endOfStream())},c.prototype.getNearestKeyframe=function(d){return this._idrList.getLastSyncPointBeforeDts(d)},c.prototype._needCleanupSourceBuffer=function(){if(!this._config.autoCleanupSourceBuffer)return!1;var d=this._mediaElement.currentTime;for(var h in this._sourceBuffers){var y=this._sourceBuffers[h];if(y){var A=y.buffered;if(A.length>=1&&d-A.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1},c.prototype._doCleanupSourceBuffer=function(){var d=this._mediaElement.currentTime;for(var h in this._sourceBuffers){var y=this._sourceBuffers[h];if(y){for(var A=y.buffered,v=!1,g=0;g<A.length;g++){var x=A.start(g),m=A.end(g);if(x<=d&&d<m+3){if(d-x>=this._config.autoCleanupMaxBackwardDuration){v=!0;var b=d-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[h].push({start:x,end:b})}}else m<d&&(v=!0,this._pendingRemoveRanges[h].push({start:x,end:m}))}v&&!y.updating&&this._doRemoveRanges()}}},c.prototype._updateMediaSourceDuration=function(){var d=this._sourceBuffers;if(!(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")&&!(d.video&&d.video.updating||d.audio&&d.audio.updating)){var h=this._mediaSource.duration,y=this._pendingMediaDuration;y>0&&(isNaN(h)||y>h)&&(o.default.v(this.TAG,"Update MediaSource duration from "+h+" to "+y),this._mediaSource.duration=y),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},c.prototype._doRemoveRanges=function(){for(var d in this._pendingRemoveRanges)if(!(!this._sourceBuffers[d]||this._sourceBuffers[d].updating))for(var h=this._sourceBuffers[d],y=this._pendingRemoveRanges[d];y.length&&!h.updating;){var A=y.shift();h.remove(A.start,A.end)}},c.prototype._doAppendSegments=function(){var d=this._pendingSegments;for(var h in d)if(!(!this._sourceBuffers[h]||this._sourceBuffers[h].updating)&&d[h].length>0){var y=d[h].shift();if(y.timestampOffset){var A=this._sourceBuffers[h].timestampOffset,v=y.timestampOffset/1e3,g=Math.abs(A-v);g>.1&&(o.default.v(this.TAG,"Update MPEG audio timestampOffset from "+A+" to "+v),this._sourceBuffers[h].timestampOffset=v),delete y.timestampOffset}if(!y.data||y.data.byteLength===0)continue;try{this._sourceBuffers[h].appendBuffer(y.data),this._isBufferFull=!1,h==="video"&&y.hasOwnProperty("info")&&this._idrList.appendArray(y.info.syncPoints)}catch(x){this._pendingSegments[h].unshift(y),x.code===22?(this._isBufferFull||this._emitter.emit(u.default.BUFFER_FULL),this._isBufferFull=!0):(o.default.e(this.TAG,x.message),this._emitter.emit(u.default.ERROR,{code:x.code,msg:x.message}))}}},c.prototype._onSourceOpen=function(){if(o.default.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var d=this._pendingSourceBufferInit;d.length;){var h=d.shift();this.appendInitSegment(h,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(u.default.SOURCE_OPEN)},c.prototype._onSourceEnded=function(){o.default.v(this.TAG,"MediaSource onSourceEnded")},c.prototype._onSourceClose=function(){o.default.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))},c.prototype._hasPendingSegments=function(){var d=this._pendingSegments;return d.video.length>0||d.audio.length>0},c.prototype._hasPendingRemoveRanges=function(){var d=this._pendingRemoveRanges;return d.video.length>0||d.audio.length>0},c.prototype._onSourceBufferUpdateEnd=function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(u.default.UPDATE_END)},c.prototype._onSourceBufferError=function(d){o.default.e(this.TAG,"SourceBuffer Error: "+d)},c}();f.default=a},"./src/core/mse-events.js":function(C,f,t){"use strict";t.r(f);var i={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};f.default=i},"./src/core/transmuxer.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./node_modules/webworkify-webpack/index.js"),r=t.n(o),u=t("./src/utils/logger.js"),n=t("./src/utils/logging-control.js"),l=t("./src/core/transmuxing-controller.js"),a=t("./src/core/transmuxing-events.js"),c=t("./src/core/media-info.js"),d=function(){function h(y,A){if(this.TAG="Transmuxer",this._emitter=new(s()),A.enableWorker&&typeof Worker!="undefined")try{this._worker=r()("./src/core/transmuxing-worker.js"),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[y,A]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},n.default.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:n.default.getConfig()})}catch(g){u.default.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new l.default(y,A)}else this._controller=new l.default(y,A);if(this._controller){var v=this._controller;v.on(a.default.IO_ERROR,this._onIOError.bind(this)),v.on(a.default.DEMUX_ERROR,this._onDemuxError.bind(this)),v.on(a.default.INIT_SEGMENT,this._onInitSegment.bind(this)),v.on(a.default.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),v.on(a.default.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),v.on(a.default.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),v.on(a.default.MEDIA_INFO,this._onMediaInfo.bind(this)),v.on(a.default.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),v.on(a.default.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),v.on(a.default.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),v.on(a.default.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return h.prototype.destroy=function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),n.default.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null},h.prototype.on=function(y,A){this._emitter.addListener(y,A)},h.prototype.off=function(y,A){this._emitter.removeListener(y,A)},h.prototype.hasWorker=function(){return this._worker!=null},h.prototype.open=function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()},h.prototype.close=function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()},h.prototype.seek=function(y){this._worker?this._worker.postMessage({cmd:"seek",param:y}):this._controller.seek(y)},h.prototype.pause=function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()},h.prototype.resume=function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()},h.prototype._onInitSegment=function(y,A){var v=this;Promise.resolve().then(function(){v._emitter.emit(a.default.INIT_SEGMENT,y,A)})},h.prototype._onMediaSegment=function(y,A){var v=this;Promise.resolve().then(function(){v._emitter.emit(a.default.MEDIA_SEGMENT,y,A)})},h.prototype._onLoadingComplete=function(){var y=this;Promise.resolve().then(function(){y._emitter.emit(a.default.LOADING_COMPLETE)})},h.prototype._onRecoveredEarlyEof=function(){var y=this;Promise.resolve().then(function(){y._emitter.emit(a.default.RECOVERED_EARLY_EOF)})},h.prototype._onMediaInfo=function(y){var A=this;Promise.resolve().then(function(){A._emitter.emit(a.default.MEDIA_INFO,y)})},h.prototype._onMetaDataArrived=function(y){var A=this;Promise.resolve().then(function(){A._emitter.emit(a.default.METADATA_ARRIVED,y)})},h.prototype._onScriptDataArrived=function(y){var A=this;Promise.resolve().then(function(){A._emitter.emit(a.default.SCRIPTDATA_ARRIVED,y)})},h.prototype._onStatisticsInfo=function(y){var A=this;Promise.resolve().then(function(){A._emitter.emit(a.default.STATISTICS_INFO,y)})},h.prototype._onIOError=function(y,A){var v=this;Promise.resolve().then(function(){v._emitter.emit(a.default.IO_ERROR,y,A)})},h.prototype._onDemuxError=function(y,A){var v=this;Promise.resolve().then(function(){v._emitter.emit(a.default.DEMUX_ERROR,y,A)})},h.prototype._onRecommendSeekpoint=function(y){var A=this;Promise.resolve().then(function(){A._emitter.emit(a.default.RECOMMEND_SEEKPOINT,y)})},h.prototype._onLoggingConfigChanged=function(y){this._worker&&this._worker.postMessage({cmd:"logging_config",param:y})},h.prototype._onWorkerMessage=function(y){var A=y.data,v=A.data;if(A.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(A.msg){case a.default.INIT_SEGMENT:case a.default.MEDIA_SEGMENT:this._emitter.emit(A.msg,v.type,v.data);break;case a.default.LOADING_COMPLETE:case a.default.RECOVERED_EARLY_EOF:this._emitter.emit(A.msg);break;case a.default.MEDIA_INFO:Object.setPrototypeOf(v,c.default.prototype),this._emitter.emit(A.msg,v);break;case a.default.METADATA_ARRIVED:case a.default.SCRIPTDATA_ARRIVED:case a.default.STATISTICS_INFO:this._emitter.emit(A.msg,v);break;case a.default.IO_ERROR:case a.default.DEMUX_ERROR:this._emitter.emit(A.msg,v.type,v.info);break;case a.default.RECOMMEND_SEEKPOINT:this._emitter.emit(A.msg,v);break;case"logcat_callback":u.default.emitter.emit("log",v.type,v.logcat);break;default:break}},h}();f.default=d},"./src/core/transmuxing-controller.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./src/utils/logger.js"),r=t("./src/utils/browser.js"),u=t("./src/core/media-info.js"),n=t("./src/demux/flv-demuxer.js"),l=t("./src/remux/mp4-remuxer.js"),a=t("./src/demux/demux-errors.js"),c=t("./src/io/io-controller.js"),d=t("./src/core/transmuxing-events.js"),h=function(){function y(A,v){this.TAG="TransmuxingController",this._emitter=new(s()),this._config=v,A.segments||(A.segments=[{duration:A.duration,filesize:A.filesize,url:A.url}]),typeof A.cors!="boolean"&&(A.cors=!0),typeof A.withCredentials!="boolean"&&(A.withCredentials=!1),this._mediaDataSource=A,this._currentSegmentIndex=0;var g=0;this._mediaDataSource.segments.forEach(function(x){x.timestampBase=g,g+=x.duration,x.cors=A.cors,x.withCredentials=A.withCredentials,v.referrerPolicy&&(x.referrerPolicy=v.referrerPolicy)}),!isNaN(g)&&this._mediaDataSource.duration!==g&&(this._mediaDataSource.duration=g),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return y.prototype.destroy=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},y.prototype.on=function(A,v){this._emitter.addListener(A,v)},y.prototype.off=function(A,v){this._emitter.removeListener(A,v)},y.prototype.start=function(){this._loadSegment(0),this._enableStatisticsReporter()},y.prototype._loadSegment=function(A,v){this._currentSegmentIndex=A;var g=this._mediaDataSource.segments[A],x=this._ioctl=new c.default(g,this._config,A);x.onError=this._onIOException.bind(this),x.onSeeked=this._onIOSeeked.bind(this),x.onComplete=this._onIOComplete.bind(this),x.onRedirect=this._onIORedirect.bind(this),x.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),v?this._demuxer.bindDataSource(this._ioctl):x.onDataArrival=this._onInitChunkArrival.bind(this),x.open(v)},y.prototype.stop=function(){this._internalAbort(),this._disableStatisticsReporter()},y.prototype._internalAbort=function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)},y.prototype.pause=function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())},y.prototype.resume=function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())},y.prototype.seek=function(A){if(!(this._mediaInfo==null||!this._mediaInfo.isSeekable())){var v=this._searchSegmentIndexContains(A);if(v===this._currentSegmentIndex){var g=this._mediaInfo.segments[v];if(g==null)this._pendingSeekTime=A;else{var x=g.getNearestKeyframe(A);this._remuxer.seek(x.milliseconds),this._ioctl.seek(x.fileposition),this._pendingResolveSeekPoint=x.milliseconds}}else{var m=this._mediaInfo.segments[v];if(m==null)this._pendingSeekTime=A,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(v);else{var x=m.getNearestKeyframe(A);this._internalAbort(),this._remuxer.seek(A),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[v].timestampBase,this._loadSegment(v,x.fileposition),this._pendingResolveSeekPoint=x.milliseconds,this._reportSegmentMediaInfo(v)}}this._enableStatisticsReporter()}},y.prototype._searchSegmentIndexContains=function(A){for(var v=this._mediaDataSource.segments,g=v.length-1,x=0;x<v.length;x++)if(A<v[x].timestampBase){g=x-1;break}return g},y.prototype._onInitChunkArrival=function(A,v){var g=this,x=null,m=0;if(v>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,m=this._demuxer.parseChunks(A,v);else if((x=n.default.probe(A)).match){this._demuxer=new n.default(x,this._config),this._remuxer||(this._remuxer=new l.default(this._config));var b=this._mediaDataSource;b.duration!=null&&!isNaN(b.duration)&&(this._demuxer.overridedDuration=b.duration),typeof b.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=b.hasAudio),typeof b.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=b.hasVideo),this._demuxer.timestampBase=b.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),m=this._demuxer.parseChunks(A,v)}else x=null,o.default.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){g._internalAbort()}),this._emitter.emit(d.default.DEMUX_ERROR,a.default.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),m=0;return m},y.prototype._onMediaInfo=function(A){var v=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},A),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,u.default.prototype));var g=Object.assign({},A);Object.setPrototypeOf(g,u.default.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=g,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var x=v._pendingSeekTime;v._pendingSeekTime=null,v.seek(x)})},y.prototype._onMetaDataArrived=function(A){this._emitter.emit(d.default.METADATA_ARRIVED,A)},y.prototype._onScriptDataArrived=function(A){this._emitter.emit(d.default.SCRIPTDATA_ARRIVED,A)},y.prototype._onIOSeeked=function(){this._remuxer.insertDiscontinuity()},y.prototype._onIOComplete=function(A){var v=A,g=v+1;g<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(g)):(this._remuxer.flushStashedSamples(),this._emitter.emit(d.default.LOADING_COMPLETE),this._disableStatisticsReporter())},y.prototype._onIORedirect=function(A){var v=this._ioctl.extraData;this._mediaDataSource.segments[v].redirectedURL=A},y.prototype._onIORecoveredEarlyEof=function(){this._emitter.emit(d.default.RECOVERED_EARLY_EOF)},y.prototype._onIOException=function(A,v){o.default.e(this.TAG,"IOException: type = "+A+", code = "+v.code+", msg = "+v.msg),this._emitter.emit(d.default.IO_ERROR,A,v),this._disableStatisticsReporter()},y.prototype._onDemuxException=function(A,v){o.default.e(this.TAG,"DemuxException: type = "+A+", info = "+v),this._emitter.emit(d.default.DEMUX_ERROR,A,v)},y.prototype._onRemuxerInitSegmentArrival=function(A,v){this._emitter.emit(d.default.INIT_SEGMENT,A,v)},y.prototype._onRemuxerMediaSegmentArrival=function(A,v){if(this._pendingSeekTime==null&&(this._emitter.emit(d.default.MEDIA_SEGMENT,A,v),this._pendingResolveSeekPoint!=null&&A==="video")){var g=v.info.syncPoints,x=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,r.default.safari&&g.length>0&&g[0].originalDts===x&&(x=g[0].pts),this._emitter.emit(d.default.RECOMMEND_SEEKPOINT,x)}},y.prototype._enableStatisticsReporter=function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))},y.prototype._disableStatisticsReporter=function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)},y.prototype._reportSegmentMediaInfo=function(A){var v=this._mediaInfo.segments[A],g=Object.assign({},v);g.duration=this._mediaInfo.duration,g.segmentCount=this._mediaInfo.segmentCount,delete g.segments,delete g.keyframesIndex,this._emitter.emit(d.default.MEDIA_INFO,g)},y.prototype._reportStatisticsInfo=function(){var A={};A.url=this._ioctl.currentURL,A.hasRedirect=this._ioctl.hasRedirect,A.hasRedirect&&(A.redirectedURL=this._ioctl.currentRedirectedURL),A.speed=this._ioctl.currentSpeed,A.loaderType=this._ioctl.loaderType,A.currentSegmentIndex=this._currentSegmentIndex,A.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(d.default.STATISTICS_INFO,A)},y}();f.default=h},"./src/core/transmuxing-events.js":function(C,f,t){"use strict";t.r(f);var i={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"};f.default=i},"./src/core/transmuxing-worker.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logging-control.js"),s=t("./src/utils/polyfill.js"),o=t("./src/core/transmuxing-controller.js"),r=t("./src/core/transmuxing-events.js"),u=function(l){var a="TransmuxingWorker",c=null,d=R.bind(this);s.default.install(),l.addEventListener("message",function(F){switch(F.data.cmd){case"init":c=new o.default(F.data.param[0],F.data.param[1]),c.on(r.default.IO_ERROR,S.bind(this)),c.on(r.default.DEMUX_ERROR,P.bind(this)),c.on(r.default.INIT_SEGMENT,h.bind(this)),c.on(r.default.MEDIA_SEGMENT,y.bind(this)),c.on(r.default.LOADING_COMPLETE,A.bind(this)),c.on(r.default.RECOVERED_EARLY_EOF,v.bind(this)),c.on(r.default.MEDIA_INFO,g.bind(this)),c.on(r.default.METADATA_ARRIVED,x.bind(this)),c.on(r.default.SCRIPTDATA_ARRIVED,m.bind(this)),c.on(r.default.STATISTICS_INFO,b.bind(this)),c.on(r.default.RECOMMEND_SEEKPOINT,M.bind(this));break;case"destroy":c&&(c.destroy(),c=null),l.postMessage({msg:"destroyed"});break;case"start":c.start();break;case"stop":c.stop();break;case"seek":c.seek(F.data.param);break;case"pause":c.pause();break;case"resume":c.resume();break;case"logging_config":{var L=F.data.param;i.default.applyConfig(L),L.enableCallback===!0?i.default.addLogListener(d):i.default.removeLogListener(d);break}}});function h(F,L){var U={msg:r.default.INIT_SEGMENT,data:{type:F,data:L}};l.postMessage(U,[L.data])}function y(F,L){var U={msg:r.default.MEDIA_SEGMENT,data:{type:F,data:L}};l.postMessage(U,[L.data])}function A(){var F={msg:r.default.LOADING_COMPLETE};l.postMessage(F)}function v(){var F={msg:r.default.RECOVERED_EARLY_EOF};l.postMessage(F)}function g(F){var L={msg:r.default.MEDIA_INFO,data:F};l.postMessage(L)}function x(F){var L={msg:r.default.METADATA_ARRIVED,data:F};l.postMessage(L)}function m(F){var L={msg:r.default.SCRIPTDATA_ARRIVED,data:F};l.postMessage(L)}function b(F){var L={msg:r.default.STATISTICS_INFO,data:F};l.postMessage(L)}function S(F,L){l.postMessage({msg:r.default.IO_ERROR,data:{type:F,info:L}})}function P(F,L){l.postMessage({msg:r.default.DEMUX_ERROR,data:{type:F,info:L}})}function M(F){l.postMessage({msg:r.default.RECOMMEND_SEEKPOINT,data:F})}function R(F,L){l.postMessage({msg:"logcat_callback",data:{type:F,logcat:L}})}};f.default=u},"./src/demux/amf-parser.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/utils/utf8-conv.js"),o=t("./src/utils/exception.js"),r=function(){var n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}(),u=function(){function n(){}return n.parseScriptData=function(l,a,c){var d={};try{var h=n.parseValue(l,a,c),y=n.parseValue(l,a+h.size,c-h.size);d[h.data]=y.data}catch(A){i.default.e("AMF",A.toString())}return d},n.parseObject=function(l,a,c){if(c<3)throw new o.IllegalStateException("Data not enough when parse ScriptDataObject");var d=n.parseString(l,a,c),h=n.parseValue(l,a+d.size,c-d.size),y=h.objectEnd;return{data:{name:d.data,value:h.data},size:d.size+h.size,objectEnd:y}},n.parseVariable=function(l,a,c){return n.parseObject(l,a,c)},n.parseString=function(l,a,c){if(c<2)throw new o.IllegalStateException("Data not enough when parse String");var d=new DataView(l,a,c),h=d.getUint16(0,!r),y;return h>0?y=(0,s.default)(new Uint8Array(l,a+2,h)):y="",{data:y,size:2+h}},n.parseLongString=function(l,a,c){if(c<4)throw new o.IllegalStateException("Data not enough when parse LongString");var d=new DataView(l,a,c),h=d.getUint32(0,!r),y;return h>0?y=(0,s.default)(new Uint8Array(l,a+4,h)):y="",{data:y,size:4+h}},n.parseDate=function(l,a,c){if(c<10)throw new o.IllegalStateException("Data size invalid when parse Date");var d=new DataView(l,a,c),h=d.getFloat64(0,!r),y=d.getInt16(8,!r);return h+=y*60*1e3,{data:new Date(h),size:8+2}},n.parseValue=function(l,a,c){if(c<1)throw new o.IllegalStateException("Data not enough when parse Value");var d=new DataView(l,a,c),h=1,y=d.getUint8(0),A,v=!1;try{switch(y){case 0:A=d.getFloat64(1,!r),h+=8;break;case 1:{var g=d.getUint8(1);A=!!g,h+=1;break}case 2:{var x=n.parseString(l,a+1,c-1);A=x.data,h+=x.size;break}case 3:{A={};var m=0;for((d.getUint32(c-4,!r)&16777215)==9&&(m=3);h<c-4;){var b=n.parseObject(l,a+h,c-h-m);if(b.objectEnd)break;A[b.data.name]=b.data.value,h+=b.size}if(h<=c-3){var S=d.getUint32(h-1,!r)&16777215;S===9&&(h+=3)}break}case 8:{A={},h+=4;var m=0;for((d.getUint32(c-4,!r)&16777215)==9&&(m=3);h<c-8;){var P=n.parseVariable(l,a+h,c-h-m);if(P.objectEnd)break;A[P.data.name]=P.data.value,h+=P.size}if(h<=c-3){var S=d.getUint32(h-1,!r)&16777215;S===9&&(h+=3)}break}case 9:A=void 0,h=1,v=!0;break;case 10:{A=[];var M=d.getUint32(1,!r);h+=4;for(var R=0;R<M;R++){var F=n.parseValue(l,a+h,c-h);A.push(F.data),h+=F.size}break}case 11:{var L=n.parseDate(l,a+1,c-1);A=L.data,h+=L.size;break}case 12:{var U=n.parseString(l,a+1,c-1);A=U.data,h+=U.size;break}default:h=c,i.default.w("AMF","Unsupported AMF value type "+y)}}catch(N){i.default.e("AMF",N.toString())}return{data:A,size:h,objectEnd:v}},n}();f.default=u},"./src/demux/demux-errors.js":function(C,f,t){"use strict";t.r(f);var i={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"};f.default=i},"./src/demux/exp-golomb.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/exception.js"),s=function(){function o(r){this.TAG="ExpGolomb",this._buffer=r,this._buffer_index=0,this._total_bytes=r.byteLength,this._total_bits=r.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return o.prototype.destroy=function(){this._buffer=null},o.prototype._fillCurrentWord=function(){var r=this._total_bytes-this._buffer_index;if(r<=0)throw new i.IllegalStateException("ExpGolomb: _fillCurrentWord() but no bytes available");var u=Math.min(4,r),n=new Uint8Array(4);n.set(this._buffer.subarray(this._buffer_index,this._buffer_index+u)),this._current_word=new DataView(n.buffer).getUint32(0,!1),this._buffer_index+=u,this._current_word_bits_left=u*8},o.prototype.readBits=function(r){if(r>32)throw new i.InvalidArgumentException("ExpGolomb: readBits() bits exceeded max 32bits!");if(r<=this._current_word_bits_left){var u=this._current_word>>>32-r;return this._current_word<<=r,this._current_word_bits_left-=r,u}var n=this._current_word_bits_left?this._current_word:0;n=n>>>32-this._current_word_bits_left;var l=r-this._current_word_bits_left;this._fillCurrentWord();var a=Math.min(l,this._current_word_bits_left),c=this._current_word>>>32-a;return this._current_word<<=a,this._current_word_bits_left-=a,n=n<<a|c,n},o.prototype.readBool=function(){return this.readBits(1)===1},o.prototype.readByte=function(){return this.readBits(8)},o.prototype._skipLeadingZero=function(){var r;for(r=0;r<this._current_word_bits_left;r++)if((this._current_word&2147483648>>>r)!=0)return this._current_word<<=r,this._current_word_bits_left-=r,r;return this._fillCurrentWord(),r+this._skipLeadingZero()},o.prototype.readUEG=function(){var r=this._skipLeadingZero();return this.readBits(r+1)-1},o.prototype.readSEG=function(){var r=this.readUEG();return r&1?r+1>>>1:-1*(r>>>1)},o}();f.default=s},"./src/demux/flv-demuxer.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/demux/amf-parser.js"),o=t("./src/demux/sps-parser.js"),r=t("./src/demux/demux-errors.js"),u=t("./src/core/media-info.js"),n=t("./src/utils/exception.js");function l(h){return h>>>8&255|(h&255)<<8}function a(h){return(h&4278190080)>>>24|(h&16711680)>>>8|(h&65280)<<8|(h&255)<<24}function c(h,y){return h[y]<<24|h[y+1]<<16|h[y+2]<<8|h[y+3]}var d=function(){function h(y,A){this.TAG="FLVDemuxer",this._config=A,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=y.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=y.hasAudioTrack,this._hasVideo=y.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new u.default,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 v=new ArrayBuffer(2);return new DataView(v).setInt16(0,256,!0),new Int16Array(v)[0]===256}()}return h.prototype.destroy=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},h.probe=function(y){var A=new Uint8Array(y),v={match:!1};if(A[0]!==70||A[1]!==76||A[2]!==86||A[3]!==1)return v;var g=(A[4]&4)>>>2!=0,x=(A[4]&1)!=0,m=c(A,5);return m<9?v:{match:!0,consumed:m,dataOffset:m,hasAudioTrack:g,hasVideoTrack:x}},h.prototype.bindDataSource=function(y){return y.onDataArrival=this.parseChunks.bind(this),this},Object.defineProperty(h.prototype,"onTrackMetadata",{get:function(){return this._onTrackMetadata},set:function(A){this._onTrackMetadata=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onMediaInfo",{get:function(){return this._onMediaInfo},set:function(A){this._onMediaInfo=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onMetaDataArrived",{get:function(){return this._onMetaDataArrived},set:function(A){this._onMetaDataArrived=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onScriptDataArrived",{get:function(){return this._onScriptDataArrived},set:function(A){this._onScriptDataArrived=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onError",{get:function(){return this._onError},set:function(A){this._onError=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onDataAvailable",{get:function(){return this._onDataAvailable},set:function(A){this._onDataAvailable=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"timestampBase",{get:function(){return this._timestampBase},set:function(A){this._timestampBase=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"overridedDuration",{get:function(){return this._duration},set:function(A){this._durationOverrided=!0,this._duration=A,this._mediaInfo.duration=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"overridedHasAudio",{set:function(A){this._hasAudioFlagOverrided=!0,this._hasAudio=A,this._mediaInfo.hasAudio=A},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"overridedHasVideo",{set:function(A){this._hasVideoFlagOverrided=!0,this._hasVideo=A,this._mediaInfo.hasVideo=A},enumerable:!1,configurable:!0}),h.prototype.resetMediaInfo=function(){this._mediaInfo=new u.default},h.prototype._isInitialMetadataDispatched=function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1},h.prototype.parseChunks=function(y,A){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new n.IllegalStateException("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var v=0,g=this._littleEndian;if(A===0)if(y.byteLength>13){var x=h.probe(y);v=x.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,A+v!==this._dataOffset&&i.default.w(this.TAG,"First time parsing but chunk byteStart invalid!");var m=new DataView(y,v),b=m.getUint32(0,!g);b!==0&&i.default.w(this.TAG,"PrevTagSize0 !== 0 !!!"),v+=4}for(;v<y.byteLength;){this._dispatch=!0;var m=new DataView(y,v);if(v+11+4>y.byteLength)break;var S=m.getUint8(0),P=m.getUint32(0,!g)&16777215;if(v+11+P+4>y.byteLength)break;if(S!==8&&S!==9&&S!==18){i.default.w(this.TAG,"Unsupported tag type "+S+", skipped"),v+=11+P+4;continue}var M=m.getUint8(4),R=m.getUint8(5),F=m.getUint8(6),L=m.getUint8(7),U=F|R<<8|M<<16|L<<24,N=m.getUint32(7,!g)&16777215;N!==0&&i.default.w(this.TAG,"Meet tag which has StreamID != 0!");var Q=v+11;switch(S){case 8:this._parseAudioData(y,Q,P,U);break;case 9:this._parseVideoData(y,Q,P,U,A+v);break;case 18:this._parseScriptData(y,Q,P);break}var z=m.getUint32(11+P,!g);z!==11+P&&i.default.w(this.TAG,"Invalid PrevTagSize "+z),v+=11+P+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),v},h.prototype._parseScriptData=function(y,A,v){var g=s.default.parseScriptData(y,A,v);if(g.hasOwnProperty("onMetaData")){if(g.onMetaData==null||typeof g.onMetaData!="object"){i.default.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&i.default.w(this.TAG,"Found another onMetaData tag!"),this._metadata=g;var x=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},x)),typeof x.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=x.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof x.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=x.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof x.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=x.audiodatarate),typeof x.videodatarate=="number"&&(this._mediaInfo.videoDataRate=x.videodatarate),typeof x.width=="number"&&(this._mediaInfo.width=x.width),typeof x.height=="number"&&(this._mediaInfo.height=x.height),typeof x.duration=="number"){if(!this._durationOverrided){var m=Math.floor(x.duration*this._timescale);this._duration=m,this._mediaInfo.duration=m}}else this._mediaInfo.duration=0;if(typeof x.framerate=="number"){var b=Math.floor(x.framerate*1e3);if(b>0){var S=b/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=S,this._referenceFrameRate.fps_num=b,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=S}}if(typeof x.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var P=x.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(P),x.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=x,i.default.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(g).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},g))},h.prototype._parseKeyframesIndex=function(y){for(var A=[],v=[],g=1;g<y.times.length;g++){var x=this._timestampBase+Math.floor(y.times[g]*1e3);A.push(x),v.push(y.filepositions[g])}return{times:A,filepositions:v}},h.prototype._parseAudioData=function(y,A,v,g){if(v<=1){i.default.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(!(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)){var x=this._littleEndian,m=new DataView(y,A,v),b=m.getUint8(0),S=b>>>4;if(S!==2&&S!==10){this._onError(r.default.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+S);return}var P=0,M=(b&12)>>>2;if(M>=0&&M<=4)P=this._flvSoundRateTable[M];else{this._onError(r.default.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+M);return}var R=(b&2)>>>1,F=b&1,L=this._audioMetadata,U=this._audioTrack;if(L||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),L=this._audioMetadata={},L.type="audio",L.id=U.id,L.timescale=this._timescale,L.duration=this._duration,L.audioSampleRate=P,L.channelCount=F===0?1:2),S===10){var N=this._parseAACAudioData(y,A+1,v-1);if(N==null)return;if(N.packetType===0){L.config&&i.default.w(this.TAG,"Found another AudioSpecificConfig!");var Q=N.data;L.audioSampleRate=Q.samplingRate,L.channelCount=Q.channelCount,L.codec=Q.codec,L.originalCodec=Q.originalCodec,L.config=Q.config,L.refSampleDuration=1024/L.audioSampleRate*L.timescale,i.default.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",L);var z=this._mediaInfo;z.audioCodec=L.originalCodec,z.audioSampleRate=L.audioSampleRate,z.audioChannelCount=L.channelCount,z.hasVideo?z.videoCodec!=null&&(z.mimeType='video/x-flv; codecs="'+z.videoCodec+","+z.audioCodec+'"'):z.mimeType='video/x-flv; codecs="'+z.audioCodec+'"',z.isComplete()&&this._onMediaInfo(z)}else if(N.packetType===1){var _=this._timestampBase+g,J={unit:N.data,length:N.data.byteLength,dts:_,pts:_};U.samples.push(J),U.length+=N.data.length}else i.default.e(this.TAG,"Flv: Unsupported AAC data type "+N.packetType)}else if(S===2){if(!L.codec){var Q=this._parseMP3AudioData(y,A+1,v-1,!0);if(Q==null)return;L.audioSampleRate=Q.samplingRate,L.channelCount=Q.channelCount,L.codec=Q.codec,L.originalCodec=Q.originalCodec,L.refSampleDuration=1152/L.audioSampleRate*L.timescale,i.default.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",L);var z=this._mediaInfo;z.audioCodec=L.codec,z.audioSampleRate=L.audioSampleRate,z.audioChannelCount=L.channelCount,z.audioDataRate=Q.bitRate,z.hasVideo?z.videoCodec!=null&&(z.mimeType='video/x-flv; codecs="'+z.videoCodec+","+z.audioCodec+'"'):z.mimeType='video/x-flv; codecs="'+z.audioCodec+'"',z.isComplete()&&this._onMediaInfo(z)}var Y=this._parseMP3AudioData(y,A+1,v-1,!1);if(Y==null)return;var _=this._timestampBase+g,k={unit:Y,length:Y.byteLength,dts:_,pts:_};U.samples.push(k),U.length+=Y.length}}},h.prototype._parseAACAudioData=function(y,A,v){if(v<=1){i.default.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var g={},x=new Uint8Array(y,A,v);return g.packetType=x[0],x[0]===0?g.data=this._parseAACAudioSpecificConfig(y,A+1,v-1):g.data=x.subarray(1),g},h.prototype._parseAACAudioSpecificConfig=function(y,A,v){var g=new Uint8Array(y,A,v),x=null,m=0,b=0,S=null,P=0,M=null;if(m=b=g[0]>>>3,P=(g[0]&7)<<1|g[1]>>>7,P<0||P>=this._mpegSamplingRates.length){this._onError(r.default.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var R=this._mpegSamplingRates[P],F=(g[1]&120)>>>3;if(F<0||F>=8){this._onError(r.default.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}m===5&&(M=(g[1]&7)<<1|g[2]>>>7,S=(g[2]&124)>>>2);var L=self.navigator.userAgent.toLowerCase();return L.indexOf("firefox")!==-1?P>=6?(m=5,x=new Array(4),M=P-3):(m=2,x=new Array(2),M=P):L.indexOf("android")!==-1?(m=2,x=new Array(2),M=P):(m=5,M=P,x=new Array(4),P>=6?M=P-3:F===1&&(m=2,x=new Array(2),M=P)),x[0]=m<<3,x[0]|=(P&15)>>>1,x[1]=(P&15)<<7,x[1]|=(F&15)<<3,m===5&&(x[1]|=(M&15)>>>1,x[2]=(M&1)<<7,x[2]|=2<<2,x[3]=0),{config:x,samplingRate:R,channelCount:F,codec:"mp4a.40."+m,originalCodec:"mp4a.40."+b}},h.prototype._parseMP3AudioData=function(y,A,v,g){if(v<4){i.default.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var x=this._littleEndian,m=new Uint8Array(y,A,v),b=null;if(g){if(m[0]!==255)return;var S=m[1]>>>3&3,P=(m[1]&6)>>1,M=(m[2]&240)>>>4,R=(m[2]&12)>>>2,F=m[3]>>>6&3,L=F!==3?2:1,U=0,N=0,Q=34,z="mp3";switch(S){case 0:U=this._mpegAudioV25SampleRateTable[R];break;case 2:U=this._mpegAudioV20SampleRateTable[R];break;case 3:U=this._mpegAudioV10SampleRateTable[R];break}switch(P){case 1:Q=34,M<this._mpegAudioL3BitRateTable.length&&(N=this._mpegAudioL3BitRateTable[M]);break;case 2:Q=33,M<this._mpegAudioL2BitRateTable.length&&(N=this._mpegAudioL2BitRateTable[M]);break;case 3:Q=32,M<this._mpegAudioL1BitRateTable.length&&(N=this._mpegAudioL1BitRateTable[M]);break}b={bitRate:N,samplingRate:U,channelCount:L,codec:z,originalCodec:z}}else b=m;return b},h.prototype._parseVideoData=function(y,A,v,g,x){if(v<=1){i.default.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(!(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)){var m=new Uint8Array(y,A,v)[0],b=(m&240)>>>4,S=m&15;if(S!==7){this._onError(r.default.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: "+S);return}this._parseAVCVideoPacket(y,A+1,v-1,g,x,b)}},h.prototype._parseAVCVideoPacket=function(y,A,v,g,x,m){if(v<4){i.default.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var b=this._littleEndian,S=new DataView(y,A,v),P=S.getUint8(0),M=S.getUint32(0,!b)&16777215,R=M<<8>>8;if(P===0)this._parseAVCDecoderConfigurationRecord(y,A+4,v-4);else if(P===1)this._parseAVCVideoData(y,A+4,v-4,g,x,m,R);else if(P!==2){this._onError(r.default.FORMAT_ERROR,"Flv: Invalid video packet type "+P);return}},h.prototype._parseAVCDecoderConfigurationRecord=function(y,A,v){if(v<7){i.default.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var g=this._videoMetadata,x=this._videoTrack,m=this._littleEndian,b=new DataView(y,A,v);g?typeof g.avcc!="undefined"&&i.default.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),g=this._videoMetadata={},g.type="video",g.id=x.id,g.timescale=this._timescale,g.duration=this._duration);var S=b.getUint8(0),P=b.getUint8(1),M=b.getUint8(2),R=b.getUint8(3);if(S!==1||P===0){this._onError(r.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(b.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(r.default.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: "+(this._naluLengthSize-1));return}var F=b.getUint8(5)&31;if(F===0){this._onError(r.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else F>1&&i.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = "+F);for(var L=6,U=0;U<F;U++){var N=b.getUint16(L,!m);if(L+=2,N!==0){var Q=new Uint8Array(y,A+L,N);L+=N;var z=o.default.parseSPS(Q);if(U===0){g.codecWidth=z.codec_size.width,g.codecHeight=z.codec_size.height,g.presentWidth=z.present_size.width,g.presentHeight=z.present_size.height,g.profile=z.profile_string,g.level=z.level_string,g.bitDepth=z.bit_depth,g.chromaFormat=z.chroma_format,g.sarRatio=z.sar_ratio,g.frameRate=z.frame_rate,(z.frame_rate.fixed===!1||z.frame_rate.fps_num===0||z.frame_rate.fps_den===0)&&(g.frameRate=this._referenceFrameRate);var _=g.frameRate.fps_den,J=g.frameRate.fps_num;g.refSampleDuration=g.timescale*(_/J);for(var Y=Q.subarray(1,4),k="avc1.",W=0;W<3;W++){var ie=Y[W].toString(16);ie.length<2&&(ie="0"+ie),k+=ie}g.codec=k;var fe=this._mediaInfo;fe.width=g.codecWidth,fe.height=g.codecHeight,fe.fps=g.frameRate.fps,fe.profile=g.profile,fe.level=g.level,fe.refFrames=z.ref_frames,fe.chromaFormat=z.chroma_format_string,fe.sarNum=g.sarRatio.width,fe.sarDen=g.sarRatio.height,fe.videoCodec=k,fe.hasAudio?fe.audioCodec!=null&&(fe.mimeType='video/x-flv; codecs="'+fe.videoCodec+","+fe.audioCodec+'"'):fe.mimeType='video/x-flv; codecs="'+fe.videoCodec+'"',fe.isComplete()&&this._onMediaInfo(fe)}}}var Ce=b.getUint8(L);if(Ce===0){this._onError(r.default.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ce>1&&i.default.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = "+Ce);L++;for(var U=0;U<Ce;U++){var N=b.getUint16(L,!m);L+=2,N!==0&&(L+=N)}g.avcc=new Uint8Array(v),g.avcc.set(new Uint8Array(y,A,v),0),i.default.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",g)},h.prototype._parseAVCVideoData=function(y,A,v,g,x,m,b){for(var S=this._littleEndian,P=new DataView(y,A,v),M=[],R=0,F=0,L=this._naluLengthSize,U=this._timestampBase+g,N=m===1;F<v;){if(F+4>=v){i.default.w(this.TAG,"Malformed Nalu near timestamp "+U+", offset = "+F+", dataSize = "+v);break}var Q=P.getUint32(F,!S);if(L===3&&(Q>>>=8),Q>v-L){i.default.w(this.TAG,"Malformed Nalus near timestamp "+U+", NaluSize > DataSize!");return}var z=P.getUint8(F+L)&31;z===5&&(N=!0);var _=new Uint8Array(y,A+F,L+Q),J={type:z,data:_};M.push(J),R+=_.byteLength,F+=L+Q}if(M.length){var Y=this._videoTrack,k={units:M,length:R,isKeyframe:N,dts:U,cts:b,pts:U+b};N&&(k.fileposition=x),Y.samples.push(k),Y.length+=R}},h}();f.default=d},"./src/demux/sps-parser.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/demux/exp-golomb.js"),s=function(){function o(){}return o._ebsp2rbsp=function(r){for(var u=r,n=u.byteLength,l=new Uint8Array(n),a=0,c=0;c<n;c++)c>=2&&u[c]===3&&u[c-1]===0&&u[c-2]===0||(l[a]=u[c],a++);return new Uint8Array(l.buffer,0,a)},o.parseSPS=function(r){var u=o._ebsp2rbsp(r),n=new i.default(u);n.readByte();var l=n.readByte();n.readByte();var a=n.readByte();n.readUEG();var c=o.getProfileString(l),d=o.getLevelString(a),h=1,y=420,A=[0,420,422,444],v=8;if((l===100||l===110||l===122||l===244||l===44||l===83||l===86||l===118||l===128||l===138||l===144)&&(h=n.readUEG(),h===3&&n.readBits(1),h<=3&&(y=A[h]),v=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool()))for(var g=h!==3?8:12,x=0;x<g;x++)n.readBool()&&(x<6?o._skipScalingList(n,16):o._skipScalingList(n,64));n.readUEG();var m=n.readUEG();if(m===0)n.readUEG();else if(m===1){n.readBits(1),n.readSEG(),n.readSEG();for(var b=n.readUEG(),x=0;x<b;x++)n.readSEG()}var S=n.readUEG();n.readBits(1);var P=n.readUEG(),M=n.readUEG(),R=n.readBits(1);R===0&&n.readBits(1),n.readBits(1);var F=0,L=0,U=0,N=0,Q=n.readBool();Q&&(F=n.readUEG(),L=n.readUEG(),U=n.readUEG(),N=n.readUEG());var z=1,_=1,J=0,Y=!0,k=0,W=0,ie=n.readBool();if(ie){if(n.readBool()){var fe=n.readByte(),Ce=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],ge=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];fe>0&&fe<16?(z=Ce[fe-1],_=ge[fe-1]):fe===255&&(z=n.readByte()<<8|n.readByte(),_=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){var de=n.readBits(32),Pe=n.readBits(32);Y=n.readBool(),k=Pe,W=de*2,J=k/W}}var _e=1;(z!==1||_!==1)&&(_e=z/_);var Ne=0,He=0;if(h===0)Ne=1,He=2-R;else{var ue=h===3?1:2,Re=h===1?2:1;Ne=ue,He=Re*(2-R)}var nt=(P+1)*16,Ve=(2-R)*((M+1)*16);nt-=(F+L)*Ne,Ve-=(U+N)*He;var Ge=Math.ceil(nt*_e);return n.destroy(),n=null,{profile_string:c,level_string:d,bit_depth:v,ref_frames:S,chroma_format:y,chroma_format_string:o.getChromaFormatString(y),frame_rate:{fixed:Y,fps:J,fps_den:W,fps_num:k},sar_ratio:{width:z,height:_},codec_size:{width:nt,height:Ve},present_size:{width:Ge,height:Ve}}},o._skipScalingList=function(r,u){for(var n=8,l=8,a=0,c=0;c<u;c++)l!==0&&(a=r.readSEG(),l=(n+a+256)%256),n=l===0?n:l},o.getProfileString=function(r){switch(r){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"}},o.getLevelString=function(r){return(r/10).toFixed(1)},o.getChromaFormatString=function(r){switch(r){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}},o}();f.default=s},"./src/flv.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/polyfill.js"),s=t("./src/core/features.js"),o=t("./src/io/loader.js"),r=t("./src/player/flv-player.js"),u=t("./src/player/native-player.js"),n=t("./src/player/player-events.js"),l=t("./src/player/player-errors.js"),a=t("./src/utils/logging-control.js"),c=t("./src/utils/exception.js");i.default.install();function d(v,g){var x=v;if(x==null||typeof x!="object")throw new c.InvalidArgumentException("MediaDataSource must be an javascript object!");if(!x.hasOwnProperty("type"))throw new c.InvalidArgumentException("MediaDataSource must has type field to indicate video file type!");switch(x.type){case"flv":return new r.default(x,g);default:return new u.default(x,g)}}function h(){return s.default.supportMSEH264Playback()}function y(){return s.default.getFeatureList()}var A={};A.createPlayer=d,A.isSupported=h,A.getFeatureList=y,A.BaseLoader=o.BaseLoader,A.LoaderStatus=o.LoaderStatus,A.LoaderErrors=o.LoaderErrors,A.Events=n.default,A.ErrorTypes=l.ErrorTypes,A.ErrorDetails=l.ErrorDetails,A.FlvPlayer=r.default,A.NativePlayer=u.default,A.LoggingControl=a.default,Object.defineProperty(A,"version",{enumerable:!0,get:function(){return"1.6.2"}}),f.default=A},"./src/index.js":function(C,f,t){C.exports=t("./src/flv.js").default},"./src/io/fetch-stream-loader.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/browser.js"),s=t("./src/io/loader.js"),o=t("./src/utils/exception.js"),r=function(){var n=function(a,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(d[y]=h[y])},n(a,c)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),u=function(n){r(l,n);function l(a,c){var d=n.call(this,"fetch-stream-loader")||this;return d.TAG="FetchStreamLoader",d._seekHandler=a,d._config=c,d._needStash=!0,d._requestAbort=!1,d._contentLength=null,d._receivedLength=0,d}return l.isSupported=function(){try{var a=i.default.msedge&&i.default.version.minor>=15048,c=i.default.msedge?a:!0;return self.fetch&&self.ReadableStream&&c}catch(d){return!1}},l.prototype.destroy=function(){this.isWorking()&&this.abort(),n.prototype.destroy.call(this)},l.prototype.open=function(a,c){var d=this;this._dataSource=a,this._range=c;var h=a.url;this._config.reuseRedirectedURL&&a.redirectedURL!=null&&(h=a.redirectedURL);var y=this._seekHandler.getConfig(h,c),A=new self.Headers;if(typeof y.headers=="object"){var v=y.headers;for(var g in v)v.hasOwnProperty(g)&&A.append(g,v[g])}var x={method:"GET",headers:A,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var g in this._config.headers)A.append(g,this._config.headers[g]);a.cors===!1&&(x.mode="same-origin"),a.withCredentials&&(x.credentials="include"),a.referrerPolicy&&(x.referrerPolicy=a.referrerPolicy),self.AbortController&&(this._abortController=new self.AbortController,x.signal=this._abortController.signal),this._status=s.LoaderStatus.kConnecting,self.fetch(y.url,x).then(function(m){if(d._requestAbort){d._status=s.LoaderStatus.kIdle,m.body.cancel();return}if(m.ok&&m.status>=200&&m.status<=299){if(m.url!==y.url&&d._onURLRedirect){var b=d._seekHandler.removeURLParameters(m.url);d._onURLRedirect(b)}var S=m.headers.get("Content-Length");return S!=null&&(d._contentLength=parseInt(S),d._contentLength!==0&&d._onContentLengthKnown&&d._onContentLengthKnown(d._contentLength)),d._pump.call(d,m.body.getReader())}else if(d._status=s.LoaderStatus.kError,d._onError)d._onError(s.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:m.status,msg:m.statusText});else throw new o.RuntimeException("FetchStreamLoader: Http code invalid, "+m.status+" "+m.statusText)}).catch(function(m){if(!(d._abortController&&d._abortController.signal.aborted))if(d._status=s.LoaderStatus.kError,d._onError)d._onError(s.LoaderErrors.EXCEPTION,{code:-1,msg:m.message});else throw m})},l.prototype.abort=function(){if(this._requestAbort=!0,(this._status!==s.LoaderStatus.kBuffering||!i.default.chrome)&&this._abortController)try{this._abortController.abort()}catch(a){}},l.prototype._pump=function(a){var c=this;return a.read().then(function(d){if(d.done)if(c._contentLength!==null&&c._receivedLength<c._contentLength){c._status=s.LoaderStatus.kError;var h=s.LoaderErrors.EARLY_EOF,y={code:-1,msg:"Fetch stream meet Early-EOF"};if(c._onError)c._onError(h,y);else throw new o.RuntimeException(y.msg)}else c._status=s.LoaderStatus.kComplete,c._onComplete&&c._onComplete(c._range.from,c._range.from+c._receivedLength-1);else{if(c._abortController&&c._abortController.signal.aborted){c._status=s.LoaderStatus.kComplete;return}else if(c._requestAbort===!0)return c._status=s.LoaderStatus.kComplete,a.cancel();c._status=s.LoaderStatus.kBuffering;var A=d.value.buffer,v=c._range.from+c._receivedLength;c._receivedLength+=A.byteLength,c._onDataArrival&&c._onDataArrival(A,v,c._receivedLength),c._pump(a)}}).catch(function(d){if(c._abortController&&c._abortController.signal.aborted){c._status=s.LoaderStatus.kComplete;return}if(!(d.code===11&&i.default.msedge)){c._status=s.LoaderStatus.kError;var h=0,y=null;if((d.code===19||d.message==="network error")&&(c._contentLength===null||c._contentLength!==null&&c._receivedLength<c._contentLength)?(h=s.LoaderErrors.EARLY_EOF,y={code:d.code,msg:"Fetch stream meet Early-EOF"}):(h=s.LoaderErrors.EXCEPTION,y={code:d.code,msg:d.message}),c._onError)c._onError(h,y);else throw new o.RuntimeException(y.msg)}})},l}(s.BaseLoader);f.default=u},"./src/io/io-controller.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/io/speed-sampler.js"),o=t("./src/io/loader.js"),r=t("./src/io/fetch-stream-loader.js"),u=t("./src/io/xhr-moz-chunked-loader.js"),n=t("./src/io/xhr-range-loader.js"),l=t("./src/io/websocket-loader.js"),a=t("./src/io/range-seek-handler.js"),c=t("./src/io/param-seek-handler.js"),d=t("./src/utils/exception.js"),h=function(){function y(A,v,g){this.TAG="IOController",this._config=v,this._extraData=g,this._stashInitialSize=1024*384,v.stashInitialSize!=null&&v.stashInitialSize>0&&(this._stashInitialSize=v.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,v.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=A,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(A.url),this._refTotalLength=A.filesize?A.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new s.default,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 y.prototype.destroy=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},y.prototype.isWorking=function(){return this._loader&&this._loader.isWorking()&&!this._paused},y.prototype.isPaused=function(){return this._paused},Object.defineProperty(y.prototype,"status",{get:function(){return this._loader.status},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"extraData",{get:function(){return this._extraData},set:function(v){this._extraData=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onDataArrival",{get:function(){return this._onDataArrival},set:function(v){this._onDataArrival=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onSeeked",{get:function(){return this._onSeeked},set:function(v){this._onSeeked=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onError",{get:function(){return this._onError},set:function(v){this._onError=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onComplete",{get:function(){return this._onComplete},set:function(v){this._onComplete=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRedirect",{get:function(){return this._onRedirect},set:function(v){this._onRedirect=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"onRecoveredEarlyEof",{get:function(){return this._onRecoveredEarlyEof},set:function(v){this._onRecoveredEarlyEof=v},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"currentURL",{get:function(){return this._dataSource.url},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"hasRedirect",{get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"currentRedirectedURL",{get:function(){return this._redirectedURL||this._dataSource.redirectedURL},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"currentSpeed",{get:function(){return this._loaderClass===n.default?this._loader.currentSpeed:this._speedSampler.lastSecondKBps},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"loaderType",{get:function(){return this._loader.type},enumerable:!1,configurable:!0}),y.prototype._selectSeekHandler=function(){var A=this._config;if(A.seekType==="range")this._seekHandler=new a.default(this._config.rangeLoadZeroStart);else if(A.seekType==="param"){var v=A.seekParamStart||"bstart",g=A.seekParamEnd||"bend";this._seekHandler=new c.default(v,g)}else if(A.seekType==="custom"){if(typeof A.customSeekHandler!="function")throw new d.InvalidArgumentException("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new A.customSeekHandler}else throw new d.InvalidArgumentException("Invalid seekType in config: "+A.seekType)},y.prototype._selectLoader=function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=l.default;else if(r.default.isSupported())this._loaderClass=r.default;else if(u.default.isSupported())this._loaderClass=u.default;else if(n.default.isSupported())this._loaderClass=n.default;else throw new d.RuntimeException("Your browser doesn't support xhr with arraybuffer responseType!")},y.prototype._createLoader=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)},y.prototype.open=function(A){this._currentRange={from:0,to:-1},A&&(this._currentRange.from=A),this._speedSampler.reset(),A||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))},y.prototype.abort=function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)},y.prototype.pause=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)},y.prototype.resume=function(){if(this._paused){this._paused=!1;var A=this._resumeFrom;this._resumeFrom=0,this._internalSeek(A,!0)}},y.prototype.seek=function(A){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(A,!0)},y.prototype._internalSeek=function(A,v){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(v),this._loader.destroy(),this._loader=null;var g={from:A,to:-1};this._currentRange={from:g.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,g),this._onSeeked&&this._onSeeked()},y.prototype.updateUrl=function(A){if(!A||typeof A!="string"||A.length===0)throw new d.InvalidArgumentException("Url must be a non-empty string!");this._dataSource.url=A},y.prototype._expandBuffer=function(A){for(var v=this._stashSize;v+1024*1024*1<A;)v*=2;if(v+=1024*1024*1,v!==this._bufferSize){var g=new ArrayBuffer(v);if(this._stashUsed>0){var x=new Uint8Array(this._stashBuffer,0,this._stashUsed),m=new Uint8Array(g,0,v);m.set(x,0)}this._stashBuffer=g,this._bufferSize=v}},y.prototype._normalizeSpeed=function(A){var v=this._speedNormalizeList,g=v.length-1,x=0,m=0,b=g;if(A<v[0])return v[0];for(;m<=b;){if(x=m+Math.floor((b-m)/2),x===g||A>=v[x]&&A<v[x+1])return v[x];v[x]<A?m=x+1:b=x-1}},y.prototype._adjustStashSize=function(A){var v=0;this._config.isLive||A<512?v=A:A>=512&&A<=1024?v=Math.floor(A*1.5):v=A*2,v>8192&&(v=8192);var g=v*1024+1024*1024*1;this._bufferSize<g&&this._expandBuffer(g),this._stashSize=v*1024},y.prototype._dispatchChunks=function(A,v){return this._currentRange.to=v+A.byteLength-1,this._onDataArrival(A,v)},y.prototype._onURLRedirect=function(A){this._redirectedURL=A,this._onRedirect&&this._onRedirect(A)},y.prototype._onContentLengthKnown=function(A){A&&this._fullRequestFlag&&(this._totalLength=A,this._fullRequestFlag=!1)},y.prototype._onLoaderChunkArrival=function(A,v,g){if(!this._onDataArrival)throw new d.IllegalStateException("IOController: No existing consumer (onDataArrival) callback!");if(!this._paused){this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(A.byteLength);var x=this._speedSampler.lastSecondKBps;if(x!==0){var m=this._normalizeSpeed(x);this._speedNormalized!==m&&(this._speedNormalized=m,this._adjustStashSize(m))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=v),this._stashUsed+A.byteLength<=this._stashSize){var P=new Uint8Array(this._stashBuffer,0,this._stashSize);P.set(new Uint8Array(A),this._stashUsed),this._stashUsed+=A.byteLength}else{var P=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var R=this._stashBuffer.slice(0,this._stashUsed),b=this._dispatchChunks(R,this._stashByteStart);if(b<R.byteLength){if(b>0){var M=new Uint8Array(R,b);P.set(M,0),this._stashUsed=M.byteLength,this._stashByteStart+=b}}else this._stashUsed=0,this._stashByteStart+=b;this._stashUsed+A.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+A.byteLength),P=new Uint8Array(this._stashBuffer,0,this._bufferSize)),P.set(new Uint8Array(A),this._stashUsed),this._stashUsed+=A.byteLength}else{var b=this._dispatchChunks(A,v);if(b<A.byteLength){var S=A.byteLength-b;S>this._bufferSize&&(this._expandBuffer(S),P=new Uint8Array(this._stashBuffer,0,this._bufferSize)),P.set(new Uint8Array(A,b),0),this._stashUsed+=S,this._stashByteStart=v+b}}}else if(this._stashUsed===0){var b=this._dispatchChunks(A,v);if(b<A.byteLength){var S=A.byteLength-b;S>this._bufferSize&&this._expandBuffer(S);var P=new Uint8Array(this._stashBuffer,0,this._bufferSize);P.set(new Uint8Array(A,b),0),this._stashUsed+=S,this._stashByteStart=v+b}}else{this._stashUsed+A.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+A.byteLength);var P=new Uint8Array(this._stashBuffer,0,this._bufferSize);P.set(new Uint8Array(A),this._stashUsed),this._stashUsed+=A.byteLength;var b=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(b<this._stashUsed&&b>0){var M=new Uint8Array(this._stashBuffer,b);P.set(M,0)}this._stashUsed-=b,this._stashByteStart+=b}}},y.prototype._flushStashBuffer=function(A){if(this._stashUsed>0){var v=this._stashBuffer.slice(0,this._stashUsed),g=this._dispatchChunks(v,this._stashByteStart),x=v.byteLength-g;if(g<v.byteLength)if(A)i.default.w(this.TAG,x+" bytes unconsumed data remain when flush buffer, dropped");else{if(g>0){var m=new Uint8Array(this._stashBuffer,0,this._bufferSize),b=new Uint8Array(v,g);m.set(b,0),this._stashUsed=b.byteLength,this._stashByteStart+=g}return 0}return this._stashUsed=0,this._stashByteStart=0,x}return 0},y.prototype._onLoaderComplete=function(A,v){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)},y.prototype._onLoaderError=function(A,v){switch(i.default.e(this.TAG,"Loader error, code = "+v.code+", msg = "+v.msg),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,A=o.LoaderErrors.UNRECOVERABLE_EARLY_EOF),A){case o.LoaderErrors.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var g=this._currentRange.to+1;g<this._totalLength&&(i.default.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(g,!1));return}A=o.LoaderErrors.UNRECOVERABLE_EARLY_EOF;break}case o.LoaderErrors.UNRECOVERABLE_EARLY_EOF:case o.LoaderErrors.CONNECTING_TIMEOUT:case o.LoaderErrors.HTTP_STATUS_CODE_INVALID:case o.LoaderErrors.EXCEPTION:break}if(this._onError)this._onError(A,v);else throw new d.RuntimeException("IOException: "+v.msg)},y}();f.default=h},"./src/io/loader.js":function(C,f,t){"use strict";t.r(f),t.d(f,{LoaderStatus:function(){return s},LoaderErrors:function(){return o},BaseLoader:function(){return r}});var i=t("./src/utils/exception.js"),s={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},o={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},r=function(){function u(n){this._type=n||"undefined",this._status=s.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return u.prototype.destroy=function(){this._status=s.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null},u.prototype.isWorking=function(){return this._status===s.kConnecting||this._status===s.kBuffering},Object.defineProperty(u.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needStashBuffer",{get:function(){return this._needStash},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onContentLengthKnown",{get:function(){return this._onContentLengthKnown},set:function(l){this._onContentLengthKnown=l},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onURLRedirect",{get:function(){return this._onURLRedirect},set:function(l){this._onURLRedirect=l},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onDataArrival",{get:function(){return this._onDataArrival},set:function(l){this._onDataArrival=l},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onError",{get:function(){return this._onError},set:function(l){this._onError=l},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onComplete",{get:function(){return this._onComplete},set:function(l){this._onComplete=l},enumerable:!1,configurable:!0}),u.prototype.open=function(n,l){throw new i.NotImplementedException("Unimplemented abstract function!")},u.prototype.abort=function(){throw new i.NotImplementedException("Unimplemented abstract function!")},u}()},"./src/io/param-seek-handler.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(o,r){this._startName=o,this._endName=r}return s.prototype.getConfig=function(o,r){var u=o;if(r.from!==0||r.to!==-1){var n=!0;u.indexOf("?")===-1&&(u+="?",n=!1),n&&(u+="&"),u+=this._startName+"="+r.from.toString(),r.to!==-1&&(u+="&"+this._endName+"="+r.to.toString())}return{url:u,headers:{}}},s.prototype.removeURLParameters=function(o){var r=o.split("?")[0],u=void 0,n=o.indexOf("?");n!==-1&&(u=o.substring(n+1));var l="";if(u!=null&&u.length>0)for(var a=u.split("&"),c=0;c<a.length;c++){var d=a[c].split("="),h=c>0;d[0]!==this._startName&&d[0]!==this._endName&&(h&&(l+="&"),l+=a[c])}return l.length===0?r:r+"?"+l},s}();f.default=i},"./src/io/range-seek-handler.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(o){this._zeroStart=o||!1}return s.prototype.getConfig=function(o,r){var u={};if(r.from!==0||r.to!==-1){var n=void 0;r.to!==-1?n="bytes="+r.from.toString()+"-"+r.to.toString():n="bytes="+r.from.toString()+"-",u.Range=n}else this._zeroStart&&(u.Range="bytes=0-");return{url:o,headers:u}},s.prototype.removeURLParameters=function(o){return o},s}();f.default=i},"./src/io/speed-sampler.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(){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 s.prototype.reset=function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0},s.prototype.addBytes=function(o){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=o,this._totalBytes+=o):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=o,this._totalBytes+=o):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=o,this._totalBytes+=o,this._lastCheckpoint=this._now())},Object.defineProperty(s.prototype,"currentKBps",{get:function(){this.addBytes(0);var r=(this._now()-this._lastCheckpoint)/1e3;return r==0&&(r=1),this._intervalBytes/r/1024},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"lastSecondKBps",{get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"averageKBps",{get:function(){var r=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/r/1024},enumerable:!1,configurable:!0}),s}();f.default=i},"./src/io/websocket-loader.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/io/loader.js"),s=t("./src/utils/exception.js"),o=function(){var u=function(l,a){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(c[h]=d[h])},u(l,a)};return function(n,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");u(n,l);function a(){this.constructor=n}n.prototype=l===null?Object.create(l):(a.prototype=l.prototype,new a)}}(),r=function(u){o(n,u);function n(){var l=u.call(this,"websocket-loader")||this;return l.TAG="WebSocketLoader",l._needStash=!0,l._ws=null,l._requestAbort=!1,l._receivedLength=0,l}return n.isSupported=function(){try{return typeof self.WebSocket!="undefined"}catch(l){return!1}},n.prototype.destroy=function(){this._ws&&this.abort(),u.prototype.destroy.call(this)},n.prototype.open=function(l){try{var a=this._ws=new self.WebSocket(l.url);a.binaryType="arraybuffer",a.onopen=this._onWebSocketOpen.bind(this),a.onclose=this._onWebSocketClose.bind(this),a.onmessage=this._onWebSocketMessage.bind(this),a.onerror=this._onWebSocketError.bind(this),this._status=i.LoaderStatus.kConnecting}catch(d){this._status=i.LoaderStatus.kError;var c={code:d.code,msg:d.message};if(this._onError)this._onError(i.LoaderErrors.EXCEPTION,c);else throw new s.RuntimeException(c.msg)}},n.prototype.abort=function(){var l=this._ws;l&&(l.readyState===0||l.readyState===1)&&(this._requestAbort=!0,l.close()),this._ws=null,this._status=i.LoaderStatus.kComplete},n.prototype._onWebSocketOpen=function(l){this._status=i.LoaderStatus.kBuffering},n.prototype._onWebSocketClose=function(l){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=i.LoaderStatus.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)},n.prototype._onWebSocketMessage=function(l){var a=this;if(l.data instanceof ArrayBuffer)this._dispatchArrayBuffer(l.data);else if(l.data instanceof Blob){var c=new FileReader;c.onload=function(){a._dispatchArrayBuffer(c.result)},c.readAsArrayBuffer(l.data)}else{this._status=i.LoaderStatus.kError;var d={code:-1,msg:"Unsupported WebSocket message type: "+l.data.constructor.name};if(this._onError)this._onError(i.LoaderErrors.EXCEPTION,d);else throw new s.RuntimeException(d.msg)}},n.prototype._dispatchArrayBuffer=function(l){var a=l,c=this._receivedLength;this._receivedLength+=a.byteLength,this._onDataArrival&&this._onDataArrival(a,c,this._receivedLength)},n.prototype._onWebSocketError=function(l){this._status=i.LoaderStatus.kError;var a={code:l.code,msg:l.message};if(this._onError)this._onError(i.LoaderErrors.EXCEPTION,a);else throw new s.RuntimeException(a.msg)},n}(i.BaseLoader);f.default=r},"./src/io/xhr-moz-chunked-loader.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/io/loader.js"),o=t("./src/utils/exception.js"),r=function(){var n=function(a,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(d[y]=h[y])},n(a,c)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),u=function(n){r(l,n);function l(a,c){var d=n.call(this,"xhr-moz-chunked-loader")||this;return d.TAG="MozChunkedLoader",d._seekHandler=a,d._config=c,d._needStash=!0,d._xhr=null,d._requestAbort=!1,d._contentLength=null,d._receivedLength=0,d}return l.isSupported=function(){try{var a=new XMLHttpRequest;return a.open("GET","https://example.com",!0),a.responseType="moz-chunked-arraybuffer",a.responseType==="moz-chunked-arraybuffer"}catch(c){return i.default.w("MozChunkedLoader",c.message),!1}},l.prototype.destroy=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),n.prototype.destroy.call(this)},l.prototype.open=function(a,c){this._dataSource=a,this._range=c;var d=a.url;this._config.reuseRedirectedURL&&a.redirectedURL!=null&&(d=a.redirectedURL);var h=this._seekHandler.getConfig(d,c);this._requestURL=h.url;var y=this._xhr=new XMLHttpRequest;if(y.open("GET",h.url,!0),y.responseType="moz-chunked-arraybuffer",y.onreadystatechange=this._onReadyStateChange.bind(this),y.onprogress=this._onProgress.bind(this),y.onloadend=this._onLoadEnd.bind(this),y.onerror=this._onXhrError.bind(this),a.withCredentials&&(y.withCredentials=!0),typeof h.headers=="object"){var A=h.headers;for(var v in A)A.hasOwnProperty(v)&&y.setRequestHeader(v,A[v])}if(typeof this._config.headers=="object"){var A=this._config.headers;for(var v in A)A.hasOwnProperty(v)&&y.setRequestHeader(v,A[v])}this._status=s.LoaderStatus.kConnecting,y.send()},l.prototype.abort=function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=s.LoaderStatus.kComplete},l.prototype._onReadyStateChange=function(a){var c=a.target;if(c.readyState===2){if(c.responseURL!=null&&c.responseURL!==this._requestURL&&this._onURLRedirect){var d=this._seekHandler.removeURLParameters(c.responseURL);this._onURLRedirect(d)}if(c.status!==0&&(c.status<200||c.status>299))if(this._status=s.LoaderStatus.kError,this._onError)this._onError(s.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:c.status,msg:c.statusText});else throw new o.RuntimeException("MozChunkedLoader: Http code invalid, "+c.status+" "+c.statusText);else this._status=s.LoaderStatus.kBuffering}},l.prototype._onProgress=function(a){if(this._status!==s.LoaderStatus.kError){this._contentLength===null&&a.total!==null&&a.total!==0&&(this._contentLength=a.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));var c=a.target.response,d=this._range.from+this._receivedLength;this._receivedLength+=c.byteLength,this._onDataArrival&&this._onDataArrival(c,d,this._receivedLength)}},l.prototype._onLoadEnd=function(a){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===s.LoaderStatus.kError)return;this._status=s.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)},l.prototype._onXhrError=function(a){this._status=s.LoaderStatus.kError;var c=0,d=null;if(this._contentLength&&a.loaded<this._contentLength?(c=s.LoaderErrors.EARLY_EOF,d={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(c=s.LoaderErrors.EXCEPTION,d={code:-1,msg:a.constructor.name+" "+a.type}),this._onError)this._onError(c,d);else throw new o.RuntimeException(d.msg)},l}(s.BaseLoader);f.default=u},"./src/io/xhr-range-loader.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/io/speed-sampler.js"),o=t("./src/io/loader.js"),r=t("./src/utils/exception.js"),u=function(){var l=function(c,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,y){h.__proto__=y}||function(h,y){for(var A in y)Object.prototype.hasOwnProperty.call(y,A)&&(h[A]=y[A])},l(c,d)};return function(a,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");l(a,c);function d(){this.constructor=a}a.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}(),n=function(l){u(a,l);function a(c,d){var h=l.call(this,"xhr-range-loader")||this;return h.TAG="RangeLoader",h._seekHandler=c,h._config=d,h._needStash=!1,h._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],h._currentChunkSizeKB=384,h._currentSpeedNormalized=0,h._zeroSpeedChunkCount=0,h._xhr=null,h._speedSampler=new s.default,h._requestAbort=!1,h._waitForTotalLength=!1,h._totalLengthReceived=!1,h._currentRequestURL=null,h._currentRedirectedURL=null,h._currentRequestRange=null,h._totalLength=null,h._contentLength=null,h._receivedLength=0,h._lastTimeLoaded=0,h}return a.isSupported=function(){try{var c=new XMLHttpRequest;return c.open("GET","https://example.com",!0),c.responseType="arraybuffer",c.responseType==="arraybuffer"}catch(d){return i.default.w("RangeLoader",d.message),!1}},a.prototype.destroy=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),l.prototype.destroy.call(this)},Object.defineProperty(a.prototype,"currentSpeed",{get:function(){return this._speedSampler.lastSecondKBps},enumerable:!1,configurable:!0}),a.prototype.open=function(c,d){this._dataSource=c,this._range=d,this._status=o.LoaderStatus.kConnecting;var h=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(h=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!h?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()},a.prototype._openSubRange=function(){var c=this._currentChunkSizeKB*1024,d=this._range.from+this._receivedLength,h=d+c;this._contentLength!=null&&h-this._range.from>=this._contentLength&&(h=this._range.from+this._contentLength-1),this._currentRequestRange={from:d,to:h},this._internalOpen(this._dataSource,this._currentRequestRange)},a.prototype._internalOpen=function(c,d){this._lastTimeLoaded=0;var h=c.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?h=this._currentRedirectedURL:c.redirectedURL!=null&&(h=c.redirectedURL));var y=this._seekHandler.getConfig(h,d);this._currentRequestURL=y.url;var A=this._xhr=new XMLHttpRequest;if(A.open("GET",y.url,!0),A.responseType="arraybuffer",A.onreadystatechange=this._onReadyStateChange.bind(this),A.onprogress=this._onProgress.bind(this),A.onload=this._onLoad.bind(this),A.onerror=this._onXhrError.bind(this),c.withCredentials&&(A.withCredentials=!0),typeof y.headers=="object"){var v=y.headers;for(var g in v)v.hasOwnProperty(g)&&A.setRequestHeader(g,v[g])}if(typeof this._config.headers=="object"){var v=this._config.headers;for(var g in v)v.hasOwnProperty(g)&&A.setRequestHeader(g,v[g])}A.send()},a.prototype.abort=function(){this._requestAbort=!0,this._internalAbort(),this._status=o.LoaderStatus.kComplete},a.prototype._internalAbort=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)},a.prototype._onReadyStateChange=function(c){var d=c.target;if(d.readyState===2){if(d.responseURL!=null){var h=this._seekHandler.removeURLParameters(d.responseURL);d.responseURL!==this._currentRequestURL&&h!==this._currentRedirectedURL&&(this._currentRedirectedURL=h,this._onURLRedirect&&this._onURLRedirect(h))}if(d.status>=200&&d.status<=299){if(this._waitForTotalLength)return;this._status=o.LoaderStatus.kBuffering}else if(this._status=o.LoaderStatus.kError,this._onError)this._onError(o.LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:d.status,msg:d.statusText});else throw new r.RuntimeException("RangeLoader: Http code invalid, "+d.status+" "+d.statusText)}},a.prototype._onProgress=function(c){if(this._status!==o.LoaderStatus.kError){if(this._contentLength===null){var d=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,d=!0;var h=c.total;this._internalAbort(),h!=null&h!==0&&(this._totalLength=h)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,d){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var y=c.loaded-this._lastTimeLoaded;this._lastTimeLoaded=c.loaded,this._speedSampler.addBytes(y)}},a.prototype._normalizeSpeed=function(c){var d=this._chunkSizeKBList,h=d.length-1,y=0,A=0,v=h;if(c<d[0])return d[0];for(;A<=v;){if(y=A+Math.floor((v-A)/2),y===h||c>=d[y]&&c<d[y+1])return d[y];d[y]<c?A=y+1:v=y-1}},a.prototype._onLoad=function(c){if(this._status!==o.LoaderStatus.kError){if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var d=this._speedSampler.lastSecondKBps;if(d===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(d=this._speedSampler.currentKBps)),d!==0){var h=this._normalizeSpeed(d);this._currentSpeedNormalized!==h&&(this._currentSpeedNormalized=h,this._currentChunkSizeKB=h)}var y=c.target.response,A=this._range.from+this._receivedLength;this._receivedLength+=y.byteLength;var v=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():v=!0,this._onDataArrival&&this._onDataArrival(y,A,this._receivedLength),v&&(this._status=o.LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},a.prototype._onXhrError=function(c){this._status=o.LoaderStatus.kError;var d=0,h=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(d=o.LoaderErrors.EARLY_EOF,h={code:-1,msg:"RangeLoader meet Early-Eof"}):(d=o.LoaderErrors.EXCEPTION,h={code:-1,msg:c.constructor.name+" "+c.type}),this._onError)this._onError(d,h);else throw new r.RuntimeException(h.msg)},a}(o.BaseLoader);f.default=n},"./src/player/flv-player.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./src/utils/logger.js"),r=t("./src/utils/browser.js"),u=t("./src/player/player-events.js"),n=t("./src/core/transmuxer.js"),l=t("./src/core/transmuxing-events.js"),a=t("./src/core/mse-controller.js"),c=t("./src/core/mse-events.js"),d=t("./src/player/player-errors.js"),h=t("./src/config.js"),y=t("./src/utils/exception.js"),A=function(){function v(g,x){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(s()),this._config=(0,h.createDefaultConfig)(),typeof x=="object"&&Object.assign(this._config,x),g.type.toLowerCase()!=="flv")throw new y.InvalidArgumentException("FlvPlayer requires an flv MediaDataSource input!");g.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=g,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 m=r.default.chrome&&(r.default.version.major<50||r.default.version.major===50&&r.default.version.build<2661);this._alwaysSeekKeyframe=!!(m||r.default.msedge||r.default.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return v.prototype.destroy=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},v.prototype.on=function(g,x){var m=this;g===u.default.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){m._emitter.emit(u.default.MEDIA_INFO,m.mediaInfo)}):g===u.default.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(function(){m._emitter.emit(u.default.STATISTICS_INFO,m.statisticsInfo)}),this._emitter.addListener(g,x)},v.prototype.off=function(g,x){this._emitter.removeListener(g,x)},v.prototype.attachMediaElement=function(g){var x=this;if(this._mediaElement=g,g.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),g.addEventListener("seeking",this.e.onvSeeking),g.addEventListener("canplay",this.e.onvCanPlay),g.addEventListener("stalled",this.e.onvStalled),g.addEventListener("progress",this.e.onvProgress),this._msectl=new a.default(this._config),this._msectl.on(c.default.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(c.default.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(c.default.SOURCE_OPEN,function(){x._mseSourceOpened=!0,x._hasPendingLoad&&(x._hasPendingLoad=!1,x.load())}),this._msectl.on(c.default.ERROR,function(m){x._emitter.emit(u.default.ERROR,d.ErrorTypes.MEDIA_ERROR,d.ErrorDetails.MEDIA_MSE_ERROR,m)}),this._msectl.attachMediaElement(g),this._pendingSeekTime!=null)try{g.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(m){}},v.prototype.detachMediaElement=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)},v.prototype.load=function(){var g=this;if(!this._mediaElement)throw new y.IllegalStateException("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new y.IllegalStateException("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){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 n.default(this._mediaDataSource,this._config),this._transmuxer.on(l.default.INIT_SEGMENT,function(x,m){g._msectl.appendInitSegment(m)}),this._transmuxer.on(l.default.MEDIA_SEGMENT,function(x,m){if(g._msectl.appendMediaSegment(m),g._config.lazyLoad&&!g._config.isLive){var b=g._mediaElement.currentTime;m.info.endDts>=(b+g._config.lazyLoadMaxDuration)*1e3&&g._progressChecker==null&&(o.default.v(g.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),g._suspendTransmuxer())}}),this._transmuxer.on(l.default.LOADING_COMPLETE,function(){g._msectl.endOfStream(),g._emitter.emit(u.default.LOADING_COMPLETE)}),this._transmuxer.on(l.default.RECOVERED_EARLY_EOF,function(){g._emitter.emit(u.default.RECOVERED_EARLY_EOF)}),this._transmuxer.on(l.default.IO_ERROR,function(x,m){g._emitter.emit(u.default.ERROR,d.ErrorTypes.NETWORK_ERROR,x,m)}),this._transmuxer.on(l.default.DEMUX_ERROR,function(x,m){g._emitter.emit(u.default.ERROR,d.ErrorTypes.MEDIA_ERROR,x,{code:-1,msg:m})}),this._transmuxer.on(l.default.MEDIA_INFO,function(x){g._mediaInfo=x,g._emitter.emit(u.default.MEDIA_INFO,Object.assign({},x))}),this._transmuxer.on(l.default.METADATA_ARRIVED,function(x){g._emitter.emit(u.default.METADATA_ARRIVED,x)}),this._transmuxer.on(l.default.SCRIPTDATA_ARRIVED,function(x){g._emitter.emit(u.default.SCRIPTDATA_ARRIVED,x)}),this._transmuxer.on(l.default.STATISTICS_INFO,function(x){g._statisticsInfo=g._fillStatisticsInfo(x),g._emitter.emit(u.default.STATISTICS_INFO,Object.assign({},g._statisticsInfo))}),this._transmuxer.on(l.default.RECOMMEND_SEEKPOINT,function(x){g._mediaElement&&!g._config.accurateSeek&&(g._requestSetTime=!0,g._mediaElement.currentTime=x/1e3)}),this._transmuxer.open()}},v.prototype.unload=function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)},v.prototype.play=function(){return this._mediaElement.play()},v.prototype.pause=function(){this._mediaElement.pause()},Object.defineProperty(v.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"buffered",{get:function(){return this._mediaElement.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"duration",{get:function(){return this._mediaElement.duration},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"volume",{get:function(){return this._mediaElement.volume},set:function(x){this._mediaElement.volume=x},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"muted",{get:function(){return this._mediaElement.muted},set:function(x){this._mediaElement.muted=x},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"currentTime",{get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(x){this._mediaElement?this._internalSeek(x):this._pendingSeekTime=x},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mediaInfo",{get:function(){return Object.assign({},this._mediaInfo)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"statisticsInfo",{get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)},enumerable:!1,configurable:!0}),v.prototype._fillStatisticsInfo=function(g){if(g.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return g;var x=!0,m=0,b=0;if(this._mediaElement.getVideoPlaybackQuality){var S=this._mediaElement.getVideoPlaybackQuality();m=S.totalVideoFrames,b=S.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(m=this._mediaElement.webkitDecodedFrameCount,b=this._mediaElement.webkitDroppedFrameCount):x=!1;return x&&(g.decodedFrames=m,g.droppedFrames=b),g},v.prototype._onmseUpdateEnd=function(){if(!(!this._config.lazyLoad||this._config.isLive)){for(var g=this._mediaElement.buffered,x=this._mediaElement.currentTime,m=0,b=0,S=0;S<g.length;S++){var P=g.start(S),M=g.end(S);if(P<=x&&x<M){m=P,b=M;break}}b>=x+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(o.default.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},v.prototype._onmseBufferFull=function(){o.default.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()},v.prototype._suspendTransmuxer=function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))},v.prototype._checkProgressAndResume=function(){for(var g=this._mediaElement.currentTime,x=this._mediaElement.buffered,m=!1,b=0;b<x.length;b++){var S=x.start(b),P=x.end(b);if(g>=S&&g<P){g>=P-this._config.lazyLoadRecoverDuration&&(m=!0);break}}m&&(window.clearInterval(this._progressChecker),this._progressChecker=null,m&&(o.default.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))},v.prototype._isTimepointBuffered=function(g){for(var x=this._mediaElement.buffered,m=0;m<x.length;m++){var b=x.start(m),S=x.end(m);if(g>=b&&g<S)return!0}return!1},v.prototype._internalSeek=function(g){var x=this._isTimepointBuffered(g),m=!1,b=0;if(g<1&&this._mediaElement.buffered.length>0){var S=this._mediaElement.buffered.start(0);(S<1&&g<S||r.default.safari)&&(m=!0,b=r.default.safari?.1:S)}if(m)this._requestSetTime=!0,this._mediaElement.currentTime=b;else if(x){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=g;else{var P=this._msectl.getNearestKeyframe(Math.floor(g*1e3));this._requestSetTime=!0,P!=null?this._mediaElement.currentTime=P.dts/1e3:this._mediaElement.currentTime=g}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(g),this._transmuxer.seek(Math.floor(g*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=g)},v.prototype._checkAndApplyUnbufferedSeekpoint=function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var g=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(g)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(g),this._transmuxer.seek(Math.floor(g*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=g))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)},v.prototype._checkAndResumeStuckPlayback=function(g){var x=this._mediaElement;if(g||!this._receivedCanPlay||x.readyState<2){var m=x.buffered;m.length>0&&x.currentTime<m.start(0)&&(o.default.w(this.TAG,"Playback seems stuck at "+x.currentTime+", seek to "+m.start(0)),this._requestSetTime=!0,this._mediaElement.currentTime=m.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)},v.prototype._onvLoadedMetadata=function(g){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)},v.prototype._onvSeeking=function(g){var x=this._mediaElement.currentTime,m=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(x<1&&m.length>0){var b=m.start(0);if(b<1&&x<b||r.default.safari){this._requestSetTime=!0,this._mediaElement.currentTime=r.default.safari?.1:b;return}}if(this._isTimepointBuffered(x)){if(this._alwaysSeekKeyframe){var S=this._msectl.getNearestKeyframe(Math.floor(x*1e3));S!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=S.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:x,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)},v.prototype._onvCanPlay=function(g){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)},v.prototype._onvStalled=function(g){this._checkAndResumeStuckPlayback(!0)},v.prototype._onvProgress=function(g){this._checkAndResumeStuckPlayback()},v}();f.default=A},"./src/player/native-player.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./src/player/player-events.js"),r=t("./src/config.js"),u=t("./src/utils/exception.js"),n=function(){function l(a,c){if(this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new(s()),this._config=(0,r.createDefaultConfig)(),typeof c=="object"&&Object.assign(this._config,c),a.type.toLowerCase()==="flv")throw new u.InvalidArgumentException("NativePlayer does't support flv MediaDataSource input!");if(a.hasOwnProperty("segments"))throw new u.InvalidArgumentException("NativePlayer("+a.type+") doesn't support multipart playback!");this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=a,this._mediaElement=null}return l.prototype.destroy=function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null},l.prototype.on=function(a,c){var d=this;a===o.default.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){d._emitter.emit(o.default.MEDIA_INFO,d.mediaInfo)}):a===o.default.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){d._emitter.emit(o.default.STATISTICS_INFO,d.statisticsInfo)}),this._emitter.addListener(a,c)},l.prototype.off=function(a,c){this._emitter.removeListener(a,c)},l.prototype.attachMediaElement=function(a){if(this._mediaElement=a,a.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{a.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(c){}},l.prototype.detachMediaElement=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)},l.prototype.load=function(){if(!this._mediaElement)throw new u.IllegalStateException("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)},l.prototype.unload=function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)},l.prototype.play=function(){return this._mediaElement.play()},l.prototype.pause=function(){this._mediaElement.pause()},Object.defineProperty(l.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffered",{get:function(){return this._mediaElement.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"duration",{get:function(){return this._mediaElement.duration},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"volume",{get:function(){return this._mediaElement.volume},set:function(c){this._mediaElement.volume=c},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"muted",{get:function(){return this._mediaElement.muted},set:function(c){this._mediaElement.muted=c},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"currentTime",{get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(c){this._mediaElement?this._mediaElement.currentTime=c:this._pendingSeekTime=c},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"mediaInfo",{get:function(){var c=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",d={mimeType:c+this._mediaDataSource.type};return this._mediaElement&&(d.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(d.width=this._mediaElement.videoWidth,d.height=this._mediaElement.videoHeight)),d},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"statisticsInfo",{get:function(){var c={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return c;var d=!0,h=0,y=0;if(this._mediaElement.getVideoPlaybackQuality){var A=this._mediaElement.getVideoPlaybackQuality();h=A.totalVideoFrames,y=A.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(h=this._mediaElement.webkitDecodedFrameCount,y=this._mediaElement.webkitDroppedFrameCount):d=!1;return d&&(c.decodedFrames=h,c.droppedFrames=y),c},enumerable:!1,configurable:!0}),l.prototype._onvLoadedMetadata=function(a){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(o.default.MEDIA_INFO,this.mediaInfo)},l.prototype._reportStatisticsInfo=function(){this._emitter.emit(o.default.STATISTICS_INFO,this.statisticsInfo)},l}();f.default=n},"./src/player/player-errors.js":function(C,f,t){"use strict";t.r(f),t.d(f,{ErrorTypes:function(){return o},ErrorDetails:function(){return r}});var i=t("./src/io/loader.js"),s=t("./src/demux/demux-errors.js"),o={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},r={NETWORK_EXCEPTION:i.LoaderErrors.EXCEPTION,NETWORK_STATUS_CODE_INVALID:i.LoaderErrors.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:i.LoaderErrors.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:i.LoaderErrors.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:s.default.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:s.default.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:s.default.CODEC_UNSUPPORTED}},"./src/player/player-events.js":function(C,f,t){"use strict";t.r(f);var i={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"};f.default=i},"./src/remux/aac-silent.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(){}return s.getSilentFrame=function(o,r){if(o==="mp4a.40.2"){if(r===1)return new Uint8Array([0,200,0,128,35,128]);if(r===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(r===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(r===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(r===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(r===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(r===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(r===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(r===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},s}();f.default=i},"./src/remux/mp4-generator.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(){}return s.init=function(){s.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 o in s.types)s.types.hasOwnProperty(o)&&(s.types[o]=[o.charCodeAt(0),o.charCodeAt(1),o.charCodeAt(2),o.charCodeAt(3)]);var r=s.constants={};r.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),r.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),r.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),r.STSC=r.STCO=r.STTS,r.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),r.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]),r.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]),r.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),r.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),r.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])},s.box=function(o){for(var r=8,u=null,n=Array.prototype.slice.call(arguments,1),l=n.length,a=0;a<l;a++)r+=n[a].byteLength;u=new Uint8Array(r),u[0]=r>>>24&255,u[1]=r>>>16&255,u[2]=r>>>8&255,u[3]=r&255,u.set(o,4);for(var c=8,a=0;a<l;a++)u.set(n[a],c),c+=n[a].byteLength;return u},s.generateInitSegment=function(o){var r=s.box(s.types.ftyp,s.constants.FTYP),u=s.moov(o),n=new Uint8Array(r.byteLength+u.byteLength);return n.set(r,0),n.set(u,r.byteLength),n},s.moov=function(o){var r=s.mvhd(o.timescale,o.duration),u=s.trak(o),n=s.mvex(o);return s.box(s.types.moov,r,u,n)},s.mvhd=function(o,r){return s.box(s.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255,r>>>24&255,r>>>16&255,r>>>8&255,r&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]))},s.trak=function(o){return s.box(s.types.trak,s.tkhd(o),s.mdia(o))},s.tkhd=function(o){var r=o.id,u=o.duration,n=o.presentWidth,l=o.presentHeight;return s.box(s.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255,0,0,0,0,u>>>24&255,u>>>16&255,u>>>8&255,u&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,n>>>8&255,n&255,0,0,l>>>8&255,l&255,0,0]))},s.mdia=function(o){return s.box(s.types.mdia,s.mdhd(o),s.hdlr(o),s.minf(o))},s.mdhd=function(o){var r=o.timescale,u=o.duration;return s.box(s.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255,u>>>24&255,u>>>16&255,u>>>8&255,u&255,85,196,0,0]))},s.hdlr=function(o){var r=null;return o.type==="audio"?r=s.constants.HDLR_AUDIO:r=s.constants.HDLR_VIDEO,s.box(s.types.hdlr,r)},s.minf=function(o){var r=null;return o.type==="audio"?r=s.box(s.types.smhd,s.constants.SMHD):r=s.box(s.types.vmhd,s.constants.VMHD),s.box(s.types.minf,r,s.dinf(),s.stbl(o))},s.dinf=function(){var o=s.box(s.types.dinf,s.box(s.types.dref,s.constants.DREF));return o},s.stbl=function(o){var r=s.box(s.types.stbl,s.stsd(o),s.box(s.types.stts,s.constants.STTS),s.box(s.types.stsc,s.constants.STSC),s.box(s.types.stsz,s.constants.STSZ),s.box(s.types.stco,s.constants.STCO));return r},s.stsd=function(o){return o.type==="audio"?o.codec==="mp3"?s.box(s.types.stsd,s.constants.STSD_PREFIX,s.mp3(o)):s.box(s.types.stsd,s.constants.STSD_PREFIX,s.mp4a(o)):s.box(s.types.stsd,s.constants.STSD_PREFIX,s.avc1(o))},s.mp3=function(o){var r=o.channelCount,u=o.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,r,0,16,0,0,0,0,u>>>8&255,u&255,0,0]);return s.box(s.types[".mp3"],n)},s.mp4a=function(o){var r=o.channelCount,u=o.audioSampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,r,0,16,0,0,0,0,u>>>8&255,u&255,0,0]);return s.box(s.types.mp4a,n,s.esds(o))},s.esds=function(o){var r=o.config||[],u=r.length,n=new Uint8Array([0,0,0,0,3,23+u,0,1,0,4,15+u,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([u]).concat(r).concat([6,1,2]));return s.box(s.types.esds,n)},s.avc1=function(o){var r=o.avcc,u=o.codecWidth,n=o.codecHeight,l=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,u>>>8&255,u&255,n>>>8&255,n&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 s.box(s.types.avc1,l,s.box(s.types.avcC,r))},s.mvex=function(o){return s.box(s.types.mvex,s.trex(o))},s.trex=function(o){var r=o.id,u=new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return s.box(s.types.trex,u)},s.moof=function(o,r){return s.box(s.types.moof,s.mfhd(o.sequenceNumber),s.traf(o,r))},s.mfhd=function(o){var r=new Uint8Array([0,0,0,0,o>>>24&255,o>>>16&255,o>>>8&255,o&255]);return s.box(s.types.mfhd,r)},s.traf=function(o,r){var u=o.id,n=s.box(s.types.tfhd,new Uint8Array([0,0,0,0,u>>>24&255,u>>>16&255,u>>>8&255,u&255])),l=s.box(s.types.tfdt,new Uint8Array([0,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,r&255])),a=s.sdtp(o),c=s.trun(o,a.byteLength+16+16+8+16+8+8);return s.box(s.types.traf,n,l,c,a)},s.sdtp=function(o){for(var r=o.samples||[],u=r.length,n=new Uint8Array(4+u),l=0;l<u;l++){var a=r[l].flags;n[l+4]=a.isLeading<<6|a.dependsOn<<4|a.isDependedOn<<2|a.hasRedundancy}return s.box(s.types.sdtp,n)},s.trun=function(o,r){var u=o.samples||[],n=u.length,l=12+16*n,a=new Uint8Array(l);r+=8+l,a.set([0,0,15,1,n>>>24&255,n>>>16&255,n>>>8&255,n&255,r>>>24&255,r>>>16&255,r>>>8&255,r&255],0);for(var c=0;c<n;c++){var d=u[c].duration,h=u[c].size,y=u[c].flags,A=u[c].cts;a.set([d>>>24&255,d>>>16&255,d>>>8&255,d&255,h>>>24&255,h>>>16&255,h>>>8&255,h&255,y.isLeading<<2|y.dependsOn,y.isDependedOn<<6|y.hasRedundancy<<4|y.isNonSync,0,0,A>>>24&255,A>>>16&255,A>>>8&255,A&255],12+16*c)}return s.box(s.types.trun,a)},s.mdat=function(o){return s.box(s.types.mdat,o)},s}();i.init(),f.default=i},"./src/remux/mp4-remuxer.js":function(C,f,t){"use strict";t.r(f);var i=t("./src/utils/logger.js"),s=t("./src/remux/mp4-generator.js"),o=t("./src/remux/aac-silent.js"),r=t("./src/utils/browser.js"),u=t("./src/core/media-segment-info.js"),n=t("./src/utils/exception.js"),l=function(){function a(c){this.TAG="MP4Remuxer",this._config=c,this._isLive=c.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 u.MediaSegmentInfoList("audio"),this._videoSegmentInfoList=new u.MediaSegmentInfoList("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(r.default.chrome&&(r.default.version.major<50||r.default.version.major===50&&r.default.version.build<2661)),this._fillSilentAfterSeek=r.default.msedge||r.default.msie,this._mp3UseMpegAudio=!r.default.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return a.prototype.destroy=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},a.prototype.bindDataSource=function(c){return c.onDataAvailable=this.remux.bind(this),c.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this},Object.defineProperty(a.prototype,"onInitSegment",{get:function(){return this._onInitSegment},set:function(d){this._onInitSegment=d},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onMediaSegment",{get:function(){return this._onMediaSegment},set:function(d){this._onMediaSegment=d},enumerable:!1,configurable:!0}),a.prototype.insertDiscontinuity=function(){this._audioNextDts=this._videoNextDts=void 0},a.prototype.seek=function(c){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()},a.prototype.remux=function(c,d){if(!this._onMediaSegment)throw new n.IllegalStateException("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(c,d),this._remuxVideo(d),this._remuxAudio(c)},a.prototype._onTrackMetadataReceived=function(c,d){var h=null,y="mp4",A=d.codec;if(c==="audio")this._audioMeta=d,d.codec==="mp3"&&this._mp3UseMpegAudio?(y="mpeg",A="",h=new Uint8Array):h=s.default.generateInitSegment(d);else if(c==="video")this._videoMeta=d,h=s.default.generateInitSegment(d);else return;if(!this._onInitSegment)throw new n.IllegalStateException("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(c,{type:c,data:h.buffer,codec:A,container:c+"/"+y,mediaDuration:d.duration})},a.prototype._calculateDtsBase=function(c,d){this._dtsBaseInited||(c.samples&&c.samples.length&&(this._audioDtsBase=c.samples[0].dts),d.samples&&d.samples.length&&(this._videoDtsBase=d.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)},a.prototype.flushStashedSamples=function(){var c=this._videoStashedLastSample,d=this._audioStashedLastSample,h={type:"video",id:1,sequenceNumber:0,samples:[],length:0};c!=null&&(h.samples.push(c),h.length=c.length);var y={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};d!=null&&(y.samples.push(d),y.length=d.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(h,!0),this._remuxAudio(y,!0)},a.prototype._remuxAudio=function(c,d){if(this._audioMeta!=null){var h=c,y=h.samples,A=void 0,v=-1,g=-1,x=-1,m=this._audioMeta.refSampleDuration,b=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,S=this._dtsBaseInited&&this._audioNextDts===void 0,P=!1;if(!(!y||y.length===0)&&!(y.length===1&&!d)){var M=0,R=null,F=0;b?(M=0,F=h.length):(M=8,F=8+h.length);var L=null;if(y.length>1&&(L=y.pop(),F-=L.length),this._audioStashedLastSample!=null){var U=this._audioStashedLastSample;this._audioStashedLastSample=null,y.unshift(U),F+=U.length}L!=null&&(this._audioStashedLastSample=L);var N=y[0].dts-this._dtsBase;if(this._audioNextDts)A=N-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())A=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(P=!0);else{var Q=this._audioSegmentInfoList.getLastSampleBefore(N);if(Q!=null){var z=N-(Q.originalDts+Q.duration);z<=3&&(z=0);var _=Q.dts+Q.duration+z;A=N-_}else A=0}if(P){var J=N-A,Y=this._videoSegmentInfoList.getLastSegmentBefore(N);if(Y!=null&&Y.beginDts<J){var k=o.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(k){var W=Y.beginDts,ie=J-Y.beginDts;i.default.v(this.TAG,"InsertPrefixSilentAudio: dts: "+W+", duration: "+ie),y.unshift({unit:k,dts:W,pts:W}),F+=k.byteLength}}else P=!1}for(var fe=[],Ce=0;Ce<y.length;Ce++){var U=y[Ce],ge=U.unit,de=U.dts-this._dtsBase,W=de,Pe=!1,_e=null,Ne=0;if(!(de<-.001)){if(this._audioMeta.codec!=="mp3"){var He=de,ue=3;if(this._audioNextDts&&(He=this._audioNextDts),A=de-He,A<=-ue*m){i.default.w(this.TAG,"Dropping 1 audio frame (originalDts: "+de+" ms ,curRefDts: "+He+" ms) due to dtsCorrection: "+A+" ms overlap.");continue}else if(A>=ue*m&&this._fillAudioTimestampGap&&!r.default.safari){Pe=!0;var Re=Math.floor(A/m);i.default.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
|
|
|
`+("originalDts: "+de+" ms, curRefDts: "+He+" ms, ")+("dtsCorrection: "+Math.round(A)+" ms, generate: "+Re+" frames")),W=Math.floor(He),Ne=Math.floor(He+m)-W;var k=o.default.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);k==null&&(i.default.w(this.TAG,"Unable to generate silent frame for "+(this._audioMeta.originalCodec+" with "+this._audioMeta.channelCount+" channels, repeat last frame")),k=ge),_e=[];for(var nt=0;nt<Re;nt++){He=He+m;var Ve=Math.floor(He),Ge=Math.floor(He+m)-Ve,dt={dts:Ve,pts:Ve,cts:0,unit:k,size:k.byteLength,duration:Ge,originalDts:de,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};_e.push(dt),F+=dt.size}this._audioNextDts=He+m}else W=Math.floor(He),Ne=Math.floor(He+m)-W,this._audioNextDts=He+m}else{if(W=de-A,Ce!==y.length-1){var et=y[Ce+1].dts-this._dtsBase-A;Ne=et-W}else if(L!=null){var et=L.dts-this._dtsBase-A;Ne=et-W}else fe.length>=1?Ne=fe[fe.length-1].duration:Ne=Math.floor(m);this._audioNextDts=W+Ne}v===-1&&(v=W),fe.push({dts:W,pts:W,cts:0,unit:U.unit,size:U.unit.byteLength,duration:Ne,originalDts:de,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Pe&&fe.push.apply(fe,_e)}}if(fe.length===0){h.samples=[],h.length=0;return}b?R=new Uint8Array(F):(R=new Uint8Array(F),R[0]=F>>>24&255,R[1]=F>>>16&255,R[2]=F>>>8&255,R[3]=F&255,R.set(s.default.types.mdat,4));for(var Ce=0;Ce<fe.length;Ce++){var ge=fe[Ce].unit;R.set(ge,M),M+=ge.byteLength}var At=fe[fe.length-1];g=At.dts+At.duration;var Dt=new u.MediaSegmentInfo;Dt.beginDts=v,Dt.endDts=g,Dt.beginPts=v,Dt.endPts=g,Dt.originalBeginDts=fe[0].originalDts,Dt.originalEndDts=At.originalDts+At.duration,Dt.firstSample=new u.SampleInfo(fe[0].dts,fe[0].pts,fe[0].duration,fe[0].originalDts,!1),Dt.lastSample=new u.SampleInfo(At.dts,At.pts,At.duration,At.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Dt),h.samples=fe,h.sequenceNumber++;var Ft=null;b?Ft=new Uint8Array:Ft=s.default.moof(h,v),h.samples=[],h.length=0;var St={type:"audio",data:this._mergeBoxes(Ft,R).buffer,sampleCount:fe.length,info:Dt};b&&S&&(St.timestampOffset=v),this._onMediaSegment("audio",St)}}},a.prototype._remuxVideo=function(c,d){if(this._videoMeta!=null){var h=c,y=h.samples,A=void 0,v=-1,g=-1,x=-1,m=-1;if(!(!y||y.length===0)&&!(y.length===1&&!d)){var b=8,S=null,P=8+c.length,M=null;if(y.length>1&&(M=y.pop(),P-=M.length),this._videoStashedLastSample!=null){var R=this._videoStashedLastSample;this._videoStashedLastSample=null,y.unshift(R),P+=R.length}M!=null&&(this._videoStashedLastSample=M);var F=y[0].dts-this._dtsBase;if(this._videoNextDts)A=F-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())A=0;else{var L=this._videoSegmentInfoList.getLastSampleBefore(F);if(L!=null){var U=F-(L.originalDts+L.duration);U<=3&&(U=0);var N=L.dts+L.duration+U;A=F-N}else A=0}for(var Q=new u.MediaSegmentInfo,z=[],_=0;_<y.length;_++){var R=y[_],J=R.dts-this._dtsBase,Y=R.isKeyframe,k=J-A,W=R.cts,ie=k+W;v===-1&&(v=k,x=ie);var fe=0;if(_!==y.length-1){var Ce=y[_+1].dts-this._dtsBase-A;fe=Ce-k}else if(M!=null){var Ce=M.dts-this._dtsBase-A;fe=Ce-k}else z.length>=1?fe=z[z.length-1].duration:fe=Math.floor(this._videoMeta.refSampleDuration);if(Y){var ge=new u.SampleInfo(k,ie,fe,R.dts,!0);ge.fileposition=R.fileposition,Q.appendSyncPoint(ge)}z.push({dts:k,pts:ie,cts:W,units:R.units,size:R.length,isKeyframe:Y,duration:fe,originalDts:J,flags:{isLeading:0,dependsOn:Y?2:1,isDependedOn:Y?1:0,hasRedundancy:0,isNonSync:Y?0:1}})}S=new Uint8Array(P),S[0]=P>>>24&255,S[1]=P>>>16&255,S[2]=P>>>8&255,S[3]=P&255,S.set(s.default.types.mdat,4);for(var _=0;_<z.length;_++)for(var de=z[_].units;de.length;){var Pe=de.shift(),_e=Pe.data;S.set(_e,b),b+=_e.byteLength}var Ne=z[z.length-1];if(g=Ne.dts+Ne.duration,m=Ne.pts+Ne.duration,this._videoNextDts=g,Q.beginDts=v,Q.endDts=g,Q.beginPts=x,Q.endPts=m,Q.originalBeginDts=z[0].originalDts,Q.originalEndDts=Ne.originalDts+Ne.duration,Q.firstSample=new u.SampleInfo(z[0].dts,z[0].pts,z[0].duration,z[0].originalDts,z[0].isKeyframe),Q.lastSample=new u.SampleInfo(Ne.dts,Ne.pts,Ne.duration,Ne.originalDts,Ne.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Q),h.samples=z,h.sequenceNumber++,this._forceFirstIDR){var He=z[0].flags;He.dependsOn=2,He.isNonSync=0}var ue=s.default.moof(h,v);h.samples=[],h.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(ue,S).buffer,sampleCount:z.length,info:Q})}}},a.prototype._mergeBoxes=function(c,d){var h=new Uint8Array(c.byteLength+d.byteLength);return h.set(c,0),h.set(d,c.byteLength),h},a}();f.default=l},"./src/utils/browser.js":function(C,f,t){"use strict";t.r(f);var i={};function s(){var o=self.navigator.userAgent.toLowerCase(),r=/(edge)\/([\w.]+)/.exec(o)||/(opr)[\/]([\w.]+)/.exec(o)||/(chrome)[ \/]([\w.]+)/.exec(o)||/(iemobile)[\/]([\w.]+)/.exec(o)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(o)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(o)||/(webkit)[ \/]([\w.]+)/.exec(o)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(o)||/(msie) ([\w.]+)/.exec(o)||o.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(o)||o.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(o)||[],u=/(ipad)/.exec(o)||/(ipod)/.exec(o)||/(windows phone)/.exec(o)||/(iphone)/.exec(o)||/(kindle)/.exec(o)||/(android)/.exec(o)||/(windows)/.exec(o)||/(mac)/.exec(o)||/(linux)/.exec(o)||/(cros)/.exec(o)||[],n={browser:r[5]||r[3]||r[1]||"",version:r[2]||r[4]||"0",majorVersion:r[4]||r[2]||"0",platform:u[0]||""},l={};if(n.browser){l[n.browser]=!0;var a=n.majorVersion.split(".");l.version={major:parseInt(n.majorVersion,10),string:n.version},a.length>1&&(l.version.minor=parseInt(a[1],10)),a.length>2&&(l.version.build=parseInt(a[2],10))}if(n.platform&&(l[n.platform]=!0),(l.chrome||l.opr||l.safari)&&(l.webkit=!0),l.rv||l.iemobile){l.rv&&delete l.rv;var c="msie";n.browser=c,l[c]=!0}if(l.edge){delete l.edge;var d="msedge";n.browser=d,l[d]=!0}if(l.opr){var h="opera";n.browser=h,l[h]=!0}if(l.safari&&l.android){var y="android";n.browser=y,l[y]=!0}l.name=n.browser,l.platform=n.platform;for(var A in i)i.hasOwnProperty(A)&&delete i[A];Object.assign(i,l)}s(),f.default=i},"./src/utils/exception.js":function(C,f,t){"use strict";t.r(f),t.d(f,{RuntimeException:function(){return s},IllegalStateException:function(){return o},InvalidArgumentException:function(){return r},NotImplementedException:function(){return u}});var i=function(){var n=function(a,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(d[y]=h[y])},n(a,c)};return function(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(l,a);function c(){this.constructor=l}l.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}}(),s=function(){function n(l){this._message=l}return Object.defineProperty(n.prototype,"name",{get:function(){return"RuntimeException"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},enumerable:!1,configurable:!0}),n.prototype.toString=function(){return this.name+": "+this.message},n}(),o=function(n){i(l,n);function l(a){return n.call(this,a)||this}return Object.defineProperty(l.prototype,"name",{get:function(){return"IllegalStateException"},enumerable:!1,configurable:!0}),l}(s),r=function(n){i(l,n);function l(a){return n.call(this,a)||this}return Object.defineProperty(l.prototype,"name",{get:function(){return"InvalidArgumentException"},enumerable:!1,configurable:!0}),l}(s),u=function(n){i(l,n);function l(a){return n.call(this,a)||this}return Object.defineProperty(l.prototype,"name",{get:function(){return"NotImplementedException"},enumerable:!1,configurable:!0}),l}(s)},"./src/utils/logger.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=function(){function r(){}return r.e=function(u,n){(!u||r.FORCE_GLOBAL_TAG)&&(u=r.GLOBAL_TAG);var l="["+u+"] > "+n;r.ENABLE_CALLBACK&&r.emitter.emit("log","error",l),!!r.ENABLE_ERROR&&(console.error?console.error(l):console.warn?console.warn(l):console.log(l))},r.i=function(u,n){(!u||r.FORCE_GLOBAL_TAG)&&(u=r.GLOBAL_TAG);var l="["+u+"] > "+n;r.ENABLE_CALLBACK&&r.emitter.emit("log","info",l),!!r.ENABLE_INFO&&(console.info?console.info(l):console.log(l))},r.w=function(u,n){(!u||r.FORCE_GLOBAL_TAG)&&(u=r.GLOBAL_TAG);var l="["+u+"] > "+n;r.ENABLE_CALLBACK&&r.emitter.emit("log","warn",l),!!r.ENABLE_WARN&&(console.warn?console.warn(l):console.log(l))},r.d=function(u,n){(!u||r.FORCE_GLOBAL_TAG)&&(u=r.GLOBAL_TAG);var l="["+u+"] > "+n;r.ENABLE_CALLBACK&&r.emitter.emit("log","debug",l),!!r.ENABLE_DEBUG&&(console.debug?console.debug(l):console.log(l))},r.v=function(u,n){(!u||r.FORCE_GLOBAL_TAG)&&(u=r.GLOBAL_TAG);var l="["+u+"] > "+n;r.ENABLE_CALLBACK&&r.emitter.emit("log","verbose",l),!!r.ENABLE_VERBOSE&&console.log(l)},r}();o.GLOBAL_TAG="flv.js",o.FORCE_GLOBAL_TAG=!1,o.ENABLE_ERROR=!0,o.ENABLE_INFO=!0,o.ENABLE_WARN=!0,o.ENABLE_DEBUG=!0,o.ENABLE_VERBOSE=!0,o.ENABLE_CALLBACK=!1,o.emitter=new(s()),f.default=o},"./src/utils/logging-control.js":function(C,f,t){"use strict";t.r(f);var i=t("./node_modules/events/events.js"),s=t.n(i),o=t("./src/utils/logger.js"),r=function(){function u(){}return Object.defineProperty(u,"forceGlobalTag",{get:function(){return o.default.FORCE_GLOBAL_TAG},set:function(l){o.default.FORCE_GLOBAL_TAG=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"globalTag",{get:function(){return o.default.GLOBAL_TAG},set:function(l){o.default.GLOBAL_TAG=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableAll",{get:function(){return o.default.ENABLE_VERBOSE&&o.default.ENABLE_DEBUG&&o.default.ENABLE_INFO&&o.default.ENABLE_WARN&&o.default.ENABLE_ERROR},set:function(l){o.default.ENABLE_VERBOSE=l,o.default.ENABLE_DEBUG=l,o.default.ENABLE_INFO=l,o.default.ENABLE_WARN=l,o.default.ENABLE_ERROR=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableDebug",{get:function(){return o.default.ENABLE_DEBUG},set:function(l){o.default.ENABLE_DEBUG=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableVerbose",{get:function(){return o.default.ENABLE_VERBOSE},set:function(l){o.default.ENABLE_VERBOSE=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableInfo",{get:function(){return o.default.ENABLE_INFO},set:function(l){o.default.ENABLE_INFO=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableWarn",{get:function(){return o.default.ENABLE_WARN},set:function(l){o.default.ENABLE_WARN=l,u._notifyChange()},enumerable:!1,configurable:!0}),Object.defineProperty(u,"enableError",{get:function(){return o.default.ENABLE_ERROR},set:function(l){o.default.ENABLE_ERROR=l,u._notifyChange()},enumerable:!1,configurable:!0}),u.getConfig=function(){return{globalTag:o.default.GLOBAL_TAG,forceGlobalTag:o.default.FORCE_GLOBAL_TAG,enableVerbose:o.default.ENABLE_VERBOSE,enableDebug:o.default.ENABLE_DEBUG,enableInfo:o.default.ENABLE_INFO,enableWarn:o.default.ENABLE_WARN,enableError:o.default.ENABLE_ERROR,enableCallback:o.default.ENABLE_CALLBACK}},u.applyConfig=function(n){o.default.GLOBAL_TAG=n.globalTag,o.default.FORCE_GLOBAL_TAG=n.forceGlobalTag,o.default.ENABLE_VERBOSE=n.enableVerbose,o.default.ENABLE_DEBUG=n.enableDebug,o.default.ENABLE_INFO=n.enableInfo,o.default.ENABLE_WARN=n.enableWarn,o.default.ENABLE_ERROR=n.enableError,o.default.ENABLE_CALLBACK=n.enableCallback},u._notifyChange=function(){var n=u.emitter;if(n.listenerCount("change")>0){var l=u.getConfig();n.emit("change",l)}},u.registerListener=function(n){u.emitter.addListener("change",n)},u.removeListener=function(n){u.emitter.removeListener("change",n)},u.addLogListener=function(n){o.default.emitter.addListener("log",n),o.default.emitter.listenerCount("log")>0&&(o.default.ENABLE_CALLBACK=!0,u._notifyChange())},u.removeLogListener=function(n){o.default.emitter.removeListener("log",n),o.default.emitter.listenerCount("log")===0&&(o.default.ENABLE_CALLBACK=!1,u._notifyChange())},u}();r.emitter=new(s()),f.default=r},"./src/utils/polyfill.js":function(C,f,t){"use strict";t.r(f);var i=function(){function s(){}return s.install=function(){Object.setPrototypeOf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Object.assign=Object.assign||function(o){if(o==null)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(o),u=1;u<arguments.length;u++){var n=arguments[u];if(n!=null)for(var l in n)n.hasOwnProperty(l)&&(r[l]=n[l])}return r},typeof self.Promise!="function"&&t("./node_modules/es6-promise/dist/es6-promise.js").polyfill()},s}();i.install(),f.default=i},"./src/utils/utf8-conv.js":function(C,f,t){"use strict";t.r(f);function i(o,r,u){var n=o;if(r+u<n.length){for(;u--;)if((n[++r]&192)!=128)return!1;return!0}else return!1}function s(o){for(var r=[],u=o,n=0,l=o.length;n<l;){if(u[n]<128){r.push(String.fromCharCode(u[n])),++n;continue}else if(!(u[n]<192)){if(u[n]<224){if(i(u,n,1)){var a=(u[n]&31)<<6|u[n+1]&63;if(a>=128){r.push(String.fromCharCode(a&65535)),n+=2;continue}}}else if(u[n]<240){if(i(u,n,2)){var a=(u[n]&15)<<12|(u[n+1]&63)<<6|u[n+2]&63;if(a>=2048&&(a&63488)!=55296){r.push(String.fromCharCode(a&65535)),n+=3;continue}}}else if(u[n]<248&&i(u,n,3)){var a=(u[n]&7)<<18|(u[n+1]&63)<<12|(u[n+2]&63)<<6|u[n+3]&63;if(a>65536&&a<1114112){a-=65536,r.push(String.fromCharCode(a>>>10|55296)),r.push(String.fromCharCode(a&1023|56320)),n+=4;continue}}}r.push(String.fromCharCode(65533)),++n}return r.join("")}f.default=s}},w={};function D(E){var C=w[E];if(C!==void 0)return C.exports;var f=w[E]={exports:{}};return T[E].call(f.exports,f,f.exports,D),f.exports}D.m=T,function(){D.n=function(E){var C=E&&E.__esModule?function(){return E.default}:function(){return E};return D.d(C,{a:C}),C}}(),function(){D.d=function(E,C){for(var f in C)D.o(C,f)&&!D.o(E,f)&&Object.defineProperty(E,f,{enumerable:!0,get:C[f]})}}(),function(){D.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}()}(),function(){D.o=function(E,C){return Object.prototype.hasOwnProperty.call(E,C)}}(),function(){D.r=function(E){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})}}();var I=D("./src/index.js");return I}()})}).call(this,e("Q2Ig"))},"/IIm":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("H6uX"),I=e("IwbS"),E=e("pP6R"),C=e("gPAo"),f=w.curry,t=w.each,i=w.map,s=Math.min,o=Math.max,r=Math.pow,u=1e4,n=6,l=6,a="globalPan",c={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},d={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},h={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},y=0;function A($e){D.call(this),this._zr=$e,this.group=new I.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+y++,this._handlers={},t(dt,function(lt,Ut){this._handlers[Ut]=w.bind(lt,this)},this)}A.prototype={constructor:A,enableBrush:function($e){return this._brushType&&g(this),$e.brushType&&v(this,$e),this},setPanels:function($e){if($e&&$e.length){var lt=this._panels={};w.each($e,function(Ut){lt[Ut.panelId]=w.clone(Ut)})}else this._panels=null;return this},mount:function($e){$e=$e||{},this._enableGlobalPan=$e.enableGlobalPan;var lt=this.group;return this._zr.add(lt),lt.attr({position:$e.position||[0,0],rotation:$e.rotation||0,scale:$e.scale||[1,1]}),this._transform=lt.getLocalTransform(),this},eachCover:function($e,lt){t(this._covers,$e,lt)},updateCovers:function($e){$e=w.map($e,function(bt){return w.merge(w.clone(h),bt,!0)});var lt="\0-brush-index-",Ut=this._covers,gt=this._covers=[],ft=this,rt=this._creatingCover;return new C(Ut,$e,Ot,Ie).add(Xt).update(Xt).remove(Vt).execute(),this;function Ie(bt,It){return(bt.id!=null?bt.id:lt+It)+"-"+bt.brushType}function Ot(bt,It){return Ie(bt.__brushOption,It)}function Xt(bt,It){var Kt=$e[bt];if(It!=null&&Ut[It]===rt)gt[bt]=Ut[It];else{var Se=gt[bt]=It!=null?(Ut[It].__brushOption=Kt,Ut[It]):S(ft,b(ft,Kt));R(ft,Se)}}function Vt(bt){Ut[bt]!==rt&&ft.group.remove(Ut[bt])}},unmount:function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},w.mixin(A,D);function v($e,lt){var Ut=$e._zr;$e._enableGlobalPan||E.take(Ut,a,$e._uid),x(Ut,$e._handlers),$e._brushType=lt.brushType,$e._brushOption=w.merge(w.clone(h),lt,!0)}function g($e){var lt=$e._zr;E.release(lt,a,$e._uid),m(lt,$e._handlers),$e._brushType=$e._brushOption=null}function x($e,lt){t(lt,function(Ut,gt){$e.on(gt,Ut)})}function m($e,lt){t(lt,function(Ut,gt){$e.off(gt,Ut)})}function b($e,lt){var Ut=Dt[lt.brushType].createCover($e,lt);return Ut.__brushOption=lt,M(Ut,lt),$e.group.add(Ut),Ut}function S($e,lt){var Ut=F(lt);return Ut.endCreating&&(Ut.endCreating($e,lt),M(lt,lt.__brushOption)),lt}function P($e,lt){var Ut=lt.__brushOption;F(lt).updateCoverShape($e,lt,Ut.range,Ut)}function M($e,lt){var Ut=lt.z;Ut==null&&(Ut=u),$e.traverse(function(gt){gt.z=Ut,gt.z2=Ut})}function R($e,lt){F(lt).updateCommon($e,lt),P($e,lt)}function F($e){return Dt[$e.__brushOption.brushType]}function L($e,lt,Ut){var gt=$e._panels;if(!gt)return!0;var ft,rt=$e._transform;return t(gt,function(Ie){Ie.isTargetByCursor(lt,Ut,rt)&&(ft=Ie)}),ft}function U($e,lt){var Ut=$e._panels;if(!Ut)return!0;var gt=lt.__brushOption.panelId;return gt!=null?Ut[gt]:!0}function N($e){var lt=$e._covers,Ut=lt.length;return t(lt,function(gt){$e.group.remove(gt)},$e),lt.length=0,!!Ut}function Q($e,lt){var Ut=i($e._covers,function(gt){var ft=gt.__brushOption,rt=w.clone(ft.range);return{brushType:ft.brushType,panelId:ft.panelId,range:rt}});$e.trigger("brush",Ut,{isEnd:!!lt.isEnd,removeOnClick:!!lt.removeOnClick})}function z($e){var lt=$e._track;if(!lt.length)return!1;var Ut=lt[lt.length-1],gt=lt[0],ft=Ut[0]-gt[0],rt=Ut[1]-gt[1],Ie=r(ft*ft+rt*rt,.5);return Ie>n}function _($e){var lt=$e.length-1;return lt<0&&(lt=0),[$e[0],$e[lt]]}function J($e,lt,Ut,gt){var ft=new I.Group;return ft.add(new I.Rect({name:"main",style:ie(Ut),silent:!0,draggable:!0,cursor:"move",drift:f($e,lt,ft,"nswe"),ondragend:f(Q,lt,{isEnd:!0})})),t(gt,function(rt){ft.add(new I.Rect({name:rt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:f($e,lt,ft,rt),ondragend:f(Q,lt,{isEnd:!0})}))}),ft}function Y($e,lt,Ut,gt){var ft=gt.brushStyle.lineWidth||0,rt=o(ft,l),Ie=Ut[0][0],Ot=Ut[1][0],Xt=Ie-ft/2,Vt=Ot-ft/2,bt=Ut[0][1],It=Ut[1][1],Kt=bt-rt+ft/2,Se=It-rt+ft/2,Ye=bt-Ie,q=It-Ot,Ae=Ye+ft,Me=q+ft;W($e,lt,"main",Ie,Ot,Ye,q),gt.transformable&&(W($e,lt,"w",Xt,Vt,rt,Me),W($e,lt,"e",Kt,Vt,rt,Me),W($e,lt,"n",Xt,Vt,Ae,rt),W($e,lt,"s",Xt,Se,Ae,rt),W($e,lt,"nw",Xt,Vt,rt,rt),W($e,lt,"ne",Kt,Vt,rt,rt),W($e,lt,"sw",Xt,Se,rt,rt),W($e,lt,"se",Kt,Se,rt,rt))}function k($e,lt){var Ut=lt.__brushOption,gt=Ut.transformable,ft=lt.childAt(0);ft.useStyle(ie(Ut)),ft.attr({silent:!gt,cursor:gt?"move":"default"}),t(["w","e","n","s","se","sw","ne","nw"],function(rt){var Ie=lt.childOfName(rt),Ot=ge($e,rt);Ie&&Ie.attr({silent:!gt,invisible:!gt,cursor:gt?d[Ot]+"-resize":null})})}function W($e,lt,Ut,gt,ft,rt,Ie){var Ot=lt.childOfName(Ut);Ot&&Ot.setShape(He(Ne($e,lt,[[gt,ft],[gt+rt,ft+Ie]])))}function ie($e){return w.defaults({strokeNoScale:!0},$e.brushStyle)}function fe($e,lt,Ut,gt){var ft=[s($e,Ut),s(lt,gt)],rt=[o($e,Ut),o(lt,gt)];return[[ft[0],rt[0]],[ft[1],rt[1]]]}function Ce($e){return I.getTransform($e.group)}function ge($e,lt){if(lt.length>1){lt=lt.split("");var Ut=[ge($e,lt[0]),ge($e,lt[1])];return(Ut[0]==="e"||Ut[0]==="w")&&Ut.reverse(),Ut.join("")}else{var gt={w:"left",e:"right",n:"top",s:"bottom"},ft={left:"w",right:"e",top:"n",bottom:"s"},Ut=I.transformDirection(gt[lt],Ce($e));return ft[Ut]}}function de($e,lt,Ut,gt,ft,rt,Ie,Ot){var Xt=gt.__brushOption,Vt=$e(Xt.range),bt=_e(Ut,rt,Ie);t(ft.split(""),function(It){var Kt=c[It];Vt[Kt[0]][Kt[1]]+=bt[Kt[0]]}),Xt.range=lt(fe(Vt[0][0],Vt[1][0],Vt[0][1],Vt[1][1])),R(Ut,gt),Q(Ut,{isEnd:!1})}function Pe($e,lt,Ut,gt,ft){var rt=lt.__brushOption.range,Ie=_e($e,Ut,gt);t(rt,function(Ot){Ot[0]+=Ie[0],Ot[1]+=Ie[1]}),R($e,lt),Q($e,{isEnd:!1})}function _e($e,lt,Ut){var gt=$e.group,ft=gt.transformCoordToLocal(lt,Ut),rt=gt.transformCoordToLocal(0,0);return[ft[0]-rt[0],ft[1]-rt[1]]}function Ne($e,lt,Ut){var gt=U($e,lt);return gt&>!==!0?gt.clipPath(Ut,$e._transform):w.clone(Ut)}function He($e){var lt=s($e[0][0],$e[1][0]),Ut=s($e[0][1],$e[1][1]),gt=o($e[0][0],$e[1][0]),ft=o($e[0][1],$e[1][1]);return{x:lt,y:Ut,width:gt-lt,height:ft-Ut}}function ue($e,lt,Ut){if(!(!$e._brushType||At($e,lt))){var gt=$e._zr,ft=$e._covers,rt=L($e,lt,Ut);if(!$e._dragging)for(var Ie=0;Ie<ft.length;Ie++){var Ot=ft[Ie].__brushOption;if(rt&&(rt===!0||Ot.panelId===rt.panelId)&&Dt[Ot.brushType].contain(ft[Ie],Ut[0],Ut[1]))return}rt&>.setCursorStyle("crosshair")}}function Re($e){var lt=$e.event;lt.preventDefault&<.preventDefault()}function nt($e,lt,Ut){return $e.childOfName("main").contain(lt,Ut)}function Ve($e,lt,Ut,gt){var ft=$e._creatingCover,rt=$e._creatingPanel,Ie=$e._brushOption,Ot;if($e._track.push(Ut.slice()),z($e)||ft){if(rt&&!ft){Ie.brushMode==="single"&&N($e);var Xt=w.clone(Ie);Xt.brushType=Ge(Xt.brushType,rt),Xt.panelId=rt===!0?null:rt.panelId,ft=$e._creatingCover=b($e,Xt),$e._covers.push(ft)}if(ft){var Vt=Dt[Ge($e._brushType,rt)],bt=ft.__brushOption;bt.range=Vt.getCreatingRange(Ne($e,ft,$e._track)),gt&&(S($e,ft),Vt.updateCommon($e,ft)),P($e,ft),Ot={isEnd:gt}}}else gt&&Ie.brushMode==="single"&&Ie.removeOnClick&&L($e,lt,Ut)&&N($e)&&(Ot={isEnd:gt,removeOnClick:!0});return Ot}function Ge($e,lt){return $e==="auto"?lt.defaultBrushType:$e}var dt={mousedown:function($e){if(this._dragging)et(this,$e);else if(!$e.target||!$e.target.draggable){Re($e);var lt=this.group.transformCoordToLocal($e.offsetX,$e.offsetY);this._creatingCover=null;var Ut=this._creatingPanel=L(this,$e,lt);Ut&&(this._dragging=!0,this._track=[lt.slice()])}},mousemove:function($e){var lt=$e.offsetX,Ut=$e.offsetY,gt=this.group.transformCoordToLocal(lt,Ut);if(ue(this,$e,gt),this._dragging){Re($e);var ft=Ve(this,$e,gt,!1);ft&&Q(this,ft)}},mouseup:function($e){et(this,$e)}};function et($e,lt){if($e._dragging){Re(lt);var Ut=lt.offsetX,gt=lt.offsetY,ft=$e.group.transformCoordToLocal(Ut,gt),rt=Ve($e,lt,ft,!0);$e._dragging=!1,$e._track=[],$e._creatingCover=null,rt&&Q($e,rt)}}function At($e,lt,Ut){var gt=$e._zr;return lt<0||lt>gt.getWidth()||Ut<0||Ut>gt.getHeight()}var Dt={lineX:Ft(0),lineY:Ft(1),rect:{createCover:function($e,lt){return J(f(de,function(Ut){return Ut},function(Ut){return Ut}),$e,lt,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function($e){var lt=_($e);return fe(lt[1][0],lt[1][1],lt[0][0],lt[0][1])},updateCoverShape:function($e,lt,Ut,gt){Y($e,lt,Ut,gt)},updateCommon:k,contain:nt},polygon:{createCover:function($e,lt){var Ut=new I.Group;return Ut.add(new I.Polyline({name:"main",style:ie(lt),silent:!0})),Ut},getCreatingRange:function($e){return $e},endCreating:function($e,lt){lt.remove(lt.childAt(0)),lt.add(new I.Polygon({name:"main",draggable:!0,drift:f(Pe,$e,lt),ondragend:f(Q,$e,{isEnd:!0})}))},updateCoverShape:function($e,lt,Ut,gt){lt.childAt(0).setShape({points:Ne($e,lt,Ut)})},updateCommon:k,contain:nt}};function Ft($e){return{createCover:function(lt,Ut){return J(f(de,function(gt){var ft=[gt,[0,100]];return $e&&ft.reverse(),ft},function(gt){return gt[$e]}),lt,Ut,[["w","e"],["n","s"]][$e])},getCreatingRange:function(lt){var Ut=_(lt),gt=s(Ut[0][$e],Ut[1][$e]),ft=o(Ut[0][$e],Ut[1][$e]);return[gt,ft]},updateCoverShape:function(lt,Ut,gt,ft){var rt,Ie=U(lt,Ut);if(Ie!==!0&&Ie.getLinearBrushOtherExtent)rt=Ie.getLinearBrushOtherExtent($e,lt._transform);else{var Ot=lt._zr;rt=[0,[Ot.getWidth(),Ot.getHeight()][1-$e]]}var Xt=[gt,rt];$e&&Xt.reverse(),Y(lt,Ut,Xt,ft)},updateCommon:k,contain:nt}}var St=A;oe.exports=St},"/MfK":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="DeleteOutlined";var C=V.a=T.forwardRef(E)},"/SeX":function(oe,V,e){var B=e("knOB"),T=e("qZFw"),w=function(I){this.name=I||"",this.cx=0,this.cy=0,this._radiusAxis=new B,this._angleAxis=new T,this._radiusAxis.polar=this._angleAxis.polar=this};w.prototype={type:"polar",axisPointerEnabled:!0,constructor:w,dimensions:["radius","angle"],model:null,containPoint:function(I){var E=this.pointToCoord(I);return this._radiusAxis.contain(E[0])&&this._angleAxis.contain(E[1])},containData:function(I){return this._radiusAxis.containData(I[0])&&this._angleAxis.containData(I[1])},getAxis:function(I){return this["_"+I+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(I){var E=[],C=this._angleAxis,f=this._radiusAxis;return C.scale.type===I&&E.push(C),f.scale.type===I&&E.push(f),E},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(I){var E=this._angleAxis;return I===E?this._radiusAxis:E},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(I){var E=I!=null&&I!=="auto"?this.getAxis(I):this.getBaseAxis();return{baseAxes:[E],otherAxes:[this.getOtherAxis(E)]}},dataToPoint:function(I,E){return this.coordToPoint([this._radiusAxis.dataToRadius(I[0],E),this._angleAxis.dataToAngle(I[1],E)])},pointToData:function(I,E){var C=this.pointToCoord(I);return[this._radiusAxis.radiusToData(C[0],E),this._angleAxis.angleToData(C[1],E)]},pointToCoord:function(I){var E=I[0]-this.cx,C=I[1]-this.cy,f=this.getAngleAxis(),t=f.getExtent(),i=Math.min(t[0],t[1]),s=Math.max(t[0],t[1]);f.inverse?i=s-360:s=i+360;var o=Math.sqrt(E*E+C*C);E/=o,C/=o;for(var r=Math.atan2(-C,E)/Math.PI*180,u=r<i?1:-1;r<i||r>s;)r+=u*360;return[o,r]},coordToPoint:function(I){var E=I[0],C=I[1]/180*Math.PI,f=Math.cos(C)*E+this.cx,t=-Math.sin(C)*E+this.cy;return[f,t]},getArea:function(){var I=this.getAngleAxis(),E=this.getRadiusAxis(),C=E.getExtent().slice();C[0]>C[1]&&C.reverse();var f=I.getExtent(),t=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:C[0],r:C[1],startAngle:-f[0]*t,endAngle:-f[1]*t,clockwise:I.inverse,contain:function(i,s){var o=i-this.cx,r=s-this.cy,u=o*o+r*r,n=this.r,l=this.r0;return u<=n*n&&u>=l*l}}}};var D=w;oe.exports=D},"/WM3":function(oe,V,e){var B=e("QuXc"),T=e("bYtY"),w=T.isFunction,D={createOnAllSeries:!0,performRawSeries:!0,reset:function(I,E){var C=I.getData(),f=(I.visualColorAccessPath||"itemStyle.color").split("."),t=I.get(f),i=w(t)&&!(t instanceof B)?t:null;(!t||i)&&(t=I.getColorFromPalette(I.name,null,E.getSeriesCount())),C.setVisual("color",t);var s=(I.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),o=I.get(s);if(C.setVisual("borderColor",o),!E.isSeriesFiltered(I)){i&&C.each(function(u){C.setItemVisual(u,"color",i(I.getDataParams(u)))});var r=function(u,n){var l=u.getItemModel(n),a=l.get(f,!0),c=l.get(s,!0);a!=null&&u.setItemVisual(n,"color",a),c!=null&&u.setItemVisual(n,"borderColor",c)};return{dataEach:C.hasItemOption?r:null}}}};oe.exports=D},"/d5a":function(oe,V){var e={average:function(w){for(var D=0,I=0,E=0;E<w.length;E++)isNaN(w[E])||(D+=w[E],I++);return I===0?NaN:D/I},sum:function(w){for(var D=0,I=0;I<w.length;I++)D+=w[I]||0;return D},max:function(w){for(var D=-Infinity,I=0;I<w.length;I++)w[I]>D&&(D=w[I]);return isFinite(D)?D:NaN},min:function(w){for(var D=Infinity,I=0;I<w.length;I++)w[I]<D&&(D=w[I]);return isFinite(D)?D:NaN},nearest:function(w){return w[0]}},B=function(w,D){return Math.round(w.length/2)};function T(w){return{seriesType:w,modifyOutputEnd:!0,reset:function(D,I,E){var C=D.getData(),f=D.get("sampling"),t=D.coordinateSystem;if(t.type==="cartesian2d"&&f){var i=t.getBaseAxis(),s=t.getOtherAxis(i),o=i.getExtent(),r=Math.abs(o[1]-o[0]),u=Math.round(C.count()/r);if(u>1){var n;typeof f=="string"?n=e[f]:typeof f=="function"&&(n=f),n&&D.setData(C.downSample(C.mapDimension(s.dim),1/u,n,B))}}}}}oe.exports=T},"/ezw":function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("U8pU"),D=e("TSYQ"),I=e.n(D),E=e("q1tI"),C=e("H84U"),f=e("bT9E"),t=function(k){var W,ie,fe=k.prefixCls,Ce=k.className,ge=k.style,de=k.size,Pe=k.shape,_e=I()((W={},Object(B.a)(W,"".concat(fe,"-lg"),de==="large"),Object(B.a)(W,"".concat(fe,"-sm"),de==="small"),W)),Ne=I()((ie={},Object(B.a)(ie,"".concat(fe,"-circle"),Pe==="circle"),Object(B.a)(ie,"".concat(fe,"-square"),Pe==="square"),Object(B.a)(ie,"".concat(fe,"-round"),Pe==="round"),ie)),He=E.useMemo(function(){return typeof de=="number"?{width:de,height:de,lineHeight:"".concat(de,"px")}:{}},[de]);return E.createElement("span",{className:I()(fe,_e,Ne,Ce),style:Object(T.a)(Object(T.a)({},He),ge)})},i=t,s=function(k){var W=k.prefixCls,ie=k.className,fe=k.active,Ce=k.shape,ge=Ce===void 0?"circle":Ce,de=k.size,Pe=de===void 0?"default":de,_e=E.useContext(C.b),Ne=_e.getPrefixCls,He=Ne("skeleton",W),ue=Object(f.a)(k,["prefixCls","className"]),Re=I()(He,"".concat(He,"-element"),Object(B.a)({},"".concat(He,"-active"),fe),ie);return E.createElement("div",{className:Re},E.createElement(i,Object(T.a)({prefixCls:"".concat(He,"-avatar"),shape:ge,size:Pe},ue)))},o=s,r=function(k){var W,ie=k.prefixCls,fe=k.className,Ce=k.active,ge=k.block,de=ge===void 0?!1:ge,Pe=k.size,_e=Pe===void 0?"default":Pe,Ne=E.useContext(C.b),He=Ne.getPrefixCls,ue=He("skeleton",ie),Re=Object(f.a)(k,["prefixCls"]),nt=I()(ue,"".concat(ue,"-element"),(W={},Object(B.a)(W,"".concat(ue,"-active"),Ce),Object(B.a)(W,"".concat(ue,"-block"),de),W),fe);return E.createElement("div",{className:nt},E.createElement(i,Object(T.a)({prefixCls:"".concat(ue,"-button"),size:_e},Re)))},u=r,n=e("VTBJ"),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},a=l,c=e("6VBw"),d=function(k,W){return E.createElement(c.a,Object(n.a)(Object(n.a)({},k),{},{ref:W,icon:a}))};d.displayName="DotChartOutlined";var h=E.forwardRef(d),y=function(k){var W=k.prefixCls,ie=k.className,fe=k.style,Ce=k.active,ge=k.children,de=E.useContext(C.b),Pe=de.getPrefixCls,_e=Pe("skeleton",W),Ne=I()(_e,"".concat(_e,"-element"),Object(B.a)({},"".concat(_e,"-active"),Ce),ie),He=ge!=null?ge:E.createElement(h,null);return E.createElement("div",{className:Ne},E.createElement("div",{className:I()("".concat(_e,"-image"),ie),style:fe},He))},A=y,v="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",g=function(k){var W=k.prefixCls,ie=k.className,fe=k.style,Ce=k.active,ge=E.useContext(C.b),de=ge.getPrefixCls,Pe=de("skeleton",W),_e=I()(Pe,"".concat(Pe,"-element"),Object(B.a)({},"".concat(Pe,"-active"),Ce),ie);return E.createElement("div",{className:_e},E.createElement("div",{className:I()("".concat(Pe,"-image"),ie),style:fe},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(Pe,"-image-svg")},E.createElement("path",{d:v,className:"".concat(Pe,"-image-path")}))))},x=g,m=function(k){var W,ie=k.prefixCls,fe=k.className,Ce=k.active,ge=k.block,de=k.size,Pe=de===void 0?"default":de,_e=E.useContext(C.b),Ne=_e.getPrefixCls,He=Ne("skeleton",ie),ue=Object(f.a)(k,["prefixCls"]),Re=I()(He,"".concat(He,"-element"),(W={},Object(B.a)(W,"".concat(He,"-active"),Ce),Object(B.a)(W,"".concat(He,"-block"),ge),W),fe);return E.createElement("div",{className:Re},E.createElement(i,Object(T.a)({prefixCls:"".concat(He,"-input"),size:Pe},ue)))},b=m,S=e("KQm4"),P=function(k){var W=function(_e){var Ne=k.width,He=k.rows,ue=He===void 0?2:He;if(Array.isArray(Ne))return Ne[_e];if(ue-1===_e)return Ne},ie=k.prefixCls,fe=k.className,Ce=k.style,ge=k.rows,de=Object(S.a)(Array(ge)).map(function(Pe,_e){return E.createElement("li",{key:_e,style:{width:W(_e)}})});return E.createElement("ul",{className:I()(ie,fe),style:Ce},de)},M=P,R=function(k){var W=k.prefixCls,ie=k.className,fe=k.width,Ce=k.style;return E.createElement("h3",{className:I()(W,ie),style:Object(T.a)({width:fe},Ce)})},F=R;function L(Y){return Y&&Object(w.a)(Y)==="object"?Y:{}}function U(Y,k){return Y&&!k?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function N(Y,k){return!Y&&k?{width:"38%"}:Y&&k?{width:"50%"}:{}}function Q(Y,k){var W={};return(!Y||!k)&&(W.width="61%"),!Y&&k?W.rows=3:W.rows=2,W}var z=function(k){var W=k.prefixCls,ie=k.loading,fe=k.className,Ce=k.style,ge=k.children,de=k.avatar,Pe=de===void 0?!1:de,_e=k.title,Ne=_e===void 0?!0:_e,He=k.paragraph,ue=He===void 0?!0:He,Re=k.active,nt=k.round,Ve=E.useContext(C.b),Ge=Ve.getPrefixCls,dt=Ve.direction,et=Ge("skeleton",W);if(ie||!("loading"in k)){var At,Dt=!!Pe,Ft=!!Ne,St=!!ue,$e;if(Dt){var lt=Object(T.a)(Object(T.a)({prefixCls:"".concat(et,"-avatar")},U(Ft,St)),L(Pe));$e=E.createElement("div",{className:"".concat(et,"-header")},E.createElement(i,Object(T.a)({},lt)))}var Ut;if(Ft||St){var gt;if(Ft){var ft=Object(T.a)(Object(T.a)({prefixCls:"".concat(et,"-title")},N(Dt,St)),L(Ne));gt=E.createElement(F,Object(T.a)({},ft))}var rt;if(St){var Ie=Object(T.a)(Object(T.a)({prefixCls:"".concat(et,"-paragraph")},Q(Dt,Ft)),L(ue));rt=E.createElement(M,Object(T.a)({},Ie))}Ut=E.createElement("div",{className:"".concat(et,"-content")},gt,rt)}var Ot=I()(et,(At={},Object(B.a)(At,"".concat(et,"-with-avatar"),Dt),Object(B.a)(At,"".concat(et,"-active"),Re),Object(B.a)(At,"".concat(et,"-rtl"),dt==="rtl"),Object(B.a)(At,"".concat(et,"-round"),nt),At),fe);return E.createElement("div",{className:Ot,style:Ce},$e,Ut)}return typeof ge!="undefined"?ge:null};z.Button=u,z.Avatar=o,z.Input=b,z.Image=x,z.Node=A;var _=z,J=V.a=_},"/iHx":function(oe,V,e){var B=e("6GrX"),T=e("IwbS"),w=["textStyle","color"],D={getTextColor:function(I){var E=this.ecModel;return this.getShallow("color")||(!I&&E?E.get(w):null)},getFont:function(){return T.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(I){return B.getBoundingRect(I,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};oe.exports=D},"/kpp":function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("U8pU"),D=e("TSYQ"),I=e.n(D),E=e("q1tI"),C=e.n(E),f=e("H84U"),t=e("o/2+"),i=function(u,n){var l={};for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&n.indexOf(a)<0&&(l[a]=u[a]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,a=Object.getOwnPropertySymbols(u);c<a.length;c++)n.indexOf(a[c])<0&&Object.prototype.propertyIsEnumerable.call(u,a[c])&&(l[a[c]]=u[a[c]]);return l};function s(u){return typeof u=="number"?"".concat(u," ").concat(u," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(u)?"0 0 ".concat(u):u}var o=["xs","sm","md","lg","xl","xxl"],r=E.forwardRef(function(u,n){var l,a=E.useContext(f.b),c=a.getPrefixCls,d=a.direction,h=E.useContext(t.a),y=h.gutter,A=h.wrap,v=h.supportFlexGap,g=u.prefixCls,x=u.span,m=u.order,b=u.offset,S=u.push,P=u.pull,M=u.className,R=u.children,F=u.flex,L=u.style,U=i(u,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),N=c("col",g),Q={};o.forEach(function(k){var W,ie={},fe=u[k];typeof fe=="number"?ie.span=fe:Object(w.a)(fe)==="object"&&(ie=fe||{}),delete U[k],Q=Object(T.a)(Object(T.a)({},Q),(W={},Object(B.a)(W,"".concat(N,"-").concat(k,"-").concat(ie.span),ie.span!==void 0),Object(B.a)(W,"".concat(N,"-").concat(k,"-order-").concat(ie.order),ie.order||ie.order===0),Object(B.a)(W,"".concat(N,"-").concat(k,"-offset-").concat(ie.offset),ie.offset||ie.offset===0),Object(B.a)(W,"".concat(N,"-").concat(k,"-push-").concat(ie.push),ie.push||ie.push===0),Object(B.a)(W,"".concat(N,"-").concat(k,"-pull-").concat(ie.pull),ie.pull||ie.pull===0),Object(B.a)(W,"".concat(N,"-rtl"),d==="rtl"),W))});var z=I()(N,(l={},Object(B.a)(l,"".concat(N,"-").concat(x),x!==void 0),Object(B.a)(l,"".concat(N,"-order-").concat(m),m),Object(B.a)(l,"".concat(N,"-offset-").concat(b),b),Object(B.a)(l,"".concat(N,"-push-").concat(S),S),Object(B.a)(l,"".concat(N,"-pull-").concat(P),P),l),M,Q),_={};if(y&&y[0]>0){var J=y[0]/2;_.paddingLeft=J,_.paddingRight=J}if(y&&y[1]>0&&!v){var Y=y[1]/2;_.paddingTop=Y,_.paddingBottom=Y}return F&&(_.flex=s(F),A===!1&&!_.minWidth&&(_.minWidth=0)),E.createElement("div",Object(T.a)({},U,{style:Object(T.a)(Object(T.a)({},_),L),className:z,ref:n}),R)});V.a=r},"/ry/":function(oe,V,e){var B=e("bYtY"),T=e("T4UG"),w=e("5GhG"),D=w.seriesModelMixin,I=T.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}});B.mixin(I,D,!0);var E=I;oe.exports=E},"/stD":function(oe,V,e){var B=e("bYtY"),T=e("IUWy"),w=e("Kagy"),D=w.toolbox.brush;function I(f,t,i){this.model=f,this.ecModel=t,this.api=i,this._brushType,this._brushMode}I.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:B.clone(D.title)};var E=I.prototype;E.render=E.updateView=function(f,t,i){var s,o,r;t.eachComponent({mainType:"brush"},function(u){s=u.brushType,o=u.brushOption.brushMode||"single",r|=u.areas.length}),this._brushType=s,this._brushMode=o,B.each(f.get("type",!0),function(u){f.setIconStatus(u,(u==="keep"?o==="multiple":u==="clear"?r:u===s)?"emphasis":"normal")})},E.getIcons=function(){var f=this.model,t=f.get("icon",!0),i={};return B.each(f.get("type",!0),function(s){t[s]&&(i[s]=t[s])}),i},E.onclick=function(f,t,i){var s=this._brushType,o=this._brushMode;i==="clear"?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?s:s===i?!1:i,brushMode:i==="keep"?o==="multiple"?"single":"multiple":o}})},T.register("brush",I);var C=I;oe.exports=C},"/wGt":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("ODXe"),D=e("4i/N"),I=e("TSYQ"),E=e.n(I),C=e("VTBJ"),f=e("q1tI"),t=e("bTyn"),i=e("8XRh"),s=function(U){var N=U.prefixCls,Q=U.className,z=U.style,_=U.children,J=U.containerRef;return f.createElement(f.Fragment,null,f.createElement("div",{className:E()("".concat(N,"-content"),Q),style:Object(C.a)({},z),"aria-modal":"true",role:"dialog",ref:J},_))},o=s,r=f.createContext(null),u=r,n=e("4IlW"),l=e("Kwbf");function a(L){return typeof L=="string"&&String(Number(L))===L?(Object(l.a)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(L)):L}function c(L){Object(l.a)(!("wrapperClassName"in L),"'wrapperClassName' is removed. Please use 'rootClassName' instead.")}var d={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function h(L){var U,N,Q,z,_=L.prefixCls,J=L.open,Y=L.placement,k=L.inline,W=L.push,ie=L.forceRender,fe=L.autoFocus,Ce=L.keyboard,ge=L.rootClassName,de=L.rootStyle,Pe=L.zIndex,_e=L.className,Ne=L.style,He=L.motion,ue=L.width,Re=L.height,nt=L.children,Ve=L.contentWrapperStyle,Ge=L.mask,dt=L.maskClosable,et=L.maskMotion,At=L.maskClassName,Dt=L.maskStyle,Ft=L.afterOpenChange,St=L.onClose,$e=f.useRef(),lt=f.useRef(),Ut=f.useRef(),gt=function(De){var ze=De.keyCode,pe=De.shiftKey;switch(ze){case n.a.TAB:{if(ze===n.a.TAB){if(!pe&&document.activeElement===Ut.current){var te;(te=lt.current)===null||te===void 0||te.focus({preventScroll:!0})}else if(pe&&document.activeElement===lt.current){var be;(be=Ut.current)===null||be===void 0||be.focus({preventScroll:!0})}}break}case n.a.ESC:{St&&Ce&&St(De);break}}};f.useEffect(function(){if(J&&fe){var Me;(Me=$e.current)===null||Me===void 0||Me.focus({preventScroll:!0})}},[J,fe]);var ft=f.useState(!1),rt=Object(w.a)(ft,2),Ie=rt[0],Ot=rt[1],Xt=f.useContext(u),Vt;W===!1?Vt={distance:0}:W===!0?Vt={}:Vt=W||{};var bt=(U=(N=(Q=Vt)===null||Q===void 0?void 0:Q.distance)!==null&&N!==void 0?N:Xt==null?void 0:Xt.pushDistance)!==null&&U!==void 0?U:180,It=f.useMemo(function(){return{pushDistance:bt,push:function(){Ot(!0)},pull:function(){Ot(!1)}}},[bt]);f.useEffect(function(){if(J){var Me;Xt==null||(Me=Xt.push)===null||Me===void 0||Me.call(Xt)}else{var De;Xt==null||(De=Xt.pull)===null||De===void 0||De.call(Xt)}},[J]),f.useEffect(function(){return function(){var Me;Xt==null||(Me=Xt.pull)===null||Me===void 0||Me.call(Xt)}},[]);var Kt=Ge&&f.createElement(i.default,Object(B.a)({key:"mask"},et,{visible:J}),function(Me,De){var ze=Me.className,pe=Me.style;return f.createElement("div",{className:E()("".concat(_,"-mask"),ze,At),style:Object(C.a)(Object(C.a)({},pe),Dt),onClick:dt?St:void 0,ref:De})}),Se=typeof He=="function"?He(Y):He,Ye={};if(Ie&&bt)switch(Y){case"top":Ye.transform="translateY(".concat(bt,"px)");break;case"bottom":Ye.transform="translateY(".concat(-bt,"px)");break;case"left":Ye.transform="translateX(".concat(bt,"px)");break;default:Ye.transform="translateX(".concat(-bt,"px)");break}Y==="left"||Y==="right"?Ye.width=a(ue):Ye.height=a(Re);var q=f.createElement(i.default,Object(B.a)({key:"panel"},Se,{visible:J,forceRender:ie,onVisibleChanged:function(De){Ft==null||Ft(De)},removeOnLeave:!1,leavedClassName:"".concat(_,"-content-wrapper-hidden")}),function(Me,De){var ze=Me.className,pe=Me.style;return f.createElement("div",{className:E()("".concat(_,"-content-wrapper"),ze),style:Object(C.a)(Object(C.a)(Object(C.a)({},Ye),pe),Ve)},f.createElement(o,{containerRef:De,prefixCls:_,className:_e,style:Ne},nt))}),Ae=Object(C.a)({},de);return Pe&&(Ae.zIndex=Pe),f.createElement(u.Provider,{value:It},f.createElement("div",{className:E()(_,"".concat(_,"-").concat(Y),ge,(z={},Object(T.a)(z,"".concat(_,"-open"),J),Object(T.a)(z,"".concat(_,"-inline"),k),z)),style:Ae,tabIndex:-1,ref:$e,onKeyDown:gt},Kt,f.createElement("div",{tabIndex:0,ref:lt,style:d,"aria-hidden":"true","data-sentinel":"start"}),q,f.createElement("div",{tabIndex:0,ref:Ut,style:d,"aria-hidden":"true","data-sentinel":"end"})))}var y=function(U){var N=U.open,Q=U.getContainer,z=U.forceRender,_=U.prefixCls,J=U.afterOpenChange,Y=U.destroyOnClose,k=f.useState(!1),W=Object(w.a)(k,2),ie=W[0],fe=W[1],Ce=function(Pe){fe(Pe),J==null||J(Pe)};if(!z&&!ie&&!N&&Y)return null;var ge=Object(C.a)(Object(C.a)({},U),{},{prefixCls:_,afterOpenChange:Ce});return f.createElement(t.a,{open:N||z||ie,autoDestroy:!1,getContainer:Q,autoLock:N||ie},f.createElement(h,Object(B.a)({},ge,{inline:Q===!1})))};y.defaultProps={open:!1,prefixCls:"rc-drawer",placement:"right",autoFocus:!0,keyboard:!0,width:378,mask:!0,maskClosable:!0};var A=y,v=A,g=e("H84U"),x=e("ihLV"),m=e("EXcs"),b=e("CWQg"),S=function(L,U){var N={};for(var Q in L)Object.prototype.hasOwnProperty.call(L,Q)&&U.indexOf(Q)<0&&(N[Q]=L[Q]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,Q=Object.getOwnPropertySymbols(L);z<Q.length;z++)U.indexOf(Q[z])<0&&Object.prototype.propertyIsEnumerable.call(L,Q[z])&&(N[Q[z]]=L[Q[z]]);return N},P=Object(b.a)("default","large"),M={distance:180};function R(L){var U=L.width,N=L.height,Q=L.size,z=Q===void 0?"default":Q,_=L.closable,J=_===void 0?!0:_,Y=L.mask,k=Y===void 0?!0:Y,W=L.push,ie=W===void 0?M:W,fe=L.closeIcon,Ce=fe===void 0?f.createElement(D.a,null):fe,ge=L.bodyStyle,de=L.drawerStyle,Pe=L.className,_e=L.visible,Ne=L.open,He=L.children,ue=L.style,Re=L.title,nt=L.headerStyle,Ve=L.onClose,Ge=L.footer,dt=L.footerStyle,et=L.prefixCls,At=L.getContainer,Dt=L.extra,Ft=L.afterVisibleChange,St=L.afterOpenChange,$e=S(L,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),lt=f.useContext(g.b),Ut=lt.getPopupContainer,gt=lt.getPrefixCls,ft=lt.direction,rt=gt("drawer",et),Ie=At===void 0&&Ut?function(){return Ut(document.body)}:At,Ot=J&&f.createElement("button",{type:"button",onClick:Ve,"aria-label":"Close",className:"".concat(rt,"-close")},Ce);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(q){var Ae=Object(w.a)(q,2),Me=Ae[0],De=Ae[1]});function Xt(){return!Re&&!J?null:f.createElement("div",{className:E()("".concat(rt,"-header"),Object(T.a)({},"".concat(rt,"-header-close-only"),J&&!Re&&!Dt)),style:nt},f.createElement("div",{className:"".concat(rt,"-header-title")},Ot,Re&&f.createElement("div",{className:"".concat(rt,"-title")},Re)),Dt&&f.createElement("div",{className:"".concat(rt,"-extra")},Dt))}function Vt(){if(!Ge)return null;var q="".concat(rt,"-footer");return f.createElement("div",{className:q,style:dt},Ge)}var bt=E()(Object(T.a)({"no-mask":!k},"".concat(rt,"-rtl"),ft==="rtl"),Pe),It=f.useMemo(function(){return U!=null?U:z==="large"?736:378},[U,z]),Kt=f.useMemo(function(){return N!=null?N:z==="large"?736:378},[N,z]),Se={motionName:Object(m.c)(rt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Ye=function(Ae){return{motionName:Object(m.c)(rt,"panel-motion-".concat(Ae)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return f.createElement(x.e,{status:!0,override:!0},f.createElement(v,Object(B.a)({prefixCls:rt,onClose:Ve},$e,{open:Ne||_e,mask:k,push:ie,width:It,height:Kt,rootClassName:bt,getContainer:Ie,afterOpenChange:function(Ae){St==null||St(Ae),Ft==null||Ft(Ae)},maskMotion:Se,motion:Ye,rootStyle:ue}),f.createElement("div",{className:"".concat(rt,"-wrapper-body"),style:Object(B.a)({},de)},Xt(),f.createElement("div",{className:"".concat(rt,"-body"),style:ge},He),Vt())))}var F=V.a=R},"/y7N":function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("6GrX"),D=e("7aKB"),I=e("Fofx"),E=e("aX7z"),C=e("+rIm");function f(a){var c=a.get("type"),d=a.getModel(c+"Style"),h;return c==="line"?(h=d.getLineStyle(),h.fill=null):c==="shadow"&&(h=d.getAreaStyle(),h.stroke=null),h}function t(a,c,d,h,y){var A=d.get("value"),v=s(A,c.axis,c.ecModel,d.get("seriesDataIndices"),{precision:d.get("label.precision"),formatter:d.get("label.formatter")}),g=d.getModel("label"),x=D.normalizeCssArray(g.get("padding")||0),m=g.getFont(),b=w.getBoundingRect(v,m),S=y.position,P=b.width+x[1]+x[3],M=b.height+x[0]+x[2],R=y.align;R==="right"&&(S[0]-=P),R==="center"&&(S[0]-=P/2);var F=y.verticalAlign;F==="bottom"&&(S[1]-=M),F==="middle"&&(S[1]-=M/2),i(S,P,M,h);var L=g.get("backgroundColor");(!L||L==="auto")&&(L=c.get("axisLine.lineStyle.color")),a.label={shape:{x:0,y:0,width:P,height:M,r:g.get("borderRadius")},position:S.slice(),style:{text:v,textFont:m,textFill:g.getTextColor(),textPosition:"inside",textPadding:x,fill:L,stroke:g.get("borderColor")||"transparent",lineWidth:g.get("borderWidth")||0,shadowBlur:g.get("shadowBlur"),shadowColor:g.get("shadowColor"),shadowOffsetX:g.get("shadowOffsetX"),shadowOffsetY:g.get("shadowOffsetY")},z2:10}}function i(a,c,d,h){var y=h.getWidth(),A=h.getHeight();a[0]=Math.min(a[0]+c,y)-c,a[1]=Math.min(a[1]+d,A)-d,a[0]=Math.max(a[0],0),a[1]=Math.max(a[1],0)}function s(a,c,d,h,y){a=c.scale.parse(a);var A=c.scale.getLabel(a,{precision:y.precision}),v=y.formatter;if(v){var g={value:E.getAxisRawValue(c,a),axisDimension:c.dim,axisIndex:c.index,seriesData:[]};B.each(h,function(x){var m=d.getSeriesByIndex(x.seriesIndex),b=x.dataIndexInside,S=m&&m.getDataParams(b);S&&g.seriesData.push(S)}),B.isString(v)?A=v.replace("{value}",A):B.isFunction(v)&&(A=v(g))}return A}function o(a,c,d){var h=I.create();return I.rotate(h,h,d.rotation),I.translate(h,h,d.position),T.applyTransform([a.dataToCoord(c),(d.labelOffset||0)+(d.labelDirection||1)*(d.labelMargin||0)],h)}function r(a,c,d,h,y,A){var v=C.innerTextLayout(d.rotation,0,d.labelDirection);d.labelMargin=y.get("label.margin"),t(c,h,y,A,{position:o(h.axis,a,d),align:v.textAlign,verticalAlign:v.textVerticalAlign})}function u(a,c,d){return d=d||0,{x1:a[d],y1:a[1-d],x2:c[d],y2:c[1-d]}}function n(a,c,d){return d=d||0,{x:a[d],y:a[1-d],width:c[d],height:c[1-d]}}function l(a,c,d,h,y,A){return{cx:a,cy:c,r0:d,r:h,startAngle:y,endAngle:A,clockwise:!0}}V.buildElStyle=f,V.buildLabelElOption=t,V.getValueLabel=s,V.getTransformedPosition=o,V.buildCartesianSingleLabelElOption=r,V.makeLineShape=u,V.makeRectShape=n,V.makeSectorShape=l},"/zsF":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("bE4E"),D=e.n(w)},"0/Rx":function(oe,V){function e(B){return{seriesType:B,reset:function(T,w){var D=w.findComponents({mainType:"legend"});if(!(!D||!D.length)){var I=T.getData();I.filterSelf(function(E){for(var C=I.getName(E),f=0;f<D.length;f++)if(!D[f].isSelected(C))return!1;return!0})}}}}oe.exports=e},"01d+":function(oe,V,e){var B=e("bYtY"),T=B.each,w=e("HF/U"),D=w.simpleLayout,I=w.simpleLayoutEdge;function E(C,f){C.eachSeriesByType("graph",function(t){var i=t.get("layout"),s=t.coordinateSystem;if(s&&s.type!=="view"){var o=t.getData(),r=[];T(s.dimensions,function(d){r=r.concat(o.mapDimension(d,!0))});for(var u=0;u<o.count();u++){for(var n=[],l=!1,a=0;a<r.length;a++){var c=o.get(r[a],u);isNaN(c)||(l=!0),n.push(c)}l?o.setItemLayout(u,s.dataToPoint(n)):o.setItemLayout(u,[NaN,NaN])}I(o.graph,t)}else(!i||i==="none")&&D(t)})}oe.exports=E},"06DH":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("Kagy"),D=e("IUWy"),I=w.toolbox.magicType,E="__ec_magicType_stack__";function C(o){this.model=o}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:T.clone(I.title),option:{},seriesIndex:{}};var f=C.prototype;f.getIcons=function(){var o=this.model,r=o.get("icon"),u={};return T.each(o.get("type"),function(n){r[n]&&(u[n]=r[n])}),u};var t={line:function(o,r,u,n){if(o==="bar")return T.merge({id:r,type:"line",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},n.get("option.line")||{},!0)},bar:function(o,r,u,n){if(o==="line")return T.merge({id:r,type:"bar",data:u.get("data"),stack:u.get("stack"),markPoint:u.get("markPoint"),markLine:u.get("markLine")},n.get("option.bar")||{},!0)},stack:function(o,r,u,n){var l=u.get("stack")===E;if(o==="line"||o==="bar")return n.setIconStatus("stack",l?"normal":"emphasis"),T.merge({id:r,stack:l?"":E},n.get("option.stack")||{},!0)}},i=[["line","bar"],["stack"]];f.onclick=function(o,r,u){var n=this.model,l=n.get("seriesIndex."+u);if(!!t[u]){var a={series:[]},c=function(y){var A=y.subType,v=y.id,g=t[u](A,v,y,n);g&&(T.defaults(g,y.option),a.series.push(g));var x=y.coordinateSystem;if(x&&x.type==="cartesian2d"&&(u==="line"||u==="bar")){var m=x.getAxesByScale("ordinal")[0];if(m){var b=m.dim,S=b+"Axis",P=o.queryComponents({mainType:S,index:y.get(name+"Index"),id:y.get(name+"Id")})[0],M=P.componentIndex;a[S]=a[S]||[];for(var R=0;R<=M;R++)a[S][M]=a[S][M]||{};a[S][M].boundaryGap=u==="bar"}}};T.each(i,function(y){T.indexOf(y,u)>=0&&T.each(y,function(A){n.setIconStatus(A,"normal")})}),n.setIconStatus(u,"emphasis"),o.eachComponent({mainType:"series",query:l==null?null:{seriesIndex:l}},c);var d;if(u==="stack"){var h=a.series&&a.series[0]&&a.series[0].stack===E;d=h?T.merge({stack:I.title.tiled},I.title):T.clone(I.title)}r.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:d,featureName:"magicType"})}},B.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(o,r){r.mergeOption(o.newOption)}),D.register("magicType",C);var s=C;oe.exports=s},"06Qe":function(oe,V,e){var B=e("ItGF"),T="urn:schemas-microsoft-com:vml",w=typeof window=="undefined"?null:window,D=!1,I=w&&w.document;function E(t){return C(t)}var C;if(I&&!B.canvasSupported)try{!I.namespaces.zrvml&&I.namespaces.add("zrvml",T),C=function(i){return I.createElement("<zrvml:"+i+' class="zrvml">')}}catch(t){C=function(s){return I.createElement("<"+s+' xmlns="'+T+'" class="zrvml">')}}function f(){if(!(D||!I)){D=!0;var t=I.styleSheets;t.length<31?I.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}V.doc=I,V.createNode=E,V.initVML=f},"0Bwj":function(oe,V,e){var B=e("T4UG"),T=e("I3/A"),w=e("7aKB"),D=w.encodeHTML,I=e("Qxkt"),E=e("Tghj"),C=E.__DEV__,f=B.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(i,s){for(var o=i.edges||i.links,r=i.data||i.nodes,u=i.levels,n=this.levelModels={},l=0;l<u.length;l++)u[l].depth!=null&&u[l].depth>=0&&(n[u[l].depth]=new I(u[l],this,s));if(r&&o){var a=T(r,o,this,!0,c);return a.data}function c(d,h){d.wrapMethod("getItemModel",function(y,A){return y.customizeGetParent(function(v){var g=this.parentModel,x=g.getData().getItemLayout(A).depth,m=g.levelModels[x];return m||this.parentModel}),y}),h.wrapMethod("getItemModel",function(y,A){return y.customizeGetParent(function(v){var g=this.parentModel,x=g.getGraph().getEdgeByIndex(A),m=x.node1.getLayout().depth,b=g.levelModels[m];return b||this.parentModel}),y})}},setNodePosition:function(i,s){var o=this.option.data[i];o.localX=s[0],o.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(i,s,o){if(o==="edge"){var r=this.getDataParams(i,o),u=r.data,n=u.source+" -- "+u.target;return r.value&&(n+=" : "+r.value),D(n)}else if(o==="node"){var l=this.getGraph().getNodeByIndex(i),a=l.getLayout().value,c=this.getDataParams(i,o).data.name;if(a)var n=c+" : "+a;return D(n)}return f.superCall(this,"formatTooltip",i,s)},optionUpdated:function(){var i=this.option;i.focusNodeAdjacency===!0&&(i.focusNodeAdjacency="allEdges")},getDataParams:function(i,s){var o=f.superCall(this,"getDataParams",i,s);if(o.value==null&&s==="node"){var r=this.getGraph().getNodeByIndex(i),u=r.getLayout().value;o.value=u}return o},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}}),t=f;oe.exports=t},"0HBW":function(oe,V,e){var B=e("ProS"),T=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function w(D,I){I.update="updateView",B.registerAction(I,function(E,C){var f={};return C.eachComponent({mainType:"geo",query:E},function(t){t[D](E.name);var i=t.coordinateSystem;T.each(i.regions,function(s){f[s.name]=t.isSelected(s.name)||!1})}),{selected:f,name:E.name}})}w("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),w("select",{type:"geoSelect",event:"geoselected"}),w("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(oe,V,e){var B=e("bYtY"),T=e("+TT/"),w=e("OELB"),D=e("IDmD"),I=864e5;function E(t,i,s){this._model=t}E.prototype={constructor:E,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(t){t=w.parseDate(t);var i=t.getFullYear(),s=t.getMonth()+1;s=s<10?"0"+s:s;var o=t.getDate();o=o<10?"0"+o:o;var r=t.getDay();return r=Math.abs((r+7-this.getFirstDayOfWeek())%7),{y:i,m:s,d:o,day:r,time:t.getTime(),formatedDate:i+"-"+s+"-"+o,date:t}},getNextNDay:function(t,i){return i=i||0,i===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+i),this.getDateInfo(t))},update:function(t,i){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 s=this._rangeInfo.weeks||1,o=["width","height"],r=this._model.get("cellSize").slice(),u=this._model.getBoxLayoutParams(),n=this._orient==="horizontal"?[s,7]:[7,s];B.each([0,1],function(d){c(r,d)&&(u[o[d]]=r[d]*n[d])});var l={width:i.getWidth(),height:i.getHeight()},a=this._rect=T.getLayoutRect(u,l);B.each([0,1],function(d){c(r,d)||(r[d]=a[o[d]]/n[d])});function c(d,h){return d[h]!=null&&d[h]!=="auto"}this._sw=r[0],this._sh=r[1]},dataToPoint:function(t,i){B.isArray(t)&&(t=t[0]),i==null&&(i=!0);var s=this.getDateInfo(t),o=this._rangeInfo,r=s.formatedDate;if(i&&!(s.time>=o.start.time&&s.time<o.end.time+I))return[NaN,NaN];var u=s.day,n=this._getRangeInfo([o.start.time,r]).nthWeek;return this._orient==="vertical"?[this._rect.x+u*this._sw+this._sw/2,this._rect.y+n*this._sh+this._sh/2]:[this._rect.x+n*this._sw+this._sw/2,this._rect.y+u*this._sh+this._sh/2]},pointToData:function(t){var i=this.pointToDate(t);return i&&i.time},dataToRect:function(t,i){var s=this.dataToPoint(t,i);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(t){var i=Math.floor((t[0]-this._rect.x)/this._sw)+1,s=Math.floor((t[1]-this._rect.y)/this._sh)+1,o=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,i-1,o):this._getDateByWeeksAndDay(i,s-1,o)},convertToPixel:B.curry(C,"dataToPoint"),convertFromPixel:B.curry(C,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),i=t;if(B.isArray(i)&&i.length===1&&(i=i[0]),/^\d{4}$/.test(i)&&(t=[i+"-01-01",i+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(i)){var s=this.getDateInfo(i),o=s.date;o.setMonth(o.getMonth()+1);var r=this.getNextNDay(o,-1);t=[s.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i)&&(t=[i,i]);var u=this._getRangeInfo(t);return u.start.time>u.end.time&&t.reverse(),t},_getRangeInfo:function(t){t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];var i;t[0].time>t[1].time&&(i=!0,t.reverse());var s=Math.floor(t[1].time/I)-Math.floor(t[0].time/I)+1,o=new Date(t[0].time),r=o.getDate(),u=t[1].date.getDate();o.setDate(r+s-1);var n=o.getDate();if(n!==u)for(var l=o.getTime()-t[1].time>0?1:-1;(n=o.getDate())!==u&&(o.getTime()-t[1].time)*l>0;)s-=l,o.setDate(n-l);var a=Math.floor((s+t[0].day+6)/7),c=i?-a+1:a-1;return i&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:s,weeks:a,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,i,s){var o=this._getRangeInfo(s);if(t>o.weeks||t===0&&i<o.fweek||t===o.weeks&&i>o.lweek)return!1;var r=(t-1)*7-o.fweek+i,u=new Date(o.start.time);return u.setDate(o.start.d+r),this.getDateInfo(u)}},E.dimensions=E.prototype.dimensions,E.getDimensionsInfo=E.prototype.getDimensionsInfo,E.create=function(t,i){var s=[];return t.eachComponent("calendar",function(o){var r=new E(o,t,i);s.push(r),o.coordinateSystem=r}),t.eachSeries(function(o){o.get("coordinateSystem")==="calendar"&&(o.coordinateSystem=s[o.get("calendarIndex")||0])}),s};function C(t,i,s,o){var r=s.calendarModel,u=s.seriesModel,n=r?r.coordinateSystem:u?u.coordinateSystem:null;return n===this?n[t](o):null}D.register("calendar",E);var f=E;oe.exports=f},"0JQy":function(oe,V){var e="\\ud800-\\udfff",B="\\u0300-\\u036f",T="\\ufe20-\\ufe2f",w="\\u20d0-\\u20ff",D=B+T+w,I="\\ufe0e\\ufe0f",E="["+e+"]",C="["+D+"]",f="\\ud83c[\\udffb-\\udfff]",t="(?:"+C+"|"+f+")",i="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",u=t+"?",n="["+I+"]?",l="(?:"+r+"(?:"+[i,s,o].join("|")+")"+n+u+")*",a=n+u+l,c="(?:"+[i+C+"?",C,s,o,E].join("|")+")",d=RegExp(f+"(?="+f+")|"+c+a,"g");function h(y){return y.match(d)||[]}oe.exports=h},"0NbB":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="CaretDownOutlined";var C=V.a=T.forwardRef(E)},"0V0F":function(oe,V,e){var B=e("bYtY"),T=B.createHashMap,w=B.each;function D(E){var C=T();E.eachSeries(function(f){var t=f.get("stack");if(t){var i=C.get(t)||C.set(t,[]),s=f.getData(),o={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:f};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&s.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),C.each(I)}function I(E){w(E,function(C,f){var t=[],i=[NaN,NaN],s=[C.stackResultDimension,C.stackedOverDimension],o=C.data,r=C.isStackedByIndex,u=o.map(s,function(n,l,a){var c=o.get(C.stackedDimension,a);if(isNaN(c))return i;var d,h;r?h=o.getRawIndex(a):d=o.get(C.stackedByDimension,a);for(var y=NaN,A=f-1;A>=0;A--){var v=E[A];if(r||(h=v.data.rawIndexOf(v.stackedByDimension,d)),h>=0){var g=v.data.getByRawIndex(v.stackResultDimension,h);if(c>=0&&g>0||c<=0&&g<0){c+=g,y=g;break}}}return t[0]=c,t[1]=y,t});o.hostModel.setData(u),C.data=u})}oe.exports=D},"0XgM":function(oe,V,e){},"0fbx":function(oe,V,e){},"0o9m":function(oe,V,e){var B=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var T=e("kDyi"),w=e("bLfw");B.registerProcessor(B.PRIORITY.PROCESSOR.SERIES_FILTER,T),w.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(oe,V,e){var B=e("ProS");B.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),B.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0s+r":function(oe,V,e){var B=e("bYtY"),T=e("QBsz"),w=e("y23F"),D=e("H6uX"),I=e("YH21"),E=e("C0SR"),C="silent";function f(l,a,c){return{type:l,event:c,target:a.target,topTarget:a.topTarget,cancelBubble:!1,offsetX:c.zrX,offsetY:c.zrY,gestureEvent:c.gestureEvent,pinchX:c.pinchX,pinchY:c.pinchY,pinchScale:c.pinchScale,wheelDelta:c.zrDelta,zrByTouch:c.zrByTouch,which:c.which,stop:t}}function t(){I.stop(this.event)}function i(){}i.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],o=function(a,c,d,h){D.call(this),this.storage=a,this.painter=c,this.painterRoot=h,d=d||new i,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,w.call(this),this.setHandlerProxy(d)};o.prototype={constructor:o,setHandlerProxy:function(a){this.proxy&&this.proxy.dispose(),a&&(B.each(s,function(c){a.on&&a.on(c,this[c],this)},this),a.handler=this),this.proxy=a},mousemove:function(a){var c=a.zrX,d=a.zrY,h=u(this,c,d),y=this._hovered,A=y.target;A&&!A.__zr&&(y=this.findHover(y.x,y.y),A=y.target);var v=this._hovered=h?{x:c,y:d}:this.findHover(c,d),g=v.target,x=this.proxy;x.setCursor&&x.setCursor(g?g.cursor:"default"),A&&g!==A&&this.dispatchToElement(y,"mouseout",a),this.dispatchToElement(v,"mousemove",a),g&&g!==A&&this.dispatchToElement(v,"mouseover",a)},mouseout:function(a){var c=a.zrEventControl,d=a.zrIsToLocalDOM;c!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",a),c!=="no_globalout"&&!d&&this.trigger("globalout",{type:"globalout",event:a})},resize:function(a){this._hovered={}},dispatch:function(a,c){var d=this[a];d&&d.call(this,c)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(a){var c=this.proxy;c.setCursor&&c.setCursor(a)},dispatchToElement:function(a,c,d){a=a||{};var h=a.target;if(!(h&&h.silent)){for(var y="on"+c,A=f(c,a,d);h&&(h[y]&&(A.cancelBubble=h[y].call(h,A)),h.trigger(c,A),h=h.parent,!A.cancelBubble););A.cancelBubble||(this.trigger(c,A),this.painter&&this.painter.eachOtherLayer(function(v){typeof v[y]=="function"&&v[y].call(v,A),v.trigger&&v.trigger(c,A)}))}},findHover:function(a,c,d){for(var h=this.storage.getDisplayList(),y={x:a,y:c},A=h.length-1;A>=0;A--){var v;if(h[A]!==d&&!h[A].ignore&&(v=r(h[A],a,c))&&(!y.topTarget&&(y.topTarget=h[A]),v!==C)){y.target=h[A];break}}return y},processGesture:function(a,c){this._gestureMgr||(this._gestureMgr=new E);var d=this._gestureMgr;c==="start"&&d.clear();var h=d.recognize(a,this.findHover(a.zrX,a.zrY,null).target,this.proxy.dom);if(c==="end"&&d.clear(),h){var y=h.type;a.gestureEvent=y,this.dispatchToElement({target:h.target},y,h.event)}}},B.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(l){o.prototype[l]=function(a){var c=a.zrX,d=a.zrY,h=u(this,c,d),y,A;if((l!=="mouseup"||!h)&&(y=this.findHover(c,d),A=y.target),l==="mousedown")this._downEl=A,this._downPoint=[a.zrX,a.zrY],this._upEl=A;else if(l==="mouseup")this._upEl=A;else if(l==="click"){if(this._downEl!==this._upEl||!this._downPoint||T.dist(this._downPoint,[a.zrX,a.zrY])>4)return;this._downPoint=null}this.dispatchToElement(y,l,a)}});function r(l,a,c){if(l[l.rectHover?"rectContain":"contain"](a,c)){for(var d=l,h;d;){if(d.clipPath&&!d.clipPath.contain(a,c))return!1;d.silent&&(h=!0),d=d.parent}return h?C:!0}return!1}function u(l,a,c){var d=l.painter;return a<0||a>d.getWidth()||c<0||c>d.getHeight()}B.mixin(o,D),B.mixin(o,w);var n=o;oe.exports=n},"10cm":function(oe,V,e){var B=e("ProS"),T=e("2B6p"),w=T.updateCenterAndZoom;e("0qV/");var D={type:"graphRoam",event:"graphRoam",update:"none"};B.registerAction(D,function(I,E){E.eachComponent({mainType:"series",query:I},function(C){var f=C.coordinateSystem,t=w(f,I);C.setCenter&&C.setCenter(t.center),C.setZoom&&C.setZoom(t.zoom)})})},"14J3":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("1GLa")},"15/o":function(oe,V,e){},"18yb":function(oe,V,e){"use strict";e.d(V,"a",function(){return f});var B=e("ODXe"),T=e("q1tI"),w=e.n(T),D=e("MNnm"),I=0,E=Object(D.a)();function C(){var t;return E?(t=I,I+=1):t="TEST_OR_SSR",t}function f(t){var i=T.useState(),s=Object(B.a)(i,2),o=s[0],r=s[1];return T.useEffect(function(){r("rc_select_".concat(C()))},[]),t||o}},"19Vz":function(oe,V,e){(function(B){B(e("VrN/"))})(function(B){B.defineOption("placeholder","",function(f,t,i){var s=i&&i!=B.Init;if(t&&!s)f.on("blur",I),f.on("change",E),f.on("swapDoc",E),B.on(f.getInputField(),"compositionupdate",f.state.placeholderCompose=function(){D(f)}),E(f);else if(!t&&s){f.off("blur",I),f.off("change",E),f.off("swapDoc",E),B.off(f.getInputField(),"compositionupdate",f.state.placeholderCompose),T(f);var o=f.getWrapperElement();o.className=o.className.replace(" CodeMirror-empty","")}t&&!f.hasFocus()&&I(f)});function T(f){f.state.placeholder&&(f.state.placeholder.parentNode.removeChild(f.state.placeholder),f.state.placeholder=null)}function w(f){T(f);var t=f.state.placeholder=document.createElement("pre");t.style.cssText="height: 0; overflow: visible",t.style.direction=f.getOption("direction"),t.className="CodeMirror-placeholder CodeMirror-line-like";var i=f.getOption("placeholder");typeof i=="string"&&(i=document.createTextNode(i)),t.appendChild(i),f.display.lineSpace.insertBefore(t,f.display.lineSpace.firstChild)}function D(f){setTimeout(function(){var t=!1;if(f.lineCount()==1){var i=f.getInputField();t=i.nodeName=="TEXTAREA"?!f.getLine(0).length:!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)}t?w(f):T(f)},20)}function I(f){C(f)&&w(f)}function E(f){var t=f.getWrapperElement(),i=C(f);t.className=t.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?w(f):T(f)}function C(f){return f.lineCount()===1&&f.getLine(0)===""}})},"1GLa":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("FIfw"),D=e.n(w)},"1Jh7":function(oe,V,e){var B=e("y+Vt"),T=e("T6xi"),w=B.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(I,E){T.buildPath(I,E,!1)}});oe.exports=w},"1LEl":function(oe,V,e){var B=e("ProS"),T=e("F9bG"),w=B.extendComponentView({type:"axisPointer",render:function(I,E,C){var f=E.getComponent("tooltip"),t=I.get("triggerOn")||f&&f.get("triggerOn")||"mousemove|click";T.register("axisPointer",C,function(i,s,o){t!=="none"&&(i==="leave"||t.indexOf(i)>=0)&&o({type:"updateAxisPointer",currTrigger:i,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(I,E){T.unregister(E.getZr(),"axisPointer"),w.superApply(this._model,"remove",arguments)},dispose:function(I,E){T.unregister("axisPointer",E),w.superApply(this._model,"dispose",arguments)}}),D=w;oe.exports=D},"1MYJ":function(oe,V,e){var B=e("y+Vt"),T=B.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var D=this.__dirtyPath,I=this.shape.paths,E=0;E<I.length;E++)D=D||I[E].__dirtyPath;this.__dirtyPath=D,this.__dirty=this.__dirty||D},beforeBrush:function(){this._updatePathDirty();for(var D=this.shape.paths||[],I=this.getGlobalScale(),E=0;E<D.length;E++)D[E].path||D[E].createPathProxy(),D[E].path.setScale(I[0],I[1],D[E].segmentIgnoreThreshold)},buildPath:function(D,I){for(var E=I.paths||[],C=0;C<E.length;C++)E[C].buildPath(D,E[C].shape,!0)},afterBrush:function(){for(var D=this.shape.paths||[],I=0;I<D.length;I++)D[I].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),B.prototype.getBoundingRect.call(this)}});oe.exports=T},"1NG9":function(oe,V,e){var B=e("y+Vt"),T=e("QBsz"),w=e("iXp4"),D=T.min,I=T.max,E=T.scaleAndAdd,C=T.copy,f=[],t=[],i=[];function s(c){return isNaN(c[0])||isNaN(c[1])}function o(c,d,h,y,A,v,g,x,m,b,S){return b==="none"||!b?u.apply(this,arguments):r.apply(this,arguments)}function r(c,d,h,y,A,v,g,x,m,b,S){for(var P=0,M=h,R=0;R<y;R++){var F=d[M];if(M>=A||M<0)break;if(s(F)){if(S){M+=v;continue}break}if(M===h)c[v>0?"moveTo":"lineTo"](F[0],F[1]);else if(m>0){var L=d[P],U=b==="y"?1:0,N=(F[U]-L[U])*m;C(t,L),t[U]=L[U]+N,C(i,F),i[U]=F[U]-N,c.bezierCurveTo(t[0],t[1],i[0],i[1],F[0],F[1])}else c.lineTo(F[0],F[1]);P=M,M+=v}return R}function u(c,d,h,y,A,v,g,x,m,b,S){for(var P=0,M=h,R=0;R<y;R++){var F=d[M];if(M>=A||M<0)break;if(s(F)){if(S){M+=v;continue}break}if(M===h)c[v>0?"moveTo":"lineTo"](F[0],F[1]),C(t,F);else if(m>0){var L=M+v,U=d[L];if(S)for(;U&&s(d[L]);)L+=v,U=d[L];var N=.5,Q=d[P],U=d[L];if(!U||s(U))C(i,F);else{s(U)&&!S&&(U=F),T.sub(f,U,Q);var z,_;if(b==="x"||b==="y"){var J=b==="x"?0:1;z=Math.abs(F[J]-Q[J]),_=Math.abs(F[J]-U[J])}else z=T.dist(F,Q),_=T.dist(F,U);N=_/(_+z),E(i,F,f,-m*(1-N))}D(t,t,x),I(t,t,g),D(i,i,x),I(i,i,g),c.bezierCurveTo(t[0],t[1],i[0],i[1],F[0],F[1]),E(t,F,f,m*N)}else c.lineTo(F[0],F[1]);P=M,M+=v}return R}function n(c,d){var h=[Infinity,Infinity],y=[-Infinity,-Infinity];if(d)for(var A=0;A<c.length;A++){var v=c[A];v[0]<h[0]&&(h[0]=v[0]),v[1]<h[1]&&(h[1]=v[1]),v[0]>y[0]&&(y[0]=v[0]),v[1]>y[1]&&(y[1]=v[1])}return{min:d?h:y,max:d?y:h}}var l=B.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:w(B.prototype.brush),buildPath:function(c,d){var h=d.points,y=0,A=h.length,v=n(h,d.smoothConstraint);if(d.connectNulls){for(;A>0&&s(h[A-1]);A--);for(;y<A&&s(h[y]);y++);}for(;y<A;)y+=o(c,h,y,A,A,1,v.min,v.max,d.smooth,d.smoothMonotone,d.connectNulls)+1}}),a=B.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:w(B.prototype.brush),buildPath:function(c,d){var h=d.points,y=d.stackedOnPoints,A=0,v=h.length,g=d.smoothMonotone,x=n(h,d.smoothConstraint),m=n(y,d.smoothConstraint);if(d.connectNulls){for(;v>0&&s(h[v-1]);v--);for(;A<v&&s(h[A]);A++);}for(;A<v;){var b=o(c,h,A,v,v,1,x.min,x.max,d.smooth,g,d.connectNulls);o(c,y,A+b-1,b,v,-1,m.min,m.max,d.stackedOnSmooth,g,d.connectNulls),A+=b+1,c.closePath()}}});V.Polyline=l,V.Polygon=a},"1RvN":function(oe,V){var e=function(){this.head=null,this.tail=null,this._len=0},B=e.prototype;B.insert=function(E){var C=new T(E);return this.insertEntry(C),C},B.insertEntry=function(E){this.head?(this.tail.next=E,E.prev=this.tail,E.next=null,this.tail=E):this.head=this.tail=E,this._len++},B.remove=function(E){var C=E.prev,f=E.next;C?C.next=f:this.head=f,f?f.prev=C:this.tail=C,E.next=E.prev=null,this._len--},B.len=function(){return this._len},B.clear=function(){this.head=this.tail=null,this._len=0};var T=function(C){this.value=C,this.next,this.prev},w=function(C){this._list=new e,this._map={},this._maxSize=C||10,this._lastRemovedEntry=null},D=w.prototype;D.put=function(E,C){var f=this._list,t=this._map,i=null;if(t[E]==null){var s=f.len(),o=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var r=f.head;f.remove(r),delete t[r.key],i=r.value,this._lastRemovedEntry=r}o?o.value=C:o=new T(C),o.key=E,f.insertEntry(o),t[E]=o}return i},D.get=function(E){var C=this._map[E],f=this._list;if(C!=null)return C!==f.tail&&(f.remove(C),f.insertEntry(C)),C.value},D.clear=function(){this._list.clear(),this._map={}};var I=w;oe.exports=I},"1bdT":function(oe,V,e){var B=e("3gBT"),T=e("H6uX"),w=e("DN4a"),D=e("vWvF"),I=e("bYtY"),E=function(t){w.call(this,t),T.call(this,t),D.call(this,t),this.id=t.id||B()};E.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,i){switch(this.draggable){case"horizontal":i=0;break;case"vertical":t=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=t,s[5]+=i,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,i){},attrKV:function(t,i){if(t==="position"||t==="scale"||t==="origin"){if(i){var s=this[t];s||(s=this[t]=[]),s[0]=i[0],s[1]=i[1]}}else this[t]=i},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,i){if(typeof t=="string")this.attrKV(t,i);else if(I.isObject(t))for(var s in t)t.hasOwnProperty(s)&&this.attrKV(s,t[s]);return this.dirty(!1),this},setClipPath:function(t){var i=this.__zr;i&&t.addSelfToZr(i),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=i,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var i=this.animators;if(i)for(var s=0;s<i.length;s++)t.animation.addAnimator(i[s]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var i=this.animators;if(i)for(var s=0;s<i.length;s++)t.animation.removeAnimator(i[s]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},I.mixin(E,D),I.mixin(E,w),I.mixin(E,T);var C=E;oe.exports=C},"1eCo":function(oe,V,e){(function(B){B(e("VrN/"))})(function(B){"use strict";var T={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},w={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};B.defineMode("xml",function(D,I){var E=D.indentUnit,C={},f=I.htmlMode?T:w;for(var t in f)C[t]=f[t];for(var t in I)C[t]=I[t];var i,s;function o(M,R){function F(N){return R.tokenize=N,N(M,R)}var L=M.next();if(L=="<")return M.eat("!")?M.eat("[")?M.match("CDATA[")?F(n("atom","]]>")):null:M.match("--")?F(n("comment","-->")):M.match("DOCTYPE",!0,!0)?(M.eatWhile(/[\w\._\-]/),F(l(1))):null:M.eat("?")?(M.eatWhile(/[\w\._\-]/),R.tokenize=n("meta","?>"),"meta"):(i=M.eat("/")?"closeTag":"openTag",R.tokenize=r,"tag bracket");if(L=="&"){var U;return M.eat("#")?M.eat("x")?U=M.eatWhile(/[a-fA-F\d]/)&&M.eat(";"):U=M.eatWhile(/[\d]/)&&M.eat(";"):U=M.eatWhile(/[\w\.\-:]/)&&M.eat(";"),U?"atom":"error"}else return M.eatWhile(/[^&<]/),null}o.isInText=!0;function r(M,R){var F=M.next();if(F==">"||F=="/"&&M.eat(">"))return R.tokenize=o,i=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return i="equals",null;if(F=="<"){R.tokenize=o,R.state=y,R.tagName=R.tagStart=null;var L=R.tokenize(M,R);return L?L+" tag error":"tag error"}else return/[\'\"]/.test(F)?(R.tokenize=u(F),R.stringStartCol=M.column(),R.tokenize(M,R)):(M.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function u(M){var R=function(L,U){for(;!L.eol();)if(L.next()==M){U.tokenize=r;break}return"string"};return R.isInAttribute=!0,R}function n(M,R){return function(F,L){for(;!F.eol();){if(F.match(R)){L.tokenize=o;break}F.next()}return M}}function l(M){return function(R,F){for(var L;(L=R.next())!=null;){if(L=="<")return F.tokenize=l(M+1),F.tokenize(R,F);if(L==">")if(M==1){F.tokenize=o;break}else return F.tokenize=l(M-1),F.tokenize(R,F)}return"meta"}}function a(M){return M&&M.toLowerCase()}function c(M,R,F){this.prev=M.context,this.tagName=R||"",this.indent=M.indented,this.startOfLine=F,(C.doNotIndent.hasOwnProperty(R)||M.context&&M.context.noIndent)&&(this.noIndent=!0)}function d(M){M.context&&(M.context=M.context.prev)}function h(M,R){for(var F;;){if(!M.context||(F=M.context.tagName,!C.contextGrabbers.hasOwnProperty(a(F))||!C.contextGrabbers[a(F)].hasOwnProperty(a(R))))return;d(M)}}function y(M,R,F){return M=="openTag"?(F.tagStart=R.column(),A):M=="closeTag"?v:y}function A(M,R,F){return M=="word"?(F.tagName=R.current(),s="tag",m):C.allowMissingTagName&&M=="endTag"?(s="tag bracket",m(M,R,F)):(s="error",A)}function v(M,R,F){if(M=="word"){var L=R.current();return F.context&&F.context.tagName!=L&&C.implicitlyClosed.hasOwnProperty(a(F.context.tagName))&&d(F),F.context&&F.context.tagName==L||C.matchClosing===!1?(s="tag",g):(s="tag error",x)}else return C.allowMissingTagName&&M=="endTag"?(s="tag bracket",g(M,R,F)):(s="error",x)}function g(M,R,F){return M!="endTag"?(s="error",g):(d(F),y)}function x(M,R,F){return s="error",g(M,R,F)}function m(M,R,F){if(M=="word")return s="attribute",b;if(M=="endTag"||M=="selfcloseTag"){var L=F.tagName,U=F.tagStart;return F.tagName=F.tagStart=null,M=="selfcloseTag"||C.autoSelfClosers.hasOwnProperty(a(L))?h(F,L):(h(F,L),F.context=new c(F,L,U==F.indented)),y}return s="error",m}function b(M,R,F){return M=="equals"?S:(C.allowMissing||(s="error"),m(M,R,F))}function S(M,R,F){return M=="string"?P:M=="word"&&C.allowUnquoted?(s="string",m):(s="error",m(M,R,F))}function P(M,R,F){return M=="string"?P:m(M,R,F)}return{startState:function(R){var F={tokenize:o,state:y,indented:R||0,tagName:null,tagStart:null,context:null};return R!=null&&(F.baseIndent=R),F},token:function(R,F){if(!F.tagName&&R.sol()&&(F.indented=R.indentation()),R.eatSpace())return null;i=null;var L=F.tokenize(R,F);return(L||i)&&L!="comment"&&(s=null,F.state=F.state(i||L,R,F),s&&(L=s=="error"?L+" error":s)),L},indent:function(R,F,L){var U=R.context;if(R.tokenize.isInAttribute)return R.tagStart==R.indented?R.stringStartCol+1:R.indented+E;if(U&&U.noIndent)return B.Pass;if(R.tokenize!=r&&R.tokenize!=o)return L?L.match(/^(\s*)/)[0].length:0;if(R.tagName)return C.multilineTagIndentPastTag!==!1?R.tagStart+R.tagName.length+2:R.tagStart+E*(C.multilineTagIndentFactor||1);if(C.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var N=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(N&&N[1])for(;U;)if(U.tagName==N[2]){U=U.prev;break}else if(C.implicitlyClosed.hasOwnProperty(a(U.tagName)))U=U.prev;else break;else if(N)for(;U;){var Q=C.contextGrabbers[a(U.tagName)];if(Q&&Q.hasOwnProperty(a(N[2])))U=U.prev;else break}for(;U&&U.prev&&!U.startOfLine;)U=U.prev;return U?U.indent+E:R.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:C.htmlMode?"html":"xml",helperType:C.htmlMode?"html":"xml",skipAttribute:function(R){R.state==S&&(R.state=m)},xmlCurrentTag:function(R){return R.tagName?{name:R.tagName,close:R.type=="closeTag"}:null},xmlCurrentContext:function(R){for(var F=[],L=R.context;L;L=L.prev)F.push(L.tagName);return F.reverse()}}}),B.defineMIME("text/xml","xml"),B.defineMIME("application/xml","xml"),B.mimeModes.hasOwnProperty("text/html")||B.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(oe,V,e){(function(B,T){(function(w,D){oe.exports=D(e("5RHE"),e("wOnQ"))})(this,function(w,D){"use strict";w=w&&w.hasOwnProperty("default")?w.default:w,D=D&&D.hasOwnProperty("default")?D.default:D;var I=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},E=Object.assign||function(A){for(var v=1;v<arguments.length;v++){var g=arguments[v];for(var x in g)Object.prototype.hasOwnProperty.call(g,x)&&(A[x]=g[x])}return A},C=function(v){var g=typeof v=="undefined"?"undefined":I(v);return g==="undefined"?"undefined":g==="string"||v instanceof String?"string":g==="number"||v instanceof Number?"number":g==="function"||v instanceof Function?"function":!!v&&v.constructor===Array?"array":v&&v.nodeType===1?"element":g==="object"?"object":"unknown"},f=function(v,g){var x=document.createElement(v);if(g.className&&(x.className=g.className),g.innerHTML){x.innerHTML=g.innerHTML;for(var m=x.getElementsByTagName("script"),b=m.length;b-- >0;null)m[b].parentNode.removeChild(m[b])}for(var S in g.style)x.style[S]=g.style[S];return x},t=function A(v,g){for(var x=v.nodeType===3?document.createTextNode(v.nodeValue):v.cloneNode(!1),m=v.firstChild;m;m=m.nextSibling)(g===!0||m.nodeType!==1||m.nodeName!=="SCRIPT")&&x.appendChild(A(m,g));return v.nodeType===1&&(v.nodeName==="CANVAS"?(x.width=v.width,x.height=v.height,x.getContext("2d").drawImage(v,0,0)):(v.nodeName==="TEXTAREA"||v.nodeName==="SELECT")&&(x.value=v.value),x.addEventListener("load",function(){x.scrollTop=v.scrollTop,x.scrollLeft=v.scrollLeft},!0)),x},i=function(v,g){if(C(v)==="number")return v*72/96/g;var x={};for(var m in v)x[m]=v[m]*72/96/g;return x},s=function(v,g){return Math.floor(v*g/72*96)},o=typeof window!="undefined"?window:typeof B!="undefined"?B:typeof self!="undefined"?self:{};function r(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function u(A,v){return v={exports:{}},A(v,v.exports),v.exports}var n=u(function(A,v){/*!
|
|
|
* @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(g,x){A.exports=x()})(o,function(){function g(te){var be=typeof te;return te!==null&&(be==="object"||be==="function")}function x(te){return typeof te=="function"}var m=void 0;Array.isArray?m=Array.isArray:m=function(be){return Object.prototype.toString.call(be)==="[object Array]"};var b=m,S=0,P=void 0,M=void 0,R=function(be,xe){fe[S]=be,fe[S+1]=xe,S+=2,S===2&&(M?M(Ce):de())};function F(te){M=te}function L(te){R=te}var U=typeof window!="undefined"?window:void 0,N=U||{},Q=N.MutationObserver||N.WebKitMutationObserver,z=typeof self=="undefined"&&typeof T!="undefined"&&{}.toString.call(T)==="[object process]",_=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function J(){return function(){return T.nextTick(Ce)}}function Y(){return typeof P!="undefined"?function(){P(Ce)}:ie()}function k(){var te=0,be=new Q(Ce),xe=document.createTextNode("");return be.observe(xe,{characterData:!0}),function(){xe.data=te=++te%2}}function W(){var te=new MessageChannel;return te.port1.onmessage=Ce,function(){return te.port2.postMessage(0)}}function ie(){var te=setTimeout;return function(){return te(Ce,1)}}var fe=new Array(1e3);function Ce(){for(var te=0;te<S;te+=2){var be=fe[te],xe=fe[te+1];be(xe),fe[te]=void 0,fe[te+1]=void 0}S=0}function ge(){try{var te=Function("return this")().require("vertx");return P=te.runOnLoop||te.runOnContext,Y()}catch(be){return ie()}}var de=void 0;z?de=J():Q?de=k():_?de=W():U===void 0&&typeof r=="function"?de=ge():de=ie();function Pe(te,be){var xe=this,Z=new this.constructor(He);Z[Ne]===void 0&&It(Z);var se=xe._state;if(se){var he=arguments[se-1];R(function(){return Ot(se,Z,he,xe._result)})}else ft(xe,Z,te,be);return Z}function _e(te){var be=this;if(te&&typeof te=="object"&&te.constructor===be)return te;var xe=new be(He);return $e(xe,te),xe}var Ne=Math.random().toString(36).substring(2);function He(){}var ue=void 0,Re=1,nt=2,Ve={error:null};function Ge(){return new TypeError("You cannot resolve a promise with itself")}function dt(){return new TypeError("A promises callback cannot return that same promise.")}function et(te){try{return te.then}catch(be){return Ve.error=be,Ve}}function At(te,be,xe,Z){try{te.call(be,xe,Z)}catch(se){return se}}function Dt(te,be,xe){R(function(Z){var se=!1,he=At(xe,be,function(Oe){se||(se=!0,be!==Oe?$e(Z,Oe):Ut(Z,Oe))},function(Oe){se||(se=!0,gt(Z,Oe))},"Settle: "+(Z._label||" unknown promise"));!se&&he&&(se=!0,gt(Z,he))},te)}function Ft(te,be){be._state===Re?Ut(te,be._result):be._state===nt?gt(te,be._result):ft(be,void 0,function(xe){return $e(te,xe)},function(xe){return gt(te,xe)})}function St(te,be,xe){be.constructor===te.constructor&&xe===Pe&&be.constructor.resolve===_e?Ft(te,be):xe===Ve?(gt(te,Ve.error),Ve.error=null):xe===void 0?Ut(te,be):x(xe)?Dt(te,be,xe):Ut(te,be)}function $e(te,be){te===be?gt(te,Ge()):g(be)?St(te,be,et(be)):Ut(te,be)}function lt(te){te._onerror&&te._onerror(te._result),rt(te)}function Ut(te,be){te._state===ue&&(te._result=be,te._state=Re,te._subscribers.length!==0&&R(rt,te))}function gt(te,be){te._state===ue&&(te._state=nt,te._result=be,R(lt,te))}function ft(te,be,xe,Z){var se=te._subscribers,he=se.length;te._onerror=null,se[he]=be,se[he+Re]=xe,se[he+nt]=Z,he===0&&te._state&&R(rt,te)}function rt(te){var be=te._subscribers,xe=te._state;if(be.length!==0){for(var Z=void 0,se=void 0,he=te._result,Oe=0;Oe<be.length;Oe+=3)Z=be[Oe],se=be[Oe+xe],Z?Ot(xe,Z,se,he):se(he);te._subscribers.length=0}}function Ie(te,be){try{return te(be)}catch(xe){return Ve.error=xe,Ve}}function Ot(te,be,xe,Z){var se=x(xe),he=void 0,Oe=void 0,ne=void 0,ce=void 0;if(se){if(he=Ie(xe,Z),he===Ve?(ce=!0,Oe=he.error,he.error=null):ne=!0,be===he){gt(be,dt());return}}else he=Z,ne=!0;be._state!==ue||(se&&ne?$e(be,he):ce?gt(be,Oe):te===Re?Ut(be,he):te===nt&>(be,he))}function Xt(te,be){try{be(function(Z){$e(te,Z)},function(Z){gt(te,Z)})}catch(xe){gt(te,xe)}}var Vt=0;function bt(){return Vt++}function It(te){te[Ne]=Vt++,te._state=void 0,te._result=void 0,te._subscribers=[]}function Kt(){return new Error("Array Methods must be provided an Array")}var Se=function(){function te(be,xe){this._instanceConstructor=be,this.promise=new be(He),this.promise[Ne]||It(this.promise),b(xe)?(this.length=xe.length,this._remaining=xe.length,this._result=new Array(this.length),this.length===0?Ut(this.promise,this._result):(this.length=this.length||0,this._enumerate(xe),this._remaining===0&&Ut(this.promise,this._result))):gt(this.promise,Kt())}return te.prototype._enumerate=function(xe){for(var Z=0;this._state===ue&&Z<xe.length;Z++)this._eachEntry(xe[Z],Z)},te.prototype._eachEntry=function(xe,Z){var se=this._instanceConstructor,he=se.resolve;if(he===_e){var Oe=et(xe);if(Oe===Pe&&xe._state!==ue)this._settledAt(xe._state,Z,xe._result);else if(typeof Oe!="function")this._remaining--,this._result[Z]=xe;else if(se===ze){var ne=new se(He);St(ne,xe,Oe),this._willSettleAt(ne,Z)}else this._willSettleAt(new se(function(ce){return ce(xe)}),Z)}else this._willSettleAt(he(xe),Z)},te.prototype._settledAt=function(xe,Z,se){var he=this.promise;he._state===ue&&(this._remaining--,xe===nt?gt(he,se):this._result[Z]=se),this._remaining===0&&Ut(he,this._result)},te.prototype._willSettleAt=function(xe,Z){var se=this;ft(xe,void 0,function(he){return se._settledAt(Re,Z,he)},function(he){return se._settledAt(nt,Z,he)})},te}();function Ye(te){return new Se(this,te).promise}function q(te){var be=this;return b(te)?new be(function(xe,Z){for(var se=te.length,he=0;he<se;he++)be.resolve(te[he]).then(xe,Z)}):new be(function(xe,Z){return Z(new TypeError("You must pass an array to race."))})}function Ae(te){var be=this,xe=new be(He);return gt(xe,te),xe}function Me(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function De(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ze=function(){function te(be){this[Ne]=bt(),this._result=this._state=void 0,this._subscribers=[],He!==be&&(typeof be!="function"&&Me(),this instanceof te?Xt(this,be):De())}return te.prototype.catch=function(xe){return this.then(null,xe)},te.prototype.finally=function(xe){var Z=this,se=Z.constructor;return x(xe)?Z.then(function(he){return se.resolve(xe()).then(function(){return he})},function(he){return se.resolve(xe()).then(function(){throw he})}):Z.then(xe,xe)},te}();ze.prototype.then=Pe,ze.all=Ye,ze.race=q,ze.resolve=_e,ze.reject=Ae,ze._setScheduler=F,ze._setAsap=L,ze._asap=R;function pe(){var te=void 0;if(typeof o!="undefined")te=o;else if(typeof self!="undefined")te=self;else try{te=Function("return this")()}catch(Z){throw new Error("polyfill failed because global object is unavailable in this environment")}var be=te.Promise;if(be){var xe=null;try{xe=Object.prototype.toString.call(be.resolve())}catch(Z){}if(xe==="[object Promise]"&&!be.cast)return}te.Promise=ze}return ze.polyfill=pe,ze.Promise=ze,ze})}),l=n.Promise,a=function A(v){var g=E(A.convert(l.resolve()),JSON.parse(JSON.stringify(A.template))),x=A.convert(l.resolve(),g);return x=x.setProgress(1,A,1,[A]),x=x.set(v),x};a.prototype=Object.create(l.prototype),a.prototype.constructor=a,a.convert=function(v,g){return v.__proto__=g||a.prototype,v},a.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:{}}},a.prototype.from=function(v,g){function x(m){switch(C(m)){case"string":return"string";case"element":return m.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(g=g||x(v),g){case"string":return this.set({src:f("div",{innerHTML:v})});case"element":return this.set({src:v});case"canvas":return this.set({canvas:v});case"img":return this.set({img:v});default:return this.error("Unknown source type.")}})},a.prototype.to=function(v){switch(v){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.")}},a.prototype.toContainer=function(){var v=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(v).then(function(){var x={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},m={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};x.opacity=0;var b=t(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=f("div",{className:"html2pdf__overlay",style:x}),this.prop.container=f("div",{className:"html2pdf__container",style:m}),this.prop.container.appendChild(b),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},a.prototype.toCanvas=function(){var v=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(v).then(function(){var x=E({},this.opt.html2canvas);return delete x.onrendered,D(this.prop.container,x)}).then(function(x){var m=this.opt.html2canvas.onrendered||function(){};m(x),this.prop.canvas=x,document.body.removeChild(this.prop.overlay)})},a.prototype.toImg=function(){var v=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(v).then(function(){var x=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=x})},a.prototype.toPdf=function(){var v=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(v).then(function(){var x=this.prop.canvas,m=this.opt,b=x.height,S=Math.floor(x.width*this.prop.pageSize.inner.ratio),P=Math.ceil(b/S),M=this.prop.pageSize.inner.height,R=document.createElement("canvas"),F=R.getContext("2d");R.width=x.width,R.height=S,this.prop.pdf=this.prop.pdf||new w(m.jsPDF);for(var L=0;L<P;L++){L===P-1&&b%S!=0&&(R.height=b%S,M=R.height*this.prop.pageSize.inner.width/R.width);var U=R.width,N=R.height;F.fillStyle="white",F.fillRect(0,0,U,N),F.drawImage(x,0,L*S,U,N,0,0,U,N),L&&this.prop.pdf.addPage();var Q=R.toDataURL("image/"+m.image.type,m.image.quality);this.prop.pdf.addImage(Q,m.image.type,m.margin[1],m.margin[0],this.prop.pageSize.inner.width,M)}})},a.prototype.output=function(v,g,x){return x=x||"pdf",x.toLowerCase()==="img"||x.toLowerCase()==="image"?this.outputImg(v,g):this.outputPdf(v,g)},a.prototype.outputPdf=function(v,g){var x=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(x).then(function(){return this.prop.pdf.output(v,g)})},a.prototype.outputImg=function(v,g){var x=[function(){return this.prop.img||this.toImg()}];return this.thenList(x).then(function(){switch(v){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 "'+v+'" is not supported.'}})},a.prototype.save=function(v){var g=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(g).set(v?{filename:v}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},a.prototype.set=function(v){if(C(v)!=="object")return this;var g=Object.keys(v||{}).map(function(x){if(x in a.template.prop)return function(){this.prop[x]=v[x]};switch(x){case"margin":return this.setMargin.bind(this,v.margin);case"jsPDF":return function(){return this.opt.jsPDF=v.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,v.pageSize);default:return function(){this.opt[x]=v[x]}}},this);return this.then(function(){return this.thenList(g)})},a.prototype.get=function(v,g){return this.then(function(){var m=v in a.template.prop?this.prop[v]:this.opt[v];return g?g(m):m})},a.prototype.setMargin=function(v){return this.then(function(){switch(C(v)){case"number":v=[v,v,v,v];case"array":if(v.length===2&&(v=[v[0],v[1],v[0],v[1]]),v.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=v}).then(this.setPageSize)},a.prototype.setPageSize=function(v){return this.then(function(){v=v||w.getPageSize(this.opt.jsPDF),v.hasOwnProperty("inner")||(v.inner={width:v.width-this.opt.margin[1]-this.opt.margin[3],height:v.height-this.opt.margin[0]-this.opt.margin[2]},v.inner.px={width:s(v.inner.width,v.k),height:s(v.inner.height,v.k)},v.inner.ratio=v.inner.height/v.inner.width),this.prop.pageSize=v})},a.prototype.setProgress=function(v,g,x,m){return v!=null&&(this.progress.val=v),g!=null&&(this.progress.state=g),x!=null&&(this.progress.n=x),m!=null&&(this.progress.stack=m),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(v,g,x,m){return this.setProgress(v?this.progress.val+v:null,g||null,x?this.progress.n+x:null,m?this.progress.stack.concat(m):null)},a.prototype.then=function(v,g){var x=this;return this.thenCore(v,g,function(b,S){return x.updateProgress(null,null,1,[b]),l.prototype.then.call(this,function(M){return x.updateProgress(null,b),M}).then(b,S).then(function(M){return x.updateProgress(1),M})})},a.prototype.thenCore=function(v,g,x){x=x||l.prototype.then;var m=this;v&&(v=v.bind(m)),g&&(g=g.bind(m));var b=l.toString().indexOf("[native code]")!==-1&&l.name==="Promise",S=b?m:a.convert(E({},m),l.prototype),P=x.call(S,v,g);return a.convert(P,m.__proto__)},a.prototype.thenExternal=function(v,g){return l.prototype.then.call(this,v,g)},a.prototype.thenList=function(v){var g=this;return v.forEach(function(m){g=g.thenCore(m)}),g},a.prototype.catch=function(A){A&&(A=A.bind(this));var v=l.prototype.catch.call(this,A);return a.convert(v,this)},a.prototype.catchExternal=function(v){return l.prototype.catch.call(this,v)},a.prototype.error=function(v){return this.then(function(){throw new Error(v)})},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,w.getPageSize=function(A,v,g){if((typeof A=="undefined"?"undefined":I(A))==="object"){var x=A;A=x.orientation,v=x.unit||v,g=x.format||g}v=v||"mm",g=g||"a4",A=(""+(A||"P")).toLowerCase();var m=(""+g).toLowerCase(),b={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(v){case"pt":var S=1;break;case"mm":var S=72/25.4;break;case"cm":var S=72/2.54;break;case"in":var S=72;break;case"px":var S=72/96;break;case"pc":var S=12;break;case"em":var S=12;break;case"ex":var S=6;break;default:throw"Invalid unit: "+v}if(b.hasOwnProperty(m))var P=b[m][1]/S,M=b[m][0]/S;else try{var P=g[1],M=g[0]}catch(L){throw new Error("Invalid format: "+g)}if(A==="p"||A==="portrait"){if(A="p",M>P){var R=M;M=P,P=R}}else if(A==="l"||A==="landscape"){if(A="l",P>M){var R=M;M=P,P=R}}else throw"Invalid orientation: "+A;var F={width:M,height:P,unit:v,k:S};return F};var c={toContainer:a.prototype.toContainer};a.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},a.prototype.toContainer=function(){return c.toContainer.call(this).then(function(){var g=this.prop.container,x=this.prop.pageSize.inner.px.height,m=[].concat(this.opt.pagebreak.mode),b={avoidAll:m.indexOf("avoid-all")!==-1,css:m.indexOf("css")!==-1,legacy:m.indexOf("legacy")!==-1},S={},P=this;["before","after","avoid"].forEach(function(F){var L=b.avoidAll&&F==="avoid";S[F]=L?[]:[].concat(P.opt.pagebreak[F]||[]),S[F].length>0&&(S[F]=Array.prototype.slice.call(g.querySelectorAll(S[F].join(", "))))});var M=g.querySelectorAll(".html2pdf__page-break");M=Array.prototype.slice.call(M);var R=g.querySelectorAll("*");Array.prototype.forEach.call(R,function(L){var U={before:!1,after:b.legacy&&M.indexOf(L)!==-1,avoid:b.avoidAll};if(b.css){var N=window.getComputedStyle(L),Q=["always","page","left","right"],z=["avoid","avoid-page"];U={before:U.before||Q.indexOf(N.breakBefore||N.pageBreakBefore)!==-1,after:U.after||Q.indexOf(N.breakAfter||N.pageBreakAfter)!==-1,avoid:U.avoid||z.indexOf(N.breakInside||N.pageBreakInside)!==-1}}Object.keys(U).forEach(function(ie){U[ie]=U[ie]||S[ie].indexOf(L)!==-1});var _=L.getBoundingClientRect();if(U.avoid&&!U.before){var J=Math.floor(_.top/x),Y=Math.floor(_.bottom/x),k=Math.abs(_.bottom-_.top)/x;Y!==J&&k<=1&&(U.before=!0)}if(U.before){var W=f("div",{style:{display:"block",height:x-_.top%x+"px"}});L.parentNode.insertBefore(W,L)}if(U.after){var W=f("div",{style:{display:"block",height:x-_.bottom%x+"px"}});L.parentNode.insertBefore(W,L.nextSibling)}})})};var d=[],h={toContainer:a.prototype.toContainer,toPdf:a.prototype.toPdf};a.prototype.toContainer=function(){return h.toContainer.call(this).then(function(){if(this.opt.enableLinks){var g=this.prop.container,x=g.querySelectorAll("a"),m=i(g.getBoundingClientRect(),this.prop.pageSize.k);d=[],Array.prototype.forEach.call(x,function(b){for(var S=b.getClientRects(),P=0;P<S.length;P++){var M=i(S[P],this.prop.pageSize.k);M.left-=m.left,M.top-=m.top;var R=Math.floor(M.top/this.prop.pageSize.inner.height)+1,F=this.opt.margin[0]+M.top%this.prop.pageSize.inner.height,L=this.opt.margin[1]+M.left;d.push({page:R,top:F,left:L,clientRect:M,link:b})}},this)}})},a.prototype.toPdf=function(){return h.toPdf.call(this).then(function(){if(this.opt.enableLinks){d.forEach(function(x){this.prop.pdf.setPage(x.page),this.prop.pdf.link(x.left,x.top,x.clientRect.width,x.clientRect.height,{url:x.link.href})},this);var g=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(g)}})};var y=function A(v,g){var x=new A.Worker(g);return v?x.from(v).save():x};return y.Worker=a,y})}).call(this,e("IyRk"),e("Q2Ig"))},"1tlw":function(oe,V,e){var B=e("MBQ8"),T=B.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(D){return D.stack=null,T.superApply(this,"getInitialData",arguments)}}),w=T;oe.exports=w},"1u/T":function(oe,V,e){var B=e("ProS"),T={type:"selectDataRange",event:"dataRangeSelected",update:"update"};B.registerAction(T,function(w,D){D.eachComponent({mainType:"visualMap",query:w},function(I){I.setSelected(w.selected)})})},"1vzs":function(oe,V,e){"use strict";e.d(V,"a",function(){return t});var B=e("bRQS"),T=e("jN4g"),w=e("4i/N"),D=e("8Skl"),I=e("ye1Q"),E=e("l+S1"),C=e("q1tI"),f=e.n(C);function t(i){var s=i.suffixIcon,o=i.clearIcon,r=i.menuItemSelectedIcon,u=i.removeIcon,n=i.loading,l=i.multiple,a=i.hasFeedback,c=i.prefixCls,d=i.showArrow,h=i.feedbackIcon,y=o!=null?o:C.createElement(T.a,null),A=function(S){return C.createElement(C.Fragment,null,d!==!1&&S,a&&h)},v=null;if(s!==void 0)v=A(s);else if(n)v=A(C.createElement(I.a,{spin:!0}));else{var g="".concat(c,"-suffix");v=function(S){var P=S.open,M=S.showSearch;return A(P&&M?C.createElement(E.a,{className:g}):C.createElement(D.a,{className:g}))}}var x=null;r!==void 0?x=r:l?x=C.createElement(B.a,null):x=null;var m=null;return u!==void 0?m=u:m=C.createElement(w.a,null),{clearIcon:y,suffixIcon:v,itemIcon:x,removeIcon:m}}},"1xaR":function(oe,V,e){var B=e("ProS"),T=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var w=e("mOdp"),D=e("y3NT"),I=e("0/Rx");B.registerVisual(T.curry(w,"sunburst")),B.registerLayout(T.curry(D,"sunburst")),B.registerProcessor(T.curry(I,"sunburst"))},"24YM":function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.SensorTabIndex=V.SensorClassName=V.SizeSensorId=void 0;var B="size-sensor-id";V.SizeSensorId=B;var T="size-sensor-object";V.SensorClassName=T;var w="-1";V.SensorTabIndex=w},"2548":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("6GrX"),D=e("IUWy"),I=e("IwbS"),E=e("Qxkt"),C=e("gPAo"),f=e("eRkO"),t=B.extendComponentView({type:"toolbox",render:function(s,o,r,u){var n=this.group;if(n.removeAll(),!s.get("show"))return;var l=+s.get("itemSize"),a=s.get("feature")||{},c=this._features||(this._features={}),d=[];T.each(a,function(A,v){d.push(v)}),new C(this._featureNames||[],d).add(h).update(h).remove(T.curry(h,null)).execute(),this._featureNames=d;function h(A,v){var g=d[A],x=d[v],m=a[g],b=new E(m,s,s.ecModel),S;if(u&&u.newTitle!=null&&u.featureName===g&&(m.title=u.newTitle),g&&!x){if(i(g))S={model:b,onclick:b.option.onclick,featureName:g};else{var P=D.get(g);if(!P)return;S=new P(b,o,r)}c[g]=S}else{if(S=c[x],!S)return;S.model=b,S.ecModel=o,S.api=r}if(!g&&x){S.dispose&&S.dispose(o,r);return}if(!b.get("show")||S.unusable){S.remove&&S.remove(o,r);return}y(b,S,g),b.setIconStatus=function(M,R){var F=this.option,L=this.iconPaths;F.iconStatus=F.iconStatus||{},F.iconStatus[M]=R,L[M]&&L[M].trigger(R)},S.render&&S.render(b,o,r,u)}function y(A,v,g){var x=A.getModel("iconStyle"),m=A.getModel("emphasis.iconStyle"),b=v.getIcons?v.getIcons():A.get("icon"),S=A.get("title")||{};if(typeof b=="string"){var P=b,M=S;b={},S={},b[g]=P,S[g]=M}var R=A.iconPaths={};T.each(b,function(F,L){var U=I.createIcon(F,{},{x:-l/2,y:-l/2,width:l,height:l});U.setStyle(x.getItemStyle()),U.hoverStyle=m.getItemStyle(),U.setStyle({text:S[L],textAlign:m.get("textAlign"),textBorderRadius:m.get("textBorderRadius"),textPadding:m.get("textPadding"),textFill:null});var N=s.getModel("tooltip");N&&N.get("show")&&U.attr("tooltip",T.extend({content:S[L],formatter:N.get("formatter",!0)||function(){return S[L]},formatterParams:{componentType:"toolbox",name:L,title:S[L],$vars:["name","title"]},position:N.get("position",!0)||"bottom"},N.option)),I.setHoverStyle(U),s.get("showTitle")&&(U.__title=S[L],U.on("mouseover",function(){var Q=m.getItemStyle(),z=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";U.setStyle({textFill:m.get("textFill")||Q.fill||Q.stroke||"#000",textBackgroundColor:m.get("textBackgroundColor"),textPosition:m.get("textPosition")||z})}).on("mouseout",function(){U.setStyle({textFill:null,textBackgroundColor:null})})),U.trigger(A.get("iconStatus."+L)||"normal"),n.add(U),U.on("click",T.bind(v.onclick,v,o,r,L)),R[L]=U})}f.layout(n,s,r),n.add(f.makeBackground(n.getBoundingRect(),s)),n.eachChild(function(A){var v=A.__title,g=A.hoverStyle;if(g&&v){var x=w.getBoundingRect(v,w.makeFont(g)),m=A.position[0]+n.position[0],b=A.position[1]+n.position[1]+l,S=!1;b+x.height>r.getHeight()&&(g.textPosition="top",S=!0);var P=S?-5-x.height:l+8;m+x.width/2>r.getWidth()?(g.textPosition=["100%",P],g.textAlign="right"):m-x.width/2<0&&(g.textPosition=[0,P],g.textAlign="left")}})},updateView:function(s,o,r,u){T.each(this._features,function(n){n.updateView&&n.updateView(n.model,o,r,u)})},remove:function(s,o){T.each(this._features,function(r){r.remove&&r.remove(s,o)}),this.group.removeAll()},dispose:function(s,o){T.each(this._features,function(r){r.dispose&&r.dispose(s,o)})}});function i(s){return s.indexOf("my")===0}oe.exports=t},"2B6p":function(oe,V){function e(B,T,w){var D=B.getZoom(),I=B.getCenter(),E=T.zoom,C=B.dataToPoint(I);if(T.dx!=null&&T.dy!=null){C[0]-=T.dx,C[1]-=T.dy;var I=B.pointToData(C);B.setCenter(I)}if(E!=null){if(w){var f=w.min||0,t=w.max||Infinity;E=Math.max(Math.min(D*E,t),f)/D}B.scale[0]*=E,B.scale[1]*=E;var i=B.position,s=(T.originX-i[0])*(E-1),o=(T.originY-i[1])*(E-1);i[0]-=s,i[1]-=o,B.updateTransform();var I=B.pointToData(C);B.setCenter(I),B.setZoom(E*D)}return{center:B.getCenter(),zoom:B.getZoom()}}V.updateCenterAndZoom=e},"2DNl":function(oe,V,e){var B=e("IMiH"),T=e("loD1"),w=e("59Ip"),D=e("aKvl"),I=e("n1HI"),E=e("hX1E"),C=E.normalizeRadian,f=e("Sj9i"),t=e("hyiK"),i=B.CMD,s=Math.PI*2,o=1e-4;function r(v,g){return Math.abs(v-g)<o}var u=[-1,-1,-1],n=[-1,-1];function l(){var v=n[0];n[0]=n[1],n[1]=v}function a(v,g,x,m,b,S,P,M,R,F){if(F>g&&F>m&&F>S&&F>M||F<g&&F<m&&F<S&&F<M)return 0;var L=f.cubicRootAt(g,m,S,M,F,u);if(L===0)return 0;for(var U=0,N=-1,Q,z,_=0;_<L;_++){var J=u[_],Y=J===0||J===1?.5:1,k=f.cubicAt(v,x,b,P,J);k<R||(N<0&&(N=f.cubicExtrema(g,m,S,M,n),n[1]<n[0]&&N>1&&l(),Q=f.cubicAt(g,m,S,M,n[0]),N>1&&(z=f.cubicAt(g,m,S,M,n[1]))),N===2?J<n[0]?U+=Q<g?Y:-Y:J<n[1]?U+=z<Q?Y:-Y:U+=M<z?Y:-Y:J<n[0]?U+=Q<g?Y:-Y:U+=M<Q?Y:-Y)}return U}function c(v,g,x,m,b,S,P,M){if(M>g&&M>m&&M>S||M<g&&M<m&&M<S)return 0;var R=f.quadraticRootAt(g,m,S,M,u);if(R===0)return 0;var F=f.quadraticExtremum(g,m,S);if(F>=0&&F<=1){for(var L=0,U=f.quadraticAt(g,m,S,F),N=0;N<R;N++){var Q=u[N]===0||u[N]===1?.5:1,z=f.quadraticAt(v,x,b,u[N]);z<P||(u[N]<F?L+=U<g?Q:-Q:L+=S<U?Q:-Q)}return L}else{var Q=u[0]===0||u[0]===1?.5:1,z=f.quadraticAt(v,x,b,u[0]);return z<P?0:S<g?Q:-Q}}function d(v,g,x,m,b,S,P,M){if(M-=g,M>x||M<-x)return 0;var R=Math.sqrt(x*x-M*M);u[0]=-R,u[1]=R;var F=Math.abs(m-b);if(F<1e-4)return 0;if(F%s<1e-4){m=0,b=s;var L=S?1:-1;return P>=u[0]+v&&P<=u[1]+v?L:0}if(S){var R=m;m=C(b),b=C(R)}else m=C(m),b=C(b);m>b&&(b+=s);for(var U=0,N=0;N<2;N++){var Q=u[N];if(Q+v>P){var z=Math.atan2(M,Q),L=S?1:-1;z<0&&(z=s+z),(z>=m&&z<=b||z+s>=m&&z+s<=b)&&(z>Math.PI/2&&z<Math.PI*1.5&&(L=-L),U+=L)}}return U}function h(v,g,x,m,b){for(var S=0,P=0,M=0,R=0,F=0,L=0;L<v.length;){var U=v[L++];switch(U===i.M&&L>1&&(x||(S+=t(P,M,R,F,m,b))),L===1&&(P=v[L],M=v[L+1],R=P,F=M),U){case i.M:R=v[L++],F=v[L++],P=R,M=F;break;case i.L:if(x){if(T.containStroke(P,M,v[L],v[L+1],g,m,b))return!0}else S+=t(P,M,v[L],v[L+1],m,b)||0;P=v[L++],M=v[L++];break;case i.C:if(x){if(w.containStroke(P,M,v[L++],v[L++],v[L++],v[L++],v[L],v[L+1],g,m,b))return!0}else S+=a(P,M,v[L++],v[L++],v[L++],v[L++],v[L],v[L+1],m,b)||0;P=v[L++],M=v[L++];break;case i.Q:if(x){if(D.containStroke(P,M,v[L++],v[L++],v[L],v[L+1],g,m,b))return!0}else S+=c(P,M,v[L++],v[L++],v[L],v[L+1],m,b)||0;P=v[L++],M=v[L++];break;case i.A:var N=v[L++],Q=v[L++],z=v[L++],_=v[L++],J=v[L++],Y=v[L++];L+=1;var k=1-v[L++],W=Math.cos(J)*z+N,ie=Math.sin(J)*_+Q;L>1?S+=t(P,M,W,ie,m,b):(R=W,F=ie);var fe=(m-N)*_/z+N;if(x){if(I.containStroke(N,Q,_,J,J+Y,k,g,fe,b))return!0}else S+=d(N,Q,_,J,J+Y,k,fe,b);P=Math.cos(J+Y)*z+N,M=Math.sin(J+Y)*_+Q;break;case i.R:R=P=v[L++],F=M=v[L++];var Ce=v[L++],ge=v[L++],W=R+Ce,ie=F+ge;if(x){if(T.containStroke(R,F,W,F,g,m,b)||T.containStroke(W,F,W,ie,g,m,b)||T.containStroke(W,ie,R,ie,g,m,b)||T.containStroke(R,ie,R,F,g,m,b))return!0}else S+=t(W,F,W,ie,m,b),S+=t(R,ie,R,F,m,b);break;case i.Z:if(x){if(T.containStroke(P,M,R,F,g,m,b))return!0}else S+=t(P,M,R,F,m,b);P=R,M=F;break}}return!x&&!r(M,F)&&(S+=t(P,M,R,F,m,b)||0),S!==0}function y(v,g,x){return h(v,0,!1,g,x)}function A(v,g,x,m){return h(v,g,!0,x,m)}V.contain=y,V.containStroke=A},"2dDv":function(oe,V,e){var B=e("bYtY"),T=e("Fofx"),w=e("+TT/"),D=e("aX7z"),I=e("D1WM"),E=e("IwbS"),C=e("OELB"),f=e("72pK"),t=B.each,i=Math.min,s=Math.max,o=Math.floor,r=Math.ceil,u=C.round,n=Math.PI;function l(y,A,v){this._axesMap=B.createHashMap(),this._axesLayout={},this.dimensions=y.dimensions,this._rect,this._model=y,this._init(y,A,v)}l.prototype={type:"parallel",constructor:l,_init:function(y,A,v){var g=y.dimensions,x=y.parallelAxisIndex;t(g,function(m,b){var S=x[b],P=A.getComponent("parallelAxis",S),M=this._axesMap.set(m,new I(m,D.createScaleByModel(P),[0,0],P.get("type"),S)),R=M.type==="category";M.onBand=R&&P.get("boundaryGap"),M.inverse=P.get("inverse"),P.axis=M,M.model=P,M.coordinateSystem=P.coordinateSystem=this},this)},update:function(y,A){this._updateAxesFromSeries(this._model,y)},containPoint:function(y){var A=this._makeLayoutInfo(),v=A.axisBase,g=A.layoutBase,x=A.pixelDimIndex,m=y[1-x],b=y[x];return m>=v&&m<=v+A.axisLength&&b>=g&&b<=g+A.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(y,A){A.eachSeries(function(v){if(!!y.contains(v,A)){var g=v.getData();t(this.dimensions,function(x){var m=this._axesMap.get(x);m.scale.unionExtentFromData(g,g.mapDimension(x)),D.niceScaleExtent(m.scale,m.model)},this)}},this)},resize:function(y,A){this._rect=w.getLayoutRect(y.getBoxLayoutParams(),{width:A.getWidth(),height:A.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var y=this._model,A=this._rect,v=["x","y"],g=["width","height"],x=y.get("layout"),m=x==="horizontal"?0:1,b=A[g[m]],S=[0,b],P=this.dimensions.length,M=a(y.get("axisExpandWidth"),S),R=a(y.get("axisExpandCount")||0,[0,P]),F=y.get("axisExpandable")&&P>3&&P>R&&R>1&&M>0&&b>0,L=y.get("axisExpandWindow"),U;if(L)U=a(L[1]-L[0],S),L[1]=L[0]+U;else{U=a(M*(R-1),S);var N=y.get("axisExpandCenter")||o(P/2);L=[M*N-U/2],L[1]=L[0]+U}var Q=(b-U)/(P-R);Q<3&&(Q=0);var z=[o(u(L[0]/M,1))+1,r(u(L[1]/M,1))-1],_=Q/M*L[0];return{layout:x,pixelDimIndex:m,layoutBase:A[v[m]],layoutLength:b,axisBase:A[v[1-m]],axisLength:A[g[1-m]],axisExpandable:F,axisExpandWidth:M,axisCollapseWidth:Q,axisExpandWindow:L,axisCount:P,winInnerIndices:z,axisExpandWindow0Pos:_}},_layoutAxes:function(){var y=this._rect,A=this._axesMap,v=this.dimensions,g=this._makeLayoutInfo(),x=g.layout;A.each(function(m){var b=[0,g.axisLength],S=m.inverse?1:0;m.setExtent(b[S],b[1-S])}),t(v,function(m,b){var S=(g.axisExpandable?d:c)(b,g),P={horizontal:{x:S.position,y:g.axisLength},vertical:{x:0,y:S.position}},M={horizontal:n/2,vertical:0},R=[P[x].x+y.x,P[x].y+y.y],F=M[x],L=T.create();T.rotate(L,L,F),T.translate(L,L,R),this._axesLayout[m]={position:R,rotation:F,transform:L,axisNameAvailableWidth:S.axisNameAvailableWidth,axisLabelShow:S.axisLabelShow,nameTruncateMaxWidth:S.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(y){return this._axesMap.get(y)},dataToPoint:function(y,A){return this.axisCoordToPoint(this._axesMap.get(A).dataToCoord(y),A)},eachActiveState:function(y,A,v,g){v==null&&(v=0),g==null&&(g=y.count());var x=this._axesMap,m=this.dimensions,b=[],S=[];B.each(m,function(Q){b.push(y.mapDimension(Q)),S.push(x.get(Q).model)});for(var P=this.hasAxisBrushed(),M=v;M<g;M++){var R;if(!P)R="normal";else{R="active";for(var F=y.getValues(b,M),L=0,U=m.length;L<U;L++){var N=S[L].getActiveState(F[L]);if(N==="inactive"){R="inactive";break}}}A(R,M)}},hasAxisBrushed:function(){for(var y=this.dimensions,A=this._axesMap,v=!1,g=0,x=y.length;g<x;g++)A.get(y[g]).model.getActiveState()!=="normal"&&(v=!0);return v},axisCoordToPoint:function(y,A){var v=this._axesLayout[A];return E.applyTransform([y,0],v.transform)},getAxisLayout:function(y){return B.clone(this._axesLayout[y])},getSlidedAxisExpandWindow:function(y){var A=this._makeLayoutInfo(),v=A.pixelDimIndex,g=A.axisExpandWindow.slice(),x=g[1]-g[0],m=[0,A.axisExpandWidth*(A.axisCount-1)];if(!this.containPoint(y))return{behavior:"none",axisExpandWindow:g};var b=y[v]-A.layoutBase-A.axisExpandWindow0Pos,S,P="slide",M=A.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),F=R[0]!=null;if(M)F&&M&&b<x*R[0]?(P="jump",S=b-x*R[2]):F&&M&&b>x*(1-R[0])?(P="jump",S=b-x*(1-R[2])):(S=b-x*R[1])>=0&&(S=b-x*(1-R[1]))<=0&&(S=0),S*=A.axisExpandWidth/M,S?f(S,g,m,"all"):P="none";else{var x=g[1]-g[0],L=m[1]*b/x;g=[s(0,L-x/2)],g[1]=i(m[1],g[0]+x),g[0]=g[1]-x}return{axisExpandWindow:g,behavior:P}}};function a(y,A){return i(s(y,A[0]),A[1])}function c(y,A){var v=A.layoutLength/(A.axisCount-1);return{position:v*y,axisNameAvailableWidth:v,axisLabelShow:!0}}function d(y,A){var v=A.layoutLength,g=A.axisExpandWidth,x=A.axisCount,m=A.axisCollapseWidth,b=A.winInnerIndices,S,P=m,M=!1,R;return y<b[0]?(S=y*m,R=m):y<=b[1]?(S=A.axisExpandWindow0Pos+y*g-A.axisExpandWindow[0],P=g,M=!0):(S=v-(x-1-y)*m,R=m),{position:S,axisNameAvailableWidth:P,axisLabelShow:M,nameTruncateMaxWidth:R}}var h=l;oe.exports=h},"2fGM":function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("nkfE"),D=e("ICMv"),I=T.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});B.merge(I.prototype,D);var E={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function C(f,t){return t.type||(t.data?"category":"value")}w("angle",I,C,E.angle),w("radius",I,C,E.radius)},"2fM7":function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("TSYQ"),D=e.n(w),I=e("LdHM"),E=e("bT9E"),C=e("q1tI"),f=e.n(C),t=e("H84U"),i=e("XI05"),s=e("caoh"),o=e("3Nzz"),r=e("ihLV"),u=e("EXcs"),n=e("ATYA"),l=e("1vzs"),a=e("+f9I"),c=function(A,v){var g={};for(var x in A)Object.prototype.hasOwnProperty.call(A,x)&&v.indexOf(x)<0&&(g[x]=A[x]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,x=Object.getOwnPropertySymbols(A);m<x.length;m++)v.indexOf(x[m])<0&&Object.prototype.propertyIsEnumerable.call(A,x[m])&&(g[x[m]]=A[x[m]]);return g},d="SECRET_COMBOBOX_MODE_DO_NOT_USE",h=function(v,g){var x,m=v.prefixCls,b=v.bordered,S=b===void 0?!0:b,P=v.className,M=v.getPopupContainer,R=v.dropdownClassName,F=v.popupClassName,L=v.listHeight,U=L===void 0?256:L,N=v.placement,Q=v.listItemHeight,z=Q===void 0?24:Q,_=v.size,J=v.disabled,Y=v.notFoundContent,k=v.status,W=v.showArrow,ie=c(v,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),fe=C.useContext(t.b),Ce=fe.getPopupContainer,ge=fe.getPrefixCls,de=fe.renderEmpty,Pe=fe.direction,_e=fe.virtual,Ne=fe.dropdownMatchSelectWidth,He=C.useContext(o.b),ue=ge("select",m),Re=ge(),nt=Object(a.c)(ue,Pe),Ve=nt.compactSize,Ge=nt.compactItemClassnames,dt=C.useMemo(function(){var Ae=ie.mode;if(Ae!=="combobox")return Ae===d?"combobox":Ae},[ie.mode]),et=dt==="multiple"||dt==="tags",At=W!==void 0?W:ie.loading||!(et||dt==="combobox"),Dt=Object(C.useContext)(r.b),Ft=Dt.status,St=Dt.hasFeedback,$e=Dt.isFormItemInput,lt=Dt.feedbackIcon,Ut=Object(n.a)(Ft,k),gt;Y!==void 0?gt=Y:dt==="combobox"?gt=null:gt=(de||i.a)("Select");var ft=Object(l.a)(Object(T.a)(Object(T.a)({},ie),{multiple:et,hasFeedback:St,feedbackIcon:lt,showArrow:At,prefixCls:ue})),rt=ft.suffixIcon,Ie=ft.itemIcon,Ot=ft.removeIcon,Xt=ft.clearIcon,Vt=Object(E.a)(ie,["suffixIcon","itemIcon"]),bt=D()(F||R,Object(B.a)({},"".concat(ue,"-dropdown-").concat(Pe),Pe==="rtl")),It=Ve||_||He,Kt=C.useContext(s.b),Se=J!=null?J:Kt,Ye=D()((x={},Object(B.a)(x,"".concat(ue,"-lg"),It==="large"),Object(B.a)(x,"".concat(ue,"-sm"),It==="small"),Object(B.a)(x,"".concat(ue,"-rtl"),Pe==="rtl"),Object(B.a)(x,"".concat(ue,"-borderless"),!S),Object(B.a)(x,"".concat(ue,"-in-form-item"),$e),x),Object(n.b)(ue,Ut,St),Ge,P),q=function(){return N!==void 0?N:Pe==="rtl"?"bottomRight":"bottomLeft"};return C.createElement(I.d,Object(T.a)({ref:g,virtual:_e,dropdownMatchSelectWidth:Ne},Vt,{transitionName:Object(u.c)(Re,Object(u.b)(N),ie.transitionName),listHeight:U,listItemHeight:z,mode:dt,prefixCls:ue,placement:q(),direction:Pe,inputIcon:rt,menuItemSelectedIcon:Ie,removeIcon:Ot,clearIcon:Xt,notFoundContent:gt,className:Ye,getPopupContainer:M||Ce,dropdownClassName:bt,showArrow:St||W,disabled:Se}))},y=C.forwardRef(h);y.SECRET_COMBOBOX_MODE_DO_NOT_USE=d,y.Option=I.c,y.OptGroup=I.b,V.a=y},"2fw6":function(oe,V,e){var B=e("y+Vt"),T=B.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(D,I,E){E&&D.moveTo(I.cx+I.r,I.cy),D.arc(I.cx,I.cy,I.r,0,Math.PI*2,!0)}});oe.exports=T},"2jpz":function(oe,V,e){"use strict";e.d(V,"a",function(){return l});var B=e("U8pU"),T=e("VTBJ"),w=e("q1tI"),D={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"},I=D,E=e("6VBw"),C=function(c,d){return w.createElement(E.a,Object(T.a)(Object(T.a)({},c),{},{ref:d,icon:I}))};C.displayName="CaretDownFilled";var f=w.forwardRef(C),t=e("9jjd"),i=e("ye1Q"),s=e("gUdW"),o=e("xGfz"),r=e("TSYQ"),u=e.n(r),n=e("0n0R");function l(a,c,d,h){var y=h.isLeaf,A=h.expanded,v=h.loading;if(v)return w.createElement(i.a,{className:"".concat(a,"-switcher-loading-icon")});var g;if(d&&Object(B.a)(d)==="object"&&(g=d.showLeafIcon),y){if(!d)return null;if(typeof g!="boolean"&&!!g){var x=typeof g=="function"?g(h):g,m="".concat(a,"-switcher-line-custom-icon");return Object(n.c)(x)?Object(n.a)(x,{className:u()(x.props.className||"",m)}):x}return g?w.createElement(t.a,{className:"".concat(a,"-switcher-line-icon")}):w.createElement("span",{className:"".concat(a,"-switcher-leaf-line")})}var b="".concat(a,"-switcher-icon"),S=typeof c=="function"?c(h):c;return Object(n.c)(S)?Object(n.a)(S,{className:u()(S.props.className||"",b)}):S||(d?A?w.createElement(s.a,{className:"".concat(a,"-switcher-line-icon")}):w.createElement(o.a,{className:"".concat(a,"-switcher-line-icon")}):w.createElement(f,{className:b}))}},"2uGb":function(oe,V,e){var B=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var T=e("kMLO"),w=e("nKiI");B.registerVisual(T),B.registerLayout(w)},"2w7y":function(oe,V,e){var B=e("ProS");e("qMZE"),e("g0SD"),B.registerPreprocessor(function(T){T.markPoint=T.markPoint||{}})},"33Ds":function(oe,V,e){var B=e("ProS"),T=e("b9oc"),w=e("Kagy"),D=e("IUWy"),I=w.toolbox.restore;function E(t){this.model=t}E.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:I.title};var C=E.prototype;C.onclick=function(t,i,s){T.clear(t),i.dispatchAction({type:"restore",from:this.uid})},D.register("restore",E),B.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,i){i.resetOption("recreate")});var f=E;oe.exports=f},"3C/r":function(oe,V){var e=function(w,D){this.image=w,this.repeat=D,this.type="pattern"};e.prototype.getCanvasPattern=function(T){return T.createPattern(this.image,this.repeat||"repeat")};var B=e;oe.exports=B},"3CBa":function(oe,V,e){var B=e("hydK"),T=B.createElement,w=e("bYtY"),D=e("SUKs"),I=e("y+Vt"),E=e("Dagg"),C=e("dqUG"),f=e("DBLp"),t=e("sW+o"),i=e("n6Mw"),s=e("vKoX"),o=e("P47w"),r=o.path,u=o.image,n=o.text;function l(b){return parseInt(b,10)}function a(b){return b instanceof I?r:b instanceof E?u:b instanceof C?n:r}function c(b,S){return S&&b&&S.parentNode!==b}function d(b,S,P){if(c(b,S)&&P){var M=P.nextSibling;M?b.insertBefore(S,M):b.appendChild(S)}}function h(b,S){if(c(b,S)){var P=b.firstChild;P?b.insertBefore(S,P):b.appendChild(S)}}function y(b,S){S&&b&&S.parentNode===b&&b.removeChild(S)}function A(b){return b.__textSvgEl}function v(b){return b.__svgEl}var g=function(S,P,M,R){this.root=S,this.storage=P,this._opts=M=w.extend({},M||{});var F=T("svg");F.setAttribute("xmlns","http://www.w3.org/2000/svg"),F.setAttribute("version","1.1"),F.setAttribute("baseProfile","full"),F.style.cssText="user-select:none;position:absolute;left:0;top:0;";var L=T("g");F.appendChild(L);var U=T("g");F.appendChild(U),this.gradientManager=new t(R,U),this.clipPathManager=new i(R,U),this.shadowManager=new s(R,U);var N=document.createElement("div");N.style.cssText="overflow:hidden;position:relative",this._svgDom=F,this._svgRoot=U,this._backgroundRoot=L,this._viewport=N,S.appendChild(N),N.appendChild(F),this.resize(M.width,M.height),this._visibleList=[]};g.prototype={constructor:g,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var S=this.getViewportRoot();if(S)return{offsetLeft:S.offsetLeft||0,offsetTop:S.offsetTop||0}},refresh:function(){var S=this.storage.getDisplayList(!0);this._paintList(S)},setBackgroundColor:function(S){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var P=T("rect");P.setAttribute("width",this.getWidth()),P.setAttribute("height",this.getHeight()),P.setAttribute("x",0),P.setAttribute("y",0),P.setAttribute("id",0),P.style.fill=S,this._backgroundRoot.appendChild(P),this._backgroundNode=P},_paintList:function(S){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var P=this._svgRoot,M=this._visibleList,R=S.length,F=[],L;for(L=0;L<R;L++){var U=S[L],N=a(U),Q=v(U)||A(U);U.invisible||(U.__dirty&&(N&&N.brush(U),this.clipPathManager.update(U),U.style&&(this.gradientManager.update(U.style.fill),this.gradientManager.update(U.style.stroke),this.shadowManager.update(Q,U)),U.__dirty=!1),F.push(U))}var z=f(M,F),_;for(L=0;L<z.length;L++){var J=z[L];if(J.removed)for(var Y=0;Y<J.count;Y++){var U=M[J.indices[Y]],Q=v(U),k=A(U);y(P,Q),y(P,k)}}for(L=0;L<z.length;L++){var J=z[L];if(J.added)for(var Y=0;Y<J.count;Y++){var U=F[J.indices[Y]],Q=v(U),k=A(U);_?d(P,Q,_):h(P,Q),Q?d(P,k,Q):_?d(P,k,_):h(P,k),d(P,k,Q),_=k||Q||_,this.gradientManager.addWithoutUpdate(Q||k,U),this.shadowManager.addWithoutUpdate(Q||k,U),this.clipPathManager.markUsed(U)}else if(!J.removed)for(var Y=0;Y<J.count;Y++){var U=F[J.indices[Y]],Q=v(U),k=A(U),Q=v(U),k=A(U);this.gradientManager.markUsed(U),this.gradientManager.addWithoutUpdate(Q||k,U),this.shadowManager.markUsed(U),this.shadowManager.addWithoutUpdate(Q||k,U),this.clipPathManager.markUsed(U),k&&d(P,k,Q),_=Q||k||_}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=F},_getDefs:function(S){var P=this._svgDom,M=P.getElementsByTagName("defs");if(M.length===0)if(S){var M=P.insertBefore(T("defs"),P.firstChild);return M.contains||(M.contains=function(F){var L=M.children;if(!L)return!1;for(var U=L.length-1;U>=0;--U)if(L[U]===F)return!0;return!1}),M}else return null;else return M[0]},resize:function(S,P){var M=this._viewport;M.style.display="none";var R=this._opts;if(S!=null&&(R.width=S),P!=null&&(R.height=P),S=this._getSize(0),P=this._getSize(1),M.style.display="",this._width!==S||this._height!==P){this._width=S,this._height=P;var F=M.style;F.width=S+"px",F.height=P+"px";var L=this._svgDom;L.setAttribute("width",S),L.setAttribute("height",P)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",S),this._backgroundNode.setAttribute("height",P))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(S){var P=this._opts,M=["width","height"][S],R=["clientWidth","clientHeight"][S],F=["paddingLeft","paddingTop"][S],L=["paddingRight","paddingBottom"][S];if(P[M]!=null&&P[M]!=="auto")return parseFloat(P[M]);var U=this.root,N=document.defaultView.getComputedStyle(U);return(U[R]||l(N[M])||l(U.style[M]))-(l(N[F])||0)-(l(N[L])||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 S=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
|
|
|
\r<`));return"data:image/svg+xml;charset=UTF-8,"+S}};function x(b){return function(){D('In SVG mode painter not support method "'+b+'"')}}w.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(b){g.prototype[b]=x(b)});var m=g;oe.exports=m},"3LNs":function(oe,V,e){var B=e("bYtY"),T=e("Yl7c"),w=e("IwbS"),D=e("zTMp"),I=e("YH21"),E=e("iLNv"),C=e("4NO4"),f=C.makeInner,t=f(),i=B.clone,s=B.bind;function o(){}o.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(d,h,y,A){var v=h.get("value"),g=h.get("status");if(this._axisModel=d,this._axisPointerModel=h,this._api=y,!(!A&&this._lastValue===v&&this._lastStatus===g)){this._lastValue=v,this._lastStatus=g;var x=this._group,m=this._handle;if(!g||g==="hide"){x&&x.hide(),m&&m.hide();return}x&&x.show(),m&&m.show();var b={};this.makeElOption(b,v,d,h,y);var S=b.graphicKey;S!==this._lastGraphicKey&&this.clear(y),this._lastGraphicKey=S;var P=this._moveAnimation=this.determineAnimation(d,h);if(!x)x=this._group=new w.Group,this.createPointerEl(x,b,d,h),this.createLabelEl(x,b,d,h),y.getZr().add(x);else{var M=B.curry(r,h,P);this.updatePointerEl(x,b,M,h),this.updateLabelEl(x,b,M,h)}a(x,h,!0),this._renderHandle(v)}},remove:function(d){this.clear(d)},dispose:function(d){this.clear(d)},determineAnimation:function(d,h){var y=h.get("animation"),A=d.axis,v=A.type==="category",g=h.get("snap");if(!g&&!v)return!1;if(y==="auto"||y==null){var x=this.animationThreshold;if(v&&A.getBandWidth()>x)return!0;if(g){var m=D.getAxisInfo(d).seriesDataCount,b=A.getExtent();return Math.abs(b[0]-b[1])/m>x}return!1}return y===!0},makeElOption:function(d,h,y,A,v){},createPointerEl:function(d,h,y,A){var v=h.pointer;if(v){var g=t(d).pointerEl=new w[v.type](i(h.pointer));d.add(g)}},createLabelEl:function(d,h,y,A){if(h.label){var v=t(d).labelEl=new w.Rect(i(h.label));d.add(v),n(v,A)}},updatePointerEl:function(d,h,y){var A=t(d).pointerEl;A&&h.pointer&&(A.setStyle(h.pointer.style),y(A,{shape:h.pointer.shape}))},updateLabelEl:function(d,h,y,A){var v=t(d).labelEl;v&&(v.setStyle(h.label.style),y(v,{shape:h.label.shape,position:h.label.position}),n(v,A))},_renderHandle:function(d){if(!(this._dragging||!this.updateHandleTransform)){var h=this._axisPointerModel,y=this._api.getZr(),A=this._handle,v=h.getModel("handle"),g=h.get("status");if(!v.get("show")||!g||g==="hide"){A&&y.remove(A),this._handle=null;return}var x;this._handle||(x=!0,A=this._handle=w.createIcon(v.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(S){I.stop(S.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),y.add(A)),a(A,h,!1);var m=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];A.setStyle(v.getItemStyle(null,m));var b=v.get("size");B.isArray(b)||(b=[b,b]),A.attr("scale",[b[0]/2,b[1]/2]),E.createOrUpdate(this,"_doDispatchAxisPointer",v.get("throttle")||0,"fixRate"),this._moveHandleToValue(d,x)}},_moveHandleToValue:function(d,h){r(this._axisPointerModel,!h&&this._moveAnimation,this._handle,l(this.getHandleTransform(d,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(d,h){var y=this._handle;if(!!y){this._dragging=!0;var A=this.updateHandleTransform(l(y),[d,h],this._axisModel,this._axisPointerModel);this._payloadInfo=A,y.stopAnimation(),y.attr(l(A)),t(y).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var d=this._handle;if(!!d){var h=this._payloadInfo,y=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:h.cursorPoint[0],y:h.cursorPoint[1],tooltipOption:h.tooltipOption,axesInfo:[{axisDim:y.axis.dim,axisIndex:y.componentIndex}]})}},_onHandleDragEnd:function(d){this._dragging=!1;var h=this._handle;if(!!h){var y=this._axisPointerModel.get("value");this._moveHandleToValue(y),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(d){this._lastValue=null,this._lastStatus=null;var h=d.getZr(),y=this._group,A=this._handle;h&&y&&(this._lastGraphicKey=null,y&&h.remove(y),A&&h.remove(A),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(d,h,y){return y=y||0,{x:d[y],y:d[1-y],width:h[y],height:h[1-y]}}},o.prototype.constructor=o;function r(d,h,y,A){u(t(y).lastProp,A)||(t(y).lastProp=A,h?w.updateProps(y,A,d):(y.stopAnimation(),y.attr(A)))}function u(d,h){if(B.isObject(d)&&B.isObject(h)){var y=!0;return B.each(h,function(A,v){y=y&&u(d[v],A)}),!!y}else return d===h}function n(d,h){d[h.get("label.show")?"show":"hide"]()}function l(d){return{position:d.position.slice(),rotation:d.rotation||0}}function a(d,h,y){var A=h.get("z"),v=h.get("zlevel");d&&d.traverse(function(g){g.type!=="group"&&(A!=null&&(g.z=A),v!=null&&(g.zlevel=v),g.silent=y)})}T.enableClassExtend(o);var c=o;oe.exports=c},"3Mug":function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=B;function B(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},"3OrL":function(oe,V,e){var B=e("bYtY"),T=e("6Ic6"),w=e("IwbS"),D=e("y+Vt"),I=["itemStyle"],E=["emphasis","itemStyle"],C=T.extend({type:"boxplot",render:function(r,u,n){var l=r.getData(),a=this.group,c=this._data;this._data||a.removeAll();var d=r.get("layout")==="horizontal"?1:0;l.diff(c).add(function(h){if(l.hasValue(h)){var y=l.getItemLayout(h),A=t(y,l,h,d,!0);l.setItemGraphicEl(h,A),a.add(A)}}).update(function(h,y){var A=c.getItemGraphicEl(y);if(!l.hasValue(h)){a.remove(A);return}var v=l.getItemLayout(h);A?i(v,A,l,h):A=t(v,l,h,d),a.add(A),l.setItemGraphicEl(h,A)}).remove(function(h){var y=c.getItemGraphicEl(h);y&&a.remove(y)}).execute(),this._data=l},remove:function(r){var u=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(l){l&&u.remove(l)})},dispose:B.noop}),f=D.extend({type:"boxplotBoxPath",shape:{},buildPath:function(r,u){var n=u.points,l=0;for(r.moveTo(n[l][0],n[l][1]),l++;l<4;l++)r.lineTo(n[l][0],n[l][1]);for(r.closePath();l<n.length;l++)r.moveTo(n[l][0],n[l][1]),l++,r.lineTo(n[l][0],n[l][1])}});function t(r,u,n,l,a){var c=r.ends,d=new f({shape:{points:a?s(c,l,r):c}});return i(r,d,u,n,a),d}function i(r,u,n,l,a){var c=n.hostModel,d=w[a?"initProps":"updateProps"];d(u,{shape:{points:r.ends}},c,l);var h=n.getItemModel(l),y=h.getModel(I),A=n.getItemVisual(l,"color"),v=y.getItemStyle(["borderColor"]);v.stroke=A,v.strokeNoScale=!0,u.useStyle(v),u.z2=100;var g=h.getModel(E).getItemStyle();w.setHoverStyle(u,g)}function s(r,u,n){return B.map(r,function(l){return l=l.slice(),l[u]=n.initBaseline,l})}var o=C;oe.exports=o},"3TkU":function(oe,V,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(oe,V,e){var B=e("bYtY"),T=e("7a+S"),w=e("OKJ2"),D=T.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:[]}});B.mixin(D,w);var I=D;oe.exports=I},"3e3G":function(oe,V,e){var B=e("bYtY"),T=e("QuXc"),w=function(E,C,f,t,i){this.x=E==null?.5:E,this.y=C==null?.5:C,this.r=f==null?.5:f,this.type="radial",this.global=i||!1,T.call(this,t)};w.prototype={constructor:w},B.inherits(w,T);var D=w;oe.exports=D},"3gBT":function(oe,V){var e=2311;function B(){return e++}oe.exports=B},"3hzK":function(oe,V){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")}}};oe.exports=e},"3m61":function(oe,V){function e(T){return T instanceof Array||(T=[T,T]),T}function B(T){T.eachSeriesByType("graph",function(w){var D=w.getGraph(),I=w.getEdgeData(),E=e(w.get("edgeSymbol")),C=e(w.get("edgeSymbolSize")),f="lineStyle.color".split("."),t="lineStyle.opacity".split(".");I.setVisual("fromSymbol",E&&E[0]),I.setVisual("toSymbol",E&&E[1]),I.setVisual("fromSymbolSize",C&&C[0]),I.setVisual("toSymbolSize",C&&C[1]),I.setVisual("color",w.get(f)),I.setVisual("opacity",w.get(t)),I.each(function(i){var s=I.getItemModel(i),o=D.getEdgeByIndex(i),r=e(s.getShallow("symbol",!0)),u=e(s.getShallow("symbolSize",!0)),n=s.get(f),l=s.get(t);switch(n){case"source":n=o.node1.getVisual("color");break;case"target":n=o.node2.getVisual("color");break}r[0]&&o.setVisual("fromSymbol",r[0]),r[1]&&o.setVisual("toSymbol",r[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",n),o.setVisual("opacity",l)})})}oe.exports=B},"3zoK":function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("KCsZ"),D=e("nkfE"),I=e("OELB"),E=e("ICMv"),C=T.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return w([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var o=this.activeIntervals=B.clone(s);if(o)for(var r=o.length-1;r>=0;r--)I.asc(o[r])},getActiveState:function(s){var o=this.activeIntervals;if(!o.length)return"normal";if(s==null||isNaN(s))return"inactive";if(o.length===1){var r=o[0];if(r[0]<=s&&s<=r[1])return"active"}else for(var u=0,n=o.length;u<n;u++)if(o[u][0]<=s&&s<=o[u][1])return"active";return"inactive"}}),f={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};B.merge(C.prototype,E);function t(s,o){return o.type||(o.data?"category":"value")}D("parallel",C,t,f);var i=C;oe.exports=i},"4Feb":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("IwbS"),I=e("x3X8"),E=I.getDefaultLabel,C=e("MwEJ"),f=e("nVfU"),t=f.getLayoutOnAxis,i=e("gPAo"),s=e("T4UG"),o=e("Qxkt"),r=e("6Ic6"),u=e("sK/D"),n=u.createClipPath,l=e("qj72"),a=e("ANjR"),c=e("MHtr"),d=e("6usn"),h=e("Rx6q"),y=D.CACHED_LABEL_STYLE_PROPERTIES,A=["itemStyle"],v=["emphasis","itemStyle"],g=["label"],x=["emphasis","label"],m="e\0\0",b={cartesian2d:l,geo:a,singleAxis:c,polar:d,calendar:h};s.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(Ce,ge){return C(this.getSource(),this)},getDataParams:function(Ce,ge,de){var Pe=s.prototype.getDataParams.apply(this,arguments);return de&&(Pe.info=de.info),Pe}}),r.extend({type:"custom",_data:null,render:function(Ce,ge,de,Pe){var _e=this._data,Ne=Ce.getData(),He=this.group,ue=R(Ce,Ne,ge,de);Ne.diff(_e).add(function(nt){L(null,nt,ue(nt,Pe),Ce,He,Ne)}).update(function(nt,Ve){var Ge=_e.getItemGraphicEl(Ve);L(Ge,nt,ue(nt,Pe),Ce,He,Ne)}).remove(function(nt){var Ve=_e.getItemGraphicEl(nt);Ve&&He.remove(Ve)}).execute();var Re=Ce.get("clip",!0)?n(Ce.coordinateSystem,!1,Ce):null;Re?He.setClipPath(Re):He.removeClipPath(),this._data=Ne},incrementalPrepareRender:function(Ce,ge,de){this.group.removeAll(),this._data=null},incrementalRender:function(Ce,ge,de,Pe,_e){var Ne=ge.getData(),He=R(ge,Ne,de,Pe);function ue(Ve){Ve.isGroup||(Ve.incremental=!0,Ve.useHoverLayer=!0)}for(var Re=Ce.start;Re<Ce.end;Re++){var nt=L(null,Re,He(Re,_e),ge,this.group,Ne);nt.traverse(ue)}},dispose:w.noop,filterForExposedEvent:function(Ce,ge,de,Pe){var _e=ge.element;if(_e==null||de.name===_e)return!0;for(;(de=de.parent)&&de!==this.group;)if(de.name===_e)return!0;return!1}});function S(Ce){var ge=Ce.type,de;if(ge==="path"){var Pe=Ce.shape,_e=Pe.width!=null&&Pe.height!=null?{x:Pe.x||0,y:Pe.y||0,width:Pe.width,height:Pe.height}:null,Ne=W(Pe);de=D.makePath(Ne,null,_e,Pe.layout||"center"),de.__customPathData=Ne}else if(ge==="image")de=new D.Image({}),de.__customImagePath=Ce.style.image;else if(ge==="text")de=new D.Text({}),de.__customText=Ce.style.text;else if(ge==="group")de=new D.Group;else{if(ge==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var He=D.getShapeClass(ge);de=new He}return de.__customGraphicType=ge,de.name=Ce.name,de}function P(Ce,ge,de,Pe,_e,Ne,He){var ue={},Re=de.style||{};if(de.shape&&(ue.shape=w.clone(de.shape)),de.position&&(ue.position=de.position.slice()),de.scale&&(ue.scale=de.scale.slice()),de.origin&&(ue.origin=de.origin.slice()),de.rotation&&(ue.rotation=de.rotation),Ce.type==="image"&&de.style){var nt=ue.style={};w.each(["x","y","width","height"],function(dt){M(dt,nt,Re,Ce.style,Ne)})}if(Ce.type==="text"&&de.style){var nt=ue.style={};w.each(["x","y"],function(et){M(et,nt,Re,Ce.style,Ne)}),!Re.hasOwnProperty("textFill")&&Re.fill&&(Re.textFill=Re.fill),!Re.hasOwnProperty("textStroke")&&Re.stroke&&(Re.textStroke=Re.stroke)}if(Ce.type!=="group"&&(Ce.useStyle(Re),Ne)){Ce.style.opacity=0;var Ve=Re.opacity;Ve==null&&(Ve=1),D.initProps(Ce,{style:{opacity:Ve}},Pe,ge)}Ne?Ce.attr(ue):D.updateProps(Ce,ue,Pe,ge),de.hasOwnProperty("z2")&&Ce.attr("z2",de.z2||0),de.hasOwnProperty("silent")&&Ce.attr("silent",de.silent),de.hasOwnProperty("invisible")&&Ce.attr("invisible",de.invisible),de.hasOwnProperty("ignore")&&Ce.attr("ignore",de.ignore),de.hasOwnProperty("info")&&Ce.attr("info",de.info);var Ge=de.styleEmphasis;D.setElementHoverStyle(Ce,Ge),He&&D.setAsHighDownDispatcher(Ce,Ge!==!1)}function M(Ce,ge,de,Pe,_e){de[Ce]!=null&&!_e&&(ge[Ce]=de[Ce],de[Ce]=Pe[Ce])}function R(Ce,ge,de,Pe){var _e=Ce.get("renderItem"),Ne=Ce.coordinateSystem,He={};Ne&&(He=Ne.prepareCustoms?Ne.prepareCustoms():b[Ne.type](Ne));var ue=w.defaults({getWidth:Pe.getWidth,getHeight:Pe.getHeight,getZr:Pe.getZr,getDevicePixelRatio:Pe.getDevicePixelRatio,value:Ft,style:St,styleEmphasis:$e,visual:lt,barLayout:Ut,currentSeriesIndices:gt,font:ft},He.api||{}),Re={context:{},seriesId:Ce.id,seriesName:Ce.name,seriesIndex:Ce.seriesIndex,coordSys:He.coordSys,dataInsideLength:ge.count(),encode:F(Ce.getData())},nt,Ve=!0,Ge,dt,et,At;return function(rt,Ie){return nt=rt,Ve=!0,_e&&_e(w.defaults({dataIndexInside:rt,dataIndex:ge.getRawIndex(rt),actionType:Ie?Ie.type:null},Re),ue)};function Dt(rt){rt==null&&(rt=nt),Ve&&(Ge=ge.getItemModel(rt),dt=Ge.getModel(g),et=Ge.getModel(x),At=ge.getItemVisual(rt,"color"),Ve=!1)}function Ft(rt,Ie){return Ie==null&&(Ie=nt),ge.get(ge.getDimension(rt||0),Ie)}function St(rt,Ie){Ie==null&&(Ie=nt),Dt(Ie);var Ot=Ge.getModel(A).getItemStyle();At!=null&&(Ot.fill=At);var Xt=ge.getItemVisual(Ie,"opacity");Xt!=null&&(Ot.opacity=Xt);var Vt=rt?J(rt,dt):dt;return D.setTextStyle(Ot,Vt,null,{autoColor:At,isRectText:!0}),Ot.text=Vt.getShallow("show")?w.retrieve2(Ce.getFormattedLabel(Ie,"normal"),E(ge,Ie)):null,rt&&Y(Ot,rt),Ot}function $e(rt,Ie){Ie==null&&(Ie=nt),Dt(Ie);var Ot=Ge.getModel(v).getItemStyle(),Xt=rt?J(rt,et):et;return D.setTextStyle(Ot,Xt,null,{isRectText:!0},!0),Ot.text=Xt.getShallow("show")?w.retrieve3(Ce.getFormattedLabel(Ie,"emphasis"),Ce.getFormattedLabel(Ie,"normal"),E(ge,Ie)):null,rt&&Y(Ot,rt),Ot}function lt(rt,Ie){return Ie==null&&(Ie=nt),ge.getItemVisual(Ie,rt)}function Ut(rt){if(Ne.getBaseAxis){var Ie=Ne.getBaseAxis();return t(w.defaults({axis:Ie},rt),Pe)}}function gt(){return de.getCurrentSeriesIndices()}function ft(rt){return D.getFont(rt,de)}}function F(Ce){var ge={};return w.each(Ce.dimensions,function(de,Pe){var _e=Ce.getDimensionInfo(de);if(!_e.isExtraCoord){var Ne=_e.coordDim,He=ge[Ne]=ge[Ne]||[];He[_e.coordDimIndex]=Pe}}),ge}function L(Ce,ge,de,Pe,_e,Ne){return Ce=U(Ce,ge,de,Pe,_e,Ne,!0),Ce&&Ne.setItemGraphicEl(ge,Ce),Ce}function U(Ce,ge,de,Pe,_e,Ne,He){var ue=!de;de=de||{};var Re=de.type,nt=de.shape,Ve=de.style;if(Ce&&(ue||Re!=null&&Re!==Ce.__customGraphicType||Re==="path"&&ie(nt)&&W(nt)!==Ce.__customPathData||Re==="image"&&fe(Ve,"image")&&Ve.image!==Ce.__customImagePath||Re==="text"&&fe(nt,"text")&&Ve.text!==Ce.__customText)&&(_e.remove(Ce),Ce=null),!ue){var Ge=!Ce;return!Ce&&(Ce=S(de)),P(Ce,ge,de,Pe,Ne,Ge,He),Re==="group"&&N(Ce,ge,de,Pe,Ne),_e.add(Ce),Ce}}function N(Ce,ge,de,Pe,_e){var Ne=de.children,He=Ne?Ne.length:0,ue=de.$mergeChildren,Re=ue==="byName"||de.diffChildrenByName,nt=ue===!1;if(!(!He&&!Re&&!nt)){if(Re){Q({oldChildren:Ce.children()||[],newChildren:Ne||[],dataIndex:ge,animatableModel:Pe,group:Ce,data:_e});return}nt&&Ce.removeAll();for(var Ve=0;Ve<He;Ve++)Ne[Ve]&&U(Ce.childAt(Ve),ge,Ne[Ve],Pe,Ce,_e)}}function Q(Ce){new i(Ce.oldChildren,Ce.newChildren,z,z,Ce).add(_).update(_).remove(k).execute()}function z(Ce,ge){var de=Ce&&Ce.name;return de!=null?de:m+ge}function _(Ce,ge){var de=this.context,Pe=Ce!=null?de.newChildren[Ce]:null,_e=ge!=null?de.oldChildren[ge]:null;U(_e,de.dataIndex,Pe,de.animatableModel,de.group,de.data)}function J(Ce,ge){var de=new o({},ge);return w.each(y,function(Pe,_e){Ce.hasOwnProperty(Pe)&&(de.option[_e]=Ce[Pe])}),de}function Y(Ce,ge){for(var de in ge)(ge.hasOwnProperty(de)||!y.hasOwnProperty(de))&&(Ce[de]=ge[de])}function k(Ce){var ge=this.context,de=ge.oldChildren[Ce];de&&ge.group.remove(de)}function W(Ce){return Ce&&(Ce.pathData||Ce.d)}function ie(Ce){return Ce&&(Ce.hasOwnProperty("pathData")||Ce.hasOwnProperty("d"))}function fe(Ce,ge){return Ce&&Ce.hasOwnProperty(ge)}},"4HMb":function(oe,V,e){var B=e("bYtY"),T=e("6GrX"),w=e("4NO4"),D=w.makeInner,I=e("aX7z"),E=I.makeLabelFormatter,C=I.getOptionCategoryInterval,f=I.shouldShowAllLabels,t=D();function i(g){return g.type==="category"?o(g):n(g)}function s(g,x){return g.type==="category"?u(g,x):{ticks:g.scale.getTicks()}}function o(g){var x=g.getLabelModel(),m=r(g,x);return!x.get("show")||g.scale.isBlank()?{labels:[],labelCategoryInterval:m.labelCategoryInterval}:m}function r(g,x){var m=l(g,"labels"),b=C(x),S=a(m,b);if(S)return S;var P,M;return B.isFunction(b)?P=v(g,b):(M=b==="auto"?d(g):b,P=A(g,M)),c(m,b,{labels:P,labelCategoryInterval:M})}function u(g,x){var m=l(g,"ticks"),b=C(x),S=a(m,b);if(S)return S;var P,M;if((!x.get("show")||g.scale.isBlank())&&(P=[]),B.isFunction(b))P=v(g,b,!0);else if(b==="auto"){var R=r(g,g.getLabelModel());M=R.labelCategoryInterval,P=B.map(R.labels,function(F){return F.tickValue})}else M=b,P=A(g,M,!0);return c(m,b,{ticks:P,tickCategoryInterval:M})}function n(g){var x=g.scale.getTicks(),m=E(g);return{labels:B.map(x,function(b,S){return{formattedLabel:m(b,S),rawLabel:g.scale.getLabel(b),tickValue:b}})}}function l(g,x){return t(g)[x]||(t(g)[x]=[])}function a(g,x){for(var m=0;m<g.length;m++)if(g[m].key===x)return g[m].value}function c(g,x,m){return g.push({key:x,value:m}),m}function d(g){var x=t(g).autoInterval;return x!=null?x:t(g).autoInterval=g.calculateCategoryInterval()}function h(g){var x=y(g),m=E(g),b=(x.axisRotate-x.labelRotate)/180*Math.PI,S=g.scale,P=S.getExtent(),M=S.count();if(P[1]-P[0]<1)return 0;var R=1;M>40&&(R=Math.max(1,Math.floor(M/40)));for(var F=P[0],L=g.dataToCoord(F+1)-g.dataToCoord(F),U=Math.abs(L*Math.cos(b)),N=Math.abs(L*Math.sin(b)),Q=0,z=0;F<=P[1];F+=R){var _=0,J=0,Y=T.getBoundingRect(m(F),x.font,"center","top");_=Y.width*1.3,J=Y.height*1.3,Q=Math.max(Q,_,7),z=Math.max(z,J,7)}var k=Q/U,W=z/N;isNaN(k)&&(k=Infinity),isNaN(W)&&(W=Infinity);var ie=Math.max(0,Math.floor(Math.min(k,W))),fe=t(g.model),Ce=g.getExtent(),ge=fe.lastAutoInterval,de=fe.lastTickCount;return ge!=null&&de!=null&&Math.abs(ge-ie)<=1&&Math.abs(de-M)<=1&&ge>ie&&fe.axisExtend0===Ce[0]&&fe.axisExtend1===Ce[1]?ie=ge:(fe.lastTickCount=M,fe.lastAutoInterval=ie,fe.axisExtend0=Ce[0],fe.axisExtend1=Ce[1]),ie}function y(g){var x=g.getLabelModel();return{axisRotate:g.getRotate?g.getRotate():g.isHorizontal&&!g.isHorizontal()?90:0,labelRotate:x.get("rotate")||0,font:x.getFont()}}function A(g,x,m){var b=E(g),S=g.scale,P=S.getExtent(),M=g.getLabelModel(),R=[],F=Math.max((x||0)+1,1),L=P[0],U=S.count();L!==0&&F>1&&U/F>2&&(L=Math.round(Math.ceil(L/F)*F));var N=f(g),Q=M.get("showMinLabel")||N,z=M.get("showMaxLabel")||N;Q&&L!==P[0]&&J(P[0]);for(var _=L;_<=P[1];_+=F)J(_);z&&_-F!==P[1]&&J(P[1]);function J(Y){R.push(m?Y:{formattedLabel:b(Y),rawLabel:S.getLabel(Y),tickValue:Y})}return R}function v(g,x,m){var b=g.scale,S=E(g),P=[];return B.each(b.getTicks(),function(M){var R=b.getLabel(M);x(M,R)&&P.push(m?M:{formattedLabel:S(M),rawLabel:R,tickValue:M})}),P}V.createAxisLabels=i,V.createAxisTicks=s,V.calculateCategoryInterval=h},"4NO4":function(oe,V,e){var B=e("bYtY"),T=e("ItGF"),w=B.each,D=B.isObject,I=B.isArray,E="series\0";function C(m){return m instanceof Array?m:m==null?[]:[m]}function f(m,b,S){if(m){m[b]=m[b]||{},m.emphasis=m.emphasis||{},m.emphasis[b]=m.emphasis[b]||{};for(var P=0,M=S.length;P<M;P++){var R=S[P];!m.emphasis[b].hasOwnProperty(R)&&m[b].hasOwnProperty(R)&&(m.emphasis[b][R]=m[b][R])}}}var t=["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 i(m){return D(m)&&!I(m)&&!(m instanceof Date)?m.value:m}function s(m){return D(m)&&!(m instanceof Array)}function o(m,b){b=(b||[]).slice();var S=B.map(m||[],function(P,M){return{exist:P}});return w(b,function(P,M){if(!!D(P)){for(var R=0;R<S.length;R++)if(!S[R].option&&P.id!=null&&S[R].exist.id===P.id+""){S[R].option=P,b[M]=null;return}for(var R=0;R<S.length;R++){var F=S[R].exist;if(!S[R].option&&(F.id==null||P.id==null)&&P.name!=null&&!n(P)&&!n(F)&&F.name===P.name+""){S[R].option=P,b[M]=null;return}}}}),w(b,function(P,M){if(!!D(P)){for(var R=0;R<S.length;R++){var F=S[R].exist;if(!S[R].option&&!n(F)&&P.id==null){S[R].option=P;break}}R>=S.length&&S.push({option:P})}}),S}function r(m){var b=B.createHashMap();w(m,function(S,P){var M=S.exist;M&&b.set(M.id,S)}),w(m,function(S,P){var M=S.option;B.assert(!M||M.id==null||!b.get(M.id)||b.get(M.id)===S,"id duplicates: "+(M&&M.id)),M&&M.id!=null&&b.set(M.id,S),!S.keyInfo&&(S.keyInfo={})}),w(m,function(S,P){var M=S.exist,R=S.option,F=S.keyInfo;if(!!D(R)){if(F.name=R.name!=null?R.name+"":M?M.name:E+P,M)F.id=M.id;else if(R.id!=null)F.id=R.id+"";else{var L=0;do F.id="\0"+F.name+"\0"+L++;while(b.get(F.id))}b.set(F.id,S)}})}function u(m){var b=m.name;return!!(b&&b.indexOf(E))}function n(m){return D(m)&&m.id&&(m.id+"").indexOf("\0_ec_\0")===0}function l(m,b){var S={},P={};return M(m||[],S),M(b||[],P,S),[R(S),R(P)];function M(F,L,U){for(var N=0,Q=F.length;N<Q;N++)for(var z=F[N].seriesId,_=C(F[N].dataIndex),J=U&&U[z],Y=0,k=_.length;Y<k;Y++){var W=_[Y];J&&J[W]?J[W]=null:(L[z]||(L[z]={}))[W]=1}}function R(F,L){var U=[];for(var N in F)if(F.hasOwnProperty(N)&&F[N]!=null)if(L)U.push(+N);else{var Q=R(F[N],!0);Q.length&&U.push({seriesId:N,dataIndex:Q})}return U}}function a(m,b){if(b.dataIndexInside!=null)return b.dataIndexInside;if(b.dataIndex!=null)return B.isArray(b.dataIndex)?B.map(b.dataIndex,function(S){return m.indexOfRawIndex(S)}):m.indexOfRawIndex(b.dataIndex);if(b.name!=null)return B.isArray(b.name)?B.map(b.name,function(S){return m.indexOfName(S)}):m.indexOfName(b.name)}function c(){var m="__\0ec_inner_"+d+++"_"+Math.random().toFixed(5);return function(b){return b[m]||(b[m]={})}}var d=0;function h(m,b,S){if(B.isString(b)){var P={};P[b+"Index"]=0,b=P}var M=S&&S.defaultMainType;M&&!y(b,M+"Index")&&!y(b,M+"Id")&&!y(b,M+"Name")&&(b[M+"Index"]=0);var R={};return w(b,function(F,L){var F=b[L];if(L==="dataIndex"||L==="dataIndexInside"){R[L]=F;return}var U=L.match(/^(\w+)(Index|Id|Name)$/)||[],N=U[1],Q=(U[2]||"").toLowerCase();if(!(!N||!Q||F==null||Q==="index"&&F==="none"||S&&S.includeMainTypes&&B.indexOf(S.includeMainTypes,N)<0)){var z={mainType:N};(Q!=="index"||F!=="all")&&(z[Q]=F);var _=m.queryComponents(z);R[N+"Models"]=_,R[N+"Model"]=_[0]}}),R}function y(m,b){return m&&m.hasOwnProperty(b)}function A(m,b,S){m.setAttribute?m.setAttribute(b,S):m[b]=S}function v(m,b){return m.getAttribute?m.getAttribute(b):m[b]}function g(m){return m==="auto"?T.domSupported?"html":"richText":m||"html"}function x(m,b){var S=B.createHashMap(),P=[];return B.each(m,function(M){var R=b(M);(S.get(R)||(P.push(R),S.set(R,[]))).push(M)}),{keys:P,buckets:S}}V.normalizeToArray=C,V.defaultEmphasis=f,V.TEXT_STYLE_OPTIONS=t,V.getDataItemValue=i,V.isDataItemOption=s,V.mappingToExists=o,V.makeIdAndName=r,V.isNameSpecified=u,V.isIdInner=n,V.compressBatches=l,V.queryDataIndex=a,V.makeInner=c,V.parseFinder=h,V.setAttribute=A,V.getAttribute=v,V.getTooltipRenderMode=g,V.groupData=x},"4NgU":function(oe,V,e){var B=e("Yl7c");function T(D){this._setting=D||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}T.prototype.parse=function(D){return D},T.prototype.getSetting=function(D){return this._setting[D]},T.prototype.contain=function(D){var I=this._extent;return D>=I[0]&&D<=I[1]},T.prototype.normalize=function(D){var I=this._extent;return I[1]===I[0]?.5:(D-I[0])/(I[1]-I[0])},T.prototype.scale=function(D){var I=this._extent;return D*(I[1]-I[0])+I[0]},T.prototype.unionExtent=function(D){var I=this._extent;D[0]<I[0]&&(I[0]=D[0]),D[1]>I[1]&&(I[1]=D[1])},T.prototype.unionExtentFromData=function(D,I){this.unionExtent(D.getApproximateExtent(I))},T.prototype.getExtent=function(){return this._extent.slice()},T.prototype.setExtent=function(D,I){var E=this._extent;isNaN(D)||(E[0]=D),isNaN(I)||(E[1]=I)},T.prototype.isBlank=function(){return this._isBlank},T.prototype.setBlank=function(D){this._isBlank=D},T.prototype.getLabel=null,B.enableClassExtend(T),B.enableClassManagement(T,{registerWhenExtend:!0});var w=T;oe.exports=w},"4fz+":function(oe,V,e){var B=e("bYtY"),T=e("1bdT"),w=e("mFDi"),D=function(C){C=C||{},T.call(this,C);for(var f in C)C.hasOwnProperty(f)&&(this[f]=C[f]);this._children=[],this.__storage=null,this.__dirty=!0};D.prototype={constructor:D,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(C){return this._children[C]},childOfName:function(C){for(var f=this._children,t=0;t<f.length;t++)if(f[t].name===C)return f[t]},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,f){if(C&&C!==this&&C.parent!==this&&f&&f.parent===this){var t=this._children,i=t.indexOf(f);i>=0&&(t.splice(i,0,C),this._doAdd(C))}return this},_doAdd:function(C){C.parent&&C.parent.remove(C),C.parent=this;var f=this.__storage,t=this.__zr;f&&f!==C.__storage&&(f.addToStorage(C),C instanceof D&&C.addChildrenToStorage(f)),t&&t.refresh()},remove:function(C){var f=this.__zr,t=this.__storage,i=this._children,s=B.indexOf(i,C);return s<0?this:(i.splice(s,1),C.parent=null,t&&(t.delFromStorage(C),C instanceof D&&C.delChildrenFromStorage(t)),f&&f.refresh(),this)},removeAll:function(){var C=this._children,f=this.__storage,t,i;for(i=0;i<C.length;i++)t=C[i],f&&(f.delFromStorage(t),t instanceof D&&t.delChildrenFromStorage(f)),t.parent=null;return C.length=0,this},eachChild:function(C,f){for(var t=this._children,i=0;i<t.length;i++){var s=t[i];C.call(f,s,i)}return this},traverse:function(C,f){for(var t=0;t<this._children.length;t++){var i=this._children[t];C.call(f,i),i.type==="group"&&i.traverse(C,f)}return this},addChildrenToStorage:function(C){for(var f=0;f<this._children.length;f++){var t=this._children[f];C.addToStorage(t),t instanceof D&&t.addChildrenToStorage(C)}},delChildrenFromStorage:function(C){for(var f=0;f<this._children.length;f++){var t=this._children[f];C.delFromStorage(t),t instanceof D&&t.delChildrenFromStorage(C)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(C){for(var f=null,t=new w(0,0,0,0),i=C||this._children,s=[],o=0;o<i.length;o++){var r=i[o];if(!(r.ignore||r.invisible)){var u=r.getBoundingRect(),n=r.getLocalTransform(s);n?(t.copy(u),t.applyTransform(n),f=f||t.clone(),f.union(t)):(f=f||u.clone(),f.union(u))}}return f||t}},B.inherits(D,T);var I=D;oe.exports=I},"4mN7":function(oe,V,e){var B=e("QBsz"),T=e("Sj9i"),w=Math.min,D=Math.max,I=Math.sin,E=Math.cos,C=Math.PI*2,f=B.create(),t=B.create(),i=B.create();function s(c,d,h){if(c.length!==0){var y=c[0],A=y[0],v=y[0],g=y[1],x=y[1],m;for(m=1;m<c.length;m++)y=c[m],A=w(A,y[0]),v=D(v,y[0]),g=w(g,y[1]),x=D(x,y[1]);d[0]=A,d[1]=g,h[0]=v,h[1]=x}}function o(c,d,h,y,A,v){A[0]=w(c,h),A[1]=w(d,y),v[0]=D(c,h),v[1]=D(d,y)}var r=[],u=[];function n(c,d,h,y,A,v,g,x,m,b){var S=T.cubicExtrema,P=T.cubicAt,M,R=S(c,h,A,g,r);for(m[0]=Infinity,m[1]=Infinity,b[0]=-Infinity,b[1]=-Infinity,M=0;M<R;M++){var F=P(c,h,A,g,r[M]);m[0]=w(F,m[0]),b[0]=D(F,b[0])}for(R=S(d,y,v,x,u),M=0;M<R;M++){var L=P(d,y,v,x,u[M]);m[1]=w(L,m[1]),b[1]=D(L,b[1])}m[0]=w(c,m[0]),b[0]=D(c,b[0]),m[0]=w(g,m[0]),b[0]=D(g,b[0]),m[1]=w(d,m[1]),b[1]=D(d,b[1]),m[1]=w(x,m[1]),b[1]=D(x,b[1])}function l(c,d,h,y,A,v,g,x){var m=T.quadraticExtremum,b=T.quadraticAt,S=D(w(m(c,h,A),1),0),P=D(w(m(d,y,v),1),0),M=b(c,h,A,S),R=b(d,y,v,P);g[0]=w(c,A,M),g[1]=w(d,v,R),x[0]=D(c,A,M),x[1]=D(d,v,R)}function a(c,d,h,y,A,v,g,x,m){var b=B.min,S=B.max,P=Math.abs(A-v);if(P%C<1e-4&&P>1e-4){x[0]=c-h,x[1]=d-y,m[0]=c+h,m[1]=d+y;return}if(f[0]=E(A)*h+c,f[1]=I(A)*y+d,t[0]=E(v)*h+c,t[1]=I(v)*y+d,b(x,f,t),S(m,f,t),A=A%C,A<0&&(A=A+C),v=v%C,v<0&&(v=v+C),A>v&&!g?v+=C:A<v&&g&&(A+=C),g){var M=v;v=A,A=M}for(var R=0;R<v;R+=Math.PI/2)R>A&&(i[0]=E(R)*h+c,i[1]=I(R)*y+d,b(x,i,x),S(m,i,m))}V.fromPoints=s,V.fromLine=o,V.fromCubic=n,V.fromQuadratic=l,V.fromArc=a},"56rv":function(oe,V,e){var B=e("IwbS"),T=e("x3X8"),w=T.getDefaultLabel;function D(E,C,f,t,i,s,o){var r=f.getModel("label"),u=f.getModel("emphasis.label");B.setLabelStyle(E,C,r,u,{labelFetcher:i,labelDataIndex:s,defaultText:w(i.getData(),s),isRectText:!0,autoColor:t}),I(E),I(C)}function I(E,C){E.textPosition==="outside"&&(E.textPosition=C)}V.setLabel=D},"59Ip":function(oe,V,e){var B=e("Sj9i");function T(w,D,I,E,C,f,t,i,s,o,r){if(s===0)return!1;var u=s;if(r>D+u&&r>E+u&&r>f+u&&r>i+u||r<D-u&&r<E-u&&r<f-u&&r<i-u||o>w+u&&o>I+u&&o>C+u&&o>t+u||o<w-u&&o<I-u&&o<C-u&&o<t-u)return!1;var n=B.cubicProjectPoint(w,D,I,E,C,f,t,i,o,r,null);return n<=u/2}V.containStroke=T},"5GOC":function(oe,V,e){"use strict";var B=e("EFp3"),T=e("b56q"),w=e("15/o")},"5GhG":function(oe,V,e){var B=e("5GtS"),T=e("bYtY"),w=e("L0Ub"),D=w.getDimensionTypeByAxis,I=e("D5nY"),E=I.makeSeriesEncodeForAxisCoordSys,C={_baseAxisDim:null,getInitialData:function(f,t){var i,s=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),r=s.get("type"),u=o.get("type"),n;r==="category"?(f.layout="horizontal",i=s.getOrdinalMeta(),n=!0):u==="category"?(f.layout="vertical",i=o.getOrdinalMeta(),n=!0):f.layout=f.layout||"horizontal";var l=["x","y"],a=f.layout==="horizontal"?0:1,c=this._baseAxisDim=l[a],d=l[1-a],h=[s,o],y=h[a].get("type"),A=h[1-a].get("type"),v=f.data;if(v&&n){var g=[];T.each(v,function(b,S){var P;b.value&&T.isArray(b.value)?(P=b.value.slice(),b.value.unshift(S)):T.isArray(b)?(P=b.slice(),b.unshift(S)):P=b,g.push(P)}),f.data=g}var x=this.defaultValueDimensions,m=[{name:c,type:D(y),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:D(A),dimsDef:x.slice()}];return B(this,{coordDimensions:m,dimensionsCount:x.length+1,encodeDefaulter:T.curry(E,m,this)})},getBaseAxis:function(){var f=this._baseAxisDim;return this.ecModel.getComponent(f+"Axis",this.get(f+"AxisIndex")).axis}};V.seriesModelMixin=C},"5GtS":function(oe,V,e){var B=e("sdST"),T=e("YXkt"),w=e("bYtY"),D=w.extend,I=w.isArray;function E(C,f,t){f=I(f)&&{coordDimensions:f}||D({},f);var i=C.getSource(),s=B(i,f),o=new T(s,C);return o.initData(i,t),o}oe.exports=E},"5Hur":function(oe,V,e){var B=e("4NO4"),T=B.makeInner,w=B.normalizeToArray,D=T();function I(C,f){for(var t=C.length,i=0;i<t;i++)if(C[i].length>f)return C[i];return C[t-1]}var E={clearColorPalette:function(){D(this).colorIdx=0,D(this).colorNameMap={}},getColorFromPalette:function(C,f,t){f=f||this;var i=D(f),s=i.colorIdx||0,o=i.colorNameMap=i.colorNameMap||{};if(o.hasOwnProperty(C))return o[C];var r=w(this.get("color",!0)),u=this.get("colorLayer",!0),n=t==null||!u?r:I(u,t);if(n=n||r,!(!n||!n.length)){var l=n[s];return C&&(o[C]=l),i.colorIdx=(s+1)%n.length,l}}};oe.exports=E},"5NDa":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("OnYD"),D=e.n(w),I=e("+L6B")},"5NHt":function(oe,V,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(oe,V,e){"use strict";var B=e("q1tI"),T=e.n(B),w=e("hkKa"),D=e("ACnJ");function I(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,C=Object(B.useRef)({}),f=Object(w.a)();return Object(B.useEffect)(function(){var t=D.a.subscribe(function(i){C.current=i,E&&f()});return function(){return D.a.unsubscribe(t)}},[]),C.current}V.a=I},"5RHE":function(oe,V,e){(function(B,T){var w,w,w,D,D;(function(I,E){oe.exports=E()})(this,function(){"use strict";var I,E,C,f,t,i,s,o,r,u,n,l,a,c,d,h,y,A,v,g,x,m,b,S,P,M,R,F,L,U,N,Q,z,_,J,Y,k,W,ie,fe,Ce,ge,de,Pe,_e,Ne,He,ue,Re,nt,Ve,Ge,dt,et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe},At=function(pe){var te="1.3",be={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]};function xe(se){var he={};this.subscribe=function(Oe,ne,ce){if(typeof ne!="function")return!1;he.hasOwnProperty(Oe)||(he[Oe]={});var ae=Math.random().toString(35);return he[Oe][ae]=[ne,!!ce],ae},this.unsubscribe=function(Oe){for(var ne in he)if(he[ne][Oe])return delete he[ne][Oe],!0;return!1},this.publish=function(Oe){if(he.hasOwnProperty(Oe)){var ne=Array.prototype.slice.call(arguments,1),ce=[];for(var ae in he[Oe]){var Ee=he[Oe][ae];try{Ee[0].apply(se,ne)}catch(ye){pe.console&&console.error("jsPDF PubSub Error",ye.message,ye)}Ee[1]&&ce.push(ae)}ce.length&&ce.forEach(this.unsubscribe)}}}function Z(se,he,Oe,ne){var ce={};(se===void 0?"undefined":et(se))==="object"&&(se=(ce=se).orientation,he=ce.unit||he,Oe=ce.format||Oe,ne=ce.compress||ce.compressPdf||ne),he=he||"mm",Oe=Oe||"a4",se=(""+(se||"P")).toLowerCase(),(""+Oe).toLowerCase();var ae,Ee,ye,Te,je,qe,Le,ke,tt,st,_t,Ct=!!ne&&typeof Uint8Array=="function",Rt=ce.textColor||"0 g",Wt=ce.drawColor||"0 G",vt=ce.fontSize||16,Je=ce.charSpace||0,Yt=ce.R2L||!1,Ht=ce.lineHeight||1.15,nr=ce.lineWidth||.200025,ir="00000000000000000000000000000000",Zt=2,Mt=!1,pt=[],Tt={},mt={},Jt=0,or=[],ut=[],ht=[],qt=[],Nt=[],Qt=0,at=0,Ue=0,ot={title:"",subject:"",author:"",keywords:"",creator:""},it={},zt=new xe(it),ar=ce.hotfixes||[],dr=function(xr){var Xr,Cr=xr.ch1,Hr=xr.ch2,Fr=xr.ch3,jr=xr.ch4,wr=(xr.precision,xr.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof Cr=="string"&&Cr.charAt(0)!=="#"){var pn=new RGBColor(Cr);pn.ok&&(Cr=pn.toHex())}if(typeof Cr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Cr)&&(Cr="#"+Cr[1]+Cr[1]+Cr[2]+Cr[2]+Cr[3]+Cr[3]),typeof Cr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Cr)){var un=parseInt(Cr.substr(1),16);Cr=un>>16&255,Hr=un>>8&255,Fr=255&un}if(Hr===void 0||jr===void 0&&Cr===Hr&&Hr===Fr)if(typeof Cr=="string")Xr=Cr+" "+wr[0];else switch(xr.precision){case 2:Xr=Jr(Cr/255)+" "+wr[0];break;case 3:default:Xr=hn(Cr/255)+" "+wr[0]}else if(jr===void 0||(jr===void 0?"undefined":et(jr))==="object"){if(typeof Cr=="string")Xr=[Cr,Hr,Fr,wr[1]].join(" ");else switch(xr.precision){case 2:Xr=[Jr(Cr/255),Jr(Hr/255),Jr(Fr/255),wr[1]].join(" ");break;default:case 3:Xr=[hn(Cr/255),hn(Hr/255),hn(Fr/255),wr[1]].join(" ")}jr&&jr.a===0&&(Xr=["255","255","255",wr[1]].join(" "))}else if(typeof Cr=="string")Xr=[Cr,Hr,Fr,jr,wr[2]].join(" ");else switch(xr.precision){case 2:Xr=[Jr(Cr),Jr(Hr),Jr(Fr),Jr(jr),wr[2]].join(" ");break;case 3:default:Xr=[hn(Cr),hn(Hr),hn(Fr),hn(jr),wr[2]].join(" ")}return Xr},pr=function(xr){var Xr=function(un){return("0"+parseInt(un)).slice(-2)},Cr=xr.getTimezoneOffset(),Hr=Cr<0?"+":"-",Fr=Math.floor(Math.abs(Cr/60)),jr=Math.abs(Cr%60),wr=[Hr,Xr(Fr),"'",Xr(jr),"'"].join("");return["D:",xr.getFullYear(),Xr(xr.getMonth()+1),Xr(xr.getDate()),Xr(xr.getHours()),Xr(xr.getMinutes()),Xr(xr.getSeconds()),wr].join("")},Tr=function(xr){var Xr;return(xr===void 0?"undefined":et(xr))===void 0&&(xr=new Date),Xr=(xr===void 0?"undefined":et(xr))==="object"&&Object.prototype.toString.call(xr)==="[object Date]"?pr(xr):/^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(xr)?xr:pr(new Date),st=Xr},Lr=function(xr){var Xr=st;return xr==="jsDate"&&(Xr=function(Cr){var Hr=parseInt(Cr.substr(2,4),10),Fr=parseInt(Cr.substr(6,2),10)-1,jr=parseInt(Cr.substr(8,2),10),wr=parseInt(Cr.substr(10,2),10),pn=parseInt(Cr.substr(12,2),10),un=parseInt(Cr.substr(14,2),10);return parseInt(Cr.substr(16,2),10),parseInt(Cr.substr(20,2),10),new Date(Hr,Fr,jr,wr,pn,un,0)}(st)),Xr},Yr=function(xr){return xr=xr||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),ir=xr},Jr=function(xr){return xr.toFixed(2)},hn=function(xr){return xr.toFixed(3)},yr=function(xr){xr=typeof xr=="string"?xr:xr.toString(),Mt?or[Te].push(xr):(Ue+=xr.length+1,qt.push(xr))},zn=function(){return pt[++Zt]=Ue,yr(Zt+" 0 obj"),Zt},xn=function(xr){yr("stream"),yr(xr),yr("endstream")},In=function(){for(var xr in yr("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),yr("/Font <<"),Tt)Tt.hasOwnProperty(xr)&&yr("/"+xr+" "+Tt[xr].objectNumber+" 0 R");yr(">>"),yr("/XObject <<"),zt.publish("putXobjectDict"),yr(">>")},Qn=function(){(function(){for(var xr in Tt)Tt.hasOwnProperty(xr)&&(Xr=Tt[xr],zt.publish("putFont",{font:Xr,out:yr,newObject:zn}),Xr.isAlreadyPutted!==!0&&(Xr.objectNumber=zn(),yr("<<"),yr("/Type /Font"),yr("/BaseFont /"+Xr.postScriptName),yr("/Subtype /Type1"),typeof Xr.encoding=="string"&&yr("/Encoding /"+Xr.encoding),yr("/FirstChar 32"),yr("/LastChar 255"),yr(">>"),yr("endobj")));var Xr})(),zt.publish("putResources"),pt[2]=Ue,yr("2 0 obj"),yr("<<"),In(),yr(">>"),yr("endobj"),zt.publish("postPutResources")},Cn=function(xr,Xr,Cr){mt.hasOwnProperty(Xr)||(mt[Xr]={}),mt[Xr][Cr]=xr},bn=function(xr,Xr,Cr,Hr){var Fr="F"+(Object.keys(Tt).length+1).toString(10),jr=Tt[Fr]={id:Fr,postScriptName:xr,fontName:Xr,fontStyle:Cr,encoding:Hr,metadata:{}};return Cn(Fr,Xr,Cr),zt.publish("addFont",jr),Fr},Wn=function(xr,Xr){return function(Cr,Hr){var Fr,jr,wr,pn,un,jn,Xn,ca,ti;if(wr=(Hr=Hr||{}).sourceEncoding||"Unicode",un=Hr.outputEncoding,(Hr.autoencode||un)&&Tt[ae].metadata&&Tt[ae].metadata[wr]&&Tt[ae].metadata[wr].encoding&&(pn=Tt[ae].metadata[wr].encoding,!un&&Tt[ae].encoding&&(un=Tt[ae].encoding),!un&&pn.codePages&&(un=pn.codePages[0]),typeof un=="string"&&(un=pn[un]),un)){for(Xn=!1,jn=[],Fr=0,jr=Cr.length;Fr<jr;Fr++)(ca=un[Cr.charCodeAt(Fr)])?jn.push(String.fromCharCode(ca)):jn.push(Cr[Fr]),jn[Fr].charCodeAt(0)>>8&&(Xn=!0);Cr=jn.join("")}for(Fr=Cr.length;Xn===void 0&&Fr!==0;)Cr.charCodeAt(Fr-1)>>8&&(Xn=!0),Fr--;if(!Xn)return Cr;for(jn=Hr.noBOM?[]:[254,255],Fr=0,jr=Cr.length;Fr<jr;Fr++){if((ti=(ca=Cr.charCodeAt(Fr))>>8)>>8)throw new Error("Character at position "+Fr+" of string '"+Cr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");jn.push(ti),jn.push(ca-(ti<<8))}return String.fromCharCode.apply(void 0,jn)}(xr,Xr).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Vn=function(){(function(xr,Xr){var Cr=typeof Xr=="string"&&Xr.toLowerCase();if(typeof xr=="string"){var Hr=xr.toLowerCase();be.hasOwnProperty(Hr)&&(xr=be[Hr][0]/Ee,Xr=be[Hr][1]/Ee)}if(Array.isArray(xr)&&(Xr=xr[1],xr=xr[0]),Cr){switch(Cr.substr(0,1)){case"l":xr<Xr&&(Cr="s");break;case"p":Xr<xr&&(Cr="s")}Cr==="s"&&(ye=xr,xr=Xr,Xr=ye)}Mt=!0,or[++Jt]=[],ht[Jt]={width:Number(xr)||je,height:Number(Xr)||qe},ut[Jt]={},oa(Jt)}).apply(this,arguments),yr(Jr(nr*Ee)+" w"),yr(Wt),Qt!==0&&yr(Qt+" J"),at!==0&&yr(at+" j"),zt.publish("addPage",{pageNumber:Jt})},oa=function(xr){0<xr&&xr<=Jt&&(je=ht[Te=xr].width,qe=ht[xr].height)},kr=function(xr,Xr,Cr){var Hr,Fr=void 0;return Cr=Cr||{},xr=xr!==void 0?xr:Tt[ae].fontName,Xr=Xr!==void 0?Xr:Tt[ae].fontStyle,Hr=xr.toLowerCase(),mt[Hr]!==void 0&&mt[Hr][Xr]!==void 0?Fr=mt[Hr][Xr]:mt[xr]!==void 0&&mt[xr][Xr]!==void 0?Fr=mt[xr][Xr]:Cr.disableWarning===!1&&console.warn("Unable to look up font label for font '"+xr+"', '"+Xr+"'. Refer to getFontList() for available fonts."),Fr||Cr.noFallback||(Fr=mt.times[Xr])==null&&(Fr=mt.times.normal),Fr},kn=function(){Mt=!1,Zt=2,Ue=0,qt=[],pt=[],Nt=[],zt.publish("buildDocument"),yr("%PDF-"+te),yr("%\xBA\xDF\xAC\xE0"),function(){var Fr,jr,wr,pn,un,jn,Xn,ca,ti,Ia=[];for(Xn=pe.adler32cs||Z.API.adler32cs,Ct&&Xn===void 0&&(Ct=!1),Fr=1;Fr<=Jt;Fr++){if(Ia.push(zn()),ca=(je=ht[Fr].width)*Ee,ti=(qe=ht[Fr].height)*Ee,yr("<</Type /Page"),yr("/Parent 1 0 R"),yr("/Resources 2 0 R"),yr("/MediaBox [0 0 "+Jr(ca)+" "+Jr(ti)+"]"),zt.publish("putPage",{pageNumber:Fr,page:or[Fr]}),yr("/Contents "+(Zt+1)+" 0 R"),yr(">>"),yr("endobj"),jr=or[Fr].join(`
|
|
|
`),zn(),Ct){for(wr=[],pn=jr.length;pn--;)wr[pn]=jr.charCodeAt(pn);jn=Xn.from(jr),(un=new Deflater(6)).append(new Uint8Array(wr)),jr=un.flush(),(wr=new Uint8Array(jr.length+6)).set(new Uint8Array([120,156])),wr.set(jr,2),wr.set(new Uint8Array([255&jn,jn>>8&255,jn>>16&255,jn>>24&255]),jr.length+2),jr=String.fromCharCode.apply(null,wr),yr("<</Length "+jr.length+" /Filter [/FlateDecode]>>")}else yr("<</Length "+jr.length+">>");xn(jr),yr("endobj")}pt[1]=Ue,yr("1 0 obj"),yr("<</Type /Pages");var aa="/Kids [";for(pn=0;pn<Jt;pn++)aa+=Ia[pn]+" 0 R ";yr(aa+"]"),yr("/Count "+Jt),yr(">>"),yr("endobj"),zt.publish("postPutPages")}(),function(){zt.publish("putAdditionalObjects");for(var Fr=0;Fr<Nt.length;Fr++){var jr=Nt[Fr];pt[jr.objId]=Ue,yr(jr.objId+" 0 obj"),yr(jr.content),yr("endobj")}Zt+=Nt.length,zt.publish("postPutAdditionalObjects")}(),Qn(),zn(),yr("<<"),function(){for(var Fr in yr("/Producer (jsPDF "+Z.version+")"),ot)ot.hasOwnProperty(Fr)&&ot[Fr]&&yr("/"+Fr.substr(0,1).toUpperCase()+Fr.substr(1)+" ("+Wn(ot[Fr])+")");yr("/CreationDate ("+st+")")}(),yr(">>"),yr("endobj"),zn(),yr("<<"),function(){switch(yr("/Type /Catalog"),yr("/Pages 1 0 R"),ke||(ke="fullwidth"),ke){case"fullwidth":yr("/OpenAction [3 0 R /FitH null]");break;case"fullheight":yr("/OpenAction [3 0 R /FitV null]");break;case"fullpage":yr("/OpenAction [3 0 R /Fit]");break;case"original":yr("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Fr=""+ke;Fr.substr(Fr.length-1)==="%"&&(ke=parseInt(ke)/100),typeof ke=="number"&&yr("/OpenAction [3 0 R /XYZ null null "+Jr(ke)+"]")}switch(tt||(tt="continuous"),tt){case"continuous":yr("/PageLayout /OneColumn");break;case"single":yr("/PageLayout /SinglePage");break;case"two":case"twoleft":yr("/PageLayout /TwoColumnLeft");break;case"tworight":yr("/PageLayout /TwoColumnRight")}Le&&yr("/PageMode /"+Le),zt.publish("putCatalog")}(),yr(">>"),yr("endobj");var xr,Xr=Ue,Cr="0000000000";for(yr("xref"),yr("0 "+(Zt+1)),yr(Cr+" 65535 f "),xr=1;xr<=Zt;xr++){var Hr=pt[xr];yr(typeof Hr=="function"?(Cr+pt[xr]()).slice(-10)+" 00000 n ":(Cr+pt[xr]).slice(-10)+" 00000 n ")}return yr("trailer"),yr("<<"),yr("/Size "+(Zt+1)),yr("/Root "+Zt+" 0 R"),yr("/Info "+(Zt-1)+" 0 R"),yr("/ID [ <"+ir+"> <"+ir+"> ]"),yr(">>"),yr("startxref"),yr(""+Xr),yr("%%EOF"),Mt=!0,qt.join(`
|
|
|
`)},Pn=function(xr){var Xr="S";return xr==="F"?Xr="f":xr==="FD"||xr==="DF"?Xr="B":xr!=="f"&&xr!=="f*"&&xr!=="B"&&xr!=="B*"||(Xr=xr),Xr},Ma=function(){for(var xr=kn(),Xr=xr.length,Cr=new ArrayBuffer(Xr),Hr=new Uint8Array(Cr);Xr--;)Hr[Xr]=xr.charCodeAt(Xr);return Cr},Oa=function(){return new Blob([Ma()],{type:"application/pdf"})},ba=((_t=function(xr,Xr){var Cr=(""+xr).substr(0,6)==="dataur"?"data:application/pdf;base64,"+btoa(kn()):0;switch(xr){case void 0:return kn();case"save":if((typeof navigator=="undefined"?"undefined":et(navigator))==="object"&&navigator.getUserMedia&&(pe.URL===void 0||pe.URL.createObjectURL===void 0))return it.output("dataurlnewwindow");Se(Oa(),Xr),typeof Se.unload=="function"&&pe.setTimeout&&setTimeout(Se.unload,911);break;case"arraybuffer":return Ma();case"blob":return Oa();case"bloburi":case"bloburl":return pe.URL&&pe.URL.createObjectURL(Oa())||void 0;case"datauristring":case"dataurlstring":return Cr;case"dataurlnewwindow":var Hr=pe.open(Cr);if(Hr||typeof safari=="undefined")return Hr;case"datauri":case"dataurl":return pe.document.location.href=Cr;default:throw new Error('Output type "'+xr+'" is not supported.')}}).foo=function(){try{return _t.apply(this,arguments)}catch(Xr){var Ir=Xr.stack||"";~Ir.indexOf(" at ")&&(Ir=Ir.split(" at ")[1]);var xr="Error in function "+Ir.split(`
|
|
|
`)[0].split("<")[0]+": "+Xr.message;if(!pe.console)throw new Error(xr);pe.console.error(xr,Xr),pe.alert&&alert(xr)}},(_t.foo.bar=_t).foo),La=function(xr){return Array.isArray(ar)===!0&&-1<ar.indexOf(xr)};switch(he){case"pt":Ee=1;break;case"mm":Ee=72/25.4;break;case"cm":Ee=72/2.54;break;case"in":Ee=72;break;case"px":Ee=La("px_scaling")==1?.75:96/72;break;case"pc":case"em":Ee=12;break;case"ex":Ee=6;break;default:throw"Invalid unit: "+he}for(var Hn in Tr(),Yr(),it.internal={pdfEscape:Wn,getStyle:Pn,getFont:function(){return Tt[kr.apply(it,arguments)]},getFontSize:function(){return vt},getCharSpace:function(){return Je},getTextColor:function(){var xr=Rt.split(" ");if(xr.length===2&&xr[1]==="g"){var Xr=parseFloat(xr[0]);xr=[Xr,Xr,Xr,"r"]}for(var Cr="#",Hr=0;Hr<3;Hr++)Cr+=("0"+Math.floor(255*parseFloat(xr[Hr])).toString(16)).slice(-2);return Cr},getLineHeight:function(){return vt*Ht},write:function(xr){yr(arguments.length===1?xr:Array.prototype.join.call(arguments," "))},getCoordinateString:function(xr){return Jr(xr*Ee)},getVerticalCoordinateString:function(xr){return Jr((qe-xr)*Ee)},collections:{},newObject:zn,newAdditionalObject:function(){var xr=2*or.length+1,Xr={objId:xr+=Nt.length,content:""};return Nt.push(Xr),Xr},newObjectDeferred:function(){return pt[++Zt]=function(){return Ue},Zt},newObjectDeferredBegin:function(xr){pt[xr]=Ue},putStream:xn,events:zt,scaleFactor:Ee,pageSize:{getWidth:function(){return je},getHeight:function(){return qe}},output:function(xr,Xr){return ba(xr,Xr)},getNumberOfPages:function(){return or.length-1},pages:or,out:yr,f2:Jr,getPageInfo:function(xr){return{objId:2*(xr-1)+3,pageNumber:xr,pageContext:ut[xr]}},getCurrentPageInfo:function(){return{objId:2*(Te-1)+3,pageNumber:Te,pageContext:ut[Te]}},getPDFVersion:function(){return te},hasHotfix:La},it.addPage=function(){return Vn.apply(this,arguments),this},it.setPage=function(){return oa.apply(this,arguments),this},it.insertPage=function(Ir){return this.addPage(),this.movePage(Te,Ir),this},it.movePage=function(Ir,xr){if(xr<Ir){for(var Xr=or[Ir],Cr=ht[Ir],Hr=ut[Ir],Fr=Ir;xr<Fr;Fr--)or[Fr]=or[Fr-1],ht[Fr]=ht[Fr-1],ut[Fr]=ut[Fr-1];or[xr]=Xr,ht[xr]=Cr,ut[xr]=Hr,this.setPage(xr)}else if(Ir<xr){for(Xr=or[Ir],Cr=ht[Ir],Hr=ut[Ir],Fr=Ir;Fr<xr;Fr++)or[Fr]=or[Fr+1],ht[Fr]=ht[Fr+1],ut[Fr]=ut[Fr+1];or[xr]=Xr,ht[xr]=Cr,ut[xr]=Hr,this.setPage(xr)}return this},it.deletePage=function(){return function(Ir){0<Ir&&Ir<=Jt&&(or.splice(Ir,1),ht.splice(Ir,1),--Jt<Te&&(Te=Jt),this.setPage(Te))}.apply(this,arguments),this},it.setCreationDate=function(Ir){return Tr(Ir),this},it.getCreationDate=function(Ir){return Lr(Ir)},it.setFileId=function(Ir){return Yr(Ir),this},it.getFileId=function(){return ir},it.setDisplayMode=function(Ir,xr,Xr){if(ke=Ir,tt=xr,[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Le=Xr)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Xr+'" is not recognized.');return this},it.text=function(Ir,xr,Xr,Cr){var Hr,Fr,jr="",wr=Ht,pn=this;function un(sr){for(var lr,Mr=sr.concat(),Rr=[],Vr=Mr.length;Vr--;)typeof(lr=Mr.shift())=="string"?Rr.push(lr):Object.prototype.toString.call(sr)==="[object Array]"&&lr.length===1?Rr.push(lr[0]):Rr.push([lr[0],lr[1],lr[2]]);return Rr}function jn(sr,lr){var Mr;if(typeof sr=="string")Mr=lr(sr)[0];else if(Object.prototype.toString.call(sr)==="[object Array]"){for(var Rr,Vr,sn=sr.concat(),vn=[],An=sn.length;An--;)typeof(Rr=sn.shift())=="string"?vn.push(lr(Rr)[0]):Object.prototype.toString.call(Rr)==="[object Array]"&&Rr[0]==="string"&&(Vr=lr(Rr[0],Rr[1],Rr[2]),vn.push([Vr[0],Vr[1],Vr[2]]));Mr=vn}return Mr}typeof Ir=="number"&&(Fr=Xr,Xr=xr,xr=Ir,Ir=Fr);var Xn=Cr,ca=arguments[4],ti=arguments[5];(Xn===void 0?"undefined":et(Xn))==="object"&&Xn!==null||(typeof ca=="string"&&(ti=ca,ca=null),typeof Xn=="string"&&(ti=Xn,Xn=null),typeof Xn=="number"&&(ca=Xn,Xn=null),Cr={flags:Xn,angle:ca,align:ti});var Ia=!1,aa=!0;if(typeof Ir=="string")Ia=!0;else if(Object.prototype.toString.call(Ir)==="[object Array]"){for(var za,ci=Ir.concat(),qa=[],yi=ci.length;yi--;)(typeof(za=ci.shift())!="string"||Object.prototype.toString.call(za)==="[object Array]"&&typeof za[0]!="string")&&(aa=!1);Ia=aa}if(Ia===!1)throw new Error('Type of text must be string or Array. "'+Ir+'" is not recognized.');var Li=Tt[ae].encoding;Li!=="WinAnsiEncoding"&&Li!=="StandardEncoding"||(Ir=jn(Ir,function(sr,lr,Mr){return[(Rr=sr,Rr=Rr.split(" ").join(Array(Cr.TabLen||9).join(" ")),Wn(Rr,Xn)),lr,Mr];var Rr})),typeof Ir=="string"&&(Ir=Ir.match(/[\r?\n]/)?Ir.split(/\r\n|\r|\n/g):[Ir]),0<(Ho=Cr.maxWidth||0)&&(typeof Ir=="string"?Ir=pn.splitTextToSize(Ir,Ho):Object.prototype.toString.call(Ir)==="[object Array]"&&(Ir=pn.splitTextToSize(Ir.join(" "),Ho)));var ha={text:Ir,x:xr,y:Xr,options:Cr,mutex:{pdfEscape:Wn,activeFontKey:ae,fonts:Tt,activeFontSize:vt}};zt.publish("preProcessText",ha),Ir=ha.text,ca=(Cr=ha.options).angle;var ka=pn.internal.scaleFactor,Hi=(pn.internal.pageSize.getHeight(),[]);if(ca){ca*=Math.PI/180;var ao=Math.cos(ca),Qi=Math.sin(ca),ta=function(lr){return lr.toFixed(2)};Hi=[ta(ao),ta(Qi),ta(-1*Qi),ta(ao)]}(io=Cr.charSpace)!==void 0&&(jr+=io+` Tc
|
|
|
`),Cr.lang;var la=-1,qr=Cr.renderingMode||Cr.stroke,Ca=pn.internal.getCurrentPageInfo().pageContext;switch(qr){case 0:case!1:case"fill":la=0;break;case 1:case!0:case"stroke":la=1;break;case 2:case"fillThenStroke":la=2;break;case 3:case"invisible":la=3;break;case 4:case"fillAndAddForClipping":la=4;break;case 5:case"strokeAndAddPathForClipping":la=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":la=6;break;case 7:case"addToPathForClipping":la=7}var li=Ca.usedRenderingMode||-1;la!==-1?jr+=la+` Tr
|
|
|
`:li!==-1&&(jr+=`0 Tr
|
|
|
`),la!==-1&&(Ca.usedRenderingMode=la),ti=Cr.align||"left";var di=vt*wr,_i=pn.internal.pageSize.getHeight(),Lo=pn.internal.pageSize.getWidth(),$i=(ka=pn.internal.scaleFactor,Tt[ae]),io=Cr.charSpace||Je,Ho=Cr.maxWidth||0,xo=(Xn={},[]);if(Object.prototype.toString.call(Ir)==="[object Array]"){var Vo,Io;qa=un(Ir),ti!=="left"&&(Io=qa.map(function(sr){return pn.getStringUnitWidth(sr,{font:$i,charSpace:io,fontSize:vt})*vt/ka}));var Do,Hs=Math.max.apply(Math,Io),as=0;if(ti==="right"){xr-=Io[0],Ir=[];var xi=0;for(yi=qa.length;xi<yi;xi++)Hs-Io[xi],xi===0?(Do=xr*ka,Vo=(_i-Xr)*ka):(Do=(as-Io[xi])*ka,Vo=-di),Ir.push([qa[xi],Do,Vo]),as=Io[xi]}else if(ti==="center")for(xr-=Io[0]/2,Ir=[],xi=0,yi=qa.length;xi<yi;xi++)(Hs-Io[xi])/2,xi===0?(Do=xr*ka,Vo=(_i-Xr)*ka):(Do=(as-Io[xi])/2*ka,Vo=-di),Ir.push([qa[xi],Do,Vo]),as=Io[xi];else if(ti==="left")for(Ir=[],xi=0,yi=qa.length;xi<yi;xi++)Vo=xi===0?(_i-Xr)*ka:-di,Do=xi===0?xr*ka:0,Ir.push(qa[xi]);else{if(ti!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(Ir=[],Ho=Ho!==0?Ho:Lo,xi=0,yi=qa.length;xi<yi;xi++)Vo=xi===0?(_i-Xr)*ka:-di,Do=xi===0?xr*ka:0,xi<yi-1&&xo.push(((Ho-Io[xi])/(qa[xi].split(" ").length-1)*ka).toFixed(2)),Ir.push([qa[xi],Do,Vo])}}(typeof Cr.R2L=="boolean"?Cr.R2L:Yt)===!0&&(Ir=jn(Ir,function(sr,lr,Mr){return[sr.split("").reverse().join(""),lr,Mr]})),ha={text:Ir,x:xr,y:Xr,options:Cr,mutex:{pdfEscape:Wn,activeFontKey:ae,fonts:Tt,activeFontSize:vt}},zt.publish("postProcessText",ha),Ir=ha.text,Hr=ha.mutex.isHex,qa=un(Ir),Ir=[];var Os,vs,fs,ji=0,Ke=(yi=qa.length,"");for(xi=0;xi<yi;xi++)Ke="",Object.prototype.toString.call(qa[xi])!=="[object Array]"?(Os=parseFloat(xr*ka).toFixed(2),vs=parseFloat((_i-Xr)*ka).toFixed(2),fs=(Hr?"<":"(")+qa[xi]+(Hr?">":")")):Object.prototype.toString.call(qa[xi])==="[object Array]"&&(Os=parseFloat(qa[xi][1]).toFixed(2),vs=parseFloat(qa[xi][2]).toFixed(2),fs=(Hr?"<":"(")+qa[xi][0]+(Hr?">":")"),ji=1),xo!==void 0&&xo[xi]!==void 0&&(Ke=xo[xi]+` Tw
|
|
|
`),Hi.length!==0&&xi===0?Ir.push(Ke+Hi.join(" ")+" "+Os+" "+vs+` Tm
|
|
|
`+fs):ji===1||ji===0&&xi===0?Ir.push(Ke+Os+" "+vs+` Td
|
|
|
`+fs):Ir.push(Ke+fs);Ir=ji===0?Ir.join(` Tj
|
|
|
T* `):Ir.join(` Tj
|
|
|
`),Ir+=` Tj
|
|
|
`;var Gt=`BT
|
|
|
/`+ae+" "+vt+` Tf
|
|
|
`+(vt*wr).toFixed(2)+` TL
|
|
|
`+Rt+`
|
|
|
`;return Gt+=jr,Gt+=Ir,yr(Gt+="ET"),pn},it.lstext=function(Ir,xr,Xr,Cr){console.warn("jsPDF.lstext is deprecated");for(var Hr=0,Fr=Ir.length;Hr<Fr;Hr++,xr+=Cr)this.text(Ir[Hr],xr,Xr);return this},it.line=function(Ir,xr,Xr,Cr){return this.lines([[Xr-Ir,Cr-xr]],Ir,xr)},it.clip=function(){yr("W"),yr("S")},it.clip_fixed=function(Ir){yr(Ir==="evenodd"?"W*":"W"),yr("n")},it.lines=function(Ir,xr,Xr,Cr,Hr,Fr){var jr,wr,pn,un,jn,Xn,ca,ti,Ia,aa,za;for(typeof Ir=="number"&&(ye=Xr,Xr=xr,xr=Ir,Ir=ye),Cr=Cr||[1,1],yr(hn(xr*Ee)+" "+hn((qe-Xr)*Ee)+" m "),jr=Cr[0],wr=Cr[1],un=Ir.length,aa=xr,za=Xr,pn=0;pn<un;pn++)(jn=Ir[pn]).length===2?(aa=jn[0]*jr+aa,za=jn[1]*wr+za,yr(hn(aa*Ee)+" "+hn((qe-za)*Ee)+" l")):(Xn=jn[0]*jr+aa,ca=jn[1]*wr+za,ti=jn[2]*jr+aa,Ia=jn[3]*wr+za,aa=jn[4]*jr+aa,za=jn[5]*wr+za,yr(hn(Xn*Ee)+" "+hn((qe-ca)*Ee)+" "+hn(ti*Ee)+" "+hn((qe-Ia)*Ee)+" "+hn(aa*Ee)+" "+hn((qe-za)*Ee)+" c"));return Fr&&yr(" h"),Hr!==null&&yr(Pn(Hr)),this},it.rect=function(Ir,xr,Xr,Cr,Hr){return Pn(Hr),yr([Jr(Ir*Ee),Jr((qe-xr)*Ee),Jr(Xr*Ee),Jr(-Cr*Ee),"re"].join(" ")),Hr!==null&&yr(Pn(Hr)),this},it.triangle=function(Ir,xr,Xr,Cr,Hr,Fr,jr){return this.lines([[Xr-Ir,Cr-xr],[Hr-Xr,Fr-Cr],[Ir-Hr,xr-Fr]],Ir,xr,[1,1],jr,!0),this},it.roundedRect=function(Ir,xr,Xr,Cr,Hr,Fr,jr){var wr=4/3*(Math.SQRT2-1);return this.lines([[Xr-2*Hr,0],[Hr*wr,0,Hr,Fr-Fr*wr,Hr,Fr],[0,Cr-2*Fr],[0,Fr*wr,-Hr*wr,Fr,-Hr,Fr],[2*Hr-Xr,0],[-Hr*wr,0,-Hr,-Fr*wr,-Hr,-Fr],[0,2*Fr-Cr],[0,-Fr*wr,Hr*wr,-Fr,Hr,-Fr]],Ir+Hr,xr,[1,1],jr),this},it.ellipse=function(Ir,xr,Xr,Cr,Hr){var Fr=4/3*(Math.SQRT2-1)*Xr,jr=4/3*(Math.SQRT2-1)*Cr;return yr([Jr((Ir+Xr)*Ee),Jr((qe-xr)*Ee),"m",Jr((Ir+Xr)*Ee),Jr((qe-(xr-jr))*Ee),Jr((Ir+Fr)*Ee),Jr((qe-(xr-Cr))*Ee),Jr(Ir*Ee),Jr((qe-(xr-Cr))*Ee),"c"].join(" ")),yr([Jr((Ir-Fr)*Ee),Jr((qe-(xr-Cr))*Ee),Jr((Ir-Xr)*Ee),Jr((qe-(xr-jr))*Ee),Jr((Ir-Xr)*Ee),Jr((qe-xr)*Ee),"c"].join(" ")),yr([Jr((Ir-Xr)*Ee),Jr((qe-(xr+jr))*Ee),Jr((Ir-Fr)*Ee),Jr((qe-(xr+Cr))*Ee),Jr(Ir*Ee),Jr((qe-(xr+Cr))*Ee),"c"].join(" ")),yr([Jr((Ir+Fr)*Ee),Jr((qe-(xr+Cr))*Ee),Jr((Ir+Xr)*Ee),Jr((qe-(xr+jr))*Ee),Jr((Ir+Xr)*Ee),Jr((qe-xr)*Ee),"c"].join(" ")),Hr!==null&&yr(Pn(Hr)),this},it.circle=function(Ir,xr,Xr,Cr){return this.ellipse(Ir,xr,Xr,Xr,Cr)},it.setProperties=function(Ir){for(var xr in ot)ot.hasOwnProperty(xr)&&Ir[xr]&&(ot[xr]=Ir[xr]);return this},it.setFontSize=function(Ir){return vt=Ir,this},it.setFont=function(Ir,xr){return ae=kr(Ir,xr),this},it.setFontStyle=it.setFontType=function(Ir){return ae=kr(void 0,Ir),this},it.getFontList=function(){var Ir,xr,Xr,Cr={};for(Ir in mt)if(mt.hasOwnProperty(Ir))for(xr in Cr[Ir]=Xr=[],mt[Ir])mt[Ir].hasOwnProperty(xr)&&Xr.push(xr);return Cr},it.addFont=function(Ir,xr,Xr,Cr){bn(Ir,xr,Xr,Cr=Cr||"Identity-H")},it.setLineWidth=function(Ir){return yr((Ir*Ee).toFixed(2)+" w"),this},it.setDrawColor=function(Ir,xr,Xr,Cr){return yr(dr({ch1:Ir,ch2:xr,ch3:Xr,ch4:Cr,pdfColorType:"draw",precision:2})),this},it.setFillColor=function(Ir,xr,Xr,Cr){return yr(dr({ch1:Ir,ch2:xr,ch3:Xr,ch4:Cr,pdfColorType:"fill",precision:2})),this},it.setTextColor=function(Ir,xr,Xr,Cr){return Rt=dr({ch1:Ir,ch2:xr,ch3:Xr,ch4:Cr,pdfColorType:"text",precision:3}),this},it.setCharSpace=function(Ir){return Je=Ir,this},it.setR2L=function(Ir){return Yt=Ir,this},it.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},it.setLineCap=function(Ir){var xr=this.CapJoinStyles[Ir];if(xr===void 0)throw new Error("Line cap style of '"+Ir+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return yr((Qt=xr)+" J"),this},it.setLineJoin=function(Ir){var xr=this.CapJoinStyles[Ir];if(xr===void 0)throw new Error("Line join style of '"+Ir+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return yr((at=xr)+" j"),this},it.output=ba,it.save=function(Ir){it.output("save",Ir)},Z.API)Z.API.hasOwnProperty(Hn)&&(Hn==="events"&&Z.API.events.length?function(Ir,xr){var Xr,Cr,Hr;for(Hr=xr.length-1;Hr!==-1;Hr--)Xr=xr[Hr][0],Cr=xr[Hr][1],Ir.subscribe.apply(Ir,[Xr].concat(typeof Cr=="function"?[Cr]:Cr))}(zt,Z.API.events):it[Hn]=Z.API[Hn]);return function(){for(var Ir="helvetica",xr="times",Xr="courier",Cr="normal",Hr="bold",Fr="italic",jr="bolditalic",wr=[["Helvetica",Ir,Cr,"WinAnsiEncoding"],["Helvetica-Bold",Ir,Hr,"WinAnsiEncoding"],["Helvetica-Oblique",Ir,Fr,"WinAnsiEncoding"],["Helvetica-BoldOblique",Ir,jr,"WinAnsiEncoding"],["Courier",Xr,Cr,"WinAnsiEncoding"],["Courier-Bold",Xr,Hr,"WinAnsiEncoding"],["Courier-Oblique",Xr,Fr,"WinAnsiEncoding"],["Courier-BoldOblique",Xr,jr,"WinAnsiEncoding"],["Times-Roman",xr,Cr,"WinAnsiEncoding"],["Times-Bold",xr,Hr,"WinAnsiEncoding"],["Times-Italic",xr,Fr,"WinAnsiEncoding"],["Times-BoldItalic",xr,jr,"WinAnsiEncoding"],["ZapfDingbats","zapfdingbats",Cr,null],["Symbol","symbol",Cr,null]],pn=0,un=wr.length;pn<un;pn++){var jn=bn(wr[pn][0],wr[pn][1],wr[pn][2],wr[pn][3]),Xn=wr[pn][0].split("-");Cn(jn,Xn[0],Xn[1]||"")}zt.publish("addFonts",{fonts:Tt,dictionary:mt})}(),ae="F1",Vn(Oe,se),zt.publish("initialized"),it}return Z.API={events:[]},Z.version="0.0.0",w=function(){return Z}.call(V,e,V,oe),w!==void 0&&(oe.exports=w),Z}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")());/** @preserve
|
|
|
* jsPDF - PDF Document creation from JavaScript
|
|
|
* Version 1.4.1 Built on 2018-06-06T07:49:34.040Z
|
|
|
* CommitID 3233f44044
|
|
|
*
|
|
|
* 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(pe,te){var be,xe,Z=1,se=function(at,Ue){at.prototype=Object.create(Ue.prototype),at.prototype.constructor=at},he=function(at){return at*(Z/1)},Oe=function(at){var Ue=new Yt,ot=Nt.internal.getHeight(at)||0,it=Nt.internal.getWidth(at)||0;return Ue.BBox=[0,0,it.toFixed(2),ot.toFixed(2)],Ue},ne=function(at,Ue,ot){at=at||0;var it=1;return it<<=Ue-1,(ot=ot||1)==1?at=at|it:at=at&~it,at},ce=function(at,Ue,ot){return ot=ot||1.3,at=at||0,Ue.readOnly==1&&(at=ne(at,1)),Ue.required==1&&(at=ne(at,2)),Ue.noExport==1&&(at=ne(at,3)),Ue.multiline==1&&(at=ne(at,13)),Ue.password&&(at=ne(at,14)),Ue.noToggleToOff&&(at=ne(at,15)),Ue.radio&&(at=ne(at,16)),Ue.pushbutton&&(at=ne(at,17)),Ue.combo&&(at=ne(at,18)),Ue.edit&&(at=ne(at,19)),Ue.sort&&(at=ne(at,20)),Ue.fileSelect&&1.4<=ot&&(at=ne(at,21)),Ue.multiSelect&&1.4<=ot&&(at=ne(at,22)),Ue.doNotSpellCheck&&1.4<=ot&&(at=ne(at,23)),Ue.doNotScroll==1&&1.4<=ot&&(at=ne(at,24)),Ue.richText&&1.4<=ot&&(at=ne(at,25)),at},ae=function(at){var Ue=at[0],ot=at[1],it=at[2],zt=at[3],ar={};return Array.isArray(Ue)?(Ue[0]=he(Ue[0]),Ue[1]=he(Ue[1]),Ue[2]=he(Ue[2]),Ue[3]=he(Ue[3])):(Ue=he(Ue),ot=he(ot),it=he(it),zt=he(zt)),ar.lowerLeft_X=Ue||0,ar.lowerLeft_Y=he(xe)-ot-zt||0,ar.upperRight_X=Ue+it||0,ar.upperRight_Y=he(xe)-ot||0,[ar.lowerLeft_X.toFixed(2),ar.lowerLeft_Y.toFixed(2),ar.upperRight_X.toFixed(2),ar.upperRight_Y.toFixed(2)]},Ee=function(at){if(at.appearanceStreamContent)return at.appearanceStreamContent;if(at.V||at.DV){var Ue=[],ot=at.V||at.DV,it=ye(at,ot);Ue.push("/Tx BMC"),Ue.push("q"),Ue.push("/F1 "+it.fontSize.toFixed(2)+" Tf"),Ue.push("1 0 0 1 0 0 Tm"),Ue.push("BT"),Ue.push(it.text),Ue.push("ET"),Ue.push("Q"),Ue.push("EMC");var zt=new Oe(at);return zt.stream=Ue.join(`
|
|
|
`),zt}},ye=function(at,Ue,ot,it){it=it||12,ot=ot||"helvetica";var zt={text:"",fontSize:""},ar=(Ue=(Ue=Ue.substr(0,1)=="("?Ue.substr(1):Ue).substr(Ue.length-1)==")"?Ue.substr(0,Ue.length-1):Ue).split(" "),dr=it,pr=Nt.internal.getHeight(at)||0;pr=pr<0?-pr:pr;var Tr=Nt.internal.getWidth(at)||0;Tr=Tr<0?-Tr:Tr;var Lr=function(Ma,Oa,ba){if(Ma+1<ar.length){var La=Oa+" "+ar[Ma+1];return Te(La,ba+"px",ot).width<=Tr-4}return!1};dr++;e:for(;;){Ue="";var Yr=Te("3",--dr+"px",ot).height,Jr=at.multiline?pr-dr:(pr-Yr)/2,hn=-2,yr=Jr+=2,zn=0,xn=0,In=0;if(dr<=0){dr=12,Ue=`(...) Tj
|
|
|
`,Ue+="% Width of Text: "+Te(Ue,"1px").width+", FieldWidth:"+Tr+`
|
|
|
`;break}In=Te(ar[0]+" ",dr+"px",ot).width;var Qn="",Cn=0;for(var bn in ar){Qn=(Qn+=ar[bn]+" ").substr(Qn.length-1)==" "?Qn.substr(0,Qn.length-1):Qn;var Wn=parseInt(bn);In=Te(Qn+" ",dr+"px",ot).width;var Vn=Lr(Wn,Qn,dr),oa=bn>=ar.length-1;if(!Vn||oa){if(Vn||oa){if(oa)xn=Wn;else if(at.multiline&&pr<(Yr+2)*(Cn+2)+2)continue e}else{if(!at.multiline||pr<(Yr+2)*(Cn+2)+2)continue e;xn=Wn}for(var kr="",kn=zn;kn<=xn;kn++)kr+=ar[kn]+" ";switch(kr=kr.substr(kr.length-1)==" "?kr.substr(0,kr.length-1):kr,In=Te(kr,dr+"px",ot).width,at.Q){case 2:hn=Tr-In-2;break;case 1:hn=(Tr-In)/2;break;case 0:default:hn=2}Ue+=hn.toFixed(2)+" "+yr.toFixed(2)+` Td
|
|
|
`,Ue+="("+kr+`) Tj
|
|
|
`,Ue+=-hn.toFixed(2)+` 0 Td
|
|
|
`,yr=-(dr+2),In=0,zn=xn+1,Cn++,Qn=""}else Qn+=" "}break}return zt.text=Ue,zt.fontSize=dr,zt},Te=function(at,Ue,ot){ot=ot||"helvetica";var it=be.internal.getFont(ot),zt=be.getStringUnitWidth(at,{font:it,fontSize:parseFloat(Ue),charSpace:0})*parseFloat(Ue);return{height:be.getStringUnitWidth("3",{font:it,fontSize:parseFloat(Ue),charSpace:0})*parseFloat(Ue)*1.5,width:zt}},je={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},qe=function(){for(var at in be.internal.acroformPlugin.acroFormDictionaryRoot.Fields){var Ue=be.internal.acroformPlugin.acroFormDictionaryRoot.Fields[at];Ue.hasAnnotation&&ke.call(be,Ue)}},Le=function(at){be.internal.acroformPlugin.printedOut&&(be.internal.acroformPlugin.printedOut=!1,be.internal.acroformPlugin.acroFormDictionaryRoot=null),be.internal.acroformPlugin.acroFormDictionaryRoot||Rt.call(be),be.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(at)},ke=function(at){var Ue={type:"reference",object:at};be.annotationPlugin.annotations[be.internal.getPageInfo(at.page).pageNumber].push(Ue)},tt=function(){be.internal.acroformPlugin.acroFormDictionaryRoot!==void 0?be.internal.write("/AcroForm "+be.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},st=function(){be.internal.events.unsubscribe(be.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete be.internal.acroformPlugin.acroFormDictionaryRoot._eventID,be.internal.acroformPlugin.printedOut=!0},_t=function(at){var Ue=!at;at||(be.internal.newObjectDeferredBegin(be.internal.acroformPlugin.acroFormDictionaryRoot.objId),be.internal.out(be.internal.acroformPlugin.acroFormDictionaryRoot.getString())),at=at||be.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var ot in at){var it=at[ot],zt=it.Rect;it.Rect&&(it.Rect=ae.call(this,it.Rect)),be.internal.newObjectDeferredBegin(it.objId);var ar=it.objId+` 0 obj
|
|
|
<<
|
|
|
`;if((it===void 0?"undefined":et(it))==="object"&&typeof it.getContent=="function"&&(ar+=it.getContent()),it.Rect=zt,it.hasAppearanceStream&&!it.appearanceStreamContent){var dr=Ee.call(this,it);ar+="/AP << /N "+dr+` >>
|
|
|
`,be.internal.acroformPlugin.xForms.push(dr)}if(it.appearanceStreamContent){for(var pr in ar+="/AP << ",it.appearanceStreamContent){var Tr=it.appearanceStreamContent[pr];if(ar+="/"+pr+" ",ar+="<< ",1<=Object.keys(Tr).length||Array.isArray(Tr))for(var ot in Tr){var Lr;typeof(Lr=Tr[ot])=="function"&&(Lr=Lr.call(this,it)),ar+="/"+ot+" "+Lr+" ",0<=be.internal.acroformPlugin.xForms.indexOf(Lr)||be.internal.acroformPlugin.xForms.push(Lr)}else typeof(Lr=Tr)=="function"&&(Lr=Lr.call(this,it)),ar+="/"+ot+" "+Lr+`
|
|
|
`,0<=be.internal.acroformPlugin.xForms.indexOf(Lr)||be.internal.acroformPlugin.xForms.push(Lr);ar+=` >>
|
|
|
`}ar+=`>>
|
|
|
`}ar+=`>>
|
|
|
endobj
|
|
|
`,be.internal.out(ar)}Ue&&Ct.call(this,be.internal.acroformPlugin.xForms)},Ct=function(at){for(var Ue in at){var ot=Ue,it=at[Ue];be.internal.newObjectDeferredBegin(it&&it.objId);var zt="";(it===void 0?"undefined":et(it))==="object"&&typeof it.getString=="function"&&(zt=it.getString()),be.internal.out(zt),delete at[ot]}},Rt=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(be=this,nr.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(je)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Z=be.internal.scaleFactor,xe=be.internal.pageSize.getHeight(),be.internal.acroformPlugin.acroFormDictionaryRoot=new Ht,be.internal.acroformPlugin.acroFormDictionaryRoot._eventID=be.internal.events.subscribe("postPutResources",st),be.internal.events.subscribe("buildDocument",qe),be.internal.events.subscribe("putCatalog",tt),be.internal.events.subscribe("postPutPages",_t),be.internal.acroformPlugin.isInitialized=!0}},Wt=function(at){if(Array.isArray(at)){var Ue=" [";for(var ot in at)Ue+=at[ot].toString(),Ue+=ot<at.length-1?" ":"";return Ue+="]"}},vt=function(at){return(at=at||"").indexOf("(")!==0&&(at="("+at),at.substring(at.length-1)!=")"&&(at+=")"),at},Je=function(){var at;Object.defineProperty(this,"objId",{get:function(){return at||(at=be.internal.newObjectDeferred()),at||console.log("Couldn't create Object ID"),at},configurable:!1})};Je.prototype.toString=function(){return this.objId+" 0 R"},Je.prototype.getString=function(){var Qt=this.objId+` 0 obj
|
|
|
<<`;return Qt+=this.getContent()+`>>
|
|
|
`,this.stream&&(Qt+=`stream
|
|
|
`,Qt+=this.stream,Qt+=`
|
|
|
endstream
|
|
|
`),Qt+=`endobj
|
|
|
`},Je.prototype.getContent=function(){var Qt="";return Qt+=function(at){var Ue="",ot=Object.keys(at).filter(function(dr){return dr!="content"&&dr!="appearanceStreamContent"&&dr.substring(0,1)!="_"});for(var it in ot){var zt=ot[it],ar=at[zt];ar&&(Array.isArray(ar)?Ue+="/"+zt+" "+Wt(ar)+`
|
|
|
`:Ue+=ar instanceof Je?"/"+zt+" "+ar.objId+` 0 R
|
|
|
`:"/"+zt+" "+ar+`
|
|
|
`)}return Ue}(this)};var Yt=function(){var at;Je.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo,Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return at!==void 0?at.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(ot){at=ot.trim()},get:function(){return at||null}})};se(Yt,Je);var Ht=function(){Je.call(this);var at=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<at.length?at:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return at}}),this.DA};se(Ht,Je);var nr=function Qt(){var at;Je.call(this),Object.defineProperty(this,"Rect",{enumerable:!0,configurable:!1,get:function(){if(at)return at},set:function(pr){at=pr}});var Ue,ot,it,zt,ar="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(pr){ar=pr},get:function(){return ar}}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(pr){Ue=pr},get:function(){return!Ue||Ue.length<1?this instanceof or?void 0:"(FieldObject"+Qt.FieldNum+++")":Ue.substring(0,1)=="("&&Ue.substring(Ue.length-1)?Ue:"("+Ue+")"}}),Object.defineProperty(this,"DA",{enumerable:!0,get:function(){if(ot)return"("+ot+")"},set:function(pr){ot=pr}}),Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){if(it)return it},set:function(pr){it=pr}}),Object.defineProperty(this,"V",{enumerable:!0,configurable:!0,get:function(){if(zt)return zt},set:function(pr){zt=pr}}),Object.defineProperty(this,"Type",{enumerable:!0,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,get:function(){return this.hasAnnotation?"/Widget":null}}),this.BG,Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return!!(this.Rect||this.BC||this.BG)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})};se(nr,Je);var ir=function(){nr.call(this),this.FT="/Ch",this.Opt=[],this.V="()",this.TI=0;var at=!1;Object.defineProperty(this,"combo",{enumerable:!1,get:function(){return at},set:function(ot){at=ot}}),Object.defineProperty(this,"edit",{enumerable:!0,set:function(ot){ot==1?(this._edit=!0,this.combo=!0):this._edit=!1},get:function(){return!!this._edit&&this._edit},configurable:!1}),this.hasAppearanceStream=!0};se(ir,nr);var Zt=function(){ir.call(this),this.combo=!1};se(Zt,ir);var Mt=function(){Zt.call(this),this.combo=!0};se(Mt,Zt);var pt=function(){Mt.call(this),this.edit=!0};se(pt,Mt);var Tt=function(){nr.call(this),this.FT="/Btn"};se(Tt,nr);var mt=function(){Tt.call(this);var at=!0;Object.defineProperty(this,"pushbutton",{enumerable:!1,get:function(){return at},set:function(ot){at=ot}})};se(mt,Tt);var Jt=function(){Tt.call(this);var at=!0;Object.defineProperty(this,"radio",{enumerable:!1,get:function(){return at},set:function(zt){at=zt}});var Ue,ot=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){if(0<ot.length)return ot}}),Object.defineProperty(this,"__Kids",{get:function(){return ot}}),Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return Ue},set:function(zt){Ue=zt}})};se(Jt,Tt);var or=function(at,Ue){nr.call(this),this.Parent=at,this._AppearanceType=Nt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(Ue),this.F=ne(this.F,3,1),this.MK=this._AppearanceType.createMK(),this.AS="/Off",this._Name=Ue};se(or,nr),Jt.prototype.setAppearance=function(Qt){if("createAppearanceStream"in Qt&&"createMK"in Qt)for(var at in this.__Kids){var Ue=this.__Kids[at];Ue.appearanceStreamContent=Qt.createAppearanceStream(Ue._Name),Ue.MK=Qt.createMK()}else console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!")},Jt.prototype.createOption=function(Qt){this.__Kids.length;var at=new or(this,Qt);return this.__Kids.push(at),pe.addField(at),at};var ut=function(){Tt.call(this),this.appearanceStreamContent=Nt.CheckBox.createAppearanceStream(),this.MK=Nt.CheckBox.createMK(),this.AS="/On",this.V="/On"};se(ut,Tt);var ht=function(){var at,Ue;nr.call(this),this.DA=Nt.createDefaultAppearanceStream(),this.F=4,Object.defineProperty(this,"V",{get:function(){return at&&vt(at)},enumerable:!0,set:function(Tr){at=Tr}}),Object.defineProperty(this,"DV",{get:function(){return Ue&&vt(Ue)},enumerable:!0,set:function(Tr){Ue=Tr}});var ot=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return ot},set:function(Tr){ot=Tr}});var it=!1;Object.defineProperty(this,"fileSelect",{enumerable:!1,get:function(){return it},set:function(Tr){it=Tr}});var zt=!1;Object.defineProperty(this,"doNotSpellCheck",{enumerable:!1,get:function(){return zt},set:function(Tr){zt=Tr}});var ar=!1;Object.defineProperty(this,"doNotScroll",{enumerable:!1,get:function(){return ar},set:function(Tr){ar=Tr}});var dr=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return dr},set:function(Tr){dr=Tr}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})};se(ht,nr);var qt=function(){ht.call(this);var at=!0;Object.defineProperty(this,"password",{enumerable:!1,get:function(){return at},set:function(ot){at=ot}})};se(qt,ht);var Nt={CheckBox:{createAppearanceStream:function(){return{N:{On:Nt.CheckBox.YesNormal},D:{On:Nt.CheckBox.YesPushDown,Off:Nt.CheckBox.OffPushDown}}},createMK:function(){return"<< /CA (3)>>"},YesPushDown:function(at){var Ue=Oe(at),ot=[],it=be.internal.getFont("zapfdingbats","normal").id;at.Q=1;var zt=ye(at,"3","ZapfDingbats",50);return ot.push("0.749023 g"),ot.push("0 0 "+Nt.internal.getWidth(at).toFixed(2)+" "+Nt.internal.getHeight(at).toFixed(2)+" re"),ot.push("f"),ot.push("BMC"),ot.push("q"),ot.push("0 0 1 rg"),ot.push("/"+it+" "+zt.fontSize.toFixed(2)+" Tf 0 g"),ot.push("BT"),ot.push(zt.text),ot.push("ET"),ot.push("Q"),ot.push("EMC"),Ue.stream=ot.join(`
|
|
|
`),Ue},YesNormal:function(at){var Ue=Oe(at),ot=be.internal.getFont("zapfdingbats","normal").id,it=[];at.Q=1;var zt=Nt.internal.getHeight(at),ar=Nt.internal.getWidth(at),dr=ye(at,"3","ZapfDingbats",.9*zt);return it.push("1 g"),it.push("0 0 "+ar.toFixed(2)+" "+zt.toFixed(2)+" re"),it.push("f"),it.push("q"),it.push("0 0 1 rg"),it.push("0 0 "+(ar-1).toFixed(2)+" "+(zt-1).toFixed(2)+" re"),it.push("W"),it.push("n"),it.push("0 g"),it.push("BT"),it.push("/"+ot+" "+dr.fontSize.toFixed(2)+" Tf 0 g"),it.push(dr.text),it.push("ET"),it.push("Q"),Ue.stream=it.join(`
|
|
|
`),Ue},OffPushDown:function(at){var Ue=Oe(at),ot=[];return ot.push("0.749023 g"),ot.push("0 0 "+Nt.internal.getWidth(at).toFixed(2)+" "+Nt.internal.getHeight(at).toFixed(2)+" re"),ot.push("f"),Ue.stream=ot.join(`
|
|
|
`),Ue}},RadioButton:{Circle:{createAppearanceStream:function(at){var Ue={D:{Off:Nt.RadioButton.Circle.OffPushDown},N:{}};return Ue.N[at]=Nt.RadioButton.Circle.YesNormal,Ue.D[at]=Nt.RadioButton.Circle.YesPushDown,Ue},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(at){var Ue=Oe(at),ot=[],it=Nt.internal.getWidth(at)<=Nt.internal.getHeight(at)?Nt.internal.getWidth(at)/4:Nt.internal.getHeight(at)/4;it*=.9;var zt=Nt.internal.Bezier_C;return ot.push("q"),ot.push("1 0 0 1 "+Nt.internal.getWidth(at)/2+" "+Nt.internal.getHeight(at)/2+" cm"),ot.push(it+" 0 m"),ot.push(it+" "+it*zt+" "+it*zt+" "+it+" 0 "+it+" c"),ot.push("-"+it*zt+" "+it+" -"+it+" "+it*zt+" -"+it+" 0 c"),ot.push("-"+it+" -"+it*zt+" -"+it*zt+" -"+it+" 0 -"+it+" c"),ot.push(it*zt+" -"+it+" "+it+" -"+it*zt+" "+it+" 0 c"),ot.push("f"),ot.push("Q"),Ue.stream=ot.join(`
|
|
|
`),Ue},YesPushDown:function(at){var Ue=Oe(at),ot=[],it=Nt.internal.getWidth(at)<=Nt.internal.getHeight(at)?Nt.internal.getWidth(at)/4:Nt.internal.getHeight(at)/4,zt=2*(it*=.9),ar=zt*Nt.internal.Bezier_C,dr=it*Nt.internal.Bezier_C;return ot.push("0.749023 g"),ot.push("q"),ot.push("1 0 0 1 "+(Nt.internal.getWidth(at)/2).toFixed(2)+" "+(Nt.internal.getHeight(at)/2).toFixed(2)+" cm"),ot.push(zt+" 0 m"),ot.push(zt+" "+ar+" "+ar+" "+zt+" 0 "+zt+" c"),ot.push("-"+ar+" "+zt+" -"+zt+" "+ar+" -"+zt+" 0 c"),ot.push("-"+zt+" -"+ar+" -"+ar+" -"+zt+" 0 -"+zt+" c"),ot.push(ar+" -"+zt+" "+zt+" -"+ar+" "+zt+" 0 c"),ot.push("f"),ot.push("Q"),ot.push("0 g"),ot.push("q"),ot.push("1 0 0 1 "+(Nt.internal.getWidth(at)/2).toFixed(2)+" "+(Nt.internal.getHeight(at)/2).toFixed(2)+" cm"),ot.push(it+" 0 m"),ot.push(it+" "+dr+" "+dr+" "+it+" 0 "+it+" c"),ot.push("-"+dr+" "+it+" -"+it+" "+dr+" -"+it+" 0 c"),ot.push("-"+it+" -"+dr+" -"+dr+" -"+it+" 0 -"+it+" c"),ot.push(dr+" -"+it+" "+it+" -"+dr+" "+it+" 0 c"),ot.push("f"),ot.push("Q"),Ue.stream=ot.join(`
|
|
|
`),Ue},OffPushDown:function(at){var Ue=Oe(at),ot=[],it=Nt.internal.getWidth(at)<=Nt.internal.getHeight(at)?Nt.internal.getWidth(at)/4:Nt.internal.getHeight(at)/4,zt=2*(it*=.9),ar=zt*Nt.internal.Bezier_C;return ot.push("0.749023 g"),ot.push("q"),ot.push("1 0 0 1 "+(Nt.internal.getWidth(at)/2).toFixed(2)+" "+(Nt.internal.getHeight(at)/2).toFixed(2)+" cm"),ot.push(zt+" 0 m"),ot.push(zt+" "+ar+" "+ar+" "+zt+" 0 "+zt+" c"),ot.push("-"+ar+" "+zt+" -"+zt+" "+ar+" -"+zt+" 0 c"),ot.push("-"+zt+" -"+ar+" -"+ar+" -"+zt+" 0 -"+zt+" c"),ot.push(ar+" -"+zt+" "+zt+" -"+ar+" "+zt+" 0 c"),ot.push("f"),ot.push("Q"),Ue.stream=ot.join(`
|
|
|
`),Ue}},Cross:{createAppearanceStream:function(at){var Ue={D:{Off:Nt.RadioButton.Cross.OffPushDown},N:{}};return Ue.N[at]=Nt.RadioButton.Cross.YesNormal,Ue.D[at]=Nt.RadioButton.Cross.YesPushDown,Ue},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(at){var Ue=Oe(at),ot=[],it=Nt.internal.calculateCross(at);return ot.push("q"),ot.push("1 1 "+(Nt.internal.getWidth(at)-2).toFixed(2)+" "+(Nt.internal.getHeight(at)-2).toFixed(2)+" re"),ot.push("W"),ot.push("n"),ot.push(it.x1.x.toFixed(2)+" "+it.x1.y.toFixed(2)+" m"),ot.push(it.x2.x.toFixed(2)+" "+it.x2.y.toFixed(2)+" l"),ot.push(it.x4.x.toFixed(2)+" "+it.x4.y.toFixed(2)+" m"),ot.push(it.x3.x.toFixed(2)+" "+it.x3.y.toFixed(2)+" l"),ot.push("s"),ot.push("Q"),Ue.stream=ot.join(`
|
|
|
`),Ue},YesPushDown:function(at){var Ue=Oe(at),ot=Nt.internal.calculateCross(at),it=[];return it.push("0.749023 g"),it.push("0 0 "+Nt.internal.getWidth(at).toFixed(2)+" "+Nt.internal.getHeight(at).toFixed(2)+" re"),it.push("f"),it.push("q"),it.push("1 1 "+(Nt.internal.getWidth(at)-2).toFixed(2)+" "+(Nt.internal.getHeight(at)-2).toFixed(2)+" re"),it.push("W"),it.push("n"),it.push(ot.x1.x.toFixed(2)+" "+ot.x1.y.toFixed(2)+" m"),it.push(ot.x2.x.toFixed(2)+" "+ot.x2.y.toFixed(2)+" l"),it.push(ot.x4.x.toFixed(2)+" "+ot.x4.y.toFixed(2)+" m"),it.push(ot.x3.x.toFixed(2)+" "+ot.x3.y.toFixed(2)+" l"),it.push("s"),it.push("Q"),Ue.stream=it.join(`
|
|
|
`),Ue},OffPushDown:function(at){var Ue=Oe(at),ot=[];return ot.push("0.749023 g"),ot.push("0 0 "+Nt.internal.getWidth(at).toFixed(2)+" "+Nt.internal.getHeight(at).toFixed(2)+" re"),ot.push("f"),Ue.stream=ot.join(`
|
|
|
`),Ue}}},createDefaultAppearanceStream:function(at){return"/F1 0 Tf 0 g"}};Nt.internal={Bezier_C:.551915024494,calculateCross:function(at){var Ue,ot,it=Nt.internal.getWidth(at),zt=Nt.internal.getHeight(at),ar=(ot=zt)<(Ue=it)?ot:Ue;return{x1:{x:(it-ar)/2,y:(zt-ar)/2+ar},x2:{x:(it-ar)/2+ar,y:(zt-ar)/2},x3:{x:(it-ar)/2,y:(zt-ar)/2},x4:{x:(it-ar)/2+ar,y:(zt-ar)/2+ar}}}},Nt.internal.getWidth=function(Qt){var at=0;return(Qt===void 0?"undefined":et(Qt))==="object"&&(at=he(Qt.Rect[2])),at},Nt.internal.getHeight=function(Qt){var at=0;return(Qt===void 0?"undefined":et(Qt))==="object"&&(at=he(Qt.Rect[3])),at},pe.addField=function(Qt){return Rt.call(this),Qt instanceof ht?this.addTextField.call(this,Qt):Qt instanceof ir?this.addChoiceField.call(this,Qt):Qt instanceof Tt?this.addButton.call(this,Qt):Qt instanceof or?Le.call(this,Qt):Qt&&Le.call(this,Qt),Qt.page=be.internal.getCurrentPageInfo().pageNumber,this},pe.addButton=function(Qt){Rt.call(this);var at=Qt||new nr;at.FT="/Btn",at.Ff=ce(at.Ff,Qt,be.internal.getPDFVersion()),Le.call(this,at)},pe.addTextField=function(Qt){Rt.call(this);var at=Qt||new nr;at.FT="/Tx",at.Ff=ce(at.Ff,Qt,be.internal.getPDFVersion()),Le.call(this,at)},pe.addChoiceField=function(Qt){Rt.call(this);var at=Qt||new nr;at.FT="/Ch",at.Ff=ce(at.Ff,Qt,be.internal.getPDFVersion()),Le.call(this,at)},(te===void 0?"undefined":et(te))=="object"&&(te.ChoiceField=ir,te.ListBox=Zt,te.ComboBox=Mt,te.EditBox=pt,te.Button=Tt,te.PushButton=mt,te.RadioButton=Jt,te.CheckBox=ut,te.TextField=ht,te.PasswordField=qt,te.AcroForm={Appearance:Nt}),pe.AcroFormChoiceField=ir,pe.AcroFormListBox=Zt,pe.AcroFormComboBox=Mt,pe.AcroFormEditBox=pt,pe.AcroFormButton=Tt,pe.AcroFormPushButton=mt,pe.AcroFormRadioButton=Jt,pe.AcroFormCheckBox=ut,pe.AcroFormTextField=ht,pe.AcroFormPasswordField=qt,pe.AcroForm={ChoiceField:ir,ListBox:Zt,ComboBox:Mt,EditBox:pt,Button:Tt,PushButton:mt,RadioButton:Jt,CheckBox:ut,TextField:ht,PasswordField:qt}})(At.API,typeof window!="undefined"&&window||typeof B!="undefined"&&B),At.API.addHTML=function(pe,te,be,xe,Z){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 te!="number"&&(xe=te,Z=be),typeof xe=="function"&&(Z=xe,xe=null),typeof Z!="function"&&(Z=function(){});var se=this.internal,he=se.scaleFactor,Oe=se.pageSize.getWidth(),ne=se.pageSize.getHeight();if((xe=xe||{}).onrendered=function(ae){te=parseInt(te)||0,be=parseInt(be)||0;var Ee=xe.dim||{},ye=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},xe.margin),Te=Ee.h||Math.min(ne,ae.height/he),je=Ee.w||Math.min(Oe,ae.width/he)-te,qe=xe.format||"JPEG",Le=xe.imageCompression||"SLOW";if(ae.height>ne-ye.top-ye.bottom&&xe.pagesplit){var ke=function(Wt,vt,Je,Yt,Ht){var nr=document.createElement("canvas");nr.height=Ht,nr.width=Yt;var ir=nr.getContext("2d");return ir.mozImageSmoothingEnabled=!1,ir.webkitImageSmoothingEnabled=!1,ir.msImageSmoothingEnabled=!1,ir.imageSmoothingEnabled=!1,ir.fillStyle=xe.backgroundColor||"#ffffff",ir.fillRect(0,0,Yt,Ht),ir.drawImage(Wt,vt,Je,Yt,Ht,0,0,Yt,Ht),nr},tt=function(){for(var Rt,Wt,vt=0,Je=0,Yt={},Ht=!1;;){var nr;if(Je=0,Yt.top=vt!==0?ye.top:be,Yt.left=vt!==0?ye.left:te,Ht=(Oe-ye.left-ye.right)*he<ae.width,ye.useFor==="content"?vt===0?(Rt=Math.min((Oe-ye.left)*he,ae.width),Wt=Math.min((ne-ye.top)*he,ae.height-vt)):(Rt=Math.min(Oe*he,ae.width),Wt=Math.min(ne*he,ae.height-vt),Yt.top=0):(Rt=Math.min((Oe-ye.left-ye.right)*he,ae.width),Wt=Math.min((ne-ye.bottom-ye.top)*he,ae.height-vt)),Ht)for(;;){ye.useFor==="content"&&(Je===0?Rt=Math.min((Oe-ye.left)*he,ae.width):(Rt=Math.min(Oe*he,ae.width-Je),Yt.left=0));var ir=[nr=ke(ae,Je,vt,Rt,Wt),Yt.left,Yt.top,nr.width/he,nr.height/he,qe,null,Le];if(this.addImage.apply(this,ir),(Je+=Rt)>=ae.width)break;this.addPage()}else ir=[nr=ke(ae,0,vt,Rt,Wt),Yt.left,Yt.top,nr.width/he,nr.height/he,qe,null,Le],this.addImage.apply(this,ir);if((vt+=Wt)>=ae.height)break;this.addPage()}Z(je,vt,null,ir)}.bind(this);if(ae.nodeName==="CANVAS"){var st=new Image;st.onload=tt,st.src=ae.toDataURL("image/png"),ae=st}else tt()}else{var _t=Math.random().toString(35),Ct=[ae,te,be,je,Te,qe,_t,Le];this.addImage.apply(this,Ct),Z(je,Te,_t,Ct)}}.bind(this),typeof html2canvas!="undefined"&&!xe.rstz)return html2canvas(pe,xe);if(typeof rasterizeHTML!="undefined"){var ce="drawDocument";return typeof pe=="string"&&(ce=/^http/.test(pe)?"drawURL":"drawHTML"),xe.width=xe.width||Oe*he,rasterizeHTML[ce](pe,void 0,xe).then(function(ae){xe.onrendered(ae.image)},function(ae){Z(null,ae)})}return null},function(pe){var te="addImage_",be={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]]};pe.getImageFileTypeByImageData=function(Ee,ye){var Te,je;ye=ye||"UNKNOWN";var qe,Le,ke,tt="UNKNOWN";for(ke in be)for(qe=be[ke],Te=0;Te<qe.length;Te+=1){for(Le=!0,je=0;je<qe[Te].length;je+=1)if(qe[Te][je]!==void 0&&qe[Te][je]!==Ee.charCodeAt(je)){Le=!1;break}if(Le===!0){tt=ke;break}}return tt==="UNKOWN"&&ye!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+ye+'".'),tt=ye),tt};var xe=function Ee(ye){var Te=this.internal.newObject(),je=this.internal.write,qe=this.internal.putStream;if(ye.n=Te,je("<</Type /XObject"),je("/Subtype /Image"),je("/Width "+ye.w),je("/Height "+ye.h),ye.cs===this.color_spaces.INDEXED?je("/ColorSpace [/Indexed /DeviceRGB "+(ye.pal.length/3-1)+" "+("smask"in ye?Te+2:Te+1)+" 0 R]"):(je("/ColorSpace /"+ye.cs),ye.cs===this.color_spaces.DEVICE_CMYK&&je("/Decode [1 0 1 0 1 0 1 0]")),je("/BitsPerComponent "+ye.bpc),"f"in ye&&je("/Filter /"+ye.f),"dp"in ye&&je("/DecodeParms <<"+ye.dp+">>"),"trns"in ye&&ye.trns.constructor==Array){for(var Le="",ke=0,tt=ye.trns.length;ke<tt;ke++)Le+=ye.trns[ke]+" "+ye.trns[ke]+" ";je("/Mask ["+Le+"]")}if("smask"in ye&&je("/SMask "+(Te+1)+" 0 R"),je("/Length "+ye.data.length+">>"),qe(ye.data),je("endobj"),"smask"in ye){var st="/Predictor "+ye.p+" /Colors 1 /BitsPerComponent "+ye.bpc+" /Columns "+ye.w,_t={w:ye.w,h:ye.h,cs:"DeviceGray",bpc:ye.bpc,dp:st,data:ye.smask};"f"in ye&&(_t.f=ye.f),Ee.call(this,_t)}ye.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),je("<< /Length "+ye.pal.length+">>"),qe(this.arrayBufferToBinaryString(new Uint8Array(ye.pal))),je("endobj"))},Z=function(){var ye=this.internal.collections[te+"images"];for(var Te in ye)xe.call(this,ye[Te])},se=function(){var ye,Te=this.internal.collections[te+"images"],je=this.internal.write;for(var qe in Te)je("/I"+(ye=Te[qe]).i,ye.n,"0","R")},he=function(ye){return typeof pe["process"+ye.toUpperCase()]=="function"},Oe=function(ye){return(ye===void 0?"undefined":et(ye))==="object"&&ye.nodeType===1},ne=function(ye,Te){if(ye.nodeName==="IMG"&&ye.hasAttribute("src")){var je=""+ye.getAttribute("src");if(je.indexOf("data:image/")===0)return je;!Te&&/\.png(?:[?#].*)?$/i.test(je)&&(Te="png")}if(ye.nodeName==="CANVAS")var qe=ye;else{(qe=document.createElement("canvas")).width=ye.clientWidth||ye.width,qe.height=ye.clientHeight||ye.height;var Le=qe.getContext("2d");if(!Le)throw"addImage requires canvas to be supported by browser.";Le.drawImage(ye,0,0,qe.width,qe.height)}return qe.toDataURL((""+Te).toLowerCase()=="png"?"image/png":"image/jpeg")},ce=function(ye,Te){var je;if(Te){for(var qe in Te)if(ye===Te[qe].alias){je=Te[qe];break}}return je};pe.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"},pe.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"},pe.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},pe.sHashCode=function(Ee){return Ee=Ee||"",Array.prototype.reduce&&Ee.split("").reduce(function(ye,Te){return(ye=(ye<<5)-ye+Te.charCodeAt(0))&ye},0)},pe.isString=function(Ee){return typeof Ee=="string"},pe.validateStringAsBase64=function(Ee){var ye=!0;return(Ee=Ee||"").length%4!=0&&(ye=!1),/[A-Za-z0-9\/]+/.test(Ee.substr(0,Ee.length-2))===!1&&(ye=!1),/[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==/.test(Ee.substr(-2))===!1&&(ye=!1),ye},pe.extractInfoFromBase64DataURI=function(Ee){return/^data:([\w]+?\/([\w]+?));base64,(.+)$/g.exec(Ee)},pe.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},pe.isArrayBuffer=function(Ee){return!!this.supportsArrayBuffer()&&Ee instanceof ArrayBuffer},pe.isArrayBufferView=function(Ee){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(Ee instanceof Int8Array||Ee instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&Ee instanceof Uint8ClampedArray||Ee instanceof Int16Array||Ee instanceof Uint16Array||Ee instanceof Int32Array||Ee instanceof Uint32Array||Ee instanceof Float32Array||Ee instanceof Float64Array)},pe.binaryStringToUint8Array=function(Ee){for(var ye=Ee.length,Te=new Uint8Array(ye),je=0;je<ye;je++)Te[je]=Ee.charCodeAt(je);return Te},pe.arrayBufferToBinaryString=function(Ee){if(typeof atob=="function")return atob(this.arrayBufferToBase64(Ee));if(typeof TextDecoder=="function"){var ye=new TextDecoder("ascii");if(ye.encoding==="ascii")return ye.decode(Ee)}for(var Te=this.isArrayBuffer(Ee)?Ee:new Uint8Array(Ee),je=20480,qe="",Le=Math.ceil(Te.byteLength/je),ke=0;ke<Le;ke++)qe+=String.fromCharCode.apply(null,Te.slice(ke*je,ke*je+je));return qe},pe.arrayBufferToBase64=function(Ee){for(var ye,Te="",je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qe=new Uint8Array(Ee),Le=qe.byteLength,ke=Le%3,tt=Le-ke,st=0;st<tt;st+=3)Te+=je[(16515072&(ye=qe[st]<<16|qe[st+1]<<8|qe[st+2]))>>18]+je[(258048&ye)>>12]+je[(4032&ye)>>6]+je[63&ye];return ke==1?Te+=je[(252&(ye=qe[tt]))>>2]+je[(3&ye)<<4]+"==":ke==2&&(Te+=je[(64512&(ye=qe[tt]<<8|qe[tt+1]))>>10]+je[(1008&ye)>>4]+je[(15&ye)<<2]+"="),Te},pe.createImageInfo=function(Ee,ye,Te,je,qe,Le,ke,tt,st,_t,Ct,Rt,Wt){var vt={alias:tt,w:ye,h:Te,cs:je,bpc:qe,i:ke,data:Ee};return Le&&(vt.f=Le),st&&(vt.dp=st),_t&&(vt.trns=_t),Ct&&(vt.pal=Ct),Rt&&(vt.smask=Rt),Wt&&(vt.p=Wt),vt},pe.addImage=function(Ee,ye,Te,je,qe,Le,ke,tt,st){var _t="";if(typeof ye!="string"){var Ct=Le;Le=qe,qe=je,je=Te,Te=ye,ye=Ct}if((Ee===void 0?"undefined":et(Ee))==="object"&&!Oe(Ee)&&"imageData"in Ee){var Rt=Ee;Ee=Rt.imageData,ye=Rt.format||ye,Te=Rt.x||Te||0,je=Rt.y||je||0,qe=Rt.w||qe,Le=Rt.h||Le,ke=Rt.alias||ke,tt=Rt.compression||tt,st=Rt.rotation||Rt.angle||st}if(isNaN(Te)||isNaN(je))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Wt,vt,Je,Yt,Ht,nr,ir,Zt=function(){var Mt=this.internal.collections[te+"images"];return Mt||(this.internal.collections[te+"images"]=Mt={},this.internal.events.subscribe("putResources",Z),this.internal.events.subscribe("putXobjectDict",se)),Mt}.call(this);if(!(Wt=ce(Ee,Zt))&&(Oe(Ee)&&(Ee=ne(Ee,ye)),((ir=ke)==null||ir.length===0)&&(ke=typeof(nr=Ee)=="string"&&pe.sHashCode(nr)),!(Wt=ce(ke,Zt)))){if(this.isString(Ee)&&((_t=this.convertStringToImageData(Ee))!==""||(_t=this.loadImageFile(Ee))!==void 0)&&(Ee=_t),ye=this.getImageFileTypeByImageData(Ee,ye),!he(ye))throw new Error("addImage does not support files of type '"+ye+"', please ensure that a plugin for '"+ye+"' support is added.");if(this.supportsArrayBuffer()&&(Ee instanceof Uint8Array||(vt=Ee,Ee=this.binaryStringToUint8Array(Ee))),!(Wt=this["process"+ye.toUpperCase()](Ee,(Ht=0,(Yt=Zt)&&(Ht=Object.keys?Object.keys(Yt).length:function(Mt){var pt=0;for(var Tt in Mt)Mt.hasOwnProperty(Tt)&&pt++;return pt}(Yt)),Ht),ke,((Je=tt)&&typeof Je=="string"&&(Je=Je.toUpperCase()),Je in pe.image_compression?Je:pe.image_compression.NONE),vt)))throw new Error("An unkwown error occurred whilst processing the image")}return function(Mt,pt,Tt,mt,Jt,or,ut,ht){var qt=function(zt,ar,dr){return zt||ar||(ar=zt=-96),zt<0&&(zt=-1*dr.w*72/zt/this.internal.scaleFactor),ar<0&&(ar=-1*dr.h*72/ar/this.internal.scaleFactor),zt===0&&(zt=ar*dr.w/dr.h),ar===0&&(ar=zt*dr.h/dr.w),[zt,ar]}.call(this,Tt,mt,Jt),Nt=this.internal.getCoordinateString,Qt=this.internal.getVerticalCoordinateString;if(Tt=qt[0],mt=qt[1],ut[or]=Jt,ht){ht*=Math.PI/180;var at=Math.cos(ht),Ue=Math.sin(ht),ot=function(ar){return ar.toFixed(4)},it=[ot(at),ot(Ue),ot(-1*Ue),ot(at),0,0,"cm"]}this.internal.write("q"),ht?(this.internal.write([1,"0","0",1,Nt(Mt),Qt(pt+mt),"cm"].join(" ")),this.internal.write(it.join(" ")),this.internal.write([Nt(Tt),"0","0",Nt(mt),"0","0","cm"].join(" "))):this.internal.write([Nt(Tt),"0","0",Nt(mt),Nt(Mt),Qt(pt+mt),"cm"].join(" ")),this.internal.write("/I"+Jt.i+" Do"),this.internal.write("Q")}.call(this,Te,je,qe,Le,Wt,Wt.i,Zt,st),this},pe.convertStringToImageData=function(Ee){var ye,Te="";return this.isString(Ee)&&((ye=this.extractInfoFromBase64DataURI(Ee))!==null?pe.validateStringAsBase64(ye[3])&&(Te=atob(ye[3])):pe.validateStringAsBase64(Ee)&&(Te=atob(Ee))),Te};var ae=function(ye,Te){return ye.subarray(Te,Te+5)};pe.processJPEG=function(Ee,ye,Te,je,qe,Le){var ke,tt=this.decode.DCT_DECODE;if(!this.isString(Ee)&&!this.isArrayBuffer(Ee)&&!this.isArrayBufferView(Ee))return null;if(this.isString(Ee)&&(ke=function(st){var _t;if(!st.charCodeAt(0)===255||!st.charCodeAt(1)===216||!st.charCodeAt(2)===255||!st.charCodeAt(3)===224||!st.charCodeAt(6)==="J".charCodeAt(0)||!st.charCodeAt(7)==="F".charCodeAt(0)||!st.charCodeAt(8)==="I".charCodeAt(0)||!st.charCodeAt(9)==="F".charCodeAt(0)||!st.charCodeAt(10)===0)throw new Error("getJpegSize requires a binary string jpeg file");for(var Ct=256*st.charCodeAt(4)+st.charCodeAt(5),Rt=4,Wt=st.length;Rt<Wt;){if(Rt+=Ct,st.charCodeAt(Rt)!==255)throw new Error("getJpegSize could not find the size of the image");if(st.charCodeAt(Rt+1)===192||st.charCodeAt(Rt+1)===193||st.charCodeAt(Rt+1)===194||st.charCodeAt(Rt+1)===195||st.charCodeAt(Rt+1)===196||st.charCodeAt(Rt+1)===197||st.charCodeAt(Rt+1)===198||st.charCodeAt(Rt+1)===199)return _t=256*st.charCodeAt(Rt+5)+st.charCodeAt(Rt+6),[256*st.charCodeAt(Rt+7)+st.charCodeAt(Rt+8),_t,st.charCodeAt(Rt+9)];Rt+=2,Ct=256*st.charCodeAt(Rt)+st.charCodeAt(Rt+1)}}(Ee)),this.isArrayBuffer(Ee)&&(Ee=new Uint8Array(Ee)),this.isArrayBufferView(Ee)&&(ke=function(st){if((st[0]<<8|st[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var _t,Ct=st.length,Rt=(st[4]<<8)+st[5],Wt=4;Wt<Ct;){if(Rt=((_t=ae(st,Wt+=Rt))[2]<<8)+_t[3],(_t[1]===192||_t[1]===194)&&_t[0]===255&&7<Rt)return{width:((_t=ae(st,Wt+5))[2]<<8)+_t[3],height:(_t[0]<<8)+_t[1],numcomponents:_t[4]};Wt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(Ee),Ee=qe||this.arrayBufferToBinaryString(Ee)),Le===void 0)switch(ke.numcomponents){case 1:Le=this.color_spaces.DEVICE_GRAY;break;case 4:Le=this.color_spaces.DEVICE_CMYK;break;default:case 3:Le=this.color_spaces.DEVICE_RGB}return this.createImageInfo(Ee,ke.width,ke.height,Le,8,tt,ye,Te)},pe.processJPG=function(){return this.processJPEG.apply(this,arguments)},pe.loadImageFile=function(Ee,ye,Te){if(ye=ye||!0,Te=Te||function(){},Object.prototype.toString.call(typeof T!="undefined"?T:0),(typeof window=="undefined"?"undefined":et(window))!==void 0&&(typeof location=="undefined"?"undefined":et(location))==="object"&&location.protocol.substr(0,4)==="http")return function(je,qe,Le){var ke=new XMLHttpRequest,tt=[],st=0,_t=function(Rt){var Wt=Rt.length,vt=String.fromCharCode;for(st=0;st<Wt;st+=1)tt.push(vt(255&Rt.charCodeAt(st)));return tt.join("")};if(ke.open("GET",je,!qe),ke.overrideMimeType("text/plain; charset=x-user-defined"),qe===!1&&(ke.onload=function(){return _t(this.responseText)}),ke.send(null),ke.status===200)return qe?_t(ke.responseText):void 0;console.warn('Unable to load file "'+je+'"')}(Ee,ye)},pe.getImageProperties=function(Ee){var ye,Te,je="";if(Oe(Ee)&&(Ee=ne(Ee)),this.isString(Ee)&&((je=this.convertStringToImageData(Ee))!==""||(je=this.loadImageFile(Ee))!==void 0)&&(Ee=je),Te=this.getImageFileTypeByImageData(Ee),!he(Te))throw new Error("addImage does not support files of type '"+Te+"', please ensure that a plugin for '"+Te+"' support is added.");if(this.supportsArrayBuffer()&&(Ee instanceof Uint8Array||(Ee=this.binaryStringToUint8Array(Ee))),!(ye=this["process"+Te.toUpperCase()](Ee)))throw new Error("An unkwown error occurred whilst processing the image");return{fileType:Te,width:ye.w,height:ye.h,colorSpace:ye.cs,compressionMode:ye.f,bitsPerComponent:ye.bpc}}}(At.API),I=At.API,E={annotations:[],f2:function(te){return te.toFixed(2)},notEmpty:function(te){if(te!==void 0&&te!="")return!0}},At.API.annotationPlugin=E,At.API.events.push(["addPage",function(pe){this.annotationPlugin.annotations[pe.pageNumber]=[]}]),I.events.push(["putPage",function(pe){for(var te=this.annotationPlugin.annotations[pe.pageNumber],be=!1,xe=0;xe<te.length&&!be;xe++)switch((ne=te[xe]).type){case"link":if(E.notEmpty(ne.options.url)||E.notEmpty(ne.options.pageNumber)){be=!0;break}case"reference":case"text":case"freetext":be=!0}if(be!=0){this.internal.write("/Annots [");var Z=this.annotationPlugin.f2,se=this.internal.scaleFactor,he=this.internal.pageSize.getHeight(),Oe=this.internal.getPageInfo(pe.pageNumber);for(xe=0;xe<te.length;xe++){var ne;switch((ne=te[xe]).type){case"reference":this.internal.write(" "+ne.object.objId+" 0 R ");break;case"text":var ce=this.internal.newAdditionalObject(),ae=this.internal.newAdditionalObject(),Ee=ne.title||"Note";Le="<</Type /Annot /Subtype /Text "+(Te="/Rect ["+Z(ne.bounds.x*se)+" "+Z(he-(ne.bounds.y+ne.bounds.h)*se)+" "+Z((ne.bounds.x+ne.bounds.w)*se)+" "+Z((he-ne.bounds.y)*se)+"] ")+"/Contents ("+ne.contents+")",Le+=" /Popup "+ae.objId+" 0 R",Le+=" /P "+Oe.objId+" 0 R",Le+=" /T ("+Ee+") >>",ce.content=Le;var ye=ce.objId+" 0 R";Le="<</Type /Annot /Subtype /Popup "+(Te="/Rect ["+Z((ne.bounds.x+30)*se)+" "+Z(he-(ne.bounds.y+ne.bounds.h)*se)+" "+Z((ne.bounds.x+ne.bounds.w+30)*se)+" "+Z((he-ne.bounds.y)*se)+"] ")+" /Parent "+ye,ne.open&&(Le+=" /Open true"),Le+=" >>",ae.content=Le,this.internal.write(ce.objId,"0 R",ae.objId,"0 R");break;case"freetext":var Te="/Rect ["+Z(ne.bounds.x*se)+" "+Z((he-ne.bounds.y)*se)+" "+Z(ne.bounds.x+ne.bounds.w*se)+" "+Z(he-(ne.bounds.y+ne.bounds.h)*se)+"] ",je=ne.color||"#000000";Le="<</Type /Annot /Subtype /FreeText "+Te+"/Contents ("+ne.contents+")",Le+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+je+")",Le+=" /Border [0 0 0]",Le+=" >>",this.internal.write(Le);break;case"link":if(ne.options.name){var qe=this.annotations._nameMap[ne.options.name];ne.options.pageNumber=qe.page,ne.options.top=qe.y}else ne.options.top||(ne.options.top=0);Te="/Rect ["+Z(ne.x*se)+" "+Z((he-ne.y)*se)+" "+Z((ne.x+ne.w)*se)+" "+Z((he-(ne.y+ne.h))*se)+"] ";var Le="";if(ne.options.url)Le="<</Type /Annot /Subtype /Link "+Te+"/Border [0 0 0] /A <</S /URI /URI ("+ne.options.url+") >>";else if(ne.options.pageNumber)switch(Le="<</Type /Annot /Subtype /Link "+Te+"/Border [0 0 0] /Dest ["+(pe=this.internal.getPageInfo(ne.options.pageNumber)).objId+" 0 R",ne.options.magFactor=ne.options.magFactor||"XYZ",ne.options.magFactor){case"Fit":Le+=" /Fit]";break;case"FitH":Le+=" /FitH "+ne.options.top+"]";break;case"FitV":ne.options.left=ne.options.left||0,Le+=" /FitV "+ne.options.left+"]";break;case"XYZ":default:var ke=Z((he-ne.options.top)*se);ne.options.left=ne.options.left||0,ne.options.zoom===void 0&&(ne.options.zoom=0),Le+=" /XYZ "+ne.options.left+" "+ke+" "+ne.options.zoom+"]"}Le!=""&&(Le+=" >>",this.internal.write(Le))}}this.internal.write("]")}}]),I.createAnnotation=function(pe){switch(pe.type){case"link":this.link(pe.bounds.x,pe.bounds.y,pe.bounds.w,pe.bounds.h,pe);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(pe)}},I.link=function(pe,te,be,xe,Z){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:pe,y:te,w:be,h:xe,options:Z,type:"link"})},I.textWithLink=function(pe,te,be,xe){var Z=this.getTextWidth(pe),se=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(pe,te,be),be+=.2*se,this.link(te,be-se,Z,se,xe),Z},I.getTextWidth=function(pe){var te=this.internal.getFontSize();return this.getStringUnitWidth(pe)*te/this.internal.scaleFactor},I.getLineHeight=function(){return this.internal.getLineHeight()},function(pe){var te=Object.keys({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)",fa:"Persian","fa-IR":"Persian/Iran",ur:"Urdu"}),be={1569:[65152],1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1572:[65157,65158],1573:[65159,65160,65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166,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,65193],1584:[65195,65196,65195],1585:[65197,65198,65197],1586:[65199,65200,65199],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,65261],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,64394],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]},xe={1570:[65269,65270,65269,65270],1571:[65271,65272,65271,65272],1573:[65273,65274,65273,65274],1575:[65275,65276,65275,65276]},Z={1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1573:[65159,65160,65159,65160],1575:[65165,65166,65165,65166]},se={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},he=[1570,1571,1573,1575],Oe=[1569,1570,1571,1572,1573,1575,1577,1583,1584,1585,1586,1608,1688],ne=0,ce=1,ae=2,Ee=3;function ye(tt){return tt!==void 0&&be[tt.charCodeAt(0)]!==void 0}function Te(tt){return tt!==void 0&&0<=Oe.indexOf(tt.charCodeAt(0))}function je(tt){return tt!==void 0&&0<=he.indexOf(tt.charCodeAt(0))}function qe(tt){return ye(tt)&&2<=be[tt.charCodeAt(0)].length}function Le(tt,st,_t,Ct){return ye(tt)?(Ct=Ct||{},be=Object.assign(be,Ct),!qe(tt)||!ye(st)&&!ye(_t)||!ye(_t)&&Te(st)||Te(tt)&&!ye(st)||Te(tt)&&je(st)||Te(tt)&&Te(st)?(be=Object.assign(be,Z),ne):ye(Rt=tt)&&be[Rt.charCodeAt(0)].length==4&&ye(st)&&!Te(st)&&ye(_t)&&qe(_t)?(be=Object.assign(be,Z),Ee):Te(tt)||!ye(_t)?(be=Object.assign(be,Z),ce):(be=Object.assign(be,Z),ae)):-1;var Rt}var ke=pe.processArabic=function(tt,st){tt=tt||"",st=st||!1;var _t,Ct,Rt,Wt="",vt=0,Je=0,Yt="",Ht="",nr="";for(vt=0;vt<tt.length;vt+=1)Yt=tt[vt],Ht=tt[vt-1],nr=tt[vt+1],ye(Yt)?Ht!==void 0&&Ht.charCodeAt(0)===1604&&je(Yt)?(Je=Le(Yt,tt[vt-2],tt[vt+1],xe),_t=String.fromCharCode(xe[Yt.charCodeAt(0)][Je]),Wt=Wt.substr(0,Wt.length-1)+_t):Ht!==void 0&&Ht.charCodeAt(0)===1617&&(Ct=Yt)!==void 0&&se[Ct.charCodeAt(0)]!==void 0?(Je=Le(Yt,tt[vt-2],tt[vt+1],Z),_t=String.fromCharCode(se[Yt.charCodeAt(0)][Je]),Wt=Wt.substr(0,Wt.length-1)+_t):(Je=Le(Yt,Ht,nr,Z),Wt+=String.fromCharCode(be[Yt.charCodeAt(0)][Je])):Wt+=st?{"(":")",")":"("}[Rt=Yt]||Rt:Yt;return st?Wt.split("").reverse().join(""):Wt};pe.events.push(["preProcessText",function(tt){var st=tt.text,_t=(tt.x,tt.y,tt.options||{}),Ct=(tt.mutex,_t.lang),Rt=[];if(0<=te.indexOf(Ct)){if(Object.prototype.toString.call(st)==="[object Array]"){var Wt=0;for(Rt=[],Wt=0;Wt<st.length;Wt+=1)Object.prototype.toString.call(st[Wt])==="[object Array]"?Rt.push([ke(st[Wt][0],!0),st[Wt][1],st[Wt][2]]):Rt.push([ke(st[Wt],!0)]);tt.text=Rt}else tt.text=ke(st,!0);_t.charSpace===void 0&&(tt.options.charSpace=0),_t.R2L===!0&&(tt.options.R2L=!1)}}])}(At.API),At.API.autoPrint=function(pe){var te;switch((pe=pe||{}).variant=pe.variant||"non-conform",pe.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){te=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 "+te+" 0 R")})}return this},(C=At.API).events.push(["initialized",function(){this.canvas.pdf=this}]),C.canvas={getContext:function(te){return(this.pdf.context2d._canvas=this).pdf.context2d},childNodes:[]},Object.defineProperty(C.canvas,"width",{get:function(){return this._width},set:function(te){this._width=te,this.getContext("2d").pageWrapX=te+1}}),Object.defineProperty(C.canvas,"height",{get:function(){return this._height},set:function(te){this._height=te,this.getContext("2d").pageWrapY=te+1}}),f=At.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1,n=function(te,be,xe,Z,se){r={x:te,y:be,w:xe,h:Z,ln:se}},l=function(){return r},a={left:0,top:0,bottom:0},f.setHeaderFunction=function(pe){o=pe},f.getTextDimensions=function(pe){t=this.internal.getFont().fontName,i=this.table_font_size||this.internal.getFontSize(),s=this.internal.getFont().fontStyle;var te,be,xe=19.049976/25.4;(be=document.createElement("font")).id="jsPDFCell";try{be.style.fontStyle=s}catch(Z){be.style.fontWeight=s}be.style.fontSize=i+"pt",be.style.fontFamily=t;try{be.textContent=pe}catch(Z){be.innerText=pe}return document.body.appendChild(be),te={w:(be.offsetWidth+1)*xe,h:(be.offsetHeight+1)*xe},document.body.removeChild(be),te},f.cellAddPage=function(){var pe=this.margins||a;this.addPage(),n(pe.left,pe.top,void 0,void 0),u+=1},f.cellInitialize=function(){r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1},f.cell=function(pe,te,be,xe,Z,se,he){var Oe=l(),ne=!1;if(Oe.ln!==void 0)if(Oe.ln===se)pe=Oe.x+Oe.w,te=Oe.y;else{var ce=this.margins||a;Oe.y+Oe.h+xe+13>=this.internal.pageSize.getHeight()-ce.bottom&&(this.cellAddPage(),ne=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(se,!0)),te=l().y+l().h,ne&&(te=23)}if(Z[0]!==void 0)if(this.printingHeaderRow?this.rect(pe,te,be,xe,"FD"):this.rect(pe,te,be,xe),he==="right"){Z instanceof Array||(Z=[Z]);for(var ae=0;ae<Z.length;ae++){var Ee=Z[ae],ye=this.getStringUnitWidth(Ee)*this.internal.getFontSize();this.text(Ee,pe+be-ye-3,te+this.internal.getLineHeight()*(ae+1))}}else this.text(Z,pe+3,te+this.internal.getLineHeight());return n(pe,te,be,xe,se),this},f.arrayMax=function(pe,te){var be,xe,Z,se=pe[0];for(be=0,xe=pe.length;be<xe;be+=1)Z=pe[be],te?te(se,Z)===-1&&(se=Z):se<Z&&(se=Z);return se},f.table=function(pe,te,be,xe,Z){if(!be)throw"No data for PDF table";var se,he,Oe,ne,ce,ae,Ee,ye,Te,je,qe=[],Le=[],ke={},tt={},st=[],_t=[],Ct=!1,Rt=!0,Wt=12,vt=a;if(vt.width=this.internal.pageSize.getWidth(),Z&&(Z.autoSize===!0&&(Ct=!0),Z.printHeaders===!1&&(Rt=!1),Z.fontSize&&(Wt=Z.fontSize),Z.css&&Z.css["font-size"]!==void 0&&(Wt=16*Z.css["font-size"]),Z.margins&&(vt=Z.margins)),this.lnMod=0,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},u=1,this.printHeaders=Rt,this.margins=vt,this.setFontSize(Wt),this.table_font_size=Wt,xe==null)qe=Object.keys(be[0]);else if(xe[0]&&typeof xe[0]!="string")for(he=0,Oe=xe.length;he<Oe;he+=1)se=xe[he],qe.push(se.name),Le.push(se.prompt),tt[se.name]=se.width*(19.049976/25.4);else qe=xe;if(Ct)for(je=function(Ht){return Ht[se]},he=0,Oe=qe.length;he<Oe;he+=1){for(ke[se=qe[he]]=be.map(je),st.push(this.getTextDimensions(Le[he]||se).w),Ee=0,ne=(ae=ke[se]).length;Ee<ne;Ee+=1)ce=ae[Ee],st.push(this.getTextDimensions(ce).w);tt[se]=f.arrayMax(st),st=[]}if(Rt){var Je=this.calculateLineHeight(qe,tt,Le.length?Le:qe);for(he=0,Oe=qe.length;he<Oe;he+=1)se=qe[he],_t.push([pe,te,tt[se],Je,String(Le.length?Le[he]:se)]);this.setTableHeaderRow(_t),this.printHeaderRow(1,!1)}for(he=0,Oe=be.length;he<Oe;he+=1)for(ye=be[he],Je=this.calculateLineHeight(qe,tt,ye),Ee=0,Te=qe.length;Ee<Te;Ee+=1)se=qe[Ee],this.cell(pe,te,tt[se],Je,ye[se],he+2,se.align);return this.lastCellPos=r,this.table_x=pe,this.table_y=te,this},f.calculateLineHeight=function(pe,te,be){for(var xe,Z=0,se=0;se<pe.length;se++){be[xe=pe[se]]=this.splitTextToSize(String(be[xe]),te[xe]-3);var he=this.internal.getLineHeight()*be[xe].length+3;Z<he&&(Z=he)}return Z},f.setTableHeaderRow=function(pe){this.tableHeaderRow=pe},f.printHeaderRow=function(pe,te){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var be,xe,Z,se;if(this.printingHeaderRow=!0,o!==void 0){var he=o(this,u);n(he[0],he[1],he[2],he[3],-1)}this.setFontStyle("bold");var Oe=[];for(Z=0,se=this.tableHeaderRow.length;Z<se;Z+=1)this.setFillColor(200,200,200),be=this.tableHeaderRow[Z],te&&(this.margins.top=13,be[1]=this.margins&&this.margins.top||0,Oe.push(be)),xe=[].concat(be),this.cell.apply(this,xe.concat(pe));0<Oe.length&&this.setTableHeaderRow(Oe),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(pe){pe.events.push(["initialized",function(){((this.context2d.pdf=this).context2d.internal.pdf=this).context2d.ctx=new be,this.context2d.ctxStack=[],this.context2d.path=[]}]),pe.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!1,pageWrapX:9999999,pageWrapY:9999999,ctx:new be,f2:function(Z){return Z.toFixed(2)},fillRect:function(Z,se,he,Oe){if(!this._isFillTransparent()){Z=this._wrapX(Z),se=this._wrapY(se);var ne=this._matrix_map_rect(this.ctx._transform,{x:Z,y:se,w:he,h:Oe});this.pdf.rect(ne.x,ne.y,ne.w,ne.h,"f")}},strokeRect:function(Z,se,he,Oe){if(!this._isStrokeTransparent()){Z=this._wrapX(Z),se=this._wrapY(se);var ne=this._matrix_map_rect(this.ctx._transform,{x:Z,y:se,w:he,h:Oe});this.pdf.rect(ne.x,ne.y,ne.w,ne.h,"s")}},clearRect:function(Z,se,he,Oe){if(!this.ctx.ignoreClearRect){Z=this._wrapX(Z),se=this._wrapY(se);var ne=this._matrix_map_rect(this.ctx._transform,{x:Z,y:se,w:he,h:Oe});this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(ne.x,ne.y,ne.w,ne.h,"f"),this.restore()}},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var Z=new be;Z.copy(this.ctx),this.ctxStack.push(this.ctx),this.ctx=Z},restore:function(){this.ctx=this.ctxStack.pop(),this.setFillStyle(this.ctx.fillStyle),this.setStrokeStyle(this.ctx.strokeStyle),this.setFont(this.ctx.font),this.pdf.setFontSize(this.ctx._fontSize),this.setLineCap(this.ctx.lineCap),this.setLineWidth(this.ctx.lineWidth),this.setLineJoin(this.ctx.lineJoin)},rect:function(Z,se,he,Oe){this.moveTo(Z,se),this.lineTo(Z+he,se),this.lineTo(Z+he,se+Oe),this.lineTo(Z,se+Oe),this.lineTo(Z,se),this.closePath()},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},_getRGBA:function(Z){var se,he,Oe,ne,ce=new RGBColor(Z);if(!Z)return{r:0,g:0,b:0,a:0,style:Z};if(this.internal.rxTransparent.test(Z))ne=Oe=he=se=0;else{var ae=this.internal.rxRgb.exec(Z);ae!=null?(se=parseInt(ae[1]),he=parseInt(ae[2]),Oe=parseInt(ae[3]),ne=1):(ae=this.internal.rxRgba.exec(Z))!=null?(se=parseInt(ae[1]),he=parseInt(ae[2]),Oe=parseInt(ae[3]),ne=parseFloat(ae[4])):(ne=1,Z.charAt(0)!="#"&&(Z=ce.ok?ce.toHex():"#000000"),Z.length===4?(se=Z.substring(1,2),se+=se,he=Z.substring(2,3),he+=he,Oe=Z.substring(3,4),Oe+=Oe):(se=Z.substring(1,3),he=Z.substring(3,5),Oe=Z.substring(5,7)),se=parseInt(se,16),he=parseInt(he,16),Oe=parseInt(Oe,16))}return{r:se,g:he,b:Oe,a:ne,style:Z}},setFillStyle:function(Z){var se=this._getRGBA(Z);this.ctx.fillStyle=Z,this.ctx._isFillTransparent=se.a===0,this.ctx._fillOpacity=se.a,this.pdf.setFillColor(se.r,se.g,se.b,{a:se.a}),this.pdf.setTextColor(se.r,se.g,se.b,{a:se.a})},setStrokeStyle:function(Z){var se=this._getRGBA(Z);this.ctx.strokeStyle=se.style,this.ctx._isStrokeTransparent=se.a===0,this.ctx._strokeOpacity=se.a,se.a===0?this.pdf.setDrawColor(255,255,255):(se.a,this.pdf.setDrawColor(se.r,se.g,se.b))},fillText:function(Z,se,he,Oe){if(!this._isFillTransparent()){se=this._wrapX(se),he=this._wrapY(he);var ne=this._matrix_map_point(this.ctx._transform,[se,he]);se=ne[0],he=ne[1];var ce=57.2958*this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var ae;(ae=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var Ee=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=Ee}var ye=1;try{ye=this._matrix_decompose(this._getTransform()).scale[0]}catch(je){console.warn(je)}if(ye<.01)this.pdf.text(Z,se,this._getBaseline(he),null,ce);else{var Te=this.pdf.internal.getFontSize();this.pdf.setFontSize(Te*ye),this.pdf.text(Z,se,this._getBaseline(he),null,ce),this.pdf.setFontSize(Te)}0<this.ctx._clip_path.length&&ae.push("Q")}},strokeText:function(Z,se,he,Oe){if(!this._isStrokeTransparent()){se=this._wrapX(se),he=this._wrapY(he);var ne=this._matrix_map_point(this.ctx._transform,[se,he]);se=ne[0],he=ne[1];var ce=57.2958*this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var ae;(ae=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var Ee=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=Ee}var ye=1;try{ye=this._matrix_decompose(this._getTransform()).scale[0]}catch(je){console.warn(je)}if(ye===1)this.pdf.text(Z,se,this._getBaseline(he),{stroke:!0},ce);else{var Te=this.pdf.internal.getFontSize();this.pdf.setFontSize(Te*ye),this.pdf.text(Z,se,this._getBaseline(he),{stroke:!0},ce),this.pdf.setFontSize(Te)}0<this.ctx._clip_path.length&&ae.push("Q")}},setFont:function(Z){if(this.ctx.font=Z,(Te=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+(.*)?/.exec(Z))!=null){var se=Te[1],he=(Te[2],Te[3]),Oe=Te[4],ne=Te[5],ce=Te[6];Oe=Math.floor(ne==="px"?parseFloat(Oe):ne==="em"?parseFloat(Oe)*this.pdf.getFontSize():parseFloat(Oe)),this.pdf.setFontSize(Oe),he==="bold"||he==="700"?this.pdf.setFontStyle("bold"):se==="italic"?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal"),je=he==="bold"||he==="700"?se==="italic"?"bolditalic":"bold":se==="italic"?"italic":"normal";for(var ae=ce.toLowerCase().split(/\s*,\s*/),Ee="Times",ye=0;ye<ae.length;ye++){if(this.pdf.internal.getFont(ae[ye],je,{noFallback:!0,disableWarning:!0})!==void 0){Ee=ae[ye];break}if(je==="bolditalic"&&this.pdf.internal.getFont(ae[ye],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ee=ae[ye],je="bold";else if(this.pdf.internal.getFont(ae[ye],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ee=ae[ye],je="normal";break}}this.pdf.setFont(Ee,je)}else{var Te=/\s*(\d+)(pt|px|em)\s+([\w "]+)\s*([\w "]+)?/.exec(Z);if(Te!=null){var je,qe=Te[1],Le=(Te[2],Te[3]);(je=Te[4])||(je="normal"),qe=Math.floor(ne==="em"?parseFloat(Oe)*this.pdf.getFontSize():parseFloat(qe)),this.pdf.setFontSize(qe),this.pdf.setFont(Le,je)}}},setTextBaseline:function(Z){this.ctx.textBaseline=Z},getTextBaseline:function(){return this.ctx.textBaseline},setTextAlign:function(Z){this.ctx.textAlign=Z},getTextAlign:function(){return this.ctx.textAlign},setLineWidth:function(Z){this.ctx.lineWidth=Z,this.pdf.setLineWidth(Z)},setLineCap:function(Z){this.ctx.lineCap=Z,this.pdf.setLineCap(Z)},setLineJoin:function(Z){this.ctx.lineJoin=Z,this.pdf.setLineJoin(Z)},moveTo:function(Z,se){Z=this._wrapX(Z),se=this._wrapY(se);var he=this._matrix_map_point(this.ctx._transform,[Z,se]),Oe={type:"mt",x:Z=he[0],y:se=he[1]};this.path.push(Oe)},_wrapX:function(Z){return this.pageWrapXEnabled?Z%this.pageWrapX:Z},_wrapY:function(Z){return this.pageWrapYEnabled?(this._gotoPage(this._page(Z)),(Z-this.lastBreak)%this.pageWrapY):Z},transform:function(Z,se,he,Oe,ne,ce){this.ctx._transform=this._matrix_multiply(this.ctx._transform,[Z,se,he,Oe,ne,ce])},setTransform:function(Z,se,he,Oe,ne,ce){this.ctx._transform=[Z,se,he,Oe,ne,ce]},_getTransform:function(){return this.ctx._transform},lastBreak:0,pageBreaks:[],_page:function(Z){if(this.pageWrapYEnabled){for(var se=this.lastBreak=0,he=0,Oe=0;Oe<this.pageBreaks.length;Oe++)if(Z>=this.pageBreaks[Oe]){se++,this.lastBreak===0&&he++;var ne=this.pageBreaks[Oe]-this.lastBreak;this.lastBreak=this.pageBreaks[Oe],he+=Math.floor(ne/this.pageWrapY)}return this.lastBreak===0&&(he+=Math.floor(Z/this.pageWrapY)+1),he+se}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(Z){},lineTo:function(Z,se){Z=this._wrapX(Z),se=this._wrapY(se);var he=this._matrix_map_point(this.ctx._transform,[Z,se]),Oe={type:"lt",x:Z=he[0],y:se=he[1]};this.path.push(Oe)},bezierCurveTo:function(Z,se,he,Oe,ne,ce){var ae;Z=this._wrapX(Z),se=this._wrapY(se),he=this._wrapX(he),Oe=this._wrapY(Oe),ne=this._wrapX(ne),ce=this._wrapY(ce),ne=(ae=this._matrix_map_point(this.ctx._transform,[ne,ce]))[0],ce=ae[1];var Ee={type:"bct",x1:Z=(ae=this._matrix_map_point(this.ctx._transform,[Z,se]))[0],y1:se=ae[1],x2:he=(ae=this._matrix_map_point(this.ctx._transform,[he,Oe]))[0],y2:Oe=ae[1],x:ne,y:ce};this.path.push(Ee)},quadraticCurveTo:function(Z,se,he,Oe){var ne;Z=this._wrapX(Z),se=this._wrapY(se),he=this._wrapX(he),Oe=this._wrapY(Oe),he=(ne=this._matrix_map_point(this.ctx._transform,[he,Oe]))[0],Oe=ne[1];var ce={type:"qct",x1:Z=(ne=this._matrix_map_point(this.ctx._transform,[Z,se]))[0],y1:se=ne[1],x:he,y:Oe};this.path.push(ce)},arc:function(Z,se,he,Oe,ne,ce){if(Z=this._wrapX(Z),se=this._wrapY(se),!this._matrix_is_identity(this.ctx._transform)){var ae=this._matrix_map_point(this.ctx._transform,[Z,se]);Z=ae[0],se=ae[1];var Ee=this._matrix_map_point(this.ctx._transform,[0,0]),ye=this._matrix_map_point(this.ctx._transform,[0,he]);he=Math.sqrt(Math.pow(ye[0]-Ee[0],2)+Math.pow(ye[1]-Ee[1],2))}var Te={type:"arc",x:Z,y:se,radius:he,startAngle:Oe,endAngle:ne,anticlockwise:ce};this.path.push(Te)},drawImage:function(Z,se,he,Oe,ne,ce,ae,Ee,ye){ce!==void 0&&(se=ce,he=ae,Oe=Ee,ne=ye),se=this._wrapX(se),he=this._wrapY(he);var Te,je=this._matrix_map_rect(this.ctx._transform,{x:se,y:he,w:Oe,h:ne}),qe=(this._matrix_map_rect(this.ctx._transform,{x:ce,y:ae,w:Ee,h:ye}),/data:image\/(\w+).*/i.exec(Z));Te=qe!=null?qe[1]:"png",this.pdf.addImage(Z,Te,je.x,je.y,je.w,je.h)},_matrix_multiply:function(Z,se){var he=se[0],Oe=se[1],ne=se[2],ce=se[3],ae=se[4],Ee=se[5],ye=he*Z[0]+Oe*Z[2],Te=ne*Z[0]+ce*Z[2],je=ae*Z[0]+Ee*Z[2]+Z[4];return Oe=he*Z[1]+Oe*Z[3],ce=ne*Z[1]+ce*Z[3],Ee=ae*Z[1]+Ee*Z[3]+Z[5],[he=ye,Oe,ne=Te,ce,ae=je,Ee]},_matrix_rotation:function(Z){return Math.atan2(Z[2],Z[0])},_matrix_decompose:function(Z){var se=Z[0],he=Z[1],Oe=Z[2],ne=Z[3],ce=Math.sqrt(se*se+he*he),ae=(se/=ce)*Oe+(he/=ce)*ne;Oe-=se*ae,ne-=he*ae;var Ee=Math.sqrt(Oe*Oe+ne*ne);return ae/=Ee,se*(ne/=Ee)<he*(Oe/=Ee)&&(se=-se,he=-he,ae=-ae,ce=-ce),{scale:[ce,0,0,Ee,0,0],translate:[1,0,0,1,Z[4],Z[5]],rotate:[se,he,-he,se,0,0],skew:[1,0,ae,1,0,0]}},_matrix_map_point:function(Z,se){var he=Z[0],Oe=Z[1],ne=Z[2],ce=Z[3],ae=Z[4],Ee=Z[5],ye=se[0],Te=se[1];return[ye*he+Te*ne+ae,ye*Oe+Te*ce+Ee]},_matrix_map_point_obj:function(Z,se){var he=this._matrix_map_point(Z,[se.x,se.y]);return{x:he[0],y:he[1]}},_matrix_map_rect:function(Z,se){var he=this._matrix_map_point(Z,[se.x,se.y]),Oe=this._matrix_map_point(Z,[se.x+se.w,se.y+se.h]);return{x:he[0],y:he[1],w:Oe[0]-he[0],h:Oe[1]-he[1]}},_matrix_is_identity:function(Z){return Z[0]==1&&Z[1]==0&&Z[2]==0&&Z[3]==1&&Z[4]==0&&Z[5]==0},rotate:function(Z){var se=[Math.cos(Z),Math.sin(Z),-Math.sin(Z),Math.cos(Z),0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,se)},scale:function(Z,se){var he=[Z,0,0,se,0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,he)},translate:function(Z,se){var he=[1,0,0,1,Z,se];this.ctx._transform=this._matrix_multiply(this.ctx._transform,he)},stroke:function(){if(0<this.ctx._clip_path.length){var Z;(Z=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var se=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._stroke(!0),this.ctx._clip_path=this.path,this.path=se,this._stroke(!1),Z.push("Q")}else this._stroke(!1)},_stroke:function(Z){if(Z||!this._isStrokeTransparent()){for(var se=[],he=this.path,Oe=0;Oe<he.length;Oe++){var ne=he[Oe];switch(ne.type){case"mt":se.push({start:ne,deltas:[],abs:[]});break;case"lt":var ce=[ne.x-he[Oe-1].x,ne.y-he[Oe-1].y];se[se.length-1].deltas.push(ce),se[se.length-1].abs.push(ne);break;case"bct":ce=[ne.x1-he[Oe-1].x,ne.y1-he[Oe-1].y,ne.x2-he[Oe-1].x,ne.y2-he[Oe-1].y,ne.x-he[Oe-1].x,ne.y-he[Oe-1].y],se[se.length-1].deltas.push(ce);break;case"qct":var ae=he[Oe-1].x+2/3*(ne.x1-he[Oe-1].x),Ee=he[Oe-1].y+2/3*(ne.y1-he[Oe-1].y),ye=ne.x+2/3*(ne.x1-ne.x),Te=ne.y+2/3*(ne.y1-ne.y),je=ne.x,qe=ne.y;ce=[ae-he[Oe-1].x,Ee-he[Oe-1].y,ye-he[Oe-1].x,Te-he[Oe-1].y,je-he[Oe-1].x,qe-he[Oe-1].y],se[se.length-1].deltas.push(ce);break;case"arc":se.length==0&&se.push({start:{x:0,y:0},deltas:[],abs:[]}),se[se.length-1].arc=!0,Array.isArray(se[se.length-1].abs)&&se[se.length-1].abs.push(ne)}}for(Oe=0;Oe<se.length;Oe++){var Le;if(Le=Oe==se.length-1?"s":null,se[Oe].arc)for(var ke=se[Oe].abs,tt=0;tt<ke.length;tt++){var st=ke[tt],_t=360*st.startAngle/(2*Math.PI),Ct=360*st.endAngle/(2*Math.PI),Rt=st.x,Wt=st.y;this.internal.arc2(this,Rt,Wt,st.radius,_t,Ct,st.anticlockwise,Le,Z)}else Rt=se[Oe].start.x,Wt=se[Oe].start.y,Z?(this.pdf.lines(se[Oe].deltas,Rt,Wt,null,null),this.pdf.clip_fixed()):this.pdf.lines(se[Oe].deltas,Rt,Wt,null,Le)}}},_isFillTransparent:function(){return this.ctx._isFillTransparent||this.globalAlpha==0},_isStrokeTransparent:function(){return this.ctx._isStrokeTransparent||this.globalAlpha==0},fill:function(Z){if(0<this.ctx._clip_path.length){var se;(se=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var he=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(Z,!0),this.ctx._clip_path=this.path,this.path=he,this._fill(Z,!1),se.push("Q")}else this._fill(Z,!1)},_fill:function(Z,se){if(!this._isFillTransparent()){var he,Oe=typeof this.pdf.internal.newObject2=="function";he=window.outIntercept?window.outIntercept.type==="group"?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();var ne=[],ce=window.outIntercept;if(Oe)switch(this.ctx.globalCompositeOperation){case"normal":case"source-over":break;case"destination-in":case"destination-out":var ae=this.pdf.internal.newStreamObject(),Ee=this.pdf.internal.newObject2();Ee.push("<</Type /ExtGState"),Ee.push("/SMask <</S /Alpha /G "+ae.objId+" 0 R>>"),Ee.push(">>");var ye="MASK"+Ee.objId;this.pdf.internal.addGraphicsState(ye,Ee.objId);var Te="/"+ye+" gs";he.splice(0,0,"q"),he.splice(1,0,Te),he.push("Q"),window.outIntercept=ae;break;default:var je="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];je&&this.pdf.internal.out(je+" gs")}var qe=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(qe=this.ctx._fillOpacity),Oe){var Le=this.pdf.internal.newObject2();Le.push("<</Type /ExtGState"),Le.push("/CA "+qe),Le.push("/ca "+qe),Le.push(">>"),ye="GS_O_"+Le.objId,this.pdf.internal.addGraphicsState(ye,Le.objId),this.pdf.internal.out("/"+ye+" gs")}for(var ke=this.path,tt=0;tt<ke.length;tt++){var st=ke[tt];switch(st.type){case"mt":ne.push({start:st,deltas:[],abs:[]});break;case"lt":var _t=[st.x-ke[tt-1].x,st.y-ke[tt-1].y];ne[ne.length-1].deltas.push(_t),ne[ne.length-1].abs.push(st);break;case"bct":_t=[st.x1-ke[tt-1].x,st.y1-ke[tt-1].y,st.x2-ke[tt-1].x,st.y2-ke[tt-1].y,st.x-ke[tt-1].x,st.y-ke[tt-1].y],ne[ne.length-1].deltas.push(_t);break;case"qct":var Ct=ke[tt-1].x+2/3*(st.x1-ke[tt-1].x),Rt=ke[tt-1].y+2/3*(st.y1-ke[tt-1].y),Wt=st.x+2/3*(st.x1-st.x),vt=st.y+2/3*(st.y1-st.y),Je=st.x,Yt=st.y;_t=[Ct-ke[tt-1].x,Rt-ke[tt-1].y,Wt-ke[tt-1].x,vt-ke[tt-1].y,Je-ke[tt-1].x,Yt-ke[tt-1].y],ne[ne.length-1].deltas.push(_t);break;case"arc":ne.length===0&&ne.push({deltas:[],abs:[]}),ne[ne.length-1].arc=!0,Array.isArray(ne[ne.length-1].abs)&&ne[ne.length-1].abs.push(st);break;case"close":ne.push({close:!0})}}for(tt=0;tt<ne.length;tt++){var Ht;if(tt==ne.length-1?(Ht="f",Z==="evenodd"&&(Ht+="*")):Ht=null,ne[tt].close)this.pdf.internal.out("h"),Ht&&this.pdf.internal.out(Ht);else if(ne[tt].arc){ne[tt].start&&this.internal.move2(this,ne[tt].start.x,ne[tt].start.y);for(var nr=ne[tt].abs,ir=0;ir<nr.length;ir++){var Zt=nr[ir];if(Zt.startAngle!==void 0){var Mt=360*Zt.startAngle/(2*Math.PI),pt=360*Zt.endAngle/(2*Math.PI),Tt=Zt.x,mt=Zt.y;ir===0&&this.internal.move2(this,Tt,mt),this.internal.arc2(this,Tt,mt,Zt.radius,Mt,pt,Zt.anticlockwise,null,se),ir===nr.length-1&&ne[tt].start&&(Tt=ne[tt].start.x,mt=ne[tt].start.y,this.internal.line2(te,Tt,mt))}else this.internal.line2(te,Zt.x,Zt.y)}}else Tt=ne[tt].start.x,mt=ne[tt].start.y,se?(this.pdf.lines(ne[tt].deltas,Tt,mt,null,null),this.pdf.clip_fixed()):this.pdf.lines(ne[tt].deltas,Tt,mt,null,Ht)}window.outIntercept=ce}},pushMask:function(){if(typeof this.pdf.internal.newObject2=="function"){var Z=this.pdf.internal.newStreamObject(),se=this.pdf.internal.newObject2();se.push("<</Type /ExtGState"),se.push("/SMask <</S /Alpha /G "+Z.objId+" 0 R>>"),se.push(">>");var he="MASK"+se.objId;this.pdf.internal.addGraphicsState(he,se.objId);var Oe="/"+he+" gs";this.pdf.internal.out(Oe)}else console.log("jsPDF v2 not enabled")},clip:function(){if(0<this.ctx._clip_path.length)for(var Z=0;Z<this.path.length;Z++)this.ctx._clip_path.push(this.path[Z]);else this.ctx._clip_path=this.path;this.path=[]},measureText:function(Z){var se=this.pdf;return{getWidth:function(){var Oe=se.internal.getFontSize(),ne=se.getStringUnitWidth(Z)*Oe/se.internal.scaleFactor;return ne*=1.3333},get width(){return this.getWidth(Z)}}},_getBaseline:function(Z){var se=parseInt(this.pdf.internal.getFontSize()),he=.25*se;switch(this.ctx.textBaseline){case"bottom":return Z-he;case"top":return Z+se;case"hanging":return Z+se-he;case"middle":return Z+se/2-he;case"ideographic":return Z;case"alphabetic":default:return Z}}};var te=pe.context2d;function be(){this._isStrokeTransparent=!1,this._strokeOpacity=1,this.strokeStyle="#000000",this.fillStyle="#000000",this._isFillTransparent=!1,this._fillOpacity=1,this.font="12pt times",this.textBaseline="alphabetic",this.textAlign="start",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this._transform=[1,0,0,1,0,0],this.globalCompositeOperation="normal",this.globalAlpha=1,this._clip_path=[],this.ignoreClearRect=!1,this.copy=function(xe){this._isStrokeTransparent=xe._isStrokeTransparent,this._strokeOpacity=xe._strokeOpacity,this.strokeStyle=xe.strokeStyle,this._isFillTransparent=xe._isFillTransparent,this._fillOpacity=xe._fillOpacity,this.fillStyle=xe.fillStyle,this.font=xe.font,this.lineWidth=xe.lineWidth,this.lineJoin=xe.lineJoin,this.lineCap=xe.lineCap,this.textBaseline=xe.textBaseline,this.textAlign=xe.textAlign,this._fontSize=xe._fontSize,this._transform=xe._transform.slice(0),this.globalCompositeOperation=xe.globalCompositeOperation,this.globalAlpha=xe.globalAlpha,this._clip_path=xe._clip_path.slice(0),this.ignoreClearRect=xe.ignoreClearRect}}Object.defineProperty(te,"fillStyle",{set:function(Z){this.setFillStyle(Z)},get:function(){return this.ctx.fillStyle}}),Object.defineProperty(te,"strokeStyle",{set:function(Z){this.setStrokeStyle(Z)},get:function(){return this.ctx.strokeStyle}}),Object.defineProperty(te,"lineWidth",{set:function(Z){this.setLineWidth(Z)},get:function(){return this.ctx.lineWidth}}),Object.defineProperty(te,"lineCap",{set:function(Z){this.setLineCap(Z)},get:function(){return this.ctx.lineCap}}),Object.defineProperty(te,"lineJoin",{set:function(Z){this.setLineJoin(Z)},get:function(){return this.ctx.lineJoin}}),Object.defineProperty(te,"miterLimit",{set:function(Z){this.ctx.miterLimit=Z},get:function(){return this.ctx.miterLimit}}),Object.defineProperty(te,"textBaseline",{set:function(Z){this.setTextBaseline(Z)},get:function(){return this.getTextBaseline()}}),Object.defineProperty(te,"textAlign",{set:function(Z){this.setTextAlign(Z)},get:function(){return this.getTextAlign()}}),Object.defineProperty(te,"font",{set:function(Z){this.setFont(Z)},get:function(){return this.ctx.font}}),Object.defineProperty(te,"globalCompositeOperation",{set:function(Z){this.ctx.globalCompositeOperation=Z},get:function(){return this.ctx.globalCompositeOperation}}),Object.defineProperty(te,"globalAlpha",{set:function(Z){this.ctx.globalAlpha=Z},get:function(){return this.ctx.globalAlpha}}),Object.defineProperty(te,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(te,"ignoreClearRect",{set:function(Z){this.ctx.ignoreClearRect=Z},get:function(){return this.ctx.ignoreClearRect}}),te.internal={},te.internal.rxRgb=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,te.internal.rxRgba=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/,te.internal.rxTransparent=/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/,te.internal.arc=function(xe,Z,se,he,Oe,ne,ce,ae){for(var Ee=this.pdf.internal.scaleFactor,ye=this.pdf.internal.pageSize.getHeight(),Te=this.pdf.internal.f2,je=Oe*(Math.PI/180),qe=ne*(Math.PI/180),Le=this.createArc(he,je,qe,ce),ke=0;ke<Le.length;ke++){var tt=Le[ke];ke===0?this.pdf.internal.out([Te((tt.x1+Z)*Ee),Te((ye-(tt.y1+se))*Ee),"m",Te((tt.x2+Z)*Ee),Te((ye-(tt.y2+se))*Ee),Te((tt.x3+Z)*Ee),Te((ye-(tt.y3+se))*Ee),Te((tt.x4+Z)*Ee),Te((ye-(tt.y4+se))*Ee),"c"].join(" ")):this.pdf.internal.out([Te((tt.x2+Z)*Ee),Te((ye-(tt.y2+se))*Ee),Te((tt.x3+Z)*Ee),Te((ye-(tt.y3+se))*Ee),Te((tt.x4+Z)*Ee),Te((ye-(tt.y4+se))*Ee),"c"].join(" ")),xe._lastPoint={x:Z,y:se}}ae!==null&&this.pdf.internal.out(this.pdf.internal.getStyle(ae))},te.internal.arc2=function(xe,Z,se,he,Oe,ne,ce,ae,Ee){var ye=Z,Te=se;Ee?(this.arc(xe,ye,Te,he,Oe,ne,ce,null),this.pdf.clip_fixed()):this.arc(xe,ye,Te,he,Oe,ne,ce,ae)},te.internal.move2=function(xe,Z,se){var he=this.pdf.internal.scaleFactor,Oe=this.pdf.internal.pageSize.getHeight(),ne=this.pdf.internal.f2;this.pdf.internal.out([ne(Z*he),ne((Oe-se)*he),"m"].join(" ")),xe._lastPoint={x:Z,y:se}},te.internal.line2=function(xe,Z,se){var he=this.pdf.internal.scaleFactor,Oe=this.pdf.internal.pageSize.getHeight(),ne=this.pdf.internal.f2,ce={x:Z,y:se};this.pdf.internal.out([ne(ce.x*he),ne((Oe-ce.y)*he),"l"].join(" ")),xe._lastPoint=ce},te.internal.createArc=function(xe,Z,se,he){var Oe=2*Math.PI,ne=Math.PI/2,ce=Z;for((ce<Oe||Oe<ce)&&(ce%=Oe),ce<0&&(ce=Oe+ce);se<Z;)Z-=Oe;var ae=Math.abs(se-Z);ae<Oe&&he&&(ae=Oe-ae);for(var Ee=[],ye=he?-1:1,Te=ce;1e-5<ae;){var je=Te+ye*Math.min(ae,ne);Ee.push(this.createSmallArc(xe,Te,je)),ae-=Math.abs(je-Te),Te=je}return Ee},te.internal.getCurrentPage=function(){return this.pdf.internal.pages[this.pdf.internal.getCurrentPageInfo().pageNumber]},te.internal.createSmallArc=function(xe,Z,se){var he=(se-Z)/2,Oe=xe*Math.cos(he),ne=xe*Math.sin(he),ce=Oe,ae=-ne,Ee=ce*ce+ae*ae,ye=Ee+ce*Oe+ae*ne,Te=4/3*(Math.sqrt(2*Ee*ye)-ye)/(ce*ne-ae*Oe),je=ce-Te*ae,qe=ae+Te*ce,Le=je,ke=-qe,tt=he+Z,st=Math.cos(tt),_t=Math.sin(tt);return{x1:xe*Math.cos(Z),y1:xe*Math.sin(Z),x2:je*st-qe*_t,y2:je*_t+qe*st,x3:Le*st-ke*_t,y3:Le*_t+ke*st,x4:xe*Math.cos(se),y4:xe*Math.sin(se)}}}(At.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(pe){var te,be,xe,Z,se,he,Oe,ne,ce,ae,Ee,ye,Te,je,qe,Le,ke,tt,st,_t;te=function(){return function(vt){return Wt.prototype=vt,new Wt};function Wt(){}}(),ae=function(vt){var Je,Yt,Ht,nr,ir,Zt,Mt;for(Yt=0,Ht=vt.length,Je=void 0,Zt=nr=!1;!nr&&Yt!==Ht;)(Je=vt[Yt]=vt[Yt].trimLeft())&&(nr=!0),Yt++;for(Yt=Ht-1;Ht&&!Zt&&Yt!==-1;)(Je=vt[Yt]=vt[Yt].trimRight())&&(Zt=!0),Yt--;for(ir=/\s+$/g,Mt=!0,Yt=0;Yt!==Ht;)vt[Yt]!="\u2028"&&(Je=vt[Yt].replace(/\s+/g," "),Mt&&(Je=Je.trimLeft()),Je&&(Mt=ir.test(Je)),vt[Yt]=Je),Yt++;return vt},ye=function(vt){var Je,Yt,Ht;for(Je=void 0,Yt=(Ht=vt.split(",")).shift();!Je&&Yt;)Je=xe[Yt.trim().toLowerCase()],Yt=Ht.shift();return Je},Te=function(vt){var Je;return-1<(vt=vt==="auto"?"0px":vt).indexOf("em")&&!isNaN(Number(vt.replace("em","")))&&(vt=18.719*Number(vt.replace("em",""))+"px"),-1<vt.indexOf("pt")&&!isNaN(Number(vt.replace("pt","")))&&(vt=1.333*Number(vt.replace("pt",""))+"px"),(Je=je[vt])?Je:(Je={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[vt])!==void 0||(Je=parseFloat(vt))?je[vt]=Je/16:(Je=vt.match(/([\d\.]+)(px)/),Array.isArray(Je)&&Je.length===3?je[vt]=parseFloat(Je[1])/16:je[vt]=1)},ce=function(vt){var Je,Yt,Ht,nr,ir;return ir=vt,nr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(ir,null):ir.currentStyle?ir.currentStyle:ir.style,Yt=void 0,(Je={})["font-family"]=ye((Ht=function(Mt){return Mt=Mt.replace(/-\D/g,function(pt){return pt.charAt(1).toUpperCase()}),nr[Mt]})("font-family"))||"times",Je["font-style"]=Z[Ht("font-style")]||"normal",Je["text-align"]=se[Ht("text-align")]||"left",(Yt=he[Ht("font-weight")]||"normal")==="bold"&&(Je["font-style"]==="normal"?Je["font-style"]=Yt:Je["font-style"]=Yt+Je["font-style"]),Je["font-size"]=Te(Ht("font-size"))||1,Je["line-height"]=Te(Ht("line-height"))||1,Je.display=Ht("display")==="inline"?"inline":"block",Yt=Je.display==="block",Je["margin-top"]=Yt&&Te(Ht("margin-top"))||0,Je["margin-bottom"]=Yt&&Te(Ht("margin-bottom"))||0,Je["padding-top"]=Yt&&Te(Ht("padding-top"))||0,Je["padding-bottom"]=Yt&&Te(Ht("padding-bottom"))||0,Je["margin-left"]=Yt&&Te(Ht("margin-left"))||0,Je["margin-right"]=Yt&&Te(Ht("margin-right"))||0,Je["padding-left"]=Yt&&Te(Ht("padding-left"))||0,Je["padding-right"]=Yt&&Te(Ht("padding-right"))||0,Je["page-break-before"]=Ht("page-break-before")||"auto",Je.float=Oe[Ht("cssFloat")]||"none",Je.clear=ne[Ht("clear")]||"none",Je.color=Ht("color"),Je},qe=function(vt,Je,Yt){var Ht,nr,ir,Zt,Mt;if(ir=!1,Zt=nr=void 0,Ht=Yt["#"+vt.id])if(typeof Ht=="function")ir=Ht(vt,Je);else for(nr=0,Zt=Ht.length;!ir&&nr!==Zt;)ir=Ht[nr](vt,Je),nr++;if(Ht=Yt[vt.nodeName],!ir&&Ht)if(typeof Ht=="function")ir=Ht(vt,Je);else for(nr=0,Zt=Ht.length;!ir&&nr!==Zt;)ir=Ht[nr](vt,Je),nr++;for(Mt=typeof vt.className=="string"?vt.className.split(" "):[],nr=0;nr<Mt.length;nr++)if(Ht=Yt["."+Mt[nr]],!ir&&Ht)if(typeof Ht=="function")ir=Ht(vt,Je);else for(nr=0,Zt=Ht.length;!ir&&nr!==Zt;)ir=Ht[nr](vt,Je),nr++;return ir},_t=function(vt,Je){var Yt,Ht,nr,ir,Zt,Mt,pt,Tt,mt;for(Yt=[],Ht=[],nr=0,mt=vt.rows[0].cells.length,pt=vt.clientWidth;nr<mt;)Tt=vt.rows[0].cells[nr],Ht[nr]={name:Tt.textContent.toLowerCase().replace(/\s+/g,""),prompt:Tt.textContent.replace(/\r?\n/g,""),width:Tt.clientWidth/pt*Je.pdf.internal.pageSize.getWidth()},nr++;for(nr=1;nr<vt.rows.length;){for(Mt=vt.rows[nr],Zt={},ir=0;ir<Mt.cells.length;)Zt[Ht[ir].name]=Mt.cells[ir].textContent.replace(/\r?\n/g,""),ir++;Yt.push(Zt),nr++}return{rows:Yt,headers:Ht}};var Ct={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},Rt=1;be=function(vt,Je,Yt){var Ht,nr,ir,Zt,Mt,pt,Tt,mt;for(nr=vt.childNodes,Ht=void 0,(Mt=(ir=ce(vt)).display==="block")&&(Je.setBlockBoundary(),Je.setBlockStyle(ir)),Zt=0,pt=nr.length;Zt<pt;){if(((Ht=nr[Zt])===void 0?"undefined":et(Ht))==="object"){if(Je.executeWatchFunctions(Ht),Ht.nodeType===1&&Ht.nodeName==="HEADER"){var Jt=Ht,or=Je.pdf.margins_doc.top;Je.pdf.internal.events.subscribe("addPage",function(Yr){Je.y=or,be(Jt,Je,Yt),Je.pdf.margins_doc.top=Je.y+10,Je.y+=10},!1)}if(Ht.nodeType===8&&Ht.nodeName==="#comment")~Ht.textContent.indexOf("ADD_PAGE")&&(Je.pdf.addPage(),Je.y=Je.pdf.margins_doc.top);else if(Ht.nodeType!==1||Ct[Ht.nodeName])if(Ht.nodeType===3){var ut=Ht.nodeValue;if(Ht.nodeValue&&Ht.parentNode.nodeName==="LI")if(Ht.parentNode.parentNode.nodeName==="OL")ut=Rt+++". "+ut;else{var ht=ir["font-size"],qt=(3-.75*ht)*Je.pdf.internal.scaleFactor,Nt=.75*ht*Je.pdf.internal.scaleFactor,Qt=1.74*ht/Je.pdf.internal.scaleFactor;mt=function(Jr,hn){this.pdf.circle(Jr+qt,hn+Nt,Qt,"FD")}}16&Ht.ownerDocument.body.compareDocumentPosition(Ht)&&Je.addText(ut,ir)}else typeof Ht=="string"&&Je.addText(Ht,ir);else{var at;if(Ht.nodeName==="IMG"){var Ue=Ht.getAttribute("src");at=Le[Je.pdf.sHashCode(Ue)||Ue]}if(at){Je.pdf.internal.pageSize.getHeight()-Je.pdf.margins_doc.bottom<Je.y+Ht.height&&Je.y>Je.pdf.margins_doc.top&&(Je.pdf.addPage(),Je.y=Je.pdf.margins_doc.top,Je.executeWatchFunctions(Ht));var ot=ce(Ht),it=Je.x,zt=12/Je.pdf.internal.scaleFactor,ar=(ot["margin-left"]+ot["padding-left"])*zt,dr=(ot["margin-right"]+ot["padding-right"])*zt,pr=(ot["margin-top"]+ot["padding-top"])*zt,Tr=(ot["margin-bottom"]+ot["padding-bottom"])*zt;ot.float!==void 0&&ot.float==="right"?it+=Je.settings.width-Ht.width-dr:it+=ar,Je.pdf.addImage(at,it,Je.y+pr,Ht.width,Ht.height),at=void 0,ot.float==="right"||ot.float==="left"?(Je.watchFunctions.push(function(Yr,Jr,hn,yr){return Je.y>=Jr?(Je.x+=Yr,Je.settings.width+=hn,!0):!!(yr&&yr.nodeType===1&&!Ct[yr.nodeName]&&Je.x+yr.width>Je.pdf.margins_doc.left+Je.pdf.margins_doc.width)&&(Je.x+=Yr,Je.y=Jr,Je.settings.width+=hn,!0)}.bind(this,ot.float==="left"?-Ht.width-ar-dr:0,Je.y+Ht.height+pr+Tr,Ht.width)),Je.watchFunctions.push(function(Yr,Jr,hn){return!(Je.y<Yr&&Jr===Je.pdf.internal.getNumberOfPages())||hn.nodeType===1&&ce(hn).clear==="both"&&(Je.y=Yr,!0)}.bind(this,Je.y+Ht.height,Je.pdf.internal.getNumberOfPages())),Je.settings.width-=Ht.width+ar+dr,ot.float==="left"&&(Je.x+=Ht.width+ar+dr)):Je.y+=Ht.height+pr+Tr}else if(Ht.nodeName==="TABLE")Tt=_t(Ht,Je),Je.y+=10,Je.pdf.table(Je.x,Je.y,Tt.rows,Tt.headers,{autoSize:!1,printHeaders:Yt.printHeaders,margins:Je.pdf.margins_doc,css:ce(Ht)}),Je.y=Je.pdf.lastCellPos.y+Je.pdf.lastCellPos.h+20;else if(Ht.nodeName==="OL"||Ht.nodeName==="UL")Rt=1,qe(Ht,Je,Yt)||be(Ht,Je,Yt),Je.y+=10;else if(Ht.nodeName==="LI"){var Lr=Je.x;Je.x+=20/Je.pdf.internal.scaleFactor,Je.y+=3,qe(Ht,Je,Yt)||be(Ht,Je,Yt),Je.x=Lr}else Ht.nodeName==="BR"?(Je.y+=ir["font-size"]*Je.pdf.internal.scaleFactor,Je.addText("\u2028",te(ir))):qe(Ht,Je,Yt)||be(Ht,Je,Yt)}}Zt++}if(Yt.outY=Je.y,Mt)return Je.setBlockBoundary(mt)},Le={},ke=function(vt,Je,Yt,Ht){var nr,ir=vt.getElementsByTagName("img"),Zt=ir.length,Mt=0;function pt(){Je.pdf.internal.events.publish("imagesLoaded"),Ht(nr)}function Tt(mt,Jt,or){if(mt){var ut=new Image;nr=++Mt,ut.crossOrigin="",ut.onerror=ut.onload=function(){if(ut.complete&&(ut.src.indexOf("data:image/")===0&&(ut.width=Jt||ut.width||0,ut.height=or||ut.height||0),ut.width+ut.height)){var ht=Je.pdf.sHashCode(mt)||mt;Le[ht]=Le[ht]||ut}--Mt||pt()},ut.src=mt}}for(;Zt--;)Tt(ir[Zt].getAttribute("src"),ir[Zt].width,ir[Zt].height);return Mt||pt()},tt=function(vt,Je,Yt){var Ht=vt.getElementsByTagName("footer");if(0<Ht.length){Ht=Ht[0];var nr=Je.pdf.internal.write,ir=Je.y;Je.pdf.internal.write=function(){},be(Ht,Je,Yt);var Zt=Math.ceil(Je.y-ir)+5;Je.y=ir,Je.pdf.internal.write=nr,Je.pdf.margins_doc.bottom+=Zt;for(var Mt=function(Jt){var or=Jt!==void 0?Jt.pageNumber:1,ut=Je.y;Je.y=Je.pdf.internal.pageSize.getHeight()-Je.pdf.margins_doc.bottom,Je.pdf.margins_doc.bottom-=Zt;for(var ht=Ht.getElementsByTagName("span"),qt=0;qt<ht.length;++qt)-1<(" "+ht[qt].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(ht[qt].innerHTML=or),-1<(" "+ht[qt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(ht[qt].innerHTML="###jsPDFVarTotalPages###");be(Ht,Je,Yt),Je.pdf.margins_doc.bottom+=Zt,Je.y=ut},pt=Ht.getElementsByTagName("span"),Tt=0;Tt<pt.length;++Tt)-1<(" "+pt[Tt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Je.pdf.internal.events.subscribe("htmlRenderingFinished",Je.pdf.putTotalPages.bind(Je.pdf,"###jsPDFVarTotalPages###"),!0);Je.pdf.internal.events.subscribe("addPage",Mt,!1),Mt(),Ct.FOOTER=1}},st=function(vt,Je,Yt,Ht,nr,ir){if(!Je)return!1;var Zt,Mt,pt,Tt;typeof Je=="string"||Je.parentNode||(Je=""+Je.innerHTML),typeof Je=="string"&&(Zt=Je.replace(/<\/?script[^>]*?>/gi,""),Tt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(pt=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;",pt.innerHTML='<iframe style="height:1px;width:1px" name="'+Tt+'" />',document.body.appendChild(pt),(Mt=window.frames[Tt]).document.open(),Mt.document.writeln(Zt),Mt.document.close(),Je=Mt.document.body);var mt,Jt=new Ee(vt,Yt,Ht,nr);return ke.call(this,Je,Jt,nr.elementHandlers,function(or){tt(Je,Jt,nr.elementHandlers),be(Je,Jt,nr.elementHandlers),Jt.pdf.internal.events.publish("htmlRenderingFinished"),mt=Jt.dispose(),typeof ir=="function"?ir(mt):or&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),mt||{x:Jt.x,y:Jt.y}},(Ee=function(vt,Je,Yt,Ht){return this.pdf=vt,this.x=Je,this.y=Yt,this.settings=Ht,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},Ee.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},Ee.prototype.executeWatchFunctions=function(Wt){var vt=!1,Je=[];if(0<this.watchFunctions.length){for(var Yt=0;Yt<this.watchFunctions.length;++Yt)this.watchFunctions[Yt](Wt)===!0?vt=!0:Je.push(this.watchFunctions[Yt]);this.watchFunctions=Je}return vt},Ee.prototype.splitFragmentsIntoLines=function(Wt,vt){var Je,Yt,Ht,nr,ir,Zt,Mt,pt,Tt,mt,Jt,or,ut,ht;for(mt=this.pdf.internal.scaleFactor,nr={},Zt=Mt=pt=ht=ir=Ht=Tt=Yt=void 0,or=[Jt=[]],Je=0,ut=this.settings.width;Wt.length;)if(ir=Wt.shift(),ht=vt.shift(),ir)if((Ht=nr[(Yt=ht["font-family"])+(Tt=ht["font-style"])])||(Ht=this.pdf.internal.getFont(Yt,Tt).metadata.Unicode,nr[Yt+Tt]=Ht),pt={widths:Ht.widths,kerning:Ht.kerning,fontSize:12*ht["font-size"],textIndent:Je},Mt=this.pdf.getStringUnitWidth(ir,pt)*pt.fontSize/mt,ir=="\u2028")Jt=[],or.push(Jt);else if(ut<Je+Mt){for(Zt=this.pdf.splitTextToSize(ir,ut,pt),Jt.push([Zt.shift(),ht]);Zt.length;)Jt=[[Zt.shift(),ht]],or.push(Jt);Je=this.pdf.getStringUnitWidth(Jt[0][0],pt)*pt.fontSize/mt}else Jt.push([ir,ht]),Je+=Mt;if(ht["text-align"]!==void 0&&(ht["text-align"]==="center"||ht["text-align"]==="right"||ht["text-align"]==="justify"))for(var qt=0;qt<or.length;++qt){var Nt=this.pdf.getStringUnitWidth(or[qt][0][0],pt)*pt.fontSize/mt;0<qt&&(or[qt][0][1]=te(or[qt][0][1]));var Qt=ut-Nt;if(ht["text-align"]==="right")or[qt][0][1]["margin-left"]=Qt;else if(ht["text-align"]==="center")or[qt][0][1]["margin-left"]=Qt/2;else if(ht["text-align"]==="justify"){var at=or[qt][0][0].split(" ").length-1;or[qt][0][1]["word-spacing"]=Qt/at,qt===or.length-1&&(or[qt][0][1]["word-spacing"]=0)}}return or},Ee.prototype.RenderTextFragment=function(Wt,vt){var Je,Yt;Yt=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(vt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Yt=Math.max(Yt,vt["line-height"],vt["font-size"]),this.pdf.internal.write(0,(-12*Yt).toFixed(2),"Td")),Je=this.pdf.internal.getFont(vt["font-family"],vt["font-style"]);var Ht=this.getPdfColor(vt.color);Ht!==this.lastTextColor&&(this.pdf.internal.write(Ht),this.lastTextColor=Ht),vt["word-spacing"]!==void 0&&0<vt["word-spacing"]&&this.pdf.internal.write(vt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Je.id,(12*vt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Wt)+") Tj"),vt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},Ee.prototype.getPdfColor=function(Wt){var vt,Je,Yt,Ht=new RGBColor(Wt),nr=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Wt);if(nr!=null?(vt=parseInt(nr[1]),Je=parseInt(nr[2]),Yt=parseInt(nr[3])):(Wt.charAt(0)!="#"&&(Wt=Ht.ok?Ht.toHex():"#000000"),vt=Wt.substring(1,3),vt=parseInt(vt,16),Je=Wt.substring(3,5),Je=parseInt(Je,16),Yt=Wt.substring(5,7),Yt=parseInt(Yt,16)),typeof vt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(vt)){var ir=parseInt(vt.substr(1),16);vt=ir>>16&255,Je=ir>>8&255,Yt=255&ir}var Zt=this.f3;return vt===0&&Je===0&&Yt===0||Je===void 0?Zt(vt/255)+" g":[Zt(vt/255),Zt(Je/255),Zt(Yt/255),"rg"].join(" ")},Ee.prototype.f3=function(Wt){return Wt.toFixed(3)},Ee.prototype.renderParagraph=function(Wt){var vt,Je,Yt,Ht,nr,ir,Zt,Mt,pt,Tt,mt,Jt,or;if(Yt=ae(this.paragraph.text),Jt=this.paragraph.style,vt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:vt},Yt.join("").trim()){Zt=this.splitFragmentsIntoLines(Yt,Jt),Mt=ir=void 0,Je=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,mt=(Math.max((vt["margin-top"]||0)-this.priorMarginBottom,0)+(vt["padding-top"]||0))*Je,Tt=((vt["margin-bottom"]||0)+(vt["padding-bottom"]||0))*Je,this.priorMarginBottom=vt["margin-bottom"]||0,vt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,mt=((vt["margin-top"]||0)+(vt["padding-top"]||0))*Je),pt=this.pdf.internal.write,nr=Ht=void 0,this.y+=mt,pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var ut=0;Zt.length;){for(Ht=Mt=0,nr=(ir=Zt.shift()).length;Ht!==nr;)ir[Ht][0].trim()&&(Mt=Math.max(Mt,ir[Ht][1]["line-height"],ir[Ht][1]["font-size"]),or=7*ir[Ht][1]["font-size"]),Ht++;var ht=0,qt=0;for(ir[0][1]["margin-left"]!==void 0&&0<ir[0][1]["margin-left"]&&(ht=(qt=this.pdf.internal.getCoordinateString(ir[0][1]["margin-left"]))-ut,ut=qt),pt(ht+Math.max(vt["margin-left"]||0,0)*Je,(-12*Mt).toFixed(2),"Td"),Ht=0,nr=ir.length;Ht!==nr;)ir[Ht][0]&&this.RenderTextFragment(ir[Ht][0],ir[Ht][1]),Ht++;if(this.y+=Mt*Je,this.executeWatchFunctions(ir[0][1])&&0<Zt.length){var Nt=[],Qt=[];Zt.forEach(function(at){for(var Ue=0,ot=at.length;Ue!==ot;)at[Ue][0]&&(Nt.push(at[Ue][0]+" "),Qt.push(at[Ue][1])),++Ue}),Zt=this.splitFragmentsIntoLines(ae(Nt),Qt),pt("ET","Q"),pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Wt&&typeof Wt=="function"&&Wt.call(this,this.x-9,this.y-or/2),pt("ET","Q"),this.y+=Tt}},Ee.prototype.setBlockBoundary=function(Wt){return this.renderParagraph(Wt)},Ee.prototype.setBlockStyle=function(Wt){return this.paragraph.blockstyle=Wt},Ee.prototype.addText=function(Wt,vt){return this.paragraph.text.push(Wt),this.paragraph.style.push(vt)},xe={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},he={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"},Z={normal:"normal",italic:"italic",oblique:"italic"},se={left:"left",right:"right",center:"center",justify:"justify"},Oe={none:"none",right:"right",left:"left"},ne={none:"none",both:"both"},je={normal:1},pe.fromHTML=function(Wt,vt,Je,Yt,Ht,nr){return this.margins_doc=nr||{top:0,bottom:0},Yt||(Yt={}),Yt.elementHandlers||(Yt.elementHandlers={}),st(this,Wt,isNaN(vt)?4:vt,isNaN(Je)?4:Je,Yt,Ht)}}(At.API),At.API.addJS=function(pe){return h=pe,this.internal.events.subscribe("postPutResources",function(te){c=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(c+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),d=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+h+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){c!==void 0&&d!==void 0&&this.internal.out("/Names <</JavaScript "+c+" 0 R>>")}),this},(y=At.API).events.push(["postPutResources",function(){var pe=this,te=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var be=pe.outline.render().split(/\r\n/),xe=0;xe<be.length;xe++){var Z=be[xe],se=te.exec(Z);if(se!=null){var he=se[1];pe.internal.newObjectDeferredBegin(he)}pe.internal.write(Z)}if(this.outline.createNamedDestinations){var Oe=this.internal.pages.length,ne=[];for(xe=0;xe<Oe;xe++){var ce=pe.internal.newObject();ne.push(ce);var ae=pe.internal.getPageInfo(xe+1);pe.internal.write("<< /D["+ae.objId+" 0 R /XYZ null null null]>> endobj")}var Ee=pe.internal.newObject();for(pe.internal.write("<< /Names [ "),xe=0;xe<ne.length;xe++)pe.internal.write("(page_"+(xe+1)+")"+ne[xe]+" 0 R");pe.internal.write(" ] >>","endobj"),pe.internal.newObject(),pe.internal.write("<< /Dests "+Ee+" 0 R"),pe.internal.write(">>","endobj")}}]),y.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"))}]),y.events.push(["initialized",function(){var pe=this;pe.outline={createNamedDestinations:!1,root:{children:[]}},pe.outline.add=function(te,be,xe){var Z={title:be,options:xe,children:[]};return te==null&&(te=this.root),te.children.push(Z),Z},pe.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=pe,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},pe.outline.genIds_r=function(te){te.id=pe.internal.newObjectDeferred();for(var be=0;be<te.children.length;be++)this.genIds_r(te.children[be])},pe.outline.renderRoot=function(te){this.objStart(te),this.line("/Type /Outlines"),0<te.children.length&&(this.line("/First "+this.makeRef(te.children[0])),this.line("/Last "+this.makeRef(te.children[te.children.length-1]))),this.line("/Count "+this.count_r({count:0},te)),this.objEnd()},pe.outline.renderItems=function(te){for(var be=0;be<te.children.length;be++){var xe=te.children[be];this.objStart(xe),this.line("/Title "+this.makeString(xe.title)),this.line("/Parent "+this.makeRef(te)),0<be&&this.line("/Prev "+this.makeRef(te.children[be-1])),be<te.children.length-1&&this.line("/Next "+this.makeRef(te.children[be+1])),0<xe.children.length&&(this.line("/First "+this.makeRef(xe.children[0])),this.line("/Last "+this.makeRef(xe.children[xe.children.length-1])));var Z=this.count=this.count_r({count:0},xe);if(0<Z&&this.line("/Count "+Z),xe.options&&xe.options.pageNumber){var se=pe.internal.getPageInfo(xe.options.pageNumber);this.line("/Dest ["+se.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.getHeight()*this.ctx.pdf.internal.scaleFactor+" 0]")}this.objEnd()}for(be=0;be<te.children.length;be++)xe=te.children[be],this.renderItems(xe)},pe.outline.line=function(te){this.ctx.val+=te+`\r
|
|
|
`},pe.outline.makeRef=function(te){return te.id+" 0 R"},pe.outline.makeString=function(te){return"("+pe.internal.pdfEscape(te)+")"},pe.outline.objStart=function(te){this.ctx.val+=`\r
|
|
|
`+te.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},pe.outline.objEnd=function(te){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},pe.outline.count_r=function(te,be){for(var xe=0;xe<be.children.length;xe++)te.count++,this.count_r(te,be.children[xe]);return te.count}}]),A=At.API,v=function(){var te=typeof Deflater=="function";if(!te)throw new Error("requires deflate.js for compression");return te},g=function(te,be,xe,Z){var se=5,he=M;switch(Z){case A.image_compression.FAST:se=3,he=P;break;case A.image_compression.MEDIUM:se=6,he=R;break;case A.image_compression.SLOW:se=9,he=F}te=b(te,be,xe,he);var Oe=new Uint8Array(x(se)),ne=m(te),ce=new Deflater(se),ae=ce.append(te),Ee=ce.flush(),ye=Oe.length+ae.length+Ee.length,Te=new Uint8Array(ye+4);return Te.set(Oe),Te.set(ae,Oe.length),Te.set(Ee,Oe.length+ae.length),Te[ye++]=ne>>>24&255,Te[ye++]=ne>>>16&255,Te[ye++]=ne>>>8&255,Te[ye++]=255&ne,A.arrayBufferToBinaryString(Te)},x=function(te,be){var xe=Math.LOG2E*Math.log(32768)-8<<4|8,Z=xe<<8;return Z|=Math.min(3,(be-1&255)>>1)<<6,Z|=0,[xe,255&(Z+=31-Z%31)]},m=function(te,be){for(var xe,Z=1,se=0,he=te.length,Oe=0;0<he;){for(he-=xe=be<he?be:he;se+=Z+=te[Oe++],--xe;);Z%=65521,se%=65521}return(se<<16|Z)>>>0},b=function(te,be,xe,Z){for(var se,he,Oe,ne=te.length/be,ce=new Uint8Array(te.length+ne),ae=U(),Ee=0;Ee<ne;Ee++){if(Oe=Ee*be,se=te.subarray(Oe,Oe+be),Z)ce.set(Z(se,xe,he),Oe+Ee);else{for(var ye=0,Te=ae.length,je=[];ye<Te;ye++)je[ye]=ae[ye](se,xe,he);var qe=N(je.concat());ce.set(je[qe],Oe+Ee)}he=se}return ce},S=function(te,be,xe){var Z=Array.apply([],te);return Z.unshift(0),Z},P=function(te,be,xe){var Z,se=[],he=0,Oe=te.length;for(se[0]=1;he<Oe;he++)Z=te[he-be]||0,se[he+1]=te[he]-Z+256&255;return se},M=function(te,be,xe){var Z,se=[],he=0,Oe=te.length;for(se[0]=2;he<Oe;he++)Z=xe&&xe[he]||0,se[he+1]=te[he]-Z+256&255;return se},R=function(te,be,xe){var Z,se,he=[],Oe=0,ne=te.length;for(he[0]=3;Oe<ne;Oe++)Z=te[Oe-be]||0,se=xe&&xe[Oe]||0,he[Oe+1]=te[Oe]+256-(Z+se>>>1)&255;return he},F=function(te,be,xe){var Z,se,he,Oe,ne=[],ce=0,ae=te.length;for(ne[0]=4;ce<ae;ce++)Z=te[ce-be]||0,se=xe&&xe[ce]||0,he=xe&&xe[ce-be]||0,Oe=L(Z,se,he),ne[ce+1]=te[ce]-Oe+256&255;return ne},L=function(te,be,xe){var Z=te+be-xe,se=Math.abs(Z-te),he=Math.abs(Z-be),Oe=Math.abs(Z-xe);return se<=he&&se<=Oe?te:he<=Oe?be:xe},U=function(){return[S,P,M,R,F]},N=function(te){for(var be,xe,Z,se=0,he=te.length;se<he;)((be=Q(te[se].slice(1)))<xe||!xe)&&(xe=be,Z=se),se++;return Z},Q=function(te){for(var be=0,xe=te.length,Z=0;be<xe;)Z+=Math.abs(te[be++]);return Z},A.processPNG=function(pe,te,be,xe,Z){var se,he,Oe,ne,ce,ae,Ee=this.color_spaces.DEVICE_RGB,ye=this.decode.FLATE_DECODE,Te=8;if(this.isArrayBuffer(pe)&&(pe=new Uint8Array(pe)),this.isArrayBufferView(pe)){if(typeof PNG!="function"||typeof ze!="function")throw new Error("PNG support requires png.js and zlib.js");if(pe=(se=new PNG(pe)).imgData,Te=se.bits,Ee=se.colorSpace,ne=se.colors,[4,6].indexOf(se.colorType)!==-1){if(se.bits===8)for(var je,qe=(Yt=se.pixelBitlength==32?new Uint32Array(se.decodePixels().buffer):se.pixelBitlength==16?new Uint16Array(se.decodePixels().buffer):new Uint8Array(se.decodePixels().buffer)).length,Le=new Uint8Array(qe*se.colors),ke=new Uint8Array(qe),tt=se.pixelBitlength-se.bits,st=0,_t=0;st<qe;st++){for(Ct=Yt[st],je=0;je<tt;)Le[_t++]=Ct>>>je&255,je+=se.bits;ke[st]=Ct>>>je&255}if(se.bits===16){qe=(Yt=new Uint32Array(se.decodePixels().buffer)).length,Le=new Uint8Array(qe*(32/se.pixelBitlength)*se.colors),ke=new Uint8Array(qe*(32/se.pixelBitlength));for(var Ct,Rt=1<se.colors,Wt=_t=st=0;st<qe;)Ct=Yt[st++],Le[_t++]=Ct>>>0&255,Rt&&(Le[_t++]=Ct>>>16&255,Ct=Yt[st++],Le[_t++]=Ct>>>0&255),ke[Wt++]=Ct>>>16&255;Te=8}xe!==A.image_compression.NONE&&v()?(pe=g(Le,se.width*se.colors,se.colors,xe),ae=g(ke,se.width,1,xe)):(pe=Le,ae=ke,ye=null)}if(se.colorType===3&&(Ee=this.color_spaces.INDEXED,ce=se.palette,se.transparency.indexed)){var vt=se.transparency.indexed,Je=0;for(st=0,qe=vt.length;st<qe;++st)Je+=vt[st];if((Je/=255)==qe-1&&vt.indexOf(0)!==-1)Oe=[vt.indexOf(0)];else if(Je!==qe){var Yt=se.decodePixels();for(ke=new Uint8Array(Yt.length),st=0,qe=Yt.length;st<qe;st++)ke[st]=vt[Yt[st]];ae=g(ke,se.width,1)}}var Ht=function(nr){var ir;switch(nr){case A.image_compression.FAST:ir=11;break;case A.image_compression.MEDIUM:ir=13;break;case A.image_compression.SLOW:ir=14;break;default:ir=12}return ir}(xe);return he=ye===this.decode.FLATE_DECODE?"/Predictor "+Ht+" /Colors "+ne+" /BitsPerComponent "+Te+" /Columns "+se.width:"/Colors "+ne+" /BitsPerComponent "+Te+" /Columns "+se.width,(this.isArrayBuffer(pe)||this.isArrayBufferView(pe))&&(pe=this.arrayBufferToBinaryString(pe)),(ae&&this.isArrayBuffer(ae)||this.isArrayBufferView(ae))&&(ae=this.arrayBufferToBinaryString(ae)),this.createImageInfo(pe,se.width,se.height,Ee,Te,ye,te,be,he,Oe,ce,ae,Ht)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(z=At.API).processGIF89A=function(pe,te,be,xe,Z){var se=new Ye(pe),he=se.width,Oe=se.height,ne=[];se.decodeAndBlitFrameRGBA(0,ne);var ce={data:ne,width:he,height:Oe},ae=new Ae(100).encode(ce,100);return z.processJPEG.call(this,ae,te,be,xe)},z.processGIF87A=z.processGIF89A,(_=At.API).processBMP=function(pe,te,be,xe,Z){var se=new Me(pe,!1),he=se.width,Oe=se.height,ne={data:se.getData(),width:he,height:Oe},ce=new Ae(100).encode(ne,100);return _.processJPEG.call(this,ce,te,be,xe)},At.API.setLanguage=function(pe){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"}[pe]!==void 0&&(this.internal.languageSettings.languageCode=pe,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},J=At.API,Y=J.getCharWidthsArray=function(pe,te){var be,xe,Z,se=(te=te||{}).font||this.internal.getFont(),he=te.fontSize||this.internal.getFontSize(),Oe=te.charSpace||this.internal.getCharSpace(),ne=te.widths?te.widths:se.metadata.Unicode.widths,ce=ne.fof?ne.fof:1,ae=te.kerning?te.kerning:se.metadata.Unicode.kerning,Ee=ae.fof?ae.fof:1,ye=0,Te=ne[0]||ce,je=[];for(be=0,xe=pe.length;be<xe;be++)Z=pe.charCodeAt(be),typeof se.metadata.widthOfString=="function"?je.push((se.metadata.widthOfGlyph(se.metadata.characterToGlyph(Z))+Oe*(1e3/he)||0)/1e3):je.push((ne[Z]||Te)/ce+(ae[Z]&&ae[Z][ye]||0)/Ee),ye=Z;return je},k=J.getArraySum=function(pe){for(var te=pe.length,be=0;te;)be+=pe[--te];return be},W=J.getStringUnitWidth=function(pe,te){var be=(te=te||{}).fontSize||this.internal.getFontSize(),xe=te.font||this.internal.getFont(),Z=te.charSpace||this.internal.getCharSpace();return typeof xe.metadata.widthOfString=="function"?xe.metadata.widthOfString(pe,be,Z)/be:k(Y.apply(this,arguments))},ie=function(te,be,xe,Z){for(var se=[],he=0,Oe=te.length,ne=0;he!==Oe&&ne+be[he]<xe;)ne+=be[he],he++;se.push(te.slice(0,he));var ce=he;for(ne=0;he!==Oe;)ne+be[he]>Z&&(se.push(te.slice(ce,he)),ne=0,ce=he),ne+=be[he],he++;return ce!==he&&se.push(te.slice(ce,he)),se},fe=function(te,be,xe){xe||(xe={});var Z,se,he,Oe,ne,ce,ae=[],Ee=[ae],ye=xe.textIndent||0,Te=0,je=0,qe=te.split(" "),Le=Y.apply(this,[" ",xe])[0];if(ce=xe.lineIndent===-1?qe[0].length+2:xe.lineIndent||0){var ke=Array(ce).join(" "),tt=[];qe.map(function(Ct){1<(Ct=Ct.split(/\s*\n/)).length?tt=tt.concat(Ct.map(function(Rt,Wt){return(Wt&&Rt.length?`
|
|
|
`:"")+Rt})):tt.push(Ct[0])}),qe=tt,ce=W.apply(this,[ke,xe])}for(he=0,Oe=qe.length;he<Oe;he++){var st=0;if(Z=qe[he],ce&&Z[0]==`
|
|
|
`&&(Z=Z.substr(1),st=1),se=Y.apply(this,[Z,xe]),be<ye+Te+(je=k(se))||st){if(be<je){for(ne=ie.apply(this,[Z,se,be-(ye+Te),be]),ae.push(ne.shift()),ae=[ne.pop()];ne.length;)Ee.push([ne.shift()]);je=k(se.slice(Z.length-(ae[0]?ae[0].length:0)))}else ae=[Z];Ee.push(ae),ye=je+ce,Te=Le}else ae.push(Z),ye+=Te+je,Te=Le}if(ce)var _t=function(Rt,Wt){return(Wt?ke:"")+Rt.join(" ")};else _t=function(Rt){return Rt.join(" ")};return Ee.map(_t)},J.splitTextToSize=function(pe,te,be){var xe,Z=(be=be||{}).fontSize||this.internal.getFontSize(),se=function(ae){var Ee={0:1},ye={};if(ae.widths&&ae.kerning)return{widths:ae.widths,kerning:ae.kerning};var Te=this.internal.getFont(ae.fontName,ae.fontStyle),je="Unicode";return Te.metadata[je]?{widths:Te.metadata[je].widths||Ee,kerning:Te.metadata[je].kerning||ye}:{font:Te.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,be);xe=Array.isArray(pe)?pe:pe.split(/\r?\n/);var he=1*this.internal.scaleFactor*te/Z;se.textIndent=be.textIndent?1*be.textIndent*this.internal.scaleFactor/Z:0,se.lineIndent=be.lineIndent;var Oe,ne,ce=[];for(Oe=0,ne=xe.length;Oe<ne;Oe++)ce=ce.concat(fe.apply(this,[xe[Oe],he,se]));return ce},Ce=At.API,de={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(ge=function(te){for(var be="klmnopqrstuvwxyz",xe={},Z=0;Z<be.length;Z++)xe[be[Z]]="0123456789abcdef"[Z];var se,he,Oe,ne,ce,ae={},Ee=1,ye=ae,Te=[],je="",qe="",Le=te.length-1;for(Z=1;Z!=Le;)ce=te[Z],Z+=1,ce=="'"?he?(ne=he.join(""),he=se):he=[]:he?he.push(ce):ce=="{"?(Te.push([ye,ne]),ye={},ne=se):ce=="}"?((Oe=Te.pop())[0][Oe[1]]=ye,ne=se,ye=Oe[0]):ce=="-"?Ee=-1:ne===se?xe.hasOwnProperty(ce)?(je+=xe[ce],ne=parseInt(je,16)*Ee,Ee=1,je=""):je+=ce:xe.hasOwnProperty(ce)?(qe+=xe[ce],ye[ne]=parseInt(qe,16)*Ee,Ee=1,ne=se,qe=""):qe+=ce;return ae})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Pe={Unicode:{Courier:de,"Courier-Bold":de,"Courier-BoldOblique":de,"Courier-Oblique":de,Helvetica:de,"Helvetica-Bold":de,"Helvetica-BoldOblique":de,"Helvetica-Oblique":de,"Times-Roman":de,"Times-Bold":de,"Times-BoldItalic":de,"Times-Italic":de}},_e={Unicode:{"Courier-Oblique":ge("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ge("{'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":ge("{'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:ge("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ge("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ge("{'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:ge("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ge("{'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":ge("{'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:ge("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ge("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ge("{'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":ge("{'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":ge("{'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}}}")}},Ce.events.push(["addFont",function(pe){var te,be,xe,Z="Unicode";(te=_e[Z][pe.postScriptName])&&((be=pe.metadata[Z]?pe.metadata[Z]:pe.metadata[Z]={}).widths=te.widths,be.kerning=te.kerning),(xe=Pe[Z][pe.postScriptName])&&((be=pe.metadata[Z]?pe.metadata[Z]:pe.metadata[Z]={}).encoding=xe).codePages&&xe.codePages.length&&(pe.encoding=xe.codePages[0])}]),Ne=At,typeof self!="undefined"&&self||typeof B!="undefined"&&B||typeof window!="undefined"&&window||Function("return this")(),Ne.API.events.push(["addFont",function(pe){Ne.API.existsFileInVFS(pe.postScriptName)?(pe.metadata=Ne.API.TTFFont.open(pe.postScriptName,pe.fontName,Ne.API.getFileFromVFS(pe.postScriptName),pe.encoding),pe.metadata.Unicode=pe.metadata.Unicode||{encoding:{},kerning:{},widths:[]}):14<pe.id.slice(1)&&console.error("Font does not exist in FileInVFS, import fonts or remove declaration doc.addFont('"+pe.postScriptName+"').")}]),(He=At.API).addSvg=function(pe,te,be,xe,Z){if(te===void 0||be===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function se(vt){for(var Je=parseFloat(vt[1]),Yt=parseFloat(vt[2]),Ht=[],nr=3,ir=vt.length;nr<ir;)vt[nr]==="c"?(Ht.push([parseFloat(vt[nr+1]),parseFloat(vt[nr+2]),parseFloat(vt[nr+3]),parseFloat(vt[nr+4]),parseFloat(vt[nr+5]),parseFloat(vt[nr+6])]),nr+=7):vt[nr]==="l"?(Ht.push([parseFloat(vt[nr+1]),parseFloat(vt[nr+2])]),nr+=3):nr+=1;return[Je,Yt,Ht]}var he,Oe,ne,ce,ae,Ee,ye,Te,je=(ce=document,Te=ce.createElement("iframe"),ae=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ye=(Ee=ce).createElement("style")).type="text/css",ye.styleSheet?ye.styleSheet.cssText=ae:ye.appendChild(Ee.createTextNode(ae)),Ee.getElementsByTagName("head")[0].appendChild(ye),Te.name="childframe",Te.setAttribute("width",0),Te.setAttribute("height",0),Te.setAttribute("frameborder","0"),Te.setAttribute("scrolling","no"),Te.setAttribute("seamless","seamless"),Te.setAttribute("class","jsPDF_sillysvg_iframe"),ce.body.appendChild(Te),Te),qe=(he=pe,(ne=((Oe=je).contentWindow||Oe.contentDocument).document).write(he),ne.close(),ne.getElementsByTagName("svg")[0]),Le=[1,1],ke=parseFloat(qe.getAttribute("width")),tt=parseFloat(qe.getAttribute("height"));ke&&tt&&(xe&&Z?Le=[xe/ke,Z/tt]:xe?Le=[xe/ke,xe/ke]:Z&&(Le=[Z/tt,Z/tt]));var st,_t,Ct,Rt,Wt=qe.childNodes;for(st=0,_t=Wt.length;st<_t;st++)(Ct=Wt[st]).tagName&&Ct.tagName.toUpperCase()==="PATH"&&((Rt=se(Ct.getAttribute("d").split(" ")))[0]=Rt[0]*Le[0]+te,Rt[1]=Rt[1]*Le[1]+be,this.lines.call(this,Rt[2],Rt[0],Rt[1],Le));return this},He.addSVG=He.addSvg,He.addSvgAsImage=function(pe,te,be,xe,Z,se,he,Oe){if(isNaN(te)||isNaN(be))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(xe)||isNaN(Z))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var ne=document.createElement("canvas");ne.width=xe,ne.height=Z;var ce=ne.getContext("2d");return ce.fillStyle="#fff",ce.fillRect(0,0,ne.width,ne.height),canvg(ne,pe,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(ne.toDataURL("image/jpeg",1),te,be,xe,Z,he,Oe),this},At.API.putTotalPages=function(pe){for(var te=new RegExp(pe,"g"),be=1;be<=this.internal.getNumberOfPages();be++)for(var xe=0;xe<this.internal.pages[be].length;xe++)this.internal.pages[be][xe]=this.internal.pages[be][xe].replace(te,this.internal.getNumberOfPages());return this},At.API.viewerPreferences=function(pe,te){var be;pe=pe||{},te=te||!1;var xe,Z,se={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}},he=Object.keys(se),Oe=[],ne=0,ce=0,ae=0,Ee=!0;function ye(je,qe){var Le,ke=!1;for(Le=0;Le<je.length;Le+=1)je[Le]===qe&&(ke=!0);return ke}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(se)),this.internal.viewerpreferences.isSubscribed=!1),be=this.internal.viewerpreferences.configuration,pe==="reset"||te===!0){var Te=he.length;for(ae=0;ae<Te;ae+=1)be[he[ae]].value=be[he[ae]].defaultValue,be[he[ae]].explicitSet=!1}if((pe===void 0?"undefined":et(pe))==="object"){for(xe in pe)if(Z=pe[xe],ye(he,xe)&&Z!==void 0){if(be[xe].type==="boolean"&&typeof Z=="boolean")be[xe].value=Z;else if(be[xe].type==="name"&&ye(be[xe].valueSet,Z))be[xe].value=Z;else if(be[xe].type==="integer"&&Number.isInteger(Z))be[xe].value=Z;else if(be[xe].type==="array"){for(ne=0;ne<Z.length;ne+=1)if(Ee=!0,Z[ne].length===1&&typeof Z[ne][0]=="number")Oe.push(String(Z[ne]));else if(1<Z[ne].length){for(ce=0;ce<Z[ne].length;ce+=1)typeof Z[ne][ce]!="number"&&(Ee=!1);Ee===!0&&Oe.push(String(Z[ne].join("-")))}be[xe].value=String(Oe)}else be[xe].value=be[xe].defaultValue;be[xe].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var je,qe=[];for(je in be)be[je].explicitSet===!0&&(be[je].type==="name"?qe.push("/"+je+" /"+be[je].value):qe.push("/"+je+" "+be[je].value));qe.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+qe.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=be,this},ue=At.API,Ve=nt=Re="",ue.addMetadata=function(pe,te){return nt=te||"http://jspdf.default.namespaceuri/",Re=pe,this.internal.events.subscribe("postPutResources",function(){if(Re){var be='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+nt+'"><jspdf:metadata>',xe=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Z=unescape(encodeURIComponent(be)),se=unescape(encodeURIComponent(Re)),he=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Oe=unescape(encodeURIComponent("</x:xmpmeta>")),ne=Z.length+se.length+he.length+xe.length+Oe.length;Ve=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+ne+" >>"),this.internal.write("stream"),this.internal.write(xe+Z+se+he+Oe),this.internal.write("endstream"),this.internal.write("endobj")}else Ve=""}),this.internal.events.subscribe("putCatalog",function(){Ve&&this.internal.write("/Metadata "+Ve+" 0 R")}),this},function(pe,te){var be=pe.API,xe=[0];be.events.push(["putFont",function(se){(function(he,Oe,ne){if(he.metadata instanceof pe.API.TTFFont&&he.encoding==="Identity-H"){for(var ce=he.metadata.Unicode.widths,ae=he.metadata.subset.encode(xe),Ee="",ye=0;ye<ae.length;ye++)Ee+=String.fromCharCode(ae[ye]);var Te=ne();Oe("<<"),Oe("/Length "+Ee.length),Oe("/Length1 "+Ee.length),Oe(">>"),Oe("stream"),Oe(Ee),Oe("endstream"),Oe("endobj");var je=ne();Oe("<<"),Oe("/Type /FontDescriptor"),Oe("/FontName /"+he.fontName),Oe("/FontFile2 "+Te+" 0 R"),Oe("/FontBBox "+pe.API.PDFObject.convert(he.metadata.bbox)),Oe("/Flags "+he.metadata.flags),Oe("/StemV "+he.metadata.stemV),Oe("/ItalicAngle "+he.metadata.italicAngle),Oe("/Ascent "+he.metadata.ascender),Oe("/Descent "+he.metadata.decender),Oe("/CapHeight "+he.metadata.capHeight),Oe(">>"),Oe("endobj");var qe=ne();Oe("<<"),Oe("/Type /Font"),Oe("/BaseFont /"+he.fontName),Oe("/FontDescriptor "+je+" 0 R"),Oe("/W "+pe.API.PDFObject.convert(ce)),Oe("/CIDToGIDMap /Identity"),Oe("/DW 1000"),Oe("/Subtype /CIDFontType2"),Oe("/CIDSystemInfo"),Oe("<<"),Oe("/Supplement 0"),Oe("/Registry (Adobe)"),Oe("/Ordering ("+he.encoding+")"),Oe(">>"),Oe(">>"),Oe("endobj"),he.objectNumber=ne(),Oe("<<"),Oe("/Type /Font"),Oe("/Subtype /Type0"),Oe("/BaseFont /"+he.fontName),Oe("/Encoding /"+he.encoding),Oe("/DescendantFonts ["+qe+" 0 R]"),Oe(">>"),Oe("endobj"),he.isAlreadyPutted=!0}})(se.font,se.out,se.newObject)}]),be.events.push(["putFont",function(se){(function(he,Oe,ne){if(he.metadata instanceof pe.API.TTFFont&&he.encoding==="WinAnsiEncoding"){he.metadata.Unicode.widths;for(var ce=he.metadata.rawData,ae="",Ee=0;Ee<ce.length;Ee++)ae+=String.fromCharCode(ce[Ee]);var ye=ne();Oe("<<"),Oe("/Length "+ae.length),Oe("/Length1 "+ae.length),Oe(">>"),Oe("stream"),Oe(ae),Oe("endstream"),Oe("endobj");var Te=ne();for(Oe("<<"),Oe("/Descent "+he.metadata.decender),Oe("/CapHeight "+he.metadata.capHeight),Oe("/StemV "+he.metadata.stemV),Oe("/Type /FontDescriptor"),Oe("/FontFile2 "+ye+" 0 R"),Oe("/Flags 96"),Oe("/FontBBox "+pe.API.PDFObject.convert(he.metadata.bbox)),Oe("/FontName /"+he.fontName),Oe("/ItalicAngle "+he.metadata.italicAngle),Oe("/Ascent "+he.metadata.ascender),Oe(">>"),Oe("endobj"),he.objectNumber=ne(),Ee=0;Ee<he.metadata.hmtx.widths.length;Ee++)he.metadata.hmtx.widths[Ee]=parseInt(he.metadata.hmtx.widths[Ee]*(1e3/he.metadata.head.unitsPerEm));Oe("<</Subtype/TrueType/Type/Font/BaseFont/"+he.fontName+"/FontDescriptor "+Te+" 0 R/Encoding/"+he.encoding+" /FirstChar 29 /LastChar 255 /Widths "+pe.API.PDFObject.convert(he.metadata.hmtx.widths)+">>"),Oe("endobj"),he.isAlreadyPutted=!0}})(se.font,se.out,se.newObject)}]);var Z=function(he){var Oe,ne,ce=he.text||"",ae=he.x,Ee=he.y,ye=he.options||{},Te=he.mutex||{},je=Te.pdfEscape,qe=Te.activeFontKey,Le=Te.fonts,ke=(Te.activeFontSize,""),tt=0,st="",_t=Le[ne=qe].encoding;if(Le[ne].encoding!=="Identity-H")return{text:ce,x:ae,y:Ee,options:ye,mutex:Te};for(st=ce,ne=qe,Object.prototype.toString.call(ce)==="[object Array]"&&(st=ce[0]),tt=0;tt<st.length;tt+=1)Le[ne].metadata.hasOwnProperty("cmap")&&(Oe=Le[ne].metadata.cmap.unicode.codeMap[st[tt].charCodeAt(0)]),Oe||st[tt].charCodeAt(0)<256&&Le[ne].metadata.hasOwnProperty("Unicode")?ke+=st[tt]:ke+="";var Ct="";return parseInt(ne.slice(1))<14||_t==="WinAnsiEncoding"?Ct=function(Rt){for(var Wt="",vt=0;vt<Rt.length;vt++)Wt+=""+Rt.charCodeAt(vt).toString(16);return Wt}(je(ke,ne)):_t==="Identity-H"&&(Ct=function(Rt,Wt){for(var vt,Je=Wt.metadata.Unicode.widths,Yt=["","0","00","000","0000"],Ht=[""],nr=0,ir=Rt.length;nr<ir;++nr){if(vt=Wt.metadata.characterToGlyph(Rt.charCodeAt(nr)),xe.push(vt),Je.indexOf(vt)==-1&&(Je.push(vt),Je.push([parseInt(Wt.metadata.widthOfGlyph(vt),10)])),vt=="0")return Ht.join("");vt=vt.toString(16),Ht.push(Yt[4-vt.length],vt)}return Ht.join("")}(ke,Le[ne])),Te.isHex=!0,{text:Ct,x:ae,y:Ee,options:ye,mutex:Te}};be.events.push(["postProcessText",function(se){var he=se.text||"",Oe=se.x,ne=se.y,ce=se.options,ae=se.mutex,Ee=(ce.lang,[]),ye={text:he,x:Oe,y:ne,options:ce,mutex:ae};if(Object.prototype.toString.call(he)==="[object Array]"){var Te=0;for(Te=0;Te<he.length;Te+=1)Object.prototype.toString.call(he[Te])==="[object Array]"&&he[Te].length===3?Ee.push([Z(Object.assign({},ye,{text:he[Te][0]})).text,he[Te][1],he[Te][2]]):Ee.push(Z(Object.assign({},ye,{text:he[Te]})).text);se.text=Ee}else se.text=Z(Object.assign({},ye,{text:he})).text}])}(At,typeof self!="undefined"&&self||typeof B!="undefined"&&B||typeof window!="undefined"&&window||Function("return this")()),Ge=At.API,dt={},Ge.existsFileInVFS=function(pe){return dt.hasOwnProperty(pe)},Ge.addFileToVFS=function(pe,te){return dt[pe]=te,this},Ge.getFileFromVFS=function(pe){return dt.hasOwnProperty(pe)?dt[pe]:null},function(pe){if(pe.URL=pe.URL||pe.webkitURL,pe.Blob&&pe.URL)try{return new Blob}catch(xe){}var te=pe.BlobBuilder||pe.WebKitBlobBuilder||pe.MozBlobBuilder||function(xe){var Z=function(Wt){return Object.prototype.toString.call(Wt).match(/^\[object\s(.*)\]$/)[1]},se=function(){this.data=[]},he=function(Wt,vt,Je){this.data=Wt,this.size=Wt.length,this.type=vt,this.encoding=Je},Oe=se.prototype,ne=he.prototype,ce=xe.FileReaderSync,ae=function(Wt){this.code=this[this.name=Wt]},Ee="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),ye=Ee.length,Te=xe.URL||xe.webkitURL||xe,je=Te.createObjectURL,qe=Te.revokeObjectURL,Le=Te,ke=xe.btoa,tt=xe.atob,st=xe.ArrayBuffer,_t=xe.Uint8Array,Ct=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(he.fake=ne.fake=!0;ye--;)ae.prototype[Ee[ye]]=ye+1;return Te.createObjectURL||(Le=xe.URL=function(Rt){var Wt,vt=document.createElementNS("http://www.w3.org/1999/xhtml","a");return vt.href=Rt,"origin"in vt||(vt.protocol.toLowerCase()==="data:"?vt.origin=null:(Wt=Rt.match(Ct),vt.origin=Wt&&Wt[1])),vt}),Le.createObjectURL=function(Rt){var Wt,vt=Rt.type;return vt===null&&(vt="application/octet-stream"),Rt instanceof he?(Wt="data:"+vt,Rt.encoding==="base64"?Wt+";base64,"+Rt.data:Rt.encoding==="URI"?Wt+","+decodeURIComponent(Rt.data):ke?Wt+";base64,"+ke(Rt.data):Wt+","+encodeURIComponent(Rt.data)):je?je.call(Te,Rt):void 0},Le.revokeObjectURL=function(Rt){Rt.substring(0,5)!=="data:"&&qe&&qe.call(Te,Rt)},Oe.append=function(Rt){var Wt=this.data;if(_t&&(Rt instanceof st||Rt instanceof _t)){for(var vt="",Je=new _t(Rt),Yt=0,Ht=Je.length;Yt<Ht;Yt++)vt+=String.fromCharCode(Je[Yt]);Wt.push(vt)}else if(Z(Rt)==="Blob"||Z(Rt)==="File"){if(!ce)throw new ae("NOT_READABLE_ERR");var nr=new ce;Wt.push(nr.readAsBinaryString(Rt))}else Rt instanceof he?Rt.encoding==="base64"&&tt?Wt.push(tt(Rt.data)):Rt.encoding==="URI"?Wt.push(decodeURIComponent(Rt.data)):Rt.encoding==="raw"&&Wt.push(Rt.data):(typeof Rt!="string"&&(Rt+=""),Wt.push(unescape(encodeURIComponent(Rt))))},Oe.getBlob=function(Rt){return arguments.length||(Rt=null),new he(this.data.join(""),Rt,"raw")},Oe.toString=function(){return"[object BlobBuilder]"},ne.slice=function(Rt,Wt,vt){var Je=arguments.length;return Je<3&&(vt=null),new he(this.data.slice(Rt,1<Je?Wt:this.data.length),vt,this.encoding)},ne.toString=function(){return"[object Blob]"},ne.close=function(){this.size=0,delete this.data},se}(pe);pe.Blob=function(xe,Z){var se=Z&&Z.type||"",he=new te;if(xe)for(var Oe=0,ne=xe.length;Oe<ne;Oe++)Uint8Array&&xe[Oe]instanceof Uint8Array?he.append(xe[Oe].buffer):he.append(xe[Oe]);var ce=he.getBlob(se);return!ce.slice&&ce.webkitSlice&&(ce.slice=ce.webkitSlice),ce};var be=Object.getPrototypeOf||function(xe){return xe.__proto__};pe.Blob.prototype=be(new pe.Blob)}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||window.content||window);var Dt,Ft,St,$e,lt,Ut,gt,ft,rt,Ie,Ot,Xt,Vt,bt,It,Kt,Se=Se||function(pe){if(!(pe===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var te=pe.document,be=function(){return pe.URL||pe.webkitURL||pe},xe=te.createElementNS("http://www.w3.org/1999/xhtml","a"),Z="download"in xe,se=/constructor/i.test(pe.HTMLElement)||pe.safari,he=/CriOS\/[\d]+/.test(navigator.userAgent),Oe=function(Te){(pe.setImmediate||pe.setTimeout)(function(){throw Te},0)},ne=function(Te){setTimeout(function(){typeof Te=="string"?be().revokeObjectURL(Te):Te.remove()},4e4)},ce=function(Te){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Te.type)?new Blob([String.fromCharCode(65279),Te],{type:Te.type}):Te},ae=function(Te,je,qe){qe||(Te=ce(Te));var Le,ke=this,tt=Te.type==="application/octet-stream",st=function(){(function(Ct,Rt,Wt){for(var vt=(Rt=[].concat(Rt)).length;vt--;){var Je=Ct["on"+Rt[vt]];if(typeof Je=="function")try{Je.call(Ct,Wt||Ct)}catch(Yt){Oe(Yt)}}})(ke,"writestart progress write writeend".split(" "))};if(ke.readyState=ke.INIT,Z)return Le=be().createObjectURL(Te),void setTimeout(function(){var _t,Ct;xe.href=Le,xe.download=je,_t=xe,Ct=new MouseEvent("click"),_t.dispatchEvent(Ct),st(),ne(Le),ke.readyState=ke.DONE});(function(){if((he||tt&&se)&&pe.FileReader){var _t=new FileReader;return _t.onloadend=function(){var Ct=he?_t.result:_t.result.replace(/^data:[^;]*;/,"data:attachment/file;");pe.open(Ct,"_blank")||(pe.location.href=Ct),Ct=void 0,ke.readyState=ke.DONE,st()},_t.readAsDataURL(Te),ke.readyState=ke.INIT}Le||(Le=be().createObjectURL(Te)),tt?pe.location.href=Le:pe.open(Le,"_blank")||(pe.location.href=Le),ke.readyState=ke.DONE,st(),ne(Le)})()},Ee=ae.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(ye,Te,je){return Te=Te||ye.name||"download",je||(ye=ce(ye)),navigator.msSaveOrOpenBlob(ye,Te)}:(Ee.abort=function(){},Ee.readyState=Ee.INIT=0,Ee.WRITING=1,Ee.DONE=2,Ee.error=Ee.onwritestart=Ee.onprogress=Ee.onwrite=Ee.onabort=Ee.onerror=Ee.onwriteend=null,function(ye,Te,je){return new ae(ye,Te||ye.name||"download",je)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||window.content);function Ye(pe){var te=0;if(pe[te++]!==71||pe[te++]!==73||pe[te++]!==70||pe[te++]!==56||(pe[te++]+1&253)!=56||pe[te++]!==97)throw"Invalid GIF 87a/89a header.";var be=pe[te++]|pe[te++]<<8,xe=pe[te++]|pe[te++]<<8,Z=pe[te++],se=Z>>7,he=1<<(7&Z)+1;pe[te++],pe[te++];var Oe=null;se&&(Oe=te,te+=3*he);var ne=!0,ce=[],ae=0,Ee=null,ye=0,Te=null;for(this.width=be,this.height=xe;ne&&te<pe.length;)switch(pe[te++]){case 33:switch(pe[te++]){case 255:if(pe[te]!==11||pe[te+1]==78&&pe[te+2]==69&&pe[te+3]==84&&pe[te+4]==83&&pe[te+5]==67&&pe[te+6]==65&&pe[te+7]==80&&pe[te+8]==69&&pe[te+9]==50&&pe[te+10]==46&&pe[te+11]==48&&pe[te+12]==3&&pe[te+13]==1&&pe[te+16]==0)te+=14,Te=pe[te++]|pe[te++]<<8,te++;else for(te+=12;(vt=pe[te++])!==0;)te+=vt;break;case 249:if(pe[te++]!==4||pe[te+4]!==0)throw"Invalid graphics extension block.";var je=pe[te++];ae=pe[te++]|pe[te++]<<8,Ee=pe[te++],(1&je)==0&&(Ee=null),ye=je>>2&7,te++;break;case 254:for(;(vt=pe[te++])!==0;)te+=vt;break;default:throw"Unknown graphic control label: 0x"+pe[te-1].toString(16)}break;case 44:var qe=pe[te++]|pe[te++]<<8,Le=pe[te++]|pe[te++]<<8,ke=pe[te++]|pe[te++]<<8,tt=pe[te++]|pe[te++]<<8,st=pe[te++],_t=st>>6&1,Ct=Oe,Rt=!1;st>>7&&(Rt=!0,Ct=te,te+=3*(1<<(7&st)+1));var Wt=te;for(te++;;){var vt;if((vt=pe[te++])===0)break;te+=vt}ce.push({x:qe,y:Le,width:ke,height:tt,has_local_palette:Rt,palette_offset:Ct,data_offset:Wt,data_length:te-Wt,transparent_index:Ee,interlaced:!!_t,delay:ae,disposal:ye});break;case 59:ne=!1;break;default:throw"Unknown gif block: 0x"+pe[te-1].toString(16)}this.numFrames=function(){return ce.length},this.loopCount=function(){return Te},this.frameInfo=function(Je){if(Je<0||Je>=ce.length)throw"Frame index out of range.";return ce[Je]},this.decodeAndBlitFrameBGRA=function(Je,Yt){var Ht=this.frameInfo(Je),nr=Ht.width*Ht.height,ir=new Uint8Array(nr);q(pe,Ht.data_offset,ir,nr);var Zt=Ht.palette_offset,Mt=Ht.transparent_index;Mt===null&&(Mt=256);var pt=Ht.width,Tt=be-pt,mt=pt,Jt=4*(Ht.y*be+Ht.x),or=4*((Ht.y+Ht.height)*be+Ht.x),ut=Jt,ht=4*Tt;Ht.interlaced===!0&&(ht+=4*(pt+Tt)*7);for(var qt=8,Nt=0,Qt=ir.length;Nt<Qt;++Nt){var at=ir[Nt];if(mt===0&&(mt=pt,or<=(ut+=ht)&&(ht=Tt+4*(pt+Tt)*(qt-1),ut=Jt+(pt+Tt)*(qt<<1),qt>>=1)),at===Mt)ut+=4;else{var Ue=pe[Zt+3*at],ot=pe[Zt+3*at+1],it=pe[Zt+3*at+2];Yt[ut++]=it,Yt[ut++]=ot,Yt[ut++]=Ue,Yt[ut++]=255}--mt}},this.decodeAndBlitFrameRGBA=function(Je,Yt){var Ht=this.frameInfo(Je),nr=Ht.width*Ht.height,ir=new Uint8Array(nr);q(pe,Ht.data_offset,ir,nr);var Zt=Ht.palette_offset,Mt=Ht.transparent_index;Mt===null&&(Mt=256);var pt=Ht.width,Tt=be-pt,mt=pt,Jt=4*(Ht.y*be+Ht.x),or=4*((Ht.y+Ht.height)*be+Ht.x),ut=Jt,ht=4*Tt;Ht.interlaced===!0&&(ht+=4*(pt+Tt)*7);for(var qt=8,Nt=0,Qt=ir.length;Nt<Qt;++Nt){var at=ir[Nt];if(mt===0&&(mt=pt,or<=(ut+=ht)&&(ht=Tt+4*(pt+Tt)*(qt-1),ut=Jt+(pt+Tt)*(qt<<1),qt>>=1)),at===Mt)ut+=4;else{var Ue=pe[Zt+3*at],ot=pe[Zt+3*at+1],it=pe[Zt+3*at+2];Yt[ut++]=Ue,Yt[ut++]=ot,Yt[ut++]=it,Yt[ut++]=255}--mt}}}function q(pe,te,be,xe){for(var Z=pe[te++],se=1<<Z,he=se+1,Oe=he+1,ne=Z+1,ce=(1<<ne)-1,ae=0,Ee=0,ye=0,Te=pe[te++],je=new Int32Array(4096),qe=null;;){for(;ae<16&&Te!==0;)Ee|=pe[te++]<<ae,ae+=8,Te===1?Te=pe[te++]:--Te;if(ae<ne)break;var Le=Ee&ce;if(Ee>>=ne,ae-=ne,Le!==se){if(Le===he)break;for(var ke=Le<Oe?Le:qe,tt=0,st=ke;se<st;)st=je[st]>>8,++tt;var _t=st;if(xe<ye+tt+(ke!==Le?1:0))return void console.log("Warning, gif stream longer than expected.");be[ye++]=_t;var Ct=ye+=tt;for(ke!==Le&&(be[ye++]=_t),st=ke;tt--;)st=je[st],be[--Ct]=255&st,st>>=8;qe!==null&&Oe<4096&&(je[Oe++]=qe<<8|_t,ce+1<=Oe&&ne<12&&(++ne,ce=ce<<1|1)),qe=Le}else Oe=he+1,ce=(1<<(ne=Z+1))-1,qe=null}return ye!==xe&&console.log("Warning, gif stream shorter than expected."),be}oe.exports?oe.exports.saveAs=Se:e("g74U")!==null&&e("FzHg")!==null&&(w=function(){return Se}.call(V,e,V,oe),w!==void 0&&(oe.exports=w)),At.API.adler32cs=(Ut=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",gt=null,ft=function(){if(!Ut)return function(){return!1};try{var pe={};typeof pe.Buffer=="function"&&(gt=pe.Buffer)}catch(te){}return function(te){return te instanceof ArrayBuffer||gt!==null&&te instanceof gt}}(),rt=gt!==null?function(pe){return new gt(pe,"utf8").toString("binary")}:function(pe){return unescape(encodeURIComponent(pe))},Ie=65521,Ot=function(te,be){for(var xe=65535&te,Z=te>>>16,se=0,he=be.length;se<he;se++)xe=(xe+(255&be.charCodeAt(se)))%Ie,Z=(Z+xe)%Ie;return(Z<<16|xe)>>>0},Xt=function(te,be){for(var xe=65535&te,Z=te>>>16,se=0,he=be.length;se<he;se++)xe=(xe+be[se])%Ie,Z=(Z+xe)%Ie;return(Z<<16|xe)>>>0},bt=(Vt={}).Adler32=(((lt=($e=function(te){if(!(this instanceof $e))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(te=te==null?1:+te))throw new Error("First arguments needs to be a finite number.");this.checksum=te>>>0}).prototype={}).constructor=$e).from=((Dt=function(te){if(!(this instanceof $e))throw new TypeError("Constructor cannot called be as a function.");if(te==null)throw new Error("First argument needs to be a string.");this.checksum=Ot(1,te.toString())}).prototype=lt,Dt),$e.fromUtf8=((Ft=function(te){if(!(this instanceof $e))throw new TypeError("Constructor cannot called be as a function.");if(te==null)throw new Error("First argument needs to be a string.");var be=rt(te.toString());this.checksum=Ot(1,be)}).prototype=lt,Ft),Ut&&($e.fromBuffer=((St=function(te){if(!(this instanceof $e))throw new TypeError("Constructor cannot called be as a function.");if(!ft(te))throw new Error("First argument needs to be ArrayBuffer.");var be=new Uint8Array(te);return this.checksum=Xt(1,be)}).prototype=lt,St)),lt.update=function(pe){if(pe==null)throw new Error("First argument needs to be a string.");return pe=pe.toString(),this.checksum=Ot(this.checksum,pe)},lt.updateUtf8=function(pe){if(pe==null)throw new Error("First argument needs to be a string.");var te=rt(pe.toString());return this.checksum=Ot(this.checksum,te)},Ut&&(lt.updateBuffer=function(pe){if(!ft(pe))throw new Error("First argument needs to be ArrayBuffer.");var te=new Uint8Array(pe);return this.checksum=Xt(this.checksum,te)}),lt.clone=function(){return new bt(this.checksum)},$e),Vt.from=function(pe){if(pe==null)throw new Error("First argument needs to be a string.");return Ot(1,pe.toString())},Vt.fromUtf8=function(pe){if(pe==null)throw new Error("First argument needs to be a string.");var te=rt(pe.toString());return Ot(1,te)},Ut&&(Vt.fromBuffer=function(pe){if(!ft(pe))throw new Error("First argument need to be ArrayBuffer.");var te=new Uint8Array(pe);return Xt(1,te)}),Vt);try{V.GifWriter=function(pe,te,be,xe){var Z=0,se=(xe=xe===void 0?{}:xe).loop===void 0?null:xe.loop,he=xe.palette===void 0?null:xe.palette;if(te<=0||be<=0||65535<te||65535<be)throw"Width/Height invalid.";function Oe(qe){var Le=qe.length;if(Le<2||256<Le||Le&Le-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return Le}pe[Z++]=71,pe[Z++]=73,pe[Z++]=70,pe[Z++]=56,pe[Z++]=57,pe[Z++]=97;var ne=0,ce=0;if(he!==null){for(var ae=Oe(he);ae>>=1;)++ne;if(ae=1<<ne,--ne,xe.background!==void 0){if(ae<=(ce=xe.background))throw"Background index out of range.";if(ce===0)throw"Background index explicitly passed as 0."}}if(pe[Z++]=255&te,pe[Z++]=te>>8&255,pe[Z++]=255&be,pe[Z++]=be>>8&255,pe[Z++]=(he!==null?128:0)|ne,pe[Z++]=ce,pe[Z++]=0,he!==null)for(var Ee=0,ye=he.length;Ee<ye;++Ee){var Te=he[Ee];pe[Z++]=Te>>16&255,pe[Z++]=Te>>8&255,pe[Z++]=255&Te}if(se!==null){if(se<0||65535<se)throw"Loop count invalid.";pe[Z++]=33,pe[Z++]=255,pe[Z++]=11,pe[Z++]=78,pe[Z++]=69,pe[Z++]=84,pe[Z++]=83,pe[Z++]=67,pe[Z++]=65,pe[Z++]=80,pe[Z++]=69,pe[Z++]=50,pe[Z++]=46,pe[Z++]=48,pe[Z++]=3,pe[Z++]=1,pe[Z++]=255&se,pe[Z++]=se>>8&255,pe[Z++]=0}var je=!1;this.addFrame=function(qe,Le,ke,tt,st,_t){if(je===!0&&(--Z,je=!1),_t=_t===void 0?{}:_t,qe<0||Le<0||65535<qe||65535<Le)throw"x/y invalid.";if(ke<=0||tt<=0||65535<ke||65535<tt)throw"Width/Height invalid.";if(st.length<ke*tt)throw"Not enough pixels for the frame size.";var Ct=!0,Rt=_t.palette;if(Rt==null&&(Ct=!1,Rt=he),Rt==null)throw"Must supply either a local or global palette.";for(var Wt=Oe(Rt),vt=0;Wt>>=1;)++vt;Wt=1<<vt;var Je=_t.delay===void 0?0:_t.delay,Yt=_t.disposal===void 0?0:_t.disposal;if(Yt<0||3<Yt)throw"Disposal out of range.";var Ht=!1,nr=0;if(_t.transparent!==void 0&&_t.transparent!==null&&(Ht=!0,(nr=_t.transparent)<0||Wt<=nr))throw"Transparent color index.";if((Yt!==0||Ht||Je!==0)&&(pe[Z++]=33,pe[Z++]=249,pe[Z++]=4,pe[Z++]=Yt<<2|(Ht===!0?1:0),pe[Z++]=255&Je,pe[Z++]=Je>>8&255,pe[Z++]=nr,pe[Z++]=0),pe[Z++]=44,pe[Z++]=255&qe,pe[Z++]=qe>>8&255,pe[Z++]=255&Le,pe[Z++]=Le>>8&255,pe[Z++]=255&ke,pe[Z++]=ke>>8&255,pe[Z++]=255&tt,pe[Z++]=tt>>8&255,pe[Z++]=Ct===!0?128|vt-1:0,Ct===!0)for(var ir=0,Zt=Rt.length;ir<Zt;++ir){var Mt=Rt[ir];pe[Z++]=Mt>>16&255,pe[Z++]=Mt>>8&255,pe[Z++]=255&Mt}Z=function(pt,Tt,mt,Jt){pt[Tt++]=mt;var or=Tt++,ut=1<<mt,ht=ut-1,qt=ut+1,Nt=qt+1,Qt=mt+1,at=0,Ue=0;function ot(Jr){for(;Jr<=at;)pt[Tt++]=255&Ue,Ue>>=8,at-=8,Tt===or+256&&(pt[or]=255,or=Tt++)}function it(Jr){Ue|=Jr<<at,at+=Qt,ot(8)}var zt=Jt[0]&ht,ar={};it(ut);for(var dr=1,pr=Jt.length;dr<pr;++dr){var Tr=Jt[dr]&ht,Lr=zt<<8|Tr,Yr=ar[Lr];if(Yr===void 0){for(Ue|=zt<<at,at+=Qt;8<=at;)pt[Tt++]=255&Ue,Ue>>=8,at-=8,Tt===or+256&&(pt[or]=255,or=Tt++);Nt===4096?(it(ut),Nt=qt+1,Qt=mt+1,ar={}):(1<<Qt<=Nt&&++Qt,ar[Lr]=Nt++),zt=Tr}else zt=Yr}return it(zt),it(qt),ot(1),or+1===Tt?pt[or]=0:(pt[or]=Tt-or-1,pt[Tt++]=0),Tt}(pe,Z,vt<2?2:vt,st)},this.end=function(){return je===!1&&(pe[Z++]=59,je=!0),Z}},V.GifReader=Ye}catch(pe){}function Ae(pe){var te,be,xe,Z,se,he=Math.floor,Oe=new Array(64),ne=new Array(64),ce=new Array(64),ae=new Array(64),Ee=new Array(65535),ye=new Array(65535),Te=new Array(64),je=new Array(64),qe=[],Le=0,ke=7,tt=new Array(64),st=new Array(64),_t=new Array(64),Ct=new Array(256),Rt=new Array(2048),Wt=[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],vt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Je=[0,1,2,3,4,5,6,7,8,9,10,11],Yt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ht=[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],nr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ir=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mt=[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 pt(ht,qt){for(var Nt=0,Qt=0,at=new Array,Ue=1;Ue<=16;Ue++){for(var ot=1;ot<=ht[Ue];ot++)at[qt[Qt]]=[],at[qt[Qt]][0]=Nt,at[qt[Qt]][1]=Ue,Qt++,Nt++;Nt*=2}return at}function Tt(ht){for(var qt=ht[0],Nt=ht[1]-1;0<=Nt;)qt&1<<Nt&&(Le|=1<<ke),Nt--,--ke<0&&(Le==255?(mt(255),mt(0)):mt(Le),ke=7,Le=0)}function mt(ht){qe.push(ht)}function Jt(ht){mt(ht>>8&255),mt(255&ht)}function or(ht,qt,Nt,Qt,at){for(var Ue,ot=at[0],it=at[240],zt=function(yr,zn){var xn,In,Qn,Cn,bn,Wn,Vn,oa,kr,kn,Pn=0;for(kr=0;kr<8;++kr){xn=yr[Pn],In=yr[Pn+1],Qn=yr[Pn+2],Cn=yr[Pn+3],bn=yr[Pn+4],Wn=yr[Pn+5],Vn=yr[Pn+6];var Ma=xn+(oa=yr[Pn+7]),Oa=xn-oa,ba=In+Vn,La=In-Vn,Hn=Qn+Wn,Ir=Qn-Wn,xr=Cn+bn,Xr=Cn-bn,Cr=Ma+xr,Hr=Ma-xr,Fr=ba+Hn,jr=ba-Hn;yr[Pn]=Cr+Fr,yr[Pn+4]=Cr-Fr;var wr=.707106781*(jr+Hr);yr[Pn+2]=Hr+wr,yr[Pn+6]=Hr-wr;var pn=.382683433*((Cr=Xr+Ir)-(jr=La+Oa)),un=.5411961*Cr+pn,jn=1.306562965*jr+pn,Xn=.707106781*(Fr=Ir+La),ca=Oa+Xn,ti=Oa-Xn;yr[Pn+5]=ti+un,yr[Pn+3]=ti-un,yr[Pn+1]=ca+jn,yr[Pn+7]=ca-jn,Pn+=8}for(kr=Pn=0;kr<8;++kr){xn=yr[Pn],In=yr[Pn+8],Qn=yr[Pn+16],Cn=yr[Pn+24],bn=yr[Pn+32],Wn=yr[Pn+40],Vn=yr[Pn+48];var Ia=xn+(oa=yr[Pn+56]),aa=xn-oa,za=In+Vn,ci=In-Vn,qa=Qn+Wn,yi=Qn-Wn,Li=Cn+bn,ha=Cn-bn,ka=Ia+Li,Hi=Ia-Li,ao=za+qa,Qi=za-qa;yr[Pn]=ka+ao,yr[Pn+32]=ka-ao;var ta=.707106781*(Qi+Hi);yr[Pn+16]=Hi+ta,yr[Pn+48]=Hi-ta;var la=.382683433*((ka=ha+yi)-(Qi=ci+aa)),qr=.5411961*ka+la,Ca=1.306562965*Qi+la,li=.707106781*(ao=yi+ci),di=aa+li,_i=aa-li;yr[Pn+40]=_i+qr,yr[Pn+24]=_i-qr,yr[Pn+8]=di+Ca,yr[Pn+56]=di-Ca,Pn++}for(kr=0;kr<64;++kr)kn=yr[kr]*zn[kr],Te[kr]=0<kn?kn+.5|0:kn-.5|0;return Te}(ht,qt),ar=0;ar<64;++ar)je[Wt[ar]]=zt[ar];var dr=je[0]-Nt;Nt=je[0],dr==0?Tt(Qt[0]):(Tt(Qt[ye[Ue=32767+dr]]),Tt(Ee[Ue]));for(var pr=63;0<pr&&je[pr]==0;pr--);if(pr==0)return Tt(ot),Nt;for(var Tr,Lr=1;Lr<=pr;){for(var Yr=Lr;je[Lr]==0&&Lr<=pr;++Lr);var Jr=Lr-Yr;if(16<=Jr){Tr=Jr>>4;for(var hn=1;hn<=Tr;++hn)Tt(it);Jr&=15}Ue=32767+je[Lr],Tt(at[(Jr<<4)+ye[Ue]]),Tt(Ee[Ue]),Lr++}return pr!=63&&Tt(ot),Nt}function ut(ht){ht<=0&&(ht=1),100<ht&&(ht=100),se!=ht&&(function(qt){for(var Nt=[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],Qt=0;Qt<64;Qt++){var at=he((Nt[Qt]*qt+50)/100);at<1?at=1:255<at&&(at=255),Oe[Wt[Qt]]=at}for(var Ue=[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],ot=0;ot<64;ot++){var it=he((Ue[ot]*qt+50)/100);it<1?it=1:255<it&&(it=255),ne[Wt[ot]]=it}for(var zt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ar=0,dr=0;dr<8;dr++)for(var pr=0;pr<8;pr++)ce[ar]=1/(Oe[Wt[ar]]*zt[dr]*zt[pr]*8),ae[ar]=1/(ne[Wt[ar]]*zt[dr]*zt[pr]*8),ar++}(ht<50?Math.floor(5e3/ht):Math.floor(200-2*ht)),se=ht)}this.encode=function(ht,qt){var Nt,Qt;new Date().getTime(),qt&&ut(qt),qe=new Array,Le=0,ke=7,Jt(65496),Jt(65504),Jt(16),mt(74),mt(70),mt(73),mt(70),mt(0),mt(1),mt(1),mt(0),Jt(1),Jt(1),mt(0),mt(0),function(){Jt(65499),Jt(132),mt(0);for(var Cn=0;Cn<64;Cn++)mt(Oe[Cn]);mt(1);for(var bn=0;bn<64;bn++)mt(ne[bn])}(),Nt=ht.width,Qt=ht.height,Jt(65472),Jt(17),mt(8),Jt(Qt),Jt(Nt),mt(3),mt(1),mt(17),mt(0),mt(2),mt(17),mt(1),mt(3),mt(17),mt(1),function(){Jt(65476),Jt(418),mt(0);for(var Cn=0;Cn<16;Cn++)mt(vt[Cn+1]);for(var bn=0;bn<=11;bn++)mt(Je[bn]);mt(16);for(var Wn=0;Wn<16;Wn++)mt(Yt[Wn+1]);for(var Vn=0;Vn<=161;Vn++)mt(Ht[Vn]);mt(1);for(var oa=0;oa<16;oa++)mt(nr[oa+1]);for(var kr=0;kr<=11;kr++)mt(ir[kr]);mt(17);for(var kn=0;kn<16;kn++)mt(Zt[kn+1]);for(var Pn=0;Pn<=161;Pn++)mt(Mt[Pn])}(),Jt(65498),Jt(12),mt(3),mt(1),mt(0),mt(2),mt(17),mt(3),mt(17),mt(0),mt(63),mt(0);var at=0,Ue=0,ot=0;Le=0,ke=7,this.encode.displayName="_encode_";for(var it,zt,ar,dr,pr,Tr,Lr,Yr,Jr,hn=ht.data,yr=ht.width,zn=ht.height,xn=4*yr,In=0;In<zn;){for(it=0;it<xn;){for(Tr=pr=xn*In+it,Lr=-1,Jr=Yr=0;Jr<64;Jr++)Tr=pr+(Yr=Jr>>3)*xn+(Lr=4*(7&Jr)),zn<=In+Yr&&(Tr-=xn*(In+1+Yr-zn)),xn<=it+Lr&&(Tr-=it+Lr-xn+4),zt=hn[Tr++],ar=hn[Tr++],dr=hn[Tr++],tt[Jr]=(Rt[zt]+Rt[ar+256>>0]+Rt[dr+512>>0]>>16)-128,st[Jr]=(Rt[zt+768>>0]+Rt[ar+1024>>0]+Rt[dr+1280>>0]>>16)-128,_t[Jr]=(Rt[zt+1280>>0]+Rt[ar+1536>>0]+Rt[dr+1792>>0]>>16)-128;at=or(tt,ce,at,te,xe),Ue=or(st,ae,Ue,be,Z),ot=or(_t,ae,ot,be,Z),it+=32}In+=8}if(0<=ke){var Qn=[];Qn[1]=ke+1,Qn[0]=(1<<ke+1)-1,Tt(Qn)}return Jt(65497),new Uint8Array(qe)},function(){new Date().getTime(),pe||(pe=50),function(){for(var ht=String.fromCharCode,qt=0;qt<256;qt++)Ct[qt]=ht(qt)}(),te=pt(vt,Je),be=pt(nr,ir),xe=pt(Yt,Ht),Z=pt(Zt,Mt),function(){for(var ht=1,qt=2,Nt=1;Nt<=15;Nt++){for(var Qt=ht;Qt<qt;Qt++)ye[32767+Qt]=Nt,Ee[32767+Qt]=[],Ee[32767+Qt][1]=Nt,Ee[32767+Qt][0]=Qt;for(var at=-(qt-1);at<=-ht;at++)ye[32767+at]=Nt,Ee[32767+at]=[],Ee[32767+at][1]=Nt,Ee[32767+at][0]=qt-1+at;ht<<=1,qt<<=1}}(),function(){for(var ht=0;ht<256;ht++)Rt[ht]=19595*ht,Rt[ht+256>>0]=38470*ht,Rt[ht+512>>0]=7471*ht+32768,Rt[ht+768>>0]=-11059*ht,Rt[ht+1024>>0]=-21709*ht,Rt[ht+1280>>0]=32768*ht+8421375,Rt[ht+1536>>0]=-27439*ht,Rt[ht+1792>>0]=-5329*ht}(),ut(pe),new Date().getTime()}()}try{oe.exports=Ae}catch(pe){}function Me(pe,te){if(this.pos=0,this.buffer=pe,this.datav=new DataView(pe.buffer),this.is_with_alpha=!!te,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()}Me.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 pe=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(pe);for(var te=0;te<pe;te++){var be=this.datav.getUint8(this.pos++,!0),xe=this.datav.getUint8(this.pos++,!0),Z=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0);this.palette[te]={red:Z,green:xe,blue:be,quad:se}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Me.prototype.parseBGR=function(){this.pos=this.offset;try{var pe="bit"+this.bitPP,te=this.width*this.height*4;this.data=new Uint8Array(te),this[pe]()}catch(be){console.log("bit decode error:"+be)}},Me.prototype.bit1=function(){var pe=Math.ceil(this.width/8),te=pe%4,be=0<=this.height?this.height-1:-this.height;for(be=this.height-1;0<=be;be--){for(var xe=this.bottom_up?be:this.height-1-be,Z=0;Z<pe;Z++)for(var se=this.datav.getUint8(this.pos++,!0),he=xe*this.width*4+8*Z*4,Oe=0;Oe<8&&8*Z+Oe<this.width;Oe++){var ne=this.palette[se>>7-Oe&1];this.data[he+4*Oe]=ne.blue,this.data[he+4*Oe+1]=ne.green,this.data[he+4*Oe+2]=ne.red,this.data[he+4*Oe+3]=255}te!=0&&(this.pos+=4-te)}},Me.prototype.bit4=function(){for(var pe=Math.ceil(this.width/2),te=pe%4,be=this.height-1;0<=be;be--){for(var xe=this.bottom_up?be:this.height-1-be,Z=0;Z<pe;Z++){var se=this.datav.getUint8(this.pos++,!0),he=xe*this.width*4+2*Z*4,Oe=se>>4,ne=15&se,ce=this.palette[Oe];if(this.data[he]=ce.blue,this.data[he+1]=ce.green,this.data[he+2]=ce.red,this.data[he+3]=255,2*Z+1>=this.width)break;ce=this.palette[ne],this.data[he+4]=ce.blue,this.data[he+4+1]=ce.green,this.data[he+4+2]=ce.red,this.data[he+4+3]=255}te!=0&&(this.pos+=4-te)}},Me.prototype.bit8=function(){for(var pe=this.width%4,te=this.height-1;0<=te;te--){for(var be=this.bottom_up?te:this.height-1-te,xe=0;xe<this.width;xe++){var Z=this.datav.getUint8(this.pos++,!0),se=be*this.width*4+4*xe;if(Z<this.palette.length){var he=this.palette[Z];this.data[se]=he.red,this.data[se+1]=he.green,this.data[se+2]=he.blue,this.data[se+3]=255}else this.data[se]=255,this.data[se+1]=255,this.data[se+2]=255,this.data[se+3]=255}pe!=0&&(this.pos+=4-pe)}},Me.prototype.bit15=function(){for(var pe=this.width%3,te=parseInt("11111",2),be=this.height-1;0<=be;be--){for(var xe=this.bottom_up?be:this.height-1-be,Z=0;Z<this.width;Z++){var se=this.datav.getUint16(this.pos,!0);this.pos+=2;var he=(se&te)/te*255|0,Oe=(se>>5&te)/te*255|0,ne=(se>>10&te)/te*255|0,ce=se>>15?255:0,ae=xe*this.width*4+4*Z;this.data[ae]=ne,this.data[ae+1]=Oe,this.data[ae+2]=he,this.data[ae+3]=ce}this.pos+=pe}},Me.prototype.bit16=function(){for(var pe=this.width%3,te=parseInt("11111",2),be=parseInt("111111",2),xe=this.height-1;0<=xe;xe--){for(var Z=this.bottom_up?xe:this.height-1-xe,se=0;se<this.width;se++){var he=this.datav.getUint16(this.pos,!0);this.pos+=2;var Oe=(he&te)/te*255|0,ne=(he>>5&be)/be*255|0,ce=(he>>11)/te*255|0,ae=Z*this.width*4+4*se;this.data[ae]=ce,this.data[ae+1]=ne,this.data[ae+2]=Oe,this.data[ae+3]=255}this.pos+=pe}},Me.prototype.bit24=function(){for(var pe=this.height-1;0<=pe;pe--){for(var te=this.bottom_up?pe:this.height-1-pe,be=0;be<this.width;be++){var xe=this.datav.getUint8(this.pos++,!0),Z=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),he=te*this.width*4+4*be;this.data[he]=se,this.data[he+1]=Z,this.data[he+2]=xe,this.data[he+3]=255}this.pos+=this.width%4}},Me.prototype.bit32=function(){for(var pe=this.height-1;0<=pe;pe--)for(var te=this.bottom_up?pe:this.height-1-pe,be=0;be<this.width;be++){var xe=this.datav.getUint8(this.pos++,!0),Z=this.datav.getUint8(this.pos++,!0),se=this.datav.getUint8(this.pos++,!0),he=this.datav.getUint8(this.pos++,!0),Oe=te*this.width*4+4*be;this.data[Oe]=se,this.data[Oe+1]=Z,this.data[Oe+2]=xe,this.data[Oe+3]=he}},Me.prototype.getData=function(){return this.data};try{oe.exports=function(pe){var te=new Me(pe);return{data:te.getData(),width:te.width,height:te.height}}}catch(pe){}(function(pe){var te=15,be=573,xe=[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 Z(){var je=this;function qe(Le,ke){for(var tt=0;tt|=1&Le,Le>>>=1,tt<<=1,0<--ke;);return tt>>>1}je.build_tree=function(Le){var ke,tt,st,_t=je.dyn_tree,Ct=je.stat_desc.static_tree,Rt=je.stat_desc.elems,Wt=-1;for(Le.heap_len=0,Le.heap_max=be,ke=0;ke<Rt;ke++)_t[2*ke]!==0?(Le.heap[++Le.heap_len]=Wt=ke,Le.depth[ke]=0):_t[2*ke+1]=0;for(;Le.heap_len<2;)_t[2*(st=Le.heap[++Le.heap_len]=Wt<2?++Wt:0)]=1,Le.depth[st]=0,Le.opt_len--,Ct&&(Le.static_len-=Ct[2*st+1]);for(je.max_code=Wt,ke=Math.floor(Le.heap_len/2);1<=ke;ke--)Le.pqdownheap(_t,ke);for(st=Rt;ke=Le.heap[1],Le.heap[1]=Le.heap[Le.heap_len--],Le.pqdownheap(_t,1),tt=Le.heap[1],Le.heap[--Le.heap_max]=ke,Le.heap[--Le.heap_max]=tt,_t[2*st]=_t[2*ke]+_t[2*tt],Le.depth[st]=Math.max(Le.depth[ke],Le.depth[tt])+1,_t[2*ke+1]=_t[2*tt+1]=st,Le.heap[1]=st++,Le.pqdownheap(_t,1),2<=Le.heap_len;);Le.heap[--Le.heap_max]=Le.heap[1],function(vt){var Je,Yt,Ht,nr,ir,Zt,Mt=je.dyn_tree,pt=je.stat_desc.static_tree,Tt=je.stat_desc.extra_bits,mt=je.stat_desc.extra_base,Jt=je.stat_desc.max_length,or=0;for(nr=0;nr<=te;nr++)vt.bl_count[nr]=0;for(Mt[2*vt.heap[vt.heap_max]+1]=0,Je=vt.heap_max+1;Je<be;Je++)Jt<(nr=Mt[2*Mt[2*(Yt=vt.heap[Je])+1]+1]+1)&&(nr=Jt,or++),Mt[2*Yt+1]=nr,Yt>je.max_code||(vt.bl_count[nr]++,ir=0,mt<=Yt&&(ir=Tt[Yt-mt]),Zt=Mt[2*Yt],vt.opt_len+=Zt*(nr+ir),pt&&(vt.static_len+=Zt*(pt[2*Yt+1]+ir)));if(or!==0){do{for(nr=Jt-1;vt.bl_count[nr]===0;)nr--;vt.bl_count[nr]--,vt.bl_count[nr+1]+=2,vt.bl_count[Jt]--,or-=2}while(0<or);for(nr=Jt;nr!==0;nr--)for(Yt=vt.bl_count[nr];Yt!==0;)(Ht=vt.heap[--Je])>je.max_code||(Mt[2*Ht+1]!=nr&&(vt.opt_len+=(nr-Mt[2*Ht+1])*Mt[2*Ht],Mt[2*Ht+1]=nr),Yt--)}}(Le),function(vt,Je,Yt){var Ht,nr,ir,Zt=[],Mt=0;for(Ht=1;Ht<=te;Ht++)Zt[Ht]=Mt=Mt+Yt[Ht-1]<<1;for(nr=0;nr<=Je;nr++)(ir=vt[2*nr+1])!==0&&(vt[2*nr]=qe(Zt[ir]++,ir))}(_t,je.max_code,Le.bl_count)}}function se(je,qe,Le,ke,tt){var st=this;st.static_tree=je,st.extra_bits=qe,st.extra_base=Le,st.elems=ke,st.max_length=tt}Z._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],Z.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],Z.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],Z.d_code=function(je){return je<256?xe[je]:xe[256+(je>>>7)]},Z.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],Z.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],Z.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Z.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],se.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],se.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],se.static_l_desc=new se(se.static_ltree,Z.extra_lbits,257,286,te),se.static_d_desc=new se(se.static_dtree,Z.extra_dbits,0,30,te),se.static_bl_desc=new se(null,Z.extra_blbits,0,19,7);function he(je,qe,Le,ke,tt){var st=this;st.good_length=je,st.max_lazy=qe,st.nice_length=Le,st.max_chain=ke,st.func=tt}var Oe=[new he(0,0,0,0,0),new he(4,4,8,4,1),new he(4,5,16,8,1),new he(4,6,32,32,1),new he(4,4,16,16,2),new he(8,16,32,32,2),new he(8,16,128,128,2),new he(8,32,128,256,2),new he(32,128,258,1024,2),new he(32,258,258,4096,2)],ne=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],ce=262;function ae(je,qe,Le,ke){var tt=je[2*qe],st=je[2*Le];return tt<st||tt==st&&ke[qe]<=ke[Le]}function Ee(){var je,qe,Le,ke,tt,st,_t,Ct,Rt,Wt,vt,Je,Yt,Ht,nr,ir,Zt,Mt,pt,Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt,ar,dr,pr,Tr,Lr,Yr,Jr,hn,yr=this,zn=new Z,xn=new Z,In=new Z;function Qn(){var Cr;for(Cr=0;Cr<286;Cr++)ot[2*Cr]=0;for(Cr=0;Cr<30;Cr++)it[2*Cr]=0;for(Cr=0;Cr<19;Cr++)zt[2*Cr]=0;ot[512]=1,yr.opt_len=yr.static_len=0,pr=Lr=0}function Cn(Cr,Hr){var Fr,jr,wr=-1,pn=Cr[1],un=0,jn=7,Xn=4;for(pn===0&&(jn=138,Xn=3),Cr[2*(Hr+1)+1]=65535,Fr=0;Fr<=Hr;Fr++)jr=pn,pn=Cr[2*(Fr+1)+1],++un<jn&&jr==pn||(un<Xn?zt[2*jr]+=un:jr!==0?(jr!=wr&&zt[2*jr]++,zt[32]++):un<=10?zt[34]++:zt[36]++,wr=jr,(un=0)===pn?(jn=138,Xn=3):jr==pn?(jn=6,Xn=3):(jn=7,Xn=4))}function bn(Cr){yr.pending_buf[yr.pending++]=Cr}function Wn(Cr){bn(255&Cr),bn(Cr>>>8&255)}function Vn(Cr,Hr){var Fr,jr=Hr;16-jr<hn?(Wn(Jr|=(Fr=Cr)<<hn&65535),Jr=Fr>>>16-hn,hn+=jr-16):(Jr|=Cr<<hn&65535,hn+=jr)}function oa(Cr,Hr){var Fr=2*Cr;Vn(65535&Hr[Fr],65535&Hr[Fr+1])}function kr(Cr,Hr){var Fr,jr,wr=-1,pn=Cr[1],un=0,jn=7,Xn=4;for(pn===0&&(jn=138,Xn=3),Fr=0;Fr<=Hr;Fr++)if(jr=pn,pn=Cr[2*(Fr+1)+1],!(++un<jn&&jr==pn)){if(un<Xn)for(;oa(jr,zt),--un!=0;);else jr!==0?(jr!=wr&&(oa(jr,zt),un--),oa(16,zt),Vn(un-3,2)):un<=10?(oa(17,zt),Vn(un-3,3)):(oa(18,zt),Vn(un-11,7));wr=jr,(un=0)===pn?(jn=138,Xn=3):jr==pn?(jn=6,Xn=3):(jn=7,Xn=4)}}function kn(){hn==16?(Wn(Jr),hn=Jr=0):8<=hn&&(bn(255&Jr),Jr>>>=8,hn-=8)}function Pn(Cr,Hr){var Fr,jr,wr;if(yr.pending_buf[Tr+2*pr]=Cr>>>8&255,yr.pending_buf[Tr+2*pr+1]=255&Cr,yr.pending_buf[ar+pr]=255&Hr,pr++,Cr===0?ot[2*Hr]++:(Lr++,Cr--,ot[2*(Z._length_code[Hr]+256+1)]++,it[2*Z.d_code(Cr)]++),(8191&pr)==0&&2<Nt){for(Fr=8*pr,jr=mt-Zt,wr=0;wr<30;wr++)Fr+=it[2*wr]*(5+Z.extra_dbits[wr]);if(Fr>>>=3,Lr<Math.floor(pr/2)&&Fr<Math.floor(jr/2))return!0}return pr==dr-1}function Ma(Cr,Hr){var Fr,jr,wr,pn,un=0;if(pr!==0)for(;Fr=yr.pending_buf[Tr+2*un]<<8&65280|255&yr.pending_buf[Tr+2*un+1],jr=255&yr.pending_buf[ar+un],un++,Fr===0?oa(jr,Cr):(oa((wr=Z._length_code[jr])+256+1,Cr),(pn=Z.extra_lbits[wr])!==0&&Vn(jr-=Z.base_length[wr],pn),oa(wr=Z.d_code(--Fr),Hr),(pn=Z.extra_dbits[wr])!==0&&Vn(Fr-=Z.base_dist[wr],pn)),un<pr;);oa(256,Cr),Yr=Cr[513]}function Oa(){8<hn?Wn(Jr):0<hn&&bn(255&Jr),hn=Jr=0}function ba(Cr,Hr,Fr){var jr,wr,pn;Vn(0+(Fr?1:0),3),jr=Cr,wr=Hr,pn=!0,Oa(),Yr=8,pn&&(Wn(wr),Wn(~wr)),yr.pending_buf.set(Ct.subarray(jr,jr+wr),yr.pending),yr.pending+=wr}function La(Cr,Hr,Fr){var jr,wr,pn=0;0<Nt?(zn.build_tree(yr),xn.build_tree(yr),pn=function(){var un;for(Cn(ot,zn.max_code),Cn(it,xn.max_code),In.build_tree(yr),un=18;3<=un&&zt[2*Z.bl_order[un]+1]===0;un--);return yr.opt_len+=3*(un+1)+5+5+4,un}(),jr=yr.opt_len+3+7>>>3,(wr=yr.static_len+3+7>>>3)<=jr&&(jr=wr)):jr=wr=Hr+5,Hr+4<=jr&&Cr!=-1?ba(Cr,Hr,Fr):wr==jr?(Vn(2+(Fr?1:0),3),Ma(se.static_ltree,se.static_dtree)):(Vn(4+(Fr?1:0),3),function(un,jn,Xn){var ca;for(Vn(un-257,5),Vn(jn-1,5),Vn(Xn-4,4),ca=0;ca<Xn;ca++)Vn(zt[2*Z.bl_order[ca]+1],3);kr(ot,un-1),kr(it,jn-1)}(zn.max_code+1,xn.max_code+1,pn+1),Ma(ot,it)),Qn(),Fr&&Oa()}function Hn(Cr){La(0<=Zt?Zt:-1,mt-Zt,Cr),Zt=mt,je.flush_pending()}function Ir(){var Cr,Hr,Fr,jr;do{if((jr=Rt-or-mt)==0&&mt===0&&or===0)jr=tt;else if(jr==-1)jr--;else if(tt+tt-ce<=mt){for(Ct.set(Ct.subarray(tt,tt+tt),0),Jt-=tt,mt-=tt,Zt-=tt,Fr=Cr=Yt;Hr=65535&vt[--Fr],vt[Fr]=tt<=Hr?Hr-tt:0,--Cr!=0;);for(Fr=Cr=tt;Hr=65535&Wt[--Fr],Wt[Fr]=tt<=Hr?Hr-tt:0,--Cr!=0;);jr+=tt}if(je.avail_in===0)return;Cr=je.read_buf(Ct,mt+or,jr),3<=(or+=Cr)&&(Je=((Je=255&Ct[mt])<<ir^255&Ct[mt+1])&nr)}while(or<ce&&je.avail_in!==0)}function xr(Cr){var Hr,Fr,jr=ht,wr=mt,pn=ut,un=tt-ce<mt?mt-(tt-ce):0,jn=Ue,Xn=_t,ca=mt+258,ti=Ct[wr+pn-1],Ia=Ct[wr+pn];at<=ut&&(jr>>=2),or<jn&&(jn=or);do if(Ct[(Hr=Cr)+pn]==Ia&&Ct[Hr+pn-1]==ti&&Ct[Hr]==Ct[wr]&&Ct[++Hr]==Ct[wr+1]){wr+=2,Hr++;do;while(Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&Ct[++wr]==Ct[++Hr]&&wr<ca);if(Fr=258-(ca-wr),wr=ca-258,pn<Fr){if(Jt=Cr,jn<=(pn=Fr))break;ti=Ct[wr+pn-1],Ia=Ct[wr+pn]}}while((Cr=65535&Wt[Cr&Xn])>un&&--jr!=0);return pn<=or?pn:or}function Xr(Cr){return Cr.total_in=Cr.total_out=0,Cr.msg=null,yr.pending=0,yr.pending_out=0,qe=113,ke=0,zn.dyn_tree=ot,zn.stat_desc=se.static_l_desc,xn.dyn_tree=it,xn.stat_desc=se.static_d_desc,In.dyn_tree=zt,In.stat_desc=se.static_bl_desc,hn=Jr=0,Yr=8,Qn(),function(){var Hr;for(Rt=2*tt,Hr=vt[Yt-1]=0;Hr<Yt-1;Hr++)vt[Hr]=0;qt=Oe[Nt].max_lazy,at=Oe[Nt].good_length,Ue=Oe[Nt].nice_length,ht=Oe[Nt].max_chain,Mt=ut=2,Je=Tt=or=Zt=mt=0}(),0}yr.depth=[],yr.bl_count=[],yr.heap=[],ot=[],it=[],zt=[],yr.pqdownheap=function(Cr,Hr){for(var Fr=yr.heap,jr=Fr[Hr],wr=Hr<<1;wr<=yr.heap_len&&(wr<yr.heap_len&&ae(Cr,Fr[wr+1],Fr[wr],yr.depth)&&wr++,!ae(Cr,jr,Fr[wr],yr.depth));)Fr[Hr]=Fr[wr],Hr=wr,wr<<=1;Fr[Hr]=jr},yr.deflateInit=function(Cr,Hr,Fr,jr,wr,pn){return jr||(jr=8),wr||(wr=8),pn||(pn=0),Cr.msg=null,Hr==-1&&(Hr=6),wr<1||9<wr||jr!=8||Fr<9||15<Fr||Hr<0||9<Hr||pn<0||2<pn?-2:(Cr.dstate=yr,_t=(tt=1<<(st=Fr))-1,nr=(Yt=1<<(Ht=wr+7))-1,ir=Math.floor((Ht+3-1)/3),Ct=new Uint8Array(2*tt),Wt=[],vt=[],dr=1<<wr+6,yr.pending_buf=new Uint8Array(4*dr),Le=4*dr,Tr=Math.floor(dr/2),ar=3*dr,Nt=Hr,Qt=pn,Xr(Cr))},yr.deflateEnd=function(){return qe!=42&&qe!=113&&qe!=666?-2:(yr.pending_buf=null,Ct=Wt=vt=null,yr.dstate=null,qe==113?-3:0)},yr.deflateParams=function(Cr,Hr,Fr){var jr=0;return Hr==-1&&(Hr=6),Hr<0||9<Hr||Fr<0||2<Fr?-2:(Oe[Nt].func!=Oe[Hr].func&&Cr.total_in!==0&&(jr=Cr.deflate(1)),Nt!=Hr&&(qt=Oe[Nt=Hr].max_lazy,at=Oe[Nt].good_length,Ue=Oe[Nt].nice_length,ht=Oe[Nt].max_chain),Qt=Fr,jr)},yr.deflateSetDictionary=function(Cr,Hr,Fr){var jr,wr=Fr,pn=0;if(!Hr||qe!=42)return-2;if(wr<3)return 0;for(tt-ce<wr&&(pn=Fr-(wr=tt-ce)),Ct.set(Hr.subarray(pn,pn+wr),0),Zt=mt=wr,Je=((Je=255&Ct[0])<<ir^255&Ct[1])&nr,jr=0;jr<=wr-3;jr++)Je=(Je<<ir^255&Ct[jr+2])&nr,Wt[jr&_t]=vt[Je],vt[Je]=jr;return 0},yr.deflate=function(Cr,Hr){var Fr,jr,wr,pn,un,jn;if(4<Hr||Hr<0)return-2;if(!Cr.next_out||!Cr.next_in&&Cr.avail_in!==0||qe==666&&Hr!=4)return Cr.msg=ne[4],-2;if(Cr.avail_out===0)return Cr.msg=ne[7],-5;if(je=Cr,pn=ke,ke=Hr,qe==42&&(jr=8+(st-8<<4)<<8,3<(wr=(Nt-1&255)>>1)&&(wr=3),jr|=wr<<6,mt!==0&&(jr|=32),qe=113,bn((jn=jr+=31-jr%31)>>8&255),bn(255&jn)),yr.pending!==0){if(je.flush_pending(),je.avail_out===0)return ke=-1,0}else if(je.avail_in===0&&Hr<=pn&&Hr!=4)return je.msg=ne[7],-5;if(qe==666&&je.avail_in!==0)return Cr.msg=ne[7],-5;if(je.avail_in!==0||or!==0||Hr!=0&&qe!=666){switch(un=-1,Oe[Nt].func){case 0:un=function(Xn){var ca,ti=65535;for(Le-5<ti&&(ti=Le-5);;){if(or<=1){if(Ir(),or===0&&Xn==0)return 0;if(or===0)break}if(mt+=or,ca=Zt+ti,((or=0)===mt||ca<=mt)&&(or=mt-ca,mt=ca,Hn(!1),je.avail_out===0)||tt-ce<=mt-Zt&&(Hn(!1),je.avail_out===0))return 0}return Hn(Xn==4),je.avail_out===0?Xn==4?2:0:Xn==4?3:1}(Hr);break;case 1:un=function(Xn){for(var ca,ti=0;;){if(or<ce){if(Ir(),or<ce&&Xn==0)return 0;if(or===0)break}if(3<=or&&(Je=(Je<<ir^255&Ct[mt+2])&nr,ti=65535&vt[Je],Wt[mt&_t]=vt[Je],vt[Je]=mt),ti!==0&&(mt-ti&65535)<=tt-ce&&Qt!=2&&(Mt=xr(ti)),3<=Mt)if(ca=Pn(mt-Jt,Mt-3),or-=Mt,Mt<=qt&&3<=or){for(Mt--;Je=(Je<<ir^255&Ct[++mt+2])&nr,ti=65535&vt[Je],Wt[mt&_t]=vt[Je],vt[Je]=mt,--Mt!=0;);mt++}else mt+=Mt,Mt=0,Je=((Je=255&Ct[mt])<<ir^255&Ct[mt+1])&nr;else ca=Pn(0,255&Ct[mt]),or--,mt++;if(ca&&(Hn(!1),je.avail_out===0))return 0}return Hn(Xn==4),je.avail_out===0?Xn==4?2:0:Xn==4?3:1}(Hr);break;case 2:un=function(Xn){for(var ca,ti,Ia=0;;){if(or<ce){if(Ir(),or<ce&&Xn==0)return 0;if(or===0)break}if(3<=or&&(Je=(Je<<ir^255&Ct[mt+2])&nr,Ia=65535&vt[Je],Wt[mt&_t]=vt[Je],vt[Je]=mt),ut=Mt,pt=Jt,Mt=2,Ia!==0&&ut<qt&&(mt-Ia&65535)<=tt-ce&&(Qt!=2&&(Mt=xr(Ia)),Mt<=5&&(Qt==1||Mt==3&&4096<mt-Jt)&&(Mt=2)),3<=ut&&Mt<=ut){for(ti=mt+or-3,ca=Pn(mt-1-pt,ut-3),or-=ut-1,ut-=2;++mt<=ti&&(Je=(Je<<ir^255&Ct[mt+2])&nr,Ia=65535&vt[Je],Wt[mt&_t]=vt[Je],vt[Je]=mt),--ut!=0;);if(Tt=0,Mt=2,mt++,ca&&(Hn(!1),je.avail_out===0))return 0}else if(Tt!==0){if((ca=Pn(0,255&Ct[mt-1]))&&Hn(!1),mt++,or--,je.avail_out===0)return 0}else Tt=1,mt++,or--}return Tt!==0&&(ca=Pn(0,255&Ct[mt-1]),Tt=0),Hn(Xn==4),je.avail_out===0?Xn==4?2:0:Xn==4?3:1}(Hr)}if(un!=2&&un!=3||(qe=666),un==0||un==2)return je.avail_out===0&&(ke=-1),0;if(un==1){if(Hr==1)Vn(2,3),oa(256,se.static_ltree),kn(),1+Yr+10-hn<9&&(Vn(2,3),oa(256,se.static_ltree),kn()),Yr=7;else if(ba(0,0,!1),Hr==3)for(Fr=0;Fr<Yt;Fr++)vt[Fr]=0;if(je.flush_pending(),je.avail_out===0)return ke=-1,0}}return Hr!=4?0:1}}function ye(){var je=this;je.next_in_index=0,je.next_out_index=0,je.avail_in=0,je.total_in=0,je.avail_out=0,je.total_out=0}ye.prototype={deflateInit:function(qe,Le){return this.dstate=new Ee,Le||(Le=te),this.dstate.deflateInit(this,qe,Le)},deflate:function(qe){return this.dstate?this.dstate.deflate(this,qe):-2},deflateEnd:function(){if(!this.dstate)return-2;var qe=this.dstate.deflateEnd();return this.dstate=null,qe},deflateParams:function(qe,Le){return this.dstate?this.dstate.deflateParams(this,qe,Le):-2},deflateSetDictionary:function(qe,Le){return this.dstate?this.dstate.deflateSetDictionary(this,qe,Le):-2},read_buf:function(qe,Le,ke){var tt=this,st=tt.avail_in;return ke<st&&(st=ke),st===0?0:(tt.avail_in-=st,qe.set(tt.next_in.subarray(tt.next_in_index,tt.next_in_index+st),Le),tt.next_in_index+=st,tt.total_in+=st,st)},flush_pending:function(){var qe=this,Le=qe.dstate.pending;Le>qe.avail_out&&(Le=qe.avail_out),Le!==0&&(qe.next_out.set(qe.dstate.pending_buf.subarray(qe.dstate.pending_out,qe.dstate.pending_out+Le),qe.next_out_index),qe.next_out_index+=Le,qe.dstate.pending_out+=Le,qe.total_out+=Le,qe.avail_out-=Le,qe.dstate.pending-=Le,qe.dstate.pending===0&&(qe.dstate.pending_out=0))}};var Te=pe.zip||pe;Te.Deflater=Te._jzlib_Deflater=function(je){var qe=new ye,Le=new Uint8Array(512),ke=je?je.level:-1;ke===void 0&&(ke=-1),qe.deflateInit(ke),qe.next_out=Le,this.append=function(tt,st){var _t,Ct=[],Rt=0,Wt=0,vt=0;if(tt.length){qe.next_in_index=0,qe.next_in=tt,qe.avail_in=tt.length;do{if(qe.next_out_index=0,qe.avail_out=512,qe.deflate(0)!=0)throw new Error("deflating: "+qe.msg);qe.next_out_index&&(qe.next_out_index==512?Ct.push(new Uint8Array(Le)):Ct.push(new Uint8Array(Le.subarray(0,qe.next_out_index)))),vt+=qe.next_out_index,st&&0<qe.next_in_index&&qe.next_in_index!=Rt&&(st(qe.next_in_index),Rt=qe.next_in_index)}while(0<qe.avail_in||qe.avail_out===0);return _t=new Uint8Array(vt),Ct.forEach(function(Je){_t.set(Je,Wt),Wt+=Je.length}),_t}},this.flush=function(){var tt,st,_t=[],Ct=0,Rt=0;do{if(qe.next_out_index=0,qe.avail_out=512,(tt=qe.deflate(4))!=1&&tt!=0)throw new Error("deflating: "+qe.msg);0<512-qe.avail_out&&_t.push(new Uint8Array(Le.subarray(0,qe.next_out_index))),Rt+=qe.next_out_index}while(0<qe.avail_in||qe.avail_out===0);return qe.deflateEnd(),st=new Uint8Array(Rt),_t.forEach(function(Wt){st.set(Wt,Ct),Ct+=Wt.length}),st}}})(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(pe){function te(be){var xe;this.ok=!1,be.charAt(0)=="#"&&(be=be.substr(1,6)),be=(be=be.replace(/ /g,"")).toLowerCase();var Z={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 se in Z)be==se&&(be=Z[se]);for(var he=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(ye){return[parseInt(ye[1]),parseInt(ye[2]),parseInt(ye[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(ye){return[parseInt(ye[1],16),parseInt(ye[2],16),parseInt(ye[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(ye){return[parseInt(ye[1]+ye[1],16),parseInt(ye[2]+ye[2],16),parseInt(ye[3]+ye[3],16)]}}],Oe=0;Oe<he.length;Oe++){var ne=he[Oe].re,ce=he[Oe].process,ae=ne.exec(be);ae&&(xe=ce(ae),this.r=xe[0],this.g=xe[1],this.b=xe[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 Ee=this.r.toString(16),ye=this.g.toString(16),Te=this.b.toString(16);return Ee.length==1&&(Ee="0"+Ee),ye.length==1&&(ye="0"+ye),Te.length==1&&(Te="0"+Te),"#"+Ee+ye+Te},this.getHelpXML=function(){for(var Ee=new Array,ye=0;ye<he.length;ye++)for(var Te=he[ye].example,je=0;je<Te.length;je++)Ee[Ee.length]=Te[je];for(var qe in Z)Ee[Ee.length]=qe;var Le=document.createElement("ul");for(Le.setAttribute("id","rgbcolor-examples"),ye=0;ye<Ee.length;ye++)try{var ke=document.createElement("li"),tt=new te(Ee[ye]),st=document.createElement("div");st.style.cssText="margin: 3px; border: 1px solid black; background:"+tt.toHex()+"; color:"+tt.toHex(),st.appendChild(document.createTextNode("test"));var _t=document.createTextNode(" "+Ee[ye]+" -> "+tt.toRGB()+" -> "+tt.toHex());ke.appendChild(st),ke.appendChild(_t),Le.appendChild(ke)}catch(Ct){}return Le}}w=function(){return te}.call(V,e,V,oe),w!==void 0&&(oe.exports=w),pe.RGBColor=te}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")()),function(pe){if(!0)oe.exports=pe();else var te}(function(){return function pe(te,be,xe){function Z(Oe,ne){if(!be[Oe]){if(!te[Oe]){var ce=typeof D=="function"&&D;if(!ne&&ce)return D(Oe,!0);if(se)return se(Oe,!0);var ae=new Error("Cannot find module '"+Oe+"'");throw ae.code="MODULE_NOT_FOUND",ae}var Ee=be[Oe]={exports:{}};te[Oe][0].call(Ee.exports,function(ye){var Te=te[Oe][1][ye];return Z(Te||ye)},Ee,Ee.exports,pe,te,be,xe)}return be[Oe].exports}for(var se=typeof D=="function"&&D,he=0;he<xe.length;he++)Z(xe[he]);return Z}({1:[function(pe,te,be){(function(xe){(function(Z){var se=typeof be=="object"&&be,he=typeof te=="object"&&te&&te.exports==se&&te,Oe=typeof xe=="object"&&xe;Oe.global!==Oe&&Oe.window!==Oe||(Z=Oe);var ne,ce,ae=2147483647,Ee=36,ye=1,Te=26,je=38,qe=700,Le=72,ke=128,tt="-",st=/^xn--/,_t=/[^ -~]/,Ct=/\x2E|\u3002|\uFF0E|\uFF61/g,Rt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Wt=Ee-ye,vt=Math.floor,Je=String.fromCharCode;function Yt(Jt){throw RangeError(Rt[Jt])}function Ht(Jt,or){for(var ut=Jt.length;ut--;)Jt[ut]=or(Jt[ut]);return Jt}function nr(Jt,or){return Ht(Jt.split(Ct),or).join(".")}function ir(Jt){for(var or,ut,ht=[],qt=0,Nt=Jt.length;qt<Nt;)55296<=(or=Jt.charCodeAt(qt++))&&or<=56319&&qt<Nt?(64512&(ut=Jt.charCodeAt(qt++)))==56320?ht.push(((1023&or)<<10)+(1023&ut)+65536):(ht.push(or),qt--):ht.push(or);return ht}function Zt(Jt){return Ht(Jt,function(or){var ut="";return 65535<or&&(ut+=Je((or-=65536)>>>10&1023|55296),or=56320|1023&or),ut+=Je(or)}).join("")}function Mt(Jt,or){return Jt+22+75*(Jt<26)-((or!=0)<<5)}function pt(Jt,or,ut){var ht=0;for(Jt=ut?vt(Jt/qe):Jt>>1,Jt+=vt(Jt/or);Wt*Te>>1<Jt;ht+=Ee)Jt=vt(Jt/Wt);return vt(ht+(Wt+1)*Jt/(Jt+je))}function Tt(Jt){var or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt,ar=[],dr=Jt.length,pr=0,Tr=ke,Lr=Le;for((ut=Jt.lastIndexOf(tt))<0&&(ut=0),ht=0;ht<ut;++ht)128<=Jt.charCodeAt(ht)&&Yt("not-basic"),ar.push(Jt.charCodeAt(ht));for(qt=0<ut?ut+1:0;qt<dr;){for(Nt=pr,Qt=1,at=Ee;dr<=qt&&Yt("invalid-input"),zt=Jt.charCodeAt(qt++),(Ee<=(Ue=zt-48<10?zt-22:zt-65<26?zt-65:zt-97<26?zt-97:Ee)||Ue>vt((ae-pr)/Qt))&&Yt("overflow"),pr+=Ue*Qt,!(Ue<(ot=at<=Lr?ye:Lr+Te<=at?Te:at-Lr));at+=Ee)Qt>vt(ae/(it=Ee-ot))&&Yt("overflow"),Qt*=it;Lr=pt(pr-Nt,or=ar.length+1,Nt==0),vt(pr/or)>ae-Tr&&Yt("overflow"),Tr+=vt(pr/or),pr%=or,ar.splice(pr++,0,Tr)}return Zt(ar)}function mt(Jt){var or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt,ar,dr,pr,Tr,Lr=[];for(ar=(Jt=ir(Jt)).length,or=ke,Nt=Le,Qt=ut=0;Qt<ar;++Qt)(zt=Jt[Qt])<128&&Lr.push(Je(zt));for(ht=qt=Lr.length,qt&&Lr.push(tt);ht<ar;){for(at=ae,Qt=0;Qt<ar;++Qt)or<=(zt=Jt[Qt])&&zt<at&&(at=zt);for(at-or>vt((ae-ut)/(dr=ht+1))&&Yt("overflow"),ut+=(at-or)*dr,or=at,Qt=0;Qt<ar;++Qt)if((zt=Jt[Qt])<or&&++ut>ae&&Yt("overflow"),zt==or){for(Ue=ut,ot=Ee;!(Ue<(it=ot<=Nt?ye:Nt+Te<=ot?Te:ot-Nt));ot+=Ee)Tr=Ue-it,pr=Ee-it,Lr.push(Je(Mt(it+Tr%pr,0))),Ue=vt(Tr/pr);Lr.push(Je(Mt(Ue,0))),Nt=pt(ut,dr,ht==qt),ut=0,++ht}++ut,++or}return Lr.join("")}if(ne={version:"1.2.4",ucs2:{decode:ir,encode:Zt},decode:Tt,encode:mt,toASCII:function(or){return nr(or,function(ut){return _t.test(ut)?"xn--"+mt(ut):ut})},toUnicode:function(or){return nr(or,function(ut){return st.test(ut)?Tt(ut.slice(4).toLowerCase()):ut})}},se&&!se.nodeType)if(he)he.exports=ne;else for(ce in ne)ne.hasOwnProperty(ce)&&(se[ce]=ne[ce]);else Z.punycode=ne})(this)}).call(this,typeof B!="undefined"?B:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],2:[function(pe,te,be){var xe=pe("./log");function Z(se,he){for(var Oe=se.nodeType===3?document.createTextNode(se.nodeValue):se.cloneNode(!1),ne=se.firstChild;ne;)he!==!0&&ne.nodeType===1&&ne.nodeName==="SCRIPT"||Oe.appendChild(Z(ne,he)),ne=ne.nextSibling;return se.nodeType===1&&(Oe._scrollTop=se.scrollTop,Oe._scrollLeft=se.scrollLeft,se.nodeName==="CANVAS"?function(ce,ae){try{ae&&(ae.width=ce.width,ae.height=ce.height,ae.getContext("2d").putImageData(ce.getContext("2d").getImageData(0,0,ce.width,ce.height),0,0))}catch(Ee){xe("Unable to copy canvas content from",ce,Ee)}}(se,Oe):se.nodeName!=="TEXTAREA"&&se.nodeName!=="SELECT"||(Oe.value=se.value)),Oe}te.exports=function(se,he,Oe,ne,ce,ae,Ee){var ye=Z(se.documentElement,ce.javascriptEnabled),Te=he.createElement("iframe");return Te.className="html2canvas-container",Te.style.visibility="hidden",Te.style.position="fixed",Te.style.left="-10000px",Te.style.top="0px",Te.style.border="0",Te.width=Oe,Te.height=ne,Te.scrolling="no",he.body.appendChild(Te),new Promise(function(je){var qe,Le,ke,tt=Te.contentWindow.document;Te.contentWindow.onload=Te.onload=function(){var st=setInterval(function(){0<tt.body.childNodes.length&&(function _t(Ct){if(Ct.nodeType===1){Ct.scrollTop=Ct._scrollTop,Ct.scrollLeft=Ct._scrollLeft;for(var Rt=Ct.firstChild;Rt;)_t(Rt),Rt=Rt.nextSibling}}(tt.documentElement),clearInterval(st),ce.type==="view"&&(Te.contentWindow.scrollTo(ae,Ee),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||Te.contentWindow.scrollY===Ee&&Te.contentWindow.scrollX===ae||(tt.documentElement.style.top=-Ee+"px",tt.documentElement.style.left=-ae+"px",tt.documentElement.style.position="absolute")),je(Te))},50)},tt.open(),tt.write("<!DOCTYPE html><html></html>"),Le=ae,ke=Ee,!(qe=se).defaultView||Le===qe.defaultView.pageXOffset&&ke===qe.defaultView.pageYOffset||qe.defaultView.scrollTo(Le,ke),tt.replaceChild(tt.adoptNode(ye),tt.documentElement),tt.close()})}},{"./log":13}],3:[function(pe,te,be){function xe(ce){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(ce)||this.namedColor(ce)||this.rgb(ce)||this.rgba(ce)||this.hex6(ce)||this.hex3(ce)}xe.prototype.darken=function(ce){var ae=1-ce;return new xe([Math.round(this.r*ae),Math.round(this.g*ae),Math.round(this.b*ae),this.a])},xe.prototype.isTransparent=function(){return this.a===0},xe.prototype.isBlack=function(){return this.r===0&&this.g===0&&this.b===0},xe.prototype.fromArray=function(ce){return Array.isArray(ce)&&(this.r=Math.min(ce[0],255),this.g=Math.min(ce[1],255),this.b=Math.min(ce[2],255),3<ce.length&&(this.a=ce[3])),Array.isArray(ce)};var Z=/^#([a-f0-9]{3})$/i;xe.prototype.hex3=function(ce){var ae;return(ae=ce.match(Z))!==null&&(this.r=parseInt(ae[1][0]+ae[1][0],16),this.g=parseInt(ae[1][1]+ae[1][1],16),this.b=parseInt(ae[1][2]+ae[1][2],16)),ae!==null};var se=/^#([a-f0-9]{6})$/i;xe.prototype.hex6=function(ce){var ae=null;return(ae=ce.match(se))!==null&&(this.r=parseInt(ae[1].substring(0,2),16),this.g=parseInt(ae[1].substring(2,4),16),this.b=parseInt(ae[1].substring(4,6),16)),ae!==null};var he=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;xe.prototype.rgb=function(ce){var ae;return(ae=ce.match(he))!==null&&(this.r=Number(ae[1]),this.g=Number(ae[2]),this.b=Number(ae[3])),ae!==null};var Oe=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;xe.prototype.rgba=function(ce){var ae;return(ae=ce.match(Oe))!==null&&(this.r=Number(ae[1]),this.g=Number(ae[2]),this.b=Number(ae[3]),this.a=Number(ae[4])),ae!==null},xe.prototype.toString=function(){return this.a!==null&&this.a!==1?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},xe.prototype.namedColor=function(ce){ce=ce.toLowerCase();var ae=ne[ce];if(ae)this.r=ae[0],this.g=ae[1],this.b=ae[2];else if(ce==="transparent")return this.r=this.g=this.b=this.a=0,!0;return!!ae},xe.prototype.isColor=!0;var ne={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};te.exports=xe},{}],4:[function(pe,te,be){var xe=pe("./support"),Z=pe("./renderers/canvas"),se=pe("./imageloader"),he=pe("./nodeparser"),Oe=pe("./nodecontainer"),ne=pe("./log"),ce=pe("./utils"),ae=pe("./clone"),Ee=pe("./proxy").loadUrlDocument,ye=ce.getBounds,Te="data-html2canvas-node",je=0;function qe(st,_t){var Ct,Rt,Wt=je++;if((_t=_t||{}).logging&&(ne.options.logging=!0,ne.options.start=Date.now()),_t.async=_t.async===void 0||_t.async,_t.allowTaint=_t.allowTaint!==void 0&&_t.allowTaint,_t.removeContainer=_t.removeContainer===void 0||_t.removeContainer,_t.javascriptEnabled=_t.javascriptEnabled!==void 0&&_t.javascriptEnabled,_t.imageTimeout=_t.imageTimeout===void 0?1e4:_t.imageTimeout,_t.renderer=typeof _t.renderer=="function"?_t.renderer:Z,_t.strict=!!_t.strict,typeof st=="string"){if(typeof _t.proxy!="string")return Promise.reject("Proxy must be used when rendering url");var vt=_t.width!=null?_t.width:window.innerWidth,Je=_t.height!=null?_t.height:window.innerHeight;return Ee((Ct=st,Rt=document.createElement("a"),Rt.href=Ct,Rt.href=Rt.href,Rt),_t.proxy,document,vt,Je,_t).then(function(pt){return ke(pt.contentWindow.document.documentElement,pt,_t,vt,Je)})}var Yt,Ht,nr,ir,Zt,Mt=(st===void 0?[document.documentElement]:st.length?st:[st])[0];return Mt.setAttribute(Te+Wt,Wt),(Yt=Mt.ownerDocument,Ht=_t,nr=Mt.ownerDocument.defaultView.innerWidth,ir=Mt.ownerDocument.defaultView.innerHeight,Zt=Wt,ae(Yt,Yt,nr,ir,Ht,Yt.defaultView.pageXOffset,Yt.defaultView.pageYOffset).then(function(pt){ne("Document cloned");var Tt=Te+Zt,mt="["+Tt+"='"+Zt+"']";Yt.querySelector(mt).removeAttribute(Tt);var Jt=pt.contentWindow,or=Jt.document.querySelector(mt),ut=typeof Ht.onclone=="function"?Promise.resolve(Ht.onclone(Jt.document)):Promise.resolve(!0);return ut.then(function(){return ke(or,pt,Ht,nr,ir)})})).then(function(pt){return typeof _t.onrendered=="function"&&(ne("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),_t.onrendered(pt)),pt})}qe.CanvasRenderer=Z,qe.NodeContainer=Oe,qe.log=ne,qe.utils=ce;var Le=typeof document=="undefined"||typeof Object.create!="function"||typeof document.createElement("canvas").getContext!="function"?function(){return Promise.reject("No canvas support")}:qe;function ke(st,_t,Ct,Rt,Wt){var vt,Je,Yt=_t.contentWindow,Ht=new xe(Yt.document),nr=new se(Ct,Ht),ir=ye(st),Zt=Ct.type==="view"?Rt:(vt=Yt.document,Math.max(Math.max(vt.body.scrollWidth,vt.documentElement.scrollWidth),Math.max(vt.body.offsetWidth,vt.documentElement.offsetWidth),Math.max(vt.body.clientWidth,vt.documentElement.clientWidth))),Mt=Ct.type==="view"?Wt:(Je=Yt.document,Math.max(Math.max(Je.body.scrollHeight,Je.documentElement.scrollHeight),Math.max(Je.body.offsetHeight,Je.documentElement.offsetHeight),Math.max(Je.body.clientHeight,Je.documentElement.clientHeight))),pt=new Ct.renderer(Zt,Mt,nr,Ct,document);return new he(st,pt,Ht,nr,Ct).ready.then(function(){var Tt,mt;return ne("Finished rendering"),Tt=Ct.type==="view"?tt(pt.canvas,{width:pt.canvas.width,height:pt.canvas.height,top:0,left:0,x:0,y:0}):st===Yt.document.body||st===Yt.document.documentElement||Ct.canvas!=null?pt.canvas:tt(pt.canvas,{width:Ct.width!=null?Ct.width:ir.width,height:Ct.height!=null?Ct.height:ir.height,top:ir.top,left:ir.left,x:0,y:0}),mt=_t,Ct.removeContainer&&(mt.parentNode.removeChild(mt),ne("Cleaned up container")),Tt})}function tt(st,_t){var Ct=document.createElement("canvas"),Rt=Math.min(st.width-1,Math.max(0,_t.left)),Wt=Math.min(st.width,Math.max(1,_t.left+_t.width)),vt=Math.min(st.height-1,Math.max(0,_t.top)),Je=Math.min(st.height,Math.max(1,_t.top+_t.height));Ct.width=_t.width,Ct.height=_t.height;var Yt=Wt-Rt,Ht=Je-vt;return ne("Cropping canvas at:","left:",_t.left,"top:",_t.top,"width:",Yt,"height:",Ht),ne("Resulting crop with width",_t.width,"and height",_t.height,"with x",Rt,"and y",vt),Ct.getContext("2d").drawImage(st,Rt,vt,Yt,Ht,_t.x,_t.y,Yt,Ht),Ct}te.exports=Le},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(pe,te,be){var xe=pe("./log"),Z=pe("./utils").smallImage;te.exports=function se(he){if(this.src=he,xe("DummyImageContainer for",he),!this.promise||!this.image){xe("Initiating DummyImageContainer"),se.prototype.image=new Image;var Oe=this.image;se.prototype.promise=new Promise(function(ne,ce){Oe.onload=ne,Oe.onerror=ce,Oe.src=Z(),Oe.complete===!0&&ne(Oe)})}}},{"./log":13,"./utils":26}],6:[function(pe,te,be){var xe=pe("./utils").smallImage;te.exports=function(Z,se){var he,Oe,ne=document.createElement("div"),ce=document.createElement("img"),ae=document.createElement("span"),Ee="Hidden Text";ne.style.visibility="hidden",ne.style.fontFamily=Z,ne.style.fontSize=se,ne.style.margin=0,ne.style.padding=0,document.body.appendChild(ne),ce.src=xe(),ce.width=1,ce.height=1,ce.style.margin=0,ce.style.padding=0,ce.style.verticalAlign="baseline",ae.style.fontFamily=Z,ae.style.fontSize=se,ae.style.margin=0,ae.style.padding=0,ae.appendChild(document.createTextNode(Ee)),ne.appendChild(ae),ne.appendChild(ce),he=ce.offsetTop-ae.offsetTop+1,ne.removeChild(ae),ne.appendChild(document.createTextNode(Ee)),ne.style.lineHeight="normal",ce.style.verticalAlign="super",Oe=ce.offsetTop-ne.offsetTop+1,document.body.removeChild(ne),this.baseline=he,this.lineWidth=1,this.middle=Oe}},{"./utils":26}],7:[function(pe,te,be){var xe=pe("./font");function Z(){this.data={}}Z.prototype.getMetrics=function(se,he){return this.data[se+"-"+he]===void 0&&(this.data[se+"-"+he]=new xe(se,he)),this.data[se+"-"+he]},te.exports=Z},{"./font":6}],8:[function(pe,te,be){var xe=pe("./utils").getBounds,Z=pe("./proxy").loadUrlDocument;function se(he,Oe,ne){this.image=null,this.src=he;var ce=this,ae=xe(he);this.promise=(Oe?new Promise(function(Ee){he.contentWindow.document.URL==="about:blank"||he.contentWindow.document.documentElement==null?he.contentWindow.onload=he.onload=function(){Ee(he)}:Ee(he)}):this.proxyLoad(ne.proxy,ae,ne)).then(function(Ee){return pe("./core")(Ee.contentWindow.document.documentElement,{type:"view",width:Ee.width,height:Ee.height,proxy:ne.proxy,javascriptEnabled:ne.javascriptEnabled,removeContainer:ne.removeContainer,allowTaint:ne.allowTaint,imageTimeout:ne.imageTimeout/2})}).then(function(Ee){return ce.image=Ee})}se.prototype.proxyLoad=function(he,Oe,ne){var ce=this.src;return Z(ce.src,he,ce.ownerDocument,Oe.width,Oe.height,ne)},te.exports=se},{"./core":4,"./proxy":16,"./utils":26}],9:[function(pe,te,be){function xe(Z){this.src=Z.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}xe.TYPES={LINEAR:1,RADIAL:2},xe.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,te.exports=xe},{}],10:[function(pe,te,be){te.exports=function(xe,Z){this.src=xe,this.image=new Image;var se=this;this.tainted=null,this.promise=new Promise(function(he,Oe){se.image.onload=he,se.image.onerror=Oe,Z&&(se.image.crossOrigin="anonymous"),se.image.src=xe,se.image.complete===!0&&he(se.image)})}},{}],11:[function(pe,te,be){var xe=pe("./log"),Z=pe("./imagecontainer"),se=pe("./dummyimagecontainer"),he=pe("./proxyimagecontainer"),Oe=pe("./framecontainer"),ne=pe("./svgcontainer"),ce=pe("./svgnodecontainer"),ae=pe("./lineargradientcontainer"),Ee=pe("./webkitgradientcontainer"),ye=pe("./utils").bind;function Te(je,qe){this.link=null,this.options=je,this.support=qe,this.origin=this.getOrigin(window.location.href)}Te.prototype.findImages=function(je){var qe=[];return je.reduce(function(Le,ke){switch(ke.node.nodeName){case"IMG":return Le.concat([{args:[ke.node.src],method:"url"}]);case"svg":case"IFRAME":return Le.concat([{args:[ke.node],method:ke.node.nodeName}])}return Le},[]).forEach(this.addImage(qe,this.loadImage),this),qe},Te.prototype.findBackgroundImage=function(je,qe){return qe.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(je,this.loadImage),this),je},Te.prototype.addImage=function(je,qe){return function(Le){Le.args.forEach(function(ke){this.imageExists(je,ke)||(je.splice(0,0,qe.call(this,Le)),xe("Added image #"+je.length,typeof ke=="string"?ke.substring(0,100):ke))},this)}},Te.prototype.hasImageBackground=function(je){return je.method!=="none"},Te.prototype.loadImage=function(je){if(je.method==="url"){var qe=je.args[0];return!this.isSVG(qe)||this.support.svg||this.options.allowTaint?qe.match(/data:image\/.*;base64,/i)?new Z(qe.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(qe)||this.options.allowTaint===!0||this.isSVG(qe)?new Z(qe,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new Z(qe,!0):this.options.proxy?new he(qe,this.options.proxy):new se(qe):new ne(qe)}return je.method==="linear-gradient"?new ae(je):je.method==="gradient"?new Ee(je):je.method==="svg"?new ce(je.args[0],this.support.svg):je.method==="IFRAME"?new Oe(je.args[0],this.isSameOrigin(je.args[0].src),this.options):new se(je)},Te.prototype.isSVG=function(je){return je.substring(je.length-3).toLowerCase()==="svg"||ne.prototype.isInline(je)},Te.prototype.imageExists=function(je,qe){return je.some(function(Le){return Le.src===qe})},Te.prototype.isSameOrigin=function(je){return this.getOrigin(je)===this.origin},Te.prototype.getOrigin=function(je){var qe=this.link||(this.link=document.createElement("a"));return qe.href=je,qe.href=qe.href,qe.protocol+qe.hostname+qe.port},Te.prototype.getPromise=function(je){return this.timeout(je,this.options.imageTimeout).catch(function(){return new se(je.src).promise.then(function(qe){je.image=qe})})},Te.prototype.get=function(je){var qe=null;return this.images.some(function(Le){return(qe=Le).src===je})?qe:null},Te.prototype.fetch=function(je){return this.images=je.reduce(ye(this.findBackgroundImage,this),this.findImages(je)),this.images.forEach(function(qe,Le){qe.promise.then(function(){xe("Succesfully loaded image #"+(Le+1),qe)},function(ke){xe("Failed loading image #"+(Le+1),qe,ke)})}),this.ready=Promise.all(this.images.map(this.getPromise,this)),xe("Finished searching images"),this},Te.prototype.timeout=function(je,qe){var Le,ke=Promise.race([je.promise,new Promise(function(tt,st){Le=setTimeout(function(){xe("Timed out loading image",je),st(je)},qe)})]).then(function(tt){return clearTimeout(Le),tt});return ke.catch(function(){clearTimeout(Le)}),ke},te.exports=Te},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(pe,te,be){var xe=pe("./gradientcontainer"),Z=pe("./color");function se(he){xe.apply(this,arguments),this.type=xe.TYPES.LINEAR;var Oe=se.REGEXP_DIRECTION.test(he.args[0])||!xe.REGEXP_COLORSTOP.test(he.args[0]);Oe?he.args[0].split(/\s+/).reverse().forEach(function(ne,ce){switch(ne){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var ae=this.y0,Ee=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=Ee,this.y1=ae;break;case"center":break;default:var ye=.01*parseFloat(ne,10);if(isNaN(ye))break;ce===0?(this.y0=ye,this.y1=1-this.y0):(this.x0=ye,this.x1=1-this.x0)}},this):(this.y0=0,this.y1=1),this.colorStops=he.args.slice(Oe?1:0).map(function(ne){var ce=ne.match(xe.REGEXP_COLORSTOP),ae=+ce[2],Ee=ae===0?"%":ce[3];return{color:new Z(ce[1]),stop:Ee==="%"?ae/100:null}}),this.colorStops[0].stop===null&&(this.colorStops[0].stop=0),this.colorStops[this.colorStops.length-1].stop===null&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(ne,ce){ne.stop===null&&this.colorStops.slice(ce).some(function(ae,Ee){return ae.stop!==null&&(ne.stop=(ae.stop-this.colorStops[ce-1].stop)/(Ee+1)+this.colorStops[ce-1].stop,!0)},this)},this)}se.prototype=Object.create(xe.prototype),se.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,te.exports=se},{"./color":3,"./gradientcontainer":9}],13:[function(pe,te,be){var xe=function Z(){Z.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-Z.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};xe.options={logging:!1},te.exports=xe},{}],14:[function(pe,te,be){var xe=pe("./color"),Z=pe("./utils"),se=Z.getBounds,he=Z.parseBackgrounds,Oe=Z.offsetBounds;function ne(ye,Te){this.node=ye,this.parent=Te,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function ce(ye){return ye.toString().indexOf("%")!==-1}function ae(ye){return ye.replace("px","")}function Ee(ye){return parseFloat(ye)}ne.prototype.cloneTo=function(ye){ye.visible=this.visible,ye.borders=this.borders,ye.bounds=this.bounds,ye.clip=this.clip,ye.backgroundClip=this.backgroundClip,ye.computedStyles=this.computedStyles,ye.styles=this.styles,ye.backgroundImages=this.backgroundImages,ye.opacity=this.opacity},ne.prototype.getOpacity=function(){return this.opacity===null?this.opacity=this.cssFloat("opacity"):this.opacity},ne.prototype.assignStack=function(ye){(this.stack=ye).children.push(this)},ne.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:this.css("display")!=="none"&&this.css("visibility")!=="hidden"&&!this.node.hasAttribute("data-html2canvas-ignore")&&(this.node.nodeName!=="INPUT"||this.node.getAttribute("type")!=="hidden")},ne.prototype.css=function(ye){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[ye]||(this.styles[ye]=this.computedStyles[ye])},ne.prototype.prefixedCss=function(ye){var Te=this.css(ye);return Te===void 0&&["webkit","moz","ms","o"].some(function(je){return(Te=this.css(je+ye.substr(0,1).toUpperCase()+ye.substr(1)))!==void 0},this),Te===void 0?null:Te},ne.prototype.computedStyle=function(ye){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,ye)},ne.prototype.cssInt=function(ye){var Te=parseInt(this.css(ye),10);return isNaN(Te)?0:Te},ne.prototype.color=function(ye){return this.colors[ye]||(this.colors[ye]=new xe(this.css(ye)))},ne.prototype.cssFloat=function(ye){var Te=parseFloat(this.css(ye));return isNaN(Te)?0:Te},ne.prototype.fontWeight=function(){var ye=this.css("fontWeight");switch(parseInt(ye,10)){case 401:ye="bold";break;case 400:ye="normal"}return ye},ne.prototype.parseClip=function(){var ye=this.css("clip").match(this.CLIP);return ye?{top:parseInt(ye[1],10),right:parseInt(ye[2],10),bottom:parseInt(ye[3],10),left:parseInt(ye[4],10)}:null},ne.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=he(this.css("backgroundImage")))},ne.prototype.cssList=function(ye,Te){var je=(this.css(ye)||"").split(",");return(je=(je=je[Te||0]||je[0]||"auto").trim().split(" ")).length===1&&(je=[je[0],ce(je[0])?"auto":je[0]]),je},ne.prototype.parseBackgroundSize=function(ye,Te,je){var qe,Le,ke=this.cssList("backgroundSize",je);if(ce(ke[0]))qe=ye.width*parseFloat(ke[0])/100;else{if(/contain|cover/.test(ke[0])){var tt=ye.width/ye.height,st=Te.width/Te.height;return tt<st^ke[0]==="contain"?{width:ye.height*st,height:ye.height}:{width:ye.width,height:ye.width/st}}qe=parseInt(ke[0],10)}return Le=ke[0]==="auto"&&ke[1]==="auto"?Te.height:ke[1]==="auto"?qe/Te.width*Te.height:ce(ke[1])?ye.height*parseFloat(ke[1])/100:parseInt(ke[1],10),ke[0]==="auto"&&(qe=Le/Te.height*Te.width),{width:qe,height:Le}},ne.prototype.parseBackgroundPosition=function(ye,Te,je,qe){var Le,ke,tt=this.cssList("backgroundPosition",je);return Le=ce(tt[0])?(ye.width-(qe||Te).width)*(parseFloat(tt[0])/100):parseInt(tt[0],10),ke=tt[1]==="auto"?Le/Te.width*Te.height:ce(tt[1])?(ye.height-(qe||Te).height)*parseFloat(tt[1])/100:parseInt(tt[1],10),tt[0]==="auto"&&(Le=ke/Te.height*Te.width),{left:Le,top:ke}},ne.prototype.parseBackgroundRepeat=function(ye){return this.cssList("backgroundRepeat",ye)[0]},ne.prototype.parseTextShadows=function(){var ye=this.css("textShadow"),Te=[];if(ye&&ye!=="none")for(var je=ye.match(this.TEXT_SHADOW_PROPERTY),qe=0;je&&qe<je.length;qe++){var Le=je[qe].match(this.TEXT_SHADOW_VALUES);Te.push({color:new xe(Le[0]),offsetX:Le[1]?parseFloat(Le[1].replace("px","")):0,offsetY:Le[2]?parseFloat(Le[2].replace("px","")):0,blur:Le[3]?Le[3].replace("px",""):0})}return Te},ne.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var ye=this.parseBounds(),Te=this.prefixedCss("transformOrigin").split(" ").map(ae).map(Ee);Te[0]+=ye.left,Te[1]+=ye.top,this.transformData={origin:Te,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},ne.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var ye=this.prefixedCss("transform"),Te=ye?function(je){{if(je&&je[1]==="matrix")return je[2].split(",").map(function(Le){return parseFloat(Le.trim())});if(je&&je[1]==="matrix3d"){var qe=je[2].split(",").map(function(Le){return parseFloat(Le.trim())});return[qe[0],qe[1],qe[4],qe[5],qe[12],qe[13]]}}}(ye.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=Te||[1,0,0,1,0,0]}return this.transformMatrix},ne.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?Oe(this.node):se(this.node))},ne.prototype.hasTransform=function(){return this.parseTransformMatrix().join(",")!=="1,0,0,1,0,0"||this.parent&&this.parent.hasTransform()},ne.prototype.getValue=function(){var ye,Te,je=this.node.value||"";return this.node.tagName==="SELECT"?(ye=this.node,je=(Te=ye.options[ye.selectedIndex||0])&&Te.text||""):this.node.type==="password"&&(je=Array(je.length+1).join("\u2022")),je.length===0?this.node.placeholder||"":je},ne.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,ne.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,ne.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,ne.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,te.exports=ne},{"./color":3,"./utils":26}],15:[function(pe,te,be){var xe=pe("./log"),Z=pe("punycode"),se=pe("./nodecontainer"),he=pe("./textcontainer"),Oe=pe("./pseudoelementcontainer"),ne=pe("./fontmetrics"),ce=pe("./color"),ae=pe("./stackingcontext"),Ee=pe("./utils"),ye=Ee.bind,Te=Ee.getBounds,je=Ee.parseBackgrounds,qe=Ee.offsetBounds;function Le(Ue,ot,it,zt,ar){xe("Starting NodeParser"),this.renderer=ot,this.options=ar,this.range=null,this.support=it,this.renderQueue=[],this.stack=new ae(!0,1,Ue.ownerDocument,null);var dr=new se(Ue,null);if(ar.background&&ot.rectangle(0,0,ot.width,ot.height,new ce(ar.background)),Ue===Ue.ownerDocument.documentElement){var pr=new se(dr.color("backgroundColor").isTransparent()?Ue.ownerDocument.body:Ue.ownerDocument.documentElement,null);ot.rectangle(0,0,ot.width,ot.height,pr.color("backgroundColor"))}dr.visibile=dr.isElementVisible(),this.createPseudoHideStyles(Ue.ownerDocument),this.disableAnimations(Ue.ownerDocument),this.nodes=at([dr].concat(this.getChildren(dr)).filter(function(Tr){return Tr.visible=Tr.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new ne,xe("Fetched nodes, total:",this.nodes.length),xe("Calculate overflow clips"),this.calculateOverflowClips(),xe("Start fetching images"),this.images=zt.fetch(this.nodes.filter(or)),this.ready=this.images.ready.then(ye(function(){return xe("Images loaded, starting parsing"),xe("Creating stacking contexts"),this.createStackingContexts(),xe("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),xe("Render queue created with "+this.renderQueue.length+" items"),new Promise(ye(function(Tr){ar.async?typeof ar.async=="function"?ar.async.call(this,this.renderQueue,Tr):0<this.renderQueue.length?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,Tr)):Tr():(this.renderQueue.forEach(this.paint,this),Tr())},this))},this))}function ke(Ue){return Ue.parent&&Ue.parent.clip.length}function tt(){}Le.prototype.calculateOverflowClips=function(){this.nodes.forEach(function(Ue){if(or(Ue)){ut(Ue)&&Ue.appendToDOM(),Ue.borders=this.parseBorders(Ue);var ot=Ue.css("overflow")==="hidden"?[Ue.borders.clip]:[],it=Ue.parseClip();it&&["absolute","fixed"].indexOf(Ue.css("position"))!==-1&&ot.push([["rect",Ue.bounds.left+it.left,Ue.bounds.top+it.top,it.right-it.left,it.bottom-it.top]]),Ue.clip=ke(Ue)?Ue.parent.clip.concat(ot):ot,Ue.backgroundClip=Ue.css("overflow")!=="hidden"?Ue.clip.concat([Ue.borders.clip]):Ue.clip,ut(Ue)&&Ue.cleanDOM()}else ht(Ue)&&(Ue.clip=ke(Ue)?Ue.parent.clip:[]);ut(Ue)||(Ue.bounds=null)},this)},Le.prototype.asyncRenderer=function(Ue,ot,it){it=it||Date.now(),this.paint(Ue[this.renderIndex++]),Ue.length===this.renderIndex?ot():it+20>Date.now()?this.asyncRenderer(Ue,ot,it):setTimeout(ye(function(){this.asyncRenderer(Ue,ot)},this),0)},Le.prototype.createPseudoHideStyles=function(Ue){this.createStyles(Ue,"."+Oe.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+Oe.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},Le.prototype.disableAnimations=function(Ue){this.createStyles(Ue,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},Le.prototype.createStyles=function(Ue,ot){var it=Ue.createElement("style");it.innerHTML=ot,Ue.body.appendChild(it)},Le.prototype.getPseudoElements=function(Ue){var ot=[[Ue]];if(Ue.node.nodeType===Node.ELEMENT_NODE){var it=this.getPseudoElement(Ue,":before"),zt=this.getPseudoElement(Ue,":after");it&&ot.push(it),zt&&ot.push(zt)}return at(ot)},Le.prototype.getPseudoElement=function(Ue,ot){var it=Ue.computedStyle(ot);if(!it||!it.content||it.content==="none"||it.content==="-moz-alt-content"||it.display==="none")return null;for(var zt,ar,dr=(zt=it.content,(ar=zt.substr(0,1))===zt.substr(zt.length-1)&&ar.match(/'|"/)?zt.substr(1,zt.length-2):zt),pr=dr.substr(0,3)==="url",Tr=document.createElement(pr?"img":"html2canvaspseudoelement"),Lr=new Oe(Tr,Ue,ot),Yr=it.length-1;0<=Yr;Yr--){var Jr=it.item(Yr).replace(/(\-[a-z])/g,function(yr){return yr.toUpperCase().replace("-","")});Tr.style[Jr]=it[Jr]}if(Tr.className=Oe.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+Oe.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,pr)return Tr.src=je(dr)[0].args[0],[Lr];var hn=document.createTextNode(dr);return Tr.appendChild(hn),[Lr,new he(hn,Lr)]},Le.prototype.getChildren=function(Ue){return at([].filter.call(Ue.node.childNodes,pt).map(function(ot){var it=[ot.nodeType===Node.TEXT_NODE?new he(ot,Ue):new se(ot,Ue)].filter(Qt);return ot.nodeType===Node.ELEMENT_NODE&&it.length&&ot.tagName!=="TEXTAREA"?it[0].isElementVisible()?it.concat(this.getChildren(it[0])):[]:it},this))},Le.prototype.newStackingContext=function(Ue,ot){var it=new ae(ot,Ue.getOpacity(),Ue.node,Ue.parent);Ue.cloneTo(it),(ot?it.getParentStack(this):it.parent.stack).contexts.push(it),Ue.stack=it},Le.prototype.createStackingContexts=function(){this.nodes.forEach(function(Ue){var ot,it;or(Ue)&&(this.isRootElement(Ue)||Ue.getOpacity()<1||(it=(ot=Ue).css("position"),(["absolute","relative","fixed"].indexOf(it)!==-1?ot.css("zIndex"):"auto")!=="auto")||this.isBodyWithTransparentRoot(Ue)||Ue.hasTransform())?this.newStackingContext(Ue,!0):or(Ue)&&(Tt(Ue)&&nr(Ue)||["inline-block","inline-table"].indexOf(Ue.css("display"))!==-1||mt(Ue))?this.newStackingContext(Ue,!1):Ue.assignStack(Ue.parent.stack)},this)},Le.prototype.isBodyWithTransparentRoot=function(Ue){return Ue.node.nodeName==="BODY"&&Ue.parent.color("backgroundColor").isTransparent()},Le.prototype.isRootElement=function(Ue){return Ue.parent===null},Le.prototype.sortStackingContexts=function(Ue){var ot;Ue.contexts.sort((ot=Ue.contexts.slice(0),function(it,zt){return it.cssInt("zIndex")+ot.indexOf(it)/ot.length-(zt.cssInt("zIndex")+ot.indexOf(zt)/ot.length)})),Ue.contexts.forEach(this.sortStackingContexts,this)},Le.prototype.parseTextBounds=function(Ue){return function(ot,it,zt){if(Ue.parent.css("textDecoration").substr(0,4)!=="none"||ot.trim().length!==0){if(this.support.rangeBounds&&!Ue.parent.hasTransform()){var ar=zt.slice(0,it).join("").length;return this.getRangeBounds(Ue.node,ar,ot.length)}if(Ue.node&&typeof Ue.node.data=="string"){var dr=Ue.node.splitText(ot.length),pr=this.getWrapperBounds(Ue.node,Ue.parent.hasTransform());return Ue.node=dr,pr}}else this.support.rangeBounds&&!Ue.parent.hasTransform()||(Ue.node=Ue.node.splitText(ot.length));return{}}},Le.prototype.getWrapperBounds=function(Ue,ot){var it=Ue.ownerDocument.createElement("html2canvaswrapper"),zt=Ue.parentNode,ar=Ue.cloneNode(!0);it.appendChild(Ue.cloneNode(!0)),zt.replaceChild(it,Ue);var dr=ot?qe(it):Te(it);return zt.replaceChild(ar,it),dr},Le.prototype.getRangeBounds=function(Ue,ot,it){var zt=this.range||(this.range=Ue.ownerDocument.createRange());return zt.setStart(Ue,ot),zt.setEnd(Ue,ot+it),zt.getBoundingClientRect()},Le.prototype.parse=function(Ue){var ot=Ue.contexts.filter(Yt),it=Ue.children.filter(or),zt=it.filter(Jt(mt)),ar=zt.filter(Jt(Tt)).filter(Jt(ir)),dr=it.filter(Jt(Tt)).filter(mt),pr=zt.filter(Jt(Tt)).filter(ir),Tr=Ue.contexts.concat(zt.filter(Tt)).filter(nr),Lr=Ue.children.filter(ht).filter(Mt),Yr=Ue.contexts.filter(Ht);ot.concat(ar).concat(dr).concat(pr).concat(Tr).concat(Lr).concat(Yr).forEach(function(Jr){this.renderQueue.push(Jr),Zt(Jr)&&(this.parse(Jr),this.renderQueue.push(new tt))},this)},Le.prototype.paint=function(Ue){try{Ue instanceof tt?this.renderer.ctx.restore():ht(Ue)?(ut(Ue.parent)&&Ue.parent.appendToDOM(),this.paintText(Ue),ut(Ue.parent)&&Ue.parent.cleanDOM()):this.paintNode(Ue)}catch(ot){if(xe(ot),this.options.strict)throw ot}},Le.prototype.paintNode=function(Ue){Zt(Ue)&&(this.renderer.setOpacity(Ue.opacity),this.renderer.ctx.save(),Ue.hasTransform()&&this.renderer.setTransform(Ue.parseTransform())),Ue.node.nodeName==="INPUT"&&Ue.node.type==="checkbox"?this.paintCheckbox(Ue):Ue.node.nodeName==="INPUT"&&Ue.node.type==="radio"?this.paintRadio(Ue):this.paintElement(Ue)},Le.prototype.paintElement=function(Ue){var ot=Ue.parseBounds();this.renderer.clip(Ue.backgroundClip,function(){this.renderer.renderBackground(Ue,ot,Ue.borders.borders.map(Nt))},this),this.renderer.clip(Ue.clip,function(){this.renderer.renderBorders(Ue.borders.borders)},this),this.renderer.clip(Ue.backgroundClip,function(){switch(Ue.node.nodeName){case"svg":case"IFRAME":var it=this.images.get(Ue.node);it?this.renderer.renderImage(Ue,ot,Ue.borders,it):xe("Error loading <"+Ue.node.nodeName+">",Ue.node);break;case"IMG":var zt=this.images.get(Ue.node.src);zt?this.renderer.renderImage(Ue,ot,Ue.borders,zt):xe("Error loading <img>",Ue.node.src);break;case"CANVAS":this.renderer.renderImage(Ue,ot,Ue.borders,{image:Ue.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(Ue)}},this)},Le.prototype.paintCheckbox=function(Ue){var ot=Ue.parseBounds(),it=Math.min(ot.width,ot.height),zt={width:it-1,height:it-1,top:ot.top,left:ot.left},ar=[3,3],dr=[ar,ar,ar,ar],pr=[1,1,1,1].map(function(Lr){return{color:new ce("#A5A5A5"),width:Lr}}),Tr=Rt(zt,dr,pr);this.renderer.clip(Ue.backgroundClip,function(){this.renderer.rectangle(zt.left+1,zt.top+1,zt.width-2,zt.height-2,new ce("#DEDEDE")),this.renderer.renderBorders(_t(pr,zt,Tr,dr)),Ue.node.checked&&(this.renderer.font(new ce("#424242"),"normal","normal","bold",it-3+"px","arial"),this.renderer.text("\u2714",zt.left+it/6,zt.top+it-1))},this)},Le.prototype.paintRadio=function(Ue){var ot=Ue.parseBounds(),it=Math.min(ot.width,ot.height)-2;this.renderer.clip(Ue.backgroundClip,function(){this.renderer.circleStroke(ot.left+1,ot.top+1,it,new ce("#DEDEDE"),1,new ce("#A5A5A5")),Ue.node.checked&&this.renderer.circle(Math.ceil(ot.left+it/4)+1,Math.ceil(ot.top+it/4)+1,Math.floor(it/2),new ce("#424242"))},this)},Le.prototype.paintFormValue=function(Ue){var ot=Ue.getValue();if(0<ot.length){var it=Ue.node.ownerDocument,zt=it.createElement("html2canvaswrapper");["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"].forEach(function(dr){try{zt.style[dr]=Ue.css(dr)}catch(pr){xe("html2canvas: Parse: Exception caught in renderFormValue: "+pr.message)}});var ar=Ue.parseBounds();zt.style.position="fixed",zt.style.left=ar.left+"px",zt.style.top=ar.top+"px",zt.textContent=ot,it.body.appendChild(zt),this.paintText(new he(zt.firstChild,Ue)),it.body.removeChild(zt)}},Le.prototype.paintText=function(Ue){Ue.applyTextTransform();var ot,it=Z.ucs2.decode(Ue.node.data),zt=this.options.letterRendering&&!/^(normal|none|0px)$/.test(Ue.parent.css("letterSpacing"))||(ot=Ue.node.data,/[^\u0000-\u00ff]/.test(ot))?it.map(function(Lr){return Z.ucs2.encode([Lr])}):function(Lr){for(var Yr,Jr=[],hn=0,yr=!1;Lr.length;)zn=Lr[hn],[32,13,10,9,45].indexOf(zn)!==-1===yr?((Yr=Lr.splice(0,hn)).length&&Jr.push(Z.ucs2.encode(Yr)),yr=!yr,hn=0):hn++,hn>=Lr.length&&(Yr=Lr.splice(0,hn)).length&&Jr.push(Z.ucs2.encode(Yr));var zn;return Jr}(it),ar=Ue.parent.fontWeight(),dr=Ue.parent.css("fontSize"),pr=Ue.parent.css("fontFamily"),Tr=Ue.parent.parseTextShadows();this.renderer.font(Ue.parent.color("color"),Ue.parent.css("fontStyle"),Ue.parent.css("fontVariant"),ar,dr,pr),Tr.length?this.renderer.fontShadow(Tr[0].color,Tr[0].offsetX,Tr[0].offsetY,Tr[0].blur):this.renderer.clearShadow(),this.renderer.clip(Ue.parent.clip,function(){zt.map(this.parseTextBounds(Ue),this).forEach(function(Lr,Yr){Lr&&/^\s*$/.test(zt[Yr])===!1&&(this.renderer.text(zt[Yr],Lr.left,Lr.bottom),this.renderTextDecoration(Ue.parent,Lr,this.fontMetrics.getMetrics(pr,dr)))},this)},this)},Le.prototype.renderTextDecoration=function(Ue,ot,it){switch(Ue.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(ot.left,Math.round(ot.top+it.baseline+it.lineWidth),ot.width,1,Ue.color("color"));break;case"overline":this.renderer.rectangle(ot.left,Math.round(ot.top),ot.width,1,Ue.color("color"));break;case"line-through":this.renderer.rectangle(ot.left,Math.ceil(ot.top+it.middle+it.lineWidth),ot.width,1,Ue.color("color"))}};var st={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};function _t(Ue,ot,it,zt){return Ue.map(function(ar,dr){if(0<ar.width){var pr=ot.left,Tr=ot.top,Lr=ot.width,Yr=ot.height-Ue[2].width;switch(dr){case 0:Yr=Ue[0].width,ar.args=vt({c1:[pr,Tr],c2:[pr+Lr,Tr],c3:[pr+Lr-Ue[1].width,Tr+Yr],c4:[pr+Ue[3].width,Tr+Yr]},zt[0],zt[1],it.topLeftOuter,it.topLeftInner,it.topRightOuter,it.topRightInner);break;case 1:pr=ot.left+ot.width-Ue[1].width,Lr=Ue[1].width,ar.args=vt({c1:[pr+Lr,Tr],c2:[pr+Lr,Tr+Yr+Ue[2].width],c3:[pr,Tr+Yr],c4:[pr,Tr+Ue[0].width]},zt[1],zt[2],it.topRightOuter,it.topRightInner,it.bottomRightOuter,it.bottomRightInner);break;case 2:Tr=Tr+ot.height-Ue[2].width,Yr=Ue[2].width,ar.args=vt({c1:[pr+Lr,Tr+Yr],c2:[pr,Tr+Yr],c3:[pr+Ue[3].width,Tr],c4:[pr+Lr-Ue[3].width,Tr]},zt[2],zt[3],it.bottomRightOuter,it.bottomRightInner,it.bottomLeftOuter,it.bottomLeftInner);break;case 3:Lr=Ue[3].width,ar.args=vt({c1:[pr,Tr+Yr+Ue[2].width],c2:[pr,Tr],c3:[pr+Lr,Tr+Ue[0].width],c4:[pr+Lr,Tr+Yr]},zt[3],zt[0],it.bottomLeftOuter,it.bottomLeftInner,it.topLeftOuter,it.topLeftInner)}}return ar})}function Ct(Ue,ot,it,zt){var ar=(Math.sqrt(2)-1)/3*4,dr=it*ar,pr=zt*ar,Tr=Ue+it,Lr=ot+zt;return{topLeft:Wt({x:Ue,y:Lr},{x:Ue,y:Lr-pr},{x:Tr-dr,y:ot},{x:Tr,y:ot}),topRight:Wt({x:Ue,y:ot},{x:Ue+dr,y:ot},{x:Tr,y:Lr-pr},{x:Tr,y:Lr}),bottomRight:Wt({x:Tr,y:ot},{x:Tr,y:ot+pr},{x:Ue+dr,y:Lr},{x:Ue,y:Lr}),bottomLeft:Wt({x:Tr,y:Lr},{x:Tr-dr,y:Lr},{x:Ue,y:ot+pr},{x:Ue,y:ot})}}function Rt(Ue,ot,it){var zt=Ue.left,ar=Ue.top,dr=Ue.width,pr=Ue.height,Tr=ot[0][0]<dr/2?ot[0][0]:dr/2,Lr=ot[0][1]<pr/2?ot[0][1]:pr/2,Yr=ot[1][0]<dr/2?ot[1][0]:dr/2,Jr=ot[1][1]<pr/2?ot[1][1]:pr/2,hn=ot[2][0]<dr/2?ot[2][0]:dr/2,yr=ot[2][1]<pr/2?ot[2][1]:pr/2,zn=ot[3][0]<dr/2?ot[3][0]:dr/2,xn=ot[3][1]<pr/2?ot[3][1]:pr/2,In=dr-Yr,Qn=pr-yr,Cn=dr-hn,bn=pr-xn;return{topLeftOuter:Ct(zt,ar,Tr,Lr).topLeft.subdivide(.5),topLeftInner:Ct(zt+it[3].width,ar+it[0].width,Math.max(0,Tr-it[3].width),Math.max(0,Lr-it[0].width)).topLeft.subdivide(.5),topRightOuter:Ct(zt+In,ar,Yr,Jr).topRight.subdivide(.5),topRightInner:Ct(zt+Math.min(In,dr+it[3].width),ar+it[0].width,In>dr+it[3].width?0:Yr-it[3].width,Jr-it[0].width).topRight.subdivide(.5),bottomRightOuter:Ct(zt+Cn,ar+Qn,hn,yr).bottomRight.subdivide(.5),bottomRightInner:Ct(zt+Math.min(Cn,dr-it[3].width),ar+Math.min(Qn,pr+it[0].width),Math.max(0,hn-it[1].width),yr-it[2].width).bottomRight.subdivide(.5),bottomLeftOuter:Ct(zt,ar+bn,zn,xn).bottomLeft.subdivide(.5),bottomLeftInner:Ct(zt+it[3].width,ar+bn,Math.max(0,zn-it[3].width),xn-it[2].width).bottomLeft.subdivide(.5)}}function Wt(Ue,ot,it,zt){var ar=function(pr,Tr,Lr){return{x:pr.x+(Tr.x-pr.x)*Lr,y:pr.y+(Tr.y-pr.y)*Lr}};return{start:Ue,startControl:ot,endControl:it,end:zt,subdivide:function(pr){var Tr=ar(Ue,ot,pr),Lr=ar(ot,it,pr),Yr=ar(it,zt,pr),Jr=ar(Tr,Lr,pr),hn=ar(Lr,Yr,pr),yr=ar(Jr,hn,pr);return[Wt(Ue,Tr,Jr,yr),Wt(yr,hn,Yr,zt)]},curveTo:function(pr){pr.push(["bezierCurve",ot.x,ot.y,it.x,it.y,zt.x,zt.y])},curveToReversed:function(pr){pr.push(["bezierCurve",it.x,it.y,ot.x,ot.y,Ue.x,Ue.y])}}}function vt(Ue,ot,it,zt,ar,dr,pr){var Tr=[];return 0<ot[0]||0<ot[1]?(Tr.push(["line",zt[1].start.x,zt[1].start.y]),zt[1].curveTo(Tr)):Tr.push(["line",Ue.c1[0],Ue.c1[1]]),0<it[0]||0<it[1]?(Tr.push(["line",dr[0].start.x,dr[0].start.y]),dr[0].curveTo(Tr),Tr.push(["line",pr[0].end.x,pr[0].end.y]),pr[0].curveToReversed(Tr)):(Tr.push(["line",Ue.c2[0],Ue.c2[1]]),Tr.push(["line",Ue.c3[0],Ue.c3[1]])),0<ot[0]||0<ot[1]?(Tr.push(["line",ar[1].end.x,ar[1].end.y]),ar[1].curveToReversed(Tr)):Tr.push(["line",Ue.c4[0],Ue.c4[1]]),Tr}function Je(Ue,ot,it,zt,ar,dr,pr){0<ot[0]||0<ot[1]?(Ue.push(["line",zt[0].start.x,zt[0].start.y]),zt[0].curveTo(Ue),zt[1].curveTo(Ue)):Ue.push(["line",dr,pr]),(0<it[0]||0<it[1])&&Ue.push(["line",ar[0].start.x,ar[0].start.y])}function Yt(Ue){return Ue.cssInt("zIndex")<0}function Ht(Ue){return 0<Ue.cssInt("zIndex")}function nr(Ue){return Ue.cssInt("zIndex")===0}function ir(Ue){return["inline","inline-block","inline-table"].indexOf(Ue.css("display"))!==-1}function Zt(Ue){return Ue instanceof ae}function Mt(Ue){return 0<Ue.node.data.trim().length}function pt(Ue){return Ue.nodeType===Node.TEXT_NODE||Ue.nodeType===Node.ELEMENT_NODE}function Tt(Ue){return Ue.css("position")!=="static"}function mt(Ue){return Ue.css("float")!=="none"}function Jt(Ue){var ot=this;return function(){return!Ue.apply(ot,arguments)}}function or(Ue){return Ue.node.nodeType===Node.ELEMENT_NODE}function ut(Ue){return Ue.isPseudoElement===!0}function ht(Ue){return Ue.node.nodeType===Node.TEXT_NODE}function qt(Ue){return parseInt(Ue,10)}function Nt(Ue){return Ue.width}function Qt(Ue){return Ue.node.nodeType!==Node.ELEMENT_NODE||["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(Ue.node.nodeName)===-1}function at(Ue){return[].concat.apply([],Ue)}Le.prototype.parseBorders=function(Ue){var ot,it=Ue.parseBounds(),zt=(ot=Ue,["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(pr){var Tr=ot.css("border"+pr+"Radius"),Lr=Tr.split(" ");return Lr.length<=1&&(Lr[1]=Lr[0]),Lr.map(qt)})),ar=["Top","Right","Bottom","Left"].map(function(pr,Tr){var Lr=Ue.css("border"+pr+"Style"),Yr=Ue.color("border"+pr+"Color");Lr==="inset"&&Yr.isBlack()&&(Yr=new ce([255,255,255,Yr.a]));var Jr=st[Lr]?st[Lr][Tr]:null;return{width:Ue.cssInt("border"+pr+"Width"),color:Jr?Yr[Jr[0]](Jr[1]):Yr,args:null}}),dr=Rt(it,zt,ar);return{clip:this.parseBackgroundClip(Ue,dr,ar,zt,it),borders:_t(ar,it,dr,zt)}},Le.prototype.parseBackgroundClip=function(Ue,ot,it,zt,ar){var dr=[];switch(Ue.css("backgroundClip")){case"content-box":case"padding-box":Je(dr,zt[0],zt[1],ot.topLeftInner,ot.topRightInner,ar.left+it[3].width,ar.top+it[0].width),Je(dr,zt[1],zt[2],ot.topRightInner,ot.bottomRightInner,ar.left+ar.width-it[1].width,ar.top+it[0].width),Je(dr,zt[2],zt[3],ot.bottomRightInner,ot.bottomLeftInner,ar.left+ar.width-it[1].width,ar.top+ar.height-it[2].width),Je(dr,zt[3],zt[0],ot.bottomLeftInner,ot.topLeftInner,ar.left+it[3].width,ar.top+ar.height-it[2].width);break;default:Je(dr,zt[0],zt[1],ot.topLeftOuter,ot.topRightOuter,ar.left,ar.top),Je(dr,zt[1],zt[2],ot.topRightOuter,ot.bottomRightOuter,ar.left+ar.width,ar.top),Je(dr,zt[2],zt[3],ot.bottomRightOuter,ot.bottomLeftOuter,ar.left+ar.width,ar.top+ar.height),Je(dr,zt[3],zt[0],ot.bottomLeftOuter,ot.topLeftOuter,ar.left,ar.top+ar.height)}return dr},te.exports=Le},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(pe,te,be){var xe=pe("./xhr"),Z=pe("./utils"),se=pe("./log"),he=pe("./clone"),Oe=Z.decode64;function ne(Te,je,qe){var Le="withCredentials"in new XMLHttpRequest;if(!je)return Promise.reject("No proxy configured");var ke=Ee(Le),tt=ye(je,Te,ke);return Le?xe(tt):ae(qe,tt,ke).then(function(st){return Oe(st.content)})}var ce=0;function ae(Te,je,qe){return new Promise(function(Le,ke){var tt=Te.createElement("script"),st=function(){delete window.html2canvas.proxy[qe],Te.body.removeChild(tt)};window.html2canvas.proxy[qe]=function(_t){st(),Le(_t)},tt.src=je,tt.onerror=function(_t){st(),ke(_t)},Te.body.appendChild(tt)})}function Ee(Te){return Te?"":"html2canvas_"+Date.now()+"_"+ ++ce+"_"+Math.round(1e5*Math.random())}function ye(Te,je,qe){return Te+"?url="+encodeURIComponent(je)+(qe.length?"&callback=html2canvas.proxy."+qe:"")}be.Proxy=ne,be.ProxyURL=function(Te,je,qe){var Le="crossOrigin"in new Image,ke=Ee(Le),tt=ye(je,Te,ke);return Le?Promise.resolve(tt):ae(qe,tt,ke).then(function(st){return"data:"+st.type+";base64,"+st.content})},be.loadUrlDocument=function(Te,je,qe,Le,ke,tt){return new ne(Te,je,window.document).then((st=Te,function(_t){var Ct,Rt=new DOMParser;try{Ct=Rt.parseFromString(_t,"text/html")}catch(Je){se("DOMParser not supported, falling back to createHTMLDocument"),Ct=document.implementation.createHTMLDocument("");try{Ct.open(),Ct.write(_t),Ct.close()}catch(Yt){se("createHTMLDocument write not supported, falling back to document.body.innerHTML"),Ct.body.innerHTML=_t}}var Wt=Ct.querySelector("base");if(!Wt||!Wt.href.host){var vt=Ct.createElement("base");vt.href=st,Ct.head.insertBefore(vt,Ct.head.firstChild)}return Ct})).then(function(_t){return he(_t,qe,Le,ke,tt,0,0)});var st}},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(pe,te,be){var xe=pe("./proxy").ProxyURL;te.exports=function(Z,se){var he=document.createElement("a");he.href=Z,Z=he.href,this.src=Z,this.image=new Image;var Oe=this;this.promise=new Promise(function(ne,ce){Oe.image.crossOrigin="Anonymous",Oe.image.onload=ne,Oe.image.onerror=ce,new xe(Z,se,document).then(function(ae){Oe.image.src=ae}).catch(ce)})}},{"./proxy":16}],18:[function(pe,te,be){var xe=pe("./nodecontainer");function Z(se,he,Oe){xe.call(this,se,he),this.isPseudoElement=!0,this.before=Oe===":before"}Z.prototype.cloneTo=function(se){Z.prototype.cloneTo.call(this,se),se.isPseudoElement=!0,se.before=this.before},(Z.prototype=Object.create(xe.prototype)).appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},Z.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},Z.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},Z.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",Z.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",te.exports=Z},{"./nodecontainer":14}],19:[function(pe,te,be){var xe=pe("./log");function Z(se,he,Oe,ne,ce){this.width=se,this.height=he,this.images=Oe,this.options=ne,this.document=ce}Z.prototype.renderImage=function(se,he,Oe,ne){var ce=se.cssInt("paddingLeft"),ae=se.cssInt("paddingTop"),Ee=se.cssInt("paddingRight"),ye=se.cssInt("paddingBottom"),Te=Oe.borders,je=he.width-(Te[1].width+Te[3].width+ce+Ee),qe=he.height-(Te[0].width+Te[2].width+ae+ye);this.drawImage(ne,0,0,ne.image.width||je,ne.image.height||qe,he.left+ce+Te[3].width,he.top+ae+Te[0].width,je,qe)},Z.prototype.renderBackground=function(se,he,Oe){0<he.height&&0<he.width&&(this.renderBackgroundColor(se,he),this.renderBackgroundImage(se,he,Oe))},Z.prototype.renderBackgroundColor=function(se,he){var Oe=se.color("backgroundColor");Oe.isTransparent()||this.rectangle(he.left,he.top,he.width,he.height,Oe)},Z.prototype.renderBorders=function(se){se.forEach(this.renderBorder,this)},Z.prototype.renderBorder=function(se){se.color.isTransparent()||se.args===null||this.drawShape(se.args,se.color)},Z.prototype.renderBackgroundImage=function(se,he,Oe){se.parseBackgroundImages().reverse().forEach(function(ne,ce,ae){switch(ne.method){case"url":var Ee=this.images.get(ne.args[0]);Ee?this.renderBackgroundRepeating(se,he,Ee,ae.length-(ce+1),Oe):xe("Error loading background-image",ne.args[0]);break;case"linear-gradient":case"gradient":var ye=this.images.get(ne.value);ye?this.renderBackgroundGradient(ye,he,Oe):xe("Error loading background-image",ne.args[0]);break;case"none":break;default:xe("Unknown background-image type",ne.args[0])}},this)},Z.prototype.renderBackgroundRepeating=function(se,he,Oe,ne,ce){var ae=se.parseBackgroundSize(he,Oe.image,ne),Ee=se.parseBackgroundPosition(he,Oe.image,ne,ae);switch(se.parseBackgroundRepeat(ne)){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(Oe,Ee,ae,he,he.left+ce[3],he.top+Ee.top+ce[0],99999,ae.height,ce);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(Oe,Ee,ae,he,he.left+Ee.left+ce[3],he.top+ce[0],ae.width,99999,ce);break;case"no-repeat":this.backgroundRepeatShape(Oe,Ee,ae,he,he.left+Ee.left+ce[3],he.top+Ee.top+ce[0],ae.width,ae.height,ce);break;default:this.renderBackgroundRepeat(Oe,Ee,ae,{top:he.top,left:he.left},ce[3],ce[0])}},te.exports=Z},{"./log":13}],20:[function(pe,te,be){var xe=pe("../renderer"),Z=pe("../lineargradientcontainer"),se=pe("../log");function he(ne,ce){xe.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=ne,this.canvas.height=ce),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},se("Initialized CanvasRenderer with size",ne,"x",ce)}function Oe(ne){return 0<ne.length}(he.prototype=Object.create(xe.prototype)).setFillStyle=function(ne){return this.ctx.fillStyle=typeof ne=="object"&&ne.isColor?ne.toString():ne,this.ctx},he.prototype.rectangle=function(ne,ce,ae,Ee,ye){this.setFillStyle(ye).fillRect(ne,ce,ae,Ee)},he.prototype.circle=function(ne,ce,ae,Ee){this.setFillStyle(Ee),this.ctx.beginPath(),this.ctx.arc(ne+ae/2,ce+ae/2,ae/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},he.prototype.circleStroke=function(ne,ce,ae,Ee,ye,Te){this.circle(ne,ce,ae,Ee),this.ctx.strokeStyle=Te.toString(),this.ctx.stroke()},he.prototype.drawShape=function(ne,ce){this.shape(ne),this.setFillStyle(ce).fill()},he.prototype.taints=function(ne){if(ne.tainted===null){this.taintCtx.drawImage(ne.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),ne.tainted=!1}catch(ce){this.taintCtx=document.createElement("canvas").getContext("2d"),ne.tainted=!0}}return ne.tainted},he.prototype.drawImage=function(ne,ce,ae,Ee,ye,Te,je,qe,Le){this.taints(ne)&&!this.options.allowTaint||this.ctx.drawImage(ne.image,ce,ae,Ee,ye,Te,je,qe,Le)},he.prototype.clip=function(ne,ce,ae){this.ctx.save(),ne.filter(Oe).forEach(function(Ee){this.shape(Ee).clip()},this),ce.call(ae),this.ctx.restore()},he.prototype.shape=function(ne){return this.ctx.beginPath(),ne.forEach(function(ce,ae){ce[0]==="rect"?this.ctx.rect.apply(this.ctx,ce.slice(1)):this.ctx[ae===0?"moveTo":ce[0]+"To"].apply(this.ctx,ce.slice(1))},this),this.ctx.closePath(),this.ctx},he.prototype.font=function(ne,ce,ae,Ee,ye,Te){this.setFillStyle(ne).font=[ce,ae,Ee,ye,Te].join(" ").split(",")[0]},he.prototype.fontShadow=function(ne,ce,ae,Ee){this.setVariable("shadowColor",ne.toString()).setVariable("shadowOffsetY",ce).setVariable("shadowOffsetX",ae).setVariable("shadowBlur",Ee)},he.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},he.prototype.setOpacity=function(ne){this.ctx.globalAlpha=ne},he.prototype.setTransform=function(ne){this.ctx.translate(ne.origin[0],ne.origin[1]),this.ctx.transform.apply(this.ctx,ne.matrix),this.ctx.translate(-ne.origin[0],-ne.origin[1])},he.prototype.setVariable=function(ne,ce){return this.variables[ne]!==ce&&(this.variables[ne]=this.ctx[ne]=ce),this},he.prototype.text=function(ne,ce,ae){this.ctx.fillText(ne,ce,ae)},he.prototype.backgroundRepeatShape=function(ne,ce,ae,Ee,ye,Te,je,qe,Le){var ke=[["line",Math.round(ye),Math.round(Te)],["line",Math.round(ye+je),Math.round(Te)],["line",Math.round(ye+je),Math.round(qe+Te)],["line",Math.round(ye),Math.round(qe+Te)]];this.clip([ke],function(){this.renderBackgroundRepeat(ne,ce,ae,Ee,Le[3],Le[0])},this)},he.prototype.renderBackgroundRepeat=function(ne,ce,ae,Ee,ye,Te){var je=Math.round(Ee.left+ce.left+ye),qe=Math.round(Ee.top+ce.top+Te);this.setFillStyle(this.ctx.createPattern(this.resizeImage(ne,ae),"repeat")),this.ctx.translate(je,qe),this.ctx.fill(),this.ctx.translate(-je,-qe)},he.prototype.renderBackgroundGradient=function(ne,ce){if(ne instanceof Z){var ae=this.ctx.createLinearGradient(ce.left+ce.width*ne.x0,ce.top+ce.height*ne.y0,ce.left+ce.width*ne.x1,ce.top+ce.height*ne.y1);ne.colorStops.forEach(function(Ee){ae.addColorStop(Ee.stop,Ee.color.toString())}),this.rectangle(ce.left,ce.top,ce.width,ce.height,ae)}},he.prototype.resizeImage=function(ne,ce){var ae=ne.image;if(ae.width===ce.width&&ae.height===ce.height)return ae;var Ee=document.createElement("canvas");return Ee.width=ce.width,Ee.height=ce.height,Ee.getContext("2d").drawImage(ae,0,0,ae.width,ae.height,0,0,ce.width,ce.height),Ee},te.exports=he},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(pe,te,be){var xe=pe("./nodecontainer");function Z(se,he,Oe,ne){xe.call(this,Oe,ne),this.ownStacking=se,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*he}(Z.prototype=Object.create(xe.prototype)).getParentStack=function(se){var he=this.parent?this.parent.stack:null;return he?he.ownStacking?he:he.getParentStack(se):se.stack},te.exports=Z},{"./nodecontainer":14}],22:[function(pe,te,be){function xe(Z){this.rangeBounds=this.testRangeBounds(Z),this.cors=this.testCORS(),this.svg=this.testSVG()}xe.prototype.testRangeBounds=function(Z){var se,he,Oe=!1;return Z.createRange&&(se=Z.createRange()).getBoundingClientRect&&((he=Z.createElement("boundtest")).style.height="123px",he.style.display="block",Z.body.appendChild(he),se.selectNode(he),se.getBoundingClientRect().height===123&&(Oe=!0),Z.body.removeChild(he)),Oe},xe.prototype.testCORS=function(){return new Image().crossOrigin!==void 0},xe.prototype.testSVG=function(){var Z=new Image,se=document.createElement("canvas"),he=se.getContext("2d");Z.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{he.drawImage(Z,0,0),se.toDataURL()}catch(Oe){return!1}return!0},te.exports=xe},{}],23:[function(pe,te,be){var xe=pe("./xhr"),Z=pe("./utils").decode64;function se(he){this.src=he,this.image=null;var Oe=this;this.promise=this.hasFabric().then(function(){return Oe.isInline(he)?Promise.resolve(Oe.inlineFormatting(he)):xe(he)}).then(function(ne){return new Promise(function(ce){window.html2canvas.svg.fabric.loadSVGFromString(ne,Oe.createCanvas.call(Oe,ce))})})}se.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},se.prototype.inlineFormatting=function(he){return/^data:image\/svg\+xml;base64,/.test(he)?this.decode64(this.removeContentType(he)):this.removeContentType(he)},se.prototype.removeContentType=function(he){return he.replace(/^data:image\/svg\+xml(;base64)?,/,"")},se.prototype.isInline=function(he){return/^data:image\/svg\+xml/i.test(he)},se.prototype.createCanvas=function(he){var Oe=this;return function(ne,ce){var ae=new window.html2canvas.svg.fabric.StaticCanvas("c");Oe.image=ae.lowerCanvasEl,ae.setWidth(ce.width).setHeight(ce.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(ne,ce)).renderAll(),he(ae.lowerCanvasEl)}},se.prototype.decode64=function(he){return typeof window.atob=="function"?window.atob(he):Z(he)},te.exports=se},{"./utils":26,"./xhr":28}],24:[function(pe,te,be){var xe=pe("./svgcontainer");function Z(se,he){this.src=se,this.image=null;var Oe=this;this.promise=he?new Promise(function(ne,ce){Oe.image=new Image,Oe.image.onload=ne,Oe.image.onerror=ce,Oe.image.src="data:image/svg+xml,"+new XMLSerializer().serializeToString(se),Oe.image.complete===!0&&ne(Oe.image)}):this.hasFabric().then(function(){return new Promise(function(ne){window.html2canvas.svg.fabric.parseSVGDocument(se,Oe.createCanvas.call(Oe,ne))})})}Z.prototype=Object.create(xe.prototype),te.exports=Z},{"./svgcontainer":23}],25:[function(pe,te,be){var xe=pe("./nodecontainer");function Z(he,Oe){xe.call(this,he,Oe)}function se(he,Oe,ne){if(0<he.length)return Oe+ne.toUpperCase()}(Z.prototype=Object.create(xe.prototype)).applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},Z.prototype.transform=function(he){var Oe=this.node.data;switch(he){case"lowercase":return Oe.toLowerCase();case"capitalize":return Oe.replace(/(^|\s|:|-|\(|\))([a-z])/g,se);case"uppercase":return Oe.toUpperCase();default:return Oe}},te.exports=Z},{"./nodecontainer":14}],26:[function(pe,te,be){be.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},be.bind=function(xe,Z){return function(){return xe.apply(Z,arguments)}},be.decode64=function(xe){var Z,se,he,Oe,ne,ce,ae,Ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ye=xe.length,Te="";for(Z=0;Z<ye;Z+=4)ne=Ee.indexOf(xe[Z])<<2|(se=Ee.indexOf(xe[Z+1]))>>4,ce=(15&se)<<4|(he=Ee.indexOf(xe[Z+2]))>>2,ae=(3&he)<<6|(Oe=Ee.indexOf(xe[Z+3])),Te+=he===64?String.fromCharCode(ne):Oe===64||Oe===-1?String.fromCharCode(ne,ce):String.fromCharCode(ne,ce,ae);return Te},be.getBounds=function(xe){if(xe.getBoundingClientRect){var Z=xe.getBoundingClientRect(),se=xe.offsetWidth==null?Z.width:xe.offsetWidth;return{top:Z.top,bottom:Z.bottom||Z.top+Z.height,right:Z.left+se,left:Z.left,width:se,height:xe.offsetHeight==null?Z.height:xe.offsetHeight}}return{}},be.offsetBounds=function(xe){var Z=xe.offsetParent?be.offsetBounds(xe.offsetParent):{top:0,left:0};return{top:xe.offsetTop+Z.top,bottom:xe.offsetTop+xe.offsetHeight+Z.top,right:xe.offsetLeft+Z.left+xe.offsetWidth,left:xe.offsetLeft+Z.left,width:xe.offsetWidth,height:xe.offsetHeight}},be.parseBackgrounds=function(xe){var Z,se,he,Oe,ne,ce,ae,Ee=[],ye=0,Te=0,je=function(){Z&&(se.substr(0,1)==='"'&&(se=se.substr(1,se.length-2)),se&&ae.push(se),Z.substr(0,1)==="-"&&0<(Oe=Z.indexOf("-",1)+1)&&(he=Z.substr(0,Oe),Z=Z.substr(Oe)),Ee.push({prefix:he,method:Z.toLowerCase(),value:ne,args:ae,image:null})),ae=[],Z=he=se=ne=""};return ae=[],Z=he=se=ne="",xe.split("").forEach(function(qe){if(!(ye===0&&-1<` \r
|
|
|
`.indexOf(qe))){switch(qe){case'"':ce?ce===qe&&(ce=null):ce=qe;break;case"(":if(ce)break;if(ye===0)return ye=1,void(ne+=qe);Te++;break;case")":if(ce)break;if(ye===1){if(Te===0)return ye=0,ne+=qe,void je();Te--}break;case",":if(ce)break;if(ye===0)return void je();if(ye===1&&Te===0&&!Z.match(/^url$/i))return ae.push(se),se="",void(ne+=qe)}ne+=qe,ye===0?Z+=qe:se+=qe}}),je(),Ee}},{}],27:[function(pe,te,be){var xe=pe("./gradientcontainer");function Z(se){xe.apply(this,arguments),this.type=se.args[0]==="linear"?xe.TYPES.LINEAR:xe.TYPES.RADIAL}Z.prototype=Object.create(xe.prototype),te.exports=Z},{"./gradientcontainer":9}],28:[function(pe,te,be){te.exports=function(xe){return new Promise(function(Z,se){var he=new XMLHttpRequest;he.open("GET",xe),he.onload=function(){he.status===200?Z(he.responseText):se(new Error(he.statusText))},he.onerror=function(){se(new Error("Network Error"))},he.send()})}},{}]},{},[4])(4)}),function(pe){var te="+".charCodeAt(0),be="/".charCodeAt(0),xe="0".charCodeAt(0),Z="a".charCodeAt(0),se="A".charCodeAt(0),he="-".charCodeAt(0),Oe="_".charCodeAt(0),ne=function(Mt){var pt=Mt.charCodeAt(0);return pt===te||pt===he?62:pt===be||pt===Oe?63:pt<xe?-1:pt<xe+10?pt-xe+26+26:pt<se+26?pt-se:pt<Z+26?pt-Z+26:void 0};pe.API.TTFFont=function(){function Zt(Mt,pt,Tt){var mt;if(this.rawData=Mt,mt=this.contents=new ae(Mt),this.contents.pos=4,mt.readString(4)==="ttcf")throw pt?new Error("Font "+pt+" not found in TTC file."):new Error("Must specify a font name for TTC files.");mt.pos=0,this.parse(),this.subset=new ir(this),this.registerTTF()}return Zt.open=function(Mt,pt,Tt,mt){return new Zt(function(Jt){var or,ut,ht,qt,Nt,Qt;if(0<Jt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var at=Jt.length;Nt=Jt.charAt(at-2)==="="?2:Jt.charAt(at-1)==="="?1:0,Qt=new Uint8Array(3*Jt.length/4-Nt),ht=0<Nt?Jt.length-4:Jt.length;var Ue=0;function ot(it){Qt[Ue++]=it}for(ut=or=0;or<ht;or+=4,ut+=3)ot((16711680&(qt=ne(Jt.charAt(or))<<18|ne(Jt.charAt(or+1))<<12|ne(Jt.charAt(or+2))<<6|ne(Jt.charAt(or+3))))>>16),ot((65280&qt)>>8),ot(255&qt);return Nt===2?ot(255&(qt=ne(Jt.charAt(or))<<2|ne(Jt.charAt(or+1))>>4)):Nt===1&&(ot((qt=ne(Jt.charAt(or))<<10|ne(Jt.charAt(or+1))<<4|ne(Jt.charAt(or+2))>>2)>>8&255),ot(255&qt)),Qt}(Tt),pt,mt)},Zt.prototype.parse=function(){return this.directory=new Ee(this.contents),this.head=new je(this),this.name=new Ct(this),this.cmap=new Le(this),this.hhea=new ke(this),this.maxp=new Rt(this),this.hmtx=new Wt(this),this.post=new st(this),this.os2=new tt(this),this.loca=new nr(this),this.glyf=new Je(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]},Zt.prototype.registerTTF=function(){var Mt,pt,Tt,mt,Jt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var or,ut,ht,qt;for(qt=[],or=0,ut=(ht=this.bbox).length;or<ut;or++)Mt=ht[or],qt.push(Math.round(Mt*this.scaleFactor));return qt}.call(this),this.stemV=0,this.post.exists?(Tt=255&(mt=this.post.italic_angle),!0&(pt=mt>>16)&&(pt=-(1+(65535^pt))),this.italicAngle=+(pt+"."+Tt)):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=(Jt=this.familyClass)===1||Jt===2||Jt===3||Jt===4||Jt===5||Jt===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")},Zt.prototype.characterToGlyph=function(Mt){var pt;return((pt=this.cmap.unicode)!=null?pt.codeMap[Mt]:void 0)||0},Zt.prototype.widthOfGlyph=function(Mt){var pt;return pt=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Mt).advance*pt},Zt.prototype.widthOfString=function(Mt,pt,Tt){var mt,Jt,or,ut,ht;for(Jt=ut=or=0,ht=(Mt=""+Mt).length;0<=ht?ut<ht:ht<ut;Jt=0<=ht?++ut:--ut)mt=Mt.charCodeAt(Jt),or+=this.widthOfGlyph(this.characterToGlyph(mt))+Tt*(1e3/pt)||0;return or*(pt/1e3)},Zt.prototype.lineHeight=function(Mt,pt){var Tt;return pt==null&&(pt=!1),Tt=pt?this.lineGap:0,(this.ascender+Tt-this.decender)/1e3*Mt},Zt}();var ce,ae=function(){function Zt(Mt){this.data=Mt!=null?Mt:[],this.pos=0,this.length=this.data.length}return Zt.prototype.readByte=function(){return this.data[this.pos++]},Zt.prototype.writeByte=function(Mt){return this.data[this.pos++]=Mt},Zt.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Zt.prototype.writeUInt32=function(Mt){return this.writeByte(Mt>>>24&255),this.writeByte(Mt>>16&255),this.writeByte(Mt>>8&255),this.writeByte(255&Mt)},Zt.prototype.readInt32=function(){var Mt;return 2147483648<=(Mt=this.readUInt32())?Mt-4294967296:Mt},Zt.prototype.writeInt32=function(Mt){return Mt<0&&(Mt+=4294967296),this.writeUInt32(Mt)},Zt.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Zt.prototype.writeUInt16=function(Mt){return this.writeByte(Mt>>8&255),this.writeByte(255&Mt)},Zt.prototype.readInt16=function(){var Mt;return 32768<=(Mt=this.readUInt16())?Mt-65536:Mt},Zt.prototype.writeInt16=function(Mt){return Mt<0&&(Mt+=65536),this.writeUInt16(Mt)},Zt.prototype.readString=function(Mt){var pt,Tt,mt;for(Tt=[],pt=mt=0;0<=Mt?mt<Mt:Mt<mt;pt=0<=Mt?++mt:--mt)Tt[pt]=String.fromCharCode(this.readByte());return Tt.join("")},Zt.prototype.writeString=function(Mt){var pt,Tt,mt,Jt;for(Jt=[],pt=Tt=0,mt=Mt.length;0<=mt?Tt<mt:mt<Tt;pt=0<=mt?++Tt:--Tt)Jt.push(this.writeByte(Mt.charCodeAt(pt)));return Jt},Zt.prototype.readShort=function(){return this.readInt16()},Zt.prototype.writeShort=function(Mt){return this.writeInt16(Mt)},Zt.prototype.readLongLong=function(){var Mt,pt,Tt,mt,Jt,or,ut,ht;return Mt=this.readByte(),pt=this.readByte(),Tt=this.readByte(),mt=this.readByte(),Jt=this.readByte(),or=this.readByte(),ut=this.readByte(),ht=this.readByte(),128&Mt?-1*(72057594037927940*(255^Mt)+281474976710656*(255^pt)+1099511627776*(255^Tt)+4294967296*(255^mt)+16777216*(255^Jt)+65536*(255^or)+256*(255^ut)+(255^ht)+1):72057594037927940*Mt+281474976710656*pt+1099511627776*Tt+4294967296*mt+16777216*Jt+65536*or+256*ut+ht},Zt.prototype.readInt=function(){return this.readInt32()},Zt.prototype.writeInt=function(Mt){return this.writeInt32(Mt)},Zt.prototype.read=function(Mt){var pt,Tt;for(pt=[],Tt=0;0<=Mt?Tt<Mt:Mt<Tt;0<=Mt?++Tt:--Tt)pt.push(this.readByte());return pt},Zt.prototype.write=function(Mt){var pt,Tt,mt,Jt;for(Jt=[],Tt=0,mt=Mt.length;Tt<mt;Tt++)pt=Mt[Tt],Jt.push(this.writeByte(pt));return Jt},Zt}(),Ee=function(){var Zt;function Mt(pt){var Tt,mt,Jt;for(this.scalarType=pt.readInt(),this.tableCount=pt.readShort(),this.searchRange=pt.readShort(),this.entrySelector=pt.readShort(),this.rangeShift=pt.readShort(),this.tables={},mt=0,Jt=this.tableCount;0<=Jt?mt<Jt:Jt<mt;0<=Jt?++mt:--mt)Tt={tag:pt.readString(4),checksum:pt.readInt(),offset:pt.readInt(),length:pt.readInt()},this.tables[Tt.tag]=Tt}return Mt.prototype.encode=function(pt){var Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot,it;for(it in Ue=Object.keys(pt).length,ht=Math.log(2),Qt=16*Math.floor(Math.log(Ue)/ht),or=Math.floor(Qt/ht),Nt=16*Ue-Qt,(mt=new ae).writeInt(this.scalarType),mt.writeShort(Ue),mt.writeShort(Qt),mt.writeShort(or),mt.writeShort(Nt),Jt=16*Ue,qt=mt.pos+Jt,ut=null,ot=[],pt)for(at=pt[it],mt.writeString(it),mt.writeInt(Zt(at)),mt.writeInt(qt),mt.writeInt(at.length),ot=ot.concat(at),it==="head"&&(ut=qt),qt+=at.length;qt%4;)ot.push(0),qt++;return mt.write(ot),Tt=2981146554-Zt(mt.data),mt.pos=ut+8,mt.writeUInt32(Tt),mt.data},Zt=function(Tt){var mt,Jt,or,ut;for(Tt=vt.call(Tt);Tt.length%4;)Tt.push(0);for(Jt=new ae(Tt),or=mt=0,ut=Tt.length;or<ut;or+=4)mt+=Jt.readUInt32();return 4294967295&mt},Mt}(),ye={}.hasOwnProperty,Te=function(Mt,pt){for(var Tt in pt)ye.call(pt,Tt)&&(Mt[Tt]=pt[Tt]);function mt(){this.constructor=Mt}return mt.prototype=pt.prototype,Mt.prototype=new mt,Mt.__super__=pt.prototype,Mt};ce=function(){function Zt(Mt){var pt;this.file=Mt,pt=this.file.directory.tables[this.tag],this.exists=!!pt,pt&&(this.offset=pt.offset,this.length=pt.length,this.parse(this.file.contents))}return Zt.prototype.parse=function(){},Zt.prototype.encode=function(){},Zt.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Zt}();var je=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="head",Mt.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.revision=pt.readInt(),this.checkSumAdjustment=pt.readInt(),this.magicNumber=pt.readInt(),this.flags=pt.readShort(),this.unitsPerEm=pt.readShort(),this.created=pt.readLongLong(),this.modified=pt.readLongLong(),this.xMin=pt.readShort(),this.yMin=pt.readShort(),this.xMax=pt.readShort(),this.yMax=pt.readShort(),this.macStyle=pt.readShort(),this.lowestRecPPEM=pt.readShort(),this.fontDirectionHint=pt.readShort(),this.indexToLocFormat=pt.readShort(),this.glyphDataFormat=pt.readShort()},Mt}(),qe=function(){function Zt(Mt,pt){var Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt,ar,dr,pr,Tr;switch(this.platformID=Mt.readUInt16(),this.encodingID=Mt.readShort(),this.offset=pt+Mt.readInt(),Qt=Mt.pos,Mt.pos=this.offset,this.format=Mt.readUInt16(),this.length=Mt.readUInt16(),this.language=Mt.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(ht=ar=0;ar<256;ht=++ar)this.codeMap[ht]=Mt.readByte();break;case 4:for(Ue=Mt.readUInt16(),at=Ue/2,Mt.pos+=6,Jt=function(){var Lr,Yr;for(Yr=[],ht=Lr=0;0<=at?Lr<at:at<Lr;ht=0<=at?++Lr:--Lr)Yr.push(Mt.readUInt16());return Yr}(),Mt.pos+=2,it=function(){var Lr,Yr;for(Yr=[],ht=Lr=0;0<=at?Lr<at:at<Lr;ht=0<=at?++Lr:--Lr)Yr.push(Mt.readUInt16());return Yr}(),qt=function(){var Lr,Yr;for(Yr=[],ht=Lr=0;0<=at?Lr<at:at<Lr;ht=0<=at?++Lr:--Lr)Yr.push(Mt.readUInt16());return Yr}(),Nt=function(){var Lr,Yr;for(Yr=[],ht=Lr=0;0<=at?Lr<at:at<Lr;ht=0<=at?++Lr:--Lr)Yr.push(Mt.readUInt16());return Yr}(),mt=(this.length-Mt.pos+this.offset)/2,ut=function(){var Lr,Yr;for(Yr=[],ht=Lr=0;0<=mt?Lr<mt:mt<Lr;ht=0<=mt?++Lr:--Lr)Yr.push(Mt.readUInt16());return Yr}(),ht=dr=0,Tr=Jt.length;dr<Tr;ht=++dr)for(zt=Jt[ht],Tt=pr=ot=it[ht];ot<=zt?pr<=zt:zt<=pr;Tt=ot<=zt?++pr:--pr)Nt[ht]===0?or=Tt+qt[ht]:(or=ut[Nt[ht]/2+(Tt-ot)-(at-ht)]||0)!==0&&(or+=qt[ht]),this.codeMap[Tt]=65535&or}Mt.pos=Qt}return Zt.encode=function(Mt,pt){var Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt,ar,dr,pr,Tr,Lr,Yr,Jr,hn,yr,zn,xn,In,Qn,Cn,bn,Wn,Vn,oa,kr,kn,Pn,Ma,Oa,ba,La,Hn,Ir,xr,Xr,Cr,Hr,Fr;switch(Cn=new ae,or=Object.keys(Mt).sort(function(jr,wr){return jr-wr}),pt){case"macroman":for(it=0,zt=function(){var jr,wr;for(wr=[],ot=jr=0;jr<256;ot=++jr)wr.push(0);return wr}(),dr={0:0},Jt={},bn=0,kr=or.length;bn<kr;bn++)dr[Xr=Mt[mt=or[bn]]]==null&&(dr[Xr]=++it),Jt[mt]={old:Mt[mt],new:dr[Mt[mt]]},zt[mt]=dr[Mt[mt]];return Cn.writeUInt16(1),Cn.writeUInt16(0),Cn.writeUInt32(12),Cn.writeUInt16(0),Cn.writeUInt16(262),Cn.writeUInt16(0),Cn.write(zt),{charMap:Jt,subtable:Cn.data,maxGlyphID:it+1};case"unicode":for(In=[],Qt=[],dr={},Tt={},ar=qt=null,Wn=pr=0,kn=or.length;Wn<kn;Wn++)dr[Lr=Mt[mt=or[Wn]]]==null&&(dr[Lr]=++pr),Tt[mt]={old:Lr,new:dr[Lr]},ut=dr[Lr]-mt,ar!=null&&ut===qt||(ar&&Qt.push(ar),In.push(mt),qt=ut),ar=mt;for(ar&&Qt.push(ar),Qt.push(65535),In.push(65535),zn=2*(yr=In.length),hn=2*Math.pow(Math.log(yr)/Math.LN2,2),at=Math.log(hn/2)/Math.LN2,Jr=2*yr-hn,ht=[],Yr=[],Ue=[],ot=Vn=0,Pn=In.length;Vn<Pn;ot=++Vn){if(xn=In[ot],Nt=Qt[ot],xn===65535){ht.push(0),Yr.push(0);break}if(32768<=xn-(Qn=Tt[xn].new))for(ht.push(0),Yr.push(2*(Ue.length+yr-ot)),mt=oa=xn;xn<=Nt?oa<=Nt:Nt<=oa;mt=xn<=Nt?++oa:--oa)Ue.push(Tt[mt].new);else ht.push(Qn-xn),Yr.push(0)}for(Cn.writeUInt16(3),Cn.writeUInt16(1),Cn.writeUInt32(12),Cn.writeUInt16(4),Cn.writeUInt16(16+8*yr+2*Ue.length),Cn.writeUInt16(0),Cn.writeUInt16(zn),Cn.writeUInt16(hn),Cn.writeUInt16(at),Cn.writeUInt16(Jr),Ir=0,Ma=Qt.length;Ir<Ma;Ir++)mt=Qt[Ir],Cn.writeUInt16(mt);for(Cn.writeUInt16(0),xr=0,Oa=In.length;xr<Oa;xr++)mt=In[xr],Cn.writeUInt16(mt);for(Cr=0,ba=ht.length;Cr<ba;Cr++)ut=ht[Cr],Cn.writeUInt16(ut);for(Hr=0,La=Yr.length;Hr<La;Hr++)Tr=Yr[Hr],Cn.writeUInt16(Tr);for(Fr=0,Hn=Ue.length;Fr<Hn;Fr++)it=Ue[Fr],Cn.writeUInt16(it);return{charMap:Tt,subtable:Cn.data,maxGlyphID:pr+1}}},Zt}(),Le=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="cmap",Mt.prototype.parse=function(pt){var Tt,mt,Jt;for(pt.pos=this.offset,this.version=pt.readUInt16(),mt=pt.readUInt16(),this.tables=[],this.unicode=null,Jt=0;0<=mt?Jt<mt:mt<Jt;0<=mt?++Jt:--Jt)Tt=new qe(pt,this.offset),this.tables.push(Tt),Tt.isUnicode&&this.unicode==null&&(this.unicode=Tt);return!0},Mt.encode=function(pt,Tt){var mt,Jt;return Tt==null&&(Tt="macroman"),mt=qe.encode(pt,Tt),(Jt=new ae).writeUInt16(0),Jt.writeUInt16(1),mt.table=Jt.data.concat(mt.subtable),mt},Mt}(),ke=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="hhea",Mt.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.ascender=pt.readShort(),this.decender=pt.readShort(),this.lineGap=pt.readShort(),this.advanceWidthMax=pt.readShort(),this.minLeftSideBearing=pt.readShort(),this.minRightSideBearing=pt.readShort(),this.xMaxExtent=pt.readShort(),this.caretSlopeRise=pt.readShort(),this.caretSlopeRun=pt.readShort(),this.caretOffset=pt.readShort(),pt.pos+=8,this.metricDataFormat=pt.readShort(),this.numberOfMetrics=pt.readUInt16()},Mt}(),tt=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="OS/2",Mt.prototype.parse=function(pt){if(pt.pos=this.offset,this.version=pt.readUInt16(),this.averageCharWidth=pt.readShort(),this.weightClass=pt.readUInt16(),this.widthClass=pt.readUInt16(),this.type=pt.readShort(),this.ySubscriptXSize=pt.readShort(),this.ySubscriptYSize=pt.readShort(),this.ySubscriptXOffset=pt.readShort(),this.ySubscriptYOffset=pt.readShort(),this.ySuperscriptXSize=pt.readShort(),this.ySuperscriptYSize=pt.readShort(),this.ySuperscriptXOffset=pt.readShort(),this.ySuperscriptYOffset=pt.readShort(),this.yStrikeoutSize=pt.readShort(),this.yStrikeoutPosition=pt.readShort(),this.familyClass=pt.readShort(),this.panose=function(){var Tt,mt;for(mt=[],Tt=0;Tt<10;++Tt)mt.push(pt.readByte());return mt}(),this.charRange=function(){var Tt,mt;for(mt=[],Tt=0;Tt<4;++Tt)mt.push(pt.readInt());return mt}(),this.vendorID=pt.readString(4),this.selection=pt.readShort(),this.firstCharIndex=pt.readShort(),this.lastCharIndex=pt.readShort(),0<this.version&&(this.ascent=pt.readShort(),this.descent=pt.readShort(),this.lineGap=pt.readShort(),this.winAscent=pt.readShort(),this.winDescent=pt.readShort(),this.codePageRange=function(){var Tt,mt;for(mt=[],Tt=0;Tt<2;++Tt)mt.push(pt.readInt());return mt}(),1<this.version))return this.xHeight=pt.readShort(),this.capHeight=pt.readShort(),this.defaultChar=pt.readShort(),this.breakChar=pt.readShort(),this.maxContext=pt.readShort()},Mt}(),st=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="post",Mt.prototype.parse=function(pt){var Tt,mt,Jt,or;switch(pt.pos=this.offset,this.format=pt.readInt(),this.italicAngle=pt.readInt(),this.underlinePosition=pt.readShort(),this.underlineThickness=pt.readShort(),this.isFixedPitch=pt.readInt(),this.minMemType42=pt.readInt(),this.maxMemType42=pt.readInt(),this.minMemType1=pt.readInt(),this.maxMemType1=pt.readInt(),this.format){case 65536:break;case 131072:for(mt=pt.readUInt16(),this.glyphNameIndex=[],Jt=0;0<=mt?Jt<mt:mt<Jt;0<=mt?++Jt:--Jt)this.glyphNameIndex.push(pt.readUInt16());for(this.names=[],or=[];pt.pos<this.offset+this.length;)Tt=pt.readByte(),or.push(this.names.push(pt.readString(Tt)));return or;case 151552:return mt=pt.readUInt16(),this.offsets=pt.read(mt);case 196608:break;case 262144:return this.map=function(){var ut,ht,qt;for(qt=[],ut=0,ht=this.file.maxp.numGlyphs;0<=ht?ut<ht:ht<ut;0<=ht?++ut:--ut)qt.push(pt.readUInt32());return qt}.call(this)}},Mt}(),_t=function(Mt,pt){this.raw=Mt,this.length=Mt.length,this.platformID=pt.platformID,this.encodingID=pt.encodingID,this.languageID=pt.languageID},Ct=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="name",Mt.prototype.parse=function(pt){var Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot;for(pt.pos=this.offset,pt.readShort(),Tt=pt.readShort(),ht=pt.readShort(),mt=[],or=Qt=0;0<=Tt?Qt<Tt:Tt<Qt;or=0<=Tt?++Qt:--Qt)mt.push({platformID:pt.readShort(),encodingID:pt.readShort(),languageID:pt.readShort(),nameID:pt.readShort(),length:pt.readShort(),offset:this.offset+ht+pt.readShort()});for(qt={},or=at=0,Ue=mt.length;at<Ue;or=++at)Jt=mt[or],pt.pos=Jt.offset,Nt=pt.readString(Jt.length),ut=new _t(Nt,Jt),qt[ot=Jt.nameID]==null&&(qt[ot]=[]),qt[Jt.nameID].push(ut);return this.strings=qt,this.copyright=qt[0],this.fontFamily=qt[1],this.fontSubfamily=qt[2],this.uniqueSubfamily=qt[3],this.fontName=qt[4],this.version=qt[5],this.postscriptName=qt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,""),this.trademark=qt[7],this.manufacturer=qt[8],this.designer=qt[9],this.description=qt[10],this.vendorUrl=qt[11],this.designerUrl=qt[12],this.license=qt[13],this.licenseUrl=qt[14],this.preferredFamily=qt[15],this.preferredSubfamily=qt[17],this.compatibleFull=qt[18],this.sampleText=qt[19]},Mt}(),Rt=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="maxp",Mt.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.numGlyphs=pt.readUInt16(),this.maxPoints=pt.readUInt16(),this.maxContours=pt.readUInt16(),this.maxCompositePoints=pt.readUInt16(),this.maxComponentContours=pt.readUInt16(),this.maxZones=pt.readUInt16(),this.maxTwilightPoints=pt.readUInt16(),this.maxStorage=pt.readUInt16(),this.maxFunctionDefs=pt.readUInt16(),this.maxInstructionDefs=pt.readUInt16(),this.maxStackElements=pt.readUInt16(),this.maxSizeOfInstructions=pt.readUInt16(),this.maxComponentElements=pt.readUInt16(),this.maxComponentDepth=pt.readUInt16()},Mt}(),Wt=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="hmtx",Mt.prototype.parse=function(pt){var Tt,mt,Jt,or,ut,ht,qt;for(pt.pos=this.offset,this.metrics=[],or=0,ht=this.file.hhea.numberOfMetrics;0<=ht?or<ht:ht<or;0<=ht?++or:--or)this.metrics.push({advance:pt.readUInt16(),lsb:pt.readInt16()});for(mt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Nt,Qt;for(Qt=[],Nt=0;0<=mt?Nt<mt:mt<Nt;0<=mt?++Nt:--Nt)Qt.push(pt.readInt16());return Qt}(),this.widths=function(){var Nt,Qt,at,Ue;for(Ue=[],Nt=0,Qt=(at=this.metrics).length;Nt<Qt;Nt++)Jt=at[Nt],Ue.push(Jt.advance);return Ue}.call(this),Tt=this.widths[this.widths.length-1],qt=[],ut=0;0<=mt?ut<mt:mt<ut;0<=mt?++ut:--ut)qt.push(this.widths.push(Tt));return qt},Mt.prototype.forGlyph=function(pt){return pt in this.metrics?this.metrics[pt]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[pt-this.metrics.length]}},Mt}(),vt=[].slice,Je=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="glyf",Mt.prototype.parse=function(pt){return this.cache={}},Mt.prototype.glyphFor=function(pt){var Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at;return(pt=pt)in this.cache?this.cache[pt]:(or=this.file.loca,Tt=this.file.contents,mt=or.indexOf(pt),(Jt=or.lengthOf(pt))===0?this.cache[pt]=null:(Tt.pos=this.offset+mt,ut=(ht=new ae(Tt.read(Jt))).readShort(),Nt=ht.readShort(),at=ht.readShort(),qt=ht.readShort(),Qt=ht.readShort(),this.cache[pt]=ut===-1?new Ht(ht,Nt,at,qt,Qt):new Yt(ht,ut,Nt,at,qt,Qt),this.cache[pt]))},Mt.prototype.encode=function(pt,Tt,mt){var Jt,or,ut,ht,qt;for(ut=[],or=[],ht=0,qt=Tt.length;ht<qt;ht++)Jt=pt[Tt[ht]],or.push(ut.length),Jt&&(ut=ut.concat(Jt.encode(mt)));return or.push(ut.length),{table:ut,offsets:or}},Mt}(),Yt=function(){function Zt(Mt,pt,Tt,mt,Jt,or){this.raw=Mt,this.numberOfContours=pt,this.xMin=Tt,this.yMin=mt,this.xMax=Jt,this.yMax=or,this.compound=!1}return Zt.prototype.encode=function(){return this.raw.data},Zt}(),Ht=function(){function Zt(Mt,pt,Tt,mt,Jt){var or,ut;for(this.raw=Mt,this.xMin=pt,this.yMin=Tt,this.xMax=mt,this.yMax=Jt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],or=this.raw;ut=or.readShort(),this.glyphOffsets.push(or.pos),this.glyphIDs.push(or.readShort()),32&ut;)or.pos+=1&ut?4:2,128&ut?or.pos+=8:64&ut?or.pos+=4:8&ut&&(or.pos+=2)}return Zt.prototype.encode=function(Mt){var pt,Tt,mt,Jt,or;for(Tt=new ae(vt.call(this.raw.data)),pt=mt=0,Jt=(or=this.glyphIDs).length;mt<Jt;pt=++mt)or[pt],Tt.pos=this.glyphOffsets[pt];return Tt.data},Zt}(),nr=function(Zt){function Mt(){return Mt.__super__.constructor.apply(this,arguments)}return Te(Mt,ce),Mt.prototype.tag="loca",Mt.prototype.parse=function(pt){var Tt;return pt.pos=this.offset,Tt=this.file.head.indexToLocFormat,this.offsets=Tt===0?function(){var mt,Jt,or;for(or=[],mt=0,Jt=this.length;mt<Jt;mt+=2)or.push(2*pt.readUInt16());return or}.call(this):function(){var mt,Jt,or;for(or=[],mt=0,Jt=this.length;mt<Jt;mt+=4)or.push(pt.readUInt32());return or}.call(this)},Mt.prototype.indexOf=function(pt){return this.offsets[pt]},Mt.prototype.lengthOf=function(pt){return this.offsets[pt+1]-this.offsets[pt]},Mt.prototype.encode=function(pt,Tt){for(var mt=new Uint32Array(this.offsets.length),Jt=0,or=0,ut=0;ut<mt.length;++ut)if(mt[ut]=Jt,or<Tt.length&&Tt[or]==ut){++or,mt[ut]=Jt;var ht=this.offsets[ut],qt=this.offsets[ut+1]-ht;0<qt&&(Jt+=qt)}for(var Nt=new Array(4*mt.length),Qt=0;Qt<mt.length;++Qt)Nt[4*Qt+3]=255&mt[Qt],Nt[4*Qt+2]=(65280&mt[Qt])>>8,Nt[4*Qt+1]=(16711680&mt[Qt])>>16,Nt[4*Qt]=(4278190080&mt[Qt])>>24;return Nt},Mt}(),ir=function(){function Zt(Mt){this.font=Mt,this.subset={},this.unicodes={},this.next=33}return Zt.prototype.generateCmap=function(){var Mt,pt,Tt,mt,Jt;for(pt in mt=this.font.cmap.tables[0].codeMap,Mt={},Jt=this.subset)Tt=Jt[pt],Mt[pt]=mt[Tt];return Mt},Zt.prototype.glyphsFor=function(Mt){var pt,Tt,mt,Jt,or,ut,ht;for(mt={},or=0,ut=Mt.length;or<ut;or++)mt[Jt=Mt[or]]=this.font.glyf.glyphFor(Jt);for(Jt in pt=[],mt)((Tt=mt[Jt])!=null?Tt.compound:void 0)&&pt.push.apply(pt,Tt.glyphIDs);if(0<pt.length)for(Jt in ht=this.glyphsFor(pt))Tt=ht[Jt],mt[Jt]=Tt;return mt},Zt.prototype.encode=function(Mt){var pt,Tt,mt,Jt,or,ut,ht,qt,Nt,Qt,at,Ue,ot,it,zt;for(Tt in pt=Le.encode(this.generateCmap(),"unicode"),Jt=this.glyphsFor(Mt),at={0:0},zt=pt.charMap)at[(ut=zt[Tt]).old]=ut.new;for(Ue in Qt=pt.maxGlyphID,Jt)Ue in at||(at[Ue]=Qt++);return qt=function(ar){var dr,pr;for(dr in pr={},ar)pr[ar[dr]]=dr;return pr}(at),Nt=Object.keys(qt).sort(function(ar,dr){return ar-dr}),ot=function(){var ar,dr,pr;for(pr=[],ar=0,dr=Nt.length;ar<dr;ar++)or=Nt[ar],pr.push(qt[or]);return pr}(),mt=this.font.glyf.encode(Jt,ot,at),ht=this.font.loca.encode(mt.offsets,ot),it={cmap:this.font.cmap.raw(),glyf:mt.table,loca:ht,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.raw()},this.font.os2.exists&&(it["OS/2"]=this.font.os2.raw()),this.font.directory.encode(it)},Zt}();pe.API.PDFObject=function(){var Zt;function Mt(){}return Zt=function(Tt,mt){return(Array(mt+1).join("0")+Tt).slice(-mt)},Mt.convert=function(pt){var Tt,mt,Jt,or;if(Array.isArray(pt))return"["+function(){var ut,ht,qt;for(qt=[],ut=0,ht=pt.length;ut<ht;ut++)Tt=pt[ut],qt.push(Mt.convert(Tt));return qt}().join(" ")+"]";if(typeof pt=="string")return"/"+pt;if(pt!=null?pt.isString:void 0)return"("+pt+")";if(pt instanceof Date)return"(D:"+Zt(pt.getUTCFullYear(),4)+Zt(pt.getUTCMonth(),2)+Zt(pt.getUTCDate(),2)+Zt(pt.getUTCHours(),2)+Zt(pt.getUTCMinutes(),2)+Zt(pt.getUTCSeconds(),2)+"Z)";if({}.toString.call(pt)==="[object Object]"){for(mt in Jt=["<<"],pt)or=pt[mt],Jt.push("/"+mt+" "+Mt.convert(or));return Jt.push(">>"),Jt.join(`
|
|
|
`)}return""+pt},Mt}()}(At),It=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")(),Kt=function(){var pe,te,be;function xe(Z){var se,he,Oe,ne,ce,ae,Ee,ye,Te,je,qe,Le,ke,tt;for(this.data=Z,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},ae=null;;){switch(se=this.readUInt32(),Te=function(){var st,_t;for(_t=[],st=0;st<4;++st)_t.push(String.fromCharCode(this.data[this.pos++]));return _t}.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(se);break;case"fcTL":ae&&this.animation.frames.push(ae),this.pos+=4,ae={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ce=this.readUInt16(),ne=this.readUInt16()||100,ae.delay=1e3*ce/ne,ae.disposeOp=this.data[this.pos++],ae.blendOp=this.data[this.pos++],ae.data=[];break;case"IDAT":case"fdAT":for(Te==="fdAT"&&(this.pos+=4,se-=4),Z=(ae!=null?ae.data:void 0)||this.imgData,Le=0;0<=se?Le<se:se<Le;0<=se?++Le:--Le)Z.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Oe=this.palette.length/3,this.transparency.indexed=this.read(se),this.transparency.indexed.length>Oe)throw new Error("More transparent colors than palette size");if(0<(je=Oe-this.transparency.indexed.length))for(ke=0;0<=je?ke<je:je<ke;0<=je?++ke:--ke)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(se)[0];break;case 2:this.transparency.rgb=this.read(se)}break;case"tEXt":Ee=(qe=this.read(se)).indexOf(0),ye=String.fromCharCode.apply(String,qe.slice(0,Ee)),this.text[ye]=String.fromCharCode.apply(String,qe.slice(Ee+1));break;case"IEND":return ae&&this.animation.frames.push(ae),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(tt=this.colorType)===4||tt===6,he=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*he,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+=se}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}xe.load=function(Z,se,he){var Oe;return typeof se=="function"&&(he=se),(Oe=new XMLHttpRequest).open("GET",Z,!0),Oe.responseType="arraybuffer",Oe.onload=function(){var ne;return ne=new xe(new Uint8Array(Oe.response||Oe.mozResponseArrayBuffer)),typeof(se!=null?se.getContext:void 0)=="function"&&ne.render(se),typeof he=="function"?he(ne):void 0},Oe.send(null)},xe.prototype.read=function(Z){var se,he;for(he=[],se=0;0<=Z?se<Z:Z<se;0<=Z?++se:--se)he.push(this.data[this.pos++]);return he},xe.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},xe.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},xe.prototype.decodePixels=function(Z){var se=this.pixelBitlength/8,he=new Uint8Array(this.width*this.height*se),Oe=0,ne=this;if(Z==null&&(Z=this.imgData),Z.length===0)return new Uint8Array(0);function ce(ae,Ee,ye,Te){var je,qe,Le,ke,tt,st,_t,Ct,Rt,Wt,vt,Je,Yt,Ht,nr,ir,Zt,Mt,pt,Tt,mt,Jt=Math.ceil((ne.width-ae)/ye),or=Math.ceil((ne.height-Ee)/Te),ut=ne.width==Jt&&ne.height==or;for(Ht=se*Jt,Je=ut?he:new Uint8Array(Ht*or),st=Z.length,qe=Yt=0;Yt<or&&Oe<st;){switch(Z[Oe++]){case 0:for(ke=Zt=0;Zt<Ht;ke=Zt+=1)Je[qe++]=Z[Oe++];break;case 1:for(ke=Mt=0;Mt<Ht;ke=Mt+=1)je=Z[Oe++],tt=ke<se?0:Je[qe-se],Je[qe++]=(je+tt)%256;break;case 2:for(ke=pt=0;pt<Ht;ke=pt+=1)je=Z[Oe++],Le=(ke-ke%se)/se,nr=Yt&&Je[(Yt-1)*Ht+Le*se+ke%se],Je[qe++]=(nr+je)%256;break;case 3:for(ke=Tt=0;Tt<Ht;ke=Tt+=1)je=Z[Oe++],Le=(ke-ke%se)/se,tt=ke<se?0:Je[qe-se],nr=Yt&&Je[(Yt-1)*Ht+Le*se+ke%se],Je[qe++]=(je+Math.floor((tt+nr)/2))%256;break;case 4:for(ke=mt=0;mt<Ht;ke=mt+=1)je=Z[Oe++],Le=(ke-ke%se)/se,tt=ke<se?0:Je[qe-se],Yt===0?nr=ir=0:(nr=Je[(Yt-1)*Ht+Le*se+ke%se],ir=Le&&Je[(Yt-1)*Ht+(Le-1)*se+ke%se]),_t=tt+nr-ir,Ct=Math.abs(_t-tt),Wt=Math.abs(_t-nr),vt=Math.abs(_t-ir),Rt=Ct<=Wt&&Ct<=vt?tt:Wt<=vt?nr:ir,Je[qe++]=(je+Rt)%256;break;default:throw new Error("Invalid filter algorithm: "+Z[Oe-1])}if(!ut){var ht=((Ee+Yt*Te)*ne.width+ae)*se,qt=Yt*Ht;for(ke=0;ke<Jt;ke+=1){for(var Nt=0;Nt<se;Nt+=1)he[ht++]=Je[qt++];ht+=(ye-1)*se}}Yt++}}return Z=(Z=new ze(Z)).getBytes(),ne.interlaceMethod==1?(ce(0,0,8,8),ce(4,0,8,8),ce(0,4,4,8),ce(2,0,4,4),ce(0,2,2,4),ce(1,0,2,2),ce(0,1,1,2)):ce(0,0,1,1),he},xe.prototype.decodePalette=function(){var Z,se,he,Oe,ne,ce,ae,Ee,ye;for(he=this.palette,ce=this.transparency.indexed||[],ne=new Uint8Array((ce.length||0)+he.length),Oe=0,he.length,se=ae=Z=0,Ee=he.length;ae<Ee;se=ae+=3)ne[Oe++]=he[se],ne[Oe++]=he[se+1],ne[Oe++]=he[se+2],ne[Oe++]=(ye=ce[Z++])!=null?ye:255;return ne},xe.prototype.copyToImageData=function(Z,se){var he,Oe,ne,ce,ae,Ee,ye,Te,je,qe,Le;if(Oe=this.colors,je=null,he=this.hasAlphaChannel,this.palette.length&&(je=(Le=this._decodedPalette)!=null?Le:this._decodedPalette=this.decodePalette(),Oe=4,he=!0),Te=(ne=Z.data||Z).length,ae=je||se,ce=Ee=0,Oe===1)for(;ce<Te;)ye=je?4*se[ce/4]:Ee,qe=ae[ye++],ne[ce++]=qe,ne[ce++]=qe,ne[ce++]=qe,ne[ce++]=he?ae[ye++]:255,Ee=ye;else for(;ce<Te;)ye=je?4*se[ce/4]:Ee,ne[ce++]=ae[ye++],ne[ce++]=ae[ye++],ne[ce++]=ae[ye++],ne[ce++]=he?ae[ye++]:255,Ee=ye},xe.prototype.decode=function(){var Z;return Z=new Uint8Array(this.width*this.height*4),this.copyToImageData(Z,this.decodePixels()),Z};try{te=It.document.createElement("canvas"),be=te.getContext("2d")}catch(Z){return-1}return pe=function(se){var he;return be.width=se.width,be.height=se.height,be.clearRect(0,0,se.width,se.height),be.putImageData(se,0,0),(he=new Image).src=te.toDataURL(),he},xe.prototype.decodeFrames=function(Z){var se,he,Oe,ne,ce,ae,Ee,ye;if(this.animation){for(ye=[],he=ce=0,ae=(Ee=this.animation.frames).length;ce<ae;he=++ce)se=Ee[he],Oe=Z.createImageData(se.width,se.height),ne=this.decodePixels(new Uint8Array(se.data)),this.copyToImageData(Oe,ne),se.imageData=Oe,ye.push(se.image=pe(Oe));return ye}},xe.prototype.renderFrame=function(Z,se){var he,Oe,ne;return he=(Oe=this.animation.frames)[se],ne=Oe[se-1],se===0&&Z.clearRect(0,0,this.width,this.height),(ne!=null?ne.disposeOp:void 0)===1?Z.clearRect(ne.xOffset,ne.yOffset,ne.width,ne.height):(ne!=null?ne.disposeOp:void 0)===2&&Z.putImageData(ne.imageData,ne.xOffset,ne.yOffset),he.blendOp===0&&Z.clearRect(he.xOffset,he.yOffset,he.width,he.height),Z.drawImage(he.image,he.xOffset,he.yOffset)},xe.prototype.animate=function(Z){var se,he,Oe,ne,ce,ae,Ee=this;return he=0,ae=this.animation,ne=ae.numFrames,Oe=ae.frames,ce=ae.numPlays,(se=function(){var Te,je;if(Te=he++%ne,je=Oe[Te],Ee.renderFrame(Z,Te),1<ne&&he/ne<ce)return Ee.animation._timeout=setTimeout(se,je.delay)})()},xe.prototype.stopAnimation=function(){var Z;return clearTimeout((Z=this.animation)!=null?Z._timeout:void 0)},xe.prototype.render=function(Z){var se,he;return Z._png&&Z._png.stopAnimation(),Z._png=this,Z.width=this.width,Z.height=this.height,se=Z.getContext("2d"),this.animation?(this.decodeFrames(se),this.animate(se)):(he=se.createImageData(this.width,this.height),this.copyToImageData(he,this.decodePixels()),se.putImageData(he,0,0))},xe}(),It.PNG=Kt;var De=function(){function pe(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return pe.prototype={ensureBuffer:function(be){var xe=this.buffer,Z=xe?xe.byteLength:0;if(be<Z)return xe;for(var se=512;se<be;)se<<=1;for(var he=new Uint8Array(se),Oe=0;Oe<Z;++Oe)he[Oe]=xe[Oe];return this.buffer=he},getByte:function(){for(var be=this.pos;this.bufferLength<=be;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(be){var xe=this.pos;if(be){this.ensureBuffer(xe+be);for(var Z=xe+be;!this.eof&&this.bufferLength<Z;)this.readBlock();var se=this.bufferLength;se<Z&&(Z=se)}else{for(;!this.eof;)this.readBlock();Z=this.bufferLength}return this.pos=Z,this.buffer.subarray(xe,Z)},lookChar:function(){for(var be=this.pos;this.bufferLength<=be;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var be=this.pos;this.bufferLength<=be;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(be,xe,Z){for(var se=be+xe;this.bufferLength<=se&&!this.eof;)this.readBlock();return new Stream(this.buffer,be,xe,Z)},skip:function(be){be||(be=1),this.pos+=be},reset:function(){this.pos=0}},pe}(),ze=function(){if(typeof Uint32Array!="undefined"){var pe=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),te=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]),be=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]),xe=[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],Z=[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(he.prototype=Object.create(De.prototype)).getBits=function(Oe){for(var ne,ce=this.codeSize,ae=this.codeBuf,Ee=this.bytes,ye=this.bytesPos;ce<Oe;)(ne=Ee[ye++])===void 0&&se("Bad encoding in flate stream"),ae|=ne<<ce,ce+=8;return ne=ae&(1<<Oe)-1,this.codeBuf=ae>>Oe,this.codeSize=ce-=Oe,this.bytesPos=ye,ne},he.prototype.getCode=function(Oe){for(var ne=Oe[0],ce=Oe[1],ae=this.codeSize,Ee=this.codeBuf,ye=this.bytes,Te=this.bytesPos;ae<ce;){var je;(je=ye[Te++])===void 0&&se("Bad encoding in flate stream"),Ee|=je<<ae,ae+=8}var qe=ne[Ee&(1<<ce)-1],Le=qe>>16,ke=65535&qe;return(ae==0||ae<Le||Le==0)&&se("Bad encoding in flate stream"),this.codeBuf=Ee>>Le,this.codeSize=ae-Le,this.bytesPos=Te,ke},he.prototype.generateHuffmanTable=function(Oe){for(var ne=Oe.length,ce=0,ae=0;ae<ne;++ae)Oe[ae]>ce&&(ce=Oe[ae]);for(var Ee=1<<ce,ye=new Uint32Array(Ee),Te=1,je=0,qe=2;Te<=ce;++Te,je<<=1,qe<<=1)for(var Le=0;Le<ne;++Le)if(Oe[Le]==Te){var ke=0,tt=je;for(ae=0;ae<Te;++ae)ke=ke<<1|1&tt,tt>>=1;for(ae=ke;ae<Ee;ae+=qe)ye[ae]=Te<<16|Le;++je}return[ye,ce]},he.prototype.readBlock=function(){function Oe(or,ut,ht,qt,Nt){for(var Qt=or.getBits(ht)+qt;0<Qt--;)ut[qe++]=Nt}var ne=this.getBits(3);if(1&ne&&(this.eof=!0),(ne>>=1)!=0){var ce,ae;if(ne==1)ce=xe,ae=Z;else if(ne==2){for(var Ee=this.getBits(5)+257,ye=this.getBits(5)+1,Te=this.getBits(4)+4,je=Array(pe.length),qe=0;qe<Te;)je[pe[qe++]]=this.getBits(3);for(var Le=this.generateHuffmanTable(je),ke=0,tt=(qe=0,Ee+ye),st=new Array(tt);qe<tt;){var _t=this.getCode(Le);_t==16?Oe(this,st,2,3,ke):_t==17?Oe(this,st,3,3,ke=0):_t==18?Oe(this,st,7,11,ke=0):st[qe++]=ke=_t}ce=this.generateHuffmanTable(st.slice(0,Ee)),ae=this.generateHuffmanTable(st.slice(Ee,tt))}else se("Unknown block type in flate stream");for(var Ct=(Tt=this.buffer)?Tt.length:0,Rt=this.bufferLength;;){var Wt=this.getCode(ce);if(Wt<256)Ct<=Rt+1&&(Ct=(Tt=this.ensureBuffer(Rt+1)).length),Tt[Rt++]=Wt;else{if(Wt==256)return void(this.bufferLength=Rt);var vt=(Wt=te[Wt-=257])>>16;0<vt&&(vt=this.getBits(vt)),ke=(65535&Wt)+vt,Wt=this.getCode(ae),0<(vt=(Wt=be[Wt])>>16)&&(vt=this.getBits(vt));var Je=(65535&Wt)+vt;Ct<=Rt+ke&&(Ct=(Tt=this.ensureBuffer(Rt+ke)).length);for(var Yt=0;Yt<ke;++Yt,++Rt)Tt[Rt]=Tt[Rt-Je]}}}else{var Ht,nr=this.bytes,ir=this.bytesPos;(Ht=nr[ir++])===void 0&&se("Bad block header in flate stream");var Zt=Ht;(Ht=nr[ir++])===void 0&&se("Bad block header in flate stream"),Zt|=Ht<<8,(Ht=nr[ir++])===void 0&&se("Bad block header in flate stream");var Mt=Ht;(Ht=nr[ir++])===void 0&&se("Bad block header in flate stream"),(Mt|=Ht<<8)!=(65535&~Zt)&&se("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var pt=this.bufferLength,Tt=this.ensureBuffer(pt+Zt),mt=pt+Zt;this.bufferLength=mt;for(var Jt=pt;Jt<mt;++Jt){if((Ht=nr[ir++])===void 0){this.eof=!0;break}Tt[Jt]=Ht}this.bytesPos=ir}},he}function se(Oe){throw new Error(Oe)}function he(Oe){var ne=0,ce=Oe[ne++],ae=Oe[ne++];ce!=-1&&ae!=-1||se("Invalid header in flate stream"),(15&ce)!=8&&se("Unknown compression method in flate stream"),((ce<<8)+ae)%31!=0&&se("Bad FCHECK in flate stream"),32&ae&&se("FDICT bit set in flate stream"),this.bytes=Oe,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,De.call(this)}}();return function(pe){if(typeof pe.console!="object"){pe.console={};for(var te,be,xe=pe.console,Z=function(){},se=["memory"],he="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(",");te=se.pop();)xe[te]||(xe[te]={});for(;be=he.pop();)xe[be]||(xe[be]=Z)}var Oe,ne,ce,ae,Ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";pe.btoa===void 0&&(pe.btoa=function(ye){var Te,je,qe,Le,ke,tt=0,st=0,_t="",Ct=[];if(!ye)return ye;for(;Te=(ke=ye.charCodeAt(tt++)<<16|ye.charCodeAt(tt++)<<8|ye.charCodeAt(tt++))>>18&63,je=ke>>12&63,qe=ke>>6&63,Le=63&ke,Ct[st++]=Ee.charAt(Te)+Ee.charAt(je)+Ee.charAt(qe)+Ee.charAt(Le),tt<ye.length;);_t=Ct.join("");var Rt=ye.length%3;return(Rt?_t.slice(0,Rt-3):_t)+"===".slice(Rt||3)}),pe.atob===void 0&&(pe.atob=function(ye){var Te,je,qe,Le,ke,tt,st=0,_t=0,Ct=[];if(!ye)return ye;for(ye+="";Te=(tt=Ee.indexOf(ye.charAt(st++))<<18|Ee.indexOf(ye.charAt(st++))<<12|(Le=Ee.indexOf(ye.charAt(st++)))<<6|(ke=Ee.indexOf(ye.charAt(st++))))>>16&255,je=tt>>8&255,qe=255&tt,Ct[_t++]=Le==64?String.fromCharCode(Te):ke==64?String.fromCharCode(Te,je):String.fromCharCode(Te,je,qe),st<ye.length;);return Ct.join("")}),Array.prototype.map||(Array.prototype.map=function(ye){if(this==null||typeof ye!="function")throw new TypeError;for(var Te=Object(this),je=Te.length>>>0,qe=new Array(je),Le=1<arguments.length?arguments[1]:void 0,ke=0;ke<je;ke++)ke in Te&&(qe[ke]=ye.call(Le,Te[ke],ke,Te));return qe}),Array.isArray||(Array.isArray=function(ye){return Object.prototype.toString.call(ye)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ye,Te){if(this==null||typeof ye!="function")throw new TypeError;for(var je=Object(this),qe=je.length>>>0,Le=0;Le<qe;Le++)Le in je&&ye.call(Te,je[Le],Le,je)}),Object.keys||(Object.keys=(Oe=Object.prototype.hasOwnProperty,ne=!{toString:null}.propertyIsEnumerable("toString"),ae=(ce=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ye){if(typeof ye!="object"&&(typeof ye!="function"||ye===null))throw new TypeError;var Te,je,qe=[];for(Te in ye)Oe.call(ye,Te)&&qe.push(Te);if(ne)for(je=0;je<ae;je++)Oe.call(ye,ce[je])&&qe.push(ce[je]);return qe})),typeof Object.assign!="function"&&(Object.assign=function(ye){if(ye==null)throw new TypeError("Cannot convert undefined or null to object");ye=Object(ye);for(var Te=1;Te<arguments.length;Te++){var je=arguments[Te];if(je!=null)for(var qe in je)Object.prototype.hasOwnProperty.call(je,qe)&&(ye[qe]=je[qe])}return ye}),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,"")})}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof B!="undefined"&&B||Function('return typeof this === "object" && this.content')()||Function("return this")()),At})}).call(this,e("IyRk"),e("Q2Ig"))},"5RzL":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("TSYQ"),D=e.n(w),I=e("KQm4"),E=e("VTBJ"),C=e("ODXe"),f=e("Ff2n"),t=e("U8pU"),i=e("q1tI"),s=e("LdHM"),o=e("NvD2"),r=e("vHRA"),u=e.n(r),n=e("6cGi"),l=e("4IlW"),a=e("YrtM"),c=e("fAei"),d=i.createContext(null),h=d,y=i.createContext(null),A=y;function v(Se){return Array.isArray(Se)?Se:Se!==void 0?[Se]:[]}function g(Se){var Ye=Se||{},q=Ye.label,Ae=Ye.value,Me=Ye.children,De=Ae||"value";return{_title:q?[q]:["title","label"],value:De,key:De,children:Me||"children"}}function x(Se){return!Se||Se.disabled||Se.disableCheckbox||Se.checkable===!1}function m(Se,Ye){var q=[];function Ae(Me){Me.forEach(function(De){q.push(De[Ye.value]);var ze=De[Ye.children];ze&&Ae(ze)})}return Ae(Se),q}function b(Se){return Se==null}var S={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},P=function(Ye,q){var Ae=Object(s.e)(),Me=Ae.prefixCls,De=Ae.multiple,ze=Ae.searchValue,pe=Ae.toggleOpen,te=Ae.open,be=Ae.notFoundContent,xe=i.useContext(A),Z=xe.virtual,se=xe.listHeight,he=xe.listItemHeight,Oe=xe.treeData,ne=xe.fieldNames,ce=xe.onSelect,ae=xe.dropdownMatchSelectWidth,Ee=xe.treeExpandAction,ye=i.useContext(h),Te=ye.checkable,je=ye.checkedKeys,qe=ye.halfCheckedKeys,Le=ye.treeExpandedKeys,ke=ye.treeDefaultExpandAll,tt=ye.treeDefaultExpandedKeys,st=ye.onTreeExpand,_t=ye.treeIcon,Ct=ye.showTreeIcon,Rt=ye.switcherIcon,Wt=ye.treeLine,vt=ye.treeNodeFilterProp,Je=ye.loadData,Yt=ye.treeLoadedKeys,Ht=ye.treeMotion,nr=ye.onTreeLoad,ir=ye.keyEntities,Zt=i.useRef(),Mt=Object(a.a)(function(){return Oe},[te,Oe],function(Jr,hn){return hn[0]&&Jr[1]!==hn[1]}),pt=i.useMemo(function(){return Te?{checked:je,halfChecked:qe}:null},[Te,je,qe]);i.useEffect(function(){if(te&&!De&&je.length){var Jr;(Jr=Zt.current)===null||Jr===void 0||Jr.scrollTo({key:je[0]})}},[te]);var Tt=String(ze).toLowerCase(),mt=function(hn){return Tt?String(hn[vt]).toLowerCase().includes(Tt):!1},Jt=i.useState(tt),or=Object(C.a)(Jt,2),ut=or[0],ht=or[1],qt=i.useState(null),Nt=Object(C.a)(qt,2),Qt=Nt[0],at=Nt[1],Ue=i.useMemo(function(){return Le?Object(I.a)(Le):ze?Qt:ut},[ut,Qt,Le,ze]);i.useEffect(function(){ze&&at(m(Oe,ne))},[ze]);var ot=function(hn){ht(hn),at(hn),st&&st(hn)},it=function(hn){hn.preventDefault()},zt=function(hn,yr){var zn=yr.node;Te&&x(zn)||(ce(zn.key,{selected:!je.includes(zn.key)}),De||pe(!1))},ar=i.useState(null),dr=Object(C.a)(ar,2),pr=dr[0],Tr=dr[1],Lr=ir[pr];if(i.useImperativeHandle(q,function(){var Jr;return{scrollTo:(Jr=Zt.current)===null||Jr===void 0?void 0:Jr.scrollTo,onKeyDown:function(yr){var zn,xn=yr.which;switch(xn){case l.a.UP:case l.a.DOWN:case l.a.LEFT:case l.a.RIGHT:(zn=Zt.current)===null||zn===void 0||zn.onKeyDown(yr);break;case l.a.ENTER:{if(Lr){var In=(Lr==null?void 0:Lr.node)||{},Qn=In.selectable,Cn=In.value;Qn!==!1&&zt(null,{node:{key:pr},selected:!je.includes(Cn)})}break}case l.a.ESC:pe(!1)}},onKeyUp:function(){}}}),Mt.length===0)return i.createElement("div",{role:"listbox",className:"".concat(Me,"-empty"),onMouseDown:it},be);var Yr={fieldNames:ne};return Yt&&(Yr.loadedKeys=Yt),Ue&&(Yr.expandedKeys=Ue),i.createElement("div",{onMouseDown:it},Lr&&te&&i.createElement("span",{style:S,"aria-live":"assertive"},Lr.node.value),i.createElement(c.b,Object(B.a)({ref:Zt,focusable:!1,prefixCls:"".concat(Me,"-tree"),treeData:Mt,height:se,itemHeight:he,virtual:Z!==!1&&ae!==!1,multiple:De,icon:_t,showIcon:Ct,switcherIcon:Rt,showLine:Wt,loadData:ze?null:Je,motion:Ht,activeKey:pr,checkable:Te,checkStrictly:!0,checkedKeys:pt,selectedKeys:Te?[]:je,defaultExpandAll:ke},Yr,{onActiveChange:Tr,onSelect:zt,onCheck:zt,onExpand:ot,onLoad:nr,filterTreeNode:mt,expandAction:Ee})))},M=i.forwardRef(P);M.displayName="OptionList";var R=M,F=function(){return null},L=F,U="SHOW_ALL",N="SHOW_PARENT",Q="SHOW_CHILD";function z(Se,Ye,q,Ae){var Me=new Set(Se);return Ye===Q?Se.filter(function(De){var ze=q[De];return!(ze&&ze.children&&ze.children.some(function(pe){var te=pe.node;return Me.has(te[Ae.value])})&&ze.children.every(function(pe){var te=pe.node;return x(te)||Me.has(te[Ae.value])}))}):Ye===N?Se.filter(function(De){var ze=q[De],pe=ze?ze.parent:null;return!(pe&&!x(pe.node)&&Me.has(pe.key))}):Se}var _=e("Zm9Q"),J=e("Kwbf"),Y=["children","value"];function k(Se){return Object(_.a)(Se).map(function(Ye){if(!i.isValidElement(Ye)||!Ye.type)return null;var q=Ye,Ae=q.key,Me=q.props,De=Me.children,ze=Me.value,pe=Object(f.a)(Me,Y),te=Object(E.a)({key:Ae,value:ze},pe),be=k(De);return be.length&&(te.children=be),te}).filter(function(Ye){return Ye})}function W(Se){if(!Se)return Se;var Ye=Object(E.a)({},Se);return"props"in Ye||Object.defineProperty(Ye,"props",{get:function(){return Object(J.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ye}}),Ye}function ie(Se,Ye,q,Ae,Me,De){var ze=null,pe=null;function te(){function be(xe){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return xe.map(function(he,Oe){var ne="".concat(Z,"-").concat(Oe),ce=he[De.value],ae=q.includes(ce),Ee=be(he[De.children]||[],ne,ae),ye=i.createElement(L,he,Ee.map(function(je){return je.node}));if(Ye===ce&&(ze=ye),ae){var Te={pos:ne,node:ye,children:Ee};return se||pe.push(Te),Te}return null}).filter(function(he){return he})}pe||(pe=[],be(Ae),pe.sort(function(xe,Z){var se=xe.node.props.value,he=Z.node.props.value,Oe=q.indexOf(se),ne=q.indexOf(he);return Oe-ne}))}Object.defineProperty(Se,"triggerNode",{get:function(){return Object(J.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),te(),ze}}),Object.defineProperty(Se,"allCheckedNodes",{get:function(){return Object(J.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),te(),Me?pe:pe.map(function(xe){var Z=xe.node;return Z})}})}function fe(Se,Ye){var q=Ye.id,Ae=Ye.pId,Me=Ye.rootPId,De={},ze=[],pe=Se.map(function(te){var be=Object(E.a)({},te),xe=be[q];return De[xe]=be,be.key=be.key||xe,be});return pe.forEach(function(te){var be=te[Ae],xe=De[be];xe&&(xe.children=xe.children||[],xe.children.push(te)),(be===Me||!xe&&Me===null)&&ze.push(te)}),ze}function Ce(Se,Ye,q){return i.useMemo(function(){return Se?q?fe(Se,Object(E.a)({id:"id",pId:"pId",rootPId:null},q!==!0?q:{})):Se:k(Ye)},[Ye,q,Se])}var ge=function(Se){var Ye=i.useRef({valueLabels:new Map});return i.useMemo(function(){var q=Ye.current.valueLabels,Ae=new Map,Me=Se.map(function(De){var ze,pe=De.value,te=(ze=De.label)!==null&&ze!==void 0?ze:q.get(pe);return Ae.set(pe,te),Object(E.a)(Object(E.a)({},De),{},{label:te})});return Ye.current.valueLabels=Ae,[Me]},[Se])};function de(Se){var Ye=i.useRef();Ye.current=Se;var q=i.useCallback(function(){return Ye.current.apply(Ye,arguments)},[]);return q}var Pe=e("815F"),_e=function(Se,Ye){return i.useMemo(function(){var q=Object(Pe.a)(Se,{fieldNames:Ye,initWrapper:function(Me){return Object(E.a)(Object(E.a)({},Me),{},{valueEntities:new Map})},processEntity:function(Me,De){var ze=Me.node[Ye.value];if(!1)var pe;De.valueEntities.set(ze,Me)}});return q},[Se,Ye])},Ne=function(Se,Ye,q,Ae){return i.useMemo(function(){var Me=Se.map(function(te){var be=te.value;return be}),De=Ye.map(function(te){var be=te.value;return be}),ze=Me.filter(function(te){return!Ae[te]});if(q){var pe=Object(o.a)(Me,!0,Ae);Me=pe.checkedKeys,De=pe.halfCheckedKeys}return[Array.from(new Set([].concat(Object(I.a)(ze),Object(I.a)(Me)))),De]},[Se,Ye,q,Ae])},He=function(Se,Ye,q){var Ae=q.treeNodeFilterProp,Me=q.filterTreeNode,De=q.fieldNames,ze=De.children;return i.useMemo(function(){if(!Ye||Me===!1)return Se;var pe;if(typeof Me=="function")pe=Me;else{var te=Ye.toUpperCase();pe=function(Z,se){var he=se[Ae];return String(he).toUpperCase().includes(te)}}function be(xe){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return xe.map(function(se){var he=se[ze],Oe=Z||pe(Ye,W(se)),ne=be(he||[],Oe);return Oe||ne.length?Object(E.a)(Object(E.a)({},se),{},Object(T.a)({isLeaf:void 0},ze,ne)):null}).filter(function(se){return se})}return be(Se)},[Se,Ye,ze,Ae,Me])};function ue(Se){var Ye=Se.searchPlaceholder,q=Se.treeCheckStrictly,Ae=Se.treeCheckable,Me=Se.labelInValue,De=Se.value,ze=Se.multiple;Object(J.a)(!Ye,"`searchPlaceholder` has been removed."),q&&Me===!1&&Object(J.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Me||q)&&Object(J.a)(v(De).every(function(pe){return pe&&Object(t.a)(pe)==="object"&&"value"in pe}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),q||ze||Ae?Object(J.a)(!De||Array.isArray(De),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(J.a)(!Array.isArray(De),"`value` should not be array when `TreeSelect` is single mode.")}var Re=ue,nt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function Ve(Se){return!Se||Object(t.a)(Se)!=="object"}var Ge=i.forwardRef(function(Se,Ye){var q=Se.id,Ae=Se.prefixCls,Me=Ae===void 0?"rc-tree-select":Ae,De=Se.value,ze=Se.defaultValue,pe=Se.onChange,te=Se.onSelect,be=Se.onDeselect,xe=Se.searchValue,Z=Se.inputValue,se=Se.onSearch,he=Se.autoClearSearchValue,Oe=he===void 0?!0:he,ne=Se.filterTreeNode,ce=Se.treeNodeFilterProp,ae=ce===void 0?"value":ce,Ee=Se.showCheckedStrategy,ye=Ee===void 0?Q:Ee,Te=Se.treeNodeLabelProp,je=Se.multiple,qe=Se.treeCheckable,Le=Se.treeCheckStrictly,ke=Se.labelInValue,tt=Se.fieldNames,st=Se.treeDataSimpleMode,_t=Se.treeData,Ct=Se.children,Rt=Se.loadData,Wt=Se.treeLoadedKeys,vt=Se.onTreeLoad,Je=Se.treeDefaultExpandAll,Yt=Se.treeExpandedKeys,Ht=Se.treeDefaultExpandedKeys,nr=Se.onTreeExpand,ir=Se.treeExpandAction,Zt=Se.virtual,Mt=Se.listHeight,pt=Mt===void 0?200:Mt,Tt=Se.listItemHeight,mt=Tt===void 0?20:Tt,Jt=Se.onDropdownVisibleChange,or=Se.dropdownMatchSelectWidth,ut=or===void 0?!0:or,ht=Se.treeLine,qt=Se.treeIcon,Nt=Se.showTreeIcon,Qt=Se.switcherIcon,at=Se.treeMotion,Ue=Object(f.a)(Se,nt),ot=u()(q),it=qe&&!Le,zt=qe||Le,ar=Le||ke,dr=zt||je,pr=Object(n.a)(ze,{value:De}),Tr=Object(C.a)(pr,2),Lr=Tr[0],Yr=Tr[1],Jr=i.useMemo(function(){return g(tt)},[JSON.stringify(tt)]),hn=Object(n.a)("",{value:xe!==void 0?xe:Z,postState:function(za){return za||""}}),yr=Object(C.a)(hn,2),zn=yr[0],xn=yr[1],In=function(za){xn(za),se==null||se(za)},Qn=Ce(_t,Ct,st),Cn=_e(Qn,Jr),bn=Cn.keyEntities,Wn=Cn.valueEntities,Vn=i.useCallback(function(aa){var za=[],ci=[];return aa.forEach(function(qa){Wn.has(qa)?ci.push(qa):za.push(qa)}),{missingRawValues:za,existRawValues:ci}},[Wn]),oa=He(Qn,zn,{fieldNames:Jr,treeNodeFilterProp:ae,filterTreeNode:ne}),kr=i.useCallback(function(aa){if(aa){if(Te)return aa[Te];for(var za=Jr._title,ci=0;ci<za.length;ci+=1){var qa=aa[za[ci]];if(qa!==void 0)return qa}}},[Jr,Te]),kn=i.useCallback(function(aa){var za=v(aa);return za.map(function(ci){return Ve(ci)?{value:ci}:ci})},[]),Pn=i.useCallback(function(aa){var za=kn(aa);return za.map(function(ci){var qa=ci.label,yi=ci.value,Li=ci.halfChecked,ha,ka=Wn.get(yi);if(ka){var Hi;qa=(Hi=qa)!==null&&Hi!==void 0?Hi:kr(ka.node),ha=ka.node.disabled}else if(qa===void 0){var ao=kn(Lr).find(function(Qi){return Qi.value===yi});qa=ao.label}return{label:qa,value:yi,halfChecked:Li,disabled:ha}})},[Wn,kr,kn,Lr]),Ma=i.useMemo(function(){return kn(Lr)},[kn,Lr]),Oa=i.useMemo(function(){var aa=[],za=[];return Ma.forEach(function(ci){ci.halfChecked?za.push(ci):aa.push(ci)}),[aa,za]},[Ma]),ba=Object(C.a)(Oa,2),La=ba[0],Hn=ba[1],Ir=i.useMemo(function(){return La.map(function(aa){return aa.value})},[La]),xr=Ne(La,Hn,it,bn),Xr=Object(C.a)(xr,2),Cr=Xr[0],Hr=Xr[1],Fr=i.useMemo(function(){var aa=z(Cr,ye,bn,Jr),za=aa.map(function(Li){var ha,ka,Hi;return(ha=(ka=bn[Li])===null||ka===void 0||(Hi=ka.node)===null||Hi===void 0?void 0:Hi[Jr.value])!==null&&ha!==void 0?ha:Li}),ci=za.map(function(Li){var ha=La.find(function(ka){return ka.value===Li});return{value:Li,label:ha==null?void 0:ha.label}}),qa=Pn(ci),yi=qa[0];return!dr&&yi&&b(yi.value)&&b(yi.label)?[]:qa.map(function(Li){var ha;return Object(E.a)(Object(E.a)({},Li),{},{label:(ha=Li.label)!==null&&ha!==void 0?ha:Li.value})})},[Jr,dr,Cr,La,Pn,ye,bn]),jr=ge(Fr),wr=Object(C.a)(jr,1),pn=wr[0],un=de(function(aa,za,ci){var qa=Pn(aa);if(Yr(qa),Oe&&xn(""),pe){var yi=aa;if(it){var Li=z(aa,ye,bn,Jr);yi=Li.map(function(li){var di=Wn.get(li);return di?di.node[Jr.value]:li})}var ha=za||{triggerValue:void 0,selected:void 0},ka=ha.triggerValue,Hi=ha.selected,ao=yi;if(Le){var Qi=Hn.filter(function(li){return!yi.includes(li.value)});ao=[].concat(Object(I.a)(ao),Object(I.a)(Qi))}var ta=Pn(ao),la={preValue:La,triggerValue:ka},qr=!0;(Le||ci==="selection"&&!Hi)&&(qr=!1),ie(la,ka,aa,Qn,qr,Jr),zt?la.checked=Hi:la.selected=Hi;var Ca=ar?ta:ta.map(function(li){return li.value});pe(dr?Ca:Ca[0],ar?null:ta.map(function(li){return li.label}),la)}}),jn=i.useCallback(function(aa,za){var ci,qa=za.selected,yi=za.source,Li=bn[aa],ha=Li==null?void 0:Li.node,ka=(ci=ha==null?void 0:ha[Jr.value])!==null&&ci!==void 0?ci:aa;if(!dr)un([ka],{selected:!0,triggerValue:ka},"option");else{var Hi=qa?[].concat(Object(I.a)(Ir),[ka]):Cr.filter(function(di){return di!==ka});if(it){var ao=Vn(Hi),Qi=ao.missingRawValues,ta=ao.existRawValues,la=ta.map(function(di){return Wn.get(di).key}),qr;if(qa){var Ca=Object(o.a)(la,!0,bn);qr=Ca.checkedKeys}else{var li=Object(o.a)(la,{checked:!1,halfCheckedKeys:Hr},bn);qr=li.checkedKeys}Hi=[].concat(Object(I.a)(Qi),Object(I.a)(qr.map(function(di){return bn[di].node[Jr.value]})))}un(Hi,{selected:qa,triggerValue:ka},yi||"option")}qa||!dr?te==null||te(ka,W(ha)):be==null||be(ka,W(ha))},[Vn,Wn,bn,Jr,dr,Ir,un,it,te,be,Cr,Hr]),Xn=i.useCallback(function(aa){if(Jt){var za={};Object.defineProperty(za,"documentClickClose",{get:function(){return Object(J.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Jt(aa,za)}},[Jt]),ca=de(function(aa,za){var ci=aa.map(function(qa){return qa.value});if(za.type==="clear"){un(ci,{},"selection");return}za.values.length&&jn(za.values[0].value,{selected:!1,source:"selection"})}),ti=i.useMemo(function(){return{virtual:Zt,dropdownMatchSelectWidth:ut,listHeight:pt,listItemHeight:mt,treeData:oa,fieldNames:Jr,onSelect:jn,treeExpandAction:ir}},[Zt,ut,pt,mt,oa,Jr,jn,ir]),Ia=i.useMemo(function(){return{checkable:zt,loadData:Rt,treeLoadedKeys:Wt,onTreeLoad:vt,checkedKeys:Cr,halfCheckedKeys:Hr,treeDefaultExpandAll:Je,treeExpandedKeys:Yt,treeDefaultExpandedKeys:Ht,onTreeExpand:nr,treeIcon:qt,treeMotion:at,showTreeIcon:Nt,switcherIcon:Qt,treeLine:ht,treeNodeFilterProp:ae,keyEntities:bn}},[zt,Rt,Wt,vt,Cr,Hr,Je,Yt,Ht,nr,qt,at,Nt,Qt,ht,ae,bn]);return i.createElement(A.Provider,{value:ti},i.createElement(h.Provider,{value:Ia},i.createElement(s.a,Object(B.a)({ref:Ye},Ue,{id:ot,prefixCls:Me,mode:dr?"multiple":void 0,displayValues:pn,onDisplayValuesChange:ca,searchValue:zn,onSearch:In,OptionList:R,emptyOptions:!Qn.length,onDropdownVisibleChange:Xn,dropdownMatchSelectWidth:ut}))))}),dt=Ge;dt.TreeNode=L,dt.SHOW_ALL=U,dt.SHOW_PARENT=N,dt.SHOW_CHILD=Q;var et=dt,At=et,Dt=e("bT9E"),Ft=e("H84U"),St=e("XI05"),$e=e("caoh"),lt=e("3Nzz"),Ut=e("ihLV"),gt=e("1vzs"),ft=e("2jpz"),rt=e("EXcs"),Ie=e("ATYA"),Ot=e("+f9I"),Xt=function(Se,Ye){var q={};for(var Ae in Se)Object.prototype.hasOwnProperty.call(Se,Ae)&&Ye.indexOf(Ae)<0&&(q[Ae]=Se[Ae]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Se);Me<Ae.length;Me++)Ye.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Se,Ae[Me])&&(q[Ae[Me]]=Se[Ae[Me]]);return q},Vt=function(Ye,q){var Ae,Me=Ye.prefixCls,De=Ye.size,ze=Ye.disabled,pe=Ye.bordered,te=pe===void 0?!0:pe,be=Ye.className,xe=Ye.treeCheckable,Z=Ye.multiple,se=Ye.listHeight,he=se===void 0?256:se,Oe=Ye.listItemHeight,ne=Oe===void 0?26:Oe,ce=Ye.placement,ae=Ye.notFoundContent,Ee=Ye.switcherIcon,ye=Ye.treeLine,Te=Ye.getPopupContainer,je=Ye.dropdownClassName,qe=Ye.popupClassName,Le=Ye.treeIcon,ke=Le===void 0?!1:Le,tt=Ye.transitionName,st=Ye.choiceTransitionName,_t=st===void 0?"":st,Ct=Ye.status,Rt=Ye.showArrow,Wt=Ye.treeExpandAction,vt=Xt(Ye,["prefixCls","size","disabled","bordered","className","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","dropdownClassName","popupClassName","treeIcon","transitionName","choiceTransitionName","status","showArrow","treeExpandAction"]),Je=i.useContext(Ft.b),Yt=Je.getPopupContainer,Ht=Je.getPrefixCls,nr=Je.renderEmpty,ir=Je.direction,Zt=Je.virtual,Mt=Je.dropdownMatchSelectWidth,pt=i.useContext(lt.b),Tt=Ht("select",Me),mt=Ht("select-tree",Me),Jt=Ht("tree-select",Me),or=Object(Ot.c)(Tt,ir),ut=or.compactSize,ht=or.compactItemClassnames,qt=D()(qe||je,"".concat(Jt,"-dropdown"),Object(T.a)({},"".concat(Jt,"-dropdown-rtl"),ir==="rtl")),Nt=!!(xe||Z),Qt=Rt!==void 0?Rt:vt.loading||!Nt,at=Object(i.useContext)(Ut.b),Ue=at.status,ot=at.hasFeedback,it=at.isFormItemInput,zt=at.feedbackIcon,ar=Object(Ie.a)(Ue,Ct),dr=Object(gt.a)(Object(B.a)(Object(B.a)({},vt),{multiple:Nt,showArrow:Qt,hasFeedback:ot,feedbackIcon:zt,prefixCls:Tt})),pr=dr.suffixIcon,Tr=dr.removeIcon,Lr=dr.clearIcon,Yr;ae!==void 0?Yr=ae:Yr=(nr||St.a)("Select");var Jr=Object(Dt.a)(vt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),hn=function(){return ce!==void 0?ce:ir==="rtl"?"bottomRight":"bottomLeft"},yr=ut||De||pt,zn=i.useContext($e.b),xn=ze!=null?ze:zn,In=D()(!Me&&Jt,(Ae={},Object(T.a)(Ae,"".concat(Tt,"-lg"),yr==="large"),Object(T.a)(Ae,"".concat(Tt,"-sm"),yr==="small"),Object(T.a)(Ae,"".concat(Tt,"-rtl"),ir==="rtl"),Object(T.a)(Ae,"".concat(Tt,"-borderless"),!te),Object(T.a)(Ae,"".concat(Tt,"-in-form-item"),it),Ae),Object(Ie.b)(Tt,ar,ot),ht,be),Qn=Ht();return i.createElement(At,Object(B.a)({virtual:Zt,dropdownMatchSelectWidth:Mt,disabled:xn},Jr,{ref:q,prefixCls:Tt,className:In,listHeight:he,listItemHeight:ne,treeCheckable:xe&&i.createElement("span",{className:"".concat(Tt,"-tree-checkbox-inner")}),treeLine:!!ye,inputIcon:pr,multiple:Z,placement:hn(),removeIcon:Tr,clearIcon:Lr,switcherIcon:function(bn){return Object(ft.a)(mt,Ee,ye,bn)},showTreeIcon:ke,notFoundContent:Yr,getPopupContainer:Te||Yt,treeMotion:null,dropdownClassName:qt,choiceTransitionName:Object(rt.c)(Qn,"",_t),transitionName:Object(rt.c)(Qn,Object(rt.b)(ce),tt),showArrow:ot||Rt,treeExpandAction:Wt}))},bt=i.forwardRef(Vt),It=bt;It.TreeNode=L,It.SHOW_ALL=U,It.SHOW_PARENT=N,It.SHOW_CHILD=Q;var Kt=V.a=It},"5nXd":function(oe,V,e){var B=e("MFOe"),T=B.slice,w=B.pluck,D=B.each,I=B.bind,E=B.create,C=B.isList,f=B.isFunction,t=B.isObject;oe.exports={createStore:o};var i={version:"2.0.12",enabled:!1,get:function(u,n){var l=this.storage.read(this._namespacePrefix+u);return this._deserialize(l,n)},set:function(u,n){return n===void 0?this.remove(u):(this.storage.write(this._namespacePrefix+u,this._serialize(n)),n)},remove:function(u){this.storage.remove(this._namespacePrefix+u)},each:function(u){var n=this;this.storage.each(function(l,a){u.call(n,n._deserialize(l),(a||"").replace(n._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(u){return this._namespacePrefix=="__storejs_"+u+"_"},createStore:function(){return o.apply(this,arguments)},addPlugin:function(u){this._addPlugin(u)},namespace:function(u){return o(this.storage,this.plugins,u)}};function s(){var r=typeof console=="undefined"?null:console;if(!!r){var u=r.warn?r.warn:r.log;u.apply(r,arguments)}}function o(r,u,n){n||(n=""),r&&!C(r)&&(r=[r]),u&&!C(u)&&(u=[u]);var l=n?"__storejs_"+n+"_":"",a=n?new RegExp("^"+l):null,c=/^[a-zA-Z0-9_\-]*$/;if(!c.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var d={_namespacePrefix:l,_namespaceRegexp:a,_testStorage:function(A){try{var v="__storejs__test__";A.write(v,v);var g=A.read(v)===v;return A.remove(v),g}catch(x){return!1}},_assignPluginFnProp:function(A,v){var g=this[v];this[v]=function(){var m=T(arguments,0),b=this;function S(){if(!!g)return D(arguments,function(M,R){m[R]=M}),g.apply(b,m)}var P=[S].concat(m);return A.apply(b,P)}},_serialize:function(A){return JSON.stringify(A)},_deserialize:function(A,v){if(!A)return v;var g="";try{g=JSON.parse(A)}catch(x){g=A}return g!==void 0?g:v},_addStorage:function(A){this.enabled||this._testStorage(A)&&(this.storage=A,this.enabled=!0)},_addPlugin:function(A){var v=this;if(C(A)){D(A,function(m){v._addPlugin(m)});return}var g=w(this.plugins,function(m){return A===m});if(!g){if(this.plugins.push(A),!f(A))throw new Error("Plugins must be function values that return objects");var x=A.call(this);if(!t(x))throw new Error("Plugins must return an object of function properties");D(x,function(m,b){if(!f(m))throw new Error("Bad plugin property: "+b+" from plugin "+A.name+". Plugins should only return functions.");v._assignPluginFnProp(m,b)})}},addStorage:function(A){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(A)}},h=E(d,i,{plugins:[]});return h.raw={},D(h,function(y,A){f(y)&&(h.raw[A]=I(h,y))}),D(r,function(y){h._addStorage(y)}),D(u,function(y){h._addPlugin(y)}),h}},"5rEg":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("TSYQ"),D=e.n(w),I=e("q1tI"),E=e.n(I),C=e("H84U"),f=e("ihLV"),t=function(ft){var rt,Ie=Object(I.useContext)(C.b),Ot=Ie.getPrefixCls,Xt=Ie.direction,Vt=ft.prefixCls,bt=ft.className,It=bt===void 0?"":bt,Kt=Ot("input-group",Vt),Se=D()(Kt,(rt={},Object(T.a)(rt,"".concat(Kt,"-lg"),ft.size==="large"),Object(T.a)(rt,"".concat(Kt,"-sm"),ft.size==="small"),Object(T.a)(rt,"".concat(Kt,"-compact"),ft.compact),Object(T.a)(rt,"".concat(Kt,"-rtl"),Xt==="rtl"),rt),It),Ye=Object(I.useContext)(f.b),q=Object(I.useMemo)(function(){return Object(B.a)(Object(B.a)({},Ye),{isFormItemInput:!1})},[Ye]);return I.createElement("span",{className:Se,style:ft.style,onMouseEnter:ft.onMouseEnter,onMouseLeave:ft.onMouseLeave,onFocus:ft.onFocus,onBlur:ft.onBlur},I.createElement(f.b.Provider,{value:q},ft.children))},i=t,s=e("U8pU"),o=e("jN4g"),r=e("TOLs"),u=e("c+Xe"),n=e("caoh"),l=e("3Nzz"),a=e("+f9I"),c=e("ATYA");function d(gt,ft){var rt=Object(I.useRef)([]),Ie=function(){rt.current.push(window.setTimeout(function(){var Xt,Vt,bt,It;((Xt=gt.current)===null||Xt===void 0?void 0:Xt.input)&&((Vt=gt.current)===null||Vt===void 0?void 0:Vt.input.getAttribute("type"))==="password"&&((bt=gt.current)===null||bt===void 0?void 0:bt.input.hasAttribute("value"))&&((It=gt.current)===null||It===void 0||It.input.removeAttribute("value"))}))};return Object(I.useEffect)(function(){return ft&&Ie(),function(){return rt.current.forEach(function(Ot){return window.clearTimeout(Ot)})}},[]),Ie}function h(gt){return!!(gt.prefix||gt.suffix||gt.allowClear)}var y=function(gt,ft){var rt={};for(var Ie in gt)Object.prototype.hasOwnProperty.call(gt,Ie)&&ft.indexOf(Ie)<0&&(rt[Ie]=gt[Ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ie=Object.getOwnPropertySymbols(gt);Ot<Ie.length;Ot++)ft.indexOf(Ie[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ie[Ot])&&(rt[Ie[Ot]]=gt[Ie[Ot]]);return rt};function A(gt){return typeof gt=="undefined"||gt===null?"":String(gt)}function v(gt,ft,rt,Ie){if(!!rt){var Ot=ft;if(ft.type==="click"){var Xt=gt.cloneNode(!0);Ot=Object.create(ft,{target:{value:Xt},currentTarget:{value:Xt}}),Xt.value="",rt(Ot);return}if(Ie!==void 0){Ot=Object.create(ft,{target:{value:gt},currentTarget:{value:gt}}),gt.value=Ie,rt(Ot);return}rt(Ot)}}function g(gt,ft){if(!!gt){gt.focus(ft);var rt=ft||{},Ie=rt.cursor;if(Ie){var Ot=gt.value.length;switch(Ie){case"start":gt.setSelectionRange(0,0);break;case"end":gt.setSelectionRange(Ot,Ot);break;default:gt.setSelectionRange(0,Ot);break}}}}var x=Object(I.forwardRef)(function(gt,ft){var rt,Ie,Ot,Xt=gt.prefixCls,Vt=gt.bordered,bt=Vt===void 0?!0:Vt,It=gt.status,Kt=gt.size,Se=gt.disabled,Ye=gt.onBlur,q=gt.onFocus,Ae=gt.suffix,Me=gt.allowClear,De=gt.addonAfter,ze=gt.addonBefore,pe=gt.className,te=gt.onChange,be=y(gt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),xe=E.a.useContext(C.b),Z=xe.getPrefixCls,se=xe.direction,he=xe.input,Oe=Z("input",Xt),ne=Object(I.useRef)(null),ce=Object(a.c)(Oe,se),ae=ce.compactSize,Ee=ce.compactItemClassnames,ye=E.a.useContext(l.b),Te=ae||Kt||ye,je=E.a.useContext(n.b),qe=Se!=null?Se:je,Le=Object(I.useContext)(f.b),ke=Le.status,tt=Le.hasFeedback,st=Le.feedbackIcon,_t=Object(c.a)(ke,It),Ct=h(gt)||!!tt,Rt=Object(I.useRef)(Ct);Object(I.useEffect)(function(){var ir;Ct&&!Rt.current,Rt.current=Ct},[Ct]);var Wt=d(ne,!0),vt=function(Zt){Wt(),Ye==null||Ye(Zt)},Je=function(Zt){Wt(),q==null||q(Zt)},Yt=function(Zt){Wt(),te==null||te(Zt)},Ht=(tt||Ae)&&E.a.createElement(E.a.Fragment,null,Ae,tt&&st),nr;return Object(s.a)(Me)==="object"&&(Me==null?void 0:Me.clearIcon)?nr=Me:Me&&(nr={clearIcon:E.a.createElement(o.a,null)}),E.a.createElement(r.default,Object(B.a)({ref:Object(u.a)(ft,ne),prefixCls:Oe,autoComplete:he==null?void 0:he.autoComplete},be,{disabled:qe||void 0,onBlur:vt,onFocus:Je,suffix:Ht,allowClear:nr,className:D()(pe,Ee),onChange:Yt,addonAfter:De&&E.a.createElement(a.a,null,E.a.createElement(f.e,{override:!0,status:!0},De)),addonBefore:ze&&E.a.createElement(a.a,null,E.a.createElement(f.e,{override:!0,status:!0},ze)),inputClassName:D()((rt={},Object(T.a)(rt,"".concat(Oe,"-sm"),Te==="small"),Object(T.a)(rt,"".concat(Oe,"-lg"),Te==="large"),Object(T.a)(rt,"".concat(Oe,"-rtl"),se==="rtl"),Object(T.a)(rt,"".concat(Oe,"-borderless"),!bt),rt),!Ct&&Object(c.b)(Oe,_t)),affixWrapperClassName:D()((Ie={},Object(T.a)(Ie,"".concat(Oe,"-affix-wrapper-sm"),Te==="small"),Object(T.a)(Ie,"".concat(Oe,"-affix-wrapper-lg"),Te==="large"),Object(T.a)(Ie,"".concat(Oe,"-affix-wrapper-rtl"),se==="rtl"),Object(T.a)(Ie,"".concat(Oe,"-affix-wrapper-borderless"),!bt),Ie),Object(c.b)("".concat(Oe,"-affix-wrapper"),_t,tt)),wrapperClassName:D()(Object(T.a)({},"".concat(Oe,"-group-rtl"),se==="rtl")),groupClassName:D()((Ot={},Object(T.a)(Ot,"".concat(Oe,"-group-wrapper-sm"),Te==="small"),Object(T.a)(Ot,"".concat(Oe,"-group-wrapper-lg"),Te==="large"),Object(T.a)(Ot,"".concat(Oe,"-group-wrapper-rtl"),se==="rtl"),Ot),Object(c.b)("".concat(Oe,"-group-wrapper"),_t,tt))}))}),m=x,b=e("ODXe"),S=e("VTBJ"),P={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"},M=P,R=e("6VBw"),F=function(ft,rt){return I.createElement(R.a,Object(S.a)(Object(S.a)({},ft),{},{ref:rt,icon:M}))};F.displayName="EyeInvisibleOutlined";var L=I.forwardRef(F),U=e("9BLJ"),N=e("bT9E"),Q=function(gt,ft){var rt={};for(var Ie in gt)Object.prototype.hasOwnProperty.call(gt,Ie)&&ft.indexOf(Ie)<0&&(rt[Ie]=gt[Ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ie=Object.getOwnPropertySymbols(gt);Ot<Ie.length;Ot++)ft.indexOf(Ie[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ie[Ot])&&(rt[Ie[Ot]]=gt[Ie[Ot]]);return rt},z=function(ft){return ft?I.createElement(U.a,null):I.createElement(L,null)},_={click:"onClick",hover:"onMouseOver"},J=I.forwardRef(function(gt,ft){var rt=gt.visibilityToggle,Ie=rt===void 0?!0:rt,Ot=Object(s.a)(Ie)==="object"&&Ie.visible!==void 0,Xt=Object(I.useState)(function(){return Ot?Ie.visible:!1}),Vt=Object(b.a)(Xt,2),bt=Vt[0],It=Vt[1],Kt=Object(I.useRef)(null);I.useEffect(function(){Ot&&It(Ie.visible)},[Ot,Ie]);var Se=d(Kt),Ye=function(){var De=gt.disabled;De||(bt&&Se(),It(function(ze){var pe,te=!ze;return Object(s.a)(Ie)==="object"&&((pe=Ie.onVisibleChange)===null||pe===void 0||pe.call(Ie,te)),te}))},q=function(De){var ze,pe=gt.action,te=pe===void 0?"click":pe,be=gt.iconRender,xe=be===void 0?z:be,Z=_[te]||"",se=xe(bt),he=(ze={},Object(T.a)(ze,Z,Ye),Object(T.a)(ze,"className","".concat(De,"-icon")),Object(T.a)(ze,"key","passwordIcon"),Object(T.a)(ze,"onMouseDown",function(ne){ne.preventDefault()}),Object(T.a)(ze,"onMouseUp",function(ne){ne.preventDefault()}),ze);return I.cloneElement(I.isValidElement(se)?se:I.createElement("span",null,se),he)},Ae=function(De){var ze=De.getPrefixCls,pe=gt.className,te=gt.prefixCls,be=gt.inputPrefixCls,xe=gt.size,Z=Q(gt,["className","prefixCls","inputPrefixCls","size"]),se=ze("input",be),he=ze("input-password",te),Oe=Ie&&q(he),ne=D()(he,pe,Object(T.a)({},"".concat(he,"-").concat(xe),!!xe)),ce=Object(B.a)(Object(B.a)({},Object(N.a)(Z,["suffix","iconRender","visibilityToggle"])),{type:bt?"text":"password",className:ne,prefixCls:se,suffix:Oe});return xe&&(ce.size=xe),I.createElement(m,Object(B.a)({ref:Object(u.a)(ft,Kt)},ce))};return I.createElement(C.a,null,Ae)}),Y=J,k=e("l+S1"),W=e("2/Rp"),ie=e("0n0R"),fe=function(gt,ft){var rt={};for(var Ie in gt)Object.prototype.hasOwnProperty.call(gt,Ie)&&ft.indexOf(Ie)<0&&(rt[Ie]=gt[Ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ie=Object.getOwnPropertySymbols(gt);Ot<Ie.length;Ot++)ft.indexOf(Ie[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ie[Ot])&&(rt[Ie[Ot]]=gt[Ie[Ot]]);return rt},Ce=I.forwardRef(function(gt,ft){var rt,Ie=gt.prefixCls,Ot=gt.inputPrefixCls,Xt=gt.className,Vt=gt.size,bt=gt.suffix,It=gt.enterButton,Kt=It===void 0?!1:It,Se=gt.addonAfter,Ye=gt.loading,q=gt.disabled,Ae=gt.onSearch,Me=gt.onChange,De=gt.onCompositionStart,ze=gt.onCompositionEnd,pe=fe(gt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),te=I.useContext(C.b),be=te.getPrefixCls,xe=te.direction,Z=I.useContext(l.b),se=I.useRef(!1),he=be("input-search",Ie),Oe=be("input",Ot),ne=Object(a.c)(he,xe),ce=ne.compactSize,ae=ce||Vt||Z,Ee=I.useRef(null),ye=function(Je){Je&&Je.target&&Je.type==="click"&&Ae&&Ae(Je.target.value,Je),Me&&Me(Je)},Te=function(Je){var Yt;document.activeElement===((Yt=Ee.current)===null||Yt===void 0?void 0:Yt.input)&&Je.preventDefault()},je=function(Je){var Yt,Ht;Ae&&Ae((Ht=(Yt=Ee.current)===null||Yt===void 0?void 0:Yt.input)===null||Ht===void 0?void 0:Ht.value,Je)},qe=function(Je){se.current||je(Je)},Le=typeof Kt=="boolean"?I.createElement(k.a,null):null,ke="".concat(he,"-button"),tt,st=Kt||{},_t=st.type&&st.type.__ANT_BUTTON===!0;_t||st.type==="button"?tt=Object(ie.a)(st,Object(B.a)({onMouseDown:Te,onClick:function(Je){var Yt,Ht;(Ht=(Yt=st==null?void 0:st.props)===null||Yt===void 0?void 0:Yt.onClick)===null||Ht===void 0||Ht.call(Yt,Je),je(Je)},key:"enterButton"},_t?{className:ke,size:ae}:{})):tt=I.createElement(W.a,{className:ke,type:Kt?"primary":void 0,size:ae,disabled:q,key:"enterButton",onMouseDown:Te,onClick:je,loading:Ye,icon:Le},Kt),Se&&(tt=[tt,Object(ie.a)(Se,{key:"addonAfter"})]);var Ct=D()(he,(rt={},Object(T.a)(rt,"".concat(he,"-rtl"),xe==="rtl"),Object(T.a)(rt,"".concat(he,"-").concat(ae),!!ae),Object(T.a)(rt,"".concat(he,"-with-button"),!!Kt),rt),Xt),Rt=function(Je){se.current=!0,De==null||De(Je)},Wt=function(Je){se.current=!1,ze==null||ze(Je)};return I.createElement(m,Object(B.a)({ref:Object(u.a)(Ee,ft),onPressEnter:qe},pe,{size:ae,onCompositionStart:Rt,onCompositionEnd:Wt,prefixCls:Oe,addonAfter:tt,suffix:bt,onChange:ye,className:Ct,disabled:q}))}),ge=Ce,de=e("KQm4"),Pe=e("Y1PL"),_e=e("6cGi"),Ne=e("1OyB"),He=e("vuIU"),ue=e("Ji7U"),Re=e("LK+K"),nt=e("CWQg"),Ve=Object(nt.a)("text","input");function Ge(gt){return!!(gt.addonBefore||gt.addonAfter)}var dt=function(gt){Object(ue.a)(rt,gt);var ft=Object(Re.a)(rt);function rt(){return Object(Ne.a)(this,rt),ft.apply(this,arguments)}return Object(He.a)(rt,[{key:"renderClearIcon",value:function(Ot){var Xt,Vt=this.props,bt=Vt.value,It=Vt.disabled,Kt=Vt.readOnly,Se=Vt.handleReset,Ye=Vt.suffix,q=!It&&!Kt&&bt,Ae="".concat(Ot,"-clear-icon");return I.createElement(o.a,{onClick:Se,onMouseDown:function(De){return De.preventDefault()},className:D()((Xt={},Object(T.a)(Xt,"".concat(Ae,"-hidden"),!q),Object(T.a)(Xt,"".concat(Ae,"-has-suffix"),!!Ye),Xt),Ae),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(Ot,Xt,Vt){var bt,It=this.props,Kt=It.value,Se=It.allowClear,Ye=It.className,q=It.style,Ae=It.direction,Me=It.bordered,De=It.hidden,ze=It.status,pe=Vt.status,te=Vt.hasFeedback;if(!Se)return Object(ie.a)(Xt,{value:Kt});var be=D()("".concat(Ot,"-affix-wrapper"),"".concat(Ot,"-affix-wrapper-textarea-with-clear-btn"),Object(c.b)("".concat(Ot,"-affix-wrapper"),Object(c.a)(pe,ze),te),(bt={},Object(T.a)(bt,"".concat(Ot,"-affix-wrapper-rtl"),Ae==="rtl"),Object(T.a)(bt,"".concat(Ot,"-affix-wrapper-borderless"),!Me),Object(T.a)(bt,"".concat(Ye),!Ge(this.props)&&Ye),bt));return I.createElement("span",{className:be,style:q,hidden:De},Object(ie.a)(Xt,{style:null,value:Kt}),this.renderClearIcon(Ot))}},{key:"render",value:function(){var Ot=this;return I.createElement(f.b.Consumer,null,function(Xt){var Vt=Ot.props,bt=Vt.prefixCls,It=Vt.inputType,Kt=Vt.element;if(It===Ve[0])return Ot.renderTextAreaWithClearIcon(bt,Kt,Xt)})}}]),rt}(I.Component),et=dt,At=function(gt,ft){var rt={};for(var Ie in gt)Object.prototype.hasOwnProperty.call(gt,Ie)&&ft.indexOf(Ie)<0&&(rt[Ie]=gt[Ie]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ie=Object.getOwnPropertySymbols(gt);Ot<Ie.length;Ot++)ft.indexOf(Ie[Ot])<0&&Object.prototype.propertyIsEnumerable.call(gt,Ie[Ot])&&(rt[Ie[Ot]]=gt[Ie[Ot]]);return rt};function Dt(gt,ft){return Object(de.a)(gt||"").slice(0,ft).join("")}function Ft(gt,ft,rt,Ie){var Ot=rt;return gt?Ot=Dt(rt,Ie):Object(de.a)(ft||"").length<rt.length&&Object(de.a)(rt||"").length>Ie&&(Ot=ft),Ot}var St=I.forwardRef(function(gt,ft){var rt,Ie=gt.prefixCls,Ot=gt.bordered,Xt=Ot===void 0?!0:Ot,Vt=gt.showCount,bt=Vt===void 0?!1:Vt,It=gt.maxLength,Kt=gt.className,Se=gt.style,Ye=gt.size,q=gt.disabled,Ae=gt.onCompositionStart,Me=gt.onCompositionEnd,De=gt.onChange,ze=gt.status,pe=At(gt,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),te=I.useContext(C.b),be=te.getPrefixCls,xe=te.direction,Z=I.useContext(l.b),se=I.useContext(n.b),he=q!=null?q:se,Oe=I.useContext(f.b),ne=Oe.status,ce=Oe.hasFeedback,ae=Oe.isFormItemInput,Ee=Oe.feedbackIcon,ye=Object(c.a)(ne,ze),Te=I.useRef(null),je=I.useRef(null),qe=I.useState(!1),Le=Object(b.a)(qe,2),ke=Le[0],tt=Le[1],st=I.useRef(),_t=I.useRef(0),Ct=Object(_e.a)(pe.defaultValue,{value:pe.value}),Rt=Object(b.a)(Ct,2),Wt=Rt[0],vt=Rt[1],Je=pe.hidden,Yt=function(Nt,Qt){pe.value===void 0&&(vt(Nt),Qt==null||Qt())},Ht=Number(It)>0,nr=function(Nt){tt(!0),st.current=Wt,_t.current=Nt.currentTarget.selectionStart,Ae==null||Ae(Nt)},ir=function(Nt){var Qt;tt(!1);var at=Nt.currentTarget.value;if(Ht){var Ue=_t.current>=It+1||_t.current===((Qt=st.current)===null||Qt===void 0?void 0:Qt.length);at=Ft(Ue,st.current,at,It)}at!==Wt&&(Yt(at),v(Nt.currentTarget,Nt,De,at)),Me==null||Me(Nt)},Zt=function(Nt){var Qt=Nt.target.value;if(!ke&&Ht){var at=Nt.target.selectionStart>=It+1||Nt.target.selectionStart===Qt.length||!Nt.target.selectionStart;Qt=Ft(at,Wt,Qt,It)}Yt(Qt),v(Nt.currentTarget,Nt,De,Qt)},Mt=function(Nt){var Qt,at,Ue;Yt(""),(Qt=Te.current)===null||Qt===void 0||Qt.focus(),v((Ue=(at=Te.current)===null||at===void 0?void 0:at.resizableTextArea)===null||Ue===void 0?void 0:Ue.textArea,Nt,De)},pt=be("input",Ie);I.useImperativeHandle(ft,function(){var qt;return{resizableTextArea:(qt=Te.current)===null||qt===void 0?void 0:qt.resizableTextArea,focus:function(Qt){var at,Ue;g((Ue=(at=Te.current)===null||at===void 0?void 0:at.resizableTextArea)===null||Ue===void 0?void 0:Ue.textArea,Qt)},blur:function(){var Qt;return(Qt=Te.current)===null||Qt===void 0?void 0:Qt.blur()}}});var Tt=I.createElement(Pe.default,Object(B.a)({},Object(N.a)(pe,["allowClear"]),{disabled:he,className:D()((rt={},Object(T.a)(rt,"".concat(pt,"-borderless"),!Xt),Object(T.a)(rt,Kt,Kt&&!bt),Object(T.a)(rt,"".concat(pt,"-sm"),Z==="small"||Ye==="small"),Object(T.a)(rt,"".concat(pt,"-lg"),Z==="large"||Ye==="large"),rt),Object(c.b)(pt,ye)),style:bt?{resize:Se==null?void 0:Se.resize}:Se,prefixCls:pt,onCompositionStart:nr,onChange:Zt,onCompositionEnd:ir,ref:Te})),mt=A(Wt);!ke&&Ht&&(pe.value===null||pe.value===void 0)&&(mt=Dt(mt,It));var Jt=I.createElement(et,Object(B.a)({disabled:he},pe,{prefixCls:pt,direction:xe,inputType:"text",value:mt,element:Tt,handleReset:Mt,ref:je,bordered:Xt,status:ze,style:bt?void 0:Se}));if(bt||ce){var or,ut=Object(de.a)(mt).length,ht="";return Object(s.a)(bt)==="object"?ht=bt.formatter({value:mt,count:ut,maxLength:It}):ht="".concat(ut).concat(Ht?" / ".concat(It):""),I.createElement("div",{hidden:Je,className:D()("".concat(pt,"-textarea"),(or={},Object(T.a)(or,"".concat(pt,"-textarea-rtl"),xe==="rtl"),Object(T.a)(or,"".concat(pt,"-textarea-show-count"),bt),Object(T.a)(or,"".concat(pt,"-textarea-in-form-item"),ae),or),Object(c.b)("".concat(pt,"-textarea"),ye,ce),Kt),style:Se,"data-count":ht},Jt,ce&&I.createElement("span",{className:"".concat(pt,"-textarea-suffix")},Ee))}return Jt}),$e=St,lt=m;lt.Group=i,lt.Search=ge,lt.TextArea=$e,lt.Password=Y;var Ut=V.a=lt},"5s0K":function(oe,V,e){var B=e("bYtY");function T(){var w=[],D={},I;return{add:function(E,C,f,t,i){return B.isString(t)&&(i=t,t=0),D[E.id]?!1:(D[E.id]=1,w.push({el:E,target:C,time:f,delay:t,easing:i}),!0)},done:function(E){return I=E,this},start:function(){for(var E=w.length,C=0,f=w.length;C<f;C++){var t=w[C];t.el.animateTo(t.target,t.time,t.delay,t.easing,i)}return this;function i(){E--,E||(w.length=0,D={},I&&I())}}}}V.createWrap=T},"6/nd":function(oe,V,e){var B=e("ProS");B.registerAction("legendScroll","legendscroll",function(T,w){var D=T.scrollDataIndex;D!=null&&w.eachComponent({mainType:"legend",subType:"scroll",query:T},function(I){I.setScrollDataIndex(D)})})},"62sa":function(oe,V,e){var B=e("bYtY"),T=e("4NO4"),w=T.makeInner,D=e("zTMp"),I=e("Ez2D"),E=B.each,C=B.curry,f=w();function t(h,y,A){var v=h.currTrigger,g=[h.x,h.y],x=h,m=h.dispatchAction||B.bind(A.dispatchAction,A),b=y.getComponent("axisPointer").coordSysAxesInfo;if(!!b){d(g)&&(g=I({seriesIndex:x.seriesIndex,dataIndex:x.dataIndex},y).point);var S=d(g),P=x.axesInfo,M=b.axesInfo,R=v==="leave"||d(g),F={},L={},U={list:[],map:{}},N={showPointer:C(o,L),showTooltip:C(r,U)};E(b.coordSysMap,function(z,_){var J=S||z.containPoint(g);E(b.coordSysAxesInfo[_],function(Y,k){var W=Y.axis,ie=a(P,Y);if(!R&&J&&(!P||ie)){var fe=ie&&ie.value;fe==null&&!S&&(fe=W.pointToData(g)),fe!=null&&i(Y,fe,N,!1,F)}})});var Q={};return E(M,function(z,_){var J=z.linkGroup;J&&!L[_]&&E(J.axesInfo,function(Y,k){var W=L[k];if(Y!==z&&W){var ie=W.value;J.mapper&&(ie=z.axis.scale.parse(J.mapper(ie,c(Y),c(z)))),Q[z.key]=ie}})}),E(Q,function(z,_){i(M[_],z,N,!0,F)}),u(L,M,F),n(U,g,h,m),l(M,m,A),F}}function i(h,y,A,v,g){var x=h.axis;if(!(x.scale.isBlank()||!x.containData(y))){if(!h.involveSeries){A.showPointer(h,y);return}var m=s(y,h),b=m.payloadBatch,S=m.snapToValue;b[0]&&g.seriesIndex==null&&B.extend(g,b[0]),!v&&h.snap&&x.containData(S)&&S!=null&&(y=S),A.showPointer(h,y,b,g),A.showTooltip(h,m,S)}}function s(h,y){var A=y.axis,v=A.dim,g=h,x=[],m=Number.MAX_VALUE,b=-1;return E(y.seriesModels,function(S,P){var M=S.getData().mapDimension(v,!0),R,F;if(S.getAxisTooltipData){var L=S.getAxisTooltipData(M,h,A);F=L.dataIndices,R=L.nestestValue}else{if(F=S.getData().indicesOfNearest(M[0],h,A.type==="category"?.5:null),!F.length)return;R=S.getData().get(M[0],F[0])}if(!(R==null||!isFinite(R))){var U=h-R,N=Math.abs(U);N<=m&&((N<m||U>=0&&b<0)&&(m=N,b=U,g=R,x.length=0),E(F,function(Q){x.push({seriesIndex:S.seriesIndex,dataIndexInside:Q,dataIndex:S.getData().getRawIndex(Q)})}))}}),{payloadBatch:x,snapToValue:g}}function o(h,y,A,v){h[y.key]={value:A,payloadBatch:v}}function r(h,y,A,v){var g=A.payloadBatch,x=y.axis,m=x.model,b=y.axisPointerModel;if(!(!y.triggerTooltip||!g.length)){var S=y.coordSys.model,P=D.makeKey(S),M=h.map[P];M||(M=h.map[P]={coordSysId:S.id,coordSysIndex:S.componentIndex,coordSysType:S.type,coordSysMainType:S.mainType,dataByAxis:[]},h.list.push(M)),M.dataByAxis.push({axisDim:x.dim,axisIndex:m.componentIndex,axisType:m.type,axisId:m.id,value:v,valueLabelOpt:{precision:b.get("label.precision"),formatter:b.get("label.formatter")},seriesDataIndices:g.slice()})}}function u(h,y,A){var v=A.axesInfo=[];E(y,function(g,x){var m=g.axisPointerModel.option,b=h[x];b?(!g.useHandle&&(m.status="show"),m.value=b.value,m.seriesDataIndices=(b.payloadBatch||[]).slice()):!g.useHandle&&(m.status="hide"),m.status==="show"&&v.push({axisDim:g.axis.dim,axisIndex:g.axis.model.componentIndex,value:m.value})})}function n(h,y,A,v){if(d(y)||!h.list.length){v({type:"hideTip"});return}var g=((h.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};v({type:"showTip",escapeConnect:!0,x:y[0],y:y[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:g.dataIndexInside,dataIndex:g.dataIndex,seriesIndex:g.seriesIndex,dataByCoordSys:h.list})}function l(h,y,A){var v=A.getZr(),g="axisPointerLastHighlights",x=f(v)[g]||{},m=f(v)[g]={};E(h,function(P,M){var R=P.axisPointerModel.option;R.status==="show"&&E(R.seriesDataIndices,function(F){var L=F.seriesIndex+" | "+F.dataIndex;m[L]=F})});var b=[],S=[];B.each(x,function(P,M){!m[M]&&S.push(P)}),B.each(m,function(P,M){!x[M]&&b.push(P)}),S.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,batch:S}),b.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,batch:b})}function a(h,y){for(var A=0;A<(h||[]).length;A++){var v=h[A];if(y.axis.dim===v.axisDim&&y.axis.model.componentIndex===v.axisIndex)return v}}function c(h){var y=h.axis.model,A={},v=A.axisDim=h.axis.dim;return A.axisIndex=A[v+"AxisIndex"]=y.componentIndex,A.axisName=A[v+"AxisName"]=y.name,A.axisId=A[v+"AxisId"]=y.id,A}function d(h){return!h||h[0]==null||isNaN(h[0])||h[1]==null||isNaN(h[1])}oe.exports=t},"6D9b":function(oe,V,e){},"6GrX":function(oe,V,e){var B=e("mFDi"),T=e("Xnb7"),w=e("bYtY"),D=w.getContext,I=w.extend,E=w.retrieve2,C=w.retrieve3,f=w.trim,t={},i=0,s=5e3,o=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,r="12px sans-serif",u={};function n(U,N){u[U]=N}function l(U,N){N=N||r;var Q=U+":"+N;if(t[Q])return t[Q];for(var z=(U+"").split(`
|
|
|
`),_=0,J=0,Y=z.length;J<Y;J++)_=Math.max(P(z[J],N).width,_);return i>s&&(i=0,t={}),i++,t[Q]=_,_}function a(U,N,Q,z,_,J,Y,k){return Y?d(U,N,Q,z,_,J,Y,k):c(U,N,Q,z,_,J,k)}function c(U,N,Q,z,_,J,Y){var k=M(U,N,_,J,Y),W=l(U,N);_&&(W+=_[1]+_[3]);var ie=k.outerHeight,fe=h(0,W,Q),Ce=y(0,ie,z),ge=new B(fe,Ce,W,ie);return ge.lineHeight=k.lineHeight,ge}function d(U,N,Q,z,_,J,Y,k){var W=R(U,{rich:Y,truncate:k,font:N,textAlign:Q,textPadding:_,textLineHeight:J}),ie=W.outerWidth,fe=W.outerHeight,Ce=h(0,ie,Q),ge=y(0,fe,z);return new B(Ce,ge,ie,fe)}function h(U,N,Q){return Q==="right"?U-=N:Q==="center"&&(U-=N/2),U}function y(U,N,Q){return Q==="middle"?U-=N/2:Q==="bottom"&&(U-=N),U}function A(U,N,Q){var z=N.textPosition,_=N.textDistance,J=Q.x,Y=Q.y;_=_||0;var k=Q.height,W=Q.width,ie=k/2,fe="left",Ce="top";switch(z){case"left":J-=_,Y+=ie,fe="right",Ce="middle";break;case"right":J+=_+W,Y+=ie,Ce="middle";break;case"top":J+=W/2,Y-=_,fe="center",Ce="bottom";break;case"bottom":J+=W/2,Y+=k+_,fe="center";break;case"inside":J+=W/2,Y+=ie,fe="center",Ce="middle";break;case"insideLeft":J+=_,Y+=ie,Ce="middle";break;case"insideRight":J+=W-_,Y+=ie,fe="right",Ce="middle";break;case"insideTop":J+=W/2,Y+=_,fe="center";break;case"insideBottom":J+=W/2,Y+=k-_,fe="center",Ce="bottom";break;case"insideTopLeft":J+=_,Y+=_;break;case"insideTopRight":J+=W-_,Y+=_,fe="right";break;case"insideBottomLeft":J+=_,Y+=k-_,Ce="bottom";break;case"insideBottomRight":J+=W-_,Y+=k-_,fe="right",Ce="bottom";break}return U=U||{},U.x=J,U.y=Y,U.textAlign=fe,U.textVerticalAlign=Ce,U}function v(U,N,Q){var z={textPosition:U,textDistance:Q};return A({},z,N)}function g(U,N,Q,z,_){if(!N)return"";var J=(U+"").split(`
|
|
|
`);_=x(N,Q,z,_);for(var Y=0,k=J.length;Y<k;Y++)J[Y]=m(J[Y],_);return J.join(`
|
|
|
`)}function x(U,N,Q,z){z=I({},z),z.font=N;var Q=E(Q,"...");z.maxIterations=E(z.maxIterations,2);var _=z.minChar=E(z.minChar,0);z.cnCharWidth=l("\u56FD",N);var J=z.ascCharWidth=l("a",N);z.placeholder=E(z.placeholder,"");for(var Y=U=Math.max(0,U-1),k=0;k<_&&Y>=J;k++)Y-=J;var W=l(Q,N);return W>Y&&(Q="",W=0),Y=U-W,z.ellipsis=Q,z.ellipsisWidth=W,z.contentWidth=Y,z.containerWidth=U,z}function m(U,N){var Q=N.containerWidth,z=N.font,_=N.contentWidth;if(!Q)return"";var J=l(U,z);if(J<=Q)return U;for(var Y=0;;Y++){if(J<=_||Y>=N.maxIterations){U+=N.ellipsis;break}var k=Y===0?b(U,_,N.ascCharWidth,N.cnCharWidth):J>0?Math.floor(U.length*_/J):0;U=U.substr(0,k),J=l(U,z)}return U===""&&(U=N.placeholder),U}function b(U,N,Q,z){for(var _=0,J=0,Y=U.length;J<Y&&_<N;J++){var k=U.charCodeAt(J);_+=0<=k&&k<=127?Q:z}return J}function S(U){return l("\u56FD",U)}function P(U,N){return u.measureText(U,N)}u.measureText=function(U,N){var Q=D();return Q.font=N||r,Q.measureText(U)};function M(U,N,Q,z,_){U!=null&&(U+="");var J=E(z,S(N)),Y=U?U.split(`
|
|
|
`):[],k=Y.length*J,W=k,ie=!0;if(Q&&(W+=Q[0]+Q[2]),U&&_){ie=!1;var fe=_.outerHeight,Ce=_.outerWidth;if(fe!=null&&W>fe)U="",Y=[];else if(Ce!=null)for(var ge=x(Ce-(Q?Q[1]+Q[3]:0),N,_.ellipsis,{minChar:_.minChar,placeholder:_.placeholder}),de=0,Pe=Y.length;de<Pe;de++)Y[de]=m(Y[de],ge)}return{lines:Y,height:k,outerHeight:W,lineHeight:J,canCacheByTextString:ie}}function R(U,N){var Q={lines:[],width:0,height:0};if(U!=null&&(U+=""),!U)return Q;for(var z=o.lastIndex=0,_;(_=o.exec(U))!=null;){var J=_.index;J>z&&F(Q,U.substring(z,J)),F(Q,_[2],_[1]),z=o.lastIndex}z<U.length&&F(Q,U.substring(z,U.length));var Y=Q.lines,k=0,W=0,ie=[],fe=N.textPadding,Ce=N.truncate,ge=Ce&&Ce.outerWidth,de=Ce&&Ce.outerHeight;fe&&(ge!=null&&(ge-=fe[1]+fe[3]),de!=null&&(de-=fe[0]+fe[2]));for(var Pe=0;Pe<Y.length;Pe++){for(var _e=Y[Pe],Ne=0,He=0,ue=0;ue<_e.tokens.length;ue++){var Re=_e.tokens[ue],nt=Re.styleName&&N.rich[Re.styleName]||{},Ve=Re.textPadding=nt.textPadding,Ge=Re.font=nt.font||N.font,dt=Re.textHeight=E(nt.textHeight,S(Ge));if(Ve&&(dt+=Ve[0]+Ve[2]),Re.height=dt,Re.lineHeight=C(nt.textLineHeight,N.textLineHeight,dt),Re.textAlign=nt&&nt.textAlign||N.textAlign,Re.textVerticalAlign=nt&&nt.textVerticalAlign||"middle",de!=null&&k+Re.lineHeight>de)return{lines:[],width:0,height:0};Re.textWidth=l(Re.text,Ge);var et=nt.textWidth,At=et==null||et==="auto";if(typeof et=="string"&&et.charAt(et.length-1)==="%")Re.percentWidth=et,ie.push(Re),et=0;else{if(At){et=Re.textWidth;var Dt=nt.textBackgroundColor,Ft=Dt&&Dt.image;Ft&&(Ft=T.findExistImage(Ft),T.isImageReady(Ft)&&(et=Math.max(et,Ft.width*dt/Ft.height)))}var St=Ve?Ve[1]+Ve[3]:0;et+=St;var $e=ge!=null?ge-He:null;$e!=null&&$e<et&&(!At||$e<St?(Re.text="",Re.textWidth=et=0):(Re.text=g(Re.text,$e-St,Ge,Ce.ellipsis,{minChar:Ce.minChar}),Re.textWidth=l(Re.text,Ge),et=Re.textWidth+St))}He+=Re.width=et,nt&&(Ne=Math.max(Ne,Re.lineHeight))}_e.width=He,_e.lineHeight=Ne,k+=Ne,W=Math.max(W,He)}Q.outerWidth=Q.width=E(N.textWidth,W),Q.outerHeight=Q.height=E(N.textHeight,k),fe&&(Q.outerWidth+=fe[1]+fe[3],Q.outerHeight+=fe[0]+fe[2]);for(var Pe=0;Pe<ie.length;Pe++){var Re=ie[Pe],lt=Re.percentWidth;Re.width=parseInt(lt,10)/100*W}return Q}function F(U,N,Q){for(var z=N==="",_=N.split(`
|
|
|
`),J=U.lines,Y=0;Y<_.length;Y++){var k=_[Y],W={styleName:Q,text:k,isLineHolder:!k&&!z};if(Y)J.push({tokens:[W]});else{var ie=(J[J.length-1]||(J[0]={tokens:[]})).tokens,fe=ie.length;fe===1&&ie[0].isLineHolder?ie[0]=W:(k||!fe||z)&&ie.push(W)}}}function L(U){var N=(U.fontSize||U.fontFamily)&&[U.fontStyle,U.fontWeight,(U.fontSize||12)+"px",U.fontFamily||"sans-serif"].join(" ");return N&&f(N)||U.textFont||U.font}V.DEFAULT_FONT=r,V.$override=n,V.getWidth=l,V.getBoundingRect=a,V.adjustTextX=h,V.adjustTextY=y,V.calculateTextPosition=A,V.adjustTextPositionOnRect=v,V.truncateText=g,V.getLineHeight=S,V.measureText=P,V.parsePlainText=M,V.parseRichText=R,V.makeFont=L},"6Ic6":function(oe,V,e){var B=e("bYtY"),T=B.each,w=e("4fz+"),D=e("iRjW"),I=e("Yl7c"),E=e("4NO4"),C=e("IwbS"),f=e("9H2F"),t=f.createTask,i=e("zM3Q"),s=E.makeInner(),o=i();function r(){this.group=new w,this.uid=D.getUID("viewChart"),this.renderTask=t({plan:a,reset:c}),this.renderTask.context={view:this}}r.prototype={type:"chart",init:function(y,A){},render:function(y,A,v,g){},highlight:function(y,A,v,g){l(y.getData(),g,"emphasis")},downplay:function(y,A,v,g){l(y.getData(),g,"normal")},remove:function(y,A){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var u=r.prototype;u.updateView=u.updateLayout=u.updateVisual=function(y,A,v,g){this.render(y,A,v,g)};function n(y,A,v){if(y&&(y.trigger(A,v),y.isGroup&&!C.isHighDownDispatcher(y)))for(var g=0,x=y.childCount();g<x;g++)n(y.childAt(g),A,v)}function l(y,A,v){var g=E.queryDataIndex(y,A),x=A&&A.highlightKey!=null?C.getHighlightDigit(A.highlightKey):null;g!=null?T(E.normalizeToArray(g),function(m){n(y.getItemGraphicEl(m),v,x)}):y.eachItemGraphicEl(function(m){n(m,v,x)})}I.enableClassExtend(r,["dispose"]),I.enableClassManagement(r,{registerWhenExtend:!0}),r.markUpdateMethod=function(y,A){s(y).updateMethod=A};function a(y){return o(y.model)}function c(y){var A=y.model,v=y.ecModel,g=y.api,x=y.payload,m=A.pipelineContext.progressiveRender,b=y.view,S=x&&s(x).updateMethod,P=m?"incrementalPrepareRender":S&&b[S]?S:"render";return P!=="render"&&b[P](A,v,g,x),d[P]}var d={incrementalPrepareRender:{progress:function(y,A){A.view.incrementalRender(y,A.model,A.ecModel,A.api,A.payload)}},render:{forceFirstProgress:!0,progress:function(y,A){A.view.render(A.model,A.ecModel,A.api,A.payload)}}},h=r;oe.exports=h},"6MrE":function(oe,V,e){},"6UJt":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("v56E"),D=e.n(w),I=e("R9oj"),E=e("OaEy")},"6fms":function(oe,V,e){var B=e("SUKs"),T=e("06Qe"),w=e("bYtY"),D=w.each;function I(t){return parseInt(t,10)}function E(t,i){T.initVML(),this.root=t,this.storage=i;var s=document.createElement("div"),o=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",o.style.cssText="position:absolute;left:0;top:0;",t.appendChild(s),this._vmlRoot=o,this._vmlViewport=s,this.resize();var r=i.delFromStorage,u=i.addToStorage;i.delFromStorage=function(n){r.call(i,n),n&&n.onRemove&&n.onRemove(o)},i.addToStorage=function(n){n.onAdd&&n.onAdd(o),u.call(i,n)},this._firstPaint=!0}E.prototype={constructor:E,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var i=this.getViewportRoot();if(i)return{offsetLeft:i.offsetLeft||0,offsetTop:i.offsetTop||0}},refresh:function(){var i=this.storage.getDisplayList(!0,!0);this._paintList(i)},_paintList:function(i){for(var s=this._vmlRoot,o=0;o<i.length;o++){var r=i[o];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(s),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(s),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,s),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(i,s){var i=i==null?this._getWidth():i,s=s==null?this._getHeight():s;if(this._width!==i||this._height!==s){this._width=i,this._height=s;var o=this._vmlViewport.style;o.width=i+"px",o.height=s+"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 i=this.root,s=i.currentStyle;return(i.clientWidth||I(s.width))-I(s.paddingLeft)-I(s.paddingRight)|0},_getHeight:function(){var i=this.root,s=i.currentStyle;return(i.clientHeight||I(s.height))-I(s.paddingTop)-I(s.paddingBottom)|0}};function C(t){return function(){B('In IE8.0 VML mode painter not support method "'+t+'"')}}D(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){E.prototype[t]=C(t)});var f=E;oe.exports=f},"6r85":function(oe,V,e){var B=e("bYtY");function T(w){!w||!B.isArray(w.series)||B.each(w.series,function(D){B.isObject(D)&&D.type==="k"&&(D.type="candlestick")})}oe.exports=T},"6uqw":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("ItGF"),D=e("YOMW"),I=e("XxSj"),E=e("K4ya"),C=e("4NO4"),f=e("OELB"),t=I.mapVisual,i=I.eachVisual,s=T.isArray,o=T.each,r=f.asc,u=f.linearMap,n=T.noop,l=B.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(c,d,h){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(c,h)},optionUpdated:function(c,d){var h=this.option;w.canvasSupported||(h.realtime=!1),!d&&E.replaceVisualOption(h,c,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(c){var d=this.stateList;c=T.bind(c,this),this.controllerVisuals=E.createVisualMappings(this.option.controller,d,c),this.targetVisuals=E.createVisualMappings(this.option.target,d,c)},getTargetSeriesIndices:function(){var c=this.option.seriesIndex,d=[];return c==null||c==="all"?this.ecModel.eachSeries(function(h,y){d.push(y)}):d=C.normalizeToArray(c),d},eachTargetSeries:function(c,d){T.each(this.getTargetSeriesIndices(),function(h){c.call(d,this.ecModel.getSeriesByIndex(h))},this)},isTargetSeries:function(c){var d=!1;return this.eachTargetSeries(function(h){h===c&&(d=!0)}),d},formatValueText:function(c,d,h){var y=this.option,A=y.precision,v=this.dataBound,g=y.formatter,x,m;if(h=h||["<",">"],T.isArray(c)&&(c=c.slice(),x=!0),m=d?c:x?[b(c[0]),b(c[1])]:b(c),T.isString(g))return g.replace("{value}",x?m[0]:m).replace("{value2}",x?m[1]:m);if(T.isFunction(g))return x?g(c[0],c[1]):g(c);if(x)return c[0]===v[0]?h[0]+" "+m[1]:c[1]===v[1]?h[1]+" "+m[0]:m[0]+" - "+m[1];return m;function b(S){return S===v[0]?"min":S===v[1]?"max":(+S).toFixed(Math.min(A,20))}},resetExtent:function(){var c=this.option,d=r([c.min,c.max]);this._dataExtent=d},getDataDimension:function(c){var d=this.option.dimension,h=c.dimensions;if(!(d==null&&!h.length)){if(d!=null)return c.getDimension(d);for(var y=c.dimensions,A=y.length-1;A>=0;A--){var v=y[A],g=c.getDimensionInfo(v);if(!g.isCalculationCoord)return v}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var c=this.ecModel,d=this.option,h={inRange:d.inRange,outOfRange:d.outOfRange},y=d.target||(d.target={}),A=d.controller||(d.controller={});T.merge(y,h),T.merge(A,h);var v=this.isCategory();g.call(this,y),g.call(this,A),x.call(this,y,"inRange","outOfRange"),m.call(this,A);function g(b){s(d.color)&&!b.inRange&&(b.inRange={color:d.color.slice().reverse()}),b.inRange=b.inRange||{color:c.get("gradientColor")},o(this.stateList,function(S){var P=b[S];if(T.isString(P)){var M=D.get(P,"active",v);M?(b[S]={},b[S][P]=M):delete b[S]}},this)}function x(b,S,P){var M=b[S],R=b[P];M&&!R&&(R=b[P]={},o(M,function(F,L){if(!!I.isValidType(L)){var U=D.get(L,"inactive",v);U!=null&&(R[L]=U,L==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}}))}function m(b){var S=(b.inRange||{}).symbol||(b.outOfRange||{}).symbol,P=(b.inRange||{}).symbolSize||(b.outOfRange||{}).symbolSize,M=this.get("inactiveColor");o(this.stateList,function(R){var F=this.itemSize,L=b[R];L||(L=b[R]={color:v?M:[M]}),L.symbol==null&&(L.symbol=S&&T.clone(S)||(v?"roundRect":["roundRect"])),L.symbolSize==null&&(L.symbolSize=P&&T.clone(P)||(v?F[0]:[F[0],F[0]])),L.symbol=t(L.symbol,function(Q){return Q==="none"||Q==="square"?"roundRect":Q});var U=L.symbolSize;if(U!=null){var N=-Infinity;i(U,function(Q){Q>N&&(N=Q)}),L.symbolSize=t(U,function(Q){return u(Q,[0,N],[0,F[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:n,getValueState:n,getVisualMeta:n}),a=l;oe.exports=a},"6usn":function(oe,V,e){var B=e("bYtY");function T(D,I){return B.map(["Radius","Angle"],function(E,C){var f=this["get"+E+"Axis"](),t=I[C],i=D[C]/2,s="dataTo"+E,o=f.type==="category"?f.getBandWidth():Math.abs(f[s](t-i)-f[s](t+i));return E==="Angle"&&(o=o*Math.PI/180),o},this)}function w(D){var I=D.getRadiusAxis(),E=D.getAngleAxis(),C=I.getExtent();return C[0]>C[1]&&C.reverse(),{coordSys:{type:"polar",cx:D.cx,cy:D.cy,r:C[1],r0:C[0]},api:{coord:B.bind(function(f){var t=I.dataToRadius(f[0]),i=E.dataToAngle(f[1]),s=D.coordToPoint([t,i]);return s.push(t,i*Math.PI/180),s}),size:B.bind(T,D)}}}oe.exports=w},"711d":function(oe,V){function e(B){return function(T){return T==null?void 0:T[B]}}oe.exports=e},"72pK":function(oe,V){function e(w,D,I,E,C,f){w=w||0;var t=I[1]-I[0];if(C!=null&&(C=T(C,[0,t])),f!=null&&(f=Math.max(f,C!=null?C:0)),E==="all"){var i=Math.abs(D[1]-D[0]);i=T(i,[0,t]),C=f=T(i,[C,f]),E=0}D[0]=T(D[0],I),D[1]=T(D[1],I);var s=B(D,E);D[E]+=w;var o=C||0,r=I.slice();s.sign<0?r[0]+=o:r[1]-=o,D[E]=T(D[E],r);var u=B(D,E);C!=null&&(u.sign!==s.sign||u.span<C)&&(D[1-E]=D[E]+s.sign*C);var u=B(D,E);return f!=null&&u.span>f&&(D[1-E]=D[E]+u.sign*f),D}function B(w,D){var I=w[D]-w[1-D];return{span:Math.abs(I),sign:I>0?-1:I<0?1:D?-1:1}}function T(w,D){return Math.min(D[1]!=null?D[1]:Infinity,Math.max(D[0]!=null?D[0]:-Infinity,w))}oe.exports=e},"75ce":function(oe,V,e){var B=e("ProS");e("IXuL"),e("8X+K");var T=e("f5Yq"),w=e("h8O9"),D=e("/d5a");e("Ae16"),B.registerVisual(T("line","circle","line")),B.registerLayout(w("line")),B.registerProcessor(B.PRIORITY.PROCESSOR.STATISTIC,D("line"))},"75ev":function(oe,V,e){var B=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var T=e("f5Yq"),w=e("yik8");B.registerVisual(T("tree","circle")),B.registerLayout(w)},"7AJT":function(oe,V,e){var B=e("bYtY"),T=e("hM6l"),w=function(I,E,C,f,t){T.call(this,I,E,C),this.type=f||"value",this.position=t||"bottom"};w.prototype={constructor:w,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var I=this.position;return I==="top"||I==="bottom"},getGlobalExtent:function(I){var E=this.getExtent();return E[0]=this.toGlobalCoord(E[0]),E[1]=this.toGlobalCoord(E[1]),I&&E[0]>E[1]&&E.reverse(),E},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(I,E){return this.coordToData(this.toLocalCoord(I[this.dim==="x"?0:1]),E)},toLocalCoord:null,toGlobalCoord:null},B.inherits(w,T);var D=w;oe.exports=D},"7DRL":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.createHashMap,I=w.isString,E=w.isArray,C=w.each,f=w.assert,t=e("MEGo"),i=t.parseXML,s=D(),o={registerMap:function(u,n,l){var a;return E(n)?a=n:n.svg?a=[{type:"svg",source:n.svg,specialAreas:n.specialAreas}]:(n.geoJson&&!n.features&&(l=n.specialAreas,n=n.geoJson),a=[{type:"geoJSON",source:n,specialAreas:l}]),C(a,function(c){var d=c.type;d==="geoJson"&&(d=c.type="geoJSON");var h=r[d];h(c)}),s.set(u,a)},retrieveMap:function(u){return s.get(u)}},r={geoJSON:function(u){var n=u.source;u.geoJSON=I(n)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(n):new Function("return ("+n+");")():n},svg:function(u){u.svgXML=i(u.source)}};oe.exports=o},"7G+c":function(oe,V,e){var B=e("bYtY"),T=B.createHashMap,w=B.isTypedArray,D=e("Yl7c"),I=D.enableClassCheck,E=e("k9D9"),C=E.SOURCE_FORMAT_ORIGINAL,f=E.SERIES_LAYOUT_BY_COLUMN,t=E.SOURCE_FORMAT_UNKNOWN,i=E.SOURCE_FORMAT_TYPED_ARRAY,s=E.SOURCE_FORMAT_KEYED_COLUMNS;function o(u){this.fromDataset=u.fromDataset,this.data=u.data||(u.sourceFormat===s?{}:[]),this.sourceFormat=u.sourceFormat||t,this.seriesLayoutBy=u.seriesLayoutBy||f,this.dimensionsDefine=u.dimensionsDefine,this.encodeDefine=u.encodeDefine&&T(u.encodeDefine),this.startIndex=u.startIndex||0,this.dimensionsDetectCount=u.dimensionsDetectCount}o.seriesDataToSource=function(u){return new o({data:u,sourceFormat:w(u)?i:C,fromDataset:!1})},I(o);var r=o;oe.exports=r},"7Kak":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("KPFz"),D=e.n(w)},"7Phj":function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=T.parsePercent,D=B.each;function I(t){var i=E(t);D(i,function(s){var o=s.seriesModels;!o.length||(C(s),D(o,function(r,u){f(r,s.boxOffsetList[u],s.boxWidthList[u])}))})}function E(t){var i=[],s=[];return t.eachSeriesByType("boxplot",function(o){var r=o.getBaseAxis(),u=B.indexOf(s,r);u<0&&(u=s.length,s[u]=r,i[u]={axis:r,seriesModels:[]}),i[u].seriesModels.push(o)}),i}function C(t){var i,s=t.axis,o=t.seriesModels,r=o.length,u=t.boxWidthList=[],n=t.boxOffsetList=[],l=[],a;if(s.type==="category")a=s.getBandWidth();else{var c=0;D(o,function(v){c=Math.max(c,v.getData().count())}),i=s.getExtent(),Math.abs(i[1]-i[0])/c}D(o,function(v){var g=v.get("boxWidth");B.isArray(g)||(g=[g,g]),l.push([w(g[0],a)||0,w(g[1],a)||0])});var d=a*.8-2,h=d/r*.3,y=(d-h*(r-1))/r,A=y/2-d/2;D(o,function(v,g){n.push(A),A+=h+y,u.push(Math.min(Math.max(y,l[g][0]),l[g][1]))})}function f(t,i,s){var o=t.coordinateSystem,r=t.getData(),u=s/2,n=t.get("layout")==="horizontal"?0:1,l=1-n,a=["x","y"],c=r.mapDimension(a[n]),d=r.mapDimension(a[l],!0);if(c==null||d.length<5)return;for(var h=0;h<r.count();h++){var y=r.get(c,h),A=S(y,d[2],h),v=S(y,d[0],h),g=S(y,d[1],h),x=S(y,d[3],h),m=S(y,d[4],h),b=[];P(b,g,0),P(b,x,1),b.push(v,g,m,x),M(b,v),M(b,m),M(b,A),r.setItemLayout(h,{initBaseline:A[l],ends:b})}function S(R,F,L){var U=r.get(F,L),N=[];N[n]=R,N[l]=U;var Q;return isNaN(R)||isNaN(U)?Q=[NaN,NaN]:(Q=o.dataToPoint(N),Q[n]+=i),Q}function P(R,F,L){var U=F.slice(),N=F.slice();U[n]+=u,N[n]-=u,L?R.push(U,N):R.push(N,U)}function M(R,F){var L=F.slice(),U=F.slice();L[n]-=u,U[n]+=u,R.push(L,U)}}oe.exports=I},"7SHv":function(oe,V,e){var B=e("LPTA"),T=B.devicePixelRatio,w=e("bYtY"),D=e("SUKs"),I=e("mFDi"),E=e("BPZU"),C=e("Xmg4"),f=e("mLcG"),t=e("Dagg"),i=e("ItGF"),s=1e5,o=314159,r=.01,u=.001;function n(x){return parseInt(x,10)}function l(x){return x?x.__builtin__?!0:!(typeof x.resize!="function"||typeof x.refresh!="function"):!1}var a=new I(0,0,0,0),c=new I(0,0,0,0);function d(x,m,b){return a.copy(x.getBoundingRect()),x.transform&&a.applyTransform(x.transform),c.width=m,c.height=b,!a.intersect(c)}function h(x,m){if(x===m)return!1;if(!x||!m||x.length!==m.length)return!0;for(var b=0;b<x.length;b++)if(x[b]!==m[b])return!0;return!1}function y(x,m){for(var b=0;b<x.length;b++){var S=x[b];S.setTransform(m),m.beginPath(),S.buildPath(m,S.shape),m.clip(),S.restoreTransform(m)}}function A(x,m){var b=document.createElement("div");return b.style.cssText=["position:relative","width:"+x+"px","height:"+m+"px","padding:0","margin:0","border-width:0"].join(";")+";",b}var v=function(m,b,S){this.type="canvas";var P=!m.nodeName||m.nodeName.toUpperCase()==="CANVAS";this._opts=S=w.extend({},S||{}),this.dpr=S.devicePixelRatio||T,this._singleCanvas=P,this.root=m;var M=m.style;M&&(M["-webkit-tap-highlight-color"]="transparent",M["-webkit-user-select"]=M["user-select"]=M["-webkit-touch-callout"]="none",m.innerHTML=""),this.storage=b;var R=this._zlevelList=[],F=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,P){var U=m.width,N=m.height;S.width!=null&&(U=S.width),S.height!=null&&(N=S.height),this.dpr=S.devicePixelRatio||1,m.width=U*this.dpr,m.height=N*this.dpr,this._width=U,this._height=N;var Q=new C(m,this,this.dpr);Q.__builtin__=!0,Q.initContext(),F[o]=Q,Q.zlevel=o,R.push(o),this._domRoot=m}else{this._width=this._getSize(0),this._height=this._getSize(1);var L=this._domRoot=A(this._width,this._height);m.appendChild(L)}this._hoverlayer=null,this._hoverElements=[]};v.prototype={constructor:v,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var m=this.getViewportRoot();if(m)return{offsetLeft:m.offsetLeft||0,offsetTop:m.offsetTop||0}},refresh:function(m){var b=this.storage.getDisplayList(!0),S=this._zlevelList;this._redrawId=Math.random(),this._paintList(b,m,this._redrawId);for(var P=0;P<S.length;P++){var M=S[P],R=this._layers[M];if(!R.__builtin__&&R.refresh){var F=P===0?this._backgroundColor:null;R.refresh(F)}}return this.refreshHover(),this},addHover:function(m,b){if(!m.__hoverMir){var S=new m.constructor({style:m.style,shape:m.shape,z:m.z,z2:m.z2,silent:m.silent});return S.__from=m,m.__hoverMir=S,b&&S.setStyle(b),this._hoverElements.push(S),S}},removeHover:function(m){var b=m.__hoverMir,S=this._hoverElements,P=w.indexOf(S,b);P>=0&&S.splice(P,1),m.__hoverMir=null},clearHover:function(m){for(var b=this._hoverElements,S=0;S<b.length;S++){var P=b[S].__from;P&&(P.__hoverMir=null)}b.length=0},refreshHover:function(){var m=this._hoverElements,b=m.length,S=this._hoverlayer;if(S&&S.clear(),!!b){E(m,this.storage.displayableSortFunc),S||(S=this._hoverlayer=this.getLayer(s));var P={};S.ctx.save();for(var M=0;M<b;){var R=m[M],F=R.__from;if(!(F&&F.__zr)){m.splice(M,1),F.__hoverMir=null,b--;continue}M++,F.invisible||(R.transform=F.transform,R.invTransform=F.invTransform,R.__clipPaths=F.__clipPaths,this._doPaintEl(R,S,!0,P))}S.ctx.restore()}},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(m,b,S){if(this._redrawId===S){b=b||!1,this._updateLayerStatus(m);var P=this._doPaintList(m,b);if(this._needsManuallyCompositing&&this._compositeManually(),!P){var M=this;f(function(){M._paintList(m,b,S)})}}},_compositeManually:function(){var m=this.getLayer(o).ctx,b=this._domRoot.width,S=this._domRoot.height;m.clearRect(0,0,b,S),this.eachBuiltinLayer(function(P){P.virtual&&m.drawImage(P.dom,0,0,b,S)})},_doPaintList:function(m,b){for(var S=[],P=0;P<this._zlevelList.length;P++){var M=this._zlevelList[P],R=this._layers[M];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||b)&&S.push(R)}for(var F=!0,L=0;L<S.length;L++){var R=S[L],U=R.ctx,N={};U.save();var Q=b?R.__startIndex:R.__drawIndex,z=!b&&R.incremental&&Date.now,_=z&&Date.now(),J=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,J);else if(Q===R.__startIndex){var Y=m[Q];(!Y.incremental||!Y.notClear||b)&&R.clear(!1,J)}Q===-1&&(console.error("For some unknown reason. drawIndex is -1"),Q=R.__startIndex);for(var k=Q;k<R.__endIndex;k++){var W=m[k];if(this._doPaintEl(W,R,b,N),W.__dirty=W.__dirtyText=!1,z){var ie=Date.now()-_;if(ie>15)break}}R.__drawIndex=k,R.__drawIndex<R.__endIndex&&(F=!1),N.prevElClipPaths&&U.restore(),U.restore()}return i.wxa&&w.each(this._layers,function(fe){fe&&fe.ctx&&fe.ctx.draw&&fe.ctx.draw()}),F},_doPaintEl:function(m,b,S,P){var M=b.ctx,R=m.transform;if((b.__dirty||S)&&!m.invisible&&m.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(m.culling&&d(m,this._width,this._height))){var F=m.__clipPaths,L=P.prevElClipPaths;(!L||h(F,L))&&(L&&(M.restore(),P.prevElClipPaths=null,P.prevEl=null),F&&(M.save(),y(F,M),P.prevElClipPaths=F)),m.beforeBrush&&m.beforeBrush(M),m.brush(M,P.prevEl||null),P.prevEl=m,m.afterBrush&&m.afterBrush(M)}},getLayer:function(m,b){this._singleCanvas&&!this._needsManuallyCompositing&&(m=o);var S=this._layers[m];return S||(S=new C("zr_"+m,this,this.dpr),S.zlevel=m,S.__builtin__=!0,this._layerConfig[m]?w.merge(S,this._layerConfig[m],!0):this._layerConfig[m-r]&&w.merge(S,this._layerConfig[m-r],!0),b&&(S.virtual=b),this.insertLayer(m,S),S.initContext()),S},insertLayer:function(m,b){var S=this._layers,P=this._zlevelList,M=P.length,R=null,F=-1,L=this._domRoot;if(S[m]){D("ZLevel "+m+" has been used already");return}if(!l(b)){D("Layer of zlevel "+m+" is not valid");return}if(M>0&&m>P[0]){for(F=0;F<M-1&&!(P[F]<m&&P[F+1]>m);F++);R=S[P[F]]}if(P.splice(F+1,0,m),S[m]=b,!b.virtual)if(R){var U=R.dom;U.nextSibling?L.insertBefore(b.dom,U.nextSibling):L.appendChild(b.dom)}else L.firstChild?L.insertBefore(b.dom,L.firstChild):L.appendChild(b.dom)},eachLayer:function(m,b){var S=this._zlevelList,P,M;for(M=0;M<S.length;M++)P=S[M],m.call(b,this._layers[P],P)},eachBuiltinLayer:function(m,b){var S=this._zlevelList,P,M,R;for(R=0;R<S.length;R++)M=S[R],P=this._layers[M],P.__builtin__&&m.call(b,P,M)},eachOtherLayer:function(m,b){var S=this._zlevelList,P,M,R;for(R=0;R<S.length;R++)M=S[R],P=this._layers[M],P.__builtin__||m.call(b,P,M)},getLayers:function(){return this._layers},_updateLayerStatus:function(m){this.eachBuiltinLayer(function(N,Q){N.__dirty=N.__used=!1});function b(N){M&&(M.__endIndex!==N&&(M.__dirty=!0),M.__endIndex=N)}if(this._singleCanvas)for(var S=1;S<m.length;S++){var P=m[S];if(P.zlevel!==m[S-1].zlevel||P.incremental){this._needsManuallyCompositing=!0;break}}for(var M=null,R=0,F,S=0;S<m.length;S++){var P=m[S],L=P.zlevel,U;F!==L&&(F=L,R=0),P.incremental?(U=this.getLayer(L+u,this._needsManuallyCompositing),U.incremental=!0,R=1):U=this.getLayer(L+(R>0?r:0),this._needsManuallyCompositing),U.__builtin__||D("ZLevel "+L+" has been used by unkown layer "+U.id),U!==M&&(U.__used=!0,U.__startIndex!==S&&(U.__dirty=!0),U.__startIndex=S,U.incremental?U.__drawIndex=-1:U.__drawIndex=S,b(S),M=U),P.__dirty&&(U.__dirty=!0,U.incremental&&U.__drawIndex<0&&(U.__drawIndex=S))}b(S),this.eachBuiltinLayer(function(N,Q){!N.__used&&N.getElementCount()>0&&(N.__dirty=!0,N.__startIndex=N.__endIndex=N.__drawIndex=0),N.__dirty&&N.__drawIndex<0&&(N.__drawIndex=N.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(m){m.clear()},setBackgroundColor:function(m){this._backgroundColor=m},configLayer:function(m,b){if(b){var S=this._layerConfig;S[m]?w.merge(S[m],b,!0):S[m]=b;for(var P=0;P<this._zlevelList.length;P++){var M=this._zlevelList[P];if(M===m||M===m+r){var R=this._layers[M];w.merge(R,S[m],!0)}}}},delLayer:function(m){var b=this._layers,S=this._zlevelList,P=b[m];!P||(P.dom.parentNode.removeChild(P.dom),delete b[m],S.splice(w.indexOf(S,m),1))},resize:function(m,b){if(this._domRoot.style){var S=this._domRoot;S.style.display="none";var P=this._opts;if(m!=null&&(P.width=m),b!=null&&(P.height=b),m=this._getSize(0),b=this._getSize(1),S.style.display="",this._width!==m||b!==this._height){S.style.width=m+"px",S.style.height=b+"px";for(var M in this._layers)this._layers.hasOwnProperty(M)&&this._layers[M].resize(m,b);w.each(this._progressiveLayers,function(R){R.resize(m,b)}),this.refresh(!0)}this._width=m,this._height=b}else{if(m==null||b==null)return;this._width=m,this._height=b,this.getLayer(o).resize(m,b)}return this},clearLayer:function(m){var b=this._layers[m];b&&b.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(m){if(m=m||{},this._singleCanvas&&!this._compositeManually)return this._layers[o].dom;var b=new C("image",this,m.pixelRatio||this.dpr);if(b.initContext(),b.clear(!1,m.backgroundColor||this._backgroundColor),m.pixelRatio<=this.dpr){this.refresh();var S=b.dom.width,P=b.dom.height,M=b.ctx;this.eachLayer(function(N){N.__builtin__?M.drawImage(N.dom,0,0,S,P):N.renderToCanvas&&(b.ctx.save(),N.renderToCanvas(b.ctx),b.ctx.restore())})}else for(var R={},F=this.storage.getDisplayList(!0),L=0;L<F.length;L++){var U=F[L];this._doPaintEl(U,b,!0,R)}return b.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(m){var b=this._opts,S=["width","height"][m],P=["clientWidth","clientHeight"][m],M=["paddingLeft","paddingTop"][m],R=["paddingRight","paddingBottom"][m];if(b[S]!=null&&b[S]!=="auto")return parseFloat(b[S]);var F=this.root,L=document.defaultView.getComputedStyle(F);return(F[P]||n(L[S])||n(F.style[S]))-(n(L[M])||0)-(n(L[R])||0)|0},pathToImage:function(m,b){b=b||this.dpr;var S=document.createElement("canvas"),P=S.getContext("2d"),M=m.getBoundingRect(),R=m.style,F=R.shadowBlur*b,L=R.shadowOffsetX*b,U=R.shadowOffsetY*b,N=R.hasStroke()?R.lineWidth:0,Q=Math.max(N/2,-L+F),z=Math.max(N/2,L+F),_=Math.max(N/2,-U+F),J=Math.max(N/2,U+F),Y=M.width+Q+z,k=M.height+_+J;S.width=Y*b,S.height=k*b,P.scale(b,b),P.clearRect(0,0,Y,k),P.dpr=b;var W={position:m.position,rotation:m.rotation,scale:m.scale};m.position=[Q-M.x,_-M.y],m.rotation=0,m.scale=[1,1],m.updateTransform(),m&&m.brush(P);var ie=t,fe=new ie({style:{x:0,y:0,image:S}});return W.position!=null&&(fe.position=m.position=W.position),W.rotation!=null&&(fe.rotation=m.rotation=W.rotation),W.scale!=null&&(fe.scale=m.scale=W.scale),fe}};var g=v;oe.exports=g},"7a+S":function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("YXkt"),D=e("4NO4"),I=T.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,f,t){this._data,this._names,this.mergeDefaultAndTheme(C,t),this._initData()},mergeOption:function(C){I.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(C){C==null&&(C=this.option.currentIndex);var f=this._data.count();this.option.loop?C=(C%f+f)%f:(C>=f&&(C=f-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,f=C.data||[],t=C.axisType,i=this._names=[];if(t==="category"){var s=[];B.each(f,function(u,n){var l=D.getDataItemValue(u),a;B.isObject(u)?(a=B.clone(u),a.value=n):a=n,s.push(a),!B.isString(l)&&(l==null||isNaN(l))&&(l=""),i.push(l+"")}),f=s}var o={category:"ordinal",time:"time"}[t]||"number",r=this._data=new w([{name:"value",type:o}],this);r.initData(f,i)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),E=I;oe.exports=E},"7aKB":function(oe,V,e){var B=e("bYtY"),T=e("6GrX"),w=e("OELB");function D(A){return isNaN(A)?"-":(A=(A+"").split("."),A[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(A.length>1?"."+A[1]:""))}function I(A,v){return A=(A||"").toLowerCase().replace(/-(.)/g,function(g,x){return x.toUpperCase()}),v&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var E=B.normalizeCssArray,C=/([&<>"'])/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"};function t(A){return A==null?"":(A+"").replace(C,function(v,g){return f[g]})}var i=["a","b","c","d","e","f","g"],s=function(A,v){return"{"+A+(v==null?"":v)+"}"};function o(A,v,g){B.isArray(v)||(v=[v]);var x=v.length;if(!x)return"";for(var m=v[0].$vars||[],b=0;b<m.length;b++){var S=i[b];A=A.replace(s(S),s(S,0))}for(var P=0;P<x;P++)for(var M=0;M<m.length;M++){var R=v[P][m[M]];A=A.replace(s(i[M],P),g?t(R):R)}return A}function r(A,v,g){return B.each(v,function(x,m){A=A.replace("{"+m+"}",g?t(x):x)}),A}function u(A,v){A=B.isString(A)?{color:A,extraCssText:v}:A||{};var g=A.color,x=A.type,v=A.extraCssText,m=A.renderMode||"html",b=A.markerId||"X";return g?m==="html"?x==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+t(g)+";"+(v||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+t(g)+";"+(v||"")+'"></span>':{renderMode:m,content:"{marker"+b+"|} ",style:{color:g}}:""}function n(A,v){return A+="","0000".substr(0,v-A.length)+A}function l(A,v,g){(A==="week"||A==="month"||A==="quarter"||A==="half-year"||A==="year")&&(A=`MM-dd
|
|
|
yyyy`);var x=w.parseDate(v),m=g?"UTC":"",b=x["get"+m+"FullYear"](),S=x["get"+m+"Month"]()+1,P=x["get"+m+"Date"](),M=x["get"+m+"Hours"](),R=x["get"+m+"Minutes"](),F=x["get"+m+"Seconds"](),L=x["get"+m+"Milliseconds"]();return A=A.replace("MM",n(S,2)).replace("M",S).replace("yyyy",b).replace("yy",b%100).replace("dd",n(P,2)).replace("d",P).replace("hh",n(M,2)).replace("h",M).replace("mm",n(R,2)).replace("m",R).replace("ss",n(F,2)).replace("s",F).replace("SSS",n(L,3)),A}function a(A){return A&&A.charAt(0).toUpperCase()+A.substr(1)}var c=T.truncateText;function d(A){return T.getBoundingRect(A.text,A.font,A.textAlign,A.textVerticalAlign,A.textPadding,A.textLineHeight,A.rich,A.truncate)}function h(A,v,g,x,m,b,S,P){return T.getBoundingRect(A,v,g,x,m,P,b,S)}function y(A,v){if(v==="_blank"||v==="blank"){var g=window.open();g.opener=null,g.location=A}else window.open(A,v)}V.addCommas=D,V.toCamelCase=I,V.normalizeCssArray=E,V.encodeHTML=t,V.formatTpl=o,V.formatTplSimple=r,V.getTooltipMarker=u,V.formatTime=l,V.capitalFirst=a,V.truncateText=c,V.getTextBoundingRect=d,V.getTextRect=h,V.windowOpen=y},"7bkD":function(oe,V,e){var B=e("bYtY");function T(w,D){D=D||{};var I=w.coordinateSystem,E=w.axis,C={},f=E.position,t=E.orient,i=I.getRect(),s=[i.x,i.x+i.width,i.y,i.y+i.height],o={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};C.position=[t==="vertical"?o.vertical[f]:s[0],t==="horizontal"?o.horizontal[f]:s[3]];var r={horizontal:0,vertical:1};C.rotation=Math.PI/2*r[t];var u={top:-1,bottom:1,right:1,left:-1};C.labelDirection=C.tickDirection=C.nameDirection=u[f],w.get("axisTick.inside")&&(C.tickDirection=-C.tickDirection),B.retrieve(D.labelInside,w.get("axisLabel.inside"))&&(C.labelDirection=-C.labelDirection);var n=D.rotate;return n==null&&(n=w.get("axisLabel.rotate")),C.labelRotation=f==="top"?-n:n,C.z2=1,C}V.layout=T},"7hqr":function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.isString;function D(C,f,t){t=t||{};var i=t.byIndex,s=t.stackedCoordDimension,o=!!(C&&C.get("stack")),r,u,n,l;if(T(f,function(h,y){w(h)&&(f[y]=h={name:h}),o&&!h.isExtraCoord&&(!i&&!r&&h.ordinalMeta&&(r=h),!u&&h.type!=="ordinal"&&h.type!=="time"&&(!s||s===h.coordDim)&&(u=h))}),u&&!i&&!r&&(i=!0),u){n="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var a=u.coordDim,c=u.type,d=0;T(f,function(h){h.coordDim===a&&d++}),f.push({name:n,coordDim:a,coordDimIndex:d,type:c,isExtraCoord:!0,isCalculationCoord:!0}),d++,f.push({name:l,coordDim:l,coordDimIndex:d,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:u&&u.name,stackedByDimension:r&&r.name,isStackedByIndex:i,stackedOverDimension:l,stackResultDimension:n}}function I(C,f){return!!f&&f===C.getCalculationInfo("stackedDimension")}function E(C,f){return I(C,f)?C.getCalculationInfo("stackResultDimension"):f}V.enableDataStack=D,V.isDimensionStacked=I,V.getStackedDimension=E},"7mYs":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS"),D=e("7aKB"),I=e("OELB"),E={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"]},f=B.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,i,s){var o=this.group;o.removeAll();var r=t.coordinateSystem,u=r.getRangeInfo(),n=r.getOrient();this._renderDayRect(t,u,o),this._renderLines(t,u,n,o),this._renderYearText(t,u,n,o),this._renderMonthText(t,n,o),this._renderWeekText(t,u,n,o)},_renderDayRect:function(t,i,s){for(var o=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),u=o.getCellWidth(),n=o.getCellHeight(),l=i.start.time;l<=i.end.time;l=o.getNextNDay(l,1).time){var a=o.dataToRect([l],!1).tl,c=new w.Rect({shape:{x:a[0],y:a[1],width:u,height:n},cursor:"default",style:r});s.add(c)}},_renderLines:function(t,i,s,o){var r=this,u=t.coordinateSystem,n=t.getModel("splitLine.lineStyle").getLineStyle(),l=t.get("splitLine.show"),a=n.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=i.start,d=0;c.time<=i.end.time;d++){y(c.formatedDate),d===0&&(c=u.getDateInfo(i.start.y+"-"+i.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=u.getDateInfo(h)}y(u.getNextNDay(i.end.time,1).formatedDate);function y(A){r._firstDayOfMonth.push(u.getDateInfo(A)),r._firstDayPoints.push(u.dataToRect([A],!1).tl);var v=r._getLinePointsOfOneWeek(t,A,s);r._tlpoints.push(v[0]),r._blpoints.push(v[v.length-1]),l&&r._drawSplitline(v,n,o)}l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,a,s),n,o),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,a,s),n,o)},_getEdgesPoints:function(t,i,s){var o=[t[0].slice(),t[t.length-1].slice()],r=s==="horizontal"?0:1;return o[0][r]=o[0][r]-i/2,o[1][r]=o[1][r]+i/2,o},_drawSplitline:function(t,i,s){var o=new w.Polyline({z2:20,shape:{points:t},style:i});s.add(o)},_getLinePointsOfOneWeek:function(t,i,s){var o=t.coordinateSystem;i=o.getDateInfo(i);for(var r=[],u=0;u<7;u++){var n=o.getNextNDay(i.time,u),l=o.dataToRect([n.time],!1);r[2*n.day]=l.tl,r[2*n.day+1]=l[s==="horizontal"?"bl":"tr"]}return r},_formatterLabel:function(t,i){return typeof t=="string"&&t?D.formatTplSimple(t,i):typeof t=="function"?t(i):i.nameMap},_yearTextPositionControl:function(t,i,s,o,r){i=i.slice();var u=["center","bottom"];o==="bottom"?(i[1]+=r,u=["center","top"]):o==="left"?i[0]-=r:o==="right"?(i[0]+=r,u=["center","top"]):i[1]-=r;var n=0;return(o==="left"||o==="right")&&(n=Math.PI/2),{rotation:n,position:i,style:{textAlign:u[0],textVerticalAlign:u[1]}}},_renderYearText:function(t,i,s,o){var r=t.getModel("yearLabel");if(!!r.get("show")){var u=r.get("margin"),n=r.get("position");n||(n=s!=="horizontal"?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],a=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d=s==="horizontal"?0:1,h={top:[a,l[d][1]],bottom:[a,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},y=i.start.y;+i.end.y>+i.start.y&&(y=y+"-"+i.end.y);var A=r.get("formatter"),v={start:i.start.y,end:i.end.y,nameMap:y},g=this._formatterLabel(A,v),x=new w.Text({z2:30});w.setTextStyle(x.style,r,{text:g}),x.attr(this._yearTextPositionControl(x,h[n],s,n,u)),o.add(x)}},_monthTextPositionControl:function(t,i,s,o,r){var u="left",n="top",l=t[0],a=t[1];return s==="horizontal"?(a=a+r,i&&(u="center"),o==="start"&&(n="bottom")):(l=l+r,i&&(n="middle"),o==="start"&&(u="right")),{x:l,y:a,textAlign:u,textVerticalAlign:n}},_renderMonthText:function(t,i,s){var o=t.getModel("monthLabel");if(!!o.get("show")){var r=o.get("nameMap"),u=o.get("margin"),n=o.get("position"),l=o.get("align"),a=[this._tlpoints,this._blpoints];T.isString(r)&&(r=E[r.toUpperCase()]||[]);var c=n==="start"?0:1,d=i==="horizontal"?0:1;u=n==="start"?-u:u;for(var h=l==="center",y=0;y<a[c].length-1;y++){var A=a[c][y].slice(),v=this._firstDayOfMonth[y];if(h){var g=this._firstDayPoints[y];A[d]=(g[d]+a[0][y+1][d])/2}var x=o.get("formatter"),m=r[+v.m-1],b={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:m},S=this._formatterLabel(x,b),P=new w.Text({z2:30});T.extend(w.setTextStyle(P.style,o,{text:S}),this._monthTextPositionControl(A,h,i,n,u)),s.add(P)}}},_weekTextPositionControl:function(t,i,s,o,r){var u="center",n="middle",l=t[0],a=t[1],c=s==="start";return i==="horizontal"?(l=l+o+(c?1:-1)*r[0]/2,u=c?"right":"left"):(a=a+o+(c?1:-1)*r[1]/2,n=c?"bottom":"top"),{x:l,y:a,textAlign:u,textVerticalAlign:n}},_renderWeekText:function(t,i,s,o){var r=t.getModel("dayLabel");if(!!r.get("show")){var u=t.coordinateSystem,n=r.get("position"),l=r.get("nameMap"),a=r.get("margin"),c=u.getFirstDayOfWeek();T.isString(l)&&(l=C[l.toUpperCase()]||[]);var d=u.getNextNDay(i.end.time,7-i.lweek).time,h=[u.getCellWidth(),u.getCellHeight()];a=I.parsePercent(a,h[s==="horizontal"?0:1]),n==="start"&&(d=u.getNextNDay(i.start.time,-(7+i.fweek)).time,a=-a);for(var y=0;y<7;y++){var A=u.getNextNDay(d,y),v=u.dataToRect([A.time],!1).center,g=y;g=Math.abs((y+c)%7);var x=new w.Text({z2:30});T.extend(w.setTextStyle(x.style,r,{text:l[g]}),this._weekTextPositionControl(v,s,n,a,h)),o.add(x)}}}});oe.exports=f},"7oTu":function(oe,V,e){var B=e("IMiH"),T=e("QBsz"),w=T.applyTransform,D=B.CMD,I=[[],[],[]],E=Math.sqrt,C=Math.atan2;function f(t,i){var s=t.data,o,r,u,n,l,a,c=D.M,d=D.C,h=D.L,y=D.R,A=D.A,v=D.Q;for(u=0,n=0;u<s.length;){switch(o=s[u++],n=u,r=0,o){case c:r=1;break;case h:r=1;break;case d:r=3;break;case v:r=2;break;case A:var g=i[4],x=i[5],m=E(i[0]*i[0]+i[1]*i[1]),b=E(i[2]*i[2]+i[3]*i[3]),S=C(-i[1]/b,i[0]/m);s[u]*=m,s[u++]+=g,s[u]*=b,s[u++]+=x,s[u++]*=m,s[u++]*=b,s[u++]+=S,s[u++]+=S,u+=2,n=u;break;case y:a[0]=s[u++],a[1]=s[u++],w(a,a,i),s[n++]=a[0],s[n++]=a[1],a[0]+=s[u++],a[1]+=s[u++],w(a,a,i),s[n++]=a[0],s[n++]=a[1]}for(l=0;l<r;l++){var a=I[l];a[0]=s[u++],a[1]=s[u++],w(a,a,i),s[n++]=a[0],s[n++]=a[1]}}}oe.exports=f},"7pVf":function(oe,V,e){var B=e("ProS"),T=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),B.registerPreprocessor(T)},"7ph2":function(oe,V){function e(w){return w instanceof Array||(w=[w,w]),w}var B="lineStyle.opacity".split("."),T={seriesType:"lines",reset:function(w,D,I){var E=e(w.get("symbol")),C=e(w.get("symbolSize")),f=w.getData();f.setVisual("fromSymbol",E&&E[0]),f.setVisual("toSymbol",E&&E[1]),f.setVisual("fromSymbolSize",C&&C[0]),f.setVisual("toSymbolSize",C&&C[1]),f.setVisual("opacity",w.get(B));function t(i,s){var o=i.getItemModel(s),r=e(o.getShallow("symbol",!0)),u=e(o.getShallow("symbolSize",!0)),n=o.get(B);r[0]&&i.setItemVisual(s,"fromSymbol",r[0]),r[1]&&i.setItemVisual(s,"toSymbol",r[1]),u[0]&&i.setItemVisual(s,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(s,"toSymbolSize",u[1]),i.setItemVisual(s,"opacity",n)}return{dataEach:f.hasItemOption?t:null}}};oe.exports=T},"7uqq":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("AUH6"),E=e("+TT/"),C=e("OELB"),f=e("W4dC"),t=e("7DRL");function i(u,n){var l=u.get("boundingCoords");if(l!=null){var a=l[0],c=l[1];isNaN(a[0])||isNaN(a[1])||isNaN(c[0])||isNaN(c[1])||this.setBoundingRect(a[0],a[1],c[0]-a[0],c[1]-a[1])}var d=this.getBoundingRect(),h,y=u.get("layoutCenter"),A=u.get("layoutSize"),v=n.getWidth(),g=n.getHeight(),x=d.width/d.height*this.aspectScale,m=!1;y&&A&&(y=[C.parsePercent(y[0],v),C.parsePercent(y[1],g)],A=C.parsePercent(A,Math.min(v,g)),!isNaN(y[0])&&!isNaN(y[1])&&!isNaN(A)&&(m=!0));var b;if(m){var b={};x>1?(b.width=A,b.height=A/x):(b.height=A,b.width=A*x),b.y=y[1]-b.height/2,b.x=y[0]-b.width/2}else h=u.getBoxLayoutParams(),h.aspect=x,b=E.getLayoutRect(h,{width:v,height:g});this.setViewRect(b.x,b.y,b.width,b.height),this.setCenter(u.get("center")),this.setZoom(u.get("zoom"))}function s(u,n){D.each(n.get("geoCoord"),function(l,a){u.addGeoCoord(a,l)})}var o={dimensions:I.prototype.dimensions,create:function(u,n){var l=[];u.eachComponent("geo",function(c,d){var h=c.get("map"),y=c.get("aspectScale"),A=!0,v=t.retrieveMap(h);v&&v[0]&&v[0].type==="svg"?(y==null&&(y=1),A=!1):y==null&&(y=.75);var g=new I(h+d,h,c.get("nameMap"),A);g.aspectScale=y,g.zoomLimit=c.get("scaleLimit"),l.push(g),s(g,c),c.coordinateSystem=g,g.model=c,g.resize=i,g.resize(c,n)}),u.eachSeries(function(c){var d=c.get("coordinateSystem");if(d==="geo"){var h=c.get("geoIndex")||0;c.coordinateSystem=l[h]}});var a={};return u.eachSeriesByType("map",function(c){if(!c.getHostGeoModel()){var d=c.getMapType();a[d]=a[d]||[],a[d].push(c)}}),D.each(a,function(c,d){var h=D.map(c,function(A){return A.get("nameMap")}),y=new I(d,d,D.mergeAll(h));y.zoomLimit=D.retrieve.apply(null,D.map(c,function(A){return A.get("scaleLimit")})),l.push(y),y.resize=i,y.aspectScale=c[0].get("aspectScale"),y.resize(c[0],n),D.each(c,function(A){A.coordinateSystem=y,s(y,A)})}),l},getFilledRegions:function(u,n,l){for(var a=(u||[]).slice(),c=D.createHashMap(),d=0;d<a.length;d++)c.set(a[d].name,a[d]);var h=f.load(n,l);return D.each(h.regions,function(y){var A=y.name;!c.get(A)&&a.push({name:A})}),a}};w.registerCoordinateSystem("geo",o);var r=o;oe.exports=r},"7yuC":function(oe,V,e){var B=e("QBsz"),T=B.scaleAndAdd;function w(D,I,E){for(var C=E.rect,f=C.width,t=C.height,i=[C.x+f/2,C.y+t/2],s=E.gravity==null?.1:E.gravity,o=0;o<D.length;o++){var r=D[o];r.p||(r.p=B.create(f*(Math.random()-.5)+i[0],t*(Math.random()-.5)+i[1])),r.pp=B.clone(r.p),r.edges=null}var u=E.friction==null?.6:E.friction,n=u;return{warmUp:function(){n=u*.8},setFixed:function(l){D[l].fixed=!0},setUnfixed:function(l){D[l].fixed=!1},step:function(l){for(var a=[],c=D.length,d=0;d<I.length;d++){var h=I[d];if(!h.ignoreForceLayout){var y=h.n1,A=h.n2;B.sub(a,A.p,y.p);var v=B.len(a)-h.d,g=A.w/(y.w+A.w);isNaN(g)&&(g=0),B.normalize(a,a),!y.fixed&&T(y.p,y.p,a,g*v*n),!A.fixed&&T(A.p,A.p,a,-(1-g)*v*n)}}for(var d=0;d<c;d++){var x=D[d];x.fixed||(B.sub(a,i,x.p),T(x.p,x.p,a,s*n))}for(var d=0;d<c;d++)for(var y=D[d],m=d+1;m<c;m++){var A=D[m];B.sub(a,A.p,y.p);var v=B.len(a);v===0&&(B.set(a,Math.random()-.5,Math.random()-.5),v=1);var b=(y.rep+A.rep)/v/v;!y.fixed&&T(y.pp,y.pp,a,b),!A.fixed&&T(A.pp,A.pp,a,-b)}for(var S=[],d=0;d<c;d++){var x=D[d];x.fixed||(B.sub(S,x.p,x.pp),T(x.p,x.p,S,n),B.copy(x.pp,x.p))}n=n*.992,l&&l(D,I,n<.01)}}}V.forceLayout=w},"815F":function(oe,V,e){"use strict";e.d(V,"f",function(){return i}),e.d(V,"d",function(){return s}),e.d(V,"c",function(){return r}),e.d(V,"e",function(){return u}),e.d(V,"a",function(){return l}),e.d(V,"g",function(){return a}),e.d(V,"b",function(){return c});var B=e("U8pU"),T=e("KQm4"),w=e("VTBJ"),D=e("Ff2n"),I=e("bT9E"),E=e("Zm9Q"),C=e("Kwbf"),f=e("OZM5"),t=["children"];function i(d,h){return d!=null?d:h}function s(d){var h=d||{},y=h.title,A=h._title,v=h.key,g=h.children,x=y||"title";return{title:x,_title:A||[x],key:v||"key",children:g||"children"}}function o(d,h){var y=new Map;function A(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(v||[]).forEach(function(x){var m=x[h.key],b=x[h.children];Object(C.a)(m!=null,"Tree node must have a certain key: [".concat(g).concat(m,"]"));var S=String(m);Object(C.a)(!y.has(S)||m===null||m===void 0,"Same 'key' exist in the Tree: ".concat(S)),y.set(S,!0),A(b,"".concat(g).concat(S," > "))})}A(d)}function r(d){function h(y){var A=Object(E.a)(y);return A.map(function(v){if(!Object(f.h)(v))return Object(C.a)(!v,"Tree/TreeNode can only accept TreeNode as children."),null;var g=v.key,x=v.props,m=x.children,b=Object(D.a)(x,t),S=Object(w.a)({key:g},b),P=h(m);return P.length&&(S.children=P),S}).filter(function(v){return v})}return h(d)}function u(d,h,y){var A=s(y),v=A._title,g=A.key,x=A.children,m=new Set(h===!0?[]:h),b=[];function S(P){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return P.map(function(R,F){for(var L=Object(f.g)(M?M.pos:"0",F),U=i(R[g],L),N,Q=0;Q<v.length;Q+=1){var z=v[Q];if(R[z]!==void 0){N=R[z];break}}var _=Object(w.a)(Object(w.a)({},Object(I.a)(R,[].concat(Object(T.a)(v),[g,x]))),{},{title:N,key:U,parent:M,pos:L,children:null,data:R,isStart:[].concat(Object(T.a)(M?M.isStart:[]),[F===0]),isEnd:[].concat(Object(T.a)(M?M.isEnd:[]),[F===P.length-1])});return b.push(_),h===!0||m.has(U)?_.children=S(R[x]||[],_):_.children=[],_})}return S(d),b}function n(d,h,y){var A={};Object(B.a)(y)==="object"?A=y:A={externalGetKey:y},A=A||{};var v=A,g=v.childrenPropName,x=v.externalGetKey,m=v.fieldNames,b=s(m),S=b.key,P=b.children,M=g||P,R;x?typeof x=="string"?R=function(U){return U[x]}:typeof x=="function"&&(R=function(U){return x(U)}):R=function(U,N){return i(U[S],N)};function F(L,U,N,Q){var z=L?L[M]:d,_=L?Object(f.g)(N.pos,U):"0",J=L?[].concat(Object(T.a)(Q),[L]):[];if(L){var Y=R(L,_),k={node:L,index:U,pos:_,key:Y,parentPos:N.node?N.pos:null,level:N.level+1,nodes:J};h(k)}z&&z.forEach(function(W,ie){F(W,ie,{node:L,pos:_,level:N?N.level+1:-1},J)})}F(null)}function l(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=h.initWrapper,A=h.processEntity,v=h.onProcessFinished,g=h.externalGetKey,x=h.childrenPropName,m=h.fieldNames,b=arguments.length>2?arguments[2]:void 0,S=g||b,P={},M={},R={posEntities:P,keyEntities:M};return y&&(R=y(R)||R),n(d,function(F){var L=F.node,U=F.index,N=F.pos,Q=F.key,z=F.parentPos,_=F.level,J=F.nodes,Y={node:L,nodes:J,index:U,key:Q,pos:N,level:_},k=i(Q,N);P[N]=Y,M[k]=Y,Y.parent=P[z],Y.parent&&(Y.parent.children=Y.parent.children||[],Y.parent.children.push(Y)),A&&A(Y,R)},{externalGetKey:S,childrenPropName:x,fieldNames:m}),v&&v(R),R}function a(d,h){var y=h.expandedKeys,A=h.selectedKeys,v=h.loadedKeys,g=h.loadingKeys,x=h.checkedKeys,m=h.halfCheckedKeys,b=h.dragOverNodeKey,S=h.dropPosition,P=h.keyEntities,M=P[d],R={eventKey:d,expanded:y.indexOf(d)!==-1,selected:A.indexOf(d)!==-1,loaded:v.indexOf(d)!==-1,loading:g.indexOf(d)!==-1,checked:x.indexOf(d)!==-1,halfChecked:m.indexOf(d)!==-1,pos:String(M?M.pos:""),dragOver:b===d&&S===0,dragOverGapTop:b===d&&S===-1,dragOverGapBottom:b===d&&S===1};return R}function c(d){var h=d.data,y=d.expanded,A=d.selected,v=d.checked,g=d.loaded,x=d.loading,m=d.halfChecked,b=d.dragOver,S=d.dragOverGapTop,P=d.dragOverGapBottom,M=d.pos,R=d.active,F=d.eventKey,L=Object(w.a)(Object(w.a)({},h),{},{expanded:y,selected:A,checked:v,loaded:g,loading:x,halfChecked:m,dragOver:b,dragOverGapTop:S,dragOverGapBottom:P,pos:M,active:R,key:F});return"props"in L||Object.defineProperty(L,"props",{get:function(){return Object(C.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),d}}),L}},"8EBN":function(oe,V,e){(function(B){B(e("VrN/"))})(function(B){"use strict";B.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","cbl"]},{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"],alias:["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 T=0;T<B.modeInfo.length;T++){var w=B.modeInfo[T];w.mimes&&(w.mime=w.mimes[0])}B.findModeByMIME=function(D){D=D.toLowerCase();for(var I=0;I<B.modeInfo.length;I++){var E=B.modeInfo[I];if(E.mime==D)return E;if(E.mimes){for(var C=0;C<E.mimes.length;C++)if(E.mimes[C]==D)return E}}if(/\+xml$/.test(D))return B.findModeByMIME("application/xml");if(/\+json$/.test(D))return B.findModeByMIME("application/json")},B.findModeByExtension=function(D){D=D.toLowerCase();for(var I=0;I<B.modeInfo.length;I++){var E=B.modeInfo[I];if(E.ext){for(var C=0;C<E.ext.length;C++)if(E.ext[C]==D)return E}}},B.findModeByFileName=function(D){for(var I=0;I<B.modeInfo.length;I++){var E=B.modeInfo[I];if(E.file&&E.file.test(D))return E}var C=D.lastIndexOf("."),f=C>-1&&D.substring(C+1,D.length);if(f)return B.findModeByExtension(f)},B.findModeByName=function(D){D=D.toLowerCase();for(var I=0;I<B.modeInfo.length;I++){var E=B.modeInfo[I];if(E.name.toLowerCase()==D)return E;if(E.alias){for(var C=0;C<E.alias.length;C++)if(E.alias[C].toLowerCase()==D)return E}}}})},"8SMY":function(oe,V,e){var B=e("n4Lv"),T=B.prepareDataCoordInfo,w=B.getStackedOnPoint;function D(E,C){var f=[];return C.diff(E).add(function(t){f.push({cmd:"+",idx:t})}).update(function(t,i){f.push({cmd:"=",idx:i,idx1:t})}).remove(function(t){f.push({cmd:"-",idx:t})}).execute(),f}function I(E,C,f,t,i,s,o,r){for(var u=D(E,C),n=[],l=[],a=[],c=[],d=[],h=[],y=[],A=T(i,C,o),v=T(s,E,r),g=0;g<u.length;g++){var x=u[g],m=!0;switch(x.cmd){case"=":var b=E.getItemLayout(x.idx),S=C.getItemLayout(x.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=S.slice()),n.push(b),l.push(S),a.push(f[x.idx]),c.push(t[x.idx1]),y.push(C.getRawIndex(x.idx1));break;case"+":var P=x.idx;n.push(i.dataToPoint([C.get(A.dataDimsForPoint[0],P),C.get(A.dataDimsForPoint[1],P)])),l.push(C.getItemLayout(P).slice()),a.push(w(A,i,C,P)),c.push(t[P]),y.push(C.getRawIndex(P));break;case"-":var P=x.idx,M=E.getRawIndex(P);M!==P?(n.push(E.getItemLayout(P)),l.push(s.dataToPoint([E.get(v.dataDimsForPoint[0],P),E.get(v.dataDimsForPoint[1],P)])),a.push(f[P]),c.push(w(v,s,E,P)),y.push(M)):m=!1}m&&(d.push(x),h.push(h.length))}h.sort(function(Q,z){return y[Q]-y[z]});for(var R=[],F=[],L=[],U=[],N=[],g=0;g<h.length;g++){var P=h[g];R[g]=n[P],F[g]=l[P],L[g]=a[P],U[g]=c[P],N[g]=d[P]}return{current:R,next:F,stackedOnCurrent:L,stackedOnNext:U,status:N}}oe.exports=I},"8Skl":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="DownOutlined";var C=V.a=T.forwardRef(E)},"8Th4":function(oe,V,e){var B=e("3LNs"),T=e("/y7N"),w=e("7bkD"),D=e("Znkb"),I=["x","y"],E=["width","height"],C=B.extend({makeElOption:function(o,r,u,n,l){var a=u.axis,c=a.coordinateSystem,d=i(c,1-t(a)),h=c.dataToPoint(r)[0],y=n.get("type");if(y&&y!=="none"){var A=T.buildElStyle(n),v=f[y](a,h,d);v.style=A,o.graphicKey=v.type,o.pointer=v}var g=w.layout(u);T.buildCartesianSingleLabelElOption(r,o,g,u,n,l)},getHandleTransform:function(o,r,u){var n=w.layout(r,{labelInside:!1});return n.labelMargin=u.get("handle.margin"),{position:T.getTransformedPosition(r.axis,o,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(o,r,u,n){var l=u.axis,a=l.coordinateSystem,c=t(l),d=i(a,c),h=o.position;h[c]+=r[c],h[c]=Math.min(d[1],h[c]),h[c]=Math.max(d[0],h[c]);var y=i(a,1-c),A=(y[1]+y[0])/2,v=[A,A];return v[c]=h[c],{position:h,rotation:o.rotation,cursorPoint:v,tooltipOption:{verticalAlign:"middle"}}}}),f={line:function(o,r,u){var n=T.makeLineShape([r,u[0]],[r,u[1]],t(o));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(o,r,u){var n=o.getBandWidth(),l=u[1]-u[0];return{type:"Rect",shape:T.makeRectShape([r-n/2,u[0]],[n,l],t(o))}}};function t(o){return o.isHorizontal()?0:1}function i(o,r){var u=o.getRect();return[u[I[r]],u[I[r]]+u[E[r]]]}D.registerAxisPointerClass("SingleAxisPointer",C);var s=C;oe.exports=s},"8Uz6":function(oe,V,e){var B=e("hNWo"),T=e("+TT/"),w=T.mergeLayoutParam,D=T.getLayoutParams,I=B.extend({type:"legend.scroll",setScrollDataIndex:function(f){this.option.scrollDataIndex=f},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(f,t,i,s){var o=D(f);I.superCall(this,"init",f,t,i,s),E(this,f,o)},mergeOption:function(f,t){I.superCall(this,"mergeOption",f,t),E(this,this.option,f)}});function E(f,t,i){var s=f.getOrient(),o=[1,1];o[s.index]=0,w(t,i,{type:"box",ignoreSize:o})}var C=I;oe.exports=C},"8X+K":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("4mN7"),I=D.fromPoints,E=e("9wZj"),C=e("FBjb"),f=e("8SMY"),t=e("IwbS"),i=e("4NO4"),s=e("1NG9"),o=s.Polyline,r=s.Polygon,u=e("6Ic6"),n=e("n4Lv"),l=n.prepareDataCoordInfo,a=n.getStackedOnPoint,c=e("sK/D"),d=c.createGridClipPath,h=c.createPolarClipPath;function y(R,F){if(R.length===F.length){for(var L=0;L<R.length;L++){var U=R[L],N=F[L];if(U[0]!==N[0]||U[1]!==N[1])return}return!0}}function A(R,F){var L=[],U=[],N=[],Q=[];return I(R,L,U),I(F,N,Q),Math.max(Math.abs(L[0]-N[0]),Math.abs(L[1]-N[1]),Math.abs(U[0]-Q[0]),Math.abs(U[1]-Q[1]))}function v(R){return typeof R=="number"?R:R?.5:0}function g(R,F,L){if(!L.valueDim)return[];for(var U=[],N=0,Q=F.count();N<Q;N++)U.push(a(L,R,F,N));return U}function x(R,F,L){for(var U=F.getBaseAxis(),N=U.dim==="x"||U.dim==="radius"?0:1,Q=[],z=0;z<R.length-1;z++){var _=R[z+1],J=R[z];Q.push(J);var Y=[];switch(L){case"end":Y[N]=_[N],Y[1-N]=J[1-N],Q.push(Y);break;case"middle":var k=(J[N]+_[N])/2,W=[];Y[N]=W[N]=k,Y[1-N]=J[1-N],W[1-N]=_[1-N],Q.push(Y),Q.push(W);break;default:Y[N]=J[N],Y[1-N]=_[1-N],Q.push(Y)}}return R[z]&&Q.push(R[z]),Q}function m(R,F){var L=R.getVisual("visualMeta");if(!(!L||!L.length||!R.count())&&F.type==="cartesian2d"){for(var U,N,Q=L.length-1;Q>=0;Q--){var z=L[Q].dimension,_=R.dimensions[z],J=R.getDimensionInfo(_);if(U=J&&J.coordDim,U==="x"||U==="y"){N=L[Q];break}}if(!!N){var Y=F.getAxis(U),k=w.map(N.stops,function(_e){return{coord:Y.toGlobalCoord(Y.dataToCoord(_e.value)),color:_e.color}}),W=k.length,ie=N.outerColors.slice();W&&k[0].coord>k[W-1].coord&&(k.reverse(),ie.reverse());var fe=10,Ce=k[0].coord-fe,ge=k[W-1].coord+fe,de=ge-Ce;if(de<.001)return"transparent";w.each(k,function(_e){_e.offset=(_e.coord-Ce)/de}),k.push({offset:W?k[W-1].offset:.5,color:ie[1]||"transparent"}),k.unshift({offset:W?k[0].offset:.5,color:ie[0]||"transparent"});var Pe=new t.LinearGradient(0,0,0,0,k,!0);return Pe[U]=Ce,Pe[U+"2"]=ge,Pe}}}function b(R,F,L){var U=R.get("showAllSymbol"),N=U==="auto";if(!(U&&!N)){var Q=L.getAxesByScale("ordinal")[0];if(!!Q&&!(N&&S(Q,F))){var z=F.mapDimension(Q.dim),_={};return w.each(Q.getViewLabels(),function(J){_[J.tickValue]=1}),function(J){return!_.hasOwnProperty(F.get(z,J))}}}}function S(R,F){var L=R.getExtent(),U=Math.abs(L[1]-L[0])/R.scale.count();isNaN(U)&&(U=0);for(var N=F.count(),Q=Math.max(1,Math.round(N/5)),z=0;z<N;z+=Q)if(C.getSymbolSize(F,z)[R.isHorizontal()?1:0]*1.5>U)return!1;return!0}function P(R,F,L){if(R.type==="cartesian2d"){var U=R.getBaseAxis().isHorizontal(),N=d(R,F,L);if(!L.get("clip",!0)){var Q=N.shape,z=Math.max(Q.width,Q.height);U?(Q.y-=z,Q.height+=z*2):(Q.x-=z,Q.width+=z*2)}return N}else return h(R,F,L)}var M=u.extend({type:"line",init:function(){var R=new t.Group,F=new E;this.group.add(F.group),this._symbolDraw=F,this._lineGroup=R},render:function(R,F,L){var U=R.coordinateSystem,N=this.group,Q=R.getData(),z=R.getModel("lineStyle"),_=R.getModel("areaStyle"),J=Q.mapArray(Q.getItemLayout),Y=U.type==="polar",k=this._coordSys,W=this._symbolDraw,ie=this._polyline,fe=this._polygon,Ce=this._lineGroup,ge=R.get("animation"),de=!_.isEmpty(),Pe=_.get("origin"),_e=l(U,Q,Pe),Ne=g(U,Q,_e),He=R.get("showSymbol"),ue=He&&!Y&&b(R,Q,U),Re=this._data;Re&&Re.eachItemGraphicEl(function(Dt,Ft){Dt.__temp&&(N.remove(Dt),Re.setItemGraphicEl(Ft,null))}),He||W.remove(),N.add(Ce);var nt=!Y&&R.get("step"),Ve;U&&U.getArea&&R.get("clip",!0)&&(Ve=U.getArea(),Ve.width!=null?(Ve.x-=.1,Ve.y-=.1,Ve.width+=.2,Ve.height+=.2):Ve.r0&&(Ve.r0-=.5,Ve.r1+=.5)),this._clipShapeForSymbol=Ve,ie&&k.type===U.type&&nt===this._step?(de&&!fe?fe=this._newPolygon(J,Ne,U,ge):fe&&!de&&(Ce.remove(fe),fe=this._polygon=null),Ce.setClipPath(P(U,!1,R)),He&&W.updateData(Q,{isIgnore:ue,clipShape:Ve}),Q.eachItemGraphicEl(function(Dt){Dt.stopAnimation(!0)}),(!y(this._stackedOnPoints,Ne)||!y(this._points,J))&&(ge?this._updateAnimation(Q,Ne,U,L,nt,Pe):(nt&&(J=x(J,U,nt),Ne=x(Ne,U,nt)),ie.setShape({points:J}),fe&&fe.setShape({points:J,stackedOnPoints:Ne})))):(He&&W.updateData(Q,{isIgnore:ue,clipShape:Ve}),nt&&(J=x(J,U,nt),Ne=x(Ne,U,nt)),ie=this._newPolyline(J,U,ge),de&&(fe=this._newPolygon(J,Ne,U,ge)),Ce.setClipPath(P(U,!0,R)));var Ge=m(Q,U)||Q.getVisual("color");ie.useStyle(w.defaults(z.getLineStyle(),{fill:"none",stroke:Ge,lineJoin:"bevel"}));var dt=R.get("smooth");if(dt=v(R.get("smooth")),ie.setShape({smooth:dt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),fe){var et=Q.getCalculationInfo("stackedOnSeries"),At=0;fe.useStyle(w.defaults(_.getAreaStyle(),{fill:Ge,opacity:.7,lineJoin:"bevel"})),et&&(At=v(et.get("smooth"))),fe.setShape({smooth:dt,stackedOnSmooth:At,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=Q,this._coordSys=U,this._stackedOnPoints=Ne,this._points=J,this._step=nt,this._valueOrigin=Pe},dispose:function(){},highlight:function(R,F,L,U){var N=R.getData(),Q=i.queryDataIndex(N,U);if(!(Q instanceof Array)&&Q!=null&&Q>=0){var z=N.getItemGraphicEl(Q);if(!z){var _=N.getItemLayout(Q);if(!_||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(_[0],_[1]))return;z=new C(N,Q),z.position=_,z.setZ(R.get("zlevel"),R.get("z")),z.ignore=isNaN(_[0])||isNaN(_[1]),z.__temp=!0,N.setItemGraphicEl(Q,z),z.stopSymbolAnimation(!0),this.group.add(z)}z.highlight()}else u.prototype.highlight.call(this,R,F,L,U)},downplay:function(R,F,L,U){var N=R.getData(),Q=i.queryDataIndex(N,U);if(Q!=null&&Q>=0){var z=N.getItemGraphicEl(Q);z&&(z.__temp?(N.setItemGraphicEl(Q,null),this.group.remove(z)):z.downplay())}else u.prototype.downplay.call(this,R,F,L,U)},_newPolyline:function(R){var F=this._polyline;return F&&this._lineGroup.remove(F),F=new o({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(F),this._polyline=F,F},_newPolygon:function(R,F){var L=this._polygon;return L&&this._lineGroup.remove(L),L=new r({shape:{points:R,stackedOnPoints:F},silent:!0}),this._lineGroup.add(L),this._polygon=L,L},_updateAnimation:function(R,F,L,U,N,Q){var z=this._polyline,_=this._polygon,J=R.hostModel,Y=f(this._data,R,this._stackedOnPoints,F,this._coordSys,L,this._valueOrigin,Q),k=Y.current,W=Y.stackedOnCurrent,ie=Y.next,fe=Y.stackedOnNext;if(N&&(k=x(Y.current,L,N),W=x(Y.stackedOnCurrent,L,N),ie=x(Y.next,L,N),fe=x(Y.stackedOnNext,L,N)),A(k,ie)>3e3||_&&A(W,fe)>3e3){z.setShape({points:ie}),_&&_.setShape({points:ie,stackedOnPoints:fe});return}z.shape.__points=Y.current,z.shape.points=k,t.updateProps(z,{shape:{points:ie}},J),_&&(_.setShape({points:k,stackedOnPoints:W}),t.updateProps(_,{shape:{points:ie,stackedOnPoints:fe}},J));for(var Ce=[],ge=Y.status,de=0;de<ge.length;de++){var Pe=ge[de].cmd;if(Pe==="="){var _e=R.getItemGraphicEl(ge[de].idx1);_e&&Ce.push({el:_e,ptIdx:de})}}z.animators&&z.animators.length&&z.animators[0].during(function(){for(var Ne=0;Ne<Ce.length;Ne++){var He=Ce[Ne].el;He.attr("position",z.shape.__points[Ce[Ne].ptIdx])}})},remove:function(R){var F=this.group,L=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),L&&L.eachItemGraphicEl(function(U,N){U.__temp&&(F.remove(U),L.setItemGraphicEl(N,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});oe.exports=M},"8XDt":function(oe,V,e){e("qH13");var B=e("aX58"),T=B.registerPainter,w=e("6fms");T("vml",w)},"8hn6":function(oe,V){var e="#eee",B=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},T=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],w={color:T,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:T[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:B(),logAxis:B(),valueAxis:B(),categoryAxis:B(),line:{symbol:"circle"},graph:{color:T},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};w.categoryAxis.splitLine.show=!1;var D=w;oe.exports=D},"8nMs":function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("+rIm"),D=e("Znkb"),I=e("AVZG"),E=e("WN+l"),C=E.rectCoordAxisBuildSplitArea,f=E.rectCoordAxisHandleRemove,t=["axisLine","axisTickLabel","axisName"],i=["splitArea","splitLine","minorSplitLine"],s=D.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(o,r,u,n){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new T.Group,this.group.add(this._axisGroup),!!o.get("show")){var a=o.getCoordSysModel(),c=I.layout(a,o),d=new w(o,c);B.each(t,d.add,d),this._axisGroup.add(d.getGroup()),B.each(i,function(h){o.get(h+".show")&&this["_"+h](o,a)},this),T.groupTransition(l,this._axisGroup,o),s.superCall(this,"render",o,r,u,n)}},remove:function(){f(this)},_splitLine:function(o,r){var u=o.axis;if(!u.scale.isBlank()){var n=o.getModel("splitLine"),l=n.getModel("lineStyle"),a=l.get("color");a=B.isArray(a)?a:[a];for(var c=r.coordinateSystem.getRect(),d=u.isHorizontal(),h=0,y=u.getTicksCoords({tickModel:n}),A=[],v=[],g=l.getLineStyle(),x=0;x<y.length;x++){var m=u.toGlobalCoord(y[x].coord);d?(A[0]=m,A[1]=c.y,v[0]=m,v[1]=c.y+c.height):(A[0]=c.x,A[1]=m,v[0]=c.x+c.width,v[1]=m);var b=h++%a.length,S=y[x].tickValue;this._axisGroup.add(new T.Line({anid:S!=null?"line_"+y[x].tickValue:null,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:v[0],y2:v[1]},style:B.defaults({stroke:a[b]},g),silent:!0}))}}},_minorSplitLine:function(o,r){var u=o.axis,n=o.getModel("minorSplitLine"),l=n.getModel("lineStyle"),a=r.coordinateSystem.getRect(),c=u.isHorizontal(),d=u.getMinorTicksCoords();if(!!d.length)for(var h=[],y=[],A=l.getLineStyle(),v=0;v<d.length;v++)for(var g=0;g<d[v].length;g++){var x=u.toGlobalCoord(d[v][g].coord);c?(h[0]=x,h[1]=a.y,y[0]=x,y[1]=a.y+a.height):(h[0]=a.x,h[1]=x,y[0]=a.x+a.width,y[1]=x),this._axisGroup.add(new T.Line({anid:"minor_line_"+d[v][g].tickValue,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:y[0],y2:y[1]},style:A,silent:!0}))}},_splitArea:function(o,r){C(this,this._axisGroup,o,r)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},"8nly":function(oe,V,e){var B=e("mFDi"),T=e("4mN7"),w=e("QBsz"),D=e("BlVb");function I(C,f,t){if(this.name=C,this.geometries=f,t)t=[t[0],t[1]];else{var i=this.getBoundingRect();t=[i.x+i.width/2,i.y+i.height/2]}this.center=t}I.prototype={constructor:I,properties:null,getBoundingRect:function(){var C=this._rect;if(C)return C;for(var f=Number.MAX_VALUE,t=[f,f],i=[-f,-f],s=[],o=[],r=this.geometries,u=0;u<r.length;u++)if(r[u].type==="polygon"){var n=r[u].exterior;T.fromPoints(n,s,o),w.min(t,t,s),w.max(i,i,o)}return u===0&&(t[0]=t[1]=i[0]=i[1]=0),this._rect=new B(t[0],t[1],i[0]-t[0],i[1]-t[1])},contain:function(C){var f=this.getBoundingRect(),t=this.geometries;if(!f.contain(C[0],C[1]))return!1;e:for(var i=0,s=t.length;i<s;i++)if(t[i].type==="polygon"){var o=t[i].exterior,r=t[i].interiors;if(D.contain(o,C[0],C[1])){for(var u=0;u<(r?r.length:0);u++)if(D.contain(r[u]))continue e;return!0}}return!1},transformTo:function(C,f,t,i){var s=this.getBoundingRect(),o=s.width/s.height;t?i||(i=t/o):t=o*i;for(var r=new B(C,f,t,i),u=s.calculateTransform(r),n=this.geometries,l=0;l<n.length;l++)if(n[l].type==="polygon"){for(var a=n[l].exterior,c=n[l].interiors,d=0;d<a.length;d++)w.applyTransform(a[d],a[d],u);for(var h=0;h<(c?c.length:0);h++)for(var d=0;d<c[h].length;d++)w.applyTransform(c[h][d],c[h][d],u)}s=this._rect,s.copy(r),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(C){C==null&&(C=this.name);var f=new I(C,this.geometries,this.center);return f._rect=this._rect,f.transformTo=null,f}};var E=I;oe.exports=E},"8waO":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("iLNv"),D=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var I=5;B.extendComponentView({type:"parallel",render:function(f,t,i){this._model=f,this._api=i,this._handlers||(this._handlers={},T.each(E,function(s,o){i.getZr().on(o,this._handlers[o]=T.bind(s,this))},this)),w.createOrUpdate(this,"_throttledDispatchExpand",f.get("axisExpandRate"),"fixRate")},dispose:function(f,t){T.each(this._handlers,function(i,s){t.getZr().off(s,i)}),this._handlers=null},_throttledDispatchExpand:function(f){this._dispatchExpand(f)},_dispatchExpand:function(f){f&&this._api.dispatchAction(T.extend({type:"parallelAxisExpand"},f))}});var E={mousedown:function(f){C(this,"click")&&(this._mouseDownPoint=[f.offsetX,f.offsetY])},mouseup:function(f){var t=this._mouseDownPoint;if(C(this,"click")&&t){var i=[f.offsetX,f.offsetY],s=Math.pow(t[0]-i[0],2)+Math.pow(t[1]-i[1],2);if(s>I)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([f.offsetX,f.offsetY]);o.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(f){if(!(this._mouseDownPoint||!C(this,"mousemove"))){var t=this._model,i=t.coordinateSystem.getSlidedAxisExpandWindow([f.offsetX,f.offsetY]),s=i.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:i.axisExpandWindow,animation:s==="jump"?null:!1})}}};function C(f,t){var i=f._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===t}B.registerPreprocessor(D)},"8x+h":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("K4ya"),E=e("Qxkt"),C=["#ddd"],f=w.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(s,o){var r=this.option;!o&&I.replaceVisualOption(r,s,["inBrush","outOfBrush"]);var u=r.inBrush=r.inBrush||{};r.outOfBrush=r.outOfBrush||{color:C},u.hasOwnProperty("liftZ")||(u.liftZ=5)},setAreas:function(s){!s||(this.areas=D.map(s,function(o){return t(this.option,o)},this))},setBrushOption:function(s){this.brushOption=t(this.option,s),this.brushType=this.brushOption.brushType}});function t(s,o){return D.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new E(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},o,!0)}var i=f;oe.exports=i},"8z0m":function(oe,V,e){"use strict";var B=e("wx14"),T=e("q1tI"),w=e.n(T),D=e("rePB"),I=e("x+uP"),E=e("U8pU"),C=e("KQm4"),f=e("ODXe"),t=e("TSYQ"),i=e.n(t),s=e("1OyB"),o=e("vuIU"),r=e("Ji7U"),u=e("LK+K"),n=e("Ff2n"),l=e("HaE+"),a=e("bX4T");function c(ce,ae){var Ee="cannot ".concat(ce.method," ").concat(ce.action," ").concat(ae.status,"'"),ye=new Error(Ee);return ye.status=ae.status,ye.method=ce.method,ye.url=ce.action,ye}function d(ce){var ae=ce.responseText||ce.response;if(!ae)return ae;try{return JSON.parse(ae)}catch(Ee){return ae}}function h(ce){var ae=new XMLHttpRequest;ce.onProgress&&ae.upload&&(ae.upload.onprogress=function(je){je.total>0&&(je.percent=je.loaded/je.total*100),ce.onProgress(je)});var Ee=new FormData;ce.data&&Object.keys(ce.data).forEach(function(Te){var je=ce.data[Te];if(Array.isArray(je)){je.forEach(function(qe){Ee.append("".concat(Te,"[]"),qe)});return}Ee.append(Te,je)}),ce.file instanceof Blob?Ee.append(ce.filename,ce.file,ce.file.name):Ee.append(ce.filename,ce.file),ae.onerror=function(je){ce.onError(je)},ae.onload=function(){return ae.status<200||ae.status>=300?ce.onError(c(ce,ae),d(ae)):ce.onSuccess(d(ae),ae)},ae.open(ce.method,ce.action,!0),ce.withCredentials&&"withCredentials"in ae&&(ae.withCredentials=!0);var ye=ce.headers||{};return ye["X-Requested-With"]!==null&&ae.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(ye).forEach(function(Te){ye[Te]!==null&&ae.setRequestHeader(Te,ye[Te])}),ae.send(Ee),{abort:function(){ae.abort()}}}var y=+new Date,A=0;function v(){return"rc-upload-".concat(y,"-").concat(++A)}var g=e("Kwbf"),x=function(ce,ae){if(ce&&ae){var Ee=Array.isArray(ae)?ae:ae.split(","),ye=ce.name||"",Te=ce.type||"",je=Te.replace(/\/.*$/,"");return Ee.some(function(qe){var Le=qe.trim();if(/^\*(\/\*)?$/.test(qe))return!0;if(Le.charAt(0)==="."){var ke=ye.toLowerCase(),tt=Le.toLowerCase(),st=[tt];return(tt===".jpg"||tt===".jpeg")&&(st=[".jpg",".jpeg"]),st.some(function(_t){return ke.endsWith(_t)})}return/\/\*$/.test(Le)?je===Le.replace(/\/.*$/,""):Te===Le?!0:/^\w+$/.test(Le)?(Object(g.a)(!1,"Upload takes an invalidate 'accept' type '".concat(Le,"'.Skip for check.")),!0):!1})}return!0};function m(ce,ae){var Ee=ce.createReader(),ye=[];function Te(){Ee.readEntries(function(je){var qe=Array.prototype.slice.apply(je);ye=ye.concat(qe);var Le=!qe.length;Le?ae(ye):Te()})}Te()}var b=function(ae,Ee,ye){var Te=function je(qe,Le){qe.path=Le||"",qe.isFile?qe.file(function(ke){ye(ke)&&(qe.fullPath&&!ke.webkitRelativePath&&(Object.defineProperties(ke,{webkitRelativePath:{writable:!0}}),ke.webkitRelativePath=qe.fullPath.replace(/^\//,""),Object.defineProperties(ke,{webkitRelativePath:{writable:!1}})),Ee([ke]))}):qe.isDirectory&&m(qe,function(ke){ke.forEach(function(tt){je(tt,"".concat(Le).concat(qe.name,"/"))})})};ae.forEach(function(je){Te(je.webkitGetAsEntry())})},S=b,P=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],M=function(ce){Object(r.a)(Ee,ce);var ae=Object(u.a)(Ee);function Ee(){var ye;Object(s.a)(this,Ee);for(var Te=arguments.length,je=new Array(Te),qe=0;qe<Te;qe++)je[qe]=arguments[qe];return ye=ae.call.apply(ae,[this].concat(je)),ye.state={uid:v()},ye.reqs={},ye.fileInput=void 0,ye._isMounted=void 0,ye.onChange=function(Le){var ke=ye.props,tt=ke.accept,st=ke.directory,_t=Le.target.files,Ct=Object(C.a)(_t).filter(function(Rt){return!st||x(Rt,tt)});ye.uploadFiles(Ct),ye.reset()},ye.onClick=function(Le){var ke=ye.fileInput;if(!!ke){var tt=ye.props,st=tt.children,_t=tt.onClick;if(st&&st.type==="button"){var Ct=ke.parentNode;Ct.focus(),Ct.querySelector("button").blur()}ke.click(),_t&&_t(Le)}},ye.onKeyDown=function(Le){Le.key==="Enter"&&ye.onClick(Le)},ye.onFileDrop=function(Le){var ke=ye.props.multiple;if(Le.preventDefault(),Le.type!=="dragover")if(ye.props.directory)S(Array.prototype.slice.call(Le.dataTransfer.items),ye.uploadFiles,function(st){return x(st,ye.props.accept)});else{var tt=Object(C.a)(Le.dataTransfer.files).filter(function(st){return x(st,ye.props.accept)});ke===!1&&(tt=tt.slice(0,1)),ye.uploadFiles(tt)}},ye.uploadFiles=function(Le){var ke=Object(C.a)(Le),tt=ke.map(function(st){return st.uid=v(),ye.processFile(st,ke)});Promise.all(tt).then(function(st){var _t=ye.props.onBatchStart;_t==null||_t(st.map(function(Ct){var Rt=Ct.origin,Wt=Ct.parsedFile;return{file:Rt,parsedFile:Wt}})),st.filter(function(Ct){return Ct.parsedFile!==null}).forEach(function(Ct){ye.post(Ct)})})},ye.processFile=function(){var Le=Object(l.a)(Object(I.a)().mark(function ke(tt,st){var _t,Ct,Rt,Wt,vt,Je,Yt,Ht,nr;return Object(I.a)().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(_t=ye.props.beforeUpload,Ct=tt,!_t){Zt.next=14;break}return Zt.prev=3,Zt.next=6,_t(tt,st);case 6:Ct=Zt.sent,Zt.next=12;break;case 9:Zt.prev=9,Zt.t0=Zt.catch(3),Ct=!1;case 12:if(Ct!==!1){Zt.next=14;break}return Zt.abrupt("return",{origin:tt,parsedFile:null,action:null,data:null});case 14:if(Rt=ye.props.action,typeof Rt!="function"){Zt.next=21;break}return Zt.next=18,Rt(tt);case 18:Wt=Zt.sent,Zt.next=22;break;case 21:Wt=Rt;case 22:if(vt=ye.props.data,typeof vt!="function"){Zt.next=29;break}return Zt.next=26,vt(tt);case 26:Je=Zt.sent,Zt.next=30;break;case 29:Je=vt;case 30:return Yt=(Object(E.a)(Ct)==="object"||typeof Ct=="string")&&Ct?Ct:tt,Yt instanceof File?Ht=Yt:Ht=new File([Yt],tt.name,{type:tt.type}),nr=Ht,nr.uid=tt.uid,Zt.abrupt("return",{origin:tt,data:Je,parsedFile:nr,action:Wt});case 35:case"end":return Zt.stop()}},ke,null,[[3,9]])}));return function(ke,tt){return Le.apply(this,arguments)}}(),ye.saveFileInput=function(Le){ye.fileInput=Le},ye}return Object(o.a)(Ee,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Te){var je=this,qe=Te.data,Le=Te.origin,ke=Te.action,tt=Te.parsedFile;if(!!this._isMounted){var st=this.props,_t=st.onStart,Ct=st.customRequest,Rt=st.name,Wt=st.headers,vt=st.withCredentials,Je=st.method,Yt=Le.uid,Ht=Ct||h,nr={action:ke,filename:Rt,data:qe,file:tt,headers:Wt,withCredentials:vt,method:Je||"post",onProgress:function(Zt){var Mt=je.props.onProgress;Mt==null||Mt(Zt,tt)},onSuccess:function(Zt,Mt){var pt=je.props.onSuccess;pt==null||pt(Zt,tt,Mt),delete je.reqs[Yt]},onError:function(Zt,Mt){var pt=je.props.onError;pt==null||pt(Zt,Mt,tt),delete je.reqs[Yt]}};_t(Le),this.reqs[Yt]=Ht(nr)}}},{key:"reset",value:function(){this.setState({uid:v()})}},{key:"abort",value:function(Te){var je=this.reqs;if(Te){var qe=Te.uid?Te.uid:Te;je[qe]&&je[qe].abort&&je[qe].abort(),delete je[qe]}else Object.keys(je).forEach(function(Le){je[Le]&&je[Le].abort&&je[Le].abort(),delete je[Le]})}},{key:"render",value:function(){var Te,je=this.props,qe=je.component,Le=je.prefixCls,ke=je.className,tt=je.disabled,st=je.id,_t=je.style,Ct=je.multiple,Rt=je.accept,Wt=je.capture,vt=je.children,Je=je.directory,Yt=je.openFileDialogOnClick,Ht=je.onMouseEnter,nr=je.onMouseLeave,ir=Object(n.a)(je,P),Zt=i()((Te={},Object(D.a)(Te,Le,!0),Object(D.a)(Te,"".concat(Le,"-disabled"),tt),Object(D.a)(Te,ke,ke),Te)),Mt=Je?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},pt=tt?{}:{onClick:Yt?this.onClick:function(){},onKeyDown:Yt?this.onKeyDown:function(){},onMouseEnter:Ht,onMouseLeave:nr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return w.a.createElement(qe,Object(B.a)({},pt,{className:Zt,role:"button",style:_t}),w.a.createElement("input",Object(B.a)({},Object(a.a)(ir,{aria:!0,data:!0}),{id:st,type:"file",ref:this.saveFileInput,onClick:function(mt){return mt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Rt},Mt,{multiple:Ct,onChange:this.onChange},Wt!=null?{capture:Wt}:{})),vt)}}]),Ee}(T.Component),R=M;function F(){}var L=function(ce){Object(r.a)(Ee,ce);var ae=Object(u.a)(Ee);function Ee(){var ye;Object(s.a)(this,Ee);for(var Te=arguments.length,je=new Array(Te),qe=0;qe<Te;qe++)je[qe]=arguments[qe];return ye=ae.call.apply(ae,[this].concat(je)),ye.uploader=void 0,ye.saveUploader=function(Le){ye.uploader=Le},ye}return Object(o.a)(Ee,[{key:"abort",value:function(Te){this.uploader.abort(Te)}},{key:"render",value:function(){return w.a.createElement(R,Object(B.a)({},this.props,{ref:this.saveUploader}))}}]),Ee}(T.Component);L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:F,onError:F,onSuccess:F,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var U=L,N=U,Q=e("6cGi"),z=e("i8i4"),_=e("H84U"),J=e("caoh"),Y=e("YMnH"),k=e("ZvpZ"),W=e("VTBJ"),ie={icon:function(ae,Ee){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Ee}},{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:ae}}]}},name:"file",theme:"twotone"},fe=ie,Ce=e("6VBw"),ge=function(ae,Ee){return T.createElement(Ce.a,Object(W.a)(Object(W.a)({},ae),{},{ref:Ee,icon:fe}))};ge.displayName="FileTwoTone";var de=T.forwardRef(ge),Pe=e("ye1Q"),_e={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"},Ne=_e,He=function(ae,Ee){return T.createElement(Ce.a,Object(W.a)(Object(W.a)({},ae),{},{ref:Ee,icon:Ne}))};He.displayName="PaperClipOutlined";var ue=T.forwardRef(He),Re={icon:function(ae,Ee){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:ae}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Ee}},{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:Ee}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Ee}},{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:ae}}]}},name:"picture",theme:"twotone"},nt=Re,Ve=function(ae,Ee){return T.createElement(Ce.a,Object(W.a)(Object(W.a)({},ae),{},{ref:Ee,icon:nt}))};Ve.displayName="PictureTwoTone";var Ge=T.forwardRef(Ve),dt=e("8XRh"),et=e("2/Rp"),At=e("hkKa"),Dt=e("EXcs"),Ft=e("0n0R");function St(ce){return Object(B.a)(Object(B.a)({},ce),{lastModified:ce.lastModified,lastModifiedDate:ce.lastModifiedDate,name:ce.name,size:ce.size,type:ce.type,uid:ce.uid,percent:0,originFileObj:ce})}function $e(ce,ae){var Ee=Object(C.a)(ae),ye=Ee.findIndex(function(Te){var je=Te.uid;return je===ce.uid});return ye===-1?Ee.push(ce):Ee[ye]=ce,Ee}function lt(ce,ae){var Ee=ce.uid!==void 0?"uid":"name";return ae.filter(function(ye){return ye[Ee]===ce[Ee]})[0]}function Ut(ce,ae){var Ee=ce.uid!==void 0?"uid":"name",ye=ae.filter(function(Te){return Te[Ee]!==ce[Ee]});return ye.length===ae.length?null:ye}var gt=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Ee=ae.split("/"),ye=Ee[Ee.length-1],Te=ye.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Te)||[""])[0]},ft=function(ae){return ae.indexOf("image/")===0},rt=function(ae){if(ae.type&&!ae.thumbUrl)return ft(ae.type);var Ee=ae.thumbUrl||ae.url||"",ye=gt(Ee);return/^data:image\//.test(Ee)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(ye)?!0:!(/^data:/.test(Ee)||ye)},Ie=200;function Ot(ce){return new Promise(function(ae){if(!ce.type||!ft(ce.type)){ae("");return}var Ee=document.createElement("canvas");Ee.width=Ie,Ee.height=Ie,Ee.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ie,"px; height: ").concat(Ie,"px; z-index: 9999; display: none;"),document.body.appendChild(Ee);var ye=Ee.getContext("2d"),Te=new Image;if(Te.onload=function(){var qe=Te.width,Le=Te.height,ke=Ie,tt=Ie,st=0,_t=0;qe>Le?(tt=Le*(Ie/qe),_t=-(tt-ke)/2):(ke=qe*(Ie/Le),st=-(ke-tt)/2),ye.drawImage(Te,st,_t,ke,tt);var Ct=Ee.toDataURL();document.body.removeChild(Ee),ae(Ct)},Te.crossOrigin="anonymous",ce.type.startsWith("image/svg+xml")){var je=new FileReader;je.addEventListener("load",function(){je.result&&(Te.src=je.result)}),je.readAsDataURL(ce)}else Te.src=window.URL.createObjectURL(ce)})}var Xt=e("/MfK"),Vt=e("dF/Y"),bt=e("9BLJ"),It=e("CFYs"),Kt=e("3S7+"),Se=T.forwardRef(function(ce,ae){var Ee,ye=ce.prefixCls,Te=ce.className,je=ce.style,qe=ce.locale,Le=ce.listType,ke=ce.file,tt=ce.items,st=ce.progress,_t=ce.iconRender,Ct=ce.actionIconRender,Rt=ce.itemRender,Wt=ce.isImgUrl,vt=ce.showPreviewIcon,Je=ce.showRemoveIcon,Yt=ce.showDownloadIcon,Ht=ce.previewIcon,nr=ce.removeIcon,ir=ce.downloadIcon,Zt=ce.onPreview,Mt=ce.onDownload,pt=ce.onClose,Tt,mt,Jt=ke.status,or=T.useState(Jt),ut=Object(f.a)(or,2),ht=ut[0],qt=ut[1];T.useEffect(function(){Jt!=="removed"&&qt(Jt)},[Jt]);var Nt=T.useState(!1),Qt=Object(f.a)(Nt,2),at=Qt[0],Ue=Qt[1],ot=T.useRef();T.useEffect(function(){return ot.current=setTimeout(function(){Ue(!0)},300),function(){window.clearTimeout(ot.current)}},[]);var it="".concat(ye,"-span"),zt=_t(ke),ar=T.createElement("div",{className:"".concat(ye,"-text-icon")},zt);if(Le==="picture"||Le==="picture-card")if(ht==="uploading"||!ke.thumbUrl&&!ke.url){var dr,pr=i()((dr={},Object(D.a)(dr,"".concat(ye,"-list-item-thumbnail"),!0),Object(D.a)(dr,"".concat(ye,"-list-item-file"),ht!=="uploading"),dr));ar=T.createElement("div",{className:pr},zt)}else{var Tr,Lr=(Wt==null?void 0:Wt(ke))?T.createElement("img",{src:ke.thumbUrl||ke.url,alt:ke.name,className:"".concat(ye,"-list-item-image"),crossOrigin:ke.crossOrigin}):zt,Yr=i()((Tr={},Object(D.a)(Tr,"".concat(ye,"-list-item-thumbnail"),!0),Object(D.a)(Tr,"".concat(ye,"-list-item-file"),Wt&&!Wt(ke)),Tr));ar=T.createElement("a",{className:Yr,onClick:function(Hn){return Zt(ke,Hn)},href:ke.url||ke.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Lr)}var Jr=i()((Ee={},Object(D.a)(Ee,"".concat(ye,"-list-item"),!0),Object(D.a)(Ee,"".concat(ye,"-list-item-").concat(ht),!0),Object(D.a)(Ee,"".concat(ye,"-list-item-list-type-").concat(Le),!0),Ee)),hn=typeof ke.linkProps=="string"?JSON.parse(ke.linkProps):ke.linkProps,yr=Je?Ct((typeof nr=="function"?nr(ke):nr)||T.createElement(Xt.a,null),function(){return pt(ke)},ye,qe.removeFile):null,zn=Yt&&ht==="done"?Ct((typeof ir=="function"?ir(ke):ir)||T.createElement(Vt.a,null),function(){return Mt(ke)},ye,qe.downloadFile):null,xn=Le!=="picture-card"&&T.createElement("span",{key:"download-delete",className:i()("".concat(ye,"-list-item-card-actions"),{picture:Le==="picture"})},zn,yr),In=i()("".concat(ye,"-list-item-name")),Qn=ke.url?[T.createElement("a",Object(B.a)({key:"view",target:"_blank",rel:"noopener noreferrer",className:In,title:ke.name},hn,{href:ke.url,onClick:function(Hn){return Zt(ke,Hn)}}),ke.name),xn]:[T.createElement("span",{key:"view",className:In,onClick:function(Hn){return Zt(ke,Hn)},title:ke.name},ke.name),xn],Cn={pointerEvents:"none",opacity:.5},bn=vt?T.createElement("a",{href:ke.url||ke.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ke.url||ke.thumbUrl?void 0:Cn,onClick:function(Hn){return Zt(ke,Hn)},title:qe.previewFile},typeof Ht=="function"?Ht(ke):Ht||T.createElement(bt.a,null)):null,Wn=Le==="picture-card"&&ht!=="uploading"&&T.createElement("span",{className:"".concat(ye,"-list-item-actions")},bn,ht==="done"&&zn,yr),Vn;ke.response&&typeof ke.response=="string"?Vn=ke.response:Vn=((Tt=ke.error)===null||Tt===void 0?void 0:Tt.statusText)||((mt=ke.error)===null||mt===void 0?void 0:mt.message)||qe.uploadError;var oa=T.createElement("span",{className:it},ar,Qn),kr=T.useContext(_.b),kn=kr.getPrefixCls,Pn=kn(),Ma=T.createElement("div",{className:Jr},T.createElement("div",{className:"".concat(ye,"-list-item-info")},oa),Wn,at&&T.createElement(dt.default,{motionName:"".concat(Pn,"-fade"),visible:ht==="uploading",motionDeadline:2e3},function(La){var Hn=La.className,Ir="percent"in ke?T.createElement(It.a,Object(B.a)({},st,{type:"line",percent:ke.percent})):null;return T.createElement("div",{className:i()("".concat(ye,"-list-item-progress"),Hn)},Ir)})),Oa=i()("".concat(ye,"-list-").concat(Le,"-container"),Te),ba=ht==="error"?T.createElement(Kt.a,{title:Vn,getPopupContainer:function(Hn){return Hn.parentNode}},Ma):Ma;return T.createElement("div",{className:Oa,style:je,ref:ae},Rt?Rt(ba,ke,tt,{download:Mt.bind(null,ke),preview:Zt.bind(null,ke),remove:pt.bind(null,ke)}):ba)}),Ye=Se,q=Object(B.a)({},Dt.a);delete q.onAppearEnd,delete q.onEnterEnd,delete q.onLeaveEnd;var Ae=function(ae,Ee){var ye,Te=ae.listType,je=Te===void 0?"text":Te,qe=ae.previewFile,Le=qe===void 0?Ot:qe,ke=ae.onPreview,tt=ae.onDownload,st=ae.onRemove,_t=ae.locale,Ct=ae.iconRender,Rt=ae.isImageUrl,Wt=Rt===void 0?rt:Rt,vt=ae.prefixCls,Je=ae.items,Yt=Je===void 0?[]:Je,Ht=ae.showPreviewIcon,nr=Ht===void 0?!0:Ht,ir=ae.showRemoveIcon,Zt=ir===void 0?!0:ir,Mt=ae.showDownloadIcon,pt=Mt===void 0?!1:Mt,Tt=ae.removeIcon,mt=ae.previewIcon,Jt=ae.downloadIcon,or=ae.progress,ut=or===void 0?{strokeWidth:2,showInfo:!1}:or,ht=ae.appendAction,qt=ae.appendActionVisible,Nt=qt===void 0?!0:qt,Qt=ae.itemRender,at=Object(At.a)(),Ue=T.useState(!1),ot=Object(f.a)(Ue,2),it=ot[0],zt=ot[1];T.useEffect(function(){je!=="picture"&&je!=="picture-card"||(Yt||[]).forEach(function(Cn){typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Cn.originFileObj instanceof File||Cn.originFileObj instanceof Blob)||Cn.thumbUrl!==void 0||(Cn.thumbUrl="",Le&&Le(Cn.originFileObj).then(function(bn){Cn.thumbUrl=bn||"",at()}))})},[je,Yt,Le]),T.useEffect(function(){zt(!0)},[]);var ar=function(bn,Wn){if(!!ke)return Wn==null||Wn.preventDefault(),ke(bn)},dr=function(bn){typeof tt=="function"?tt(bn):bn.url&&window.open(bn.url)},pr=function(bn){st==null||st(bn)},Tr=function(bn){if(Ct)return Ct(bn,je);var Wn=bn.status==="uploading",Vn=Wt&&Wt(bn)?T.createElement(Ge,null):T.createElement(de,null),oa=Wn?T.createElement(Pe.a,null):T.createElement(ue,null);return je==="picture"?oa=Wn?T.createElement(Pe.a,null):Vn:je==="picture-card"&&(oa=Wn?_t.uploading:Vn),oa},Lr=function(bn,Wn,Vn,oa){var kr={type:"text",size:"small",title:oa,onClick:function(Ma){Wn(),Object(Ft.c)(bn)&&bn.props.onClick&&bn.props.onClick(Ma)},className:"".concat(Vn,"-list-item-card-actions-btn")};if(Object(Ft.c)(bn)){var kn=Object(Ft.a)(bn,Object(B.a)(Object(B.a)({},bn.props),{onClick:function(){}}));return T.createElement(et.a,Object(B.a)({},kr,{icon:kn}))}return T.createElement(et.a,Object(B.a)({},kr),T.createElement("span",null,bn))};T.useImperativeHandle(Ee,function(){return{handlePreview:ar,handleDownload:dr}});var Yr=T.useContext(_.b),Jr=Yr.getPrefixCls,hn=Yr.direction,yr=Jr("upload",vt),zn=i()((ye={},Object(D.a)(ye,"".concat(yr,"-list"),!0),Object(D.a)(ye,"".concat(yr,"-list-").concat(je),!0),Object(D.a)(ye,"".concat(yr,"-list-rtl"),hn==="rtl"),ye)),xn=Object(C.a)(Yt.map(function(Cn){return{key:Cn.uid,file:Cn}})),In=je==="picture-card"?"animate-inline":"animate",Qn={motionDeadline:2e3,motionName:"".concat(yr,"-").concat(In),keys:xn,motionAppear:it};return je!=="picture-card"&&(Qn=Object(B.a)(Object(B.a)({},q),Qn)),T.createElement("div",{className:zn},T.createElement(dt.CSSMotionList,Object(B.a)({},Qn,{component:!1}),function(Cn){var bn=Cn.key,Wn=Cn.file,Vn=Cn.className,oa=Cn.style;return T.createElement(Ye,{key:bn,locale:_t,prefixCls:yr,className:Vn,style:oa,file:Wn,items:Yt,progress:ut,listType:je,isImgUrl:Wt,showPreviewIcon:nr,showRemoveIcon:Zt,showDownloadIcon:pt,removeIcon:Tt,previewIcon:mt,downloadIcon:Jt,iconRender:Tr,actionIconRender:Lr,itemRender:Qt,onPreview:ar,onDownload:dr,onClose:pr})}),ht&&T.createElement(dt.default,Object(B.a)({},Qn,{visible:Nt,forceRender:!0}),function(Cn){var bn=Cn.className,Wn=Cn.style;return Object(Ft.a)(ht,function(Vn){return{className:i()(Vn.className,bn),style:Object(B.a)(Object(B.a)(Object(B.a)({},Wn),{pointerEvents:bn?"none":void 0}),Vn.style)}})}))},Me=T.forwardRef(Ae),De=Me,ze=function(ce,ae,Ee,ye){function Te(je){return je instanceof Ee?je:new Ee(function(qe){qe(je)})}return new(Ee||(Ee=Promise))(function(je,qe){function Le(st){try{tt(ye.next(st))}catch(_t){qe(_t)}}function ke(st){try{tt(ye.throw(st))}catch(_t){qe(_t)}}function tt(st){st.done?je(st.value):Te(st.value).then(Le,ke)}tt((ye=ye.apply(ce,ae||[])).next())})},pe="__LIST_IGNORE_".concat(Date.now(),"__"),te=function(ae,Ee){var ye,Te=ae.fileList,je=ae.defaultFileList,qe=ae.onRemove,Le=ae.showUploadList,ke=Le===void 0?!0:Le,tt=ae.listType,st=tt===void 0?"text":tt,_t=ae.onPreview,Ct=ae.onDownload,Rt=ae.onChange,Wt=ae.onDrop,vt=ae.previewFile,Je=ae.disabled,Yt=ae.locale,Ht=ae.iconRender,nr=ae.isImageUrl,ir=ae.progress,Zt=ae.prefixCls,Mt=ae.className,pt=ae.type,Tt=pt===void 0?"select":pt,mt=ae.children,Jt=ae.style,or=ae.itemRender,ut=ae.maxCount,ht=ae.data,qt=ht===void 0?{}:ht,Nt=ae.multiple,Qt=Nt===void 0?!1:Nt,at=ae.action,Ue=at===void 0?"":at,ot=ae.accept,it=ot===void 0?"":ot,zt=ae.supportServerRender,ar=zt===void 0?!0:zt,dr=T.useContext(J.b),pr=Je!=null?Je:dr,Tr=Object(Q.a)(je||[],{value:Te,postState:function(jr){return jr!=null?jr:[]}}),Lr=Object(f.a)(Tr,2),Yr=Lr[0],Jr=Lr[1],hn=T.useState("drop"),yr=Object(f.a)(hn,2),zn=yr[0],xn=yr[1],In=T.useRef();T.useMemo(function(){var Fr=Date.now();(Te||[]).forEach(function(jr,wr){!jr.uid&&!Object.isFrozen(jr)&&(jr.uid="__AUTO__".concat(Fr,"_").concat(wr,"__"))})},[Te]);var Qn=function(jr,wr,pn){var un=Object(C.a)(wr);ut===1?un=un.slice(-1):ut&&(un=un.slice(0,ut)),Object(z.flushSync)(function(){Jr(un)});var jn={file:jr,fileList:un};pn&&(jn.event=pn),Rt==null||Rt(jn)},Cn=function(jr,wr){return ze(void 0,void 0,void 0,Object(I.a)().mark(function pn(){var un,jn,Xn,ca;return Object(I.a)().wrap(function(Ia){for(;;)switch(Ia.prev=Ia.next){case 0:if(un=ae.beforeUpload,jn=ae.transformFile,Xn=jr,!un){Ia.next=13;break}return Ia.next=5,un(jr,wr);case 5:if(ca=Ia.sent,ca!==!1){Ia.next=8;break}return Ia.abrupt("return",!1);case 8:if(delete jr[pe],ca!==pe){Ia.next=12;break}return Object.defineProperty(jr,pe,{value:!0,configurable:!0}),Ia.abrupt("return",!1);case 12:Object(E.a)(ca)==="object"&&ca&&(Xn=ca);case 13:if(!jn){Ia.next=17;break}return Ia.next=16,jn(Xn);case 16:Xn=Ia.sent;case 17:return Ia.abrupt("return",Xn);case 18:case"end":return Ia.stop()}},pn)}))},bn=function(jr){var wr=jr.filter(function(jn){return!jn.file[pe]});if(!!wr.length){var pn=wr.map(function(jn){return St(jn.file)}),un=Object(C.a)(Yr);pn.forEach(function(jn){un=$e(jn,un)}),pn.forEach(function(jn,Xn){var ca=jn;if(wr[Xn].parsedFile)jn.status="uploading";else{var ti=jn.originFileObj,Ia;try{Ia=new File([ti],ti.name,{type:ti.type})}catch(aa){Ia=new Blob([ti],{type:ti.type}),Ia.name=ti.name,Ia.lastModifiedDate=new Date,Ia.lastModified=new Date().getTime()}Ia.uid=jn.uid,ca=Ia}Qn(ca,un)})}},Wn=function(jr,wr,pn){try{typeof jr=="string"&&(jr=JSON.parse(jr))}catch(Xn){}if(!!lt(wr,Yr)){var un=St(wr);un.status="done",un.percent=100,un.response=jr,un.xhr=pn;var jn=$e(un,Yr);Qn(un,jn)}},Vn=function(jr,wr){if(!!lt(wr,Yr)){var pn=St(wr);pn.status="uploading",pn.percent=jr.percent;var un=$e(pn,Yr);Qn(pn,un,jr)}},oa=function(jr,wr,pn){if(!!lt(pn,Yr)){var un=St(pn);un.error=jr,un.response=wr,un.status="error";var jn=$e(un,Yr);Qn(un,jn)}},kr=function(jr){var wr;Promise.resolve(typeof qe=="function"?qe(jr):qe).then(function(pn){var un;if(pn!==!1){var jn=Ut(jr,Yr);jn&&(wr=Object(B.a)(Object(B.a)({},jr),{status:"removed"}),Yr==null||Yr.forEach(function(Xn){var ca=wr.uid!==void 0?"uid":"name";Xn[ca]===wr[ca]&&!Object.isFrozen(Xn)&&(Xn.status="removed")}),(un=In.current)===null||un===void 0||un.abort(wr),Qn(wr,jn))}})},kn=function(jr){xn(jr.type),jr.type==="drop"&&(Wt==null||Wt(jr))};T.useImperativeHandle(Ee,function(){return{onBatchStart:bn,onSuccess:Wn,onProgress:Vn,onError:oa,fileList:Yr,upload:In.current}});var Pn=T.useContext(_.b),Ma=Pn.getPrefixCls,Oa=Pn.direction,ba=Ma("upload",Zt),La=Object(B.a)(Object(B.a)({onBatchStart:bn,onError:oa,onProgress:Vn,onSuccess:Wn},ae),{data:qt,multiple:Qt,action:Ue,accept:it,supportServerRender:ar,prefixCls:ba,disabled:pr,beforeUpload:Cn,onChange:void 0});delete La.className,delete La.style,(!mt||pr)&&delete La.id;var Hn=function(jr,wr){return ke?T.createElement(Y.a,{componentName:"Upload",defaultLocale:k.a.Upload},function(pn){var un=typeof ke=="boolean"?{}:ke,jn=un.showRemoveIcon,Xn=un.showPreviewIcon,ca=un.showDownloadIcon,ti=un.removeIcon,Ia=un.previewIcon,aa=un.downloadIcon;return T.createElement(De,{prefixCls:ba,listType:st,items:Yr,previewFile:vt,onPreview:_t,onDownload:Ct,onRemove:kr,showRemoveIcon:!pr&&jn,showPreviewIcon:Xn,showDownloadIcon:ca,removeIcon:ti,previewIcon:Ia,downloadIcon:aa,iconRender:Ht,locale:Object(B.a)(Object(B.a)({},pn),Yt),isImageUrl:nr,progress:ir,appendAction:jr,appendActionVisible:wr,itemRender:or})}):jr};if(Tt==="drag"){var Ir,xr=i()(ba,(Ir={},Object(D.a)(Ir,"".concat(ba,"-drag"),!0),Object(D.a)(Ir,"".concat(ba,"-drag-uploading"),Yr.some(function(Fr){return Fr.status==="uploading"})),Object(D.a)(Ir,"".concat(ba,"-drag-hover"),zn==="dragover"),Object(D.a)(Ir,"".concat(ba,"-disabled"),pr),Object(D.a)(Ir,"".concat(ba,"-rtl"),Oa==="rtl"),Ir),Mt);return T.createElement("span",null,T.createElement("div",{className:xr,onDrop:kn,onDragOver:kn,onDragLeave:kn,style:Jt},T.createElement(N,Object(B.a)({},La,{ref:In,className:"".concat(ba,"-btn")}),T.createElement("div",{className:"".concat(ba,"-drag-container")},mt))),Hn())}var Xr=i()(ba,(ye={},Object(D.a)(ye,"".concat(ba,"-select"),!0),Object(D.a)(ye,"".concat(ba,"-select-").concat(st),!0),Object(D.a)(ye,"".concat(ba,"-disabled"),pr),Object(D.a)(ye,"".concat(ba,"-rtl"),Oa==="rtl"),ye)),Cr=function(jr){return T.createElement("div",{className:Xr,style:jr},T.createElement(N,Object(B.a)({},La,{ref:In})))},Hr=Cr(mt?void 0:{display:"none"});return st==="picture-card"?T.createElement("span",{className:i()("".concat(ba,"-picture-card-wrapper"),Mt)},Hn(Hr,!!mt)):T.createElement("span",{className:Mt},Hr,Hn())},be=T.forwardRef(te),xe=be,Z=function(ce,ae){var Ee={};for(var ye in ce)Object.prototype.hasOwnProperty.call(ce,ye)&&ae.indexOf(ye)<0&&(Ee[ye]=ce[ye]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ye=Object.getOwnPropertySymbols(ce);Te<ye.length;Te++)ae.indexOf(ye[Te])<0&&Object.prototype.propertyIsEnumerable.call(ce,ye[Te])&&(Ee[ye[Te]]=ce[ye[Te]]);return Ee},se=T.forwardRef(function(ce,ae){var Ee=ce.style,ye=ce.height,Te=Z(ce,["style","height"]);return T.createElement(xe,Object(B.a)({ref:ae},Te,{type:"drag",style:Object(B.a)(Object(B.a)({},Ee),{height:ye})}))}),he=se,Oe=xe;Oe.Dragger=he,Oe.LIST_IGNORE=pe;var ne=V.a=Oe},"98bh":function(oe,V,e){var B=e("ProS"),T=e("5GtS"),w=e("bYtY"),D=e("4NO4"),I=e("OELB"),E=I.getPercentWithPrecision,C=e("cCMj"),f=e("KxfA"),t=f.retrieveRawAttr,i=e("D5nY"),s=i.makeSeriesEncodeForNameBased,o=e("xKMd"),r=B.extendSeriesModel({type:"series.pie",init:function(n){r.superApply(this,"init",arguments),this.legendVisualProvider=new o(w.bind(this.getData,this),w.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(n)},mergeOption:function(n){r.superCall(this,"mergeOption",n),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(n,l){return T(this,{coordDimensions:["value"],encodeDefaulter:w.curry(s,this)})},_createSelectableList:function(){for(var n=this.getRawData(),l=n.mapDimension("value"),a=[],c=0,d=n.count();c<d;c++)a.push({name:n.getName(c),value:n.get(l,c),selected:t(n,c,"selected")});return a},getDataParams:function(n){var l=this.getData(),a=r.superCall(this,"getDataParams",n),c=[];return l.each(l.mapDimension("value"),function(d){c.push(d)}),a.percent=E(c,n,l.hostModel.get("percentPrecision")),a.$vars.push("percent"),a},_defaultLabelLine:function(n){D.defaultEmphasis(n,"labelLine",["show"]);var l=n.labelLine,a=n.emphasis.labelLine;l.show=l.show&&n.label.show,a.show=a.show&&n.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"}});w.mixin(r,C);var u=r;oe.exports=u},"9BLJ":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="EyeOutlined";var C=V.a=T.forwardRef(E)},"9H2F":function(oe,V,e){var B=e("bYtY"),T=B.assert,w=B.isArray,D=e("Tghj"),I=D.__DEV__;function E(o){return new C(o)}function C(o){o=o||{},this._reset=o.reset,this._plan=o.plan,this._count=o.count,this._onDirty=o.onDirty,this._dirty=!0,this.context}var f=C.prototype;f.perform=function(o){var r=this._upstream,u=o&&o.skip;if(this._dirty&&r){var n=this.context;n.data=n.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var l;this._plan&&!u&&(l=this._plan(this.context));var a=y(this._modBy),c=this._modDataCount||0,d=y(o&&o.modBy),h=o&&o.modDataCount||0;(a!==d||c!==h)&&(l="reset");function y(P){return!(P>=1)&&(P=1),P}var A;(this._dirty||l==="reset")&&(this._dirty=!1,A=s(this,u)),this._modBy=d,this._modDataCount=h;var v=o&&o.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var g=this._dueIndex,x=Math.min(v!=null?this._dueIndex+v:Infinity,this._dueEnd);if(!u&&(A||g<x)){var m=this._progress;if(w(m))for(var b=0;b<m.length;b++)i(this,m[b],g,x,d,h);else i(this,m,g,x,d,h)}this._dueIndex=x;var S=this._settedOutputEnd!=null?this._settedOutputEnd:x;this._outputDueEnd=S}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var t=function(){var o,r,u,n,l,a={reset:function(h,y,A,v){r=h,o=y,u=A,n=v,l=Math.ceil(n/u),a.next=u>1&&n>0?d:c}};return a;function c(){return r<o?r++:null}function d(){var h=r%l*u+Math.ceil(r/l),y=r>=o?null:h<n?h:r;return r++,y}}();f.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function i(o,r,u,n,l,a){t.reset(u,n,l,a),o._callingProgress=r,o._callingProgress({start:u,end:n,count:n-u,next:t.next},o.context)}function s(o,r){o._dueIndex=o._outputDueEnd=o._dueEnd=0,o._settedOutputEnd=null;var u,n;!r&&o._reset&&(u=o._reset(o.context),u&&u.progress&&(n=u.forceFirstProgress,u=u.progress),w(u)&&!u.length&&(u=null)),o._progress=u,o._modBy=o._modDataCount=null;var l=o._downstream;return l&&l.dirty(),n}f.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},f.pipe=function(o){(this._downstream!==o||this._dirty)&&(this._downstream=o,o._upstream=this,o.dirty())},f.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},f.getUpstream=function(){return this._upstream},f.getDownstream=function(){return this._downstream},f.setOutputEnd=function(o){this._outputDueEnd=this._settedOutputEnd=o},V.createTask=E},"9KIM":function(oe,V,e){var B=e("mFDi"),T=e("xSat"),w=T.onIrrelevantElement,D=e("IwbS");function I(t){return t=f(t),function(i,s){return D.clipPointsByRect(i,t)}}function E(t,i){return t=f(t),function(s){var o=i!=null?i:s,r=o?t.width:t.height,u=o?t.x:t.y;return[u,u+(r||0)]}}function C(t,i,s){return t=f(t),function(o,r,u){return t.contain(r[0],r[1])&&!w(o,i,s)}}function f(t){return B.create(t)}V.makeRectPanelClipPath=I,V.makeLinearBrushOtherExtent=E,V.makeRectIsTargetByCursor=C},"9ama":function(oe,V,e){},"9eas":function(oe,V,e){e("HM/N"),e("tBnm")},"9hCq":function(oe,V,e){var B=e("IwbS"),T=e("+TT/"),w=e("bYtY"),D=e("VaxA"),I=D.wrapTreePathInfo,E=8,C=8,f=5;function t(r){this.group=new B.Group,r.add(this.group)}t.prototype={constructor:t,render:function(r,u,n,l){var a=r.getModel("breadcrumb"),c=this.group;if(c.removeAll(),!(!a.get("show")||!n)){var d=a.getModel("itemStyle"),h=d.getModel("textStyle"),y={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:u.getWidth(),height:u.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,y,h),this._renderContent(r,y,d,h,l),T.positionElement(c,y.pos,y.box)}},_prepare:function(r,u,n){for(var l=r;l;l=l.parentNode){var a=l.getModel().get("name"),c=n.getTextRect(a),d=Math.max(c.width+E*2,u.emptyItemWidth);u.totalWidth+=d+C,u.renderList.push({node:l,text:a,width:d})}},_renderContent:function(r,u,n,l,a){for(var c=0,d=u.emptyItemWidth,h=r.get("breadcrumb.height"),y=T.getAvailableSize(u.pos,u.box),A=u.totalWidth,v=u.renderList,g=v.length-1;g>=0;g--){var x=v[g],m=x.node,b=x.width,S=x.text;A>y.width&&(A-=b-d,b=d,S=null);var P=new B.Polygon({shape:{points:i(c,0,b,h,g===v.length-1,g===0)},style:w.defaults(n.getItemStyle(),{lineJoin:"bevel",text:S,textFill:l.getTextColor(),textFont:l.getFont()}),z:10,onclick:w.curry(a,m)});this.group.add(P),s(P,r,m),c+=b+C}},remove:function(){this.group.removeAll()}};function i(r,u,n,l,a,c){var d=[[a?r:r-f,u],[r+n,u],[r+n,u+l],[a?r:r-f,u+l]];return!c&&d.splice(2,0,[r+n+f,u+l/2]),!a&&d.push([r,u+l/2]),d}function s(r,u,n){r.eventData={componentType:"series",componentSubType:"treemap",componentIndex:u.componentIndex,seriesIndex:u.componentIndex,seriesName:u.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&I(n,u)}}var o=t;oe.exports=o},"9jjd":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="FileOutlined";var C=V.a=T.forwardRef(E)},"9u0u":function(oe,V,e){var B=e("bYtY");function T(D,I){var E={};return B.each(D,function(C){C.each(C.mapDimension("value"),function(f,t){var i="ec-"+C.getName(t);E[i]=E[i]||[],isNaN(f)||E[i].push(f)})}),D[0].map(D[0].mapDimension("value"),function(C,f){for(var t="ec-"+D[0].getName(f),i=0,s=Infinity,o=-Infinity,r=E[t].length,u=0;u<r;u++)s=Math.min(s,E[t][u]),o=Math.max(o,E[t][u]),i+=E[t][u];var n;return I==="min"?n=s:I==="max"?n=o:I==="average"?n=i/r:n=i,r===0?NaN:n})}function w(D){var I={};D.eachSeriesByType("map",function(E){var C=E.getHostGeoModel(),f=C?"o"+C.id:"i"+E.getMapType();(I[f]=I[f]||[]).push(E)}),B.each(I,function(E,C){for(var f=T(B.map(E,function(i){return i.getData()}),E[0].get("mapValueCalculation")),t=0;t<E.length;t++)E[t].originalData=E[t].getData();for(var t=0;t<E.length;t++)E[t].seriesGroup=E,E[t].needsDrawMap=t===0&&!E[t].getHostGeoModel(),E[t].setData(f.cloneShallow()),E[t].mainSeries=E[0]})}oe.exports=w},"9wZj":function(oe,V,e){var B=e("IwbS"),T=e("FBjb"),w=e("bYtY"),D=w.isObject;function I(s){this.group=new B.Group,this._symbolCtor=s||T}var E=I.prototype;function C(s,o,r,u){return o&&!isNaN(o[0])&&!isNaN(o[1])&&!(u.isIgnore&&u.isIgnore(r))&&!(u.clipShape&&!u.clipShape.contain(o[0],o[1]))&&s.getItemVisual(r,"symbol")!=="none"}E.updateData=function(s,o){o=f(o);var r=this.group,u=s.hostModel,n=this._data,l=this._symbolCtor,a=t(s);n||r.removeAll(),s.diff(n).add(function(c){var d=s.getItemLayout(c);if(C(s,d,c,o)){var h=new l(s,c,a);h.attr("position",d),s.setItemGraphicEl(c,h),r.add(h)}}).update(function(c,d){var h=n.getItemGraphicEl(d),y=s.getItemLayout(c);if(!C(s,y,c,o)){r.remove(h);return}h?(h.updateData(s,c,a),B.updateProps(h,{position:y},u)):(h=new l(s,c),h.attr("position",y)),r.add(h),s.setItemGraphicEl(c,h)}).remove(function(c){var d=n.getItemGraphicEl(c);d&&d.fadeOut(function(){r.remove(d)})}).execute(),this._data=s},E.isPersistent=function(){return!0},E.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(o,r){var u=s.getItemLayout(r);o.attr("position",u)})},E.incrementalPrepareUpdate=function(s){this._seriesScope=t(s),this._data=null,this.group.removeAll()},E.incrementalUpdate=function(s,o,r){r=f(r);function u(c){c.isGroup||(c.incremental=c.useHoverLayer=!0)}for(var n=s.start;n<s.end;n++){var l=o.getItemLayout(n);if(C(o,l,n,r)){var a=new this._symbolCtor(o,n,this._seriesScope);a.traverse(u),a.attr("position",l),this.group.add(a),o.setItemGraphicEl(n,a)}}};function f(s){return s!=null&&!D(s)&&(s={isIgnore:s}),s||{}}E.remove=function(s){var o=this.group,r=this._data;r&&s?r.eachItemGraphicEl(function(u){u.fadeOut(function(){o.remove(u)})}):o.removeAll()};function t(s){var o=s.hostModel;return{itemStyle:o.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:o.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:o.get("symbolRotate"),symbolOffset:o.get("symbolOffset"),hoverAnimation:o.get("hoverAnimation"),labelModel:o.getModel("label"),hoverLabelModel:o.getModel("emphasis.label"),cursorStyle:o.get("cursor")}}var i=I;oe.exports=i},"9yH6":function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("ODXe"),D=e("TSYQ"),I=e.n(D),E=e("6cGi"),C=e("q1tI"),f=e("H84U"),t=e("3Nzz"),i=e("RqAY"),s=C.createContext(null),o=s.Provider,r=s,u=C.createContext(null),n=u.Provider,l=e("+6Fa"),a=e("c+Xe"),c=e("caoh"),d=e("ihLV"),h=function(R,F){var L={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&F.indexOf(U)<0&&(L[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,U=Object.getOwnPropertySymbols(R);N<U.length;N++)F.indexOf(U[N])<0&&Object.prototype.propertyIsEnumerable.call(R,U[N])&&(L[U[N]]=R[U[N]]);return L},y=function(F,L){var U,N=C.useContext(r),Q=C.useContext(u),z=C.useContext(f.b),_=z.getPrefixCls,J=z.direction,Y=C.useRef(),k=Object(a.a)(L,Y),W=Object(C.useContext)(d.b),ie=W.isFormItemInput,fe=function(dt){var et,At;(et=F.onChange)===null||et===void 0||et.call(F,dt),(At=N==null?void 0:N.onChange)===null||At===void 0||At.call(N,dt)},Ce=F.prefixCls,ge=F.className,de=F.children,Pe=F.style,_e=F.disabled,Ne=h(F,["prefixCls","className","children","style","disabled"]),He=_("radio",Ce),ue=((N==null?void 0:N.optionType)||Q)==="button"?"".concat(He,"-button"):He,Re=Object(B.a)({},Ne),nt=C.useContext(c.b);Re.disabled=_e||nt,N&&(Re.name=N.name,Re.onChange=fe,Re.checked=F.value===N.value,Re.disabled=Re.disabled||N.disabled);var Ve=I()("".concat(ue,"-wrapper"),(U={},Object(T.a)(U,"".concat(ue,"-wrapper-checked"),Re.checked),Object(T.a)(U,"".concat(ue,"-wrapper-disabled"),Re.disabled),Object(T.a)(U,"".concat(ue,"-wrapper-rtl"),J==="rtl"),Object(T.a)(U,"".concat(ue,"-wrapper-in-form-item"),ie),U),ge);return C.createElement("label",{className:Ve,style:Pe,onMouseEnter:F.onMouseEnter,onMouseLeave:F.onMouseLeave},C.createElement(l.a,Object(B.a)({},Re,{type:"radio",prefixCls:ue,ref:k})),de!==void 0?C.createElement("span",null,de):null)},A=C.forwardRef(y),v=A,g=C.forwardRef(function(R,F){var L,U=C.useContext(f.b),N=U.getPrefixCls,Q=U.direction,z=C.useContext(t.b),_=Object(E.a)(R.defaultValue,{value:R.value}),J=Object(w.a)(_,2),Y=J[0],k=J[1],W=function(lt){var Ut=Y,gt=lt.target.value;"value"in R||k(gt);var ft=R.onChange;ft&>!==Ut&&ft(lt)},ie=R.prefixCls,fe=R.className,Ce=fe===void 0?"":fe,ge=R.options,de=R.buttonStyle,Pe=de===void 0?"outline":de,_e=R.disabled,Ne=R.children,He=R.size,ue=R.style,Re=R.id,nt=R.onMouseEnter,Ve=R.onMouseLeave,Ge=R.onFocus,dt=R.onBlur,et=N("radio",ie),At="".concat(et,"-group"),Dt=Ne;ge&&ge.length>0&&(Dt=ge.map(function($e){return typeof $e=="string"||typeof $e=="number"?C.createElement(v,{key:$e.toString(),prefixCls:et,disabled:_e,value:$e,checked:Y===$e},$e):C.createElement(v,{key:"radio-group-value-options-".concat($e.value),prefixCls:et,disabled:$e.disabled||_e,value:$e.value,checked:Y===$e.value,style:$e.style},$e.label)}));var Ft=He||z,St=I()(At,"".concat(At,"-").concat(Pe),(L={},Object(T.a)(L,"".concat(At,"-").concat(Ft),Ft),Object(T.a)(L,"".concat(At,"-rtl"),Q==="rtl"),L),Ce);return C.createElement("div",Object(B.a)({},Object(i.a)(R),{className:St,style:ue,onMouseEnter:nt,onMouseLeave:Ve,onFocus:Ge,onBlur:dt,id:Re,ref:F}),C.createElement(o,{value:{onChange:W,value:Y,disabled:R.disabled,name:R.name,optionType:R.optionType}},Dt))}),x=C.memo(g),m=function(R,F){var L={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&F.indexOf(U)<0&&(L[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,U=Object.getOwnPropertySymbols(R);N<U.length;N++)F.indexOf(U[N])<0&&Object.prototype.propertyIsEnumerable.call(R,U[N])&&(L[U[N]]=R[U[N]]);return L},b=function(F,L){var U=C.useContext(f.b),N=U.getPrefixCls,Q=F.prefixCls,z=m(F,["prefixCls"]),_=N("radio",Q);return C.createElement(n,{value:"button"},C.createElement(v,Object(B.a)({prefixCls:_},z,{type:"radio",ref:L})))},S=C.forwardRef(b),P=v;P.Button=S,P.Group=x,P.__ANT_RADIO=!0;var M=V.a=P},A1Ka:function(oe,V,e){var B=e("bLfw"),T=e("sS/r"),w=e("D5nY"),D=w.detectSourceFormat,I=e("k9D9"),E=I.SERIES_LAYOUT_BY_COLUMN;B.extend({type:"dataset",defaultOption:{seriesLayoutBy:E,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){D(this)}}),T.extend({type:"dataset"})},ACnJ:function(oe,V,e){"use strict";e.d(V,"b",function(){return w});var B=e("rePB"),T=e("wx14"),w=["xxl","xl","lg","md","sm","xs"],D={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},I=new Map,E=-1,C={},f={matchHandlers:{},dispatch:function(i){return C=i,I.forEach(function(s){return s(C)}),I.size>=1},subscribe:function(i){return I.size||this.register(),E+=1,I.set(E,i),i(C),E},unsubscribe:function(i){I.delete(i),I.size||this.unregister()},unregister:function(){var i=this;Object.keys(D).forEach(function(s){var o=D[s],r=i.matchHandlers[o];r==null||r.mql.removeListener(r==null?void 0:r.listener)}),I.clear()},register:function(){var i=this;Object.keys(D).forEach(function(s){var o=D[s],r=function(l){var a=l.matches;i.dispatch(Object(T.a)(Object(T.a)({},C),Object(B.a)({},s,a)))},u=window.matchMedia(o);u.addListener(r),i.matchHandlers[o]={mql:u,listener:r},r(u)})}};V.a=f},AE9C:function(oe,V,e){var B=e("bYtY"),T=e("crZl"),w=e("IwbS"),D=e("oVpE"),I=D.createSymbol,E=e("+TT/"),C=e("y7Aq"),f=T.extend({type:"visualMap.piecewise",doRender:function(){var i=this.group;i.removeAll();var s=this.visualMapModel,o=s.get("textGap"),r=s.textStyleModel,u=r.getFont(),n=r.getTextColor(),l=this._getItemAlign(),a=s.itemSize,c=this._getViewData(),d=c.endsText,h=B.retrieve(s.get("showLabel",!0),!d);d&&this._renderEndsText(i,d[0],a,h,l),B.each(c.viewPieceList,y,this),d&&this._renderEndsText(i,d[1],a,h,l),E.box(s.get("orient"),i,s.get("itemGap")),this.renderBackground(i),this.positionGroup(i);function y(A){var v=A.piece,g=new w.Group;g.onclick=B.bind(this._onItemClick,this,v),this._enableHoverLink(g,A.indexInModelPieceList);var x=s.getRepresentValue(v);if(this._createItemSymbol(g,x,[0,0,a[0],a[1]]),h){var m=this.visualMapModel.getValueState(x);g.add(new w.Text({style:{x:l==="right"?-o:a[0]+o,y:a[1]/2,text:v.text,textVerticalAlign:"middle",textAlign:l,textFont:u,textFill:n,opacity:m==="outOfRange"?.5:1}}))}i.add(g)}},_enableHoverLink:function(i,s){i.on("mouseover",B.bind(o,this,"highlight")).on("mouseout",B.bind(o,this,"downplay"));function o(r){var u=this.visualMapModel;u.option.hoverLink&&this.api.dispatchAction({type:r,batch:C.makeHighDownBatch(u.findTargetDataIndices(s),u)})}},_getItemAlign:function(){var i=this.visualMapModel,s=i.option;if(s.orient==="vertical")return C.getItemAlign(i,this.api,i.itemSize);var o=s.align;return(!o||o==="auto")&&(o="left"),o},_renderEndsText:function(i,s,o,r,u){if(!!s){var n=new w.Group,l=this.visualMapModel.textStyleModel;n.add(new w.Text({style:{x:r?u==="right"?o[0]:0:o[0]/2,y:o[1]/2,textVerticalAlign:"middle",textAlign:r?u:"center",text:s,textFont:l.getFont(),textFill:l.getTextColor()}})),i.add(n)}},_getViewData:function(){var i=this.visualMapModel,s=B.map(i.getPieceList(),function(n,l){return{piece:n,indexInModelPieceList:l}}),o=i.get("text"),r=i.get("orient"),u=i.get("inverse");return(r==="horizontal"?u:!u)?s.reverse():o&&(o=o.slice().reverse()),{viewPieceList:s,endsText:o}},_createItemSymbol:function(i,s,o){i.add(I(this.getControllerVisual(s,"symbol"),o[0],o[1],o[2],o[3],this.getControllerVisual(s,"color")))},_onItemClick:function(i){var s=this.visualMapModel,o=s.option,r=B.clone(o.selected),u=s.getSelectedMapKey(i);o.selectedMode==="single"?(r[u]=!0,B.each(r,function(n,l){r[l]=l===u})):r[u]=!r[u],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}}),t=f;oe.exports=t},AEZ6:function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.createHashMap,D=e("T4UG"),I=e("MwEJ"),E=D.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,i){var s=this.getSource();return C(s,this),I(s,this)},getRawIndicesByActiveState:function(t){var i=this.coordinateSystem,s=this.getData(),o=[];return i.eachActiveState(s,function(r,u){t===r&&o.push(s.getRawIndex(u))}),o},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(t,i){if(!t.encodeDefine){var s=i.ecModel.getComponent("parallel",i.get("parallelIndex"));if(!!s){var o=t.encodeDefine=w();T(s.dimensions,function(r){var u=f(r);o.set(r,u)})}}}function f(t){return+t.replace("dim","")}oe.exports=E},AH3D:function(oe,V,e){var B=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),B.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),B.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("5GtS"),D=e("4NO4"),I=D.defaultEmphasis,E=e("D5nY"),C=E.makeSeriesEncodeForNameBased,f=e("xKMd"),t=B.extendSeriesModel({type:"series.funnel",init:function(s){t.superApply(this,"init",arguments),this.legendVisualProvider=new f(T.bind(this.getData,this),T.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,o){return w(this,{coordDimensions:["value"],encodeDefaulter:T.curry(C,this)})},_defaultLabelLine:function(s){I(s,"labelLine",["show"]);var o=s.labelLine,r=s.emphasis.labelLine;o.show=o.show&&s.label.show,r.show=r.show&&s.emphasis.label.show},getDataParams:function(s){var o=this.getData(),r=t.superCall(this,"getDataParams",s),u=o.mapDimension("value"),n=o.getSum(u);return r.percent=n?+(o.get(u,s)/n*100).toFixed(2):0,r.$vars.push("percent"),r},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",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}}}}),i=t;oe.exports=i},ANhw:function(oe,V){(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B={rotl:function(w,D){return w<<D|w>>>32-D},rotr:function(w,D){return w<<32-D|w>>>D},endian:function(w){if(w.constructor==Number)return B.rotl(w,8)&16711935|B.rotl(w,24)&4278255360;for(var D=0;D<w.length;D++)w[D]=B.endian(w[D]);return w},randomBytes:function(w){for(var D=[];w>0;w--)D.push(Math.floor(Math.random()*256));return D},bytesToWords:function(w){for(var D=[],I=0,E=0;I<w.length;I++,E+=8)D[E>>>5]|=w[I]<<24-E%32;return D},wordsToBytes:function(w){for(var D=[],I=0;I<w.length*32;I+=8)D.push(w[I>>>5]>>>24-I%32&255);return D},bytesToHex:function(w){for(var D=[],I=0;I<w.length;I++)D.push((w[I]>>>4).toString(16)),D.push((w[I]&15).toString(16));return D.join("")},hexToBytes:function(w){for(var D=[],I=0;I<w.length;I+=2)D.push(parseInt(w.substr(I,2),16));return D},bytesToBase64:function(w){for(var D=[],I=0;I<w.length;I+=3)for(var E=w[I]<<16|w[I+1]<<8|w[I+2],C=0;C<4;C++)I*8+C*6<=w.length*8?D.push(e.charAt(E>>>6*(3-C)&63)):D.push("=");return D.join("")},base64ToBytes:function(w){w=w.replace(/[^A-Z0-9+\/]/ig,"");for(var D=[],I=0,E=0;I<w.length;E=++I%4)E!=0&&D.push((e.indexOf(w.charAt(I-1))&Math.pow(2,-2*E+8)-1)<<E*2|e.indexOf(w.charAt(I))>>>6-E*2);return D}};oe.exports=B})()},ANjR:function(oe,V,e){var B=e("bYtY");function T(D,I){return I=I||[0,0],B.map([0,1],function(E){var C=I[E],f=D[E]/2,t=[],i=[];return t[E]=C-f,i[E]=C+f,t[1-E]=i[1-E]=I[1-E],Math.abs(this.dataToPoint(t)[E]-this.dataToPoint(i)[E])},this)}function w(D){var I=D.getBoundingRect();return{coordSys:{type:"geo",x:I.x,y:I.y,width:I.width,height:I.height,zoom:D.getZoom()},api:{coord:function(E){return D.dataToPoint(E)},size:B.bind(T,D)}}}oe.exports=w},AOa7:function(oe,V,e){},ATYA:function(oe,V,e){"use strict";e.d(V,"b",function(){return E}),e.d(V,"a",function(){return C});var B=e("rePB"),T=e("TSYQ"),w=e.n(T),D=e("CWQg"),I=Object(D.a)("warning","error","");function E(f,t,i){var s;return w()((s={},Object(B.a)(s,"".concat(f,"-status-success"),t==="success"),Object(B.a)(s,"".concat(f,"-status-warning"),t==="warning"),Object(B.a)(s,"".concat(f,"-status-error"),t==="error"),Object(B.a)(s,"".concat(f,"-status-validating"),t==="validating"),Object(B.a)(s,"".concat(f,"-has-feedback"),i),s))}var C=function(t,i){return i||t}},AUH6:function(oe,V,e){var B=e("bYtY"),T=e("mFDi"),w=e("bMXI"),D=e("W4dC");function I(f,t,i,s){w.call(this,f),this.map=t;var o=D.load(t,i);this._nameCoordMap=o.nameCoordMap,this._regionsMap=o.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=o.regions,this._rect=o.boundingRect}I.prototype={constructor:I,type:"geo",dimensions:["lng","lat"],containCoord:function(f){for(var t=this.regions,i=0;i<t.length;i++)if(t[i].contain(f))return!0;return!1},transformTo:function(f,t,i,s){var o=this.getBoundingRect(),r=this._invertLongitute;o=o.clone(),r&&(o.y=-o.y-o.height);var u=this._rawTransformable;if(u.transform=o.calculateTransform(new T(f,t,i,s)),u.decomposeTransform(),r){var n=u.scale;n[1]=-n[1]}u.updateTransform(),this._updateTransform()},getRegion:function(f){return this._regionsMap.get(f)},getRegionByCoord:function(f){for(var t=this.regions,i=0;i<t.length;i++)if(t[i].contain(f))return t[i]},addGeoCoord:function(f,t){this._nameCoordMap.set(f,t)},getGeoCoord:function(f){return this._nameCoordMap.get(f)},getBoundingRect:function(){return this._rect},dataToPoint:function(f,t,i){if(typeof f=="string"&&(f=this.getGeoCoord(f)),f)return w.prototype.dataToPoint.call(this,f,t,i)},convertToPixel:B.curry(E,"dataToPoint"),convertFromPixel:B.curry(E,"pointToData")},B.mixin(I,w);function E(f,t,i,s){var o=i.geoModel,r=i.seriesModel,u=o?o.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return u===this?u[f](s):null}var C=I;oe.exports=C},AVZG:function(oe,V,e){var B=e("bYtY");function T(w,D,I){I=I||{};var E=w.coordinateSystem,C=D.axis,f={},t=C.getAxesOnZeroOf()[0],i=C.position,s=t?"onZero":i,o=C.dim,r=E.getRect(),u=[r.x,r.x+r.width,r.y,r.y+r.height],n={left:0,right:1,top:0,bottom:1,onZero:2},l=D.get("offset")||0,a=o==="x"?[u[2]-l,u[3]+l]:[u[0]-l,u[1]+l];if(t){var c=t.toGlobalCoord(t.dataToCoord(0));a[n.onZero]=Math.max(Math.min(c,a[1]),a[0])}f.position=[o==="y"?a[n[s]]:u[0],o==="x"?a[n[s]]:u[3]],f.rotation=Math.PI/2*(o==="x"?0:1);var d={top:-1,bottom:1,left:-1,right:1};f.labelDirection=f.tickDirection=f.nameDirection=d[i],f.labelOffset=t?a[n[i]]-a[n.onZero]:0,D.get("axisTick.inside")&&(f.tickDirection=-f.tickDirection),B.retrieve(I.labelInside,D.get("axisLabel.inside"))&&(f.labelDirection=-f.labelDirection);var h=D.get("axisLabel.rotate");return f.labelRotate=s==="top"?-h:h,f.z2=1,f}V.layout=T},"Ae+d":function(oe,V){function e(T,w,D){var I=T.target,E=I.position;E[0]+=w,E[1]+=D,I.dirty()}function B(T,w,D,I){var E=T.target,C=T.zoomLimit,f=E.position,t=E.scale,i=T.zoom=T.zoom||1;if(i*=w,C){var s=C.min||0,o=C.max||Infinity;i=Math.max(Math.min(o,i),s)}var r=i/T.zoom;T.zoom=i,f[0]-=(D-f[0])*(r-1),f[1]-=(I-f[1])*(r-1),t[0]*=r,t[1]*=r,E.dirty()}V.updateViewOnPan=e,V.updateViewOnZoom=B},Ae16:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS");e("Wqna"),e("rySg"),B.extendComponentView({type:"grid",render:function(D,I){this.group.removeAll(),D.get("show")&&this.group.add(new w.Rect({shape:D.coordinateSystem.getRect(),style:T.defaults({fill:D.get("backgroundColor")},D.getItemStyle()),silent:!0,z2:-1}))}}),B.registerPreprocessor(function(D){D.xAxis&&D.yAxis&&!D.grid&&(D.grid={})})},Awhp:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("PQMj"),D=e.n(w)},"B+YJ":function(oe,V,e){e("TYVI"),e("p1MT")},"B6l+":function(oe,V,e){var B=e("Sq3C"),T=e("Z1HP"),w=e("Sxd8"),D=e("dt0z");function I(E,C,f){E=D(E),C=w(C);var t=C?T(E):0;return C&&t<C?E+B(C-t,f):E}oe.exports=I},B9cy:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("0XgM"),D=e.n(w)},B9fm:function(oe,V,e){var B=e("bYtY"),T=e("Qe9p"),w=e("YH21"),D=e("Ze12"),I=e("ItGF"),E=e("7aKB"),C=B.each,f=E.toCamelCase,t=["","-webkit-","-moz-","-o-"],i="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(a){var c="cubic-bezier(0.23, 1, 0.32, 1)",d="left "+a+"s "+c+",top "+a+"s "+c;return B.map(t,function(h){return h+"transition:"+d}).join(";")}function o(a){var c=[],d=a.get("fontSize"),h=a.getTextColor();h&&c.push("color:"+h),c.push("font:"+a.getFont());var y=a.get("lineHeight");y==null&&(y=Math.round(d*3/2)),d&&c.push("line-height:"+y+"px");var A=a.get("textShadowColor"),v=a.get("textShadowBlur")||0,g=a.get("textShadowOffsetX")||0,x=a.get("textShadowOffsetY")||0;return v&&c.push("text-shadow:"+g+"px "+x+"px "+v+"px "+A),C(["decoration","align"],function(m){var b=a.get(m);b&&c.push("text-"+m+":"+b)}),c.join(";")}function r(a){var c=[],d=a.get("transitionDuration"),h=a.get("backgroundColor"),y=a.getModel("textStyle"),A=a.get("padding");return d&&c.push(s(d)),h&&(I.canvasSupported?c.push("background-Color:"+h):(c.push("background-Color:#"+T.toHex(h)),c.push("filter:alpha(opacity=70)"))),C(["width","color","radius"],function(v){var g="border-"+v,x=f(g),m=a.get(x);m!=null&&c.push(g+":"+m+(v==="color"?"":"px"))}),c.push(o(y)),A!=null&&c.push("padding:"+E.normalizeCssArray(A).join("px ")+"px"),c.join(";")+";"}function u(a,c,d,h,y){var A=c&&c.painter;if(d){var v=A&&A.getViewportRoot();v&&D.transformLocalCoord(a,v,document.body,h,y)}else{a[0]=h,a[1]=y;var g=A&&A.getViewportRootOffset();g&&(a[0]+=g.offsetLeft,a[1]+=g.offsetTop)}a[2]=a[0]/c.getWidth(),a[3]=a[1]/c.getHeight()}function n(a,c,d){if(I.wxa)return null;var h=document.createElement("div");h.domBelongToZr=!0,this.el=h;var y=this._zr=c.getZr(),A=this._appendToBody=d&&d.appendToBody;this._styleCoord=[0,0,0,0],u(this._styleCoord,y,A,c.getWidth()/2,c.getHeight()/2),A?document.body.appendChild(h):a.appendChild(h),this._container=a,this._show=!1,this._hideTimeout;var v=this;h.onmouseenter=function(){v._enterable&&(clearTimeout(v._hideTimeout),v._show=!0),v._inContent=!0},h.onmousemove=function(g){if(g=g||window.event,!v._enterable){var x=y.handler,m=y.painter.getViewportRoot();w.normalizeEvent(m,g,!0),x.dispatch("mousemove",g)}},h.onmouseleave=function(){v._enterable&&v._show&&v.hideLater(v._hideDelay),v._inContent=!1}}n.prototype={constructor:n,_enterable:!0,update:function(a){var c=this._container,d=c.currentStyle||document.defaultView.getComputedStyle(c),h=c.style;h.position!=="absolute"&&d.position!=="absolute"&&(h.position="relative");var y=a.get("alwaysShowContent");y&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var a=this._styleCoord[2],c=this._styleCoord[3],d=a*this._zr.getWidth(),h=c*this._zr.getHeight();this.moveTo(d,h)},show:function(a){clearTimeout(this._hideTimeout);var c=this.el,d=this._styleCoord;c.style.cssText=i+r(a)+";left:"+d[0]+"px;top:"+d[1]+"px;"+(a.get("extraCssText")||""),c.style.display=c.innerHTML?"block":"none",c.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(a){this.el.innerHTML=a==null?"":a},setEnterable:function(a){this._enterable=a},getSize:function(){var a=this.el;return[a.clientWidth,a.clientHeight]},moveTo:function(a,c){var d=this._styleCoord;u(d,this._zr,this._appendToBody,a,c);var h=this.el.style;h.left=d[0]+"px",h.top=d[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(a){this._show&&!(this._inContent&&this._enterable)&&(a?(this._hideDelay=a,this._show=!1,this._hideTimeout=setTimeout(B.bind(this.hide,this),a)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var a=this.el.clientWidth,c=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var d=document.defaultView.getComputedStyle(this.el);d&&(a+=parseInt(d.borderLeftWidth,10)+parseInt(d.borderRightWidth,10),c+=parseInt(d.borderTopWidth,10)+parseInt(d.borderBottomWidth,10))}return{width:a,height:c}}};var l=n;oe.exports=l},BEtg:function(oe,V){/*!
|
|
|
* Determine if an object is a Buffer
|
|
|
*
|
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
|
* @license MIT
|
|
|
*/oe.exports=function(T){return T!=null&&(e(T)||B(T)||!!T._isBuffer)};function e(T){return!!T.constructor&&typeof T.constructor.isBuffer=="function"&&T.constructor.isBuffer(T)}function B(T){return typeof T.readFloatLE=="function"&&typeof T.slice=="function"&&e(T.slice(0,0))}},BMrR:function(oe,V,e){"use strict";var B=e("qrJ5");V.a=B.a},BPZU:function(oe,V){var e=32,B=7,T=256;function w(s){for(var o=0;s>=e;)o|=s&1,s>>=1;return s+o}function D(s,o,r,u){var n=o+1;if(n===r)return 1;if(u(s[n++],s[o])<0){for(;n<r&&u(s[n],s[n-1])<0;)n++;I(s,o,n)}else for(;n<r&&u(s[n],s[n-1])>=0;)n++;return n-o}function I(s,o,r){for(r--;o<r;){var u=s[o];s[o++]=s[r],s[r--]=u}}function E(s,o,r,u,n){for(u===o&&u++;u<r;u++){for(var l=s[u],a=o,c=u,d;a<c;)d=a+c>>>1,n(l,s[d])<0?c=d:a=d+1;var h=u-a;switch(h){case 3:s[a+3]=s[a+2];case 2:s[a+2]=s[a+1];case 1:s[a+1]=s[a];break;default:for(;h>0;)s[a+h]=s[a+h-1],h--}s[a]=l}}function C(s,o,r,u,n,l){var a=0,c=0,d=1;if(l(s,o[r+n])>0){for(c=u-n;d<c&&l(s,o[r+n+d])>0;)a=d,d=(d<<1)+1,d<=0&&(d=c);d>c&&(d=c),a+=n,d+=n}else{for(c=n+1;d<c&&l(s,o[r+n-d])<=0;)a=d,d=(d<<1)+1,d<=0&&(d=c);d>c&&(d=c);var h=a;a=n-d,d=n-h}for(a++;a<d;){var y=a+(d-a>>>1);l(s,o[r+y])>0?a=y+1:d=y}return d}function f(s,o,r,u,n,l){var a=0,c=0,d=1;if(l(s,o[r+n])<0){for(c=n+1;d<c&&l(s,o[r+n-d])<0;)a=d,d=(d<<1)+1,d<=0&&(d=c);d>c&&(d=c);var h=a;a=n-d,d=n-h}else{for(c=u-n;d<c&&l(s,o[r+n+d])>=0;)a=d,d=(d<<1)+1,d<=0&&(d=c);d>c&&(d=c),a+=n,d+=n}for(a++;a<d;){var y=a+(d-a>>>1);l(s,o[r+y])<0?d=y:a=y+1}return d}function t(s,o){var r=B,u=0,n=T,l=0,a,c,d=0;u=s.length,u<2*T&&(n=u>>>1);var h=[];l=u<120?5:u<1542?10:u<119151?19:40,a=[],c=[];function y(b,S){a[d]=b,c[d]=S,d+=1}function A(){for(;d>1;){var b=d-2;if(b>=1&&c[b-1]<=c[b]+c[b+1]||b>=2&&c[b-2]<=c[b]+c[b-1])c[b-1]<c[b+1]&&b--;else if(c[b]>c[b+1])break;g(b)}}function v(){for(;d>1;){var b=d-2;b>0&&c[b-1]<c[b+1]&&b--,g(b)}}function g(b){var S=a[b],P=c[b],M=a[b+1],R=c[b+1];c[b]=P+R,b===d-3&&(a[b+1]=a[b+2],c[b+1]=c[b+2]),d--;var F=f(s[M],s,S,P,0,o);S+=F,P-=F,P!==0&&(R=C(s[S+P-1],s,M,R,R-1,o),R!==0&&(P<=R?x(S,P,M,R):m(S,P,M,R)))}function x(b,S,P,M){var R=0;for(R=0;R<S;R++)h[R]=s[b+R];var F=0,L=P,U=b;if(s[U++]=s[L++],--M==0){for(R=0;R<S;R++)s[U+R]=h[F+R];return}if(S===1){for(R=0;R<M;R++)s[U+R]=s[L+R];s[U+M]=h[F];return}for(var N=r,Q,z,_;;){Q=0,z=0,_=!1;do if(o(s[L],h[F])<0){if(s[U++]=s[L++],z++,Q=0,--M==0){_=!0;break}}else if(s[U++]=h[F++],Q++,z=0,--S==1){_=!0;break}while((Q|z)<N);if(_)break;do{if(Q=f(s[L],h,F,S,0,o),Q!==0){for(R=0;R<Q;R++)s[U+R]=h[F+R];if(U+=Q,F+=Q,S-=Q,S<=1){_=!0;break}}if(s[U++]=s[L++],--M==0){_=!0;break}if(z=C(h[F],s,L,M,0,o),z!==0){for(R=0;R<z;R++)s[U+R]=s[L+R];if(U+=z,L+=z,M-=z,M===0){_=!0;break}}if(s[U++]=h[F++],--S==1){_=!0;break}N--}while(Q>=B||z>=B);if(_)break;N<0&&(N=0),N+=2}if(r=N,r<1&&(r=1),S===1){for(R=0;R<M;R++)s[U+R]=s[L+R];s[U+M]=h[F]}else{if(S===0)throw new Error;for(R=0;R<S;R++)s[U+R]=h[F+R]}}function m(b,S,P,M){var R=0;for(R=0;R<M;R++)h[R]=s[P+R];var F=b+S-1,L=M-1,U=P+M-1,N=0,Q=0;if(s[U--]=s[F--],--S==0){for(N=U-(M-1),R=0;R<M;R++)s[N+R]=h[R];return}if(M===1){for(U-=S,F-=S,Q=U+1,N=F+1,R=S-1;R>=0;R--)s[Q+R]=s[N+R];s[U]=h[L];return}for(var z=r;;){var _=0,J=0,Y=!1;do if(o(h[L],s[F])<0){if(s[U--]=s[F--],_++,J=0,--S==0){Y=!0;break}}else if(s[U--]=h[L--],J++,_=0,--M==1){Y=!0;break}while((_|J)<z);if(Y)break;do{if(_=S-f(h[L],s,b,S,S-1,o),_!==0){for(U-=_,F-=_,S-=_,Q=U+1,N=F+1,R=_-1;R>=0;R--)s[Q+R]=s[N+R];if(S===0){Y=!0;break}}if(s[U--]=h[L--],--M==1){Y=!0;break}if(J=M-C(s[F],h,0,M,M-1,o),J!==0){for(U-=J,L-=J,M-=J,Q=U+1,N=L+1,R=0;R<J;R++)s[Q+R]=h[N+R];if(M<=1){Y=!0;break}}if(s[U--]=s[F--],--S==0){Y=!0;break}z--}while(_>=B||J>=B);if(Y)break;z<0&&(z=0),z+=2}if(r=z,r<1&&(r=1),M===1){for(U-=S,F-=S,Q=U+1,N=F+1,R=S-1;R>=0;R--)s[Q+R]=s[N+R];s[U]=h[L]}else{if(M===0)throw new Error;for(N=U-(M-1),R=0;R<M;R++)s[N+R]=h[R]}}this.mergeRuns=A,this.forceMergeRuns=v,this.pushRun=y}function i(s,o,r,u){r||(r=0),u||(u=s.length);var n=u-r;if(!(n<2)){var l=0;if(n<e){l=D(s,r,u,o),E(s,r,u,r+l,o);return}var a=new t(s,o),c=w(n);do{if(l=D(s,r,u,o),l<c){var d=n;d>c&&(d=c),E(s,r,r+d,r+l,o),l=d}a.pushRun(r,l),a.mergeRuns(),n-=l,r+=l}while(n!==0);a.forceMergeRuns()}}oe.exports=i},Bd2K:function(oe,V,e){(function(B){B(e("VrN/"),e("osHv"))})(function(B){B.defineOption("autoCloseTags",!1,function(t,i,s){if(s!=B.Init&&s&&t.removeKeyMap("autoCloseTags"),!!i){var o={name:"autoCloseTags"};(typeof i!="object"||i.whenClosing!==!1)&&(o["'/'"]=function(r){return E(r)}),(typeof i!="object"||i.whenOpening!==!1)&&(o["'>'"]=function(r){return D(r)}),t.addKeyMap(o)}});var T=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],w=["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 D(t){if(t.getOption("disableInput"))return B.Pass;for(var i=t.listSelections(),s=[],o=t.getOption("autoCloseTags"),r=0;r<i.length;r++){if(!i[r].empty())return B.Pass;var u=i[r].head,n=t.getTokenAt(u),l=B.innerMode(t.getMode(),n.state),a=l.state,c=l.mode.xmlCurrentTag&&l.mode.xmlCurrentTag(a),d=c&&c.name;if(!d)return B.Pass;var h=l.mode.configuration=="html",y=typeof o=="object"&&o.dontCloseTags||h&&T,A=typeof o=="object"&&o.indentTags||h&&w;n.end>u.ch&&(d=d.slice(0,d.length-n.end+u.ch));var v=d.toLowerCase();if(!d||n.type=="string"&&(n.end!=u.ch||!/[\"\']/.test(n.string.charAt(n.string.length-1))||n.string.length==1)||n.type=="tag"&&c.close||n.string.indexOf("/")==u.ch-n.start-1||y&&C(y,v)>-1||f(t,l.mode.xmlCurrentContext&&l.mode.xmlCurrentContext(a)||[],d,u,!0))return B.Pass;var g=typeof o=="object"&&o.emptyTags;if(g&&C(g,d)>-1){s[r]={text:"/>",newPos:B.Pos(u.line,u.ch+2)};continue}var x=A&&C(A,v)>-1;s[r]={indent:x,text:">"+(x?`
|
|
|
|
|
|
`:"")+"</"+d+">",newPos:x?B.Pos(u.line+1,0):B.Pos(u.line,u.ch+1)}}for(var m=typeof o=="object"&&o.dontIndentOnAutoClose,r=i.length-1;r>=0;r--){var b=s[r];t.replaceRange(b.text,i[r].head,i[r].anchor,"+insert");var S=t.listSelections().slice(0);S[r]={head:b.newPos,anchor:b.newPos},t.setSelections(S),!m&&b.indent&&(t.indentLine(b.newPos.line,null,!0),t.indentLine(b.newPos.line+1,null,!0))}}function I(t,i){for(var s=t.listSelections(),o=[],r=i?"/":"</",u=t.getOption("autoCloseTags"),n=typeof u=="object"&&u.dontIndentOnSlash,l=0;l<s.length;l++){if(!s[l].empty())return B.Pass;var a=s[l].head,c=t.getTokenAt(a),d=B.innerMode(t.getMode(),c.state),h=d.state;if(i&&(c.type=="string"||c.string.charAt(0)!="<"||c.start!=a.ch-1))return B.Pass;var y,A=d.mode.name!="xml"&&t.getMode().name=="htmlmixed";if(A&&d.mode.name=="javascript")y=r+"script";else if(A&&d.mode.name=="css")y=r+"style";else{var v=d.mode.xmlCurrentContext&&d.mode.xmlCurrentContext(h),g=v.length?v[v.length-1]:"";if(!v||v.length&&f(t,v,g,a))return B.Pass;y=r+g}t.getLine(a.line).charAt(c.end)!=">"&&(y+=">"),o[l]=y}if(t.replaceSelections(o),s=t.listSelections(),!n)for(var l=0;l<s.length;l++)(l==s.length-1||s[l].head.line<s[l+1].head.line)&&t.indentLine(s[l].head.line)}function E(t){return t.getOption("disableInput")?B.Pass:I(t,!0)}B.commands.closeTag=function(t){return I(t)};function C(t,i){if(t.indexOf)return t.indexOf(i);for(var s=0,o=t.length;s<o;++s)if(t[s]==i)return s;return-1}function f(t,i,s,o,r){if(!B.scanForClosingTag)return!1;var u=Math.min(t.lastLine()+1,o.line+500),n=B.scanForClosingTag(t,o,null,u);if(!n||n.tag!=s)return!1;for(var l=r?1:0,a=i.length-1;a>=0&&i[a]==s;a--)++l;o=n.to;for(var a=1;a<l;a++){var c=B.scanForClosingTag(t,o,null,u);if(!c||c.tag!=s)return!1;o=c.to}return!0}})},BlVb:function(oe,V,e){var B=e("hyiK"),T=1e-8;function w(I,E){return Math.abs(I-E)<T}function D(I,E,C){var f=0,t=I[0];if(!t)return!1;for(var i=1;i<I.length;i++){var s=I[i];f+=B(t[0],t[1],s[0],s[1],E,C),t=s}var o=I[0];return(!w(t[0],o[0])||!w(t[1],o[1]))&&(f+=B(t[0],t[1],o[0],o[1],E,C)),f!==0}V.contain=D},BoS7:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("czTT"),D=e.n(w)},Bq2U:function(oe,V,e){var B=e("RDYZ"),T=e("Qe9p"),w=e("bYtY"),D=w.isArrayLike,I=Array.prototype.slice;function E(y,A){return y[A]}function C(y,A,v){y[A]=v}function f(y,A,v){return(A-y)*v+y}function t(y,A,v){return v>.5?A:y}function i(y,A,v,g,x){var m=y.length;if(x===1)for(var b=0;b<m;b++)g[b]=f(y[b],A[b],v);else for(var S=m&&y[0].length,b=0;b<m;b++)for(var P=0;P<S;P++)g[b][P]=f(y[b][P],A[b][P],v)}function s(y,A,v){var g=y.length,x=A.length;if(g!==x){var m=g>x;if(m)y.length=x;else for(var b=g;b<x;b++)y.push(v===1?A[b]:I.call(A[b]))}for(var S=y[0]&&y[0].length,b=0;b<y.length;b++)if(v===1)isNaN(y[b])&&(y[b]=A[b]);else for(var P=0;P<S;P++)isNaN(y[b][P])&&(y[b][P]=A[b][P])}function o(y,A,v){if(y===A)return!0;var g=y.length;if(g!==A.length)return!1;if(v===1){for(var x=0;x<g;x++)if(y[x]!==A[x])return!1}else for(var m=y[0].length,x=0;x<g;x++)for(var b=0;b<m;b++)if(y[x][b]!==A[x][b])return!1;return!0}function r(y,A,v,g,x,m,b,S,P){var M=y.length;if(P===1)for(var R=0;R<M;R++)S[R]=u(y[R],A[R],v[R],g[R],x,m,b);else for(var F=y[0].length,R=0;R<M;R++)for(var L=0;L<F;L++)S[R][L]=u(y[R][L],A[R][L],v[R][L],g[R][L],x,m,b)}function u(y,A,v,g,x,m,b){var S=(v-y)*.5,P=(g-A)*.5;return(2*(A-v)+S+P)*b+(-3*(A-v)-2*S-P)*m+S*x+A}function n(y){if(D(y)){var A=y.length;if(D(y[0])){for(var v=[],g=0;g<A;g++)v.push(I.call(y[g]));return v}return I.call(y)}return y}function l(y){return y[0]=Math.floor(y[0]),y[1]=Math.floor(y[1]),y[2]=Math.floor(y[2]),"rgba("+y.join(",")+")"}function a(y){var A=y[y.length-1].value;return D(A&&A[0])?2:1}function c(y,A,v,g,x,m){var b=y._getter,S=y._setter,P=A==="spline",M=g.length;if(!!M){var R=g[0].value,F=D(R),L=!1,U=!1,N=F?a(g):0,Q;g.sort(function(Ge,dt){return Ge.time-dt.time}),Q=g[M-1].time;for(var z=[],_=[],J=g[0].value,Y=!0,k=0;k<M;k++){z.push(g[k].time/Q);var W=g[k].value;if(F&&o(W,J,N)||!F&&W===J||(Y=!1),J=W,typeof W=="string"){var ie=T.parse(W);ie?(W=ie,L=!0):U=!0}_.push(W)}if(!(!m&&Y)){for(var fe=_[M-1],k=0;k<M-1;k++)F?s(_[k],fe,N):isNaN(_[k])&&!isNaN(fe)&&!U&&!L&&(_[k]=fe);F&&s(b(y._target,x),fe,N);var Ce=0,ge=0,de,Pe,_e,Ne,He,ue;if(L)var Re=[0,0,0,0];var nt=function(dt,et){var At;if(et<0)At=0;else if(et<ge){for(de=Math.min(Ce+1,M-1),At=de;At>=0&&!(z[At]<=et);At--);At=Math.min(At,M-2)}else{for(At=Ce;At<M&&!(z[At]>et);At++);At=Math.min(At-1,M-2)}Ce=At,ge=et;var Dt=z[At+1]-z[At];if(Dt!==0)if(Pe=(et-z[At])/Dt,P)if(Ne=_[At],_e=_[At===0?At:At-1],He=_[At>M-2?M-1:At+1],ue=_[At>M-3?M-1:At+2],F)r(_e,Ne,He,ue,Pe,Pe*Pe,Pe*Pe*Pe,b(dt,x),N);else{var Ft;if(L)Ft=r(_e,Ne,He,ue,Pe,Pe*Pe,Pe*Pe*Pe,Re,1),Ft=l(Re);else{if(U)return t(Ne,He,Pe);Ft=u(_e,Ne,He,ue,Pe,Pe*Pe,Pe*Pe*Pe)}S(dt,x,Ft)}else if(F)i(_[At],_[At+1],Pe,b(dt,x),N);else{var Ft;if(L)i(_[At],_[At+1],Pe,Re,1),Ft=l(Re);else{if(U)return t(_[At],_[At+1],Pe);Ft=f(_[At],_[At+1],Pe)}S(dt,x,Ft)}},Ve=new B({target:y._target,life:Q,loop:y._loop,delay:y._delay,onframe:nt,ondestroy:v});return A&&A!=="spline"&&(Ve.easing=A),Ve}}}var d=function(A,v,g,x){this._tracks={},this._target=A,this._loop=v||!1,this._getter=g||E,this._setter=x||C,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};d.prototype={when:function(A,v){var g=this._tracks;for(var x in v)if(!!v.hasOwnProperty(x)){if(!g[x]){g[x]=[];var m=this._getter(this._target,x);if(m==null)continue;A!==0&&g[x].push({time:0,value:n(m)})}g[x].push({time:A,value:v[x]})}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,v=A.length,g=0;g<v;g++)A[g].call(this)},start:function(A,v){var g=this,x=0,m=function(){x--,x||g._doneCallback()},b;for(var S in this._tracks)if(!!this._tracks.hasOwnProperty(S)){var P=c(this,A,m,this._tracks[S],S,v);P&&(this._clipList.push(P),x++,this.animation&&this.animation.addClip(P),b=P)}if(b){var M=b.onframe;b.onframe=function(R,F){M(R,F);for(var L=0;L<g._onframeList.length;L++)g._onframeList[L](R,F)}}return x||this._doneCallback(),this},stop:function(A){for(var v=this._clipList,g=this.animation,x=0;x<v.length;x++){var m=v[x];A&&m.onframe(this._target,1),g&&g.removeClip(m)}v.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 h=d;oe.exports=h},Bsck:function(oe,V,e){var B=e("bYtY"),T=e("Mdki"),w=e("YXkt"),D=e("sdST"),I=function(t,i){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=i};I.prototype={constructor:I,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,i,s){typeof t=="function"&&(s=i,i=t,t=null),t=t||{},B.isString(t)&&(t={order:t});var o=t.order||"preorder",r=this[t.attr||"children"],u;o==="preorder"&&(u=i.call(s,this));for(var n=0;!u&&n<r.length;n++)r[n].eachNode(t,i,s);o==="postorder"&&i.call(s,this)},updateDepthAndHeight:function(t){var i=0;this.depth=t;for(var s=0;s<this.children.length;s++){var o=this.children[s];o.updateDepthAndHeight(t+1),o.height>i&&(i=o.height)}this.height=i+1},getNodeById:function(t){if(this.getId()===t)return this;for(var i=0,s=this.children,o=s.length;i<o;i++){var r=s[i].getNodeById(t);if(r)return r}},contains:function(t){if(t===this)return!0;for(var i=0,s=this.children,o=s.length;i<o;i++){var r=s[i].contains(t);if(r)return r}},getAncestors:function(t){for(var i=[],s=t?this:this.parentNode;s;)i.push(s),s=s.parentNode;return i.reverse(),i},getValue:function(t){var i=this.hostTree.data;return i.get(i.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,i){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,i)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var i=this.hostTree,s=i.data.getItemModel(this.dataIndex);return s.getModel(t)}},setVisual:function(t,i){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,i)},getVisual:function(t,i){return this.hostTree.data.getItemVisual(this.dataIndex,t,i)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var i=t.parentNode;i;){if(i===this)return!0;i=i.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}};function E(t){this.root,this.data,this._nodes=[],this.hostModel=t}E.prototype={constructor:E,type:"tree",eachNode:function(t,i,s){this.root.eachNode(t,i,s)},getNodeByDataIndex:function(t){var i=this.data.getRawIndex(t);return this._nodes[i]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,i=this._nodes,s=0,o=i.length;s<o;s++)i[s].dataIndex=-1;for(var s=0,o=t.count();s<o;s++)i[t.getRawIndex(s)].dataIndex=s},clearLayouts:function(){this.data.clearItemLayouts()}},E.createTree=function(t,i,s){var o=new E(i),r=[],u=1;n(t);function n(c,d){var h=c.value;u=Math.max(u,B.isArray(h)?h.length:1),r.push(c);var y=new I(c.name,o);d?C(y,d):o.root=y,o._nodes.push(y);var A=c.children;if(A)for(var v=0;v<A.length;v++)n(A[v],y)}o.root.updateDepthAndHeight(0);var l=D(r,{coordDimensions:["value"],dimensionsCount:u}),a=new w(l,i);return a.initData(r),s&&s(a),T({mainData:a,struct:o,structAttr:"tree"}),o.update(),o};function C(t,i){var s=i.children;t.parentNode!==i&&(s.push(t),t.parentNode=i)}var f=E;oe.exports=f},BtR2:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="LikeOutlined";var C=V.a=T.forwardRef(E)},BuqR:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("6uqw"),I=e("XxSj"),E=e("YOMW"),C=e("OELB"),f=C.reformIntervals,t=D.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(r,u){t.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();i[this._mode].call(this),this._resetSelected(r,u);var l=this.option.categories;this.resetVisual(function(a,c){n==="categories"?(a.mappingMethod="category",a.categories=w.clone(l)):(a.dataExtent=this.getExtent(),a.mappingMethod="piecewise",a.pieceList=w.map(this._pieceList,function(d){var d=w.clone(d);return c!=="inRange"&&(d.visual=null),d}))})},completeVisualOption:function(){var r=this.option,u={},n=I.listVisualTypes(),l=this.isCategory();w.each(r.pieces,function(c){w.each(n,function(d){c.hasOwnProperty(d)&&(u[d]=1)})}),w.each(u,function(c,d){var h=0;w.each(this.stateList,function(y){h|=a(r,y,d)||a(r.target,y,d)},this),!h&&w.each(this.stateList,function(y){(r[y]||(r[y]={}))[d]=E.get(d,y==="inRange"?"active":"inactive",l)})},this);function a(c,d,h){return c&&c[d]&&(w.isObject(c[d])?c[d].hasOwnProperty(h):c[d]===h)}D.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(r,u){var n=this.option,l=this._pieceList,a=(u?n:r).selected||{};if(n.selected=a,w.each(l,function(d,h){var y=this.getSelectedMapKey(d);a.hasOwnProperty(y)||(a[y]=!0)},this),n.selectedMode==="single"){var c=!1;w.each(l,function(d,h){var y=this.getSelectedMapKey(d);a[y]&&(c?a[y]=!1:c=!0)},this)}},getSelectedMapKey:function(r){return this._mode==="categories"?r.value+"":r.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(r){this.option.selected=w.clone(r)},getValueState:function(r){var u=I.findPieceIndex(r,this._pieceList);return u!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[u])]?"inRange":"outOfRange"},findTargetDataIndices:function(r){var u=[];return this.eachTargetSeries(function(n){var l=[],a=n.getData();a.each(this.getDataDimension(a),function(c,d){var h=I.findPieceIndex(c,this._pieceList);h===r&&l.push(d)},this),u.push({seriesId:n.id,dataIndex:l})},this),u},getRepresentValue:function(r){var u;if(this.isCategory())u=r.value;else if(r.value!=null)u=r.value;else{var n=r.interval||[];u=n[0]===-Infinity&&n[1]===Infinity?0:(n[0]+n[1])/2}return u},getVisualMeta:function(r){if(this.isCategory())return;var u=[],n=[],l=this;function a(y,A){var v=l.getRepresentValue({interval:y});A||(A=l.getValueState(v));var g=r(v,A);y[0]===-Infinity?n[0]=g:y[1]===Infinity?n[1]=g:u.push({value:y[0],color:g},{value:y[1],color:g})}var c=this._pieceList.slice();if(!c.length)c.push({interval:[-Infinity,Infinity]});else{var d=c[0].interval[0];d!==-Infinity&&c.unshift({interval:[-Infinity,d]}),d=c[c.length-1].interval[1],d!==Infinity&&c.push({interval:[d,Infinity]})}var h=-Infinity;return w.each(c,function(y){var A=y.interval;A&&(A[0]>h&&a([h,A[0]],"outOfRange"),a(A.slice()),h=A[1])},this),{stops:u,outerColors:n}}}),i={splitNumber:function(){var r=this.option,u=this._pieceList,n=Math.min(r.precision,20),l=this.getExtent(),a=r.splitNumber;a=Math.max(parseInt(a,10),1),r.splitNumber=a;for(var c=(l[1]-l[0])/a;+c.toFixed(n)!==c&&n<5;)n++;r.precision=n,c=+c.toFixed(n),r.minOpen&&u.push({interval:[-Infinity,l[0]],close:[0,0]});for(var d=0,h=l[0];d<a;h+=c,d++){var y=d===a-1?l[1]:h+c;u.push({interval:[h,y],close:[1,1]})}r.maxOpen&&u.push({interval:[l[1],Infinity],close:[0,0]}),f(u),w.each(u,function(A,v){A.index=v,A.text=this.formatValueText(A.interval)},this)},categories:function(){var r=this.option;w.each(r.categories,function(u){this._pieceList.push({text:this.formatValueText(u,!0),value:u})},this),s(r,this._pieceList)},pieces:function(){var r=this.option,u=this._pieceList;w.each(r.pieces,function(n,l){w.isObject(n)||(n={value:n});var a={text:"",index:l};if(n.label!=null&&(a.text=n.label),n.hasOwnProperty("value")){var c=a.value=n.value;a.interval=[c,c],a.close=[1,1]}else{for(var d=a.interval=[],h=a.close=[0,0],y=[1,0,1],A=[-Infinity,Infinity],v=[],g=0;g<2;g++){for(var x=[["gte","gt","min"],["lte","lt","max"]][g],m=0;m<3&&d[g]==null;m++)d[g]=n[x[m]],h[g]=y[m],v[g]=m===2;d[g]==null&&(d[g]=A[g])}v[0]&&d[1]===Infinity&&(h[0]=0),v[1]&&d[0]===-Infinity&&(h[1]=0),d[0]===d[1]&&h[0]&&h[1]&&(a.value=d[0])}a.visual=I.retrieveVisuals(n),u.push(a)},this),s(r,u),f(u),w.each(u,function(n){var l=n.close,a=[["<","\u2264"][l[1]],[">","\u2265"][l[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,a)},this)}};function s(r,u){var n=r.inverse;(r.orient==="vertical"?!n:n)&&u.reverse()}var o=t;oe.exports=o},C0SR:function(oe,V,e){var B=e("YH21"),T=function(){this._track=[]};T.prototype={constructor:T,recognize:function(f,t,i){return this._doTrack(f,t,i),this._recognize(f)},clear:function(){return this._track.length=0,this},_doTrack:function(f,t,i){var s=f.touches;if(!!s){for(var o={points:[],touches:[],target:t,event:f},r=0,u=s.length;r<u;r++){var n=s[r],l=B.clientToLocal(i,n,{});o.points.push([l.zrX,l.zrY]),o.touches.push(n)}this._track.push(o)}},_recognize:function(f){for(var t in I)if(I.hasOwnProperty(t)){var i=I[t](this._track,f);if(i)return i}}};function w(C){var f=C[1][0]-C[0][0],t=C[1][1]-C[0][1];return Math.sqrt(f*f+t*t)}function D(C){return[(C[0][0]+C[1][0])/2,(C[0][1]+C[1][1])/2]}var I={pinch:function(f,t){var i=f.length;if(!!i){var s=(f[i-1]||{}).points,o=(f[i-2]||{}).points||s;if(o&&o.length>1&&s&&s.length>1){var r=w(s)/w(o);!isFinite(r)&&(r=1),t.pinchScale=r;var u=D(s);return t.pinchX=u[0],t.pinchY=u[1],{type:"pinch",target:f[0].target,event:t}}}}},E=T;oe.exports=E},C0tN:function(oe,V,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(oe,V,e){var B=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var T=e("q3GZ");B.registerVisual(T)},CF2D:function(oe,V,e){var B=e("ProS");e("vZI5"),e("GeKi");var T=e("6r85"),w=e("TJmX"),D=e("CbHG");B.registerPreprocessor(T),B.registerVisual(w),B.registerLayout(D)},CFYs:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("jO45"),D=e("bRQS"),I=e("jN4g"),E=e("4i/N"),C=e("TSYQ"),f=e.n(C),t=e("bT9E"),i=e("q1tI"),s=e("H84U"),o=e("CWQg"),r=e("AJpP"),u=e("Ff2n"),n={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},l=function(){var Ve=Object(i.useRef)([]),Ge=Object(i.useRef)(null);return Object(i.useEffect)(function(){var dt=Date.now(),et=!1;Ve.current.forEach(function(At){if(!!At){et=!0;var Dt=At.style;Dt.transitionDuration=".3s, .3s, .3s, .06s",Ge.current&&dt-Ge.current<100&&(Dt.transitionDuration="0s, 0s")}}),et&&(Ge.current=Date.now())}),Ve.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],c=function(Ve){var Ge=Ve.className,dt=Ve.percent,et=Ve.prefixCls,At=Ve.strokeColor,Dt=Ve.strokeLinecap,Ft=Ve.strokeWidth,St=Ve.style,$e=Ve.trailColor,lt=Ve.trailWidth,Ut=Ve.transition,gt=Object(u.a)(Ve,a);delete gt.gapPosition;var ft=Array.isArray(dt)?dt:[dt],rt=Array.isArray(At)?At:[At],Ie=l(),Ot=Ft/2,Xt=100-Ft/2,Vt="M ".concat(Dt==="round"?Ot:0,",").concat(Ot,`
|
|
|
L `).concat(Dt==="round"?Xt:100,",").concat(Ot),bt="0 0 100 ".concat(Ft),It=0;return i.createElement("svg",Object(T.a)({className:f()("".concat(et,"-line"),Ge),viewBox:bt,preserveAspectRatio:"none",style:St},gt),i.createElement("path",{className:"".concat(et,"-line-trail"),d:Vt,strokeLinecap:Dt,stroke:$e,strokeWidth:lt||Ft,fillOpacity:"0"}),ft.map(function(Kt,Se){var Ye=1;switch(Dt){case"round":Ye=1-Ft/100;break;case"square":Ye=1-Ft/2/100;break;default:Ye=1;break}var q={strokeDasharray:"".concat(Kt*Ye,"px, 100px"),strokeDashoffset:"-".concat(It,"px"),transition:Ut||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ae=rt[Se]||rt[rt.length-1];return It+=Kt,i.createElement("path",{key:Se,className:"".concat(et,"-line-path"),d:Vt,strokeLinecap:Dt,stroke:Ae,strokeWidth:Ft,fillOpacity:"0",ref:function(De){Ie[Se]=De},style:q})}))};c.defaultProps=n,c.displayName="Line";var d=c,h=e("U8pU"),y=e("ODXe"),A=e("MNnm"),v=0,g=Object(A.a)();function x(){var nt;return g?(nt=v,v+=1):nt="TEST_OR_SSR",nt}var m=function(nt){var Ve=i.useState(),Ge=Object(y.a)(Ve,2),dt=Ge[0],et=Ge[1];return i.useEffect(function(){et("rc_progress_".concat(x()))},[]),nt||dt},b=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function S(nt){return+nt.replace("%","")}function P(nt){var Ve=nt!=null?nt:[];return Array.isArray(Ve)?Ve:[Ve]}var M=100,R=function(Ve,Ge,dt,et,At,Dt,Ft,St,$e,lt){var Ut=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,gt=dt/100*360*((360-Dt)/360),ft=Dt===0?0:{bottom:0,top:180,left:90,right:-90}[Ft],rt=(100-et)/100*Ge;return $e==="round"&&et!==100&&(rt+=lt/2,rt>=Ge&&(rt=Ge-.01)),{stroke:typeof St=="string"?St:void 0,strokeDasharray:"".concat(Ge,"px ").concat(Ve),strokeDashoffset:rt+Ut,transform:"rotate(".concat(At+gt+ft,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},F=function(Ve){var Ge=Ve.id,dt=Ve.prefixCls,et=Ve.steps,At=Ve.strokeWidth,Dt=Ve.trailWidth,Ft=Ve.gapDegree,St=Ft===void 0?0:Ft,$e=Ve.gapPosition,lt=Ve.trailColor,Ut=Ve.strokeLinecap,gt=Ve.style,ft=Ve.className,rt=Ve.strokeColor,Ie=Ve.percent,Ot=Object(u.a)(Ve,b),Xt=m(Ge),Vt="".concat(Xt,"-gradient"),bt=M/2-At/2,It=Math.PI*2*bt,Kt=St>0?90+St/2:-90,Se=It*((360-St)/360),Ye=Object(h.a)(et)==="object"?et:{count:et,space:2},q=Ye.count,Ae=Ye.space,Me=R(It,Se,0,100,Kt,St,$e,lt,Ut,At),De=P(Ie),ze=P(rt),pe=ze.find(function(Z){return Z&&Object(h.a)(Z)==="object"}),te=l(),be=function(){var se=0;return De.map(function(he,Oe){var ne=ze[Oe]||ze[ze.length-1],ce=ne&&Object(h.a)(ne)==="object"?"url(#".concat(Vt,")"):void 0,ae=R(It,Se,se,he,Kt,St,$e,ne,Ut,At);return se+=he,i.createElement("circle",{key:Oe,className:"".concat(dt,"-circle-path"),r:bt,cx:0,cy:0,stroke:ce,strokeLinecap:Ut,strokeWidth:At,opacity:he===0?0:1,style:ae,ref:function(ye){te[Oe]=ye}})}).reverse()},xe=function(){var se=Math.round(q*(De[0]/100)),he=100/q,Oe=0;return new Array(q).fill(null).map(function(ne,ce){var ae=ce<=se-1?ze[0]:lt,Ee=ae&&Object(h.a)(ae)==="object"?"url(#".concat(Vt,")"):void 0,ye=R(It,Se,Oe,he,Kt,St,$e,ae,"butt",At,Ae);return Oe+=(Se-ye.strokeDashoffset+Ae)*100/Se,i.createElement("circle",{key:ce,className:"".concat(dt,"-circle-path"),r:bt,cx:0,cy:0,stroke:Ee,strokeWidth:At,opacity:1,style:ye,ref:function(je){te[ce]=je}})})};return i.createElement("svg",Object(T.a)({className:f()("".concat(dt,"-circle"),ft),viewBox:"".concat(-M/2," ").concat(-M/2," ").concat(M," ").concat(M),style:gt,id:Ge,role:"presentation"},Ot),pe&&i.createElement("defs",null,i.createElement("linearGradient",{id:Vt,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(pe).sort(function(Z,se){return S(Z)-S(se)}).map(function(Z,se){return i.createElement("stop",{key:se,offset:Z,stopColor:pe[Z]})}))),!q&&i.createElement("circle",{className:"".concat(dt,"-circle-trail"),r:bt,cx:0,cy:0,stroke:lt,strokeLinecap:Ut,strokeWidth:Dt||At,style:Me}),q?xe():be())};F.defaultProps=n,F.displayName="Circle";var L=F,U={Line:d,Circle:L};function N(nt){return!nt||nt<0?0:nt>100?100:nt}function Q(nt){var Ve=nt.success,Ge=nt.successPercent,dt=Ge;return Ve&&"progress"in Ve&&(dt=Ve.progress),Ve&&"percent"in Ve&&(dt=Ve.percent),dt}function z(nt){var Ve=nt.percent,Ge=nt.success,dt=nt.successPercent,et=N(Q({success:Ge,successPercent:dt}));return[et,N(N(Ve)-et)]}function _(nt){var Ve=nt.success,Ge=Ve===void 0?{}:Ve,dt=nt.strokeColor,et=Ge.strokeColor;return[et||r.presetPrimaryColors.green,dt||null]}var J=function(Ve){var Ge=Ve.prefixCls,dt=Ve.width,et=Ve.strokeWidth,At=Ve.trailColor,Dt=At===void 0?null:At,Ft=Ve.strokeLinecap,St=Ft===void 0?"round":Ft,$e=Ve.gapPosition,lt=Ve.gapDegree,Ut=Ve.type,gt=Ve.children,ft=Ve.success,rt=dt||120,Ie={width:rt,height:rt,fontSize:rt*.15+6},Ot=et||6,Xt=$e||Ut==="dashboard"&&"bottom"||void 0,Vt=function(){if(lt||lt===0)return lt;if(Ut==="dashboard")return 75},bt=Object.prototype.toString.call(Ve.strokeColor)==="[object Object]",It=_({success:ft,strokeColor:Ve.strokeColor}),Kt=f()("".concat(Ge,"-inner"),Object(B.a)({},"".concat(Ge,"-circle-gradient"),bt));return i.createElement("div",{className:Kt,style:Ie},i.createElement(L,{percent:z(Ve),strokeWidth:Ot,trailWidth:Ot,strokeColor:It,strokeLinecap:St,trailColor:Dt,prefixCls:Ge,gapDegree:Vt(),gapPosition:Xt}),gt)},Y=J,k=function(nt,Ve){var Ge={};for(var dt in nt)Object.prototype.hasOwnProperty.call(nt,dt)&&Ve.indexOf(dt)<0&&(Ge[dt]=nt[dt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,dt=Object.getOwnPropertySymbols(nt);et<dt.length;et++)Ve.indexOf(dt[et])<0&&Object.prototype.propertyIsEnumerable.call(nt,dt[et])&&(Ge[dt[et]]=nt[dt[et]]);return Ge},W=function(Ve){var Ge=[];return Object.keys(Ve).forEach(function(dt){var et=parseFloat(dt.replace(/%/g,""));isNaN(et)||Ge.push({key:et,value:Ve[dt]})}),Ge=Ge.sort(function(dt,et){return dt.key-et.key}),Ge.map(function(dt){var et=dt.key,At=dt.value;return"".concat(At," ").concat(et,"%")}).join(", ")},ie=function(Ve,Ge){var dt=Ve.from,et=dt===void 0?r.presetPrimaryColors.blue:dt,At=Ve.to,Dt=At===void 0?r.presetPrimaryColors.blue:At,Ft=Ve.direction,St=Ft===void 0?Ge==="rtl"?"to left":"to right":Ft,$e=k(Ve,["from","to","direction"]);if(Object.keys($e).length!==0){var lt=W($e);return{backgroundImage:"linear-gradient(".concat(St,", ").concat(lt,")")}}return{backgroundImage:"linear-gradient(".concat(St,", ").concat(et,", ").concat(Dt,")")}},fe=function(Ve){var Ge=Ve.prefixCls,dt=Ve.direction,et=Ve.percent,At=Ve.strokeWidth,Dt=Ve.size,Ft=Ve.strokeColor,St=Ve.strokeLinecap,$e=St===void 0?"round":St,lt=Ve.children,Ut=Ve.trailColor,gt=Ut===void 0?null:Ut,ft=Ve.success,rt=Ft&&typeof Ft!="string"?ie(Ft,dt):{background:Ft},Ie=$e==="square"||$e==="butt"?0:void 0,Ot={backgroundColor:gt||void 0,borderRadius:Ie},Xt=Object(T.a)({width:"".concat(N(et),"%"),height:At||(Dt==="small"?6:8),borderRadius:Ie},rt),Vt=Q(Ve),bt={width:"".concat(N(Vt),"%"),height:At||(Dt==="small"?6:8),borderRadius:Ie,backgroundColor:ft==null?void 0:ft.strokeColor},It=Vt!==void 0?i.createElement("div",{className:"".concat(Ge,"-success-bg"),style:bt}):null;return i.createElement(i.Fragment,null,i.createElement("div",{className:"".concat(Ge,"-outer")},i.createElement("div",{className:"".concat(Ge,"-inner"),style:Ot},i.createElement("div",{className:"".concat(Ge,"-bg"),style:Xt}),It)),lt)},Ce=fe,ge=function(Ve){for(var Ge=Ve.size,dt=Ve.steps,et=Ve.percent,At=et===void 0?0:et,Dt=Ve.strokeWidth,Ft=Dt===void 0?8:Dt,St=Ve.strokeColor,$e=Ve.trailColor,lt=$e===void 0?null:$e,Ut=Ve.prefixCls,gt=Ve.children,ft=Math.round(dt*(At/100)),rt=Ge==="small"?2:14,Ie=new Array(dt),Ot=0;Ot<dt;Ot++){var Xt=Array.isArray(St)?St[Ot]:St;Ie[Ot]=i.createElement("div",{key:Ot,className:f()("".concat(Ut,"-steps-item"),Object(B.a)({},"".concat(Ut,"-steps-item-active"),Ot<=ft-1)),style:{backgroundColor:Ot<=ft-1?Xt:lt,width:rt,height:Ft}})}return i.createElement("div",{className:"".concat(Ut,"-steps-outer")},Ie,gt)},de=ge,Pe=function(nt,Ve){var Ge={};for(var dt in nt)Object.prototype.hasOwnProperty.call(nt,dt)&&Ve.indexOf(dt)<0&&(Ge[dt]=nt[dt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,dt=Object.getOwnPropertySymbols(nt);et<dt.length;et++)Ve.indexOf(dt[et])<0&&Object.prototype.propertyIsEnumerable.call(nt,dt[et])&&(Ge[dt[et]]=nt[dt[et]]);return Ge},_e=Object(o.a)("line","circle","dashboard"),Ne=Object(o.a)("normal","exception","active","success"),He=function(Ve){var Ge,dt=Ve.prefixCls,et=Ve.className,At=Ve.steps,Dt=Ve.strokeColor,Ft=Ve.percent,St=Ft===void 0?0:Ft,$e=Ve.size,lt=$e===void 0?"default":$e,Ut=Ve.showInfo,gt=Ut===void 0?!0:Ut,ft=Ve.type,rt=ft===void 0?"line":ft,Ie=Pe(Ve,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]);function Ot(){var pe=Q(Ve);return parseInt(pe!==void 0?pe.toString():St.toString(),10)}function Xt(){var pe=Ve.status;return!Ne.includes(pe)&&Ot()>=100?"success":pe||"normal"}function Vt(pe,te){var be=Ve.format,xe=Q(Ve);if(!gt)return null;var Z,se=be||function(Oe){return"".concat(Oe,"%")},he=rt==="line";return be||te!=="exception"&&te!=="success"?Z=se(N(St),N(xe)):te==="exception"?Z=he?i.createElement(I.a,null):i.createElement(E.a,null):te==="success"&&(Z=he?i.createElement(w.a,null):i.createElement(D.a,null)),i.createElement("span",{className:"".concat(pe,"-text"),title:typeof Z=="string"?Z:void 0},Z)}var bt=i.useContext(s.b),It=bt.getPrefixCls,Kt=bt.direction,Se=It("progress",dt),Ye=Xt(),q=Vt(Se,Ye),Ae=Array.isArray(Dt)?Dt[0]:Dt,Me=typeof Dt=="string"||Array.isArray(Dt)?Dt:void 0,De;rt==="line"?De=At?i.createElement(de,Object(T.a)({},Ve,{strokeColor:Me,prefixCls:Se,steps:At}),q):i.createElement(Ce,Object(T.a)({},Ve,{strokeColor:Ae,prefixCls:Se,direction:Kt}),q):(rt==="circle"||rt==="dashboard")&&(De=i.createElement(Y,Object(T.a)({},Ve,{strokeColor:Ae,prefixCls:Se,progressStatus:Ye}),q));var ze=f()(Se,(Ge={},Object(B.a)(Ge,"".concat(Se,"-").concat(rt==="dashboard"&&"circle"||At&&"steps"||rt),!0),Object(B.a)(Ge,"".concat(Se,"-status-").concat(Ye),!0),Object(B.a)(Ge,"".concat(Se,"-show-info"),gt),Object(B.a)(Ge,"".concat(Se,"-").concat(lt),lt),Object(B.a)(Ge,"".concat(Se,"-rtl"),Kt==="rtl"),Ge),et);return i.createElement("div",Object(T.a)({},Object(t.a)(Ie,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:ze}),De)},ue=He,Re=V.a=ue},"CMP+":function(oe,V,e){var B=e("bYtY"),T=e("hM6l"),w=function(I,E,C,f){T.call(this,I,E,C),this.type=f||"value",this.model=null};w.prototype={constructor:w,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},B.inherits(w,T);var D=w;oe.exports=D},"CWI+":function(oe,V,e){},CbHG:function(oe,V,e){var B=e("IwbS"),T=B.subPixelOptimize,w=e("zM3Q"),D=e("OELB"),I=D.parsePercent,E=e("bYtY"),C=E.retrieve2,f=typeof Float32Array!="undefined"?Float32Array:Array,t={seriesType:"candlestick",plan:w(),reset:function(o){var r=o.coordinateSystem,u=o.getData(),n=s(o,u),l=0,a=1,c=["x","y"],d=u.mapDimension(c[l]),h=u.mapDimension(c[a],!0),y=h[0],A=h[1],v=h[2],g=h[3];if(u.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),d==null||h.length<4)return;return{progress:o.pipelineContext.large?m:x};function x(b,S){for(var P;(P=b.next())!=null;){var M=S.get(d,P),R=S.get(y,P),F=S.get(A,P),L=S.get(v,P),U=S.get(g,P),N=Math.min(R,F),Q=Math.max(R,F),z=W(N,M),_=W(Q,M),J=W(L,M),Y=W(U,M),k=[];ie(k,_,0),ie(k,z,1),k.push(Ce(Y),Ce(_),Ce(J),Ce(z)),S.setItemLayout(P,{sign:i(S,P,R,F,A),initBaseline:R>F?_[a]:z[a],ends:k,brushRect:fe(L,U,M)})}function W(ge,de){var Pe=[];return Pe[l]=de,Pe[a]=ge,isNaN(de)||isNaN(ge)?[NaN,NaN]:r.dataToPoint(Pe)}function ie(ge,de,Pe){var _e=de.slice(),Ne=de.slice();_e[l]=T(_e[l]+n/2,1,!1),Ne[l]=T(Ne[l]-n/2,1,!0),Pe?ge.push(_e,Ne):ge.push(Ne,_e)}function fe(ge,de,Pe){var _e=W(ge,Pe),Ne=W(de,Pe);return _e[l]-=n/2,Ne[l]-=n/2,{x:_e[0],y:_e[1],width:a?n:Ne[0]-_e[0],height:a?Ne[1]-_e[1]:n}}function Ce(ge){return ge[l]=T(ge[l],1),ge}}function m(b,S){for(var P=new f(b.count*4),M=0,R,F=[],L=[],U;(U=b.next())!=null;){var N=S.get(d,U),Q=S.get(y,U),z=S.get(A,U),_=S.get(v,U),J=S.get(g,U);if(isNaN(N)||isNaN(_)||isNaN(J)){P[M++]=NaN,M+=3;continue}P[M++]=i(S,U,Q,z,A),F[l]=N,F[a]=_,R=r.dataToPoint(F,null,L),P[M++]=R?R[0]:NaN,P[M++]=R?R[1]:NaN,F[a]=J,R=r.dataToPoint(F,null,L),P[M++]=R?R[1]:NaN}S.setLayout("largePoints",P)}}};function i(o,r,u,n,l){var a;return u>n?a=-1:u<n?a=1:a=r>0?o.get(l,r-1)<=n?1:-1:1,a}function s(o,r){var u=o.getBaseAxis(),n,l=u.type==="category"?u.getBandWidth():(n=u.getExtent(),Math.abs(n[1]-n[0])/r.count()),a=I(C(o.get("barMaxWidth"),l),l),c=I(C(o.get("barMinWidth"),1),l),d=o.get("barWidth");return d!=null?I(d,l):Math.max(Math.min(l/2,a),c)}oe.exports=t},CiB2:function(oe,V,e){"use strict";e.d(V,"a",function(){return B});function B(T){if(T==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(oe,V,e){e("5NHt"),e("f3JH")},CrYA:function(oe,V,e){var B=e("MFOe"),T=B.Global;oe.exports={name:"sessionStorage",read:D,write:I,each:E,remove:C,clearAll:f};function w(){return T.sessionStorage}function D(t){return w().getItem(t)}function I(t,i){return w().setItem(t,i)}function E(t){for(var i=w().length-1;i>=0;i--){var s=w().key(i);t(D(s),s)}}function C(t){return w().removeItem(t)}function f(){return w().clear()}},D1WM:function(oe,V,e){var B=e("bYtY"),T=e("hM6l"),w=function(I,E,C,f,t){T.call(this,I,E,C),this.type=f||"value",this.axisIndex=t};w.prototype={constructor:w,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},B.inherits(w,T);var D=w;oe.exports=D},D5nY:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("4NO4"),D=w.makeInner,I=w.getDataItemValue,E=e("bYtY"),C=E.createHashMap,f=E.each,t=E.map,i=E.isArray,s=E.isString,o=E.isObject,r=E.isTypedArray,u=E.isArrayLike,n=E.extend,l=E.assert,a=e("7G+c"),c=e("k9D9"),d=c.SOURCE_FORMAT_ORIGINAL,h=c.SOURCE_FORMAT_ARRAY_ROWS,y=c.SOURCE_FORMAT_OBJECT_ROWS,A=c.SOURCE_FORMAT_KEYED_COLUMNS,v=c.SOURCE_FORMAT_UNKNOWN,g=c.SOURCE_FORMAT_TYPED_ARRAY,x=c.SERIES_LAYOUT_BY_ROW,m={Must:1,Might:2,Not:3},b=D();function S(k){var W=k.option.source,ie=v;if(r(W))ie=g;else if(i(W)){W.length===0&&(ie=h);for(var fe=0,Ce=W.length;fe<Ce;fe++){var ge=W[fe];if(ge!=null){if(i(ge)){ie=h;break}else if(o(ge)){ie=y;break}}}}else if(o(W)){for(var de in W)if(W.hasOwnProperty(de)&&u(W[de])){ie=A;break}}else if(W!=null)throw new Error("Invalid data");b(k).sourceFormat=ie}function P(k){return b(k).source}function M(k){b(k).datasetMap=C()}function R(k){var W=k.option,ie=W.data,fe=r(ie)?g:d,Ce=!1,ge=W.seriesLayoutBy,de=W.sourceHeader,Pe=W.dimensions,_e=_(k);if(_e){var Ne=_e.option;ie=Ne.source,fe=b(_e).sourceFormat,Ce=!0,ge=ge||Ne.seriesLayoutBy,de==null&&(de=Ne.sourceHeader),Pe=Pe||Ne.dimensions}var He=F(ie,fe,ge,de,Pe);b(k).source=new a({data:ie,fromDataset:Ce,seriesLayoutBy:ge,sourceFormat:fe,dimensionsDefine:He.dimensionsDefine,startIndex:He.startIndex,dimensionsDetectCount:He.dimensionsDetectCount,encodeDefine:W.encode})}function F(k,W,ie,fe,Ce){if(!k)return{dimensionsDefine:L(Ce)};var ge,de;if(W===h)fe==="auto"||fe==null?U(function(_e){_e!=null&&_e!=="-"&&(s(_e)?de==null&&(de=1):de=0)},ie,k,10):de=fe?1:0,!Ce&&de===1&&(Ce=[],U(function(_e,Ne){Ce[Ne]=_e!=null?_e:""},ie,k)),ge=Ce?Ce.length:ie===x?k.length:k[0]?k[0].length:null;else if(W===y)Ce||(Ce=N(k));else if(W===A)Ce||(Ce=[],f(k,function(_e,Ne){Ce.push(Ne)}));else if(W===d){var Pe=I(k[0]);ge=i(Pe)&&Pe.length||1}return{startIndex:de,dimensionsDefine:L(Ce),dimensionsDetectCount:ge}}function L(k){if(!!k){var W=C();return t(k,function(ie,fe){if(ie=n({},o(ie)?ie:{name:ie}),ie.name==null)return ie;ie.name+="",ie.displayName==null&&(ie.displayName=ie.name);var Ce=W.get(ie.name);return Ce?ie.name+="-"+Ce.count++:W.set(ie.name,{count:1}),ie})}}function U(k,W,ie,fe){if(fe==null&&(fe=Infinity),W===x)for(var Ce=0;Ce<ie.length&&Ce<fe;Ce++)k(ie[Ce]?ie[Ce][0]:null,Ce);else for(var ge=ie[0]||[],Ce=0;Ce<ge.length&&Ce<fe;Ce++)k(ge[Ce],Ce)}function N(k){for(var W=0,ie;W<k.length&&!(ie=k[W++]););if(ie){var fe=[];return f(ie,function(Ce,ge){fe.push(ge)}),fe}}function Q(k,W,ie){var fe={},Ce=_(W);if(!Ce||!k)return fe;var ge=[],de=[],Pe=W.ecModel,_e=b(Pe).datasetMap,Ne=Ce.uid+"_"+ie.seriesLayoutBy,He,ue;k=k.slice(),f(k,function(Ge,dt){!o(Ge)&&(k[dt]={name:Ge}),Ge.type==="ordinal"&&He==null&&(He=dt,ue=Ve(k[dt])),fe[Ge.name]=[]});var Re=_e.get(Ne)||_e.set(Ne,{categoryWayDim:ue,valueWayDim:0});f(k,function(Ge,dt){var et=Ge.name,At=Ve(Ge);if(He==null){var Dt=Re.valueWayDim;nt(fe[et],Dt,At),nt(de,Dt,At),Re.valueWayDim+=At}else if(He===dt)nt(fe[et],0,At),nt(ge,0,At);else{var Dt=Re.categoryWayDim;nt(fe[et],Dt,At),nt(de,Dt,At),Re.categoryWayDim+=At}});function nt(Ge,dt,et){for(var At=0;At<et;At++)Ge.push(dt+At)}function Ve(Ge){var dt=Ge.dimsDef;return dt?dt.length:1}return ge.length&&(fe.itemName=ge),de.length&&(fe.seriesName=de),fe}function z(k,W,ie){var fe={},Ce=_(k);if(!Ce)return fe;var ge=W.sourceFormat,de=W.dimensionsDefine,Pe;(ge===y||ge===A)&&f(de,function(He,ue){(o(He)?He.name:He)==="name"&&(Pe=ue)});var _e=function(){for(var He={},ue={},Re=[],nt=0,Ve=Math.min(5,ie);nt<Ve;nt++){var Ge=Y(W.data,ge,W.seriesLayoutBy,de,W.startIndex,nt);Re.push(Ge);var dt=Ge===m.Not;if(dt&&He.v==null&&nt!==Pe&&(He.v=nt),(He.n==null||He.n===He.v||!dt&&Re[He.n]===m.Not)&&(He.n=nt),et(He)&&Re[He.n]!==m.Not)return He;dt||(Ge===m.Might&&ue.v==null&&nt!==Pe&&(ue.v=nt),(ue.n==null||ue.n===ue.v)&&(ue.n=nt))}function et(At){return At.v!=null&&At.n!=null}return et(He)?He:et(ue)?ue:null}();if(_e){fe.value=_e.v;var Ne=Pe!=null?Pe:_e.n;fe.itemName=[Ne],fe.seriesName=[Ne]}return fe}function _(k){var W=k.option,ie=W.data;if(!ie)return k.ecModel.getComponent("dataset",W.datasetIndex||0)}function J(k,W){return Y(k.data,k.sourceFormat,k.seriesLayoutBy,k.dimensionsDefine,k.startIndex,W)}function Y(k,W,ie,fe,Ce,ge){var de,Pe=5;if(r(k))return m.Not;var _e,Ne;if(fe){var He=fe[ge];o(He)?(_e=He.name,Ne=He.type):s(He)&&(_e=He)}if(Ne!=null)return Ne==="ordinal"?m.Must:m.Not;if(W===h)if(ie===x){for(var ue=k[ge],Re=0;Re<(ue||[]).length&&Re<Pe;Re++)if((de=dt(ue[Ce+Re]))!=null)return de}else for(var Re=0;Re<k.length&&Re<Pe;Re++){var nt=k[Ce+Re];if(nt&&(de=dt(nt[ge]))!=null)return de}else if(W===y){if(!_e)return m.Not;for(var Re=0;Re<k.length&&Re<Pe;Re++){var Ve=k[Re];if(Ve&&(de=dt(Ve[_e]))!=null)return de}}else if(W===A){if(!_e)return m.Not;var ue=k[_e];if(!ue||r(ue))return m.Not;for(var Re=0;Re<ue.length&&Re<Pe;Re++)if((de=dt(ue[Re]))!=null)return de}else if(W===d)for(var Re=0;Re<k.length&&Re<Pe;Re++){var Ve=k[Re],Ge=I(Ve);if(!i(Ge))return m.Not;if((de=dt(Ge[ge]))!=null)return de}function dt(et){var At=s(et);if(et!=null&&isFinite(et)&&et!=="")return At?m.Might:m.Not;if(At&&et!=="-")return m.Must}return m.Not}V.BE_ORDINAL=m,V.detectSourceFormat=S,V.getSource=P,V.resetSourceDefaulter=M,V.prepareSource=R,V.makeSeriesEncodeForAxisCoordSys=Q,V.makeSeriesEncodeForNameBased=z,V.guessOrdinal=J},D7Yy:function(oe,V,e){"use strict";var B=e("ZvpZ");V.a=B.a},D9ME:function(oe,V,e){var B=e("IwbS"),T=e("fls0"),w=e("bYtY"),D=e("oVpE"),I=D.createSymbol,E=e("QBsz"),C=e("Sj9i");function f(s,o,r){B.Group.call(this),this.add(this.createLine(s,o,r)),this._updateEffectSymbol(s,o)}var t=f.prototype;t.createLine=function(s,o,r){return new T(s,o,r)},t._updateEffectSymbol=function(s,o){var r=s.getItemModel(o),u=r.getModel("effect"),n=u.get("symbolSize"),l=u.get("symbol");w.isArray(n)||(n=[n,n]);var a=u.get("color")||s.getItemVisual(o,"color"),c=this.childAt(1);this._symbolType!==l&&(this.remove(c),c=I(l,-.5,-.5,1,1,a),c.z2=100,c.culling=!0,this.add(c)),!!c&&(c.setStyle("shadowColor",a),c.setStyle(u.getItemStyle(["color"])),c.attr("scale",n),c.setColor(a),c.attr("scale",n),this._symbolType=l,this._symbolScale=n,this._updateEffectAnimation(s,u,o))},t._updateEffectAnimation=function(s,o,r){var u=this.childAt(1);if(!!u){var n=this,l=s.getItemLayout(r),a=o.get("period")*1e3,c=o.get("loop"),d=o.get("constantSpeed"),h=w.retrieve(o.get("delay"),function(g){return g/s.count()*a/3}),y=typeof h=="function";if(u.ignore=!0,this.updateAnimationPoints(u,l),d>0&&(a=this.getLineLength(u)/d*1e3),a!==this._period||c!==this._loop){u.stopAnimation();var A=h;y&&(A=h(r)),u.__t>0&&(A=-a*u.__t),u.__t=0;var v=u.animate("",c).when(a,{__t:1}).delay(A).during(function(){n.updateSymbolPosition(u)});c||v.done(function(){n.remove(u)}),v.start()}this._period=a,this._loop=c}},t.getLineLength=function(s){return E.dist(s.__p1,s.__cp1)+E.dist(s.__cp1,s.__p2)},t.updateAnimationPoints=function(s,o){s.__p1=o[0],s.__p2=o[1],s.__cp1=o[2]||[(o[0][0]+o[1][0])/2,(o[0][1]+o[1][1])/2]},t.updateData=function(s,o,r){this.childAt(0).updateData(s,o,r),this._updateEffectSymbol(s,o)},t.updateSymbolPosition=function(s){var o=s.__p1,r=s.__p2,u=s.__cp1,n=s.__t,l=s.position,a=[l[0],l[1]],c=C.quadraticAt,d=C.quadraticDerivativeAt;l[0]=c(o[0],u[0],r[0],n),l[1]=c(o[1],u[1],r[1],n);var h=d(o[0],u[0],r[0],n),y=d(o[1],u[1],r[1],n);if(s.rotation=-Math.atan2(y,h)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var A=E.dist(a,l)*1.05;s.attr("scale",[s.scale[0],A]),n===1&&(l[0]=a[0]+(l[0]-a[0])/2,l[1]=a[1]+(l[1]-a[1])/2)}else if(s.__lastT===1){var A=2*E.dist(o,l);s.attr("scale",[s.scale[0],A])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},t.updateLayout=function(s,o){this.childAt(0).updateLayout(s,o);var r=s.getItemModel(o).getModel("effect");this._updateEffectAnimation(s,r,o)},w.inherits(f,B.Group);var i=f;oe.exports=i},DBLp:function(oe,V){function e(){}e.prototype={diff:function(E,C,f){f||(f=function(y,A){return y===A}),this.equals=f;var t=this;E=E.slice(),C=C.slice();var i=C.length,s=E.length,o=1,r=i+s,u=[{newPos:-1,components:[]}],n=this.extractCommon(u[0],C,E,0);if(u[0].newPos+1>=i&&n+1>=s){for(var l=[],a=0;a<C.length;a++)l.push(a);return[{indices:l,count:C.length}]}function c(){for(var h=-1*o;h<=o;h+=2){var y,A=u[h-1],v=u[h+1],g=(v?v.newPos:0)-h;A&&(u[h-1]=void 0);var x=A&&A.newPos+1<i,m=v&&0<=g&&g<s;if(!x&&!m){u[h]=void 0;continue}if(!x||m&&A.newPos<v.newPos?(y=T(v),t.pushComponent(y.components,void 0,!0)):(y=A,y.newPos++,t.pushComponent(y.components,!0,void 0)),g=t.extractCommon(y,C,E,h),y.newPos+1>=i&&g+1>=s)return B(t,y.components,C,E);u[h]=y}o++}for(;o<=r;){var d=c();if(d)return d}},pushComponent:function(E,C,f){var t=E[E.length-1];t&&t.added===C&&t.removed===f?E[E.length-1]={count:t.count+1,added:C,removed:f}:E.push({count:1,added:C,removed:f})},extractCommon:function(E,C,f,t){for(var i=C.length,s=f.length,o=E.newPos,r=o-t,u=0;o+1<i&&r+1<s&&this.equals(C[o+1],f[r+1]);)o++,r++,u++;return u&&E.components.push({count:u}),E.newPos=o,r},tokenize:function(E){return E.slice()},join:function(E){return E.slice()}};function B(I,E,C,f){for(var t=0,i=E.length,s=0,o=0;t<i;t++){var r=E[t];if(r.removed){for(var u=[],n=o;n<o+r.count;n++)u.push(n);r.indices=u,o+=r.count}else{for(var u=[],n=s;n<s+r.count;n++)u.push(n);r.indices=u,s+=r.count,r.added||(o+=r.count)}}return E}function T(I){return{newPos:I.newPos,components:I.components.slice(0)}}var w=new e;function D(I,E,C){return w.diff(I,E,C)}oe.exports=D},"DDd/":function(oe,V,e){var B=e("bYtY"),T="-->",w=function(r){return r.get("autoCurveness")||null},D=function(r,u){var n=w(r),l=20,a=[];if(typeof n=="number")l=n;else if(B.isArray(n)){r.__curvenessList=n;return}u>l&&(l=u);var c=l%2?l+2:l+3;a=[];for(var d=0;d<c;d++)a.push((d%2?d+1:d)/10*(d%2?-1:1));r.__curvenessList=a},I=function(r,u,n){var l=[r.id,r.dataIndex].join("."),a=[u.id,u.dataIndex].join(".");return[n.uid,l,a].join(T)},E=function(r){var u=r.split(T);return[u[0],u[2],u[1]].join(T)},C=function(r,u){var n=I(r.node1,r.node2,u);return u.__edgeMap[n]},f=function(r,u){var n=t(I(r.node1,r.node2,u),u),l=t(I(r.node2,r.node1,u),u);return n+l},t=function(r,u){var n=u.__edgeMap;return n[r]?n[r].length:0};function i(r){!w(r)||(r.__curvenessList=[],r.__edgeMap={},D(r))}function s(r,u,n,l){if(!!w(n)){var a=I(r,u,n),c=n.__edgeMap,d=c[E(a)];c[a]&&!d?c[a].isForward=!0:d&&c[a]&&(d.isForward=!0,c[a].isForward=!1),c[a]=c[a]||[],c[a].push(l)}}function o(r,u,n,l){var a=w(u),c=B.isArray(a);if(!a)return null;var d=C(r,u);if(!d)return null;for(var h=-1,y=0;y<d.length;y++)if(d[y]===n){h=y;break}var A=f(r,u);D(u,A),r.lineStyle=r.lineStyle||{};var v=I(r.node1,r.node2,u),g=u.__curvenessList,x=c||A%2?0:1;if(d.isForward)return g[x+h];var m=E(v),b=t(m,u),S=g[h+b+x];return l?c?a&&a[0]===0?(b+x)%2?S:-S:((b%2?0:1)+x)%2?S:-S:(b+x)%2?S:-S:g[h+b+x]}V.initCurvenessList=i,V.createEdgeMapForCurveness=s,V.getCurvenessForEdge=o},DEFe:function(oe,V,e){var B=e("bYtY"),T=e("SgGq"),w=e("Ae+d"),D=e("xSat"),I=D.onIrrelevantElement,E=e("IwbS"),C=e("W4dC"),f=e("iRjW"),t=f.getUID,i=e("DN4a");function s(l){var a=l.getItemStyle(),c=l.get("areaColor");return c!=null&&(a.fill=c),a}function o(l,a,c,d,h){c.off("click"),c.off("mousedown"),a.get("selectedMode")&&(c.on("mousedown",function(){l._mouseDownFlag=!0}),c.on("click",function(y){if(!!l._mouseDownFlag){l._mouseDownFlag=!1;for(var A=y.target;!A.__regions;)A=A.parent;if(!!A){var v={type:(a.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:B.map(A.__regions,function(g){return{name:g.name,from:h.uid}})};v[a.mainType+"Id"]=a.id,d.dispatchAction(v),r(a,c)}}}))}function r(l,a){a.eachChild(function(c){B.each(c.__regions,function(d){c.trigger(l.isSelected(d.name)?"emphasis":"normal")})})}function u(l,a){var c=new E.Group;this.uid=t("ec_map_draw"),this._controller=new T(l.getZr()),this._controllerHost={target:a?c:null},this.group=c,this._updateGroup=a,this._mouseDownFlag,this._mapName,this._initialized,c.add(this._regionsGroup=new E.Group),c.add(this._backgroundGroup=new E.Group)}u.prototype={constructor:u,draw:function(l,a,c,d,h){var y=l.mainType==="geo",A=l.getData&&l.getData();y&&a.eachComponent({mainType:"series",subType:"map"},function(_){!A&&_.getHostGeoModel()===l&&(A=_.getData())});var v=l.coordinateSystem;this._updateBackground(v);var g=this._regionsGroup,x=this.group,m=v.getTransformInfo(),b=!g.childAt(0)||h,S;if(b)x.transform=m.roamTransform,x.decomposeTransform(),x.dirty();else{var P=new i;P.transform=m.roamTransform,P.decomposeTransform();var M={scale:P.scale,position:P.position};S=P.scale,E.updateProps(x,M,l)}var R=m.rawScale,F=m.rawPosition;g.removeAll();var L=["itemStyle"],U=["emphasis","itemStyle"],N=["label"],Q=["emphasis","label"],z=B.createHashMap();B.each(v.regions,function(_){var J=z.get(_.name)||z.set(_.name,new E.Group),Y=new E.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});J.add(Y);var k=l.getRegionModel(_.name)||l,W=k.getModel(L),ie=k.getModel(U),fe=s(W),Ce=s(ie),ge=k.getModel(N),de=k.getModel(Q),Pe;if(A){Pe=A.indexOfName(_.name);var _e=A.getItemVisual(Pe,"color",!0);_e&&(fe.fill=_e)}var Ne=function(Dt){return[Dt[0]*R[0]+F[0],Dt[1]*R[1]+F[1]]};B.each(_.geometries,function(Dt){if(Dt.type==="polygon"){for(var Ft=[],St=0;St<Dt.exterior.length;++St)Ft.push(Ne(Dt.exterior[St]));Y.shape.paths.push(new E.Polygon({segmentIgnoreThreshold:1,shape:{points:Ft}}));for(var St=0;St<(Dt.interiors?Dt.interiors.length:0);++St){for(var $e=Dt.interiors[St],Ft=[],lt=0;lt<$e.length;++lt)Ft.push(Ne($e[lt]));Y.shape.paths.push(new E.Polygon({segmentIgnoreThreshold:1,shape:{points:Ft}}))}}}),Y.setStyle(fe),Y.style.strokeNoScale=!0,Y.culling=!0;var He=ge.get("show"),ue=de.get("show"),Re=A&&isNaN(A.get(A.mapDimension("value"),Pe)),nt=A&&A.getItemLayout(Pe);if(y||Re&&(He||ue)||nt&&nt.showLabel){var Ve=y?_.name:Pe,Ge;(!A||Pe>=0)&&(Ge=l);var dt=new E.Text({position:Ne(_.center.slice()),scale:[1/x.scale[0],1/x.scale[1]],z2:10,silent:!0});if(E.setLabelStyle(dt.style,dt.hoverStyle={},ge,de,{labelFetcher:Ge,labelDataIndex:Ve,defaultText:_.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!b){var et=[1/S[0],1/S[1]];E.updateProps(dt,{scale:et},l)}J.add(dt)}if(A)A.setItemGraphicEl(Pe,J);else{var k=l.getRegionModel(_.name);Y.eventData={componentType:"geo",componentIndex:l.componentIndex,geoIndex:l.componentIndex,name:_.name,region:k&&k.option||{}}}var At=J.__regions||(J.__regions=[]);At.push(_),J.highDownSilentOnTouch=!!l.get("selectedMode"),E.setHoverStyle(J,Ce),g.add(J)}),this._updateController(l,a,c),o(this,l,g,c,d),r(l,g)},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(l){var a=l.map;this._mapName!==a&&B.each(C.makeGraphic(a,this.uid),function(c){this._backgroundGroup.add(c)},this),this._mapName=a},_updateController:function(l,a,c){var d=l.coordinateSystem,h=this._controller,y=this._controllerHost;y.zoomLimit=l.get("scaleLimit"),y.zoom=d.getZoom(),h.enable(l.get("roam")||!1);var A=l.mainType;function v(){var g={type:"geoRoam",componentType:A};return g[A+"Id"]=l.id,g}h.off("pan").on("pan",function(g){this._mouseDownFlag=!1,w.updateViewOnPan(y,g.dx,g.dy),c.dispatchAction(B.extend(v(),{dx:g.dx,dy:g.dy}))},this),h.off("zoom").on("zoom",function(g){if(this._mouseDownFlag=!1,w.updateViewOnZoom(y,g.scale,g.originX,g.originY),c.dispatchAction(B.extend(v(),{zoom:g.scale,originX:g.originX,originY:g.originY})),this._updateGroup){var x=this.group.scale;this._regionsGroup.traverse(function(m){m.type==="text"&&m.attr("scale",[1/x[0],1/x[1]])})}},this),h.setPointerChecker(function(g,x,m){return d.getViewRectAfterRoam().contain(x,m)&&!I(g,c,l)})}};var n=u;oe.exports=n},DFOY:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("U8pU"),D=e("KQm4"),I=e("5bA4"),E=e("ye1Q"),C=e("UESt"),f=e("TSYQ"),t=e.n(f),i=e("ODXe"),s=e("Ff2n"),o=e("LdHM"),r=e("18yb"),u=e("NvD2"),n=e("6cGi"),l=e("q1tI"),a=l.createContext(null),c=a,d="__RC_CASCADER_SPLIT__",h="SHOW_PARENT",y="SHOW_CHILD";function A(Se){return Se.join(d)}function v(Se){return Se.map(A)}function g(Se){return Se.split(d)}function x(Se){var Ye=Se||{},q=Ye.label,Ae=Ye.value,Me=Ye.children,De=Ae||"value";return{label:q||"label",value:De,key:De,children:Me||"children"}}function m(Se,Ye){var q,Ae;return(q=Se.isLeaf)!==null&&q!==void 0?q:!((Ae=Se[Ye.children])===null||Ae===void 0?void 0:Ae.length)}function b(Se){var Ye=Se.parentElement;if(!!Ye){var q=Se.offsetTop-Ye.offsetTop;q-Ye.scrollTop<0?Ye.scrollTo({top:q}):q+Se.offsetHeight-Ye.scrollTop>Ye.offsetHeight&&Ye.scrollTo({top:q+Se.offsetHeight-Ye.offsetHeight})}}function S(Se,Ye,q){var Ae=new Set(Se),Me=Ye();return Se.filter(function(De){var ze=Me[De],pe=ze?ze.parent:null,te=ze?ze.children:null;return q===y?!(te&&te.some(function(be){return be.key&&Ae.has(be.key)})):!(pe&&!pe.node.disabled&&Ae.has(pe.key))})}function P(Se,Ye,q){for(var Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Me=Ye,De=[],ze=function(be){var xe,Z,se,he=Se[be],Oe=(xe=Me)===null||xe===void 0?void 0:xe.findIndex(function(ce){var ae=ce[q.value];return Ae?String(ae)===String(he):ae===he}),ne=Oe!==-1?(Z=Me)===null||Z===void 0?void 0:Z[Oe]:null;De.push({value:(se=ne==null?void 0:ne[q.value])!==null&&se!==void 0?se:he,index:Oe,option:ne}),Me=ne==null?void 0:ne[q.children]},pe=0;pe<Se.length;pe+=1)ze(pe);return De}var M=function(Se,Ye,q,Ae,Me){return l.useMemo(function(){var De=Me||function(ze){var pe=Ae?ze.slice(-1):ze,te=" / ";return pe.every(function(be){return["string","number"].includes(Object(w.a)(be))})?pe.join(te):pe.reduce(function(be,xe,Z){var se=l.isValidElement(xe)?l.cloneElement(xe,{key:Z}):xe;return Z===0?[se]:[].concat(Object(D.a)(be),[te,se])},[])};return Se.map(function(ze){var pe,te,be=P(ze,Ye,q),xe=De(be.map(function(se){var he,Oe=se.option,ne=se.value;return(he=Oe==null?void 0:Oe[q.label])!==null&&he!==void 0?he:ne}),be.map(function(se){var he=se.option;return he})),Z=A(ze);return{label:xe,value:Z,key:Z,valueCells:ze,disabled:(pe=be[be.length-1])===null||pe===void 0||(te=pe.option)===null||te===void 0?void 0:te.disabled}})},[Se,Ye,q,Me,Ae])},R=e("VTBJ"),F=e("815F"),L=function(Se,Ye){var q=l.useRef({options:null,info:null}),Ae=l.useCallback(function(){return q.current.options!==Se&&(q.current.options=Se,q.current.info=Object(F.a)(Se,{fieldNames:Ye,initWrapper:function(De){return Object(R.a)(Object(R.a)({},De),{},{pathKeyEntities:{}})},processEntity:function(De,ze){var pe=De.nodes.map(function(te){return te[Ye.value]}).join(d);ze.pathKeyEntities[pe]=De,De.key=pe}})),q.current.info.pathKeyEntities},[Ye,Se]);return Ae},U=function(Se,Ye){return l.useCallback(function(q){var Ae=[],Me=[];return q.forEach(function(De){var ze=P(De,Se,Ye);ze.every(function(pe){return pe.option})?Me.push(De):Ae.push(De)}),[Me,Ae]},[Se,Ye])};function N(Se){var Ye=l.useRef();Ye.current=Se;var q=l.useCallback(function(){return Ye.current.apply(Ye,arguments)},[]);return q}var Q=e("Kwbf");function z(Se){return l.useMemo(function(){if(!Se)return[!1,{}];var Ye={matchInputWidth:!0,limit:50};return Se&&Object(w.a)(Se)==="object"&&(Ye=Object(R.a)(Object(R.a)({},Ye),Se)),Ye.limit<=0&&delete Ye.limit,[!0,Ye]},[Se])}var _="__rc_cascader_search_mark__",J=function(Ye,q,Ae){var Me=Ae.label;return q.some(function(De){return String(De[Me]).toLowerCase().includes(Ye.toLowerCase())})},Y=function(Ye,q,Ae,Me){return q.map(function(De){return De[Me.label]}).join(" / ")},k=function(Se,Ye,q,Ae,Me,De){var ze=Me.filter,pe=ze===void 0?J:ze,te=Me.render,be=te===void 0?Y:te,xe=Me.limit,Z=xe===void 0?50:xe,se=Me.sort;return l.useMemo(function(){var he=[];if(!Se)return[];function Oe(ne,ce){ne.forEach(function(ae){if(!(!se&&Z>0&&he.length>=Z)){var Ee=[].concat(Object(D.a)(ce),[ae]),ye=ae[q.children];if((!ye||ye.length===0||De)&&pe(Se,Ee,{label:q.label})){var Te;he.push(Object(R.a)(Object(R.a)({},ae),{},(Te={},Object(T.a)(Te,q.label,be(Se,Ee,Ae,q)),Object(T.a)(Te,_,Ee),Te)))}ye&&Oe(ae[q.children],Ee)}})}return Oe(Ye,[]),se&&he.sort(function(ne,ce){return se(ne[_],ce[_],Se,q)}),Z>0?he.slice(0,Z):he},[Se,Ye,q,Ae,be,De,pe,se,Z])};function W(Se){var Ye,q=Se.prefixCls,Ae=Se.checked,Me=Se.halfChecked,De=Se.disabled,ze=Se.onClick,pe=l.useContext(c),te=pe.checkable,be=typeof te!="boolean"?te:null;return l.createElement("span",{className:t()("".concat(q),(Ye={},Object(T.a)(Ye,"".concat(q,"-checked"),Ae),Object(T.a)(Ye,"".concat(q,"-indeterminate"),!Ae&&Me),Object(T.a)(Ye,"".concat(q,"-disabled"),De),Ye)),onClick:ze},be)}var ie="__cascader_fix_label__";function fe(Se){var Ye=Se.prefixCls,q=Se.multiple,Ae=Se.options,Me=Se.activeValue,De=Se.prevValuePath,ze=Se.onToggleOpen,pe=Se.onSelect,te=Se.onActive,be=Se.checkedSet,xe=Se.halfCheckedSet,Z=Se.loadingKeys,se=Se.isSelectable,he="".concat(Ye,"-menu"),Oe="".concat(Ye,"-menu-item"),ne=l.useContext(c),ce=ne.fieldNames,ae=ne.changeOnSelect,Ee=ne.expandTrigger,ye=ne.expandIcon,Te=ne.loadingIcon,je=ne.dropdownMenuColumnStyle,qe=Ee==="hover",Le=l.useMemo(function(){return Ae.map(function(ke){var tt,st=ke.disabled,_t=ke[_],Ct=(tt=ke[ie])!==null&&tt!==void 0?tt:ke[ce.label],Rt=ke[ce.value],Wt=m(ke,ce),vt=_t?_t.map(function(ir){return ir[ce.value]}):[].concat(Object(D.a)(De),[Rt]),Je=A(vt),Yt=Z.includes(Je),Ht=be.has(Je),nr=xe.has(Je);return{disabled:st,label:Ct,value:Rt,isLeaf:Wt,isLoading:Yt,checked:Ht,halfChecked:nr,option:ke,fullPath:vt,fullPathKey:Je}})},[Ae,be,ce,xe,Z,De]);return l.createElement("ul",{className:he,role:"menu"},Le.map(function(ke){var tt,st=ke.disabled,_t=ke.label,Ct=ke.value,Rt=ke.isLeaf,Wt=ke.isLoading,vt=ke.checked,Je=ke.halfChecked,Yt=ke.option,Ht=ke.fullPath,nr=ke.fullPathKey,ir=function(){!st&&(!qe||!Rt)&&te(Ht)},Zt=function(){se(Yt)&&pe(Ht,Rt)},Mt;return typeof Yt.title=="string"?Mt=Yt.title:typeof _t=="string"&&(Mt=_t),l.createElement("li",{key:nr,className:t()(Oe,(tt={},Object(T.a)(tt,"".concat(Oe,"-expand"),!Rt),Object(T.a)(tt,"".concat(Oe,"-active"),Me===Ct),Object(T.a)(tt,"".concat(Oe,"-disabled"),st),Object(T.a)(tt,"".concat(Oe,"-loading"),Wt),tt)),style:je,role:"menuitemcheckbox",title:Mt,"aria-checked":vt,"data-path-key":nr,onClick:function(){ir(),(!q||Rt)&&Zt()},onDoubleClick:function(){ae&&ze(!1)},onMouseEnter:function(){qe&&ir()},onMouseDown:function(Tt){Tt.preventDefault()}},q&&l.createElement(W,{prefixCls:"".concat(Ye,"-checkbox"),checked:vt,halfChecked:Je,disabled:st,onClick:function(Tt){Tt.stopPropagation(),Zt()}}),l.createElement("div",{className:"".concat(Oe,"-content")},_t),!Wt&&ye&&!Rt&&l.createElement("div",{className:"".concat(Oe,"-expand-icon")},ye),Wt&&Te&&l.createElement("div",{className:"".concat(Oe,"-loading-icon")},Te))}))}var Ce=function(){var Se=Object(o.e)(),Ye=Se.multiple,q=Se.open,Ae=l.useContext(c),Me=Ae.values,De=l.useState([]),ze=Object(i.a)(De,2),pe=ze[0],te=ze[1];return l.useEffect(function(){if(q&&!Ye){var be=Me[0];te(be||[])}},[q]),[pe,te]},ge=e("4IlW"),de=function(Se,Ye,q,Ae,Me,De){var ze=Object(o.e)(),pe=ze.direction,te=ze.searchValue,be=ze.toggleOpen,xe=ze.open,Z=pe==="rtl",se=l.useMemo(function(){for(var je=-1,qe=Ye,Le=[],ke=[],tt=Ae.length,st=function(Je){var Yt=qe.findIndex(function(Ht){return Ht[q.value]===Ae[Je]});if(Yt===-1)return"break";je=Yt,Le.push(je),ke.push(Ae[Je]),qe=qe[je][q.children]},_t=0;_t<tt&&qe;_t+=1){var Ct=st(_t);if(Ct==="break")break}for(var Rt=Ye,Wt=0;Wt<Le.length-1;Wt+=1)Rt=Rt[Le[Wt]][q.children];return[ke,je,Rt]},[Ae,q,Ye]),he=Object(i.a)(se,3),Oe=he[0],ne=he[1],ce=he[2],ae=function(qe){Me(qe)},Ee=function(qe){var Le=ce.length,ke=ne;ke===-1&&qe<0&&(ke=Le);for(var tt=0;tt<Le;tt+=1){ke=(ke+qe+Le)%Le;var st=ce[ke];if(st&&!st.disabled){var _t=st[q.value],Ct=Oe.slice(0,-1).concat(_t);ae(Ct);return}}},ye=function(){if(Oe.length>1){var qe=Oe.slice(0,-1);ae(qe)}else be(!1)},Te=function(){var qe,Le=((qe=ce[ne])===null||qe===void 0?void 0:qe[q.children])||[],ke=Le.find(function(st){return!st.disabled});if(ke){var tt=[].concat(Object(D.a)(Oe),[ke[q.value]]);ae(tt)}};l.useImperativeHandle(Se,function(){return{onKeyDown:function(qe){var Le=qe.which;switch(Le){case ge.a.UP:case ge.a.DOWN:{var ke=0;Le===ge.a.UP?ke=-1:Le===ge.a.DOWN&&(ke=1),ke!==0&&Ee(ke);break}case ge.a.LEFT:{Z?Te():ye();break}case ge.a.RIGHT:{Z?ye():Te();break}case ge.a.BACKSPACE:{te||ye();break}case ge.a.ENTER:{if(Oe.length){var tt=ce[ne],st=(tt==null?void 0:tt[_])||[];st.length?De(st.map(function(_t){return _t[q.value]}),st[st.length-1]):De(Oe,ce[ne])}break}case ge.a.ESC:be(!1),xe&&qe.stopPropagation()}},onKeyUp:function(){}}})},Pe=l.forwardRef(function(Se,Ye){var q,Ae,Me,De,ze=Object(o.e)(),pe=ze.prefixCls,te=ze.multiple,be=ze.searchValue,xe=ze.toggleOpen,Z=ze.notFoundContent,se=ze.direction,he=l.useRef(),Oe=se==="rtl",ne=l.useContext(c),ce=ne.options,ae=ne.values,Ee=ne.halfValues,ye=ne.fieldNames,Te=ne.changeOnSelect,je=ne.onSelect,qe=ne.searchOptions,Le=ne.dropdownPrefixCls,ke=ne.loadData,tt=ne.expandTrigger,st=Le||pe,_t=l.useState([]),Ct=Object(i.a)(_t,2),Rt=Ct[0],Wt=Ct[1],vt=function(Ue){if(!(!ke||be)){var ot=P(Ue,ce,ye),it=ot.map(function(dr){var pr=dr.option;return pr}),zt=it[it.length-1];if(zt&&!m(zt,ye)){var ar=A(Ue);Wt(function(dr){return[].concat(Object(D.a)(dr),[ar])}),ke(it)}}};l.useEffect(function(){Rt.length&&Rt.forEach(function(at){var Ue=g(at),ot=P(Ue,ce,ye,!0).map(function(zt){var ar=zt.option;return ar}),it=ot[ot.length-1];(!it||it[ye.children]||m(it,ye))&&Wt(function(zt){return zt.filter(function(ar){return ar!==at})})})},[ce,Rt,ye]);var Je=l.useMemo(function(){return new Set(v(ae))},[ae]),Yt=l.useMemo(function(){return new Set(v(Ee))},[Ee]),Ht=Ce(),nr=Object(i.a)(Ht,2),ir=nr[0],Zt=nr[1],Mt=function(Ue){Zt(Ue),vt(Ue)},pt=function(Ue){var ot=Ue.disabled,it=m(Ue,ye);return!ot&&(it||Te||te)},Tt=function(Ue,ot){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;je(Ue),!te&&(ot||Te&&(tt==="hover"||it))&&xe(!1)},mt=l.useMemo(function(){return be?qe:ce},[be,qe,ce]),Jt=l.useMemo(function(){for(var at=[{options:mt}],Ue=mt,ot=function(dr){var pr=ir[dr],Tr=Ue.find(function(Yr){return Yr[ye.value]===pr}),Lr=Tr==null?void 0:Tr[ye.children];if(!(Lr==null?void 0:Lr.length))return"break";Ue=Lr,at.push({options:Lr})},it=0;it<ir.length;it+=1){var zt=ot(it);if(zt==="break")break}return at},[mt,ir,ye]),or=function(Ue,ot){pt(ot)&&Tt(Ue,m(ot,ye),!0)};de(Ye,mt,ye,ir,Mt,or),l.useEffect(function(){for(var at=0;at<ir.length;at+=1){var Ue,ot=ir.slice(0,at+1),it=A(ot),zt=(Ue=he.current)===null||Ue===void 0?void 0:Ue.querySelector('li[data-path-key="'.concat(it.replace(/\\{0,2}"/g,'\\"'),'"]'));zt&&b(zt)}},[ir]);var ut=!((q=Jt[0])===null||q===void 0||(Ae=q.options)===null||Ae===void 0?void 0:Ae.length),ht=[(Me={},Object(T.a)(Me,ye.value,"__EMPTY__"),Object(T.a)(Me,ie,Z),Object(T.a)(Me,"disabled",!0),Me)],qt=Object(R.a)(Object(R.a)({},Se),{},{multiple:!ut&&te,onSelect:Tt,onActive:Mt,onToggleOpen:xe,checkedSet:Je,halfCheckedSet:Yt,loadingKeys:Rt,isSelectable:pt}),Nt=ut?[{options:ht}]:Jt,Qt=Nt.map(function(at,Ue){var ot=ir.slice(0,Ue),it=ir[Ue];return l.createElement(fe,Object(B.a)({key:Ue},qt,{prefixCls:st,options:at.options,prevValuePath:ot,activeValue:it}))});return l.createElement("div",{className:t()("".concat(st,"-menus"),(De={},Object(T.a)(De,"".concat(st,"-menu-empty"),ut),Object(T.a)(De,"".concat(st,"-rtl"),Oe),De)),ref:he},Qt)}),_e=Pe;function Ne(Se){var Ye=Se.onPopupVisibleChange,q=Se.popupVisible,Ae=Se.popupClassName,Me=Se.popupPlacement;Object(Q.a)(!Ye,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),Object(Q.a)(q===void 0,"`popupVisible` is deprecated. Please use `open` instead."),Object(Q.a)(Ae===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),Object(Q.a)(Me===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function He(Se,Ye){if(Se){var q=function Ae(Me){for(var De=0;De<Me.length;De++){var ze=Me[De];if(ze[Ye==null?void 0:Ye.value]===null)return Object(Q.a)(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(ze[Ye==null?void 0:Ye.children])&&Ae(ze[Ye==null?void 0:Ye.children]))return!0}};q(Se)}}var ue=Ne,Re=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function nt(Se){return Array.isArray(Se)&&Array.isArray(Se[0])}function Ve(Se){return Se?nt(Se)?Se:(Se.length===0?[]:[Se]).map(function(Ye){return Array.isArray(Ye)?Ye:[Ye]}):[]}var Ge=l.forwardRef(function(Se,Ye){var q=Se.id,Ae=Se.prefixCls,Me=Ae===void 0?"rc-cascader":Ae,De=Se.fieldNames,ze=Se.defaultValue,pe=Se.value,te=Se.changeOnSelect,be=Se.onChange,xe=Se.displayRender,Z=Se.checkable,se=Se.searchValue,he=Se.onSearch,Oe=Se.showSearch,ne=Se.expandTrigger,ce=Se.options,ae=Se.dropdownPrefixCls,Ee=Se.loadData,ye=Se.popupVisible,Te=Se.open,je=Se.popupClassName,qe=Se.dropdownClassName,Le=Se.dropdownMenuColumnStyle,ke=Se.popupPlacement,tt=Se.placement,st=Se.onDropdownVisibleChange,_t=Se.onPopupVisibleChange,Ct=Se.expandIcon,Rt=Ct===void 0?">":Ct,Wt=Se.loadingIcon,vt=Se.children,Je=Se.dropdownMatchSelectWidth,Yt=Je===void 0?!1:Je,Ht=Se.showCheckedStrategy,nr=Ht===void 0?h:Ht,ir=Object(s.a)(Se,Re),Zt=Object(r.a)(q),Mt=!!Z,pt=Object(n.a)(ze,{value:pe,postState:Ve}),Tt=Object(i.a)(pt,2),mt=Tt[0],Jt=Tt[1],or=l.useMemo(function(){return x(De)},[JSON.stringify(De)]),ut=l.useMemo(function(){return ce||[]},[ce]),ht=L(ut,or),qt=l.useCallback(function(Ma){var Oa=ht();return Ma.map(function(ba){var La=Oa[ba].nodes;return La.map(function(Hn){return Hn[or.value]})})},[ht,or]),Nt=Object(n.a)("",{value:se,postState:function(Oa){return Oa||""}}),Qt=Object(i.a)(Nt,2),at=Qt[0],Ue=Qt[1],ot=function(Oa,ba){Ue(Oa),ba.source!=="blur"&&he&&he(Oa)},it=z(Oe),zt=Object(i.a)(it,2),ar=zt[0],dr=zt[1],pr=k(at,ut,or,ae||Me,dr,te),Tr=U(ut,or),Lr=l.useMemo(function(){var Ma=Tr(mt),Oa=Object(i.a)(Ma,2),ba=Oa[0],La=Oa[1];if(!Mt||!mt.length)return[ba,[],La];var Hn=v(ba),Ir=ht(),xr=Object(u.a)(Hn,!0,Ir),Xr=xr.checkedKeys,Cr=xr.halfCheckedKeys;return[qt(Xr),qt(Cr),La]},[Mt,mt,ht,qt,Tr]),Yr=Object(i.a)(Lr,3),Jr=Yr[0],hn=Yr[1],yr=Yr[2],zn=l.useMemo(function(){var Ma=v(Jr),Oa=S(Ma,ht,nr);return[].concat(Object(D.a)(yr),Object(D.a)(qt(Oa)))},[Jr,ht,qt,yr,nr]),xn=M(zn,ut,or,Mt,xe),In=N(function(Ma){if(Jt(Ma),be){var Oa=Ve(Ma),ba=Oa.map(function(Ir){return P(Ir,ut,or).map(function(xr){return xr.option})}),La=Mt?Oa:Oa[0],Hn=Mt?ba:ba[0];be(La,Hn)}}),Qn=N(function(Ma){if(Ue(""),!Mt)In(Ma);else{var Oa=A(Ma),ba=v(Jr),La=v(hn),Hn=ba.includes(Oa),Ir=yr.some(function(un){return A(un)===Oa}),xr=Jr,Xr=yr;if(Ir&&!Hn)Xr=yr.filter(function(un){return A(un)!==Oa});else{var Cr=Hn?ba.filter(function(un){return un!==Oa}):[].concat(Object(D.a)(ba),[Oa]),Hr=ht(),Fr;if(Hn){var jr=Object(u.a)(Cr,{checked:!1,halfCheckedKeys:La},Hr);Fr=jr.checkedKeys}else{var wr=Object(u.a)(Cr,!0,Hr);Fr=wr.checkedKeys}var pn=S(Fr,ht,nr);xr=qt(pn)}In([].concat(Object(D.a)(Xr),Object(D.a)(xr)))}}),Cn=function(Oa,ba){if(ba.type==="clear"){In([]);return}var La=ba.values[0].valueCells;Qn(La)},bn=Te!==void 0?Te:ye,Wn=qe||je,Vn=tt||ke,oa=function(Oa){st==null||st(Oa),_t==null||_t(Oa)},kr=l.useMemo(function(){return{options:ut,fieldNames:or,values:Jr,halfValues:hn,changeOnSelect:te,onSelect:Qn,checkable:Z,searchOptions:pr,dropdownPrefixCls:ae,loadData:Ee,expandTrigger:ne,expandIcon:Rt,loadingIcon:Wt,dropdownMenuColumnStyle:Le}},[ut,or,Jr,hn,te,Qn,Z,pr,ae,Ee,ne,Rt,Wt,Le]),kn=!(at?pr:ut).length,Pn=at&&dr.matchInputWidth||kn?{}:{minWidth:"auto"};return l.createElement(c.Provider,{value:kr},l.createElement(o.a,Object(B.a)({},ir,{ref:Ye,id:Zt,prefixCls:Me,dropdownMatchSelectWidth:Yt,dropdownStyle:Pn,displayValues:xn,onDisplayValuesChange:Cn,mode:Mt?"multiple":void 0,searchValue:at,onSearch:ot,showSearch:ar,OptionList:_e,emptyOptions:kn,open:bn,dropdownClassName:Wn,placement:Vn,onDropdownVisibleChange:oa,getRawInputElement:function(){return vt}})))});Ge.SHOW_PARENT=h,Ge.SHOW_CHILD=y;var dt=Ge,et=dt,At=e("bT9E"),Dt=e("H84U"),Ft=e("XI05"),St=e("caoh"),$e=e("3Nzz"),lt=e("+f9I"),Ut=e("ihLV"),gt=e("1vzs"),ft=e("EXcs"),rt=e("ATYA"),Ie=function(Se,Ye){var q={};for(var Ae in Se)Object.prototype.hasOwnProperty.call(Se,Ae)&&Ye.indexOf(Ae)<0&&(q[Ae]=Se[Ae]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Se);Me<Ae.length;Me++)Ye.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Se,Ae[Me])&&(q[Ae[Me]]=Se[Ae[Me]]);return q},Ot=et.SHOW_CHILD,Xt=et.SHOW_PARENT;function Vt(Se,Ye,q){var Ae=Se.toLowerCase().split(Ye).reduce(function(ze,pe,te){return te===0?[pe]:[].concat(Object(D.a)(ze),[Ye,pe])},[]),Me=[],De=0;return Ae.forEach(function(ze,pe){var te=De+ze.length,be=Se.slice(De,te);De=te,pe%2==1&&(be=l.createElement("span",{className:"".concat(q,"-menu-item-keyword"),key:"seperator-".concat(pe)},be)),Me.push(be)}),Me}var bt=function(Ye,q,Ae,Me){var De=[],ze=Ye.toLowerCase();return q.forEach(function(pe,te){te!==0&&De.push(" / ");var be=pe[Me.label],xe=Object(w.a)(be);(xe==="string"||xe==="number")&&(be=Vt(String(be),ze,Ae)),De.push(be)}),De},It=l.forwardRef(function(Se,Ye){var q,Ae=Se.prefixCls,Me=Se.size,De=Se.disabled,ze=Se.className,pe=Se.multiple,te=Se.bordered,be=te===void 0?!0:te,xe=Se.transitionName,Z=Se.choiceTransitionName,se=Z===void 0?"":Z,he=Se.popupClassName,Oe=Se.dropdownClassName,ne=Se.expandIcon,ce=Se.placement,ae=Se.showSearch,Ee=Se.allowClear,ye=Ee===void 0?!0:Ee,Te=Se.notFoundContent,je=Se.direction,qe=Se.getPopupContainer,Le=Se.status,ke=Se.showArrow,tt=Ie(Se,["prefixCls","size","disabled","className","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow"]),st=Object(At.a)(tt,["suffixIcon"]),_t=Object(l.useContext)(Dt.b),Ct=_t.getPopupContainer,Rt=_t.getPrefixCls,Wt=_t.renderEmpty,vt=_t.direction,Je=je||vt,Yt=Je==="rtl",Ht=Object(l.useContext)(Ut.b),nr=Ht.status,ir=Ht.hasFeedback,Zt=Ht.isFormItemInput,Mt=Ht.feedbackIcon,pt=Object(rt.a)(nr,Le),Tt=Te||(Wt||Ft.a)("Cascader"),mt=Rt(),Jt=Rt("select",Ae),or=Rt("cascader",Ae),ut=Object(lt.c)(Jt,je),ht=ut.compactSize,qt=ut.compactItemClassnames,Nt=t()(he||Oe,"".concat(or,"-dropdown"),Object(T.a)({},"".concat(or,"-dropdown-rtl"),Je==="rtl")),Qt=l.useMemo(function(){if(!ae)return ae;var yr={render:bt};return Object(w.a)(ae)==="object"&&(yr=Object(B.a)(Object(B.a)({},yr),ae)),yr},[ae]),at=l.useContext($e.b),Ue=ht||Me||at,ot=l.useContext(St.b),it=De!=null?De:ot,zt=ne;ne||(zt=Yt?l.createElement(I.a,null):l.createElement(C.a,null));var ar=l.createElement("span",{className:"".concat(Jt,"-menu-item-loading-icon")},l.createElement(E.a,{spin:!0})),dr=l.useMemo(function(){return pe?l.createElement("span",{className:"".concat(or,"-checkbox-inner")}):!1},[pe]),pr=ke!==void 0?ke:Se.loading||!pe,Tr=Object(gt.a)(Object(B.a)(Object(B.a)({},Se),{hasFeedback:ir,feedbackIcon:Mt,showArrow:pr,multiple:pe,prefixCls:Jt})),Lr=Tr.suffixIcon,Yr=Tr.removeIcon,Jr=Tr.clearIcon,hn=function(){return ce!==void 0?ce:je==="rtl"?"bottomRight":"bottomLeft"};return l.createElement(et,Object(B.a)({prefixCls:Jt,className:t()(!Ae&&or,(q={},Object(T.a)(q,"".concat(Jt,"-lg"),Ue==="large"),Object(T.a)(q,"".concat(Jt,"-sm"),Ue==="small"),Object(T.a)(q,"".concat(Jt,"-rtl"),Yt),Object(T.a)(q,"".concat(Jt,"-borderless"),!be),Object(T.a)(q,"".concat(Jt,"-in-form-item"),Zt),q),Object(rt.b)(Jt,pt,ir),qt,ze),disabled:it},st,{direction:Je,placement:hn(),notFoundContent:Tt,allowClear:ye,showSearch:Qt,expandIcon:zt,inputIcon:Lr,removeIcon:Yr,clearIcon:Jr,loadingIcon:ar,checkable:dr,dropdownClassName:Nt,dropdownPrefixCls:Ae||or,choiceTransitionName:Object(ft.c)(mt,"",se),transitionName:Object(ft.c)(mt,Object(ft.b)(ce),xe),getPopupContainer:qe||Ct,ref:Ye,showArrow:ir||ke}))});It.SHOW_PARENT=Xt,It.SHOW_CHILD=Ot;var Kt=V.a=It},DN4a:function(oe,V,e){var B=e("Fofx"),T=e("QBsz"),w=B.identity,D=5e-5;function I(o){return o>D||o<-D}var E=function(r){r=r||{},r.position||(this.position=[0,0]),r.rotation==null&&(this.rotation=0),r.scale||(this.scale=[1,1]),this.origin=this.origin||null},C=E.prototype;C.transform=null,C.needLocalTransform=function(){return I(this.rotation)||I(this.position[0])||I(this.position[1])||I(this.scale[0]-1)||I(this.scale[1]-1)};var f=[];C.updateTransform=function(){var o=this.parent,r=o&&o.transform,u=this.needLocalTransform(),n=this.transform;if(!(u||r)){n&&w(n);return}n=n||B.create(),u?this.getLocalTransform(n):w(n),r&&(u?B.mul(n,o.transform,n):B.copy(n,o.transform)),this.transform=n;var l=this.globalScaleRatio;if(l!=null&&l!==1){this.getGlobalScale(f);var a=f[0]<0?-1:1,c=f[1]<0?-1:1,d=((f[0]-a)*l+a)/f[0]||0,h=((f[1]-c)*l+c)/f[1]||0;n[0]*=d,n[1]*=d,n[2]*=h,n[3]*=h}this.invTransform=this.invTransform||B.create(),B.invert(this.invTransform,n)},C.getLocalTransform=function(o){return E.getLocalTransform(this,o)},C.setTransform=function(o){var r=this.transform,u=o.dpr||1;r?o.setTransform(u*r[0],u*r[1],u*r[2],u*r[3],u*r[4],u*r[5]):o.setTransform(u,0,0,u,0,0)},C.restoreTransform=function(o){var r=o.dpr||1;o.setTransform(r,0,0,r,0,0)};var t=[],i=B.create();C.setLocalTransform=function(o){if(!!o){var r=o[0]*o[0]+o[1]*o[1],u=o[2]*o[2]+o[3]*o[3],n=this.position,l=this.scale;I(r-1)&&(r=Math.sqrt(r)),I(u-1)&&(u=Math.sqrt(u)),o[0]<0&&(r=-r),o[3]<0&&(u=-u),n[0]=o[4],n[1]=o[5],l[0]=r,l[1]=u,this.rotation=Math.atan2(-o[1]/u,o[0]/r)}},C.decomposeTransform=function(){if(!!this.transform){var o=this.parent,r=this.transform;o&&o.transform&&(B.mul(t,o.invTransform,r),r=t);var u=this.origin;u&&(u[0]||u[1])&&(i[4]=u[0],i[5]=u[1],B.mul(t,r,i),t[4]-=u[0],t[5]-=u[1],r=t),this.setLocalTransform(r)}},C.getGlobalScale=function(o){var r=this.transform;return o=o||[],r?(o[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),o[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(o[0]=-o[0]),r[3]<0&&(o[1]=-o[1]),o):(o[0]=1,o[1]=1,o)},C.transformCoordToLocal=function(o,r){var u=[o,r],n=this.invTransform;return n&&T.applyTransform(u,u,n),u},C.transformCoordToGlobal=function(o,r){var u=[o,r],n=this.transform;return n&&T.applyTransform(u,u,n),u},E.getLocalTransform=function(o,r){r=r||[],w(r);var u=o.origin,n=o.scale||[1,1],l=o.rotation||0,a=o.position||[0,0];return u&&(r[4]-=u[0],r[5]-=u[1]),B.scale(r,r,n),l&&B.rotate(r,r,l),u&&(r[4]+=u[0],r[5]+=u[1]),r[4]+=a[0],r[5]+=a[1],r};var s=E;oe.exports=s},DZo9:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("JGo8"),D=e.n(w),I=e("+L6B"),E=e("MXD1"),C=e("5Dmo")},Dagg:function(oe,V,e){var B=e("Gev7"),T=e("mFDi"),w=e("bYtY"),D=e("Xnb7");function I(C){B.call(this,C)}I.prototype={constructor:I,type:"image",brush:function(f,t){var i=this.style,s=i.image;i.bind(f,this,t);var o=this._image=D.createOrUpdateImage(s,this._image,this,this.onload);if(!(!o||!D.isImageReady(o))){var r=i.x||0,u=i.y||0,n=i.width,l=i.height,a=o.width/o.height;if(n==null&&l!=null?n=l*a:l==null&&n!=null?l=n/a:n==null&&l==null&&(n=o.width,l=o.height),this.setTransform(f),i.sWidth&&i.sHeight){var c=i.sx||0,d=i.sy||0;f.drawImage(o,c,d,i.sWidth,i.sHeight,r,u,n,l)}else if(i.sx&&i.sy){var c=i.sx,d=i.sy,h=n-c,y=l-d;f.drawImage(o,c,d,h,y,r,u,n,l)}else f.drawImage(o,r,u,n,l);i.text!=null&&(this.restoreTransform(f),this.drawRectText(f,this.getBoundingRect()))}},getBoundingRect:function(){var f=this.style;return this._rect||(this._rect=new T(f.x||0,f.y||0,f.width||0,f.height||0)),this._rect}},w.inherits(I,B);var E=I;oe.exports=E},Dg8C:function(oe,V,e){var B=e("XxSj"),T=e("bYtY");function w(D,I){D.eachSeriesByType("sankey",function(E){var C=E.getGraph(),f=C.nodes;if(f.length){var t=Infinity,i=-Infinity;T.each(f,function(s){var o=s.getLayout().value;o<t&&(t=o),o>i&&(i=o)}),T.each(f,function(s){var o=new B({type:"color",mappingMethod:"linear",dataExtent:[t,i],visual:E.get("color")}),r=o.mapValueToVisual(s.getLayout().value),u=s.getModel().get("itemStyle.color");u!=null?s.setVisual("color",u):s.setVisual("color",r)})}})}oe.exports=w},DjyN:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("Urep"),D=e.n(w),I=e("OaEy")},DlQD:function(oe,V,e){(function(B,T){oe.exports=T()})(this,function(){"use strict";function B(bt,It){for(var Kt=0;Kt<It.length;Kt++){var Se=It[Kt];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(bt,Se.key,Se)}}function T(bt,It,Kt){return It&&B(bt.prototype,It),Kt&&B(bt,Kt),bt}function w(bt,It){if(!!bt){if(typeof bt=="string")return D(bt,It);var Kt=Object.prototype.toString.call(bt).slice(8,-1);if(Kt==="Object"&&bt.constructor&&(Kt=bt.constructor.name),Kt==="Map"||Kt==="Set")return Array.from(bt);if(Kt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Kt))return D(bt,It)}}function D(bt,It){(It==null||It>bt.length)&&(It=bt.length);for(var Kt=0,Se=new Array(It);Kt<It;Kt++)Se[Kt]=bt[Kt];return Se}function I(bt,It){var Kt;if(typeof Symbol=="undefined"||bt[Symbol.iterator]==null){if(Array.isArray(bt)||(Kt=w(bt))||It&&bt&&typeof bt.length=="number"){Kt&&(bt=Kt);var Se=0;return function(){return Se>=bt.length?{done:!0}:{done:!1,value:bt[Se++]}}}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 Kt=bt[Symbol.iterator](),Kt.next.bind(Kt)}function E(bt){var It={exports:{}};return bt(It,It.exports),It.exports}var C=E(function(bt){function It(){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 Kt(Se){bt.exports.defaults=Se}bt.exports={defaults:It(),getDefaults:It,changeDefaults:Kt}}),f=/[&<>"']/,t=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"},r=function(It){return o[It]};function u(bt,It){if(It){if(f.test(bt))return bt.replace(t,r)}else if(i.test(bt))return bt.replace(s,r);return bt}var n=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function l(bt){return bt.replace(n,function(It,Kt){return Kt=Kt.toLowerCase(),Kt==="colon"?":":Kt.charAt(0)==="#"?Kt.charAt(1)==="x"?String.fromCharCode(parseInt(Kt.substring(2),16)):String.fromCharCode(+Kt.substring(1)):""})}var a=/(^|[^\[])\^/g;function c(bt,It){bt=bt.source||bt,It=It||"";var Kt={replace:function(Ye,q){return q=q.source||q,q=q.replace(a,"$1"),bt=bt.replace(Ye,q),Kt},getRegex:function(){return new RegExp(bt,It)}};return Kt}var d=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(bt,It,Kt){if(bt){var Se;try{Se=decodeURIComponent(l(Kt)).replace(d,"").toLowerCase()}catch(Ye){return null}if(Se.indexOf("javascript:")===0||Se.indexOf("vbscript:")===0||Se.indexOf("data:")===0)return null}It&&!h.test(Kt)&&(Kt=m(It,Kt));try{Kt=encodeURI(Kt).replace(/%25/g,"%")}catch(Ye){return null}return Kt}var A={},v=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function m(bt,It){A[" "+bt]||(v.test(bt)?A[" "+bt]=bt+"/":A[" "+bt]=M(bt,"/",!0)),bt=A[" "+bt];var Kt=bt.indexOf(":")===-1;return It.substring(0,2)==="//"?Kt?It:bt.replace(g,"$1")+It:It.charAt(0)==="/"?Kt?It:bt.replace(x,"$1")+It:bt+It}var b={exec:function(){}};function S(bt){for(var It=1,Kt,Se;It<arguments.length;It++){Kt=arguments[It];for(Se in Kt)Object.prototype.hasOwnProperty.call(Kt,Se)&&(bt[Se]=Kt[Se])}return bt}function P(bt,It){var Kt=bt.replace(/\|/g,function(q,Ae,Me){for(var De=!1,ze=Ae;--ze>=0&&Me[ze]==="\\";)De=!De;return De?"|":" |"}),Se=Kt.split(/ \|/),Ye=0;if(Se.length>It)Se.splice(It);else for(;Se.length<It;)Se.push("");for(;Ye<Se.length;Ye++)Se[Ye]=Se[Ye].trim().replace(/\\\|/g,"|");return Se}function M(bt,It,Kt){var Se=bt.length;if(Se===0)return"";for(var Ye=0;Ye<Se;){var q=bt.charAt(Se-Ye-1);if(q===It&&!Kt)Ye++;else if(q!==It&&Kt)Ye++;else break}return bt.substr(0,Se-Ye)}function R(bt,It){if(bt.indexOf(It[1])===-1)return-1;for(var Kt=bt.length,Se=0,Ye=0;Ye<Kt;Ye++)if(bt[Ye]==="\\")Ye++;else if(bt[Ye]===It[0])Se++;else if(bt[Ye]===It[1]&&(Se--,Se<0))return Ye;return-1}function F(bt){bt&&bt.sanitize&&!bt.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")}function L(bt,It){if(It<1)return"";for(var Kt="";It>1;)It&1&&(Kt+=bt),It>>=1,bt+=bt;return Kt+bt}var U={escape:u,unescape:l,edit:c,cleanUrl:y,resolveUrl:m,noopTest:b,merge:S,splitCells:P,rtrim:M,findClosingBracket:R,checkSanitizeDeprecation:F,repeatString:L},N=C.defaults,Q=U.rtrim,z=U.splitCells,_=U.escape,J=U.findClosingBracket;function Y(bt,It,Kt){var Se=It.href,Ye=It.title?_(It.title):null,q=bt[1].replace(/\\([\[\]])/g,"$1");return bt[0].charAt(0)!=="!"?{type:"link",raw:Kt,href:Se,title:Ye,text:q}:{type:"image",raw:Kt,href:Se,title:Ye,text:_(q)}}function k(bt,It){var Kt=bt.match(/^(\s+)(?:```)/);if(Kt===null)return It;var Se=Kt[1];return It.split(`
|
|
|
`).map(function(Ye){var q=Ye.match(/^\s+/);if(q===null)return Ye;var Ae=q[0];return Ae.length>=Se.length?Ye.slice(Se.length):Ye}).join(`
|
|
|
`)}var W=function(){function bt(Kt){this.options=Kt||N}var It=bt.prototype;return It.space=function(Se){var Ye=this.rules.block.newline.exec(Se);if(Ye)return Ye[0].length>1?{type:"space",raw:Ye[0]}:{raw:`
|
|
|
`}},It.code=function(Se,Ye){var q=this.rules.block.code.exec(Se);if(q){var Ae=Ye[Ye.length-1];if(Ae&&Ae.type==="paragraph")return{raw:q[0],text:q[0].trimRight()};var Me=q[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:q[0],codeBlockStyle:"indented",text:this.options.pedantic?Me:Q(Me,`
|
|
|
`)}}},It.fences=function(Se){var Ye=this.rules.block.fences.exec(Se);if(Ye){var q=Ye[0],Ae=k(q,Ye[3]||"");return{type:"code",raw:q,lang:Ye[2]?Ye[2].trim():Ye[2],text:Ae}}},It.heading=function(Se){var Ye=this.rules.block.heading.exec(Se);if(Ye){var q=Ye[2].trim();if(/#$/.test(q)){var Ae=Q(q,"#");(this.options.pedantic||!Ae||/ $/.test(Ae))&&(q=Ae.trim())}return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:q}}},It.nptable=function(Se){var Ye=this.rules.block.nptable.exec(Se);if(Ye){var q={type:"table",header:z(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ye[0]};if(q.header.length===q.align.length){var Ae=q.align.length,Me;for(Me=0;Me<Ae;Me++)/^ *-+: *$/.test(q.align[Me])?q.align[Me]="right":/^ *:-+: *$/.test(q.align[Me])?q.align[Me]="center":/^ *:-+ *$/.test(q.align[Me])?q.align[Me]="left":q.align[Me]=null;for(Ae=q.cells.length,Me=0;Me<Ae;Me++)q.cells[Me]=z(q.cells[Me],q.header.length);return q}}},It.hr=function(Se){var Ye=this.rules.block.hr.exec(Se);if(Ye)return{type:"hr",raw:Ye[0]}},It.blockquote=function(Se){var Ye=this.rules.block.blockquote.exec(Se);if(Ye){var q=Ye[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ye[0],text:q}}},It.list=function(Se){var Ye=this.rules.block.list.exec(Se);if(Ye){var q=Ye[0],Ae=Ye[2],Me=Ae.length>1,De={type:"list",raw:q,ordered:Me,start:Me?+Ae.slice(0,-1):"",loose:!1,items:[]},ze=Ye[0].match(this.rules.block.item),pe=!1,te,be,xe,Z,se,he,Oe,ne,ce=ze.length;xe=this.rules.block.listItemStart.exec(ze[0]);for(var ae=0;ae<ce;ae++){if(te=ze[ae],q=te,ae!==ce-1){if(Z=this.rules.block.listItemStart.exec(ze[ae+1]),this.options.pedantic?Z[1].length>xe[1].length:Z[1].length>xe[0].length||Z[1].length>3){ze.splice(ae,2,ze[ae]+`
|
|
|
`+ze[ae+1]),ae--,ce--;continue}else(!this.options.pedantic||this.options.smartLists?Z[2][Z[2].length-1]!==Ae[Ae.length-1]:Me===(Z[2].length===1))&&(se=ze.slice(ae+1).join(`
|
|
|
`),De.raw=De.raw.substring(0,De.raw.length-se.length),ae=ce-1);xe=Z}be=te.length,te=te.replace(/^ *([*+-]|\d+[.)]) ?/,""),~te.indexOf(`
|
|
|
`)&&(be-=te.length,te=this.options.pedantic?te.replace(/^ {1,4}/gm,""):te.replace(new RegExp("^ {1,"+be+"}","gm"),"")),he=pe||/\n\n(?!\s*$)/.test(te),ae!==ce-1&&(pe=te.charAt(te.length-1)===`
|
|
|
`,he||(he=pe)),he&&(De.loose=!0),this.options.gfm&&(Oe=/^\[[ xX]\] /.test(te),ne=void 0,Oe&&(ne=te[1]!==" ",te=te.replace(/^\[[ xX]\] +/,""))),De.items.push({type:"list_item",raw:q,task:Oe,checked:ne,loose:he,text:te})}return De}},It.html=function(Se){var Ye=this.rules.block.html.exec(Se);if(Ye)return{type:this.options.sanitize?"paragraph":"html",raw:Ye[0],pre:!this.options.sanitizer&&(Ye[1]==="pre"||Ye[1]==="script"||Ye[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ye[0]):_(Ye[0]):Ye[0]}},It.def=function(Se){var Ye=this.rules.block.def.exec(Se);if(Ye){Ye[3]&&(Ye[3]=Ye[3].substring(1,Ye[3].length-1));var q=Ye[1].toLowerCase().replace(/\s+/g," ");return{tag:q,raw:Ye[0],href:Ye[2],title:Ye[3]}}},It.table=function(Se){var Ye=this.rules.block.table.exec(Se);if(Ye){var q={type:"table",header:z(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(q.header.length===q.align.length){q.raw=Ye[0];var Ae=q.align.length,Me;for(Me=0;Me<Ae;Me++)/^ *-+: *$/.test(q.align[Me])?q.align[Me]="right":/^ *:-+: *$/.test(q.align[Me])?q.align[Me]="center":/^ *:-+ *$/.test(q.align[Me])?q.align[Me]="left":q.align[Me]=null;for(Ae=q.cells.length,Me=0;Me<Ae;Me++)q.cells[Me]=z(q.cells[Me].replace(/^ *\| *| *\| *$/g,""),q.header.length);return q}}},It.lheading=function(Se){var Ye=this.rules.block.lheading.exec(Se);if(Ye)return{type:"heading",raw:Ye[0],depth:Ye[2].charAt(0)==="="?1:2,text:Ye[1]}},It.paragraph=function(Se){var Ye=this.rules.block.paragraph.exec(Se);if(Ye)return{type:"paragraph",raw:Ye[0],text:Ye[1].charAt(Ye[1].length-1)===`
|
|
|
`?Ye[1].slice(0,-1):Ye[1]}},It.text=function(Se,Ye){var q=this.rules.block.text.exec(Se);if(q){var Ae=Ye[Ye.length-1];return Ae&&Ae.type==="text"?{raw:q[0],text:q[0]}:{type:"text",raw:q[0],text:q[0]}}},It.escape=function(Se){var Ye=this.rules.inline.escape.exec(Se);if(Ye)return{type:"escape",raw:Ye[0],text:_(Ye[1])}},It.tag=function(Se,Ye,q){var Ae=this.rules.inline.tag.exec(Se);if(Ae)return!Ye&&/^<a /i.test(Ae[0])?Ye=!0:Ye&&/^<\/a>/i.test(Ae[0])&&(Ye=!1),!q&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ae[0])?q=!0:q&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ae[0])&&(q=!1),{type:this.options.sanitize?"text":"html",raw:Ae[0],inLink:Ye,inRawBlock:q,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ae[0]):_(Ae[0]):Ae[0]}},It.link=function(Se){var Ye=this.rules.inline.link.exec(Se);if(Ye){var q=Ye[2].trim();if(!this.options.pedantic&&/^</.test(q)){if(!/>$/.test(q))return;var Ae=Q(q.slice(0,-1),"\\");if((q.length-Ae.length)%2==0)return}else{var Me=J(Ye[2],"()");if(Me>-1){var De=Ye[0].indexOf("!")===0?5:4,ze=De+Ye[1].length+Me;Ye[2]=Ye[2].substring(0,Me),Ye[0]=Ye[0].substring(0,ze).trim(),Ye[3]=""}}var pe=Ye[2],te="";if(this.options.pedantic){var be=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(pe);be&&(pe=be[1],te=be[3])}else te=Ye[3]?Ye[3].slice(1,-1):"";return pe=pe.trim(),/^</.test(pe)&&(this.options.pedantic&&!/>$/.test(q)?pe=pe.slice(1):pe=pe.slice(1,-1)),Y(Ye,{href:pe&&pe.replace(this.rules.inline._escapes,"$1"),title:te&&te.replace(this.rules.inline._escapes,"$1")},Ye[0])}},It.reflink=function(Se,Ye){var q;if((q=this.rules.inline.reflink.exec(Se))||(q=this.rules.inline.nolink.exec(Se))){var Ae=(q[2]||q[1]).replace(/\s+/g," ");if(Ae=Ye[Ae.toLowerCase()],!Ae||!Ae.href){var Me=q[0].charAt(0);return{type:"text",raw:Me,text:Me}}return Y(q,Ae,q[0])}},It.strong=function(Se,Ye,q){q===void 0&&(q="");var Ae=this.rules.inline.strong.start.exec(Se);if(Ae&&(!Ae[1]||Ae[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){Ye=Ye.slice(-1*Se.length);var Me=Ae[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Me.lastIndex=0;for(var De;(Ae=Me.exec(Ye))!=null;)if(De=this.rules.inline.strong.middle.exec(Ye.slice(0,Ae.index+3)),De)return{type:"strong",raw:Se.slice(0,De[0].length),text:Se.slice(2,De[0].length-2)}}},It.em=function(Se,Ye,q){q===void 0&&(q="");var Ae=this.rules.inline.em.start.exec(Se);if(Ae&&(!Ae[1]||Ae[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){Ye=Ye.slice(-1*Se.length);var Me=Ae[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Me.lastIndex=0;for(var De;(Ae=Me.exec(Ye))!=null;)if(De=this.rules.inline.em.middle.exec(Ye.slice(0,Ae.index+2)),De)return{type:"em",raw:Se.slice(0,De[0].length),text:Se.slice(1,De[0].length-1)}}},It.codespan=function(Se){var Ye=this.rules.inline.code.exec(Se);if(Ye){var q=Ye[2].replace(/\n/g," "),Ae=/[^ ]/.test(q),Me=/^ /.test(q)&&/ $/.test(q);return Ae&&Me&&(q=q.substring(1,q.length-1)),q=_(q,!0),{type:"codespan",raw:Ye[0],text:q}}},It.br=function(Se){var Ye=this.rules.inline.br.exec(Se);if(Ye)return{type:"br",raw:Ye[0]}},It.del=function(Se){var Ye=this.rules.inline.del.exec(Se);if(Ye)return{type:"del",raw:Ye[0],text:Ye[2]}},It.autolink=function(Se,Ye){var q=this.rules.inline.autolink.exec(Se);if(q){var Ae,Me;return q[2]==="@"?(Ae=_(this.options.mangle?Ye(q[1]):q[1]),Me="mailto:"+Ae):(Ae=_(q[1]),Me=Ae),{type:"link",raw:q[0],text:Ae,href:Me,tokens:[{type:"text",raw:Ae,text:Ae}]}}},It.url=function(Se,Ye){var q;if(q=this.rules.inline.url.exec(Se)){var Ae,Me;if(q[2]==="@")Ae=_(this.options.mangle?Ye(q[0]):q[0]),Me="mailto:"+Ae;else{var De;do De=q[0],q[0]=this.rules.inline._backpedal.exec(q[0])[0];while(De!==q[0]);Ae=_(q[0]),q[1]==="www."?Me="http://"+Ae:Me=Ae}return{type:"link",raw:q[0],text:Ae,href:Me,tokens:[{type:"text",raw:Ae,text:Ae}]}}},It.inlineText=function(Se,Ye,q){var Ae=this.rules.inline.text.exec(Se);if(Ae){var Me;return Ye?Me=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ae[0]):_(Ae[0]):Ae[0]:Me=_(this.options.smartypants?q(Ae[0]):Ae[0]),{type:"text",raw:Ae[0],text:Me}}},bt}(),ie=U.noopTest,fe=U.edit,Ce=U.merge,ge={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\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})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\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:ie,table:ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};ge._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ge._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ge.def=fe(ge.def).replace("label",ge._label).replace("title",ge._title).getRegex(),ge.bullet=/(?:[*+-]|\d{1,9}[.)])/,ge.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,ge.item=fe(ge.item,"gm").replace(/bull/g,ge.bullet).getRegex(),ge.listItemStart=fe(/^( *)(bull)/).replace("bull",ge.bullet).getRegex(),ge.list=fe(ge.list).replace(/bull/g,ge.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ge.def.source+")").getRegex(),ge._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",ge._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ge.html=fe(ge.html,"i").replace("comment",ge._comment).replace("tag",ge._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ge.paragraph=fe(ge._paragraph).replace("hr",ge.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",ge._tag).getRegex(),ge.blockquote=fe(ge.blockquote).replace("paragraph",ge.paragraph).getRegex(),ge.normal=Ce({},ge),ge.gfm=Ce({},ge.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ge.gfm.nptable=fe(ge.gfm.nptable).replace("hr",ge.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",ge._tag).getRegex(),ge.gfm.table=fe(ge.gfm.table).replace("hr",ge.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",ge._tag).getRegex(),ge.pedantic=Ce({},ge.normal,{html:fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ge._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+|$)/,fences:ie,paragraph:fe(ge.normal._paragraph).replace("hr",ge.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",ge.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var de={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ie,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:ie,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\s*punctuation])/};de._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",de.punctuation=fe(de.punctuation).replace(/punctuation/g,de._punctuation).getRegex(),de._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",de._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",de._comment=fe(ge._comment).replace("(?:-->|$)","-->").getRegex(),de.em.start=fe(de.em.start).replace(/punctuation/g,de._punctuation).getRegex(),de.em.middle=fe(de.em.middle).replace(/punctuation/g,de._punctuation).replace(/overlapSkip/g,de._overlapSkip).getRegex(),de.em.endAst=fe(de.em.endAst,"g").replace(/punctuation/g,de._punctuation).getRegex(),de.em.endUnd=fe(de.em.endUnd,"g").replace(/punctuation/g,de._punctuation).getRegex(),de.strong.start=fe(de.strong.start).replace(/punctuation/g,de._punctuation).getRegex(),de.strong.middle=fe(de.strong.middle).replace(/punctuation/g,de._punctuation).replace(/overlapSkip/g,de._overlapSkip).getRegex(),de.strong.endAst=fe(de.strong.endAst,"g").replace(/punctuation/g,de._punctuation).getRegex(),de.strong.endUnd=fe(de.strong.endUnd,"g").replace(/punctuation/g,de._punctuation).getRegex(),de.blockSkip=fe(de._blockSkip,"g").getRegex(),de.overlapSkip=fe(de._overlapSkip,"g").getRegex(),de._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,de._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,de._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])?)+(?![-_])/,de.autolink=fe(de.autolink).replace("scheme",de._scheme).replace("email",de._email).getRegex(),de._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,de.tag=fe(de.tag).replace("comment",de._comment).replace("attribute",de._attribute).getRegex(),de._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,de._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,de._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,de.link=fe(de.link).replace("label",de._label).replace("href",de._href).replace("title",de._title).getRegex(),de.reflink=fe(de.reflink).replace("label",de._label).getRegex(),de.reflinkSearch=fe(de.reflinkSearch,"g").replace("reflink",de.reflink).replace("nolink",de.nolink).getRegex(),de.normal=Ce({},de),de.pedantic=Ce({},de.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:fe(/^!?\[(label)\]\((.*?)\)/).replace("label",de._label).getRegex(),reflink:fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",de._label).getRegex()}),de.gfm=Ce({},de.normal,{escape:fe(de.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~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),de.gfm.url=fe(de.gfm.url,"i").replace("email",de.gfm._extended_email).getRegex(),de.breaks=Ce({},de.gfm,{br:fe(de.br).replace("{2,}","*").getRegex(),text:fe(de.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Pe={block:ge,inline:de},_e=C.defaults,Ne=Pe.block,He=Pe.inline,ue=U.repeatString;function Re(bt){return bt.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 nt(bt){var It="",Kt,Se,Ye=bt.length;for(Kt=0;Kt<Ye;Kt++)Se=bt.charCodeAt(Kt),Math.random()>.5&&(Se="x"+Se.toString(16)),It+="&#"+Se+";";return It}var Ve=function(){function bt(Kt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Kt||_e,this.options.tokenizer=this.options.tokenizer||new W,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Se={block:Ne.normal,inline:He.normal};this.options.pedantic?(Se.block=Ne.pedantic,Se.inline=He.pedantic):this.options.gfm&&(Se.block=Ne.gfm,this.options.breaks?Se.inline=He.breaks:Se.inline=He.gfm),this.tokenizer.rules=Se}bt.lex=function(Se,Ye){var q=new bt(Ye);return q.lex(Se)},bt.lexInline=function(Se,Ye){var q=new bt(Ye);return q.inlineTokens(Se)};var It=bt.prototype;return It.lex=function(Se){return Se=Se.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(Se,this.tokens,!0),this.inline(this.tokens),this.tokens},It.blockTokens=function(Se,Ye,q){Ye===void 0&&(Ye=[]),q===void 0&&(q=!0),this.options.pedantic&&(Se=Se.replace(/^ +$/gm,""));for(var Ae,Me,De,ze;Se;){if(Ae=this.tokenizer.space(Se)){Se=Se.substring(Ae.raw.length),Ae.type&&Ye.push(Ae);continue}if(Ae=this.tokenizer.code(Se,Ye)){Se=Se.substring(Ae.raw.length),Ae.type?Ye.push(Ae):(ze=Ye[Ye.length-1],ze.raw+=`
|
|
|
`+Ae.raw,ze.text+=`
|
|
|
`+Ae.text);continue}if(Ae=this.tokenizer.fences(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.heading(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.nptable(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.hr(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.blockquote(Se)){Se=Se.substring(Ae.raw.length),Ae.tokens=this.blockTokens(Ae.text,[],q),Ye.push(Ae);continue}if(Ae=this.tokenizer.list(Se)){for(Se=Se.substring(Ae.raw.length),De=Ae.items.length,Me=0;Me<De;Me++)Ae.items[Me].tokens=this.blockTokens(Ae.items[Me].text,[],!1);Ye.push(Ae);continue}if(Ae=this.tokenizer.html(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(q&&(Ae=this.tokenizer.def(Se))){Se=Se.substring(Ae.raw.length),this.tokens.links[Ae.tag]||(this.tokens.links[Ae.tag]={href:Ae.href,title:Ae.title});continue}if(Ae=this.tokenizer.table(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.lheading(Se)){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(q&&(Ae=this.tokenizer.paragraph(Se))){Se=Se.substring(Ae.raw.length),Ye.push(Ae);continue}if(Ae=this.tokenizer.text(Se,Ye)){Se=Se.substring(Ae.raw.length),Ae.type?Ye.push(Ae):(ze=Ye[Ye.length-1],ze.raw+=`
|
|
|
`+Ae.raw,ze.text+=`
|
|
|
`+Ae.text);continue}if(Se){var pe="Infinite loop on byte: "+Se.charCodeAt(0);if(this.options.silent){console.error(pe);break}else throw new Error(pe)}}return Ye},It.inline=function(Se){var Ye,q,Ae,Me,De,ze,pe=Se.length;for(Ye=0;Ye<pe;Ye++)switch(ze=Se[Ye],ze.type){case"paragraph":case"text":case"heading":{ze.tokens=[],this.inlineTokens(ze.text,ze.tokens);break}case"table":{for(ze.tokens={header:[],cells:[]},Me=ze.header.length,q=0;q<Me;q++)ze.tokens.header[q]=[],this.inlineTokens(ze.header[q],ze.tokens.header[q]);for(Me=ze.cells.length,q=0;q<Me;q++)for(De=ze.cells[q],ze.tokens.cells[q]=[],Ae=0;Ae<De.length;Ae++)ze.tokens.cells[q][Ae]=[],this.inlineTokens(De[Ae],ze.tokens.cells[q][Ae]);break}case"blockquote":{this.inline(ze.tokens);break}case"list":{for(Me=ze.items.length,q=0;q<Me;q++)this.inline(ze.items[q].tokens);break}}return Se},It.inlineTokens=function(Se,Ye,q,Ae){Ye===void 0&&(Ye=[]),q===void 0&&(q=!1),Ae===void 0&&(Ae=!1);var Me,De=Se,ze,pe,te;if(this.tokens.links){var be=Object.keys(this.tokens.links);if(be.length>0)for(;(ze=this.tokenizer.rules.inline.reflinkSearch.exec(De))!=null;)be.includes(ze[0].slice(ze[0].lastIndexOf("[")+1,-1))&&(De=De.slice(0,ze.index)+"["+ue("a",ze[0].length-2)+"]"+De.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(ze=this.tokenizer.rules.inline.blockSkip.exec(De))!=null;)De=De.slice(0,ze.index)+"["+ue("a",ze[0].length-2)+"]"+De.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Se;){if(pe||(te=""),pe=!1,Me=this.tokenizer.escape(Se)){Se=Se.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.tag(Se,q,Ae)){Se=Se.substring(Me.raw.length),q=Me.inLink,Ae=Me.inRawBlock,Ye.push(Me);continue}if(Me=this.tokenizer.link(Se)){Se=Se.substring(Me.raw.length),Me.type==="link"&&(Me.tokens=this.inlineTokens(Me.text,[],!0,Ae)),Ye.push(Me);continue}if(Me=this.tokenizer.reflink(Se,this.tokens.links)){Se=Se.substring(Me.raw.length),Me.type==="link"&&(Me.tokens=this.inlineTokens(Me.text,[],!0,Ae)),Ye.push(Me);continue}if(Me=this.tokenizer.strong(Se,De,te)){Se=Se.substring(Me.raw.length),Me.tokens=this.inlineTokens(Me.text,[],q,Ae),Ye.push(Me);continue}if(Me=this.tokenizer.em(Se,De,te)){Se=Se.substring(Me.raw.length),Me.tokens=this.inlineTokens(Me.text,[],q,Ae),Ye.push(Me);continue}if(Me=this.tokenizer.codespan(Se)){Se=Se.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.br(Se)){Se=Se.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.del(Se)){Se=Se.substring(Me.raw.length),Me.tokens=this.inlineTokens(Me.text,[],q,Ae),Ye.push(Me);continue}if(Me=this.tokenizer.autolink(Se,nt)){Se=Se.substring(Me.raw.length),Ye.push(Me);continue}if(!q&&(Me=this.tokenizer.url(Se,nt))){Se=Se.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.inlineText(Se,Ae,Re)){Se=Se.substring(Me.raw.length),te=Me.raw.slice(-1),pe=!0,Ye.push(Me);continue}if(Se){var xe="Infinite loop on byte: "+Se.charCodeAt(0);if(this.options.silent){console.error(xe);break}else throw new Error(xe)}}return Ye},T(bt,null,[{key:"rules",get:function(){return{block:Ne,inline:He}}}]),bt}(),Ge=C.defaults,dt=U.cleanUrl,et=U.escape,At=function(){function bt(Kt){this.options=Kt||Ge}var It=bt.prototype;return It.code=function(Se,Ye,q){var Ae=(Ye||"").match(/\S*/)[0];if(this.options.highlight){var Me=this.options.highlight(Se,Ae);Me!=null&&Me!==Se&&(q=!0,Se=Me)}return Se=Se.replace(/\n$/,"")+`
|
|
|
`,Ae?'<pre><code class="'+this.options.langPrefix+et(Ae,!0)+'">'+(q?Se:et(Se,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(q?Se:et(Se,!0))+`</code></pre>
|
|
|
`},It.blockquote=function(Se){return`<blockquote>
|
|
|
`+Se+`</blockquote>
|
|
|
`},It.html=function(Se){return Se},It.heading=function(Se,Ye,q,Ae){return this.options.headerIds?"<h"+Ye+' id="'+this.options.headerPrefix+Ae.slug(q)+'">'+Se+"</h"+Ye+`>
|
|
|
`:"<h"+Ye+">"+Se+"</h"+Ye+`>
|
|
|
`},It.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},It.list=function(Se,Ye,q){var Ae=Ye?"ol":"ul",Me=Ye&&q!==1?' start="'+q+'"':"";return"<"+Ae+Me+`>
|
|
|
`+Se+"</"+Ae+`>
|
|
|
`},It.listitem=function(Se){return"<li>"+Se+`</li>
|
|
|
`},It.checkbox=function(Se){return"<input "+(Se?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},It.paragraph=function(Se){return"<p>"+Se+`</p>
|
|
|
`},It.table=function(Se,Ye){return Ye&&(Ye="<tbody>"+Ye+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+Se+`</thead>
|
|
|
`+Ye+`</table>
|
|
|
`},It.tablerow=function(Se){return`<tr>
|
|
|
`+Se+`</tr>
|
|
|
`},It.tablecell=function(Se,Ye){var q=Ye.header?"th":"td",Ae=Ye.align?"<"+q+' align="'+Ye.align+'">':"<"+q+">";return Ae+Se+"</"+q+`>
|
|
|
`},It.strong=function(Se){return"<strong>"+Se+"</strong>"},It.em=function(Se){return"<em>"+Se+"</em>"},It.codespan=function(Se){return"<code>"+Se+"</code>"},It.br=function(){return this.options.xhtml?"<br/>":"<br>"},It.del=function(Se){return"<del>"+Se+"</del>"},It.link=function(Se,Ye,q){if(Se=dt(this.options.sanitize,this.options.baseUrl,Se),Se===null)return q;var Ae='<a href="'+et(Se)+'"';return Ye&&(Ae+=' title="'+Ye+'"'),Ae+=">"+q+"</a>",Ae},It.image=function(Se,Ye,q){if(Se=dt(this.options.sanitize,this.options.baseUrl,Se),Se===null)return q;var Ae='<img src="'+Se+'" alt="'+q+'"';return Ye&&(Ae+=' title="'+Ye+'"'),Ae+=this.options.xhtml?"/>":">",Ae},It.text=function(Se){return Se},bt}(),Dt=function(){function bt(){}var It=bt.prototype;return It.strong=function(Se){return Se},It.em=function(Se){return Se},It.codespan=function(Se){return Se},It.del=function(Se){return Se},It.html=function(Se){return Se},It.text=function(Se){return Se},It.link=function(Se,Ye,q){return""+q},It.image=function(Se,Ye,q){return""+q},It.br=function(){return""},bt}(),Ft=function(){function bt(){this.seen={}}var It=bt.prototype;return It.serialize=function(Se){return Se.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},It.getNextSafeSlug=function(Se,Ye){var q=Se,Ae=0;if(this.seen.hasOwnProperty(q)){Ae=this.seen[Se];do Ae++,q=Se+"-"+Ae;while(this.seen.hasOwnProperty(q))}return Ye||(this.seen[Se]=Ae,this.seen[q]=0),q},It.slug=function(Se,Ye){Ye===void 0&&(Ye={});var q=this.serialize(Se);return this.getNextSafeSlug(q,Ye.dryrun)},bt}(),St=C.defaults,$e=U.unescape,lt=function(){function bt(Kt){this.options=Kt||St,this.options.renderer=this.options.renderer||new At,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Dt,this.slugger=new Ft}bt.parse=function(Se,Ye){var q=new bt(Ye);return q.parse(Se)},bt.parseInline=function(Se,Ye){var q=new bt(Ye);return q.parseInline(Se)};var It=bt.prototype;return It.parse=function(Se,Ye){Ye===void 0&&(Ye=!0);var q="",Ae,Me,De,ze,pe,te,be,xe,Z,se,he,Oe,ne,ce,ae,Ee,ye,Te,je=Se.length;for(Ae=0;Ae<je;Ae++)switch(se=Se[Ae],se.type){case"space":continue;case"hr":{q+=this.renderer.hr();continue}case"heading":{q+=this.renderer.heading(this.parseInline(se.tokens),se.depth,$e(this.parseInline(se.tokens,this.textRenderer)),this.slugger);continue}case"code":{q+=this.renderer.code(se.text,se.lang,se.escaped);continue}case"table":{for(xe="",be="",ze=se.header.length,Me=0;Me<ze;Me++)be+=this.renderer.tablecell(this.parseInline(se.tokens.header[Me]),{header:!0,align:se.align[Me]});for(xe+=this.renderer.tablerow(be),Z="",ze=se.cells.length,Me=0;Me<ze;Me++){for(te=se.tokens.cells[Me],be="",pe=te.length,De=0;De<pe;De++)be+=this.renderer.tablecell(this.parseInline(te[De]),{header:!1,align:se.align[De]});Z+=this.renderer.tablerow(be)}q+=this.renderer.table(xe,Z);continue}case"blockquote":{Z=this.parse(se.tokens),q+=this.renderer.blockquote(Z);continue}case"list":{for(he=se.ordered,Oe=se.start,ne=se.loose,ze=se.items.length,Z="",Me=0;Me<ze;Me++)ae=se.items[Me],Ee=ae.checked,ye=ae.task,ce="",ae.task&&(Te=this.renderer.checkbox(Ee),ne?ae.tokens.length>0&&ae.tokens[0].type==="text"?(ae.tokens[0].text=Te+" "+ae.tokens[0].text,ae.tokens[0].tokens&&ae.tokens[0].tokens.length>0&&ae.tokens[0].tokens[0].type==="text"&&(ae.tokens[0].tokens[0].text=Te+" "+ae.tokens[0].tokens[0].text)):ae.tokens.unshift({type:"text",text:Te}):ce+=Te),ce+=this.parse(ae.tokens,ne),Z+=this.renderer.listitem(ce,ye,Ee);q+=this.renderer.list(Z,he,Oe);continue}case"html":{q+=this.renderer.html(se.text);continue}case"paragraph":{q+=this.renderer.paragraph(this.parseInline(se.tokens));continue}case"text":{for(Z=se.tokens?this.parseInline(se.tokens):se.text;Ae+1<je&&Se[Ae+1].type==="text";)se=Se[++Ae],Z+=`
|
|
|
`+(se.tokens?this.parseInline(se.tokens):se.text);q+=Ye?this.renderer.paragraph(Z):Z;continue}default:{var qe='Token with "'+se.type+'" type was not found.';if(this.options.silent){console.error(qe);return}else throw new Error(qe)}}return q},It.parseInline=function(Se,Ye){Ye=Ye||this.renderer;var q="",Ae,Me,De=Se.length;for(Ae=0;Ae<De;Ae++)switch(Me=Se[Ae],Me.type){case"escape":{q+=Ye.text(Me.text);break}case"html":{q+=Ye.html(Me.text);break}case"link":{q+=Ye.link(Me.href,Me.title,this.parseInline(Me.tokens,Ye));break}case"image":{q+=Ye.image(Me.href,Me.title,Me.text);break}case"strong":{q+=Ye.strong(this.parseInline(Me.tokens,Ye));break}case"em":{q+=Ye.em(this.parseInline(Me.tokens,Ye));break}case"codespan":{q+=Ye.codespan(Me.text);break}case"br":{q+=Ye.br();break}case"del":{q+=Ye.del(this.parseInline(Me.tokens,Ye));break}case"text":{q+=Ye.text(Me.text);break}default:{var ze='Token with "'+Me.type+'" type was not found.';if(this.options.silent){console.error(ze);return}else throw new Error(ze)}}return q},bt}(),Ut=U.merge,gt=U.checkSanitizeDeprecation,ft=U.escape,rt=C.getDefaults,Ie=C.changeDefaults,Ot=C.defaults;function Xt(bt,It,Kt){if(typeof bt=="undefined"||bt===null)throw new Error("marked(): input parameter is undefined or null");if(typeof bt!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(bt)+", string expected");if(typeof It=="function"&&(Kt=It,It=null),It=Ut({},Xt.defaults,It||{}),gt(It),Kt){var Se=It.highlight,Ye;try{Ye=Ve.lex(bt,It)}catch(De){return Kt(De)}var q=function(ze){var pe;if(!ze)try{pe=lt.parse(Ye,It)}catch(te){ze=te}return It.highlight=Se,ze?Kt(ze):Kt(null,pe)};if(!Se||Se.length<3||(delete It.highlight,!Ye.length))return q();var Ae=0;Xt.walkTokens(Ye,function(De){De.type==="code"&&(Ae++,setTimeout(function(){Se(De.text,De.lang,function(ze,pe){if(ze)return q(ze);pe!=null&&pe!==De.text&&(De.text=pe,De.escaped=!0),Ae--,Ae===0&&q()})},0))}),Ae===0&&q();return}try{var Me=Ve.lex(bt,It);return It.walkTokens&&Xt.walkTokens(Me,It.walkTokens),lt.parse(Me,It)}catch(De){if(De.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,It.silent)return"<p>An error occurred:</p><pre>"+ft(De.message+"",!0)+"</pre>";throw De}}Xt.options=Xt.setOptions=function(bt){return Ut(Xt.defaults,bt),Ie(Xt.defaults),Xt},Xt.getDefaults=rt,Xt.defaults=Ot,Xt.use=function(bt){var It=Ut({},bt);if(bt.renderer&&function(){var Se=Xt.defaults.renderer||new At,Ye=function(Me){var De=Se[Me];Se[Me]=function(){for(var ze=arguments.length,pe=new Array(ze),te=0;te<ze;te++)pe[te]=arguments[te];var be=bt.renderer[Me].apply(Se,pe);return be===!1&&(be=De.apply(Se,pe)),be}};for(var q in bt.renderer)Ye(q);It.renderer=Se}(),bt.tokenizer&&function(){var Se=Xt.defaults.tokenizer||new W,Ye=function(Me){var De=Se[Me];Se[Me]=function(){for(var ze=arguments.length,pe=new Array(ze),te=0;te<ze;te++)pe[te]=arguments[te];var be=bt.tokenizer[Me].apply(Se,pe);return be===!1&&(be=De.apply(Se,pe)),be}};for(var q in bt.tokenizer)Ye(q);It.tokenizer=Se}(),bt.walkTokens){var Kt=Xt.defaults.walkTokens;It.walkTokens=function(Se){bt.walkTokens(Se),Kt&&Kt(Se)}}Xt.setOptions(It)},Xt.walkTokens=function(bt,It){for(var Kt=I(bt),Se;!(Se=Kt()).done;){var Ye=Se.value;switch(It(Ye),Ye.type){case"table":{for(var q=I(Ye.tokens.header),Ae;!(Ae=q()).done;){var Me=Ae.value;Xt.walkTokens(Me,It)}for(var De=I(Ye.tokens.cells),ze;!(ze=De()).done;)for(var pe=ze.value,te=I(pe),be;!(be=te()).done;){var xe=be.value;Xt.walkTokens(xe,It)}break}case"list":{Xt.walkTokens(Ye.items,It);break}default:Ye.tokens&&Xt.walkTokens(Ye.tokens,It)}}},Xt.parseInline=function(bt,It){if(typeof bt=="undefined"||bt===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof bt!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(bt)+", string expected");It=Ut({},Xt.defaults,It||{}),gt(It);try{var Kt=Ve.lexInline(bt,It);return It.walkTokens&&Xt.walkTokens(Kt,It.walkTokens),lt.parseInline(Kt,It)}catch(Se){if(Se.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,It.silent)return"<p>An error occurred:</p><pre>"+ft(Se.message+"",!0)+"</pre>";throw Se}},Xt.Parser=lt,Xt.parser=lt.parse,Xt.Renderer=At,Xt.TextRenderer=Dt,Xt.Lexer=Ve,Xt.lexer=Ve.lex,Xt.Tokenizer=W,Xt.Slugger=Ft,Xt.parse=Xt;var Vt=Xt;return Vt})},"DlR+":function(oe,V,e){var B=e("MFOe"),T=B.Global,w=B.trim;oe.exports={name:"cookieStorage",read:I,write:C,each:E,remove:f,clearAll:t};var D=T.document;function I(s){if(!s||!i(s))return null;var o="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(D.cookie.replace(new RegExp(o),"$1"))}function E(s){for(var o=D.cookie.split(/; ?/g),r=o.length-1;r>=0;r--)if(!!w(o[r])){var u=o[r].split("="),n=unescape(u[0]),l=unescape(u[1]);s(l,n)}}function C(s,o){!s||(D.cookie=escape(s)+"="+escape(o)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function f(s){!s||!i(s)||(D.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function t(){E(function(s,o){f(o)})}function i(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(D.cookie)}},Ducp:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("+TT/"),D=e("XpcN"),I=T.Group,E=["width","height"],C=["x","y"],f=D.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){f.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new I),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new I),this._showController},resetInner:function(){f.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(i,s,o,r,u,n,l){var a=this;f.superCall(this,"renderInner",i,s,o,r,u,n,l);var c=this._controllerGroup,d=s.get("pageIconSize",!0);B.isArray(d)||(d=[d,d]),y("pagePrev",0);var h=s.getModel("pageTextStyle");c.add(new T.Text({name:"pageText",style:{textFill:h.getTextColor(),font:h.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),y("pageNext",1);function y(A,v){var g=A+"DataIndex",x=T.createIcon(s.get("pageIcons",!0)[s.getOrient().name][v],{onclick:B.bind(a._pageGo,a,g,s,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});x.name=A,c.add(x)}},layoutInner:function(i,s,o,r,u,n){var l=this.getSelectorGroup(),a=i.getOrient().index,c=E[a],d=C[a],h=E[1-a],y=C[1-a];u&&w.box("horizontal",l,i.get("selectorItemGap",!0));var A=i.get("selectorButtonGap",!0),v=l.getBoundingRect(),g=[-v.x,-v.y],x=B.clone(o);u&&(x[c]=o[c]-v[c]-A);var m=this._layoutContentAndController(i,r,x,a,c,h,y);if(u){if(n==="end")g[a]+=m[c]+A;else{var b=v[c]+A;g[a]-=b,m[d]-=b}m[c]+=v[c]+A,g[1-a]+=m[y]+m[h]/2-v[h]/2,m[h]=Math.max(m[h],v[h]),m[y]=Math.min(m[y],v[y]+g[1-a]),l.attr("position",g)}return m},_layoutContentAndController:function(i,s,o,r,u,n,l){var a=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;w.box(i.get("orient"),a,i.get("itemGap"),r?o.width:null,r?null:o.height),w.box("horizontal",d,i.get("pageButtonItemGap",!0));var h=a.getBoundingRect(),y=d.getBoundingRect(),A=this._showController=h[u]>o[u],v=[-h.x,-h.y];s||(v[r]=a.position[r]);var g=[0,0],x=[-y.x,-y.y],m=B.retrieve2(i.get("pageButtonGap",!0),i.get("itemGap",!0));if(A){var b=i.get("pageButtonPosition",!0);b==="end"?x[r]+=o[u]-y[u]:g[r]+=y[u]+m}x[1-r]+=h[n]/2-y[n]/2,a.attr("position",v),c.attr("position",g),d.attr("position",x);var S={x:0,y:0};if(S[u]=A?o[u]:h[u],S[n]=Math.max(h[n],y[n]),S[l]=Math.min(0,y[l]+x[1-r]),c.__rectSize=o[u],A){var P={x:0,y:0};P[u]=Math.max(o[u]-y[u]-m,0),P[n]=S[n],c.setClipPath(new T.Rect({shape:P})),c.__rectSize=P[u]}else d.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(i);return M.pageIndex!=null&&T.updateProps(a,{position:M.contentPosition},A?i:!1),this._updatePageInfoView(i,M),S},_pageGo:function(i,s,o){var r=this._getPageInfo(s)[i];r!=null&&o.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:s.id})},_updatePageInfoView:function(i,s){var o=this._controllerGroup;B.each(["pagePrev","pageNext"],function(c){var d=s[c+"DataIndex"]!=null,h=o.childOfName(c);h&&(h.setStyle("fill",d?i.get("pageIconColor",!0):i.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var r=o.childOfName("pageText"),u=i.get("pageFormatter"),n=s.pageIndex,l=n!=null?n+1:0,a=s.pageCount;r&&u&&r.setStyle("text",B.isString(u)?u.replace("{current}",l).replace("{total}",a):u({current:l,total:a}))},_getPageInfo:function(i){var s=i.get("scrollDataIndex",!0),o=this.getContentGroup(),r=this._containerGroup.__rectSize,u=i.getOrient().index,n=E[u],l=C[u],a=this._findTargetItemIndex(s),c=o.children(),d=c[a],h=c.length,y=h?1:0,A={contentPosition:o.position.slice(),pageCount:y,pageIndex:y-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return A;var v=S(d);A.contentPosition[u]=-v.s;for(var g=a+1,x=v,m=v,b=null;g<=h;++g)b=S(c[g]),(!b&&m.e>x.s+r||b&&!P(b,x.s))&&(m.i>x.i?x=m:x=b,x&&(A.pageNextDataIndex==null&&(A.pageNextDataIndex=x.i),++A.pageCount)),m=b;for(var g=a-1,x=v,m=v,b=null;g>=-1;--g)b=S(c[g]),(!b||!P(m,b.s))&&x.i<m.i&&(m=x,A.pagePrevDataIndex==null&&(A.pagePrevDataIndex=x.i),++A.pageCount,++A.pageIndex),x=b;return A;function S(M){if(M){var R=M.getBoundingRect(),F=R[l]+M.position[u];return{s:F,e:F+R[n],i:M.__legendDataIndex}}}function P(M,R){return M.e>=R&&M.s<=R+r}},_findTargetItemIndex:function(i){if(!this._showController)return 0;var s,o=this.getContentGroup(),r;return o.eachChild(function(u,n){var l=u.__legendDataIndex;r==null&&l!=null&&(r=n),l===i&&(s=n)}),s!=null?s:r}}),t=f;oe.exports=t},E9nw:function(oe,V){oe.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var B=document.activeElement,T=[],w=0;w<e.rangeCount;w++)T.push(e.getRangeAt(w));switch(B.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":B.blur();break;default:B=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||T.forEach(function(D){e.addRange(D)}),B&&B.focus()}}},ECub:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("TSYQ"),D=e.n(w),I=e("q1tI"),E=e("H84U"),C=e("YMnH"),f=function(){var c=I.useContext(E.b),d=c.getPrefixCls,h=d("empty-img-default");return I.createElement("svg",{className:h,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},I.createElement("g",{fill:"none",fillRule:"evenodd"},I.createElement("g",{transform:"translate(24 31.67)"},I.createElement("ellipse",{className:"".concat(h,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),I.createElement("path",{className:"".concat(h,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),I.createElement("path",{className:"".concat(h,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),I.createElement("path",{className:"".concat(h,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),I.createElement("path",{className:"".concat(h,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),I.createElement("path",{className:"".concat(h,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),I.createElement("g",{className:"".concat(h,"-g"),transform:"translate(149.65 15.383)"},I.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),I.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},t=f,i=function(){var c=I.useContext(E.b),d=c.getPrefixCls,h=d("empty-img-simple");return I.createElement("svg",{className:h,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},I.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},I.createElement("ellipse",{className:"".concat(h,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),I.createElement("g",{className:"".concat(h,"-g"),fillRule:"nonzero"},I.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),I.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(h,"-path")}))))},s=i,o=function(a,c){var d={};for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&c.indexOf(h)<0&&(d[h]=a[h]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,h=Object.getOwnPropertySymbols(a);y<h.length;y++)c.indexOf(h[y])<0&&Object.prototype.propertyIsEnumerable.call(a,h[y])&&(d[h[y]]=a[h[y]]);return d},r=I.createElement(t,null),u=I.createElement(s,null),n=function(c){var d=c.className,h=c.prefixCls,y=c.image,A=y===void 0?r:y,v=c.description,g=c.children,x=c.imageStyle,m=o(c,["className","prefixCls","image","description","children","imageStyle"]),b=I.useContext(E.b),S=b.getPrefixCls,P=b.direction;return I.createElement(C.a,{componentName:"Empty"},function(M){var R,F=S("empty",h),L=typeof v!="undefined"?v:M.description,U=typeof L=="string"?L:"empty",N=null;return typeof A=="string"?N=I.createElement("img",{alt:U,src:A}):N=A,I.createElement("div",Object(T.a)({className:D()(F,(R={},Object(B.a)(R,"".concat(F,"-normal"),A===u),Object(B.a)(R,"".concat(F,"-rtl"),P==="rtl"),R),d)},m),I.createElement("div",{className:"".concat(F,"-image"),style:x},N),L&&I.createElement("div",{className:"".concat(F,"-description")},L),g&&I.createElement("div",{className:"".concat(F,"-footer")},g))})};n.PRESENTED_IMAGE_DEFAULT=r,n.PRESENTED_IMAGE_SIMPLE=u;var l=V.a=n},ELLl:function(oe,V,e){(function(B){B(e("VrN/"))})(function(B){var T={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},w=B.Pos;B.defineOption("autoCloseBrackets",!1,function(l,a,c){c&&c!=B.Init&&(l.removeKeyMap(I),l.state.closeBrackets=null),a&&(E(D(a,"pairs")),l.state.closeBrackets=a,l.addKeyMap(I))});function D(l,a){return a=="pairs"&&typeof l=="string"?l:typeof l=="object"&&l[a]!=null?l[a]:T[a]}var I={Backspace:t,Enter:i};function E(l){for(var a=0;a<l.length;a++){var c=l.charAt(a),d="'"+c+"'";I[d]||(I[d]=C(c))}}E(T.pairs+"`");function C(l){return function(a){return r(a,l)}}function f(l){var a=l.state.closeBrackets;if(!a||a.override)return a;var c=l.getModeAt(l.getCursor());return c.closeBrackets||a}function t(l){var a=f(l);if(!a||l.getOption("disableInput"))return B.Pass;for(var c=D(a,"pairs"),d=l.listSelections(),h=0;h<d.length;h++){if(!d[h].empty())return B.Pass;var y=u(l,d[h].head);if(!y||c.indexOf(y)%2!=0)return B.Pass}for(var h=d.length-1;h>=0;h--){var A=d[h].head;l.replaceRange("",w(A.line,A.ch-1),w(A.line,A.ch+1),"+delete")}}function i(l){var a=f(l),c=a&&D(a,"explode");if(!c||l.getOption("disableInput"))return B.Pass;for(var d=l.listSelections(),h=0;h<d.length;h++){if(!d[h].empty())return B.Pass;var y=u(l,d[h].head);if(!y||c.indexOf(y)%2!=0)return B.Pass}l.operation(function(){var A=l.lineSeparator()||`
|
|
|
`;l.replaceSelection(A+A,null),s(l,-1),d=l.listSelections();for(var v=0;v<d.length;v++){var g=d[v].head.line;l.indentLine(g,null,!0),l.indentLine(g+1,null,!0)}})}function s(l,a){for(var c=[],d=l.listSelections(),h=0,y=0;y<d.length;y++){var A=d[y];A.head==l.getCursor()&&(h=y);var v=A.head.ch||a>0?{line:A.head.line,ch:A.head.ch+a}:{line:A.head.line-1};c.push({anchor:v,head:v})}l.setSelections(c,h)}function o(l){var a=B.cmpPos(l.anchor,l.head)>0;return{anchor:new w(l.anchor.line,l.anchor.ch+(a?-1:1)),head:new w(l.head.line,l.head.ch+(a?1:-1))}}function r(l,a){var c=f(l);if(!c||l.getOption("disableInput"))return B.Pass;var d=D(c,"pairs"),h=d.indexOf(a);if(h==-1)return B.Pass;for(var y=D(c,"closeBefore"),A=D(c,"triples"),v=d.charAt(h+1)==a,g=l.listSelections(),x=h%2==0,m,b=0;b<g.length;b++){var S=g[b],P=S.head,M,R=l.getRange(P,w(P.line,P.ch+1));if(x&&!S.empty())M="surround";else if((v||!x)&&R==a)v&&n(l,P)?M="both":A.indexOf(a)>=0&&l.getRange(P,w(P.line,P.ch+3))==a+a+a?M="skipThree":M="skip";else if(v&&P.ch>1&&A.indexOf(a)>=0&&l.getRange(w(P.line,P.ch-2),P)==a+a){if(P.ch>2&&/\bstring/.test(l.getTokenTypeAt(w(P.line,P.ch-2))))return B.Pass;M="addFour"}else if(v){var F=P.ch==0?" ":l.getRange(w(P.line,P.ch-1),P);if(!B.isWordChar(R)&&F!=a&&!B.isWordChar(F))M="both";else return B.Pass}else if(x&&(R.length===0||/\s/.test(R)||y.indexOf(R)>-1))M="both";else return B.Pass;if(!m)m=M;else if(m!=M)return B.Pass}var L=h%2?d.charAt(h-1):a,U=h%2?a:d.charAt(h+1);l.operation(function(){if(m=="skip")s(l,1);else if(m=="skipThree")s(l,3);else if(m=="surround"){for(var N=l.getSelections(),Q=0;Q<N.length;Q++)N[Q]=L+N[Q]+U;l.replaceSelections(N,"around"),N=l.listSelections().slice();for(var Q=0;Q<N.length;Q++)N[Q]=o(N[Q]);l.setSelections(N)}else m=="both"?(l.replaceSelection(L+U,null),l.triggerElectric(L+U),s(l,-1)):m=="addFour"&&(l.replaceSelection(L+L+L+L,"before"),s(l,1))})}function u(l,a){var c=l.getRange(w(a.line,a.ch-1),w(a.line,a.ch+1));return c.length==2?c:null}function n(l,a){var c=l.getTokenAt(w(a.line,a.ch+1));return/\bstring/.test(c.type)&&c.start==a.ch&&(a.ch==0||!/\bstring/.test(l.getTokenTypeAt(a)))}})},EMyp:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("mFDi"),D=e("K4ya"),I=e("qJCg"),E=e("iLNv"),C=e("vZ6x"),f=["inBrush","outOfBrush"],t="__ecBrushSelect",i="__ecInBrushSelectEvent",s=B.PRIORITY.VISUAL.BRUSH;B.registerLayout(s,function(y,A,v){y.eachComponent({mainType:"brush"},function(g){v&&v.type==="takeGlobalCursor"&&g.setBrushOption(v.key==="brush"?v.brushOption:{brushType:!1})}),o(y)});function o(y){y.eachComponent({mainType:"brush"},function(A){var v=A.brushTargetManager=new C(A.option,y);v.setInputRanges(A.areas,y)})}B.registerVisual(s,function(y,A,v){var g=[],x,m;y.eachComponent({mainType:"brush"},function(b,S){var P={brushId:b.id,brushIndex:S,brushName:b.name,areas:T.clone(b.areas),selected:[]};g.push(P);var M=b.option,R=M.brushLink,F=[],L=[],U=[],N=0;S||(x=M.throttleType,m=M.throttleDelay);var Q=T.map(b.areas,function(W){return c(T.defaults({boundingRect:d[W.brushType](W)},W))}),z=D.createVisualMappings(b.option,f,function(W){W.mappingMethod="fixed"});T.isArray(R)&&T.each(R,function(W){F[W]=1});function _(W){return R==="all"||F[W]}function J(W){return!!W.length}y.eachSeries(function(W,ie){var fe=U[ie]=[];W.subType==="parallel"?Y(W,ie,fe):k(W,ie,fe)});function Y(W,ie){var fe=W.coordinateSystem;N|=fe.hasAxisBrushed(),_(ie)&&fe.eachActiveState(W.getData(),function(Ce,ge){Ce==="active"&&(L[ge]=1)})}function k(W,ie,fe){var Ce=l(W);if(!(!Ce||a(b,ie))&&(T.each(Q,function(de){Ce[de.brushType]&&b.brushTargetManager.controlSeries(de,W,y)&&fe.push(de),N|=J(fe)}),_(ie)&&J(fe))){var ge=W.getData();ge.each(function(de){n(Ce,fe,ge,de)&&(L[de]=1)})}}y.eachSeries(function(W,ie){var fe={seriesId:W.id,seriesIndex:ie,seriesName:W.name,dataIndex:[]};P.selected.push(fe);var Ce=l(W),ge=U[ie],de=W.getData(),Pe=_(ie)?function(_e){return L[_e]?(fe.dataIndex.push(de.getRawIndex(_e)),"inBrush"):"outOfBrush"}:function(_e){return n(Ce,ge,de,_e)?(fe.dataIndex.push(de.getRawIndex(_e)),"inBrush"):"outOfBrush"};(_(ie)?N:J(ge))&&D.applyVisual(f,z,de,Pe)})}),r(A,x,m,g,v)});function r(y,A,v,g,x){if(!!x){var m=y.getZr();if(!m[i]){m[t]||(m[t]=u);var b=E.createOrUpdate(m,t,v,A);b(y,g)}}}function u(y,A){if(!y.isDisposed()){var v=y.getZr();v[i]=!0,y.dispatchAction({type:"brushSelect",batch:A}),v[i]=!1}}function n(y,A,v,g){for(var x=0,m=A.length;x<m;x++){var b=A[x];if(y[b.brushType](g,v,b.selectors,b))return!0}}function l(y){var A=y.brushSelector;if(T.isString(A)){var v=[];return T.each(I,function(x,m){v[m]=function(b,S,P,M){var R=S.getItemLayout(b);return x[A](R,P,M)}}),v}else if(T.isFunction(A)){var g={};return T.each(I,function(x,m){g[m]=A}),g}return A}function a(y,A){var v=y.option.seriesIndex;return v!=null&&v!=="all"&&(T.isArray(v)?T.indexOf(v,A)<0:A!==v)}function c(y){var A=y.selectors={};return T.each(I[y.brushType],function(v,g){A[g]=function(x){return v(x,A,y)}}),y}var d={lineX:T.noop,lineY:T.noop,rect:function(y){return h(y.range)},polygon:function(y){for(var A,v=y.range,g=0,x=v.length;g<x;g++){A=A||[[Infinity,-Infinity],[Infinity,-Infinity]];var m=v[g];m[0]<A[0][0]&&(A[0][0]=m[0]),m[0]>A[0][1]&&(A[0][1]=m[0]),m[1]<A[1][0]&&(A[1][0]=m[1]),m[1]>A[1][1]&&(A[1][1]=m[1])}return A&&h(A)}};function h(y){return new w(y[0][0],y[1][0],y[0][1]-y[0][0],y[1][1]-y[1][0])}V.layoutCovers=o},ERHi:function(oe,V,e){var B=e("ProS");e("Z6js"),e("R4Th");var T=e("f5Yq"),w=e("h8O9");B.registerVisual(T("effectScatter","circle")),B.registerLayout(w("effectScatter"))},Em2t:function(oe,V,e){var B=e("bahg"),T=e("quyA"),w=e("0JQy");function D(I){return T(I)?w(I):B(I)}oe.exports=D},Ez2D:function(oe,V,e){var B=e("bYtY"),T=e("4NO4");function w(D,I){var E=[],C=D.seriesIndex,f;if(C==null||!(f=I.getSeriesByIndex(C)))return{point:[]};var t=f.getData(),i=T.queryDataIndex(t,D);if(i==null||i<0||B.isArray(i))return{point:[]};var s=t.getItemGraphicEl(i),o=f.coordinateSystem;if(f.getTooltipPosition)E=f.getTooltipPosition(i)||[];else if(o&&o.dataToPoint)E=o.dataToPoint(t.getValues(B.map(o.dimensions,function(u){return t.mapDimension(u)}),i,!0))||[];else if(s){var r=s.getBoundingRect().clone();r.applyTransform(s.transform),E=[r.x+r.width/2,r.y+r.height/2]}return{point:E,el:s}}oe.exports=w},F0hE:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("ca2m"),D=e("Qxkt"),I=e("ICMv"),E=w.valueAxis;function C(i,s){return T.defaults({show:s},i)}var f=B.extendComponentModel({type:"radar",optionUpdated:function(){var i=this.get("boundaryGap"),s=this.get("splitNumber"),o=this.get("scale"),r=this.get("axisLine"),u=this.get("axisTick"),n=this.get("axisType"),l=this.get("axisLabel"),a=this.get("name"),c=this.get("name.show"),d=this.get("name.formatter"),h=this.get("nameGap"),y=this.get("triggerEvent"),A=T.map(this.get("indicator")||[],function(v){v.max!=null&&v.max>0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var g=a;if(v.color!=null&&(g=T.defaults({color:v.color},a)),v=T.merge(T.clone(v),{boundaryGap:i,splitNumber:s,scale:o,axisLine:r,axisTick:u,axisType:n,axisLabel:l,name:v.text,nameLocation:"end",nameGap:h,nameTextStyle:g,triggerEvent:y},!1),c||(v.name=""),typeof d=="string"){var x=v.name;v.name=d.replace("{value}",x!=null?x:"")}else typeof d=="function"&&(v.name=d(v.name,v));var m=T.extend(new D(v,null,this.ecModel),I);return m.mainType="radar",m.componentIndex=this.componentIndex,m},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:T.merge({lineStyle:{color:"#bbb"}},E.axisLine),axisLabel:C(E.axisLabel,!1),axisTick:C(E.axisTick,!1),axisType:"interval",splitLine:C(E.splitLine,!0),splitArea:C(E.splitArea,!0),indicator:[]}}),t=f;oe.exports=t},F5Ls:function(oe,V){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 B(T,w){if(T==="china"){var D=e[w.name];if(D){var I=w.center;I[0]+=D[0]/10.5,I[1]+=-D[1]/(10.5/.75)}}}oe.exports=B},F7hV:function(oe,V,e){var B=e("MBQ8"),T=B.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var w=this.get("progressiveThreshold"),D=this.get("largeThreshold");return D>w&&(w=D),w},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}}});oe.exports=T},F9bG:function(oe,V,e){var B=e("bYtY"),T=e("ItGF"),w=e("4NO4"),D=w.makeInner,I=D(),E=B.each;function C(u,n,l){if(!T.node){var a=n.getZr();I(a).records||(I(a).records={}),f(a,n);var c=I(a).records[u]||(I(a).records[u]={});c.handler=l}}function f(u,n){if(I(u).initialized)return;I(u).initialized=!0,l("click",B.curry(s,"click")),l("mousemove",B.curry(s,"mousemove")),l("globalout",i);function l(a,c){u.on(a,function(d){var h=o(n);E(I(u).records,function(y){y&&c(y,d,h.dispatchAction)}),t(h.pendings,n)})}}function t(u,n){var l=u.showTip.length,a=u.hideTip.length,c;l?c=u.showTip[l-1]:a&&(c=u.hideTip[a-1]),c&&(c.dispatchAction=null,n.dispatchAction(c))}function i(u,n,l){u.handler("leave",null,l)}function s(u,n,l,a){n.handler(u,l,a)}function o(u){var n={showTip:[],hideTip:[]},l=function(a){var c=n[a.type];c?c.push(a):(a.dispatchAction=l,u.dispatchAction(a))};return{dispatchAction:l,pendings:n}}function r(u,n){if(!T.node){var l=n.getZr(),a=(I(l).records||{})[u];a&&(I(l).records[u]=null)}}V.register=C,V.unregister=r},FBjb:function(oe,V,e){var B=e("bYtY"),T=e("oVpE"),w=T.createSymbol,D=e("IwbS"),I=e("OELB"),E=I.parsePercent,C=e("x3X8"),f=C.getDefaultLabel;function t(h,y,A){D.Group.call(this),this.updateData(h,y,A)}var i=t.prototype,s=t.getSymbolSize=function(h,y){var A=h.getItemVisual(y,"symbolSize");return A instanceof Array?A.slice():[+A,+A]};function o(h){return[h[0]/2,h[1]/2]}function r(h,y){this.parent.drift(h,y)}i._createSymbol=function(h,y,A,v,g){this.removeAll();var x=y.getItemVisual(A,"color"),m=w(h,-1,-1,2,2,x,g);m.attr({z2:100,culling:!0,scale:o(v)}),m.drift=r,this._symbolType=h,this.add(m)},i.stopSymbolAnimation=function(h){this.childAt(0).stopAnimation(h)},i.getSymbolPath=function(){return this.childAt(0)},i.getScale=function(){return this.childAt(0).scale},i.highlight=function(){this.childAt(0).trigger("emphasis")},i.downplay=function(){this.childAt(0).trigger("normal")},i.setZ=function(h,y){var A=this.childAt(0);A.zlevel=h,A.z=y},i.setDraggable=function(h){var y=this.childAt(0);y.draggable=h,y.cursor=h?"move":y.cursor},i.updateData=function(h,y,A){this.silent=!1;var v=h.getItemVisual(y,"symbol")||"circle",g=h.hostModel,x=s(h,y),m=v!==this._symbolType;if(m){var b=h.getItemVisual(y,"symbolKeepAspect");this._createSymbol(v,h,y,x,b)}else{var S=this.childAt(0);S.silent=!1,D.updateProps(S,{scale:o(x)},g,y)}if(this._updateCommon(h,y,x,A),m){var S=this.childAt(0),P=A&&A.fadeIn,M={scale:S.scale.slice()};P&&(M.style={opacity:S.style.opacity}),S.scale=[0,0],P&&(S.style.opacity=0),D.initProps(S,M,g,y)}this._seriesModel=g};var u=["itemStyle"],n=["emphasis","itemStyle"],l=["label"],a=["emphasis","label"];i._updateCommon=function(h,y,A,v){var g=this.childAt(0),x=h.hostModel,m=h.getItemVisual(y,"color");g.type!=="image"?g.useStyle({strokeNoScale:!0}):g.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var b=v&&v.itemStyle,S=v&&v.hoverItemStyle,P=v&&v.symbolOffset,M=v&&v.labelModel,R=v&&v.hoverLabelModel,F=v&&v.hoverAnimation,L=v&&v.cursorStyle;if(!v||h.hasItemOption){var U=v&&v.itemModel?v.itemModel:h.getItemModel(y);b=U.getModel(u).getItemStyle(["color"]),S=U.getModel(n).getItemStyle(),P=U.getShallow("symbolOffset"),M=U.getModel(l),R=U.getModel(a),F=U.getShallow("hoverAnimation"),L=U.getShallow("cursor")}else S=B.extend({},S);var N=g.style,Q=h.getItemVisual(y,"symbolRotate");g.attr("rotation",(Q||0)*Math.PI/180||0),P&&g.attr("position",[E(P[0],A[0]),E(P[1],A[1])]),L&&g.attr("cursor",L),g.setColor(m,v&&v.symbolInnerColor),g.setStyle(b);var z=h.getItemVisual(y,"opacity");z!=null&&(N.opacity=z);var _=h.getItemVisual(y,"liftZ"),J=g.__z2Origin;_!=null?J==null&&(g.__z2Origin=g.z2,g.z2+=_):J!=null&&(g.z2=J,g.__z2Origin=null);var Y=v&&v.useNameLabel;D.setLabelStyle(N,S,M,R,{labelFetcher:x,labelDataIndex:y,defaultText:k,isRectText:!0,autoColor:m});function k(W,ie){return Y?h.getName(W):f(h,W)}g.__symbolOriginalScale=o(A),g.hoverStyle=S,g.highDownOnUpdate=F&&x.isAnimationEnabled()?c:null,D.setHoverStyle(g)};function c(h,y){if(!(this.incremental||this.useHoverLayer))if(y==="emphasis"){var A=this.__symbolOriginalScale,v=A[1]/A[0],g={scale:[Math.max(A[0]*1.1,A[0]+3),Math.max(A[1]*1.1,A[1]+3*v)]};this.animateTo(g,400,"elasticOut")}else y==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}i.fadeOut=function(h,y){var A=this.childAt(0);this.silent=A.silent=!0,!(y&&y.keepLabel)&&(A.style.text=null),D.updateProps(A,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,h)},B.inherits(t,D.Group);var d=t;oe.exports=d},FGaS:function(oe,V,e){var B=e("ProS"),T=e("IwbS"),w=e("bYtY"),D=e("oVpE");function I(C){return w.isArray(C)||(C=[+C,+C]),C}var E=B.extendChartView({type:"radar",render:function(C,f,t){var i=C.coordinateSystem,s=this.group,o=C.getData(),r=this._data;function u(a,c){var d=a.getItemVisual(c,"symbol")||"circle",h=a.getItemVisual(c,"color");if(d!=="none"){var y=I(a.getItemVisual(c,"symbolSize")),A=D.createSymbol(d,-1,-1,2,2,h),v=a.getItemVisual(c,"symbolRotate")||0;return A.attr({style:{strokeNoScale:!0},z2:100,scale:[y[0]/2,y[1]/2],rotation:v*Math.PI/180||0}),A}}function n(a,c,d,h,y,A){d.removeAll();for(var v=0;v<c.length-1;v++){var g=u(h,y);g&&(g.__dimIdx=v,a[v]?(g.attr("position",a[v]),T[A?"initProps":"updateProps"](g,{position:c[v]},C,y)):g.attr("position",c[v]),d.add(g))}}function l(a){return w.map(a,function(c){return[i.cx,i.cy]})}o.diff(r).add(function(a){var c=o.getItemLayout(a);if(!!c){var d=new T.Polygon,h=new T.Polyline,y={shape:{points:c}};d.shape.points=l(c),h.shape.points=l(c),T.initProps(d,y,C,a),T.initProps(h,y,C,a);var A=new T.Group,v=new T.Group;A.add(h),A.add(d),A.add(v),n(h.shape.points,c,v,o,a,!0),o.setItemGraphicEl(a,A)}}).update(function(a,c){var d=r.getItemGraphicEl(c),h=d.childAt(0),y=d.childAt(1),A=d.childAt(2),v={shape:{points:o.getItemLayout(a)}};!v.shape.points||(n(h.shape.points,v.shape.points,A,o,a,!1),T.updateProps(h,v,C),T.updateProps(y,v,C),o.setItemGraphicEl(a,d))}).remove(function(a){s.remove(r.getItemGraphicEl(a))}).execute(),o.eachItemGraphicEl(function(a,c){var d=o.getItemModel(c),h=a.childAt(0),y=a.childAt(1),A=a.childAt(2),v=o.getItemVisual(c,"color");s.add(a),h.useStyle(w.defaults(d.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:v})),h.hoverStyle=d.getModel("emphasis.lineStyle").getLineStyle();var g=d.getModel("areaStyle"),x=d.getModel("emphasis.areaStyle"),m=g.isEmpty()&&g.parentModel.isEmpty(),b=x.isEmpty()&&x.parentModel.isEmpty();b=b&&m,y.ignore=m,y.useStyle(w.defaults(g.getAreaStyle(),{fill:v,opacity:.7})),y.hoverStyle=x.getAreaStyle();var S=d.getModel("itemStyle").getItemStyle(["color"]),P=d.getModel("emphasis.itemStyle").getItemStyle(),M=d.getModel("label"),R=d.getModel("emphasis.label");A.eachChild(function(F){F.setStyle(S),F.hoverStyle=w.clone(P);var L=o.get(o.dimensions[F.__dimIdx],c);(L==null||isNaN(L))&&(L=""),T.setLabelStyle(F.style,F.hoverStyle,M,R,{labelFetcher:o.hostModel,labelDataIndex:c,labelDimIndex:F.__dimIdx,defaultText:L,autoColor:v,isRectText:!0})}),a.highDownOnUpdate=function(F,L){y.attr("ignore",L==="emphasis"?b:m)},T.setHoverStyle(a)}),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});oe.exports=E},FIfw:function(oe,V,e){},FNN5:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("+rIm"),D=e("Znkb"),I=["axisLine","axisTickLabel","axisName"],E=["splitLine","splitArea","minorSplitLine"],C=D.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,i){if(this.group.removeAll(),!!t.get("show")){var s=t.axis,o=s.polar,r=o.getAngleAxis(),u=s.getTicksCoords(),n=s.getMinorTicksCoords(),l=r.getExtent()[0],a=s.getExtent(),c=f(o,t,l),d=new w(t,c);B.each(I,d.add,d),this.group.add(d.getGroup()),B.each(E,function(h){t.get(h+".show")&&!s.scale.isBlank()&&this["_"+h](t,o,l,a,u,n)},this)}},_splitLine:function(t,i,s,o,r){var u=t.getModel("splitLine"),n=u.getModel("lineStyle"),l=n.get("color"),a=0;l=l instanceof Array?l:[l];for(var c=[],d=0;d<r.length;d++){var h=a++%l.length;c[h]=c[h]||[],c[h].push(new T.Circle({shape:{cx:i.cx,cy:i.cy,r:r[d].coord}}))}for(var d=0;d<c.length;d++)this.group.add(T.mergePath(c[d],{style:B.defaults({stroke:l[d%l.length],fill:null},n.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,i,s,o,r,u){if(!!u.length){for(var n=t.getModel("minorSplitLine"),l=n.getModel("lineStyle"),a=[],c=0;c<u.length;c++)for(var d=0;d<u[c].length;d++)a.push(new T.Circle({shape:{cx:i.cx,cy:i.cy,r:u[c][d].coord}}));this.group.add(T.mergePath(a,{style:B.defaults({fill:null},l.getLineStyle()),silent:!0}))}},_splitArea:function(t,i,s,o,r){if(!!r.length){var u=t.getModel("splitArea"),n=u.getModel("areaStyle"),l=n.get("color"),a=0;l=l instanceof Array?l:[l];for(var c=[],d=r[0].coord,h=1;h<r.length;h++){var y=a++%l.length;c[y]=c[y]||[],c[y].push(new T.Sector({shape:{cx:i.cx,cy:i.cy,r0:d,r:r[h].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),d=r[h].coord}for(var h=0;h<c.length;h++)this.group.add(T.mergePath(c[h],{style:B.defaults({fill:l[h%l.length]},n.getAreaStyle()),silent:!0}))}}});function f(t,i,s){return{position:[t.cx,t.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:i.getModel("axisLabel").get("rotate"),z2:1}}oe.exports=C},FUi9:function(oe,V,e){var B=e("bYtY"),T=e("MwEJ"),w=e("aX7z"),D=e("ICMv"),I=e("Qxkt"),E=e("+TT/"),C=E.getLayoutRect;V.getLayoutRect=E.getLayoutRect;var f=e("7hqr"),t=f.enableDataStack,i=f.isDimensionStacked,s=f.getStackedDimension,o=e("hi0g");V.completeDimensions=o;var r=e("sdST");V.createDimensions=r;var u=e("oVpE");V.createSymbol=u.createSymbol;function n(d){return T(d.getSource(),d)}var l={isDimensionStacked:i,enableDataStack:t,getStackedDimension:s};function a(d,h){var y=h;I.isInstance(h)||(y=new I(h),B.mixin(y,D));var A=w.createScaleByModel(y);return A.setExtent(d[0],d[1]),w.niceScaleExtent(A,y),A}function c(d){B.mixin(d,D)}V.createList=n,V.dataStack=l,V.createScale=a,V.mixinAxisModelCommonMethods=c},"Fa/5":function(oe,V,e){var B=e("ProS");e("y2l5"),e("q/+u");var T=e("f5Yq"),w=e("h8O9");e("Ae16"),B.registerVisual(T("scatter","circle")),B.registerLayout(w("scatter"))},Fofx:function(oe,V){var e=typeof Float32Array=="undefined"?Array:Float32Array;function B(){var i=new e(6);return T(i),i}function T(i){return i[0]=1,i[1]=0,i[2]=0,i[3]=1,i[4]=0,i[5]=0,i}function w(i,s){return i[0]=s[0],i[1]=s[1],i[2]=s[2],i[3]=s[3],i[4]=s[4],i[5]=s[5],i}function D(i,s,o){var r=s[0]*o[0]+s[2]*o[1],u=s[1]*o[0]+s[3]*o[1],n=s[0]*o[2]+s[2]*o[3],l=s[1]*o[2]+s[3]*o[3],a=s[0]*o[4]+s[2]*o[5]+s[4],c=s[1]*o[4]+s[3]*o[5]+s[5];return i[0]=r,i[1]=u,i[2]=n,i[3]=l,i[4]=a,i[5]=c,i}function I(i,s,o){return i[0]=s[0],i[1]=s[1],i[2]=s[2],i[3]=s[3],i[4]=s[4]+o[0],i[5]=s[5]+o[1],i}function E(i,s,o){var r=s[0],u=s[2],n=s[4],l=s[1],a=s[3],c=s[5],d=Math.sin(o),h=Math.cos(o);return i[0]=r*h+l*d,i[1]=-r*d+l*h,i[2]=u*h+a*d,i[3]=-u*d+h*a,i[4]=h*n+d*c,i[5]=h*c-d*n,i}function C(i,s,o){var r=o[0],u=o[1];return i[0]=s[0]*r,i[1]=s[1]*u,i[2]=s[2]*r,i[3]=s[3]*u,i[4]=s[4]*r,i[5]=s[5]*u,i}function f(i,s){var o=s[0],r=s[2],u=s[4],n=s[1],l=s[3],a=s[5],c=o*l-n*r;return c?(c=1/c,i[0]=l*c,i[1]=-n*c,i[2]=-r*c,i[3]=o*c,i[4]=(r*a-l*u)*c,i[5]=(n*u-o*a)*c,i):null}function t(i){var s=B();return w(s,i),s}V.create=B,V.identity=T,V.copy=w,V.mul=D,V.translate=I,V.rotate=E,V.scale=C,V.invert=f,V.clone=t},FxDU:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.createSensor=void 0;var B=e("QO+J"),T=e("j5sG"),w=typeof ResizeObserver!="undefined"?T.createSensor:B.createSensor;V.createSensor=w},FzHg:function(oe,V){(function(e,B){oe.exports=function(){var T={722:function(I){I.exports=e}},w={};function D(I){if(w[I])return w[I].exports;var E=w[I]={exports:{}},C=!0;try{T[I](E,E.exports,D),C=!1}finally{C&&delete w[I]}return E.exports}return D.ab=B+"/",D(722)}()}).call(this,{},"/")},GIiI:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="PoweroffOutlined";var C=V.a=T.forwardRef(E)},GMDS:function(oe,V,e){var B=e("bYtY"),T=e("4NgU"),w=e("jkPA"),D=T.prototype,I=T.extend({type:"ordinal",init:function(C,f){(!C||B.isArray(C))&&(C=new w({categories:C})),this._ordinalMeta=C,this._extent=f||[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),D.contain.call(this,C)&&this._ordinalMeta.categories[C]!=null},normalize:function(C){return D.normalize.call(this,this.parse(C))},scale:function(C){return Math.round(D.scale.call(this,C))},getTicks:function(){for(var C=[],f=this._extent,t=f[0];t<=f[1];)C.push(t),t++;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,f){this.unionExtent(C.getApproximateExtent(f))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:B.noop,niceExtent:B.noop});I.create=function(){return new I};var E=I;oe.exports=E},GVMX:function(oe,V,e){var B=e("JEkh"),T=B.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"}});oe.exports=T},GeKi:function(oe,V,e){var B=e("bYtY"),T=e("6Ic6"),w=e("IwbS"),D=e("y+Vt"),I=e("sK/D"),E=I.createClipPath,C=["itemStyle"],f=["emphasis","itemStyle"],t=["color","color0","borderColor","borderColor0"],i=T.extend({type:"candlestick",render:function(h,y,A){this.group.removeClipPath(),this._updateDrawMode(h),this._isLargeDraw?this._renderLarge(h):this._renderNormal(h)},incrementalPrepareRender:function(h,y,A){this._clear(),this._updateDrawMode(h)},incrementalRender:function(h,y,A,v){this._isLargeDraw?this._incrementalRenderLarge(h,y):this._incrementalRenderNormal(h,y)},_updateDrawMode:function(h){var y=h.pipelineContext.large;(this._isLargeDraw==null||y^this._isLargeDraw)&&(this._isLargeDraw=y,this._clear())},_renderNormal:function(h){var y=h.getData(),A=this._data,v=this.group,g=y.getLayout("isSimpleBox"),x=h.get("clip",!0),m=h.coordinateSystem,b=m.getArea&&m.getArea();this._data||v.removeAll(),y.diff(A).add(function(S){if(y.hasValue(S)){var P,M=y.getItemLayout(S);if(x&&r(b,M))return;P=o(M,S,!0),w.initProps(P,{shape:{points:M.ends}},h,S),u(P,y,S,g),v.add(P),y.setItemGraphicEl(S,P)}}).update(function(S,P){var M=A.getItemGraphicEl(P);if(!y.hasValue(S)){v.remove(M);return}var R=y.getItemLayout(S);if(x&&r(b,R)){v.remove(M);return}M?w.updateProps(M,{shape:{points:R.ends}},h,S):M=o(R,S),u(M,y,S,g),v.add(M),y.setItemGraphicEl(S,M)}).remove(function(S){var P=A.getItemGraphicEl(S);P&&v.remove(P)}).execute(),this._data=y},_renderLarge:function(h){this._clear(),a(h,this.group);var y=h.get("clip",!0)?E(h.coordinateSystem,!1,h):null;y?this.group.setClipPath(y):this.group.removeClipPath()},_incrementalRenderNormal:function(h,y){for(var A=y.getData(),v=A.getLayout("isSimpleBox"),g;(g=h.next())!=null;){var x,m=A.getItemLayout(g);x=o(m,g),u(x,A,g,v),x.incremental=!0,this.group.add(x)}},_incrementalRenderLarge:function(h,y){a(y,this.group,!0)},remove:function(h){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:B.noop}),s=D.extend({type:"normalCandlestickBox",shape:{},buildPath:function(h,y){var A=y.points;this.__simpleBox?(h.moveTo(A[4][0],A[4][1]),h.lineTo(A[6][0],A[6][1])):(h.moveTo(A[0][0],A[0][1]),h.lineTo(A[1][0],A[1][1]),h.lineTo(A[2][0],A[2][1]),h.lineTo(A[3][0],A[3][1]),h.closePath(),h.moveTo(A[4][0],A[4][1]),h.lineTo(A[5][0],A[5][1]),h.moveTo(A[6][0],A[6][1]),h.lineTo(A[7][0],A[7][1]))}});function o(h,y,A){var v=h.ends;return new s({shape:{points:A?n(v,h):v},z2:100})}function r(h,y){for(var A=!0,v=0;v<y.ends.length;v++)if(h.contain(y.ends[v][0],y.ends[v][1])){A=!1;break}return A}function u(h,y,A,v){var g=y.getItemModel(A),x=g.getModel(C),m=y.getItemVisual(A,"color"),b=y.getItemVisual(A,"borderColor")||m,S=x.getItemStyle(t);h.useStyle(S),h.style.strokeNoScale=!0,h.style.fill=m,h.style.stroke=b,h.__simpleBox=v;var P=g.getModel(f).getItemStyle();w.setHoverStyle(h,P)}function n(h,y){return B.map(h,function(A){return A=A.slice(),A[1]=y.initBaseline,A})}var l=D.extend({type:"largeCandlestickBox",shape:{},buildPath:function(h,y){for(var A=y.points,v=0;v<A.length;)if(this.__sign===A[v++]){var g=A[v++];h.moveTo(g,A[v++]),h.lineTo(g,A[v++])}else v+=3}});function a(h,y,A){var v=h.getData(),g=v.getLayout("largePoints"),x=new l({shape:{points:g},__sign:1});y.add(x);var m=new l({shape:{points:g},__sign:-1});y.add(m),c(1,x,h,v),c(-1,m,h,v),A&&(x.incremental=!0,m.incremental=!0)}function c(h,y,A,v){var g=h>0?"P":"N",x=v.getVisual("borderColor"+g)||v.getVisual("color"+g),m=A.getModel(C).getItemStyle(t);y.useStyle(m),y.style.fill=null,y.style.stroke=x}var d=i;oe.exports=d},Gev7:function(oe,V,e){var B=e("bYtY"),T=e("K2GJ"),w=e("1bdT"),D=e("ni6a");function I(C){C=C||{},w.call(this,C);for(var f in C)C.hasOwnProperty(f)&&f!=="style"&&(this[f]=C[f]);this.style=new T(C.style,this),this._rect=null,this.__clipPaths=null}I.prototype={constructor:I,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(f){},afterBrush:function(f){},brush:function(f,t){},getBoundingRect:function(){},contain:function(f,t){return this.rectContain(f,t)},traverse:function(f,t){f.call(t,this)},rectContain:function(f,t){var i=this.transformCoordToLocal(f,t),s=this.getBoundingRect();return s.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(f){return this.animate("style",f)},attrKV:function(f,t){f!=="style"?w.prototype.attrKV.call(this,f,t):this.style.set(t)},setStyle:function(f,t){return this.style.set(f,t),this.dirty(!1),this},useStyle:function(f){return this.style=new T(f,this),this.dirty(!1),this},calculateTextPosition:null},B.inherits(I,w),B.mixin(I,D);var E=I;oe.exports=E},GrNh:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("6Ic6");function D(i,s,o,r){var u=s.getData(),n=this.dataIndex,l=u.getName(n),a=s.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:i,name:l,seriesId:s.id}),u.each(function(c){I(u.getItemGraphicEl(c),u.getItemLayout(c),s.isSelected(u.getName(c)),a,o)})}function I(i,s,o,r,u){var n=(s.startAngle+s.endAngle)/2,l=Math.cos(n),a=Math.sin(n),c=o?r:0,d=[l*c,a*c];u?i.animate().when(200,{position:d}).start("bounceOut"):i.attr("position",d)}function E(i,s){T.Group.call(this);var o=new T.Sector({z2:2}),r=new T.Polyline,u=new T.Text;this.add(o),this.add(r),this.add(u),this.updateData(i,s,!0)}var C=E.prototype;C.updateData=function(i,s,o){var r=this.childAt(0),u=this.childAt(1),n=this.childAt(2),l=i.hostModel,a=i.getItemModel(s),c=i.getItemLayout(s),d=B.extend({},c);d.label=null;var h=l.getShallow("animationTypeUpdate");if(o){r.setShape(d);var y=l.getShallow("animationType");y==="scale"?(r.shape.r=c.r0,T.initProps(r,{shape:{r:c.r}},l,s)):(r.shape.endAngle=c.startAngle,T.updateProps(r,{shape:{endAngle:c.endAngle}},l,s))}else h==="expansion"?r.setShape(d):T.updateProps(r,{shape:d},l,s);var A=i.getItemVisual(s,"color");r.useStyle(B.defaults({lineJoin:"bevel",fill:A},a.getModel("itemStyle").getItemStyle())),r.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle();var v=a.getShallow("cursor");v&&r.attr("cursor",v),I(this,i.getItemLayout(s),l.isSelected(i.getName(s)),l.get("selectedOffset"),l.get("animation"));var g=!o&&h==="transition";this._updateLabel(i,s,g),this.highDownOnUpdate=l.get("silent")?null:function(x,m){var b=l.isAnimationEnabled()&&a.get("hoverAnimation");m==="emphasis"?(u.ignore=u.hoverIgnore,n.ignore=n.hoverIgnore,b&&(r.stopAnimation(!0),r.animateTo({shape:{r:c.r+l.get("hoverOffset")}},300,"elasticOut"))):(u.ignore=u.normalIgnore,n.ignore=n.normalIgnore,b&&(r.stopAnimation(!0),r.animateTo({shape:{r:c.r}},300,"elasticOut")))},T.setHoverStyle(this)},C._updateLabel=function(i,s,o){var r=this.childAt(1),u=this.childAt(2),n=i.hostModel,l=i.getItemModel(s),a=i.getItemLayout(s),c=a.label,d=i.getItemVisual(s,"color");if(!c||isNaN(c.x)||isNaN(c.y)){u.ignore=u.normalIgnore=u.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;return}var h={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},y={x:c.x,y:c.y};o?(T.updateProps(r,{shape:h},n,s),T.updateProps(u,{style:y},n,s)):(r.attr({shape:h}),u.attr({style:y})),u.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var A=l.getModel("label"),v=l.getModel("emphasis.label"),g=l.getModel("labelLine"),x=l.getModel("emphasis.labelLine"),d=i.getItemVisual(s,"color");T.setLabelStyle(u.style,u.hoverStyle={},A,v,{labelFetcher:i.hostModel,labelDataIndex:s,defaultText:c.text,autoColor:d,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:i.getItemVisual(s,"opacity")}),u.ignore=u.normalIgnore=!A.get("show"),u.hoverIgnore=!v.get("show"),r.ignore=r.normalIgnore=!g.get("show"),r.hoverIgnore=!x.get("show"),r.setStyle({stroke:d,opacity:i.getItemVisual(s,"opacity")}),r.setStyle(g.getModel("lineStyle").getLineStyle()),r.hoverStyle=x.getModel("lineStyle").getLineStyle();var m=g.get("smooth");m&&m===!0&&(m=.4),r.setShape({smooth:m})},B.inherits(E,T.Group);var f=w.extend({type:"pie",init:function(){var i=new T.Group;this._sectorGroup=i},render:function(i,s,o,r){if(!(r&&r.from===this.uid)){var u=i.getData(),n=this._data,l=this.group,a=s.get("animation"),c=!n,d=i.get("animationType"),h=i.get("animationTypeUpdate"),y=B.curry(D,this.uid,i,a,o),A=i.get("selectedMode");if(u.diff(n).add(function(b){var S=new E(u,b);c&&d!=="scale"&&S.eachChild(function(P){P.stopAnimation(!0)}),A&&S.on("click",y),u.setItemGraphicEl(b,S),l.add(S)}).update(function(b,S){var P=n.getItemGraphicEl(S);!c&&h!=="transition"&&P.eachChild(function(M){M.stopAnimation(!0)}),P.updateData(u,b),P.off("click"),A&&P.on("click",y),l.add(P),u.setItemGraphicEl(b,P)}).remove(function(b){var S=n.getItemGraphicEl(b);l.remove(S)}).execute(),a&&u.count()>0&&(c?d!=="scale":h!=="transition")){for(var v=u.getItemLayout(0),g=1;isNaN(v.startAngle)&&g<u.count();++g)v=u.getItemLayout(g);var x=Math.max(o.getWidth(),o.getHeight())/2,m=B.bind(l.removeClipPath,l);l.setClipPath(this._createClipPath(v.cx,v.cy,x,v.startAngle,v.clockwise,m,i,c))}else l.removeClipPath();this._data=u}},dispose:function(){},_createClipPath:function(i,s,o,r,u,n,l,a){var c=new T.Sector({shape:{cx:i,cy:s,r0:0,r:o,startAngle:r,endAngle:r,clockwise:u}}),d=a?T.initProps:T.updateProps;return d(c,{shape:{endAngle:r+(u?1:-1)*Math.PI*2}},l,n),c},containPoint:function(i,s){var o=s.getData(),r=o.getItemLayout(0);if(r){var u=i[0]-r.cx,n=i[1]-r.cy,l=Math.sqrt(u*u+n*n);return l<=r.r&&l>=r.r0}}}),t=f;oe.exports=t},GzdX:function(oe,V,e){"use strict";var B=e("wx14"),T=e("VTBJ"),w=e("q1tI"),D=e.n(w),I={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"},E=I,C=e("6VBw"),f=function(L,U){return w.createElement(C.a,Object(T.a)(Object(T.a)({},L),{},{ref:U,icon:E}))};f.displayName="StarFilled";var t=w.forwardRef(f),i=e("rePB"),s=e("1OyB"),o=e("vuIU"),r=e("Ji7U"),u=e("LK+K"),n=e("m+aA"),l=e("TSYQ"),a=e.n(l),c=e("4IlW");function d(F){var L=F.pageXOffset,U="scrollLeft";if(typeof L!="number"){var N=F.document;L=N.documentElement[U],typeof L!="number"&&(L=N.body[U])}return L}function h(F){var L,U,N=F.ownerDocument,Q=N.body,z=N&&N.documentElement,_=F.getBoundingClientRect();return L=_.left,U=_.top,L-=z.clientLeft||Q.clientLeft||0,U-=z.clientTop||Q.clientTop||0,{left:L,top:U}}function y(F){var L=h(F),U=F.ownerDocument,N=U.defaultView||U.parentWindow;return L.left+=d(N),L.left}var A=function(F){Object(r.a)(U,F);var L=Object(u.a)(U);function U(){var N;Object(s.a)(this,U);for(var Q=arguments.length,z=new Array(Q),_=0;_<Q;_++)z[_]=arguments[_];return N=L.call.apply(L,[this].concat(z)),N.onHover=function(J){var Y=N.props,k=Y.onHover,W=Y.index;k(J,W)},N.onClick=function(J){var Y=N.props,k=Y.onClick,W=Y.index;k(J,W)},N.onKeyDown=function(J){var Y=N.props,k=Y.onClick,W=Y.index;J.keyCode===13&&k(J,W)},N}return Object(o.a)(U,[{key:"getClassName",value:function(){var Q=this.props,z=Q.prefixCls,_=Q.index,J=Q.value,Y=Q.allowHalf,k=Q.focused,W=_+1,ie=z;return J===0&&_===0&&k?ie+=" ".concat(z,"-focused"):Y&&J+.5>=W&&J<W?(ie+=" ".concat(z,"-half ").concat(z,"-active"),k&&(ie+=" ".concat(z,"-focused"))):(ie+=W<=J?" ".concat(z,"-full"):" ".concat(z,"-zero"),W===J&&k&&(ie+=" ".concat(z,"-focused"))),ie}},{key:"render",value:function(){var Q=this.onHover,z=this.onClick,_=this.onKeyDown,J=this.props,Y=J.disabled,k=J.prefixCls,W=J.character,ie=J.characterRender,fe=J.index,Ce=J.count,ge=J.value,de=typeof W=="function"?W(this.props):W,Pe=D.a.createElement("li",{className:this.getClassName()},D.a.createElement("div",{onClick:Y?null:z,onKeyDown:Y?null:_,onMouseMove:Y?null:Q,role:"radio","aria-checked":ge>fe?"true":"false","aria-posinset":fe+1,"aria-setsize":Ce,tabIndex:Y?-1:0},D.a.createElement("div",{className:"".concat(k,"-first")},de),D.a.createElement("div",{className:"".concat(k,"-second")},de)));return ie&&(Pe=ie(Pe,this.props)),Pe}}]),U}(D.a.Component);function v(){}var g=function(F){Object(r.a)(U,F);var L=Object(u.a)(U);function U(N){var Q;Object(s.a)(this,U),Q=L.call(this,N),Q.stars=void 0,Q.rate=void 0,Q.onHover=function(_,J){var Y=Q.props.onHoverChange,k=Q.getStarValue(J,_.pageX),W=Q.state.cleanedValue;k!==W&&Q.setState({hoverValue:k,cleanedValue:null}),Y(k)},Q.onMouseLeave=function(){var _=Q.props.onHoverChange;Q.setState({hoverValue:void 0,cleanedValue:null}),_(void 0)},Q.onClick=function(_,J){var Y=Q.props.allowClear,k=Q.state.value,W=Q.getStarValue(J,_.pageX),ie=!1;Y&&(ie=W===k),Q.onMouseLeave(),Q.changeValue(ie?0:W),Q.setState({cleanedValue:ie?W:null})},Q.onFocus=function(){var _=Q.props.onFocus;Q.setState({focused:!0}),_&&_()},Q.onBlur=function(){var _=Q.props.onBlur;Q.setState({focused:!1}),_&&_()},Q.onKeyDown=function(_){var J=_.keyCode,Y=Q.props,k=Y.count,W=Y.allowHalf,ie=Y.onKeyDown,fe=Y.direction,Ce=fe==="rtl",ge=Q.state.value;J===c.a.RIGHT&&ge<k&&!Ce?(W?ge+=.5:ge+=1,Q.changeValue(ge),_.preventDefault()):J===c.a.LEFT&&ge>0&&!Ce||J===c.a.RIGHT&&ge>0&&Ce?(W?ge-=.5:ge-=1,Q.changeValue(ge),_.preventDefault()):J===c.a.LEFT&&ge<k&&Ce&&(W?ge+=.5:ge+=1,Q.changeValue(ge),_.preventDefault()),ie&&ie(_)},Q.saveRef=function(_){return function(J){Q.stars[_]=J}},Q.saveRate=function(_){Q.rate=_};var z=N.value;return z===void 0&&(z=N.defaultValue),Q.stars={},Q.state={value:z,focused:!1,cleanedValue:null},Q}return Object(o.a)(U,[{key:"componentDidMount",value:function(){var Q=this.props,z=Q.autoFocus,_=Q.disabled;z&&!_&&this.focus()}},{key:"getStarDOM",value:function(Q){return Object(n.a)(this.stars[Q])}},{key:"getStarValue",value:function(Q,z){var _=this.props,J=_.allowHalf,Y=_.direction,k=Y==="rtl",W=Q+1;if(J){var ie=this.getStarDOM(Q),fe=y(ie),Ce=ie.clientWidth;(k&&z-fe>Ce/2||!k&&z-fe<Ce/2)&&(W-=.5)}return W}},{key:"focus",value:function(){var Q=this.props.disabled;Q||this.rate.focus()}},{key:"blur",value:function(){var Q=this.props.disabled;Q||this.rate.blur()}},{key:"changeValue",value:function(Q){var z=this.props.onChange;"value"in this.props||this.setState({value:Q}),z(Q)}},{key:"render",value:function(){for(var Q=this.props,z=Q.count,_=Q.allowHalf,J=Q.style,Y=Q.prefixCls,k=Q.disabled,W=Q.className,ie=Q.character,fe=Q.characterRender,Ce=Q.tabIndex,ge=Q.direction,de=this.state,Pe=de.value,_e=de.hoverValue,Ne=de.focused,He=[],ue=k?"".concat(Y,"-disabled"):"",Re=0;Re<z;Re+=1)He.push(D.a.createElement(A,{ref:this.saveRef(Re),index:Re,count:z,disabled:k,prefixCls:"".concat(Y,"-star"),allowHalf:_,value:_e===void 0?Pe:_e,onClick:this.onClick,onHover:this.onHover,key:Re,character:ie,characterRender:fe,focused:Ne}));var nt=a()(Y,ue,W,Object(i.a)({},"".concat(Y,"-rtl"),ge==="rtl"));return D.a.createElement("ul",{className:nt,style:J,onMouseLeave:k?null:this.onMouseLeave,tabIndex:k?-1:Ce,onFocus:k?null:this.onFocus,onBlur:k?null:this.onBlur,onKeyDown:k?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},He)}}],[{key:"getDerivedStateFromProps",value:function(Q,z){return"value"in Q&&Q.value!==void 0?Object(T.a)(Object(T.a)({},z),{},{value:Q.value}):z}}]),U}(D.a.Component);g.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:v,character:"\u2605",onHoverChange:v,tabIndex:0,direction:"ltr"};var x=g,m=x,b=e("H84U"),S=e("3S7+"),P=function(F,L){var U={};for(var N in F)Object.prototype.hasOwnProperty.call(F,N)&&L.indexOf(N)<0&&(U[N]=F[N]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,N=Object.getOwnPropertySymbols(F);Q<N.length;Q++)L.indexOf(N[Q])<0&&Object.prototype.propertyIsEnumerable.call(F,N[Q])&&(U[N[Q]]=F[N[Q]]);return U},M=w.forwardRef(function(F,L){var U=F.prefixCls,N=F.tooltips,Q=F.character,z=Q===void 0?w.createElement(t,null):Q,_=P(F,["prefixCls","tooltips","character"]),J=function(Ce,ge){var de=ge.index;return N?w.createElement(S.a,{title:N[de]},Ce):Ce},Y=w.useContext(b.b),k=Y.getPrefixCls,W=Y.direction,ie=k("rate",U);return w.createElement(m,Object(B.a)({ref:L,character:z,characterRender:J},_,{prefixCls:ie,direction:W}))}),R=V.a=M},H6uX:function(oe,V){var e=Array.prototype.slice,B=function(E){this._$handlers={},this._$eventProcessor=E};B.prototype={constructor:B,one:function(E,C,f,t){return w(this,E,C,f,t,!0)},on:function(E,C,f,t){return w(this,E,C,f,t,!1)},isSilent:function(E){var C=this._$handlers;return!C[E]||!C[E].length},off:function(E,C){var f=this._$handlers;if(!E)return this._$handlers={},this;if(C){if(f[E]){for(var t=[],i=0,s=f[E].length;i<s;i++)f[E][i].h!==C&&t.push(f[E][i]);f[E]=t}f[E]&&f[E].length===0&&delete f[E]}else delete f[E];return this},trigger:function(E){var C=this._$handlers[E],f=this._$eventProcessor;if(C){var t=arguments,i=t.length;i>3&&(t=e.call(t,1));for(var s=C.length,o=0;o<s;){var r=C[o];if(f&&f.filter&&r.query!=null&&!f.filter(E,r.query)){o++;continue}switch(i){case 1:r.h.call(r.ctx);break;case 2:r.h.call(r.ctx,t[1]);break;case 3:r.h.call(r.ctx,t[1],t[2]);break;default:r.h.apply(r.ctx,t);break}r.one?(C.splice(o,1),s--):o++}}return f&&f.afterTrigger&&f.afterTrigger(E),this},triggerWithContext:function(E){var C=this._$handlers[E],f=this._$eventProcessor;if(C){var t=arguments,i=t.length;i>4&&(t=e.call(t,1,t.length-1));for(var s=t[t.length-1],o=C.length,r=0;r<o;){var u=C[r];if(f&&f.filter&&u.query!=null&&!f.filter(E,u.query)){r++;continue}switch(i){case 1:u.h.call(s);break;case 2:u.h.call(s,t[1]);break;case 3:u.h.call(s,t[1],t[2]);break;default:u.h.apply(s,t);break}u.one?(C.splice(r,1),o--):r++}}return f&&f.afterTrigger&&f.afterTrigger(E),this}};function T(I,E){var C=I._$eventProcessor;return E!=null&&C&&C.normalizeQuery&&(E=C.normalizeQuery(E)),E}function w(I,E,C,f,t,i){var s=I._$handlers;if(typeof C=="function"&&(t=f,f=C,C=null),!f||!E)return I;C=T(I,C),s[E]||(s[E]=[]);for(var o=0;o<s[E].length;o++)if(s[E][o].h===f)return I;var r={h:f,one:i,query:C,ctx:t||I,callAtLast:f.zrEventfulCallAtLast},u=s[E].length-1,n=s[E][u];return n&&n.callAtLast?s[E].splice(u,0,r):s[E].push(r),I}var D=B;oe.exports=D},"HF/U":function(oe,V,e){var B=e("QBsz"),T=e("bYtY"),w=e("DDd/"),D=w.getCurvenessForEdge;function I(C){var f=C.coordinateSystem;if(!(f&&f.type!=="view")){var t=C.getGraph();t.eachNode(function(i){var s=i.getModel();i.setLayout([+s.get("x"),+s.get("y")])}),E(t,C)}}function E(C,f){C.eachEdge(function(t,i){var s=T.retrieve3(t.getModel().get("lineStyle.curveness"),-D(t,f,i,!0),0),o=B.clone(t.node1.getLayout()),r=B.clone(t.node2.getLayout()),u=[o,r];+s&&u.push([(o[0]+r[0])/2-(o[1]-r[1])*s,(o[1]+r[1])/2-(r[0]-o[0])*s]),t.setLayout(u)})}V.simpleLayout=I,V.simpleLayoutEdge=E},"HM/N":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("/SeX"),I=e("OELB"),E=I.parsePercent,C=e("aX7z"),f=C.createScaleByModel,t=C.niceScaleExtent,i=e("IDmD"),s=e("7hqr"),o=s.getStackedDimension;e("ePAk");function r(a,c,d){var h=c.get("center"),y=d.getWidth(),A=d.getHeight();a.cx=E(h[0],y),a.cy=E(h[1],A);var v=a.getRadiusAxis(),g=Math.min(y,A)/2,x=c.get("radius");x==null?x=[0,"100%"]:w.isArray(x)||(x=[0,x]),x=[E(x[0],g),E(x[1],g)],v.inverse?v.setExtent(x[1],x[0]):v.setExtent(x[0],x[1])}function u(a,c){var d=this,h=d.getAngleAxis(),y=d.getRadiusAxis();if(h.scale.setExtent(Infinity,-Infinity),y.scale.setExtent(Infinity,-Infinity),a.eachSeries(function(g){if(g.coordinateSystem===d){var x=g.getData();w.each(x.mapDimension("radius",!0),function(m){y.scale.unionExtentFromData(x,o(x,m))}),w.each(x.mapDimension("angle",!0),function(m){h.scale.unionExtentFromData(x,o(x,m))})}}),t(h.scale,h.model),t(y.scale,y.model),h.type==="category"&&!h.onBand){var A=h.getExtent(),v=360/h.scale.count();h.inverse?A[1]+=v:A[1]-=v,h.setExtent(A[0],A[1])}}function n(a,c){if(a.type=c.get("type"),a.scale=f(c),a.onBand=c.get("boundaryGap")&&a.type==="category",a.inverse=c.get("inverse"),c.mainType==="angleAxis"){a.inverse^=c.get("clockwise");var d=c.get("startAngle");a.setExtent(d,d+(a.inverse?-360:360))}c.axis=a,a.model=c}var l={dimensions:D.prototype.dimensions,create:function(a,c){var d=[];return a.eachComponent("polar",function(h,y){var A=new D(y);A.update=u;var v=A.getRadiusAxis(),g=A.getAngleAxis(),x=h.findAxisModel("radiusAxis"),m=h.findAxisModel("angleAxis");n(v,x),n(g,m),r(A,h,c),d.push(A),h.coordinateSystem=A,A.model=h}),a.eachSeries(function(h){if(h.get("coordinateSystem")==="polar"){var y=a.queryComponents({mainType:"polar",index:h.get("polarIndex"),id:h.get("polarId")})[0];h.coordinateSystem=y.coordinateSystem}}),d}};i.register("polar",l)},HjIi:function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=T.parsePercent,D=e("7hqr"),I=D.isDimensionStacked;function E(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function C(s,o){return o.dim+s.model.componentIndex}function f(s,o,r){var u={},n=t(B.filter(o.getSeriesByType(s),function(l){return!o.isSeriesFiltered(l)&&l.coordinateSystem&&l.coordinateSystem.type==="polar"}));o.eachSeriesByType(s,function(l){if(l.coordinateSystem.type==="polar"){var a=l.getData(),c=l.coordinateSystem,d=c.getBaseAxis(),h=C(c,d),y=E(l),A=n[h][y],v=A.offset,g=A.width,x=c.getOtherAxis(d),m=l.coordinateSystem.cx,b=l.coordinateSystem.cy,S=l.get("barMinHeight")||0,P=l.get("barMinAngle")||0;u[y]=u[y]||[];for(var M=a.mapDimension(x.dim),R=a.mapDimension(d.dim),F=I(a,M),L=d.dim!=="radius"||!l.get("roundCap",!0),U=x.dim==="radius"?x.dataToRadius(0):x.dataToAngle(0),N=0,Q=a.count();N<Q;N++){var z=a.get(M,N),_=a.get(R,N),J=z>=0?"p":"n",Y=U;F&&(u[y][_]||(u[y][_]={p:U,n:U}),Y=u[y][_][J]);var k,W,ie,fe;if(x.dim==="radius"){var Ce=x.dataToRadius(z)-U,ge=d.dataToAngle(_);Math.abs(Ce)<S&&(Ce=(Ce<0?-1:1)*S),k=Y,W=Y+Ce,ie=ge-v,fe=ie-g,F&&(u[y][_][J]=W)}else{var de=x.dataToAngle(z,L)-U,Pe=d.dataToRadius(_);Math.abs(de)<P&&(de=(de<0?-1:1)*P),k=Pe+v,W=k+g,ie=Y,fe=Y+de,F&&(u[y][_][J]=fe)}a.setItemLayout(N,{cx:m,cy:b,r0:k,r:W,startAngle:-ie*Math.PI/180,endAngle:-fe*Math.PI/180})}}},this)}function t(s,o){var r={};B.each(s,function(n,l){var a=n.getData(),c=n.coordinateSystem,d=c.getBaseAxis(),h=C(c,d),y=d.getExtent(),A=d.type==="category"?d.getBandWidth():Math.abs(y[1]-y[0])/a.count(),v=r[h]||{bandWidth:A,remainedWidth:A,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},g=v.stacks;r[h]=v;var x=E(n);g[x]||v.autoWidthCount++,g[x]=g[x]||{width:0,maxWidth:0};var m=w(n.get("barWidth"),A),b=w(n.get("barMaxWidth"),A),S=n.get("barGap"),P=n.get("barCategoryGap");m&&!g[x].width&&(m=Math.min(v.remainedWidth,m),g[x].width=m,v.remainedWidth-=m),b&&(g[x].maxWidth=b),S!=null&&(v.gap=S),P!=null&&(v.categoryGap=P)});var u={};return B.each(r,function(n,l){u[l]={};var a=n.stacks,c=n.bandWidth,d=w(n.categoryGap,c),h=w(n.gap,1),y=n.remainedWidth,A=n.autoWidthCount,v=(y-d)/(A+(A-1)*h);v=Math.max(v,0),B.each(a,function(b,S){var P=b.maxWidth;P&&P<v&&(P=Math.min(P,y),b.width&&(P=Math.min(P,b.width)),y-=P,b.width=P,A--)}),v=(y-d)/(A+(A-1)*h),v=Math.max(v,0);var g=0,x;B.each(a,function(b,S){b.width||(b.width=v),x=b,g+=b.width*(1+h)}),x&&(g-=x.width*h);var m=-g/2;B.each(a,function(b,S){u[l][S]=u[l][S]||{offset:m,width:b.width},m+=b.width*(1+h)})}),u}var i=f;oe.exports=i},HjOm:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B={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"},T=B;V.default=T},Hw7h:function(oe,V,e){var B=e("y+Vt"),T=B.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(w,D){var I=Math.cos,E=Math.sin,C=D.r,f=D.width,t=D.angle,i=D.x-I(t)*f*(f>=C/3?1:2),s=D.y-E(t)*f*(f>=C/3?1:2);t=D.angle-Math.PI/2,w.moveTo(i,s),w.lineTo(D.x+I(t)*f,D.y+E(t)*f),w.lineTo(D.x+I(D.angle)*C,D.y+E(D.angle)*C),w.lineTo(D.x-I(t)*f,D.y-E(t)*f),w.lineTo(i,s)}});oe.exports=T},Hxpc:function(oe,V,e){var B=e("bYtY"),T=e("4NO4"),w=e("bLfw"),D=e("Qxkt"),I=e("cCMj"),E=e("7uqq"),C=w.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){w.prototype.init.apply(this,arguments),T.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,i=this;t.regions=E.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=B.reduce(t.regions||[],function(s,o){return o.name&&s.set(o.name,new D(o,i)),s},B.createHashMap()),this.updateSelectedMap(t.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(t){return this._optionModelMap.get(t)||new D(null,this,this.ecModel)},getFormattedLabel:function(t,i){i=i||"normal";var s=this.getRegionModel(t),o=s.get((i==="normal"?"":i+".")+"label.formatter"),r={name:t};if(typeof o=="function")return r.status=i,o(r);if(typeof o=="string")return o.replace("{a}",t!=null?t:"")},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});B.mixin(C,I);var f=C;oe.exports=f},"I+77":function(oe,V,e){var B=e("ProS");e("h54F"),e("lwQL"),e("10cm");var T=e("Z1r0"),w=e("f5Yq"),D=e("KUOm"),I=e("3m61"),E=e("01d+"),C=e("rdor"),f=e("WGYa"),t=e("ewwo");B.registerProcessor(T),B.registerVisual(w("graph","circle",null)),B.registerVisual(D),B.registerVisual(I),B.registerLayout(E),B.registerLayout(B.PRIORITY.VISUAL.POST_CHART_LAYOUT,C),B.registerLayout(f),B.registerCoordinateSystem("graphView",{create:t})},"I+Bx":function(oe,V,e){var B=e("bYtY"),T=e("eIcI"),w=e("ieMj"),D=e("OELB"),I=e("aX7z"),E=I.getScaleExtent,C=I.niceScaleExtent,f=e("IDmD"),t=e("jCoz");function i(o,r,u){this._model=o,this.dimensions=[],this._indicatorAxes=B.map(o.getIndicatorModels(),function(n,l){var a="indicator_"+l,c=new T(a,n.get("axisType")==="log"?new t:new w);return c.name=n.get("name"),c.model=n,n.axis=c,this.dimensions.push(a),c},this),this.resize(o,u),this.cx,this.cy,this.r,this.r0,this.startAngle}i.prototype.getIndicatorAxes=function(){return this._indicatorAxes},i.prototype.dataToPoint=function(o,r){var u=this._indicatorAxes[r];return this.coordToPoint(u.dataToCoord(o),r)},i.prototype.coordToPoint=function(o,r){var u=this._indicatorAxes[r],n=u.angle,l=this.cx+o*Math.cos(n),a=this.cy-o*Math.sin(n);return[l,a]},i.prototype.pointToData=function(o){var r=o[0]-this.cx,u=o[1]-this.cy,n=Math.sqrt(r*r+u*u);r/=n,u/=n;for(var l=Math.atan2(-u,r),a=Infinity,c,d=-1,h=0;h<this._indicatorAxes.length;h++){var y=this._indicatorAxes[h],A=Math.abs(l-y.angle);A<a&&(c=y,d=h,a=A)}return[d,+(c&&c.coordToData(n))]},i.prototype.resize=function(o,r){var u=o.get("center"),n=r.getWidth(),l=r.getHeight(),a=Math.min(n,l)/2;this.cx=D.parsePercent(u[0],n),this.cy=D.parsePercent(u[1],l),this.startAngle=o.get("startAngle")*Math.PI/180;var c=o.get("radius");(typeof c=="string"||typeof c=="number")&&(c=[0,c]),this.r0=D.parsePercent(c[0],a),this.r=D.parsePercent(c[1],a),B.each(this._indicatorAxes,function(d,h){d.setExtent(this.r0,this.r);var y=this.startAngle+h*Math.PI*2/this._indicatorAxes.length;y=Math.atan2(Math.sin(y),Math.cos(y)),d.angle=y},this)},i.prototype.update=function(o,r){var u=this._indicatorAxes,n=this._model;B.each(u,function(c){c.scale.setExtent(Infinity,-Infinity)}),o.eachSeriesByType("radar",function(c,d){if(!(c.get("coordinateSystem")!=="radar"||o.getComponent("radar",c.get("radarIndex"))!==n)){var h=c.getData();B.each(u,function(y){y.scale.unionExtentFromData(h,h.mapDimension(y.dim))})}},this);var l=n.get("splitNumber");function a(c){var d=Math.pow(10,Math.floor(Math.log(c)/Math.LN10)),h=c/d;return h===2?h=5:h*=2,h*d}B.each(u,function(c,d){var h=E(c.scale,c.model).extent;C(c.scale,c.model);var y=c.model,A=c.scale,v=y.getMin(),g=y.getMax(),x=A.getInterval();if(v!=null&&g!=null)A.setExtent(+v,+g),A.setInterval((g-v)/l);else if(v!=null){var m;do m=v+x*l,A.setExtent(+v,m),A.setInterval(x),x=a(x);while(m<h[1]&&isFinite(m)&&isFinite(h[1]))}else if(g!=null){var b;do b=g-x*l,A.setExtent(b,+g),A.setInterval(x),x=a(x);while(b>h[0]&&isFinite(b)&&isFinite(h[0]))}else{var S=A.getTicks().length-1;S>l&&(x=a(x));var m=Math.ceil(h[1]/x)*x,b=D.round(m-x*l);A.setExtent(b,m),A.setInterval(x)}})},i.dimensions=[],i.create=function(o,r){var u=[];return o.eachComponent("radar",function(n){var l=new i(n,o,r);u.push(l),n.coordinateSystem=l}),o.eachSeriesByType("radar",function(n){n.get("coordinateSystem")==="radar"&&(n.coordinateSystem=u[n.get("radarIndex")||0])}),u},f.register("radar",i);var s=i;oe.exports=s},"I3/A":function(oe,V,e){var B=e("bYtY"),T=e("YXkt"),w=e("c2i1"),D=e("Mdki"),I=e("sdST"),E=e("IDmD"),C=e("MwEJ");function f(t,i,s,o,r){for(var u=new w(o),n=0;n<t.length;n++)u.addNode(B.retrieve(t[n].id,t[n].name,n),n);for(var l=[],a=[],c=0,n=0;n<i.length;n++){var d=i[n],h=d.source,y=d.target;u.addEdge(h,y,c)&&(a.push(d),l.push(B.retrieve(d.id,h+" > "+y)),c++)}var A=s.get("coordinateSystem"),v;if(A==="cartesian2d"||A==="polar")v=C(t,s);else{var g=E.get(A),x=g&&g.type!=="view"?g.dimensions||[]:[];B.indexOf(x,"value")<0&&x.concat(["value"]);var m=I(t,{coordDimensions:x});v=new T(m,s),v.initData(t)}var b=new T(["value"],s);return b.initData(a,l),r&&r(v,b),D({mainData:v,struct:u,structAttr:"graph",datas:{node:v,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),u.update(),u}oe.exports=f},ICMv:function(oe,V,e){var B=e("bYtY"),T={getMin:function(w){var D=this.option,I=!w&&D.rangeStart!=null?D.rangeStart:D.min;return this.axis&&I!=null&&I!=="dataMin"&&typeof I!="function"&&!B.eqNaN(I)&&(I=this.axis.scale.parse(I)),I},getMax:function(w){var D=this.option,I=!w&&D.rangeEnd!=null?D.rangeEnd:D.max;return this.axis&&I!=null&&I!=="dataMax"&&typeof I!="function"&&!B.eqNaN(I)&&(I=this.axis.scale.parse(I)),I},getNeedCrossZero:function(){var w=this.option;return w.rangeStart!=null||w.rangeEnd!=null?!1:!w.scale},getCoordSysModel:B.noop,setRange:function(w,D){this.option.rangeStart=w,this.option.rangeEnd=D},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};oe.exports=T},IDmD:function(oe,V,e){var B=e("bYtY"),T={};function w(){this._coordinateSystems=[]}w.prototype={constructor:w,create:function(I,E){var C=[];B.each(T,function(f,t){var i=f.create(I,E);C=C.concat(i||[])}),this._coordinateSystems=C},update:function(I,E){B.each(this._coordinateSystems,function(C){C.update&&C.update(I,E)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},w.register=function(I,E){T[I]=E},w.get=function(I){return T[I]};var D=w;oe.exports=D},IMiH:function(oe,V,e){var B=e("Sj9i"),T=e("QBsz"),w=e("4mN7"),D=e("mFDi"),I=e("LPTA"),E=I.devicePixelRatio,C={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},f=[],t=[],i=[],s=[],o=Math.min,r=Math.max,u=Math.cos,n=Math.sin,l=Math.sqrt,a=Math.abs,c=typeof Float32Array!="undefined",d=function(A){this._saveData=!A,this._saveData&&(this.data=[]),this._ctx=null};d.prototype={constructor:d,_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,v,g){g=g||0,this._ux=a(g/E/A)||0,this._uy=a(g/E/v)||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,v){return this.addData(C.M,A,v),this._ctx&&this._ctx.moveTo(A,v),this._x0=A,this._y0=v,this._xi=A,this._yi=v,this},lineTo:function(A,v){var g=a(A-this._xi)>this._ux||a(v-this._yi)>this._uy||this._len<5;return this.addData(C.L,A,v),this._ctx&&g&&(this._needsDash()?this._dashedLineTo(A,v):this._ctx.lineTo(A,v)),g&&(this._xi=A,this._yi=v),this},bezierCurveTo:function(A,v,g,x,m,b){return this.addData(C.C,A,v,g,x,m,b),this._ctx&&(this._needsDash()?this._dashedBezierTo(A,v,g,x,m,b):this._ctx.bezierCurveTo(A,v,g,x,m,b)),this._xi=m,this._yi=b,this},quadraticCurveTo:function(A,v,g,x){return this.addData(C.Q,A,v,g,x),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(A,v,g,x):this._ctx.quadraticCurveTo(A,v,g,x)),this._xi=g,this._yi=x,this},arc:function(A,v,g,x,m,b){return this.addData(C.A,A,v,g,g,x,m-x,0,b?0:1),this._ctx&&this._ctx.arc(A,v,g,x,m,b),this._xi=u(m)*g+A,this._yi=n(m)*g+v,this},arcTo:function(A,v,g,x,m){return this._ctx&&this._ctx.arcTo(A,v,g,x,m),this},rect:function(A,v,g,x){return this._ctx&&this._ctx.rect(A,v,g,x),this.addData(C.R,A,v,g,x),this},closePath:function(){this.addData(C.Z);var A=this._ctx,v=this._x0,g=this._y0;return A&&(this._needsDash()&&this._dashedLineTo(v,g),A.closePath()),this._xi=v,this._yi=g,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 v=0,g=0;g<A.length;g++)v+=A[g];this._dashSum=v}return this},setLineDashOffset:function(A){return this._dashOffset=A,this},len:function(){return this._len},setData:function(A){var v=A.length;!(this.data&&this.data.length===v)&&c&&(this.data=new Float32Array(v));for(var g=0;g<v;g++)this.data[g]=A[g];this._len=v},appendPath:function(A){A instanceof Array||(A=[A]);for(var v=A.length,g=0,x=this._len,m=0;m<v;m++)g+=A[m].len();c&&this.data instanceof Float32Array&&(this.data=new Float32Array(x+g));for(var m=0;m<v;m++)for(var b=A[m].data,S=0;S<b.length;S++)this.data[x++]=b[S];this._len=x},addData:function(A){if(!!this._saveData){var v=this.data;this._len+arguments.length>v.length&&(this._expandData(),v=this.data);for(var g=0;g<arguments.length;g++)v[this._len++]=arguments[g];this._prevCmd=A}},_expandData:function(){if(!(this.data instanceof Array)){for(var A=[],v=0;v<this._len;v++)A[v]=this.data[v];this.data=A}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(A,v){var g=this._dashSum,x=this._dashOffset,m=this._lineDash,b=this._ctx,S=this._xi,P=this._yi,M=A-S,R=v-P,F=l(M*M+R*R),L=S,U=P,N,Q=m.length,z;for(M/=F,R/=F,x<0&&(x=g+x),x%=g,L-=x*M,U-=x*R;M>0&&L<=A||M<0&&L>=A||M===0&&(R>0&&U<=v||R<0&&U>=v);)z=this._dashIdx,N=m[z],L+=M*N,U+=R*N,this._dashIdx=(z+1)%Q,!(M>0&&L<S||M<0&&L>S||R>0&&U<P||R<0&&U>P)&&b[z%2?"moveTo":"lineTo"](M>=0?o(L,A):r(L,A),R>=0?o(U,v):r(U,v));M=L-A,R=U-v,this._dashOffset=-l(M*M+R*R)},_dashedBezierTo:function(A,v,g,x,m,b){var S=this._dashSum,P=this._dashOffset,M=this._lineDash,R=this._ctx,F=this._xi,L=this._yi,U,N,Q,z=B.cubicAt,_=0,J=this._dashIdx,Y=M.length,k,W,ie=0;for(P<0&&(P=S+P),P%=S,U=0;U<1;U+=.1)N=z(F,A,g,m,U+.1)-z(F,A,g,m,U),Q=z(L,v,x,b,U+.1)-z(L,v,x,b,U),_+=l(N*N+Q*Q);for(;J<Y&&(ie+=M[J],!(ie>P));J++);for(U=(ie-P)/_;U<=1;)k=z(F,A,g,m,U),W=z(L,v,x,b,U),J%2?R.moveTo(k,W):R.lineTo(k,W),U+=M[J]/_,J=(J+1)%Y;J%2!=0&&R.lineTo(m,b),N=m-k,Q=b-W,this._dashOffset=-l(N*N+Q*Q)},_dashedQuadraticTo:function(A,v,g,x){var m=g,b=x;g=(g+2*A)/3,x=(x+2*v)/3,A=(this._xi+2*A)/3,v=(this._yi+2*v)/3,this._dashedBezierTo(A,v,g,x,m,b)},toStatic:function(){var A=this.data;A instanceof Array&&(A.length=this._len,c&&(this.data=new Float32Array(A)))},getBoundingRect:function(){f[0]=f[1]=i[0]=i[1]=Number.MAX_VALUE,t[0]=t[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var A=this.data,v=0,g=0,x=0,m=0,b=0;b<A.length;){var S=A[b++];switch(b===1&&(v=A[b],g=A[b+1],x=v,m=g),S){case C.M:x=A[b++],m=A[b++],v=x,g=m,i[0]=x,i[1]=m,s[0]=x,s[1]=m;break;case C.L:w.fromLine(v,g,A[b],A[b+1],i,s),v=A[b++],g=A[b++];break;case C.C:w.fromCubic(v,g,A[b++],A[b++],A[b++],A[b++],A[b],A[b+1],i,s),v=A[b++],g=A[b++];break;case C.Q:w.fromQuadratic(v,g,A[b++],A[b++],A[b],A[b+1],i,s),v=A[b++],g=A[b++];break;case C.A:var P=A[b++],M=A[b++],R=A[b++],F=A[b++],L=A[b++],U=A[b++]+L;b+=1;var N=1-A[b++];b===1&&(x=u(L)*R+P,m=n(L)*F+M),w.fromArc(P,M,R,F,L,U,N,i,s),v=u(U)*R+P,g=n(U)*F+M;break;case C.R:x=v=A[b++],m=g=A[b++];var Q=A[b++],z=A[b++];w.fromLine(x,m,x+Q,m+z,i,s);break;case C.Z:v=x,g=m;break}T.min(f,f,i),T.max(t,t,s)}return b===0&&(f[0]=f[1]=t[0]=t[1]=0),new D(f[0],f[1],t[0]-f[0],t[1]-f[1])},rebuildPath:function(A){for(var v=this.data,g,x,m,b,S,P,M=this._ux,R=this._uy,F=this._len,L=0;L<F;){var U=v[L++];switch(L===1&&(m=v[L],b=v[L+1],g=m,x=b),U){case C.M:g=m=v[L++],x=b=v[L++],A.moveTo(m,b);break;case C.L:S=v[L++],P=v[L++],(a(S-m)>M||a(P-b)>R||L===F-1)&&(A.lineTo(S,P),m=S,b=P);break;case C.C:A.bezierCurveTo(v[L++],v[L++],v[L++],v[L++],v[L++],v[L++]),m=v[L-2],b=v[L-1];break;case C.Q:A.quadraticCurveTo(v[L++],v[L++],v[L++],v[L++]),m=v[L-2],b=v[L-1];break;case C.A:var N=v[L++],Q=v[L++],z=v[L++],_=v[L++],J=v[L++],Y=v[L++],k=v[L++],W=v[L++],ie=z>_?z:_,fe=z>_?1:z/_,Ce=z>_?_/z:1,ge=Math.abs(z-_)>.001,de=J+Y;ge?(A.translate(N,Q),A.rotate(k),A.scale(fe,Ce),A.arc(0,0,ie,J,de,1-W),A.scale(1/fe,1/Ce),A.rotate(-k),A.translate(-N,-Q)):A.arc(N,Q,ie,J,de,1-W),L===1&&(g=u(J)*z+N,x=n(J)*_+Q),m=u(de)*z+N,b=n(de)*_+Q;break;case C.R:g=m=v[L],x=b=v[L+1],A.rect(v[L++],v[L++],v[L++],v[L++]);break;case C.Z:A.closePath(),m=g,b=x}}}},d.CMD=C;var h=d;oe.exports=h},IUWy:function(oe,V){var e={};function B(w,D){e[w]=D}function T(w){return e[w]}V.register=B,V.get=T},IWNH:function(oe,V,e){var B=e("T4UG"),T=e("Bsck"),w=e("7aKB"),D=w.encodeHTML,I=e("Qxkt"),E=B.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(C){var f={name:C.name,children:C.data},t=C.leaves||{},i=new I(t,this,this.ecModel),s=T.createTree(f,this,o);function o(l){l.wrapMethod("getItemModel",function(a,c){var d=s.getNodeByDataIndex(c);return(!d.children.length||!d.isExpand)&&(a.parentModel=i),a})}var r=0;s.eachNode("preorder",function(l){l.depth>r&&(r=l.depth)});var u=C.expandAndCollapse,n=u&&C.initialTreeDepth>=0?C.initialTreeDepth:r;return s.root.eachNode("preorder",function(l){var a=l.hostTree.data.getRawDataItem(l.dataIndex);l.isExpand=a&&a.collapsed!=null?!a.collapsed:l.depth<=n}),s.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 f=this.getData().tree,t=f.root.children[0],i=f.getNodeByDataIndex(C),s=i.getValue(),o=i.name;i&&i!==t;)o=i.parentNode.name+"."+o,i=i.parentNode;return D(o+(isNaN(s)||s==null?"":" : "+s))},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}});oe.exports=E},IWp7:function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=e("7aKB"),D=e("lE7J"),I=e("ieMj"),E=I.prototype,C=Math.ceil,f=Math.floor,t=1e3,i=t*60,s=i*60,o=s*24,r=function(a,c,d,h){for(;d<h;){var y=d+h>>>1;a[y][1]<c?d=y+1:h=y}return d},u=I.extend({type:"time",getLabel:function(a){var c=this._stepLvl,d=new Date(a);return w.formatTime(c[0],d,this.getSetting("useUTC"))},niceExtent:function(a){var c=this._extent;if(c[0]===c[1]&&(c[0]-=o,c[1]+=o),c[1]===-Infinity&&c[0]===Infinity){var d=new Date;c[1]=+new Date(d.getFullYear(),d.getMonth(),d.getDate()),c[0]=c[1]-o}this.niceTicks(a.splitNumber,a.minInterval,a.maxInterval);var h=this._interval;a.fixMin||(c[0]=T.round(f(c[0]/h)*h)),a.fixMax||(c[1]=T.round(C(c[1]/h)*h))},niceTicks:function(a,c,d){a=a||10;var h=this._extent,y=h[1]-h[0],A=y/a;c!=null&&A<c&&(A=c),d!=null&&A>d&&(A=d);var v=n.length,g=r(n,A,0,v),x=n[Math.min(g,v-1)],m=x[1];if(x[0]==="year"){var b=y/m,S=T.nice(b/a,!0);m*=S}var P=this.getSetting("useUTC")?0:new Date(+h[0]||+h[1]).getTimezoneOffset()*60*1e3,M=[Math.round(C((h[0]-P)/m)*m+P),Math.round(f((h[1]-P)/m)*m+P)];D.fixExtent(M,h),this._stepLvl=x,this._interval=m,this._niceExtent=M},parse:function(a){return+T.parseDate(a)}});B.each(["contain","normalize"],function(a){u.prototype[a]=function(c){return E[a].call(this,this.parse(c))}});var n=[["hh:mm:ss",t],["hh:mm:ss",t*5],["hh:mm:ss",t*10],["hh:mm:ss",t*15],["hh:mm:ss",t*30],[`hh:mm
|
|
|
MM-dd`,i],[`hh:mm
|
|
|
MM-dd`,i*5],[`hh:mm
|
|
|
MM-dd`,i*10],[`hh:mm
|
|
|
MM-dd`,i*15],[`hh:mm
|
|
|
MM-dd`,i*30],[`hh:mm
|
|
|
MM-dd`,s],[`hh:mm
|
|
|
MM-dd`,s*2],[`hh:mm
|
|
|
MM-dd`,s*6],[`hh:mm
|
|
|
MM-dd`,s*12],[`MM-dd
|
|
|
yyyy`,o],[`MM-dd
|
|
|
yyyy`,o*2],[`MM-dd
|
|
|
yyyy`,o*3],[`MM-dd
|
|
|
yyyy`,o*4],[`MM-dd
|
|
|
yyyy`,o*5],[`MM-dd
|
|
|
yyyy`,o*6],["week",o*7],[`MM-dd
|
|
|
yyyy`,o*10],["week",o*14],["week",o*21],["month",o*31],["week",o*42],["month",o*62],["week",o*70],["quarter",o*95],["month",o*31*4],["month",o*31*5],["half-year",o*380/2],["month",o*31*8],["month",o*31*10],["year",o*380]];u.create=function(a){return new u({useUTC:a.ecModel.get("useUTC")})};var l=u;oe.exports=l},IXuL:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("MwEJ"),D=e("T4UG"),I=D.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(E,C){return w(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}});oe.exports=I},IXyC:function(oe,V,e){var B=e("bYtY"),T=e("bLfw");e("3zoK");var w=T.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(){T.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(D){var I=this.option;D&&B.merge(I,D,!0),this._initDimensions()},contains:function(D,I){var E=D.get("parallelIndex");return E!=null&&I.getComponent("parallel",E)===this},setAxisExpand:function(D){B.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(I){D.hasOwnProperty(I)&&(this.option[I]=D[I])},this)},_initDimensions:function(){var D=this.dimensions=[],I=this.parallelAxisIndex=[],E=B.filter(this.dependentModels.parallelAxis,function(C){return(C.get("parallelIndex")||0)===this.componentIndex},this);B.each(E,function(C){D.push("dim"+C.get("dim")),I.push(C.componentIndex)})}});oe.exports=w},ItGF:function(oe,V){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=T(navigator.userAgent);var B=e;function T(w){var D={},I={},E=w.match(/Firefox\/([\d.]+)/),C=w.match(/MSIE\s([\d.]+)/)||w.match(/Trident\/.+?rv:(([\d.]+))/),f=w.match(/Edge\/([\d.]+)/),t=/micromessenger/i.test(w);return E&&(I.firefox=!0,I.version=E[1]),C&&(I.ie=!0,I.version=C[1]),f&&(I.edge=!0,I.version=f[1]),t&&(I.weChat=!0),{browser:I,os:D,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!I.ie&&!I.edge,pointerEventsSupported:"onpointerdown"in window&&(I.edge||I.ie&&I.version>=11),domSupported:typeof document!="undefined"}}oe.exports=B},Itpr:function(oe,V,e){var B=e("+TT/");function T(n){n.hierNode={defaultAncestor:null,ancestor:n,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var l=[n],a,c;a=l.pop();)if(c=a.children,a.isExpand&&c.length)for(var d=c.length,h=d-1;h>=0;h--){var y=c[h];y.hierNode={defaultAncestor:null,ancestor:y,prelim:0,modifier:0,change:0,shift:0,i:h,thread:null},l.push(y)}}function w(n,l){var a=n.isExpand?n.children:[],c=n.parentNode.children,d=n.hierNode.i?c[n.hierNode.i-1]:null;if(a.length){f(n);var h=(a[0].hierNode.prelim+a[a.length-1].hierNode.prelim)/2;d?(n.hierNode.prelim=d.hierNode.prelim+l(n,d),n.hierNode.modifier=n.hierNode.prelim-h):n.hierNode.prelim=h}else d&&(n.hierNode.prelim=d.hierNode.prelim+l(n,d));n.parentNode.hierNode.defaultAncestor=t(n,d,n.parentNode.hierNode.defaultAncestor||c[0],l)}function D(n){var l=n.hierNode.prelim+n.parentNode.hierNode.modifier;n.setLayout({x:l},!0),n.hierNode.modifier+=n.parentNode.hierNode.modifier}function I(n){return arguments.length?n:u}function E(n,l){var a={};return n-=Math.PI/2,a.x=l*Math.cos(n),a.y=l*Math.sin(n),a}function C(n,l){return B.getLayoutRect(n.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function f(n){for(var l=n.children,a=l.length,c=0,d=0;--a>=0;){var h=l[a];h.hierNode.prelim+=c,h.hierNode.modifier+=c,d+=h.hierNode.change,c+=h.hierNode.shift+d}}function t(n,l,a,c){if(l){for(var d=n,h=n,y=h.parentNode.children[0],A=l,v=d.hierNode.modifier,g=h.hierNode.modifier,x=y.hierNode.modifier,m=A.hierNode.modifier;A=i(A),h=s(h),A&&h;){d=i(d),y=s(y),d.hierNode.ancestor=n;var b=A.hierNode.prelim+m-h.hierNode.prelim-g+c(A,h);b>0&&(r(o(A,n,a),n,b),g+=b,v+=b),m+=A.hierNode.modifier,g+=h.hierNode.modifier,v+=d.hierNode.modifier,x+=y.hierNode.modifier}A&&!i(d)&&(d.hierNode.thread=A,d.hierNode.modifier+=m-v),h&&!s(y)&&(y.hierNode.thread=h,y.hierNode.modifier+=g-x,a=n)}return a}function i(n){var l=n.children;return l.length&&n.isExpand?l[l.length-1]:n.hierNode.thread}function s(n){var l=n.children;return l.length&&n.isExpand?l[0]:n.hierNode.thread}function o(n,l,a){return n.hierNode.ancestor.parentNode===l.parentNode?n.hierNode.ancestor:a}function r(n,l,a){var c=a/(l.hierNode.i-n.hierNode.i);l.hierNode.change-=c,l.hierNode.shift+=a,l.hierNode.modifier+=a,l.hierNode.prelim+=a,n.hierNode.change+=c}function u(n,l){return n.parentNode===l.parentNode?1:2}V.init=T,V.firstWalk=w,V.secondWalk=D,V.separation=I,V.radialCoordinate=E,V.getViewRect=C},IwbS:function(oe,V,e){var B=e("bYtY"),T=e("NC18"),w=e("Qe9p"),D=e("Fofx"),I=e("QBsz"),E=e("y+Vt"),C=e("DN4a"),f=e("Dagg");V.Image=f;var t=e("4fz+");V.Group=t;var i=e("dqUG");V.Text=i;var s=e("2fw6");V.Circle=s;var o=e("SqI9");V.Sector=o;var r=e("RXMa");V.Ring=r;var u=e("h7HQ");V.Polygon=u;var n=e("1Jh7");V.Polyline=n;var l=e("x6Kt");V.Rect=l;var a=e("yxFR");V.Line=a;var c=e("rA99");V.BezierCurve=c;var d=e("jTL6");V.Arc=d;var h=e("1MYJ");V.CompoundPath=h;var y=e("SKnc");V.LinearGradient=y;var A=e("3e3G");V.RadialGradient=A;var v=e("mFDi");V.BoundingRect=v;var g=e("OS9S");V.IncrementalDisplayable=g;var x=e("nPnh"),m=Math.max,b=Math.min,S={},P=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",F="normal",L=1,U={},N={};function Q(ce){return E.extend(ce)}function z(ce,ae){return T.extendFromString(ce,ae)}function _(ce,ae){N[ce]=ae}function J(ce){if(N.hasOwnProperty(ce))return N[ce]}function Y(ce,ae,Ee,ye){var Te=T.createFromString(ce,ae);return Ee&&(ye==="center"&&(Ee=W(Ee,Te.getBoundingRect())),fe(Te,Ee)),Te}function k(ce,ae,Ee){var ye=new f({style:{image:ce,x:ae.x,y:ae.y,width:ae.width,height:ae.height},onload:function(Te){if(Ee==="center"){var je={width:Te.width,height:Te.height};ye.setStyle(W(ae,je))}}});return ye}function W(ce,ae){var Ee=ae.width/ae.height,ye=ce.height*Ee,Te;ye<=ce.width?Te=ce.height:(ye=ce.width,Te=ye/Ee);var je=ce.x+ce.width/2,qe=ce.y+ce.height/2;return{x:je-ye/2,y:qe-Te/2,width:ye,height:Te}}var ie=T.mergePath;function fe(ce,ae){if(!!ce.applyTransform){var Ee=ce.getBoundingRect(),ye=Ee.calculateTransform(ae);ce.applyTransform(ye)}}function Ce(ce){return x.subPixelOptimizeLine(ce.shape,ce.shape,ce.style),ce}function ge(ce){return x.subPixelOptimizeRect(ce.shape,ce.shape,ce.style),ce}var de=x.subPixelOptimize;function Pe(ce){return ce!=null&&ce!=="none"}var _e=B.createHashMap(),Ne=0;function He(ce){if(typeof ce!="string")return ce;var ae=_e.get(ce);return ae||(ae=w.lift(ce,-.1),Ne<1e4&&(_e.set(ce,ae),Ne++)),ae}function ue(ce){if(!!ce.__hoverStlDirty){ce.__hoverStlDirty=!1;var ae=ce.__hoverStl;if(!ae){ce.__cachedNormalStl=ce.__cachedNormalZ2=null;return}var Ee=ce.__cachedNormalStl={};ce.__cachedNormalZ2=ce.z2;var ye=ce.style;for(var Te in ae)ae[Te]!=null&&(Ee[Te]=ye[Te]);Ee.fill=ye.fill,Ee.stroke=ye.stroke}}function Re(ce){var ae=ce.__hoverStl;if(!(!ae||ce.__highlighted)){var Ee=ce.__zr,ye=ce.useHoverLayer&&Ee&&Ee.painter.type==="canvas";if(ce.__highlighted=ye?"layer":"plain",!(ce.isGroup||!Ee&&ce.useHoverLayer)){var Te=ce,je=ce.style;ye&&(Te=Ee.addHover(ce),je=Te.style),Se(je),ye||ue(Te),je.extendFrom(ae),nt(je,ae,"fill"),nt(je,ae,"stroke"),Kt(je),ye||(ce.dirty(!1),ce.z2+=P)}}}function nt(ce,ae,Ee){!Pe(ae[Ee])&&Pe(ce[Ee])&&(ce[Ee]=He(ce[Ee]))}function Ve(ce){var ae=ce.__highlighted;if(!!ae&&(ce.__highlighted=!1,!ce.isGroup))if(ae==="layer")ce.__zr&&ce.__zr.removeHover(ce);else{var Ee=ce.style,ye=ce.__cachedNormalStl;ye&&(Se(Ee),ce.setStyle(ye),Kt(Ee));var Te=ce.__cachedNormalZ2;Te!=null&&ce.z2-Te===P&&(ce.z2=Te)}}function Ge(ce,ae,Ee){var ye=F,Te=F,je;ce.__highlighted&&(ye=R,je=!0),ae(ce,Ee),ce.__highlighted&&(Te=R,je=!0),ce.isGroup&&ce.traverse(function(qe){!qe.isGroup&&ae(qe,Ee)}),je&&ce.__highDownOnUpdate&&ce.__highDownOnUpdate(ye,Te)}function dt(ce,ae){ae=ce.__hoverStl=ae!==!1&&(ce.hoverStyle||ae||{}),ce.__hoverStlDirty=!0,ce.__highlighted&&(ce.__cachedNormalStl=null,Ve(ce),Re(ce))}function et(ce){!St(this,ce)&&!this.__highByOuter&&Ge(this,Re)}function At(ce){!St(this,ce)&&!this.__highByOuter&&Ge(this,Ve)}function Dt(ce){this.__highByOuter|=1<<(ce||0),Ge(this,Re)}function Ft(ce){!(this.__highByOuter&=~(1<<(ce||0)))&&Ge(this,Ve)}function St(ce,ae){return ce.__highDownSilentOnTouch&&ae.zrByTouch}function $e(ce,ae){lt(ce,!0),Ge(ce,dt,ae)}function lt(ce,ae){var Ee=ae===!1;if(ce.__highDownSilentOnTouch=ce.highDownSilentOnTouch,ce.__highDownOnUpdate=ce.highDownOnUpdate,!Ee||ce.__highDownDispatcher){var ye=Ee?"off":"on";ce[ye]("mouseover",et)[ye]("mouseout",At),ce[ye]("emphasis",Dt)[ye]("normal",Ft),ce.__highByOuter=ce.__highByOuter||0,ce.__highDownDispatcher=!Ee}}function Ut(ce){return!!(ce&&ce.__highDownDispatcher)}function gt(ce){var ae=U[ce];return ae==null&&L<=32&&(ae=U[ce]=L++),ae}function ft(ce,ae,Ee,ye,Te,je,qe){Te=Te||S;var Le=Te.labelFetcher,ke=Te.labelDataIndex,tt=Te.labelDimIndex,st=Te.labelProp,_t=Ee.getShallow("show"),Ct=ye.getShallow("show"),Rt;(_t||Ct)&&(Le&&(Rt=Le.getFormattedLabel(ke,"normal",null,tt,st)),Rt==null&&(Rt=B.isFunction(Te.defaultText)?Te.defaultText(ke,Te):Te.defaultText));var Wt=_t?Rt:null,vt=Ct?B.retrieve2(Le?Le.getFormattedLabel(ke,"emphasis",null,tt,st):null,Rt):null;(Wt!=null||vt!=null)&&(Ie(ce,Ee,je,Te),Ie(ae,ye,qe,Te,!0)),ce.text=Wt,ae.text=vt}function rt(ce,ae,Ee){var ye=ce.style;ae&&(Se(ye),ce.setStyle(ae),Kt(ye)),ye=ce.__hoverStl,Ee&&ye&&(Se(ye),B.extend(ye,Ee),Kt(ye))}function Ie(ce,ae,Ee,ye,Te){return Xt(ce,ae,ye,Te),Ee&&B.extend(ce,Ee),ce}function Ot(ce,ae,Ee){var ye={isRectText:!0},Te;Ee===!1?Te=!0:ye.autoColor=Ee,Xt(ce,ae,ye,Te)}function Xt(ce,ae,Ee,ye){if(Ee=Ee||S,Ee.isRectText){var Te;Ee.getTextPosition?Te=Ee.getTextPosition(ae,ye):(Te=ae.getShallow("position")||(ye?null:"inside"),Te==="outside"&&(Te="top")),ce.textPosition=Te,ce.textOffset=ae.getShallow("offset");var je=ae.getShallow("rotate");je!=null&&(je*=Math.PI/180),ce.textRotation=je,ce.textDistance=B.retrieve2(ae.getShallow("distance"),ye?null:5)}var qe=ae.ecModel,Le=qe&&qe.option.textStyle,ke=Vt(ae),tt;if(ke){tt={};for(var st in ke)if(ke.hasOwnProperty(st)){var _t=ae.getModel(["rich",st]);bt(tt[st]={},_t,Le,Ee,ye)}}return ce.rich=tt,bt(ce,ae,Le,Ee,ye,!0),Ee.forceRich&&!Ee.textStyle&&(Ee.textStyle={}),ce}function Vt(ce){for(var ae;ce&&ce!==ce.ecModel;){var Ee=(ce.option||S).rich;if(Ee){ae=ae||{};for(var ye in Ee)Ee.hasOwnProperty(ye)&&(ae[ye]=1)}ce=ce.parentModel}return ae}function bt(ce,ae,Ee,ye,Te,je){Ee=!Te&&Ee||S,ce.textFill=It(ae.getShallow("color"),ye)||Ee.color,ce.textStroke=It(ae.getShallow("textBorderColor"),ye)||Ee.textBorderColor,ce.textStrokeWidth=B.retrieve2(ae.getShallow("textBorderWidth"),Ee.textBorderWidth),Te||(je&&(ce.insideRollbackOpt=ye,Kt(ce)),ce.textFill==null&&(ce.textFill=ye.autoColor)),ce.fontStyle=ae.getShallow("fontStyle")||Ee.fontStyle,ce.fontWeight=ae.getShallow("fontWeight")||Ee.fontWeight,ce.fontSize=ae.getShallow("fontSize")||Ee.fontSize,ce.fontFamily=ae.getShallow("fontFamily")||Ee.fontFamily,ce.textAlign=ae.getShallow("align"),ce.textVerticalAlign=ae.getShallow("verticalAlign")||ae.getShallow("baseline"),ce.textLineHeight=ae.getShallow("lineHeight"),ce.textWidth=ae.getShallow("width"),ce.textHeight=ae.getShallow("height"),ce.textTag=ae.getShallow("tag"),(!je||!ye.disableBox)&&(ce.textBackgroundColor=It(ae.getShallow("backgroundColor"),ye),ce.textPadding=ae.getShallow("padding"),ce.textBorderColor=It(ae.getShallow("borderColor"),ye),ce.textBorderWidth=ae.getShallow("borderWidth"),ce.textBorderRadius=ae.getShallow("borderRadius"),ce.textBoxShadowColor=ae.getShallow("shadowColor"),ce.textBoxShadowBlur=ae.getShallow("shadowBlur"),ce.textBoxShadowOffsetX=ae.getShallow("shadowOffsetX"),ce.textBoxShadowOffsetY=ae.getShallow("shadowOffsetY")),ce.textShadowColor=ae.getShallow("textShadowColor")||Ee.textShadowColor,ce.textShadowBlur=ae.getShallow("textShadowBlur")||Ee.textShadowBlur,ce.textShadowOffsetX=ae.getShallow("textShadowOffsetX")||Ee.textShadowOffsetX,ce.textShadowOffsetY=ae.getShallow("textShadowOffsetY")||Ee.textShadowOffsetY}function It(ce,ae){return ce!=="auto"?ce:ae&&ae.autoColor?ae.autoColor:null}function Kt(ce){var ae=ce.textPosition,Ee=ce.insideRollbackOpt,ye;if(Ee&&ce.textFill==null){var Te=Ee.autoColor,je=Ee.isRectText,qe=Ee.useInsideStyle,Le=qe!==!1&&(qe===!0||je&&ae&&typeof ae=="string"&&ae.indexOf("inside")>=0),ke=!Le&&Te!=null;(Le||ke)&&(ye={textFill:ce.textFill,textStroke:ce.textStroke,textStrokeWidth:ce.textStrokeWidth}),Le&&(ce.textFill="#fff",ce.textStroke==null&&(ce.textStroke=Te,ce.textStrokeWidth==null&&(ce.textStrokeWidth=2))),ke&&(ce.textFill=Te)}ce.insideRollback=ye}function Se(ce){var ae=ce.insideRollback;ae&&(ce.textFill=ae.textFill,ce.textStroke=ae.textStroke,ce.textStrokeWidth=ae.textStrokeWidth,ce.insideRollback=null)}function Ye(ce,ae){var Ee=ae&&ae.getModel("textStyle");return B.trim([ce.fontStyle||Ee&&Ee.getShallow("fontStyle")||"",ce.fontWeight||Ee&&Ee.getShallow("fontWeight")||"",(ce.fontSize||Ee&&Ee.getShallow("fontSize")||12)+"px",ce.fontFamily||Ee&&Ee.getShallow("fontFamily")||"sans-serif"].join(" "))}function q(ce,ae,Ee,ye,Te,je){typeof Te=="function"&&(je=Te,Te=null);var qe=ye&&ye.isAnimationEnabled();if(qe){var Le=ce?"Update":"",ke=ye.getShallow("animationDuration"+Le),tt=ye.getShallow("animationEasing"+Le),st=ye.getShallow("animationDelay"+Le);typeof st=="function"&&(st=st(Te,ye.getAnimationDelayParams?ye.getAnimationDelayParams(ae,Te):null)),typeof ke=="function"&&(ke=ke(Te)),ke>0?ae.animateTo(Ee,ke,st||0,tt,je,!!je):(ae.stopAnimation(),ae.attr(Ee),je&&je())}else ae.stopAnimation(),ae.attr(Ee),je&&je()}function Ae(ce,ae,Ee,ye,Te){q(!0,ce,ae,Ee,ye,Te)}function Me(ce,ae,Ee,ye,Te){q(!1,ce,ae,Ee,ye,Te)}function De(ce,ae){for(var Ee=D.identity([]);ce&&ce!==ae;)D.mul(Ee,ce.getLocalTransform(),Ee),ce=ce.parent;return Ee}function ze(ce,ae,Ee){return ae&&!B.isArrayLike(ae)&&(ae=C.getLocalTransform(ae)),Ee&&(ae=D.invert([],ae)),I.applyTransform([],ce,ae)}function pe(ce,ae,Ee){var ye=ae[4]===0||ae[5]===0||ae[0]===0?1:Math.abs(2*ae[4]/ae[0]),Te=ae[4]===0||ae[5]===0||ae[2]===0?1:Math.abs(2*ae[4]/ae[2]),je=[ce==="left"?-ye:ce==="right"?ye:0,ce==="top"?-Te:ce==="bottom"?Te:0];return je=ze(je,ae,Ee),Math.abs(je[0])>Math.abs(je[1])?je[0]>0?"right":"left":je[1]>0?"bottom":"top"}function te(ce,ae,Ee,ye){if(!ce||!ae)return;function Te(Le){var ke={};return Le.traverse(function(tt){!tt.isGroup&&tt.anid&&(ke[tt.anid]=tt)}),ke}function je(Le){var ke={position:I.clone(Le.position),rotation:Le.rotation};return Le.shape&&(ke.shape=B.extend({},Le.shape)),ke}var qe=Te(ce);ae.traverse(function(Le){if(!Le.isGroup&&Le.anid){var ke=qe[Le.anid];if(ke){var tt=je(Le);Le.attr(je(ke)),Ae(Le,tt,Ee,Le.dataIndex)}}})}function be(ce,ae){return B.map(ce,function(Ee){var ye=Ee[0];ye=m(ye,ae.x),ye=b(ye,ae.x+ae.width);var Te=Ee[1];return Te=m(Te,ae.y),Te=b(Te,ae.y+ae.height),[ye,Te]})}function xe(ce,ae){var Ee=m(ce.x,ae.x),ye=b(ce.x+ce.width,ae.x+ae.width),Te=m(ce.y,ae.y),je=b(ce.y+ce.height,ae.y+ae.height);if(ye>=Ee&&je>=Te)return{x:Ee,y:Te,width:ye-Ee,height:je-Te}}function Z(ce,ae,Ee){ae=B.extend({rectHover:!0},ae);var ye=ae.style={strokeNoScale:!0};if(Ee=Ee||{x:-1,y:-1,width:2,height:2},ce)return ce.indexOf("image://")===0?(ye.image=ce.slice(8),B.defaults(ye,Ee),new f(ae)):Y(ce.replace("path://",""),ae,Ee,"center")}function se(ce,ae,Ee,ye,Te){for(var je=0,qe=Te[Te.length-1];je<Te.length;je++){var Le=Te[je];if(he(ce,ae,Ee,ye,Le[0],Le[1],qe[0],qe[1]))return!0;qe=Le}}function he(ce,ae,Ee,ye,Te,je,qe,Le){var ke=Ee-ce,tt=ye-ae,st=qe-Te,_t=Le-je,Ct=Oe(st,_t,ke,tt);if(ne(Ct))return!1;var Rt=ce-Te,Wt=ae-je,vt=Oe(Rt,Wt,ke,tt)/Ct;if(vt<0||vt>1)return!1;var Je=Oe(Rt,Wt,st,_t)/Ct;return!(Je<0||Je>1)}function Oe(ce,ae,Ee,ye){return ce*ye-Ee*ae}function ne(ce){return ce<=1e-6&&ce>=-1e-6}_("circle",s),_("sector",o),_("ring",r),_("polygon",u),_("polyline",n),_("rect",l),_("line",a),_("bezierCurve",c),_("arc",d),V.Z2_EMPHASIS_LIFT=P,V.CACHED_LABEL_STYLE_PROPERTIES=M,V.extendShape=Q,V.extendPath=z,V.registerShape=_,V.getShapeClass=J,V.makePath=Y,V.makeImage=k,V.mergePath=ie,V.resizePath=fe,V.subPixelOptimizeLine=Ce,V.subPixelOptimizeRect=ge,V.subPixelOptimize=de,V.setElementHoverStyle=dt,V.setHoverStyle=$e,V.setAsHighDownDispatcher=lt,V.isHighDownDispatcher=Ut,V.getHighlightDigit=gt,V.setLabelStyle=ft,V.modifyLabelStyle=rt,V.setTextStyle=Ie,V.setText=Ot,V.getFont=Ye,V.updateProps=Ae,V.initProps=Me,V.getTransform=De,V.applyTransform=ze,V.transformDirection=pe,V.groupTransition=te,V.clipPointsByRect=be,V.clipRectByRect=xe,V.createIcon=Z,V.linePolygonIntersect=se,V.lineLineIntersect=he},IyUQ:function(oe,V,e){var B=e("bYtY"),T=e("YH21"),w=e("IwbS"),D=e("iLNv"),I=e("fc+c"),E=e("OELB"),C=e("+TT/"),f=e("72pK"),t=w.Rect,i=E.linearMap,s=E.asc,o=B.bind,r=B.each,u=7,n=1,l=30,a="horizontal",c="vertical",d=5,h=["line","bar","candlestick","scatter"],y=I.extend({type:"dataZoom.slider",init:function(x,m){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=m},render:function(x,m,b,S){if(y.superApply(this,"render",arguments),D.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=x.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!S||S.type!=="dataZoom"||S.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){y.superApply(this,"remove",arguments),D.clear(this,"_dispatchZoomAction")},dispose:function(){y.superApply(this,"dispose",arguments),D.clear(this,"_dispatchZoomAction")},_buildView:function(){var x=this.group;x.removeAll(),this._resetLocation(),this._resetInterval();var m=this._displayables.barGroup=new w.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),x.add(m),this._positionGroup()},_resetLocation:function(){var x=this.dataZoomModel,m=this.api,b=this._findCoordRect(),S={width:m.getWidth(),height:m.getHeight()},P=this._orient===a?{right:S.width-b.x-b.width,top:S.height-l-u,width:b.width,height:l}:{right:u,top:b.y,width:l,height:b.height},M=C.getLayoutParams(x.option);B.each(["right","top","width","height"],function(F){M[F]==="ph"&&(M[F]=P[F])});var R=C.getLayoutRect(M,S,x.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===c&&this._size.reverse()},_positionGroup:function(){var x=this.group,m=this._location,b=this._orient,S=this.dataZoomModel.getFirstTargetAxisModel(),P=S&&S.get("inverse"),M=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;M.attr(b===a&&!P?{scale:R?[1,1]:[1,-1]}:b===a&&P?{scale:R?[-1,1]:[-1,-1]}:b===c&&!P?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var F=x.getBoundingRect([M]);x.attr("position",[m.x-F.x,m.y-F.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var x=this.dataZoomModel,m=this._size,b=this._displayables.barGroup;b.add(new t({silent:!0,shape:{x:0,y:0,width:m[0],height:m[1]},style:{fill:x.get("backgroundColor")},z2:-40})),b.add(new t({shape:{x:0,y:0,width:m[0],height:m[1]},style:{fill:"transparent"},z2:0,onclick:B.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var x=this._dataShadowInfo=this._prepareDataShadowInfo();if(!!x){var m=this._size,b=x.series,S=b.getRawData(),P=b.getShadowDim?b.getShadowDim():x.otherDim;if(P!=null){var M=S.getDataExtent(P),R=(M[1]-M[0])*.3;M=[M[0]-R,M[1]+R];var F=[0,m[1]],L=[0,m[0]],U=[[m[0],0],[0,0]],N=[],Q=L[1]/(S.count()-1),z=0,_=Math.round(S.count()/m[0]),J;S.each([P],function(k,W){if(_>0&&W%_){z+=Q;return}var ie=k==null||isNaN(k)||k==="",fe=ie?0:i(k,M,F,!0);ie&&!J&&W?(U.push([U[U.length-1][0],0]),N.push([N[N.length-1][0],0])):!ie&&J&&(U.push([z,0]),N.push([z,0])),U.push([z,fe]),N.push([z,fe]),z+=Q,J=ie});var Y=this.dataZoomModel;this._displayables.barGroup.add(new w.Polygon({shape:{points:U},style:B.defaults({fill:Y.get("dataBackgroundColor")},Y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new w.Polyline({shape:{points:N},style:Y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var x=this.dataZoomModel,m=x.get("showDataShadow");if(m!==!1){var b,S=this.ecModel;return x.eachTargetAxis(function(P,M){var R=x.getAxisProxy(P.name,M).getTargetSeriesModels();B.each(R,function(F){if(!b&&!(m!==!0&&B.indexOf(h,F.get("type"))<0)){var L=S.getComponent(P.axis,M).axis,U=A(P.name),N,Q=F.coordinateSystem;U!=null&&Q.getOtherAxis&&(N=Q.getOtherAxis(L).inverse),U=F.getData().mapDimension(U),b={thisAxis:L,series:F,thisDim:P.name,otherDim:U,otherAxisInverse:N}}},this)},this),b}},_renderHandle:function(){var x=this._displayables,m=x.handles=[],b=x.handleLabels=[],S=this._displayables.barGroup,P=this._size,M=this.dataZoomModel;S.add(x.filler=new t({draggable:!0,cursor:v(this._orient),drift:o(this._onDragMove,this,"all"),ondragstart:o(this._showDataInfo,this,!0),ondragend:o(this._onDragEnd,this),onmouseover:o(this._showDataInfo,this,!0),onmouseout:o(this._showDataInfo,this,!1),style:{fill:M.get("fillerColor"),textPosition:"inside"}})),S.add(new t({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:P[0],height:P[1]},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:n,fill:"rgba(0,0,0,0)"}})),r([0,1],function(R){var F=w.createIcon(M.get("handleIcon"),{cursor:v(this._orient),draggable:!0,drift:o(this._onDragMove,this,R),ondragend:o(this._onDragEnd,this),onmouseover:o(this._showDataInfo,this,!0),onmouseout:o(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),L=F.getBoundingRect();this._handleHeight=E.parsePercent(M.get("handleSize"),this._size[1]),this._handleWidth=L.width/L.height*this._handleHeight,F.setStyle(M.getModel("handleStyle").getItemStyle());var U=M.get("handleColor");U!=null&&(F.style.fill=U),S.add(m[R]=F);var N=M.textStyleModel;this.group.add(b[R]=new w.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:N.getTextColor(),textFont:N.getFont()},z2:10}))},this)},_resetInterval:function(){var x=this._range=this.dataZoomModel.getPercentRange(),m=this._getViewExtent();this._handleEnds=[i(x[0],[0,100],m,!0),i(x[1],[0,100],m,!0)]},_updateInterval:function(x,m){var b=this.dataZoomModel,S=this._handleEnds,P=this._getViewExtent(),M=b.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];f(m,S,P,b.get("zoomLock")?"all":x,M.minSpan!=null?i(M.minSpan,R,P,!0):null,M.maxSpan!=null?i(M.maxSpan,R,P,!0):null);var F=this._range,L=this._range=s([i(S[0],P,R,!0),i(S[1],P,R,!0)]);return!F||F[0]!==L[0]||F[1]!==L[1]},_updateView:function(x){var m=this._displayables,b=this._handleEnds,S=s(b.slice()),P=this._size;r([0,1],function(M){var R=m.handles[M],F=this._handleHeight;R.attr({scale:[F/2,F/2],position:[b[M],P[1]/2-F/2]})},this),m.filler.setShape({x:S[0],y:0,width:S[1]-S[0],height:P[1]}),this._updateDataInfo(x)},_updateDataInfo:function(x){var m=this.dataZoomModel,b=this._displayables,S=b.handleLabels,P=this._orient,M=["",""];if(m.get("showDetail")){var R=m.findRepresentativeAxisProxy();if(R){var F=R.getAxisModel().axis,L=this._range,U=x?R.calculateDataWindow({start:L[0],end:L[1]}).valueWindow:R.getDataValueWindow();M=[this._formatLabel(U[0],F),this._formatLabel(U[1],F)]}}var N=s(this._handleEnds.slice());Q.call(this,0),Q.call(this,1);function Q(z){var _=w.getTransform(b.handles[z].parent,this.group),J=w.transformDirection(z===0?"right":"left",_),Y=this._handleWidth/2+d,k=w.applyTransform([N[z]+(z===0?-Y:Y),this._size[1]/2],_);S[z].setStyle({x:k[0],y:k[1],textVerticalAlign:P===a?"middle":J,textAlign:P===a?J:"center",text:M[z]})}},_formatLabel:function(x,m){var b=this.dataZoomModel,S=b.get("labelFormatter"),P=b.get("labelPrecision");(P==null||P==="auto")&&(P=m.getPixelPrecision());var M=x==null||isNaN(x)?"":m.type==="category"||m.type==="time"?m.scale.getLabel(Math.round(x)):x.toFixed(Math.min(P,20));return B.isFunction(S)?S(x,M):B.isString(S)?S.replace("{value}",M):M},_showDataInfo:function(x){x=this._dragging||x;var m=this._displayables.handleLabels;m[0].attr("invisible",!x),m[1].attr("invisible",!x)},_onDragMove:function(x,m,b,S){this._dragging=!0,T.stop(S.event);var P=this._displayables.barGroup.getLocalTransform(),M=w.applyTransform([m,b],P,!0),R=this._updateInterval(x,M[0]),F=this.dataZoomModel.get("realtime");this._updateView(!F),R&&F&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var x=this.dataZoomModel.get("realtime");!x&&this._dispatchZoomAction()},_onClickPanelClick:function(x){var m=this._size,b=this._displayables.barGroup.transformCoordToLocal(x.offsetX,x.offsetY);if(!(b[0]<0||b[0]>m[0]||b[1]<0||b[1]>m[1])){var S=this._handleEnds,P=(S[0]+S[1])/2,M=this._updateInterval("all",b[0]-P);this._updateView(),M&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var x=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:x[0],end:x[1]})},_findCoordRect:function(){var x;if(r(this.getTargetCoordInfo(),function(S){if(!x&&S.length){var P=S[0].model.coordinateSystem;x=P.getRect&&P.getRect()}}),!x){var m=this.api.getWidth(),b=this.api.getHeight();x={x:m*.2,y:b*.2,width:m*.6,height:b*.6}}return x}});function A(x){var m={x:"y",y:"x",radius:"angle",angle:"radius"};return m[x]}function v(x){return x==="vertical"?"ns-resize":"ew-resize"}var g=y;oe.exports=g},IzEo:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("lnY3"),D=e.n(w),I=e("cWXX"),E=e("Znn+")},J4zp:function(oe,V,e){var B=e("wTVA"),T=e("m0LI"),w=e("ZhPi"),D=e("wkBT");function I(E,C){return B(E)||T(E,C)||w(E,C)||D()}oe.exports=I,oe.exports.__esModule=!0,oe.exports.default=oe.exports},J66h:function(oe,V,e){(function(B){var T,w;(function(D,I){oe.exports=I(D)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof B!="undefined"?B:this,function(D){"use strict";D=D||{};var I=D.Base64,E="2.6.4",C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=function(F){for(var L={},U=0,N=F.length;U<N;U++)L[F.charAt(U)]=U;return L}(C),t=String.fromCharCode,i=function(L){if(L.length<2){var U=L.charCodeAt(0);return U<128?L:U<2048?t(192|U>>>6)+t(128|U&63):t(224|U>>>12&15)+t(128|U>>>6&63)+t(128|U&63)}else{var U=65536+(L.charCodeAt(0)-55296)*1024+(L.charCodeAt(1)-56320);return t(240|U>>>18&7)+t(128|U>>>12&63)+t(128|U>>>6&63)+t(128|U&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,o=function(L){return L.replace(s,i)},r=function(L){var U=[0,2,1][L.length%3],N=L.charCodeAt(0)<<16|(L.length>1?L.charCodeAt(1):0)<<8|(L.length>2?L.charCodeAt(2):0),Q=[C.charAt(N>>>18),C.charAt(N>>>12&63),U>=2?"=":C.charAt(N>>>6&63),U>=1?"=":C.charAt(N&63)];return Q.join("")},u=D.btoa&&typeof D.btoa=="function"?function(F){return D.btoa(F)}:function(F){if(F.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return F.replace(/[\s\S]{1,3}/g,r)},n=function(L){return u(o(String(L)))},l=function(L){return L.replace(/[+\/]/g,function(U){return U=="+"?"-":"_"}).replace(/=/g,"")},a=function(L,U){return U?l(n(L)):n(L)},c=function(L){return a(L,!0)},d;D.Uint8Array&&(d=function(L,U){for(var N="",Q=0,z=L.length;Q<z;Q+=3){var _=L[Q],J=L[Q+1],Y=L[Q+2],k=_<<16|J<<8|Y;N+=C.charAt(k>>>18)+C.charAt(k>>>12&63)+(typeof J!="undefined"?C.charAt(k>>>6&63):"=")+(typeof Y!="undefined"?C.charAt(k&63):"=")}return U?l(N):N});var h=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=function(L){switch(L.length){case 4:var U=(7&L.charCodeAt(0))<<18|(63&L.charCodeAt(1))<<12|(63&L.charCodeAt(2))<<6|63&L.charCodeAt(3),N=U-65536;return t((N>>>10)+55296)+t((N&1023)+56320);case 3:return t((15&L.charCodeAt(0))<<12|(63&L.charCodeAt(1))<<6|63&L.charCodeAt(2));default:return t((31&L.charCodeAt(0))<<6|63&L.charCodeAt(1))}},A=function(L){return L.replace(h,y)},v=function(L){var U=L.length,N=U%4,Q=(U>0?f[L.charAt(0)]<<18:0)|(U>1?f[L.charAt(1)]<<12:0)|(U>2?f[L.charAt(2)]<<6:0)|(U>3?f[L.charAt(3)]:0),z=[t(Q>>>16),t(Q>>>8&255),t(Q&255)];return z.length-=[0,0,2,1][N],z.join("")},g=D.atob&&typeof D.atob=="function"?function(F){return D.atob(F)}:function(F){return F.replace(/\S{1,4}/g,v)},x=function(L){return g(String(L).replace(/[^A-Za-z0-9\+\/]/g,""))},m=function(L){return A(g(L))},b=function(L){return String(L).replace(/[-_]/g,function(U){return U=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},S=function(L){return m(b(L))},P;D.Uint8Array&&(P=function(L){return Uint8Array.from(x(b(L)),function(U){return U.charCodeAt(0)})});var M=function(){var L=D.Base64;return D.Base64=I,L};if(D.Base64={VERSION:E,atob:x,btoa:u,fromBase64:S,toBase64:a,utob:o,encode:a,encodeURI:c,btou:A,decode:S,noConflict:M,fromUint8Array:d,toUint8Array:P},typeof Object.defineProperty=="function"){var R=function(L){return{value:L,enumerable:!1,writable:!0,configurable:!0}};D.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return S(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(F){return a(this,F)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return a(this,!0)}))}}return D.Meteor&&(Base64=D.Base64),oe.exports?oe.exports.Base64=D.Base64:(T=[],w=function(){return D.Base64}.apply(V,T),w!==void 0&&(oe.exports=w)),{Base64:D.Base64}})}).call(this,e("IyRk"))},JEkh:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("ItGF"),E=e("4NO4"),C=e("7aKB"),f=e("OKJ2"),t=C.addCommas,i=C.encodeHTML;function s(u){E.defaultEmphasis(u,"label",["show"])}var o=w.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(u,n,l){this.mergeDefaultAndTheme(u,l),this._mergeOption(u,l,!1,!0)},isAnimationEnabled:function(){if(I.node)return!1;var u=this.__hostSeries;return this.getShallow("animation")&&u&&u.isAnimationEnabled()},mergeOption:function(u,n){this._mergeOption(u,n,!1,!1)},_mergeOption:function(u,n,l,a){var c=this.constructor,d=this.mainType+"Model";l||n.eachSeries(function(h){var y=h.get(this.mainType,!0),A=h[d];if(!y||!y.data){h[d]=null;return}A?A._mergeOption(y,n,!0):(a&&s(y),D.each(y.data,function(v){v instanceof Array?(s(v[0]),s(v[1])):s(v)}),A=new c(y,this,n),D.extend(A,{mainType:this.mainType,seriesIndex:h.seriesIndex,name:h.name,createdBySelf:!0}),A.__hostSeries=h),h[d]=A},this)},formatTooltip:function(u,n,l,a){var c=this.getData(),d=this.getRawValue(u),h=D.isArray(d)?D.map(d,t).join(", "):t(d),y=c.getName(u),A=i(this.name),v=a==="html"?"<br/>":`
|
|
|
`;return(d!=null||y)&&(A+=v),y&&(A+=i(y),d!=null&&(A+=" : ")),d!=null&&(A+=i(h)),A},getData:function(){return this._data},setData:function(u){this._data=u}});D.mixin(o,f);var r=o;oe.exports=r},JGo8:function(oe,V,e){},JLnu:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("+TT/"),D=e("OELB"),I=D.parsePercent,E=D.linearMap;function C(s,o){return w.getLayoutRect(s.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function f(s,o){for(var r=s.mapDimension("value"),u=s.mapArray(r,function(d){return d}),n=[],l=o==="ascending",a=0,c=s.count();a<c;a++)n[a]=a;return typeof o=="function"?n.sort(o):o!=="none"&&n.sort(function(d,h){return l?u[d]-u[h]:u[h]-u[d]}),n}function t(s){s.each(function(o){var r=s.getItemModel(o),u=r.getModel("label"),n=u.get("position"),l=r.get("orient"),a=r.getModel("labelLine"),c=s.getItemLayout(o),d=c.points,h=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",y,A,v,g;if(h)n==="insideLeft"?(A=(d[0][0]+d[3][0])/2+5,v=(d[0][1]+d[3][1])/2,y="left"):n==="insideRight"?(A=(d[1][0]+d[2][0])/2-5,v=(d[1][1]+d[2][1])/2,y="right"):(A=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,v=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,y="center"),g=[[A,v],[A,v]];else{var x,m,b,S,P=a.get("length");n==="left"?(x=(d[3][0]+d[0][0])/2,m=(d[3][1]+d[0][1])/2,b=x-P,A=b-5,y="right"):n==="right"?(x=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,b=x+P,A=b+5,y="left"):n==="top"?(x=(d[3][0]+d[0][0])/2,m=(d[3][1]+d[0][1])/2,S=m-P,v=S-5,y="center"):n==="bottom"?(x=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,S=m+P,v=S+5,y="center"):n==="rightTop"?(x=l==="horizontal"?d[3][0]:d[1][0],m=l==="horizontal"?d[3][1]:d[1][1],l==="horizontal"?(S=m-P,v=S-5,y="center"):(b=x+P,A=b+5,y="top")):n==="rightBottom"?(x=d[2][0],m=d[2][1],l==="horizontal"?(S=m+P,v=S+5,y="center"):(b=x+P,A=b+5,y="bottom")):n==="leftTop"?(x=d[0][0],m=l==="horizontal"?d[0][1]:d[1][1],l==="horizontal"?(S=m-P,v=S-5,y="center"):(b=x-P,A=b-5,y="right")):n==="leftBottom"?(x=l==="horizontal"?d[1][0]:d[3][0],m=l==="horizontal"?d[1][1]:d[2][1],l==="horizontal"?(S=m+P,v=S+5,y="center"):(b=x-P,A=b-5,y="right")):(x=(d[1][0]+d[2][0])/2,m=(d[1][1]+d[2][1])/2,l==="horizontal"?(S=m+P,v=S+5,y="center"):(b=x+P,A=b+5,y="left")),l==="horizontal"?(b=x,A=b):(S=m,v=S),g=[[x,m],[b,S]]}c.label={linePoints:g,x:A,y:v,verticalAlign:"middle",textAlign:y,inside:h}})}function i(s,o,r){s.eachSeriesByType("funnel",function(u){var n=u.getData(),l=n.mapDimension("value"),a=u.get("sort"),c=C(u,o),d=f(n,a),h=u.get("orient"),y=c.width,A=c.height,v=c.x,g=c.y,x=h==="horizontal"?[I(u.get("minSize"),A),I(u.get("maxSize"),A)]:[I(u.get("minSize"),y),I(u.get("maxSize"),y)],m=n.getDataExtent(l),b=u.get("min"),S=u.get("max");b==null&&(b=Math.min(m[0],0)),S==null&&(S=m[1]);var P=u.get("funnelAlign"),M=u.get("gap"),R=h==="horizontal"?y:A,F=(R-M*(n.count()-1))/n.count(),L=function(W,ie){if(h==="horizontal"){var ge=n.get(l,W)||0,fe=E(ge,[b,S],x,!0),Ce;switch(P){case"top":Ce=g;break;case"center":Ce=g+(A-fe)/2;break;case"bottom":Ce=g+(A-fe);break}return[[ie,Ce],[ie,Ce+fe]]}var ge=n.get(l,W)||0,de=E(ge,[b,S],x,!0),Pe;switch(P){case"left":Pe=v;break;case"center":Pe=v+(y-de)/2;break;case"right":Pe=v+y-de;break}return[[Pe,ie],[Pe+de,ie]]};a==="ascending"&&(F=-F,M=-M,h==="horizontal"?v+=y:g+=A,d=d.reverse());for(var U=0;U<d.length;U++){var N=d[U],Q=d[U+1],z=n.getItemModel(N);if(h==="horizontal"){var _=z.get("itemStyle.width");_==null?_=F:(_=I(_,y),a==="ascending"&&(_=-_));var J=L(N,v),Y=L(Q,v+_);v+=_+M,n.setItemLayout(N,{points:J.concat(Y.slice().reverse())})}else{var k=z.get("itemStyle.height");k==null?k=F:(k=I(k,A),a==="ascending"&&(k=-k));var J=h==="horizontal"?L(N,v):L(N,g),Y=h==="horizontal"?L(Q,v+_):L(Q,g+k);g+=k+M,n.setItemLayout(N,{points:J.concat(Y.slice().reverse())})}}t(n)})}oe.exports=i},JVwQ:function(oe,V,e){var B=e("ProS"),T=e("1NG9"),w=T.Polygon,D=e("IwbS"),I=e("bYtY"),E=I.bind,C=I.extend,f=e("gPAo"),t=B.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,o,r){var u=s.getData(),n=this.group,l=s.getLayerSeries(),a=u.getLayout("layoutInfo"),c=a.rect,d=a.boundaryGap;n.attr("position",[0,c.y+d[0]]);function h(g){return g.name}var y=new f(this._layersSeries||[],l,h,h),A={};y.add(E(v,this,"add")).update(E(v,this,"update")).remove(E(v,this,"remove")).execute();function v(g,x,m){var b=this._layers;if(g==="remove"){n.remove(b[x]);return}for(var S=[],P=[],M,R=l[x].indices,F=0;F<R.length;F++){var L=u.getItemLayout(R[F]),U=L.x,N=L.y0,Q=L.y;S.push([U,N]),P.push([U,N+Q]),M=u.getItemVisual(R[F],"color")}var z,_,J=u.getItemLayout(R[0]),Y=u.getItemModel(R[F-1]),k=Y.getModel("label"),W=k.get("margin");if(g==="add"){var ie=A[x]=new D.Group;z=new w({shape:{points:S,stackedOnPoints:P,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),_=new D.Text({style:{x:J.x-W,y:J.y0+J.y/2}}),ie.add(z),ie.add(_),n.add(ie),z.setClipPath(i(z.getBoundingRect(),s,function(){z.removeClipPath()}))}else{var ie=b[m];z=ie.childAt(0),_=ie.childAt(1),n.add(ie),A[x]=ie,D.updateProps(z,{shape:{points:S,stackedOnPoints:P}},s),D.updateProps(_,{style:{x:J.x-W,y:J.y0+J.y/2}},s)}var fe=Y.getModel("emphasis.itemStyle"),Ce=Y.getModel("itemStyle");D.setTextStyle(_.style,k,{text:k.get("show")?s.getFormattedLabel(R[F-1],"normal")||u.getName(R[F-1]):null,textVerticalAlign:"middle"}),z.setStyle(C({fill:M},Ce.getItemStyle(["color"]))),D.setHoverStyle(z,fe.getItemStyle())}this._layersSeries=l,this._layers=A},dispose:function(){}});function i(s,o,r){var u=new D.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return D.initProps(u,{shape:{width:s.width+20,height:s.height+20}},o,r),u}oe.exports=t},JsLm:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("KQm4"),D=e("ODXe"),I=e("TSYQ"),E=e.n(I),C=e("zT1h"),f=e("q1tI"),t=e("1OyB"),i=e("vuIU"),s=e("Ji7U"),o=e("LK+K"),r=e("U8pU"),u=e("t23M"),n=e("bT9E"),l=e("H84U"),a=e("PEeC");function c(ge){return ge!==window?ge.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function d(ge,de,Pe){if(Pe!==void 0&&de.top>ge.top-Pe)return Pe+de.top}function h(ge,de,Pe){if(Pe!==void 0&&de.bottom<ge.bottom+Pe){var _e=window.innerHeight-de.bottom;return Pe+_e}}var y=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],A=[];function v(){return A}function g(ge,de){if(!!ge){var Pe=A.find(function(_e){return _e.target===ge});Pe?Pe.affixList.push(de):(Pe={target:ge,affixList:[de],eventHandlers:{}},A.push(Pe),y.forEach(function(_e){Pe.eventHandlers[_e]=Object(C.a)(ge,_e,function(){Pe.affixList.forEach(function(Ne){Ne.lazyUpdatePosition()})})}))}}function x(ge){var de=A.find(function(Pe){var _e=Pe.affixList.some(function(Ne){return Ne===ge});return _e&&(Pe.affixList=Pe.affixList.filter(function(Ne){return Ne!==ge})),_e});de&&de.affixList.length===0&&(A=A.filter(function(Pe){return Pe!==de}),y.forEach(function(Pe){var _e=de.eventHandlers[Pe];_e&&_e.remove&&_e.remove()}))}var m=function(ge,de,Pe,_e){var Ne=arguments.length,He=Ne<3?de:_e===null?_e=Object.getOwnPropertyDescriptor(de,Pe):_e,ue;if((typeof Reflect=="undefined"?"undefined":Object(r.a)(Reflect))==="object"&&typeof Reflect.decorate=="function")He=Reflect.decorate(ge,de,Pe,_e);else for(var Re=ge.length-1;Re>=0;Re--)(ue=ge[Re])&&(He=(Ne<3?ue(He):Ne>3?ue(de,Pe,He):ue(de,Pe))||He);return Ne>3&&He&&Object.defineProperty(de,Pe,He),He};function b(){return typeof window!="undefined"?window:null}var S;(function(ge){ge[ge.None=0]="None",ge[ge.Prepare=1]="Prepare"})(S||(S={}));var P=function(ge){Object(s.a)(Pe,ge);var de=Object(o.a)(Pe);function Pe(){var _e;return Object(t.a)(this,Pe),_e=de.apply(this,arguments),_e.state={status:S.None,lastAffix:!1,prevTarget:null},_e.getOffsetTop=function(){var Ne=_e.props,He=Ne.offsetBottom,ue=Ne.offsetTop;return He===void 0&&ue===void 0?0:ue},_e.getOffsetBottom=function(){return _e.props.offsetBottom},_e.savePlaceholderNode=function(Ne){_e.placeholderNode=Ne},_e.saveFixedNode=function(Ne){_e.fixedNode=Ne},_e.measure=function(){var Ne=_e.state,He=Ne.status,ue=Ne.lastAffix,Re=_e.props.onChange,nt=_e.getTargetFunc();if(!(He!==S.Prepare||!_e.fixedNode||!_e.placeholderNode||!nt)){var Ve=_e.getOffsetTop(),Ge=_e.getOffsetBottom(),dt=nt();if(!!dt){var et={status:S.None},At=c(dt),Dt=c(_e.placeholderNode),Ft=d(Dt,At,Ve),St=h(Dt,At,Ge);Ft!==void 0?(et.affixStyle={position:"fixed",top:Ft,width:Dt.width,height:Dt.height},et.placeholderStyle={width:Dt.width,height:Dt.height}):St!==void 0&&(et.affixStyle={position:"fixed",bottom:St,width:Dt.width,height:Dt.height},et.placeholderStyle={width:Dt.width,height:Dt.height}),et.lastAffix=!!et.affixStyle,Re&&ue!==et.lastAffix&&Re(et.lastAffix),_e.setState(et)}}},_e.prepareMeasure=function(){if(_e.setState({status:S.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var Ne},_e}return Object(i.a)(Pe,[{key:"getTargetFunc",value:function(){var Ne=this.context.getTargetContainer,He=this.props.target;return He!==void 0?He:Ne!=null?Ne:b}},{key:"componentDidMount",value:function(){var Ne=this,He=this.getTargetFunc();He&&(this.timeout=setTimeout(function(){g(He(),Ne),Ne.updatePosition()}))}},{key:"componentDidUpdate",value:function(Ne){var He=this.state.prevTarget,ue=this.getTargetFunc(),Re=(ue==null?void 0:ue())||null;He!==Re&&(x(this),Re&&(g(Re,this),this.updatePosition()),this.setState({prevTarget:Re})),(Ne.offsetTop!==this.props.offsetTop||Ne.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),x(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var Ne=this.getTargetFunc(),He=this.state.affixStyle;if(Ne&&He){var ue=this.getOffsetTop(),Re=this.getOffsetBottom(),nt=Ne();if(nt&&this.placeholderNode){var Ve=c(nt),Ge=c(this.placeholderNode),dt=d(Ge,Ve,ue),et=h(Ge,Ve,Re);if(dt!==void 0&&He.top===dt||et!==void 0&&He.bottom===et)return}}this.prepareMeasure()}},{key:"render",value:function(){var Ne=this,He=this.state,ue=He.affixStyle,Re=He.placeholderStyle,nt=this.props,Ve=nt.affixPrefixCls,Ge=nt.children,dt=E()(Object(T.a)({},Ve,!!ue)),et=Object(n.a)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return f.createElement(u.a,{onResize:function(){Ne.updatePosition()}},f.createElement("div",Object(B.a)({},et,{ref:this.savePlaceholderNode}),ue&&f.createElement("div",{style:Re,"aria-hidden":"true"}),f.createElement("div",{className:dt,ref:this.saveFixedNode,style:ue},f.createElement(u.a,{onResize:function(){Ne.updatePosition()}},Ge))))}}]),Pe}(f.Component);P.contextType=l.b,m([Object(a.b)()],P.prototype,"updatePosition",null),m([Object(a.b)()],P.prototype,"lazyUpdatePosition",null);var M=f.forwardRef(function(ge,de){var Pe=ge.prefixCls,_e=f.useContext(l.b),Ne=_e.getPrefixCls,He=Ne("affix",Pe),ue=Object(B.a)(Object(B.a)({},ge),{affixPrefixCls:He});return f.createElement(P,Object(B.a)({},ue,{ref:de}))}),R=M,F=e("i6bk"),L=e("zAh6"),U=f.createContext(void 0),N=U;function Q(){return window}function z(ge,de){if(!ge.getClientRects().length)return 0;var Pe=ge.getBoundingClientRect();return Pe.width||Pe.height?de===window?(de=ge.ownerDocument.documentElement,Pe.top-de.clientTop):Pe.top-de.getBoundingClientRect().top:Pe.top}var _=/#([\S ]+)$/,J=function(de){var Pe,_e=de.anchorPrefixCls,Ne=de.className,He=Ne===void 0?"":Ne,ue=de.style,Re=de.offsetTop,nt=de.affix,Ve=nt===void 0?!0:nt,Ge=de.showInkInFixed,dt=Ge===void 0?!1:Ge,et=de.children,At=de.bounds,Dt=de.targetOffset,Ft=de.onClick,St=de.onChange,$e=de.getContainer,lt=de.getCurrentAnchor,Ut=f.useState([]),gt=Object(D.a)(Ut,2),ft=gt[0],rt=gt[1],Ie=f.useState(null),Ot=Object(D.a)(Ie,2),Xt=Ot[0],Vt=Ot[1],bt=f.useRef(Xt),It=f.useRef(null),Kt=f.useRef(null),Se=f.useRef(!1),Ye=f.useContext(l.b),q=Ye.direction,Ae=Ye.getTargetContainer,Me=(Pe=$e!=null?$e:Ae)!==null&&Pe!==void 0?Pe:Q,De=JSON.stringify(ft),ze=f.useCallback(function(ye){ft.includes(ye)||rt(function(Te){return[].concat(Object(w.a)(Te),[ye])})},[De]),pe=f.useCallback(function(ye){ft.includes(ye)&&rt(function(Te){return Te.filter(function(je){return je!==ye})})},[De]),te=function(){var Te,je=(Te=It.current)===null||Te===void 0?void 0:Te.querySelector(".".concat(_e,"-link-title-active"));je&&Kt.current&&(Kt.current.style.top="".concat(je.offsetTop+je.clientHeight/2-4.5,"px"))},be=function(Te){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5,Le=[],ke=Me();if(Te.forEach(function(st){var _t=_.exec(st==null?void 0:st.toString());if(!!_t){var Ct=document.getElementById(_t[1]);if(Ct){var Rt=z(Ct,ke);Rt<je+qe&&Le.push({link:st,top:Rt})}}}),Le.length){var tt=Le.reduce(function(st,_t){return _t.top>st.top?_t:st});return tt.link}return""},xe=function(Te){if(bt.current!==Te){var je=typeof lt=="function"?lt(Te):Te;Vt(je),bt.current=je,St==null||St(Te)}},Z=f.useCallback(function(){if(!Se.current&&typeof lt!="function"){var ye=be(ft,Dt!==void 0?Dt:Re||0,At);xe(ye)}},[De,Dt,Re]),se=f.useCallback(function(ye){xe(ye);var Te=Me(),je=Object(F.a)(Te,!0),qe=_.exec(ye);if(!!qe){var Le=document.getElementById(qe[1]);if(!!Le){var ke=z(Le,Te),tt=je+ke;tt-=Dt!==void 0?Dt:Re||0,Se.current=!0,Object(L.a)(tt,{getContainer:Me,callback:function(){Se.current=!1}})}}},[Dt,Re]),he=E()(Object(T.a)({},"".concat(_e,"-ink-ball-visible"),Xt),"".concat(_e,"-ink-ball")),Oe=E()("".concat(_e,"-wrapper"),Object(T.a)({},"".concat(_e,"-rtl"),q==="rtl"),He),ne=E()(_e,Object(T.a)({},"".concat(_e,"-fixed"),!Ve&&!dt)),ce=Object(B.a)({maxHeight:Re?"calc(100vh - ".concat(Re,"px)"):"100vh"},ue),ae=f.createElement("div",{ref:It,className:Oe,style:ce},f.createElement("div",{className:ne},f.createElement("div",{className:"".concat(_e,"-ink")},f.createElement("span",{className:he,ref:Kt})),et));f.useEffect(function(){var ye=Me(),Te=Object(C.a)(ye,"scroll",Z);return Z(),function(){Te==null||Te.remove()}},[De]),f.useEffect(function(){typeof lt=="function"&&xe(lt(bt.current||""))},[lt]),f.useEffect(function(){te()},[lt,De,Xt]);var Ee=f.useMemo(function(){return{registerLink:ze,unregisterLink:pe,scrollTo:se,activeLink:Xt,onClick:Ft}},[Xt,Ft,se]);return f.createElement(N.Provider,{value:Ee},Ve?f.createElement(R,{offsetTop:Re,target:Me},ae):ae)},Y=function(de){var Pe=de.prefixCls,_e=f.useContext(l.b),Ne=_e.getPrefixCls,He=Ne("anchor",Pe);return f.createElement(J,Object(B.a)({},de,{anchorPrefixCls:He}))},k=Y,W=function(de){var Pe=de.href,_e=Pe===void 0?"#":Pe,Ne=de.title,He=de.prefixCls,ue=de.children,Re=de.className,nt=de.target,Ve=f.useContext(N),Ge=Ve||{},dt=Ge.registerLink,et=Ge.unregisterLink,At=Ge.scrollTo,Dt=Ge.onClick,Ft=Ge.activeLink;f.useEffect(function(){return dt==null||dt(_e),function(){et==null||et(_e)}},[_e,dt,et]);var St=function(lt){Dt==null||Dt(lt,{title:Ne,href:_e}),At==null||At(_e)};return f.createElement(l.a,null,function($e){var lt=$e.getPrefixCls,Ut=lt("anchor",He),gt=Ft===_e,ft=E()("".concat(Ut,"-link"),Re,Object(T.a)({},"".concat(Ut,"-link-active"),gt)),rt=E()("".concat(Ut,"-link-title"),Object(T.a)({},"".concat(Ut,"-link-title-active"),gt));return f.createElement("div",{className:ft},f.createElement("a",{className:rt,href:_e,title:typeof Ne=="string"?Ne:"",target:nt,onClick:St},Ne),ue)})},ie=W,fe=k;fe.Link=ie;var Ce=V.a=fe},JuEJ:function(oe,V,e){var B=e("bYtY"),T=e("4NO4"),w=B.each,D=B.isObject,I=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function E(n){var l=n&&n.itemStyle;if(!!l)for(var a=0,c=I.length;a<c;a++){var d=I[a],h=l.normal,y=l.emphasis;h&&h[d]&&(n[d]=n[d]||{},n[d].normal?B.merge(n[d].normal,h[d]):n[d].normal=h[d],h[d]=null),y&&y[d]&&(n[d]=n[d]||{},n[d].emphasis?B.merge(n[d].emphasis,y[d]):n[d].emphasis=y[d],y[d]=null)}}function C(n,l,a){if(n&&n[l]&&(n[l].normal||n[l].emphasis)){var c=n[l].normal,d=n[l].emphasis;c&&(a?(n[l].normal=n[l].emphasis=null,B.defaults(n[l],c)):n[l]=c),d&&(n.emphasis=n.emphasis||{},n.emphasis[l]=d)}}function f(n){C(n,"itemStyle"),C(n,"lineStyle"),C(n,"areaStyle"),C(n,"label"),C(n,"labelLine"),C(n,"upperLabel"),C(n,"edgeLabel")}function t(n,l){var a=D(n)&&n[l],c=D(a)&&a.textStyle;if(c)for(var d=0,h=T.TEXT_STYLE_OPTIONS.length;d<h;d++){var l=T.TEXT_STYLE_OPTIONS[d];c.hasOwnProperty(l)&&(a[l]=c[l])}}function i(n){n&&(f(n),t(n,"label"),n.emphasis&&t(n.emphasis,"label"))}function s(n){if(!!D(n)){E(n),f(n),t(n,"label"),t(n,"upperLabel"),t(n,"edgeLabel"),n.emphasis&&(t(n.emphasis,"label"),t(n.emphasis,"upperLabel"),t(n.emphasis,"edgeLabel"));var l=n.markPoint;l&&(E(l),i(l));var a=n.markLine;a&&(E(a),i(a));var c=n.markArea;c&&i(c);var d=n.data;if(n.type==="graph"){d=d||n.nodes;var h=n.links||n.edges;if(h&&!B.isTypedArray(h))for(var y=0;y<h.length;y++)i(h[y]);B.each(n.categories,function(g){f(g)})}if(d&&!B.isTypedArray(d))for(var y=0;y<d.length;y++)i(d[y]);var l=n.markPoint;if(l&&l.data)for(var A=l.data,y=0;y<A.length;y++)i(A[y]);var a=n.markLine;if(a&&a.data)for(var v=a.data,y=0;y<v.length;y++)B.isArray(v[y])?(i(v[y][0]),i(v[y][1])):i(v[y]);n.type==="gauge"?(t(n,"axisLabel"),t(n,"title"),t(n,"detail")):n.type==="treemap"?(C(n.breadcrumb,"itemStyle"),B.each(n.levels,function(g){f(g)})):n.type==="tree"&&f(n.leaves)}}function o(n){return B.isArray(n)?n:n?[n]:[]}function r(n){return(B.isArray(n)?n[0]:n)||{}}function u(n,l){w(o(n.series),function(c){D(c)&&s(c)});var a=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];l&&a.push("valueAxis","categoryAxis","logAxis","timeAxis"),w(a,function(c){w(o(n[c]),function(d){d&&(t(d,"axisLabel"),t(d.axisPointer,"label"))})}),w(o(n.parallel),function(c){var d=c&&c.parallelAxisDefault;t(d,"axisLabel"),t(d&&d.axisPointer,"label")}),w(o(n.calendar),function(c){C(c,"itemStyle"),t(c,"dayLabel"),t(c,"monthLabel"),t(c,"yearLabel")}),w(o(n.radar),function(c){t(c,"name")}),w(o(n.geo),function(c){D(c)&&(i(c),w(o(c.regions),function(d){i(d)}))}),w(o(n.timeline),function(c){i(c),C(c,"label"),C(c,"itemStyle"),C(c,"controlStyle",!0);var d=c.data;B.isArray(d)&&B.each(d,function(h){B.isObject(h)&&(C(h,"label"),C(h,"itemStyle"))})}),w(o(n.toolbox),function(c){C(c,"iconStyle"),w(c.feature,function(d){C(d,"iconStyle")})}),t(r(n.axisPointer),"label"),t(r(n.tooltip).axisPointer,"label")}oe.exports=u},K2GJ:function(oe,V,e){var B=e("fW2E"),T=e("gut8"),w=T.ContextCachedBy,D=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],I=function(r){this.extendFrom(r,!1)};function E(o,r,u){var n=r.x==null?0:r.x,l=r.x2==null?1:r.x2,a=r.y==null?0:r.y,c=r.y2==null?0:r.y2;r.global||(n=n*u.width+u.x,l=l*u.width+u.x,a=a*u.height+u.y,c=c*u.height+u.y),n=isNaN(n)?0:n,l=isNaN(l)?1:l,a=isNaN(a)?0:a,c=isNaN(c)?0:c;var d=o.createLinearGradient(n,a,l,c);return d}function C(o,r,u){var n=u.width,l=u.height,a=Math.min(n,l),c=r.x==null?.5:r.x,d=r.y==null?.5:r.y,h=r.r==null?.5:r.r;r.global||(c=c*n+u.x,d=d*l+u.y,h=h*a);var y=o.createRadialGradient(c,d,0,c,d,h);return y}I.prototype={constructor:I,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(r,u,n){var l=this,a=n&&n.style,c=!a||r.__attrCachedBy!==w.STYLE_BIND;r.__attrCachedBy=w.STYLE_BIND;for(var d=0;d<D.length;d++){var h=D[d],y=h[0];(c||l[y]!==a[y])&&(r[y]=B(r,y,l[y]||h[1]))}if((c||l.fill!==a.fill)&&(r.fillStyle=l.fill),(c||l.stroke!==a.stroke)&&(r.strokeStyle=l.stroke),(c||l.opacity!==a.opacity)&&(r.globalAlpha=l.opacity==null?1:l.opacity),(c||l.blend!==a.blend)&&(r.globalCompositeOperation=l.blend||"source-over"),this.hasStroke()){var A=l.lineWidth;r.lineWidth=A/(this.strokeNoScale&&u&&u.getLineScale?u.getLineScale():1)}},hasFill:function(){var r=this.fill;return r!=null&&r!=="none"},hasStroke:function(){var r=this.stroke;return r!=null&&r!=="none"&&this.lineWidth>0},extendFrom:function(r,u){if(r)for(var n in r)r.hasOwnProperty(n)&&(u===!0||(u===!1?!this.hasOwnProperty(n):r[n]!=null))&&(this[n]=r[n])},set:function(r,u){typeof r=="string"?this[r]=u:this.extendFrom(r,!0)},clone:function(){var r=new this.constructor;return r.extendFrom(this,!0),r},getGradient:function(r,u,n){for(var l=u.type==="radial"?C:E,a=l(r,u,n),c=u.colorStops,d=0;d<c.length;d++)a.addColorStop(c[d].offset,c[d].color);return a}};for(var f=I.prototype,t=0;t<D.length;t++){var i=D[t];i[0]in f||(f[i[0]]=i[1])}I.getGradient=f.getGradient;var s=I;oe.exports=s},K4ya:function(oe,V,e){var B=e("bYtY"),T=e("XxSj"),w=B.each;function D(t){if(t){for(var i in t)if(t.hasOwnProperty(i))return!0}}function I(t,i,s){var o={};return w(i,function(u){var n=o[u]=r();w(t[u],function(l,a){if(!!T.isValidType(a)){var c={type:a,visual:l};s&&s(c,u),n[a]=new T(c),a==="opacity"&&(c=B.clone(c),c.type="colorAlpha",n.__hidden.__alphaForOpacity=new T(c))}})}),o;function r(){var u=function(){};u.prototype.__hidden=u.prototype;var n=new u;return n}}function E(t,i,s){var o;B.each(s,function(r){i.hasOwnProperty(r)&&D(i[r])&&(o=!0)}),o&&B.each(s,function(r){i.hasOwnProperty(r)&&D(i[r])?t[r]=B.clone(i[r]):delete t[r]})}function C(t,i,s,o,r,u){var n={};B.each(t,function(h){var y=T.prepareVisualTypes(i[h]);n[h]=y});var l;function a(h){return s.getItemVisual(l,h)}function c(h,y){s.setItemVisual(l,h,y)}u==null?s.each(d):s.each([u],d);function d(h,y){l=u==null?h:y;var A=s.getRawDataItem(l);if(!(A&&A.visualMap===!1))for(var v=o.call(r,h),g=i[v],x=n[v],m=0,b=x.length;m<b;m++){var S=x[m];g[S]&&g[S].applyVisual(h,a,c)}}}function f(t,i,s,o){var r={};B.each(t,function(n){var l=T.prepareVisualTypes(i[n]);r[n]=l});function u(n,l){o!=null&&(o=l.getDimension(o));function a(S){return l.getItemVisual(d,S)}function c(S,P){l.setItemVisual(d,S,P)}for(var d;(d=n.next())!=null;){var h=l.getRawDataItem(d);if(!(h&&h.visualMap===!1))for(var y=o!=null?l.get(o,d,!0):d,A=s(y),v=i[A],g=r[A],x=0,m=g.length;x<m;x++){var b=g[x];v[b]&&v[b].applyVisual(y,a,c)}}}return{progress:u}}V.createVisualMappings=I,V.replaceVisualOption=E,V.applyVisual=C,V.incrementalApplyVisual=f},KCY9:function(oe,V,e){},KCsZ:function(oe,V,e){var B=e("bYtY");function T(w){for(var D=0;D<w.length;D++)w[D][1]||(w[D][1]=w[D][0]);return function(I,E,C){for(var f={},t=0;t<w.length;t++){var i=w[t][1];if(!(E&&B.indexOf(E,i)>=0||C&&B.indexOf(C,i)<0)){var s=I.getShallow(i);s!=null&&(f[w[t][0]]=s)}}return f}}oe.exports=T},KPFz:function(oe,V,e){},KS52:function(oe,V,e){var B=e("OELB"),T=B.parsePercent,w=B.linearMap,D=e("+TT/"),I=e("u3DP"),E=e("bYtY"),C=Math.PI*2,f=Math.PI/180;function t(s,o){return D.getLayoutRect(s.getBoxLayoutParams(),{width:o.getWidth(),height:o.getHeight()})}function i(s,o,r,u){o.eachSeriesByType(s,function(n){var l=n.getData(),a=l.mapDimension("value"),c=t(n,r),d=n.get("center"),h=n.get("radius");E.isArray(h)||(h=[0,h]),E.isArray(d)||(d=[d,d]);var y=T(c.width,r.getWidth()),A=T(c.height,r.getHeight()),v=Math.min(y,A),g=T(d[0],y)+c.x,x=T(d[1],A)+c.y,m=T(h[0],v/2),b=T(h[1],v/2),S=-n.get("startAngle")*f,P=n.get("minAngle")*f,M=0;l.each(a,function(W){!isNaN(W)&&M++});var R=l.getSum(a),F=Math.PI/(R||M)*2,L=n.get("clockwise"),U=n.get("roseType"),N=n.get("stillShowZeroSum"),Q=l.getDataExtent(a);Q[0]=0;var z=C,_=0,J=S,Y=L?1:-1;if(l.each(a,function(W,ie){var fe;if(isNaN(W)){l.setItemLayout(ie,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:L,cx:g,cy:x,r0:m,r:U?NaN:b,viewRect:c});return}U!=="area"?fe=R===0&&N?F:W*F:fe=C/M,fe<P?(fe=P,z-=P):_+=W;var Ce=J+Y*fe;l.setItemLayout(ie,{angle:fe,startAngle:J,endAngle:Ce,clockwise:L,cx:g,cy:x,r0:m,r:U?w(W,Q,[m,b]):b,viewRect:c}),J=Ce}),z<C&&M)if(z<=.001){var k=C/M;l.each(a,function(W,ie){if(!isNaN(W)){var fe=l.getItemLayout(ie);fe.angle=k,fe.startAngle=S+Y*ie*k,fe.endAngle=S+Y*(ie+1)*k}})}else F=z/_,J=S,l.each(a,function(W,ie){if(!isNaN(W)){var fe=l.getItemLayout(ie),Ce=fe.angle===P?P:W*F;fe.startAngle=J,fe.endAngle=J+Y*Ce,J+=Y*Ce}});I(n,b,c.width,c.height,c.x,c.y)})}oe.exports=i},KUOm:function(oe,V){function e(B){var T={};B.eachSeriesByType("graph",function(w){var D=w.getCategoriesData(),I=w.getData(),E={};D.each(function(C){var f=D.getName(C);E["ec-"+f]=C;var t=D.getItemModel(C),i=t.get("itemStyle.color")||w.getColorFromPalette(f,T);D.setItemVisual(C,"color",i);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<s.length;o++){var r=t.getShallow(s[o],!0);r!=null&&D.setItemVisual(C,s[o],r)}}),D.count()&&I.each(function(C){var f=I.getItemModel(C),t=f.getShallow("category");if(t!=null){typeof t=="string"&&(t=E["ec-"+t]);for(var i=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<i.length;s++)I.getItemVisual(C,i[s],!0)==null&&I.setItemVisual(C,i[s],D.getItemVisual(t,i[s]))}})})}oe.exports=e},Kagy:function(oe,V){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:""}}}};oe.exports=e},KamJ:function(oe,V,e){var B=e("ProS"),T=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),B.registerPreprocessor(T)},KrTs:function(oe,V,e){"use strict";var B=e("rePB"),T=e("U8pU"),w=e("wx14"),D=e("TSYQ"),I=e.n(D),E=e("8XRh"),C=e("q1tI"),f=e("H84U"),t=e("0n0R"),i=e("09Wf");function s(g){return i.a.includes(g)}var o=function(x){var m,b=x.className,S=x.prefixCls,P=x.style,M=x.color,R=x.children,F=x.text,L=x.placement,U=L===void 0?"end":L,N=C.useContext(f.b),Q=N.getPrefixCls,z=N.direction,_=Q("ribbon",S),J=s(M),Y=I()(_,"".concat(_,"-placement-").concat(U),(m={},Object(B.a)(m,"".concat(_,"-rtl"),z==="rtl"),Object(B.a)(m,"".concat(_,"-color-").concat(M),J),m),b),k={},W={};return M&&!J&&(k.background=M,W.color=M),C.createElement("div",{className:"".concat(_,"-wrapper")},R,C.createElement("div",{className:Y,style:Object(w.a)(Object(w.a)({},k),P)},C.createElement("span",{className:"".concat(_,"-text")},F),C.createElement("div",{className:"".concat(_,"-corner"),style:W})))},r=o,u=e("ODXe");function n(g){var x=g.prefixCls,m=g.value,b=g.current,S=g.offset,P=S===void 0?0:S,M;return P&&(M={position:"absolute",top:"".concat(P,"00%"),left:0}),C.createElement("span",{style:M,className:I()("".concat(x,"-only-unit"),{current:b})},m)}function l(g,x,m){for(var b=g,S=0;(b+10)%10!==x;)b+=m,S+=m;return S}function a(g){var x=g.prefixCls,m=g.count,b=g.value,S=Number(b),P=Math.abs(m),M=C.useState(S),R=Object(u.a)(M,2),F=R[0],L=R[1],U=C.useState(P),N=Object(u.a)(U,2),Q=N[0],z=N[1],_=function(){L(S),z(P)};C.useEffect(function(){var ge=setTimeout(function(){_()},1e3);return function(){clearTimeout(ge)}},[S]);var J,Y;if(F===S||Number.isNaN(S)||Number.isNaN(F))J=[C.createElement(n,Object(w.a)({},g,{key:S,current:!0}))],Y={transition:"none"};else{J=[];for(var k=S+10,W=[],ie=S;ie<=k;ie+=1)W.push(ie);var fe=W.findIndex(function(ge){return ge%10===F});J=W.map(function(ge,de){var Pe=ge%10;return C.createElement(n,Object(w.a)({},g,{key:ge,value:Pe,offset:de-fe,current:de===fe}))});var Ce=Q<P?1:-1;Y={transform:"translateY(".concat(-l(F,S,Ce),"00%)")}}return C.createElement("span",{className:"".concat(x,"-only"),style:Y,onTransitionEnd:_},J)}var c=function(g,x){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&x.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(g);S<b.length;S++)x.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(g,b[S])&&(m[b[S]]=g[b[S]]);return m},d=function(x){var m=x.prefixCls,b=x.count,S=x.className,P=x.motionClassName,M=x.style,R=x.title,F=x.show,L=x.component,U=L===void 0?"sup":L,N=x.children,Q=c(x,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),z=C.useContext(f.b),_=z.getPrefixCls,J=_("scroll-number",m),Y=Object(w.a)(Object(w.a)({},Q),{"data-show":F,style:M,className:I()(J,S,P),title:R}),k=b;if(b&&Number(b)%1==0){var W=String(b).split("");k=W.map(function(ie,fe){return C.createElement(a,{prefixCls:J,count:Number(b),value:ie,key:W.length-fe})})}return M&&M.borderColor&&(Y.style=Object(w.a)(Object(w.a)({},M),{boxShadow:"0 0 0 1px ".concat(M.borderColor," inset")})),N?Object(t.a)(N,function(ie){return{className:I()("".concat(J,"-custom-component"),ie==null?void 0:ie.className,P)}}):C.createElement(U,Y,k)},h=d,y=function(g,x){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&x.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(g);S<b.length;S++)x.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(g,b[S])&&(m[b[S]]=g[b[S]]);return m},A=function(x){var m,b,S=x.prefixCls,P=x.scrollNumberPrefixCls,M=x.children,R=x.status,F=x.text,L=x.color,U=x.count,N=U===void 0?null:U,Q=x.overflowCount,z=Q===void 0?99:Q,_=x.dot,J=_===void 0?!1:_,Y=x.size,k=Y===void 0?"default":Y,W=x.title,ie=x.offset,fe=x.style,Ce=x.className,ge=x.showZero,de=ge===void 0?!1:ge,Pe=y(x,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),_e=C.useContext(f.b),Ne=_e.getPrefixCls,He=_e.direction,ue=Ne("badge",S),Re=N>z?"".concat(z,"+"):N,nt=Re==="0"||Re===0,Ve=N===null||nt,Ge=(R!=null||L!=null)&&Ve,dt=J&&!nt,et=dt?"":Re,At=Object(C.useMemo)(function(){var bt=et==null||et==="";return(bt||nt&&!de)&&!dt},[et,nt,de,dt]),Dt=Object(C.useRef)(N);At||(Dt.current=N);var Ft=Dt.current,St=Object(C.useRef)(et);At||(St.current=et);var $e=St.current,lt=Object(C.useRef)(dt);At||(lt.current=dt);var Ut=Object(C.useMemo)(function(){if(!ie)return Object(w.a)({},fe);var bt={marginTop:ie[1]};return He==="rtl"?bt.left=parseInt(ie[0],10):bt.right=-parseInt(ie[0],10),Object(w.a)(Object(w.a)({},bt),fe)},[He,ie,fe]),gt=W!=null?W:typeof Ft=="string"||typeof Ft=="number"?Ft:void 0,ft=At||!F?null:C.createElement("span",{className:"".concat(ue,"-status-text")},F),rt=!Ft||Object(T.a)(Ft)!=="object"?void 0:Object(t.a)(Ft,function(bt){return{style:Object(w.a)(Object(w.a)({},Ut),bt.style)}}),Ie=I()((m={},Object(B.a)(m,"".concat(ue,"-status-dot"),Ge),Object(B.a)(m,"".concat(ue,"-status-").concat(R),!!R),Object(B.a)(m,"".concat(ue,"-status-").concat(L),s(L)),m)),Ot={};L&&!s(L)&&(Ot.background=L);var Xt=I()(ue,(b={},Object(B.a)(b,"".concat(ue,"-status"),Ge),Object(B.a)(b,"".concat(ue,"-not-a-wrapper"),!M),Object(B.a)(b,"".concat(ue,"-rtl"),He==="rtl"),b),Ce);if(!M&&Ge){var Vt=Ut.color;return C.createElement("span",Object(w.a)({},Pe,{className:Xt,style:Ut}),C.createElement("span",{className:Ie,style:Ot}),F&&C.createElement("span",{style:{color:Vt},className:"".concat(ue,"-status-text")},F))}return C.createElement("span",Object(w.a)({},Pe,{className:Xt}),M,C.createElement(E.default,{visible:!At,motionName:"".concat(ue,"-zoom"),motionAppear:!1,motionDeadline:1e3},function(bt){var It,Kt=bt.className,Se=Ne("scroll-number",P),Ye=lt.current,q=I()((It={},Object(B.a)(It,"".concat(ue,"-dot"),Ye),Object(B.a)(It,"".concat(ue,"-count"),!Ye),Object(B.a)(It,"".concat(ue,"-count-sm"),k==="small"),Object(B.a)(It,"".concat(ue,"-multiple-words"),!Ye&&$e&&$e.toString().length>1),Object(B.a)(It,"".concat(ue,"-status-").concat(R),!!R),Object(B.a)(It,"".concat(ue,"-status-").concat(L),s(L)),It)),Ae=Object(w.a)({},Ut);return L&&!s(L)&&(Ae=Ae||{},Ae.background=L),C.createElement(h,{prefixCls:Se,show:!At,motionClassName:Kt,className:q,count:$e,title:gt,style:Ae,key:"scrollNumber"},rt)}),ft)};A.Ribbon=r;var v=V.a=A},Kvyg:function(oe,V,e){},KxBF:function(oe,V){function e(B,T,w){var D=-1,I=B.length;T<0&&(T=-T>I?0:I+T),w=w>I?I:w,w<0&&(w+=I),I=T>w?0:w-T>>>0,T>>>=0;for(var E=Array(I);++D<I;)E[D]=B[D+T];return E}oe.exports=e},KxFI:function(oe,V,e){},KxfA:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.isTypedArray,I=w.extend,E=w.assert,C=w.each,f=w.isObject,t=e("4NO4"),i=t.getDataItemValue,s=t.isDataItemOption,o=e("OELB"),r=o.parseDate,u=e("7G+c"),n=e("k9D9"),l=n.SOURCE_FORMAT_TYPED_ARRAY,a=n.SOURCE_FORMAT_ARRAY_ROWS,c=n.SOURCE_FORMAT_ORIGINAL,d=n.SOURCE_FORMAT_OBJECT_ROWS;function h(L,U){u.isInstance(L)||(L=u.seriesDataToSource(L)),this._source=L;var N=this._data=L.data,Q=L.sourceFormat;Q===l&&(this._offset=0,this._dimSize=U,this._data=N);var z=A[Q===a?Q+"_"+L.seriesLayoutBy:Q];I(this,z)}var y=h.prototype;y.pure=!1,y.persistent=!0,y.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(L){return this._data[L+this._source.startIndex]},appendData:x},arrayRows_row:{pure:!0,count:function(){var L=this._data[0];return L?Math.max(0,L.length-this._source.startIndex):0},getItem:function(L){L+=this._source.startIndex;for(var U=[],N=this._data,Q=0;Q<N.length;Q++){var z=N[Q];U.push(z?z[L]:null)}return U},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:v,getItem:g,appendData:x},keyedColumns:{pure:!0,count:function(){var L=this._source.dimensionsDefine[0].name,U=this._data[L];return U?U.length:0},getItem:function(L){for(var U=[],N=this._source.dimensionsDefine,Q=0;Q<N.length;Q++){var z=this._data[N[Q].name];U.push(z?z[L]:null)}return U},appendData:function(L){var U=this._data;C(L,function(N,Q){for(var z=U[Q]||(U[Q]=[]),_=0;_<(N||[]).length;_++)z.push(N[_])})}},original:{count:v,getItem:g,appendData:x},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(L,U){L=L-this._offset,U=U||[];for(var N=this._dimSize*L,Q=0;Q<this._dimSize;Q++)U[Q]=this._data[N+Q];return U},appendData:function(L){this._data=L},clean:function(){this._offset+=this.count(),this._data=null}}};function v(){return this._data.length}function g(L){return this._data[L]}function x(L){for(var U=0;U<L.length;U++)this._data.push(L[U])}var m={arrayRows:b,objectRows:function(L,U,N,Q){return N!=null?L[Q]:L},keyedColumns:b,original:function(L,U,N,Q){var z=i(L);return N==null||!(z instanceof Array)?z:z[N]},typedArray:b};function b(L,U,N,Q){return N!=null?L[N]:L}var S={arrayRows:P,objectRows:function(L,U,N,Q){return M(L[U],this._dimensionInfos[U])},keyedColumns:P,original:function(L,U,N,Q){var z=L&&(L.value==null?L:L.value);return!this._rawData.pure&&s(L)&&(this.hasItemOption=!0),M(z instanceof Array?z[Q]:z,this._dimensionInfos[U])},typedArray:function(L,U,N,Q){return L[Q]}};function P(L,U,N,Q){return M(L[Q],this._dimensionInfos[U])}function M(L,U){var N=U&&U.type;if(N==="ordinal"){var Q=U&&U.ordinalMeta;return Q?Q.parseAndCollect(L):L}return N==="time"&&typeof L!="number"&&L!=null&&L!=="-"&&(L=+r(L)),L==null||L===""?NaN:+L}function R(L,U,N){if(!!L){var Q=L.getRawDataItem(U);if(Q!=null){var z=L.getProvider().getSource().sourceFormat,_,J,Y=L.getDimensionInfo(N);return Y&&(_=Y.name,J=Y.index),m[z](Q,U,J,_)}}}function F(L,U,N){if(!!L){var Q=L.getProvider().getSource().sourceFormat;if(!(Q!==c&&Q!==d)){var z=L.getRawDataItem(U);if(Q===c&&!f(z)&&(z=null),z)return z[N]}}}V.DefaultDataProvider=h,V.defaultDimValueGetters=S,V.retrieveRawValue=R,V.retrieveRawAttr=F},L0Ub:function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.createHashMap,D=B.assert,I=e("Tghj"),E=I.__DEV__,C=w(["tooltip","label","itemName","itemId","seriesName"]);function f(o){var r={},u=r.encode={},n=w(),l=[],a=[],c=r.userOutput={dimensionNames:o.dimensions.slice(),encode:{}};T(o.dimensions,function(v){var g=o.getDimensionInfo(v),x=g.coordDim;if(x){var m=g.coordDimIndex;t(u,x)[m]=v,g.isExtraCoord||(n.set(x,1),s(g.type)&&(l[0]=v),t(c.encode,x)[m]=g.index),g.defaultTooltip&&a.push(v)}C.each(function(b,S){var P=t(u,S),M=g.otherDims[S];M!=null&&M!==!1&&(P[M]=g.name)})});var d=[],h={};n.each(function(v,g){var x=u[g];h[g]=x[0],d=d.concat(x)}),r.dataDimsOnCoord=d,r.encodeFirstDimNotExtra=h;var y=u.label;y&&y.length&&(l=y.slice());var A=u.tooltip;return A&&A.length?a=A.slice():a.length||(a=l.slice()),u.defaultedLabel=l,u.defaultedTooltip=a,r}function t(o,r){return o.hasOwnProperty(r)||(o[r]=[]),o[r]}function i(o){return o==="category"?"ordinal":o==="time"?"time":"float"}function s(o){return!(o==="ordinal"||o==="time")}V.OTHER_DIMENSIONS=C,V.summarizeDimensions=f,V.getDimensionTypeByAxis=i},L3Oj:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),B.registerLayout(T.curry(w,"bar")),B.extendComponentView({type:"polar"})},L5E0:function(oe,V){var e=["itemStyle","borderColor"];function B(T,w){var D=T.get("color");T.eachRawSeriesByType("boxplot",function(I){var E=D[I.seriesIndex%D.length],C=I.getData();C.setVisual({legendSymbol:"roundRect",color:I.get(e)||E}),T.isSeriesFiltered(I)||C.each(function(f){var t=C.getItemModel(f);C.setItemVisual(f,{color:t.get(e,!0)})})})}oe.exports=B},LBfv:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=T.createHashMap,D=T.each;B.registerProcessor({getTargetSeries:function(I){var E=w();return I.eachComponent("dataZoom",function(C){C.eachTargetAxis(function(f,t,i){var s=i.getAxisProxy(f.name,t);D(s.getTargetSeriesModels(),function(o){E.set(o.uid,o)})})}),E},modifyOutputEnd:!0,overallReset:function(I,E){I.eachComponent("dataZoom",function(C){C.eachTargetAxis(function(f,t,i){i.getAxisProxy(f.name,t).reset(i,E)}),C.eachTargetAxis(function(f,t,i){i.getAxisProxy(f.name,t).filterData(i,E)})}),I.eachComponent("dataZoom",function(C){var f=C.findRepresentativeAxisProxy(),t=f.getDataPercentWindow(),i=f.getDataValueWindow();C.setCalculatedRange({start:t[0],end:t[1],startValue:i[0],endValue:i[1]})})}})},LPTA:function(oe,V){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var B=0,T=e;V.debugMode=B,V.devicePixelRatio=T},LPzL:function(oe,V,e){var B=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),B.extendComponentView({type:"single"})},LSTS:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0});var B=function(){function o(r,u){for(var n=0;n<u.length;n++){var l=u[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(r,l.key,l)}}return function(r,u,n){return u&&o(r.prototype,u),n&&o(r,n),r}}(),T=e("q1tI"),w=E(T),D=e("17x9"),I=E(D);function E(o){return o&&o.__esModule?o:{default:o}}function C(o,r){var u={};for(var n in o)r.indexOf(n)>=0||!Object.prototype.hasOwnProperty.call(o,n)||(u[n]=o[n]);return u}function f(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function t(o,r){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:o}function i(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);o.prototype=Object.create(r&&r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(o,r):o.__proto__=r)}var s=function(o){i(r,o);function r(u){f(this,r);var n=t(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,u));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return B(r,[{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 n=this.getParentElement(this.scrollComponent);n.scrollTop=n.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var n=!1,l={get passive(){n=!0}};try{document.addEventListener("test",null,l),document.removeEventListener("test",null,l)}catch(a){}return n}},{key:"eventListenerOptions",value:function(){var n=this.props.useCapture;return this.isPassiveSupported()?n={useCapture:this.props.useCapture,passive:!0}:n={passive:!1},n}},{key:"setDefaultLoader",value:function(n){this.defaultLoader=n}},{key:"detachMousewheelListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.scrollComponent.parentNode),n.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.getParentElement(this.scrollComponent)),n.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(n){var l=this.props.getScrollParent&&this.props.getScrollParent();return l!=null?l:n&&n.parentNode}},{key:"filterProps",value:function(n){return n}},{key:"attachScrollListener",value:function(){var n=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!n)){var l=window;this.props.useWindow===!1&&(l=n),l.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),l.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),l.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(n){n.deltaY===1&&!this.isPassiveSupported()&&n.preventDefault()}},{key:"scrollListener",value:function(){var n=this.scrollComponent,l=window,a=this.getParentElement(n),c=void 0;if(this.props.useWindow){var d=document.documentElement||document.body.parentNode||document.body,h=l.pageYOffset!==void 0?l.pageYOffset:d.scrollTop;this.props.isReverse?c=h:c=this.calculateOffset(n,h)}else this.props.isReverse?c=a.scrollTop:c=n.scrollHeight-a.scrollTop-a.clientHeight;c<Number(this.props.threshold)&&n&&n.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=a.scrollHeight,this.beforeScrollTop=a.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(n,l){return n?this.calculateTopPosition(n)+(n.offsetHeight-l-window.innerHeight):0}},{key:"calculateTopPosition",value:function(n){return n?n.offsetTop+this.calculateTopPosition(n.offsetParent):0}},{key:"render",value:function(){var n=this,l=this.filterProps(this.props),a=l.children,c=l.element,d=l.hasMore,h=l.initialLoad,y=l.isReverse,A=l.loader,v=l.loadMore,g=l.pageStart,x=l.ref,m=l.threshold,b=l.useCapture,S=l.useWindow,P=l.getScrollParent,M=C(l,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);M.ref=function(F){n.scrollComponent=F,x&&x(F)};var R=[a];return d&&(A?y?R.unshift(A):R.push(A):this.defaultLoader&&(y?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),w.default.createElement(c,M,R)}}]),r}(T.Component);s.propTypes={children:I.default.node.isRequired,element:I.default.node,hasMore:I.default.bool,initialLoad:I.default.bool,isReverse:I.default.bool,loader:I.default.node,loadMore:I.default.func.isRequired,pageStart:I.default.number,ref:I.default.func,getScrollParent:I.default.func,threshold:I.default.number,useCapture:I.default.bool,useWindow:I.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},V.default=s,oe.exports=V.default},LdHM:function(oe,V,e){"use strict";e.d(V,"c",function(){return Ye}),e.d(V,"b",function(){return Kt}),e.d(V,"a",function(){return St}),e.d(V,"e",function(){return dt});var B=e("wx14"),T=e("KQm4"),w=e("rePB"),D=e("VTBJ"),I=e("ODXe"),E=e("Ff2n"),C=e("U8pU"),f=e("6cGi"),t=e("Kwbf"),i=e("q1tI"),s=e("TSYQ"),o=e.n(s),r=e("4IlW"),u=e("5Z9U"),n=e("c+Xe"),l=e("TNol"),a=e("T5bk");function c(Le,ke){var tt=Le.key,st;return"value"in Le&&(st=Le.value),tt!=null?tt:st!==void 0?st:"rc-index-key-".concat(ke)}function d(Le,ke){var tt=Le||{},st=tt.label,_t=tt.value,Ct=tt.options;return{label:st||(ke?"children":"label"),value:_t||"value",options:Ct||"options"}}function h(Le){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=ke.fieldNames,st=ke.childrenAsData,_t=[],Ct=d(tt,!1),Rt=Ct.label,Wt=Ct.value,vt=Ct.options;function Je(Yt,Ht){Yt.forEach(function(nr){var ir=nr[Rt];if(Ht||!(vt in nr)){var Zt=nr[Wt];_t.push({key:c(nr,_t.length),groupOption:Ht,data:nr,label:ir,value:Zt})}else{var Mt=ir;Mt===void 0&&st&&(Mt=nr.label),_t.push({key:c(nr,_t.length),group:!0,data:nr,label:Mt}),Je(nr[vt],!0)}})}return Je(Le,!1),_t}function y(Le){var ke=Object(D.a)({},Le);return"props"in ke||Object.defineProperty(ke,"props",{get:function(){return Object(t.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),ke}}),ke}function A(Le,ke){if(!ke||!ke.length)return null;var tt=!1;function st(Ct,Rt){var Wt=Object(a.a)(Rt),vt=Wt[0],Je=Wt.slice(1);if(!vt)return[Ct];var Yt=Ct.split(vt);return tt=tt||Yt.length>1,Yt.reduce(function(Ht,nr){return[].concat(Object(T.a)(Ht),Object(T.a)(st(nr,Je)))},[]).filter(function(Ht){return Ht})}var _t=st(Le,ke);return tt?_t:null}var v=e("uciX"),g=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],x=function(ke){var tt=ke===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:tt,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:tt,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1}}}},m=function(ke,tt){var st=ke.prefixCls,_t=ke.disabled,Ct=ke.visible,Rt=ke.children,Wt=ke.popupElement,vt=ke.containerWidth,Je=ke.animation,Yt=ke.transitionName,Ht=ke.dropdownStyle,nr=ke.dropdownClassName,ir=ke.direction,Zt=ir===void 0?"ltr":ir,Mt=ke.placement,pt=ke.dropdownMatchSelectWidth,Tt=ke.dropdownRender,mt=ke.dropdownAlign,Jt=ke.getPopupContainer,or=ke.empty,ut=ke.getTriggerDOMNode,ht=ke.onPopupVisibleChange,qt=ke.onPopupMouseEnter,Nt=Object(E.a)(ke,g),Qt="".concat(st,"-dropdown"),at=Wt;Tt&&(at=Tt(Wt));var Ue=i.useMemo(function(){return x(pt)},[pt]),ot=Je?"".concat(Qt,"-").concat(Je):Yt,it=i.useRef(null);i.useImperativeHandle(tt,function(){return{getPopupElement:function(){return it.current}}});var zt=Object(D.a)({minWidth:vt},Ht);return typeof pt=="number"?zt.width=pt:pt&&(zt.width=vt),i.createElement(v.a,Object(B.a)({},Nt,{showAction:ht?["click"]:[],hideAction:ht?["click"]:[],popupPlacement:Mt||(Zt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ue,prefixCls:Qt,popupTransitionName:ot,popup:i.createElement("div",{ref:it,onMouseEnter:qt},at),popupAlign:mt,popupVisible:Ct,getPopupContainer:Jt,popupClassName:o()(nr,Object(w.a)({},"".concat(Qt,"-empty"),or)),popupStyle:zt,getTriggerDOMNode:ut,onPopupVisibleChange:ht}),Rt)},b=i.forwardRef(m);b.displayName="SelectTrigger";var S=b,P=e("bX4T"),M=e("8z13"),R=function(ke){var tt=ke.className,st=ke.customizeIcon,_t=ke.customizeIconProps,Ct=ke.onMouseDown,Rt=ke.onClick,Wt=ke.children,vt;return typeof st=="function"?vt=st(_t):vt=st,i.createElement("span",{className:tt,onMouseDown:function(Yt){Yt.preventDefault(),Ct&&Ct(Yt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Rt,"aria-hidden":!0},vt!==void 0?vt:i.createElement("span",{className:o()(tt.split(/\s+/).map(function(Je){return"".concat(Je,"-icon")}))},Wt))},F=R,L=function(ke,tt){var st,_t,Ct=ke.prefixCls,Rt=ke.id,Wt=ke.inputElement,vt=ke.disabled,Je=ke.tabIndex,Yt=ke.autoFocus,Ht=ke.autoComplete,nr=ke.editable,ir=ke.activeDescendantId,Zt=ke.value,Mt=ke.maxLength,pt=ke.onKeyDown,Tt=ke.onMouseDown,mt=ke.onChange,Jt=ke.onPaste,or=ke.onCompositionStart,ut=ke.onCompositionEnd,ht=ke.open,qt=ke.attrs,Nt=Wt||i.createElement("input",null),Qt=Nt,at=Qt.ref,Ue=Qt.props,ot=Ue.onKeyDown,it=Ue.onChange,zt=Ue.onMouseDown,ar=Ue.onCompositionStart,dr=Ue.onCompositionEnd,pr=Ue.style;return Object(t.c)(!("maxLength"in Nt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Nt=i.cloneElement(Nt,Object(D.a)(Object(D.a)(Object(D.a)({type:"search"},Ue),{},{id:Rt,ref:Object(n.a)(tt,at),disabled:vt,tabIndex:Je,autoComplete:Ht||"off",autoFocus:Yt,className:o()("".concat(Ct,"-selection-search-input"),(st=Nt)===null||st===void 0||(_t=st.props)===null||_t===void 0?void 0:_t.className),role:"combobox","aria-expanded":ht,"aria-haspopup":"listbox","aria-owns":"".concat(Rt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Rt,"_list"),"aria-activedescendant":ir},qt),{},{value:nr?Zt:"",maxLength:Mt,readOnly:!nr,unselectable:nr?null:"on",style:Object(D.a)(Object(D.a)({},pr),{},{opacity:nr?null:0}),onKeyDown:function(Lr){pt(Lr),ot&&ot(Lr)},onMouseDown:function(Lr){Tt(Lr),zt&&zt(Lr)},onChange:function(Lr){mt(Lr),it&&it(Lr)},onCompositionStart:function(Lr){or(Lr),ar&&ar(Lr)},onCompositionEnd:function(Lr){ut(Lr),dr&&dr(Lr)},onPaste:Jt})),Nt},U=i.forwardRef(L);U.displayName="Input";var N=U;function Q(Le){return Array.isArray(Le)?Le:Le!==void 0?[Le]:[]}var z=typeof window!="undefined"&&window.document&&window.document.documentElement,_=z;function J(Le){return Le!=null}function Y(Le){return["string","number"].includes(Object(C.a)(Le))}function k(Le){var ke=void 0;return Le&&(Y(Le.title)?ke=Le.title.toString():Y(Le.label)&&(ke=Le.label.toString())),ke}function W(Le,ke){_?i.useLayoutEffect(Le,ke):i.useEffect(Le,ke)}function ie(Le){var ke;return(ke=Le.key)!==null&&ke!==void 0?ke:Le.value}var fe=function(ke){ke.preventDefault(),ke.stopPropagation()},Ce=function(ke){var tt=ke.id,st=ke.prefixCls,_t=ke.values,Ct=ke.open,Rt=ke.searchValue,Wt=ke.inputRef,vt=ke.placeholder,Je=ke.disabled,Yt=ke.mode,Ht=ke.showSearch,nr=ke.autoFocus,ir=ke.autoComplete,Zt=ke.activeDescendantId,Mt=ke.tabIndex,pt=ke.removeIcon,Tt=ke.maxTagCount,mt=ke.maxTagTextLength,Jt=ke.maxTagPlaceholder,or=Jt===void 0?function(oa){return"+ ".concat(oa.length," ...")}:Jt,ut=ke.tagRender,ht=ke.onToggleOpen,qt=ke.onRemove,Nt=ke.onInputChange,Qt=ke.onInputPaste,at=ke.onInputKeyDown,Ue=ke.onInputMouseDown,ot=ke.onInputCompositionStart,it=ke.onInputCompositionEnd,zt=i.useRef(null),ar=Object(i.useState)(0),dr=Object(I.a)(ar,2),pr=dr[0],Tr=dr[1],Lr=Object(i.useState)(!1),Yr=Object(I.a)(Lr,2),Jr=Yr[0],hn=Yr[1],yr="".concat(st,"-selection"),zn=Ct||Yt==="tags"?Rt:"",xn=Yt==="tags"||Ht&&(Ct||Jr);W(function(){Tr(zt.current.scrollWidth)},[zn]);function In(oa,kr,kn,Pn,Ma){return i.createElement("span",{className:o()("".concat(yr,"-item"),Object(w.a)({},"".concat(yr,"-item-disabled"),kn)),title:k(oa)},i.createElement("span",{className:"".concat(yr,"-item-content")},kr),Pn&&i.createElement(F,{className:"".concat(yr,"-item-remove"),onMouseDown:fe,onClick:Ma,customizeIcon:pt},"\xD7"))}function Qn(oa,kr,kn,Pn,Ma){var Oa=function(La){fe(La),ht(!Ct)};return i.createElement("span",{onMouseDown:Oa},ut({label:kr,value:oa,disabled:kn,closable:Pn,onClose:Ma}))}function Cn(oa){var kr=oa.disabled,kn=oa.label,Pn=oa.value,Ma=!Je&&!kr,Oa=kn;if(typeof mt=="number"&&(typeof kn=="string"||typeof kn=="number")){var ba=String(Oa);ba.length>mt&&(Oa="".concat(ba.slice(0,mt),"..."))}var La=function(Ir){Ir&&Ir.stopPropagation(),qt(oa)};return typeof ut=="function"?Qn(Pn,Oa,kr,Ma,La):In(oa,Oa,kr,Ma,La)}function bn(oa){var kr=typeof or=="function"?or(oa):or;return In({title:kr},kr,!1)}var Wn=i.createElement("div",{className:"".concat(yr,"-search"),style:{width:pr},onFocus:function(){hn(!0)},onBlur:function(){hn(!1)}},i.createElement(N,{ref:Wt,open:Ct,prefixCls:st,id:tt,inputElement:null,disabled:Je,autoFocus:nr,autoComplete:ir,editable:xn,activeDescendantId:Zt,value:zn,onKeyDown:at,onMouseDown:Ue,onChange:Nt,onPaste:Qt,onCompositionStart:ot,onCompositionEnd:it,tabIndex:Mt,attrs:Object(P.a)(ke,!0)}),i.createElement("span",{ref:zt,className:"".concat(yr,"-search-mirror"),"aria-hidden":!0},zn,"\xA0")),Vn=i.createElement(M.a,{prefixCls:"".concat(yr,"-overflow"),data:_t,renderItem:Cn,renderRest:bn,suffix:Wn,itemKey:ie,maxCount:Tt});return i.createElement(i.Fragment,null,Vn,!_t.length&&!zn&&i.createElement("span",{className:"".concat(yr,"-placeholder")},vt))},ge=Ce,de=function(ke){var tt=ke.inputElement,st=ke.prefixCls,_t=ke.id,Ct=ke.inputRef,Rt=ke.disabled,Wt=ke.autoFocus,vt=ke.autoComplete,Je=ke.activeDescendantId,Yt=ke.mode,Ht=ke.open,nr=ke.values,ir=ke.placeholder,Zt=ke.tabIndex,Mt=ke.showSearch,pt=ke.searchValue,Tt=ke.activeValue,mt=ke.maxLength,Jt=ke.onInputKeyDown,or=ke.onInputMouseDown,ut=ke.onInputChange,ht=ke.onInputPaste,qt=ke.onInputCompositionStart,Nt=ke.onInputCompositionEnd,Qt=i.useState(!1),at=Object(I.a)(Qt,2),Ue=at[0],ot=at[1],it=Yt==="combobox",zt=it||Mt,ar=nr[0],dr=pt||"";it&&Tt&&!Ue&&(dr=Tt),i.useEffect(function(){it&&ot(!1)},[it,Tt]);var pr=Yt!=="combobox"&&!Ht&&!Mt?!1:!!dr,Tr=k(ar),Lr=function(){if(ar)return null;var Jr=pr?{visibility:"hidden"}:void 0;return i.createElement("span",{className:"".concat(st,"-selection-placeholder"),style:Jr},ir)};return i.createElement(i.Fragment,null,i.createElement("span",{className:"".concat(st,"-selection-search")},i.createElement(N,{ref:Ct,prefixCls:st,id:_t,open:Ht,inputElement:tt,disabled:Rt,autoFocus:Wt,autoComplete:vt,editable:zt,activeDescendantId:Je,value:dr,onKeyDown:Jt,onMouseDown:or,onChange:function(Jr){ot(!0),ut(Jr)},onPaste:ht,onCompositionStart:qt,onCompositionEnd:Nt,tabIndex:Zt,attrs:Object(P.a)(ke,!0),maxLength:it?mt:void 0})),!it&&ar&&!pr&&i.createElement("span",{className:"".concat(st,"-selection-item"),title:Tr},ar.label),Lr())},Pe=de;function _e(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ke=i.useRef(null),tt=i.useRef(null);i.useEffect(function(){return function(){window.clearTimeout(tt.current)}},[]);function st(_t){(_t||ke.current===null)&&(ke.current=_t),window.clearTimeout(tt.current),tt.current=window.setTimeout(function(){ke.current=null},Le)}return[function(){return ke.current},st]}function Ne(Le){return![r.a.ESC,r.a.SHIFT,r.a.BACKSPACE,r.a.TAB,r.a.WIN_KEY,r.a.ALT,r.a.META,r.a.WIN_KEY_RIGHT,r.a.CTRL,r.a.SEMICOLON,r.a.EQUALS,r.a.CAPS_LOCK,r.a.CONTEXT_MENU,r.a.F1,r.a.F2,r.a.F3,r.a.F4,r.a.F5,r.a.F6,r.a.F7,r.a.F8,r.a.F9,r.a.F10,r.a.F11,r.a.F12].includes(Le)}var He=function(ke,tt){var st=Object(i.useRef)(null),_t=Object(i.useRef)(!1),Ct=ke.prefixCls,Rt=ke.open,Wt=ke.mode,vt=ke.showSearch,Je=ke.tokenWithEnter,Yt=ke.onSearch,Ht=ke.onSearchSubmit,nr=ke.onToggleOpen,ir=ke.onInputKeyDown,Zt=ke.domRef;i.useImperativeHandle(tt,function(){return{focus:function(){st.current.focus()},blur:function(){st.current.blur()}}});var Mt=_e(0),pt=Object(I.a)(Mt,2),Tt=pt[0],mt=pt[1],Jt=function(dr){var pr=dr.which;(pr===r.a.UP||pr===r.a.DOWN)&&dr.preventDefault(),ir&&ir(dr),pr===r.a.ENTER&&Wt==="tags"&&!_t.current&&!Rt&&(Ht==null||Ht(dr.target.value)),Ne(pr)&&nr(!0)},or=function(){mt(!0)},ut=Object(i.useRef)(null),ht=function(dr){Yt(dr,!0,_t.current)!==!1&&nr(!0)},qt=function(){_t.current=!0},Nt=function(dr){_t.current=!1,Wt!=="combobox"&&ht(dr.target.value)},Qt=function(dr){var pr=dr.target.value;if(Je&&ut.current&&/[\r\n]/.test(ut.current)){var Tr=ut.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");pr=pr.replace(Tr,ut.current)}ut.current=null,ht(pr)},at=function(dr){var pr=dr.clipboardData,Tr=pr.getData("text");ut.current=Tr},Ue=function(dr){var pr=dr.target;if(pr!==st.current){var Tr=document.body.style.msTouchAction!==void 0;Tr?setTimeout(function(){st.current.focus()}):st.current.focus()}},ot=function(dr){var pr=Tt();dr.target!==st.current&&!pr&&Wt!=="combobox"&&dr.preventDefault(),(Wt!=="combobox"&&(!vt||!pr)||!Rt)&&(Rt&&Yt("",!0,!1),nr())},it={inputRef:st,onInputKeyDown:Jt,onInputMouseDown:or,onInputChange:Qt,onInputPaste:at,onInputCompositionStart:qt,onInputCompositionEnd:Nt},zt=Wt==="multiple"||Wt==="tags"?i.createElement(ge,Object(B.a)({},ke,it)):i.createElement(Pe,Object(B.a)({},ke,it));return i.createElement("div",{ref:Zt,className:"".concat(Ct,"-selector"),onClick:Ue,onMouseDown:ot},zt)},ue=i.forwardRef(He);ue.displayName="Selector";var Re=ue;function nt(Le,ke,tt,st){var _t=i.useRef(null);_t.current={open:ke,triggerOpen:tt,customizedTrigger:st},i.useEffect(function(){function Ct(Rt){var Wt;if(!((Wt=_t.current)===null||Wt===void 0?void 0:Wt.customizedTrigger)){var vt=Rt.target;vt.shadowRoot&&Rt.composed&&(vt=Rt.composedPath()[0]||vt),_t.current.open&&Le().filter(function(Je){return Je}).every(function(Je){return!Je.contains(vt)&&Je!==vt})&&_t.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ct),function(){return window.removeEventListener("mousedown",Ct)}},[])}function Ve(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ke=i.useState(!1),tt=Object(I.a)(ke,2),st=tt[0],_t=tt[1],Ct=i.useRef(null),Rt=function(){window.clearTimeout(Ct.current)};i.useEffect(function(){return Rt},[]);var Wt=function(Je,Yt){Rt(),Ct.current=window.setTimeout(function(){_t(Je),Yt&&Yt()},Le)};return[st,Wt,Rt]}var Ge=i.createContext(null);function dt(){return i.useContext(Ge)}var et=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],At=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Dt(Le){return Le==="tags"||Le==="multiple"}var Ft=i.forwardRef(function(Le,ke){var tt,st,_t=Le.id,Ct=Le.prefixCls,Rt=Le.className,Wt=Le.showSearch,vt=Le.tagRender,Je=Le.direction,Yt=Le.omitDomProps,Ht=Le.displayValues,nr=Le.onDisplayValuesChange,ir=Le.emptyOptions,Zt=Le.notFoundContent,Mt=Zt===void 0?"Not Found":Zt,pt=Le.onClear,Tt=Le.mode,mt=Le.disabled,Jt=Le.loading,or=Le.getInputElement,ut=Le.getRawInputElement,ht=Le.open,qt=Le.defaultOpen,Nt=Le.onDropdownVisibleChange,Qt=Le.activeValue,at=Le.onActiveValueChange,Ue=Le.activeDescendantId,ot=Le.searchValue,it=Le.onSearch,zt=Le.onSearchSplit,ar=Le.tokenSeparators,dr=Le.allowClear,pr=Le.showArrow,Tr=Le.inputIcon,Lr=Le.clearIcon,Yr=Le.OptionList,Jr=Le.animation,hn=Le.transitionName,yr=Le.dropdownStyle,zn=Le.dropdownClassName,xn=Le.dropdownMatchSelectWidth,In=Le.dropdownRender,Qn=Le.dropdownAlign,Cn=Le.placement,bn=Le.getPopupContainer,Wn=Le.showAction,Vn=Wn===void 0?[]:Wn,oa=Le.onFocus,kr=Le.onBlur,kn=Le.onKeyUp,Pn=Le.onKeyDown,Ma=Le.onMouseDown,Oa=Object(E.a)(Le,et),ba=Dt(Tt),La=(Wt!==void 0?Wt:ba)||Tt==="combobox",Hn=Object(D.a)({},Oa);At.forEach(function(tn){delete Hn[tn]}),Yt==null||Yt.forEach(function(tn){delete Hn[tn]});var Ir=i.useState(!1),xr=Object(I.a)(Ir,2),Xr=xr[0],Cr=xr[1];i.useEffect(function(){Cr(Object(u.a)())},[]);var Hr=i.useRef(null),Fr=i.useRef(null),jr=i.useRef(null),wr=i.useRef(null),pn=i.useRef(null),un=Ve(),jn=Object(I.a)(un,3),Xn=jn[0],ca=jn[1],ti=jn[2];i.useImperativeHandle(ke,function(){var tn,Kr;return{focus:(tn=wr.current)===null||tn===void 0?void 0:tn.focus,blur:(Kr=wr.current)===null||Kr===void 0?void 0:Kr.blur,scrollTo:function(dn){var Bn;return(Bn=pn.current)===null||Bn===void 0?void 0:Bn.scrollTo(dn)}}});var Ia=i.useMemo(function(){var tn;if(Tt!=="combobox")return ot;var Kr=(tn=Ht[0])===null||tn===void 0?void 0:tn.value;return typeof Kr=="string"||typeof Kr=="number"?String(Kr):""},[ot,Tt,Ht]),aa=Tt==="combobox"&&typeof or=="function"&&or()||null,za=typeof ut=="function"&&ut(),ci=Object(n.d)(Fr,za==null||(tt=za.props)===null||tt===void 0?void 0:tt.ref),qa=Object(f.a)(void 0,{defaultValue:qt,value:ht}),yi=Object(I.a)(qa,2),Li=yi[0],ha=yi[1],ka=Li,Hi=!Mt&&ir;(mt||Hi&&ka&&Tt==="combobox")&&(ka=!1);var ao=Hi?!1:ka,Qi=i.useCallback(function(tn){var Kr=tn!==void 0?tn:!ka;ka!==Kr&&!mt&&(ha(Kr),Nt==null||Nt(Kr))},[mt,ka,ha,Nt]),ta=i.useMemo(function(){return(ar||[]).some(function(tn){return[`
|
|
|
`,`\r
|
|
|
`].includes(tn)})},[ar]),la=function(Kr,on,dn){var Bn=!0,wn=Kr;at==null||at(null);var Nn=dn?null:A(Kr,ar);return Tt!=="combobox"&&Nn&&(wn="",zt==null||zt(Nn),Qi(!1),Bn=!1),it&&Ia!==wn&&it(wn,{source:on?"typing":"effect"}),Bn},qr=function(Kr){!Kr||!Kr.trim()||it(Kr,{source:"submit"})};i.useEffect(function(){!ka&&!ba&&Tt!=="combobox"&&la("",!1,!1)},[ka]),i.useEffect(function(){Li&&mt&&ha(!1),mt&&ca(!1)},[mt]);var Ca=_e(),li=Object(I.a)(Ca,2),di=li[0],_i=li[1],Lo=function(Kr){var on=di(),dn=Kr.which;if(dn===r.a.ENTER&&(Tt!=="combobox"&&Kr.preventDefault(),ka||Qi(!0)),_i(!!Ia),dn===r.a.BACKSPACE&&!on&&ba&&!Ia&&Ht.length){for(var Bn=Object(T.a)(Ht),wn=null,Nn=Bn.length-1;Nn>=0;Nn-=1){var qn=Bn[Nn];if(!qn.disabled){Bn.splice(Nn,1),wn=qn;break}}wn&&nr(Bn,{type:"remove",values:[wn]})}for(var Ra=arguments.length,hi=new Array(Ra>1?Ra-1:0),na=1;na<Ra;na++)hi[na-1]=arguments[na];if(ka&&pn.current){var Ba;(Ba=pn.current).onKeyDown.apply(Ba,[Kr].concat(hi))}Pn==null||Pn.apply(void 0,[Kr].concat(hi))},$i=function(Kr){for(var on=arguments.length,dn=new Array(on>1?on-1:0),Bn=1;Bn<on;Bn++)dn[Bn-1]=arguments[Bn];if(ka&&pn.current){var wn;(wn=pn.current).onKeyUp.apply(wn,[Kr].concat(dn))}kn==null||kn.apply(void 0,[Kr].concat(dn))},io=function(Kr){var on=Ht.filter(function(dn){return dn!==Kr});nr(on,{type:"remove",values:[Kr]})},Ho=i.useRef(!1),xo=function(){ca(!0),mt||(oa&&!Ho.current&&oa.apply(void 0,arguments),Vn.includes("focus")&&Qi(!0)),Ho.current=!0},Vo=function(){ca(!1,function(){Ho.current=!1,Qi(!1)}),!mt&&(Ia&&(Tt==="tags"?it(Ia,{source:"submit"}):Tt==="multiple"&&it("",{source:"blur"})),kr&&kr.apply(void 0,arguments))},Io=[];i.useEffect(function(){return function(){Io.forEach(function(tn){return clearTimeout(tn)}),Io.splice(0,Io.length)}},[]);var Do=function(Kr){var on,dn=Kr.target,Bn=(on=jr.current)===null||on===void 0?void 0:on.getPopupElement();if(Bn&&Bn.contains(dn)){var wn=setTimeout(function(){var hi=Io.indexOf(wn);if(hi!==-1&&Io.splice(hi,1),ti(),!Xr&&!Bn.contains(document.activeElement)){var na;(na=wr.current)===null||na===void 0||na.focus()}});Io.push(wn)}for(var Nn=arguments.length,qn=new Array(Nn>1?Nn-1:0),Ra=1;Ra<Nn;Ra++)qn[Ra-1]=arguments[Ra];Ma==null||Ma.apply(void 0,[Kr].concat(qn))},Hs=i.useState(null),as=Object(I.a)(Hs,2),xi=as[0],Os=as[1],vs=i.useState({}),fs=Object(I.a)(vs,2),ji=fs[1];function Ke(){ji({})}Object(l.a)(function(){if(ao){var tn,Kr=Math.ceil((tn=Hr.current)===null||tn===void 0?void 0:tn.offsetWidth);xi!==Kr&&!Number.isNaN(Kr)&&Os(Kr)}},[ao]);var Gt;za&&(Gt=function(Kr){Qi(Kr)}),nt(function(){var tn;return[Hr.current,(tn=jr.current)===null||tn===void 0?void 0:tn.getPopupElement()]},ao,Qi,!!za);var sr=i.useMemo(function(){return Object(D.a)(Object(D.a)({},Le),{},{notFoundContent:Mt,open:ka,triggerOpen:ao,id:_t,showSearch:La,multiple:ba,toggleOpen:Qi})},[Le,Mt,ao,ka,_t,La,ba,Qi]),lr=pr!==void 0?pr:Jt||!ba&&Tt!=="combobox",Mr;lr&&(Mr=i.createElement(F,{className:o()("".concat(Ct,"-arrow"),Object(w.a)({},"".concat(Ct,"-arrow-loading"),Jt)),customizeIcon:Tr,customizeIconProps:{loading:Jt,searchValue:Ia,open:ka,focused:Xn,showSearch:La}}));var Rr,Vr=function(){pt==null||pt(),nr([],{type:"clear",values:Ht}),la("",!1,!1)};!mt&&dr&&(Ht.length||Ia)&&!(Tt==="combobox"&&Ia==="")&&(Rr=i.createElement(F,{className:"".concat(Ct,"-clear"),onMouseDown:Vr,customizeIcon:Lr},"\xD7"));var sn=i.createElement(Yr,{ref:pn}),vn=o()(Ct,Rt,(st={},Object(w.a)(st,"".concat(Ct,"-focused"),Xn),Object(w.a)(st,"".concat(Ct,"-multiple"),ba),Object(w.a)(st,"".concat(Ct,"-single"),!ba),Object(w.a)(st,"".concat(Ct,"-allow-clear"),dr),Object(w.a)(st,"".concat(Ct,"-show-arrow"),lr),Object(w.a)(st,"".concat(Ct,"-disabled"),mt),Object(w.a)(st,"".concat(Ct,"-loading"),Jt),Object(w.a)(st,"".concat(Ct,"-open"),ka),Object(w.a)(st,"".concat(Ct,"-customize-input"),aa),Object(w.a)(st,"".concat(Ct,"-show-search"),La),st)),An=i.createElement(S,{ref:jr,disabled:mt,prefixCls:Ct,visible:ao,popupElement:sn,containerWidth:xi,animation:Jr,transitionName:hn,dropdownStyle:yr,dropdownClassName:zn,direction:Je,dropdownMatchSelectWidth:xn,dropdownRender:In,dropdownAlign:Qn,placement:Cn,getPopupContainer:bn,empty:ir,getTriggerDOMNode:function(){return Fr.current},onPopupVisibleChange:Gt,onPopupMouseEnter:Ke},za?i.cloneElement(za,{ref:ci}):i.createElement(Re,Object(B.a)({},Le,{domRef:Fr,prefixCls:Ct,inputElement:aa,ref:wr,id:_t,showSearch:La,mode:Tt,activeDescendantId:Ue,tagRender:vt,values:Ht,open:ka,onToggleOpen:Qi,activeValue:Qt,searchValue:Ia,onSearch:la,onSearchSubmit:qr,onRemove:io,tokenWithEnter:ta}))),Fn;return za?Fn=An:Fn=i.createElement("div",Object(B.a)({className:vn},Hn,{ref:Hr,onMouseDown:Do,onKeyDown:Lo,onKeyUp:$i,onFocus:xo,onBlur:Vo}),Xn&&!ka&&i.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Ht.map(function(tn){var Kr=tn.label,on=tn.value;return["number","string"].includes(Object(C.a)(Kr))?Kr:on}).join(", "))),An,Mr,Rr),i.createElement(Ge.Provider,{value:sr},Fn)}),St=Ft,$e=function(Le,ke){var tt=i.useRef({values:new Map,options:new Map}),st=i.useMemo(function(){var Ct=tt.current,Rt=Ct.values,Wt=Ct.options,vt=Le.map(function(Ht){if(Ht.label===void 0){var nr;return Object(D.a)(Object(D.a)({},Ht),{},{label:(nr=Rt.get(Ht.value))===null||nr===void 0?void 0:nr.label})}return Ht}),Je=new Map,Yt=new Map;return vt.forEach(function(Ht){Je.set(Ht.value,Ht),Yt.set(Ht.value,ke.get(Ht.value)||Wt.get(Ht.value))}),tt.current.values=Je,tt.current.options=Yt,vt},[Le,ke]),_t=i.useCallback(function(Ct){return ke.get(Ct)||tt.current.options.get(Ct)},[ke]);return[st,_t]};function lt(Le,ke){return Q(Le).join("").toUpperCase().includes(ke)}var Ut=function(Le,ke,tt,st,_t){return i.useMemo(function(){if(!tt||st===!1)return Le;var Ct=ke.options,Rt=ke.label,Wt=ke.value,vt=[],Je=typeof st=="function",Yt=tt.toUpperCase(),Ht=Je?st:function(ir,Zt){return _t?lt(Zt[_t],Yt):Zt[Ct]?lt(Zt[Rt!=="children"?Rt:"label"],Yt):lt(Zt[Wt],Yt)},nr=Je?function(ir){return y(ir)}:function(ir){return ir};return Le.forEach(function(ir){if(ir[Ct]){var Zt=Ht(tt,nr(ir));if(Zt)vt.push(ir);else{var Mt=ir[Ct].filter(function(pt){return Ht(tt,nr(pt))});Mt.length&&vt.push(Object(D.a)(Object(D.a)({},ir),{},Object(w.a)({},Ct,Mt)))}return}Ht(tt,nr(ir))&&vt.push(ir)}),vt},[Le,st,_t,tt,ke])},gt=e("18yb"),ft=e("Zm9Q"),rt=["children","value"],Ie=["children"];function Ot(Le){var ke=Le.key,tt=Le.props,st=tt.children,_t=tt.value,Ct=Object(E.a)(tt,rt);return Object(D.a)({key:ke,value:_t!==void 0?_t:ke,children:st},Ct)}function Xt(Le){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(ft.a)(Le).map(function(tt,st){if(!i.isValidElement(tt)||!tt.type)return null;var _t=tt.type.isSelectOptGroup,Ct=tt.key,Rt=tt.props,Wt=Rt.children,vt=Object(E.a)(Rt,Ie);return ke||!_t?Ot(tt):Object(D.a)(Object(D.a)({key:"__RC_SELECT_GRP__".concat(Ct===null?st:Ct,"__"),label:Ct},vt),{},{options:Xt(Wt)})}).filter(function(tt){return tt})}function Vt(Le,ke,tt,st,_t){return i.useMemo(function(){var Ct=Le,Rt=!Le;Rt&&(Ct=Xt(ke));var Wt=new Map,vt=new Map,Je=function(nr,ir,Zt){Zt&&typeof Zt=="string"&&nr.set(ir[Zt],ir)};function Yt(Ht){for(var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ir=0;ir<Ht.length;ir+=1){var Zt=Ht[ir];!Zt[tt.options]||nr?(Wt.set(Zt[tt.value],Zt),Je(vt,Zt,tt.label),Je(vt,Zt,st),Je(vt,Zt,_t)):Yt(Zt[tt.options],!0)}}return Yt(Ct),{options:Ct,valueOptions:Wt,labelOptions:vt}},[Le,ke,tt,st,_t])}function bt(Le){var ke=i.useRef();ke.current=Le;var tt=i.useCallback(function(){return ke.current.apply(ke,arguments)},[]);return tt}var It=function(){return null};It.isSelectOptGroup=!0;var Kt=It,Se=function(){return null};Se.isSelectOption=!0;var Ye=Se,q=e("bT9E"),Ae=e("YrtM"),Me=e("+nKL");function De(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ze=i.createContext(null),pe=ze,te=["disabled","title","children","style","className"];function be(Le){return typeof Le=="string"||typeof Le=="number"}var xe=function(ke,tt){var st=dt(),_t=st.prefixCls,Ct=st.id,Rt=st.open,Wt=st.multiple,vt=st.mode,Je=st.searchValue,Yt=st.toggleOpen,Ht=st.notFoundContent,nr=st.onPopupScroll,ir=i.useContext(pe),Zt=ir.flattenOptions,Mt=ir.onActiveValue,pt=ir.defaultActiveFirstOption,Tt=ir.onSelect,mt=ir.menuItemSelectedIcon,Jt=ir.rawValues,or=ir.fieldNames,ut=ir.virtual,ht=ir.listHeight,qt=ir.listItemHeight,Nt="".concat(_t,"-item"),Qt=Object(Ae.a)(function(){return Zt},[Rt,Zt],function(zn,xn){return xn[0]&&zn[1]!==xn[1]}),at=i.useRef(null),Ue=function(xn){xn.preventDefault()},ot=function(xn){at.current&&at.current.scrollTo(typeof xn=="number"?{index:xn}:xn)},it=function(xn){for(var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Qn=Qt.length,Cn=0;Cn<Qn;Cn+=1){var bn=(xn+Cn*In+Qn)%Qn,Wn=Qt[bn],Vn=Wn.group,oa=Wn.data;if(!Vn&&!oa.disabled)return bn}return-1},zt=i.useState(function(){return it(0)}),ar=Object(I.a)(zt,2),dr=ar[0],pr=ar[1],Tr=function(xn){var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;pr(xn);var Qn={source:In?"keyboard":"mouse"},Cn=Qt[xn];if(!Cn){Mt(null,-1,Qn);return}Mt(Cn.value,xn,Qn)};Object(i.useEffect)(function(){Tr(pt!==!1?it(0):-1)},[Qt.length,Je]);var Lr=i.useCallback(function(zn){return Jt.has(zn)&&vt!=="combobox"},[vt,Object(T.a)(Jt).toString()]);Object(i.useEffect)(function(){var zn=setTimeout(function(){if(!Wt&&Rt&&Jt.size===1){var In=Array.from(Jt)[0],Qn=Qt.findIndex(function(Cn){var bn=Cn.data;return bn.value===In});Qn!==-1&&(Tr(Qn),ot(Qn))}});if(Rt){var xn;(xn=at.current)===null||xn===void 0||xn.scrollTo(void 0)}return function(){return clearTimeout(zn)}},[Rt,Je]);var Yr=function(xn){xn!==void 0&&Tt(xn,{selected:!Jt.has(xn)}),Wt||Yt(!1)};if(i.useImperativeHandle(tt,function(){return{onKeyDown:function(xn){var In=xn.which,Qn=xn.ctrlKey;switch(In){case r.a.N:case r.a.P:case r.a.UP:case r.a.DOWN:{var Cn=0;if(In===r.a.UP?Cn=-1:In===r.a.DOWN?Cn=1:De()&&Qn&&(In===r.a.N?Cn=1:In===r.a.P&&(Cn=-1)),Cn!==0){var bn=it(dr+Cn,Cn);ot(bn),Tr(bn,!0)}break}case r.a.ENTER:{var Wn=Qt[dr];Wn&&!Wn.data.disabled?Yr(Wn.value):Yr(void 0),Rt&&xn.preventDefault();break}case r.a.ESC:Yt(!1),Rt&&xn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(xn){ot(xn)}}}),Qt.length===0)return i.createElement("div",{role:"listbox",id:"".concat(Ct,"_list"),className:"".concat(Nt,"-empty"),onMouseDown:Ue},Ht);var Jr=Object.keys(or).map(function(zn){return or[zn]}),hn=function(xn){return xn.label},yr=function(xn){var In=Qt[xn];if(!In)return null;var Qn=In.data||{},Cn=Qn.value,bn=In.group,Wn=Object(P.a)(Qn,!0),Vn=hn(In);return In?i.createElement("div",Object(B.a)({"aria-label":typeof Vn=="string"&&!bn?Vn:null},Wn,{key:xn,role:bn?"presentation":"option",id:"".concat(Ct,"_list_").concat(xn),"aria-selected":Lr(Cn)}),Cn):null};return i.createElement(i.Fragment,null,i.createElement("div",{role:"listbox",id:"".concat(Ct,"_list"),style:{height:0,width:0,overflow:"hidden"}},yr(dr-1),yr(dr),yr(dr+1)),i.createElement(Me.a,{itemKey:"key",ref:at,data:Qt,height:ht,itemHeight:qt,fullHeight:!1,onMouseDown:Ue,onScroll:nr,virtual:ut},function(zn,xn){var In,Qn=zn.group,Cn=zn.groupOption,bn=zn.data,Wn=zn.label,Vn=zn.value,oa=bn.key;if(Qn){var kr,kn=(kr=bn.title)!==null&&kr!==void 0?kr:be(Wn)?Wn.toString():void 0;return i.createElement("div",{className:o()(Nt,"".concat(Nt,"-group")),title:kn},Wn!==void 0?Wn:oa)}var Pn=bn.disabled,Ma=bn.title,Oa=bn.children,ba=bn.style,La=bn.className,Hn=Object(E.a)(bn,te),Ir=Object(q.a)(Hn,Jr),xr=Lr(Vn),Xr="".concat(Nt,"-option"),Cr=o()(Nt,Xr,La,(In={},Object(w.a)(In,"".concat(Xr,"-grouped"),Cn),Object(w.a)(In,"".concat(Xr,"-active"),dr===xn&&!Pn),Object(w.a)(In,"".concat(Xr,"-disabled"),Pn),Object(w.a)(In,"".concat(Xr,"-selected"),xr),In)),Hr=hn(zn),Fr=!mt||typeof mt=="function"||xr,jr=typeof Hr=="number"?Hr:Hr||Vn,wr=be(jr)?jr.toString():void 0;return Ma!==void 0&&(wr=Ma),i.createElement("div",Object(B.a)({},Object(P.a)(Ir),{"aria-selected":xr,className:Cr,title:wr,onMouseMove:function(){dr===xn||Pn||Tr(xn)},onClick:function(){Pn||Yr(Vn)},style:ba}),i.createElement("div",{className:"".concat(Xr,"-content")},jr),i.isValidElement(mt)||xr,Fr&&i.createElement(F,{className:"".concat(Nt,"-option-state"),customizeIcon:mt,customizeIconProps:{isSelected:xr}},xr?"\u2713":null))}))},Z=i.forwardRef(xe);Z.displayName="OptionList";var se=Z;function he(Le){var ke=Le.mode,tt=Le.options,st=Le.children,_t=Le.backfill,Ct=Le.allowClear,Rt=Le.placeholder,Wt=Le.getInputElement,vt=Le.showSearch,Je=Le.onSearch,Yt=Le.defaultOpen,Ht=Le.autoFocus,nr=Le.labelInValue,ir=Le.value,Zt=Le.inputValue,Mt=Le.optionLabelProp,pt=Dt(ke),Tt=vt!==void 0?vt:pt||ke==="combobox",mt=tt||Xt(st);if(Object(t.a)(ke!=="tags"||mt.every(function(ht){return!ht.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ke==="tags"||ke==="combobox"){var Jt=mt.some(function(ht){return ht.options?ht.options.some(function(qt){return typeof("value"in qt?qt.value:qt.key)=="number"}):typeof("value"in ht?ht.value:ht.key)=="number"});Object(t.a)(!Jt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(t.a)(ke!=="combobox"||!Mt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(t.a)(ke==="combobox"||!_t,"`backfill` only works with `combobox` mode."),Object(t.a)(ke==="combobox"||!Wt,"`getInputElement` only work with `combobox` mode."),Object(t.b)(ke!=="combobox"||!Wt||!Ct||!Rt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Je&&!Tt&&ke!=="combobox"&&ke!=="tags"&&Object(t.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(t.b)(!Yt||Ht,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ir!=null){var or=Q(ir);Object(t.a)(!nr||or.every(function(ht){return Object(C.a)(ht)==="object"&&("key"in ht||"value"in ht)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(t.a)(!pt||Array.isArray(ir),"`value` should be array when `mode` is `multiple` or `tags`")}if(st){var ut=null;Object(ft.a)(st).some(function(ht){if(!i.isValidElement(ht)||!ht.type)return!1;var qt=ht.type;if(qt.isSelectOption)return!1;if(qt.isSelectOptGroup){var Nt=Object(ft.a)(ht.props.children).every(function(Qt){return!i.isValidElement(Qt)||!ht.type||Qt.type.isSelectOption?!0:(ut=Qt.type,!1)});return!Nt}return ut=qt,!0}),ut&&Object(t.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ut.displayName||ut.name||ut,"`.")),Object(t.a)(Zt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Oe(Le,ke){if(Le){var tt=function st(_t){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=0;Rt<_t.length;Rt++){var Wt=_t[Rt];if(Wt[ke==null?void 0:ke.value]===null)return Object(t.a)(!1,"`value` in Select options should not be `null`."),!0;if(!Ct&&Array.isArray(Wt[ke==null?void 0:ke.options])&&st(Wt[ke==null?void 0:ke.options],!0))break}};tt(Le)}}var ne=he,ce=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ae=["inputValue"];function Ee(Le){return!Le||Object(C.a)(Le)!=="object"}var ye=i.forwardRef(function(Le,ke){var tt=Le.id,st=Le.mode,_t=Le.prefixCls,Ct=_t===void 0?"rc-select":_t,Rt=Le.backfill,Wt=Le.fieldNames,vt=Le.inputValue,Je=Le.searchValue,Yt=Le.onSearch,Ht=Le.autoClearSearchValue,nr=Ht===void 0?!0:Ht,ir=Le.onSelect,Zt=Le.onDeselect,Mt=Le.dropdownMatchSelectWidth,pt=Mt===void 0?!0:Mt,Tt=Le.filterOption,mt=Le.filterSort,Jt=Le.optionFilterProp,or=Le.optionLabelProp,ut=Le.options,ht=Le.children,qt=Le.defaultActiveFirstOption,Nt=Le.menuItemSelectedIcon,Qt=Le.virtual,at=Le.listHeight,Ue=at===void 0?200:at,ot=Le.listItemHeight,it=ot===void 0?20:ot,zt=Le.value,ar=Le.defaultValue,dr=Le.labelInValue,pr=Le.onChange,Tr=Object(E.a)(Le,ce),Lr=Object(gt.a)(tt),Yr=Dt(st),Jr=!!(!ut&&ht),hn=i.useMemo(function(){return Tt===void 0&&st==="combobox"?!1:Tt},[Tt,st]),yr=i.useMemo(function(){return d(Wt,Jr)},[JSON.stringify(Wt),Jr]),zn=Object(f.a)("",{value:Je!==void 0?Je:vt,postState:function(la){return la||""}}),xn=Object(I.a)(zn,2),In=xn[0],Qn=xn[1],Cn=Vt(ut,ht,yr,Jt,or),bn=Cn.valueOptions,Wn=Cn.labelOptions,Vn=Cn.options,oa=i.useCallback(function(ta){var la=Q(ta);return la.map(function(qr){var Ca,li,di,_i,Lo;if(Ee(qr))Ca=qr;else{var $i;di=qr.key,li=qr.label,Ca=($i=qr.value)!==null&&$i!==void 0?$i:di}var io=bn.get(Ca);if(io){var Ho;if(li===void 0&&(li=io==null?void 0:io[or||yr.label]),di===void 0&&(di=(Ho=io==null?void 0:io.key)!==null&&Ho!==void 0?Ho:Ca),_i=io==null?void 0:io.disabled,Lo=io==null?void 0:io.title,!1)var xo}return{label:li,value:Ca,key:di,disabled:_i,title:Lo}})},[yr,or,bn]),kr=Object(f.a)(ar,{value:zt}),kn=Object(I.a)(kr,2),Pn=kn[0],Ma=kn[1],Oa=i.useMemo(function(){var ta,la=oa(Pn);return st==="combobox"&&!((ta=la[0])===null||ta===void 0?void 0:ta.value)?[]:la},[Pn,oa,st]),ba=$e(Oa,bn),La=Object(I.a)(ba,2),Hn=La[0],Ir=La[1],xr=i.useMemo(function(){if(!st&&Hn.length===1){var ta=Hn[0];if(ta.value===null&&(ta.label===null||ta.label===void 0))return[]}return Hn.map(function(la){var qr;return Object(D.a)(Object(D.a)({},la),{},{label:(qr=la.label)!==null&&qr!==void 0?qr:la.value})})},[st,Hn]),Xr=i.useMemo(function(){return new Set(Hn.map(function(ta){return ta.value}))},[Hn]);i.useEffect(function(){if(st==="combobox"){var ta,la=(ta=Hn[0])===null||ta===void 0?void 0:ta.value;Qn(J(la)?String(la):"")}},[Hn]);var Cr=bt(function(ta,la){var qr,Ca=la!=null?la:ta;return qr={},Object(w.a)(qr,yr.value,ta),Object(w.a)(qr,yr.label,Ca),qr}),Hr=i.useMemo(function(){if(st!=="tags")return Vn;var ta=Object(T.a)(Vn),la=function(Ca){return bn.has(Ca)};return Object(T.a)(Hn).sort(function(qr,Ca){return qr.value<Ca.value?-1:1}).forEach(function(qr){var Ca=qr.value;la(Ca)||ta.push(Cr(Ca,qr.label))}),ta},[Cr,Vn,bn,Hn,st]),Fr=Ut(Hr,yr,In,hn,Jt),jr=i.useMemo(function(){return st!=="tags"||!In||Fr.some(function(ta){return ta[Jt||"value"]===In})?Fr:[Cr(In)].concat(Object(T.a)(Fr))},[Cr,Jt,st,Fr,In]),wr=i.useMemo(function(){return mt?Object(T.a)(jr).sort(function(ta,la){return mt(ta,la)}):jr},[jr,mt]),pn=i.useMemo(function(){return h(wr,{fieldNames:yr,childrenAsData:Jr})},[wr,yr,Jr]),un=function(la){var qr=oa(la);if(Ma(qr),pr&&(qr.length!==Hn.length||qr.some(function(di,_i){var Lo;return((Lo=Hn[_i])===null||Lo===void 0?void 0:Lo.value)!==(di==null?void 0:di.value)}))){var Ca=dr?qr:qr.map(function(di){return di.value}),li=qr.map(function(di){return y(Ir(di.value))});pr(Yr?Ca:Ca[0],Yr?li:li[0])}},jn=i.useState(null),Xn=Object(I.a)(jn,2),ca=Xn[0],ti=Xn[1],Ia=i.useState(0),aa=Object(I.a)(Ia,2),za=aa[0],ci=aa[1],qa=qt!==void 0?qt:st!=="combobox",yi=i.useCallback(function(ta,la){var qr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ca=qr.source,li=Ca===void 0?"keyboard":Ca;ci(la),Rt&&st==="combobox"&&ta!==null&&li==="keyboard"&&ti(String(ta))},[Rt,st]),Li=function(la,qr){var Ca=function(){var Io,Do=Ir(la);return[dr?{label:Do==null?void 0:Do[yr.label],value:la,key:(Io=Do==null?void 0:Do.key)!==null&&Io!==void 0?Io:la}:la,y(Do)]};if(qr&&ir){var li=Ca(),di=Object(I.a)(li,2),_i=di[0],Lo=di[1];ir(_i,Lo)}else if(!qr&&Zt){var $i=Ca(),io=Object(I.a)($i,2),Ho=io[0],xo=io[1];Zt(Ho,xo)}},ha=bt(function(ta,la){var qr,Ca=Yr?la.selected:!0;Ca?qr=Yr?[].concat(Object(T.a)(Hn),[ta]):[ta]:qr=Hn.filter(function(li){return li.value!==ta}),un(qr),Li(ta,Ca),st==="combobox"?ti(""):(!Dt||nr)&&(Qn(""),ti(""))}),ka=function(la,qr){un(la),(qr.type==="remove"||qr.type==="clear")&&qr.values.forEach(function(Ca){Li(Ca.value,!1)})},Hi=function(la,qr){if(Qn(la),ti(null),qr.source==="submit"){var Ca=(la||"").trim();if(Ca){var li=Array.from(new Set([].concat(Object(T.a)(Xr),[Ca])));un(li),Li(Ca,!0),Qn("")}return}qr.source!=="blur"&&(st==="combobox"&&un(la),Yt==null||Yt(la))},ao=function(la){var qr=la;st!=="tags"&&(qr=la.map(function(li){var di=Wn.get(li);return di==null?void 0:di.value}).filter(function(li){return li!==void 0}));var Ca=Array.from(new Set([].concat(Object(T.a)(Xr),Object(T.a)(qr))));un(Ca),Ca.forEach(function(li){Li(li,!0)})},Qi=i.useMemo(function(){var ta=Qt!==!1&&pt!==!1;return Object(D.a)(Object(D.a)({},Cn),{},{flattenOptions:pn,onActiveValue:yi,defaultActiveFirstOption:qa,onSelect:ha,menuItemSelectedIcon:Nt,rawValues:Xr,fieldNames:yr,virtual:ta,listHeight:Ue,listItemHeight:it,childrenAsData:Jr})},[Cn,pn,yi,qa,ha,Nt,Xr,yr,Qt,pt,Ue,it,Jr]);return i.createElement(pe.Provider,{value:Qi},i.createElement(St,Object(B.a)({},Tr,{id:Lr,prefixCls:Ct,ref:ke,omitDomProps:ae,mode:st,displayValues:xr,onDisplayValuesChange:ka,searchValue:In,onSearch:Hi,onSearchSplit:ao,dropdownMatchSelectWidth:pt,OptionList:se,emptyOptions:!pn.length,activeValue:ca,activeDescendantId:"".concat(Lr,"_list_").concat(za)})))}),Te=ye;Te.Option=Ye,Te.OptGroup=Kt;var je=Te,qe=V.d=je},Llu2:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="DeliveredProcedureOutlined";var C=V.a=T.forwardRef(E)},LtfV:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="InboxOutlined";var C=V.a=T.forwardRef(E)},Lyp1:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="QuestionCircleOutlined";var C=V.a=T.forwardRef(E)},LzGr:function(oe,V,e){var B=e("ProS"),T=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),B.registerPreprocessor(T)},MBQ8:function(oe,V,e){var B=e("T4UG"),T=e("MwEJ"),w=B.extend({type:"series.__base_bar__",getInitialData:function(D,I){return T(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(D){var I=this.coordinateSystem;if(I){var E=I.dataToPoint(I.clampData(D)),C=this.getData(),f=C.getLayout("offset"),t=C.getLayout("size"),i=I.getBaseAxis().isHorizontal()?0:1;return E[i]+=f+t/2,E}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:{}}});oe.exports=w},MEGo:function(oe,V,e){var B=e("4fz+"),T=e("Dagg"),w=e("dqUG"),D=e("2fw6"),I=e("x6Kt"),E=e("rmlV"),C=e("yxFR"),f=e("y+Vt"),t=e("h7HQ"),i=e("1Jh7"),s=e("SKnc"),o=e("K2GJ"),r=e("Fofx"),u=e("NC18"),n=u.createFromString,l=e("bYtY"),a=l.isString,c=l.extend,d=l.defaults,h=l.trim,y=l.each,A=/[\s,]+/;function v(Y){if(a(Y)){var k=new DOMParser;Y=k.parseFromString(Y,"text/xml")}for(Y.nodeType===9&&(Y=Y.firstChild);Y.nodeName.toLowerCase()!=="svg"||Y.nodeType!==1;)Y=Y.nextSibling;return Y}function g(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}g.prototype.parse=function(Y,k){k=k||{};var W=v(Y);if(!W)throw new Error("Illegal svg");var ie=new B;this._root=ie;var fe=W.getAttribute("viewBox")||"",Ce=parseFloat(W.getAttribute("width")||k.width),ge=parseFloat(W.getAttribute("height")||k.height);isNaN(Ce)&&(Ce=null),isNaN(ge)&&(ge=null),R(W,ie,null,!0);for(var de=W.firstChild;de;)this._parseNode(de,ie),de=de.nextSibling;var Pe,_e;if(fe){var Ne=h(fe).split(A);Ne.length>=4&&(Pe={x:parseFloat(Ne[0]||0),y:parseFloat(Ne[1]||0),width:parseFloat(Ne[2]),height:parseFloat(Ne[3])})}if(Pe&&Ce!=null&&ge!=null&&(_e=_(Pe,Ce,ge),!k.ignoreViewBox)){var He=ie;ie=new B,ie.add(He),He.scale=_e.scale.slice(),He.position=_e.position.slice()}return!k.ignoreRootClip&&Ce!=null&&ge!=null&&ie.setClipPath(new I({shape:{x:0,y:0,width:Ce,height:ge}})),{root:ie,width:Ce,height:ge,viewBoxRect:Pe,viewBoxTransform:_e}},g.prototype._parseNode=function(Y,k){var W=Y.nodeName.toLowerCase();W==="defs"?this._isDefine=!0:W==="text"&&(this._isText=!0);var ie;if(this._isDefine){var fe=m[W];if(fe){var Ce=fe.call(this,Y),ge=Y.getAttribute("id");ge&&(this._defs[ge]=Ce)}}else{var fe=x[W];fe&&(ie=fe.call(this,Y,k),k.add(ie))}for(var de=Y.firstChild;de;)de.nodeType===1&&this._parseNode(de,ie),de.nodeType===3&&this._isText&&this._parseText(de,ie),de=de.nextSibling;W==="defs"?this._isDefine=!1:W==="text"&&(this._isText=!1)},g.prototype._parseText=function(Y,k){if(Y.nodeType===1){var W=Y.getAttribute("dx")||0,ie=Y.getAttribute("dy")||0;this._textX+=parseFloat(W),this._textY+=parseFloat(ie)}var fe=new w({style:{text:Y.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});S(k,fe),R(Y,fe,this._defs);var Ce=fe.style.fontSize;Ce&&Ce<9&&(fe.style.fontSize=9,fe.scale=fe.scale||[1,1],fe.scale[0]*=Ce/9,fe.scale[1]*=Ce/9);var ge=fe.getBoundingRect();return this._textX+=ge.width,k.add(fe),fe};var x={g:function(k,W){var ie=new B;return S(W,ie),R(k,ie,this._defs),ie},rect:function(k,W){var ie=new I;return S(W,ie),R(k,ie,this._defs),ie.setShape({x:parseFloat(k.getAttribute("x")||0),y:parseFloat(k.getAttribute("y")||0),width:parseFloat(k.getAttribute("width")||0),height:parseFloat(k.getAttribute("height")||0)}),ie},circle:function(k,W){var ie=new D;return S(W,ie),R(k,ie,this._defs),ie.setShape({cx:parseFloat(k.getAttribute("cx")||0),cy:parseFloat(k.getAttribute("cy")||0),r:parseFloat(k.getAttribute("r")||0)}),ie},line:function(k,W){var ie=new C;return S(W,ie),R(k,ie,this._defs),ie.setShape({x1:parseFloat(k.getAttribute("x1")||0),y1:parseFloat(k.getAttribute("y1")||0),x2:parseFloat(k.getAttribute("x2")||0),y2:parseFloat(k.getAttribute("y2")||0)}),ie},ellipse:function(k,W){var ie=new E;return S(W,ie),R(k,ie,this._defs),ie.setShape({cx:parseFloat(k.getAttribute("cx")||0),cy:parseFloat(k.getAttribute("cy")||0),rx:parseFloat(k.getAttribute("rx")||0),ry:parseFloat(k.getAttribute("ry")||0)}),ie},polygon:function(k,W){var ie=k.getAttribute("points");ie&&(ie=P(ie));var fe=new t({shape:{points:ie||[]}});return S(W,fe),R(k,fe,this._defs),fe},polyline:function(k,W){var ie=new f;S(W,ie),R(k,ie,this._defs);var fe=k.getAttribute("points");fe&&(fe=P(fe));var Ce=new i({shape:{points:fe||[]}});return Ce},image:function(k,W){var ie=new T;return S(W,ie),R(k,ie,this._defs),ie.setStyle({image:k.getAttribute("xlink:href"),x:k.getAttribute("x"),y:k.getAttribute("y"),width:k.getAttribute("width"),height:k.getAttribute("height")}),ie},text:function(k,W){var ie=k.getAttribute("x")||0,fe=k.getAttribute("y")||0,Ce=k.getAttribute("dx")||0,ge=k.getAttribute("dy")||0;this._textX=parseFloat(ie)+parseFloat(Ce),this._textY=parseFloat(fe)+parseFloat(ge);var de=new B;return S(W,de),R(k,de,this._defs),de},tspan:function(k,W){var ie=k.getAttribute("x"),fe=k.getAttribute("y");ie!=null&&(this._textX=parseFloat(ie)),fe!=null&&(this._textY=parseFloat(fe));var Ce=k.getAttribute("dx")||0,ge=k.getAttribute("dy")||0,de=new B;return S(W,de),R(k,de,this._defs),this._textX+=Ce,this._textY+=ge,de},path:function(k,W){var ie=k.getAttribute("d")||"",fe=n(ie);return S(W,fe),R(k,fe,this._defs),fe}},m={lineargradient:function(k){var W=parseInt(k.getAttribute("x1")||0,10),ie=parseInt(k.getAttribute("y1")||0,10),fe=parseInt(k.getAttribute("x2")||10,10),Ce=parseInt(k.getAttribute("y2")||0,10),ge=new s(W,ie,fe,Ce);return b(k,ge),ge},radialgradient:function(k){}};function b(Y,k){for(var W=Y.firstChild;W;){if(W.nodeType===1){var ie=W.getAttribute("offset");ie.indexOf("%")>0?ie=parseInt(ie,10)/100:ie?ie=parseFloat(ie):ie=0;var fe=W.getAttribute("stop-color")||"#000000";k.addColorStop(ie,fe)}W=W.nextSibling}}function S(Y,k){Y&&Y.__inheritedStyle&&(k.__inheritedStyle||(k.__inheritedStyle={}),d(k.__inheritedStyle,Y.__inheritedStyle))}function P(Y){for(var k=h(Y).split(A),W=[],ie=0;ie<k.length;ie+=2){var fe=parseFloat(k[ie]),Ce=parseFloat(k[ie+1]);W.push([fe,Ce])}return W}var M={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 R(Y,k,W,ie){var fe=k.__inheritedStyle||{},Ce=k.type==="text";if(Y.nodeType===1&&(N(Y,k),c(fe,z(Y)),!ie)){for(var ge in M)if(M.hasOwnProperty(ge)){var de=Y.getAttribute(ge);de!=null&&(fe[M[ge]]=de)}}var Pe=Ce?"textFill":"fill",_e=Ce?"textStroke":"stroke";k.style=k.style||new o;var Ne=k.style;fe.fill!=null&&Ne.set(Pe,L(fe.fill,W)),fe.stroke!=null&&Ne.set(_e,L(fe.stroke,W)),y(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(He){var ue=He==="lineWidth"&&Ce?"textStrokeWidth":He;fe[He]!=null&&Ne.set(ue,parseFloat(fe[He]))}),(!fe.textBaseline||fe.textBaseline==="auto")&&(fe.textBaseline="alphabetic"),fe.textBaseline==="alphabetic"&&(fe.textBaseline="bottom"),fe.textAlign==="start"&&(fe.textAlign="left"),fe.textAlign==="end"&&(fe.textAlign="right"),y(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(He){fe[He]!=null&&Ne.set(He,fe[He])}),fe.lineDash&&(k.style.lineDash=h(fe.lineDash).split(A)),Ne[_e]&&Ne[_e]!=="none"&&(k[_e]=!0),k.__inheritedStyle=fe}var F=/url\(\s*#(.*?)\)/;function L(Y,k){var W=k&&Y&&Y.match(F);if(W){var ie=h(W[1]),fe=k[ie];return fe}return Y}var U=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function N(Y,k){var W=Y.getAttribute("transform");if(W){W=W.replace(/,/g," ");var ie=null,fe=[];W.replace(U,function(Pe,_e,Ne){fe.push(_e,Ne)});for(var Ce=fe.length-1;Ce>0;Ce-=2){var ge=fe[Ce],de=fe[Ce-1];switch(ie=ie||r.create(),de){case"translate":ge=h(ge).split(A),r.translate(ie,ie,[parseFloat(ge[0]),parseFloat(ge[1]||0)]);break;case"scale":ge=h(ge).split(A),r.scale(ie,ie,[parseFloat(ge[0]),parseFloat(ge[1]||ge[0])]);break;case"rotate":ge=h(ge).split(A),r.rotate(ie,ie,parseFloat(ge[0]));break;case"skew":ge=h(ge).split(A),console.warn("Skew transform is not supported yet");break;case"matrix":var ge=h(ge).split(A);ie[0]=parseFloat(ge[0]),ie[1]=parseFloat(ge[1]),ie[2]=parseFloat(ge[2]),ie[3]=parseFloat(ge[3]),ie[4]=parseFloat(ge[4]),ie[5]=parseFloat(ge[5]);break}}k.setLocalTransform(ie)}}var Q=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(Y){var k=Y.getAttribute("style"),W={};if(!k)return W;var ie={};Q.lastIndex=0;for(var fe;(fe=Q.exec(k))!=null;)ie[fe[1]]=fe[2];for(var Ce in M)M.hasOwnProperty(Ce)&&ie[Ce]!=null&&(W[M[Ce]]=ie[Ce]);return W}function _(Y,k,W){var ie=k/Y.width,fe=W/Y.height,Ce=Math.min(ie,fe),ge=[Ce,Ce],de=[-(Y.x+Y.width/2)*Ce+k/2,-(Y.y+Y.height/2)*Ce+W/2];return{scale:ge,position:de}}function J(Y,k){var W=new g;return W.parse(Y,k)}V.parseXML=v,V.makeViewBoxTransform=_,V.parseSVG=J},MFOe:function(oe,V,e){(function(B){var T=E(),w=C(),D=f(),I=typeof window!="undefined"?window:B;oe.exports={assign:T,create:w,trim:D,bind:t,slice:i,each:s,map:o,pluck:r,isList:u,isFunction:n,isObject:l,Global:I};function E(){return Object.assign?Object.assign:function(c,d,h,y){for(var A=1;A<arguments.length;A++)s(Object(arguments[A]),function(v,g){c[g]=v});return c}}function C(){if(Object.create)return function(d,h,y,A){var v=i(arguments,1);return T.apply(this,[Object.create(d)].concat(v))};var a=function(){};return function(d,h,y,A){var v=i(arguments,1);return a.prototype=d,T.apply(this,[new a].concat(v))}}function f(){return String.prototype.trim?function(c){return String.prototype.trim.call(c)}:function(c){return c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function t(a,c){return function(){return c.apply(a,Array.prototype.slice.call(arguments,0))}}function i(a,c){return Array.prototype.slice.call(a,c||0)}function s(a,c){r(a,function(d,h){return c(d,h),!1})}function o(a,c){var d=u(a)?[]:{};return r(a,function(h,y){return d[y]=c(h,y),!1}),d}function r(a,c){if(u(a)){for(var d=0;d<a.length;d++)if(c(a[d],d))return a[d]}else for(var h in a)if(a.hasOwnProperty(h)&&c(a[h],h))return a[h]}function u(a){return a!=null&&typeof a!="function"&&typeof a.length=="number"}function n(a){return a&&{}.toString.call(a)==="[object Function]"}function l(a){return a&&{}.toString.call(a)==="[object Object]"}}).call(this,e("IyRk"))},MH26:function(oe,V,e){var B=e("bYtY"),T=e("YXkt"),w=e("OELB"),D=e("kj2x"),I=e("c8qY"),E=e("iPDy"),C=e("7hqr"),f=C.getStackedDimension,t=function(l,a,c,d){var h=l.getData(),y=d.type;if(!B.isArray(d)&&(y==="min"||y==="max"||y==="average"||y==="median"||d.xAxis!=null||d.yAxis!=null)){var A,v;if(d.yAxis!=null||d.xAxis!=null)A=a.getAxis(d.yAxis!=null?"y":"x"),v=B.retrieve(d.yAxis,d.xAxis);else{var g=D.getAxisInfo(d,h,a,l);A=g.valueAxis;var x=f(h,g.valueDataDim);v=D.numCalculate(h,x,y)}var m=A.dim==="x"?0:1,b=1-m,S=B.clone(d),P={};S.type=null,S.coord=[],P.coord=[],S.coord[b]=-Infinity,P.coord[b]=Infinity;var M=c.get("precision");M>=0&&typeof v=="number"&&(v=+v.toFixed(Math.min(M,20))),S.coord[m]=P.coord[m]=v,d=[S,P,{type:y,valueIndex:d.valueIndex,value:v}]}return d=[D.dataTransform(l,d[0]),D.dataTransform(l,d[1]),B.extend({},d[2])],d[2].type=d[2].type||"",B.merge(d[2],d[0]),B.merge(d[2],d[1]),d};function i(l){return!isNaN(l)&&!isFinite(l)}function s(l,a,c,d){var h=1-l,y=d.dimensions[l];return i(a[h])&&i(c[h])&&a[l]===c[l]&&d.getAxis(y).containData(a[l])}function o(l,a){if(l.type==="cartesian2d"){var c=a[0].coord,d=a[1].coord;if(c&&d&&(s(1,c,d,l)||s(0,c,d,l)))return!0}return D.dataFilter(l,a[0])&&D.dataFilter(l,a[1])}function r(l,a,c,d,h){var y=d.coordinateSystem,A=l.getItemModel(a),v,g=w.parsePercent(A.get("x"),h.getWidth()),x=w.parsePercent(A.get("y"),h.getHeight());if(!isNaN(g)&&!isNaN(x))v=[g,x];else{if(d.getMarkerPosition)v=d.getMarkerPosition(l.getValues(l.dimensions,a));else{var m=y.dimensions,b=l.get(m[0],a),S=l.get(m[1],a);v=y.dataToPoint([b,S])}if(y.type==="cartesian2d"){var P=y.getAxis("x"),M=y.getAxis("y"),m=y.dimensions;i(l.get(m[0],a))?v[0]=P.toGlobalCoord(P.getExtent()[c?0:1]):i(l.get(m[1],a))&&(v[1]=M.toGlobalCoord(M.getExtent()[c?0:1]))}isNaN(g)||(v[0]=g),isNaN(x)||(v[1]=x)}l.setItemLayout(a,v)}var u=E.extend({type:"markLine",updateTransform:function(l,a,c){a.eachSeries(function(d){var h=d.markLineModel;if(h){var y=h.getData(),A=h.__from,v=h.__to;A.each(function(g){r(A,g,!0,d,c),r(v,g,!1,d,c)}),y.each(function(g){y.setItemLayout(g,[A.getItemLayout(g),v.getItemLayout(g)])}),this.markerGroupMap.get(d.id).updateLayout()}},this)},renderSeries:function(l,a,c,d){var h=l.coordinateSystem,y=l.id,A=l.getData(),v=this.markerGroupMap,g=v.get(y)||v.set(y,new I);this.group.add(g.group);var x=n(h,l,a),m=x.from,b=x.to,S=x.line;a.__from=m,a.__to=b,a.setData(S);var P=a.get("symbol"),M=a.get("symbolSize");B.isArray(P)||(P=[P,P]),typeof M=="number"&&(M=[M,M]),x.from.each(function(F){R(m,F,!0),R(b,F,!1)}),S.each(function(F){var L=S.getItemModel(F).get("lineStyle.color");S.setItemVisual(F,{color:L||m.getItemVisual(F,"color")}),S.setItemLayout(F,[m.getItemLayout(F),b.getItemLayout(F)]),S.setItemVisual(F,{fromSymbolRotate:m.getItemVisual(F,"symbolRotate"),fromSymbolSize:m.getItemVisual(F,"symbolSize"),fromSymbol:m.getItemVisual(F,"symbol"),toSymbolRotate:b.getItemVisual(F,"symbolRotate"),toSymbolSize:b.getItemVisual(F,"symbolSize"),toSymbol:b.getItemVisual(F,"symbol")})}),g.updateData(S),x.line.eachItemGraphicEl(function(F,L){F.traverse(function(U){U.dataModel=a})});function R(F,L,U){var N=F.getItemModel(L);r(F,L,U,l,d),F.setItemVisual(L,{symbolRotate:N.get("symbolRotate"),symbolSize:N.get("symbolSize")||M[U?0:1],symbol:N.get("symbol",!0)||P[U?0:1],color:N.get("itemStyle.color")||A.getVisual("color")})}g.__keep=!0,g.group.silent=a.get("silent")||l.get("silent")}});function n(l,a,c){var d;l?d=B.map(l&&l.dimensions,function(x){var m=a.getData().getDimensionInfo(a.getData().mapDimension(x))||{};return B.defaults({name:x},m)}):d=[{name:"value",type:"float"}];var h=new T(d,c),y=new T(d,c),A=new T([],c),v=B.map(c.get("data"),B.curry(t,a,l,c));l&&(v=B.filter(v,B.curry(o,l)));var g=l?D.dimValueGetter:function(x){return x.value};return h.initData(B.map(v,function(x){return x[0]}),null,g),y.initData(B.map(v,function(x){return x[1]}),null,g),A.initData(B.map(v,function(x){return x[2]})),A.hasItemOption=!0,{from:h,to:y,line:A}}oe.exports=u},MHoB:function(oe,V,e){var B=e("bYtY"),T=e("6uqw"),w=e("OELB"),D=[20,140],I=T.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(f,t){I.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){I.superApply(this,"resetItemSize",arguments);var f=this.itemSize;this._orient==="horizontal"&&f.reverse(),(f[0]==null||isNaN(f[0]))&&(f[0]=D[0]),(f[1]==null||isNaN(f[1]))&&(f[1]=D[1])},_resetRange:function(){var f=this.getExtent(),t=this.option.range;!t||t.auto?(f.auto=1,this.option.range=f):B.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],f[0]),t[1]=Math.min(t[1],f[1]))},completeVisualOption:function(){T.prototype.completeVisualOption.apply(this,arguments),B.each(this.stateList,function(f){var t=this.option.controller[f].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(f){this.option.range=f.slice(),this._resetRange()},getSelected:function(){var f=this.getExtent(),t=w.asc((this.get("range")||[]).slice());return t[0]>f[1]&&(t[0]=f[1]),t[1]>f[1]&&(t[1]=f[1]),t[0]<f[0]&&(t[0]=f[0]),t[1]<f[0]&&(t[1]=f[0]),t},getValueState:function(f){var t=this.option.range,i=this.getExtent();return(t[0]<=i[0]||t[0]<=f)&&(t[1]>=i[1]||f<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(f){var t=[];return this.eachTargetSeries(function(i){var s=[],o=i.getData();o.each(this.getDataDimension(o),function(r,u){f[0]<=r&&r<=f[1]&&s.push(u)},this),t.push({seriesId:i.id,dataIndex:s})},this),t},getVisualMeta:function(f){var t=E(this,"outOfRange",this.getExtent()),i=E(this,"inRange",this.option.range.slice()),s=[];function o(d,h){s.push({value:d,color:f(d,h)})}for(var r=0,u=0,n=i.length,l=t.length;u<l&&(!i.length||t[u]<=i[0]);u++)t[u]<i[r]&&o(t[u],"outOfRange");for(var a=1;r<n;r++,a=0)a&&s.length&&o(i[r],"outOfRange"),o(i[r],"inRange");for(var a=1;u<l;u++)(!i.length||i[i.length-1]<t[u])&&(a&&(s.length&&o(s[s.length-1].value,"outOfRange"),a=0),o(t[u],"outOfRange"));var c=s.length;return{stops:s,outerColors:[c?s[0].color:"transparent",c?s[c-1].color:"transparent"]}}});function E(f,t,i){if(i[0]===i[1])return i.slice();for(var s=200,o=(i[1]-i[0])/s,r=i[0],u=[],n=0;n<=s&&r<i[1];n++)u.push(r),r+=o;return u.push(i[1]),u}var C=I;oe.exports=C},MHtr:function(oe,V,e){var B=e("bYtY");function T(D,I){var E=this.getAxis(),C=I instanceof Array?I[0]:I,f=(D instanceof Array?D[0]:D)/2;return E.type==="category"?E.getBandWidth():Math.abs(E.dataToCoord(C-f)-E.dataToCoord(C+f))}function w(D){var I=D.getRect();return{coordSys:{type:"singleAxis",x:I.x,y:I.y,width:I.width,height:I.height},api:{coord:function(E){return D.dataToPoint(E)},size:B.bind(T,D)}}}oe.exports=w},MJZm:function(oe,V,e){"use strict";var B=e("rePB"),T=e("U8pU"),w=e("wx14"),D=e("VTBJ"),I=e("q1tI"),E=e.n(I),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},f=C,t=e("6VBw"),i=function(de,Pe){return I.createElement(t.a,Object(D.a)(Object(D.a)({},de),{},{ref:Pe,icon:f}))};i.displayName="HolderOutlined";var s=I.forwardRef(i),o=e("TSYQ"),r=e.n(o),u=e("fAei"),n=e("H84U"),l=e("EXcs"),a=e("KQm4"),c=e("ODXe"),d=e("9jjd"),h={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"},y=h,A=function(de,Pe){return I.createElement(t.a,Object(D.a)(Object(D.a)({},de),{},{ref:Pe,icon:y}))};A.displayName="FolderOpenOutlined";var v=I.forwardRef(A),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"},x=g,m=function(de,Pe){return I.createElement(t.a,Object(D.a)(Object(D.a)({},de),{},{ref:Pe,icon:x}))};m.displayName="FolderOutlined";var b=I.forwardRef(m),S=e("OZM5"),P=e("815F"),M;(function(ge){ge[ge.None=0]="None",ge[ge.Start=1]="Start",ge[ge.End=2]="End"})(M||(M={}));function R(ge,de){function Pe(_e){var Ne=_e.key,He=_e.children;de(Ne,_e)!==!1&&R(He||[],de)}ge.forEach(Pe)}function F(ge){var de=ge.treeData,Pe=ge.expandedKeys,_e=ge.startKey,Ne=ge.endKey,He=[],ue=M.None;if(_e&&_e===Ne)return[_e];if(!_e||!Ne)return[];function Re(nt){return nt===_e||nt===Ne}return R(de,function(nt){if(ue===M.End)return!1;if(Re(nt)){if(He.push(nt),ue===M.None)ue=M.Start;else if(ue===M.Start)return ue=M.End,!1}else ue===M.Start&&He.push(nt);return Pe.includes(nt)}),He}function L(ge,de){var Pe=Object(a.a)(de),_e=[];return R(ge,function(Ne,He){var ue=Pe.indexOf(Ne);return ue!==-1&&(_e.push(He),Pe.splice(ue,1)),!!Pe.length}),_e}var U=function(ge,de){var Pe={};for(var _e in ge)Object.prototype.hasOwnProperty.call(ge,_e)&&de.indexOf(_e)<0&&(Pe[_e]=ge[_e]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,_e=Object.getOwnPropertySymbols(ge);Ne<_e.length;Ne++)de.indexOf(_e[Ne])<0&&Object.prototype.propertyIsEnumerable.call(ge,_e[Ne])&&(Pe[_e[Ne]]=ge[_e[Ne]]);return Pe};function N(ge){var de=ge.isLeaf,Pe=ge.expanded;return de?I.createElement(d.a,null):Pe?I.createElement(v,null):I.createElement(b,null)}function Q(ge){var de=ge.treeData,Pe=ge.children;return de||Object(P.c)(Pe)}var z=function(de,Pe){var _e=de.defaultExpandAll,Ne=de.defaultExpandParent,He=de.defaultExpandedKeys,ue=U(de,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Re=I.useRef(),nt=I.useRef(),Ve=function(){var Ae=Object(P.a)(Q(ue)),Me=Ae.keyEntities,De;return _e?De=Object.keys(Me):Ne?De=Object(S.e)(ue.expandedKeys||He||[],Me):De=ue.expandedKeys||He,De},Ge=I.useState(ue.selectedKeys||ue.defaultSelectedKeys||[]),dt=Object(c.a)(Ge,2),et=dt[0],At=dt[1],Dt=I.useState(function(){return Ve()}),Ft=Object(c.a)(Dt,2),St=Ft[0],$e=Ft[1];I.useEffect(function(){"selectedKeys"in ue&&At(ue.selectedKeys)},[ue.selectedKeys]),I.useEffect(function(){"expandedKeys"in ue&&$e(ue.expandedKeys)},[ue.expandedKeys]);var lt=function(Ae,Me){var De;return"expandedKeys"in ue||$e(Ae),(De=ue.onExpand)===null||De===void 0?void 0:De.call(ue,Ae,Me)},Ut=function(Ae,Me){var De,ze=ue.multiple,pe=Me.node,te=Me.nativeEvent,be=pe.key,xe=be===void 0?"":be,Z=Q(ue),se=Object(w.a)(Object(w.a)({},Me),{selected:!0}),he=(te==null?void 0:te.ctrlKey)||(te==null?void 0:te.metaKey),Oe=te==null?void 0:te.shiftKey,ne;ze&&he?(ne=Ae,Re.current=xe,nt.current=ne,se.selectedNodes=L(Z,ne)):ze&&Oe?(ne=Array.from(new Set([].concat(Object(a.a)(nt.current||[]),Object(a.a)(F({treeData:Z,expandedKeys:St,startKey:xe,endKey:Re.current}))))),se.selectedNodes=L(Z,ne)):(ne=[xe],Re.current=xe,nt.current=ne,se.selectedNodes=L(Z,ne)),(De=ue.onSelect)===null||De===void 0||De.call(ue,ne,se),"selectedKeys"in ue||At(ne)},gt=I.useContext(n.b),ft=gt.getPrefixCls,rt=gt.direction,Ie=ue.prefixCls,Ot=ue.className,Xt=ue.showIcon,Vt=Xt===void 0?!0:Xt,bt=ue.expandAction,It=bt===void 0?"click":bt,Kt=U(ue,["prefixCls","className","showIcon","expandAction"]),Se=ft("tree",Ie),Ye=r()("".concat(Se,"-directory"),Object(B.a)({},"".concat(Se,"-directory-rtl"),rt==="rtl"),Ot);return I.createElement(fe,Object(w.a)({icon:N,ref:Pe,blockNode:!0},Kt,{showIcon:Vt,expandAction:It,prefixCls:Se,className:Ye,expandedKeys:St,selectedKeys:et,onSelect:Ut,onExpand:lt}))},_=I.forwardRef(z),J=_,Y=4;function k(ge){var de,Pe=ge.dropPosition,_e=ge.dropLevelOffset,Ne=ge.prefixCls,He=ge.indent,ue=ge.direction,Re=ue===void 0?"ltr":ue,nt=Re==="ltr"?"left":"right",Ve=Re==="ltr"?"right":"left",Ge=(de={},Object(B.a)(de,nt,-_e*He+Y),Object(B.a)(de,Ve,0),de);switch(Pe){case-1:Ge.top=-3;break;case 1:Ge.bottom=-3;break;default:Ge.bottom=-3,Ge[nt]=He+Y;break}return E.a.createElement("div",{style:Ge,className:"".concat(Ne,"-drop-indicator")})}var W=e("2jpz"),ie=I.forwardRef(function(ge,de){var Pe,_e=I.useContext(n.b),Ne=_e.getPrefixCls,He=_e.direction,ue=_e.virtual,Re=ge.prefixCls,nt=ge.className,Ve=ge.showIcon,Ge=Ve===void 0?!1:Ve,dt=ge.showLine,et=ge.switcherIcon,At=ge.blockNode,Dt=At===void 0?!1:At,Ft=ge.children,St=ge.checkable,$e=St===void 0?!1:St,lt=ge.selectable,Ut=lt===void 0?!0:lt,gt=ge.draggable,ft=ge.motion,rt=ft===void 0?Object(w.a)(Object(w.a)({},l.a),{motionAppear:!1}):ft,Ie=Ne("tree",Re),Ot=Object(w.a)(Object(w.a)({},ge),{checkable:$e,selectable:Ut,showIcon:Ge,motion:rt,blockNode:Dt,showLine:Boolean(dt),dropIndicatorRender:k}),Xt=I.useMemo(function(){if(!gt)return!1;var Vt={};switch(Object(T.a)(gt)){case"function":Vt.nodeDraggable=gt;break;case"object":Vt=Object(w.a)({},gt);break;default:break}return Vt.icon!==!1&&(Vt.icon=Vt.icon||I.createElement(s,null)),Vt},[gt]);return I.createElement(u.b,Object(w.a)({itemHeight:20,ref:de,virtual:ue},Ot,{prefixCls:Ie,className:r()((Pe={},Object(B.a)(Pe,"".concat(Ie,"-icon-hide"),!Ge),Object(B.a)(Pe,"".concat(Ie,"-block-node"),Dt),Object(B.a)(Pe,"".concat(Ie,"-unselectable"),!Ut),Object(B.a)(Pe,"".concat(Ie,"-rtl"),He==="rtl"),Pe),nt),direction:He,checkable:$e&&I.createElement("span",{className:"".concat(Ie,"-checkbox-inner")}),selectable:Ut,switcherIcon:function(bt){return Object(W.a)(Ie,et,dt,bt)},draggable:Xt}),Ft)});ie.TreeNode=u.a,ie.DirectoryTree=J;var fe=ie,Ce=V.a=fe},MKOG:function(oe,V,e){var B=e("bYtY"),T=e("YH21"),w=T.Dispatcher,D=e("mLcG"),I=e("Bq2U"),E=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,w.call(this)};E.prototype={constructor:E,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var i=t.getClips(),s=0;s<i.length;s++)this.addClip(i[s])},removeClip:function(t){var i=B.indexOf(this._clips,t);i>=0&&this._clips.splice(i,1)},removeAnimator:function(t){for(var i=t.getClips(),s=0;s<i.length;s++)this.removeClip(i[s]);t.animation=null},_update:function(){for(var t=new Date().getTime()-this._pausedTime,i=t-this._time,s=this._clips,o=s.length,r=[],u=[],n=0;n<o;n++){var l=s[n],a=l.step(t,i);a&&(r.push(a),u.push(l))}for(var n=0;n<o;)s[n]._needsRemove?(s[n]=s[o-1],s.pop(),o--):n++;o=r.length;for(var n=0;n<o;n++)u[n].fire(r[n]);this._time=t,this.onframe(i),this.trigger("frame",i),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0;function i(){t._running&&(D(i),!t._paused&&t._update())}D(i)},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(t,i){i=i||{};var s=new I(t,i.loop,i.getter,i.setter);return this.addAnimator(s),s}},B.mixin(E,w);var C=E;oe.exports=C},MRoa:function(oe,V,e){var B=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var T=e("gawk"),w=e("Dg8C");B.registerLayout(T),B.registerVisual(w)},MT78:function(oe,V,e){var B=e("ProS");(function(){for(var w in B){if(B==null||!B.hasOwnProperty(w)||w==="default"||w==="__esModule")return;V[w]=B[w]}})();var T=e("txkQ");(function(){for(var w in T){if(T==null||!T.hasOwnProperty(w)||w==="default"||w==="__esModule")return;V[w]=T[w]}})(),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(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("Kvyg"),D=e.n(w)},Mdki:function(oe,V,e){var B=e("bYtY"),T=B.each,w="\0__link_datas",D="\0__link_mainData";function I(u){var n=u.mainData,l=u.datas;l||(l={main:n},u.datasAttr={main:"data"}),u.datas=u.mainData=null,s(n,l,u),T(l,function(a){T(n.TRANSFERABLE_METHODS,function(c){a.wrapMethod(c,B.curry(E,u))})}),n.wrapMethod("cloneShallow",B.curry(f,u)),T(n.CHANGABLE_METHODS,function(a){n.wrapMethod(a,B.curry(C,u))}),B.assert(l[n.dataType]===n)}function E(u,n){if(i(this)){var l=B.extend({},this[w]);l[this.dataType]=n,s(n,l,u)}else o(n,this.dataType,this[D],u);return n}function C(u,n){return u.struct&&u.struct.update(this),n}function f(u,n){return T(n[w],function(l,a){l!==n&&o(l.cloneShallow(),a,n,u)}),n}function t(u){var n=this[D];return u==null||n==null?n:n[w][u]}function i(u){return u[D]===u}function s(u,n,l){u[w]={},T(n,function(a,c){o(a,c,u,l)})}function o(u,n,l,a){l[w][n]=u,u[D]=l,u.dataType=n,a.struct&&(u[a.structAttr]=a.struct,a.struct[a.datasAttr[n]]=u),u.getLinkedData=t}var r=I;oe.exports=r},Mgri:function(oe,V,e){for(var B=e("bYtY"),T=e("8nly"),w=[126,25],D=[[[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]]],I=0;I<D.length;I++)for(var E=0;E<D[I].length;E++)D[I][E][0]/=10.5,D[I][E][1]/=-10.5/.75,D[I][E][0]+=w[0],D[I][E][1]+=w[1];function C(f,t){f==="china"&&t.push(new T("\u5357\u6D77\u8BF8\u5C9B",B.map(D,function(i){return{type:"polygon",exterior:i}}),w))}oe.exports=C},MqEG:function(oe,V,e){var B=e("bYtY"),T=e("fc+c"),w=e("72pK"),D=e("VXYp"),I=B.bind,E=T.extend({type:"dataZoom.inside",init:function(s,o){this._range},render:function(s,o,r,u){E.superApply(this,"render",arguments),this._range=s.getPercentRange(),B.each(this.getTargetCoordInfo(),function(n,l){var a=B.map(n,function(c){return D.generateCoordId(c.model)});B.each(n,function(c){var d=c.model,h={};B.each(["pan","zoom","scrollMove"],function(y){h[y]=I(C[y],this,c,l)},this),D.register(r,{coordId:D.generateCoordId(d),allCoordIds:a,containsPoint:function(y,A,v){return d.coordinateSystem.containPoint([A,v])},dataZoomId:s.id,dataZoomModel:s,getRange:h})},this)},this)},dispose:function(){D.unregister(this.api,this.dataZoomModel.id),E.superApply(this,"dispose",arguments),this._range=null}}),C={zoom:function(s,o,r,u){var n=this._range,l=n.slice(),a=s.axisModels[0];if(!!a){var c=t[o](null,[u.originX,u.originY],a,r,s),d=(c.signal>0?c.pixelStart+c.pixelLength-c.pixel:c.pixel-c.pixelStart)/c.pixelLength*(l[1]-l[0])+l[0],h=Math.max(1/u.scale,0);l[0]=(l[0]-d)*h+d,l[1]=(l[1]-d)*h+d;var y=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(w(0,l,[0,100],0,y.minSpan,y.maxSpan),this._range=l,n[0]!==l[0]||n[1]!==l[1])return l}},pan:f(function(s,o,r,u,n,l){var a=t[u]([l.oldX,l.oldY],[l.newX,l.newY],o,n,r);return a.signal*(s[1]-s[0])*a.pixel/a.pixelLength}),scrollMove:f(function(s,o,r,u,n,l){var a=t[u]([0,0],[l.scrollDelta,l.scrollDelta],o,n,r);return a.signal*(s[1]-s[0])*l.scrollDelta})};function f(s){return function(o,r,u,n){var l=this._range,a=l.slice(),c=o.axisModels[0];if(!!c){var d=s(a,c,o,r,u,n);if(w(d,a,[0,100],"all"),this._range=a,l[0]!==a[0]||l[1]!==a[1])return a}}}var t={grid:function(s,o,r,u,n){var l=r.axis,a={},c=n.model.coordinateSystem.getRect();return s=s||[0,0],l.dim==="x"?(a.pixel=o[0]-s[0],a.pixelLength=c.width,a.pixelStart=c.x,a.signal=l.inverse?1:-1):(a.pixel=o[1]-s[1],a.pixelLength=c.height,a.pixelStart=c.y,a.signal=l.inverse?-1:1),a},polar:function(s,o,r,u,n){var l=r.axis,a={},c=n.model.coordinateSystem,d=c.getRadiusAxis().getExtent(),h=c.getAngleAxis().getExtent();return s=s?c.pointToCoord(s):[0,0],o=c.pointToCoord(o),r.mainType==="radiusAxis"?(a.pixel=o[0]-s[0],a.pixelLength=d[1]-d[0],a.pixelStart=d[0],a.signal=l.inverse?1:-1):(a.pixel=o[1]-s[1],a.pixelLength=h[1]-h[0],a.pixelStart=h[0],a.signal=l.inverse?-1:1),a},singleAxis:function(s,o,r,u,n){var l=r.axis,a=n.model.coordinateSystem.getRect(),c={};return s=s||[0,0],l.orient==="horizontal"?(c.pixel=o[0]-s[0],c.pixelLength=a.width,c.pixelStart=a.x,c.signal=l.inverse?1:-1):(c.pixel=o[1]-s[1],c.pixelLength=a.height,c.pixelStart=a.y,c.signal=l.inverse?-1:1),c}},i=E;oe.exports=i},MwEJ:function(oe,V,e){var B=e("bYtY"),T=e("YXkt"),w=e("sdST"),D=e("k9D9"),I=D.SOURCE_FORMAT_ORIGINAL,E=e("L0Ub"),C=E.getDimensionTypeByAxis,f=e("4NO4"),t=f.getDataItemValue,i=e("IDmD"),s=e("i38C"),o=s.getCoordSysInfoBySeries,r=e("7G+c"),u=e("7hqr"),n=u.enableDataStack,l=e("D5nY"),a=l.makeSeriesEncodeForAxisCoordSys;function c(A,v,g){g=g||{},r.isInstance(A)||(A=r.seriesDataToSource(A));var x=v.get("coordinateSystem"),m=i.get(x),b=o(v),S;b&&(S=B.map(b.coordSysDims,function(N){var Q={name:N},z=b.axisMap.get(N);if(z){var _=z.get("type");Q.type=C(_)}return Q})),S||(S=m&&(m.getDimensionsInfo?m.getDimensionsInfo():m.dimensions.slice())||["x","y"]);var P=w(A,{coordDimensions:S,generateCoord:g.generateCoord,encodeDefaulter:g.useEncodeDefaulter?B.curry(a,S,v):null}),M,R;b&&B.each(P,function(N,Q){var z=N.coordDim,_=b.categoryAxisMap.get(z);_&&(M==null&&(M=Q),N.ordinalMeta=_.getOrdinalMeta()),N.otherDims.itemName!=null&&(R=!0)}),!R&&M!=null&&(P[M].otherDims.itemName=0);var F=n(v,P),L=new T(P,v);L.setCalculationInfo(F);var U=M!=null&&d(A)?function(N,Q,z,_){return _===M?z:this.defaultDimValueGetter(N,Q,z,_)}:null;return L.hasItemOption=!1,L.initData(A,null,U),L}function d(A){if(A.sourceFormat===I){var v=h(A.data||[]);return v!=null&&!B.isArray(t(v))}}function h(A){for(var v=0;v<A.length&&A[v]==null;)v++;return A[v]}var y=c;oe.exports=y},Mylv:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS"),D=e("oVpE"),I=D.createSymbol,E=e("OELB"),C=E.parsePercent,f=E.isNumeric,t=e("56rv"),i=t.setLabel,s=["itemStyle","borderWidth"],o=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],r=new w.Circle,u=B.extendChartView({type:"pictorialBar",render:function(J,Y,k){var W=this.group,ie=J.getData(),fe=this._data,Ce=J.coordinateSystem,ge=Ce.getBaseAxis(),de=!!ge.isHorizontal(),Pe=Ce.grid.getRect(),_e={ecSize:{width:k.getWidth(),height:k.getHeight()},seriesModel:J,coordSys:Ce,coordSysExtent:[[Pe.x,Pe.x+Pe.width],[Pe.y,Pe.y+Pe.height]],isHorizontal:de,valueDim:o[+de],categoryDim:o[1-de]};return ie.diff(fe).add(function(Ne){if(!!ie.hasValue(Ne)){var He=m(ie,Ne),ue=n(ie,Ne,He,_e),Re=M(ie,_e,ue);ie.setItemGraphicEl(Ne,Re),W.add(Re),Q(Re,_e,ue)}}).update(function(Ne,He){var ue=fe.getItemGraphicEl(He);if(!ie.hasValue(Ne)){W.remove(ue);return}var Re=m(ie,Ne),nt=n(ie,Ne,Re,_e),Ve=L(ie,nt);ue&&Ve!==ue.__pictorialShapeStr&&(W.remove(ue),ie.setItemGraphicEl(Ne,null),ue=null),ue?R(ue,_e,nt):ue=M(ie,_e,nt,!0),ie.setItemGraphicEl(Ne,ue),ue.__pictorialSymbolMeta=nt,W.add(ue),Q(ue,_e,nt)}).remove(function(Ne){var He=fe.getItemGraphicEl(Ne);He&&F(fe,Ne,He.__pictorialSymbolMeta.animationModel,He)}).execute(),this._data=ie,this.group},dispose:T.noop,remove:function(J,Y){var k=this.group,W=this._data;J.get("animation")?W&&W.eachItemGraphicEl(function(ie){F(W,ie.dataIndex,J,ie)}):k.removeAll()}});function n(J,Y,k,W){var ie=J.getItemLayout(Y),fe=k.get("symbolRepeat"),Ce=k.get("symbolClip"),ge=k.get("symbolPosition")||"start",de=k.get("symbolRotate"),Pe=(de||0)*Math.PI/180||0,_e=k.get("symbolPatternSize")||2,Ne=k.isAnimationEnabled(),He={dataIndex:Y,layout:ie,itemModel:k,symbolType:J.getItemVisual(Y,"symbol")||"circle",color:J.getItemVisual(Y,"color"),symbolClip:Ce,symbolRepeat:fe,symbolRepeatDirection:k.get("symbolRepeatDirection"),symbolPatternSize:_e,rotation:Pe,animationModel:Ne?k:null,hoverAnimation:Ne&&k.get("hoverAnimation"),z2:k.getShallow("z",!0)||0};l(k,fe,ie,W,He),c(J,Y,ie,fe,Ce,He.boundingLength,He.pxSign,_e,W,He),d(k,He.symbolScale,Pe,W,He);var ue=He.symbolSize,Re=k.get("symbolOffset");return T.isArray(Re)&&(Re=[C(Re[0],ue[0]),C(Re[1],ue[1])]),h(k,ue,ie,fe,Ce,Re,ge,He.valueLineWidth,He.boundingLength,He.repeatCutLength,W,He),He}function l(J,Y,k,W,ie){var fe=W.valueDim,Ce=J.get("symbolBoundingData"),ge=W.coordSys.getOtherAxis(W.coordSys.getBaseAxis()),de=ge.toGlobalCoord(ge.dataToCoord(0)),Pe=1-+(k[fe.wh]<=0),_e;if(T.isArray(Ce)){var Ne=[a(ge,Ce[0])-de,a(ge,Ce[1])-de];Ne[1]<Ne[0]&&Ne.reverse(),_e=Ne[Pe]}else Ce!=null?_e=a(ge,Ce)-de:Y?_e=W.coordSysExtent[fe.index][Pe]-de:_e=k[fe.wh];ie.boundingLength=_e,Y&&(ie.repeatCutLength=k[fe.wh]),ie.pxSign=_e>0?1:_e<0?-1:0}function a(J,Y){return J.toGlobalCoord(J.dataToCoord(J.scale.parse(Y)))}function c(J,Y,k,W,ie,fe,Ce,ge,de,Pe){var _e=de.valueDim,Ne=de.categoryDim,He=Math.abs(k[Ne.wh]),ue=J.getItemVisual(Y,"symbolSize");T.isArray(ue)?ue=ue.slice():(ue==null&&(ue="100%"),ue=[ue,ue]),ue[Ne.index]=C(ue[Ne.index],He),ue[_e.index]=C(ue[_e.index],W?He:Math.abs(fe)),Pe.symbolSize=ue;var Re=Pe.symbolScale=[ue[0]/ge,ue[1]/ge];Re[_e.index]*=(de.isHorizontal?-1:1)*Ce}function d(J,Y,k,W,ie){var fe=J.get(s)||0;fe&&(r.attr({scale:Y.slice(),rotation:k}),r.updateTransform(),fe/=r.getLineScale(),fe*=Y[W.valueDim.index]),ie.valueLineWidth=fe}function h(J,Y,k,W,ie,fe,Ce,ge,de,Pe,_e,Ne){var He=_e.categoryDim,ue=_e.valueDim,Re=Ne.pxSign,nt=Math.max(Y[ue.index]+ge,0),Ve=nt;if(W){var Ge=Math.abs(de),dt=T.retrieve(J.get("symbolMargin"),"15%")+"",et=!1;dt.lastIndexOf("!")===dt.length-1&&(et=!0,dt=dt.slice(0,dt.length-1)),dt=C(dt,Y[ue.index]);var At=Math.max(nt+dt*2,0),Dt=et?0:dt*2,Ft=f(W),St=Ft?W:z((Ge+Dt)/At),$e=Ge-St*nt;dt=$e/2/(et?St:St-1),At=nt+dt*2,Dt=et?0:dt*2,!Ft&&W!=="fixed"&&(St=Pe?z((Math.abs(Pe)+Dt)/At):0),Ve=St*At-Dt,Ne.repeatTimes=St,Ne.symbolMargin=dt}var lt=Re*(Ve/2),Ut=Ne.pathPosition=[];Ut[He.index]=k[He.wh]/2,Ut[ue.index]=Ce==="start"?lt:Ce==="end"?de-lt:de/2,fe&&(Ut[0]+=fe[0],Ut[1]+=fe[1]);var gt=Ne.bundlePosition=[];gt[He.index]=k[He.xy],gt[ue.index]=k[ue.xy];var ft=Ne.barRectShape=T.extend({},k);ft[ue.wh]=Re*Math.max(Math.abs(k[ue.wh]),Math.abs(Ut[ue.index]+lt)),ft[He.wh]=k[He.wh];var rt=Ne.clipShape={};rt[He.xy]=-k[He.xy],rt[He.wh]=_e.ecSize[He.wh],rt[ue.xy]=0,rt[ue.wh]=k[ue.wh]}function y(J){var Y=J.symbolPatternSize,k=I(J.symbolType,-Y/2,-Y/2,Y,Y,J.color);return k.attr({culling:!0}),k.type!=="image"&&k.setStyle({strokeNoScale:!0}),k}function A(J,Y,k,W){var ie=J.__pictorialBundle,fe=k.symbolSize,Ce=k.valueLineWidth,ge=k.pathPosition,de=Y.valueDim,Pe=k.repeatTimes||0,_e=0,Ne=fe[Y.valueDim.index]+Ce+k.symbolMargin*2;for(U(J,function(Ge){Ge.__pictorialAnimationIndex=_e,Ge.__pictorialRepeatTimes=Pe,_e<Pe?N(Ge,null,Re(_e),k,W):N(Ge,null,{scale:[0,0]},k,W,function(){ie.remove(Ge)}),P(Ge,k),_e++});_e<Pe;_e++){var He=y(k);He.__pictorialAnimationIndex=_e,He.__pictorialRepeatTimes=Pe,ie.add(He);var ue=Re(_e);N(He,{position:ue.position,scale:[0,0]},{scale:ue.scale,rotation:ue.rotation},k,W),He.on("mouseover",nt).on("mouseout",Ve),P(He,k)}function Re(Ge){var dt=ge.slice(),et=k.pxSign,At=Ge;return(k.symbolRepeatDirection==="start"?et>0:et<0)&&(At=Pe-1-Ge),dt[de.index]=Ne*(At-Pe/2+.5)+ge[de.index],{position:dt,scale:k.symbolScale.slice(),rotation:k.rotation}}function nt(){U(J,function(Ge){Ge.trigger("emphasis")})}function Ve(){U(J,function(Ge){Ge.trigger("normal")})}}function v(J,Y,k,W){var ie=J.__pictorialBundle,fe=J.__pictorialMainPath;fe?N(fe,null,{position:k.pathPosition.slice(),scale:k.symbolScale.slice(),rotation:k.rotation},k,W):(fe=J.__pictorialMainPath=y(k),ie.add(fe),N(fe,{position:k.pathPosition.slice(),scale:[0,0],rotation:k.rotation},{scale:k.symbolScale.slice()},k,W),fe.on("mouseover",Ce).on("mouseout",ge)),P(fe,k);function Ce(){this.trigger("emphasis")}function ge(){this.trigger("normal")}}function g(J,Y,k){var W=T.extend({},Y.barRectShape),ie=J.__pictorialBarRect;ie?N(ie,null,{shape:W},Y,k):(ie=J.__pictorialBarRect=new w.Rect({z2:2,shape:W,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),J.add(ie))}function x(J,Y,k,W){if(k.symbolClip){var ie=J.__pictorialClipPath,fe=T.extend({},k.clipShape),Ce=Y.valueDim,ge=k.animationModel,de=k.dataIndex;if(ie)w.updateProps(ie,{shape:fe},ge,de);else{fe[Ce.wh]=0,ie=new w.Rect({shape:fe}),J.__pictorialBundle.setClipPath(ie),J.__pictorialClipPath=ie;var Pe={};Pe[Ce.wh]=k.clipShape[Ce.wh],w[W?"updateProps":"initProps"](ie,{shape:Pe},ge,de)}}}function m(J,Y){var k=J.getItemModel(Y);return k.getAnimationDelayParams=b,k.isAnimationEnabled=S,k}function b(J){return{index:J.__pictorialAnimationIndex,count:J.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(J,Y){J.off("emphasis").off("normal");var k=Y.symbolScale.slice();Y.hoverAnimation&&J.on("emphasis",function(){this.animateTo({scale:[k[0]*1.1,k[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:k.slice()},400,"elasticOut")})}function M(J,Y,k,W){var ie=new w.Group,fe=new w.Group;return ie.add(fe),ie.__pictorialBundle=fe,fe.attr("position",k.bundlePosition.slice()),k.symbolRepeat?A(ie,Y,k):v(ie,Y,k),g(ie,k,W),x(ie,Y,k,W),ie.__pictorialShapeStr=L(J,k),ie.__pictorialSymbolMeta=k,ie}function R(J,Y,k){var W=k.animationModel,ie=k.dataIndex,fe=J.__pictorialBundle;w.updateProps(fe,{position:k.bundlePosition.slice()},W,ie),k.symbolRepeat?A(J,Y,k,!0):v(J,Y,k,!0),g(J,k,!0),x(J,Y,k,!0)}function F(J,Y,k,W){var ie=W.__pictorialBarRect;ie&&(ie.style.text=null);var fe=[];U(W,function(Ce){fe.push(Ce)}),W.__pictorialMainPath&&fe.push(W.__pictorialMainPath),W.__pictorialClipPath&&(k=null),T.each(fe,function(Ce){w.updateProps(Ce,{scale:[0,0]},k,Y,function(){W.parent&&W.parent.remove(W)})}),J.setItemGraphicEl(Y,null)}function L(J,Y){return[J.getItemVisual(Y.dataIndex,"symbol")||"none",!!Y.symbolRepeat,!!Y.symbolClip].join(":")}function U(J,Y,k){T.each(J.__pictorialBundle.children(),function(W){W!==J.__pictorialBarRect&&Y.call(k,W)})}function N(J,Y,k,W,ie,fe){Y&&J.attr(Y),W.symbolClip&&!ie?k&&J.attr(k):k&&w[ie?"updateProps":"initProps"](J,k,W.animationModel,W.dataIndex,fe)}function Q(J,Y,k){var W=k.color,ie=k.dataIndex,fe=k.itemModel,Ce=fe.getModel("itemStyle").getItemStyle(["color"]),ge=fe.getModel("emphasis.itemStyle").getItemStyle(),de=fe.getShallow("cursor");U(J,function(He){He.setColor(W),He.setStyle(T.defaults({fill:W,opacity:k.opacity},Ce)),w.setHoverStyle(He,ge),de&&(He.cursor=de),He.z2=k.z2});var Pe={},_e=Y.valueDim.posDesc[+(k.boundingLength>0)],Ne=J.__pictorialBarRect;i(Ne.style,Pe,fe,W,Y.seriesModel,ie,_e),w.setHoverStyle(Ne,Pe)}function z(J){var Y=Math.round(J);return Math.abs(J-Y)<1e-4?Y:Math.ceil(J)}var _=u;oe.exports=_},N5BQ:function(oe,V,e){var B=e("OlYY"),T=B.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"}}}),w=T;oe.exports=w},NA0q:function(oe,V,e){var B=e("bYtY"),T=e("6Ic6"),w=e("TkdX"),D=e("gPAo"),I=e("7aKB"),E=I.windowOpen,C="sunburstRootToNode",f=T.extend({type:"sunburst",init:function(){},render:function(i,s,o,r){var u=this;this.seriesModel=i,this.api=o,this.ecModel=s;var n=i.getData(),l=n.tree.root,a=i.getViewRoot(),c=this.group,d=i.get("renderLabelForZeroData"),h=[];a.eachNode(function(S){h.push(S)});var y=this._oldChildren||[];if(g(h,y),b(l,a),r&&r.highlight&&r.highlight.piece){var A=i.getShallow("highlightPolicy");r.highlight.piece.onEmphasis(A)}else if(r&&r.unhighlight){var v=this.virtualPiece;!v&&l.children.length&&(v=l.children[0].piece),v&&v.onNormal()}this._initEvents(),this._oldChildren=h;function g(S,P){if(S.length===0&&P.length===0)return;new D(P,S,M,M).add(R).update(R).remove(B.curry(R,null)).execute();function M(F){return F.getId()}function R(F,L){var U=F==null?null:S[F],N=L==null?null:P[L];x(U,N)}}function x(S,P){if(!d&&S&&!S.getValue()&&(S=null),S!==l&&P!==l){if(P&&P.piece)S?(P.piece.updateData(!1,S,"normal",i,s),n.setItemGraphicEl(S.dataIndex,P.piece)):m(P);else if(S){var M=new w(S,i,s);c.add(M),n.setItemGraphicEl(S.dataIndex,M)}}}function m(S){!S||S.piece&&(c.remove(S.piece),S.piece=null)}function b(S,P){if(P.depth>0){u.virtualPiece?u.virtualPiece.updateData(!1,S,"normal",i,s):(u.virtualPiece=new w(S,i,s),c.add(u.virtualPiece)),P.piece._onclickEvent&&P.piece.off("click",P.piece._onclickEvent);var M=function(R){u._rootToNode(P.parentNode)};P.piece._onclickEvent=M,u.virtualPiece.on("click",M)}else u.virtualPiece&&(c.remove(u.virtualPiece),u.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var i=this,s=function(o){var r=!1,u=i.seriesModel.getViewRoot();u.eachNode(function(n){if(!r&&n.piece&&n.piece.childAt(0)===o.target){var l=n.getModel().get("nodeClick");if(l==="rootToNode")i._rootToNode(n);else if(l==="link"){var a=n.getModel(),c=a.get("link");if(c){var d=a.get("target",!0)||"_blank";E(c,d)}}r=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(i){i!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:C,from:this.uid,seriesId:this.seriesModel.id,targetNode:i})},containPoint:function(i,s){var o=s.getData(),r=o.getItemLayout(0);if(r){var u=i[0]-r.cx,n=i[1]-r.cy,l=Math.sqrt(u*u+n*n);return l<=r.r&&l>=r.r0}}}),t=f;oe.exports=t},NC18:function(oe,V,e){var B=e("y+Vt"),T=e("IMiH"),w=e("7oTu"),D=Math.sqrt,I=Math.sin,E=Math.cos,C=Math.PI,f=function(h){return Math.sqrt(h[0]*h[0]+h[1]*h[1])},t=function(h,y){return(h[0]*y[0]+h[1]*y[1])/(f(h)*f(y))},i=function(h,y){return(h[0]*y[1]<h[1]*y[0]?-1:1)*Math.acos(t(h,y))};function s(d,h,y,A,v,g,x,m,b,S,P){var M=b*(C/180),R=E(M)*(d-y)/2+I(M)*(h-A)/2,F=-1*I(M)*(d-y)/2+E(M)*(h-A)/2,L=R*R/(x*x)+F*F/(m*m);L>1&&(x*=D(L),m*=D(L));var U=(v===g?-1:1)*D((x*x*(m*m)-x*x*(F*F)-m*m*(R*R))/(x*x*(F*F)+m*m*(R*R)))||0,N=U*x*F/m,Q=U*-m*R/x,z=(d+y)/2+E(M)*N-I(M)*Q,_=(h+A)/2+I(M)*N+E(M)*Q,J=i([1,0],[(R-N)/x,(F-Q)/m]),Y=[(R-N)/x,(F-Q)/m],k=[(-1*R-N)/x,(-1*F-Q)/m],W=i(Y,k);t(Y,k)<=-1&&(W=C),t(Y,k)>=1&&(W=0),g===0&&W>0&&(W=W-2*C),g===1&&W<0&&(W=W+2*C),P.addData(S,z,_,x,m,J,W,M,g)}var o=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,r=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u(d){if(!d)return new T;for(var h=0,y=0,A=h,v=y,g,x=new T,m=T.CMD,b=d.match(o),S=0;S<b.length;S++){for(var P=b[S],M=P.charAt(0),R,F=P.match(r)||[],L=F.length,U=0;U<L;U++)F[U]=parseFloat(F[U]);for(var N=0;N<L;){var Q,z,_,J,Y,k,W,ie=h,fe=y;switch(M){case"l":h+=F[N++],y+=F[N++],R=m.L,x.addData(R,h,y);break;case"L":h=F[N++],y=F[N++],R=m.L,x.addData(R,h,y);break;case"m":h+=F[N++],y+=F[N++],R=m.M,x.addData(R,h,y),A=h,v=y,M="l";break;case"M":h=F[N++],y=F[N++],R=m.M,x.addData(R,h,y),A=h,v=y,M="L";break;case"h":h+=F[N++],R=m.L,x.addData(R,h,y);break;case"H":h=F[N++],R=m.L,x.addData(R,h,y);break;case"v":y+=F[N++],R=m.L,x.addData(R,h,y);break;case"V":y=F[N++],R=m.L,x.addData(R,h,y);break;case"C":R=m.C,x.addData(R,F[N++],F[N++],F[N++],F[N++],F[N++],F[N++]),h=F[N-2],y=F[N-1];break;case"c":R=m.C,x.addData(R,F[N++]+h,F[N++]+y,F[N++]+h,F[N++]+y,F[N++]+h,F[N++]+y),h+=F[N-2],y+=F[N-1];break;case"S":Q=h,z=y;var Ce=x.len(),ge=x.data;g===m.C&&(Q+=h-ge[Ce-4],z+=y-ge[Ce-3]),R=m.C,ie=F[N++],fe=F[N++],h=F[N++],y=F[N++],x.addData(R,Q,z,ie,fe,h,y);break;case"s":Q=h,z=y;var Ce=x.len(),ge=x.data;g===m.C&&(Q+=h-ge[Ce-4],z+=y-ge[Ce-3]),R=m.C,ie=h+F[N++],fe=y+F[N++],h+=F[N++],y+=F[N++],x.addData(R,Q,z,ie,fe,h,y);break;case"Q":ie=F[N++],fe=F[N++],h=F[N++],y=F[N++],R=m.Q,x.addData(R,ie,fe,h,y);break;case"q":ie=F[N++]+h,fe=F[N++]+y,h+=F[N++],y+=F[N++],R=m.Q,x.addData(R,ie,fe,h,y);break;case"T":Q=h,z=y;var Ce=x.len(),ge=x.data;g===m.Q&&(Q+=h-ge[Ce-4],z+=y-ge[Ce-3]),h=F[N++],y=F[N++],R=m.Q,x.addData(R,Q,z,h,y);break;case"t":Q=h,z=y;var Ce=x.len(),ge=x.data;g===m.Q&&(Q+=h-ge[Ce-4],z+=y-ge[Ce-3]),h+=F[N++],y+=F[N++],R=m.Q,x.addData(R,Q,z,h,y);break;case"A":_=F[N++],J=F[N++],Y=F[N++],k=F[N++],W=F[N++],ie=h,fe=y,h=F[N++],y=F[N++],R=m.A,s(ie,fe,h,y,k,W,_,J,Y,R,x);break;case"a":_=F[N++],J=F[N++],Y=F[N++],k=F[N++],W=F[N++],ie=h,fe=y,h+=F[N++],y+=F[N++],R=m.A,s(ie,fe,h,y,k,W,_,J,Y,R,x);break}}(M==="z"||M==="Z")&&(R=m.Z,x.addData(R),h=A,y=v),g=R}return x.toStatic(),x}function n(d,h){var y=u(d);return h=h||{},h.buildPath=function(A){if(A.setData){A.setData(y.data);var v=A.getContext();v&&A.rebuildPath(v)}else{var v=A;y.rebuildPath(v)}},h.applyTransform=function(A){w(y,A),this.dirty(!0)},h}function l(d,h){return new B(n(d,h))}function a(d,h){return B.extend(n(d,h))}function c(d,h){for(var y=[],A=d.length,v=0;v<A;v++){var g=d[v];g.path||g.createPathProxy(),g.__dirtyPath&&g.buildPath(g.path,g.shape,!0),y.push(g.path)}var x=new B(h);return x.createPathProxy(),x.buildPath=function(m){m.appendPath(y);var b=m.getContext();b&&m.rebuildPath(b)},x}V.createFromString=l,V.extendFromString=a,V.mergePath=c},NH9N:function(oe,V,e){var B=e("bYtY"),T=e("mFDi"),w=e("Fofx"),D=e("IwbS"),I=e("+TT/"),E=e("kzvK"),C=e("CMP+"),f=e("oVpE"),t=f.createSymbol,i=e("aX7z"),s=e("OELB"),o=e("7aKB"),r=o.encodeHTML,u=B.bind,n=B.each,l=Math.PI,a=E.extend({type:"timeline.slider",init:function(A,v){this.api=v,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(A,v,g,x){if(this.model=A,this.api=g,this.ecModel=v,this.group.removeAll(),A.get("show",!0)){var m=this._layout(A,g),b=this._createGroup("mainGroup"),S=this._createGroup("labelGroup"),P=this._axis=this._createAxis(m,A);A.formatTooltip=function(M){return r(P.scale.getLabel(M))},n(["AxisLine","AxisTick","Control","CurrentPointer"],function(M){this["_render"+M](m,b,P,A)},this),this._renderAxisLabel(m,S,P,A),this._position(m,A)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(A,v){var g=A.get("label.position"),x=A.get("orient"),m=c(A,v);g==null||g==="auto"?g=x==="horizontal"?m.y+m.height/2<v.getHeight()/2?"-":"+":m.x+m.width/2<v.getWidth()/2?"+":"-":isNaN(g)&&(g={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[x][g]);var b={horizontal:"center",vertical:g>=0||g==="+"?"left":"right"},S={horizontal:g>=0||g==="+"?"top":"bottom",vertical:"middle"},P={horizontal:0,vertical:l/2},M=x==="vertical"?m.height:m.width,R=A.getModel("controlStyle"),F=R.get("show",!0),L=F?R.get("itemSize"):0,U=F?R.get("itemGap"):0,N=L+U,Q=A.get("label.rotate")||0;Q=Q*l/180;var z,_,J,Y,k=R.get("position",!0),W=F&&R.get("showPlayBtn",!0),ie=F&&R.get("showPrevBtn",!0),fe=F&&R.get("showNextBtn",!0),Ce=0,ge=M;return k==="left"||k==="bottom"?(W&&(z=[0,0],Ce+=N),ie&&(_=[Ce,0],Ce+=N),fe&&(J=[ge-L,0],ge-=N)):(W&&(z=[ge-L,0],ge-=N),ie&&(_=[0,0],Ce+=N),fe&&(J=[ge-L,0],ge-=N)),Y=[Ce,ge],A.get("inverse")&&Y.reverse(),{viewRect:m,mainLength:M,orient:x,rotation:P[x],labelRotation:Q,labelPosOpt:g,labelAlign:A.get("label.align")||b[x],labelBaseline:A.get("label.verticalAlign")||A.get("label.baseline")||S[x],playPosition:z,prevBtnPosition:_,nextBtnPosition:J,axisExtent:Y,controlSize:L,controlGap:U}},_position:function(A,v){var g=this._mainGroup,x=this._labelGroup,m=A.viewRect;if(A.orient==="vertical"){var b=w.create(),S=m.x,P=m.y+m.height;w.translate(b,b,[-S,-P]),w.rotate(b,b,-l/2),w.translate(b,b,[S,P]),m=m.clone(),m.applyTransform(b)}var M=_(m),R=_(g.getBoundingRect()),F=_(x.getBoundingRect()),L=g.position,U=x.position;U[0]=L[0]=M[0][0];var N=A.labelPosOpt;if(isNaN(N)){var Q=N==="+"?0:1;J(L,R,M,1,Q),J(U,F,M,1,1-Q)}else{var Q=N>=0?0:1;J(L,R,M,1,Q),U[1]=L[1]+N}g.attr("position",L),x.attr("position",U),g.rotation=x.rotation=A.rotation,z(g),z(x);function z(Y){var k=Y.position;Y.origin=[M[0][0]-k[0],M[1][0]-k[1]]}function _(Y){return[[Y.x,Y.x+Y.width],[Y.y,Y.y+Y.height]]}function J(Y,k,W,ie,fe){Y[ie]+=W[ie][fe]-k[ie][fe]}},_createAxis:function(A,v){var g=v.getData(),x=v.get("axisType"),m=i.createScaleByModel(v,x);m.getTicks=function(){return g.mapArray(["value"],function(P){return P})};var b=g.getDataExtent("value");m.setExtent(b[0],b[1]),m.niceTicks();var S=new C("value",m,A.axisExtent,x);return S.model=v,S},_createGroup:function(A){var v=this["_"+A]=new D.Group;return this.group.add(v),v},_renderAxisLine:function(A,v,g,x){var m=g.getExtent();!x.get("lineStyle.show")||v.add(new D.Line({shape:{x1:m[0],y1:0,x2:m[1],y2:0},style:B.extend({lineCap:"round"},x.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(A,v,g,x){var m=x.getData(),b=g.scale.getTicks();n(b,function(S){var P=g.dataToCoord(S),M=m.getItemModel(S),R=M.getModel("itemStyle"),F=M.getModel("emphasis.itemStyle"),L={position:[P,0],onclick:u(this._changeTimeline,this,S)},U=h(M,R,v,L);D.setHoverStyle(U,F.getItemStyle()),M.get("tooltip")?(U.dataIndex=S,U.dataModel=x):U.dataIndex=U.dataModel=null},this)},_renderAxisLabel:function(A,v,g,x){var m=g.getLabelModel();if(!!m.get("show")){var b=x.getData(),S=g.getViewLabels();n(S,function(P){var M=P.tickValue,R=b.getItemModel(M),F=R.getModel("label"),L=R.getModel("emphasis.label"),U=g.dataToCoord(P.tickValue),N=new D.Text({position:[U,0],rotation:A.labelRotation-A.rotation,onclick:u(this._changeTimeline,this,M),silent:!1});D.setTextStyle(N.style,F,{text:P.formattedLabel,textAlign:A.labelAlign,textVerticalAlign:A.labelBaseline}),v.add(N),D.setHoverStyle(N,D.setTextStyle({},L))},this)}},_renderControl:function(A,v,g,x){var m=A.controlSize,b=A.rotation,S=x.getModel("controlStyle").getItemStyle(),P=x.getModel("emphasis.controlStyle").getItemStyle(),M=[0,-m/2,m,m],R=x.getPlayState(),F=x.get("inverse",!0);L(A.nextBtnPosition,"controlStyle.nextIcon",u(this._changeTimeline,this,F?"-":"+")),L(A.prevBtnPosition,"controlStyle.prevIcon",u(this._changeTimeline,this,F?"+":"-")),L(A.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),u(this._handlePlayClick,this,!R),!0);function L(U,N,Q,z){if(!!U){var _={position:U,origin:[m/2,0],rotation:z?-b:0,rectHover:!0,style:S,onclick:Q},J=d(x,N,M,_);v.add(J),D.setHoverStyle(J,P)}}},_renderCurrentPointer:function(A,v,g,x){var m=x.getData(),b=x.getCurrentIndex(),S=m.getItemModel(b).getModel("checkpointStyle"),P=this,M={onCreate:function(R){R.draggable=!0,R.drift=u(P._handlePointerDrag,P),R.ondragend=u(P._handlePointerDragend,P),y(R,b,g,x,!0)},onUpdate:function(R){y(R,b,g,x)}};this._currentPointer=h(S,S,this._mainGroup,{},this._currentPointer,M)},_handlePlayClick:function(A){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:A,from:this.uid})},_handlePointerDrag:function(A,v,g){this._clearTimer(),this._pointerChangeTimeline([g.offsetX,g.offsetY])},_handlePointerDragend:function(A){this._pointerChangeTimeline([A.offsetX,A.offsetY],!0)},_pointerChangeTimeline:function(A,v){var g=this._toAxisCoord(A)[0],x=this._axis,m=s.asc(x.getExtent().slice());g>m[1]&&(g=m[1]),g<m[0]&&(g=m[0]),this._currentPointer.position[0]=g,this._currentPointer.dirty();var b=this._findNearestTick(g),S=this.model;(v||b!==S.getCurrentIndex()&&S.get("realtime"))&&this._changeTimeline(b)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(u(A,this),this.model.get("playInterval")));function A(){var v=this.model;this._changeTimeline(v.getCurrentIndex()+(v.get("rewind",!0)?-1:1))}},_toAxisCoord:function(A){var v=this._mainGroup.getLocalTransform();return D.applyTransform(A,v,!0)},_findNearestTick:function(A){var v=this.model.getData(),g=Infinity,x,m=this._axis;return v.each(["value"],function(b,S){var P=m.dataToCoord(b),M=Math.abs(P-A);M<g&&(g=M,x=S)}),x},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(A){var v=this.model.getCurrentIndex();A==="+"?A=v+1:A==="-"&&(A=v-1),this.api.dispatchAction({type:"timelineChange",currentIndex:A,from:this.uid})}});function c(A,v){return I.getLayoutRect(A.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()},A.get("padding"))}function d(A,v,g,x){var m=x.style,b=D.createIcon(A.get(v),x||{},new T(g[0],g[1],g[2],g[3]));return m&&b.setStyle(m),b}function h(A,v,g,x,m,b){var S=v.get("color");if(m)m.setColor(S),g.add(m),b&&b.onUpdate(m);else{var P=A.get("symbol");m=t(P,-1,-1,2,2,S),m.setStyle("strokeNoScale",!0),g.add(m),b&&b.onCreate(m)}var M=v.getItemStyle(["color","symbol","symbolSize"]);m.setStyle(M),x=B.merge({rectHover:!0,z2:100},x,!0);var R=A.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,x.scale=R;var F=A.get("symbolOffset");if(F){var L=x.position=x.position||[0,0];L[0]+=s.parsePercent(F[0],R[0]),L[1]+=s.parsePercent(F[1],R[1])}var U=A.get("symbolRotate");return x.rotation=(U||0)*Math.PI/180||0,m.attr(x),m.updateTransform(),m}function y(A,v,g,x,m){if(!A.dragging){var b=x.getModel("checkpointStyle"),S=g.dataToCoord(x.getData().get(["value"],v));m||!b.get("animation",!0)?A.attr({position:[S,0]}):(A.stopAnimation(!0),A.animateTo({position:[S,0]},b.get("animationDuration",!0),b.get("animationEasing",!0)))}}oe.exports=a},NJEC:function(oe,V,e){"use strict";var B=e("wx14"),T=e("ODXe"),w=e("IMoZ"),D=e("TSYQ"),I=e.n(D),E=e("6cGi"),C=e("4IlW"),f=e("q1tI"),t=e("H84U"),i=e("diRs"),s=e("0n0R"),o=e("2/Rp"),r=e("zvFY"),u=e("lkze"),n=e("YMnH"),l=e("ZvpZ"),a=e("bogI"),c=function(g){var x=g.prefixCls,m=g.okButtonProps,b=g.cancelButtonProps,S=g.title,P=g.cancelText,M=g.okText,R=g.okType,F=g.icon,L=g.showCancel,U=L===void 0?!0:L,N=g.close,Q=g.onConfirm,z=g.onCancel,_=f.useContext(t.b),J=_.getPrefixCls;return f.createElement(n.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},function(Y){return f.createElement("div",{className:"".concat(x,"-inner-content")},f.createElement("div",{className:"".concat(x,"-message")},F&&f.createElement("span",{className:"".concat(x,"-message-icon")},F),f.createElement("div",{className:"".concat(x,"-message-title")},Object(a.a)(S))),f.createElement("div",{className:"".concat(x,"-buttons")},U&&f.createElement(o.a,Object(B.a)({onClick:z,size:"small"},b),P!=null?P:Y.cancelText),f.createElement(u.a,{buttonProps:Object(B.a)(Object(B.a)({size:"small"},Object(r.a)(R)),m),actionFn:Q,close:N,prefixCls:J("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},M!=null?M:Y.okText)))})},d=void 0,h=function(v,g){var x={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.indexOf(m)<0&&(x[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,m=Object.getOwnPropertySymbols(v);b<m.length;b++)g.indexOf(m[b])<0&&Object.prototype.propertyIsEnumerable.call(v,m[b])&&(x[m[b]]=v[m[b]]);return x},y=f.forwardRef(function(v,g){var x=f.useContext(t.b),m=x.getPrefixCls,b=Object(E.a)(!1,{value:v.open!==void 0?v.open:v.visible,defaultValue:v.defaultOpen!==void 0?v.defaultOpen:v.defaultVisible}),S=Object(T.a)(b,2),P=S[0],M=S[1],R=function(Re,nt){var Ve,Ge;M(Re,!0),(Ve=v.onVisibleChange)===null||Ve===void 0||Ve.call(v,Re,nt),(Ge=v.onOpenChange)===null||Ge===void 0||Ge.call(v,Re,nt)},F=function(Re){R(!1,Re)},L=function(Re){var nt;return(nt=v.onConfirm)===null||nt===void 0?void 0:nt.call(d,Re)},U=function(Re){var nt;R(!1,Re),(nt=v.onCancel)===null||nt===void 0||nt.call(d,Re)},N=function(Re){Re.keyCode===C.a.ESC&&P&&R(!1,Re)},Q=function(Re){var nt=v.disabled,Ve=nt===void 0?!1:nt;Ve||R(Re)},z=v.prefixCls,_=v.placement,J=_===void 0?"top":_,Y=v.trigger,k=Y===void 0?"click":Y,W=v.okType,ie=W===void 0?"primary":W,fe=v.icon,Ce=fe===void 0?f.createElement(w.a,null):fe,ge=v.children,de=v.overlayClassName,Pe=h(v,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),_e=m("popover",z),Ne=m("popconfirm",z),He=I()(Ne,de);return f.createElement(i.a,Object(B.a)({},Pe,{trigger:k,prefixCls:_e,placement:J,onOpenChange:Q,open:P,ref:g,overlayClassName:He,_overlay:f.createElement(c,Object(B.a)({okType:ie,icon:Ce},v,{prefixCls:_e,close:F,onConfirm:L,onCancel:U}))}),Object(s.a)(ge,{onKeyDown:function(Re){var nt,Ve;f.isValidElement(ge)&&((Ve=ge==null?void 0:(nt=ge.props).onKeyDown)===null||Ve===void 0||Ve.call(nt,Re)),N(Re)}}))}),A=V.a=y},NUBc:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("VTBJ"),D=e("q1tI"),I=e.n(D),E={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"},C=E,f=e("6VBw"),t=function(fe,Ce){return D.createElement(f.a,Object(w.a)(Object(w.a)({},fe),{},{ref:Ce,icon:C}))};t.displayName="DoubleLeftOutlined";var i=D.forwardRef(t),s=e("zs7G"),o=e("5bA4"),r=e("UESt"),u=e("TSYQ"),n=e.n(u),l=e("1OyB"),a=e("vuIU"),c=e("Ji7U"),d=e("LK+K"),h=function(fe){var Ce,ge="".concat(fe.rootPrefixCls,"-item"),de=n()(ge,"".concat(ge,"-").concat(fe.page),(Ce={},Object(B.a)(Ce,"".concat(ge,"-active"),fe.active),Object(B.a)(Ce,"".concat(ge,"-disabled"),!fe.page),Object(B.a)(Ce,fe.className,!!fe.className),Ce)),Pe=function(){fe.onClick(fe.page)},_e=function(He){fe.onKeyPress(He,fe.onClick,fe.page)};return I.a.createElement("li",{title:fe.showTitle?fe.page:null,className:de,onClick:Pe,onKeyPress:_e,tabIndex:"0"},fe.itemRender(fe.page,"page",I.a.createElement("a",{rel:"nofollow"},fe.page)))},y=h,A={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},v=function(ie){Object(c.a)(Ce,ie);var fe=Object(d.a)(Ce);function Ce(){var ge;Object(l.a)(this,Ce);for(var de=arguments.length,Pe=new Array(de),_e=0;_e<de;_e++)Pe[_e]=arguments[_e];return ge=fe.call.apply(fe,[this].concat(Pe)),ge.state={goInputText:""},ge.buildOptionText=function(Ne){return"".concat(Ne," ").concat(ge.props.locale.items_per_page)},ge.changeSize=function(Ne){ge.props.changeSize(Number(Ne))},ge.handleChange=function(Ne){ge.setState({goInputText:Ne.target.value})},ge.handleBlur=function(Ne){var He=ge.props,ue=He.goButton,Re=He.quickGo,nt=He.rootPrefixCls,Ve=ge.state.goInputText;ue||Ve===""||(ge.setState({goInputText:""}),!(Ne.relatedTarget&&(Ne.relatedTarget.className.indexOf("".concat(nt,"-item-link"))>=0||Ne.relatedTarget.className.indexOf("".concat(nt,"-item"))>=0))&&Re(ge.getValidValue()))},ge.go=function(Ne){var He=ge.state.goInputText;He!==""&&(Ne.keyCode===A.ENTER||Ne.type==="click")&&(ge.setState({goInputText:""}),ge.props.quickGo(ge.getValidValue()))},ge}return Object(a.a)(Ce,[{key:"getValidValue",value:function(){var de=this.state.goInputText;return!de||isNaN(de)?void 0:Number(de)}},{key:"getPageSizeOptions",value:function(){var de=this.props,Pe=de.pageSize,_e=de.pageSizeOptions;return _e.some(function(Ne){return Ne.toString()===Pe.toString()})?_e:_e.concat([Pe.toString()]).sort(function(Ne,He){var ue=isNaN(Number(Ne))?0:Number(Ne),Re=isNaN(Number(He))?0:Number(He);return ue-Re})}},{key:"render",value:function(){var de=this,Pe=this.props,_e=Pe.pageSize,Ne=Pe.locale,He=Pe.rootPrefixCls,ue=Pe.changeSize,Re=Pe.quickGo,nt=Pe.goButton,Ve=Pe.selectComponentClass,Ge=Pe.buildOptionText,dt=Pe.selectPrefixCls,et=Pe.disabled,At=this.state.goInputText,Dt="".concat(He,"-options"),Ft=Ve,St=null,$e=null,lt=null;if(!ue&&!Re)return null;var Ut=this.getPageSizeOptions();if(ue&&Ft){var gt=Ut.map(function(ft,rt){return I.a.createElement(Ft.Option,{key:rt,value:ft.toString()},(Ge||de.buildOptionText)(ft))});St=I.a.createElement(Ft,{disabled:et,prefixCls:dt,showSearch:!1,className:"".concat(Dt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(_e||Ut[0]).toString(),onChange:this.changeSize,getPopupContainer:function(rt){return rt.parentNode},"aria-label":Ne.page_size,defaultOpen:!1},gt)}return Re&&(nt&&(lt=typeof nt=="boolean"?I.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:et,className:"".concat(Dt,"-quick-jumper-button")},Ne.jump_to_confirm):I.a.createElement("span",{onClick:this.go,onKeyUp:this.go},nt)),$e=I.a.createElement("div",{className:"".concat(Dt,"-quick-jumper")},Ne.jump_to,I.a.createElement("input",{disabled:et,type:"text",value:At,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ne.page}),Ne.page,lt)),I.a.createElement("li",{className:"".concat(Dt)},St,$e)}}]),Ce}(I.a.Component);v.defaultProps={pageSizeOptions:["10","20","50","100"]};var g=v,x=e("N2Kk");function m(){}function b(ie){var fe=Number(ie);return typeof fe=="number"&&!isNaN(fe)&&isFinite(fe)&&Math.floor(fe)===fe}function S(ie,fe,Ce){return Ce}function P(ie,fe,Ce){var ge=typeof ie=="undefined"?fe.pageSize:ie;return Math.floor((Ce.total-1)/ge)+1}var M=function(ie){Object(c.a)(Ce,ie);var fe=Object(d.a)(Ce);function Ce(ge){var de;Object(l.a)(this,Ce),de=fe.call(this,ge),de.getJumpPrevPage=function(){return Math.max(1,de.state.current-(de.props.showLessItems?3:5))},de.getJumpNextPage=function(){return Math.min(P(void 0,de.state,de.props),de.state.current+(de.props.showLessItems?3:5))},de.getItemIcon=function(ue,Re){var nt=de.props.prefixCls,Ve=ue||I.a.createElement("button",{type:"button","aria-label":Re,className:"".concat(nt,"-item-link")});return typeof ue=="function"&&(Ve=I.a.createElement(ue,Object(w.a)({},de.props))),Ve},de.savePaginationNode=function(ue){de.paginationNode=ue},de.isValid=function(ue){var Re=de.props.total;return b(ue)&&ue!==de.state.current&&b(Re)&&Re>0},de.shouldDisplayQuickJumper=function(){var ue=de.props,Re=ue.showQuickJumper,nt=ue.total,Ve=de.state.pageSize;return nt<=Ve?!1:Re},de.handleKeyDown=function(ue){(ue.keyCode===A.ARROW_UP||ue.keyCode===A.ARROW_DOWN)&&ue.preventDefault()},de.handleKeyUp=function(ue){var Re=de.getValidValue(ue),nt=de.state.currentInputValue;Re!==nt&&de.setState({currentInputValue:Re}),ue.keyCode===A.ENTER?de.handleChange(Re):ue.keyCode===A.ARROW_UP?de.handleChange(Re-1):ue.keyCode===A.ARROW_DOWN&&de.handleChange(Re+1)},de.handleBlur=function(ue){var Re=de.getValidValue(ue);de.handleChange(Re)},de.changePageSize=function(ue){var Re=de.state.current,nt=P(ue,de.state,de.props);Re=Re>nt?nt:Re,nt===0&&(Re=de.state.current),typeof ue=="number"&&("pageSize"in de.props||de.setState({pageSize:ue}),"current"in de.props||de.setState({current:Re,currentInputValue:Re})),de.props.onShowSizeChange(Re,ue),"onChange"in de.props&&de.props.onChange&&de.props.onChange(Re,ue)},de.handleChange=function(ue){var Re=de.props,nt=Re.disabled,Ve=Re.onChange,Ge=de.state,dt=Ge.pageSize,et=Ge.current,At=Ge.currentInputValue;if(de.isValid(ue)&&!nt){var Dt=P(void 0,de.state,de.props),Ft=ue;return ue>Dt?Ft=Dt:ue<1&&(Ft=1),"current"in de.props||de.setState({current:Ft}),Ft!==At&&de.setState({currentInputValue:Ft}),Ve(Ft,dt),Ft}return et},de.prev=function(){de.hasPrev()&&de.handleChange(de.state.current-1)},de.next=function(){de.hasNext()&&de.handleChange(de.state.current+1)},de.jumpPrev=function(){de.handleChange(de.getJumpPrevPage())},de.jumpNext=function(){de.handleChange(de.getJumpNextPage())},de.hasPrev=function(){return de.state.current>1},de.hasNext=function(){return de.state.current<P(void 0,de.state,de.props)},de.runIfEnter=function(ue,Re){if(ue.key==="Enter"||ue.charCode===13){for(var nt=arguments.length,Ve=new Array(nt>2?nt-2:0),Ge=2;Ge<nt;Ge++)Ve[Ge-2]=arguments[Ge];Re.apply(void 0,Ve)}},de.runIfEnterPrev=function(ue){de.runIfEnter(ue,de.prev)},de.runIfEnterNext=function(ue){de.runIfEnter(ue,de.next)},de.runIfEnterJumpPrev=function(ue){de.runIfEnter(ue,de.jumpPrev)},de.runIfEnterJumpNext=function(ue){de.runIfEnter(ue,de.jumpNext)},de.handleGoTO=function(ue){(ue.keyCode===A.ENTER||ue.type==="click")&&de.handleChange(de.state.currentInputValue)};var Pe=ge.onChange!==m,_e="current"in ge;_e&&!Pe&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ne=ge.defaultCurrent;"current"in ge&&(Ne=ge.current);var He=ge.defaultPageSize;return"pageSize"in ge&&(He=ge.pageSize),Ne=Math.min(Ne,P(He,void 0,ge)),de.state={current:Ne,currentInputValue:Ne,pageSize:He},de}return Object(a.a)(Ce,[{key:"componentDidUpdate",value:function(de,Pe){var _e=this.props.prefixCls;if(Pe.current!==this.state.current&&this.paginationNode){var Ne=this.paginationNode.querySelector(".".concat(_e,"-item-").concat(Pe.current));Ne&&document.activeElement===Ne&&Ne.blur()}}},{key:"getValidValue",value:function(de){var Pe=de.target.value,_e=P(void 0,this.state,this.props),Ne=this.state.currentInputValue,He;return Pe===""?He=Pe:isNaN(Number(Pe))?He=Ne:Pe>=_e?He=_e:He=Number(Pe),He}},{key:"getShowSizeChanger",value:function(){var de=this.props,Pe=de.showSizeChanger,_e=de.total,Ne=de.totalBoundaryShowSizeChanger;return typeof Pe!="undefined"?Pe:_e>Ne}},{key:"renderPrev",value:function(de){var Pe=this.props,_e=Pe.prevIcon,Ne=Pe.itemRender,He=Ne(de,"prev",this.getItemIcon(_e,"prev page")),ue=!this.hasPrev();return Object(D.isValidElement)(He)?Object(D.cloneElement)(He,{disabled:ue}):He}},{key:"renderNext",value:function(de){var Pe=this.props,_e=Pe.nextIcon,Ne=Pe.itemRender,He=Ne(de,"next",this.getItemIcon(_e,"next page")),ue=!this.hasNext();return Object(D.isValidElement)(He)?Object(D.cloneElement)(He,{disabled:ue}):He}},{key:"render",value:function(){var de=this,Pe=this.props,_e=Pe.prefixCls,Ne=Pe.className,He=Pe.style,ue=Pe.disabled,Re=Pe.hideOnSinglePage,nt=Pe.total,Ve=Pe.locale,Ge=Pe.showQuickJumper,dt=Pe.showLessItems,et=Pe.showTitle,At=Pe.showTotal,Dt=Pe.simple,Ft=Pe.itemRender,St=Pe.showPrevNextJumpers,$e=Pe.jumpPrevIcon,lt=Pe.jumpNextIcon,Ut=Pe.selectComponentClass,gt=Pe.selectPrefixCls,ft=Pe.pageSizeOptions,rt=this.state,Ie=rt.current,Ot=rt.pageSize,Xt=rt.currentInputValue;if(Re===!0&&nt<=Ot)return null;var Vt=P(void 0,this.state,this.props),bt=[],It=null,Kt=null,Se=null,Ye=null,q=null,Ae=Ge&&Ge.goButton,Me=dt?1:2,De=Ie-1>0?Ie-1:0,ze=Ie+1<Vt?Ie+1:Vt,pe=Object.keys(this.props).reduce(function(Te,je){return(je.substr(0,5)==="data-"||je.substr(0,5)==="aria-"||je==="role")&&(Te[je]=de.props[je]),Te},{});if(Dt)return Ae&&(typeof Ae=="boolean"?q=I.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ve.jump_to_confirm):q=I.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ae),q=I.a.createElement("li",{title:et?"".concat(Ve.jump_to).concat(Ie,"/").concat(Vt):null,className:"".concat(_e,"-simple-pager")},q)),I.a.createElement("ul",Object(T.a)({className:n()(_e,"".concat(_e,"-simple"),Object(B.a)({},"".concat(_e,"-disabled"),ue),Ne),style:He,ref:this.savePaginationNode},pe),I.a.createElement("li",{title:et?Ve.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:n()("".concat(_e,"-prev"),Object(B.a)({},"".concat(_e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(De)),I.a.createElement("li",{title:et?"".concat(Ie,"/").concat(Vt):null,className:"".concat(_e,"-simple-pager")},I.a.createElement("input",{type:"text",value:Xt,disabled:ue,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),I.a.createElement("span",{className:"".concat(_e,"-slash")},"/"),Vt),I.a.createElement("li",{title:et?Ve.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:n()("".concat(_e,"-next"),Object(B.a)({},"".concat(_e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ze)),q);if(Vt<=3+Me*2){var te={locale:Ve,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:et,itemRender:Ft};Vt||bt.push(I.a.createElement(y,Object(T.a)({},te,{key:"noPager",page:1,className:"".concat(_e,"-item-disabled")})));for(var be=1;be<=Vt;be+=1){var xe=Ie===be;bt.push(I.a.createElement(y,Object(T.a)({},te,{key:be,page:be,active:xe})))}}else{var Z=dt?Ve.prev_3:Ve.prev_5,se=dt?Ve.next_3:Ve.next_5;St&&(It=I.a.createElement("li",{title:et?Z:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:n()("".concat(_e,"-jump-prev"),Object(B.a)({},"".concat(_e,"-jump-prev-custom-icon"),!!$e))},Ft(this.getJumpPrevPage(),"jump-prev",this.getItemIcon($e,"prev page"))),Kt=I.a.createElement("li",{title:et?se:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:n()("".concat(_e,"-jump-next"),Object(B.a)({},"".concat(_e,"-jump-next-custom-icon"),!!lt))},Ft(this.getJumpNextPage(),"jump-next",this.getItemIcon(lt,"next page")))),Ye=I.a.createElement(y,{locale:Ve,last:!0,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Vt,page:Vt,active:!1,showTitle:et,itemRender:Ft}),Se=I.a.createElement(y,{locale:Ve,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:et,itemRender:Ft});var he=Math.max(1,Ie-Me),Oe=Math.min(Ie+Me,Vt);Ie-1<=Me&&(Oe=1+Me*2),Vt-Ie<=Me&&(he=Vt-Me*2);for(var ne=he;ne<=Oe;ne+=1){var ce=Ie===ne;bt.push(I.a.createElement(y,{locale:Ve,rootPrefixCls:_e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ne,page:ne,active:ce,showTitle:et,itemRender:Ft}))}Ie-1>=Me*2&&Ie!==1+2&&(bt[0]=Object(D.cloneElement)(bt[0],{className:"".concat(_e,"-item-after-jump-prev")}),bt.unshift(It)),Vt-Ie>=Me*2&&Ie!==Vt-2&&(bt[bt.length-1]=Object(D.cloneElement)(bt[bt.length-1],{className:"".concat(_e,"-item-before-jump-next")}),bt.push(Kt)),he!==1&&bt.unshift(Se),Oe!==Vt&&bt.push(Ye)}var ae=null;At&&(ae=I.a.createElement("li",{className:"".concat(_e,"-total-text")},At(nt,[nt===0?0:(Ie-1)*Ot+1,Ie*Ot>nt?nt:Ie*Ot])));var Ee=!this.hasPrev()||!Vt,ye=!this.hasNext()||!Vt;return I.a.createElement("ul",Object(T.a)({className:n()(_e,Ne,Object(B.a)({},"".concat(_e,"-disabled"),ue)),style:He,unselectable:"unselectable",ref:this.savePaginationNode},pe),ae,I.a.createElement("li",{title:et?Ve.prev_page:null,onClick:this.prev,tabIndex:Ee?null:0,onKeyPress:this.runIfEnterPrev,className:n()("".concat(_e,"-prev"),Object(B.a)({},"".concat(_e,"-disabled"),Ee)),"aria-disabled":Ee},this.renderPrev(De)),bt,I.a.createElement("li",{title:et?Ve.next_page:null,onClick:this.next,tabIndex:ye?null:0,onKeyPress:this.runIfEnterNext,className:n()("".concat(_e,"-next"),Object(B.a)({},"".concat(_e,"-disabled"),ye)),"aria-disabled":ye},this.renderNext(ze)),I.a.createElement(g,{disabled:ue,locale:Ve,rootPrefixCls:_e,selectComponentClass:Ut,selectPrefixCls:gt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ie,pageSize:Ot,pageSizeOptions:ft,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ae}))}}],[{key:"getDerivedStateFromProps",value:function(de,Pe){var _e={};if("current"in de&&(_e.current=de.current,de.current!==Pe.current&&(_e.currentInputValue=_e.current)),"pageSize"in de&&de.pageSize!==Pe.pageSize){var Ne=Pe.current,He=P(de.pageSize,Pe,de);Ne=Ne>He?He:Ne,"current"in de||(_e.current=Ne,_e.currentInputValue=Ne),_e.pageSize=de.pageSize}return _e}}]),Ce}(I.a.Component);M.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:m,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:m,locale:x.a,style:{},itemRender:S,totalBoundaryShowSizeChanger:50};var R=M,F=e("H4fg"),L=e("H84U"),U=e("5OYt"),N=e("YMnH"),Q=e("2fM7"),z=function(fe){return D.createElement(Q.a,Object(T.a)({},fe,{size:"small"}))},_=function(fe){return D.createElement(Q.a,Object(T.a)({},fe,{size:"middle"}))};z.Option=Q.a.Option,_.Option=Q.a.Option;var J=function(ie,fe){var Ce={};for(var ge in ie)Object.prototype.hasOwnProperty.call(ie,ge)&&fe.indexOf(ge)<0&&(Ce[ge]=ie[ge]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ge=Object.getOwnPropertySymbols(ie);de<ge.length;de++)fe.indexOf(ge[de])<0&&Object.prototype.propertyIsEnumerable.call(ie,ge[de])&&(Ce[ge[de]]=ie[ge[de]]);return Ce},Y=function(fe){var Ce=fe.prefixCls,ge=fe.selectPrefixCls,de=fe.className,Pe=fe.size,_e=fe.locale,Ne=fe.selectComponentClass,He=fe.responsive,ue=fe.showSizeChanger,Re=J(fe,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),nt=Object(U.a)(He),Ve=nt.xs,Ge=D.useContext(L.b),dt=Ge.getPrefixCls,et=Ge.direction,At=Ge.pagination,Dt=At===void 0?{}:At,Ft=dt("pagination",Ce),St=ue!=null?ue:Dt.showSizeChanger,$e=function(){var Ut=D.createElement("span",{className:"".concat(Ft,"-item-ellipsis")},"\u2022\u2022\u2022"),gt=D.createElement("button",{className:"".concat(Ft,"-item-link"),type:"button",tabIndex:-1},D.createElement(o.a,null)),ft=D.createElement("button",{className:"".concat(Ft,"-item-link"),type:"button",tabIndex:-1},D.createElement(r.a,null)),rt=D.createElement("a",{className:"".concat(Ft,"-item-link")},D.createElement("div",{className:"".concat(Ft,"-item-container")},D.createElement(i,{className:"".concat(Ft,"-item-link-icon")}),Ut)),Ie=D.createElement("a",{className:"".concat(Ft,"-item-link")},D.createElement("div",{className:"".concat(Ft,"-item-container")},D.createElement(s.a,{className:"".concat(Ft,"-item-link-icon")}),Ut));if(et==="rtl"){var Ot=[ft,gt];gt=Ot[0],ft=Ot[1];var Xt=[Ie,rt];rt=Xt[0],Ie=Xt[1]}return{prevIcon:gt,nextIcon:ft,jumpPrevIcon:rt,jumpNextIcon:Ie}};return D.createElement(N.a,{componentName:"Pagination",defaultLocale:F.a},function(lt){var Ut,gt=Object(T.a)(Object(T.a)({},lt),_e),ft=Pe==="small"||!!(Ve&&!Pe&&He),rt=dt("select",ge),Ie=n()((Ut={},Object(B.a)(Ut,"".concat(Ft,"-mini"),ft),Object(B.a)(Ut,"".concat(Ft,"-rtl"),et==="rtl"),Ut),de);return D.createElement(R,Object(T.a)({},$e(),Re,{prefixCls:Ft,selectPrefixCls:rt,className:Ie,selectComponentClass:Ne||(ft?z:_),locale:gt,showSizeChanger:St}))})},k=Y,W=V.a=k},NohK:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B=function(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,I=null;return function(){for(var E=this,C=arguments.length,f=new Array(C),t=0;t<C;t++)f[t]=arguments[t];clearTimeout(I),I=setTimeout(function(){w.apply(E,f)},D)}};V.default=B},NvD2:function(oe,V,e){"use strict";e.d(V,"a",function(){return E});var B=e("Kwbf");function T(C,f){var t=new Set;return C.forEach(function(i){f.has(i)||t.add(i)}),t}function w(C){var f=C||{},t=f.disabled,i=f.disableCheckbox,s=f.checkable;return!!(t||i)||s===!1}function D(C,f,t,i){for(var s=new Set(C),o=new Set,r=0;r<=t;r+=1){var u=f.get(r)||new Set;u.forEach(function(c){var d=c.key,h=c.node,y=c.children,A=y===void 0?[]:y;s.has(d)&&!i(h)&&A.filter(function(v){return!i(v.node)}).forEach(function(v){s.add(v.key)})})}for(var n=new Set,l=t;l>=0;l-=1){var a=f.get(l)||new Set;a.forEach(function(c){var d=c.parent,h=c.node;if(!(i(h)||!c.parent||n.has(c.parent.key))){if(i(c.parent.node)){n.add(d.key);return}var y=!0,A=!1;(d.children||[]).filter(function(v){return!i(v.node)}).forEach(function(v){var g=v.key,x=s.has(g);y&&!x&&(y=!1),!A&&(x||o.has(g))&&(A=!0)}),y&&s.add(d.key),A&&o.add(d.key),n.add(d.key)}})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(T(o,s))}}function I(C,f,t,i,s){for(var o=new Set(C),r=new Set(f),u=0;u<=i;u+=1){var n=t.get(u)||new Set;n.forEach(function(d){var h=d.key,y=d.node,A=d.children,v=A===void 0?[]:A;!o.has(h)&&!r.has(h)&&!s(y)&&v.filter(function(g){return!s(g.node)}).forEach(function(g){o.delete(g.key)})})}r=new Set;for(var l=new Set,a=i;a>=0;a-=1){var c=t.get(a)||new Set;c.forEach(function(d){var h=d.parent,y=d.node;if(!(s(y)||!d.parent||l.has(d.parent.key))){if(s(d.parent.node)){l.add(h.key);return}var A=!0,v=!1;(h.children||[]).filter(function(g){return!s(g.node)}).forEach(function(g){var x=g.key,m=o.has(x);A&&!m&&(A=!1),!v&&(m||r.has(x))&&(v=!0)}),A||o.delete(h.key),v&&r.add(h.key),l.add(h.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(T(r,o))}}function E(C,f,t,i){var s=[],o;i?o=i:o=w;var r=new Set(C.filter(function(a){var c=!!t[a];return c||s.push(a),c})),u=new Map,n=0;Object.keys(t).forEach(function(a){var c=t[a],d=c.level,h=u.get(d);h||(h=new Set,u.set(d,h)),h.add(c),n=Math.max(n,d)}),Object(B.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(a){return"'".concat(a,"'")}).join(", ")));var l;return f===!0?l=D(r,u,n,o):l=I(r,f.halfCheckedKeys,u,n,o),l}},"O/iA":function(oe,V,e){},O3gP:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("O/iA"),D=e.n(w),I=e("OaEy")},OELB:function(oe,V,e){var B=e("bYtY"),T=1e-4;function w(v){return v.replace(/^\s+|\s+$/g,"")}function D(v,g,x,m){var b=g[1]-g[0],S=x[1]-x[0];if(b===0)return S===0?x[0]:(x[0]+x[1])/2;if(m)if(b>0){if(v<=g[0])return x[0];if(v>=g[1])return x[1]}else{if(v>=g[0])return x[0];if(v<=g[1])return x[1]}else{if(v===g[0])return x[0];if(v===g[1])return x[1]}return(v-g[0])/b*S+x[0]}function I(v,g){switch(v){case"center":case"middle":v="50%";break;case"left":case"top":v="0%";break;case"right":case"bottom":v="100%";break}return typeof v=="string"?w(v).match(/%$/)?parseFloat(v)/100*g:parseFloat(v):v==null?NaN:+v}function E(v,g,x){return g==null&&(g=10),g=Math.min(Math.max(0,g),20),v=(+v).toFixed(g),x?v:+v}function C(v){return v.sort(function(g,x){return g-x}),v}function f(v){if(v=+v,isNaN(v))return 0;for(var g=1,x=0;Math.round(v*g)/g!==v;)g*=10,x++;return x}function t(v){var g=v.toString(),x=g.indexOf("e");if(x>0){var m=+g.slice(x+1);return m<0?-m:0}else{var b=g.indexOf(".");return b<0?0:g.length-1-b}}function i(v,g){var x=Math.log,m=Math.LN10,b=Math.floor(x(v[1]-v[0])/m),S=Math.round(x(Math.abs(g[1]-g[0]))/m),P=Math.min(Math.max(-b+S,0),20);return isFinite(P)?P:20}function s(v,g,x){if(!v[g])return 0;var m=B.reduce(v,function(z,_){return z+(isNaN(_)?0:_)},0);if(m===0)return 0;for(var b=Math.pow(10,x),S=B.map(v,function(z){return(isNaN(z)?0:z)/m*b*100}),P=b*100,M=B.map(S,function(z){return Math.floor(z)}),R=B.reduce(M,function(z,_){return z+_},0),F=B.map(S,function(z,_){return z-M[_]});R<P;){for(var L=Number.NEGATIVE_INFINITY,U=null,N=0,Q=F.length;N<Q;++N)F[N]>L&&(L=F[N],U=N);++M[U],F[U]=0,++R}return M[g]/b}var o=9007199254740991;function r(v){var g=Math.PI*2;return(v%g+g)%g}function u(v){return v>-T&&v<T}var n=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function l(v){if(v instanceof Date)return v;if(typeof v=="string"){var g=n.exec(v);if(!g)return new Date(NaN);if(g[8]){var x=+g[4]||0;return g[8].toUpperCase()!=="Z"&&(x-=g[8].slice(0,3)),new Date(Date.UTC(+g[1],+(g[2]||1)-1,+g[3]||1,x,+(g[5]||0),+g[6]||0,+g[7]||0))}else return new Date(+g[1],+(g[2]||1)-1,+g[3]||1,+g[4]||0,+(g[5]||0),+g[6]||0,+g[7]||0)}else if(v==null)return new Date(NaN);return new Date(Math.round(v))}function a(v){return Math.pow(10,c(v))}function c(v){if(v===0)return 0;var g=Math.floor(Math.log(v)/Math.LN10);return v/Math.pow(10,g)>=10&&g++,g}function d(v,g){var x=c(v),m=Math.pow(10,x),b=v/m,S;return g?b<1.5?S=1:b<2.5?S=2:b<4?S=3:b<7?S=5:S=10:b<1?S=1:b<2?S=2:b<3?S=3:b<5?S=5:S=10,v=S*m,x>=-20?+v.toFixed(x<0?-x:0):v}function h(v,g){var x=(v.length-1)*g+1,m=Math.floor(x),b=+v[m-1],S=x-m;return S?b+S*(v[m]-b):b}function y(v){v.sort(function(R,F){return M(R,F,0)?-1:1});for(var g=-Infinity,x=1,m=0;m<v.length;){for(var b=v[m].interval,S=v[m].close,P=0;P<2;P++)b[P]<=g&&(b[P]=g,S[P]=P?1:1-x),g=b[P],x=S[P];b[0]===b[1]&&S[0]*S[1]!=1?v.splice(m,1):m++}return v;function M(R,F,L){return R.interval[L]<F.interval[L]||R.interval[L]===F.interval[L]&&(R.close[L]-F.close[L]==(L?-1:1)||!L&&M(R,F,1))}}function A(v){return v-parseFloat(v)>=0}V.linearMap=D,V.parsePercent=I,V.round=E,V.asc=C,V.getPrecision=f,V.getPrecisionSafe=t,V.getPixelPrecision=i,V.getPercentWithPrecision=s,V.MAX_SAFE_INTEGER=o,V.remRadian=r,V.isRadianAroundZero=u,V.parseDate=l,V.quantity=a,V.quantityExponent=c,V.nice=d,V.quantile=h,V.reformIntervals=y,V.isNumeric=A},OKJ2:function(oe,V,e){var B=e("KxfA"),T=B.retrieveRawValue,w=e("7aKB"),D=w.getTooltipMarker,I=w.formatTpl,E=e("4NO4"),C=E.getTooltipRenderMode,f=/\{@(.+?)\}/g,t={getDataParams:function(i,s){var o=this.getData(s),r=this.getRawValue(i,s),u=o.getRawIndex(i),n=o.getName(i),l=o.getRawDataItem(i),a=o.getItemVisual(i,"color"),c=o.getItemVisual(i,"borderColor"),d=this.ecModel.getComponent("tooltip"),h=d&&d.get("renderMode"),y=C(h),A=this.mainType,v=A==="series",g=o.userOutput;return{componentType:A,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:v?this.subType:null,seriesIndex:this.seriesIndex,seriesId:v?this.id:null,seriesName:v?this.name:null,name:n,dataIndex:u,data:l,dataType:s,value:r,color:a,borderColor:c,dimensionNames:g?g.dimensionNames:null,encode:g?g.encode:null,marker:D({color:a,renderMode:y}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(i,s,o,r,u){s=s||"normal";var n=this.getData(o),l=n.getItemModel(i),a=this.getDataParams(i,o);r!=null&&a.value instanceof Array&&(a.value=a.value[r]);var c=l.get(s==="normal"?[u||"label","formatter"]:[s,u||"label","formatter"]);if(typeof c=="function")return a.status=s,a.dimensionIndex=r,c(a);if(typeof c=="string"){var d=I(c,a);return d.replace(f,function(h,y){var A=y.length;return y.charAt(0)==="["&&y.charAt(A-1)==="]"&&(y=+y.slice(1,A-1)),T(n,i,y)})}},getRawValue:function(i,s){return T(this.getData(s),i)},formatTooltip:function(){}};oe.exports=t},OQFs:function(oe,V,e){var B=e("KCsZ"),T=B([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),w={getLineStyle:function(D){var I=T(this,D);return I.lineDash=this.getLineDash(I.lineWidth),I},getLineDash:function(D){D==null&&(D=1);var I=this.get("type"),E=Math.max(D,2),C=D*4;return I==="solid"||I==null?!1:I==="dashed"?[C,C]:[E,E]}};oe.exports=w},OS9S:function(oe,V,e){var B=e("bYtY"),T=B.inherits,w=e("Gev7"),D=e("mFDi");function I(f){w.call(this,f),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}I.prototype.incremental=!0,I.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},I.prototype.addDisplayable=function(f,t){t?this._temporaryDisplayables.push(f):this._displayables.push(f),this.dirty()},I.prototype.addDisplayables=function(f,t){t=t||!1;for(var i=0;i<f.length;i++)this.addDisplayable(f[i],t)},I.prototype.eachPendingDisplayable=function(f){for(var t=this._cursor;t<this._displayables.length;t++)f&&f(this._displayables[t]);for(var t=0;t<this._temporaryDisplayables.length;t++)f&&f(this._temporaryDisplayables[t])},I.prototype.update=function(){this.updateTransform();for(var f=this._cursor;f<this._displayables.length;f++){var t=this._displayables[f];t.parent=this,t.update(),t.parent=null}for(var f=0;f<this._temporaryDisplayables.length;f++){var t=this._temporaryDisplayables[f];t.parent=this,t.update(),t.parent=null}},I.prototype.brush=function(f,t){for(var i=this._cursor;i<this._displayables.length;i++){var s=this._displayables[i];s.beforeBrush&&s.beforeBrush(f),s.brush(f,i===this._cursor?null:this._displayables[i-1]),s.afterBrush&&s.afterBrush(f)}this._cursor=i;for(var i=0;i<this._temporaryDisplayables.length;i++){var s=this._temporaryDisplayables[i];s.beforeBrush&&s.beforeBrush(f),s.brush(f,i===0?null:this._temporaryDisplayables[i-1]),s.afterBrush&&s.afterBrush(f)}this._temporaryDisplayables=[],this.notClear=!0};var E=[];I.prototype.getBoundingRect=function(){if(!this._rect){for(var f=new D(Infinity,Infinity,-Infinity,-Infinity),t=0;t<this._displayables.length;t++){var i=this._displayables[t],s=i.getBoundingRect().clone();i.needLocalTransform()&&s.applyTransform(i.getLocalTransform(E)),f.union(s)}this._rect=f}return this._rect},I.prototype.contain=function(f,t){var i=this.transformCoordToLocal(f,t),s=this.getBoundingRect();if(s.contain(i[0],i[1]))for(var o=0;o<this._displayables.length;o++){var r=this._displayables[o];if(r.contain(f,t))return!0}return!1},T(I,w);var C=I;oe.exports=C},OUJF:function(oe,V,e){var B=e("ProS"),T=e("bYtY");B.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(w,D){var I=D.getComponent("timeline");return I&&w.currentIndex!=null&&(I.setCurrentIndex(w.currentIndex),!I.get("loop",!0)&&I.isIndexMax()&&I.setPlayState(!1)),D.resetOption("timeline"),T.defaults({currentIndex:I.option.currentIndex},w)}),B.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(w,D){var I=D.getComponent("timeline");I&&w.playState!=null&&I.setPlayState(w.playState)})},OXB0:function(oe,V,e){var B=e("T4UG"),T=e("MwEJ"),w=e("IDmD"),D=B.extend({type:"series.heatmap",getInitialData:function(I,E){return T(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var I=w.get(this.get("coordinateSystem"));if(I&&I.dimensions)return I.dimensions[0]==="lng"&&I.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});oe.exports=D},OZM5:function(oe,V,e){"use strict";e.d(V,"b",function(){return i}),e.d(V,"a",function(){return s}),e.d(V,"j",function(){return o}),e.d(V,"g",function(){return r}),e.d(V,"h",function(){return u}),e.d(V,"f",function(){return n}),e.d(V,"c",function(){return c}),e.d(V,"d",function(){return d}),e.d(V,"i",function(){return A}),e.d(V,"e",function(){return v});var B=e("KQm4"),T=e("U8pU"),w=e("wx14"),D=e("Ff2n"),I=e("q1tI"),E=e.n(I),C=e("Kwbf"),f=e("WaYH"),t=["children"];function i(g,x){if(!g)return[];var m=g.slice(),b=m.indexOf(x);return b>=0&&m.splice(b,1),m}function s(g,x){var m=(g||[]).slice();return m.indexOf(x)===-1&&m.push(x),m}function o(g){return g.split("-")}function r(g,x){return"".concat(g,"-").concat(x)}function u(g){return g&&g.type&&g.type.isTreeNode}function n(g,x){var m=[],b=x[g];function S(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];P.forEach(function(M){var R=M.key,F=M.children;m.push(R),S(F)})}return S(b.children),m}function l(g){if(g.parent){var x=o(g.pos);return Number(x[x.length-1])===g.parent.children.length-1}return!1}function a(g){var x=o(g.pos);return Number(x[x.length-1])===0}function c(g,x,m,b,S,P,M,R,F,L){var U,N=g.clientX,Q=g.clientY,z=g.target.getBoundingClientRect(),_=z.top,J=z.height,Y=(L==="rtl"?-1:1)*(((S==null?void 0:S.x)||0)-N),k=(Y-12)/b,W=R[m.props.eventKey];if(Q<_+J/2){var ie=M.findIndex(function(Ve){return Ve.key===W.key}),fe=ie<=0?0:ie-1,Ce=M[fe].key;W=R[Ce]}var ge=W.key,de=W,Pe=W.key,_e=0,Ne=0;if(!F.includes(ge))for(var He=0;He<k&&l(W);He+=1)W=W.parent,Ne+=1;var ue=x.props.data,Re=W.node,nt=!0;return a(W)&&W.level===0&&Q<_+J/2&&P({dragNode:ue,dropNode:Re,dropPosition:-1})&&W.key===m.props.eventKey?_e=-1:(de.children||[]).length&&F.includes(Pe)?P({dragNode:ue,dropNode:Re,dropPosition:0})?_e=0:nt=!1:Ne===0?k>-1.5?P({dragNode:ue,dropNode:Re,dropPosition:1})?_e=1:nt=!1:P({dragNode:ue,dropNode:Re,dropPosition:0})?_e=0:P({dragNode:ue,dropNode:Re,dropPosition:1})?_e=1:nt=!1:P({dragNode:ue,dropNode:Re,dropPosition:1})?_e=1:nt=!1,{dropPosition:_e,dropLevelOffset:Ne,dropTargetKey:W.key,dropTargetPos:W.pos,dragOverNodeKey:Pe,dropContainerKey:_e===0?null:((U=W.parent)===null||U===void 0?void 0:U.key)||null,dropAllowed:nt}}function d(g,x){if(!!g){var m=x.multiple;return m?g.slice():g.length?[g[0]]:g}}var h=function(x){return x};function y(g,x){if(!g)return[];var m=x||{},b=m.processProps,S=b===void 0?h:b,P=Array.isArray(g)?g:[g];return P.map(function(M){var R=M.children,F=Object(D.a)(M,t),L=y(R,x);return E.a.createElement(f.a,Object(w.a)({key:F.key},S(F)),L)})}function A(g){if(!g)return null;var x;if(Array.isArray(g))x={checkedKeys:g,halfCheckedKeys:void 0};else if(Object(T.a)(g)==="object")x={checkedKeys:g.checked||void 0,halfCheckedKeys:g.halfChecked||void 0};else return Object(C.a)(!1,"`checkedKeys` is not an array or an object"),null;return x}function v(g,x){var m=new Set;function b(S){if(!m.has(S)){var P=x[S];if(!!P){m.add(S);var M=P.parent,R=P.node;R.disabled||M&&b(M.key)}}}return(g||[]).forEach(function(S){b(S)}),Object(B.a)(m)}},OaEy:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("bKJz"),D=e.n(w),I=e("R9oj")},Ol7k:function(oe,V,e){"use strict";var B=e("PKem"),T=e("ZX9x"),w=B.e;w.Header=B.c,w.Footer=B.b,w.Content=B.a,w.Sider=T.b,V.a=w},OlYY:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("ItGF"),E=e("4NO4"),C=e("UOVi"),f=e("zDms"),t=D.each,i=C.eachAxisDim,s=w.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(n,l,a){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var c=o(n);this.settledOption=c,this.mergeDefaultAndTheme(n,a),this.doInit(c)},mergeOption:function(n){var l=o(n);D.merge(this.option,n,!0),D.merge(this.settledOption,l,!0),this.doInit(l)},doInit:function(n){var l=this.option;I.canvasSupported||(l.realtime=!1),this._setDefaultThrottle(n),r(this,n);var a=this.settledOption;t([["start","startValue"],["end","endValue"]],function(c,d){this._rangePropMode[d]==="value"&&(l[c[0]]=a[c[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var n=this._axisProxies;this.eachTargetAxis(function(l,a,c,d){var h=this.dependentModels[l.axis][a],y=h.__dzAxisProxy||(h.__dzAxisProxy=new f(l.name,a,this,d));n[l.name+"_"+a]=y},this)},_resetTarget:function(){var n=this.option,l=this._judgeAutoMode();i(function(a){var c=a.axisIndex;n[c]=E.normalizeToArray(n[c])},this),l==="axisIndex"?this._autoSetAxisIndex():l==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var n=this.option,l=!1;i(function(c){n[c.axisIndex]!=null&&(l=!0)},this);var a=n.orient;if(a==null&&l)return"orient";if(!l)return a==null&&(n.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var n=!0,l=this.get("orient",!0),a=this.option,c=this.dependentModels;if(n){var d=l==="vertical"?"y":"x";c[d+"Axis"].length?(a[d+"AxisIndex"]=[0],n=!1):t(c.singleAxis,function(h){n&&h.get("orient",!0)===l&&(a.singleAxisIndex=[h.componentIndex],n=!1)})}n&&i(function(h){if(!!n){var y=[],A=this.dependentModels[h.axis];if(A.length&&!y.length)for(var v=0,g=A.length;v<g;v++)A[v].get("type")==="category"&&y.push(v);a[h.axisIndex]=y,y.length&&(n=!1)}},this),n&&this.ecModel.eachSeries(function(h){this._isSeriesHasAllAxesTypeOf(h,"value")&&i(function(y){var A=a[y.axisIndex],v=h.get(y.axisIndex),g=h.get(y.axisId),x=h.ecModel.queryComponents({mainType:y.axis,index:v,id:g})[0];v=x.componentIndex,D.indexOf(A,v)<0&&A.push(v)})},this)},_autoSetOrient:function(){var n;this.eachTargetAxis(function(l){!n&&(n=l.name)},this),this.option.orient=n==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(n,l){var a=!0;return i(function(c){var d=n.get(c.axisIndex),h=this.dependentModels[c.axis][d];(!h||h.get("type")!==l)&&(a=!1)},this),a},_setDefaultThrottle:function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var l=this.ecModel.option;this.option.throttle=l.animation&&l.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var n;return i(function(l){if(n==null){var a=this.get(l.axisIndex);a.length&&(n=this.dependentModels[l.axis][a[0]])}},this),n},eachTargetAxis:function(n,l){var a=this.ecModel;i(function(c){t(this.get(c.axisIndex),function(d){n.call(l,c,d,this,a)},this)},this)},getAxisProxy:function(n,l){return this._axisProxies[n+"_"+l]},getAxisModel:function(n,l){var a=this.getAxisProxy(n,l);return a&&a.getAxisModel()},setRawRange:function(n){var l=this.option,a=this.settledOption;t([["start","startValue"],["end","endValue"]],function(c){(n[c[0]]!=null||n[c[1]]!=null)&&(l[c[0]]=a[c[0]]=n[c[0]],l[c[1]]=a[c[1]]=n[c[1]])},this),r(this,n)},setCalculatedRange:function(n){var l=this.option;t(["start","startValue","end","endValue"],function(a){l[a]=n[a]})},getPercentRange:function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},getValueRange:function(n,l){if(n==null&&l==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(n,l).getDataValueWindow()},findRepresentativeAxisProxy:function(n){if(n)return n.__dzAxisProxy;var l=this._axisProxies;for(var a in l)if(l.hasOwnProperty(a)&&l[a].hostedBy(this))return l[a];for(var a in l)if(l.hasOwnProperty(a)&&!l[a].hostedBy(this))return l[a]},getRangePropMode:function(){return this._rangePropMode.slice()}});function o(n){var l={};return t(["start","end","startValue","endValue","throttle"],function(a){n.hasOwnProperty(a)&&(l[a]=n[a])}),l}function r(n,l){var a=n._rangePropMode,c=n.get("rangeMode");t([["start","startValue"],["end","endValue"]],function(d,h){var y=l[d[0]]!=null,A=l[d[1]]!=null;y&&!A?a[h]="percent":!y&&A?a[h]="value":c?a[h]=c[h]:y&&(a[h]="percent")})}var u=s;oe.exports=u},OnYD:function(oe,V,e){},"Oy/b":function(oe,V,e){(function(T,w){oe.exports=w()})(typeof self!="undefined"?self:this,function(){return function(B){var T={};function w(D){if(T[D])return T[D].exports;var I=T[D]={i:D,l:!1,exports:{}};return B[D].call(I.exports,I,I.exports,w),I.l=!0,I.exports}return w.m=B,w.c=T,w.d=function(D,I,E){w.o(D,I)||Object.defineProperty(D,I,{enumerable:!0,get:E})},w.r=function(D){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})},w.t=function(D,I){if(I&1&&(D=w(D)),I&8||I&4&&typeof D=="object"&&D&&D.__esModule)return D;var E=Object.create(null);if(w.r(E),Object.defineProperty(E,"default",{enumerable:!0,value:D}),I&2&&typeof D!="string")for(var C in D)w.d(E,C,function(f){return D[f]}.bind(null,C));return E},w.n=function(D){var I=D&&D.__esModule?function(){return D.default}:function(){return D};return w.d(I,"a",I),I},w.o=function(D,I){return Object.prototype.hasOwnProperty.call(D,I)},w.p="",w(w.s=1)}([function(B,T,w){},function(B,T,w){"use strict";w.r(T);var D=w(0),I=function(){function Bt(X,re,le){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=X,this.start=re,this.end=le}return Bt.range=function(re,le){return le?!re||!re.loc||!le.loc||re.loc.lexer!==le.loc.lexer?null:new Bt(re.loc.lexer,re.loc.start,le.loc.end):re&&re.loc},Bt}(),E=function(){function Bt(re,le){this.text=void 0,this.loc=void 0,this.text=re,this.loc=le}var X=Bt.prototype;return X.range=function(le,we){return new Bt(we,I.range(this,le))},Bt}(),C=function Bt(X,re){this.position=void 0;var le="KaTeX parse error: "+X,we,Xe=re&&re.loc;if(Xe&&Xe.start<=Xe.end){var xt=Xe.lexer.input;we=Xe.start;var tr=Xe.end;we===xt.length?le+=" at end of input: ":le+=" at position "+(we+1)+": ";var ur=xt.slice(we,tr).replace(/[^]/g,"$&\u0332"),br;we>15?br="\u2026"+xt.slice(we-15,we):br=xt.slice(0,we);var Qr;tr+15<xt.length?Qr=xt.slice(tr,tr+15)+"\u2026":Qr=xt.slice(tr),le+=br+ur+Qr}var an=new Error(le);return an.name="ParseError",an.__proto__=Bt.prototype,an.position=we,an};C.prototype.__proto__=Error.prototype;var f=C,t=function(X,re){return X.indexOf(re)!==-1},i=function(X,re){return X===void 0?re:X},s=/([A-Z])/g,o=function(X){return X.replace(s,"-$1").toLowerCase()},r={"&":"&",">":">","<":"<",'"':""","'":"'"},u=/[&><"']/g;function n(Bt){return String(Bt).replace(u,function(X){return r[X]})}var l=function Bt(X){return X.type==="ordgroup"||X.type==="color"?X.body.length===1?Bt(X.body[0]):X:X.type==="font"?Bt(X.body):X},a=function(X){var re=l(X);return re.type==="mathord"||re.type==="textord"||re.type==="atom"},c=function(X){if(!X)throw new Error("Expected non-null, but got "+String(X));return X},d=function(X){var re=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(X);return re!=null?re[1]:"_relative"},h={contains:t,deflt:i,escape:n,hyphenate:o,getBaseElem:l,isCharacterBox:a,protocolFromUrl:d},y=function(){function Bt(re){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,re=re||{},this.displayMode=h.deflt(re.displayMode,!1),this.output=h.deflt(re.output,"htmlAndMathml"),this.leqno=h.deflt(re.leqno,!1),this.fleqn=h.deflt(re.fleqn,!1),this.throwOnError=h.deflt(re.throwOnError,!0),this.errorColor=h.deflt(re.errorColor,"#cc0000"),this.macros=re.macros||{},this.minRuleThickness=Math.max(0,h.deflt(re.minRuleThickness,0)),this.colorIsTextColor=h.deflt(re.colorIsTextColor,!1),this.strict=h.deflt(re.strict,"warn"),this.trust=h.deflt(re.trust,!1),this.maxSize=Math.max(0,h.deflt(re.maxSize,Infinity)),this.maxExpand=Math.max(0,h.deflt(re.maxExpand,1e3))}var X=Bt.prototype;return X.reportNonstrict=function(le,we,Xe){var xt=this.strict;if(typeof xt=="function"&&(xt=xt(le,we,Xe)),!(!xt||xt==="ignore")){if(xt===!0||xt==="error")throw new f("LaTeX-incompatible input and strict mode is set to 'error': "+(we+" ["+le+"]"),Xe);xt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(we+" ["+le+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+xt+"': "+we+" ["+le+"]"))}},X.useStrictBehavior=function(le,we,Xe){var xt=this.strict;if(typeof xt=="function")try{xt=xt(le,we,Xe)}catch(tr){xt="error"}return!xt||xt==="ignore"?!1:xt===!0||xt==="error"?!0:xt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(we+" ["+le+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+xt+"': "+we+" ["+le+"]")),!1)},X.isTrusted=function(le){le.url&&!le.protocol&&(le.protocol=h.protocolFromUrl(le.url));var we=typeof this.trust=="function"?this.trust(le):this.trust;return Boolean(we)},Bt}(),A=function(){function Bt(re,le,we){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=re,this.size=le,this.cramped=we}var X=Bt.prototype;return X.sup=function(){return R[F[this.id]]},X.sub=function(){return R[L[this.id]]},X.fracNum=function(){return R[U[this.id]]},X.fracDen=function(){return R[N[this.id]]},X.cramp=function(){return R[Q[this.id]]},X.text=function(){return R[z[this.id]]},X.isTight=function(){return this.size>=2},Bt}(),v=0,g=1,x=2,m=3,b=4,S=5,P=6,M=7,R=[new A(v,0,!1),new A(g,0,!0),new A(x,1,!1),new A(m,1,!0),new A(b,2,!1),new A(S,2,!0),new A(P,3,!1),new A(M,3,!0)],F=[b,S,b,S,P,M,P,M],L=[S,S,S,S,M,M,M,M],U=[x,m,b,S,P,M,P,M],N=[m,m,S,S,M,M,M,M],Q=[g,g,m,m,S,S,M,M],z=[v,g,x,m,x,m,x,m],_={DISPLAY:R[v],TEXT:R[x],SCRIPT:R[b],SCRIPTSCRIPT:R[P]},J=[{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 Y(Bt){for(var X=0;X<J.length;X++)for(var re=J[X],le=0;le<re.blocks.length;le++){var we=re.blocks[le];if(Bt>=we[0]&&Bt<=we[1])return re.name}return null}var k=[];J.forEach(function(Bt){return Bt.blocks.forEach(function(X){return k.push.apply(k,X)})});function W(Bt){for(var X=0;X<k.length;X+=2)if(Bt>=k[X]&&Bt<=k[X+1])return!0;return!1}var ie=80,fe=function(X,re){return"M95,"+(622+X+re)+`
|
|
|
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`+X/2.075+" -"+X+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+X)+`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+X)+" "+re+"h400000v"+(40+X)+"h-400000z"},Ce=function(X,re){return"M263,"+(601+X+re)+`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`+X/2.084+" -"+X+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+X)+`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+X)+" "+re+"h400000v"+(40+X)+"h-400000z"},ge=function(X,re){return"M983 "+(10+X+re)+`
|
|
|
l`+X/3.13+" -"+X+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+X)+`
|
|
|
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+X)+" "+re+"h400000v"+(40+X)+"h-400000z"},de=function(X,re){return"M424,"+(2398+X+re)+`
|
|
|
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`+X/4.223+" -"+X+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+X)+`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+X)+" "+re+`
|
|
|
h400000v`+(40+X)+"h-400000z"},Pe=function(X,re){return"M473,"+(2713+X+re)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+X/5.298+" -"+X+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+X)+`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+X)+" "+re+"h400000v"+(40+X)+"H1017.7z"},_e=function(X,re,le){var we=le-54-re-X;return"M702 "+(X+re)+"H400000"+(40+X)+`
|
|
|
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 `+re+"H400000v"+(40+X)+"H742z"},Ne=function(X,re,le){re=1e3*re;var we="";switch(X){case"sqrtMain":we=fe(re,ie);break;case"sqrtSize1":we=Ce(re,ie);break;case"sqrtSize2":we=ge(re,ie);break;case"sqrtSize3":we=de(re,ie);break;case"sqrtSize4":we=Pe(re,ie);break;case"sqrtTall":we=_e(re,ie,le)}return we},He={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`},ue=function(){function Bt(re){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=re,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var X=Bt.prototype;return X.hasClass=function(le){return h.contains(this.classes,le)},X.toNode=function(){for(var le=document.createDocumentFragment(),we=0;we<this.children.length;we++)le.appendChild(this.children[we].toNode());return le},X.toMarkup=function(){for(var le="",we=0;we<this.children.length;we++)le+=this.children[we].toMarkup();return le},X.toText=function(){var le=function(Xe){return Xe.toText()};return this.children.map(le).join("")},Bt}(),Re=function(X){return X.filter(function(re){return re}).join(" ")},nt=function(X,re,le){if(this.classes=X||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=le||{},re){re.style.isTight()&&this.classes.push("mtight");var we=re.getColor();we&&(this.style.color=we)}},Ve=function(X){var re=document.createElement(X);re.className=Re(this.classes);for(var le in this.style)this.style.hasOwnProperty(le)&&(re.style[le]=this.style[le]);for(var we in this.attributes)this.attributes.hasOwnProperty(we)&&re.setAttribute(we,this.attributes[we]);for(var Xe=0;Xe<this.children.length;Xe++)re.appendChild(this.children[Xe].toNode());return re},Ge=function(X){var re="<"+X;this.classes.length&&(re+=' class="'+h.escape(Re(this.classes))+'"');var le="";for(var we in this.style)this.style.hasOwnProperty(we)&&(le+=h.hyphenate(we)+":"+this.style[we]+";");le&&(re+=' style="'+h.escape(le)+'"');for(var Xe in this.attributes)this.attributes.hasOwnProperty(Xe)&&(re+=" "+Xe+'="'+h.escape(this.attributes[Xe])+'"');re+=">";for(var xt=0;xt<this.children.length;xt++)re+=this.children[xt].toMarkup();return re+="</"+X+">",re},dt=function(){function Bt(re,le,we,Xe){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,nt.call(this,re,we,Xe),this.children=le||[]}var X=Bt.prototype;return X.setAttribute=function(le,we){this.attributes[le]=we},X.hasClass=function(le){return h.contains(this.classes,le)},X.toNode=function(){return Ve.call(this,"span")},X.toMarkup=function(){return Ge.call(this,"span")},Bt}(),et=function(){function Bt(re,le,we,Xe){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,nt.call(this,le,Xe),this.children=we||[],this.setAttribute("href",re)}var X=Bt.prototype;return X.setAttribute=function(le,we){this.attributes[le]=we},X.hasClass=function(le){return h.contains(this.classes,le)},X.toNode=function(){return Ve.call(this,"a")},X.toMarkup=function(){return Ge.call(this,"a")},Bt}(),At=function(){function Bt(re,le,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=le,this.src=re,this.classes=["mord"],this.style=we}var X=Bt.prototype;return X.hasClass=function(le){return h.contains(this.classes,le)},X.toNode=function(){var le=document.createElement("img");le.src=this.src,le.alt=this.alt,le.className="mord";for(var we in this.style)this.style.hasOwnProperty(we)&&(le.style[we]=this.style[we]);return le},X.toMarkup=function(){var le="<img src='"+this.src+" 'alt='"+this.alt+"' ",we="";for(var Xe in this.style)this.style.hasOwnProperty(Xe)&&(we+=h.hyphenate(Xe)+":"+this.style[Xe]+";");return we&&(le+=' style="'+h.escape(we)+'"'),le+="'/>",le},Bt}(),Dt={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ft=function(){function Bt(re,le,we,Xe,xt,tr,ur,br){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=re,this.height=le||0,this.depth=we||0,this.italic=Xe||0,this.skew=xt||0,this.width=tr||0,this.classes=ur||[],this.style=br||{},this.maxFontSize=0;var Qr=Y(this.text.charCodeAt(0));Qr&&this.classes.push(Qr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Dt[this.text])}var X=Bt.prototype;return X.hasClass=function(le){return h.contains(this.classes,le)},X.toNode=function(){var le=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=Re(this.classes));for(var Xe in this.style)this.style.hasOwnProperty(Xe)&&(we=we||document.createElement("span"),we.style[Xe]=this.style[Xe]);return we?(we.appendChild(le),we):le},X.toMarkup=function(){var le=!1,we="<span";this.classes.length&&(le=!0,we+=' class="',we+=h.escape(Re(this.classes)),we+='"');var Xe="";this.italic>0&&(Xe+="margin-right:"+this.italic+"em;");for(var xt in this.style)this.style.hasOwnProperty(xt)&&(Xe+=h.hyphenate(xt)+":"+this.style[xt]+";");Xe&&(le=!0,we+=' style="'+h.escape(Xe)+'"');var tr=h.escape(this.text);return le?(we+=">",we+=tr,we+="</span>",we):tr},Bt}(),St=function(){function Bt(re,le){this.children=void 0,this.attributes=void 0,this.children=re||[],this.attributes=le||{}}var X=Bt.prototype;return X.toNode=function(){var le="http://www.w3.org/2000/svg",we=document.createElementNS(le,"svg");for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&we.setAttribute(Xe,this.attributes[Xe]);for(var xt=0;xt<this.children.length;xt++)we.appendChild(this.children[xt].toNode());return we},X.toMarkup=function(){var le="<svg";for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(le+=" "+we+"='"+this.attributes[we]+"'");le+=">";for(var Xe=0;Xe<this.children.length;Xe++)le+=this.children[Xe].toMarkup();return le+="</svg>",le},Bt}(),$e=function(){function Bt(re,le){this.pathName=void 0,this.alternate=void 0,this.pathName=re,this.alternate=le}var X=Bt.prototype;return X.toNode=function(){var le="http://www.w3.org/2000/svg",we=document.createElementNS(le,"path");return this.alternate?we.setAttribute("d",this.alternate):we.setAttribute("d",He[this.pathName]),we},X.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+He[this.pathName]+"'/>"},Bt}(),lt=function(){function Bt(re){this.attributes=void 0,this.attributes=re||{}}var X=Bt.prototype;return X.toNode=function(){var le="http://www.w3.org/2000/svg",we=document.createElementNS(le,"line");for(var Xe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Xe)&&we.setAttribute(Xe,this.attributes[Xe]);return we},X.toMarkup=function(){var le="<line";for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(le+=" "+we+"='"+this.attributes[we]+"'");return le+="/>",le},Bt}();function Ut(Bt){if(Bt instanceof Ft)return Bt;throw new Error("Expected symbolNode but got "+String(Bt)+".")}function gt(Bt){if(Bt instanceof dt)return Bt;throw new Error("Expected span<HtmlDomNode> but got "+String(Bt)+".")}var ft={"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]}},rt={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]},Ie={\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 Ot(Bt,X){ft[Bt]=X}function Xt(Bt,X,re){if(!ft[X])throw new Error("Font metrics not found for font: "+X+".");var le=Bt.charCodeAt(0),we=ft[X][le];if(!we&&Bt[0]in Ie&&(le=Ie[Bt[0]].charCodeAt(0),we=ft[X][le]),!we&&re==="text"&&W(le)&&(we=ft[X][77]),we)return{depth:we[0],height:we[1],italic:we[2],skew:we[3],width:we[4]}}var Vt={};function bt(Bt){var X;if(Bt>=5?X=0:Bt>=3?X=1:X=2,!Vt[X]){var re=Vt[X]={cssEmPerMu:rt.quad[X]/18};for(var le in rt)rt.hasOwnProperty(le)&&(re[le]=rt[le][X])}return Vt[X]}var It={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Kt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Se={math:{},text:{}},Ye=Se;function q(Bt,X,re,le,we,Xe){Se[Bt][we]={font:X,group:re,replace:le},Xe&&le&&(Se[Bt][le]=Se[Bt][we])}var Ae="math",Me="text",De="main",ze="ams",pe="accent-token",te="bin",be="close",xe="inner",Z="mathord",se="op-token",he="open",Oe="punct",ne="rel",ce="spacing",ae="textord";q(Ae,De,ne,"\u2261","\\equiv",!0),q(Ae,De,ne,"\u227A","\\prec",!0),q(Ae,De,ne,"\u227B","\\succ",!0),q(Ae,De,ne,"\u223C","\\sim",!0),q(Ae,De,ne,"\u22A5","\\perp"),q(Ae,De,ne,"\u2AAF","\\preceq",!0),q(Ae,De,ne,"\u2AB0","\\succeq",!0),q(Ae,De,ne,"\u2243","\\simeq",!0),q(Ae,De,ne,"\u2223","\\mid",!0),q(Ae,De,ne,"\u226A","\\ll",!0),q(Ae,De,ne,"\u226B","\\gg",!0),q(Ae,De,ne,"\u224D","\\asymp",!0),q(Ae,De,ne,"\u2225","\\parallel"),q(Ae,De,ne,"\u22C8","\\bowtie",!0),q(Ae,De,ne,"\u2323","\\smile",!0),q(Ae,De,ne,"\u2291","\\sqsubseteq",!0),q(Ae,De,ne,"\u2292","\\sqsupseteq",!0),q(Ae,De,ne,"\u2250","\\doteq",!0),q(Ae,De,ne,"\u2322","\\frown",!0),q(Ae,De,ne,"\u220B","\\ni",!0),q(Ae,De,ne,"\u221D","\\propto",!0),q(Ae,De,ne,"\u22A2","\\vdash",!0),q(Ae,De,ne,"\u22A3","\\dashv",!0),q(Ae,De,ne,"\u220B","\\owns"),q(Ae,De,Oe,".","\\ldotp"),q(Ae,De,Oe,"\u22C5","\\cdotp"),q(Ae,De,ae,"#","\\#"),q(Me,De,ae,"#","\\#"),q(Ae,De,ae,"&","\\&"),q(Me,De,ae,"&","\\&"),q(Ae,De,ae,"\u2135","\\aleph",!0),q(Ae,De,ae,"\u2200","\\forall",!0),q(Ae,De,ae,"\u210F","\\hbar",!0),q(Ae,De,ae,"\u2203","\\exists",!0),q(Ae,De,ae,"\u2207","\\nabla",!0),q(Ae,De,ae,"\u266D","\\flat",!0),q(Ae,De,ae,"\u2113","\\ell",!0),q(Ae,De,ae,"\u266E","\\natural",!0),q(Ae,De,ae,"\u2663","\\clubsuit",!0),q(Ae,De,ae,"\u2118","\\wp",!0),q(Ae,De,ae,"\u266F","\\sharp",!0),q(Ae,De,ae,"\u2662","\\diamondsuit",!0),q(Ae,De,ae,"\u211C","\\Re",!0),q(Ae,De,ae,"\u2661","\\heartsuit",!0),q(Ae,De,ae,"\u2111","\\Im",!0),q(Ae,De,ae,"\u2660","\\spadesuit",!0),q(Me,De,ae,"\xA7","\\S",!0),q(Me,De,ae,"\xB6","\\P",!0),q(Ae,De,ae,"\u2020","\\dag"),q(Me,De,ae,"\u2020","\\dag"),q(Me,De,ae,"\u2020","\\textdagger"),q(Ae,De,ae,"\u2021","\\ddag"),q(Me,De,ae,"\u2021","\\ddag"),q(Me,De,ae,"\u2021","\\textdaggerdbl"),q(Ae,De,be,"\u23B1","\\rmoustache",!0),q(Ae,De,he,"\u23B0","\\lmoustache",!0),q(Ae,De,be,"\u27EF","\\rgroup",!0),q(Ae,De,he,"\u27EE","\\lgroup",!0),q(Ae,De,te,"\u2213","\\mp",!0),q(Ae,De,te,"\u2296","\\ominus",!0),q(Ae,De,te,"\u228E","\\uplus",!0),q(Ae,De,te,"\u2293","\\sqcap",!0),q(Ae,De,te,"\u2217","\\ast"),q(Ae,De,te,"\u2294","\\sqcup",!0),q(Ae,De,te,"\u25EF","\\bigcirc"),q(Ae,De,te,"\u2219","\\bullet"),q(Ae,De,te,"\u2021","\\ddagger"),q(Ae,De,te,"\u2240","\\wr",!0),q(Ae,De,te,"\u2A3F","\\amalg"),q(Ae,De,te,"&","\\And"),q(Ae,De,ne,"\u27F5","\\longleftarrow",!0),q(Ae,De,ne,"\u21D0","\\Leftarrow",!0),q(Ae,De,ne,"\u27F8","\\Longleftarrow",!0),q(Ae,De,ne,"\u27F6","\\longrightarrow",!0),q(Ae,De,ne,"\u21D2","\\Rightarrow",!0),q(Ae,De,ne,"\u27F9","\\Longrightarrow",!0),q(Ae,De,ne,"\u2194","\\leftrightarrow",!0),q(Ae,De,ne,"\u27F7","\\longleftrightarrow",!0),q(Ae,De,ne,"\u21D4","\\Leftrightarrow",!0),q(Ae,De,ne,"\u27FA","\\Longleftrightarrow",!0),q(Ae,De,ne,"\u21A6","\\mapsto",!0),q(Ae,De,ne,"\u27FC","\\longmapsto",!0),q(Ae,De,ne,"\u2197","\\nearrow",!0),q(Ae,De,ne,"\u21A9","\\hookleftarrow",!0),q(Ae,De,ne,"\u21AA","\\hookrightarrow",!0),q(Ae,De,ne,"\u2198","\\searrow",!0),q(Ae,De,ne,"\u21BC","\\leftharpoonup",!0),q(Ae,De,ne,"\u21C0","\\rightharpoonup",!0),q(Ae,De,ne,"\u2199","\\swarrow",!0),q(Ae,De,ne,"\u21BD","\\leftharpoondown",!0),q(Ae,De,ne,"\u21C1","\\rightharpoondown",!0),q(Ae,De,ne,"\u2196","\\nwarrow",!0),q(Ae,De,ne,"\u21CC","\\rightleftharpoons",!0),q(Ae,ze,ne,"\u226E","\\nless",!0),q(Ae,ze,ne,"\uE010","\\@nleqslant"),q(Ae,ze,ne,"\uE011","\\@nleqq"),q(Ae,ze,ne,"\u2A87","\\lneq",!0),q(Ae,ze,ne,"\u2268","\\lneqq",!0),q(Ae,ze,ne,"\uE00C","\\@lvertneqq"),q(Ae,ze,ne,"\u22E6","\\lnsim",!0),q(Ae,ze,ne,"\u2A89","\\lnapprox",!0),q(Ae,ze,ne,"\u2280","\\nprec",!0),q(Ae,ze,ne,"\u22E0","\\npreceq",!0),q(Ae,ze,ne,"\u22E8","\\precnsim",!0),q(Ae,ze,ne,"\u2AB9","\\precnapprox",!0),q(Ae,ze,ne,"\u2241","\\nsim",!0),q(Ae,ze,ne,"\uE006","\\@nshortmid"),q(Ae,ze,ne,"\u2224","\\nmid",!0),q(Ae,ze,ne,"\u22AC","\\nvdash",!0),q(Ae,ze,ne,"\u22AD","\\nvDash",!0),q(Ae,ze,ne,"\u22EA","\\ntriangleleft"),q(Ae,ze,ne,"\u22EC","\\ntrianglelefteq",!0),q(Ae,ze,ne,"\u228A","\\subsetneq",!0),q(Ae,ze,ne,"\uE01A","\\@varsubsetneq"),q(Ae,ze,ne,"\u2ACB","\\subsetneqq",!0),q(Ae,ze,ne,"\uE017","\\@varsubsetneqq"),q(Ae,ze,ne,"\u226F","\\ngtr",!0),q(Ae,ze,ne,"\uE00F","\\@ngeqslant"),q(Ae,ze,ne,"\uE00E","\\@ngeqq"),q(Ae,ze,ne,"\u2A88","\\gneq",!0),q(Ae,ze,ne,"\u2269","\\gneqq",!0),q(Ae,ze,ne,"\uE00D","\\@gvertneqq"),q(Ae,ze,ne,"\u22E7","\\gnsim",!0),q(Ae,ze,ne,"\u2A8A","\\gnapprox",!0),q(Ae,ze,ne,"\u2281","\\nsucc",!0),q(Ae,ze,ne,"\u22E1","\\nsucceq",!0),q(Ae,ze,ne,"\u22E9","\\succnsim",!0),q(Ae,ze,ne,"\u2ABA","\\succnapprox",!0),q(Ae,ze,ne,"\u2246","\\ncong",!0),q(Ae,ze,ne,"\uE007","\\@nshortparallel"),q(Ae,ze,ne,"\u2226","\\nparallel",!0),q(Ae,ze,ne,"\u22AF","\\nVDash",!0),q(Ae,ze,ne,"\u22EB","\\ntriangleright"),q(Ae,ze,ne,"\u22ED","\\ntrianglerighteq",!0),q(Ae,ze,ne,"\uE018","\\@nsupseteqq"),q(Ae,ze,ne,"\u228B","\\supsetneq",!0),q(Ae,ze,ne,"\uE01B","\\@varsupsetneq"),q(Ae,ze,ne,"\u2ACC","\\supsetneqq",!0),q(Ae,ze,ne,"\uE019","\\@varsupsetneqq"),q(Ae,ze,ne,"\u22AE","\\nVdash",!0),q(Ae,ze,ne,"\u2AB5","\\precneqq",!0),q(Ae,ze,ne,"\u2AB6","\\succneqq",!0),q(Ae,ze,ne,"\uE016","\\@nsubseteqq"),q(Ae,ze,te,"\u22B4","\\unlhd"),q(Ae,ze,te,"\u22B5","\\unrhd"),q(Ae,ze,ne,"\u219A","\\nleftarrow",!0),q(Ae,ze,ne,"\u219B","\\nrightarrow",!0),q(Ae,ze,ne,"\u21CD","\\nLeftarrow",!0),q(Ae,ze,ne,"\u21CF","\\nRightarrow",!0),q(Ae,ze,ne,"\u21AE","\\nleftrightarrow",!0),q(Ae,ze,ne,"\u21CE","\\nLeftrightarrow",!0),q(Ae,ze,ne,"\u25B3","\\vartriangle"),q(Ae,ze,ae,"\u210F","\\hslash"),q(Ae,ze,ae,"\u25BD","\\triangledown"),q(Ae,ze,ae,"\u25CA","\\lozenge"),q(Ae,ze,ae,"\u24C8","\\circledS"),q(Ae,ze,ae,"\xAE","\\circledR"),q(Me,ze,ae,"\xAE","\\circledR"),q(Ae,ze,ae,"\u2221","\\measuredangle",!0),q(Ae,ze,ae,"\u2204","\\nexists"),q(Ae,ze,ae,"\u2127","\\mho"),q(Ae,ze,ae,"\u2132","\\Finv",!0),q(Ae,ze,ae,"\u2141","\\Game",!0),q(Ae,ze,ae,"\u2035","\\backprime"),q(Ae,ze,ae,"\u25B2","\\blacktriangle"),q(Ae,ze,ae,"\u25BC","\\blacktriangledown"),q(Ae,ze,ae,"\u25A0","\\blacksquare"),q(Ae,ze,ae,"\u29EB","\\blacklozenge"),q(Ae,ze,ae,"\u2605","\\bigstar"),q(Ae,ze,ae,"\u2222","\\sphericalangle",!0),q(Ae,ze,ae,"\u2201","\\complement",!0),q(Ae,ze,ae,"\xF0","\\eth",!0),q(Ae,ze,ae,"\u2571","\\diagup"),q(Ae,ze,ae,"\u2572","\\diagdown"),q(Ae,ze,ae,"\u25A1","\\square"),q(Ae,ze,ae,"\u25A1","\\Box"),q(Ae,ze,ae,"\u25CA","\\Diamond"),q(Ae,ze,ae,"\xA5","\\yen",!0),q(Me,ze,ae,"\xA5","\\yen",!0),q(Ae,ze,ae,"\u2713","\\checkmark",!0),q(Me,ze,ae,"\u2713","\\checkmark"),q(Ae,ze,ae,"\u2136","\\beth",!0),q(Ae,ze,ae,"\u2138","\\daleth",!0),q(Ae,ze,ae,"\u2137","\\gimel",!0),q(Ae,ze,ae,"\u03DD","\\digamma",!0),q(Ae,ze,ae,"\u03F0","\\varkappa"),q(Ae,ze,he,"\u250C","\\ulcorner",!0),q(Ae,ze,be,"\u2510","\\urcorner",!0),q(Ae,ze,he,"\u2514","\\llcorner",!0),q(Ae,ze,be,"\u2518","\\lrcorner",!0),q(Ae,ze,ne,"\u2266","\\leqq",!0),q(Ae,ze,ne,"\u2A7D","\\leqslant",!0),q(Ae,ze,ne,"\u2A95","\\eqslantless",!0),q(Ae,ze,ne,"\u2272","\\lesssim",!0),q(Ae,ze,ne,"\u2A85","\\lessapprox",!0),q(Ae,ze,ne,"\u224A","\\approxeq",!0),q(Ae,ze,te,"\u22D6","\\lessdot"),q(Ae,ze,ne,"\u22D8","\\lll",!0),q(Ae,ze,ne,"\u2276","\\lessgtr",!0),q(Ae,ze,ne,"\u22DA","\\lesseqgtr",!0),q(Ae,ze,ne,"\u2A8B","\\lesseqqgtr",!0),q(Ae,ze,ne,"\u2251","\\doteqdot"),q(Ae,ze,ne,"\u2253","\\risingdotseq",!0),q(Ae,ze,ne,"\u2252","\\fallingdotseq",!0),q(Ae,ze,ne,"\u223D","\\backsim",!0),q(Ae,ze,ne,"\u22CD","\\backsimeq",!0),q(Ae,ze,ne,"\u2AC5","\\subseteqq",!0),q(Ae,ze,ne,"\u22D0","\\Subset",!0),q(Ae,ze,ne,"\u228F","\\sqsubset",!0),q(Ae,ze,ne,"\u227C","\\preccurlyeq",!0),q(Ae,ze,ne,"\u22DE","\\curlyeqprec",!0),q(Ae,ze,ne,"\u227E","\\precsim",!0),q(Ae,ze,ne,"\u2AB7","\\precapprox",!0),q(Ae,ze,ne,"\u22B2","\\vartriangleleft"),q(Ae,ze,ne,"\u22B4","\\trianglelefteq"),q(Ae,ze,ne,"\u22A8","\\vDash",!0),q(Ae,ze,ne,"\u22AA","\\Vvdash",!0),q(Ae,ze,ne,"\u2323","\\smallsmile"),q(Ae,ze,ne,"\u2322","\\smallfrown"),q(Ae,ze,ne,"\u224F","\\bumpeq",!0),q(Ae,ze,ne,"\u224E","\\Bumpeq",!0),q(Ae,ze,ne,"\u2267","\\geqq",!0),q(Ae,ze,ne,"\u2A7E","\\geqslant",!0),q(Ae,ze,ne,"\u2A96","\\eqslantgtr",!0),q(Ae,ze,ne,"\u2273","\\gtrsim",!0),q(Ae,ze,ne,"\u2A86","\\gtrapprox",!0),q(Ae,ze,te,"\u22D7","\\gtrdot"),q(Ae,ze,ne,"\u22D9","\\ggg",!0),q(Ae,ze,ne,"\u2277","\\gtrless",!0),q(Ae,ze,ne,"\u22DB","\\gtreqless",!0),q(Ae,ze,ne,"\u2A8C","\\gtreqqless",!0),q(Ae,ze,ne,"\u2256","\\eqcirc",!0),q(Ae,ze,ne,"\u2257","\\circeq",!0),q(Ae,ze,ne,"\u225C","\\triangleq",!0),q(Ae,ze,ne,"\u223C","\\thicksim"),q(Ae,ze,ne,"\u2248","\\thickapprox"),q(Ae,ze,ne,"\u2AC6","\\supseteqq",!0),q(Ae,ze,ne,"\u22D1","\\Supset",!0),q(Ae,ze,ne,"\u2290","\\sqsupset",!0),q(Ae,ze,ne,"\u227D","\\succcurlyeq",!0),q(Ae,ze,ne,"\u22DF","\\curlyeqsucc",!0),q(Ae,ze,ne,"\u227F","\\succsim",!0),q(Ae,ze,ne,"\u2AB8","\\succapprox",!0),q(Ae,ze,ne,"\u22B3","\\vartriangleright"),q(Ae,ze,ne,"\u22B5","\\trianglerighteq"),q(Ae,ze,ne,"\u22A9","\\Vdash",!0),q(Ae,ze,ne,"\u2223","\\shortmid"),q(Ae,ze,ne,"\u2225","\\shortparallel"),q(Ae,ze,ne,"\u226C","\\between",!0),q(Ae,ze,ne,"\u22D4","\\pitchfork",!0),q(Ae,ze,ne,"\u221D","\\varpropto"),q(Ae,ze,ne,"\u25C0","\\blacktriangleleft"),q(Ae,ze,ne,"\u2234","\\therefore",!0),q(Ae,ze,ne,"\u220D","\\backepsilon"),q(Ae,ze,ne,"\u25B6","\\blacktriangleright"),q(Ae,ze,ne,"\u2235","\\because",!0),q(Ae,ze,ne,"\u22D8","\\llless"),q(Ae,ze,ne,"\u22D9","\\gggtr"),q(Ae,ze,te,"\u22B2","\\lhd"),q(Ae,ze,te,"\u22B3","\\rhd"),q(Ae,ze,ne,"\u2242","\\eqsim",!0),q(Ae,De,ne,"\u22C8","\\Join"),q(Ae,ze,ne,"\u2251","\\Doteq",!0),q(Ae,ze,te,"\u2214","\\dotplus",!0),q(Ae,ze,te,"\u2216","\\smallsetminus"),q(Ae,ze,te,"\u22D2","\\Cap",!0),q(Ae,ze,te,"\u22D3","\\Cup",!0),q(Ae,ze,te,"\u2A5E","\\doublebarwedge",!0),q(Ae,ze,te,"\u229F","\\boxminus",!0),q(Ae,ze,te,"\u229E","\\boxplus",!0),q(Ae,ze,te,"\u22C7","\\divideontimes",!0),q(Ae,ze,te,"\u22C9","\\ltimes",!0),q(Ae,ze,te,"\u22CA","\\rtimes",!0),q(Ae,ze,te,"\u22CB","\\leftthreetimes",!0),q(Ae,ze,te,"\u22CC","\\rightthreetimes",!0),q(Ae,ze,te,"\u22CF","\\curlywedge",!0),q(Ae,ze,te,"\u22CE","\\curlyvee",!0),q(Ae,ze,te,"\u229D","\\circleddash",!0),q(Ae,ze,te,"\u229B","\\circledast",!0),q(Ae,ze,te,"\u22C5","\\centerdot"),q(Ae,ze,te,"\u22BA","\\intercal",!0),q(Ae,ze,te,"\u22D2","\\doublecap"),q(Ae,ze,te,"\u22D3","\\doublecup"),q(Ae,ze,te,"\u22A0","\\boxtimes",!0),q(Ae,ze,ne,"\u21E2","\\dashrightarrow",!0),q(Ae,ze,ne,"\u21E0","\\dashleftarrow",!0),q(Ae,ze,ne,"\u21C7","\\leftleftarrows",!0),q(Ae,ze,ne,"\u21C6","\\leftrightarrows",!0),q(Ae,ze,ne,"\u21DA","\\Lleftarrow",!0),q(Ae,ze,ne,"\u219E","\\twoheadleftarrow",!0),q(Ae,ze,ne,"\u21A2","\\leftarrowtail",!0),q(Ae,ze,ne,"\u21AB","\\looparrowleft",!0),q(Ae,ze,ne,"\u21CB","\\leftrightharpoons",!0),q(Ae,ze,ne,"\u21B6","\\curvearrowleft",!0),q(Ae,ze,ne,"\u21BA","\\circlearrowleft",!0),q(Ae,ze,ne,"\u21B0","\\Lsh",!0),q(Ae,ze,ne,"\u21C8","\\upuparrows",!0),q(Ae,ze,ne,"\u21BF","\\upharpoonleft",!0),q(Ae,ze,ne,"\u21C3","\\downharpoonleft",!0),q(Ae,ze,ne,"\u22B8","\\multimap",!0),q(Ae,ze,ne,"\u21AD","\\leftrightsquigarrow",!0),q(Ae,ze,ne,"\u21C9","\\rightrightarrows",!0),q(Ae,ze,ne,"\u21C4","\\rightleftarrows",!0),q(Ae,ze,ne,"\u21A0","\\twoheadrightarrow",!0),q(Ae,ze,ne,"\u21A3","\\rightarrowtail",!0),q(Ae,ze,ne,"\u21AC","\\looparrowright",!0),q(Ae,ze,ne,"\u21B7","\\curvearrowright",!0),q(Ae,ze,ne,"\u21BB","\\circlearrowright",!0),q(Ae,ze,ne,"\u21B1","\\Rsh",!0),q(Ae,ze,ne,"\u21CA","\\downdownarrows",!0),q(Ae,ze,ne,"\u21BE","\\upharpoonright",!0),q(Ae,ze,ne,"\u21C2","\\downharpoonright",!0),q(Ae,ze,ne,"\u21DD","\\rightsquigarrow",!0),q(Ae,ze,ne,"\u21DD","\\leadsto"),q(Ae,ze,ne,"\u21DB","\\Rrightarrow",!0),q(Ae,ze,ne,"\u21BE","\\restriction"),q(Ae,De,ae,"\u2018","`"),q(Ae,De,ae,"$","\\$"),q(Me,De,ae,"$","\\$"),q(Me,De,ae,"$","\\textdollar"),q(Ae,De,ae,"%","\\%"),q(Me,De,ae,"%","\\%"),q(Ae,De,ae,"_","\\_"),q(Me,De,ae,"_","\\_"),q(Me,De,ae,"_","\\textunderscore"),q(Ae,De,ae,"\u2220","\\angle",!0),q(Ae,De,ae,"\u221E","\\infty",!0),q(Ae,De,ae,"\u2032","\\prime"),q(Ae,De,ae,"\u25B3","\\triangle"),q(Ae,De,ae,"\u0393","\\Gamma",!0),q(Ae,De,ae,"\u0394","\\Delta",!0),q(Ae,De,ae,"\u0398","\\Theta",!0),q(Ae,De,ae,"\u039B","\\Lambda",!0),q(Ae,De,ae,"\u039E","\\Xi",!0),q(Ae,De,ae,"\u03A0","\\Pi",!0),q(Ae,De,ae,"\u03A3","\\Sigma",!0),q(Ae,De,ae,"\u03A5","\\Upsilon",!0),q(Ae,De,ae,"\u03A6","\\Phi",!0),q(Ae,De,ae,"\u03A8","\\Psi",!0),q(Ae,De,ae,"\u03A9","\\Omega",!0),q(Ae,De,ae,"A","\u0391"),q(Ae,De,ae,"B","\u0392"),q(Ae,De,ae,"E","\u0395"),q(Ae,De,ae,"Z","\u0396"),q(Ae,De,ae,"H","\u0397"),q(Ae,De,ae,"I","\u0399"),q(Ae,De,ae,"K","\u039A"),q(Ae,De,ae,"M","\u039C"),q(Ae,De,ae,"N","\u039D"),q(Ae,De,ae,"O","\u039F"),q(Ae,De,ae,"P","\u03A1"),q(Ae,De,ae,"T","\u03A4"),q(Ae,De,ae,"X","\u03A7"),q(Ae,De,ae,"\xAC","\\neg",!0),q(Ae,De,ae,"\xAC","\\lnot"),q(Ae,De,ae,"\u22A4","\\top"),q(Ae,De,ae,"\u22A5","\\bot"),q(Ae,De,ae,"\u2205","\\emptyset"),q(Ae,ze,ae,"\u2205","\\varnothing"),q(Ae,De,Z,"\u03B1","\\alpha",!0),q(Ae,De,Z,"\u03B2","\\beta",!0),q(Ae,De,Z,"\u03B3","\\gamma",!0),q(Ae,De,Z,"\u03B4","\\delta",!0),q(Ae,De,Z,"\u03F5","\\epsilon",!0),q(Ae,De,Z,"\u03B6","\\zeta",!0),q(Ae,De,Z,"\u03B7","\\eta",!0),q(Ae,De,Z,"\u03B8","\\theta",!0),q(Ae,De,Z,"\u03B9","\\iota",!0),q(Ae,De,Z,"\u03BA","\\kappa",!0),q(Ae,De,Z,"\u03BB","\\lambda",!0),q(Ae,De,Z,"\u03BC","\\mu",!0),q(Ae,De,Z,"\u03BD","\\nu",!0),q(Ae,De,Z,"\u03BE","\\xi",!0),q(Ae,De,Z,"\u03BF","\\omicron",!0),q(Ae,De,Z,"\u03C0","\\pi",!0),q(Ae,De,Z,"\u03C1","\\rho",!0),q(Ae,De,Z,"\u03C3","\\sigma",!0),q(Ae,De,Z,"\u03C4","\\tau",!0),q(Ae,De,Z,"\u03C5","\\upsilon",!0),q(Ae,De,Z,"\u03D5","\\phi",!0),q(Ae,De,Z,"\u03C7","\\chi",!0),q(Ae,De,Z,"\u03C8","\\psi",!0),q(Ae,De,Z,"\u03C9","\\omega",!0),q(Ae,De,Z,"\u03B5","\\varepsilon",!0),q(Ae,De,Z,"\u03D1","\\vartheta",!0),q(Ae,De,Z,"\u03D6","\\varpi",!0),q(Ae,De,Z,"\u03F1","\\varrho",!0),q(Ae,De,Z,"\u03C2","\\varsigma",!0),q(Ae,De,Z,"\u03C6","\\varphi",!0),q(Ae,De,te,"\u2217","*"),q(Ae,De,te,"+","+"),q(Ae,De,te,"\u2212","-"),q(Ae,De,te,"\u22C5","\\cdot",!0),q(Ae,De,te,"\u2218","\\circ"),q(Ae,De,te,"\xF7","\\div",!0),q(Ae,De,te,"\xB1","\\pm",!0),q(Ae,De,te,"\xD7","\\times",!0),q(Ae,De,te,"\u2229","\\cap",!0),q(Ae,De,te,"\u222A","\\cup",!0),q(Ae,De,te,"\u2216","\\setminus"),q(Ae,De,te,"\u2227","\\land"),q(Ae,De,te,"\u2228","\\lor"),q(Ae,De,te,"\u2227","\\wedge",!0),q(Ae,De,te,"\u2228","\\vee",!0),q(Ae,De,ae,"\u221A","\\surd"),q(Ae,De,he,"(","("),q(Ae,De,he,"[","["),q(Ae,De,he,"\u27E8","\\langle",!0),q(Ae,De,he,"\u2223","\\lvert"),q(Ae,De,he,"\u2225","\\lVert"),q(Ae,De,be,")",")"),q(Ae,De,be,"]","]"),q(Ae,De,be,"?","?"),q(Ae,De,be,"!","!"),q(Ae,De,be,"\u27E9","\\rangle",!0),q(Ae,De,be,"\u2223","\\rvert"),q(Ae,De,be,"\u2225","\\rVert"),q(Ae,De,ne,"=","="),q(Ae,De,ne,"<","<"),q(Ae,De,ne,">",">"),q(Ae,De,ne,":",":"),q(Ae,De,ne,"\u2248","\\approx",!0),q(Ae,De,ne,"\u2245","\\cong",!0),q(Ae,De,ne,"\u2265","\\ge"),q(Ae,De,ne,"\u2265","\\geq",!0),q(Ae,De,ne,"\u2190","\\gets"),q(Ae,De,ne,">","\\gt"),q(Ae,De,ne,"\u2208","\\in",!0),q(Ae,De,ne,"\uE020","\\@not"),q(Ae,De,ne,"\u2282","\\subset",!0),q(Ae,De,ne,"\u2283","\\supset",!0),q(Ae,De,ne,"\u2286","\\subseteq",!0),q(Ae,De,ne,"\u2287","\\supseteq",!0),q(Ae,ze,ne,"\u2288","\\nsubseteq",!0),q(Ae,ze,ne,"\u2289","\\nsupseteq",!0),q(Ae,De,ne,"\u22A8","\\models"),q(Ae,De,ne,"\u2190","\\leftarrow",!0),q(Ae,De,ne,"\u2264","\\le"),q(Ae,De,ne,"\u2264","\\leq",!0),q(Ae,De,ne,"<","\\lt"),q(Ae,De,ne,"\u2192","\\rightarrow",!0),q(Ae,De,ne,"\u2192","\\to"),q(Ae,ze,ne,"\u2271","\\ngeq",!0),q(Ae,ze,ne,"\u2270","\\nleq",!0),q(Ae,De,ce,"\xA0","\\ "),q(Ae,De,ce,"\xA0","~"),q(Ae,De,ce,"\xA0","\\space"),q(Ae,De,ce,"\xA0","\\nobreakspace"),q(Me,De,ce,"\xA0","\\ "),q(Me,De,ce,"\xA0","~"),q(Me,De,ce,"\xA0","\\space"),q(Me,De,ce,"\xA0","\\nobreakspace"),q(Ae,De,ce,null,"\\nobreak"),q(Ae,De,ce,null,"\\allowbreak"),q(Ae,De,Oe,",",","),q(Ae,De,Oe,";",";"),q(Ae,ze,te,"\u22BC","\\barwedge",!0),q(Ae,ze,te,"\u22BB","\\veebar",!0),q(Ae,De,te,"\u2299","\\odot",!0),q(Ae,De,te,"\u2295","\\oplus",!0),q(Ae,De,te,"\u2297","\\otimes",!0),q(Ae,De,ae,"\u2202","\\partial",!0),q(Ae,De,te,"\u2298","\\oslash",!0),q(Ae,ze,te,"\u229A","\\circledcirc",!0),q(Ae,ze,te,"\u22A1","\\boxdot",!0),q(Ae,De,te,"\u25B3","\\bigtriangleup"),q(Ae,De,te,"\u25BD","\\bigtriangledown"),q(Ae,De,te,"\u2020","\\dagger"),q(Ae,De,te,"\u22C4","\\diamond"),q(Ae,De,te,"\u22C6","\\star"),q(Ae,De,te,"\u25C3","\\triangleleft"),q(Ae,De,te,"\u25B9","\\triangleright"),q(Ae,De,he,"{","\\{"),q(Me,De,ae,"{","\\{"),q(Me,De,ae,"{","\\textbraceleft"),q(Ae,De,be,"}","\\}"),q(Me,De,ae,"}","\\}"),q(Me,De,ae,"}","\\textbraceright"),q(Ae,De,he,"{","\\lbrace"),q(Ae,De,be,"}","\\rbrace"),q(Ae,De,he,"[","\\lbrack"),q(Me,De,ae,"[","\\lbrack"),q(Ae,De,be,"]","\\rbrack"),q(Me,De,ae,"]","\\rbrack"),q(Ae,De,he,"(","\\lparen"),q(Ae,De,be,")","\\rparen"),q(Me,De,ae,"<","\\textless"),q(Me,De,ae,">","\\textgreater"),q(Ae,De,he,"\u230A","\\lfloor",!0),q(Ae,De,be,"\u230B","\\rfloor",!0),q(Ae,De,he,"\u2308","\\lceil",!0),q(Ae,De,be,"\u2309","\\rceil",!0),q(Ae,De,ae,"\\","\\backslash"),q(Ae,De,ae,"\u2223","|"),q(Ae,De,ae,"\u2223","\\vert"),q(Me,De,ae,"|","\\textbar"),q(Ae,De,ae,"\u2225","\\|"),q(Ae,De,ae,"\u2225","\\Vert"),q(Me,De,ae,"\u2225","\\textbardbl"),q(Me,De,ae,"~","\\textasciitilde"),q(Me,De,ae,"\\","\\textbackslash"),q(Me,De,ae,"^","\\textasciicircum"),q(Ae,De,ne,"\u2191","\\uparrow",!0),q(Ae,De,ne,"\u21D1","\\Uparrow",!0),q(Ae,De,ne,"\u2193","\\downarrow",!0),q(Ae,De,ne,"\u21D3","\\Downarrow",!0),q(Ae,De,ne,"\u2195","\\updownarrow",!0),q(Ae,De,ne,"\u21D5","\\Updownarrow",!0),q(Ae,De,se,"\u2210","\\coprod"),q(Ae,De,se,"\u22C1","\\bigvee"),q(Ae,De,se,"\u22C0","\\bigwedge"),q(Ae,De,se,"\u2A04","\\biguplus"),q(Ae,De,se,"\u22C2","\\bigcap"),q(Ae,De,se,"\u22C3","\\bigcup"),q(Ae,De,se,"\u222B","\\int"),q(Ae,De,se,"\u222B","\\intop"),q(Ae,De,se,"\u222C","\\iint"),q(Ae,De,se,"\u222D","\\iiint"),q(Ae,De,se,"\u220F","\\prod"),q(Ae,De,se,"\u2211","\\sum"),q(Ae,De,se,"\u2A02","\\bigotimes"),q(Ae,De,se,"\u2A01","\\bigoplus"),q(Ae,De,se,"\u2A00","\\bigodot"),q(Ae,De,se,"\u222E","\\oint"),q(Ae,De,se,"\u222F","\\oiint"),q(Ae,De,se,"\u2230","\\oiiint"),q(Ae,De,se,"\u2A06","\\bigsqcup"),q(Ae,De,se,"\u222B","\\smallint"),q(Me,De,xe,"\u2026","\\textellipsis"),q(Ae,De,xe,"\u2026","\\mathellipsis"),q(Me,De,xe,"\u2026","\\ldots",!0),q(Ae,De,xe,"\u2026","\\ldots",!0),q(Ae,De,xe,"\u22EF","\\@cdots",!0),q(Ae,De,xe,"\u22F1","\\ddots",!0),q(Ae,De,ae,"\u22EE","\\varvdots"),q(Ae,De,pe,"\u02CA","\\acute"),q(Ae,De,pe,"\u02CB","\\grave"),q(Ae,De,pe,"\xA8","\\ddot"),q(Ae,De,pe,"~","\\tilde"),q(Ae,De,pe,"\u02C9","\\bar"),q(Ae,De,pe,"\u02D8","\\breve"),q(Ae,De,pe,"\u02C7","\\check"),q(Ae,De,pe,"^","\\hat"),q(Ae,De,pe,"\u20D7","\\vec"),q(Ae,De,pe,"\u02D9","\\dot"),q(Ae,De,pe,"\u02DA","\\mathring"),q(Ae,De,Z,"\u0131","\\imath",!0),q(Ae,De,Z,"\u0237","\\jmath",!0),q(Me,De,ae,"\u0131","\\i",!0),q(Me,De,ae,"\u0237","\\j",!0),q(Me,De,ae,"\xDF","\\ss",!0),q(Me,De,ae,"\xE6","\\ae",!0),q(Me,De,ae,"\xE6","\\ae",!0),q(Me,De,ae,"\u0153","\\oe",!0),q(Me,De,ae,"\xF8","\\o",!0),q(Me,De,ae,"\xC6","\\AE",!0),q(Me,De,ae,"\u0152","\\OE",!0),q(Me,De,ae,"\xD8","\\O",!0),q(Me,De,pe,"\u02CA","\\'"),q(Me,De,pe,"\u02CB","\\`"),q(Me,De,pe,"\u02C6","\\^"),q(Me,De,pe,"\u02DC","\\~"),q(Me,De,pe,"\u02C9","\\="),q(Me,De,pe,"\u02D8","\\u"),q(Me,De,pe,"\u02D9","\\."),q(Me,De,pe,"\u02DA","\\r"),q(Me,De,pe,"\u02C7","\\v"),q(Me,De,pe,"\xA8",'\\"'),q(Me,De,pe,"\u02DD","\\H"),q(Me,De,pe,"\u25EF","\\textcircled");var Ee={"--":!0,"---":!0,"``":!0,"''":!0};q(Me,De,ae,"\u2013","--"),q(Me,De,ae,"\u2013","\\textendash"),q(Me,De,ae,"\u2014","---"),q(Me,De,ae,"\u2014","\\textemdash"),q(Me,De,ae,"\u2018","`"),q(Me,De,ae,"\u2018","\\textquoteleft"),q(Me,De,ae,"\u2019","'"),q(Me,De,ae,"\u2019","\\textquoteright"),q(Me,De,ae,"\u201C","``"),q(Me,De,ae,"\u201C","\\textquotedblleft"),q(Me,De,ae,"\u201D","''"),q(Me,De,ae,"\u201D","\\textquotedblright"),q(Ae,De,ae,"\xB0","\\degree",!0),q(Me,De,ae,"\xB0","\\degree"),q(Me,De,ae,"\xB0","\\textdegree",!0),q(Ae,De,Z,"\xA3","\\pounds"),q(Ae,De,Z,"\xA3","\\mathsterling",!0),q(Me,De,Z,"\xA3","\\pounds"),q(Me,De,Z,"\xA3","\\textsterling",!0),q(Ae,ze,ae,"\u2720","\\maltese"),q(Me,ze,ae,"\u2720","\\maltese"),q(Me,De,ce,"\xA0","\\ "),q(Me,De,ce,"\xA0"," "),q(Me,De,ce,"\xA0","~");for(var ye='0123456789/@."',Te=0;Te<ye.length;Te++){var je=ye.charAt(Te);q(Ae,De,ae,je,je)}for(var qe='0123456789!@*()-=+[]<>|";:?/.,',Le=0;Le<qe.length;Le++){var ke=qe.charAt(Le);q(Me,De,ae,ke,ke)}for(var tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",st=0;st<tt.length;st++){var _t=tt.charAt(st);q(Ae,De,Z,_t,_t),q(Me,De,ae,_t,_t)}q(Ae,ze,ae,"C","\u2102"),q(Me,ze,ae,"C","\u2102"),q(Ae,ze,ae,"H","\u210D"),q(Me,ze,ae,"H","\u210D"),q(Ae,ze,ae,"N","\u2115"),q(Me,ze,ae,"N","\u2115"),q(Ae,ze,ae,"P","\u2119"),q(Me,ze,ae,"P","\u2119"),q(Ae,ze,ae,"Q","\u211A"),q(Me,ze,ae,"Q","\u211A"),q(Ae,ze,ae,"R","\u211D"),q(Me,ze,ae,"R","\u211D"),q(Ae,ze,ae,"Z","\u2124"),q(Me,ze,ae,"Z","\u2124"),q(Ae,De,Z,"h","\u210E"),q(Me,De,Z,"h","\u210E");for(var Ct="",Rt=0;Rt<tt.length;Rt++){var Wt=tt.charAt(Rt);Ct=String.fromCharCode(55349,56320+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56372+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56424+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56580+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56736+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56788+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56840+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56944+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Rt<26&&(Ct=String.fromCharCode(55349,56632+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct),Ct=String.fromCharCode(55349,56476+Rt),q(Ae,De,Z,Wt,Ct),q(Me,De,ae,Wt,Ct))}Ct=String.fromCharCode(55349,56668),q(Ae,De,Z,"k",Ct),q(Me,De,ae,"k",Ct);for(var vt=0;vt<10;vt++){var Je=vt.toString();Ct=String.fromCharCode(55349,57294+vt),q(Ae,De,Z,Je,Ct),q(Me,De,ae,Je,Ct),Ct=String.fromCharCode(55349,57314+vt),q(Ae,De,Z,Je,Ct),q(Me,De,ae,Je,Ct),Ct=String.fromCharCode(55349,57324+vt),q(Ae,De,Z,Je,Ct),q(Me,De,ae,Je,Ct),Ct=String.fromCharCode(55349,57334+vt),q(Ae,De,Z,Je,Ct),q(Me,De,ae,Je,Ct)}for(var Yt="\xC7\xD0\xDE\xE7\xFE",Ht=0;Ht<Yt.length;Ht++){var nr=Yt.charAt(Ht);q(Ae,De,Z,nr,nr),q(Me,De,ae,nr,nr)}q(Me,De,ae,"\xF0","\xF0"),q(Me,De,ae,"\u2013","\u2013"),q(Me,De,ae,"\u2014","\u2014"),q(Me,De,ae,"\u2018","\u2018"),q(Me,De,ae,"\u2019","\u2019"),q(Me,De,ae,"\u201C","\u201C"),q(Me,De,ae,"\u201D","\u201D");var ir=[["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"]],Zt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Mt=function(X,re){var le=X.charCodeAt(0),we=X.charCodeAt(1),Xe=(le-55296)*1024+(we-56320)+65536,xt=re==="math"?0:1;if(119808<=Xe&&Xe<120484){var tr=Math.floor((Xe-119808)/26);return[ir[tr][2],ir[tr][xt]]}else if(120782<=Xe&&Xe<=120831){var ur=Math.floor((Xe-120782)/10);return[Zt[ur][2],Zt[ur][xt]]}else{if(Xe===120485||Xe===120486)return[ir[0][2],ir[0][xt]];if(120486<Xe&&Xe<120782)return["",""];throw new f("Unsupported character: "+X)}},pt=[[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]],Tt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],mt=function(X,re){return re.size<2?X:pt[X-1][re.size-1]},Jt=function(){function Bt(re){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=re.style,this.color=re.color,this.size=re.size||Bt.BASESIZE,this.textSize=re.textSize||this.size,this.phantom=!!re.phantom,this.font=re.font||"",this.fontFamily=re.fontFamily||"",this.fontWeight=re.fontWeight||"",this.fontShape=re.fontShape||"",this.sizeMultiplier=Tt[this.size-1],this.maxSize=re.maxSize,this.minRuleThickness=re.minRuleThickness,this._fontMetrics=void 0}var X=Bt.prototype;return X.extend=function(le){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 Xe in le)le.hasOwnProperty(Xe)&&(we[Xe]=le[Xe]);return new Bt(we)},X.havingStyle=function(le){return this.style===le?this:this.extend({style:le,size:mt(this.textSize,le)})},X.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},X.havingSize=function(le){return this.size===le&&this.textSize===le?this:this.extend({style:this.style.text(),size:le,textSize:le,sizeMultiplier:Tt[le-1]})},X.havingBaseStyle=function(le){le=le||this.style.text();var we=mt(Bt.BASESIZE,le);return this.size===we&&this.textSize===Bt.BASESIZE&&this.style===le?this:this.extend({style:le,size:we})},X.havingBaseSizing=function(){var le;switch(this.style.id){case 4:case 5:le=3;break;case 6:case 7:le=1;break;default:le=6}return this.extend({style:this.style.text(),size:le})},X.withColor=function(le){return this.extend({color:le})},X.withPhantom=function(){return this.extend({phantom:!0})},X.withFont=function(le){return this.extend({font:le})},X.withTextFontFamily=function(le){return this.extend({fontFamily:le,font:""})},X.withTextFontWeight=function(le){return this.extend({fontWeight:le,font:""})},X.withTextFontShape=function(le){return this.extend({fontShape:le,font:""})},X.sizingClasses=function(le){return le.size!==this.size?["sizing","reset-size"+le.size,"size"+this.size]:[]},X.baseSizingClasses=function(){return this.size!==Bt.BASESIZE?["sizing","reset-size"+this.size,"size"+Bt.BASESIZE]:[]},X.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=bt(this.size)),this._fontMetrics},X.getColor=function(){return this.phantom?"transparent":this.color},Bt}();Jt.BASESIZE=6;var or=Jt,ut={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},ht={ex:!0,em:!0,mu:!0},qt=function(X){return typeof X!="string"&&(X=X.unit),X in ut||X in ht||X==="ex"},Nt=function(X,re){var le;if(X.unit in ut)le=ut[X.unit]/re.fontMetrics().ptPerEm/re.sizeMultiplier;else if(X.unit==="mu")le=re.fontMetrics().cssEmPerMu;else{var we;if(re.style.isTight()?we=re.havingStyle(re.style.text()):we=re,X.unit==="ex")le=we.fontMetrics().xHeight;else if(X.unit==="em")le=we.fontMetrics().quad;else throw new f("Invalid unit: '"+X.unit+"'");we!==re&&(le*=we.sizeMultiplier/re.sizeMultiplier)}return Math.min(X.number*le,re.maxSize)},Qt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],at=function(X,re,le){return Ye[le][X]&&Ye[le][X].replace&&(X=Ye[le][X].replace),{value:X,metrics:Xt(X,re,le)}},Ue=function(X,re,le,we,Xe){var xt=at(X,re,le),tr=xt.metrics;X=xt.value;var ur;if(tr){var br=tr.italic;(le==="text"||we&&we.font==="mathit")&&(br=0),ur=new Ft(X,tr.height,tr.depth,br,tr.skew,tr.width,Xe)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+X+"' in style '"+re+"' and mode '"+le+"'")),ur=new Ft(X,0,0,0,0,0,Xe);if(we){ur.maxFontSize=we.sizeMultiplier,we.style.isTight()&&ur.classes.push("mtight");var Qr=we.getColor();Qr&&(ur.style.color=Qr)}return ur},ot=function(X,re,le,we){return we===void 0&&(we=[]),le.font==="boldsymbol"&&at(X,"Main-Bold",re).metrics?Ue(X,"Main-Bold",re,le,we.concat(["mathbf"])):X==="\\"||Ye[re][X].font==="main"?Ue(X,"Main-Regular",re,le,we):Ue(X,"AMS-Regular",re,le,we.concat(["amsrm"]))},it=function(X,re,le,we){return/[0-9]/.test(X.charAt(0))||h.contains(Qt,X)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},zt=function(X,re,le,we){return h.contains(Qt,X)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(X.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ar=function(X,re,le,we){return at(X,"Math-BoldItalic",re).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},dr=function(X,re,le){var we=X.mode,Xe=X.text,xt=["mord"],tr=we==="math"||we==="text"&&re.font,ur=tr?re.font:re.fontFamily;if(Xe.charCodeAt(0)===55349){var br=Mt(Xe,we),Qr=br[0],an=br[1];return Ue(Xe,Qr,we,re,xt.concat(an))}else if(ur){var yn,Ln;if(ur==="boldsymbol"||ur==="mathnormal"){var Rn=ur==="boldsymbol"?ar(Xe,we,re,xt):zt(Xe,we,re,xt);yn=Rn.fontName,Ln=[Rn.fontClass]}else h.contains(Qt,Xe)?(yn="Main-Italic",Ln=["mathit"]):tr?(yn=Wn[ur].fontName,Ln=[ur]):(yn=bn(ur,re.fontWeight,re.fontShape),Ln=[ur,re.fontWeight,re.fontShape]);if(at(Xe,yn,we).metrics)return Ue(Xe,yn,we,re,xt.concat(Ln));if(Ee.hasOwnProperty(Xe)&&yn.substr(0,10)==="Typewriter"){for(var ma=[],Ha=0;Ha<Xe.length;Ha++)ma.push(Ue(Xe[Ha],yn,we,re,xt.concat(Ln)));return zn(ma)}}if(le==="mathord"){var wi=it(Xe,we,re,xt);return Ue(Xe,wi.fontName,we,re,xt.concat([wi.fontClass]))}else if(le==="textord"){var Di=Ye[we][Xe]&&Ye[we][Xe].font;if(Di==="ams"){var Oi=bn("amsrm",re.fontWeight,re.fontShape);return Ue(Xe,Oi,we,re,xt.concat("amsrm",re.fontWeight,re.fontShape))}else if(Di==="main"||!Di){var po=bn("textrm",re.fontWeight,re.fontShape);return Ue(Xe,po,we,re,xt.concat(re.fontWeight,re.fontShape))}else{var mo=bn(Di,re.fontWeight,re.fontShape);return Ue(Xe,mo,we,re,xt.concat(mo,re.fontWeight,re.fontShape))}}else throw new Error("unexpected type: "+le+" in makeOrd")},pr=function(X,re){if(Re(X.classes)!==Re(re.classes)||X.skew!==re.skew||X.maxFontSize!==re.maxFontSize)return!1;for(var le in X.style)if(X.style.hasOwnProperty(le)&&X.style[le]!==re.style[le])return!1;for(var we in re.style)if(re.style.hasOwnProperty(we)&&X.style[we]!==re.style[we])return!1;return!0},Tr=function(X){for(var re=0;re<X.length-1;re++){var le=X[re],we=X[re+1];le instanceof Ft&&we instanceof Ft&&pr(le,we)&&(le.text+=we.text,le.height=Math.max(le.height,we.height),le.depth=Math.max(le.depth,we.depth),le.italic=we.italic,X.splice(re+1,1),re--)}return X},Lr=function(X){for(var re=0,le=0,we=0,Xe=0;Xe<X.children.length;Xe++){var xt=X.children[Xe];xt.height>re&&(re=xt.height),xt.depth>le&&(le=xt.depth),xt.maxFontSize>we&&(we=xt.maxFontSize)}X.height=re,X.depth=le,X.maxFontSize=we},Yr=function(X,re,le,we){var Xe=new dt(X,re,le,we);return Lr(Xe),Xe},Jr=function(X,re,le,we){return new dt(X,re,le,we)},hn=function(X,re,le){var we=Yr([X],[],re);return we.height=Math.max(le||re.fontMetrics().defaultRuleThickness,re.minRuleThickness),we.style.borderBottomWidth=we.height+"em",we.maxFontSize=1,we},yr=function(X,re,le,we){var Xe=new et(X,re,le,we);return Lr(Xe),Xe},zn=function(X){var re=new ue(X);return Lr(re),re},xn=function(X,re){return X instanceof ue?Yr([],[X],re):X},In=function(X){if(X.positionType==="individualShift"){for(var re=X.children,le=[re[0]],we=-re[0].shift-re[0].elem.depth,Xe=we,xt=1;xt<re.length;xt++){var tr=-re[xt].shift-Xe-re[xt].elem.depth,ur=tr-(re[xt-1].elem.height+re[xt-1].elem.depth);Xe=Xe+tr,le.push({type:"kern",size:ur}),le.push(re[xt])}return{children:le,depth:we}}var br;if(X.positionType==="top"){for(var Qr=X.positionData,an=0;an<X.children.length;an++){var yn=X.children[an];Qr-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}br=Qr}else if(X.positionType==="bottom")br=-X.positionData;else{var Ln=X.children[0];if(Ln.type!=="elem")throw new Error('First child must have type "elem".');if(X.positionType==="shift")br=-Ln.elem.depth-X.positionData;else if(X.positionType==="firstBaseline")br=-Ln.elem.depth;else throw new Error("Invalid positionType "+X.positionType+".")}return{children:X.children,depth:br}},Qn=function(X,re){for(var le=In(X),we=le.children,Xe=le.depth,xt=0,tr=0;tr<we.length;tr++){var ur=we[tr];if(ur.type==="elem"){var br=ur.elem;xt=Math.max(xt,br.maxFontSize,br.height)}}xt+=2;var Qr=Yr(["pstrut"],[]);Qr.style.height=xt+"em";for(var an=[],yn=Xe,Ln=Xe,Rn=Xe,ma=0;ma<we.length;ma++){var Ha=we[ma];if(Ha.type==="kern")Rn+=Ha.size;else{var wi=Ha.elem,Di=Ha.wrapperClasses||[],Oi=Ha.wrapperStyle||{},po=Yr(Di,[Qr,wi],void 0,Oi);po.style.top=-xt-Rn-wi.depth+"em",Ha.marginLeft&&(po.style.marginLeft=Ha.marginLeft),Ha.marginRight&&(po.style.marginRight=Ha.marginRight),an.push(po),Rn+=wi.height+wi.depth}yn=Math.min(yn,Rn),Ln=Math.max(Ln,Rn)}var mo=Yr(["vlist"],an);mo.style.height=Ln+"em";var Eo;if(yn<0){var Bo=Yr([],[]),No=Yr(["vlist"],[Bo]);No.style.height=-yn+"em";var Go=Yr(["vlist-s"],[new Ft("\u200B")]);Eo=[Yr(["vlist-r"],[mo,Go]),Yr(["vlist-r"],[No])]}else Eo=[Yr(["vlist-r"],[mo])];var Yo=Yr(["vlist-t"],Eo);return Eo.length===2&&Yo.classes.push("vlist-t2"),Yo.height=Ln,Yo.depth=-yn,Yo},Cn=function(X,re){var le=Yr(["mspace"],[],re),we=Nt(X,re);return le.style.marginRight=we+"em",le},bn=function(X,re,le){var we="";switch(X){case"amsrm":we="AMS";break;case"textrm":we="Main";break;case"textsf":we="SansSerif";break;case"texttt":we="Typewriter";break;default:we=X}var Xe;return re==="textbf"&&le==="textit"?Xe="BoldItalic":re==="textbf"?Xe="Bold":re==="textit"?Xe="Italic":Xe="Regular",we+"-"+Xe},Wn={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"}},Vn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},oa=function(X,re){var le=Vn[X],we=le[0],Xe=le[1],xt=le[2],tr=new $e(we),ur=new St([tr],{width:Xe+"em",height:xt+"em",style:"width:"+Xe+"em",viewBox:"0 0 "+1e3*Xe+" "+1e3*xt,preserveAspectRatio:"xMinYMin"}),br=Jr(["overlay"],[ur],re);return br.height=xt,br.style.height=xt+"em",br.style.width=Xe+"em",br},kr={fontMap:Wn,makeSymbol:Ue,mathsym:ot,makeSpan:Yr,makeSvgSpan:Jr,makeLineSpan:hn,makeAnchor:yr,makeFragment:zn,wrapFragment:xn,makeVList:Qn,makeOrd:dr,makeGlue:Cn,staticSvg:oa,svgData:Vn,tryCombineChars:Tr};function kn(Bt,X){var re=Pn(Bt,X);if(!re)throw new Error("Expected node of type "+X+", but got "+(Bt?"node of type "+Bt.type:String(Bt)));return re}function Pn(Bt,X){return Bt&&Bt.type===X?Bt:null}function Ma(Bt,X){var re=Oa(Bt,X);if(!re)throw new Error('Expected node of type "atom" and family "'+X+'", but got '+(Bt?Bt.type==="atom"?"atom of family "+Bt.family:"node of type "+Bt.type:String(Bt)));return re}function Oa(Bt,X){return Bt&&Bt.type==="atom"&&Bt.family===X?Bt:null}function ba(Bt){var X=La(Bt);if(!X)throw new Error("Expected node of symbol group type, but got "+(Bt?"node of type "+Bt.type:String(Bt)));return X}function La(Bt){return Bt&&(Bt.type==="atom"||Kt.hasOwnProperty(Bt.type))?Bt:null}var Hn={number:3,unit:"mu"},Ir={number:4,unit:"mu"},xr={number:5,unit:"mu"},Xr={mord:{mop:Hn,mbin:Ir,mrel:xr,minner:Hn},mop:{mord:Hn,mop:Hn,mrel:xr,minner:Hn},mbin:{mord:Ir,mop:Ir,mopen:Ir,minner:Ir},mrel:{mord:xr,mop:xr,mopen:xr,minner:xr},mopen:{},mclose:{mop:Hn,mbin:Ir,mrel:xr,minner:Hn},mpunct:{mord:Hn,mop:Hn,mrel:xr,mopen:Hn,mclose:Hn,mpunct:Hn,minner:Hn},minner:{mord:Hn,mop:Hn,mbin:Ir,mrel:xr,mopen:Hn,mpunct:Hn,minner:Hn}},Cr={mord:{mop:Hn},mop:{mord:Hn,mop:Hn},mbin:{},mrel:{},mopen:{},mclose:{mop:Hn},mpunct:{},minner:{mop:Hn}},Hr={},Fr={},jr={};function wr(Bt){for(var X=Bt.type,re=Bt.names,le=Bt.props,we=Bt.handler,Xe=Bt.htmlBuilder,xt=Bt.mathmlBuilder,tr={type:X,numArgs:le.numArgs,argTypes:le.argTypes,greediness:le.greediness===void 0?1:le.greediness,allowedInText:!!le.allowedInText,allowedInMath:le.allowedInMath===void 0?!0:le.allowedInMath,numOptionalArgs:le.numOptionalArgs||0,infix:!!le.infix,handler:we},ur=0;ur<re.length;++ur)Hr[re[ur]]=tr;X&&(Xe&&(Fr[X]=Xe),xt&&(jr[X]=xt))}function pn(Bt){var X=Bt.type,re=Bt.htmlBuilder,le=Bt.mathmlBuilder;wr({type:X,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:re,mathmlBuilder:le})}var un=function(X){var re=Pn(X,"ordgroup");return re?re.body:[X]},jn=kr.makeSpan,Xn=["leftmost","mbin","mopen","mrel","mop","mpunct"],ca=["rightmost","mrel","mclose","mpunct"],ti={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT},Ia={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},aa=function(X,re,le,we){we===void 0&&(we=[null,null]);for(var Xe=[],xt=0;xt<X.length;xt++){var tr=ha(X[xt],re);if(tr instanceof ue){var ur=tr.children;Xe.push.apply(Xe,ur)}else Xe.push(tr)}if(!le)return Xe;var br=re;if(X.length===1){var Qr=Pn(X[0],"sizing")||Pn(X[0],"styling");Qr&&(Qr.type==="sizing"?br=re.havingSize(Qr.size):Qr.type==="styling"&&(br=re.havingStyle(ti[Qr.style])))}var an=jn([we[0]||"leftmost"],[],re),yn=jn([we[1]||"rightmost"],[],re);return za(Xe,function(Ln,Rn){var ma=Rn.classes[0],Ha=Ln.classes[0];ma==="mbin"&&h.contains(ca,Ha)?Rn.classes[0]="mord":Ha==="mbin"&&h.contains(Xn,ma)&&(Ln.classes[0]="mord")},{node:an},yn),za(Xe,function(Ln,Rn){var ma=yi(Rn),Ha=yi(Ln),wi=ma&&Ha?Ln.hasClass("mtight")?Cr[ma][Ha]:Xr[ma][Ha]:null;if(wi)return kr.makeGlue(wi,br)},{node:an},yn),Xe},za=function Bt(X,re,le,we){we&&X.push(we);for(var Xe=0;Xe<X.length;Xe++){var xt=X[Xe],tr=ci(xt);if(tr){Bt(tr.children,re,le);continue}if(xt.classes[0]!=="mspace"){var ur=re(xt,le.node);ur&&(le.insertAfter?le.insertAfter(ur):(X.unshift(ur),Xe++)),le.node=xt,le.insertAfter=function(br){return function(Qr){X.splice(br+1,0,Qr),Xe++}}(Xe)}}we&&X.pop()},ci=function(X){return X instanceof ue||X instanceof et?X:null},qa=function Bt(X,re){var le=ci(X);if(le){var we=le.children;if(we.length){if(re==="right")return Bt(we[we.length-1],"right");if(re==="left")return Bt(we[0],"left")}}return X},yi=function(X,re){return X?(re&&(X=qa(X,re)),Ia[X.classes[0]]||null):null},Li=function(X,re){var le=["nulldelimiter"].concat(X.baseSizingClasses());return jn(re.concat(le))},ha=function(X,re,le){if(!X)return jn();if(Fr[X.type]){var we=Fr[X.type](X,re);if(le&&re.size!==le.size){we=jn(re.sizingClasses(le),[we],re);var Xe=re.sizeMultiplier/le.sizeMultiplier;we.height*=Xe,we.depth*=Xe}return we}else throw new f("Got group of unknown type: '"+X.type+"'")};function ka(Bt,X){var re=jn(["base"],Bt,X),le=jn(["strut"]);return le.style.height=re.height+re.depth+"em",le.style.verticalAlign=-re.depth+"em",re.children.unshift(le),re}function Hi(Bt,X){var re=null;Bt.length===1&&Bt[0].type==="tag"&&(re=Bt[0].tag,Bt=Bt[0].body);for(var le=aa(Bt,X,!0),we=[],Xe=[],xt=0;xt<le.length;xt++)if(Xe.push(le[xt]),le[xt].hasClass("mbin")||le[xt].hasClass("mrel")||le[xt].hasClass("allowbreak")){for(var tr=!1;xt<le.length-1&&le[xt+1].hasClass("mspace")&&!le[xt+1].hasClass("newline");)xt++,Xe.push(le[xt]),le[xt].hasClass("nobreak")&&(tr=!0);tr||(we.push(ka(Xe,X)),Xe=[])}else le[xt].hasClass("newline")&&(Xe.pop(),Xe.length>0&&(we.push(ka(Xe,X)),Xe=[]),we.push(le[xt]));Xe.length>0&&we.push(ka(Xe,X));var ur;re&&(ur=ka(aa(re,X,!0)),ur.classes=["tag"],we.push(ur));var br=jn(["katex-html"],we);if(br.setAttribute("aria-hidden","true"),ur){var Qr=ur.children[0];Qr.style.height=br.height+br.depth+"em",Qr.style.verticalAlign=-br.depth+"em"}return br}function ao(Bt){return new ue(Bt)}var Qi=function(){function Bt(re,le){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=re,this.attributes={},this.children=le||[]}var X=Bt.prototype;return X.setAttribute=function(le,we){this.attributes[le]=we},X.getAttribute=function(le){return this.attributes[le]},X.toNode=function(){var le=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&le.setAttribute(we,this.attributes[we]);for(var Xe=0;Xe<this.children.length;Xe++)le.appendChild(this.children[Xe].toNode());return le},X.toMarkup=function(){var le="<"+this.type;for(var we in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,we)&&(le+=" "+we+'="',le+=h.escape(this.attributes[we]),le+='"');le+=">";for(var Xe=0;Xe<this.children.length;Xe++)le+=this.children[Xe].toMarkup();return le+="</"+this.type+">",le},X.toText=function(){return this.children.map(function(le){return le.toText()}).join("")},Bt}(),ta=function(){function Bt(re){this.text=void 0,this.text=re}var X=Bt.prototype;return X.toNode=function(){return document.createTextNode(this.text)},X.toMarkup=function(){return h.escape(this.toText())},X.toText=function(){return this.text},Bt}(),la=function(){function Bt(re){this.width=void 0,this.character=void 0,this.width=re,re>=.05555&&re<=.05556?this.character="\u200A":re>=.1666&&re<=.1667?this.character="\u2009":re>=.2222&&re<=.2223?this.character="\u2005":re>=.2777&&re<=.2778?this.character="\u2005\u200A":re>=-.05556&&re<=-.05555?this.character="\u200A\u2063":re>=-.1667&&re<=-.1666?this.character="\u2009\u2063":re>=-.2223&&re<=-.2222?this.character="\u205F\u2063":re>=-.2778&&re<=-.2777?this.character="\u2005\u2063":this.character=null}var X=Bt.prototype;return X.toNode=function(){if(this.character)return document.createTextNode(this.character);var le=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return le.setAttribute("width",this.width+"em"),le},X.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},X.toText=function(){return this.character?this.character:" "},Bt}(),qr={MathNode:Qi,TextNode:ta,SpaceNode:la,newDocumentFragment:ao},Ca=function(X,re,le){return Ye[re][X]&&Ye[re][X].replace&&X.charCodeAt(0)!==55349&&!(Ee.hasOwnProperty(X)&&le&&(le.fontFamily&&le.fontFamily.substr(4,2)==="tt"||le.font&&le.font.substr(4,2)==="tt"))&&(X=Ye[re][X].replace),new qr.TextNode(X)},li=function(X){return X.length===1?X[0]:new qr.MathNode("mrow",X)},di=function(X,re){if(re.fontFamily==="texttt")return"monospace";if(re.fontFamily==="textsf")return re.fontShape==="textit"&&re.fontWeight==="textbf"?"sans-serif-bold-italic":re.fontShape==="textit"?"sans-serif-italic":re.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(re.fontShape==="textit"&&re.fontWeight==="textbf")return"bold-italic";if(re.fontShape==="textit")return"italic";if(re.fontWeight==="textbf")return"bold";var le=re.font;if(!le||le==="mathnormal")return null;var we=X.mode;if(le==="mathit")return"italic";if(le==="boldsymbol")return"bold-italic";if(le==="mathbf")return"bold";if(le==="mathbb")return"double-struck";if(le==="mathfrak")return"fraktur";if(le==="mathscr"||le==="mathcal")return"script";if(le==="mathsf")return"sans-serif";if(le==="mathtt")return"monospace";var Xe=X.text;if(h.contains(["\\imath","\\jmath"],Xe))return null;Ye[we][Xe]&&Ye[we][Xe].replace&&(Xe=Ye[we][Xe].replace);var xt=kr.fontMap[le].fontName;return Xt(Xe,xt,we)?kr.fontMap[le].variant:null},_i=function(X,re,le){if(X.length===1){var we=$i(X[0],re);return le&&we instanceof Qi&&we.type==="mo"&&(we.setAttribute("lspace","0em"),we.setAttribute("rspace","0em")),[we]}for(var Xe=[],xt,tr=0;tr<X.length;tr++){var ur=$i(X[tr],re);if(ur instanceof Qi&&xt instanceof Qi){if(ur.type==="mtext"&&xt.type==="mtext"&&ur.getAttribute("mathvariant")===xt.getAttribute("mathvariant")){var br;(br=xt.children).push.apply(br,ur.children);continue}else if(ur.type==="mn"&&xt.type==="mn"){var Qr;(Qr=xt.children).push.apply(Qr,ur.children);continue}else if(ur.type==="mi"&&ur.children.length===1&&xt.type==="mn"){var an=ur.children[0];if(an instanceof ta&&an.text==="."){var yn;(yn=xt.children).push.apply(yn,ur.children);continue}}else if(xt.type==="mi"&&xt.children.length===1){var Ln=xt.children[0];if(Ln instanceof ta&&Ln.text==="\u0338"&&(ur.type==="mo"||ur.type==="mi"||ur.type==="mn")){var Rn=ur.children[0];Rn instanceof ta&&Rn.text.length>0&&(Rn.text=Rn.text.slice(0,1)+"\u0338"+Rn.text.slice(1),Xe.pop())}}}Xe.push(ur),xt=ur}return Xe},Lo=function(X,re,le){return li(_i(X,re,le))},$i=function(X,re){if(!X)return new qr.MathNode("mrow");if(jr[X.type]){var le=jr[X.type](X,re);return le}else throw new f("Got group of unknown type: '"+X.type+"'")};function io(Bt,X,re,le){var we=_i(Bt,re),Xe;we.length===1&&we[0]instanceof Qi&&h.contains(["mrow","mtable"],we[0].type)?Xe=we[0]:Xe=new qr.MathNode("mrow",we);var xt=new qr.MathNode("annotation",[new qr.TextNode(X)]);xt.setAttribute("encoding","application/x-tex");var tr=new qr.MathNode("semantics",[Xe,xt]),ur=new qr.MathNode("math",[tr]);ur.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var br=le?"katex":"katex-mathml";return kr.makeSpan([br],[ur])}var Ho=function(X){return new or({style:X.displayMode?_.DISPLAY:_.TEXT,maxSize:X.maxSize,minRuleThickness:X.minRuleThickness})},xo=function(X,re){if(re.displayMode){var le=["katex-display"];re.leqno&&le.push("leqno"),re.fleqn&&le.push("fleqn"),X=kr.makeSpan(le,[X])}return X},Vo=function(X,re,le){var we=Ho(le),Xe;if(le.output==="mathml")return io(X,re,we,!0);if(le.output==="html"){var xt=Hi(X,we);Xe=kr.makeSpan(["katex"],[xt])}else{var tr=io(X,re,we,!1),ur=Hi(X,we);Xe=kr.makeSpan(["katex"],[tr,ur])}return xo(Xe,le)},Io=function(X,re,le){var we=Ho(le),Xe=Hi(X,we),xt=kr.makeSpan(["katex"],[Xe]);return xo(xt,le)},Do=Vo,Hs={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"},as=function(X){var re=new qr.MathNode("mo",[new qr.TextNode(Hs[X.substr(1)])]);return re.setAttribute("stretchy","true"),re},xi={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]},Os=function(X){return X.type==="ordgroup"?X.body.length:1},vs=function(X,re){function le(){var ur=4e5,br=X.label.substr(1);if(h.contains(["widehat","widecheck","widetilde","utilde"],br)){var Qr=X,an=Os(Qr.base),yn,Ln,Rn;if(an>5)br==="widehat"||br==="widecheck"?(yn=420,ur=2364,Rn=.42,Ln=br+"4"):(yn=312,ur=2340,Rn=.34,Ln="tilde4");else{var ma=[1,1,2,2,3,3][an];br==="widehat"||br==="widecheck"?(ur=[0,1062,2364,2364,2364][ma],yn=[0,239,300,360,420][ma],Rn=[0,.24,.3,.3,.36,.42][ma],Ln=br+ma):(ur=[0,600,1033,2339,2340][ma],yn=[0,260,286,306,312][ma],Rn=[0,.26,.286,.3,.306,.34][ma],Ln="tilde"+ma)}var Ha=new $e(Ln),wi=new St([Ha],{width:"100%",height:Rn+"em",viewBox:"0 0 "+ur+" "+yn,preserveAspectRatio:"none"});return{span:kr.makeSvgSpan([],[wi],re),minWidth:0,height:Rn}}else{var Di=[],Oi=xi[br],po=Oi[0],mo=Oi[1],Eo=Oi[2],Bo=Eo/1e3,No=po.length,Go,Yo;if(No===1){var ro=Oi[3];Go=["hide-tail"],Yo=[ro]}else if(No===2)Go=["halfarrow-left","halfarrow-right"],Yo=["xMinYMin","xMaxYMin"];else if(No===3)Go=["brace-left","brace-center","brace-right"],Yo=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+No+" children.");for(var va=0;va<No;va++){var _s=new $e(po[va]),As=new St([_s],{width:"400em",height:Bo+"em",viewBox:"0 0 "+ur+" "+Eo,preserveAspectRatio:Yo[va]+" slice"}),Jo=kr.makeSvgSpan([Go[va]],[As],re);if(No===1)return{span:Jo,minWidth:mo,height:Bo};Jo.style.height=Bo+"em",Di.push(Jo)}return{span:kr.makeSpan(["stretchy"],Di,re),minWidth:mo,height:Bo}}}var we=le(),Xe=we.span,xt=we.minWidth,tr=we.height;return Xe.height=tr,Xe.style.height=tr+"em",xt>0&&(Xe.style.minWidth=xt+"em"),Xe},fs=function(X,re,le,we){var Xe,xt=X.height+X.depth+2*le;if(/fbox|color/.test(re)){if(Xe=kr.makeSpan(["stretchy",re],[],we),re==="fbox"){var tr=we.color&&we.getColor();tr&&(Xe.style.borderColor=tr)}}else{var ur=[];/^[bx]cancel$/.test(re)&&ur.push(new lt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(re)&&ur.push(new lt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var br=new St(ur,{width:"100%",height:xt+"em"});Xe=kr.makeSvgSpan([],[br],we)}return Xe.height=xt,Xe.style.height=xt+"em",Xe},ji={encloseSpan:fs,mathMLnode:as,svgSpan:vs},Ke=function(X,re){var le,we,Xe=Pn(X,"supsub"),xt;Xe?(we=kn(Xe.base,"accent"),le=we.base,Xe.base=le,xt=gt(ha(Xe,re)),Xe.base=we):(we=kn(X,"accent"),le=we.base);var tr=ha(le,re.havingCrampedStyle()),ur=we.isShifty&&h.isCharacterBox(le),br=0;if(ur){var Qr=h.getBaseElem(le),an=ha(Qr,re.havingCrampedStyle());br=Ut(an).skew}var yn=Math.min(tr.height,re.fontMetrics().xHeight),Ln;if(we.isStretchy)Ln=ji.svgSpan(we,re),Ln=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:tr},{type:"elem",elem:Ln,wrapperClasses:["svg-align"],wrapperStyle:br>0?{width:"calc(100% - "+2*br+"em)",marginLeft:2*br+"em"}:void 0}]},re);else{var Rn,ma;we.label==="\\vec"?(Rn=kr.staticSvg("vec",re),ma=kr.svgData.vec[1]):(Rn=kr.makeOrd({mode:we.mode,text:we.label},re,"textord"),Rn=Ut(Rn),Rn.italic=0,ma=Rn.width),Ln=kr.makeSpan(["accent-body"],[Rn]);var Ha=we.label==="\\textcircled";Ha&&(Ln.classes.push("accent-full"),yn=tr.height);var wi=br;Ha||(wi-=ma/2),Ln.style.left=wi+"em",we.label==="\\textcircled"&&(Ln.style.top=".2em"),Ln=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:tr},{type:"kern",size:-yn},{type:"elem",elem:Ln}]},re)}var Di=kr.makeSpan(["mord","accent"],[Ln],re);return xt?(xt.children[0]=Di,xt.height=Math.max(Di.height,xt.height),xt.classes[0]="mord",xt):Di},Gt=function(X,re){var le=X.isStretchy?ji.mathMLnode(X.label):new qr.MathNode("mo",[Ca(X.label,X.mode)]),we=new qr.MathNode("mover",[$i(X.base,re),le]);return we.setAttribute("accent","true"),we},sr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Bt){return"\\"+Bt}).join("|"));wr({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(X,re){var le=re[0],we=!sr.test(X.funcName),Xe=!we||X.funcName==="\\widehat"||X.funcName==="\\widetilde"||X.funcName==="\\widecheck";return{type:"accent",mode:X.parser.mode,label:X.funcName,isStretchy:we,isShifty:Xe,base:le}},htmlBuilder:Ke,mathmlBuilder:Gt}),wr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(X,re){var le=re[0];return{type:"accent",mode:X.parser.mode,label:X.funcName,isStretchy:!1,isShifty:!0,base:le}},htmlBuilder:Ke,mathmlBuilder:Gt}),wr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];return{type:"accentUnder",mode:le.mode,label:we,base:Xe}},htmlBuilder:function(X,re){var le=ha(X.base,re),we=ji.svgSpan(X,re),Xe=X.label==="\\utilde"?.12:0,xt=kr.makeVList({positionType:"bottom",positionData:we.height+Xe,children:[{type:"elem",elem:we,wrapperClasses:["svg-align"]},{type:"kern",size:Xe},{type:"elem",elem:le}]},re);return kr.makeSpan(["mord","accentunder"],[xt],re)},mathmlBuilder:function(X,re){var le=ji.mathMLnode(X.label),we=new qr.MathNode("munder",[$i(X.base,re),le]);return we.setAttribute("accentunder","true"),we}});var lr=function(X){var re=new qr.MathNode("mpadded",X?[X]:[]);return re.setAttribute("width","+0.6em"),re.setAttribute("lspace","0.3em"),re};wr({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(X,re,le){var we=X.parser,Xe=X.funcName;return{type:"xArrow",mode:we.mode,label:Xe,body:re[0],below:le[0]}},htmlBuilder:function(X,re){var le=re.style,we=re.havingStyle(le.sup()),Xe=kr.wrapFragment(ha(X.body,we,re),re);Xe.classes.push("x-arrow-pad");var xt;X.below&&(we=re.havingStyle(le.sub()),xt=kr.wrapFragment(ha(X.below,we,re),re),xt.classes.push("x-arrow-pad"));var tr=ji.svgSpan(X,re),ur=-re.fontMetrics().axisHeight+.5*tr.height,br=-re.fontMetrics().axisHeight-.5*tr.height-.111;(Xe.depth>.25||X.label==="\\xleftequilibrium")&&(br-=Xe.depth);var Qr;if(xt){var an=-re.fontMetrics().axisHeight+xt.height+.5*tr.height+.111;Qr=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Xe,shift:br},{type:"elem",elem:tr,shift:ur},{type:"elem",elem:xt,shift:an}]},re)}else Qr=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Xe,shift:br},{type:"elem",elem:tr,shift:ur}]},re);return Qr.children[0].children[0].children[1].classes.push("svg-align"),kr.makeSpan(["mrel","x-arrow"],[Qr],re)},mathmlBuilder:function(X,re){var le=ji.mathMLnode(X.label),we;if(X.body){var Xe=lr($i(X.body,re));if(X.below){var xt=lr($i(X.below,re));we=new qr.MathNode("munderover",[le,xt,Xe])}else we=new qr.MathNode("mover",[le,Xe])}else if(X.below){var tr=lr($i(X.below,re));we=new qr.MathNode("munder",[le,tr])}else we=lr(),we=new qr.MathNode("mover",[le,we]);return we}}),wr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){for(var le=X.parser,we=kn(re[0],"ordgroup"),Xe=we.body,xt="",tr=0;tr<Xe.length;tr++){var ur=kn(Xe[tr],"textord");xt+=ur.text}var br=parseInt(xt);if(isNaN(br))throw new f("\\@char has non-numeric argument "+xt);return{type:"textord",mode:le.mode,text:String.fromCharCode(br)}}});var Mr=function(X,re){var le=aa(X.body,re.withColor(X.color),!1);return kr.makeFragment(le)},Rr=function(X,re){var le=_i(X.body,re.withColor(X.color)),we=new qr.MathNode("mstyle",le);return we.setAttribute("mathcolor",X.color),we};wr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(X,re){var le=X.parser,we=kn(re[0],"color-token").color,Xe=re[1];return{type:"color",mode:le.mode,color:we,body:un(Xe)}},htmlBuilder:Mr,mathmlBuilder:Rr}),wr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(X,re){var le=X.parser,we=X.breakOnTokenText,Xe=kn(re[0],"color-token").color;le.gullet.macros.set("\\current@color",Xe);var xt=le.parseExpression(!0,we);return{type:"color",mode:le.mode,color:Xe,body:xt}},htmlBuilder:Mr,mathmlBuilder:Rr}),wr({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(X,re,le){var we=X.parser,Xe=X.funcName,xt=le[0],tr=Xe==="\\cr",ur=!1;return tr||(we.settings.displayMode&&we.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?ur=!1:ur=!0),{type:"cr",mode:we.mode,newLine:ur,newRow:tr,size:xt&&kn(xt,"size").value}},htmlBuilder:function(X,re){if(X.newRow)throw new f("\\cr valid only within a tabular/array environment");var le=kr.makeSpan(["mspace"],[],re);return X.newLine&&(le.classes.push("newline"),X.size&&(le.style.marginTop=Nt(X.size,re)+"em")),le},mathmlBuilder:function(X,re){var le=new qr.MathNode("mspace");return X.newLine&&(le.setAttribute("linebreak","newline"),X.size&&le.setAttribute("height",Nt(X.size,re)+"em")),le}});var Vr=function(X,re,le){var we=Ye.math[X]&&Ye.math[X].replace,Xe=Xt(we||X,re,le);if(!Xe)throw new Error("Unsupported symbol "+X+" and font size "+re+".");return Xe},sn=function(X,re,le,we){var Xe=le.havingBaseStyle(re),xt=kr.makeSpan(we.concat(Xe.sizingClasses(le)),[X],le),tr=Xe.sizeMultiplier/le.sizeMultiplier;return xt.height*=tr,xt.depth*=tr,xt.maxFontSize=Xe.sizeMultiplier,xt},vn=function(X,re,le){var we=re.havingBaseStyle(le),Xe=(1-re.sizeMultiplier/we.sizeMultiplier)*re.fontMetrics().axisHeight;X.classes.push("delimcenter"),X.style.top=Xe+"em",X.height-=Xe,X.depth+=Xe},An=function(X,re,le,we,Xe,xt){var tr=kr.makeSymbol(X,"Main-Regular",Xe,we),ur=sn(tr,re,we,xt);return le&&vn(ur,we,re),ur},Fn=function(X,re,le,we){return kr.makeSymbol(X,"Size"+re+"-Regular",le,we)},tn=function(X,re,le,we,Xe,xt){var tr=Fn(X,re,Xe,we),ur=sn(kr.makeSpan(["delimsizing","size"+re],[tr],we),_.TEXT,we,xt);return le&&vn(ur,we,_.TEXT),ur},Kr=function(X,re,le){var we;re==="Size1-Regular"?we="delim-size1":we="delim-size4";var Xe=kr.makeSpan(["delimsizinginner",we],[kr.makeSpan([],[kr.makeSymbol(X,re,le)])]);return{type:"elem",elem:Xe}},on={type:"kern",size:-.005},dn=function(X,re,le,we,Xe,xt){var tr,ur,br,Qr;tr=br=Qr=X,ur=null;var an="Size1-Regular";X==="\\uparrow"?br=Qr="\u23D0":X==="\\Uparrow"?br=Qr="\u2016":X==="\\downarrow"?tr=br="\u23D0":X==="\\Downarrow"?tr=br="\u2016":X==="\\updownarrow"?(tr="\\uparrow",br="\u23D0",Qr="\\downarrow"):X==="\\Updownarrow"?(tr="\\Uparrow",br="\u2016",Qr="\\Downarrow"):X==="["||X==="\\lbrack"?(tr="\u23A1",br="\u23A2",Qr="\u23A3",an="Size4-Regular"):X==="]"||X==="\\rbrack"?(tr="\u23A4",br="\u23A5",Qr="\u23A6",an="Size4-Regular"):X==="\\lfloor"||X==="\u230A"?(br=tr="\u23A2",Qr="\u23A3",an="Size4-Regular"):X==="\\lceil"||X==="\u2308"?(tr="\u23A1",br=Qr="\u23A2",an="Size4-Regular"):X==="\\rfloor"||X==="\u230B"?(br=tr="\u23A5",Qr="\u23A6",an="Size4-Regular"):X==="\\rceil"||X==="\u2309"?(tr="\u23A4",br=Qr="\u23A5",an="Size4-Regular"):X==="("||X==="\\lparen"?(tr="\u239B",br="\u239C",Qr="\u239D",an="Size4-Regular"):X===")"||X==="\\rparen"?(tr="\u239E",br="\u239F",Qr="\u23A0",an="Size4-Regular"):X==="\\{"||X==="\\lbrace"?(tr="\u23A7",ur="\u23A8",Qr="\u23A9",br="\u23AA",an="Size4-Regular"):X==="\\}"||X==="\\rbrace"?(tr="\u23AB",ur="\u23AC",Qr="\u23AD",br="\u23AA",an="Size4-Regular"):X==="\\lgroup"||X==="\u27EE"?(tr="\u23A7",Qr="\u23A9",br="\u23AA",an="Size4-Regular"):X==="\\rgroup"||X==="\u27EF"?(tr="\u23AB",Qr="\u23AD",br="\u23AA",an="Size4-Regular"):X==="\\lmoustache"||X==="\u23B0"?(tr="\u23A7",Qr="\u23AD",br="\u23AA",an="Size4-Regular"):(X==="\\rmoustache"||X==="\u23B1")&&(tr="\u23AB",Qr="\u23A9",br="\u23AA",an="Size4-Regular");var yn=Vr(tr,an,Xe),Ln=yn.height+yn.depth,Rn=Vr(br,an,Xe),ma=Rn.height+Rn.depth,Ha=Vr(Qr,an,Xe),wi=Ha.height+Ha.depth,Di=0,Oi=1;if(ur!==null){var po=Vr(ur,an,Xe);Di=po.height+po.depth,Oi=2}var mo=Ln+wi+Di,Eo=Math.max(0,Math.ceil((re-mo)/(Oi*ma))),Bo=mo+Eo*Oi*ma,No=we.fontMetrics().axisHeight;le&&(No*=we.sizeMultiplier);var Go=Bo/2-No,Yo=(Eo+1)*.005-ma,ro=[];if(ro.push(Kr(Qr,an,Xe)),ur===null)for(var va=0;va<Eo;va++)ro.push(on),ro.push(Kr(br,an,Xe));else{for(var _s=0;_s<Eo;_s++)ro.push(on),ro.push(Kr(br,an,Xe));ro.push({type:"kern",size:Yo}),ro.push(Kr(br,an,Xe)),ro.push(on),ro.push(Kr(ur,an,Xe));for(var As=0;As<Eo;As++)ro.push(on),ro.push(Kr(br,an,Xe))}ro.push({type:"kern",size:Yo}),ro.push(Kr(br,an,Xe)),ro.push(on),ro.push(Kr(tr,an,Xe));var Jo=we.havingBaseStyle(_.TEXT),ni=kr.makeVList({positionType:"bottom",positionData:Go,children:ro},Jo);return sn(kr.makeSpan(["delimsizing","mult"],[ni],Jo),_.TEXT,we,xt)},Bn=80,wn=.08,Nn=function(X,re,le,we,Xe){var xt=Ne(X,we,le),tr=new $e(X,xt),ur=new St([tr],{width:"400em",height:re+"em",viewBox:"0 0 400000 "+le,preserveAspectRatio:"xMinYMin slice"});return kr.makeSvgSpan(["hide-tail"],[ur],Xe)},qn=function(X,re){var le=re.havingBaseSizing(),we=Wr("\\surd",X*le.sizeMultiplier,Sr,le),Xe=le.sizeMultiplier,xt=Math.max(0,re.minRuleThickness-re.fontMetrics().sqrtRuleThickness),tr,ur=0,br=0,Qr=0,an;return we.type==="small"?(Qr=1e3+1e3*xt+Bn,X<1?Xe=1:X<1.4&&(Xe=.7),ur=(1+xt+wn)/Xe,br=(1+xt)/Xe,tr=Nn("sqrtMain",ur,Qr,xt,re),tr.style.minWidth="0.853em",an=.833/Xe):we.type==="large"?(Qr=(1e3+Bn)*Ba[we.size],br=(Ba[we.size]+xt)/Xe,ur=(Ba[we.size]+xt+wn)/Xe,tr=Nn("sqrtSize"+we.size,ur,Qr,xt,re),tr.style.minWidth="1.02em",an=1/Xe):(ur=X+xt+wn,br=X+xt,Qr=Math.floor(1e3*X+xt)+Bn,tr=Nn("sqrtTall",ur,Qr,xt,re),tr.style.minWidth="0.742em",an=1.056),tr.height=br,tr.style.height=ur+"em",{span:tr,advanceWidth:an,ruleWidth:(re.fontMetrics().sqrtRuleThickness+xt)*Xe}},Ra=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],hi=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],na=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ba=[0,1.2,1.8,2.4,3],Et=function(X,re,le,we,Xe){if(X==="<"||X==="\\lt"||X==="\u27E8"?X="\\langle":(X===">"||X==="\\gt"||X==="\u27E9")&&(X="\\rangle"),h.contains(Ra,X)||h.contains(na,X))return tn(X,re,!1,le,we,Xe);if(h.contains(hi,X))return dn(X,Ba[re],!1,le,we,Xe);throw new f("Illegal delimiter: '"+X+"'")},fr=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],hr=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"stack"}],Sr=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Er=function(X){if(X.type==="small")return"Main-Regular";if(X.type==="large")return"Size"+X.size+"-Regular";if(X.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+X.type+"' here.")},Wr=function(X,re,le,we){for(var Xe=Math.min(2,3-we.style.size),xt=Xe;xt<le.length&&le[xt].type!=="stack";xt++){var tr=Vr(X,Er(le[xt]),"math"),ur=tr.height+tr.depth;if(le[xt].type==="small"){var br=we.havingBaseStyle(le[xt].style);ur*=br.sizeMultiplier}if(ur>re)return le[xt]}return le[le.length-1]},nn=function(X,re,le,we,Xe,xt){X==="<"||X==="\\lt"||X==="\u27E8"?X="\\langle":(X===">"||X==="\\gt"||X==="\u27E9")&&(X="\\rangle");var tr;h.contains(na,X)?tr=fr:h.contains(Ra,X)?tr=Sr:tr=hr;var ur=Wr(X,re,tr,we);return ur.type==="small"?An(X,ur.style,le,we,Xe,xt):ur.type==="large"?tn(X,ur.size,le,we,Xe,xt):dn(X,re,le,we,Xe,xt)},Zr=function(X,re,le,we,Xe,xt){var tr=we.fontMetrics().axisHeight*we.sizeMultiplier,ur=901,br=5/we.fontMetrics().ptPerEm,Qr=Math.max(re-tr,le+tr),an=Math.max(Qr/500*ur,2*Qr-br);return nn(X,an,!0,we,Xe,xt)},Gr={sqrtImage:qn,sizedDelim:Et,customSizedDelim:nn,leftRightDelim:Zr},gn={"\\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}},On=["(","\\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 cn(Bt,X){var re=La(Bt);if(re&&h.contains(On,re.text))return re;throw new f("Invalid delimiter: '"+(re?re.text:JSON.stringify(Bt))+"' after '"+X.funcName+"'",Bt)}wr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(X,re){var le=cn(re[0],X);return{type:"delimsizing",mode:X.parser.mode,size:gn[X.funcName].size,mclass:gn[X.funcName].mclass,delim:le.text}},htmlBuilder:function(X,re){return X.delim==="."?kr.makeSpan([X.mclass]):Gr.sizedDelim(X.delim,X.size,re,X.mode,[X.mclass])},mathmlBuilder:function(X){var re=[];X.delim!=="."&&re.push(Ca(X.delim,X.mode));var le=new qr.MathNode("mo",re);return X.mclass==="mopen"||X.mclass==="mclose"?le.setAttribute("fence","true"):le.setAttribute("fence","false"),le}});function Dn(Bt){if(!Bt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}wr({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(X,re){var le=X.parser.gullet.macros.get("\\current@color");if(le&&typeof le!="string")throw new f("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:X.parser.mode,delim:cn(re[0],X).text,color:le}}}),wr({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(X,re){var le=cn(re[0],X),we=X.parser;++we.leftrightDepth;var Xe=we.parseExpression(!1);--we.leftrightDepth,we.expect("\\right",!1);var xt=kn(we.parseFunction(),"leftright-right");return{type:"leftright",mode:we.mode,body:Xe,left:le.text,right:xt.delim,rightColor:xt.color}},htmlBuilder:function(X,re){Dn(X);for(var le=aa(X.body,re,!0,["mopen","mclose"]),we=0,Xe=0,xt=!1,tr=0;tr<le.length;tr++)le[tr].isMiddle?xt=!0:(we=Math.max(le[tr].height,we),Xe=Math.max(le[tr].depth,Xe));we*=re.sizeMultiplier,Xe*=re.sizeMultiplier;var ur;if(X.left==="."?ur=Li(re,["mopen"]):ur=Gr.leftRightDelim(X.left,we,Xe,re,X.mode,["mopen"]),le.unshift(ur),xt)for(var br=1;br<le.length;br++){var Qr=le[br],an=Qr.isMiddle;an&&(le[br]=Gr.leftRightDelim(an.delim,we,Xe,an.options,X.mode,[]))}var yn;if(X.right===".")yn=Li(re,["mclose"]);else{var Ln=X.rightColor?re.withColor(X.rightColor):re;yn=Gr.leftRightDelim(X.right,we,Xe,Ln,X.mode,["mclose"])}return le.push(yn),kr.makeSpan(["minner"],le,re)},mathmlBuilder:function(X,re){Dn(X);var le=_i(X.body,re);if(X.left!=="."){var we=new qr.MathNode("mo",[Ca(X.left,X.mode)]);we.setAttribute("fence","true"),le.unshift(we)}if(X.right!=="."){var Xe=new qr.MathNode("mo",[Ca(X.right,X.mode)]);Xe.setAttribute("fence","true"),X.rightColor&&Xe.setAttribute("mathcolor",X.rightColor),le.push(Xe)}return li(le)}}),wr({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(X,re){var le=cn(re[0],X);if(!X.parser.leftrightDepth)throw new f("\\middle without preceding \\left",le);return{type:"middle",mode:X.parser.mode,delim:le.text}},htmlBuilder:function(X,re){var le;if(X.delim===".")le=Li(re,[]);else{le=Gr.sizedDelim(X.delim,1,re,X.mode,[]);var we={delim:X.delim,options:re};le.isMiddle=we}return le},mathmlBuilder:function(X,re){var le=X.delim==="\\vert"||X.delim==="|"?Ca("|","text"):Ca(X.delim,X.mode),we=new qr.MathNode("mo",[le]);return we.setAttribute("fence","true"),we.setAttribute("lspace","0.05em"),we.setAttribute("rspace","0.05em"),we}});var Mn=function(X,re){var le=kr.wrapFragment(ha(X.body,re),re),we=X.label.substr(1),Xe=re.sizeMultiplier,xt,tr=0,ur=h.isCharacterBox(X.body);if(we==="sout")xt=kr.makeSpan(["stretchy","sout"]),xt.height=re.fontMetrics().defaultRuleThickness/Xe,tr=-.5*re.fontMetrics().xHeight;else{/cancel/.test(we)?ur||le.classes.push("cancel-pad"):le.classes.push("boxpad");var br=0,Qr=0;/box/.test(we)?(Qr=Math.max(re.fontMetrics().fboxrule,re.minRuleThickness),br=re.fontMetrics().fboxsep+(we==="colorbox"?0:Qr)):br=ur?.2:0,xt=ji.encloseSpan(le,we,br,re),/fbox|boxed|fcolorbox/.test(we)&&(xt.style.borderStyle="solid",xt.style.borderWidth=Qr+"em"),tr=le.depth+br,X.backgroundColor&&(xt.style.backgroundColor=X.backgroundColor,X.borderColor&&(xt.style.borderColor=X.borderColor))}var an;return X.backgroundColor?an=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:tr},{type:"elem",elem:le,shift:0}]},re):an=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:le,shift:0},{type:"elem",elem:xt,shift:tr,wrapperClasses:/cancel/.test(we)?["svg-align"]:[]}]},re),/cancel/.test(we)&&(an.height=le.height,an.depth=le.depth),/cancel/.test(we)&&!ur?kr.makeSpan(["mord","cancel-lap"],[an],re):kr.makeSpan(["mord"],[an],re)},Yn=function(X,re){var le=0,we=new qr.MathNode(X.label.indexOf("colorbox")>-1?"mpadded":"menclose",[$i(X.body,re)]);switch(X.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(le=re.fontMetrics().fboxsep*re.fontMetrics().ptPerEm,we.setAttribute("width","+"+2*le+"pt"),we.setAttribute("height","+"+2*le+"pt"),we.setAttribute("lspace",le+"pt"),we.setAttribute("voffset",le+"pt"),X.label==="\\fcolorbox"){var Xe=Math.max(re.fontMetrics().fboxrule,re.minRuleThickness);we.setAttribute("style","border: "+Xe+"em solid "+String(X.borderColor))}break;case"\\xcancel":we.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return X.backgroundColor&&we.setAttribute("mathbackground",X.backgroundColor),we};wr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(X,re,le){var we=X.parser,Xe=X.funcName,xt=kn(re[0],"color-token").color,tr=re[1];return{type:"enclose",mode:we.mode,label:Xe,backgroundColor:xt,body:tr}},htmlBuilder:Mn,mathmlBuilder:Yn}),wr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(X,re,le){var we=X.parser,Xe=X.funcName,xt=kn(re[0],"color-token").color,tr=kn(re[1],"color-token").color,ur=re[2];return{type:"enclose",mode:we.mode,label:Xe,backgroundColor:tr,borderColor:xt,body:ur}},htmlBuilder:Mn,mathmlBuilder:Yn}),wr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(X,re){var le=X.parser;return{type:"enclose",mode:le.mode,label:"\\fbox",body:re[0]}}}),wr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(X,re,le){var we=X.parser,Xe=X.funcName,xt=re[0];return{type:"enclose",mode:we.mode,label:Xe,body:xt}},htmlBuilder:Mn,mathmlBuilder:Yn});var $n={};function Tn(Bt){for(var X=Bt.type,re=Bt.names,le=Bt.props,we=Bt.handler,Xe=Bt.htmlBuilder,xt=Bt.mathmlBuilder,tr={type:X,numArgs:le.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:we},ur=0;ur<re.length;++ur)$n[re[ur]]=tr;Xe&&(Fr[X]=Xe),xt&&(jr[X]=xt)}function ea(Bt){var X=[];Bt.consumeSpaces();for(var re=Bt.fetch().text;re==="\\hline"||re==="\\hdashline";)Bt.consume(),X.push(re==="\\hdashline"),Bt.consumeSpaces(),re=Bt.fetch().text;return X}function Kn(Bt,X,re){var le=X.hskipBeforeAndAfter,we=X.addJot,Xe=X.cols,xt=X.arraystretch,tr=X.colSeparationType;if(Bt.gullet.beginGroup(),Bt.gullet.macros.set("\\\\","\\cr"),!xt){var ur=Bt.gullet.expandMacroAsText("\\arraystretch");if(ur==null)xt=1;else if(xt=parseFloat(ur),!xt||xt<0)throw new f("Invalid \\arraystretch: "+ur)}Bt.gullet.beginGroup();var br=[],Qr=[br],an=[],yn=[];for(yn.push(ea(Bt));;){var Ln=Bt.parseExpression(!1,"\\cr");Bt.gullet.endGroup(),Bt.gullet.beginGroup(),Ln={type:"ordgroup",mode:Bt.mode,body:Ln},re&&(Ln={type:"styling",mode:Bt.mode,style:re,body:[Ln]}),br.push(Ln);var Rn=Bt.fetch().text;if(Rn==="&")Bt.consume();else if(Rn==="\\end"){br.length===1&&Ln.type==="styling"&&Ln.body[0].body.length===0&&Qr.pop(),yn.length<Qr.length+1&&yn.push([]);break}else if(Rn==="\\cr"){var ma=kn(Bt.parseFunction(),"cr");an.push(ma.size),yn.push(ea(Bt)),br=[],Qr.push(br)}else throw new f("Expected & or \\\\ or \\cr or \\end",Bt.nextToken)}return Bt.gullet.endGroup(),Bt.gullet.endGroup(),{type:"array",mode:Bt.mode,addJot:we,arraystretch:xt,body:Qr,cols:Xe,rowGaps:an,hskipBeforeAndAfter:le,hLinesBeforeRow:yn,colSeparationType:tr}}function Fa(Bt){return Bt.substr(0,1)==="d"?"display":"text"}var Ya=function(X,re){var le,we,Xe=X.body.length,xt=X.hLinesBeforeRow,tr=0,ur=new Array(Xe),br=[],Qr=Math.max(re.fontMetrics().arrayRuleWidth,re.minRuleThickness),an=1/re.fontMetrics().ptPerEm,yn=5*an;if(X.colSeparationType&&X.colSeparationType==="small"){var Ln=re.havingStyle(_.SCRIPT).sizeMultiplier;yn=.2778*(Ln/re.sizeMultiplier)}var Rn=12*an,ma=3*an,Ha=X.arraystretch*Rn,wi=.7*Ha,Di=.3*Ha,Oi=0;function po(bl){for(var al=0;al<bl.length;++al)al>0&&(Oi+=.25),br.push({pos:Oi,isDashed:bl[al]})}for(po(xt[0]),le=0;le<X.body.length;++le){var mo=X.body[le],Eo=wi,Bo=Di;tr<mo.length&&(tr=mo.length);var No=new Array(mo.length);for(we=0;we<mo.length;++we){var Go=ha(mo[we],re);Bo<Go.depth&&(Bo=Go.depth),Eo<Go.height&&(Eo=Go.height),No[we]=Go}var Yo=X.rowGaps[le],ro=0;Yo&&(ro=Nt(Yo,re),ro>0&&(ro+=Di,Bo<ro&&(Bo=ro),ro=0)),X.addJot&&(Bo+=ma),No.height=Eo,No.depth=Bo,Oi+=Eo,No.pos=Oi,Oi+=Bo+ro,ur[le]=No,po(xt[le+1])}var va=Oi/2+re.fontMetrics().axisHeight,_s=X.cols||[],As=[],Jo,ni;for(we=0,ni=0;we<tr||ni<_s.length;++we,++ni){for(var Si=_s[ni]||{},Uo=!0;Si.type==="separator";){if(Uo||(Jo=kr.makeSpan(["arraycolsep"],[]),Jo.style.width=re.fontMetrics().doubleRuleSep+"em",As.push(Jo)),Si.separator==="|"||Si.separator===":"){var ns=Si.separator==="|"?"solid":"dashed",Ds=kr.makeSpan(["vertical-separator"],[],re);Ds.style.height=Oi+"em",Ds.style.borderRightWidth=Qr+"em",Ds.style.borderRightStyle=ns,Ds.style.margin="0 -"+Qr/2+"em",Ds.style.verticalAlign=-(Oi-va)+"em",As.push(Ds)}else throw new f("Invalid separator type: "+Si.separator);ni++,Si=_s[ni]||{},Uo=!1}if(!(we>=tr)){var cs=void 0;(we>0||X.hskipBeforeAndAfter)&&(cs=h.deflt(Si.pregap,yn),cs!==0&&(Jo=kr.makeSpan(["arraycolsep"],[]),Jo.style.width=cs+"em",As.push(Jo)));var Ms=[];for(le=0;le<Xe;++le){var js=ur[le],Oo=js[we];if(!!Oo){var Ns=js.pos-va;Oo.depth=js.depth,Oo.height=js.height,Ms.push({type:"elem",elem:Oo,shift:Ns})}}Ms=kr.makeVList({positionType:"individualShift",children:Ms},re),Ms=kr.makeSpan(["col-align-"+(Si.align||"c")],[Ms]),As.push(Ms),(we<tr-1||X.hskipBeforeAndAfter)&&(cs=h.deflt(Si.postgap,yn),cs!==0&&(Jo=kr.makeSpan(["arraycolsep"],[]),Jo.style.width=cs+"em",As.push(Jo)))}}if(ur=kr.makeSpan(["mtable"],As),br.length>0){for(var sl=kr.makeLineSpan("hline",re,Qr),xl=kr.makeLineSpan("hdashline",re,Qr),el=[{type:"elem",elem:ur,shift:0}];br.length>0;){var Ys=br.pop(),Xs=Ys.pos-va;Ys.isDashed?el.push({type:"elem",elem:xl,shift:Xs}):el.push({type:"elem",elem:sl,shift:Xs})}ur=kr.makeVList({positionType:"individualShift",children:el},re)}return kr.makeSpan(["mord"],[ur],re)},Va={c:"center ",l:"left ",r:"right "},Ga=function(X,re){var le=new qr.MathNode("mtable",X.body.map(function(Oi){return new qr.MathNode("mtr",Oi.map(function(po){return new qr.MathNode("mtd",[$i(po,re)])}))})),we=X.arraystretch===.5?.1:.16+X.arraystretch-1+(X.addJot?.09:0);le.setAttribute("rowspacing",we+"em");var Xe="",xt="";if(X.cols){var tr=X.cols,ur="",br=!1,Qr=0,an=tr.length;tr[0].type==="separator"&&(Xe+="top ",Qr=1),tr[tr.length-1].type==="separator"&&(Xe+="bottom ",an-=1);for(var yn=Qr;yn<an;yn++)tr[yn].type==="align"?(xt+=Va[tr[yn].align],br&&(ur+="none "),br=!0):tr[yn].type==="separator"&&br&&(ur+=tr[yn].separator==="|"?"solid ":"dashed ",br=!1);le.setAttribute("columnalign",xt.trim()),/[sd]/.test(ur)&&le.setAttribute("columnlines",ur.trim())}if(X.colSeparationType==="align"){for(var Ln=X.cols||[],Rn="",ma=1;ma<Ln.length;ma++)Rn+=ma%2?"0em ":"1em ";le.setAttribute("columnspacing",Rn.trim())}else X.colSeparationType==="alignat"?le.setAttribute("columnspacing","0em"):X.colSeparationType==="small"?le.setAttribute("columnspacing","0.2778em"):le.setAttribute("columnspacing","1em");var Ha="",wi=X.hLinesBeforeRow;Xe+=wi[0].length>0?"left ":"",Xe+=wi[wi.length-1].length>0?"right ":"";for(var Di=1;Di<wi.length-1;Di++)Ha+=wi[Di].length===0?"none ":wi[Di][0]?"dashed ":"solid ";return/[sd]/.test(Ha)&&le.setAttribute("rowlines",Ha.trim()),Xe!==""&&(le=new qr.MathNode("menclose",[le]),le.setAttribute("notation",Xe.trim())),X.arraystretch&&X.arraystretch<1&&(le=new qr.MathNode("mstyle",[le]),le.setAttribute("scriptlevel","1")),le},vi=function(X,re){var le=[],we=Kn(X.parser,{cols:le,addJot:!0},"display"),Xe,xt=0,tr={type:"ordgroup",mode:X.mode,body:[]},ur=Pn(re[0],"ordgroup");if(ur){for(var br="",Qr=0;Qr<ur.body.length;Qr++){var an=kn(ur.body[Qr],"textord");br+=an.text}Xe=Number(br),xt=Xe*2}var yn=!xt;we.body.forEach(function(Ha){for(var wi=1;wi<Ha.length;wi+=2){var Di=kn(Ha[wi],"styling"),Oi=kn(Di.body[0],"ordgroup");Oi.body.unshift(tr)}if(yn)xt<Ha.length&&(xt=Ha.length);else{var po=Ha.length/2;if(Xe<po)throw new f("Too many math in a row: "+("expected "+Xe+", but got "+po),Ha[0])}});for(var Ln=0;Ln<xt;++Ln){var Rn="r",ma=0;Ln%2==1?Rn="l":Ln>0&&yn&&(ma=1),le[Ln]={type:"align",align:Rn,pregap:ma,postgap:0}}return we.colSeparationType=yn?"align":"alignat",we};Tn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(X,re){var le=La(re[0]),we=le?[re[0]]:kn(re[0],"ordgroup").body,Xe=we.map(function(tr){var ur=ba(tr),br=ur.text;if("lcr".indexOf(br)!==-1)return{type:"align",align:br};if(br==="|")return{type:"separator",separator:"|"};if(br===":")return{type:"separator",separator:":"};throw new f("Unknown column alignment: "+br,tr)}),xt={cols:Xe,hskipBeforeAndAfter:!0};return Kn(X.parser,xt,Fa(X.envName))},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(X){var re={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[X.envName],le={hskipBeforeAndAfter:!1},we=Kn(X.parser,le,Fa(X.envName));return re?{type:"leftright",mode:X.mode,body:[we],left:re[0],right:re[1],rightColor:void 0}:we},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(X){var re={arraystretch:.5},le=Kn(X.parser,re,"script");return le.colSeparationType="small",le},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(X,re){var le=La(re[0]),we=le?[re[0]]:kn(re[0],"ordgroup").body,Xe=we.map(function(tr){var ur=ba(tr),br=ur.text;if("lc".indexOf(br)!==-1)return{type:"align",align:br};throw new f("Unknown column alignment: "+br,tr)});if(Xe.length>1)throw new f("{subarray} can contain only one column");var xt={cols:Xe,hskipBeforeAndAfter:!1,arraystretch:.5};if(xt=Kn(X.parser,xt,"script"),xt.body[0].length>1)throw new f("{subarray} can contain only one column");return xt},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(X){var re={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},le=Kn(X.parser,re,Fa(X.envName));return{type:"leftright",mode:X.mode,body:[le],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["aligned"],props:{numArgs:0},handler:vi,htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(X){var re={cols:[{type:"align",align:"c"}],addJot:!0};return Kn(X.parser,re,"display")},htmlBuilder:Ya,mathmlBuilder:Ga}),Tn({type:"array",names:["alignedat"],props:{numArgs:1},handler:vi,htmlBuilder:Ya,mathmlBuilder:Ga}),wr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(X,re){throw new f(X.funcName+" valid only within array environment")}});var Xa=$n,Jn=Xa;wr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];if(Xe.type!=="ordgroup")throw new f("Invalid environment name",Xe);for(var xt="",tr=0;tr<Xe.body.length;++tr)xt+=kn(Xe.body[tr],"textord").text;if(we==="\\begin"){if(!Jn.hasOwnProperty(xt))throw new f("No such environment: "+xt,Xe);var ur=Jn[xt],br=le.parseArguments("\\begin{"+xt+"}",ur),Qr=br.args,an=br.optArgs,yn={mode:le.mode,envName:xt,parser:le},Ln=ur.handler(yn,Qr,an);le.expect("\\end",!1);var Rn=le.nextToken,ma=kn(le.parseFunction(),"environment");if(ma.name!==xt)throw new f("Mismatch: \\begin{"+xt+"} matched by \\end{"+ma.name+"}",Rn);return Ln}return{type:"environment",mode:le.mode,name:xt,nameGroup:Xe}}});var ei=kr.makeSpan;function Na(Bt,X){var re=aa(Bt.body,X,!0);return ei([Bt.mclass],re,X)}function _n(Bt,X){var re,le=_i(Bt.body,X);return Bt.mclass==="minner"?qr.newDocumentFragment(le):(Bt.mclass==="mord"?Bt.isCharacterBox?(re=le[0],re.type="mi"):re=new qr.MathNode("mi",le):(Bt.isCharacterBox?(re=le[0],re.type="mo"):re=new qr.MathNode("mo",le),Bt.mclass==="mbin"?(re.attributes.lspace="0.22em",re.attributes.rspace="0.22em"):Bt.mclass==="mpunct"?(re.attributes.lspace="0em",re.attributes.rspace="0.17em"):(Bt.mclass==="mopen"||Bt.mclass==="mclose")&&(re.attributes.lspace="0em",re.attributes.rspace="0em")),re)}wr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];return{type:"mclass",mode:le.mode,mclass:"m"+we.substr(5),body:un(Xe),isCharacterBox:h.isCharacterBox(Xe)}},htmlBuilder:Na,mathmlBuilder:_n});var sa=function(X){var re=X.type==="ordgroup"&&X.body.length?X.body[0]:X;return re.type==="atom"&&(re.family==="bin"||re.family==="rel")?"m"+re.family:"mord"};wr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(X,re){var le=X.parser;return{type:"mclass",mode:le.mode,mclass:sa(re[0]),body:[re[1]],isCharacterBox:h.isCharacterBox(re[1])}}}),wr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[1],xt=re[0],tr;we!=="\\stackrel"?tr=sa(Xe):tr="mrel";var ur={type:"op",mode:Xe.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:we!=="\\stackrel",body:un(Xe)},br={type:"supsub",mode:xt.mode,base:ur,sup:we==="\\underset"?null:xt,sub:we==="\\underset"?xt:null};return{type:"mclass",mode:le.mode,mclass:tr,body:[br],isCharacterBox:h.isCharacterBox(br)}},htmlBuilder:Na,mathmlBuilder:_n});var wa=function(X,re){var le=X.font,we=re.withFont(le);return ha(X.body,we)},si=function(X,re){var le=X.font,we=re.withFont(le);return $i(X.body,we)},Ka={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};wr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0],xt=we;return xt in Ka&&(xt=Ka[xt]),{type:"font",mode:le.mode,font:xt.slice(1),body:Xe}},htmlBuilder:wa,mathmlBuilder:si}),wr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(X,re){var le=X.parser,we=re[0],Xe=h.isCharacterBox(we);return{type:"mclass",mode:le.mode,mclass:sa(we),body:[{type:"font",mode:le.mode,font:"boldsymbol",body:we}],isCharacterBox:Xe}}}),wr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=X.breakOnTokenText,xt=le.mode,tr=le.parseExpression(!0,Xe),ur="math"+we.slice(1);return{type:"font",mode:xt,font:ur,body:{type:"ordgroup",mode:le.mode,body:tr}}},htmlBuilder:wa,mathmlBuilder:si});var ja=function(X,re){var le=re;return X==="display"?le=le.id>=_.SCRIPT.id?le.text():_.DISPLAY:X==="text"&&le.size===_.DISPLAY.size?le=_.TEXT:X==="script"?le=_.SCRIPT:X==="scriptscript"&&(le=_.SCRIPTSCRIPT),le},$a=function(X,re){var le=ja(X.size,re.style),we=le.fracNum(),Xe=le.fracDen(),xt;xt=re.havingStyle(we);var tr=ha(X.numer,xt,re);if(X.continued){var ur=8.5/re.fontMetrics().ptPerEm,br=3.5/re.fontMetrics().ptPerEm;tr.height=tr.height<ur?ur:tr.height,tr.depth=tr.depth<br?br:tr.depth}xt=re.havingStyle(Xe);var Qr=ha(X.denom,xt,re),an,yn,Ln;X.hasBarLine?(X.barSize?(yn=Nt(X.barSize,re),an=kr.makeLineSpan("frac-line",re,yn)):an=kr.makeLineSpan("frac-line",re),yn=an.height,Ln=an.height):(an=null,yn=0,Ln=re.fontMetrics().defaultRuleThickness);var Rn,ma,Ha;le.size===_.DISPLAY.size||X.size==="display"?(Rn=re.fontMetrics().num1,yn>0?ma=3*Ln:ma=7*Ln,Ha=re.fontMetrics().denom1):(yn>0?(Rn=re.fontMetrics().num2,ma=Ln):(Rn=re.fontMetrics().num3,ma=3*Ln),Ha=re.fontMetrics().denom2);var wi;if(an){var Oi=re.fontMetrics().axisHeight;Rn-tr.depth-(Oi+.5*yn)<ma&&(Rn+=ma-(Rn-tr.depth-(Oi+.5*yn))),Oi-.5*yn-(Qr.height-Ha)<ma&&(Ha+=ma-(Oi-.5*yn-(Qr.height-Ha)));var po=-(Oi-.5*yn);wi=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Qr,shift:Ha},{type:"elem",elem:an,shift:po},{type:"elem",elem:tr,shift:-Rn}]},re)}else{var Di=Rn-tr.depth-(Qr.height-Ha);Di<ma&&(Rn+=.5*(ma-Di),Ha+=.5*(ma-Di)),wi=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Qr,shift:Ha},{type:"elem",elem:tr,shift:-Rn}]},re)}xt=re.havingStyle(le),wi.height*=xt.sizeMultiplier/re.sizeMultiplier,wi.depth*=xt.sizeMultiplier/re.sizeMultiplier;var mo;le.size===_.DISPLAY.size?mo=re.fontMetrics().delim1:mo=re.fontMetrics().delim2;var Eo,Bo;return X.leftDelim==null?Eo=Li(re,["mopen"]):Eo=Gr.customSizedDelim(X.leftDelim,mo,!0,re.havingStyle(le),X.mode,["mopen"]),X.continued?Bo=kr.makeSpan([]):X.rightDelim==null?Bo=Li(re,["mclose"]):Bo=Gr.customSizedDelim(X.rightDelim,mo,!0,re.havingStyle(le),X.mode,["mclose"]),kr.makeSpan(["mord"].concat(xt.sizingClasses(re)),[Eo,kr.makeSpan(["mfrac"],[wi]),Bo],re)},Wi=function(X,re){var le=new qr.MathNode("mfrac",[$i(X.numer,re),$i(X.denom,re)]);if(!X.hasBarLine)le.setAttribute("linethickness","0px");else if(X.barSize){var we=Nt(X.barSize,re);le.setAttribute("linethickness",we+"em")}var Xe=ja(X.size,re.style);if(Xe.size!==re.style.size){le=new qr.MathNode("mstyle",[le]);var xt=Xe.size===_.DISPLAY.size?"true":"false";le.setAttribute("displaystyle",xt),le.setAttribute("scriptlevel","0")}if(X.leftDelim!=null||X.rightDelim!=null){var tr=[];if(X.leftDelim!=null){var ur=new qr.MathNode("mo",[new qr.TextNode(X.leftDelim.replace("\\",""))]);ur.setAttribute("fence","true"),tr.push(ur)}if(tr.push(le),X.rightDelim!=null){var br=new qr.MathNode("mo",[new qr.TextNode(X.rightDelim.replace("\\",""))]);br.setAttribute("fence","true"),tr.push(br)}return li(tr)}return le};wr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0],xt=re[1],tr,ur=null,br=null,Qr="auto";switch(we){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":tr=!0;break;case"\\\\atopfrac":tr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":tr=!1,ur="(",br=")";break;case"\\\\bracefrac":tr=!1,ur="\\{",br="\\}";break;case"\\\\brackfrac":tr=!1,ur="[",br="]";break;default:throw new Error("Unrecognized genfrac command")}switch(we){case"\\cfrac":case"\\dfrac":case"\\dbinom":Qr="display";break;case"\\tfrac":case"\\tbinom":Qr="text";break}return{type:"genfrac",mode:le.mode,continued:we==="\\cfrac",numer:Xe,denom:xt,hasBarLine:tr,leftDelim:ur,rightDelim:br,size:Qr,barSize:null}},htmlBuilder:$a,mathmlBuilder:Wi}),wr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(X){var re=X.parser,le=X.funcName,we=X.token,Xe;switch(le){case"\\over":Xe="\\frac";break;case"\\choose":Xe="\\binom";break;case"\\atop":Xe="\\\\atopfrac";break;case"\\brace":Xe="\\\\bracefrac";break;case"\\brack":Xe="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:re.mode,replaceWith:Xe,token:we}}});var Vi=["display","text","script","scriptscript"],co=function(X){var re=null;return X.length>0&&(re=X,re=re==="."?null:re),re};wr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(X,re){var le=X.parser,we=re[4],Xe=re[5],xt=Pn(re[0],"atom");xt&&(xt=Ma(re[0],"open"));var tr=xt?co(xt.text):null,ur=Pn(re[1],"atom");ur&&(ur=Ma(re[1],"close"));var br=ur?co(ur.text):null,Qr=kn(re[2],"size"),an,yn=null;Qr.isBlank?an=!0:(yn=Qr.value,an=yn.number>0);var Ln="auto",Rn=Pn(re[3],"ordgroup");if(Rn){if(Rn.body.length>0){var ma=kn(Rn.body[0],"textord");Ln=Vi[Number(ma.text)]}}else Rn=kn(re[3],"textord"),Ln=Vi[Number(Rn.text)];return{type:"genfrac",mode:le.mode,numer:we,denom:Xe,continued:!1,hasBarLine:an,barSize:yn,leftDelim:tr,rightDelim:br,size:Ln}},htmlBuilder:$a,mathmlBuilder:Wi}),wr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=X.token;return{type:"infix",mode:le.mode,replaceWith:"\\\\abovefrac",size:kn(re[0],"size").value,token:Xe}}}),wr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0],xt=c(kn(re[1],"infix").size),tr=re[2],ur=xt.number>0;return{type:"genfrac",mode:le.mode,numer:Xe,denom:tr,continued:!1,hasBarLine:ur,barSize:xt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:$a,mathmlBuilder:Wi});var oo=function(X,re){var le=re.style,we,Xe,xt=Pn(X,"supsub");xt?(we=xt.sup?ha(xt.sup,re.havingStyle(le.sup()),re):ha(xt.sub,re.havingStyle(le.sub()),re),Xe=kn(xt.base,"horizBrace")):Xe=kn(X,"horizBrace");var tr=ha(Xe.base,re.havingBaseStyle(_.DISPLAY)),ur=ji.svgSpan(Xe,re),br;if(Xe.isOver?(br=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:tr},{type:"kern",size:.1},{type:"elem",elem:ur}]},re),br.children[0].children[0].children[1].classes.push("svg-align")):(br=kr.makeVList({positionType:"bottom",positionData:tr.depth+.1+ur.height,children:[{type:"elem",elem:ur},{type:"kern",size:.1},{type:"elem",elem:tr}]},re),br.children[0].children[0].children[0].classes.push("svg-align")),we){var Qr=kr.makeSpan(["mord",Xe.isOver?"mover":"munder"],[br],re);Xe.isOver?br=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Qr},{type:"kern",size:.2},{type:"elem",elem:we}]},re):br=kr.makeVList({positionType:"bottom",positionData:Qr.depth+.2+we.height+we.depth,children:[{type:"elem",elem:we},{type:"kern",size:.2},{type:"elem",elem:Qr}]},re)}return kr.makeSpan(["mord",Xe.isOver?"mover":"munder"],[br],re)},Ki=function(X,re){var le=ji.mathMLnode(X.label);return new qr.MathNode(X.isOver?"mover":"munder",[$i(X.base,re),le])};wr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=X.funcName;return{type:"horizBrace",mode:le.mode,label:we,isOver:/^\\over/.test(we),base:re[0]}},htmlBuilder:oo,mathmlBuilder:Ki}),wr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(X,re){var le=X.parser,we=re[1],Xe=kn(re[0],"url").url;return le.settings.isTrusted({command:"\\href",url:Xe})?{type:"href",mode:le.mode,href:Xe,body:un(we)}:le.formatUnsupportedCmd("\\href")},htmlBuilder:function(X,re){var le=aa(X.body,re,!1);return kr.makeAnchor(X.href,[],le,re)},mathmlBuilder:function(X,re){var le=Lo(X.body,re);return le instanceof Qi||(le=new Qi("mrow",[le])),le.setAttribute("href",X.href),le}}),wr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(X,re){var le=X.parser,we=kn(re[0],"url").url;if(!le.settings.isTrusted({command:"\\url",url:we}))return le.formatUnsupportedCmd("\\url");for(var Xe=[],xt=0;xt<we.length;xt++){var tr=we[xt];tr==="~"&&(tr="\\textasciitilde"),Xe.push({type:"textord",mode:"text",text:tr})}var ur={type:"text",mode:le.mode,font:"\\texttt",body:Xe};return{type:"href",mode:le.mode,href:we,body:un(ur)}}}),wr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(X,re){var le=X.parser;return{type:"htmlmathml",mode:le.mode,html:un(re[0]),mathml:un(re[1])}},htmlBuilder:function(X,re){var le=aa(X.html,re,!1);return kr.makeFragment(le)},mathmlBuilder:function(X,re){return Lo(X.mathml,re)}});var Gi=function(X){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(X))return{number:+X,unit:"bp"};var re=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(X);if(!re)throw new f("Invalid size: '"+X+"' in \\includegraphics");var le={number:+(re[1]+re[2]),unit:re[3]};if(!qt(le))throw new f("Invalid unit: '"+le.unit+"' in \\includegraphics.");return le};wr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(X,re,le){var we=X.parser,Xe={number:0,unit:"em"},xt={number:.9,unit:"em"},tr={number:0,unit:"em"},ur="";if(le[0])for(var br=kn(le[0],"raw").string,Qr=br.split(","),an=0;an<Qr.length;an++){var yn=Qr[an].split("=");if(yn.length===2){var Ln=yn[1].trim();switch(yn[0].trim()){case"alt":ur=Ln;break;case"width":Xe=Gi(Ln);break;case"height":xt=Gi(Ln);break;case"totalheight":tr=Gi(Ln);break;default:throw new f("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Rn=kn(re[0],"url").url;return ur===""&&(ur=Rn,ur=ur.replace(/^.*[\\/]/,""),ur=ur.substring(0,ur.lastIndexOf("."))),we.settings.isTrusted({command:"\\includegraphics",url:Rn})?{type:"includegraphics",mode:we.mode,alt:ur,width:Xe,height:xt,totalheight:tr,src:Rn}:we.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(X,re){var le=Nt(X.height,re),we=0;X.totalheight.number>0&&(we=Nt(X.totalheight,re)-le,we=Number(we.toFixed(2)));var Xe=0;X.width.number>0&&(Xe=Nt(X.width,re));var xt={height:le+we+"em"};Xe>0&&(xt.width=Xe+"em"),we>0&&(xt.verticalAlign=-we+"em");var tr=new At(X.src,X.alt,xt);return tr.height=le,tr.depth=we,tr},mathmlBuilder:function(X,re){var le=new qr.MathNode("mglyph",[]);le.setAttribute("alt",X.alt);var we=Nt(X.height,re),Xe=0;if(X.totalheight.number>0&&(Xe=Nt(X.totalheight,re)-we,Xe=Xe.toFixed(2),le.setAttribute("valign","-"+Xe+"em")),le.setAttribute("height",we+Xe+"em"),X.width.number>0){var xt=Nt(X.width,re);le.setAttribute("width",xt+"em")}return le.setAttribute("src",X.src),le}}),wr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=kn(re[0],"size");if(le.settings.strict){var xt=we[1]==="m",tr=Xe.value.unit==="mu";xt?(tr||le.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" supports only mu units, "+("not "+Xe.value.unit+" units")),le.mode!=="math"&&le.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" works only in math mode")):tr&&le.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+we+" doesn't support mu units")}return{type:"kern",mode:le.mode,dimension:Xe.value}},htmlBuilder:function(X,re){return kr.makeGlue(X.dimension,re)},mathmlBuilder:function(X,re){var le=Nt(X.dimension,re);return new qr.SpaceNode(le)}}),wr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];return{type:"lap",mode:le.mode,alignment:we.slice(5),body:Xe}},htmlBuilder:function(X,re){var le;X.alignment==="clap"?(le=kr.makeSpan([],[ha(X.body,re)]),le=kr.makeSpan(["inner"],[le],re)):le=kr.makeSpan(["inner"],[ha(X.body,re)]);var we=kr.makeSpan(["fix"],[]),Xe=kr.makeSpan([X.alignment],[le,we],re),xt=kr.makeSpan(["strut"]);return xt.style.height=Xe.height+Xe.depth+"em",xt.style.verticalAlign=-Xe.depth+"em",Xe.children.unshift(xt),Xe=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Xe}]},re),kr.makeSpan(["mord"],[Xe],re)},mathmlBuilder:function(X,re){var le=new qr.MathNode("mpadded",[$i(X.body,re)]);if(X.alignment!=="rlap"){var we=X.alignment==="llap"?"-1":"-0.5";le.setAttribute("lspace",we+"width")}return le.setAttribute("width","0px"),le}}),wr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(X,re){var le=X.funcName,we=X.parser,Xe=we.mode;we.switchMode("math");var xt=le==="\\("?"\\)":"$",tr=we.parseExpression(!1,xt);return we.expect(xt),we.switchMode(Xe),{type:"styling",mode:we.mode,style:"text",body:tr}}}),wr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(X,re){throw new f("Mismatched "+X.funcName)}});var Ji=function(X,re){switch(re.style.size){case _.DISPLAY.size:return X.display;case _.TEXT.size:return X.text;case _.SCRIPT.size:return X.script;case _.SCRIPTSCRIPT.size:return X.scriptscript;default:return X.text}};wr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(X,re){var le=X.parser;return{type:"mathchoice",mode:le.mode,display:un(re[0]),text:un(re[1]),script:un(re[2]),scriptscript:un(re[3])}},htmlBuilder:function(X,re){var le=Ji(X,re),we=aa(le,re,!1);return kr.makeFragment(we)},mathmlBuilder:function(X,re){var le=Ji(X,re);return Lo(le,re)}});var pi=function(X,re,le,we,Xe,xt,tr){X=kr.makeSpan([],[X]);var ur,br;if(re){var Qr=ha(re,we.havingStyle(Xe.sup()),we);br={elem:Qr,kern:Math.max(we.fontMetrics().bigOpSpacing1,we.fontMetrics().bigOpSpacing3-Qr.depth)}}if(le){var an=ha(le,we.havingStyle(Xe.sub()),we);ur={elem:an,kern:Math.max(we.fontMetrics().bigOpSpacing2,we.fontMetrics().bigOpSpacing4-an.height)}}var yn;if(br&&ur){var Ln=we.fontMetrics().bigOpSpacing5+ur.elem.height+ur.elem.depth+ur.kern+X.depth+tr;yn=kr.makeVList({positionType:"bottom",positionData:Ln,children:[{type:"kern",size:we.fontMetrics().bigOpSpacing5},{type:"elem",elem:ur.elem,marginLeft:-xt+"em"},{type:"kern",size:ur.kern},{type:"elem",elem:X},{type:"kern",size:br.kern},{type:"elem",elem:br.elem,marginLeft:xt+"em"},{type:"kern",size:we.fontMetrics().bigOpSpacing5}]},we)}else if(ur){var Rn=X.height-tr;yn=kr.makeVList({positionType:"top",positionData:Rn,children:[{type:"kern",size:we.fontMetrics().bigOpSpacing5},{type:"elem",elem:ur.elem,marginLeft:-xt+"em"},{type:"kern",size:ur.kern},{type:"elem",elem:X}]},we)}else if(br){var ma=X.depth+tr;yn=kr.makeVList({positionType:"bottom",positionData:ma,children:[{type:"elem",elem:X},{type:"kern",size:br.kern},{type:"elem",elem:br.elem,marginLeft:xt+"em"},{type:"kern",size:we.fontMetrics().bigOpSpacing5}]},we)}else return X;return kr.makeSpan(["mop","op-limits"],[yn],we)},Ri=["\\smallint"],Ii=function(X,re){var le,we,Xe=!1,xt,tr=Pn(X,"supsub");tr?(le=tr.sup,we=tr.sub,xt=kn(tr.base,"op"),Xe=!0):xt=kn(X,"op");var ur=re.style,br=!1;ur.size===_.DISPLAY.size&&xt.symbol&&!h.contains(Ri,xt.name)&&(br=!0);var Qr;if(xt.symbol){var an=br?"Size2-Regular":"Size1-Regular",yn="";if((xt.name==="\\oiint"||xt.name==="\\oiiint")&&(yn=xt.name.substr(1),xt.name=yn==="oiint"?"\\iint":"\\iiint"),Qr=kr.makeSymbol(xt.name,an,"math",re,["mop","op-symbol",br?"large-op":"small-op"]),yn.length>0){var Ln=Qr.italic,Rn=kr.staticSvg(yn+"Size"+(br?"2":"1"),re);Qr=kr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Qr,shift:0},{type:"elem",elem:Rn,shift:br?.08:0}]},re),xt.name="\\"+yn,Qr.classes.unshift("mop"),Qr.italic=Ln}}else if(xt.body){var ma=aa(xt.body,re,!0);ma.length===1&&ma[0]instanceof Ft?(Qr=ma[0],Qr.classes[0]="mop"):Qr=kr.makeSpan(["mop"],kr.tryCombineChars(ma),re)}else{for(var Ha=[],wi=1;wi<xt.name.length;wi++)Ha.push(kr.mathsym(xt.name[wi],xt.mode,re));Qr=kr.makeSpan(["mop"],Ha,re)}var Di=0,Oi=0;return(Qr instanceof Ft||xt.name==="\\oiint"||xt.name==="\\oiiint")&&!xt.suppressBaseShift&&(Di=(Qr.height-Qr.depth)/2-re.fontMetrics().axisHeight,Oi=Qr.italic),Xe?pi(Qr,le,we,re,ur,Oi,Di):(Di&&(Qr.style.position="relative",Qr.style.top=Di+"em"),Qr)},Fi=function(X,re){var le;if(X.symbol)le=new Qi("mo",[Ca(X.name,X.mode)]),h.contains(Ri,X.name)&&le.setAttribute("largeop","false");else if(X.body)le=new Qi("mo",_i(X.body,re));else{le=new Qi("mi",[new ta(X.name.slice(1))]);var we=new Qi("mo",[Ca("\u2061","text")]);X.parentIsSupSub?le=new Qi("mo",[le,we]):le=ao([le,we])}return le},Ro={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};wr({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(X,re){var le=X.parser,we=X.funcName,Xe=we;return Xe.length===1&&(Xe=Ro[Xe]),{type:"op",mode:le.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Xe}},htmlBuilder:Ii,mathmlBuilder:Fi}),wr({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=re[0];return{type:"op",mode:le.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:un(we)}},htmlBuilder:Ii,mathmlBuilder:Fi});var Zi={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};wr({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(X){var re=X.parser,le=X.funcName;return{type:"op",mode:re.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:le}},htmlBuilder:Ii,mathmlBuilder:Fi}),wr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(X){var re=X.parser,le=X.funcName;return{type:"op",mode:re.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:le}},htmlBuilder:Ii,mathmlBuilder:Fi}),wr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(X){var re=X.parser,le=X.funcName,we=le;return we.length===1&&(we=Zi[we]),{type:"op",mode:re.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:we}},htmlBuilder:Ii,mathmlBuilder:Fi});var eo=function(X,re){var le,we,Xe=!1,xt,tr=Pn(X,"supsub");tr?(le=tr.sup,we=tr.sub,xt=kn(tr.base,"operatorname"),Xe=!0):xt=kn(X,"operatorname");var ur;if(xt.body.length>0){for(var br=xt.body.map(function(Ln){var Rn=Ln.text;return typeof Rn=="string"?{type:"textord",mode:Ln.mode,text:Rn}:Ln}),Qr=aa(br,re.withFont("mathrm"),!0),an=0;an<Qr.length;an++){var yn=Qr[an];yn instanceof Ft&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}ur=kr.makeSpan(["mop"],Qr,re)}else ur=kr.makeSpan(["mop"],[],re);return Xe?pi(ur,le,we,re,re.style,0,0):ur},Ni=function(X,re){for(var le=_i(X.body,re.withFont("mathrm")),we=!0,Xe=0;Xe<le.length;Xe++){var xt=le[Xe];if(!(xt instanceof qr.SpaceNode))if(xt instanceof qr.MathNode)switch(xt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var tr=xt.children[0];xt.children.length===1&&tr instanceof qr.TextNode?tr.text=tr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):we=!1;break}default:we=!1}else we=!1}if(we){var ur=le.map(function(an){return an.toText()}).join("");le=[new qr.TextNode(ur)]}var br=new qr.MathNode("mi",le);br.setAttribute("mathvariant","normal");var Qr=new qr.MathNode("mo",[Ca("\u2061","text")]);return X.parentIsSupSub?new qr.MathNode("mo",[br,Qr]):qr.newDocumentFragment([br,Qr])};wr({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];return{type:"operatorname",mode:le.mode,body:un(Xe),alwaysHandleSupSub:we==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:eo,mathmlBuilder:Ni}),pn({type:"ordgroup",htmlBuilder:function(X,re){return X.semisimple?kr.makeFragment(aa(X.body,re,!1)):kr.makeSpan(["mord"],aa(X.body,re,!0),re)},mathmlBuilder:function(X,re){return Lo(X.body,re,!0)}}),wr({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(X,re){var le=X.parser,we=re[0];return{type:"overline",mode:le.mode,body:we}},htmlBuilder:function(X,re){var le=ha(X.body,re.havingCrampedStyle()),we=kr.makeLineSpan("overline-line",re),Xe=re.fontMetrics().defaultRuleThickness,xt=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:le},{type:"kern",size:3*Xe},{type:"elem",elem:we},{type:"kern",size:Xe}]},re);return kr.makeSpan(["mord","overline"],[xt],re)},mathmlBuilder:function(X,re){var le=new qr.MathNode("mo",[new qr.TextNode("\u203E")]);le.setAttribute("stretchy","true");var we=new qr.MathNode("mover",[$i(X.body,re),le]);return we.setAttribute("accent","true"),we}}),wr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){var le=X.parser,we=re[0];return{type:"phantom",mode:le.mode,body:un(we)}},htmlBuilder:function(X,re){var le=aa(X.body,re.withPhantom(),!1);return kr.makeFragment(le)},mathmlBuilder:function(X,re){var le=_i(X.body,re);return new qr.MathNode("mphantom",le)}}),wr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){var le=X.parser,we=re[0];return{type:"hphantom",mode:le.mode,body:we}},htmlBuilder:function(X,re){var le=kr.makeSpan([],[ha(X.body,re.withPhantom())]);if(le.height=0,le.depth=0,le.children)for(var we=0;we<le.children.length;we++)le.children[we].height=0,le.children[we].depth=0;return le=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:le}]},re),kr.makeSpan(["mord"],[le],re)},mathmlBuilder:function(X,re){var le=_i(un(X.body),re),we=new qr.MathNode("mphantom",le),Xe=new qr.MathNode("mpadded",[we]);return Xe.setAttribute("height","0px"),Xe.setAttribute("depth","0px"),Xe}}),wr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){var le=X.parser,we=re[0];return{type:"vphantom",mode:le.mode,body:we}},htmlBuilder:function(X,re){var le=kr.makeSpan(["inner"],[ha(X.body,re.withPhantom())]),we=kr.makeSpan(["fix"],[]);return kr.makeSpan(["mord","rlap"],[le,we],re)},mathmlBuilder:function(X,re){var le=_i(un(X.body),re),we=new qr.MathNode("mphantom",le),Xe=new qr.MathNode("mpadded",[we]);return Xe.setAttribute("width","0px"),Xe}}),wr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(X,re){var le=X.parser,we=kn(re[0],"size").value,Xe=re[1];return{type:"raisebox",mode:le.mode,dy:we,body:Xe}},htmlBuilder:function(X,re){var le=ha(X.body,re),we=Nt(X.dy,re);return kr.makeVList({positionType:"shift",positionData:-we,children:[{type:"elem",elem:le}]},re)},mathmlBuilder:function(X,re){var le=new qr.MathNode("mpadded",[$i(X.body,re)]),we=X.dy.number+X.dy.unit;return le.setAttribute("voffset",we),le}}),wr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(X,re,le){var we=X.parser,Xe=le[0],xt=kn(re[0],"size"),tr=kn(re[1],"size");return{type:"rule",mode:we.mode,shift:Xe&&kn(Xe,"size").value,width:xt.value,height:tr.value}},htmlBuilder:function(X,re){var le=kr.makeSpan(["mord","rule"],[],re),we=Nt(X.width,re),Xe=Nt(X.height,re),xt=X.shift?Nt(X.shift,re):0;return le.style.borderRightWidth=we+"em",le.style.borderTopWidth=Xe+"em",le.style.bottom=xt+"em",le.width=we,le.height=Xe+xt,le.depth=-xt,le.maxFontSize=Xe*1.125*re.sizeMultiplier,le},mathmlBuilder:function(X,re){var le=Nt(X.width,re),we=Nt(X.height,re),Xe=X.shift?Nt(X.shift,re):0,xt=re.color&&re.getColor()||"black",tr=new qr.MathNode("mspace");tr.setAttribute("mathbackground",xt),tr.setAttribute("width",le+"em"),tr.setAttribute("height",we+"em");var ur=new qr.MathNode("mpadded",[tr]);return Xe>=0?ur.setAttribute("height","+"+Xe+"em"):(ur.setAttribute("height",Xe+"em"),ur.setAttribute("depth","+"+-Xe+"em")),ur.setAttribute("voffset",Xe+"em"),ur}});function ii(Bt,X,re){for(var le=aa(Bt,X,!1),we=X.sizeMultiplier/re.sizeMultiplier,Xe=0;Xe<le.length;Xe++){var xt=le[Xe].classes.indexOf("sizing");xt<0?Array.prototype.push.apply(le[Xe].classes,X.sizingClasses(re)):le[Xe].classes[xt+1]==="reset-size"+X.size&&(le[Xe].classes[xt+1]="reset-size"+re.size),le[Xe].height*=we,le[Xe].depth*=we}return kr.makeFragment(le)}var Yi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fo=function(X,re){var le=re.havingSize(X.size);return ii(X.body,le,re)};wr({type:"sizing",names:Yi,props:{numArgs:0,allowedInText:!0},handler:function(X,re){var le=X.breakOnTokenText,we=X.funcName,Xe=X.parser,xt=Xe.parseExpression(!1,le);return{type:"sizing",mode:Xe.mode,size:Yi.indexOf(we)+1,body:xt}},htmlBuilder:fo,mathmlBuilder:function(X,re){var le=re.havingSize(X.size),we=_i(X.body,le),Xe=new qr.MathNode("mstyle",we);return Xe.setAttribute("mathsize",le.sizeMultiplier+"em"),Xe}}),wr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(X,re,le){var we=X.parser,Xe=!1,xt=!1,tr=le[0]&&kn(le[0],"ordgroup");if(tr)for(var ur="",br=0;br<tr.body.length;++br){var Qr=tr.body[br];if(ur=Qr.text,ur==="t")Xe=!0;else if(ur==="b")xt=!0;else{Xe=!1,xt=!1;break}}else Xe=!0,xt=!0;var an=re[0];return{type:"smash",mode:we.mode,body:an,smashHeight:Xe,smashDepth:xt}},htmlBuilder:function(X,re){var le=kr.makeSpan([],[ha(X.body,re)]);if(!X.smashHeight&&!X.smashDepth)return le;if(X.smashHeight&&(le.height=0,le.children))for(var we=0;we<le.children.length;we++)le.children[we].height=0;if(X.smashDepth&&(le.depth=0,le.children))for(var Xe=0;Xe<le.children.length;Xe++)le.children[Xe].depth=0;var xt=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:le}]},re);return kr.makeSpan(["mord"],[xt],re)},mathmlBuilder:function(X,re){var le=new qr.MathNode("mpadded",[$i(X.body,re)]);return X.smashHeight&&le.setAttribute("height","0px"),X.smashDepth&&le.setAttribute("depth","0px"),le}}),wr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(X,re,le){var we=X.parser,Xe=le[0],xt=re[0];return{type:"sqrt",mode:we.mode,body:xt,index:Xe}},htmlBuilder:function(X,re){var le=ha(X.body,re.havingCrampedStyle());le.height===0&&(le.height=re.fontMetrics().xHeight),le=kr.wrapFragment(le,re);var we=re.fontMetrics(),Xe=we.defaultRuleThickness,xt=Xe;re.style.id<_.TEXT.id&&(xt=re.fontMetrics().xHeight);var tr=Xe+xt/4,ur=le.height+le.depth+tr+Xe,br=Gr.sqrtImage(ur,re),Qr=br.span,an=br.ruleWidth,yn=br.advanceWidth,Ln=Qr.height-an;Ln>le.height+le.depth+tr&&(tr=(tr+Ln-le.height-le.depth)/2);var Rn=Qr.height-le.height-tr-an;le.style.paddingLeft=yn+"em";var ma=kr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:le,wrapperClasses:["svg-align"]},{type:"kern",size:-(le.height+Rn)},{type:"elem",elem:Qr},{type:"kern",size:an}]},re);if(X.index){var Ha=re.havingStyle(_.SCRIPTSCRIPT),wi=ha(X.index,Ha,re),Di=.6*(ma.height-ma.depth),Oi=kr.makeVList({positionType:"shift",positionData:-Di,children:[{type:"elem",elem:wi}]},re),po=kr.makeSpan(["root"],[Oi]);return kr.makeSpan(["mord","sqrt"],[po,ma],re)}else return kr.makeSpan(["mord","sqrt"],[ma],re)},mathmlBuilder:function(X,re){var le=X.body,we=X.index;return we?new qr.MathNode("mroot",[$i(le,re),$i(we,re)]):new qr.MathNode("msqrt",[$i(le,re)])}});var fa={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT};wr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(X,re){var le=X.breakOnTokenText,we=X.funcName,Xe=X.parser,xt=Xe.parseExpression(!0,le),tr=we.slice(1,we.length-5);return{type:"styling",mode:Xe.mode,style:tr,body:xt}},htmlBuilder:function(X,re){var le=fa[X.style],we=re.havingStyle(le).withFont("");return ii(X.body,we,re)},mathmlBuilder:function(X,re){var le=fa[X.style],we=re.havingStyle(le),Xe=_i(X.body,we),xt=new qr.MathNode("mstyle",Xe),tr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},ur=tr[X.style];return xt.setAttribute("scriptlevel",ur[0]),xt.setAttribute("displaystyle",ur[1]),xt}});var uo=function(X,re){var le=X.base;if(le)if(le.type==="op"){var we=le.limits&&(re.style.size===_.DISPLAY.size||le.alwaysHandleSupSub);return we?Ii:null}else if(le.type==="operatorname"){var Xe=le.alwaysHandleSupSub&&(re.style.size===_.DISPLAY.size||le.limits);return Xe?eo:null}else{if(le.type==="accent")return h.isCharacterBox(le.base)?Ke:null;if(le.type==="horizBrace"){var xt=!X.sub;return xt===le.isOver?oo:null}else return null}else return null};pn({type:"supsub",htmlBuilder:function(X,re){var le=uo(X,re);if(le)return le(X,re);var we=X.base,Xe=X.sup,xt=X.sub,tr=ha(we,re),ur,br,Qr=re.fontMetrics(),an=0,yn=0,Ln=we&&h.isCharacterBox(we);if(Xe){var Rn=re.havingStyle(re.style.sup());ur=ha(Xe,Rn,re),Ln||(an=tr.height-Rn.fontMetrics().supDrop*Rn.sizeMultiplier/re.sizeMultiplier)}if(xt){var ma=re.havingStyle(re.style.sub());br=ha(xt,ma,re),Ln||(yn=tr.depth+ma.fontMetrics().subDrop*ma.sizeMultiplier/re.sizeMultiplier)}var Ha;re.style===_.DISPLAY?Ha=Qr.sup1:re.style.cramped?Ha=Qr.sup3:Ha=Qr.sup2;var wi=re.sizeMultiplier,Di=.5/Qr.ptPerEm/wi+"em",Oi=null;if(br){var po=X.base&&X.base.type==="op"&&X.base.name&&(X.base.name==="\\oiint"||X.base.name==="\\oiiint");(tr instanceof Ft||po)&&(Oi=-tr.italic+"em")}var mo;if(ur&&br){an=Math.max(an,Ha,ur.depth+.25*Qr.xHeight),yn=Math.max(yn,Qr.sub2);var Eo=Qr.defaultRuleThickness,Bo=4*Eo;if(an-ur.depth-(br.height-yn)<Bo){yn=Bo-(an-ur.depth)+br.height;var No=.8*Qr.xHeight-(an-ur.depth);No>0&&(an+=No,yn-=No)}var Go=[{type:"elem",elem:br,shift:yn,marginRight:Di,marginLeft:Oi},{type:"elem",elem:ur,shift:-an,marginRight:Di}];mo=kr.makeVList({positionType:"individualShift",children:Go},re)}else if(br){yn=Math.max(yn,Qr.sub1,br.height-.8*Qr.xHeight);var Yo=[{type:"elem",elem:br,marginLeft:Oi,marginRight:Di}];mo=kr.makeVList({positionType:"shift",positionData:yn,children:Yo},re)}else if(ur)an=Math.max(an,Ha,ur.depth+.25*Qr.xHeight),mo=kr.makeVList({positionType:"shift",positionData:-an,children:[{type:"elem",elem:ur,marginRight:Di}]},re);else throw new Error("supsub must have either sup or sub.");var ro=yi(tr,"right")||"mord";return kr.makeSpan([ro],[tr,kr.makeSpan(["msupsub"],[mo])],re)},mathmlBuilder:function(X,re){var le=!1,we,Xe,xt=Pn(X.base,"horizBrace");xt&&(Xe=!!X.sup,Xe===xt.isOver&&(le=!0,we=xt.isOver)),X.base&&(X.base.type==="op"||X.base.type==="operatorname")&&(X.base.parentIsSupSub=!0);var tr=[$i(X.base,re)];X.sub&&tr.push($i(X.sub,re)),X.sup&&tr.push($i(X.sup,re));var ur;if(le)ur=we?"mover":"munder";else if(X.sub)if(X.sup){var an=X.base;an&&an.type==="op"&&an.limits&&re.style===_.DISPLAY||an&&an.type==="operatorname"&&an.alwaysHandleSupSub&&(re.style===_.DISPLAY||an.limits)?ur="munderover":ur="msubsup"}else{var Qr=X.base;Qr&&Qr.type==="op"&&Qr.limits&&(re.style===_.DISPLAY||Qr.alwaysHandleSupSub)||Qr&&Qr.type==="operatorname"&&Qr.alwaysHandleSupSub&&(Qr.limits||re.style===_.DISPLAY)?ur="munder":ur="msub"}else{var br=X.base;br&&br.type==="op"&&br.limits&&(re.style===_.DISPLAY||br.alwaysHandleSupSub)||br&&br.type==="operatorname"&&br.alwaysHandleSupSub&&(br.limits||re.style===_.DISPLAY)?ur="mover":ur="msup"}var yn=new qr.MathNode(ur,tr);return yn}}),pn({type:"atom",htmlBuilder:function(X,re){return kr.mathsym(X.text,X.mode,re,["m"+X.family])},mathmlBuilder:function(X,re){var le=new qr.MathNode("mo",[Ca(X.text,X.mode)]);if(X.family==="bin"){var we=di(X,re);we==="bold-italic"&&le.setAttribute("mathvariant",we)}else X.family==="punct"?le.setAttribute("separator","true"):(X.family==="open"||X.family==="close")&&le.setAttribute("stretchy","false");return le}});var fi={mi:"italic",mn:"normal",mtext:"normal"};pn({type:"mathord",htmlBuilder:function(X,re){return kr.makeOrd(X,re,"mathord")},mathmlBuilder:function(X,re){var le=new qr.MathNode("mi",[Ca(X.text,X.mode,re)]),we=di(X,re)||"italic";return we!==fi[le.type]&&le.setAttribute("mathvariant",we),le}}),pn({type:"textord",htmlBuilder:function(X,re){return kr.makeOrd(X,re,"textord")},mathmlBuilder:function(X,re){var le=Ca(X.text,X.mode,re),we=di(X,re)||"normal",Xe;return X.mode==="text"?Xe=new qr.MathNode("mtext",[le]):/[0-9]/.test(X.text)?Xe=new qr.MathNode("mn",[le]):X.text==="\\prime"?Xe=new qr.MathNode("mo",[le]):Xe=new qr.MathNode("mi",[le]),we!==fi[Xe.type]&&Xe.setAttribute("mathvariant",we),Xe}});var Ta={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ja={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pn({type:"spacing",htmlBuilder:function(X,re){if(Ja.hasOwnProperty(X.text)){var le=Ja[X.text].className||"";if(X.mode==="text"){var we=kr.makeOrd(X,re,"textord");return we.classes.push(le),we}else return kr.makeSpan(["mspace",le],[kr.mathsym(X.text,X.mode,re)],re)}else{if(Ta.hasOwnProperty(X.text))return kr.makeSpan(["mspace",Ta[X.text]],[],re);throw new f('Unknown type of space "'+X.text+'"')}},mathmlBuilder:function(X,re){var le;if(Ja.hasOwnProperty(X.text))le=new qr.MathNode("mtext",[new qr.TextNode("\xA0")]);else{if(Ta.hasOwnProperty(X.text))return new qr.MathNode("mspace");throw new f('Unknown type of space "'+X.text+'"')}return le}});var Da=function(){var X=new qr.MathNode("mtd",[]);return X.setAttribute("width","50%"),X};pn({type:"tag",mathmlBuilder:function(X,re){var le=new qr.MathNode("mtable",[new qr.MathNode("mtr",[Da(),new qr.MathNode("mtd",[Lo(X.body,re)]),Da(),new qr.MathNode("mtd",[Lo(X.tag,re)])])]);return le.setAttribute("width","100%"),le}});var Gn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mi={"\\textbf":"textbf","\\textmd":"textmd"},no={"\\textit":"textit","\\textup":"textup"},bi=function(X,re){var le=X.font;return le?Gn[le]?re.withTextFontFamily(Gn[le]):mi[le]?re.withTextFontWeight(mi[le]):re.withTextFontShape(no[le]):re};wr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(X,re){var le=X.parser,we=X.funcName,Xe=re[0];return{type:"text",mode:le.mode,body:un(Xe),font:we}},htmlBuilder:function(X,re){var le=bi(X,re),we=aa(X.body,le,!0);return kr.makeSpan(["mord","text"],kr.tryCombineChars(we),le)},mathmlBuilder:function(X,re){var le=bi(X,re);return Lo(X.body,le)}}),wr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(X,re){var le=X.parser;return{type:"underline",mode:le.mode,body:re[0]}},htmlBuilder:function(X,re){var le=ha(X.body,re),we=kr.makeLineSpan("underline-line",re),Xe=re.fontMetrics().defaultRuleThickness,xt=kr.makeVList({positionType:"top",positionData:le.height,children:[{type:"kern",size:Xe},{type:"elem",elem:we},{type:"kern",size:3*Xe},{type:"elem",elem:le}]},re);return kr.makeSpan(["mord","underline"],[xt],re)},mathmlBuilder:function(X,re){var le=new qr.MathNode("mo",[new qr.TextNode("\u203E")]);le.setAttribute("stretchy","true");var we=new qr.MathNode("munder",[$i(X.body,re),le]);return we.setAttribute("accentunder","true"),we}}),wr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(X,re,le){throw new f("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(X,re){for(var le=Zn(X),we=[],Xe=re.havingStyle(re.style.text()),xt=0;xt<le.length;xt++){var tr=le[xt];tr==="~"&&(tr="\\textasciitilde"),we.push(kr.makeSymbol(tr,"Typewriter-Regular",X.mode,Xe,["mord","texttt"]))}return kr.makeSpan(["mord","text"].concat(Xe.sizingClasses(re)),kr.tryCombineChars(we),Xe)},mathmlBuilder:function(X,re){var le=new qr.TextNode(Zn(X)),we=new qr.MathNode("mtext",[le]);return we.setAttribute("mathvariant","monospace"),we}});var Zn=function(X){return X.body.replace(/ /g,X.star?"\u2423":"\xA0")},Qa=Hr,Wa=Qa,to=`[ \r
|
|
|
]`,Ci="\\\\[a-zA-Z@]+",Ao="\\\\[^\uD800-\uDFFF]",jo=""+Ci+to+"*",es=new RegExp("^("+Ci+")"+to+"*$"),ts="[\u0300-\u036F]",gs=new RegExp(ts+"+$"),ls="("+to+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+jo)+("|"+Ao+")"),Ko=function(){function Bt(re,le){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=re,this.settings=le,this.tokenRegex=new RegExp(ls,"g"),this.catcodes={"%":14}}var X=Bt.prototype;return X.setCatcode=function(le,we){this.catcodes[le]=we},X.lex=function(){var le=this.input,we=this.tokenRegex.lastIndex;if(we===le.length)return new E("EOF",new I(this,we,we));var Xe=this.tokenRegex.exec(le);if(Xe===null||Xe.index!==we)throw new f("Unexpected character: '"+le[we]+"'",new E(le[we],new I(this,we,we+1)));var xt=Xe[2]||" ";if(this.catcodes[xt]===14){var tr=le.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return tr===-1?(this.tokenRegex.lastIndex=le.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=tr+1,this.lex()}var ur=xt.match(es);return ur&&(xt=ur[1]),new E(xt,new I(this,we,this.tokenRegex.lastIndex))},Bt}(),Ps=function(){function Bt(re,le){re===void 0&&(re={}),le===void 0&&(le={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=le,this.builtins=re,this.undefStack=[]}var X=Bt.prototype;return X.beginGroup=function(){this.undefStack.push({})},X.endGroup=function(){if(this.undefStack.length===0)throw new f("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var le=this.undefStack.pop();for(var we in le)le.hasOwnProperty(we)&&(le[we]===void 0?delete this.current[we]:this.current[we]=le[we])},X.has=function(le){return this.current.hasOwnProperty(le)||this.builtins.hasOwnProperty(le)},X.get=function(le){return this.current.hasOwnProperty(le)?this.current[le]:this.builtins[le]},X.set=function(le,we,Xe){if(Xe===void 0&&(Xe=!1),Xe){for(var xt=0;xt<this.undefStack.length;xt++)delete this.undefStack[xt][le];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][le]=we)}else{var tr=this.undefStack[this.undefStack.length-1];tr&&!tr.hasOwnProperty(le)&&(tr[le]=this.current[le])}this.current[le]=we},Bt}(),Fo={},Ei=Fo;function Ar(Bt,X){Fo[Bt]=X}Ar("\\@firstoftwo",function(Bt){var X=Bt.consumeArgs(2);return{tokens:X[0],numArgs:0}}),Ar("\\@secondoftwo",function(Bt){var X=Bt.consumeArgs(2);return{tokens:X[1],numArgs:0}}),Ar("\\@ifnextchar",function(Bt){var X=Bt.consumeArgs(3),re=Bt.future();return X[0].length===1&&X[0][0].text===re.text?{tokens:X[1],numArgs:0}:{tokens:X[2],numArgs:0}}),Ar("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ar("\\TextOrMath",function(Bt){var X=Bt.consumeArgs(2);return Bt.mode==="text"?{tokens:X[0],numArgs:0}:{tokens:X[1],numArgs:0}});var so={"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};Ar("\\char",function(Bt){var X=Bt.popToken(),re,le="";if(X.text==="'")re=8,X=Bt.popToken();else if(X.text==='"')re=16,X=Bt.popToken();else if(X.text==="`")if(X=Bt.popToken(),X.text[0]==="\\")le=X.text.charCodeAt(1);else{if(X.text==="EOF")throw new f("\\char` missing argument");le=X.text.charCodeAt(0)}else re=10;if(re){if(le=so[X.text],le==null||le>=re)throw new f("Invalid base-"+re+" digit "+X.text);for(var we;(we=so[Bt.future().text])!=null&&we<re;)le*=re,le+=we,Bt.popToken()}return"\\@char{"+le+"}"});var Ui=function(X,re){var le=X.consumeArgs(1)[0];if(le.length!==1)throw new f("\\gdef's first argument must be a macro name");var we=le[0].text,Xe=0;for(le=X.consumeArgs(1)[0];le.length===1&&le[0].text==="#";){if(le=X.consumeArgs(1)[0],le.length!==1)throw new f('Invalid argument number length "'+le.length+'"');if(!/^[1-9]$/.test(le[0].text))throw new f('Invalid argument number "'+le[0].text+'"');if(Xe++,parseInt(le[0].text)!==Xe)throw new f('Argument number "'+le[0].text+'" out of order');le=X.consumeArgs(1)[0]}return X.macros.set(we,{tokens:le,numArgs:Xe},re),""};Ar("\\gdef",function(Bt){return Ui(Bt,!0)}),Ar("\\def",function(Bt){return Ui(Bt,!1)}),Ar("\\global",function(Bt){var X=Bt.consumeArgs(1)[0];if(X.length!==1)throw new f("Invalid command after \\global");var re=X[0].text;if(re==="\\def")return Ui(Bt,!0);throw new f("Invalid command '"+re+"' after \\global")});var da=function(X,re,le){var we=X.consumeArgs(1)[0];if(we.length!==1)throw new f("\\newcommand's first argument must be a macro name");var Xe=we[0].text,xt=X.isDefined(Xe);if(xt&&!re)throw new f("\\newcommand{"+Xe+"} attempting to redefine "+(Xe+"; use \\renewcommand"));if(!xt&&!le)throw new f("\\renewcommand{"+Xe+"} when command "+Xe+" does not yet exist; use \\newcommand");var tr=0;if(we=X.consumeArgs(1)[0],we.length===1&&we[0].text==="["){for(var ur="",br=X.expandNextToken();br.text!=="]"&&br.text!=="EOF";)ur+=br.text,br=X.expandNextToken();if(!ur.match(/^\s*[0-9]+\s*$/))throw new f("Invalid number of arguments: "+ur);tr=parseInt(ur),we=X.consumeArgs(1)[0]}return X.macros.set(Xe,{tokens:we,numArgs:tr}),""};Ar("\\newcommand",function(Bt){return da(Bt,!1,!0)}),Ar("\\renewcommand",function(Bt){return da(Bt,!0,!1)}),Ar("\\providecommand",function(Bt){return da(Bt,!0,!0)}),Ar("\\bgroup","{"),Ar("\\egroup","}"),Ar("\\lq","`"),Ar("\\rq","'"),Ar("\\aa","\\r a"),Ar("\\AA","\\r A"),Ar("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ar("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ar("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ar("\u212C","\\mathscr{B}"),Ar("\u2130","\\mathscr{E}"),Ar("\u2131","\\mathscr{F}"),Ar("\u210B","\\mathscr{H}"),Ar("\u2110","\\mathscr{I}"),Ar("\u2112","\\mathscr{L}"),Ar("\u2133","\\mathscr{M}"),Ar("\u211B","\\mathscr{R}"),Ar("\u212D","\\mathfrak{C}"),Ar("\u210C","\\mathfrak{H}"),Ar("\u2128","\\mathfrak{Z}"),Ar("\\Bbbk","\\Bbb{k}"),Ar("\xB7","\\cdotp"),Ar("\\llap","\\mathllap{\\textrm{#1}}"),Ar("\\rlap","\\mathrlap{\\textrm{#1}}"),Ar("\\clap","\\mathclap{\\textrm{#1}}"),Ar("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ar("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ar("\\ne","\\neq"),Ar("\u2260","\\neq"),Ar("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ar("\u2209","\\notin"),Ar("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ar("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ar("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ar("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ar("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ar("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ar("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ar("\u27C2","\\perp"),Ar("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ar("\u220C","\\notni"),Ar("\u231C","\\ulcorner"),Ar("\u231D","\\urcorner"),Ar("\u231E","\\llcorner"),Ar("\u231F","\\lrcorner"),Ar("\xA9","\\copyright"),Ar("\xAE","\\textregistered"),Ar("\uFE0F","\\textregistered"),Ar("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Ar("\u22EE","\\vdots"),Ar("\\varGamma","\\mathit{\\Gamma}"),Ar("\\varDelta","\\mathit{\\Delta}"),Ar("\\varTheta","\\mathit{\\Theta}"),Ar("\\varLambda","\\mathit{\\Lambda}"),Ar("\\varXi","\\mathit{\\Xi}"),Ar("\\varPi","\\mathit{\\Pi}"),Ar("\\varSigma","\\mathit{\\Sigma}"),Ar("\\varUpsilon","\\mathit{\\Upsilon}"),Ar("\\varPhi","\\mathit{\\Phi}"),Ar("\\varPsi","\\mathit{\\Psi}"),Ar("\\varOmega","\\mathit{\\Omega}"),Ar("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ar("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Ar("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ar("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ar("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ar("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Pa={",":"\\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"};Ar("\\dots",function(Bt){var X="\\dotso",re=Bt.expandAfterFuture().text;return re in Pa?X=Pa[re]:(re.substr(0,4)==="\\not"||re in Ye.math&&h.contains(["bin","rel"],Ye.math[re].group))&&(X="\\dotsb"),X});var lo={")":!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};Ar("\\dotso",function(Bt){var X=Bt.future().text;return X in lo?"\\ldots\\,":"\\ldots"}),Ar("\\dotsc",function(Bt){var X=Bt.future().text;return X in lo&&X!==","?"\\ldots\\,":"\\ldots"}),Ar("\\cdots",function(Bt){var X=Bt.future().text;return X in lo?"\\@cdots\\,":"\\@cdots"}),Ar("\\dotsb","\\cdots"),Ar("\\dotsm","\\cdots"),Ar("\\dotsi","\\!\\cdots"),Ar("\\dotsx","\\ldots\\,"),Ar("\\DOTSI","\\relax"),Ar("\\DOTSB","\\relax"),Ar("\\DOTSX","\\relax"),Ar("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ar("\\,","\\tmspace+{3mu}{.1667em}"),Ar("\\thinspace","\\,"),Ar("\\>","\\mskip{4mu}"),Ar("\\:","\\tmspace+{4mu}{.2222em}"),Ar("\\medspace","\\:"),Ar("\\;","\\tmspace+{5mu}{.2777em}"),Ar("\\thickspace","\\;"),Ar("\\!","\\tmspace-{3mu}{.1667em}"),Ar("\\negthinspace","\\!"),Ar("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ar("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ar("\\enspace","\\kern.5em "),Ar("\\enskip","\\hskip.5em\\relax"),Ar("\\quad","\\hskip1em\\relax"),Ar("\\qquad","\\hskip2em\\relax"),Ar("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ar("\\tag@paren","\\tag@literal{({#1})}"),Ar("\\tag@literal",function(Bt){if(Bt.macros.get("\\df@tag"))throw new f("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ar("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ar("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ar("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ar("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ar("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Ar("\\\\","\\newline"),Ar("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var go=ft["Main-Regular"]["T".charCodeAt(0)][1]-.7*ft["Main-Regular"]["A".charCodeAt(0)][1]+"em";Ar("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+go+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ar("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+go+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ar("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ar("\\@hspace","\\hskip #1\\relax"),Ar("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ar("\\ordinarycolon",":"),Ar("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ar("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ar("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ar("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ar("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ar("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ar("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ar("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ar("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ar("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ar("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ar("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ar("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ar("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ar("\u2237","\\dblcolon"),Ar("\u2239","\\eqcolon"),Ar("\u2254","\\coloneqq"),Ar("\u2255","\\eqqcolon"),Ar("\u2A74","\\Coloneqq"),Ar("\\ratio","\\vcentcolon"),Ar("\\coloncolon","\\dblcolon"),Ar("\\colonequals","\\coloneqq"),Ar("\\coloncolonequals","\\Coloneqq"),Ar("\\equalscolon","\\eqqcolon"),Ar("\\equalscoloncolon","\\Eqqcolon"),Ar("\\colonminus","\\coloneq"),Ar("\\coloncolonminus","\\Coloneq"),Ar("\\minuscolon","\\eqcolon"),Ar("\\minuscoloncolon","\\Eqcolon"),Ar("\\coloncolonapprox","\\Colonapprox"),Ar("\\coloncolonsim","\\Colonsim"),Ar("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ar("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ar("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ar("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ar("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ar("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ar("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ar("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ar("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ar("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ar("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ar("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ar("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ar("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ar("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ar("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ar("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ar("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ar("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ar("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ar("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ar("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ar("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ar("\u27E6","\\llbracket"),Ar("\u27E7","\\rrbracket"),Ar("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ar("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ar("\u2983","\\lBrace"),Ar("\u2984","\\rBrace"),Ar("\\darr","\\downarrow"),Ar("\\dArr","\\Downarrow"),Ar("\\Darr","\\Downarrow"),Ar("\\lang","\\langle"),Ar("\\rang","\\rangle"),Ar("\\uarr","\\uparrow"),Ar("\\uArr","\\Uparrow"),Ar("\\Uarr","\\Uparrow"),Ar("\\N","\\mathbb{N}"),Ar("\\R","\\mathbb{R}"),Ar("\\Z","\\mathbb{Z}"),Ar("\\alef","\\aleph"),Ar("\\alefsym","\\aleph"),Ar("\\Alpha","\\mathrm{A}"),Ar("\\Beta","\\mathrm{B}"),Ar("\\bull","\\bullet"),Ar("\\Chi","\\mathrm{X}"),Ar("\\clubs","\\clubsuit"),Ar("\\cnums","\\mathbb{C}"),Ar("\\Complex","\\mathbb{C}"),Ar("\\Dagger","\\ddagger"),Ar("\\diamonds","\\diamondsuit"),Ar("\\empty","\\emptyset"),Ar("\\Epsilon","\\mathrm{E}"),Ar("\\Eta","\\mathrm{H}"),Ar("\\exist","\\exists"),Ar("\\harr","\\leftrightarrow"),Ar("\\hArr","\\Leftrightarrow"),Ar("\\Harr","\\Leftrightarrow"),Ar("\\hearts","\\heartsuit"),Ar("\\image","\\Im"),Ar("\\infin","\\infty"),Ar("\\Iota","\\mathrm{I}"),Ar("\\isin","\\in"),Ar("\\Kappa","\\mathrm{K}"),Ar("\\larr","\\leftarrow"),Ar("\\lArr","\\Leftarrow"),Ar("\\Larr","\\Leftarrow"),Ar("\\lrarr","\\leftrightarrow"),Ar("\\lrArr","\\Leftrightarrow"),Ar("\\Lrarr","\\Leftrightarrow"),Ar("\\Mu","\\mathrm{M}"),Ar("\\natnums","\\mathbb{N}"),Ar("\\Nu","\\mathrm{N}"),Ar("\\Omicron","\\mathrm{O}"),Ar("\\plusmn","\\pm"),Ar("\\rarr","\\rightarrow"),Ar("\\rArr","\\Rightarrow"),Ar("\\Rarr","\\Rightarrow"),Ar("\\real","\\Re"),Ar("\\reals","\\mathbb{R}"),Ar("\\Reals","\\mathbb{R}"),Ar("\\Rho","\\mathrm{P}"),Ar("\\sdot","\\cdot"),Ar("\\sect","\\S"),Ar("\\spades","\\spadesuit"),Ar("\\sub","\\subset"),Ar("\\sube","\\subseteq"),Ar("\\supe","\\supseteq"),Ar("\\Tau","\\mathrm{T}"),Ar("\\thetasym","\\vartheta"),Ar("\\weierp","\\wp"),Ar("\\Zeta","\\mathrm{Z}"),Ar("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ar("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ar("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ar("\\blue","\\textcolor{##6495ed}{#1}"),Ar("\\orange","\\textcolor{##ffa500}{#1}"),Ar("\\pink","\\textcolor{##ff00af}{#1}"),Ar("\\red","\\textcolor{##df0030}{#1}"),Ar("\\green","\\textcolor{##28ae7b}{#1}"),Ar("\\gray","\\textcolor{gray}{#1}"),Ar("\\purple","\\textcolor{##9d38bd}{#1}"),Ar("\\blueA","\\textcolor{##ccfaff}{#1}"),Ar("\\blueB","\\textcolor{##80f6ff}{#1}"),Ar("\\blueC","\\textcolor{##63d9ea}{#1}"),Ar("\\blueD","\\textcolor{##11accd}{#1}"),Ar("\\blueE","\\textcolor{##0c7f99}{#1}"),Ar("\\tealA","\\textcolor{##94fff5}{#1}"),Ar("\\tealB","\\textcolor{##26edd5}{#1}"),Ar("\\tealC","\\textcolor{##01d1c1}{#1}"),Ar("\\tealD","\\textcolor{##01a995}{#1}"),Ar("\\tealE","\\textcolor{##208170}{#1}"),Ar("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ar("\\greenB","\\textcolor{##8af281}{#1}"),Ar("\\greenC","\\textcolor{##74cf70}{#1}"),Ar("\\greenD","\\textcolor{##1fab54}{#1}"),Ar("\\greenE","\\textcolor{##0d923f}{#1}"),Ar("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ar("\\goldB","\\textcolor{##ffbb71}{#1}"),Ar("\\goldC","\\textcolor{##ff9c39}{#1}"),Ar("\\goldD","\\textcolor{##e07d10}{#1}"),Ar("\\goldE","\\textcolor{##a75a05}{#1}"),Ar("\\redA","\\textcolor{##fca9a9}{#1}"),Ar("\\redB","\\textcolor{##ff8482}{#1}"),Ar("\\redC","\\textcolor{##f9685d}{#1}"),Ar("\\redD","\\textcolor{##e84d39}{#1}"),Ar("\\redE","\\textcolor{##bc2612}{#1}"),Ar("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ar("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ar("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ar("\\maroonD","\\textcolor{##ca337c}{#1}"),Ar("\\maroonE","\\textcolor{##9e034e}{#1}"),Ar("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ar("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ar("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ar("\\purpleD","\\textcolor{##7854ab}{#1}"),Ar("\\purpleE","\\textcolor{##543b78}{#1}"),Ar("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ar("\\mintB","\\textcolor{##edf2df}{#1}"),Ar("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ar("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ar("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ar("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ar("\\grayD","\\textcolor{##d6d8da}{#1}"),Ar("\\grayE","\\textcolor{##babec2}{#1}"),Ar("\\grayF","\\textcolor{##888d93}{#1}"),Ar("\\grayG","\\textcolor{##626569}{#1}"),Ar("\\grayH","\\textcolor{##3b3e40}{#1}"),Ar("\\grayI","\\textcolor{##21242c}{#1}"),Ar("\\kaBlue","\\textcolor{##314453}{#1}"),Ar("\\kaGreen","\\textcolor{##71B307}{#1}");var Po={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},bo=function(){function Bt(re,le,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=le,this.expansionCount=0,this.feed(re),this.macros=new Ps(Ei,le.macros),this.mode=we,this.stack=[]}var X=Bt.prototype;return X.feed=function(le){this.lexer=new Ko(le,this.settings)},X.switchMode=function(le){this.mode=le},X.beginGroup=function(){this.macros.beginGroup()},X.endGroup=function(){this.macros.endGroup()},X.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},X.popToken=function(){return this.future(),this.stack.pop()},X.pushToken=function(le){this.stack.push(le)},X.pushTokens=function(le){var we;(we=this.stack).push.apply(we,le)},X.consumeSpaces=function(){for(;;){var le=this.future();if(le.text===" ")this.stack.pop();else break}},X.consumeArgs=function(le){for(var we=[],Xe=0;Xe<le;++Xe){this.consumeSpaces();var xt=this.popToken();if(xt.text==="{"){for(var tr=[],ur=1;ur!==0;){var br=this.popToken();if(tr.push(br),br.text==="{")++ur;else if(br.text==="}")--ur;else if(br.text==="EOF")throw new f("End of input in macro argument",xt)}tr.pop(),tr.reverse(),we[Xe]=tr}else{if(xt.text==="EOF")throw new f("End of input expecting macro argument");we[Xe]=[xt]}}return we},X.expandOnce=function(){var le=this.popToken(),we=le.text,Xe=this._getExpansion(we);if(Xe==null)return this.pushToken(le),le;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new f("Too many expansions: infinite loop or need to increase maxExpand setting");var xt=Xe.tokens;if(Xe.numArgs){var tr=this.consumeArgs(Xe.numArgs);xt=xt.slice();for(var ur=xt.length-1;ur>=0;--ur){var br=xt[ur];if(br.text==="#"){if(ur===0)throw new f("Incomplete placeholder at end of macro body",br);if(br=xt[--ur],br.text==="#")xt.splice(ur+1,1);else if(/^[1-9]$/.test(br.text)){var Qr;(Qr=xt).splice.apply(Qr,[ur,2].concat(tr[+br.text-1]))}else throw new f("Not a valid argument number",br)}}}return this.pushTokens(xt),xt},X.expandAfterFuture=function(){return this.expandOnce(),this.future()},X.expandNextToken=function(){for(;;){var le=this.expandOnce();if(le instanceof E)if(le.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},X.expandMacro=function(le){if(!!this.macros.get(le)){var we=[],Xe=this.stack.length;for(this.pushToken(new E(le));this.stack.length>Xe;){var xt=this.expandOnce();xt instanceof E&&we.push(this.stack.pop())}return we}},X.expandMacroAsText=function(le){var we=this.expandMacro(le);return we&&we.map(function(Xe){return Xe.text}).join("")},X._getExpansion=function(le){var we=this.macros.get(le);if(we==null)return we;var Xe=typeof we=="function"?we(this):we;if(typeof Xe=="string"){var xt=0;if(Xe.indexOf("#")!==-1)for(var tr=Xe.replace(/##/g,"");tr.indexOf("#"+(xt+1))!==-1;)++xt;for(var ur=new Ko(Xe,this.settings),br=[],Qr=ur.lex();Qr.text!=="EOF";)br.push(Qr),Qr=ur.lex();br.reverse();var an={tokens:br,numArgs:xt};return an}return Xe},X.isDefined=function(le){return this.macros.has(le)||Wa.hasOwnProperty(le)||Ye.math.hasOwnProperty(le)||Ye.text.hasOwnProperty(le)||Po.hasOwnProperty(le)},Bt}(),So={"\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"},is=function(){function Bt(re,le){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 bo(re,le,this.mode),this.settings=le,this.leftrightDepth=0}var X=Bt.prototype;return X.expect=function(le,we){if(we===void 0&&(we=!0),this.fetch().text!==le)throw new f("Expected '"+le+"', got '"+this.fetch().text+"'",this.fetch());we&&this.consume()},X.consume=function(){this.nextToken=null},X.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},X.switchMode=function(le){this.mode=le,this.gullet.switchMode(le)},X.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var le=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),le},X.parseExpression=function(le,we){for(var Xe=[];;){this.mode==="math"&&this.consumeSpaces();var xt=this.fetch();if(Bt.endOfExpression.indexOf(xt.text)!==-1||we&&xt.text===we||le&&Wa[xt.text]&&Wa[xt.text].infix)break;var tr=this.parseAtom(we);if(!tr)break;Xe.push(tr)}return this.mode==="text"&&this.formLigatures(Xe),this.handleInfixNodes(Xe)},X.handleInfixNodes=function(le){for(var we=-1,Xe,xt=0;xt<le.length;xt++){var tr=Pn(le[xt],"infix");if(tr){if(we!==-1)throw new f("only one infix operator per group",tr.token);we=xt,Xe=tr.replaceWith}}if(we!==-1&&Xe){var ur,br,Qr=le.slice(0,we),an=le.slice(we+1);Qr.length===1&&Qr[0].type==="ordgroup"?ur=Qr[0]:ur={type:"ordgroup",mode:this.mode,body:Qr},an.length===1&&an[0].type==="ordgroup"?br=an[0]:br={type:"ordgroup",mode:this.mode,body:an};var yn;return Xe==="\\\\abovefrac"?yn=this.callFunction(Xe,[ur,le[we],br],[]):yn=this.callFunction(Xe,[ur,br],[]),[yn]}else return le},X.handleSupSubscript=function(le){var we=this.fetch(),Xe=we.text;this.consume();var xt=this.parseGroup(le,!1,Bt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!xt)throw new f("Expected group after '"+Xe+"'",we);return xt},X.formatUnsupportedCmd=function(le){for(var we=[],Xe=0;Xe<le.length;Xe++)we.push({type:"textord",mode:"text",text:le[Xe]});var xt={type:"text",mode:this.mode,body:we},tr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[xt]};return tr},X.parseAtom=function(le){var we=this.parseGroup("atom",!1,null,le);if(this.mode==="text")return we;for(var Xe,xt;;){this.consumeSpaces();var tr=this.fetch();if(tr.text==="\\limits"||tr.text==="\\nolimits"){var ur=Pn(we,"op");if(ur){var br=tr.text==="\\limits";ur.limits=br,ur.alwaysHandleSupSub=!0}else if(ur=Pn(we,"operatorname"),ur&&ur.alwaysHandleSupSub){var Qr=tr.text==="\\limits";ur.limits=Qr}else throw new f("Limit controls must follow a math operator",tr);this.consume()}else if(tr.text==="^"){if(Xe)throw new f("Double superscript",tr);Xe=this.handleSupSubscript("superscript")}else if(tr.text==="_"){if(xt)throw new f("Double subscript",tr);xt=this.handleSupSubscript("subscript")}else if(tr.text==="'"){if(Xe)throw new f("Double superscript",tr);var an={type:"textord",mode:this.mode,text:"\\prime"},yn=[an];for(this.consume();this.fetch().text==="'";)yn.push(an),this.consume();this.fetch().text==="^"&&yn.push(this.handleSupSubscript("superscript")),Xe={type:"ordgroup",mode:this.mode,body:yn}}else break}return Xe||xt?{type:"supsub",mode:this.mode,base:we,sup:Xe,sub:xt}:we},X.parseFunction=function(le,we,Xe){var xt=this.fetch(),tr=xt.text,ur=Wa[tr];if(!ur)return null;if(this.consume(),Xe!=null&&ur.greediness<=Xe)throw new f("Got function '"+tr+"' with no arguments"+(we?" as "+we:""),xt);if(this.mode==="text"&&!ur.allowedInText)throw new f("Can't use function '"+tr+"' in text mode",xt);if(this.mode==="math"&&ur.allowedInMath===!1)throw new f("Can't use function '"+tr+"' in math mode",xt);var br=this.parseArguments(tr,ur),Qr=br.args,an=br.optArgs;return this.callFunction(tr,Qr,an,xt,le)},X.callFunction=function(le,we,Xe,xt,tr){var ur={funcName:le,parser:this,token:xt,breakOnTokenText:tr},br=Wa[le];if(br&&br.handler)return br.handler(ur,we,Xe);throw new f("No function handler for "+le)},X.parseArguments=function(le,we){var Xe=we.numArgs+we.numOptionalArgs;if(Xe===0)return{args:[],optArgs:[]};for(var xt=we.greediness,tr=[],ur=[],br=0;br<Xe;br++){var Qr=we.argTypes&&we.argTypes[br],an=br<we.numOptionalArgs,yn=br>0&&!an||br===0&&!an&&this.mode==="math",Ln=this.parseGroupOfType("argument to '"+le+"'",Qr,an,xt,yn);if(!Ln){if(an){ur.push(null);continue}throw new f("Expected group after '"+le+"'",this.fetch())}(an?ur:tr).push(Ln)}return{args:tr,optArgs:ur}},X.parseGroupOfType=function(le,we,Xe,xt,tr){switch(we){case"color":return tr&&this.consumeSpaces(),this.parseColorGroup(Xe);case"size":return tr&&this.consumeSpaces(),this.parseSizeGroup(Xe);case"url":return this.parseUrlGroup(Xe,tr);case"math":case"text":return this.parseGroup(le,Xe,xt,void 0,we,tr);case"hbox":{var ur=this.parseGroup(le,Xe,xt,void 0,"text",tr);if(!ur)return ur;var br={type:"styling",mode:ur.mode,body:[ur],style:"text"};return br}case"raw":{if(tr&&this.consumeSpaces(),Xe&&this.fetch().text==="{")return null;var Qr=this.parseStringGroup("raw",Xe,!0);if(Qr)return{type:"raw",mode:"text",string:Qr.text};throw new f("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(le,Xe,xt,void 0,void 0,tr);default:throw new f("Unknown group type as "+le,this.fetch())}},X.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},X.parseStringGroup=function(le,we,Xe){var xt=we?"[":"{",tr=we?"]":"}",ur=this.fetch();if(ur.text!==xt){if(we)return null;if(Xe&&ur.text!=="EOF"&&/[^{}[\]]/.test(ur.text))return this.consume(),ur}var br=this.mode;this.mode="text",this.expect(xt);for(var Qr="",an=this.fetch(),yn=0,Ln=an,Rn;(Rn=this.fetch()).text!==tr||Xe&&yn>0;){switch(Rn.text){case"EOF":throw new f("Unexpected end of input in "+le,an.range(Ln,Qr));case xt:yn++;break;case tr:yn--;break}Ln=Rn,Qr+=Ln.text,this.consume()}return this.expect(tr),this.mode=br,an.range(Ln,Qr)},X.parseRegexGroup=function(le,we){var Xe=this.mode;this.mode="text";for(var xt=this.fetch(),tr=xt,ur="",br;(br=this.fetch()).text!=="EOF"&&le.test(ur+br.text);)tr=br,ur+=tr.text,this.consume();if(ur==="")throw new f("Invalid "+we+": '"+xt.text+"'",xt);return this.mode=Xe,xt.range(tr,ur)},X.parseColorGroup=function(le){var we=this.parseStringGroup("color",le);if(!we)return null;var Xe=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(we.text);if(!Xe)throw new f("Invalid color: '"+we.text+"'",we);var xt=Xe[0];return/^[0-9a-f]{6}$/i.test(xt)&&(xt="#"+xt),{type:"color-token",mode:this.mode,color:xt}},X.parseSizeGroup=function(le){var we,Xe=!1;if(!le&&this.fetch().text!=="{"?we=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):we=this.parseStringGroup("size",le),!we)return null;!le&&we.text.length===0&&(we.text="0pt",Xe=!0);var xt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(we.text);if(!xt)throw new f("Invalid size: '"+we.text+"'",we);var tr={number:+(xt[1]+xt[2]),unit:xt[3]};if(!qt(tr))throw new f("Invalid unit: '"+tr.unit+"'",we);return{type:"size",mode:this.mode,value:tr,isBlank:Xe}},X.parseUrlGroup=function(le,we){this.gullet.lexer.setCatcode("%",13);var Xe=this.parseStringGroup("url",le,!0);if(this.gullet.lexer.setCatcode("%",14),!Xe)return null;var xt=Xe.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:xt}},X.parseGroup=function(le,we,Xe,xt,tr,ur){var br=this.mode;tr&&this.switchMode(tr),ur&&this.consumeSpaces();var Qr=this.fetch(),an=Qr.text,yn;if(we?an==="[":an==="{"||an==="\\begingroup"){this.consume();var Ln=Bt.endOfGroup[an];this.gullet.beginGroup();var Rn=this.parseExpression(!1,Ln),ma=this.fetch();this.expect(Ln),this.gullet.endGroup(),yn={type:"ordgroup",mode:this.mode,loc:I.range(Qr,ma),body:Rn,semisimple:an==="\\begingroup"||void 0}}else if(we)yn=null;else if(yn=this.parseFunction(xt,le,Xe)||this.parseSymbol(),yn==null&&an[0]==="\\"&&!Po.hasOwnProperty(an)){if(this.settings.throwOnError)throw new f("Undefined control sequence: "+an,Qr);yn=this.formatUnsupportedCmd(an),this.consume()}return tr&&this.switchMode(br),yn},X.formLigatures=function(le){for(var we=le.length-1,Xe=0;Xe<we;++Xe){var xt=le[Xe],tr=xt.text;tr==="-"&&le[Xe+1].text==="-"&&(Xe+1<we&&le[Xe+2].text==="-"?(le.splice(Xe,3,{type:"textord",mode:"text",loc:I.range(xt,le[Xe+2]),text:"---"}),we-=2):(le.splice(Xe,2,{type:"textord",mode:"text",loc:I.range(xt,le[Xe+1]),text:"--"}),we-=1)),(tr==="'"||tr==="`")&&le[Xe+1].text===tr&&(le.splice(Xe,2,{type:"textord",mode:"text",loc:I.range(xt,le[Xe+1]),text:tr+tr}),we-=1)}},X.parseSymbol=function(){var le=this.fetch(),we=le.text;if(/^\\verb[^a-zA-Z]/.test(we)){this.consume();var Xe=we.slice(5),xt=Xe.charAt(0)==="*";if(xt&&(Xe=Xe.slice(1)),Xe.length<2||Xe.charAt(0)!==Xe.slice(-1))throw new f(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Xe=Xe.slice(1,-1),{type:"verb",mode:"text",body:Xe,star:xt}}rs.hasOwnProperty(we[0])&&!Ye[this.mode][we[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+we[0]+'" used in math mode',le),we=rs[we[0]]+we.substr(1));var tr=gs.exec(we);tr&&(we=we.substring(0,tr.index),we==="i"?we="\u0131":we==="j"&&(we="\u0237"));var ur;if(Ye[this.mode][we]){this.settings.strict&&this.mode==="math"&&Yt.indexOf(we)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+we[0]+'" used in math mode',le);var br=Ye[this.mode][we].group,Qr=I.range(le),an;if(It.hasOwnProperty(br)){var yn=br;an={type:"atom",mode:this.mode,family:yn,loc:Qr,text:we}}else an={type:br,mode:this.mode,loc:Qr,text:we};ur=an}else if(we.charCodeAt(0)>=128)this.settings.strict&&(W(we.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+we[0]+'" used in math mode',le):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+we[0]+'"'+(" ("+we.charCodeAt(0)+")"),le)),ur={type:"textord",mode:"text",loc:I.range(le),text:we};else return null;if(this.consume(),tr)for(var Ln=0;Ln<tr[0].length;Ln++){var Rn=tr[0][Ln];if(!So[Rn])throw new f("Unknown accent ' "+Rn+"'",le);var ma=So[Rn][this.mode];if(!ma)throw new f("Accent "+Rn+" unsupported in "+this.mode+" mode",le);ur={type:"accent",mode:this.mode,loc:I.range(le),label:ma,isStretchy:!1,isShifty:!0,base:ur}}return ur},Bt}();is.endOfExpression=["}","\\endgroup","\\end","\\right","&"],is.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},is.SUPSUB_GREEDINESS=1;var Is=function(X,re){if(!(typeof X=="string"||X instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var le=new is(X,re);delete le.gullet.macros.current["\\df@tag"];var we=le.parse();if(le.gullet.macros.get("\\df@tag")){if(!re.displayMode)throw new f("\\tag works only in display equations");le.gullet.feed("\\df@tag"),we=[{type:"tag",mode:"text",body:we,tag:le.parse()}]}return we},ds=Is,ps=function(X,re,le){re.textContent="";var we=_o(X,le).toNode();re.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."),ps=function(){throw new f("KaTeX doesn't work in quirks mode.")});var $o=function(X,re){var le=_o(X,re).toMarkup();return le},ms=function(X,re){var le=new y(re);return ds(X,le)},os=function(X,re,le){if(le.throwOnError||!(X instanceof f))throw X;var we=kr.makeSpan(["katex-error"],[new Ft(re)]);return we.setAttribute("title",X.toString()),we.setAttribute("style","color:"+le.errorColor),we},_o=function(X,re){var le=new y(re);try{var we=ds(X,le);return Vo(we,X,le)}catch(Xe){return os(Xe,X,le)}},Fs=function(X,re){var le=new y(re);try{var we=ds(X,le);return Io(we,X,le)}catch(Xe){return os(Xe,X,le)}},ss={version:"0.11.1",render:ps,renderToString:$o,ParseError:f,__parse:ms,__renderToDomTree:_o,__renderToHTMLTree:Fs,__setFontMetrics:Ot,__defineSymbol:q,__defineMacro:Ar,__domTree:{Span:dt,Anchor:et,SymbolNode:Ft,SvgNode:St,PathNode:$e,LineNode:lt}},us=T.default=ss}]).default})},P2fV:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("+L6B"),D=e("Q9mQ"),I=e("sE09"),E=e.n(I)},P47w:function(oe,V,e){var B=e("hydK"),T=B.createElement,w=e("IMiH"),D=e("mFDi"),I=e("Fofx"),E=e("6GrX"),C=e("pzxd"),f=e("dqUG"),t=w.CMD,i=Array.prototype.join,s="none",o=Math.round,r=Math.sin,u=Math.cos,n=Math.PI,l=Math.PI*2,a=180/n,c=1e-4;function d(Y){return o(Y*1e4)/1e4}function h(Y){return Y<c&&Y>-c}function y(Y,k){var W=k?Y.textFill:Y.fill;return W!=null&&W!==s}function A(Y,k){var W=k?Y.textStroke:Y.stroke;return W!=null&&W!==s}function v(Y,k){k&&g(Y,"transform","matrix("+i.call(k,",")+")")}function g(Y,k,W){(!W||W.type!=="linear"&&W.type!=="radial")&&Y.setAttribute(k,W)}function x(Y,k,W){Y.setAttributeNS("http://www.w3.org/1999/xlink",k,W)}function m(Y,k,W,ie){if(y(k,W)){var fe=W?k.textFill:k.fill;fe=fe==="transparent"?s:fe,g(Y,"fill",fe),g(Y,"fill-opacity",k.fillOpacity!=null?k.fillOpacity*k.opacity:k.opacity)}else g(Y,"fill",s);if(A(k,W)){var Ce=W?k.textStroke:k.stroke;Ce=Ce==="transparent"?s:Ce,g(Y,"stroke",Ce);var ge=W?k.textStrokeWidth:k.lineWidth,de=!W&&k.strokeNoScale?ie.getLineScale():1;g(Y,"stroke-width",ge/de),g(Y,"paint-order",W?"stroke":"fill"),g(Y,"stroke-opacity",k.strokeOpacity!=null?k.strokeOpacity:k.opacity);var Pe=k.lineDash;Pe?(g(Y,"stroke-dasharray",k.lineDash.join(",")),g(Y,"stroke-dashoffset",o(k.lineDashOffset||0))):g(Y,"stroke-dasharray",""),k.lineCap&&g(Y,"stroke-linecap",k.lineCap),k.lineJoin&&g(Y,"stroke-linejoin",k.lineJoin),k.miterLimit&&g(Y,"stroke-miterlimit",k.miterLimit)}else g(Y,"stroke",s)}function b(Y){for(var k=[],W=Y.data,ie=Y.len(),fe=0;fe<ie;){var Ce=W[fe++],ge="",de=0;switch(Ce){case t.M:ge="M",de=2;break;case t.L:ge="L",de=2;break;case t.Q:ge="Q",de=4;break;case t.C:ge="C",de=6;break;case t.A:var Pe=W[fe++],_e=W[fe++],Ne=W[fe++],He=W[fe++],ue=W[fe++],Re=W[fe++],nt=W[fe++],Ve=W[fe++],Ge=Math.abs(Re),dt=h(Ge-l)||(Ve?Re>=l:-Re>=l),et=Re>0?Re%l:Re%l+l,At=!1;dt?At=!0:h(Ge)?At=!1:At=et>=n==!!Ve;var Dt=d(Pe+Ne*u(ue)),Ft=d(_e+He*r(ue));dt&&(Ve?Re=l-1e-4:Re=-l+1e-4,At=!0,fe===9&&k.push("M",Dt,Ft));var St=d(Pe+Ne*u(ue+Re)),$e=d(_e+He*r(ue+Re));k.push("A",d(Ne),d(He),o(nt*a),+At,+Ve,St,$e);break;case t.Z:ge="Z";break;case t.R:var St=d(W[fe++]),$e=d(W[fe++]),lt=d(W[fe++]),Ut=d(W[fe++]);k.push("M",St,$e,"L",St+lt,$e,"L",St+lt,$e+Ut,"L",St,$e+Ut,"L",St,$e);break}ge&&k.push(ge);for(var gt=0;gt<de;gt++)k.push(d(W[fe++]))}return k.join(" ")}var S={};S.brush=function(Y){var k=Y.style,W=Y.__svgEl;W||(W=T("path"),Y.__svgEl=W),Y.path||Y.createPathProxy();var ie=Y.path;if(Y.__dirtyPath){ie.beginPath(),ie.subPixelOptimize=!1,Y.buildPath(ie,Y.shape),Y.__dirtyPath=!1;var fe=b(ie);fe.indexOf("NaN")<0&&g(W,"d",fe)}m(W,k,!1,Y),v(W,Y.transform),k.text!=null?N(Y,Y.getBoundingRect()):J(Y)};var P={};P.brush=function(Y){var k=Y.style,W=k.image;if(W instanceof HTMLImageElement){var ie=W.src;W=ie}if(!!W){var fe=k.x||0,Ce=k.y||0,ge=k.width,de=k.height,Pe=Y.__svgEl;Pe||(Pe=T("image"),Y.__svgEl=Pe),W!==Y.__imageSrc&&(x(Pe,"href",W),Y.__imageSrc=W),g(Pe,"width",ge),g(Pe,"height",de),g(Pe,"x",fe),g(Pe,"y",Ce),v(Pe,Y.transform),k.text!=null?N(Y,Y.getBoundingRect()):J(Y)}};var M={},R=new D,F={},L=[],U={left:"start",right:"end",center:"middle",middle:"middle"},N=function(k,W){var ie=k.style,fe=k.transform,Ce=k instanceof f||ie.transformText;k.__dirty&&C.normalizeTextStyle(ie,!0);var ge=ie.text;if(ge!=null&&(ge+=""),!!C.needDrawText(ge,ie)){ge==null&&(ge=""),!Ce&&fe&&(R.copy(W),R.applyTransform(fe),W=R);var de=k.__textSvgEl;de||(de=T("text"),k.__textSvgEl=de);var Pe=de.style,_e=ie.font||E.DEFAULT_FONT,Ne=de.__computedFont;_e!==de.__styleFont&&(Pe.font=de.__styleFont=_e,Ne=de.__computedFont=Pe.font);var He=ie.textPadding,ue=ie.textLineHeight,Re=k.__textCotentBlock;(!Re||k.__dirtyText)&&(Re=k.__textCotentBlock=E.parsePlainText(ge,Ne,He,ue,ie.truncate));var nt=Re.outerHeight,Ve=Re.lineHeight;C.getBoxPosition(F,k,ie,W);var Ge=F.baseX,dt=F.baseY,et=F.textAlign||"left",At=F.textVerticalAlign;Q(de,Ce,fe,ie,W,Ge,dt);var Dt=E.adjustTextY(dt,nt,At),Ft=Ge,St=Dt;He&&(Ft=z(Ge,et,He),St+=He[0]),St+=Ve/2,m(de,ie,!0,k);var $e=Re.canCacheByTextString,lt=k.__tspanList||(k.__tspanList=[]),Ut=lt.length;if($e&&k.__canCacheByTextString&&k.__text===ge){if(k.__dirtyText&&Ut)for(var gt=0;gt<Ut;++gt)_(lt[gt],et,Ft,St+gt*Ve)}else{k.__text=ge,k.__canCacheByTextString=$e;for(var ft=Re.lines,rt=ft.length,gt=0;gt<rt;gt++){var Ie=lt[gt],Ot=ft[gt];Ie?Ie.__zrText!==Ot&&(Ie.innerHTML="",Ie.appendChild(document.createTextNode(Ot))):(Ie=lt[gt]=T("tspan"),de.appendChild(Ie),Ie.appendChild(document.createTextNode(Ot))),_(Ie,et,Ft,St+gt*Ve)}if(Ut>rt){for(;gt<Ut;gt++)de.removeChild(lt[gt]);lt.length=rt}}}};function Q(Y,k,W,ie,fe,Ce,ge){I.identity(L),k&&W&&I.copy(L,W);var de=ie.textRotation;if(fe&&de){var Pe=ie.textOrigin;Pe==="center"?(Ce=fe.width/2+fe.x,ge=fe.height/2+fe.y):Pe&&(Ce=Pe[0]+fe.x,ge=Pe[1]+fe.y),L[4]-=Ce,L[5]-=ge,I.rotate(L,L,de),L[4]+=Ce,L[5]+=ge}v(Y,L)}function z(Y,k,W){return k==="right"?Y-W[1]:k==="center"?Y+W[3]/2-W[1]/2:Y+W[3]}function _(Y,k,W,ie){g(Y,"dominant-baseline","middle"),g(Y,"text-anchor",U[k]),g(Y,"x",W),g(Y,"y",ie)}function J(Y){Y&&Y.__textSvgEl&&(Y.__textSvgEl.parentNode&&Y.__textSvgEl.parentNode.removeChild(Y.__textSvgEl),Y.__textSvgEl=null,Y.__tspanList=[],Y.__text=null)}M.drawRectText=N,M.brush=function(Y){var k=Y.style;k.text!=null?N(Y,!1):J(Y)},V.path=S,V.image=P,V.text=M},P4Qj:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.removeSensor=V.getSensor=void 0;var B=D(e("chpo")),T=e("FxDU"),w=e("24YM");function D(f){return f&&f.__esModule?f:{default:f}}var I={},E=function(t){var i=t.getAttribute(w.SizeSensorId);if(i&&I[i])return I[i];var s=(0,B.default)();t.setAttribute(w.SizeSensorId,s);var o=(0,T.createSensor)(t);return I[s]=o,o};V.getSensor=E;var C=function(t){var i=t.element.getAttribute(w.SizeSensorId);t.element.removeAttribute(w.SizeSensorId),t.destroy(),i&&I[i]&&delete I[i]};V.removeSensor=C},P5Jw:function(oe,V,e){"use strict";var B=e("rHrb"),T=B.CopyToClipboard;T.CopyToClipboard=T,oe.exports=T},PArb:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("TSYQ"),D=e.n(w),I=e("q1tI"),E=e.n(I),C=e("H84U"),f=function(i,s){var o={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&s.indexOf(r)<0&&(o[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,r=Object.getOwnPropertySymbols(i);u<r.length;u++)s.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(i,r[u])&&(o[r[u]]=i[r[u]]);return o},t=function(s){var o,r=I.useContext(C.b),u=r.getPrefixCls,n=r.direction,l=s.prefixCls,a=s.type,c=a===void 0?"horizontal":a,d=s.orientation,h=d===void 0?"center":d,y=s.orientationMargin,A=s.className,v=s.children,g=s.dashed,x=s.plain,m=f(s,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),b=u("divider",l),S=h.length>0?"-".concat(h):h,P=!!v,M=h==="left"&&y!=null,R=h==="right"&&y!=null,F=D()(b,"".concat(b,"-").concat(c),(o={},Object(T.a)(o,"".concat(b,"-with-text"),P),Object(T.a)(o,"".concat(b,"-with-text").concat(S),P),Object(T.a)(o,"".concat(b,"-dashed"),!!g),Object(T.a)(o,"".concat(b,"-plain"),!!x),Object(T.a)(o,"".concat(b,"-rtl"),n==="rtl"),Object(T.a)(o,"".concat(b,"-no-default-orientation-margin-left"),M),Object(T.a)(o,"".concat(b,"-no-default-orientation-margin-right"),R),o),A),L=Object(B.a)(Object(B.a)({},M&&{marginLeft:y}),R&&{marginRight:y});return I.createElement("div",Object(B.a)({className:F},m,{role:"separator"}),v&&c!=="vertical"&&I.createElement("span",{className:"".concat(b,"-inner-text"),style:L},v))};V.a=t},PD8m:function(oe,V){oe.exports={name:"memoryStorage",read:B,write:T,each:w,remove:D,clearAll:I};var e={};function B(E){return e[E]}function T(E,C){e[E]=C}function w(E){for(var C in e)e.hasOwnProperty(C)&&E(e[C],C)}function D(E){delete e[E]}function I(E){e={}}},PEeC:function(oe,V,e){"use strict";e.d(V,"a",function(){return w}),e.d(V,"b",function(){return D});var B=e("KQm4"),T=e("wgJM");function w(I){var E,C=function(i){return function(){E=null,I.apply(void 0,Object(B.a)(i))}},f=function(){if(E==null){for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];E=Object(T.a)(C(s))}};return f.cancel=function(){T.a.cancel(E),E=null},f}function D(){return function(E,C,f){var t=f.value,i=!1;return{configurable:!0,get:function(){if(i||this===E.prototype||this.hasOwnProperty(C))return t;var o=w(t.bind(this));return i=!0,Object.defineProperty(this,C,{value:o,configurable:!0,writable:!0}),i=!1,o}}}}},PNag:function(oe,V,e){var B=e("bYtY"),T=e("SKnc"),w=e("YH21"),D=e("crZl"),I=e("IwbS"),E=e("OELB"),C=e("72pK"),f=e("y7Aq"),t=e("4NO4"),i=E.linearMap,s=B.each,o=Math.min,r=Math.max,u=12,n=6,l=D.extend({type:"visualMap.continuous",init:function(){l.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(g,x,m,b){(!b||b.type!=="selectDataRange"||b.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var g=this.visualMapModel,x=this.group;this._orient=g.get("orient"),this._useHandle=g.get("calculable"),this._resetInterval(),this._renderBar(x);var m=g.get("text");this._renderEndsText(x,m,0),this._renderEndsText(x,m,1),this._updateView(!0),this.renderBackground(x),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(x)},_renderEndsText:function(g,x,m){if(!!x){var b=x[1-m];b=b!=null?b+"":"";var S=this.visualMapModel,P=S.get("textGap"),M=S.itemSize,R=this._shapes.barGroup,F=this._applyTransform([M[0]/2,m===0?-P:M[1]+P],R),L=this._applyTransform(m===0?"bottom":"top",R),U=this._orient,N=this.visualMapModel.textStyleModel;this.group.add(new I.Text({style:{x:F[0],y:F[1],textVerticalAlign:U==="horizontal"?"middle":L,textAlign:U==="horizontal"?L:"center",text:b,textFont:N.getFont(),textFill:N.getTextColor()}}))}},_renderBar:function(g){var x=this.visualMapModel,m=this._shapes,b=x.itemSize,S=this._orient,P=this._useHandle,M=f.getItemAlign(x,this.api,b),R=m.barGroup=this._createBarGroup(M);R.add(m.outOfRange=a()),R.add(m.inRange=a(null,P?A(this._orient):null,B.bind(this._dragHandle,this,"all",!1),B.bind(this._dragHandle,this,"all",!0)));var F=x.textStyleModel.getTextRect("\u56FD"),L=r(F.width,F.height);P&&(m.handleThumbs=[],m.handleLabels=[],m.handleLabelPoints=[],this._createHandle(R,0,b,L,S,M),this._createHandle(R,1,b,L,S,M)),this._createIndicator(R,b,L,S),g.add(R)},_createHandle:function(g,x,m,b,S){var P=B.bind(this._dragHandle,this,x,!1),M=B.bind(this._dragHandle,this,x,!0),R=a(c(x,b),A(this._orient),P,M);R.position[0]=m[0],g.add(R);var F=this.visualMapModel.textStyleModel,L=new I.Text({draggable:!0,drift:P,onmousemove:function(Q){w.stop(Q.event)},ondragend:M,style:{x:0,y:0,text:"",textFont:F.getFont(),textFill:F.getTextColor()}});this.group.add(L);var U=[S==="horizontal"?b/2:b*1.5,S==="horizontal"?x===0?-(b*1.5):b*1.5:x===0?-b/2:b/2],N=this._shapes;N.handleThumbs[x]=R,N.handleLabelPoints[x]=U,N.handleLabels[x]=L},_createIndicator:function(g,x,m,b){var S=a([[0,0]],"move");S.position[0]=x[0],S.attr({invisible:!0,silent:!0}),g.add(S);var P=this.visualMapModel.textStyleModel,M=new I.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(M);var R=[b==="horizontal"?m/2:n+3,0],F=this._shapes;F.indicator=S,F.indicatorLabel=M,F.indicatorLabelPoint=R},_dragHandle:function(g,x,m,b){if(!!this._useHandle){if(this._dragging=!x,!x){var S=this._applyTransform([m,b],this._shapes.barGroup,!0);this._updateInterval(g,S[1]),this._updateView()}x===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),x?!this._hovering&&this._clearHoverLinkToSeries():y(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[g],!1)}},_resetInterval:function(){var g=this.visualMapModel,x=this._dataInterval=g.getSelected(),m=g.getExtent(),b=[0,g.itemSize[1]];this._handleEnds=[i(x[0],m,b,!0),i(x[1],m,b,!0)]},_updateInterval:function(g,x){x=x||0;var m=this.visualMapModel,b=this._handleEnds,S=[0,m.itemSize[1]];C(x,b,S,g,0);var P=m.getExtent();this._dataInterval=[i(b[0],S,P,!0),i(b[1],S,P,!0)]},_updateView:function(g){var x=this.visualMapModel,m=x.getExtent(),b=this._shapes,S=[0,x.itemSize[1]],P=g?S:this._handleEnds,M=this._createBarVisual(this._dataInterval,m,P,"inRange"),R=this._createBarVisual(m,m,S,"outOfRange");b.inRange.setStyle({fill:M.barColor,opacity:M.opacity}).setShape("points",M.barPoints),b.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(P,M)},_createBarVisual:function(g,x,m,b){var S={forceState:b,convertOpacityToAlpha:!0},P=this._makeColorGradient(g,S),M=[this.getControllerVisual(g[0],"symbolSize",S),this.getControllerVisual(g[1],"symbolSize",S)],R=this._createBarPoints(m,M);return{barColor:new T(0,0,0,1,P),barPoints:R,handlesColor:[P[0].color,P[P.length-1].color]}},_makeColorGradient:function(g,x){var m=100,b=[],S=(g[1]-g[0])/m;b.push({color:this.getControllerVisual(g[0],"color",x),offset:0});for(var P=1;P<m;P++){var M=g[0]+S*P;if(M>g[1])break;b.push({color:this.getControllerVisual(M,"color",x),offset:P/m})}return b.push({color:this.getControllerVisual(g[1],"color",x),offset:1}),b},_createBarPoints:function(g,x){var m=this.visualMapModel.itemSize;return[[m[0]-x[0],g[0]],[m[0],g[0]],[m[0],g[1]],[m[0]-x[1],g[1]]]},_createBarGroup:function(g){var x=this._orient,m=this.visualMapModel.get("inverse");return new I.Group(x==="horizontal"&&!m?{scale:g==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:x==="horizontal"&&m?{scale:g==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:x==="vertical"&&!m?{scale:g==="left"?[1,-1]:[-1,-1]}:{scale:g==="left"?[1,1]:[-1,1]})},_updateHandle:function(g,x){if(!!this._useHandle){var m=this._shapes,b=this.visualMapModel,S=m.handleThumbs,P=m.handleLabels;s([0,1],function(M){var R=S[M];R.setStyle("fill",x.handlesColor[M]),R.position[1]=g[M];var F=I.applyTransform(m.handleLabelPoints[M],I.getTransform(R,this.group));P[M].setStyle({x:F[0],y:F[1],text:b.formatValueText(this._dataInterval[M]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?M===0?"bottom":"top":"left",m.barGroup)})},this)}},_showIndicator:function(g,x,m,b){var S=this.visualMapModel,P=S.getExtent(),M=S.itemSize,R=[0,M[1]],F=i(g,P,R,!0),L=this._shapes,U=L.indicator;if(!!U){U.position[1]=F,U.attr("invisible",!1),U.setShape("points",d(!!m,b,F,M[1]));var N={convertOpacityToAlpha:!0},Q=this.getControllerVisual(g,"color",N);U.setStyle("fill",Q);var z=I.applyTransform(L.indicatorLabelPoint,I.getTransform(U,this.group)),_=L.indicatorLabel;_.attr("invisible",!1);var J=this._applyTransform("left",L.barGroup),Y=this._orient;_.setStyle({text:(m||"")+S.formatValueText(x),textVerticalAlign:Y==="horizontal"?J:"middle",textAlign:Y==="horizontal"?"center":J,x:z[0],y:z[1]})}},_enableHoverLinkToSeries:function(){var g=this;this._shapes.barGroup.on("mousemove",function(x){if(g._hovering=!0,!g._dragging){var m=g.visualMapModel.itemSize,b=g._applyTransform([x.offsetX,x.offsetY],g._shapes.barGroup,!0,!0);b[1]=o(r(0,b[1]),m[1]),g._doHoverLinkToSeries(b[1],0<=b[0]&&b[0]<=m[0])}}).on("mouseout",function(){g._hovering=!1,!g._dragging&&g._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var g=this.api.getZr();this.visualMapModel.option.hoverLink?(g.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),g.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(g,x){var m=this.visualMapModel,b=m.itemSize;if(!!m.option.hoverLink){var S=[0,b[1]],P=m.getExtent();g=o(r(S[0],g),S[1]);var M=h(m,P,S),R=[g-M,g+M],F=i(g,S,P,!0),L=[i(R[0],S,P,!0),i(R[1],S,P,!0)];R[0]<S[0]&&(L[0]=-Infinity),R[1]>S[1]&&(L[1]=Infinity),x&&(L[0]===-Infinity?this._showIndicator(F,L[1],"< ",M):L[1]===Infinity?this._showIndicator(F,L[0],"> ",M):this._showIndicator(F,F,"\u2248 ",M));var U=this._hoverLinkDataIndices,N=[];(x||y(m))&&(N=this._hoverLinkDataIndices=m.findTargetDataIndices(L));var Q=t.compressBatches(U,N);this._dispatchHighDown("downplay",f.makeHighDownBatch(Q[0],m)),this._dispatchHighDown("highlight",f.makeHighDownBatch(Q[1],m))}},_hoverLinkFromSeriesMouseOver:function(g){var x=g.target,m=this.visualMapModel;if(!(!x||x.dataIndex==null)){var b=this.ecModel.getSeriesByIndex(x.seriesIndex);if(!!m.isTargetSeries(b)){var S=b.getData(x.dataType),P=S.get(m.getDataDimension(S),x.dataIndex,!0);isNaN(P)||this._showIndicator(P,P)}}},_hideIndicator:function(){var g=this._shapes;g.indicator&&g.indicator.attr("invisible",!0),g.indicatorLabel&&g.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var g=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",f.makeHighDownBatch(g,this.visualMapModel)),g.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var g=this.api.getZr();g.off("mouseover",this._hoverLinkFromSeriesMouseOver),g.off("mouseout",this._hideIndicator)},_applyTransform:function(g,x,m,b){var S=I.getTransform(x,b?null:this.group);return I[B.isArray(g)?"applyTransform":"transformDirection"](g,S,m)},_dispatchHighDown:function(g,x){x&&x.length&&this.api.dispatchAction({type:g,batch:x})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function a(g,x,m,b){return new I.Polygon({shape:{points:g},draggable:!!m,cursor:x,drift:m,onmousemove:function(S){w.stop(S.event)},ondragend:b})}function c(g,x){return g===0?[[0,0],[x,0],[x,-x]]:[[0,0],[x,0],[x,x]]}function d(g,x,m,b){return g?[[0,-o(x,r(m,0))],[n,0],[0,o(x,r(b-m,0))]]:[[0,0],[5,-5],[5,5]]}function h(g,x,m){var b=u/2,S=g.get("hoverLinkDataSize");return S&&(b=i(S,x,m,!0)/2),b}function y(g){var x=g.get("hoverLinkOnHandle");return!!(x==null?g.get("realtime"):x)}function A(g){return g==="vertical"?"ns-resize":"ew-resize"}var v=l;oe.exports=v},PQMj:function(oe,V,e){},ProS:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("aX58"),D=e("bYtY"),I=e("Qe9p"),E=e("ItGF"),C=e("BPZU"),f=e("H6uX"),t=e("fmMI"),i=e("hD7B"),s=e("IDmD"),o=e("ypgQ"),r=e("+wW9"),u=e("0V0F"),n=e("bLfw"),l=e("T4UG"),a=e("sS/r"),c=e("6Ic6"),d=e("IwbS"),h=e("4NO4"),y=e("iLNv"),A=y.throttle,v=e("/WM3"),g=e("uAnK"),x=e("mYwL"),m=e("af/B"),b=e("xTNl"),S=e("8hn6");e("A1Ka");var P=e("7DRL"),M=D.assert,R=D.each,F=D.isFunction,L=D.isObject,U=n.parseClassType,N="4.9.0",Q={zrender:"4.3.2"},z=1,_=1e3,J=800,Y=900,k=5e3,W=1e3,ie=1100,fe=2e3,Ce=3e3,ge=3500,de=4e3,Pe=5e3,_e={PROCESSOR:{FILTER:_,SERIES_FILTER:J,STATISTIC:k},VISUAL:{LAYOUT:W,PROGRESSIVE_LAYOUT:ie,GLOBAL:fe,CHART:Ce,POST_CHART_LAYOUT:ge,COMPONENT:de,BRUSH:Pe}},Ne="__flagInMainProcess",He="__optionUpdated",ue=/^[a-zA-Z0-9_]+$/;function Re(ut,ht){return function(qt,Nt,Qt){if(!ht&&this._disposed){bt(this.id);return}qt=qt&&qt.toLowerCase(),f.prototype[ut].call(this,qt,Nt,Qt)}}function nt(){f.call(this)}nt.prototype.on=Re("on",!0),nt.prototype.off=Re("off",!0),nt.prototype.one=Re("one",!0),D.mixin(nt,f);function Ve(ut,ht,qt){qt=qt||{},typeof ht=="string"&&(ht=be[ht]),this.id,this.group,this._dom=ut;var Nt="canvas",Qt=this._zr=w.init(ut,{renderer:qt.renderer||Nt,devicePixelRatio:qt.devicePixelRatio,width:qt.width,height:qt.height});this._throttledZrFlush=A(D.bind(Qt.flush,Qt),17);var ht=D.clone(ht);ht&&r(ht,!0),this._theme=ht,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var at=this._api=Ye(this);function Ue(ot,it){return ot.__prio-it.__prio}C(te,Ue),C(De,Ue),this._scheduler=new m(this,at,De,te),f.call(this,this._ecEventProcessor=new q),this._messageCenter=new nt,this._initEvents(),this.resize=D.bind(this.resize,this),this._pendingActions=[],Qt.animation.on("frame",this._onframe,this),Ut(Qt,this),D.setAsPrimitive(this)}var Ge=Ve.prototype;Ge._onframe=function(){if(!this._disposed){var ut=this._scheduler;if(this[He]){var ht=this[He].silent;this[Ne]=!0,At(this),et.update.call(this),this[Ne]=!1,this[He]=!1,$e.call(this,ht),lt.call(this,ht)}else if(ut.unfinished){var qt=z,Nt=this._model,Qt=this._api;ut.unfinished=!1;do{var at=+new Date;ut.performSeriesTasks(Nt),ut.performDataProcessorTasks(Nt),Ft(this,Nt),ut.performVisualTasks(Nt),Ot(this,this._model,Qt,"remain"),qt-=+new Date-at}while(qt>0&&ut.unfinished);ut.unfinished||this._zr.flush()}}},Ge.getDom=function(){return this._dom},Ge.getZr=function(){return this._zr},Ge.setOption=function(ut,ht,qt){if(this._disposed){bt(this.id);return}var Nt;if(L(ht)&&(qt=ht.lazyUpdate,Nt=ht.silent,ht=ht.notMerge),this[Ne]=!0,!this._model||ht){var Qt=new o(this._api),at=this._theme,Ue=this._model=new t;Ue.scheduler=this._scheduler,Ue.init(null,null,at,Qt)}this._model.setOption(ut,ze),qt?(this[He]={silent:Nt},this[Ne]=!1):(At(this),et.update.call(this),this._zr.flush(),this[He]=!1,this[Ne]=!1,$e.call(this,Nt),lt.call(this,Nt))},Ge.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Ge.getModel=function(){return this._model},Ge.getOption=function(){return this._model&&this._model.getOption()},Ge.getWidth=function(){return this._zr.getWidth()},Ge.getHeight=function(){return this._zr.getHeight()},Ge.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Ge.getRenderedCanvas=function(ut){if(!!E.canvasSupported){ut=ut||{},ut.pixelRatio=ut.pixelRatio||1,ut.backgroundColor=ut.backgroundColor||this._model.get("backgroundColor");var ht=this._zr;return ht.painter.getRenderedCanvas(ut)}},Ge.getSvgDataURL=function(){if(!!E.svgSupported){var ut=this._zr,ht=ut.storage.getDisplayList();return D.each(ht,function(qt){qt.stopAnimation(!0)}),ut.painter.toDataURL()}},Ge.getDataURL=function(ut){if(this._disposed){bt(this.id);return}ut=ut||{};var ht=ut.excludeComponents,qt=this._model,Nt=[],Qt=this;R(ht,function(Ue){qt.eachComponent({mainType:Ue},function(ot){var it=Qt._componentsMap[ot.__viewId];it.group.ignore||(Nt.push(it),it.group.ignore=!0)})});var at=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ut).toDataURL("image/"+(ut&&ut.type||"png"));return R(Nt,function(Ue){Ue.group.ignore=!1}),at},Ge.getConnectedDataURL=function(ut){if(this._disposed){bt(this.id);return}if(!!E.canvasSupported){var ht=ut.type==="svg",qt=this.group,Nt=Math.min,Qt=Math.max,at=Infinity;if(se[qt]){var Ue=at,ot=at,it=-at,zt=-at,ar=[],dr=ut&&ut.pixelRatio||1;D.each(Z,function(hn,yr){if(hn.group===qt){var zn=ht?hn.getZr().painter.getSvgDom().innerHTML:hn.getRenderedCanvas(D.clone(ut)),xn=hn.getDom().getBoundingClientRect();Ue=Nt(xn.left,Ue),ot=Nt(xn.top,ot),it=Qt(xn.right,it),zt=Qt(xn.bottom,zt),ar.push({dom:zn,left:xn.left,top:xn.top})}}),Ue*=dr,ot*=dr,it*=dr,zt*=dr;var pr=it-Ue,Tr=zt-ot,Lr=D.createCanvas(),Yr=w.init(Lr,{renderer:ht?"svg":"canvas"});if(Yr.resize({width:pr,height:Tr}),ht){var Jr="";return R(ar,function(hn){var yr=hn.left-Ue,zn=hn.top-ot;Jr+='<g transform="translate('+yr+","+zn+')">'+hn.dom+"</g>"}),Yr.painter.getSvgRoot().innerHTML=Jr,ut.connectedBackgroundColor&&Yr.painter.setBackgroundColor(ut.connectedBackgroundColor),Yr.refreshImmediately(),Yr.painter.toDataURL()}else return ut.connectedBackgroundColor&&Yr.add(new d.Rect({shape:{x:0,y:0,width:pr,height:Tr},style:{fill:ut.connectedBackgroundColor}})),R(ar,function(hn){var yr=new d.Image({style:{x:hn.left*dr-Ue,y:hn.top*dr-ot,image:hn.dom}});Yr.add(yr)}),Yr.refreshImmediately(),Lr.toDataURL("image/"+(ut&&ut.type||"png"))}else return this.getDataURL(ut)}},Ge.convertToPixel=D.curry(dt,"convertToPixel"),Ge.convertFromPixel=D.curry(dt,"convertFromPixel");function dt(ut,ht,qt){if(this._disposed){bt(this.id);return}var Nt=this._model,Qt=this._coordSysMgr.getCoordinateSystems(),at;ht=h.parseFinder(Nt,ht);for(var Ue=0;Ue<Qt.length;Ue++){var ot=Qt[Ue];if(ot[ut]&&(at=ot[ut](Nt,ht,qt))!=null)return at}}Ge.containPixel=function(ut,ht){if(this._disposed){bt(this.id);return}var qt=this._model,Nt;return ut=h.parseFinder(qt,ut),D.each(ut,function(Qt,at){at.indexOf("Models")>=0&&D.each(Qt,function(Ue){var ot=Ue.coordinateSystem;if(ot&&ot.containPoint)Nt|=!!ot.containPoint(ht);else if(at==="seriesModels"){var it=this._chartsMap[Ue.__viewId];it&&it.containPoint&&(Nt|=it.containPoint(ht,Ue))}},this)},this),!!Nt},Ge.getVisual=function(ut,ht){var qt=this._model;ut=h.parseFinder(qt,ut,{defaultMainType:"series"});var Nt=ut.seriesModel,Qt=Nt.getData(),at=ut.hasOwnProperty("dataIndexInside")?ut.dataIndexInside:ut.hasOwnProperty("dataIndex")?Qt.indexOfRawIndex(ut.dataIndex):null;return at!=null?Qt.getItemVisual(at,ht):Qt.getVisual(ht)},Ge.getViewOfComponentModel=function(ut){return this._componentsMap[ut.__viewId]},Ge.getViewOfSeriesModel=function(ut){return this._chartsMap[ut.__viewId]};var et={prepareAndUpdate:function(ut){At(this),et.update.call(this,ut)},update:function(ut){var ht=this._model,qt=this._api,Nt=this._zr,Qt=this._coordSysMgr,at=this._scheduler;if(!!ht){at.restoreData(ht,ut),at.performSeriesTasks(ht),Qt.create(ht,qt),at.performDataProcessorTasks(ht,ut),Ft(this,ht),Qt.update(ht,qt),ft(ht),at.performVisualTasks(ht,ut),rt(this,ht,qt,ut);var Ue=ht.get("backgroundColor")||"transparent";if(E.canvasSupported)Nt.setBackgroundColor(Ue);else{var ot=I.parse(Ue);Ue=I.stringify(ot,"rgb"),ot[3]===0&&(Ue="transparent")}Xt(ht,qt)}},updateTransform:function(ut){var ht=this._model,qt=this,Nt=this._api;if(!!ht){var Qt=[];ht.eachComponent(function(Ue,ot){var it=qt.getViewOfComponentModel(ot);if(it&&it.__alive)if(it.updateTransform){var zt=it.updateTransform(ot,ht,Nt,ut);zt&&zt.update&&Qt.push(it)}else Qt.push(it)});var at=D.createHashMap();ht.eachSeries(function(Ue){var ot=qt._chartsMap[Ue.__viewId];if(ot.updateTransform){var it=ot.updateTransform(Ue,ht,Nt,ut);it&&it.update&&at.set(Ue.uid,1)}else at.set(Ue.uid,1)}),ft(ht),this._scheduler.performVisualTasks(ht,ut,{setDirty:!0,dirtyMap:at}),Ot(qt,ht,Nt,ut,at),Xt(ht,this._api)}},updateView:function(ut){var ht=this._model;!ht||(c.markUpdateMethod(ut,"updateView"),ft(ht),this._scheduler.performVisualTasks(ht,ut,{setDirty:!0}),rt(this,this._model,this._api,ut),Xt(ht,this._api))},updateVisual:function(ut){et.update.call(this,ut)},updateLayout:function(ut){et.update.call(this,ut)}};function At(ut){var ht=ut._model,qt=ut._scheduler;qt.restorePipelines(ht),qt.prepareStageTasks(),gt(ut,"component",ht,qt),gt(ut,"chart",ht,qt),qt.plan()}function Dt(ut,ht,qt,Nt,Qt){var at=ut._model;if(!Nt){R(ut._componentsViews.concat(ut._chartsViews),zt);return}var Ue={};Ue[Nt+"Id"]=qt[Nt+"Id"],Ue[Nt+"Index"]=qt[Nt+"Index"],Ue[Nt+"Name"]=qt[Nt+"Name"];var ot={mainType:Nt,query:Ue};Qt&&(ot.subType=Qt);var it=qt.excludeSeriesId;it!=null&&(it=D.createHashMap(h.normalizeToArray(it))),at&&at.eachComponent(ot,function(ar){(!it||it.get(ar.id)==null)&&zt(ut[Nt==="series"?"_chartsMap":"_componentsMap"][ar.__viewId])},ut);function zt(ar){ar&&ar.__alive&&ar[ht]&&ar[ht](ar.__model,at,ut._api,qt)}}Ge.resize=function(ut){if(this._disposed){bt(this.id);return}this._zr.resize(ut);var ht=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!ht){var qt=ht.resetOption("media"),Nt=ut&&ut.silent;this[Ne]=!0,qt&&At(this),et.update.call(this),this[Ne]=!1,$e.call(this,Nt),lt.call(this,Nt)}};function Ft(ut,ht){var qt=ut._chartsMap,Nt=ut._scheduler;ht.eachSeries(function(Qt){Nt.updateStreamModes(Qt,qt[Qt.__viewId])})}Ge.showLoading=function(ut,ht){if(this._disposed){bt(this.id);return}if(L(ut)&&(ht=ut,ut=""),ut=ut||"default",this.hideLoading(),!!xe[ut]){var qt=xe[ut](this._api,ht),Nt=this._zr;this._loadingFX=qt,Nt.add(qt)}},Ge.hideLoading=function(){if(this._disposed){bt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Ge.makeActionFromEvent=function(ut){var ht=D.extend({},ut);return ht.type=Me[ut.type],ht},Ge.dispatchAction=function(ut,ht){if(this._disposed){bt(this.id);return}if(L(ht)||(ht={silent:!!ht}),!!Ae[ut.type]&&!!this._model){if(this[Ne]){this._pendingActions.push(ut);return}St.call(this,ut,ht.silent),ht.flush?this._zr.flush(!0):ht.flush!==!1&&E.browser.weChat&&this._throttledZrFlush(),$e.call(this,ht.silent),lt.call(this,ht.silent)}};function St(ut,ht){var qt=ut.type,Nt=ut.escapeConnect,Qt=Ae[qt],at=Qt.actionInfo,Ue=(at.update||"update").split(":"),ot=Ue.pop();Ue=Ue[0]!=null&&U(Ue[0]),this[Ne]=!0;var it=[ut],zt=!1;ut.batch&&(zt=!0,it=D.map(ut.batch,function(Tr){return Tr=D.defaults(D.extend({},Tr),ut),Tr.batch=null,Tr}));var ar=[],dr,pr=qt==="highlight"||qt==="downplay";R(it,function(Tr){dr=Qt.action(Tr,this._model,this._api),dr=dr||D.extend({},Tr),dr.type=at.event||dr.type,ar.push(dr),pr?Dt(this,ot,Tr,"series"):Ue&&Dt(this,ot,Tr,Ue.main,Ue.sub)},this),ot!=="none"&&!pr&&!Ue&&(this[He]?(At(this),et.update.call(this,ut),this[He]=!1):et[ot].call(this,ut)),zt?dr={type:at.event||qt,escapeConnect:Nt,batch:ar}:dr=ar[0],this[Ne]=!1,!ht&&this._messageCenter.trigger(dr.type,dr)}function $e(ut){for(var ht=this._pendingActions;ht.length;){var qt=ht.shift();St.call(this,qt,ut)}}function lt(ut){!ut&&this.trigger("updated")}function Ut(ut,ht){ut.on("rendered",function(){ht.trigger("rendered"),ut.animation.isFinished()&&!ht[He]&&!ht._scheduler.unfinished&&!ht._pendingActions.length&&ht.trigger("finished")})}Ge.appendData=function(ut){if(this._disposed){bt(this.id);return}var ht=ut.seriesIndex,qt=this.getModel(),Nt=qt.getSeriesByIndex(ht);Nt.appendData(ut),this._scheduler.unfinished=!0},Ge.on=Re("on",!1),Ge.off=Re("off",!1),Ge.one=Re("one",!1);function gt(ut,ht,qt,Nt){for(var Qt=ht==="component",at=Qt?ut._componentsViews:ut._chartsViews,Ue=Qt?ut._componentsMap:ut._chartsMap,ot=ut._zr,it=ut._api,zt=0;zt<at.length;zt++)at[zt].__alive=!1;Qt?qt.eachComponent(function(pr,Tr){pr!=="series"&&ar(Tr)}):qt.eachSeries(ar);function ar(pr){var Tr="_ec_"+pr.id+"_"+pr.type,Lr=Ue[Tr];if(!Lr){var Yr=U(pr.type),Jr=Qt?a.getClass(Yr.main,Yr.sub):c.getClass(Yr.sub);Lr=new Jr,Lr.init(qt,it),Ue[Tr]=Lr,at.push(Lr),ot.add(Lr.group)}pr.__viewId=Lr.__id=Tr,Lr.__alive=!0,Lr.__model=pr,Lr.group.__ecComponentInfo={mainType:pr.mainType,index:pr.componentIndex},!Qt&&Nt.prepareView(Lr,pr,qt,it)}for(var zt=0;zt<at.length;){var dr=at[zt];dr.__alive?zt++:(!Qt&&dr.renderTask.dispose(),ot.remove(dr.group),dr.dispose(qt,it),at.splice(zt,1),delete Ue[dr.__id],dr.__id=dr.group.__ecComponentInfo=null)}}function ft(ut){ut.clearColorPalette(),ut.eachSeries(function(ht){ht.clearColorPalette()})}function rt(ut,ht,qt,Nt){Ie(ut,ht,qt,Nt),R(ut._chartsViews,function(Qt){Qt.__alive=!1}),Ot(ut,ht,qt,Nt),R(ut._chartsViews,function(Qt){Qt.__alive||Qt.remove(ht,qt)})}function Ie(ut,ht,qt,Nt,Qt){R(Qt||ut._componentsViews,function(at){var Ue=at.__model;at.render(Ue,ht,qt,Nt),Se(Ue,at)})}function Ot(ut,ht,qt,Nt,Qt){var at=ut._scheduler,Ue;ht.eachSeries(function(ot){var it=ut._chartsMap[ot.__viewId];it.__alive=!0;var zt=it.renderTask;at.updatePayload(zt,Nt),Qt&&Qt.get(ot.uid)&&zt.dirty(),Ue|=zt.perform(at.getPerformArgs(zt)),it.group.silent=!!ot.get("silent"),Se(ot,it),Kt(ot,it)}),at.unfinished|=Ue,It(ut,ht),g(ut._zr.dom,ht)}function Xt(ut,ht){R(pe,function(qt){qt(ut,ht)})}var Vt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Ge._initEvents=function(){R(Vt,function(ut){var ht=function(qt){var Nt=this.getModel(),Qt=qt.target,at,Ue=ut==="globalout";if(Ue)at={};else if(Qt&&Qt.dataIndex!=null){var ot=Qt.dataModel||Nt.getSeriesByIndex(Qt.seriesIndex);at=ot&&ot.getDataParams(Qt.dataIndex,Qt.dataType,Qt)||{}}else Qt&&Qt.eventData&&(at=D.extend({},Qt.eventData));if(at){var it=at.componentType,zt=at.componentIndex;(it==="markLine"||it==="markPoint"||it==="markArea")&&(it="series",zt=at.seriesIndex);var ar=it&&zt!=null&&Nt.getComponent(it,zt),dr=ar&&this[ar.mainType==="series"?"_chartsMap":"_componentsMap"][ar.__viewId];at.event=qt,at.type=ut,this._ecEventProcessor.eventInfo={targetEl:Qt,packedEvent:at,model:ar,view:dr},this.trigger(ut,at)}};ht.zrEventfulCallAtLast=!0,this._zr.on(ut,ht,this)},this),R(Me,function(ut,ht){this._messageCenter.on(ht,function(qt){this.trigger(ht,qt)},this)},this)},Ge.isDisposed=function(){return this._disposed},Ge.clear=function(){if(this._disposed){bt(this.id);return}this.setOption({series:[]},!0)},Ge.dispose=function(){if(this._disposed){bt(this.id);return}this._disposed=!0,h.setAttribute(this.getDom(),ne,"");var ut=this._api,ht=this._model;R(this._componentsViews,function(qt){qt.dispose(ht,ut)}),R(this._chartsViews,function(qt){qt.dispose(ht,ut)}),this._zr.dispose(),delete Z[this.id]},D.mixin(Ve,f);function bt(ut){}function It(ut,ht){var qt=ut._zr,Nt=qt.storage,Qt=0;Nt.traverse(function(at){Qt++}),Qt>ht.get("hoverLayerThreshold")&&!E.node&&ht.eachSeries(function(at){if(!at.preventUsingHoverLayer){var Ue=ut._chartsMap[at.__viewId];Ue.__alive&&Ue.group.traverse(function(ot){ot.useHoverLayer=!0})}})}function Kt(ut,ht){var qt=ut.get("blendMode")||null;ht.group.traverse(function(Nt){Nt.isGroup||Nt.style.blend!==qt&&Nt.setStyle("blend",qt),Nt.eachPendingDisplayable&&Nt.eachPendingDisplayable(function(Qt){Qt.setStyle("blend",qt)})})}function Se(ut,ht){var qt=ut.get("z"),Nt=ut.get("zlevel");ht.group.traverse(function(Qt){Qt.type!=="group"&&(qt!=null&&(Qt.z=qt),Nt!=null&&(Qt.zlevel=Nt))})}function Ye(ut){var ht=ut._coordSysMgr;return D.extend(new i(ut),{getCoordinateSystems:D.bind(ht.getCoordinateSystems,ht),getComponentByElement:function(qt){for(;qt;){var Nt=qt.__ecComponentInfo;if(Nt!=null)return ut._model.getComponent(Nt.mainType,Nt.index);qt=qt.parent}}})}function q(){this.eventInfo}q.prototype={constructor:q,normalizeQuery:function(ut){var ht={},qt={},Nt={};if(D.isString(ut)){var Qt=U(ut);ht.mainType=Qt.main||null,ht.subType=Qt.sub||null}else{var at=["Index","Name","Id"],Ue={name:1,dataIndex:1,dataType:1};D.each(ut,function(ot,it){for(var zt=!1,ar=0;ar<at.length;ar++){var dr=at[ar],pr=it.lastIndexOf(dr);if(pr>0&&pr===it.length-dr.length){var Tr=it.slice(0,pr);Tr!=="data"&&(ht.mainType=Tr,ht[dr.toLowerCase()]=ot,zt=!0)}}Ue.hasOwnProperty(it)&&(qt[it]=ot,zt=!0),zt||(Nt[it]=ot)})}return{cptQuery:ht,dataQuery:qt,otherQuery:Nt}},filter:function(ut,ht,qt){var Nt=this.eventInfo;if(!Nt)return!0;var Qt=Nt.targetEl,at=Nt.packedEvent,Ue=Nt.model,ot=Nt.view;if(!Ue||!ot)return!0;var it=ht.cptQuery,zt=ht.dataQuery;return ar(it,Ue,"mainType")&&ar(it,Ue,"subType")&&ar(it,Ue,"index","componentIndex")&&ar(it,Ue,"name")&&ar(it,Ue,"id")&&ar(zt,at,"name")&&ar(zt,at,"dataIndex")&&ar(zt,at,"dataType")&&(!ot.filterForExposedEvent||ot.filterForExposedEvent(ut,ht.otherQuery,Qt,at));function ar(dr,pr,Tr,Lr){return dr[Tr]==null||pr[Lr||Tr]===dr[Tr]}},afterTrigger:function(){this.eventInfo=null}};var Ae={},Me={},De=[],ze=[],pe=[],te=[],be={},xe={},Z={},se={},he=new Date-0,Oe=new Date-0,ne="_echarts_instance_";function ce(ut){var ht=0,qt=1,Nt=2,Qt="__connectUpdateStatus";function at(Ue,ot){for(var it=0;it<Ue.length;it++){var zt=Ue[it];zt[Qt]=ot}}R(Me,function(Ue,ot){ut._messageCenter.on(ot,function(it){if(se[ut.group]&&ut[Qt]!==ht){if(it&&it.escapeConnect)return;var zt=ut.makeActionFromEvent(it),ar=[];R(Z,function(dr){dr!==ut&&dr.group===ut.group&&ar.push(dr)}),at(ar,ht),R(ar,function(dr){dr[Qt]!==qt&&dr.dispatchAction(zt)}),at(ar,Nt)}})})}function ae(ut,ht,qt){var Nt=qe(ut);if(Nt)return Nt;var Qt=new Ve(ut,ht,qt);return Qt.id="ec_"+he++,Z[Qt.id]=Qt,h.setAttribute(ut,ne,Qt.id),ce(Qt),Qt}function Ee(ut){if(D.isArray(ut)){var ht=ut;ut=null,R(ht,function(qt){qt.group!=null&&(ut=qt.group)}),ut=ut||"g_"+Oe++,R(ht,function(qt){qt.group=ut})}return se[ut]=!0,ut}function ye(ut){se[ut]=!1}var Te=ye;function je(ut){typeof ut=="string"?ut=Z[ut]:ut instanceof Ve||(ut=qe(ut)),ut instanceof Ve&&!ut.isDisposed()&&ut.dispose()}function qe(ut){return Z[h.getAttribute(ut,ne)]}function Le(ut){return Z[ut]}function ke(ut,ht){be[ut]=ht}function tt(ut){ze.push(ut)}function st(ut,ht){Yt(De,ut,ht,_)}function _t(ut){pe.push(ut)}function Ct(ut,ht,qt){typeof ht=="function"&&(qt=ht,ht="");var Nt=L(ut)?ut.type:[ut,ut={event:ht}][0];ut.event=(ut.event||Nt).toLowerCase(),ht=ut.event,M(ue.test(Nt)&&ue.test(ht)),Ae[Nt]||(Ae[Nt]={action:qt,actionInfo:ut}),Me[ht]=Nt}function Rt(ut,ht){s.register(ut,ht)}function Wt(ut){var ht=s.get(ut);if(ht)return ht.getDimensionsInfo?ht.getDimensionsInfo():ht.dimensions.slice()}function vt(ut,ht){Yt(te,ut,ht,W,"layout")}function Je(ut,ht){Yt(te,ut,ht,Ce,"visual")}function Yt(ut,ht,qt,Nt,Qt){(F(ht)||L(ht))&&(qt=ht,ht=Nt);var at=m.wrapStageHandler(qt,Qt);return at.__prio=ht,at.__raw=qt,ut.push(at),at}function Ht(ut,ht){xe[ut]=ht}function nr(ut){return n.extend(ut)}function ir(ut){return a.extend(ut)}function Zt(ut){return l.extend(ut)}function Mt(ut){return c.extend(ut)}function pt(ut){D.$override("createCanvas",ut)}function Tt(ut,ht,qt){P.registerMap(ut,ht,qt)}function mt(ut){var ht=P.retrieveMap(ut);return ht&&ht[0]&&{geoJson:ht[0].geoJSON,specialAreas:ht[0].specialAreas}}Je(fe,v),tt(r),st(Y,u),Ht("default",x),Ct({type:"highlight",event:"highlight",update:"highlight"},D.noop),Ct({type:"downplay",event:"downplay",update:"downplay"},D.noop),ke("light",b),ke("dark",S);var Jt={};V.version=N,V.dependencies=Q,V.PRIORITY=_e,V.init=ae,V.connect=Ee,V.disConnect=ye,V.disconnect=Te,V.dispose=je,V.getInstanceByDom=qe,V.getInstanceById=Le,V.registerTheme=ke,V.registerPreprocessor=tt,V.registerProcessor=st,V.registerPostUpdate=_t,V.registerAction=Ct,V.registerCoordinateSystem=Rt,V.getCoordinateSystemDimensions=Wt,V.registerLayout=vt,V.registerVisual=Je,V.registerLoading=Ht,V.extendComponentModel=nr,V.extendComponentView=ir,V.extendSeriesModel=Zt,V.extendChartView=Mt,V.setCanvasCreator=pt,V.registerMap=Tt,V.getMap=mt,V.dataTool=Jt;var or=e("txkQ");(function(){for(var ut in or)or.hasOwnProperty(ut)&&(V[ut]=or[ut])})()},"Pv/L":function(oe,V,e){"use strict";e.d(V,"a",function(){return I});var B=e("+kx5"),T=e("Y9hK"),w=e("Qw5x"),D=e("u6e6");function I(E){return Object(B.a)(E)||Object(T.a)(E)||Object(w.a)(E)||Object(D.a)()}},Q7if:function(oe,V,e){var B=e("JEkh"),T=B.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"}}}});oe.exports=T},Q9mQ:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("UADf"),D=e.n(w)},QBsz:function(oe,V){var e=typeof Float32Array=="undefined"?Array:Float32Array;function B(m,b){var S=new e(2);return m==null&&(m=0),b==null&&(b=0),S[0]=m,S[1]=b,S}function T(m,b){return m[0]=b[0],m[1]=b[1],m}function w(m){var b=new e(2);return b[0]=m[0],b[1]=m[1],b}function D(m,b,S){return m[0]=b,m[1]=S,m}function I(m,b,S){return m[0]=b[0]+S[0],m[1]=b[1]+S[1],m}function E(m,b,S,P){return m[0]=b[0]+S[0]*P,m[1]=b[1]+S[1]*P,m}function C(m,b,S){return m[0]=b[0]-S[0],m[1]=b[1]-S[1],m}function f(m){return Math.sqrt(i(m))}var t=f;function i(m){return m[0]*m[0]+m[1]*m[1]}var s=i;function o(m,b,S){return m[0]=b[0]*S[0],m[1]=b[1]*S[1],m}function r(m,b,S){return m[0]=b[0]/S[0],m[1]=b[1]/S[1],m}function u(m,b){return m[0]*b[0]+m[1]*b[1]}function n(m,b,S){return m[0]=b[0]*S,m[1]=b[1]*S,m}function l(m,b){var S=f(b);return S===0?(m[0]=0,m[1]=0):(m[0]=b[0]/S,m[1]=b[1]/S),m}function a(m,b){return Math.sqrt((m[0]-b[0])*(m[0]-b[0])+(m[1]-b[1])*(m[1]-b[1]))}var c=a;function d(m,b){return(m[0]-b[0])*(m[0]-b[0])+(m[1]-b[1])*(m[1]-b[1])}var h=d;function y(m,b){return m[0]=-b[0],m[1]=-b[1],m}function A(m,b,S,P){return m[0]=b[0]+P*(S[0]-b[0]),m[1]=b[1]+P*(S[1]-b[1]),m}function v(m,b,S){var P=b[0],M=b[1];return m[0]=S[0]*P+S[2]*M+S[4],m[1]=S[1]*P+S[3]*M+S[5],m}function g(m,b,S){return m[0]=Math.min(b[0],S[0]),m[1]=Math.min(b[1],S[1]),m}function x(m,b,S){return m[0]=Math.max(b[0],S[0]),m[1]=Math.max(b[1],S[1]),m}V.create=B,V.copy=T,V.clone=w,V.set=D,V.add=I,V.scaleAndAdd=E,V.sub=C,V.len=f,V.length=t,V.lenSquare=i,V.lengthSquare=s,V.mul=o,V.div=r,V.dot=u,V.scale=n,V.normalize=l,V.distance=a,V.dist=c,V.distanceSquare=d,V.distSquare=h,V.negate=y,V.lerp=A,V.applyTransform=v,V.min=g,V.max=x},"QO+J":function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.createSensor=void 0;var B=w(e("NohK")),T=e("24YM");function w(I){return I&&I.__esModule?I:{default:I}}var D=function(E){var C=void 0,f=[],t=function(){getComputedStyle(E).position==="static"&&(E.style.position="relative");var n=document.createElement("object");return n.onload=function(){n.contentDocument.defaultView.addEventListener("resize",i),i()},n.style.display="block",n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.height="100%",n.style.width="100%",n.style.overflow="hidden",n.style.pointerEvents="none",n.style.zIndex="-1",n.style.opacity="0",n.setAttribute("class",T.SensorClassName),n.setAttribute("tabindex",T.SensorTabIndex),n.type="text/html",E.appendChild(n),n.data="about:blank",n},i=(0,B.default)(function(){f.forEach(function(u){u(E)})}),s=function(n){C||(C=t()),f.indexOf(n)===-1&&f.push(n)},o=function(){C&&C.parentNode&&(C.contentDocument&&C.contentDocument.defaultView.removeEventListener("resize",i),C.parentNode.removeChild(C),C=void 0,f=[])},r=function(n){var l=f.indexOf(n);l!==-1&&f.splice(l,1),f.length===0&&C&&o()};return{element:E,bind:s,destroy:o,unbind:r}};V.createSensor=D},"QQZ/":function(oe,V,e){var B=e("Sq3C"),T=e("Z1HP"),w=e("Sxd8"),D=e("dt0z");function I(E,C,f){E=D(E),C=w(C);var t=C?T(E):0;return C&&t<C?B(C-t,f)+E:E}oe.exports=I},QUw5:function(oe,V,e){var B=e("OlYY"),T=B.extend({type:"dataZoom.select"});oe.exports=T},QbM5:function(oe,V,e){},Qe9p:function(oe,V,e){var B=e("1RvN"),T={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 w(b){return b=Math.round(b),b<0?0:b>255?255:b}function D(b){return b=Math.round(b),b<0?0:b>360?360:b}function I(b){return b<0?0:b>1?1:b}function E(b){return b.length&&b.charAt(b.length-1)==="%"?w(parseFloat(b)/100*255):w(parseInt(b,10))}function C(b){return b.length&&b.charAt(b.length-1)==="%"?I(parseFloat(b)/100):I(parseFloat(b))}function f(b,S,P){return P<0?P+=1:P>1&&(P-=1),P*6<1?b+(S-b)*P*6:P*2<1?S:P*3<2?b+(S-b)*(2/3-P)*6:b}function t(b,S,P){return b+(S-b)*P}function i(b,S,P,M,R){return b[0]=S,b[1]=P,b[2]=M,b[3]=R,b}function s(b,S){return b[0]=S[0],b[1]=S[1],b[2]=S[2],b[3]=S[3],b}var o=new B(20),r=null;function u(b,S){r&&s(r,S),r=o.put(b,r||S.slice())}function n(b,S){if(!!b){S=S||[];var P=o.get(b);if(P)return s(S,P);b=b+"";var M=b.replace(/ /g,"").toLowerCase();if(M in T)return s(S,T[M]),u(b,S),S;if(M.charAt(0)==="#"){if(M.length===4){var R=parseInt(M.substr(1),16);if(!(R>=0&&R<=4095)){i(S,0,0,0,1);return}return i(S,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),u(b,S),S}else if(M.length===7){var R=parseInt(M.substr(1),16);if(!(R>=0&&R<=16777215)){i(S,0,0,0,1);return}return i(S,(R&16711680)>>16,(R&65280)>>8,R&255,1),u(b,S),S}return}var F=M.indexOf("("),L=M.indexOf(")");if(F!==-1&&L+1===M.length){var U=M.substr(0,F),N=M.substr(F+1,L-(F+1)).split(","),Q=1;switch(U){case"rgba":if(N.length!==4){i(S,0,0,0,1);return}Q=C(N.pop());case"rgb":if(N.length!==3){i(S,0,0,0,1);return}return i(S,E(N[0]),E(N[1]),E(N[2]),Q),u(b,S),S;case"hsla":if(N.length!==4){i(S,0,0,0,1);return}return N[3]=C(N[3]),l(N,S),u(b,S),S;case"hsl":if(N.length!==3){i(S,0,0,0,1);return}return l(N,S),u(b,S),S;default:return}}i(S,0,0,0,1)}}function l(b,S){var P=(parseFloat(b[0])%360+360)%360/360,M=C(b[1]),R=C(b[2]),F=R<=.5?R*(M+1):R+M-R*M,L=R*2-F;return S=S||[],i(S,w(f(L,F,P+1/3)*255),w(f(L,F,P)*255),w(f(L,F,P-1/3)*255),1),b.length===4&&(S[3]=b[3]),S}function a(b){if(!!b){var S=b[0]/255,P=b[1]/255,M=b[2]/255,R=Math.min(S,P,M),F=Math.max(S,P,M),L=F-R,U=(F+R)/2,N,Q;if(L===0)N=0,Q=0;else{U<.5?Q=L/(F+R):Q=L/(2-F-R);var z=((F-S)/6+L/2)/L,_=((F-P)/6+L/2)/L,J=((F-M)/6+L/2)/L;S===F?N=J-_:P===F?N=1/3+z-J:M===F&&(N=2/3+_-z),N<0&&(N+=1),N>1&&(N-=1)}var Y=[N*360,Q,U];return b[3]!=null&&Y.push(b[3]),Y}}function c(b,S){var P=n(b);if(P){for(var M=0;M<3;M++)S<0?P[M]=P[M]*(1-S)|0:P[M]=(255-P[M])*S+P[M]|0,P[M]>255?P[M]=255:b[M]<0&&(P[M]=0);return m(P,P.length===4?"rgba":"rgb")}}function d(b){var S=n(b);if(S)return((1<<24)+(S[0]<<16)+(S[1]<<8)+ +S[2]).toString(16).slice(1)}function h(b,S,P){if(!(!(S&&S.length)||!(b>=0&&b<=1))){P=P||[];var M=b*(S.length-1),R=Math.floor(M),F=Math.ceil(M),L=S[R],U=S[F],N=M-R;return P[0]=w(t(L[0],U[0],N)),P[1]=w(t(L[1],U[1],N)),P[2]=w(t(L[2],U[2],N)),P[3]=I(t(L[3],U[3],N)),P}}var y=h;function A(b,S,P){if(!(!(S&&S.length)||!(b>=0&&b<=1))){var M=b*(S.length-1),R=Math.floor(M),F=Math.ceil(M),L=n(S[R]),U=n(S[F]),N=M-R,Q=m([w(t(L[0],U[0],N)),w(t(L[1],U[1],N)),w(t(L[2],U[2],N)),I(t(L[3],U[3],N))],"rgba");return P?{color:Q,leftIndex:R,rightIndex:F,value:M}:Q}}var v=A;function g(b,S,P,M){if(b=n(b),b)return b=a(b),S!=null&&(b[0]=D(S)),P!=null&&(b[1]=C(P)),M!=null&&(b[2]=C(M)),m(l(b),"rgba")}function x(b,S){if(b=n(b),b&&S!=null)return b[3]=I(S),m(b,"rgba")}function m(b,S){if(!(!b||!b.length)){var P=b[0]+","+b[1]+","+b[2];return(S==="rgba"||S==="hsva"||S==="hsla")&&(P+=","+b[3]),S+"("+P+")"}}V.parse=n,V.lift=c,V.toHex=d,V.fastLerp=h,V.fastMapToColor=y,V.lerp=A,V.mapToColor=v,V.modifyHSL=g,V.modifyAlpha=x,V.stringify=m},QuXc:function(oe,V){var e=function(w){this.colorStops=w||[]};e.prototype={constructor:e,addColorStop:function(w,D){this.colorStops.push({offset:w,color:D})}};var B=e;oe.exports=B},Qvb6:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("ItGF"),D=e("B9fm"),I=e("gvm7"),E=e("7aKB"),C=e("OELB"),f=e("IwbS"),t=e("Ez2D"),i=e("+TT/"),s=e("Qxkt"),o=e("F9bG"),r=e("aX7z"),u=e("/y7N"),n=e("4NO4"),l=n.getTooltipRenderMode,a=T.bind,c=T.each,d=C.parsePercent,h=new f.Rect({shape:{x:-1,y:-1,width:2,height:2}}),y=B.extendComponentView({type:"tooltip",init:function(S,P){if(!w.node){var M=S.getComponent("tooltip"),R=M.get("renderMode");this._renderMode=l(R);var F;this._renderMode==="html"?(F=new D(P.getDom(),P,{appendToBody:M.get("appendToBody",!0)}),this._newLine="<br/>"):(F=new I(P),this._newLine=`
|
|
|
`),this._tooltipContent=F}},render:function(S,P,M){if(!w.node){this.group.removeAll(),this._tooltipModel=S,this._ecModel=P,this._api=M,this._lastDataByCoordSys=null,this._alwaysShowContent=S.get("alwaysShowContent");var R=this._tooltipContent;R.update(S),R.setEnterable(S.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var S=this._tooltipModel,P=S.get("triggerOn");o.register("itemTooltip",this._api,a(function(M,R,F){P!=="none"&&(P.indexOf(M)>=0?this._tryShow(R,F):M==="leave"&&this._hide(F))},this))},_keepShow:function(){var S=this._tooltipModel,P=this._ecModel,M=this._api;if(this._lastX!=null&&this._lastY!=null&&S.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!M.isDisposed()&&R.manuallyShowTip(S,P,M,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(S,P,M,R){if(!(R.from===this.uid||w.node)){var F=v(R,M);this._ticket="";var L=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var U=h;U.position=[R.x,R.y],U.update(),U.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:U},F)}else if(L)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},F);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(S,P,M,R))return;var N=t(R,P),Q=N.point[0],z=N.point[1];Q!=null&&z!=null&&this._tryShow({offsetX:Q,offsetY:z,position:R.position,target:N.el},F)}else R.x!=null&&R.y!=null&&(M.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:M.getZr().findHover(R.x,R.y).target},F))}},manuallyHideTip:function(S,P,M,R){var F=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&F.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(v(R,M))},_manuallyAxisShowTip:function(S,P,M,R){var F=R.seriesIndex,L=R.dataIndex,U=P.getComponent("axisPointer").coordSysAxesInfo;if(!(F==null||L==null||U==null)){var N=P.getSeriesByIndex(F);if(!!N){var Q=N.getData(),S=A([Q.getItemModel(L),N,(N.coordinateSystem||{}).model,S]);if(S.get("trigger")==="axis")return M.dispatchAction({type:"updateAxisPointer",seriesIndex:F,dataIndex:L,position:R.position}),!0}}},_tryShow:function(S,P){var M=S.target,R=this._tooltipModel;if(!!R){this._lastX=S.offsetX,this._lastY=S.offsetY;var F=S.dataByCoordSys;F&&F.length?this._showAxisTooltip(F,S):M&&M.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(S,M,P)):M&&M.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(S,M,P)):(this._lastDataByCoordSys=null,this._hide(P))}},_showOrMove:function(S,P){var M=S.get("showDelay");P=T.bind(P,this),clearTimeout(this._showTimout),M>0?this._showTimout=setTimeout(P,M):P()},_showAxisTooltip:function(S,P){var M=this._ecModel,R=this._tooltipModel,F=[P.offsetX,P.offsetY],L=[],U=[],N=A([P.tooltipOption,R]),Q=this._renderMode,z=this._newLine,_={};c(S,function(Y){c(Y.dataByAxis,function(k){var W=M.getComponent(k.axisDim+"Axis",k.axisIndex),ie=k.value,fe=[];if(!(!W||ie==null)){var Ce=u.getValueLabel(ie,W.axis,M,k.seriesDataIndices,k.valueLabelOpt);T.each(k.seriesDataIndices,function(de){var Pe=M.getSeriesByIndex(de.seriesIndex),_e=de.dataIndexInside,Ne=Pe&&Pe.getDataParams(_e);if(Ne.axisDim=k.axisDim,Ne.axisIndex=k.axisIndex,Ne.axisType=k.axisType,Ne.axisId=k.axisId,Ne.axisValue=r.getAxisRawValue(W.axis,ie),Ne.axisValueLabel=Ce,Ne){U.push(Ne);var He=Pe.formatTooltip(_e,!0,null,Q),ue;if(T.isObject(He)){ue=He.html;var Re=He.markers;T.merge(_,Re)}else ue=He;fe.push(ue)}});var ge=Ce;Q!=="html"?L.push(fe.join(z)):L.push((ge?E.encodeHTML(ge)+z:"")+fe.join(z))}})},this),L.reverse(),L=L.join(this._newLine+this._newLine);var J=P.position;this._showOrMove(N,function(){this._updateContentNotChangedOnAxis(S)?this._updatePosition(N,J,F[0],F[1],this._tooltipContent,U):this._showTooltipContent(N,L,U,Math.random(),F[0],F[1],J,void 0,_)})},_showSeriesItemTooltip:function(S,P,M){var R=this._ecModel,F=P.seriesIndex,L=R.getSeriesByIndex(F),U=P.dataModel||L,N=P.dataIndex,Q=P.dataType,z=U.getData(Q),_=A([z.getItemModel(N),U,L&&(L.coordinateSystem||{}).model,this._tooltipModel]),J=_.get("trigger");if(!(J!=null&&J!=="item")){var Y=U.getDataParams(N,Q),k=U.formatTooltip(N,!1,Q,this._renderMode),W,ie;T.isObject(k)?(W=k.html,ie=k.markers):(W=k,ie=null);var fe="item_"+U.name+"_"+N;this._showOrMove(_,function(){this._showTooltipContent(_,W,Y,fe,S.offsetX,S.offsetY,S.position,S.target,ie)}),M({type:"showTip",dataIndexInside:N,dataIndex:z.getRawIndex(N),seriesIndex:F,from:this.uid})}},_showComponentItemTooltip:function(S,P,M){var R=P.tooltip;if(typeof R=="string"){var F=R;R={content:F,formatter:F}}var L=new s(R,this._tooltipModel,this._ecModel),U=L.get("content"),N=Math.random();this._showOrMove(L,function(){this._showTooltipContent(L,U,L.get("formatterParams")||{},N,S.offsetX,S.offsetY,S.position,P)}),M({type:"showTip",from:this.uid})},_showTooltipContent:function(S,P,M,R,F,L,U,N,Q){if(this._ticket="",!(!S.get("showContent")||!S.get("show"))){var z=this._tooltipContent,_=S.get("formatter");U=U||S.get("position");var J=P;if(_&&typeof _=="string")J=E.formatTpl(_,M,!0);else if(typeof _=="function"){var Y=a(function(k,W){k===this._ticket&&(z.setContent(W,Q,S),this._updatePosition(S,U,F,L,z,M,N))},this);this._ticket=R,J=_(M,R,Y)}z.setContent(J,Q,S),z.show(S),this._updatePosition(S,U,F,L,z,M,N)}},_updatePosition:function(S,P,M,R,F,L,U){var N=this._api.getWidth(),Q=this._api.getHeight();P=P||S.get("position");var z=F.getSize(),_=S.get("align"),J=S.get("verticalAlign"),Y=U&&U.getBoundingRect().clone();if(U&&Y.applyTransform(U.transform),typeof P=="function"&&(P=P([M,R],L,F.el,Y,{viewSize:[N,Q],contentSize:z.slice()})),T.isArray(P))M=d(P[0],N),R=d(P[1],Q);else if(T.isObject(P)){P.width=z[0],P.height=z[1];var k=i.getLayoutRect(P,{width:N,height:Q});M=k.x,R=k.y,_=null,J=null}else if(typeof P=="string"&&U){var W=m(P,Y,z);M=W[0],R=W[1]}else{var W=g(M,R,F,N,Q,_?null:20,J?null:20);M=W[0],R=W[1]}if(_&&(M-=b(_)?z[0]/2:_==="right"?z[0]:0),J&&(R-=b(J)?z[1]/2:J==="bottom"?z[1]:0),S.get("confine")){var W=x(M,R,F,N,Q);M=W[0],R=W[1]}F.moveTo(M,R)},_updateContentNotChangedOnAxis:function(S){var P=this._lastDataByCoordSys,M=!!P&&P.length===S.length;return M&&c(P,function(R,F){var L=R.dataByAxis||{},U=S[F]||{},N=U.dataByAxis||[];M&=L.length===N.length,M&&c(L,function(Q,z){var _=N[z]||{},J=Q.seriesDataIndices||[],Y=_.seriesDataIndices||[];M&=Q.value===_.value&&Q.axisType===_.axisType&&Q.axisId===_.axisId&&J.length===Y.length,M&&c(J,function(k,W){var ie=Y[W];M&=k.seriesIndex===ie.seriesIndex&&k.dataIndex===ie.dataIndex})})}),this._lastDataByCoordSys=S,!!M},_hide:function(S){this._lastDataByCoordSys=null,S({type:"hideTip",from:this.uid})},dispose:function(S,P){w.node||(this._tooltipContent.dispose(),o.unregister("itemTooltip",P))}});function A(S){for(var P=S.pop();S.length;){var M=S.pop();M&&(s.isInstance(M)&&(M=M.get("tooltip",!0)),typeof M=="string"&&(M={formatter:M}),P=new s(M,P,P.ecModel))}return P}function v(S,P){return S.dispatchAction||T.bind(P.dispatchAction,P)}function g(S,P,M,R,F,L,U){var N=M.getOuterSize(),Q=N.width,z=N.height;return L!=null&&(S+Q+L>R?S-=Q+L:S+=L),U!=null&&(P+z+U>F?P-=z+U:P+=U),[S,P]}function x(S,P,M,R,F){var L=M.getOuterSize(),U=L.width,N=L.height;return S=Math.min(S+U,R)-U,P=Math.min(P+N,F)-N,S=Math.max(S,0),P=Math.max(P,0),[S,P]}function m(S,P,M){var R=M[0],F=M[1],L=5,U=0,N=0,Q=P.width,z=P.height;switch(S){case"inside":U=P.x+Q/2-R/2,N=P.y+z/2-F/2;break;case"top":U=P.x+Q/2-R/2,N=P.y-F-L;break;case"bottom":U=P.x+Q/2-R/2,N=P.y+z+L;break;case"left":U=P.x-R-L,N=P.y+z/2-F/2;break;case"right":U=P.x+Q+L,N=P.y+z/2-F/2}return[U,N]}function b(S){return S==="center"||S==="middle"}oe.exports=y},Qxkt:function(oe,V,e){var B=e("bYtY"),T=e("ItGF"),w=e("4NO4"),D=w.makeInner,I=e("Yl7c"),E=I.enableClassExtend,C=I.enableClassCheck,f=e("OQFs"),t=e("m9t5"),i=e("/iHx"),s=e("VR9l"),o=B.mixin,r=D();function u(c,d,h){this.parentModel=d,this.ecModel=h,this.option=c}u.prototype={constructor:u,init:null,mergeOption:function(c){B.merge(this.option,c,!0)},get:function(c,d){return c==null?this.option:n(this.option,this.parsePath(c),!d&&l(this,c))},getShallow:function(c,d){var h=this.option,y=h==null?h:h[c],A=!d&&l(this,c);return y==null&&A&&(y=A.getShallow(c)),y},getModel:function(c,d){var h=c==null?this.option:n(this.option,c=this.parsePath(c)),y;return d=d||(y=l(this,c))&&y.getModel(c),new u(h,d,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var c=this.constructor;return new c(B.clone(this.option))},setReadOnly:function(c){},parsePath:function(c){return typeof c=="string"&&(c=c.split(".")),c},customizeGetParent:function(c){r(this).getParent=c},isAnimationEnabled:function(){if(!T.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function n(c,d,h){for(var y=0;y<d.length&&!(!!d[y]&&(c=c&&typeof c=="object"?c[d[y]]:null,c==null));y++);return c==null&&h&&(c=h.get(d)),c}function l(c,d){var h=r(c).getParent;return h?h.call(c,d):c.parentModel}E(u),C(u),o(u,f),o(u,t),o(u,i),o(u,s);var a=u;oe.exports=a},QzjZ:function(oe,V,e){var B=e("S/Yl"),T=e("IDmD");function w(D,I){var E=[];return D.eachComponent("singleAxis",function(C,f){var t=new B(C,D,I);t.name="single_"+f,t.resize(C,I),C.coordinateSystem=t,E.push(t)}),D.eachSeries(function(C){if(C.get("coordinateSystem")==="singleAxis"){var f=D.queryComponents({mainType:"singleAxis",index:C.get("singleAxisIndex"),id:C.get("singleAxisId")})[0];C.coordinateSystem=f&&f.coordinateSystem}}),E}T.register("single",{create:w,dimensions:B.prototype.dimensions})},R4Th:function(oe,V,e){var B=e("ProS"),T=e("9wZj"),w=e("yO87"),D=e("Fofx"),I=e("h8O9"),E=B.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new T(w)},render:function(C,f,t){var i=C.getData(),s=this._symbolDraw;s.updateData(i),this.group.add(s.group)},updateTransform:function(C,f,t){var i=C.getData();this.group.dirty();var s=I().reset(C);s.progress&&s.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(C){var f=C.coordinateSystem;f&&f.getRoamTransform&&(this.group.transform=D.clone(f.getRoamTransform()),this.group.decomposeTransform())},remove:function(C,f){this._symbolDraw&&this._symbolDraw.remove(f)},dispose:function(){}});oe.exports=E},R9oj:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("pwpV"),D=e.n(w)},RBEP:function(oe,V,e){for(var B=e("ProS"),T=e("VaxA"),w=function(){},D=["treemapZoomToNode","treemapRender","treemapMove"],I=0;I<D.length;I++)B.registerAction({type:D[I],update:"updateView"},w);B.registerAction({type:"treemapRootToNode",update:"updateView"},function(E,C){C.eachComponent({mainType:"series",subType:"treemap",query:E},f);function f(t,i){var s=["treemapZoomToNode","treemapRootToNode"],o=T.retrieveTargetInfo(E,s,t);if(o){var r=t.getViewRoot();r&&(E.direction=T.aboveViewRoot(r,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}})},RDYZ:function(oe,V,e){var B=e("dMvE");function T(D){this._target=D.target,this._life=D.life||1e3,this._delay=D.delay||0,this._initialized=!1,this.loop=D.loop==null?!1:D.loop,this.gap=D.gap||0,this.easing=D.easing||"Linear",this.onframe=D.onframe,this.ondestroy=D.ondestroy,this.onrestart=D.onrestart,this._pausedTime=0,this._paused=!1}T.prototype={constructor:T,step:function(I,E){if(this._initialized||(this._startTime=I+this._delay,this._initialized=!0),this._paused){this._pausedTime+=E;return}var C=(I-this._startTime-this._pausedTime)/this._life;if(!(C<0)){C=Math.min(C,1);var f=this.easing,t=typeof f=="string"?B[f]:f,i=typeof t=="function"?t(C):C;return this.fire("frame",i),C===1?this.loop?(this.restart(I),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(I){var E=(I-this._startTime-this._pausedTime)%this._life;this._startTime=I-E+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(I,E){I="on"+I,this[I]&&this[I](this._target,E)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var w=T;oe.exports=w},RELg:function(oe,V,e){var B=e("MFOe"),T=B.Global;oe.exports={name:"oldIE-userDataStorage",write:C,read:f,each:t,remove:i,clearAll:s};var w="storejs",D=T.document,I=u(),E=(T.navigator?T.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function C(n,l){if(!E){var a=r(n);I(function(c){c.setAttribute(a,l),c.save(w)})}}function f(n){if(!E){var l=r(n),a=null;return I(function(c){a=c.getAttribute(l)}),a}}function t(n){I(function(l){for(var a=l.XMLDocument.documentElement.attributes,c=a.length-1;c>=0;c--){var d=a[c];n(l.getAttribute(d.name),d.name)}})}function i(n){var l=r(n);I(function(a){a.removeAttribute(l),a.save(w)})}function s(){I(function(n){var l=n.XMLDocument.documentElement.attributes;n.load(w);for(var a=l.length-1;a>=0;a--)n.removeAttribute(l[a].name);n.save(w)})}var o=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function r(n){return n.replace(/^\d/,"___$&").replace(o,"___")}function u(){if(!D||!D.documentElement||!D.documentElement.addBehavior)return null;var n="script",l,a,c;try{a=new ActiveXObject("htmlfile"),a.open(),a.write("<"+n+">document.w=window</"+n+'><iframe src="/favicon.ico"></iframe>'),a.close(),l=a.w.frames[0].document,c=l.createElement("div")}catch(d){c=D.createElement("div"),l=D.body}return function(d){var h=[].slice.call(arguments,0);h.unshift(c),l.appendChild(c),c.addBehavior("#default#userData"),c.load(w),d.apply(this,h),l.removeChild(c)}}},RPvy:function(oe,V,e){var B=e("ProS"),T=e("VaxA"),w="sunburstRootToNode";B.registerAction({type:w,update:"updateView"},function(E,C){C.eachComponent({mainType:"series",subType:"sunburst",query:E},f);function f(t,i){var s=T.retrieveTargetInfo(E,[w],t);if(s){var o=t.getViewRoot();o&&(E.direction=T.aboveViewRoot(o,s.node)?"rollUp":"drillDown"),t.resetViewRoot(s.node)}}});var D="sunburstHighlight";B.registerAction({type:D,update:"updateView"},function(E,C){C.eachComponent({mainType:"series",subType:"sunburst",query:E},f);function f(t,i){var s=T.retrieveTargetInfo(E,[D],t);s&&(E.highlight=s.node)}});var I="sunburstUnhighlight";B.registerAction({type:I,update:"updateView"},function(E,C){C.eachComponent({mainType:"series",subType:"sunburst",query:E},f);function f(t,i){E.unhighlight=!0}})},RSch:function(oe,V,e){var B=e("IwbS"),T=e("bYtY");function w(E,C,f){B.Group.call(this),this._createPolyline(E,C,f)}var D=w.prototype;D._createPolyline=function(E,C,f){var t=E.getItemLayout(C),i=new B.Polyline({shape:{points:t}});this.add(i),this._updateCommonStl(E,C,f)},D.updateData=function(E,C,f){var t=E.hostModel,i=this.childAt(0),s={shape:{points:E.getItemLayout(C)}};B.updateProps(i,s,t,C),this._updateCommonStl(E,C,f)},D._updateCommonStl=function(E,C,f){var t=this.childAt(0),i=E.getItemModel(C),s=E.getItemVisual(C,"color"),o=f&&f.lineStyle,r=f&&f.hoverLineStyle;(!f||E.hasItemOption)&&(o=i.getModel("lineStyle").getLineStyle(),r=i.getModel("emphasis.lineStyle").getLineStyle()),t.useStyle(T.defaults({strokeNoScale:!0,fill:"none",stroke:s},o)),t.hoverStyle=r,B.setHoverStyle(this)},D.updateLayout=function(E,C){var f=this.childAt(0);f.setShape("points",E.getItemLayout(C))},T.inherits(w,B.Group);var I=w;oe.exports=I},RXMa:function(oe,V,e){var B=e("y+Vt"),T=B.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(D,I){var E=I.cx,C=I.cy,f=Math.PI*2;D.moveTo(E+I.r,C),D.arc(E,C,I.r,0,f,!1),D.moveTo(E+I.r0,C),D.arc(E,C,I.r0,0,f,!0)}});oe.exports=T},RlCK:function(oe,V,e){var B=e("ProS"),T=e("bYtY");function w(D,I,E){var C={},f=D==="toggleSelected",t;return E.eachComponent("legend",function(i){f&&t!=null?i[t?"select":"unSelect"](I.name):D==="allSelect"||D==="inverseSelect"?i[D]():(i[D](I.name),t=i.isSelected(I.name));var s=i.getData();T.each(s,function(o){var r=o.get("name");if(!(r===`
|
|
|
`||r==="")){var u=i.isSelected(r);C.hasOwnProperty(r)?C[r]=C[r]&&u:C[r]=u}})}),D==="allSelect"||D==="inverseSelect"?{selected:C}:{name:I.name,selected:C}}B.registerAction("legendToggleSelect","legendselectchanged",T.curry(w,"toggleSelected")),B.registerAction("legendAllSelect","legendselectall",T.curry(w,"allSelect")),B.registerAction("legendInverseSelect","legendinverseselect",T.curry(w,"inverseSelect")),B.registerAction("legendSelect","legendselected",T.curry(w,"select")),B.registerAction("legendUnSelect","legendunselected",T.curry(w,"unSelect"))},RotF:function(oe,V,e){oe.exports=e("LSTS")},RqAY:function(oe,V,e){"use strict";e.d(V,"a",function(){return B});function B(T){return Object.keys(T).reduce(function(w,D){return(D.startsWith("data-")||D.startsWith("aria-")||D==="role")&&!D.startsWith("data-__")&&(w[D]=T[D]),w},{})}},Rx6q:function(oe,V){function e(B){var T=B.getRect(),w=B.getRangeInfo();return{coordSys:{type:"calendar",x:T.x,y:T.y,width:T.width,height:T.height,cellWidth:B.getCellWidth(),cellHeight:B.getCellHeight(),rangeInfo:{start:w.start,end:w.end,weeks:w.weeks,dayCount:w.allDay}},api:{coord:function(D,I){return B.dataToPoint(D,I)}}}}oe.exports=e},"S/Yl":function(oe,V,e){var B=e("Zvw2"),T=e("aX7z"),w=e("+TT/"),D=w.getLayoutRect,I=e("bYtY"),E=I.each;function C(t,i,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,i,s),this.model=t}C.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:C,_init:function(t,i,s){var o=this.dimension,r=new B(o,T.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),u=r.type==="category";r.onBand=u&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},update:function(t,i){t.eachSeries(function(s){if(s.coordinateSystem===this){var o=s.getData();E(o.mapDimension(this.dimension,!0),function(r){this._axis.scale.unionExtentFromData(o,r)},this),T.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(t,i){this._rect=D({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:i.getWidth(),height:i.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,i=this._axis,s=i.isHorizontal(),o=s?[0,t.width]:[0,t.height],r=i.reverse?1:0;i.setExtent(o[r],o[1-r]),this._updateAxisTransform(i,s?t.x:t.y)},_updateAxisTransform:function(t,i){var s=t.getExtent(),o=s[0]+s[1],r=t.isHorizontal();t.toGlobalCoord=r?function(u){return u+i}:function(u){return o-u+i},t.toLocalCoord=r?function(u){return u-i}:function(u){return o-u+i}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var i=this.getRect(),s=this.getAxis(),o=s.orient;return o==="horizontal"?s.contain(s.toLocalCoord(t[0]))&&t[1]>=i.y&&t[1]<=i.y+i.height:s.contain(s.toLocalCoord(t[1]))&&t[0]>=i.y&&t[0]<=i.y+i.height},pointToData:function(t){var i=this.getAxis();return[i.coordToData(i.toLocalCoord(t[i.orient==="horizontal"?0:1]))]},dataToPoint:function(t){var i=this.getAxis(),s=this.getRect(),o=[],r=i.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),o[r]=i.toGlobalCoord(i.dataToCoord(+t)),o[1-r]=r===0?s.y+s.height/2:s.x+s.width/2,o}};var f=C;oe.exports=f},"SA4+":function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("IwbS"),I=e("zYTA"),E=e("bYtY");function C(s,o,r){var u=s[1]-s[0];o=E.map(o,function(a){return{interval:[(a.interval[0]-s[0])/u,(a.interval[1]-s[0])/u]}});var n=o.length,l=0;return function(a){for(var c=l;c<n;c++){var d=o[c].interval;if(d[0]<=a&&a<=d[1]){l=c;break}}if(c===n)for(var c=l-1;c>=0;c--){var d=o[c].interval;if(d[0]<=a&&a<=d[1]){l=c;break}}return c>=0&&c<n&&r[c]}}function f(s,o){var r=s[1]-s[0];return o=[(o[0]-s[0])/r,(o[1]-s[0])/r],function(u){return u>=o[0]&&u<=o[1]}}function t(s){var o=s.dimensions;return o[0]==="lng"&&o[1]==="lat"}var i=w.extendChartView({type:"heatmap",render:function(s,o,r){var u;o.eachComponent("visualMap",function(l){l.eachTargetSeries(function(a){a===s&&(u=l)})}),this.group.removeAll(),this._incrementalDisplayable=null;var n=s.coordinateSystem;n.type==="cartesian2d"||n.type==="calendar"?this._renderOnCartesianAndCalendar(s,r,0,s.getData().count()):t(n)&&this._renderOnGeo(n,s,u,r)},incrementalPrepareRender:function(s,o,r){this.group.removeAll()},incrementalRender:function(s,o,r,u){var n=o.coordinateSystem;n&&this._renderOnCartesianAndCalendar(o,u,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,o,r,u,n){var l=s.coordinateSystem,a,c;if(l.type==="cartesian2d"){var d=l.getAxis("x"),h=l.getAxis("y");a=d.getBandWidth(),c=h.getBandWidth()}for(var y=this.group,A=s.getData(),v="itemStyle",g="emphasis.itemStyle",x="label",m="emphasis.label",b=s.getModel(v).getItemStyle(["color"]),S=s.getModel(g).getItemStyle(),P=s.getModel(x),M=s.getModel(m),R=l.type,F=R==="cartesian2d"?[A.mapDimension("x"),A.mapDimension("y"),A.mapDimension("value")]:[A.mapDimension("time"),A.mapDimension("value")],L=r;L<u;L++){var U;if(R==="cartesian2d"){if(isNaN(A.get(F[2],L)))continue;var N=l.dataToPoint([A.get(F[0],L),A.get(F[1],L)]);U=new D.Rect({shape:{x:Math.floor(Math.round(N[0])-a/2),y:Math.floor(Math.round(N[1])-c/2),width:Math.ceil(a),height:Math.ceil(c)},style:{fill:A.getItemVisual(L,"color"),opacity:A.getItemVisual(L,"opacity")}})}else{if(isNaN(A.get(F[1],L)))continue;U=new D.Rect({z2:1,shape:l.dataToRect([A.get(F[0],L)]).contentShape,style:{fill:A.getItemVisual(L,"color"),opacity:A.getItemVisual(L,"opacity")}})}var Q=A.getItemModel(L);A.hasItemOption&&(b=Q.getModel(v).getItemStyle(["color"]),S=Q.getModel(g).getItemStyle(),P=Q.getModel(x),M=Q.getModel(m));var z=s.getRawValue(L),_="-";z&&z[2]!=null&&(_=z[2]),D.setLabelStyle(b,S,P,M,{labelFetcher:s,labelDataIndex:L,defaultText:_,isRectText:!0}),U.setStyle(b),D.setHoverStyle(U,A.hasItemOption?S:E.extend({},S)),U.incremental=n,n&&(U.useHoverLayer=!0),y.add(U),A.setItemGraphicEl(L,U)}},_renderOnGeo:function(s,o,r,u){var n=r.targetVisuals.inRange,l=r.targetVisuals.outOfRange,a=o.getData(),c=this._hmLayer||this._hmLayer||new I;c.blurSize=o.get("blurSize"),c.pointSize=o.get("pointSize"),c.minOpacity=o.get("minOpacity"),c.maxOpacity=o.get("maxOpacity");var d=s.getViewRect().clone(),h=s.getRoamTransform();d.applyTransform(h);var y=Math.max(d.x,0),A=Math.max(d.y,0),v=Math.min(d.width+d.x,u.getWidth()),g=Math.min(d.height+d.y,u.getHeight()),x=v-y,m=g-A,b=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],S=a.mapArray(b,function(F,L,U){var N=s.dataToPoint([F,L]);return N[0]-=y,N[1]-=A,N.push(U),N}),P=r.getExtent(),M=r.type==="visualMap.continuous"?f(P,r.option.range):C(P,r.getPieceList(),r.option.selected);c.update(S,x,m,n.color.getNormalizer(),{inRange:n.color.getColorMapper(),outOfRange:l.color.getColorMapper()},M);var R=new D.Image({style:{width:x,height:m,x:y,y:A,image:c.canvas},silent:!0});this.group.add(R)},dispose:function(){}});oe.exports=i},SA8n:function(oe,V,e){var B=e("Sj9i"),T=e("QBsz"),w=e("U/Mo"),D=w.getSymbolSize,I=[],E=[],C=[],f=B.quadraticAt,t=T.distSquare,i=Math.abs;function s(r,u,n){for(var l=r[0],a=r[1],c=r[2],d=Infinity,h,y=n*n,A=.1,v=.1;v<=.9;v+=.1){I[0]=f(l[0],a[0],c[0],v),I[1]=f(l[1],a[1],c[1],v);var g=i(t(I,u)-y);g<d&&(d=g,h=v)}for(var x=0;x<32;x++){var m=h+A;E[0]=f(l[0],a[0],c[0],h),E[1]=f(l[1],a[1],c[1],h),C[0]=f(l[0],a[0],c[0],m),C[1]=f(l[1],a[1],c[1],m);var g=t(E,u)-y;if(i(g)<.01)break;var b=t(C,u)-y;A/=2,g<0?b>=0?h=h+A:h=h-A:b>=0?h=h-A:h=h+A}return h}function o(r,u){var n=[],l=B.quadraticSubdivide,a=[[],[],[]],c=[[],[]],d=[];u/=2,r.eachEdge(function(h,y){var A=h.getLayout(),v=h.getVisual("fromSymbol"),g=h.getVisual("toSymbol");A.__original||(A.__original=[T.clone(A[0]),T.clone(A[1])],A[2]&&A.__original.push(T.clone(A[2])));var x=A.__original;if(A[2]!=null){if(T.copy(a[0],x[0]),T.copy(a[1],x[2]),T.copy(a[2],x[1]),v&&v!=="none"){var m=D(h.node1),b=s(a,x[0],m*u);l(a[0][0],a[1][0],a[2][0],b,n),a[0][0]=n[3],a[1][0]=n[4],l(a[0][1],a[1][1],a[2][1],b,n),a[0][1]=n[3],a[1][1]=n[4]}if(g&&g!=="none"){var m=D(h.node2),b=s(a,x[1],m*u);l(a[0][0],a[1][0],a[2][0],b,n),a[1][0]=n[1],a[2][0]=n[2],l(a[0][1],a[1][1],a[2][1],b,n),a[1][1]=n[1],a[2][1]=n[2]}T.copy(A[0],a[0]),T.copy(A[1],a[2]),T.copy(A[2],a[1])}else{if(T.copy(c[0],x[0]),T.copy(c[1],x[1]),T.sub(d,c[1],c[0]),T.normalize(d,d),v&&v!=="none"){var m=D(h.node1);T.scaleAndAdd(c[0],c[0],d,m*u)}if(g&&g!=="none"){var m=D(h.node2);T.scaleAndAdd(c[1],c[1],d,-m*u)}T.copy(A[0],c[0]),T.copy(A[1],c[1])}})}oe.exports=o},SJMd:function(oe,V){/**
|
|
|
* @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,B,T,w=!1,D,I;window.PR_SHOULD_USE_CONTINUATION=!0;var E,C;(function(){var f=window,t=["break,continue,do,else,for,if,return,while"],i=[t,"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"],s=[i,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[s,"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"],r=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],u=[s,"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"],n="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",l=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],a="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",c=[t,"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"],d=[t,"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"],h=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],y=[o,u,r,l,a,c,d,h],A=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,v="str",g="kwd",x="com",m="typ",b="lit",S="pun",P="pln",M="tag",R="dec",F="src",L="atn",U="atv",N="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function z(Ve){for(var Ge=0,dt=!1,et=!1,At=0,Dt=Ve.length;At<Dt;++At){var Ft=Ve[At];if(Ft.ignoreCase)et=!0;else if(/[a-z]/i.test(Ft.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){dt=!0,et=!1;break}}var St={b:8,t:9,n:10,v:11,f:12,r:13};function $e(rt){var Ie=rt.charCodeAt(0);if(Ie!==92)return Ie;var Ot=rt.charAt(1);return Ie=St[Ot],Ie||("0"<=Ot&&Ot<="7"?parseInt(rt.substring(1),8):Ot==="u"||Ot==="x"?parseInt(rt.substring(2),16):rt.charCodeAt(1))}function lt(rt){if(rt<32)return(rt<16?"\\x0":"\\x")+rt.toString(16);var Ie=String.fromCharCode(rt);return Ie==="\\"||Ie==="-"||Ie==="]"||Ie==="^"?"\\"+Ie:Ie}function Ut(rt){var Ie=rt.substring(1,rt.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")),Ot=[],Xt=Ie[0]==="^",Vt=["["];Xt&&Vt.push("^");for(var bt=Xt?1:0,It=Ie.length;bt<It;++bt){var Kt=Ie[bt];if(/\\[bdsw]/i.test(Kt))Vt.push(Kt);else{var Se=$e(Kt),Ye;bt+2<It&&Ie[bt+1]==="-"?(Ye=$e(Ie[bt+2]),bt+=2):Ye=Se,Ot.push([Se,Ye]),Ye<65||Se>122||(Ye<65||Se>90||Ot.push([Math.max(65,Se)|32,Math.min(Ye,90)|32]),Ye<97||Se>122||Ot.push([Math.max(97,Se)&~32,Math.min(Ye,122)&~32]))}}Ot.sort(function(De,ze){return De[0]-ze[0]||ze[1]-De[1]});for(var q=[],Ae=[],bt=0;bt<Ot.length;++bt){var Me=Ot[bt];Me[0]<=Ae[1]+1?Ae[1]=Math.max(Ae[1],Me[1]):q.push(Ae=Me)}for(var bt=0;bt<q.length;++bt){var Me=q[bt];Vt.push(lt(Me[0])),Me[1]>Me[0]&&(Me[1]+1>Me[0]&&Vt.push("-"),Vt.push(lt(Me[1])))}return Vt.push("]"),Vt.join("")}function gt(rt){for(var Ie=rt.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")),Ot=Ie.length,Xt=[],Vt=0,bt=0;Vt<Ot;++Vt){var It=Ie[Vt];if(It==="(")++bt;else if(It.charAt(0)==="\\"){var Kt=+It.substring(1);Kt&&(Kt<=bt?Xt[Kt]=-1:Ie[Vt]=lt(Kt))}}for(var Vt=1;Vt<Xt.length;++Vt)Xt[Vt]===-1&&(Xt[Vt]=++Ge);for(var Vt=0,bt=0;Vt<Ot;++Vt){var It=Ie[Vt];if(It==="(")++bt,Xt[bt]||(Ie[Vt]="(?:");else if(It.charAt(0)==="\\"){var Kt=+It.substring(1);Kt&&Kt<=bt&&(Ie[Vt]="\\"+Xt[Kt])}}for(var Vt=0;Vt<Ot;++Vt)Ie[Vt]==="^"&&Ie[Vt+1]!=="^"&&(Ie[Vt]="");if(rt.ignoreCase&&dt)for(var Vt=0;Vt<Ot;++Vt){var It=Ie[Vt],Se=It.charAt(0);It.length>=2&&Se==="["?Ie[Vt]=Ut(It):Se!=="\\"&&(Ie[Vt]=It.replace(/[a-zA-Z]/g,function(Ae){var Me=Ae.charCodeAt(0);return"["+String.fromCharCode(Me&~32,Me|32)+"]"}))}return Ie.join("")}for(var ft=[],At=0,Dt=Ve.length;At<Dt;++At){var Ft=Ve[At];if(Ft.global||Ft.multiline)throw new Error(""+Ft);ft.push("(?:"+gt(Ft)+")")}return new RegExp(ft.join("|"),et?"gi":"g")}function _(Ve,Ge){var dt=/(?:^|\s)nocode(?:\s|$)/,et=[],At=0,Dt=[],Ft=0;function St($e){var lt=$e.nodeType;if(lt==1){if(dt.test($e.className))return;for(var Ut=$e.firstChild;Ut;Ut=Ut.nextSibling)St(Ut);var gt=$e.nodeName.toLowerCase();(gt==="br"||gt==="li")&&(et[Ft]=`
|
|
|
`,Dt[Ft<<1]=At++,Dt[Ft++<<1|1]=$e)}else if(lt==3||lt==4){var ft=$e.nodeValue;ft.length&&(Ge?ft=ft.replace(/\r\n?/g,`
|
|
|
`):ft=ft.replace(/[ \t\r\n]+/g," "),et[Ft]=ft,Dt[Ft<<1]=At,At+=ft.length,Dt[Ft++<<1|1]=$e)}}return St(Ve),{sourceCode:et.join("").replace(/\n$/,""),spans:Dt}}function J(Ve,Ge,dt,et,At){if(!!dt){var Dt={sourceNode:Ve,pre:1,langExtension:null,numberLines:null,sourceCode:dt,spans:null,basePos:Ge,decorations:null};et(Dt),At.push.apply(At,Dt.decorations)}}var Y=/\S/;function k(Ve){for(var Ge=void 0,dt=Ve.firstChild;dt;dt=dt.nextSibling){var et=dt.nodeType;Ge=et===1?Ge?Ve:dt:et===3&&Y.test(dt.nodeValue)?Ve:Ge}return Ge===Ve?void 0:Ge}function W(Ve,Ge){var dt={},et;(function(){for(var Ft=Ve.concat(Ge),St=[],$e={},lt=0,Ut=Ft.length;lt<Ut;++lt){var gt=Ft[lt],ft=gt[3];if(ft)for(var rt=ft.length;--rt>=0;)dt[ft.charAt(rt)]=gt;var Ie=gt[1],Ot=""+Ie;$e.hasOwnProperty(Ot)||(St.push(Ie),$e[Ot]=null)}St.push(/[\0-\uffff]/),et=z(St)})();var At=Ge.length,Dt=function Ft(St){for(var $e=St.sourceCode,lt=St.basePos,Ut=St.sourceNode,gt=[lt,P],ft=0,rt=$e.match(et)||[],Ie={},Ot=0,Xt=rt.length;Ot<Xt;++Ot){var Vt=rt[Ot],bt=Ie[Vt],It=void 0,Kt;if(typeof bt=="string")Kt=!1;else{var Se=dt[Vt.charAt(0)];if(Se)It=Vt.match(Se[1]),bt=Se[0];else{for(var Ye=0;Ye<At;++Ye)if(Se=Ge[Ye],It=Vt.match(Se[1]),It){bt=Se[0];break}It||(bt=P)}Kt=bt.length>=5&&bt.substring(0,5)==="lang-",Kt&&!(It&&typeof It[1]=="string")&&(Kt=!1,bt=F),Kt||(Ie[Vt]=bt)}var q=ft;if(ft+=Vt.length,!Kt)gt.push(lt+q,bt);else{var Ae=It[1],Me=Vt.indexOf(Ae),De=Me+Ae.length;It[2]&&(De=Vt.length-It[2].length,Me=De-Ae.length);var ze=bt.substring(5);J(Ut,lt+q,Vt.substring(0,Me),Ft,gt),J(Ut,lt+q+Me,Ae,_e(ze,Ae),gt),J(Ut,lt+q+De,Vt.substring(De),Ft,gt)}}St.decorations=gt};return Dt}function ie(Ve){var Ge=[],dt=[];Ve.tripleQuotedStrings?Ge.push([v,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Ve.multiLineStrings?Ge.push([v,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Ge.push([v,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Ve.verbatimStrings&&dt.push([v,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var et=Ve.hashComments;et&&(Ve.cStyleComments?(et>1?Ge.push([x,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Ge.push([x,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),dt.push([v,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Ge.push([x,/^#[^\r\n]*/,null,"#"])),Ve.cStyleComments&&(dt.push([x,/^\/\/[^\r\n]*/,null]),dt.push([x,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var At=Ve.regexLiterals;if(At){var Dt=At>1?"":`
|
|
|
\r`,Ft=Dt?".":"[\\S\\s]",St="/(?=[^/*"+Dt+"])(?:[^/\\x5B\\x5C"+Dt+"]|\\x5C"+Ft+"|\\x5B(?:[^\\x5C\\x5D"+Dt+"]|\\x5C"+Ft+")*(?:\\x5D|$))+/";dt.push(["lang-regex",RegExp("^"+Q+"("+St+")")])}var $e=Ve.types;$e&&dt.push([m,$e]);var lt=(""+Ve.keywords).replace(/^ | $/g,"");lt.length&&dt.push([g,new RegExp("^(?:"+lt.replace(/[\s,]+/g,"|")+")\\b"),null]),Ge.push([P,/^\s+/,null,` \r
|
|
|
\xA0`]);var Ut="^.[^\\s\\w.$@'\"`/\\\\]*";return Ve.regexLiterals&&(Ut+="(?!s*/)"),dt.push([b,/^@[a-z_$][a-z_$@0-9]*/i,null],[m,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[P,/^[a-z_$][a-z_$@0-9]*/i,null],[b,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[P,/^\\[\s\S]?/,null],[S,new RegExp(Ut),null]),W(Ge,dt)}var fe=ie({keywords:y,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ce(Ve,Ge,dt){for(var et=/(?:^|\s)nocode(?:\s|$)/,At=/\r\n?|\n/,Dt=Ve.ownerDocument,Ft=Dt.createElement("li");Ve.firstChild;)Ft.appendChild(Ve.firstChild);var St=[Ft];function $e(Ie){var Ot=Ie.nodeType;if(Ot==1&&!et.test(Ie.className))if(Ie.nodeName==="br")lt(Ie),Ie.parentNode&&Ie.parentNode.removeChild(Ie);else for(var Xt=Ie.firstChild;Xt;Xt=Xt.nextSibling)$e(Xt);else if((Ot==3||Ot==4)&&dt){var Vt=Ie.nodeValue,bt=Vt.match(At);if(bt){var It=Vt.substring(0,bt.index);Ie.nodeValue=It;var Kt=Vt.substring(bt.index+bt[0].length);if(Kt){var Se=Ie.parentNode;Se.insertBefore(Dt.createTextNode(Kt),Ie.nextSibling)}lt(Ie),It||Ie.parentNode.removeChild(Ie)}}}function lt(Ie){for(;!Ie.nextSibling;)if(Ie=Ie.parentNode,!Ie)return;function Ot(bt,It){var Kt=It?bt.cloneNode(!1):bt,Se=bt.parentNode;if(Se){var Ye=Ot(Se,1),q=bt.nextSibling;Ye.appendChild(Kt);for(var Ae=q;Ae;Ae=q)q=Ae.nextSibling,Ye.appendChild(Ae)}return Kt}for(var Xt=Ot(Ie.nextSibling,0),Vt;(Vt=Xt.parentNode)&&Vt.nodeType===1;)Xt=Vt;St.push(Xt)}for(var Ut=0;Ut<St.length;++Ut)$e(St[Ut]);Ge===(Ge|0)&&St[0].setAttribute("value",Ge);var gt=Dt.createElement("ol");gt.className="linenums";for(var ft=Math.max(0,Ge-1|0)||0,Ut=0,rt=St.length;Ut<rt;++Ut)Ft=St[Ut],Ft.className="L"+(Ut+ft)%10,Ft.firstChild||Ft.appendChild(Dt.createTextNode("\xA0")),gt.appendChild(Ft);Ve.appendChild(gt)}function ge(Ve){var Ge=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Ge=Ge&&+Ge[1]<=8;var dt=/\n/g,et=Ve.sourceCode,At=et.length,Dt=0,Ft=Ve.spans,St=Ft.length,$e=0,lt=Ve.decorations,Ut=lt.length,gt=0;lt[Ut]=At;var ft,rt;for(rt=ft=0;rt<Ut;)lt[rt]!==lt[rt+2]?(lt[ft++]=lt[rt++],lt[ft++]=lt[rt++]):rt+=2;for(Ut=ft,rt=ft=0;rt<Ut;){for(var Ie=lt[rt],Ot=lt[rt+1],Xt=rt+2;Xt+2<=Ut&<[Xt+1]===Ot;)Xt+=2;lt[ft++]=Ie,lt[ft++]=Ot,rt=Xt}Ut=lt.length=ft;var Vt=Ve.sourceNode,bt="";Vt&&(bt=Vt.style.display,Vt.style.display="none");try{for(var It=null;$e<St;){var Kt=Ft[$e],Se=Ft[$e+2]||At,Ye=lt[gt+2]||At,Xt=Math.min(Se,Ye),q=Ft[$e+1],Ae;if(q.nodeType!==1&&(Ae=et.substring(Dt,Xt))){Ge&&(Ae=Ae.replace(dt,"\r")),q.nodeValue=Ae;var Me=q.ownerDocument,De=Me.createElement("span");De.className=lt[gt+1];var ze=q.parentNode;ze.replaceChild(De,q),De.appendChild(q),Dt<Se&&(Ft[$e+1]=q=Me.createTextNode(et.substring(Xt,Se)),ze.insertBefore(q,De.nextSibling))}Dt=Xt,Dt>=Se&&($e+=2),Dt>=Ye&&(gt+=2)}}finally{Vt&&(Vt.style.display=bt)}}var de={};function Pe(Ve,Ge){for(var dt=Ge.length;--dt>=0;){var et=Ge[dt];de.hasOwnProperty(et)?f.console&&console.warn("cannot override language handler %s",et):de[et]=Ve}}function _e(Ve,Ge){return Ve&&de.hasOwnProperty(Ve)||(Ve=/^\s*</.test(Ge)?"default-markup":"default-code"),de[Ve]}Pe(fe,["default-code"]),Pe(W([],[[P,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[x,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[S,/^(?:<[%?]|[%?]>)/],["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"]),Pe(W([[P,/^[\s]+/,null,` \r
|
|
|
`],[U,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[M,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[L,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[S,/^[=<>\/]+/],["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"]),Pe(W([],[[U,/^[\s\S]+/]]),["uq.val"]),Pe(ie({keywords:o,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),Pe(ie({keywords:"null,true,false"}),["json"]),Pe(ie({keywords:u,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),Pe(ie({keywords:r,cStyleComments:!0}),["java"]),Pe(ie({keywords:h,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pe(ie({keywords:c,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pe(ie({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pe(ie({keywords:d,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pe(ie({keywords:l,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pe(ie({keywords:n,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pe(W([],[[v,/^[\s\S]+/]]),["regex"]);function Ne(Ve){var Ge=Ve.langExtension;try{var dt=_(Ve.sourceNode,Ve.pre),et=dt.sourceCode;Ve.sourceCode=et,Ve.spans=dt.spans,Ve.basePos=0,_e(Ge,et)(Ve),ge(Ve)}catch(At){f.console&&console.log(At&&At.stack||At)}}function He(Ve,Ge,dt){var et=dt||!1,At=Ge||null,Dt=document.createElement("div");Dt.innerHTML="<pre>"+Ve+"</pre>",Dt=Dt.firstChild,et&&Ce(Dt,et,!0);var Ft={langExtension:At,numberLines:et,sourceNode:Dt,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Ne(Ft),Dt.innerHTML}function ue(Ve,Ge){var dt=Ge||document.body,et=dt.ownerDocument||document;function At(Kt){return dt.getElementsByTagName(Kt)}for(var Dt=[At("pre"),At("code"),At("xmp")],Ft=[],St=0;St<Dt.length;++St)for(var $e=0,lt=Dt[St].length;$e<lt;++$e)Ft.push(Dt[St][$e]);Dt=null;var Ut=Date;Ut.now||(Ut={now:function(){return+new Date}});var gt=0,ft=/\blang(?:uage)?-([\w.]+)(?!\S)/,rt=/\bprettyprint\b/,Ie=/\bprettyprinted\b/,Ot=/pre|xmp/i,Xt=/^code$/i,Vt=/^(?:pre|code|xmp)$/i,bt={};function It(){for(var Kt=f.PR_SHOULD_USE_CONTINUATION?Ut.now()+250:Infinity;gt<Ft.length&&Ut.now()<Kt;gt++){for(var Se=Ft[gt],Ye=bt,q=Se;q=q.previousSibling;){var Ae=q.nodeType,Me=(Ae===7||Ae===8)&&q.nodeValue;if(Me?!/^\??prettify\b/.test(Me):Ae!==3||/\S/.test(q.nodeValue))break;if(Me){Ye={},Me.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ae,Ee,ye){Ye[Ee]=ye});break}}var De=Se.className;if((Ye!==bt||rt.test(De))&&!Ie.test(De)){for(var ze=!1,pe=Se.parentNode;pe;pe=pe.parentNode){var te=pe.tagName;if(Vt.test(te)&&pe.className&&rt.test(pe.className)){ze=!0;break}}if(!ze){Se.className+=" prettyprinted";var be=Ye.lang;if(!be){be=De.match(ft);var xe;!be&&(xe=k(Se))&&Xt.test(xe.tagName)&&(be=xe.className.match(ft)),be&&(be=be[1])}var Z;if(Ot.test(Se.tagName))Z=1;else{var se=Se.currentStyle,he=et.defaultView,Oe=se?se.whiteSpace:he&&he.getComputedStyle?he.getComputedStyle(Se,null).getPropertyValue("white-space"):0;Z=Oe&&Oe.substring(0,3)==="pre"}var ne=Ye.linenums;(ne=ne==="true"||+ne)||(ne=De.match(/\blinenums\b(?::(\d+))?/),ne=ne?ne[1]&&ne[1].length?+ne[1]:!0:!1),ne&&Ce(Se,ne,Z);var ce={langExtension:be,sourceNode:Se,numberLines:ne,pre:Z,sourceCode:null,basePos:null,spans:null,decorations:null};Ne(ce)}}}gt<Ft.length?f.setTimeout(It,250):typeof Ve=="function"&&Ve()}It()}var Re=f.PR={createSimpleLexer:W,registerLangHandler:Pe,sourceDecorator:ie,PR_ATTRIB_NAME:L,PR_ATTRIB_VALUE:U,PR_COMMENT:x,PR_DECLARATION:R,PR_KEYWORD:g,PR_LITERAL:b,PR_NOCODE:N,PR_PLAIN:P,PR_PUNCTUATION:S,PR_SOURCE:F,PR_STRING:v,PR_TAG:M,PR_TYPE:m,prettyPrintOne:w?f.prettyPrintOne=He:E=He,prettyPrint:C=w?f.prettyPrint=ue:C=ue},nt=f.define;typeof nt=="function"&&nt.amd&&nt("google-code-prettify",[],function(){return Re})})()},SKnc:function(oe,V,e){var B=e("bYtY"),T=e("QuXc"),w=function(E,C,f,t,i,s){this.x=E==null?0:E,this.y=C==null?0:C,this.x2=f==null?1:f,this.y2=t==null?0:t,this.type="linear",this.global=s||!1,T.call(this,i)};w.prototype={constructor:w},B.inherits(w,T);var D=w;oe.exports=D},"SKx+":function(oe,V,e){var B=e("ProS"),T=B.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}}}),w=T;oe.exports=w},SMc4:function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("nkfE"),D=e("ICMv"),I=T.extend({type:"cartesian2dAxis",axis:null,init:function(){I.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){I.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){I.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function E(t,i){return i.type||(i.data?"category":"value")}B.merge(I.prototype,D);var C={offset:0};w("x",I,E,C),w("y",I,E,C);var f=I;oe.exports=f},SUKs:function(oe,V,e){var B=e("LPTA"),T=B.debugMode,w=function(){};T===1&&(w=console.error);var D=w;oe.exports=D},Sdc0:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("ye1Q"),D=e("TSYQ"),I=e.n(D),E=e("ODXe"),C=e("Ff2n"),f=e("q1tI"),t=e("6cGi"),i=e("4IlW"),s=f.forwardRef(function(h,y){var A,v=h.prefixCls,g=v===void 0?"rc-switch":v,x=h.className,m=h.checked,b=h.defaultChecked,S=h.disabled,P=h.loadingIcon,M=h.checkedChildren,R=h.unCheckedChildren,F=h.onClick,L=h.onChange,U=h.onKeyDown,N=Object(C.a)(h,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),Q=Object(t.a)(!1,{value:m,defaultValue:b}),z=Object(E.a)(Q,2),_=z[0],J=z[1];function Y(fe,Ce){var ge=_;return S||(ge=fe,J(ge),L==null||L(ge,Ce)),ge}function k(fe){fe.which===i.a.LEFT?Y(!1,fe):fe.which===i.a.RIGHT&&Y(!0,fe),U==null||U(fe)}function W(fe){var Ce=Y(!_,fe);F==null||F(Ce,fe)}var ie=I()(g,x,(A={},Object(T.a)(A,"".concat(g,"-checked"),_),Object(T.a)(A,"".concat(g,"-disabled"),S),A));return f.createElement("button",Object.assign({},N,{type:"button",role:"switch","aria-checked":_,disabled:S,className:ie,ref:y,onKeyDown:k,onClick:W}),P,f.createElement("span",{className:"".concat(g,"-inner")},_?M:R))});s.displayName="Switch";var o=s,r=e("H84U"),u=e("caoh"),n=e("3Nzz"),l=e("g0mS"),a=function(h,y){var A={};for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&y.indexOf(v)<0&&(A[v]=h[v]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,v=Object.getOwnPropertySymbols(h);g<v.length;g++)y.indexOf(v[g])<0&&Object.prototype.propertyIsEnumerable.call(h,v[g])&&(A[v[g]]=h[v[g]]);return A},c=f.forwardRef(function(h,y){var A,v=h.prefixCls,g=h.size,x=h.disabled,m=h.loading,b=h.className,S=b===void 0?"":b,P=a(h,["prefixCls","size","disabled","loading","className"]),M=f.useContext(r.b),R=M.getPrefixCls,F=M.direction,L=f.useContext(n.b),U=f.useContext(u.b),N=(x!=null?x:U)||m,Q=R("switch",v),z=f.createElement("div",{className:"".concat(Q,"-handle")},m&&f.createElement(w.a,{className:"".concat(Q,"-loading-icon")})),_=I()((A={},Object(T.a)(A,"".concat(Q,"-small"),(g||L)==="small"),Object(T.a)(A,"".concat(Q,"-loading"),m),Object(T.a)(A,"".concat(Q,"-rtl"),F==="rtl"),A),S);return f.createElement(l.a,{insertExtraNode:!0},f.createElement(o,Object(B.a)({},P,{prefixCls:Q,className:_,disabled:N,ref:y,loadingIcon:z})))});c.__ANT_SWITCH=!0;var d=V.a=c},SehX:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("2B6p"),D=w.updateCenterAndZoom;B.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(I,E){var C=I.componentType||"series";E.eachComponent({mainType:C,query:I},function(f){var t=f.coordinateSystem;if(t.type==="geo"){var i=D(t,I,f.get("scaleLimit"));f.setCenter&&f.setCenter(i.center),f.setZoom&&f.setZoom(i.zoom),C==="series"&&T.each(f.seriesGroup,function(s){s.setCenter(i.center),s.setZoom(i.zoom)})}})})},SgGq:function(oe,V,e){var B=e("bYtY"),T=e("H6uX"),w=e("YH21"),D=e("pP6R");function I(n){this.pointerChecker,this._zr=n,this._opt={};var l=B.bind,a=l(E,this),c=l(C,this),d=l(f,this),h=l(t,this),y=l(i,this);T.call(this),this.setPointerChecker=function(A){this.pointerChecker=A},this.enable=function(A,v){this.disable(),this._opt=B.defaults(B.clone(v)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),A==null&&(A=!0),(A===!0||A==="move"||A==="pan")&&(n.on("mousedown",a),n.on("mousemove",c),n.on("mouseup",d)),(A===!0||A==="scale"||A==="zoom")&&(n.on("mousewheel",h),n.on("pinch",y))},this.disable=function(){n.off("mousedown",a),n.off("mousemove",c),n.off("mouseup",d),n.off("mousewheel",h),n.off("pinch",y)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}B.mixin(I,T);function E(n){if(!(w.isMiddleOrRightButtonOnMouseUpDown(n)||n.target&&n.target.draggable)){var l=n.offsetX,a=n.offsetY;this.pointerChecker&&this.pointerChecker(n,l,a)&&(this._x=l,this._y=a,this._dragging=!0)}}function C(n){if(!(!this._dragging||!r("moveOnMouseMove",n,this._opt)||n.gestureEvent==="pinch"||D.isTaken(this._zr,"globalPan"))){var l=n.offsetX,a=n.offsetY,c=this._x,d=this._y,h=l-c,y=a-d;this._x=l,this._y=a,this._opt.preventDefaultMouseMove&&w.stop(n.event),o(this,"pan","moveOnMouseMove",n,{dx:h,dy:y,oldX:c,oldY:d,newX:l,newY:a})}}function f(n){w.isMiddleOrRightButtonOnMouseUpDown(n)||(this._dragging=!1)}function t(n){var l=r("zoomOnMouseWheel",n,this._opt),a=r("moveOnMouseWheel",n,this._opt),c=n.wheelDelta,d=Math.abs(c),h=n.offsetX,y=n.offsetY;if(!(c===0||!l&&!a)){if(l){var A=d>3?1.4:d>1?1.2:1.1,v=c>0?A:1/A;s(this,"zoom","zoomOnMouseWheel",n,{scale:v,originX:h,originY:y})}if(a){var g=Math.abs(c),x=(c>0?1:-1)*(g>3?.4:g>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:x,originX:h,originY:y})}}}function i(n){if(!D.isTaken(this._zr,"globalPan")){var l=n.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,n,{scale:l,originX:n.pinchX,originY:n.pinchY})}}function s(n,l,a,c,d){n.pointerChecker&&n.pointerChecker(c,d.originX,d.originY)&&(w.stop(c.event),o(n,l,a,c,d))}function o(n,l,a,c,d){d.isAvailableBehavior=B.bind(r,null,a,c),n.trigger(l,d)}function r(n,l,a){var c=a[n];return!n||c&&(!B.isString(c)||l.event[c+"Key"])}var u=I;oe.exports=u},Sj9i:function(oe,V,e){var B=e("QBsz"),T=B.create,w=B.distSquare,D=Math.pow,I=Math.sqrt,E=1e-8,C=1e-4,f=I(3),t=1/3,i=T(),s=T(),o=T();function r(b){return b>-E&&b<E}function u(b){return b>E||b<-E}function n(b,S,P,M,R){var F=1-R;return F*F*(F*b+3*R*S)+R*R*(R*M+3*F*P)}function l(b,S,P,M,R){var F=1-R;return 3*(((S-b)*F+2*(P-S)*R)*F+(M-P)*R*R)}function a(b,S,P,M,R,F){var L=M+3*(S-P)-b,U=3*(P-S*2+b),N=3*(S-b),Q=b-R,z=U*U-3*L*N,_=U*N-9*L*Q,J=N*N-3*U*Q,Y=0;if(r(z)&&r(_))if(r(U))F[0]=0;else{var k=-N/U;k>=0&&k<=1&&(F[Y++]=k)}else{var W=_*_-4*z*J;if(r(W)){var ie=_/z,k=-U/L+ie,fe=-ie/2;k>=0&&k<=1&&(F[Y++]=k),fe>=0&&fe<=1&&(F[Y++]=fe)}else if(W>0){var Ce=I(W),ge=z*U+1.5*L*(-_+Ce),de=z*U+1.5*L*(-_-Ce);ge<0?ge=-D(-ge,t):ge=D(ge,t),de<0?de=-D(-de,t):de=D(de,t);var k=(-U-(ge+de))/(3*L);k>=0&&k<=1&&(F[Y++]=k)}else{var Pe=(2*z*U-3*L*_)/(2*I(z*z*z)),_e=Math.acos(Pe)/3,Ne=I(z),He=Math.cos(_e),k=(-U-2*Ne*He)/(3*L),fe=(-U+Ne*(He+f*Math.sin(_e)))/(3*L),ue=(-U+Ne*(He-f*Math.sin(_e)))/(3*L);k>=0&&k<=1&&(F[Y++]=k),fe>=0&&fe<=1&&(F[Y++]=fe),ue>=0&&ue<=1&&(F[Y++]=ue)}}return Y}function c(b,S,P,M,R){var F=6*P-12*S+6*b,L=9*S+3*M-3*b-9*P,U=3*S-3*b,N=0;if(r(L)){if(u(F)){var Q=-U/F;Q>=0&&Q<=1&&(R[N++]=Q)}}else{var z=F*F-4*L*U;if(r(z))R[0]=-F/(2*L);else if(z>0){var _=I(z),Q=(-F+_)/(2*L),J=(-F-_)/(2*L);Q>=0&&Q<=1&&(R[N++]=Q),J>=0&&J<=1&&(R[N++]=J)}}return N}function d(b,S,P,M,R,F){var L=(S-b)*R+b,U=(P-S)*R+S,N=(M-P)*R+P,Q=(U-L)*R+L,z=(N-U)*R+U,_=(z-Q)*R+Q;F[0]=b,F[1]=L,F[2]=Q,F[3]=_,F[4]=_,F[5]=z,F[6]=N,F[7]=M}function h(b,S,P,M,R,F,L,U,N,Q,z){var _,J=.005,Y=Infinity,k,W,ie,fe;i[0]=N,i[1]=Q;for(var Ce=0;Ce<1;Ce+=.05)s[0]=n(b,P,R,L,Ce),s[1]=n(S,M,F,U,Ce),ie=w(i,s),ie<Y&&(_=Ce,Y=ie);Y=Infinity;for(var ge=0;ge<32&&!(J<C);ge++)k=_-J,W=_+J,s[0]=n(b,P,R,L,k),s[1]=n(S,M,F,U,k),ie=w(s,i),k>=0&&ie<Y?(_=k,Y=ie):(o[0]=n(b,P,R,L,W),o[1]=n(S,M,F,U,W),fe=w(o,i),W<=1&&fe<Y?(_=W,Y=fe):J*=.5);return z&&(z[0]=n(b,P,R,L,_),z[1]=n(S,M,F,U,_)),I(Y)}function y(b,S,P,M){var R=1-M;return R*(R*b+2*M*S)+M*M*P}function A(b,S,P,M){return 2*((1-M)*(S-b)+M*(P-S))}function v(b,S,P,M,R){var F=b-2*S+P,L=2*(S-b),U=b-M,N=0;if(r(F)){if(u(L)){var Q=-U/L;Q>=0&&Q<=1&&(R[N++]=Q)}}else{var z=L*L-4*F*U;if(r(z)){var Q=-L/(2*F);Q>=0&&Q<=1&&(R[N++]=Q)}else if(z>0){var _=I(z),Q=(-L+_)/(2*F),J=(-L-_)/(2*F);Q>=0&&Q<=1&&(R[N++]=Q),J>=0&&J<=1&&(R[N++]=J)}}return N}function g(b,S,P){var M=b+P-2*S;return M===0?.5:(b-S)/M}function x(b,S,P,M,R){var F=(S-b)*M+b,L=(P-S)*M+S,U=(L-F)*M+F;R[0]=b,R[1]=F,R[2]=U,R[3]=U,R[4]=L,R[5]=P}function m(b,S,P,M,R,F,L,U,N){var Q,z=.005,_=Infinity;i[0]=L,i[1]=U;for(var J=0;J<1;J+=.05){s[0]=y(b,P,R,J),s[1]=y(S,M,F,J);var Y=w(i,s);Y<_&&(Q=J,_=Y)}_=Infinity;for(var k=0;k<32&&!(z<C);k++){var W=Q-z,ie=Q+z;s[0]=y(b,P,R,W),s[1]=y(S,M,F,W);var Y=w(s,i);if(W>=0&&Y<_)Q=W,_=Y;else{o[0]=y(b,P,R,ie),o[1]=y(S,M,F,ie);var fe=w(o,i);ie<=1&&fe<_?(Q=ie,_=fe):z*=.5}}return N&&(N[0]=y(b,P,R,Q),N[1]=y(S,M,F,Q)),I(_)}V.cubicAt=n,V.cubicDerivativeAt=l,V.cubicRootAt=a,V.cubicExtrema=c,V.cubicSubdivide=d,V.cubicProjectPoint=h,V.quadraticAt=y,V.quadraticDerivativeAt=A,V.quadraticRootAt=v,V.quadraticExtremum=g,V.quadraticSubdivide=x,V.quadraticProjectPoint=m},Sp2Z:function(oe,V,e){var B=e("3LNs"),T=e("/y7N"),w=e("AVZG"),D=e("Znkb"),I=B.extend({makeElOption:function(i,s,o,r,u){var n=o.axis,l=n.grid,a=r.get("type"),c=E(l,n).getOtherAxis(n).getGlobalExtent(),d=n.toGlobalCoord(n.dataToCoord(s,!0));if(a&&a!=="none"){var h=T.buildElStyle(r),y=C[a](n,d,c);y.style=h,i.graphicKey=y.type,i.pointer=y}var A=w.layout(l.model,o);T.buildCartesianSingleLabelElOption(s,i,A,o,r,u)},getHandleTransform:function(i,s,o){var r=w.layout(s.axis.grid.model,s,{labelInside:!1});return r.labelMargin=o.get("handle.margin"),{position:T.getTransformedPosition(s.axis,i,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(i,s,o,r){var u=o.axis,n=u.grid,l=u.getGlobalExtent(!0),a=E(n,u).getOtherAxis(u).getGlobalExtent(),c=u.dim==="x"?0:1,d=i.position;d[c]+=s[c],d[c]=Math.min(l[1],d[c]),d[c]=Math.max(l[0],d[c]);var h=(a[1]+a[0])/2,y=[h,h];y[c]=d[c];var A=[{verticalAlign:"middle"},{align:"center"}];return{position:d,rotation:i.rotation,cursorPoint:y,tooltipOption:A[c]}}});function E(i,s){var o={};return o[s.dim+"AxisIndex"]=s.index,i.getCartesian(o)}var C={line:function(i,s,o){var r=T.makeLineShape([s,o[0]],[s,o[1]],f(i));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(i,s,o){var r=Math.max(1,i.getBandWidth()),u=o[1]-o[0];return{type:"Rect",shape:T.makeRectShape([s-r/2,o[0]],[r,u],f(i))}}};function f(i){return i.dim==="x"?0:1}D.registerAxisPointerClass("CartesianAxisPointer",I);var t=I;oe.exports=t},Sq3C:function(oe,V,e){var B=e("sKgW"),T=e("zoYe"),w=e("wy8a"),D=e("quyA"),I=e("Z1HP"),E=e("Em2t"),C=Math.ceil;function f(t,i){i=i===void 0?" ":T(i);var s=i.length;if(s<2)return s?B(i,t):i;var o=B(i,C(t/I(i)));return D(i)?w(E(o),0,t).join(""):o.slice(0,t)}oe.exports=f},SqI9:function(oe,V,e){var B=e("y+Vt"),T=e("iXp4"),w=B.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:T(B.prototype.brush),buildPath:function(I,E){var C=E.cx,f=E.cy,t=Math.max(E.r0||0,0),i=Math.max(E.r,0),s=E.startAngle,o=E.endAngle,r=E.clockwise,u=Math.cos(s),n=Math.sin(s);I.moveTo(u*t+C,n*t+f),I.lineTo(u*i+C,n*i+f),I.arc(C,f,i,s,o,!r),I.lineTo(Math.cos(o)*t+C,Math.sin(o)*t+f),t!==0&&I.arc(C,f,t,o,s,r),I.closePath()}});oe.exports=w},SrGk:function(oe,V,e){var B=e("hydK"),T=B.createElement,w=e("bYtY"),D=e("y+Vt"),I=e("Dagg"),E=e("dqUG"),C=e("P47w"),f=C.path,t=C.image,i=C.text,s="0",o="1";function r(n,l,a,c,d){this._zrId=n,this._svgRoot=l,this._tagNames=typeof a=="string"?[a]:a,this._markLabel=c,this._domName=d||"_dom",this.nextId=0}r.prototype.createElement=T,r.prototype.getDefs=function(n){var l=this._svgRoot,a=this._svgRoot.getElementsByTagName("defs");return a.length===0?n?(a=l.insertBefore(this.createElement("defs"),l.firstChild),a.contains||(a.contains=function(c){var d=a.children;if(!d)return!1;for(var h=d.length-1;h>=0;--h)if(d[h]===c)return!0;return!1}),a):null:a[0]},r.prototype.update=function(n,l){if(!!n){var a=this.getDefs(!1);if(n[this._domName]&&a.contains(n[this._domName]))typeof l=="function"&&l(n);else{var c=this.add(n);c&&(n[this._domName]=c)}}},r.prototype.addDom=function(n){var l=this.getDefs(!0);l.appendChild(n)},r.prototype.removeDom=function(n){var l=this.getDefs(!1);l&&n[this._domName]&&(l.removeChild(n[this._domName]),n[this._domName]=null)},r.prototype.getDoms=function(){var n=this.getDefs(!1);if(!n)return[];var l=[];return w.each(this._tagNames,function(a){var c=n.getElementsByTagName(a);l=l.concat([].slice.call(c))}),l},r.prototype.markAllUnused=function(){var n=this.getDoms(),l=this;w.each(n,function(a){a[l._markLabel]=s})},r.prototype.markUsed=function(n){n&&(n[this._markLabel]=o)},r.prototype.removeUnused=function(){var n=this.getDefs(!1);if(!!n){var l=this.getDoms(),a=this;w.each(l,function(c){c[a._markLabel]!==o&&n.removeChild(c)})}},r.prototype.getSvgProxy=function(n){return n instanceof D?f:n instanceof I?t:n instanceof E?i:f},r.prototype.getTextSvgElement=function(n){return n.__textSvgEl},r.prototype.getSvgElement=function(n){return n.__svgEl};var u=r;oe.exports=u},Swgg:function(oe,V,e){var B=e("fc+c"),T=B.extend({type:"dataZoom.select"});oe.exports=T},Sxd8:function(oe,V,e){var B=e("ZCgT");function T(w){var D=B(w),I=D%1;return D===D?I?D-I:D:0}oe.exports=T},T4UG:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("ItGF"),I=e("7aKB"),E=I.formatTime,C=I.encodeHTML,f=I.addCommas,t=I.getTooltipMarker,i=e("4NO4"),s=e("bLfw"),o=e("5Hur"),r=e("OKJ2"),u=e("+TT/"),n=u.getLayoutParams,l=u.mergeLayoutParam,a=e("9H2F"),c=a.createTask,d=e("D5nY"),h=d.prepareSource,y=d.getSource,A=e("KxfA"),v=A.retrieveRawValue,g=i.makeInner(),x=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(N,Q,z,_){this.seriesIndex=this.componentIndex,this.dataTask=c({count:S,reset:P}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(N,z),h(this);var J=this.getInitialData(N,z);R(J,this),this.dataTask.context.data=J,g(this).dataBeforeProcessed=J,m(this)},mergeDefaultAndTheme:function(N,Q){var z=this.layoutMode,_=z?n(N):{},J=this.subType;s.hasClass(J)&&(J+="Series"),w.merge(N,Q.getTheme().get(this.subType)),w.merge(N,this.getDefaultOption()),i.defaultEmphasis(N,"label",["show"]),this.fillDataTextStyle(N.data),z&&l(N,_,z)},mergeOption:function(N,Q){N=w.merge(this.option,N,!0),this.fillDataTextStyle(N.data);var z=this.layoutMode;z&&l(this.option,N,z),h(this);var _=this.getInitialData(N,Q);R(_,this),this.dataTask.dirty(),this.dataTask.context.data=_,g(this).dataBeforeProcessed=_,m(this)},fillDataTextStyle:function(N){if(N&&!w.isTypedArray(N))for(var Q=["show"],z=0;z<N.length;z++)N[z]&&N[z].label&&i.defaultEmphasis(N[z],"label",Q)},getInitialData:function(){},appendData:function(N){var Q=this.getRawData();Q.appendData(N.data)},getData:function(N){var Q=L(this);if(Q){var z=Q.context.data;return N==null?z:z.getLinkedData(N)}else return g(this).data},setData:function(N){var Q=L(this);if(Q){var z=Q.context;z.data!==N&&Q.modifyOutputEnd&&Q.setOutputEnd(N.count()),z.outputData=N,Q!==this.dataTask&&(z.data=N)}g(this).data=N},getSource:function(){return y(this)},getRawData:function(){return g(this).dataBeforeProcessed},getBaseAxis:function(){var N=this.coordinateSystem;return N&&N.getBaseAxis&&N.getBaseAxis()},formatTooltip:function(N,Q,z,_){var J=this;_=_||"html";var Y=_==="html"?"<br/>":`
|
|
|
`,k=_==="richText",W={},ie=0;function fe(Dt){var Ft=w.reduce(Dt,function(gt,ft,rt){var Ie=ge.getDimensionInfo(rt);return gt|=Ie&&Ie.tooltip!==!1&&Ie.displayName!=null},0),St=[];de.length?w.each(de,function(gt){$e(v(ge,N,gt),gt)}):w.each(Dt,$e);function $e(gt,ft){var rt=ge.getDimensionInfo(ft);if(!(!rt||rt.otherDims.tooltip===!1)){var Ie=rt.type,Ot="sub"+J.seriesIndex+"at"+ie,Xt=t({color:He,type:"subItem",renderMode:_,markerId:Ot}),Vt=typeof Xt=="string"?Xt:Xt.content,bt=(Ft?Vt+C(rt.displayName||"-")+": ":"")+C(Ie==="ordinal"?gt+"":Ie==="time"?Q?"":E("yyyy/MM/dd hh:mm:ss",gt):f(gt));bt&&St.push(bt),k&&(W[Ot]=He,++ie)}}var lt=Ft?k?`
|
|
|
`:"<br/>":"",Ut=lt+St.join(lt||", ");return{renderMode:_,content:Ut,style:W}}function Ce(Dt){return{renderMode:_,content:C(f(Dt)),style:W}}var ge=this.getData(),de=ge.mapDimension("defaultedTooltip",!0),Pe=de.length,_e=this.getRawValue(N),Ne=w.isArray(_e),He=ge.getItemVisual(N,"color");w.isObject(He)&&He.colorStops&&(He=(He.colorStops[0]||{}).color),He=He||"transparent";var ue=Pe>1||Ne&&!Pe?fe(_e):Ce(Pe?v(ge,N,de[0]):Ne?_e[0]:_e),Re=ue.content,nt=J.seriesIndex+"at"+ie,Ve=t({color:He,type:"item",renderMode:_,markerId:nt});W[nt]=He,++ie;var Ge=ge.getName(N),dt=this.name;i.isNameSpecified(this)||(dt=""),dt=dt?C(dt)+(Q?": ":Y):"";var et=typeof Ve=="string"?Ve:Ve.content,At=Q?et+dt+Re:dt+et+(Ge?C(Ge)+": "+Re:Re);return{html:At,markers:W}},isAnimationEnabled:function(){if(D.node)return!1;var N=this.getShallow("animation");return N&&this.getData().count()>this.getShallow("animationThreshold")&&(N=!1),N},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(N,Q,z){var _=this.ecModel,J=o.getColorFromPalette.call(this,N,Q,z);return J||(J=_.getColorFromPalette(N,Q,z)),J},coordDimToDataDim:function(N){return this.getRawData().mapDimension(N,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});w.mixin(x,r),w.mixin(x,o);function m(N){var Q=N.name;i.isNameSpecified(N)||(N.name=b(N)||Q)}function b(N){var Q=N.getRawData(),z=Q.mapDimension("seriesName",!0),_=[];return w.each(z,function(J){var Y=Q.getDimensionInfo(J);Y.displayName&&_.push(Y.displayName)}),_.join(" ")}function S(N){return N.model.getRawData().count()}function P(N){var Q=N.model;return Q.setData(Q.getRawData().cloneShallow()),M}function M(N,Q){Q.outputData&&N.end>Q.outputData.count()&&Q.model.getRawData().cloneShallow(Q.outputData)}function R(N,Q){w.each(N.CHANGABLE_METHODS,function(z){N.wrapMethod(z,w.curry(F,Q))})}function F(N){var Q=L(N);Q&&Q.setOutputEnd(this.count())}function L(N){var Q=(N.ecModel||{}).scheduler,z=Q&&Q.getPipeline(N.uid);if(z){var _=z.currentTask;if(_){var J=_.agentStubMap;J&&(_=J.get(N.uid))}return _}}var U=x;oe.exports=U},T6xi:function(oe,V,e){var B=e("YgsL"),T=e("nCxF");function w(D,I,E){var C=I.points,f=I.smooth;if(C&&C.length>=2){if(f&&f!=="spline"){var t=T(C,f,E,I.smoothConstraint);D.moveTo(C[0][0],C[0][1]);for(var i=C.length,s=0;s<(E?i:i-1);s++){var o=t[s*2],r=t[s*2+1],u=C[(s+1)%i];D.bezierCurveTo(o[0],o[1],r[0],r[1],u[0],u[1])}}else{f==="spline"&&(C=B(C,E)),D.moveTo(C[0][0],C[0][1]);for(var s=1,n=C.length;s<n;s++)D.lineTo(C[s][0],C[s][1])}E&&D.closePath()}}V.buildPath=w},TIY9:function(oe,V,e){var B=e("bYtY"),T=B.each,w=e("vafp"),D=e("4NO4"),I=D.makeInner,E=e("Mgri"),C=e("F5Ls"),f=e("a9QJ"),t=e("p/La"),i=I(),s={load:function(r,u,n){var l=i(u).parsed;if(l)return l;var a=u.specialAreas||{},c=u.geoJSON,d;try{d=c?w(c,n):[]}catch(h){throw new Error(`Invalid geoJson format
|
|
|
`+h.message)}return E(r,d),T(d,function(h){var y=h.name;C(r,h),f(r,h),t(r,h);var A=a[y];A&&h.transformTo(A.left,A.top,A.width,A.height)}),i(u).parsed={regions:d,boundingRect:o(d)}}};function o(r){for(var u,n=0;n<r.length;n++){var l=r[n].getBoundingRect();u=u||l.clone(),u.union(l)}return u}oe.exports=s},TJmX:function(oe,V,e){var B=e("zM3Q"),T=["itemStyle","borderColor"],w=["itemStyle","borderColor0"],D=["itemStyle","color"],I=["itemStyle","color0"],E={seriesType:"candlestick",plan:B(),performRawSeries:!0,reset:function(C,f){var t=C.getData();if(t.setVisual({legendSymbol:"roundRect",colorP:o(1,C),colorN:o(-1,C),borderColorP:r(1,C),borderColorN:r(-1,C)}),f.isSeriesFiltered(C))return;var i=C.pipelineContext.large;return!i&&{progress:s};function s(u,n){for(var l;(l=u.next())!=null;){var a=n.getItemModel(l),c=n.getItemLayout(l).sign;n.setItemVisual(l,{color:o(c,a),borderColor:r(c,a)})}}function o(u,n){return n.get(u>0?D:I)}function r(u,n){return n.get(u>0?T:w)}}};oe.exports=E},TOLs:function(oe,V,e){"use strict";e.r(V),e.d(V,"BaseInput",function(){return r});var B=e("rePB"),T=e("U8pU"),w=e("q1tI"),D=e.n(w),I=e("TSYQ"),E=e.n(I);function C(g){return!!(g.addonBefore||g.addonAfter)}function f(g){return!!(g.prefix||g.suffix||g.allowClear)}function t(g,x,m,b){if(!!m){var S=x;if(x.type==="click"){var P=g.cloneNode(!0);S=Object.create(x,{target:{value:P},currentTarget:{value:P}}),P.value="",m(S);return}if(b!==void 0){S=Object.create(x,{target:{value:g},currentTarget:{value:g}}),g.value=b,m(S);return}m(S)}}function i(g,x){if(!!g){g.focus(x);var m=x||{},b=m.cursor;if(b){var S=g.value.length;switch(b){case"start":g.setSelectionRange(0,0);break;case"end":g.setSelectionRange(S,S);break;default:g.setSelectionRange(0,S)}}}}function s(g){return typeof g=="undefined"||g===null?"":String(g)}var o=function(x){var m=x.inputElement,b=x.prefixCls,S=x.prefix,P=x.suffix,M=x.addonBefore,R=x.addonAfter,F=x.className,L=x.style,U=x.affixWrapperClassName,N=x.groupClassName,Q=x.wrapperClassName,z=x.disabled,_=x.readOnly,J=x.focused,Y=x.triggerFocus,k=x.allowClear,W=x.value,ie=x.handleReset,fe=x.hidden,Ce=Object(w.useRef)(null),ge=function(et){var At;(At=Ce.current)!==null&&At!==void 0&&At.contains(et.target)&&(Y==null||Y())},de=function(){var et;if(!k)return null;var At=!z&&!_&&W,Dt="".concat(b,"-clear-icon"),Ft=Object(T.a)(k)==="object"&&k!==null&&k!==void 0&&k.clearIcon?k.clearIcon:"\u2716";return D.a.createElement("span",{onClick:ie,onMouseDown:function($e){return $e.preventDefault()},className:E()(Dt,(et={},Object(B.a)(et,"".concat(Dt,"-hidden"),!At),Object(B.a)(et,"".concat(Dt,"-has-suffix"),!!P),et)),role:"button",tabIndex:-1},Ft)},Pe=Object(w.cloneElement)(m,{value:W,hidden:fe});if(f(x)){var _e,Ne="".concat(b,"-affix-wrapper"),He=E()(Ne,(_e={},Object(B.a)(_e,"".concat(Ne,"-disabled"),z),Object(B.a)(_e,"".concat(Ne,"-focused"),J),Object(B.a)(_e,"".concat(Ne,"-readonly"),_),Object(B.a)(_e,"".concat(Ne,"-input-with-clear-btn"),P&&k&&W),_e),!C(x)&&F,U),ue=(P||k)&&D.a.createElement("span",{className:"".concat(b,"-suffix")},de(),P);Pe=D.a.createElement("span",{className:He,style:L,hidden:!C(x)&&fe,onClick:ge,ref:Ce},S&&D.a.createElement("span",{className:"".concat(b,"-prefix")},S),Object(w.cloneElement)(m,{style:null,value:W,hidden:null}),ue)}if(C(x)){var Re="".concat(b,"-group"),nt="".concat(Re,"-addon"),Ve=E()("".concat(b,"-wrapper"),Re,Q),Ge=E()("".concat(b,"-group-wrapper"),F,N);return D.a.createElement("span",{className:Ge,style:L,hidden:fe},D.a.createElement("span",{className:Ve},M&&D.a.createElement("span",{className:nt},M),Object(w.cloneElement)(Pe,{style:null,hidden:null}),R&&D.a.createElement("span",{className:nt},R)))}return Pe},r=o,u=e("KQm4"),n=e("wx14"),l=e("ODXe"),a=e("Ff2n"),c=e("bT9E"),d=e("6cGi"),h=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","inputClassName"],y=Object(w.forwardRef)(function(g,x){var m=g.autoComplete,b=g.onChange,S=g.onFocus,P=g.onBlur,M=g.onPressEnter,R=g.onKeyDown,F=g.prefixCls,L=F===void 0?"rc-input":F,U=g.disabled,N=g.htmlSize,Q=g.className,z=g.maxLength,_=g.suffix,J=g.showCount,Y=g.type,k=Y===void 0?"text":Y,W=g.inputClassName,ie=Object(a.a)(g,h),fe=Object(d.a)(g.defaultValue,{value:g.value}),Ce=Object(l.a)(fe,2),ge=Ce[0],de=Ce[1],Pe=Object(w.useState)(!1),_e=Object(l.a)(Pe,2),Ne=_e[0],He=_e[1],ue=Object(w.useRef)(null),Re=function(St){ue.current&&i(ue.current,St)};Object(w.useImperativeHandle)(x,function(){return{focus:Re,blur:function(){var St;(St=ue.current)===null||St===void 0||St.blur()},setSelectionRange:function(St,$e,lt){var Ut;(Ut=ue.current)===null||Ut===void 0||Ut.setSelectionRange(St,$e,lt)},select:function(){var St;(St=ue.current)===null||St===void 0||St.select()},input:ue.current}}),Object(w.useEffect)(function(){He(function(Ft){return Ft&&U?!1:Ft})},[U]);var nt=function(St){g.value===void 0&&de(St.target.value),ue.current&&t(ue.current,St,b)},Ve=function(St){M&&St.key==="Enter"&&M(St),R==null||R(St)},Ge=function(St){He(!0),S==null||S(St)},dt=function(St){He(!1),P==null||P(St)},et=function(St){de(""),Re(),ue.current&&t(ue.current,St,b)},At=function(){var St=Object(c.a)(g,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName","htmlSize"]);return D.a.createElement("input",Object(n.a)({autoComplete:m},St,{onChange:nt,onFocus:Ge,onBlur:dt,onKeyDown:Ve,className:E()(L,Object(B.a)({},"".concat(L,"-disabled"),U),W,!C(g)&&!f(g)&&Q),ref:ue,size:N,type:k}))},Dt=function(){var St=Number(z)>0;if(_||J){var $e=s(ge),lt=Object(u.a)($e).length,Ut=Object(T.a)(J)==="object"?J.formatter({value:$e,count:lt,maxLength:z}):"".concat(lt).concat(St?" / ".concat(z):"");return D.a.createElement(D.a.Fragment,null,!!J&&D.a.createElement("span",{className:E()("".concat(L,"-show-count-suffix"),Object(B.a)({},"".concat(L,"-show-count-has-suffix"),!!_))},Ut),_)}return null};return D.a.createElement(r,Object(n.a)({},ie,{prefixCls:L,className:Q,inputElement:At(),handleReset:et,value:s(ge),focused:Ne,triggerFocus:Re,suffix:Dt(),disabled:U}))}),A=y,v=V.default=A},TWL2:function(oe,V,e){var B=e("IwbS"),T=e("bYtY"),w=e("6Ic6");function D(t,i){B.Group.call(this);var s=new B.Polygon,o=new B.Polyline,r=new B.Text;this.add(s),this.add(o),this.add(r),this.highDownOnUpdate=function(u,n){n==="emphasis"?(o.ignore=o.hoverIgnore,r.ignore=r.hoverIgnore):(o.ignore=o.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(t,i,!0)}var I=D.prototype,E=["itemStyle","opacity"];I.updateData=function(t,i,s){var o=this.childAt(0),r=t.hostModel,u=t.getItemModel(i),n=t.getItemLayout(i),l=t.getItemModel(i).get(E);l=l==null?1:l,o.useStyle({}),s?(o.setShape({points:n.points}),o.setStyle({opacity:0}),B.initProps(o,{style:{opacity:l}},r,i)):B.updateProps(o,{style:{opacity:l},shape:{points:n.points}},r,i);var a=u.getModel("itemStyle"),c=t.getItemVisual(i,"color");o.setStyle(T.defaults({lineJoin:"round",fill:c},a.getItemStyle(["opacity"]))),o.hoverStyle=a.getModel("emphasis").getItemStyle(),this._updateLabel(t,i),B.setHoverStyle(this)},I._updateLabel=function(t,i){var s=this.childAt(1),o=this.childAt(2),r=t.hostModel,u=t.getItemModel(i),n=t.getItemLayout(i),l=n.label,a=t.getItemVisual(i,"color");B.updateProps(s,{shape:{points:l.linePoints||l.linePoints}},r,i),B.updateProps(o,{style:{x:l.x,y:l.y}},r,i),o.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=u.getModel("label"),d=u.getModel("emphasis.label"),h=u.getModel("labelLine"),y=u.getModel("emphasis.labelLine"),a=t.getItemVisual(i,"color");B.setLabelStyle(o.style,o.hoverStyle={},c,d,{labelFetcher:t.hostModel,labelDataIndex:i,defaultText:t.getName(i),autoColor:a,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),o.ignore=o.normalIgnore=!c.get("show"),o.hoverIgnore=!d.get("show"),s.ignore=s.normalIgnore=!h.get("show"),s.hoverIgnore=!y.get("show"),s.setStyle({stroke:a}),s.setStyle(h.getModel("lineStyle").getLineStyle()),s.hoverStyle=y.getModel("lineStyle").getLineStyle()},T.inherits(D,B.Group);var C=w.extend({type:"funnel",render:function(t,i,s){var o=t.getData(),r=this._data,u=this.group;o.diff(r).add(function(n){var l=new D(o,n);o.setItemGraphicEl(n,l),u.add(l)}).update(function(n,l){var a=r.getItemGraphicEl(l);a.updateData(o,n),u.add(a),o.setItemGraphicEl(n,a)}).remove(function(n){var l=r.getItemGraphicEl(n);u.remove(l)}).execute(),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),f=C;oe.exports=f},TYVI:function(oe,V,e){var B=e("5GtS"),T=e("T4UG"),w=T.extend({type:"series.gauge",getInitialData:function(I,E){return B(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}}}),D=w;oe.exports=D},Tghj:function(oe,V,e){(function(B){var T;typeof window!="undefined"?T=window.__DEV__:typeof B!="undefined"&&(T=B.__DEV__),typeof T=="undefined"&&(T=!0);var w=T;V.__DEV__=w}).call(this,e("IyRk"))},ThAp:function(oe,V,e){var B=e("bYtY"),T=e("5GtS"),w=e("T4UG"),D=e("7aKB"),I=D.encodeHTML,E=D.addCommas,C=e("cCMj"),f=e("KxfA"),t=f.retrieveRawAttr,i=e("W4dC"),s=e("D5nY"),o=s.makeSeriesEncodeForNameBased,r=w.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(n){for(var l=T(this,{coordDimensions:["value"],encodeDefaulter:B.curry(o,this)}),a=l.mapDimension("value"),c=B.createHashMap(),d=[],h=[],y=0,A=l.count();y<A;y++){var v=l.getName(y);c.set(v,!0),d.push({name:v,value:l.get(a,y),selected:t(l,y,"selected")})}var g=i.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return B.each(g.regions,function(x){var m=x.name;c.get(m)||(d.push({name:m}),h.push(m))}),this.updateSelectedMap(d),l.appendValues([],h),l},getHostGeoModel:function(){var n=this.option.geoIndex;return n!=null?this.dependentModels.geo[n]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(n){var l=this.getData();return l.get(l.mapDimension("value"),n)},getRegionModel:function(n){var l=this.getData();return l.getItemModel(l.indexOfName(n))},formatTooltip:function(n,l,a,c){for(var d=this.getData(),h=E(this.getRawValue(n)),y=d.getName(n),A=this.seriesGroup,v=[],g=0;g<A.length;g++){var x=A[g].originalData.indexOfName(y),m=d.mapDimension("value");isNaN(A[g].originalData.get(m,x))||v.push(I(A[g].name))}var b=c==="html"?"<br/>":`
|
|
|
`;return v.join(", ")+b+I(y+" : "+h)},getTooltipPosition:function(n){if(n!=null){var l=this.getData().getName(n),a=this.coordinateSystem,c=a.getRegion(l);return c&&a.dataToPoint(c.center)}},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},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"}});B.mixin(r,C);var u=r;oe.exports=u},TkdX:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},D=2,I=4;function E(r,u,n){T.Group.call(this);var l=new T.Sector({z2:D});l.seriesIndex=u.seriesIndex;var a=new T.Text({z2:I,silent:r.getModel("label").get("silent")});this.add(l),this.add(a),this.updateData(!0,r,"normal",u,n);function c(){a.ignore=a.hoverIgnore}function d(){a.ignore=a.normalIgnore}this.on("emphasis",c).on("normal",d).on("mouseover",c).on("mouseout",d)}var C=E.prototype;C.updateData=function(r,u,n,l,a){this.node=u,u.piece=this,l=l||this._seriesModel,a=a||this._ecModel;var c=this.childAt(0);c.dataIndex=u.dataIndex;var d=u.getModel(),h=u.getLayout(),y=B.extend({},h);y.label=null;var A=t(u,l,a);o(u,l,A);var v=d.getModel("itemStyle").getItemStyle(),g;if(n==="normal")g=v;else{var x=d.getModel(n+".itemStyle").getItemStyle();g=B.merge(x,v)}g=B.defaults({lineJoin:"bevel",fill:g.fill||A},g),r?(c.setShape(y),c.shape.r=h.r0,T.updateProps(c,{shape:{r:h.r}},l,u.dataIndex),c.useStyle(g)):typeof g.fill=="object"&&g.fill.type||typeof c.style.fill=="object"&&c.style.fill.type?(T.updateProps(c,{shape:y},l),c.useStyle(g)):T.updateProps(c,{shape:y,style:g},l),this._updateLabel(l,A,n);var m=d.getShallow("cursor");if(m&&c.attr("cursor",m),r){var b=l.getShallow("highlightPolicy");this._initEvents(c,u,l,b)}this._seriesModel=l||this._seriesModel,this._ecModel=a||this._ecModel,T.setHoverStyle(this)},C.onEmphasis=function(r){var u=this;this.node.hostTree.root.eachNode(function(n){n.piece&&(u.node===n?n.piece.updateData(!1,n,"emphasis"):s(n,u.node,r)?n.piece.childAt(0).trigger("highlight"):r!==w.NONE&&n.piece.childAt(0).trigger("downplay"))})},C.onNormal=function(){this.node.hostTree.root.eachNode(function(r){r.piece&&r.piece.updateData(!1,r,"normal")})},C.onHighlight=function(){this.updateData(!1,this.node,"highlight")},C.onDownplay=function(){this.updateData(!1,this.node,"downplay")},C._updateLabel=function(r,u,n){var l=this.node.getModel(),a=l.getModel("label"),c=n==="normal"||n==="emphasis"?a:l.getModel(n+".label"),d=l.getModel("emphasis.label"),h=c.get("formatter"),y=h?n:"normal",A=B.retrieve(r.getFormattedLabel(this.node.dataIndex,y,null,null,"label"),this.node.name);_("show")===!1&&(A="");var v=this.node.getLayout(),g=c.get("minAngle");g==null&&(g=a.get("minAngle")),g=g/180*Math.PI;var x=v.endAngle-v.startAngle;g!=null&&Math.abs(x)<g&&(A="");var m=this.childAt(1);T.setLabelStyle(m.style,m.hoverStyle||{},a,d,{defaultText:c.getShallow("show")?A:null,autoColor:u,useInsideStyle:!0});var b=(v.startAngle+v.endAngle)/2,S=Math.cos(b),P=Math.sin(b),M,R=_("position"),F=_("distance")||0,L=_("align");R==="outside"?(M=v.r+F,L=b>Math.PI/2?"right":"left"):!L||L==="center"?(M=(v.r+v.r0)/2,L="center"):L==="left"?(M=v.r0+F,b>Math.PI/2&&(L="right")):L==="right"&&(M=v.r-F,b>Math.PI/2&&(L="left")),m.attr("style",{text:A,textAlign:L,textVerticalAlign:_("verticalAlign")||"middle",opacity:_("opacity")});var U=M*S+v.cx,N=M*P+v.cy;m.attr("position",[U,N]);var Q=_("rotate"),z=0;Q==="radial"?(z=-b,z<-Math.PI/2&&(z+=Math.PI)):Q==="tangential"?(z=Math.PI/2-b,z>Math.PI/2?z-=Math.PI:z<-Math.PI/2&&(z+=Math.PI)):typeof Q=="number"&&(z=Q*Math.PI/180),m.attr("rotation",z);function _(J){var Y=c.get(J);return Y==null?a.get(J):Y}},C._initEvents=function(r,u,n,l){r.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,c=function(){a.onEmphasis(l)},d=function(){a.onNormal()},h=function(){a.onDownplay()},y=function(){a.onHighlight()};n.isAnimationEnabled()&&r.on("mouseover",c).on("mouseout",d).on("emphasis",c).on("normal",d).on("downplay",h).on("highlight",y)},B.inherits(E,T.Group);var f=E;function t(r,u,n){var l=r.getVisual("color"),a=r.getVisual("visualMeta");(!a||a.length===0)&&(l=null);var c=r.getModel("itemStyle").get("color");if(c)return c;if(l)return l;if(r.depth===0)return n.option.color[0];var d=n.option.color.length;return c=n.option.color[i(r)%d],c}function i(r){for(var u=r;u.depth>1;)u=u.parentNode;var n=r.getAncestors()[0];return B.indexOf(n.children,u)}function s(r,u,n){return n===w.NONE?!1:n===w.SELF?r===u:n===w.ANCESTOR?r===u||r.isAncestorOf(u):r===u||r.isDescendantOf(u)}function o(r,u,n){var l=u.getData();l.setItemVisual(r.dataIndex,"color",n)}oe.exports=f},Tp9H:function(oe,V,e){var B=e("ItGF"),T=e("Kagy"),w=e("IUWy"),D=T.toolbox.saveAsImage;function I(f){this.model=f}I.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:D.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:D.lang.slice()},I.prototype.unusable=!B.canvasSupported;var E=I.prototype;E.onclick=function(f,t){var i=this.model,s=i.get("name")||f.get("title.0.text")||"echarts",o=t.getZr().painter.getType()==="svg",r=o?"svg":i.get("type",!0)||"png",u=t.getConnectedDataURL({type:r,backgroundColor:i.get("backgroundColor",!0)||f.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(typeof MouseEvent=="function"&&!B.browser.ie&&!B.browser.edge){var n=document.createElement("a");n.download=s+"."+r,n.target="_blank",n.href=u;var l=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});n.dispatchEvent(l)}else if(window.navigator.msSaveOrOpenBlob){for(var a=atob(u.split(",")[1]),c=a.length,d=new Uint8Array(c);c--;)d[c]=a.charCodeAt(c);var h=new Blob([d]);window.navigator.msSaveOrOpenBlob(h,s+"."+r)}else{var y=i.get("lang"),A='<body style="margin:0;"><img src="'+u+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',v=window.open();v.document.write(A)}},w.register("saveAsImage",I);var C=I;oe.exports=C},TqRt:function(oe,V){function e(B){return B&&B.__esModule?B:{default:B}}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},"U/Mo":function(oe,V){function e(T){var w=T.coordinateSystem;if(w.type!=="view")return 1;var D=T.option.nodeScaleRatio,I=w.scale,E=I&&I[0]||1,C=w.getZoom(),f=(C-1)*D+1;return f/E}function B(T){var w=T.getVisual("symbolSize");return w instanceof Array&&(w=(w[0]+w[1])/2),+w}V.getNodeGlobalScale=e,V.getSymbolSize=B},UADf:function(oe,V,e){},UOVi:function(oe,V,e){var B=e("bYtY"),T=e("7aKB"),w=["x","y","z","radius","angle","single"],D=["cartesian2d","polar","singleAxis"];function I(t){return B.indexOf(D,t)>=0}function E(t,i){t=t.slice();var s=B.map(t,T.capitalFirst);i=(i||[]).slice();var o=B.map(i,T.capitalFirst);return function(r,u){B.each(t,function(n,l){for(var a={name:n,capital:s[l]},c=0;c<i.length;c++)a[i[c]]=n+o[c];r.call(u,a)})}}var C=E(w,["axisIndex","axis","index","id"]);function f(t,i,s){return function(n){var l={nodes:[],records:{}};if(i(function(d){l.records[d.name]={}}),!n)return l;u(n,l);var a;do a=!1,t(c);while(a);function c(d){!o(d,l)&&r(d,l)&&(u(d,l),a=!0)}return l};function o(n,l){return B.indexOf(l.nodes,n)>=0}function r(n,l){var a=!1;return i(function(c){B.each(s(n,c)||[],function(d){l.records[c.name][d]&&(a=!0)})}),a}function u(n,l){l.nodes.push(n),i(function(a){B.each(s(n,a)||[],function(c){l.records[a.name][c]=!0})})}}V.isCoordSupported=I,V.createNameEach=E,V.eachAxisDim=C,V.createLinkedNodesFinder=f},UnoB:function(oe,V,e){var B=e("bYtY"),T=e("OELB");function w(E,C){E.eachSeriesByType("themeRiver",function(f){var t=f.getData(),i=f.coordinateSystem,s={},o=i.getRect();s.rect=o;var r=f.get("boundaryGap"),u=i.getAxis();if(s.boundaryGap=r,u.orient==="horizontal"){r[0]=T.parsePercent(r[0],o.height),r[1]=T.parsePercent(r[1],o.height);var n=o.height-r[0]-r[1];D(t,f,n)}else{r[0]=T.parsePercent(r[0],o.width),r[1]=T.parsePercent(r[1],o.width);var l=o.width-r[0]-r[1];D(t,f,l)}t.setLayout("layoutInfo",s)})}function D(E,C,f){if(!!E.count())for(var t=C.coordinateSystem,i=C.getLayerSeries(),s=E.mapDimension("single"),o=E.mapDimension("value"),r=B.map(i,function(A){return B.map(A.indices,function(v){var g=t.dataToPoint(E.get(s,v));return g[1]=E.get(o,v),g})}),u=I(r),n=u.y0,l=f/u.max,a=i.length,c=i[0].indices.length,d,h=0;h<c;++h){d=n[h]*l,E.setItemLayout(i[0].indices[h],{layerIndex:0,x:r[0][h][0],y0:d,y:r[0][h][1]*l});for(var y=1;y<a;++y)d+=r[y-1][h][1]*l,E.setItemLayout(i[y].indices[h],{layerIndex:y,x:r[y][h][0],y0:d,y:r[y][h][1]*l})}}function I(E){for(var C=E.length,f=E[0].length,t=[],i=[],s=0,o,r={},u=0;u<f;++u){for(var n=0,o=0;n<C;++n)o+=E[n][u][1];o>s&&(s=o),t.push(o)}for(var l=0;l<f;++l)i[l]=(s-t[l])/2;s=0;for(var a=0;a<f;++a){var c=t[a]+i[a];c>s&&(s=c)}return r.y0=i,r.max=s,r}oe.exports=w},Urep:function(oe,V,e){},VFCP:function(oe,V,e){e("dBmv"),e("KamJ")},VPsl:function(oe,V){function e(B){B.eachSeriesByType("map",function(T){var w=T.get("color"),D=T.getModel("itemStyle"),I=D.get("areaColor"),E=D.get("color")||w[T.seriesIndex%w.length];T.getData().setVisual({areaColor:I,color:E})})}oe.exports=e},VR9l:function(oe,V,e){var B=e("KCsZ"),T=B([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),w={getItemStyle:function(D,I){var E=T(this,D,I),C=this.getBorderLineDash();return C&&(E.lineDash=C),E},getBorderLineDash:function(){var D=this.get("borderType");return D==="solid"||D==null?null:D==="dashed"?[5,5]:[1,1]}};oe.exports=w},VSLf:function(oe,V,e){e("I+Bx"),e("F0hE"),e("bBKM")},VXYp:function(oe,V,e){var B=e("bYtY"),T=e("SgGq"),w=e("iLNv"),D="\0_ec_dataZoom_roams";function I(r,u){var n=f(r),l=u.dataZoomId,a=u.coordId;B.each(n,function(h,y){var A=h.dataZoomInfos;A[l]&&B.indexOf(u.allCoordIds,a)<0&&(delete A[l],h.count--)}),i(n);var c=n[a];c||(c=n[a]={coordId:a,dataZoomInfos:{},count:0},c.controller=t(r,c),c.dispatchAction=B.curry(s,r)),!c.dataZoomInfos[l]&&c.count++,c.dataZoomInfos[l]=u;var d=o(c.dataZoomInfos);c.controller.enable(d.controlType,d.opt),c.controller.setPointerChecker(u.containsPoint),w.createOrUpdate(c,"dispatchAction",u.dataZoomModel.get("throttle",!0),"fixRate")}function E(r,u){var n=f(r);B.each(n,function(l){l.controller.dispose();var a=l.dataZoomInfos;a[u]&&(delete a[u],l.count--)}),i(n)}function C(r){return r.type+"\0_"+r.id}function f(r){var u=r.getZr();return u[D]||(u[D]={})}function t(r,u){var n=new T(r.getZr());return B.each(["pan","zoom","scrollMove"],function(l){n.on(l,function(a){var c=[];B.each(u.dataZoomInfos,function(d){if(!!a.isAvailableBehavior(d.dataZoomModel.option)){var h=(d.getRange||{})[l],y=h&&h(u.controller,a);!d.dataZoomModel.get("disabled",!0)&&y&&c.push({dataZoomId:d.dataZoomId,start:y[0],end:y[1]})}}),c.length&&u.dispatchAction(c)})}),n}function i(r){B.each(r,function(u,n){u.count||(u.controller.dispose(),delete r[n])})}function s(r,u){r.dispatchAction({type:"dataZoom",batch:u})}function o(r){var u,n="type_",l={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return B.each(r,function(c){var d=c.dataZoomModel,h=d.get("disabled",!0)?!1:d.get("zoomLock",!0)?"move":!0;l[n+h]>l[n+u]&&(u=h),a&=d.get("preventDefaultMouseMove",!0)}),{controlType:u,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}V.register=I,V.unregister=E,V.generateCoordId=C},VaxA:function(oe,V,e){var B=e("bYtY");function T(E,C,f){if(E&&B.indexOf(C,E.type)>=0){var t=f.getData().tree.root,i=E.targetNode;if(typeof i=="string"&&(i=t.getNodeById(i)),i&&t.contains(i))return{node:i};var s=E.targetNodeId;if(s!=null&&(i=t.getNodeById(s)))return{node:i}}}function w(E){for(var C=[];E;)E=E.parentNode,E&&C.push(E);return C.reverse()}function D(E,C){var f=w(E);return B.indexOf(f,C)>=0}function I(E,C){for(var f=[];E;){var t=E.dataIndex;f.push({name:E.name,dataIndex:t,value:C.getRawValue(t)}),E=E.parentNode}return f.reverse(),f}V.retrieveTargetInfo=T,V.getPathToRoot=w,V.aboveViewRoot=D,V.wrapTreePathInfo=I},Vi4m:function(oe,V,e){var B=e("bYtY");function T(D){D!=null&&B.extend(this,D),this.otherDims={}}var w=T;oe.exports=w},Vl3Y:function(oe,V,e){"use strict";var B=e("ihLV"),T=e("rePB"),w=e("wx14"),D=e("KQm4"),I=e("TSYQ"),E=e.n(I),C=e("8XRh"),f=e("q1tI"),t=e("H84U"),i=e("EXcs"),s=e("ODXe");function o(te){var be=f.useState(te),xe=Object(s.a)(be,2),Z=xe[0],se=xe[1];return f.useEffect(function(){var he=setTimeout(function(){se(te)},te.length?0:10);return function(){clearTimeout(he)}},[te]),Z}var r=[];function u(te,be,xe){var Z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof te=="string"?te:"".concat(xe,"-").concat(Z),error:te,errorStatus:be}}function n(te){var be=te.help,xe=te.helpStatus,Z=te.errors,se=Z===void 0?r:Z,he=te.warnings,Oe=he===void 0?r:he,ne=te.className,ce=te.fieldId,ae=te.onVisibleChanged,Ee=f.useContext(B.c),ye=Ee.prefixCls,Te=f.useContext(t.b),je=Te.getPrefixCls,qe="".concat(ye,"-item-explain"),Le=je(),ke=o(se),tt=o(Oe),st=f.useMemo(function(){return be!=null?[u(be,xe,"help")]:[].concat(Object(D.a)(ke.map(function(Ct,Rt){return u(Ct,"error","error",Rt)})),Object(D.a)(tt.map(function(Ct,Rt){return u(Ct,"warning","warning",Rt)})))},[be,xe,ke,tt]),_t={};return ce&&(_t.id="".concat(ce,"_help")),f.createElement(C.default,{motionDeadline:i.a.motionDeadline,motionName:"".concat(Le,"-show-help"),visible:!!st.length,onVisibleChanged:ae},function(Ct){var Rt=Ct.className,Wt=Ct.style;return f.createElement("div",Object(w.a)({},_t,{className:E()(qe,Rt,ne),style:Wt,role:"alert"}),f.createElement(C.CSSMotionList,Object(w.a)({keys:st},i.a,{motionName:"".concat(Le,"-show-help-item"),component:!1}),function(vt){var Je=vt.key,Yt=vt.error,Ht=vt.errorStatus,nr=vt.className,ir=vt.style;return f.createElement("div",{key:Je,className:E()(nr,Object(T.a)({},"".concat(qe,"-").concat(Ht),Ht)),style:ir},Yt)}))})}var l=e("U8pU"),a=e("85Yc"),c=e("caoh"),d=e("3Nzz");function h(te){return typeof te=="object"&&te!=null&&te.nodeType===1}function y(te,be){return(!be||te!=="hidden")&&te!=="visible"&&te!=="clip"}function A(te,be){if(te.clientHeight<te.scrollHeight||te.clientWidth<te.scrollWidth){var xe=getComputedStyle(te,null);return y(xe.overflowY,be)||y(xe.overflowX,be)||function(Z){var se=function(he){if(!he.ownerDocument||!he.ownerDocument.defaultView)return null;try{return he.ownerDocument.defaultView.frameElement}catch(Oe){return null}}(Z);return!!se&&(se.clientHeight<Z.scrollHeight||se.clientWidth<Z.scrollWidth)}(te)}return!1}function v(te,be,xe,Z,se,he,Oe,ne){return he<te&&Oe>be||he>te&&Oe<be?0:he<=te&&ne<=xe||Oe>=be&&ne>=xe?he-te-Z:Oe>be&&ne<xe||he<te&&ne>xe?Oe-be+se:0}var g=function(te,be){var xe=window,Z=be.scrollMode,se=be.block,he=be.inline,Oe=be.boundary,ne=be.skipOverflowHiddenElements,ce=typeof Oe=="function"?Oe:function(ar){return ar!==Oe};if(!h(te))throw new TypeError("Invalid target");for(var ae=document.scrollingElement||document.documentElement,Ee=[],ye=te;h(ye)&&ce(ye);){if((ye=ye.parentElement)===ae){Ee.push(ye);break}ye!=null&&ye===document.body&&A(ye)&&!A(document.documentElement)||ye!=null&&A(ye,ne)&&Ee.push(ye)}for(var Te=xe.visualViewport?xe.visualViewport.width:innerWidth,je=xe.visualViewport?xe.visualViewport.height:innerHeight,qe=window.scrollX||pageXOffset,Le=window.scrollY||pageYOffset,ke=te.getBoundingClientRect(),tt=ke.height,st=ke.width,_t=ke.top,Ct=ke.right,Rt=ke.bottom,Wt=ke.left,vt=se==="start"||se==="nearest"?_t:se==="end"?Rt:_t+tt/2,Je=he==="center"?Wt+st/2:he==="end"?Ct:Wt,Yt=[],Ht=0;Ht<Ee.length;Ht++){var nr=Ee[Ht],ir=nr.getBoundingClientRect(),Zt=ir.height,Mt=ir.width,pt=ir.top,Tt=ir.right,mt=ir.bottom,Jt=ir.left;if(Z==="if-needed"&&_t>=0&&Wt>=0&&Rt<=je&&Ct<=Te&&_t>=pt&&Rt<=mt&&Wt>=Jt&&Ct<=Tt)return Yt;var or=getComputedStyle(nr),ut=parseInt(or.borderLeftWidth,10),ht=parseInt(or.borderTopWidth,10),qt=parseInt(or.borderRightWidth,10),Nt=parseInt(or.borderBottomWidth,10),Qt=0,at=0,Ue="offsetWidth"in nr?nr.offsetWidth-nr.clientWidth-ut-qt:0,ot="offsetHeight"in nr?nr.offsetHeight-nr.clientHeight-ht-Nt:0;if(ae===nr)Qt=se==="start"?vt:se==="end"?vt-je:se==="nearest"?v(Le,Le+je,je,ht,Nt,Le+vt,Le+vt+tt,tt):vt-je/2,at=he==="start"?Je:he==="center"?Je-Te/2:he==="end"?Je-Te:v(qe,qe+Te,Te,ut,qt,qe+Je,qe+Je+st,st),Qt=Math.max(0,Qt+Le),at=Math.max(0,at+qe);else{Qt=se==="start"?vt-pt-ht:se==="end"?vt-mt+Nt+ot:se==="nearest"?v(pt,mt,Zt,ht,Nt+ot,vt,vt+tt,tt):vt-(pt+Zt/2)+ot/2,at=he==="start"?Je-Jt-ut:he==="center"?Je-(Jt+Mt/2)+Ue/2:he==="end"?Je-Tt+qt+Ue:v(Jt,Tt,Mt,ut,qt+Ue,Je,Je+st,st);var it=nr.scrollLeft,zt=nr.scrollTop;vt+=zt-(Qt=Math.max(0,Math.min(zt+Qt,nr.scrollHeight-Zt+ot))),Je+=it-(at=Math.max(0,Math.min(it+at,nr.scrollWidth-Mt+Ue)))}Yt.push({el:nr,top:Qt,left:at})}return Yt};function x(te){return te===Object(te)&&Object.keys(te).length!==0}function m(te,be){be===void 0&&(be="auto");var xe="scrollBehavior"in document.body.style;te.forEach(function(Z){var se=Z.el,he=Z.top,Oe=Z.left;se.scroll&&xe?se.scroll({top:he,left:Oe,behavior:be}):(se.scrollTop=he,se.scrollLeft=Oe)})}function b(te){return te===!1?{block:"end",inline:"nearest"}:x(te)?te:{block:"start",inline:"nearest"}}function S(te,be){var xe=te.isConnected||te.ownerDocument.documentElement.contains(te);if(x(be)&&typeof be.behavior=="function")return be.behavior(xe?g(te,be):[]);if(!!xe){var Z=b(be);return m(g(te,Z),Z.behavior)}}var P=S,M=["parentNode"],R="form_item";function F(te){return te===void 0||te===!1?[]:Array.isArray(te)?te:[te]}function L(te,be){if(!!te.length){var xe=te.join("_");if(be)return"".concat(be,"_").concat(xe);var Z=M.includes(xe);return Z?"".concat(R,"_").concat(xe):xe}}function U(te){var be=F(te);return be.join("_")}function N(te){var be=Object(a.useForm)(),xe=Object(s.a)(be,1),Z=xe[0],se=f.useRef({}),he=f.useMemo(function(){return te!=null?te:Object(w.a)(Object(w.a)({},Z),{__INTERNAL__:{itemRef:function(ne){return function(ce){var ae=U(ne);ce?se.current[ae]=ce:delete se.current[ae]}}},scrollToField:function(ne){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=F(ne),Ee=L(ae,he.__INTERNAL__.name),ye=Ee?document.getElementById(Ee):null;ye&&P(ye,Object(w.a)({scrollMode:"if-needed",block:"nearest"},ce))},getFieldInstance:function(ne){var ce=U(ne);return se.current[ce]}})},[te,Z]);return[he]}var Q=function(te,be){var xe={};for(var Z in te)Object.prototype.hasOwnProperty.call(te,Z)&&be.indexOf(Z)<0&&(xe[Z]=te[Z]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,Z=Object.getOwnPropertySymbols(te);se<Z.length;se++)be.indexOf(Z[se])<0&&Object.prototype.propertyIsEnumerable.call(te,Z[se])&&(xe[Z[se]]=te[Z[se]]);return xe},z=function(be,xe){var Z,se=f.useContext(d.b),he=f.useContext(c.b),Oe=f.useContext(t.b),ne=Oe.getPrefixCls,ce=Oe.direction,ae=Oe.form,Ee=be.prefixCls,ye=be.className,Te=ye===void 0?"":ye,je=be.size,qe=je===void 0?se:je,Le=be.disabled,ke=Le===void 0?he:Le,tt=be.form,st=be.colon,_t=be.labelAlign,Ct=be.labelWrap,Rt=be.labelCol,Wt=be.wrapperCol,vt=be.hideRequiredMark,Je=be.layout,Yt=Je===void 0?"horizontal":Je,Ht=be.scrollToFirstError,nr=be.requiredMark,ir=be.onFinishFailed,Zt=be.name,Mt=Q(be,["prefixCls","className","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),pt=Object(f.useMemo)(function(){return nr!==void 0?nr:ae&&ae.requiredMark!==void 0?ae.requiredMark:!vt},[vt,nr,ae]),Tt=st!=null?st:ae==null?void 0:ae.colon,mt=ne("form",Ee),Jt=E()(mt,(Z={},Object(T.a)(Z,"".concat(mt,"-").concat(Yt),!0),Object(T.a)(Z,"".concat(mt,"-hide-required-mark"),pt===!1),Object(T.a)(Z,"".concat(mt,"-rtl"),ce==="rtl"),Object(T.a)(Z,"".concat(mt,"-").concat(qe),qe),Z),Te),or=N(tt),ut=Object(s.a)(or,1),ht=ut[0],qt=ht.__INTERNAL__;qt.name=Zt;var Nt=Object(f.useMemo)(function(){return{name:Zt,labelAlign:_t,labelCol:Rt,labelWrap:Ct,wrapperCol:Wt,vertical:Yt==="vertical",colon:Tt,requiredMark:pt,itemRef:qt.itemRef,form:ht}},[Zt,_t,Rt,Wt,Yt,Tt,pt,ht]);f.useImperativeHandle(xe,function(){return ht});var Qt=function(Ue){ir==null||ir(Ue);var ot={block:"nearest"};Ht&&Ue.errorFields.length&&(Object(l.a)(Ht)==="object"&&(ot=Ht),ht.scrollToField(Ue.errorFields[0].name,ot))};return f.createElement(c.a,{disabled:ke},f.createElement(d.a,{size:qe},f.createElement(B.a.Provider,{value:Nt},f.createElement(a.default,Object(w.a)({id:Zt},Mt,{name:Zt,onFinishFailed:Qt,form:ht,className:Jt})))))},_=f.forwardRef(z),J=_,Y=e("dm2S"),k=e("c+Xe"),W=function(){var be=Object(f.useContext)(B.b),xe=be.status;return{status:xe}},ie=W,fe=e("0n0R"),Ce=e("CWQg"),ge=e("wgJM");function de(te){var be=f.useState(te),xe=Object(s.a)(be,2),Z=xe[0],se=xe[1],he=Object(f.useRef)(null),Oe=Object(f.useRef)([]),ne=Object(f.useRef)(!1);f.useEffect(function(){return ne.current=!1,function(){ne.current=!0,ge.a.cancel(he.current),he.current=null}},[]);function ce(ae){ne.current||(he.current===null&&(Oe.current=[],he.current=Object(ge.a)(function(){he.current=null,se(function(Ee){var ye=Ee;return Oe.current.forEach(function(Te){ye=Te(ye)}),ye})})),Oe.current.push(ae))}return[Z,ce]}function Pe(){var te=f.useContext(B.a),be=te.itemRef,xe=f.useRef({});function Z(se,he){var Oe=he&&Object(l.a)(he)==="object"&&he.ref,ne=se.join("_");return(xe.current.name!==ne||xe.current.originRef!==Oe)&&(xe.current.name=ne,xe.current.originRef=Oe,xe.current.ref=Object(k.a)(be(se),Oe)),xe.current.ref}return Z}var _e=e("jO45"),Ne=e("jN4g"),He=e("IMoZ"),ue=e("ye1Q"),Re=e("TNol"),nt=e("bT9E"),Ve=e("qrJ5"),Ge=e("Lyp1"),dt=e("/kpp"),et=e("YMnH"),At=e("ZvpZ"),Dt=e("3S7+"),Ft=function(te,be){var xe={};for(var Z in te)Object.prototype.hasOwnProperty.call(te,Z)&&be.indexOf(Z)<0&&(xe[Z]=te[Z]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,Z=Object.getOwnPropertySymbols(te);se<Z.length;se++)be.indexOf(Z[se])<0&&Object.prototype.propertyIsEnumerable.call(te,Z[se])&&(xe[Z[se]]=te[Z[se]]);return xe};function St(te){return te?Object(l.a)(te)==="object"&&!f.isValidElement(te)?te:{title:te}:null}var $e=function(be){var xe=be.prefixCls,Z=be.label,se=be.htmlFor,he=be.labelCol,Oe=be.labelAlign,ne=be.colon,ce=be.required,ae=be.requiredMark,Ee=be.tooltip,ye=Object(et.b)("Form"),Te=Object(s.a)(ye,1),je=Te[0];return Z?f.createElement(B.a.Consumer,{key:"label"},function(qe){var Le,ke=qe.vertical,tt=qe.labelAlign,st=qe.labelCol,_t=qe.labelWrap,Ct=qe.colon,Rt,Wt=he||st||{},vt=Oe||tt,Je="".concat(xe,"-item-label"),Yt=E()(Je,vt==="left"&&"".concat(Je,"-left"),Wt.className,Object(T.a)({},"".concat(Je,"-wrap"),!!_t)),Ht=Z,nr=ne===!0||Ct!==!1&&ne!==!1,ir=nr&&!ke;ir&&typeof Z=="string"&&Z.trim()!==""&&(Ht=Z.replace(/[:|:]\s*$/,""));var Zt=St(Ee);if(Zt){var Mt=Zt.icon,pt=Mt===void 0?f.createElement(Ge.a,null):Mt,Tt=Ft(Zt,["icon"]),mt=f.createElement(Dt.a,Object(w.a)({},Tt),f.cloneElement(pt,{className:"".concat(xe,"-item-tooltip"),title:""}));Ht=f.createElement(f.Fragment,null,Ht,mt)}ae==="optional"&&!ce&&(Ht=f.createElement(f.Fragment,null,Ht,f.createElement("span",{className:"".concat(xe,"-item-optional"),title:""},(je==null?void 0:je.optional)||((Rt=At.a.Form)===null||Rt===void 0?void 0:Rt.optional))));var Jt=E()((Le={},Object(T.a)(Le,"".concat(xe,"-item-required"),ce),Object(T.a)(Le,"".concat(xe,"-item-required-mark-optional"),ae==="optional"),Object(T.a)(Le,"".concat(xe,"-item-no-colon"),!nr),Le));return f.createElement(dt.a,Object(w.a)({},Wt,{className:Yt}),f.createElement("label",{htmlFor:se,className:Jt,title:typeof Z=="string"?Z:""},Ht))}):null},lt=$e,Ut=function(be){var xe=be.prefixCls,Z=be.status,se=be.wrapperCol,he=be.children,Oe=be.errors,ne=be.warnings,ce=be._internalItemRender,ae=be.extra,Ee=be.help,ye=be.fieldId,Te=be.marginBottom,je=be.onErrorVisibleChanged,qe="".concat(xe,"-item"),Le=f.useContext(B.a),ke=se||Le.wrapperCol||{},tt=E()("".concat(qe,"-control"),ke.className),st=f.useMemo(function(){return Object(w.a)({},Le)},[Le]);delete st.labelCol,delete st.wrapperCol;var _t=f.createElement("div",{className:"".concat(qe,"-control-input")},f.createElement("div",{className:"".concat(qe,"-control-input-content")},he)),Ct=f.useMemo(function(){return{prefixCls:xe,status:Z}},[xe,Z]),Rt=Te!==null||Oe.length||ne.length?f.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},f.createElement(B.c.Provider,{value:Ct},f.createElement(n,{fieldId:ye,errors:Oe,warnings:ne,help:Ee,helpStatus:Z,className:"".concat(qe,"-explain-connected"),onVisibleChanged:je})),!!Te&&f.createElement("div",{style:{width:0,height:Te}})):null,Wt={};ye&&(Wt.id="".concat(ye,"_extra"));var vt=ae?f.createElement("div",Object(w.a)({},Wt,{className:"".concat(qe,"-extra")}),ae):null,Je=ce&&ce.mark==="pro_table_render"&&ce.render?ce.render(be,{input:_t,errorList:Rt,extra:vt}):f.createElement(f.Fragment,null,_t,Rt,vt);return f.createElement(B.a.Provider,{value:st},f.createElement(dt.a,Object(w.a)({},ke,{className:tt}),Je))},gt=Ut,ft=function(te,be){var xe={};for(var Z in te)Object.prototype.hasOwnProperty.call(te,Z)&&be.indexOf(Z)<0&&(xe[Z]=te[Z]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,Z=Object.getOwnPropertySymbols(te);se<Z.length;se++)be.indexOf(Z[se])<0&&Object.prototype.propertyIsEnumerable.call(te,Z[se])&&(xe[Z[se]]=te[Z[se]]);return xe},rt={success:_e.a,warning:He.a,error:Ne.a,validating:ue.a};function Ie(te){var be,xe=te.prefixCls,Z=te.className,se=te.style,he=te.help,Oe=te.errors,ne=te.warnings,ce=te.validateStatus,ae=te.meta,Ee=te.hasFeedback,ye=te.hidden,Te=te.children,je=te.fieldId,qe=te.isRequired,Le=te.onSubItemMetaChange,ke=ft(te,["prefixCls","className","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","isRequired","onSubItemMetaChange"]),tt="".concat(xe,"-item"),st=f.useContext(B.a),_t=st.requiredMark,Ct=f.useRef(null),Rt=o(Oe),Wt=o(ne),vt=he!=null,Je=!!(vt||Oe.length||ne.length),Yt=f.useState(null),Ht=Object(s.a)(Yt,2),nr=Ht[0],ir=Ht[1];Object(Re.a)(function(){if(Je&&Ct.current){var mt=getComputedStyle(Ct.current);ir(parseInt(mt.marginBottom,10))}},[Je]);var Zt=function(Jt){Jt||ir(null)},Mt="";ce!==void 0?Mt=ce:ae.validating?Mt="validating":Rt.length?Mt="error":Wt.length?Mt="warning":ae.touched&&(Mt="success");var pt=f.useMemo(function(){var mt;if(Ee){var Jt=Mt&&rt[Mt];mt=Jt?f.createElement("span",{className:E()("".concat(tt,"-feedback-icon"),"".concat(tt,"-feedback-icon-").concat(Mt))},f.createElement(Jt,null)):null}return{status:Mt,hasFeedback:Ee,feedbackIcon:mt,isFormItemInput:!0}},[Mt,Ee]),Tt=(be={},Object(T.a)(be,tt,!0),Object(T.a)(be,"".concat(tt,"-with-help"),vt||Rt.length||Wt.length),Object(T.a)(be,"".concat(Z),!!Z),Object(T.a)(be,"".concat(tt,"-has-feedback"),Mt&&Ee),Object(T.a)(be,"".concat(tt,"-has-success"),Mt==="success"),Object(T.a)(be,"".concat(tt,"-has-warning"),Mt==="warning"),Object(T.a)(be,"".concat(tt,"-has-error"),Mt==="error"),Object(T.a)(be,"".concat(tt,"-is-validating"),Mt==="validating"),Object(T.a)(be,"".concat(tt,"-hidden"),ye),be);return f.createElement("div",{className:E()(Tt),style:se,ref:Ct},f.createElement(Ve.a,Object(w.a)({className:"".concat(tt,"-row")},Object(nt.a)(ke,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","required","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),f.createElement(lt,Object(w.a)({htmlFor:je,required:qe,requiredMark:_t},te,{prefixCls:xe})),f.createElement(gt,Object(w.a)({},te,ae,{errors:Rt,warnings:Wt,prefixCls:xe,status:Mt,help:he,marginBottom:nr,onErrorVisibleChanged:Zt}),f.createElement(B.f.Provider,{value:Le},f.createElement(B.b.Provider,{value:pt},Te)))),!!nr&&f.createElement("div",{className:"".concat(tt,"-margin-offset"),style:{marginBottom:-nr}}))}var Ot="__SPLIT__",Xt=Object(Ce.a)("success","warning","error","validating",""),Vt=f.memo(function(te){var be=te.children;return be},function(te,be){return te.value===be.value&&te.update===be.update&&te.childProps.length===be.childProps.length&&te.childProps.every(function(xe,Z){return xe===be.childProps[Z]})});function bt(te){return te!=null}function It(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}}function Kt(te){var be=te.name,xe=te.noStyle,Z=te.dependencies,se=te.prefixCls,he=te.shouldUpdate,Oe=te.rules,ne=te.children,ce=te.required,ae=te.label,Ee=te.messageVariables,ye=te.trigger,Te=ye===void 0?"onChange":ye,je=te.validateTrigger,qe=te.hidden,Le=Object(f.useContext)(t.b),ke=Le.getPrefixCls,tt=Object(f.useContext)(B.a),st=tt.name,_t=typeof ne=="function",Ct=Object(f.useContext)(B.f),Rt=Object(f.useContext)(a.FieldContext),Wt=Rt.validateTrigger,vt=je!==void 0?je:Wt,Je=bt(be),Yt=ke("form",se),Ht=f.useContext(a.ListContext),nr=f.useRef(),ir=de({}),Zt=Object(s.a)(ir,2),Mt=Zt[0],pt=Zt[1],Tt=Object(Y.a)(function(){return It()}),mt=Object(s.a)(Tt,2),Jt=mt[0],or=mt[1],ut=function(ar){var dr=Ht==null?void 0:Ht.getKey(ar.name);if(or(ar.destroy?It():ar,!0),xe&&Ct){var pr=ar.name;if(ar.destroy)pr=nr.current||pr;else if(dr!==void 0){var Tr=Object(s.a)(dr,2),Lr=Tr[0],Yr=Tr[1];pr=[Lr].concat(Object(D.a)(Yr)),nr.current=pr}Ct(ar,pr)}},ht=function(ar,dr){pt(function(pr){var Tr=Object(w.a)({},pr),Lr=[].concat(Object(D.a)(ar.name.slice(0,-1)),Object(D.a)(dr)),Yr=Lr.join(Ot);return ar.destroy?delete Tr[Yr]:Tr[Yr]=ar,Tr})},qt=f.useMemo(function(){var zt=Object(D.a)(Jt.errors),ar=Object(D.a)(Jt.warnings);return Object.values(Mt).forEach(function(dr){zt.push.apply(zt,Object(D.a)(dr.errors||[])),ar.push.apply(ar,Object(D.a)(dr.warnings||[]))}),[zt,ar]},[Mt,Jt.errors,Jt.warnings]),Nt=Object(s.a)(qt,2),Qt=Nt[0],at=Nt[1],Ue=Pe();function ot(zt,ar,dr){return xe&&!qe?zt:f.createElement(Ie,Object(w.a)({key:"row"},te,{prefixCls:Yt,fieldId:ar,isRequired:dr,errors:Qt,warnings:at,meta:Jt,onSubItemMetaChange:ht}),zt)}if(!Je&&!_t&&!Z)return ot(ne);var it={};return typeof ae=="string"?it.label=ae:be&&(it.label=String(be)),Ee&&(it=Object(w.a)(Object(w.a)({},it),Ee)),f.createElement(a.Field,Object(w.a)({},te,{messageVariables:it,trigger:Te,validateTrigger:vt,onMetaChange:ut}),function(zt,ar,dr){var pr=F(be).length&&ar?ar.name:[],Tr=L(pr,st),Lr=ce!==void 0?ce:!!(Oe&&Oe.some(function(In){if(In&&Object(l.a)(In)==="object"&&In.required&&!In.warningOnly)return!0;if(typeof In=="function"){var Qn=In(dr);return Qn&&Qn.required&&!Qn.warningOnly}return!1})),Yr=Object(w.a)({},zt),Jr=null;if(Array.isArray(ne)&&Je)Jr=ne;else if(!(_t&&(!(he||Z)||Je))){if(!(Z&&!_t&&!Je))if(Object(fe.c)(ne)){var hn=Object(w.a)(Object(w.a)({},ne.props),Yr);if(hn.id||(hn.id=Tr),te.help||Qt.length>0||at.length>0||te.extra){var yr=[];(te.help||Qt.length>0)&&yr.push("".concat(Tr,"_help")),te.extra&&yr.push("".concat(Tr,"_extra")),hn["aria-describedby"]=yr.join(" ")}Qt.length>0&&(hn["aria-invalid"]="true"),Lr&&(hn["aria-required"]="true"),Object(k.c)(ne)&&(hn.ref=Ue(pr,ne));var zn=new Set([].concat(Object(D.a)(F(Te)),Object(D.a)(F(vt))));zn.forEach(function(In){hn[In]=function(){for(var Qn,Cn,bn,Wn,Vn,oa=arguments.length,kr=new Array(oa),kn=0;kn<oa;kn++)kr[kn]=arguments[kn];(bn=Yr[In])===null||bn===void 0||(Qn=bn).call.apply(Qn,[Yr].concat(kr)),(Vn=(Wn=ne.props)[In])===null||Vn===void 0||(Cn=Vn).call.apply(Cn,[Wn].concat(kr))}});var xn=[hn["aria-required"],hn["aria-invalid"],hn["aria-describedby"]];Jr=f.createElement(Vt,{value:Yr[te.valuePropName||"value"],update:ne,childProps:xn},Object(fe.a)(ne,hn))}else _t&&(he||Z)&&!Je?Jr=ne(dr):Jr=ne}return ot(Jr,Tr,Lr)})}var Se=Kt;Se.useStatus=ie;var Ye=Se,q=function(te,be){var xe={};for(var Z in te)Object.prototype.hasOwnProperty.call(te,Z)&&be.indexOf(Z)<0&&(xe[Z]=te[Z]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,Z=Object.getOwnPropertySymbols(te);se<Z.length;se++)be.indexOf(Z[se])<0&&Object.prototype.propertyIsEnumerable.call(te,Z[se])&&(xe[Z[se]]=te[Z[se]]);return xe},Ae=function(be){var xe=be.prefixCls,Z=be.children,se=q(be,["prefixCls","children"]),he=f.useContext(t.b),Oe=he.getPrefixCls,ne=Oe("form",xe),ce=f.useMemo(function(){return{prefixCls:ne,status:"error"}},[ne]);return f.createElement(a.List,Object(w.a)({},se),function(ae,Ee,ye){return f.createElement(B.c.Provider,{value:ce},Z(ae.map(function(Te){return Object(w.a)(Object(w.a)({},Te),{fieldKey:Te.key})}),Ee,{errors:ye.errors,warnings:ye.warnings}))})},Me=Ae;function De(){var te=Object(f.useContext)(B.a),be=te.form;return be}var ze=J;ze.Item=Ye,ze.List=Me,ze.ErrorList=n,ze.useForm=N,ze.useFormInstance=De,ze.useWatch=a.useWatch,ze.Provider=B.d,ze.create=function(){};var pe=V.a=ze},VpOo:function(oe,V){function e(B,T){var w=T.x,D=T.y,I=T.width,E=T.height,C=T.r,f,t,i,s;I<0&&(w=w+I,I=-I),E<0&&(D=D+E,E=-E),typeof C=="number"?f=t=i=s=C:C instanceof Array?C.length===1?f=t=i=s=C[0]:C.length===2?(f=i=C[0],t=s=C[1]):C.length===3?(f=C[0],t=s=C[1],i=C[2]):(f=C[0],t=C[1],i=C[2],s=C[3]):f=t=i=s=0;var o;f+t>I&&(o=f+t,f*=I/o,t*=I/o),i+s>I&&(o=i+s,i*=I/o,s*=I/o),t+i>E&&(o=t+i,t*=E/o,i*=E/o),f+s>E&&(o=f+s,f*=E/o,s*=E/o),B.moveTo(w+f,D),B.lineTo(w+I-t,D),t!==0&&B.arc(w+I-t,D+t,t,-Math.PI/2,0),B.lineTo(w+I,D+E-i),i!==0&&B.arc(w+I-i,D+E-i,i,0,Math.PI/2),B.lineTo(w+s,D+E),s!==0&&B.arc(w+s,D+E-s,s,Math.PI/2,Math.PI),B.lineTo(w,D+f),f!==0&&B.arc(w+f,D+f,f,Math.PI,Math.PI*1.5)}V.buildPath=e},"VrN/":function(oe,V,e){(function(B,T){oe.exports=T()})(this,function(){"use strict";var B=navigator.userAgent,T=navigator.platform,w=/gecko\/\d/i.test(B),D=/MSIE \d/.test(B),I=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(B),E=/Edge\/(\d+)/.exec(B),C=D||I||E,f=C&&(D?document.documentMode||6:+(E||I)[1]),t=!E&&/WebKit\//.test(B),i=t&&/Qt\/\d+\.\d+/.test(B),s=!E&&/Chrome\/(\d+)/.exec(B),o=s&&+s[1],r=/Opera\//.test(B),u=/Apple Computer/.test(navigator.vendor),n=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(B),l=/PhantomJS/.test(B),a=u&&(/Mobile\/\w+/.test(B)||navigator.maxTouchPoints>2),c=/Android/.test(B),d=a||c||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(B),h=a||/Mac/.test(T),y=/\bCrOS\b/.test(B),A=/win/i.test(T),v=r&&B.match(/Version\/(\d*\.\d*)/);v&&(v=Number(v[1])),v&&v>=15&&(r=!1,t=!0);var g=h&&(i||r&&(v==null||v<12.11)),x=w||C&&f>=9;function m(p){return new RegExp("(^|\\s)"+p+"(?:$|\\s)\\s*")}var b=function(O,H){var j=O.className,K=m(H).exec(j);if(K){var me=j.slice(K.index+K[0].length);O.className=j.slice(0,K.index)+(me?K[1]+me:"")}};function S(p){for(var O=p.childNodes.length;O>0;--O)p.removeChild(p.firstChild);return p}function P(p,O){return S(p).appendChild(O)}function M(p,O,H,j){var K=document.createElement(p);if(H&&(K.className=H),j&&(K.style.cssText=j),typeof O=="string")K.appendChild(document.createTextNode(O));else if(O)for(var me=0;me<O.length;++me)K.appendChild(O[me]);return K}function R(p,O,H,j){var K=M(p,O,H,j);return K.setAttribute("role","presentation"),K}var F;document.createRange?F=function(O,H,j,K){var me=document.createRange();return me.setEnd(K||O,j),me.setStart(O,H),me}:F=function(O,H,j){var K=document.body.createTextRange();try{K.moveToElementText(O.parentNode)}catch(me){return K}return K.collapse(!0),K.moveEnd("character",j),K.moveStart("character",H),K};function L(p,O){if(O.nodeType==3&&(O=O.parentNode),p.contains)return p.contains(O);do if(O.nodeType==11&&(O=O.host),O==p)return!0;while(O=O.parentNode)}function U(p){var O;try{O=p.activeElement}catch(H){O=p.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function N(p,O){var H=p.className;m(O).test(H)||(p.className+=(H?" ":"")+O)}function Q(p,O){for(var H=p.split(" "),j=0;j<H.length;j++)H[j]&&!m(H[j]).test(O)&&(O+=" "+H[j]);return O}var z=function(O){O.select()};a?z=function(O){O.selectionStart=0,O.selectionEnd=O.value.length}:C&&(z=function(O){try{O.select()}catch(H){}});function _(p){return p.display.wrapper.ownerDocument}function J(p){return _(p).defaultView}function Y(p){var O=Array.prototype.slice.call(arguments,1);return function(){return p.apply(null,O)}}function k(p,O,H){O||(O={});for(var j in p)p.hasOwnProperty(j)&&(H!==!1||!O.hasOwnProperty(j))&&(O[j]=p[j]);return O}function W(p,O,H,j,K){O==null&&(O=p.search(/[^\s\u00a0]/),O==-1&&(O=p.length));for(var me=j||0,We=K||0;;){var ct=p.indexOf(" ",me);if(ct<0||ct>=O)return We+(O-me);We+=ct-me,We+=H-We%H,me=ct+1}}var ie=function(){this.id=null,this.f=null,this.time=0,this.handler=Y(this.onTimeout,this)};ie.prototype.onTimeout=function(p){p.id=0,p.time<=+new Date?p.f():setTimeout(p.handler,p.time-+new Date)},ie.prototype.set=function(p,O){this.f=O;var H=+new Date+p;(!this.id||H<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,p),this.time=H)};function fe(p,O){for(var H=0;H<p.length;++H)if(p[H]==O)return H;return-1}var Ce=50,ge={toString:function(){return"CodeMirror.Pass"}},de={scroll:!1},Pe={origin:"*mouse"},_e={origin:"+move"};function Ne(p,O,H){for(var j=0,K=0;;){var me=p.indexOf(" ",j);me==-1&&(me=p.length);var We=me-j;if(me==p.length||K+We>=O)return j+Math.min(We,O-K);if(K+=me-j,K+=H-K%H,j=me+1,K>=O)return j}}var He=[""];function ue(p){for(;He.length<=p;)He.push(Re(He)+" ");return He[p]}function Re(p){return p[p.length-1]}function nt(p,O){for(var H=[],j=0;j<p.length;j++)H[j]=O(p[j],j);return H}function Ve(p,O,H){for(var j=0,K=H(O);j<p.length&&H(p[j])<=K;)j++;p.splice(j,0,O)}function Ge(){}function dt(p,O){var H;return Object.create?H=Object.create(p):(Ge.prototype=p,H=new Ge),O&&k(O,H),H}var et=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function At(p){return/\w/.test(p)||p>"\x80"&&(p.toUpperCase()!=p.toLowerCase()||et.test(p))}function Dt(p,O){return O?O.source.indexOf("\\w")>-1&&At(p)?!0:O.test(p):At(p)}function Ft(p){for(var O in p)if(p.hasOwnProperty(O)&&p[O])return!1;return!0}var St=/[\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 $e(p){return p.charCodeAt(0)>=768&&St.test(p)}function lt(p,O,H){for(;(H<0?O>0:O<p.length)&&$e(p.charAt(O));)O+=H;return O}function Ut(p,O,H){for(var j=O>H?-1:1;;){if(O==H)return O;var K=(O+H)/2,me=j<0?Math.ceil(K):Math.floor(K);if(me==O)return p(me)?O:H;p(me)?H=me:O=me+j}}function gt(p,O,H,j){if(!p)return j(O,H,"ltr",0);for(var K=!1,me=0;me<p.length;++me){var We=p[me];(We.from<H&&We.to>O||O==H&&We.to==O)&&(j(Math.max(We.from,O),Math.min(We.to,H),We.level==1?"rtl":"ltr",me),K=!0)}K||j(O,H,"ltr")}var ft=null;function rt(p,O,H){var j;ft=null;for(var K=0;K<p.length;++K){var me=p[K];if(me.from<O&&me.to>O)return K;me.to==O&&(me.from!=me.to&&H=="before"?j=K:ft=K),me.from==O&&(me.from!=me.to&&H!="before"?j=K:ft=K)}return j!=null?j:ft}var Ie=function(){var p="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",O="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function H(kt){return kt<=247?p.charAt(kt):1424<=kt&&kt<=1524?"R":1536<=kt&&kt<=1785?O.charAt(kt-1536):1774<=kt&&kt<=2220?"r":8192<=kt&&kt<=8203?"w":kt==8204?"b":"L"}var j=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,K=/[stwN]/,me=/[LRr]/,We=/[Lb1n]/,ct=/[1n]/;function Pt(kt,mr,Pr){this.level=kt,this.from=mr,this.to=Pr}return function(kt,mr){var Pr=mr=="ltr"?"L":"R";if(kt.length==0||mr=="ltr"&&!j.test(kt))return!1;for(var zr=kt.length,$r=[],mn=0;mn<zr;++mn)$r.push(H(kt.charCodeAt(mn)));for(var Un=0,ra=Pr;Un<zr;++Un){var ia=$r[Un];ia=="m"?$r[Un]=ra:ra=ia}for(var xa=0,Ea=Pr;xa<zr;++xa){var Ua=$r[xa];Ua=="1"&&Ea=="r"?$r[xa]="n":me.test(Ua)&&(Ea=Ua,Ua=="r"&&($r[xa]="R"))}for(var Bi=1,gi=$r[0];Bi<zr-1;++Bi){var yo=$r[Bi];yo=="+"&&gi=="1"&&$r[Bi+1]=="1"?$r[Bi]="1":yo==","&&gi==$r[Bi+1]&&(gi=="1"||gi=="n")&&($r[Bi]=gi),gi=yo}for(var ko=0;ko<zr;++ko){var Ss=$r[ko];if(Ss==",")$r[ko]="N";else if(Ss=="%"){var qo=void 0;for(qo=ko+1;qo<zr&&$r[qo]=="%";++qo);for(var Rs=ko&&$r[ko-1]=="!"||qo<zr&&$r[qo]=="1"?"1":"N",Gs=ko;Gs<qo;++Gs)$r[Gs]=Rs;ko=qo-1}}for(var Aa=0,Bs=Pr;Aa<zr;++Aa){var Cs=$r[Aa];Bs=="L"&&Cs=="1"?$r[Aa]="L":me.test(Cs)&&(Bs=Cs)}for(var Qo=0;Qo<zr;++Qo)if(K.test($r[Qo])){var ws=void 0;for(ws=Qo+1;ws<zr&&K.test($r[ws]);++ws);for(var ki=(Qo?$r[Qo-1]:Pr)=="L",Co=(ws<zr?$r[ws]:Pr)=="L",Ol=ki==Co?ki?"L":"R":Pr,Ll=Qo;Ll<ws;++Ll)$r[Ll]=Ol;Qo=ws-1}for(var Es=[],pl,hs=0;hs<zr;)if(We.test($r[hs])){var tc=hs;for(++hs;hs<zr&&We.test($r[hs]);++hs);Es.push(new Pt(0,tc,hs))}else{var Il=hs,Rl=Es.length,Wl=mr=="rtl"?1:0;for(++hs;hs<zr&&$r[hs]!="L";++hs);for(var Us=Il;Us<hs;)if(ct.test($r[Us])){Il<Us&&(Es.splice(Rl,0,new Pt(1,Il,Us)),Rl+=Wl);var su=Us;for(++Us;Us<hs&&ct.test($r[Us]);++Us);Es.splice(Rl,0,new Pt(2,su,Us)),Rl+=Wl,Il=Us}else++Us;Il<hs&&Es.splice(Rl,0,new Pt(1,Il,hs))}return mr=="ltr"&&(Es[0].level==1&&(pl=kt.match(/^\s+/))&&(Es[0].from=pl[0].length,Es.unshift(new Pt(0,0,pl[0].length))),Re(Es).level==1&&(pl=kt.match(/\s+$/))&&(Re(Es).to-=pl[0].length,Es.push(new Pt(0,zr-pl[0].length,zr)))),mr=="rtl"?Es.reverse():Es}}();function Ot(p,O){var H=p.order;return H==null&&(H=p.order=Ie(p.text,O)),H}var Xt=[],Vt=function(O,H,j){if(O.addEventListener)O.addEventListener(H,j,!1);else if(O.attachEvent)O.attachEvent("on"+H,j);else{var K=O._handlers||(O._handlers={});K[H]=(K[H]||Xt).concat(j)}};function bt(p,O){return p._handlers&&p._handlers[O]||Xt}function It(p,O,H){if(p.removeEventListener)p.removeEventListener(O,H,!1);else if(p.detachEvent)p.detachEvent("on"+O,H);else{var j=p._handlers,K=j&&j[O];if(K){var me=fe(K,H);me>-1&&(j[O]=K.slice(0,me).concat(K.slice(me+1)))}}}function Kt(p,O){var H=bt(p,O);if(!!H.length)for(var j=Array.prototype.slice.call(arguments,2),K=0;K<H.length;++K)H[K].apply(null,j)}function Se(p,O,H){return typeof O=="string"&&(O={type:O,preventDefault:function(){this.defaultPrevented=!0}}),Kt(p,H||O.type,p,O),ze(O)||O.codemirrorIgnore}function Ye(p){var O=p._handlers&&p._handlers.cursorActivity;if(!!O)for(var H=p.curOp.cursorActivityHandlers||(p.curOp.cursorActivityHandlers=[]),j=0;j<O.length;++j)fe(H,O[j])==-1&&H.push(O[j])}function q(p,O){return bt(p,O).length>0}function Ae(p){p.prototype.on=function(O,H){Vt(this,O,H)},p.prototype.off=function(O,H){It(this,O,H)}}function Me(p){p.preventDefault?p.preventDefault():p.returnValue=!1}function De(p){p.stopPropagation?p.stopPropagation():p.cancelBubble=!0}function ze(p){return p.defaultPrevented!=null?p.defaultPrevented:p.returnValue==!1}function pe(p){Me(p),De(p)}function te(p){return p.target||p.srcElement}function be(p){var O=p.which;return O==null&&(p.button&1?O=1:p.button&2?O=3:p.button&4&&(O=2)),h&&p.ctrlKey&&O==1&&(O=3),O}var xe=function(){if(C&&f<9)return!1;var p=M("div");return"draggable"in p||"dragDrop"in p}(),Z;function se(p){if(Z==null){var O=M("span","\u200B");P(p,M("span",[O,document.createTextNode("x")])),p.firstChild.offsetHeight!=0&&(Z=O.offsetWidth<=1&&O.offsetHeight>2&&!(C&&f<8))}var H=Z?M("span","\u200B"):M("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return H.setAttribute("cm-text",""),H}var he;function Oe(p){if(he!=null)return he;var O=P(p,document.createTextNode("A\u062EA")),H=F(O,0,1).getBoundingClientRect(),j=F(O,1,2).getBoundingClientRect();return S(p),!H||H.left==H.right?!1:he=j.right-H.right<3}var ne=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(p){for(var O=0,H=[],j=p.length;O<=j;){var K=p.indexOf(`
|
|
|
`,O);K==-1&&(K=p.length);var me=p.slice(O,p.charAt(K-1)=="\r"?K-1:K),We=me.indexOf("\r");We!=-1?(H.push(me.slice(0,We)),O+=We+1):(H.push(me),O=K+1)}return H}:function(p){return p.split(/\r\n?|\n/)},ce=window.getSelection?function(p){try{return p.selectionStart!=p.selectionEnd}catch(O){return!1}}:function(p){var O;try{O=p.ownerDocument.selection.createRange()}catch(H){}return!O||O.parentElement()!=p?!1:O.compareEndPoints("StartToEnd",O)!=0},ae=function(){var p=M("div");return"oncopy"in p?!0:(p.setAttribute("oncopy","return;"),typeof p.oncopy=="function")}(),Ee=null;function ye(p){if(Ee!=null)return Ee;var O=P(p,M("span","x")),H=O.getBoundingClientRect(),j=F(O,0,1).getBoundingClientRect();return Ee=Math.abs(H.left-j.left)>1}var Te={},je={};function qe(p,O){arguments.length>2&&(O.dependencies=Array.prototype.slice.call(arguments,2)),Te[p]=O}function Le(p,O){je[p]=O}function ke(p){if(typeof p=="string"&&je.hasOwnProperty(p))p=je[p];else if(p&&typeof p.name=="string"&&je.hasOwnProperty(p.name)){var O=je[p.name];typeof O=="string"&&(O={name:O}),p=dt(O,p),p.name=O.name}else{if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(p))return ke("application/xml");if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(p))return ke("application/json")}return typeof p=="string"?{name:p}:p||{name:"null"}}function tt(p,O){O=ke(O);var H=Te[O.name];if(!H)return tt(p,"text/plain");var j=H(p,O);if(st.hasOwnProperty(O.name)){var K=st[O.name];for(var me in K)!K.hasOwnProperty(me)||(j.hasOwnProperty(me)&&(j["_"+me]=j[me]),j[me]=K[me])}if(j.name=O.name,O.helperType&&(j.helperType=O.helperType),O.modeProps)for(var We in O.modeProps)j[We]=O.modeProps[We];return j}var st={};function _t(p,O){var H=st.hasOwnProperty(p)?st[p]:st[p]={};k(O,H)}function Ct(p,O){if(O===!0)return O;if(p.copyState)return p.copyState(O);var H={};for(var j in O){var K=O[j];K instanceof Array&&(K=K.concat([])),H[j]=K}return H}function Rt(p,O){for(var H;p.innerMode&&(H=p.innerMode(O),!(!H||H.mode==p));)O=H.state,p=H.mode;return H||{mode:p,state:O}}function Wt(p,O,H){return p.startState?p.startState(O,H):!0}var vt=function(O,H,j){this.pos=this.start=0,this.string=O,this.tabSize=H||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=j};vt.prototype.eol=function(){return this.pos>=this.string.length},vt.prototype.sol=function(){return this.pos==this.lineStart},vt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vt.prototype.eat=function(p){var O=this.string.charAt(this.pos),H;if(typeof p=="string"?H=O==p:H=O&&(p.test?p.test(O):p(O)),H)return++this.pos,O},vt.prototype.eatWhile=function(p){for(var O=this.pos;this.eat(p););return this.pos>O},vt.prototype.eatSpace=function(){for(var p=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>p},vt.prototype.skipToEnd=function(){this.pos=this.string.length},vt.prototype.skipTo=function(p){var O=this.string.indexOf(p,this.pos);if(O>-1)return this.pos=O,!0},vt.prototype.backUp=function(p){this.pos-=p},vt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},vt.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},vt.prototype.match=function(p,O,H){if(typeof p=="string"){var j=function(ct){return H?ct.toLowerCase():ct},K=this.string.substr(this.pos,p.length);if(j(K)==j(p))return O!==!1&&(this.pos+=p.length),!0}else{var me=this.string.slice(this.pos).match(p);return me&&me.index>0?null:(me&&O!==!1&&(this.pos+=me[0].length),me)}},vt.prototype.current=function(){return this.string.slice(this.start,this.pos)},vt.prototype.hideFirstChars=function(p,O){this.lineStart+=p;try{return O()}finally{this.lineStart-=p}},vt.prototype.lookAhead=function(p){var O=this.lineOracle;return O&&O.lookAhead(p)},vt.prototype.baseToken=function(){var p=this.lineOracle;return p&&p.baseToken(this.pos)};function Je(p,O){if(O-=p.first,O<0||O>=p.size)throw new Error("There is no line "+(O+p.first)+" in the document.");for(var H=p;!H.lines;)for(var j=0;;++j){var K=H.children[j],me=K.chunkSize();if(O<me){H=K;break}O-=me}return H.lines[O]}function Yt(p,O,H){var j=[],K=O.line;return p.iter(O.line,H.line+1,function(me){var We=me.text;K==H.line&&(We=We.slice(0,H.ch)),K==O.line&&(We=We.slice(O.ch)),j.push(We),++K}),j}function Ht(p,O,H){var j=[];return p.iter(O,H,function(K){j.push(K.text)}),j}function nr(p,O){var H=O-p.height;if(H)for(var j=p;j;j=j.parent)j.height+=H}function ir(p){if(p.parent==null)return null;for(var O=p.parent,H=fe(O.lines,p),j=O.parent;j;O=j,j=j.parent)for(var K=0;j.children[K]!=O;++K)H+=j.children[K].chunkSize();return H+O.first}function Zt(p,O){var H=p.first;e:do{for(var j=0;j<p.children.length;++j){var K=p.children[j],me=K.height;if(O<me){p=K;continue e}O-=me,H+=K.chunkSize()}return H}while(!p.lines);for(var We=0;We<p.lines.length;++We){var ct=p.lines[We],Pt=ct.height;if(O<Pt)break;O-=Pt}return H+We}function Mt(p,O){return O>=p.first&&O<p.first+p.size}function pt(p,O){return String(p.lineNumberFormatter(O+p.firstLineNumber))}function Tt(p,O,H){if(H===void 0&&(H=null),!(this instanceof Tt))return new Tt(p,O,H);this.line=p,this.ch=O,this.sticky=H}function mt(p,O){return p.line-O.line||p.ch-O.ch}function Jt(p,O){return p.sticky==O.sticky&&mt(p,O)==0}function or(p){return Tt(p.line,p.ch)}function ut(p,O){return mt(p,O)<0?O:p}function ht(p,O){return mt(p,O)<0?p:O}function qt(p,O){return Math.max(p.first,Math.min(O,p.first+p.size-1))}function Nt(p,O){if(O.line<p.first)return Tt(p.first,0);var H=p.first+p.size-1;return O.line>H?Tt(H,Je(p,H).text.length):Qt(O,Je(p,O.line).text.length)}function Qt(p,O){var H=p.ch;return H==null||H>O?Tt(p.line,O):H<0?Tt(p.line,0):p}function at(p,O){for(var H=[],j=0;j<O.length;j++)H[j]=Nt(p,O[j]);return H}var Ue=function(O,H){this.state=O,this.lookAhead=H},ot=function(O,H,j,K){this.state=H,this.doc=O,this.line=j,this.maxLookAhead=K||0,this.baseTokens=null,this.baseTokenPos=1};ot.prototype.lookAhead=function(p){var O=this.doc.getLine(this.line+p);return O!=null&&p>this.maxLookAhead&&(this.maxLookAhead=p),O},ot.prototype.baseToken=function(p){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=p;)this.baseTokenPos+=2;var O=this.baseTokens[this.baseTokenPos+1];return{type:O&&O.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-p}},ot.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ot.fromSaved=function(p,O,H){return O instanceof Ue?new ot(p,Ct(p.mode,O.state),H,O.lookAhead):new ot(p,Ct(p.mode,O),H)},ot.prototype.save=function(p){var O=p!==!1?Ct(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ue(O,this.maxLookAhead):O};function it(p,O,H,j){var K=[p.state.modeGen],me={};hn(p,O.text,p.doc.mode,H,function(kt,mr){return K.push(kt,mr)},me,j);for(var We=H.state,ct=function(mr){H.baseTokens=K;var Pr=p.state.overlays[mr],zr=1,$r=0;H.state=!0,hn(p,O.text,Pr.mode,H,function(mn,Un){for(var ra=zr;$r<mn;){var ia=K[zr];ia>mn&&K.splice(zr,1,mn,K[zr+1],ia),zr+=2,$r=Math.min(mn,ia)}if(!!Un)if(Pr.opaque)K.splice(ra,zr-ra,mn,"overlay "+Un),zr=ra+2;else for(;ra<zr;ra+=2){var xa=K[ra+1];K[ra+1]=(xa?xa+" ":"")+"overlay "+Un}},me),H.state=We,H.baseTokens=null,H.baseTokenPos=1},Pt=0;Pt<p.state.overlays.length;++Pt)ct(Pt);return{styles:K,classes:me.bgClass||me.textClass?me:null}}function zt(p,O,H){if(!O.styles||O.styles[0]!=p.state.modeGen){var j=ar(p,ir(O)),K=O.text.length>p.options.maxHighlightLength&&Ct(p.doc.mode,j.state),me=it(p,O,j);K&&(j.state=K),O.stateAfter=j.save(!K),O.styles=me.styles,me.classes?O.styleClasses=me.classes:O.styleClasses&&(O.styleClasses=null),H===p.doc.highlightFrontier&&(p.doc.modeFrontier=Math.max(p.doc.modeFrontier,++p.doc.highlightFrontier))}return O.styles}function ar(p,O,H){var j=p.doc,K=p.display;if(!j.mode.startState)return new ot(j,!0,O);var me=yr(p,O,H),We=me>j.first&&Je(j,me-1).stateAfter,ct=We?ot.fromSaved(j,We,me):new ot(j,Wt(j.mode),me);return j.iter(me,O,function(Pt){dr(p,Pt.text,ct);var kt=ct.line;Pt.stateAfter=kt==O-1||kt%5==0||kt>=K.viewFrom&&kt<K.viewTo?ct.save():null,ct.nextLine()}),H&&(j.modeFrontier=ct.line),ct}function dr(p,O,H,j){var K=p.doc.mode,me=new vt(O,p.options.tabSize,H);for(me.start=me.pos=j||0,O==""&&pr(K,H.state);!me.eol();)Tr(K,me,H.state),me.start=me.pos}function pr(p,O){if(p.blankLine)return p.blankLine(O);if(!!p.innerMode){var H=Rt(p,O);if(H.mode.blankLine)return H.mode.blankLine(H.state)}}function Tr(p,O,H,j){for(var K=0;K<10;K++){j&&(j[0]=Rt(p,H).mode);var me=p.token(O,H);if(O.pos>O.start)return me}throw new Error("Mode "+p.name+" failed to advance stream.")}var Lr=function(O,H,j){this.start=O.start,this.end=O.pos,this.string=O.current(),this.type=H||null,this.state=j};function Yr(p,O,H,j){var K=p.doc,me=K.mode,We;O=Nt(K,O);var ct=Je(K,O.line),Pt=ar(p,O.line,H),kt=new vt(ct.text,p.options.tabSize,Pt),mr;for(j&&(mr=[]);(j||kt.pos<O.ch)&&!kt.eol();)kt.start=kt.pos,We=Tr(me,kt,Pt.state),j&&mr.push(new Lr(kt,We,Ct(K.mode,Pt.state)));return j?mr:new Lr(kt,We,Pt.state)}function Jr(p,O){if(p)for(;;){var H=p.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!H)break;p=p.slice(0,H.index)+p.slice(H.index+H[0].length);var j=H[1]?"bgClass":"textClass";O[j]==null?O[j]=H[2]:new RegExp("(?:^|\\s)"+H[2]+"(?:$|\\s)").test(O[j])||(O[j]+=" "+H[2])}return p}function hn(p,O,H,j,K,me,We){var ct=H.flattenSpans;ct==null&&(ct=p.options.flattenSpans);var Pt=0,kt=null,mr=new vt(O,p.options.tabSize,j),Pr,zr=p.options.addModeClass&&[null];for(O==""&&Jr(pr(H,j.state),me);!mr.eol();){if(mr.pos>p.options.maxHighlightLength?(ct=!1,We&&dr(p,O,j,mr.pos),mr.pos=O.length,Pr=null):Pr=Jr(Tr(H,mr,j.state,zr),me),zr){var $r=zr[0].name;$r&&(Pr="m-"+(Pr?$r+" "+Pr:$r))}if(!ct||kt!=Pr){for(;Pt<mr.start;)Pt=Math.min(mr.start,Pt+5e3),K(Pt,kt);kt=Pr}mr.start=mr.pos}for(;Pt<mr.pos;){var mn=Math.min(mr.pos,Pt+5e3);K(mn,kt),Pt=mn}}function yr(p,O,H){for(var j,K,me=p.doc,We=H?-1:O-(p.doc.mode.innerMode?1e3:100),ct=O;ct>We;--ct){if(ct<=me.first)return me.first;var Pt=Je(me,ct-1),kt=Pt.stateAfter;if(kt&&(!H||ct+(kt instanceof Ue?kt.lookAhead:0)<=me.modeFrontier))return ct;var mr=W(Pt.text,null,p.options.tabSize);(K==null||j>mr)&&(K=ct-1,j=mr)}return K}function zn(p,O){if(p.modeFrontier=Math.min(p.modeFrontier,O),!(p.highlightFrontier<O-10)){for(var H=p.first,j=O-1;j>H;j--){var K=Je(p,j).stateAfter;if(K&&(!(K instanceof Ue)||j+K.lookAhead<O)){H=j+1;break}}p.highlightFrontier=Math.min(p.highlightFrontier,H)}}var xn=!1,In=!1;function Qn(){xn=!0}function Cn(){In=!0}function bn(p,O,H){this.marker=p,this.from=O,this.to=H}function Wn(p,O){if(p)for(var H=0;H<p.length;++H){var j=p[H];if(j.marker==O)return j}}function Vn(p,O){for(var H,j=0;j<p.length;++j)p[j]!=O&&(H||(H=[])).push(p[j]);return H}function oa(p,O,H){var j=H&&window.WeakSet&&(H.markedSpans||(H.markedSpans=new WeakSet));j&&p.markedSpans&&j.has(p.markedSpans)?p.markedSpans.push(O):(p.markedSpans=p.markedSpans?p.markedSpans.concat([O]):[O],j&&j.add(p.markedSpans)),O.marker.attachLine(p)}function kr(p,O,H){var j;if(p)for(var K=0;K<p.length;++K){var me=p[K],We=me.marker,ct=me.from==null||(We.inclusiveLeft?me.from<=O:me.from<O);if(ct||me.from==O&&We.type=="bookmark"&&(!H||!me.marker.insertLeft)){var Pt=me.to==null||(We.inclusiveRight?me.to>=O:me.to>O);(j||(j=[])).push(new bn(We,me.from,Pt?null:me.to))}}return j}function kn(p,O,H){var j;if(p)for(var K=0;K<p.length;++K){var me=p[K],We=me.marker,ct=me.to==null||(We.inclusiveRight?me.to>=O:me.to>O);if(ct||me.from==O&&We.type=="bookmark"&&(!H||me.marker.insertLeft)){var Pt=me.from==null||(We.inclusiveLeft?me.from<=O:me.from<O);(j||(j=[])).push(new bn(We,Pt?null:me.from-O,me.to==null?null:me.to-O))}}return j}function Pn(p,O){if(O.full)return null;var H=Mt(p,O.from.line)&&Je(p,O.from.line).markedSpans,j=Mt(p,O.to.line)&&Je(p,O.to.line).markedSpans;if(!H&&!j)return null;var K=O.from.ch,me=O.to.ch,We=mt(O.from,O.to)==0,ct=kr(H,K,We),Pt=kn(j,me,We),kt=O.text.length==1,mr=Re(O.text).length+(kt?K:0);if(ct)for(var Pr=0;Pr<ct.length;++Pr){var zr=ct[Pr];if(zr.to==null){var $r=Wn(Pt,zr.marker);$r?kt&&(zr.to=$r.to==null?null:$r.to+mr):zr.to=K}}if(Pt)for(var mn=0;mn<Pt.length;++mn){var Un=Pt[mn];if(Un.to!=null&&(Un.to+=mr),Un.from==null){var ra=Wn(ct,Un.marker);ra||(Un.from=mr,kt&&(ct||(ct=[])).push(Un))}else Un.from+=mr,kt&&(ct||(ct=[])).push(Un)}ct&&(ct=Ma(ct)),Pt&&Pt!=ct&&(Pt=Ma(Pt));var ia=[ct];if(!kt){var xa=O.text.length-2,Ea;if(xa>0&&ct)for(var Ua=0;Ua<ct.length;++Ua)ct[Ua].to==null&&(Ea||(Ea=[])).push(new bn(ct[Ua].marker,null,null));for(var Bi=0;Bi<xa;++Bi)ia.push(Ea);ia.push(Pt)}return ia}function Ma(p){for(var O=0;O<p.length;++O){var H=p[O];H.from!=null&&H.from==H.to&&H.marker.clearWhenEmpty!==!1&&p.splice(O--,1)}return p.length?p:null}function Oa(p,O,H){var j=null;if(p.iter(O.line,H.line+1,function($r){if($r.markedSpans)for(var mn=0;mn<$r.markedSpans.length;++mn){var Un=$r.markedSpans[mn].marker;Un.readOnly&&(!j||fe(j,Un)==-1)&&(j||(j=[])).push(Un)}}),!j)return null;for(var K=[{from:O,to:H}],me=0;me<j.length;++me)for(var We=j[me],ct=We.find(0),Pt=0;Pt<K.length;++Pt){var kt=K[Pt];if(!(mt(kt.to,ct.from)<0||mt(kt.from,ct.to)>0)){var mr=[Pt,1],Pr=mt(kt.from,ct.from),zr=mt(kt.to,ct.to);(Pr<0||!We.inclusiveLeft&&!Pr)&&mr.push({from:kt.from,to:ct.from}),(zr>0||!We.inclusiveRight&&!zr)&&mr.push({from:ct.to,to:kt.to}),K.splice.apply(K,mr),Pt+=mr.length-3}}return K}function ba(p){var O=p.markedSpans;if(!!O){for(var H=0;H<O.length;++H)O[H].marker.detachLine(p);p.markedSpans=null}}function La(p,O){if(!!O){for(var H=0;H<O.length;++H)O[H].marker.attachLine(p);p.markedSpans=O}}function Hn(p){return p.inclusiveLeft?-1:0}function Ir(p){return p.inclusiveRight?1:0}function xr(p,O){var H=p.lines.length-O.lines.length;if(H!=0)return H;var j=p.find(),K=O.find(),me=mt(j.from,K.from)||Hn(p)-Hn(O);if(me)return-me;var We=mt(j.to,K.to)||Ir(p)-Ir(O);return We||O.id-p.id}function Xr(p,O){var H=In&&p.markedSpans,j;if(H)for(var K=void 0,me=0;me<H.length;++me)K=H[me],K.marker.collapsed&&(O?K.from:K.to)==null&&(!j||xr(j,K.marker)<0)&&(j=K.marker);return j}function Cr(p){return Xr(p,!0)}function Hr(p){return Xr(p,!1)}function Fr(p,O){var H=In&&p.markedSpans,j;if(H)for(var K=0;K<H.length;++K){var me=H[K];me.marker.collapsed&&(me.from==null||me.from<O)&&(me.to==null||me.to>O)&&(!j||xr(j,me.marker)<0)&&(j=me.marker)}return j}function jr(p,O,H,j,K){var me=Je(p,O),We=In&&me.markedSpans;if(We)for(var ct=0;ct<We.length;++ct){var Pt=We[ct];if(!!Pt.marker.collapsed){var kt=Pt.marker.find(0),mr=mt(kt.from,H)||Hn(Pt.marker)-Hn(K),Pr=mt(kt.to,j)||Ir(Pt.marker)-Ir(K);if(!(mr>=0&&Pr<=0||mr<=0&&Pr>=0)&&(mr<=0&&(Pt.marker.inclusiveRight&&K.inclusiveLeft?mt(kt.to,H)>=0:mt(kt.to,H)>0)||mr>=0&&(Pt.marker.inclusiveRight&&K.inclusiveLeft?mt(kt.from,j)<=0:mt(kt.from,j)<0)))return!0}}}function wr(p){for(var O;O=Cr(p);)p=O.find(-1,!0).line;return p}function pn(p){for(var O;O=Hr(p);)p=O.find(1,!0).line;return p}function un(p){for(var O,H;O=Hr(p);)p=O.find(1,!0).line,(H||(H=[])).push(p);return H}function jn(p,O){var H=Je(p,O),j=wr(H);return H==j?O:ir(j)}function Xn(p,O){if(O>p.lastLine())return O;var H=Je(p,O),j;if(!ca(p,H))return O;for(;j=Hr(H);)H=j.find(1,!0).line;return ir(H)+1}function ca(p,O){var H=In&&O.markedSpans;if(H){for(var j=void 0,K=0;K<H.length;++K)if(j=H[K],!!j.marker.collapsed){if(j.from==null)return!0;if(!j.marker.widgetNode&&j.from==0&&j.marker.inclusiveLeft&&ti(p,O,j))return!0}}}function ti(p,O,H){if(H.to==null){var j=H.marker.find(1,!0);return ti(p,j.line,Wn(j.line.markedSpans,H.marker))}if(H.marker.inclusiveRight&&H.to==O.text.length)return!0;for(var K=void 0,me=0;me<O.markedSpans.length;++me)if(K=O.markedSpans[me],K.marker.collapsed&&!K.marker.widgetNode&&K.from==H.to&&(K.to==null||K.to!=H.from)&&(K.marker.inclusiveLeft||H.marker.inclusiveRight)&&ti(p,O,K))return!0}function Ia(p){p=wr(p);for(var O=0,H=p.parent,j=0;j<H.lines.length;++j){var K=H.lines[j];if(K==p)break;O+=K.height}for(var me=H.parent;me;H=me,me=H.parent)for(var We=0;We<me.children.length;++We){var ct=me.children[We];if(ct==H)break;O+=ct.height}return O}function aa(p){if(p.height==0)return 0;for(var O=p.text.length,H,j=p;H=Cr(j);){var K=H.find(0,!0);j=K.from.line,O+=K.from.ch-K.to.ch}for(j=p;H=Hr(j);){var me=H.find(0,!0);O-=j.text.length-me.from.ch,j=me.to.line,O+=j.text.length-me.to.ch}return O}function za(p){var O=p.display,H=p.doc;O.maxLine=Je(H,H.first),O.maxLineLength=aa(O.maxLine),O.maxLineChanged=!0,H.iter(function(j){var K=aa(j);K>O.maxLineLength&&(O.maxLineLength=K,O.maxLine=j)})}var ci=function(O,H,j){this.text=O,La(this,H),this.height=j?j(this):1};ci.prototype.lineNo=function(){return ir(this)},Ae(ci);function qa(p,O,H,j){p.text=O,p.stateAfter&&(p.stateAfter=null),p.styles&&(p.styles=null),p.order!=null&&(p.order=null),ba(p),La(p,H);var K=j?j(p):1;K!=p.height&&nr(p,K)}function yi(p){p.parent=null,ba(p)}var Li={},ha={};function ka(p,O){if(!p||/^\s*$/.test(p))return null;var H=O.addModeClass?ha:Li;return H[p]||(H[p]=p.replace(/\S+/g,"cm-$&"))}function Hi(p,O){var H=R("span",null,null,t?"padding-right: .1px":null),j={pre:R("pre",[H],"CodeMirror-line"),content:H,col:0,pos:0,cm:p,trailingSpace:!1,splitSpaces:p.getOption("lineWrapping")};O.measure={};for(var K=0;K<=(O.rest?O.rest.length:0);K++){var me=K?O.rest[K-1]:O.line,We=void 0;j.pos=0,j.addToken=Qi,Oe(p.display.measure)&&(We=Ot(me,p.doc.direction))&&(j.addToken=la(j.addToken,We)),j.map=[];var ct=O!=p.display.externalMeasured&&ir(me);Ca(me,j,zt(p,me,ct)),me.styleClasses&&(me.styleClasses.bgClass&&(j.bgClass=Q(me.styleClasses.bgClass,j.bgClass||"")),me.styleClasses.textClass&&(j.textClass=Q(me.styleClasses.textClass,j.textClass||""))),j.map.length==0&&j.map.push(0,0,j.content.appendChild(se(p.display.measure))),K==0?(O.measure.map=j.map,O.measure.cache={}):((O.measure.maps||(O.measure.maps=[])).push(j.map),(O.measure.caches||(O.measure.caches=[])).push({}))}if(t){var Pt=j.content.lastChild;(/\bcm-tab\b/.test(Pt.className)||Pt.querySelector&&Pt.querySelector(".cm-tab"))&&(j.content.className="cm-tab-wrap-hack")}return Kt(p,"renderLine",p,O.line,j.pre),j.pre.className&&(j.textClass=Q(j.pre.className,j.textClass||"")),j}function ao(p){var O=M("span","\u2022","cm-invalidchar");return O.title="\\u"+p.charCodeAt(0).toString(16),O.setAttribute("aria-label",O.title),O}function Qi(p,O,H,j,K,me,We){if(!!O){var ct=p.splitSpaces?ta(O,p.trailingSpace):O,Pt=p.cm.state.specialChars,kt=!1,mr;if(!Pt.test(O))p.col+=O.length,mr=document.createTextNode(ct),p.map.push(p.pos,p.pos+O.length,mr),C&&f<9&&(kt=!0),p.pos+=O.length;else{mr=document.createDocumentFragment();for(var Pr=0;;){Pt.lastIndex=Pr;var zr=Pt.exec(O),$r=zr?zr.index-Pr:O.length-Pr;if($r){var mn=document.createTextNode(ct.slice(Pr,Pr+$r));C&&f<9?mr.appendChild(M("span",[mn])):mr.appendChild(mn),p.map.push(p.pos,p.pos+$r,mn),p.col+=$r,p.pos+=$r}if(!zr)break;Pr+=$r+1;var Un=void 0;if(zr[0]==" "){var ra=p.cm.options.tabSize,ia=ra-p.col%ra;Un=mr.appendChild(M("span",ue(ia),"cm-tab")),Un.setAttribute("role","presentation"),Un.setAttribute("cm-text"," "),p.col+=ia}else zr[0]=="\r"||zr[0]==`
|
|
|
`?(Un=mr.appendChild(M("span",zr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Un.setAttribute("cm-text",zr[0]),p.col+=1):(Un=p.cm.options.specialCharPlaceholder(zr[0]),Un.setAttribute("cm-text",zr[0]),C&&f<9?mr.appendChild(M("span",[Un])):mr.appendChild(Un),p.col+=1);p.map.push(p.pos,p.pos+1,Un),p.pos++}}if(p.trailingSpace=ct.charCodeAt(O.length-1)==32,H||j||K||kt||me||We){var xa=H||"";j&&(xa+=j),K&&(xa+=K);var Ea=M("span",[mr],xa,me);if(We)for(var Ua in We)We.hasOwnProperty(Ua)&&Ua!="style"&&Ua!="class"&&Ea.setAttribute(Ua,We[Ua]);return p.content.appendChild(Ea)}p.content.appendChild(mr)}}function ta(p,O){if(p.length>1&&!/ /.test(p))return p;for(var H=O,j="",K=0;K<p.length;K++){var me=p.charAt(K);me==" "&&H&&(K==p.length-1||p.charCodeAt(K+1)==32)&&(me="\xA0"),j+=me,H=me==" "}return j}function la(p,O){return function(H,j,K,me,We,ct,Pt){K=K?K+" cm-force-border":"cm-force-border";for(var kt=H.pos,mr=kt+j.length;;){for(var Pr=void 0,zr=0;zr<O.length&&(Pr=O[zr],!(Pr.to>kt&&Pr.from<=kt));zr++);if(Pr.to>=mr)return p(H,j,K,me,We,ct,Pt);p(H,j.slice(0,Pr.to-kt),K,me,null,ct,Pt),me=null,j=j.slice(Pr.to-kt),kt=Pr.to}}}function qr(p,O,H,j){var K=!j&&H.widgetNode;K&&p.map.push(p.pos,p.pos+O,K),!j&&p.cm.display.input.needsContentAttribute&&(K||(K=p.content.appendChild(document.createElement("span"))),K.setAttribute("cm-marker",H.id)),K&&(p.cm.display.input.setUneditable(K),p.content.appendChild(K)),p.pos+=O,p.trailingSpace=!1}function Ca(p,O,H){var j=p.markedSpans,K=p.text,me=0;if(!j){for(var We=1;We<H.length;We+=2)O.addToken(O,K.slice(me,me=H[We]),ka(H[We+1],O.cm.options));return}for(var ct=K.length,Pt=0,kt=1,mr="",Pr,zr,$r=0,mn,Un,ra,ia,xa;;){if($r==Pt){mn=Un=ra=zr="",xa=null,ia=null,$r=Infinity;for(var Ea=[],Ua=void 0,Bi=0;Bi<j.length;++Bi){var gi=j[Bi],yo=gi.marker;if(yo.type=="bookmark"&&gi.from==Pt&&yo.widgetNode)Ea.push(yo);else if(gi.from<=Pt&&(gi.to==null||gi.to>Pt||yo.collapsed&&gi.to==Pt&&gi.from==Pt)){if(gi.to!=null&&gi.to!=Pt&&$r>gi.to&&($r=gi.to,Un=""),yo.className&&(mn+=" "+yo.className),yo.css&&(zr=(zr?zr+";":"")+yo.css),yo.startStyle&&gi.from==Pt&&(ra+=" "+yo.startStyle),yo.endStyle&&gi.to==$r&&(Ua||(Ua=[])).push(yo.endStyle,gi.to),yo.title&&((xa||(xa={})).title=yo.title),yo.attributes)for(var ko in yo.attributes)(xa||(xa={}))[ko]=yo.attributes[ko];yo.collapsed&&(!ia||xr(ia.marker,yo)<0)&&(ia=gi)}else gi.from>Pt&&$r>gi.from&&($r=gi.from)}if(Ua)for(var Ss=0;Ss<Ua.length;Ss+=2)Ua[Ss+1]==$r&&(Un+=" "+Ua[Ss]);if(!ia||ia.from==Pt)for(var qo=0;qo<Ea.length;++qo)qr(O,0,Ea[qo]);if(ia&&(ia.from||0)==Pt){if(qr(O,(ia.to==null?ct+1:ia.to)-Pt,ia.marker,ia.from==null),ia.to==null)return;ia.to==Pt&&(ia=!1)}}if(Pt>=ct)break;for(var Rs=Math.min(ct,$r);;){if(mr){var Gs=Pt+mr.length;if(!ia){var Aa=Gs>Rs?mr.slice(0,Rs-Pt):mr;O.addToken(O,Aa,Pr?Pr+mn:mn,ra,Pt+Aa.length==$r?Un:"",zr,xa)}if(Gs>=Rs){mr=mr.slice(Rs-Pt),Pt=Rs;break}Pt=Gs,ra=""}mr=K.slice(me,me=H[kt++]),Pr=ka(H[kt++],O.cm.options)}}}function li(p,O,H){this.line=O,this.rest=un(O),this.size=this.rest?ir(Re(this.rest))-H+1:1,this.node=this.text=null,this.hidden=ca(p,O)}function di(p,O,H){for(var j=[],K,me=O;me<H;me=K){var We=new li(p.doc,Je(p.doc,me),me);K=me+We.size,j.push(We)}return j}var _i=null;function Lo(p){_i?_i.ops.push(p):p.ownsGroup=_i={ops:[p],delayedCallbacks:[]}}function $i(p){var O=p.delayedCallbacks,H=0;do{for(;H<O.length;H++)O[H].call(null);for(var j=0;j<p.ops.length;j++){var K=p.ops[j];if(K.cursorActivityHandlers)for(;K.cursorActivityCalled<K.cursorActivityHandlers.length;)K.cursorActivityHandlers[K.cursorActivityCalled++].call(null,K.cm)}}while(H<O.length)}function io(p,O){var H=p.ownsGroup;if(!!H)try{$i(H)}finally{_i=null,O(H)}}var Ho=null;function xo(p,O){var H=bt(p,O);if(!!H.length){var j=Array.prototype.slice.call(arguments,2),K;_i?K=_i.delayedCallbacks:Ho?K=Ho:(K=Ho=[],setTimeout(Vo,0));for(var me=function(Pt){K.push(function(){return H[Pt].apply(null,j)})},We=0;We<H.length;++We)me(We)}}function Vo(){var p=Ho;Ho=null;for(var O=0;O<p.length;++O)p[O]()}function Io(p,O,H,j){for(var K=0;K<O.changes.length;K++){var me=O.changes[K];me=="text"?xi(p,O):me=="gutter"?vs(p,O,H,j):me=="class"?Os(p,O):me=="widget"&&fs(p,O,j)}O.changes=null}function Do(p){return p.node==p.text&&(p.node=M("div",null,null,"position: relative"),p.text.parentNode&&p.text.parentNode.replaceChild(p.node,p.text),p.node.appendChild(p.text),C&&f<8&&(p.node.style.zIndex=2)),p.node}function Hs(p,O){var H=O.bgClass?O.bgClass+" "+(O.line.bgClass||""):O.line.bgClass;if(H&&(H+=" CodeMirror-linebackground"),O.background)H?O.background.className=H:(O.background.parentNode.removeChild(O.background),O.background=null);else if(H){var j=Do(O);O.background=j.insertBefore(M("div",null,H),j.firstChild),p.display.input.setUneditable(O.background)}}function as(p,O){var H=p.display.externalMeasured;return H&&H.line==O.line?(p.display.externalMeasured=null,O.measure=H.measure,H.built):Hi(p,O)}function xi(p,O){var H=O.text.className,j=as(p,O);O.text==O.node&&(O.node=j.pre),O.text.parentNode.replaceChild(j.pre,O.text),O.text=j.pre,j.bgClass!=O.bgClass||j.textClass!=O.textClass?(O.bgClass=j.bgClass,O.textClass=j.textClass,Os(p,O)):H&&(O.text.className=H)}function Os(p,O){Hs(p,O),O.line.wrapClass?Do(O).className=O.line.wrapClass:O.node!=O.text&&(O.node.className="");var H=O.textClass?O.textClass+" "+(O.line.textClass||""):O.line.textClass;O.text.className=H||""}function vs(p,O,H,j){if(O.gutter&&(O.node.removeChild(O.gutter),O.gutter=null),O.gutterBackground&&(O.node.removeChild(O.gutterBackground),O.gutterBackground=null),O.line.gutterClass){var K=Do(O);O.gutterBackground=M("div",null,"CodeMirror-gutter-background "+O.line.gutterClass,"left: "+(p.options.fixedGutter?j.fixedPos:-j.gutterTotalWidth)+"px; width: "+j.gutterTotalWidth+"px"),p.display.input.setUneditable(O.gutterBackground),K.insertBefore(O.gutterBackground,O.text)}var me=O.line.gutterMarkers;if(p.options.lineNumbers||me){var We=Do(O),ct=O.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(p.options.fixedGutter?j.fixedPos:-j.gutterTotalWidth)+"px");if(ct.setAttribute("aria-hidden","true"),p.display.input.setUneditable(ct),We.insertBefore(ct,O.text),O.line.gutterClass&&(ct.className+=" "+O.line.gutterClass),p.options.lineNumbers&&(!me||!me["CodeMirror-linenumbers"])&&(O.lineNumber=ct.appendChild(M("div",pt(p.options,H),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+j.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+p.display.lineNumInnerWidth+"px"))),me)for(var Pt=0;Pt<p.display.gutterSpecs.length;++Pt){var kt=p.display.gutterSpecs[Pt].className,mr=me.hasOwnProperty(kt)&&me[kt];mr&&ct.appendChild(M("div",[mr],"CodeMirror-gutter-elt","left: "+j.gutterLeft[kt]+"px; width: "+j.gutterWidth[kt]+"px"))}}}function fs(p,O,H){O.alignable&&(O.alignable=null);for(var j=m("CodeMirror-linewidget"),K=O.node.firstChild,me=void 0;K;K=me)me=K.nextSibling,j.test(K.className)&&O.node.removeChild(K);Ke(p,O,H)}function ji(p,O,H,j){var K=as(p,O);return O.text=O.node=K.pre,K.bgClass&&(O.bgClass=K.bgClass),K.textClass&&(O.textClass=K.textClass),Os(p,O),vs(p,O,H,j),Ke(p,O,j),O.node}function Ke(p,O,H){if(Gt(p,O.line,O,H,!0),O.rest)for(var j=0;j<O.rest.length;j++)Gt(p,O.rest[j],O,H,!1)}function Gt(p,O,H,j,K){if(!!O.widgets)for(var me=Do(H),We=0,ct=O.widgets;We<ct.length;++We){var Pt=ct[We],kt=M("div",[Pt.node],"CodeMirror-linewidget"+(Pt.className?" "+Pt.className:""));Pt.handleMouseEvents||kt.setAttribute("cm-ignore-events","true"),sr(Pt,kt,H,j),p.display.input.setUneditable(kt),K&&Pt.above?me.insertBefore(kt,H.gutter||H.text):me.appendChild(kt),xo(Pt,"redraw")}}function sr(p,O,H,j){if(p.noHScroll){(H.alignable||(H.alignable=[])).push(O);var K=j.wrapperWidth;O.style.left=j.fixedPos+"px",p.coverGutter||(K-=j.gutterTotalWidth,O.style.paddingLeft=j.gutterTotalWidth+"px"),O.style.width=K+"px"}p.coverGutter&&(O.style.zIndex=5,O.style.position="relative",p.noHScroll||(O.style.marginLeft=-j.gutterTotalWidth+"px"))}function lr(p){if(p.height!=null)return p.height;var O=p.doc.cm;if(!O)return 0;if(!L(document.body,p.node)){var H="position: relative;";p.coverGutter&&(H+="margin-left: -"+O.display.gutters.offsetWidth+"px;"),p.noHScroll&&(H+="width: "+O.display.wrapper.clientWidth+"px;"),P(O.display.measure,M("div",[p.node],null,H))}return p.height=p.node.parentNode.offsetHeight}function Mr(p,O){for(var H=te(O);H!=p.wrapper;H=H.parentNode)if(!H||H.nodeType==1&&H.getAttribute("cm-ignore-events")=="true"||H.parentNode==p.sizer&&H!=p.mover)return!0}function Rr(p){return p.lineSpace.offsetTop}function Vr(p){return p.mover.offsetHeight-p.lineSpace.offsetHeight}function sn(p){if(p.cachedPaddingH)return p.cachedPaddingH;var O=P(p.measure,M("pre","x","CodeMirror-line-like")),H=window.getComputedStyle?window.getComputedStyle(O):O.currentStyle,j={left:parseInt(H.paddingLeft),right:parseInt(H.paddingRight)};return!isNaN(j.left)&&!isNaN(j.right)&&(p.cachedPaddingH=j),j}function vn(p){return Ce-p.display.nativeBarWidth}function An(p){return p.display.scroller.clientWidth-vn(p)-p.display.barWidth}function Fn(p){return p.display.scroller.clientHeight-vn(p)-p.display.barHeight}function tn(p,O,H){var j=p.options.lineWrapping,K=j&&An(p);if(!O.measure.heights||j&&O.measure.width!=K){var me=O.measure.heights=[];if(j){O.measure.width=K;for(var We=O.text.firstChild.getClientRects(),ct=0;ct<We.length-1;ct++){var Pt=We[ct],kt=We[ct+1];Math.abs(Pt.bottom-kt.bottom)>2&&me.push((Pt.bottom+kt.top)/2-H.top)}}me.push(H.bottom-H.top)}}function Kr(p,O,H){if(p.line==O)return{map:p.measure.map,cache:p.measure.cache};if(p.rest){for(var j=0;j<p.rest.length;j++)if(p.rest[j]==O)return{map:p.measure.maps[j],cache:p.measure.caches[j]};for(var K=0;K<p.rest.length;K++)if(ir(p.rest[K])>H)return{map:p.measure.maps[K],cache:p.measure.caches[K],before:!0}}}function on(p,O){O=wr(O);var H=ir(O),j=p.display.externalMeasured=new li(p.doc,O,H);j.lineN=H;var K=j.built=Hi(p,j);return j.text=K.pre,P(p.display.lineMeasure,K.pre),j}function dn(p,O,H,j){return Nn(p,wn(p,O),H,j)}function Bn(p,O){if(O>=p.display.viewFrom&&O<p.display.viewTo)return p.display.view[Na(p,O)];var H=p.display.externalMeasured;if(H&&O>=H.lineN&&O<H.lineN+H.size)return H}function wn(p,O){var H=ir(O),j=Bn(p,H);j&&!j.text?j=null:j&&j.changes&&(Io(p,j,H,Ga(p)),p.curOp.forceUpdate=!0),j||(j=on(p,O));var K=Kr(j,O,H);return{line:O,view:j,rect:null,map:K.map,cache:K.cache,before:K.before,hasHeights:!1}}function Nn(p,O,H,j,K){O.before&&(H=-1);var me=H+(j||""),We;return O.cache.hasOwnProperty(me)?We=O.cache[me]:(O.rect||(O.rect=O.view.text.getBoundingClientRect()),O.hasHeights||(tn(p,O.view,O.rect),O.hasHeights=!0),We=na(p,O,H,j),We.bogus||(O.cache[me]=We)),{left:We.left,right:We.right,top:K?We.rtop:We.top,bottom:K?We.rbottom:We.bottom}}var qn={left:0,right:0,top:0,bottom:0};function Ra(p,O,H){for(var j,K,me,We,ct,Pt,kt=0;kt<p.length;kt+=3)if(ct=p[kt],Pt=p[kt+1],O<ct?(K=0,me=1,We="left"):O<Pt?(K=O-ct,me=K+1):(kt==p.length-3||O==Pt&&p[kt+3]>O)&&(me=Pt-ct,K=me-1,O>=Pt&&(We="right")),K!=null){if(j=p[kt+2],ct==Pt&&H==(j.insertLeft?"left":"right")&&(We=H),H=="left"&&K==0)for(;kt&&p[kt-2]==p[kt-3]&&p[kt-1].insertLeft;)j=p[(kt-=3)+2],We="left";if(H=="right"&&K==Pt-ct)for(;kt<p.length-3&&p[kt+3]==p[kt+4]&&!p[kt+5].insertLeft;)j=p[(kt+=3)+2],We="right";break}return{node:j,start:K,end:me,collapse:We,coverStart:ct,coverEnd:Pt}}function hi(p,O){var H=qn;if(O=="left")for(var j=0;j<p.length&&(H=p[j]).left==H.right;j++);else for(var K=p.length-1;K>=0&&(H=p[K]).left==H.right;K--);return H}function na(p,O,H,j){var K=Ra(O.map,H,j),me=K.node,We=K.start,ct=K.end,Pt=K.collapse,kt;if(me.nodeType==3){for(var mr=0;mr<4;mr++){for(;We&&$e(O.line.text.charAt(K.coverStart+We));)--We;for(;K.coverStart+ct<K.coverEnd&&$e(O.line.text.charAt(K.coverStart+ct));)++ct;if(C&&f<9&&We==0&&ct==K.coverEnd-K.coverStart?kt=me.parentNode.getBoundingClientRect():kt=hi(F(me,We,ct).getClientRects(),j),kt.left||kt.right||We==0)break;ct=We,We=We-1,Pt="right"}C&&f<11&&(kt=Ba(p.display.measure,kt))}else{We>0&&(Pt=j="right");var Pr;p.options.lineWrapping&&(Pr=me.getClientRects()).length>1?kt=Pr[j=="right"?Pr.length-1:0]:kt=me.getBoundingClientRect()}if(C&&f<9&&!We&&(!kt||!kt.left&&!kt.right)){var zr=me.parentNode.getClientRects()[0];zr?kt={left:zr.left,right:zr.left+Va(p.display),top:zr.top,bottom:zr.bottom}:kt=qn}for(var $r=kt.top-O.rect.top,mn=kt.bottom-O.rect.top,Un=($r+mn)/2,ra=O.view.measure.heights,ia=0;ia<ra.length-1&&!(Un<ra[ia]);ia++);var xa=ia?ra[ia-1]:0,Ea=ra[ia],Ua={left:(Pt=="right"?kt.right:kt.left)-O.rect.left,right:(Pt=="left"?kt.left:kt.right)-O.rect.left,top:xa,bottom:Ea};return!kt.left&&!kt.right&&(Ua.bogus=!0),p.options.singleCursorHeightPerLine||(Ua.rtop=$r,Ua.rbottom=mn),Ua}function Ba(p,O){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ye(p))return O;var H=screen.logicalXDPI/screen.deviceXDPI,j=screen.logicalYDPI/screen.deviceYDPI;return{left:O.left*H,right:O.right*H,top:O.top*j,bottom:O.bottom*j}}function Et(p){if(p.measure&&(p.measure.cache={},p.measure.heights=null,p.rest))for(var O=0;O<p.rest.length;O++)p.measure.caches[O]={}}function fr(p){p.display.externalMeasure=null,S(p.display.lineMeasure);for(var O=0;O<p.display.view.length;O++)Et(p.display.view[O])}function hr(p){fr(p),p.display.cachedCharWidth=p.display.cachedTextHeight=p.display.cachedPaddingH=null,p.options.lineWrapping||(p.display.maxLineChanged=!0),p.display.lineNumChars=null}function Sr(p){return s&&c?-(p.body.getBoundingClientRect().left-parseInt(getComputedStyle(p.body).marginLeft)):p.defaultView.pageXOffset||(p.documentElement||p.body).scrollLeft}function Er(p){return s&&c?-(p.body.getBoundingClientRect().top-parseInt(getComputedStyle(p.body).marginTop)):p.defaultView.pageYOffset||(p.documentElement||p.body).scrollTop}function Wr(p){var O=wr(p),H=O.widgets,j=0;if(H)for(var K=0;K<H.length;++K)H[K].above&&(j+=lr(H[K]));return j}function nn(p,O,H,j,K){if(!K){var me=Wr(O);H.top+=me,H.bottom+=me}if(j=="line")return H;j||(j="local");var We=Ia(O);if(j=="local"?We+=Rr(p.display):We-=p.display.viewOffset,j=="page"||j=="window"){var ct=p.display.lineSpace.getBoundingClientRect();We+=ct.top+(j=="window"?0:Er(_(p)));var Pt=ct.left+(j=="window"?0:Sr(_(p)));H.left+=Pt,H.right+=Pt}return H.top+=We,H.bottom+=We,H}function Zr(p,O,H){if(H=="div")return O;var j=O.left,K=O.top;if(H=="page")j-=Sr(_(p)),K-=Er(_(p));else if(H=="local"||!H){var me=p.display.sizer.getBoundingClientRect();j+=me.left,K+=me.top}var We=p.display.lineSpace.getBoundingClientRect();return{left:j-We.left,top:K-We.top}}function Gr(p,O,H,j,K){return j||(j=Je(p.doc,O.line)),nn(p,j,dn(p,j,O.ch,K),H)}function gn(p,O,H,j,K,me){j=j||Je(p.doc,O.line),K||(K=wn(p,j));function We(mn,Un){var ra=Nn(p,K,mn,Un?"right":"left",me);return Un?ra.left=ra.right:ra.right=ra.left,nn(p,j,ra,H)}var ct=Ot(j,p.doc.direction),Pt=O.ch,kt=O.sticky;if(Pt>=j.text.length?(Pt=j.text.length,kt="before"):Pt<=0&&(Pt=0,kt="after"),!ct)return We(kt=="before"?Pt-1:Pt,kt=="before");function mr(mn,Un,ra){var ia=ct[Un],xa=ia.level==1;return We(ra?mn-1:mn,xa!=ra)}var Pr=rt(ct,Pt,kt),zr=ft,$r=mr(Pt,Pr,kt=="before");return zr!=null&&($r.other=mr(Pt,zr,kt!="before")),$r}function On(p,O){var H=0;O=Nt(p.doc,O),p.options.lineWrapping||(H=Va(p.display)*O.ch);var j=Je(p.doc,O.line),K=Ia(j)+Rr(p.display);return{left:H,right:H,top:K,bottom:K+j.height}}function cn(p,O,H,j,K){var me=Tt(p,O,H);return me.xRel=K,j&&(me.outside=j),me}function Dn(p,O,H){var j=p.doc;if(H+=p.display.viewOffset,H<0)return cn(j.first,0,null,-1,-1);var K=Zt(j,H),me=j.first+j.size-1;if(K>me)return cn(j.first+j.size-1,Je(j,me).text.length,null,1,1);O<0&&(O=0);for(var We=Je(j,K);;){var ct=Tn(p,We,K,O,H),Pt=Fr(We,ct.ch+(ct.xRel>0||ct.outside>0?1:0));if(!Pt)return ct;var kt=Pt.find(1);if(kt.line==K)return kt;We=Je(j,K=kt.line)}}function Mn(p,O,H,j){j-=Wr(O);var K=O.text.length,me=Ut(function(We){return Nn(p,H,We-1).bottom<=j},K,0);return K=Ut(function(We){return Nn(p,H,We).top>j},me,K),{begin:me,end:K}}function Yn(p,O,H,j){H||(H=wn(p,O));var K=nn(p,O,Nn(p,H,j),"line").top;return Mn(p,O,H,K)}function $n(p,O,H,j){return p.bottom<=H?!1:p.top>H?!0:(j?p.left:p.right)>O}function Tn(p,O,H,j,K){K-=Ia(O);var me=wn(p,O),We=Wr(O),ct=0,Pt=O.text.length,kt=!0,mr=Ot(O,p.doc.direction);if(mr){var Pr=(p.options.lineWrapping?Kn:ea)(p,O,H,me,mr,j,K);kt=Pr.level!=1,ct=kt?Pr.from:Pr.to-1,Pt=kt?Pr.to:Pr.from-1}var zr=null,$r=null,mn=Ut(function(Bi){var gi=Nn(p,me,Bi);return gi.top+=We,gi.bottom+=We,$n(gi,j,K,!1)?(gi.top<=K&&gi.left<=j&&(zr=Bi,$r=gi),!0):!1},ct,Pt),Un,ra,ia=!1;if($r){var xa=j-$r.left<$r.right-j,Ea=xa==kt;mn=zr+(Ea?0:1),ra=Ea?"after":"before",Un=xa?$r.left:$r.right}else{!kt&&(mn==Pt||mn==ct)&&mn++,ra=mn==0?"after":mn==O.text.length?"before":Nn(p,me,mn-(kt?1:0)).bottom+We<=K==kt?"after":"before";var Ua=gn(p,Tt(H,mn,ra),"line",O,me);Un=Ua.left,ia=K<Ua.top?-1:K>=Ua.bottom?1:0}return mn=lt(O.text,mn,1),cn(H,mn,ra,ia,j-Un)}function ea(p,O,H,j,K,me,We){var ct=Ut(function(Pr){var zr=K[Pr],$r=zr.level!=1;return $n(gn(p,Tt(H,$r?zr.to:zr.from,$r?"before":"after"),"line",O,j),me,We,!0)},0,K.length-1),Pt=K[ct];if(ct>0){var kt=Pt.level!=1,mr=gn(p,Tt(H,kt?Pt.from:Pt.to,kt?"after":"before"),"line",O,j);$n(mr,me,We,!0)&&mr.top>We&&(Pt=K[ct-1])}return Pt}function Kn(p,O,H,j,K,me,We){var ct=Mn(p,O,j,We),Pt=ct.begin,kt=ct.end;/\s/.test(O.text.charAt(kt-1))&&kt--;for(var mr=null,Pr=null,zr=0;zr<K.length;zr++){var $r=K[zr];if(!($r.from>=kt||$r.to<=Pt)){var mn=$r.level!=1,Un=Nn(p,j,mn?Math.min(kt,$r.to)-1:Math.max(Pt,$r.from)).right,ra=Un<me?me-Un+1e9:Un-me;(!mr||Pr>ra)&&(mr=$r,Pr=ra)}}return mr||(mr=K[K.length-1]),mr.from<Pt&&(mr={from:Pt,to:mr.to,level:mr.level}),mr.to>kt&&(mr={from:mr.from,to:kt,level:mr.level}),mr}var Fa;function Ya(p){if(p.cachedTextHeight!=null)return p.cachedTextHeight;if(Fa==null){Fa=M("pre",null,"CodeMirror-line-like");for(var O=0;O<49;++O)Fa.appendChild(document.createTextNode("x")),Fa.appendChild(M("br"));Fa.appendChild(document.createTextNode("x"))}P(p.measure,Fa);var H=Fa.offsetHeight/50;return H>3&&(p.cachedTextHeight=H),S(p.measure),H||1}function Va(p){if(p.cachedCharWidth!=null)return p.cachedCharWidth;var O=M("span","xxxxxxxxxx"),H=M("pre",[O],"CodeMirror-line-like");P(p.measure,H);var j=O.getBoundingClientRect(),K=(j.right-j.left)/10;return K>2&&(p.cachedCharWidth=K),K||10}function Ga(p){for(var O=p.display,H={},j={},K=O.gutters.clientLeft,me=O.gutters.firstChild,We=0;me;me=me.nextSibling,++We){var ct=p.display.gutterSpecs[We].className;H[ct]=me.offsetLeft+me.clientLeft+K,j[ct]=me.clientWidth}return{fixedPos:vi(O),gutterTotalWidth:O.gutters.offsetWidth,gutterLeft:H,gutterWidth:j,wrapperWidth:O.wrapper.clientWidth}}function vi(p){return p.scroller.getBoundingClientRect().left-p.sizer.getBoundingClientRect().left}function Xa(p){var O=Ya(p.display),H=p.options.lineWrapping,j=H&&Math.max(5,p.display.scroller.clientWidth/Va(p.display)-3);return function(K){if(ca(p.doc,K))return 0;var me=0;if(K.widgets)for(var We=0;We<K.widgets.length;We++)K.widgets[We].height&&(me+=K.widgets[We].height);return H?me+(Math.ceil(K.text.length/j)||1)*O:me+O}}function Jn(p){var O=p.doc,H=Xa(p);O.iter(function(j){var K=H(j);K!=j.height&&nr(j,K)})}function ei(p,O,H,j){var K=p.display;if(!H&&te(O).getAttribute("cm-not-content")=="true")return null;var me,We,ct=K.lineSpace.getBoundingClientRect();try{me=O.clientX-ct.left,We=O.clientY-ct.top}catch(Pr){return null}var Pt=Dn(p,me,We),kt;if(j&&Pt.xRel>0&&(kt=Je(p.doc,Pt.line).text).length==Pt.ch){var mr=W(kt,kt.length,p.options.tabSize)-kt.length;Pt=Tt(Pt.line,Math.max(0,Math.round((me-sn(p.display).left)/Va(p.display))-mr))}return Pt}function Na(p,O){if(O>=p.display.viewTo||(O-=p.display.viewFrom,O<0))return null;for(var H=p.display.view,j=0;j<H.length;j++)if(O-=H[j].size,O<0)return j}function _n(p,O,H,j){O==null&&(O=p.doc.first),H==null&&(H=p.doc.first+p.doc.size),j||(j=0);var K=p.display;if(j&&H<K.viewTo&&(K.updateLineNumbers==null||K.updateLineNumbers>O)&&(K.updateLineNumbers=O),p.curOp.viewChanged=!0,O>=K.viewTo)In&&jn(p.doc,O)<K.viewTo&&wa(p);else if(H<=K.viewFrom)In&&Xn(p.doc,H+j)>K.viewFrom?wa(p):(K.viewFrom+=j,K.viewTo+=j);else if(O<=K.viewFrom&&H>=K.viewTo)wa(p);else if(O<=K.viewFrom){var me=si(p,H,H+j,1);me?(K.view=K.view.slice(me.index),K.viewFrom=me.lineN,K.viewTo+=j):wa(p)}else if(H>=K.viewTo){var We=si(p,O,O,-1);We?(K.view=K.view.slice(0,We.index),K.viewTo=We.lineN):wa(p)}else{var ct=si(p,O,O,-1),Pt=si(p,H,H+j,1);ct&&Pt?(K.view=K.view.slice(0,ct.index).concat(di(p,ct.lineN,Pt.lineN)).concat(K.view.slice(Pt.index)),K.viewTo+=j):wa(p)}var kt=K.externalMeasured;kt&&(H<kt.lineN?kt.lineN+=j:O<kt.lineN+kt.size&&(K.externalMeasured=null))}function sa(p,O,H){p.curOp.viewChanged=!0;var j=p.display,K=p.display.externalMeasured;if(K&&O>=K.lineN&&O<K.lineN+K.size&&(j.externalMeasured=null),!(O<j.viewFrom||O>=j.viewTo)){var me=j.view[Na(p,O)];if(me.node!=null){var We=me.changes||(me.changes=[]);fe(We,H)==-1&&We.push(H)}}}function wa(p){p.display.viewFrom=p.display.viewTo=p.doc.first,p.display.view=[],p.display.viewOffset=0}function si(p,O,H,j){var K=Na(p,O),me,We=p.display.view;if(!In||H==p.doc.first+p.doc.size)return{index:K,lineN:H};for(var ct=p.display.viewFrom,Pt=0;Pt<K;Pt++)ct+=We[Pt].size;if(ct!=O){if(j>0){if(K==We.length-1)return null;me=ct+We[K].size-O,K++}else me=ct-O;O+=me,H+=me}for(;jn(p.doc,H)!=H;){if(K==(j<0?0:We.length-1))return null;H+=j*We[K-(j<0?1:0)].size,K+=j}return{index:K,lineN:H}}function Ka(p,O,H){var j=p.display,K=j.view;K.length==0||O>=j.viewTo||H<=j.viewFrom?(j.view=di(p,O,H),j.viewFrom=O):(j.viewFrom>O?j.view=di(p,O,j.viewFrom).concat(j.view):j.viewFrom<O&&(j.view=j.view.slice(Na(p,O))),j.viewFrom=O,j.viewTo<H?j.view=j.view.concat(di(p,j.viewTo,H)):j.viewTo>H&&(j.view=j.view.slice(0,Na(p,H)))),j.viewTo=H}function ja(p){for(var O=p.display.view,H=0,j=0;j<O.length;j++){var K=O[j];!K.hidden&&(!K.node||K.changes)&&++H}return H}function $a(p){p.display.input.showSelection(p.display.input.prepareSelection())}function Wi(p,O){O===void 0&&(O=!0);var H=p.doc,j={},K=j.cursors=document.createDocumentFragment(),me=j.selection=document.createDocumentFragment(),We=p.options.$customCursor;We&&(O=!0);for(var ct=0;ct<H.sel.ranges.length;ct++)if(!(!O&&ct==H.sel.primIndex)){var Pt=H.sel.ranges[ct];if(!(Pt.from().line>=p.display.viewTo||Pt.to().line<p.display.viewFrom)){var kt=Pt.empty();if(We){var mr=We(p,Pt);mr&&Vi(p,mr,K)}else(kt||p.options.showCursorWhenSelecting)&&Vi(p,Pt.head,K);kt||oo(p,Pt,me)}}return j}function Vi(p,O,H){var j=gn(p,O,"div",null,null,!p.options.singleCursorHeightPerLine),K=H.appendChild(M("div","\xA0","CodeMirror-cursor"));if(K.style.left=j.left+"px",K.style.top=j.top+"px",K.style.height=Math.max(0,j.bottom-j.top)*p.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(p.getWrapperElement().className)){var me=Gr(p,O,"div",null,null),We=me.right-me.left;K.style.width=(We>0?We:p.defaultCharWidth())+"px"}if(j.other){var ct=H.appendChild(M("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ct.style.display="",ct.style.left=j.other.left+"px",ct.style.top=j.other.top+"px",ct.style.height=(j.other.bottom-j.other.top)*.85+"px"}}function co(p,O){return p.top-O.top||p.left-O.left}function oo(p,O,H){var j=p.display,K=p.doc,me=document.createDocumentFragment(),We=sn(p.display),ct=We.left,Pt=Math.max(j.sizerWidth,An(p)-j.sizer.offsetLeft)-We.right,kt=K.direction=="ltr";function mr(Ea,Ua,Bi,gi){Ua<0&&(Ua=0),Ua=Math.round(Ua),gi=Math.round(gi),me.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+Ea+`px;
|
|
|
top: `+Ua+"px; width: "+(Bi==null?Pt-Ea:Bi)+`px;
|
|
|
height: `+(gi-Ua)+"px"))}function Pr(Ea,Ua,Bi){var gi=Je(K,Ea),yo=gi.text.length,ko,Ss;function qo(Aa,Bs){return Gr(p,Tt(Ea,Aa),"div",gi,Bs)}function Rs(Aa,Bs,Cs){var Qo=Yn(p,gi,null,Aa),ws=Bs=="ltr"==(Cs=="after")?"left":"right",ki=Cs=="after"?Qo.begin:Qo.end-(/\s/.test(gi.text.charAt(Qo.end-1))?2:1);return qo(ki,ws)[ws]}var Gs=Ot(gi,K.direction);return gt(Gs,Ua||0,Bi==null?yo:Bi,function(Aa,Bs,Cs,Qo){var ws=Cs=="ltr",ki=qo(Aa,ws?"left":"right"),Co=qo(Bs-1,ws?"right":"left"),Ol=Ua==null&&Aa==0,Ll=Bi==null&&Bs==yo,Es=Qo==0,pl=!Gs||Qo==Gs.length-1;if(Co.top-ki.top<=3){var hs=(kt?Ol:Ll)&&Es,tc=(kt?Ll:Ol)&&pl,Il=hs?ct:(ws?ki:Co).left,Rl=tc?Pt:(ws?Co:ki).right;mr(Il,ki.top,Rl-Il,ki.bottom)}else{var Wl,Us,su,ju;ws?(Wl=kt&&Ol&&Es?ct:ki.left,Us=kt?Pt:Rs(Aa,Cs,"before"),su=kt?ct:Rs(Bs,Cs,"after"),ju=kt&&Ll&&pl?Pt:Co.right):(Wl=kt?Rs(Aa,Cs,"before"):ct,Us=!kt&&Ol&&Es?Pt:ki.right,su=!kt&&Ll&&pl?ct:Co.left,ju=kt?Rs(Bs,Cs,"after"):Pt),mr(Wl,ki.top,Us-Wl,ki.bottom),ki.bottom<Co.top&&mr(ct,ki.bottom,null,Co.top),mr(su,Co.top,ju-su,Co.bottom)}(!ko||co(ki,ko)<0)&&(ko=ki),co(Co,ko)<0&&(ko=Co),(!Ss||co(ki,Ss)<0)&&(Ss=ki),co(Co,Ss)<0&&(Ss=Co)}),{start:ko,end:Ss}}var zr=O.from(),$r=O.to();if(zr.line==$r.line)Pr(zr.line,zr.ch,$r.ch);else{var mn=Je(K,zr.line),Un=Je(K,$r.line),ra=wr(mn)==wr(Un),ia=Pr(zr.line,zr.ch,ra?mn.text.length+1:null).end,xa=Pr($r.line,ra?0:null,$r.ch).start;ra&&(ia.top<xa.top-2?(mr(ia.right,ia.top,null,ia.bottom),mr(ct,xa.top,xa.left,xa.bottom)):mr(ia.right,ia.top,xa.left-ia.right,ia.bottom)),ia.bottom<xa.top&&mr(ct,ia.bottom,null,xa.top)}H.appendChild(me)}function Ki(p){if(!!p.state.focused){var O=p.display;clearInterval(O.blinker);var H=!0;O.cursorDiv.style.visibility="",p.options.cursorBlinkRate>0?O.blinker=setInterval(function(){p.hasFocus()||Ri(p),O.cursorDiv.style.visibility=(H=!H)?"":"hidden"},p.options.cursorBlinkRate):p.options.cursorBlinkRate<0&&(O.cursorDiv.style.visibility="hidden")}}function Gi(p){p.hasFocus()||(p.display.input.focus(),p.state.focused||pi(p))}function Ji(p){p.state.delayingBlurEvent=!0,setTimeout(function(){p.state.delayingBlurEvent&&(p.state.delayingBlurEvent=!1,p.state.focused&&Ri(p))},100)}function pi(p,O){p.state.delayingBlurEvent&&!p.state.draggingText&&(p.state.delayingBlurEvent=!1),p.options.readOnly!="nocursor"&&(p.state.focused||(Kt(p,"focus",p,O),p.state.focused=!0,N(p.display.wrapper,"CodeMirror-focused"),!p.curOp&&p.display.selForContextMenu!=p.doc.sel&&(p.display.input.reset(),t&&setTimeout(function(){return p.display.input.reset(!0)},20)),p.display.input.receivedFocus()),Ki(p))}function Ri(p,O){p.state.delayingBlurEvent||(p.state.focused&&(Kt(p,"blur",p,O),p.state.focused=!1,b(p.display.wrapper,"CodeMirror-focused")),clearInterval(p.display.blinker),setTimeout(function(){p.state.focused||(p.display.shift=!1)},150))}function Ii(p){for(var O=p.display,H=O.lineDiv.offsetTop,j=Math.max(0,O.scroller.getBoundingClientRect().top),K=O.lineDiv.getBoundingClientRect().top,me=0,We=0;We<O.view.length;We++){var ct=O.view[We],Pt=p.options.lineWrapping,kt=void 0,mr=0;if(!ct.hidden){if(K+=ct.line.height,C&&f<8){var Pr=ct.node.offsetTop+ct.node.offsetHeight;kt=Pr-H,H=Pr}else{var zr=ct.node.getBoundingClientRect();kt=zr.bottom-zr.top,!Pt&&ct.text.firstChild&&(mr=ct.text.firstChild.getBoundingClientRect().right-zr.left-1)}var $r=ct.line.height-kt;if(($r>.005||$r<-.005)&&(K<j&&(me-=$r),nr(ct.line,kt),Fi(ct.line),ct.rest))for(var mn=0;mn<ct.rest.length;mn++)Fi(ct.rest[mn]);if(mr>p.display.sizerWidth){var Un=Math.ceil(mr/Va(p.display));Un>p.display.maxLineLength&&(p.display.maxLineLength=Un,p.display.maxLine=ct.line,p.display.maxLineChanged=!0)}}}Math.abs(me)>2&&(O.scroller.scrollTop+=me)}function Fi(p){if(p.widgets)for(var O=0;O<p.widgets.length;++O){var H=p.widgets[O],j=H.node.parentNode;j&&(H.height=j.offsetHeight)}}function Ro(p,O,H){var j=H&&H.top!=null?Math.max(0,H.top):p.scroller.scrollTop;j=Math.floor(j-Rr(p));var K=H&&H.bottom!=null?H.bottom:j+p.wrapper.clientHeight,me=Zt(O,j),We=Zt(O,K);if(H&&H.ensure){var ct=H.ensure.from.line,Pt=H.ensure.to.line;ct<me?(me=ct,We=Zt(O,Ia(Je(O,ct))+p.wrapper.clientHeight)):Math.min(Pt,O.lastLine())>=We&&(me=Zt(O,Ia(Je(O,Pt))-p.wrapper.clientHeight),We=Pt)}return{from:me,to:Math.max(We,me+1)}}function Zi(p,O){if(!Se(p,"scrollCursorIntoView")){var H=p.display,j=H.sizer.getBoundingClientRect(),K=null,me=H.wrapper.ownerDocument;if(O.top+j.top<0?K=!0:O.bottom+j.top>(me.defaultView.innerHeight||me.documentElement.clientHeight)&&(K=!1),K!=null&&!l){var We=M("div","\u200B",null,`position: absolute;
|
|
|
top: `+(O.top-H.viewOffset-Rr(p.display))+`px;
|
|
|
height: `+(O.bottom-O.top+vn(p)+H.barHeight)+`px;
|
|
|
left: `+O.left+"px; width: "+Math.max(2,O.right-O.left)+"px;");p.display.lineSpace.appendChild(We),We.scrollIntoView(K),p.display.lineSpace.removeChild(We)}}}function eo(p,O,H,j){j==null&&(j=0);var K;!p.options.lineWrapping&&O==H&&(H=O.sticky=="before"?Tt(O.line,O.ch+1,"before"):O,O=O.ch?Tt(O.line,O.sticky=="before"?O.ch-1:O.ch,"after"):O);for(var me=0;me<5;me++){var We=!1,ct=gn(p,O),Pt=!H||H==O?ct:gn(p,H);K={left:Math.min(ct.left,Pt.left),top:Math.min(ct.top,Pt.top)-j,right:Math.max(ct.left,Pt.left),bottom:Math.max(ct.bottom,Pt.bottom)+j};var kt=ii(p,K),mr=p.doc.scrollTop,Pr=p.doc.scrollLeft;if(kt.scrollTop!=null&&(Ja(p,kt.scrollTop),Math.abs(p.doc.scrollTop-mr)>1&&(We=!0)),kt.scrollLeft!=null&&(Gn(p,kt.scrollLeft),Math.abs(p.doc.scrollLeft-Pr)>1&&(We=!0)),!We)break}return K}function Ni(p,O){var H=ii(p,O);H.scrollTop!=null&&Ja(p,H.scrollTop),H.scrollLeft!=null&&Gn(p,H.scrollLeft)}function ii(p,O){var H=p.display,j=Ya(p.display);O.top<0&&(O.top=0);var K=p.curOp&&p.curOp.scrollTop!=null?p.curOp.scrollTop:H.scroller.scrollTop,me=Fn(p),We={};O.bottom-O.top>me&&(O.bottom=O.top+me);var ct=p.doc.height+Vr(H),Pt=O.top<j,kt=O.bottom>ct-j;if(O.top<K)We.scrollTop=Pt?0:O.top;else if(O.bottom>K+me){var mr=Math.min(O.top,(kt?ct:O.bottom)-me);mr!=K&&(We.scrollTop=mr)}var Pr=p.options.fixedGutter?0:H.gutters.offsetWidth,zr=p.curOp&&p.curOp.scrollLeft!=null?p.curOp.scrollLeft:H.scroller.scrollLeft-Pr,$r=An(p)-H.gutters.offsetWidth,mn=O.right-O.left>$r;return mn&&(O.right=O.left+$r),O.left<10?We.scrollLeft=0:O.left<zr?We.scrollLeft=Math.max(0,O.left+Pr-(mn?0:10)):O.right>$r+zr-3&&(We.scrollLeft=O.right+(mn?0:10)-$r),We}function Yi(p,O){O!=null&&(fi(p),p.curOp.scrollTop=(p.curOp.scrollTop==null?p.doc.scrollTop:p.curOp.scrollTop)+O)}function fo(p){fi(p);var O=p.getCursor();p.curOp.scrollToPos={from:O,to:O,margin:p.options.cursorScrollMargin}}function fa(p,O,H){(O!=null||H!=null)&&fi(p),O!=null&&(p.curOp.scrollLeft=O),H!=null&&(p.curOp.scrollTop=H)}function uo(p,O){fi(p),p.curOp.scrollToPos=O}function fi(p){var O=p.curOp.scrollToPos;if(O){p.curOp.scrollToPos=null;var H=On(p,O.from),j=On(p,O.to);Ta(p,H,j,O.margin)}}function Ta(p,O,H,j){var K=ii(p,{left:Math.min(O.left,H.left),top:Math.min(O.top,H.top)-j,right:Math.max(O.right,H.right),bottom:Math.max(O.bottom,H.bottom)+j});fa(p,K.scrollLeft,K.scrollTop)}function Ja(p,O){Math.abs(p.doc.scrollTop-O)<2||(w||rs(p,{top:O}),Da(p,O,!0),w&&rs(p),Ui(p,100))}function Da(p,O,H){O=Math.max(0,Math.min(p.display.scroller.scrollHeight-p.display.scroller.clientHeight,O)),!(p.display.scroller.scrollTop==O&&!H)&&(p.doc.scrollTop=O,p.display.scrollbars.setScrollTop(O),p.display.scroller.scrollTop!=O&&(p.display.scroller.scrollTop=O))}function Gn(p,O,H,j){O=Math.max(0,Math.min(O,p.display.scroller.scrollWidth-p.display.scroller.clientWidth)),!((H?O==p.doc.scrollLeft:Math.abs(p.doc.scrollLeft-O)<2)&&!j)&&(p.doc.scrollLeft=O,ps(p),p.display.scroller.scrollLeft!=O&&(p.display.scroller.scrollLeft=O),p.display.scrollbars.setScrollLeft(O))}function mi(p){var O=p.display,H=O.gutters.offsetWidth,j=Math.round(p.doc.height+Vr(p.display));return{clientHeight:O.scroller.clientHeight,viewHeight:O.wrapper.clientHeight,scrollWidth:O.scroller.scrollWidth,clientWidth:O.scroller.clientWidth,viewWidth:O.wrapper.clientWidth,barLeft:p.options.fixedGutter?H:0,docHeight:j,scrollHeight:j+vn(p)+O.barHeight,nativeBarWidth:O.nativeBarWidth,gutterWidth:H}}var no=function(O,H,j){this.cm=j;var K=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),me=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");K.tabIndex=me.tabIndex=-1,O(K),O(me),Vt(K,"scroll",function(){K.clientHeight&&H(K.scrollTop,"vertical")}),Vt(me,"scroll",function(){me.clientWidth&&H(me.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,C&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};no.prototype.update=function(p){var O=p.scrollWidth>p.clientWidth+1,H=p.scrollHeight>p.clientHeight+1,j=p.nativeBarWidth;if(H){this.vert.style.display="block",this.vert.style.bottom=O?j+"px":"0";var K=p.viewHeight-(O?j:0);this.vert.firstChild.style.height=Math.max(0,p.scrollHeight-p.clientHeight+K)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(O){this.horiz.style.display="block",this.horiz.style.right=H?j+"px":"0",this.horiz.style.left=p.barLeft+"px";var me=p.viewWidth-p.barLeft-(H?j:0);this.horiz.firstChild.style.width=Math.max(0,p.scrollWidth-p.clientWidth+me)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&p.clientHeight>0&&(j==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:H?j:0,bottom:O?j:0}},no.prototype.setScrollLeft=function(p){this.horiz.scrollLeft!=p&&(this.horiz.scrollLeft=p),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},no.prototype.setScrollTop=function(p){this.vert.scrollTop!=p&&(this.vert.scrollTop=p),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},no.prototype.zeroWidthHack=function(){var p=h&&!n?"12px":"18px";this.horiz.style.height=this.vert.style.width=p,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new ie,this.disableVert=new ie},no.prototype.enableZeroWidthBar=function(p,O,H){p.style.visibility="";function j(){var K=p.getBoundingClientRect(),me=H=="vert"?document.elementFromPoint(K.right-1,(K.top+K.bottom)/2):document.elementFromPoint((K.right+K.left)/2,K.bottom-1);me!=p?p.style.visibility="hidden":O.set(1e3,j)}O.set(1e3,j)},no.prototype.clear=function(){var p=this.horiz.parentNode;p.removeChild(this.horiz),p.removeChild(this.vert)};var bi=function(){};bi.prototype.update=function(){return{bottom:0,right:0}},bi.prototype.setScrollLeft=function(){},bi.prototype.setScrollTop=function(){},bi.prototype.clear=function(){};function Zn(p,O){O||(O=mi(p));var H=p.display.barWidth,j=p.display.barHeight;Qa(p,O);for(var K=0;K<4&&H!=p.display.barWidth||j!=p.display.barHeight;K++)H!=p.display.barWidth&&p.options.lineWrapping&&Ii(p),Qa(p,mi(p)),H=p.display.barWidth,j=p.display.barHeight}function Qa(p,O){var H=p.display,j=H.scrollbars.update(O);H.sizer.style.paddingRight=(H.barWidth=j.right)+"px",H.sizer.style.paddingBottom=(H.barHeight=j.bottom)+"px",H.heightForcer.style.borderBottom=j.bottom+"px solid transparent",j.right&&j.bottom?(H.scrollbarFiller.style.display="block",H.scrollbarFiller.style.height=j.bottom+"px",H.scrollbarFiller.style.width=j.right+"px"):H.scrollbarFiller.style.display="",j.bottom&&p.options.coverGutterNextToScrollbar&&p.options.fixedGutter?(H.gutterFiller.style.display="block",H.gutterFiller.style.height=j.bottom+"px",H.gutterFiller.style.width=O.gutterWidth+"px"):H.gutterFiller.style.display=""}var Wa={native:no,null:bi};function to(p){p.display.scrollbars&&(p.display.scrollbars.clear(),p.display.scrollbars.addClass&&b(p.display.wrapper,p.display.scrollbars.addClass)),p.display.scrollbars=new Wa[p.options.scrollbarStyle](function(O){p.display.wrapper.insertBefore(O,p.display.scrollbarFiller),Vt(O,"mousedown",function(){p.state.focused&&setTimeout(function(){return p.display.input.focus()},0)}),O.setAttribute("cm-not-content","true")},function(O,H){H=="horizontal"?Gn(p,O):Ja(p,O)},p),p.display.scrollbars.addClass&&N(p.display.wrapper,p.display.scrollbars.addClass)}var Ci=0;function Ao(p){p.curOp={cm:p,viewChanged:!1,startHeight:p.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:++Ci,markArrays:null},Lo(p.curOp)}function jo(p){var O=p.curOp;O&&io(O,function(H){for(var j=0;j<H.ops.length;j++)H.ops[j].cm.curOp=null;es(H)})}function es(p){for(var O=p.ops,H=0;H<O.length;H++)ts(O[H]);for(var j=0;j<O.length;j++)gs(O[j]);for(var K=0;K<O.length;K++)ls(O[K]);for(var me=0;me<O.length;me++)Ko(O[me]);for(var We=0;We<O.length;We++)Ps(O[We])}function ts(p){var O=p.cm,H=O.display;lo(O),p.updateMaxLine&&za(O),p.mustUpdate=p.viewChanged||p.forceUpdate||p.scrollTop!=null||p.scrollToPos&&(p.scrollToPos.from.line<H.viewFrom||p.scrollToPos.to.line>=H.viewTo)||H.maxLineChanged&&O.options.lineWrapping,p.update=p.mustUpdate&&new Pa(O,p.mustUpdate&&{top:p.scrollTop,ensure:p.scrollToPos},p.forceUpdate)}function gs(p){p.updatedDisplay=p.mustUpdate&&bo(p.cm,p.update)}function ls(p){var O=p.cm,H=O.display;p.updatedDisplay&&Ii(O),p.barMeasure=mi(O),H.maxLineChanged&&!O.options.lineWrapping&&(p.adjustWidthTo=dn(O,H.maxLine,H.maxLine.text.length).left+3,O.display.sizerWidth=p.adjustWidthTo,p.barMeasure.scrollWidth=Math.max(H.scroller.clientWidth,H.sizer.offsetLeft+p.adjustWidthTo+vn(O)+O.display.barWidth),p.maxScrollLeft=Math.max(0,H.sizer.offsetLeft+p.adjustWidthTo-An(O))),(p.updatedDisplay||p.selectionChanged)&&(p.preparedSelection=H.input.prepareSelection())}function Ko(p){var O=p.cm;p.adjustWidthTo!=null&&(O.display.sizer.style.minWidth=p.adjustWidthTo+"px",p.maxScrollLeft<O.doc.scrollLeft&&Gn(O,Math.min(O.display.scroller.scrollLeft,p.maxScrollLeft),!0),O.display.maxLineChanged=!1);var H=p.focus&&p.focus==U(_(O));p.preparedSelection&&O.display.input.showSelection(p.preparedSelection,H),(p.updatedDisplay||p.startHeight!=O.doc.height)&&Zn(O,p.barMeasure),p.updatedDisplay&&ds(O,p.barMeasure),p.selectionChanged&&Ki(O),O.state.focused&&p.updateInput&&O.display.input.reset(p.typing),H&&Gi(p.cm)}function Ps(p){var O=p.cm,H=O.display,j=O.doc;if(p.updatedDisplay&&So(O,p.update),H.wheelStartX!=null&&(p.scrollTop!=null||p.scrollLeft!=null||p.scrollToPos)&&(H.wheelStartX=H.wheelStartY=null),p.scrollTop!=null&&Da(O,p.scrollTop,p.forceScroll),p.scrollLeft!=null&&Gn(O,p.scrollLeft,!0,!0),p.scrollToPos){var K=eo(O,Nt(j,p.scrollToPos.from),Nt(j,p.scrollToPos.to),p.scrollToPos.margin);Zi(O,K)}var me=p.maybeHiddenMarkers,We=p.maybeUnhiddenMarkers;if(me)for(var ct=0;ct<me.length;++ct)me[ct].lines.length||Kt(me[ct],"hide");if(We)for(var Pt=0;Pt<We.length;++Pt)We[Pt].lines.length&&Kt(We[Pt],"unhide");H.wrapper.offsetHeight&&(j.scrollTop=O.display.scroller.scrollTop),p.changeObjs&&Kt(O,"changes",O,p.changeObjs),p.update&&p.update.finish()}function Fo(p,O){if(p.curOp)return O();Ao(p);try{return O()}finally{jo(p)}}function Ei(p,O){return function(){if(p.curOp)return O.apply(p,arguments);Ao(p);try{return O.apply(p,arguments)}finally{jo(p)}}}function Ar(p){return function(){if(this.curOp)return p.apply(this,arguments);Ao(this);try{return p.apply(this,arguments)}finally{jo(this)}}}function so(p){return function(){var O=this.cm;if(!O||O.curOp)return p.apply(this,arguments);Ao(O);try{return p.apply(this,arguments)}finally{jo(O)}}}function Ui(p,O){p.doc.highlightFrontier<p.display.viewTo&&p.state.highlight.set(O,Y(da,p))}function da(p){var O=p.doc;if(!(O.highlightFrontier>=p.display.viewTo)){var H=+new Date+p.options.workTime,j=ar(p,O.highlightFrontier),K=[];O.iter(j.line,Math.min(O.first+O.size,p.display.viewTo+500),function(me){if(j.line>=p.display.viewFrom){var We=me.styles,ct=me.text.length>p.options.maxHighlightLength?Ct(O.mode,j.state):null,Pt=it(p,me,j,!0);ct&&(j.state=ct),me.styles=Pt.styles;var kt=me.styleClasses,mr=Pt.classes;mr?me.styleClasses=mr:kt&&(me.styleClasses=null);for(var Pr=!We||We.length!=me.styles.length||kt!=mr&&(!kt||!mr||kt.bgClass!=mr.bgClass||kt.textClass!=mr.textClass),zr=0;!Pr&&zr<We.length;++zr)Pr=We[zr]!=me.styles[zr];Pr&&K.push(j.line),me.stateAfter=j.save(),j.nextLine()}else me.text.length<=p.options.maxHighlightLength&&dr(p,me.text,j),me.stateAfter=j.line%5==0?j.save():null,j.nextLine();if(+new Date>H)return Ui(p,p.options.workDelay),!0}),O.highlightFrontier=j.line,O.modeFrontier=Math.max(O.modeFrontier,j.line),K.length&&Fo(p,function(){for(var me=0;me<K.length;me++)sa(p,K[me],"text")})}}var Pa=function(O,H,j){var K=O.display;this.viewport=H,this.visible=Ro(K,O.doc,H),this.editorIsHidden=!K.wrapper.offsetWidth,this.wrapperHeight=K.wrapper.clientHeight,this.wrapperWidth=K.wrapper.clientWidth,this.oldDisplayWidth=An(O),this.force=j,this.dims=Ga(O),this.events=[]};Pa.prototype.signal=function(p,O){q(p,O)&&this.events.push(arguments)},Pa.prototype.finish=function(){for(var p=0;p<this.events.length;p++)Kt.apply(null,this.events[p])};function lo(p){var O=p.display;!O.scrollbarsClipped&&O.scroller.offsetWidth&&(O.nativeBarWidth=O.scroller.offsetWidth-O.scroller.clientWidth,O.heightForcer.style.height=vn(p)+"px",O.sizer.style.marginBottom=-O.nativeBarWidth+"px",O.sizer.style.borderRightWidth=vn(p)+"px",O.scrollbarsClipped=!0)}function go(p){if(p.hasFocus())return null;var O=U(_(p));if(!O||!L(p.display.lineDiv,O))return null;var H={activeElt:O};if(window.getSelection){var j=J(p).getSelection();j.anchorNode&&j.extend&&L(p.display.lineDiv,j.anchorNode)&&(H.anchorNode=j.anchorNode,H.anchorOffset=j.anchorOffset,H.focusNode=j.focusNode,H.focusOffset=j.focusOffset)}return H}function Po(p){if(!(!p||!p.activeElt||p.activeElt==U(p.activeElt.ownerDocument))&&(p.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(p.activeElt.nodeName)&&p.anchorNode&&L(document.body,p.anchorNode)&&L(document.body,p.focusNode))){var O=p.activeElt.ownerDocument,H=O.defaultView.getSelection(),j=O.createRange();j.setEnd(p.anchorNode,p.anchorOffset),j.collapse(!1),H.removeAllRanges(),H.addRange(j),H.extend(p.focusNode,p.focusOffset)}}function bo(p,O){var H=p.display,j=p.doc;if(O.editorIsHidden)return wa(p),!1;if(!O.force&&O.visible.from>=H.viewFrom&&O.visible.to<=H.viewTo&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo)&&H.renderedView==H.view&&ja(p)==0)return!1;$o(p)&&(wa(p),O.dims=Ga(p));var K=j.first+j.size,me=Math.max(O.visible.from-p.options.viewportMargin,j.first),We=Math.min(K,O.visible.to+p.options.viewportMargin);H.viewFrom<me&&me-H.viewFrom<20&&(me=Math.max(j.first,H.viewFrom)),H.viewTo>We&&H.viewTo-We<20&&(We=Math.min(K,H.viewTo)),In&&(me=jn(p.doc,me),We=Xn(p.doc,We));var ct=me!=H.viewFrom||We!=H.viewTo||H.lastWrapHeight!=O.wrapperHeight||H.lastWrapWidth!=O.wrapperWidth;Ka(p,me,We),H.viewOffset=Ia(Je(p.doc,H.viewFrom)),p.display.mover.style.top=H.viewOffset+"px";var Pt=ja(p);if(!ct&&Pt==0&&!O.force&&H.renderedView==H.view&&(H.updateLineNumbers==null||H.updateLineNumbers>=H.viewTo))return!1;var kt=go(p);return Pt>4&&(H.lineDiv.style.display="none"),is(p,H.updateLineNumbers,O.dims),Pt>4&&(H.lineDiv.style.display=""),H.renderedView=H.view,Po(kt),S(H.cursorDiv),S(H.selectionDiv),H.gutters.style.height=H.sizer.style.minHeight=0,ct&&(H.lastWrapHeight=O.wrapperHeight,H.lastWrapWidth=O.wrapperWidth,Ui(p,400)),H.updateLineNumbers=null,!0}function So(p,O){for(var H=O.viewport,j=!0;;j=!1){if(!j||!p.options.lineWrapping||O.oldDisplayWidth==An(p)){if(H&&H.top!=null&&(H={top:Math.min(p.doc.height+Vr(p.display)-Fn(p),H.top)}),O.visible=Ro(p.display,p.doc,H),O.visible.from>=p.display.viewFrom&&O.visible.to<=p.display.viewTo)break}else j&&(O.visible=Ro(p.display,p.doc,H));if(!bo(p,O))break;Ii(p);var K=mi(p);$a(p),Zn(p,K),ds(p,K),O.force=!1}O.signal(p,"update",p),(p.display.viewFrom!=p.display.reportedViewFrom||p.display.viewTo!=p.display.reportedViewTo)&&(O.signal(p,"viewportChange",p,p.display.viewFrom,p.display.viewTo),p.display.reportedViewFrom=p.display.viewFrom,p.display.reportedViewTo=p.display.viewTo)}function rs(p,O){var H=new Pa(p,O);if(bo(p,H)){Ii(p),So(p,H);var j=mi(p);$a(p),Zn(p,j),ds(p,j),H.finish()}}function is(p,O,H){var j=p.display,K=p.options.lineNumbers,me=j.lineDiv,We=me.firstChild;function ct(mn){var Un=mn.nextSibling;return t&&h&&p.display.currentWheelTarget==mn?mn.style.display="none":mn.parentNode.removeChild(mn),Un}for(var Pt=j.view,kt=j.viewFrom,mr=0;mr<Pt.length;mr++){var Pr=Pt[mr];if(!Pr.hidden)if(!Pr.node||Pr.node.parentNode!=me){var zr=ji(p,Pr,kt,H);me.insertBefore(zr,We)}else{for(;We!=Pr.node;)We=ct(We);var $r=K&&O!=null&&O<=kt&&Pr.lineNumber;Pr.changes&&(fe(Pr.changes,"gutter")>-1&&($r=!1),Io(p,Pr,kt,H)),$r&&(S(Pr.lineNumber),Pr.lineNumber.appendChild(document.createTextNode(pt(p.options,kt)))),We=Pr.node.nextSibling}kt+=Pr.size}for(;We;)We=ct(We)}function Is(p){var O=p.gutters.offsetWidth;p.sizer.style.marginLeft=O+"px",xo(p,"gutterChanged",p)}function ds(p,O){p.display.sizer.style.minHeight=O.docHeight+"px",p.display.heightForcer.style.top=O.docHeight+"px",p.display.gutters.style.height=O.docHeight+p.display.barHeight+vn(p)+"px"}function ps(p){var O=p.display,H=O.view;if(!(!O.alignWidgets&&(!O.gutters.firstChild||!p.options.fixedGutter))){for(var j=vi(O)-O.scroller.scrollLeft+p.doc.scrollLeft,K=O.gutters.offsetWidth,me=j+"px",We=0;We<H.length;We++)if(!H[We].hidden){p.options.fixedGutter&&(H[We].gutter&&(H[We].gutter.style.left=me),H[We].gutterBackground&&(H[We].gutterBackground.style.left=me));var ct=H[We].alignable;if(ct)for(var Pt=0;Pt<ct.length;Pt++)ct[Pt].style.left=me}p.options.fixedGutter&&(O.gutters.style.left=j+K+"px")}}function $o(p){if(!p.options.lineNumbers)return!1;var O=p.doc,H=pt(p.options,O.first+O.size-1),j=p.display;if(H.length!=j.lineNumChars){var K=j.measure.appendChild(M("div",[M("div",H)],"CodeMirror-linenumber CodeMirror-gutter-elt")),me=K.firstChild.offsetWidth,We=K.offsetWidth-me;return j.lineGutter.style.width="",j.lineNumInnerWidth=Math.max(me,j.lineGutter.offsetWidth-We)+1,j.lineNumWidth=j.lineNumInnerWidth+We,j.lineNumChars=j.lineNumInnerWidth?H.length:-1,j.lineGutter.style.width=j.lineNumWidth+"px",Is(p.display),!0}return!1}function ms(p,O){for(var H=[],j=!1,K=0;K<p.length;K++){var me=p[K],We=null;if(typeof me!="string"&&(We=me.style,me=me.className),me=="CodeMirror-linenumbers")if(O)j=!0;else continue;H.push({className:me,style:We})}return O&&!j&&H.push({className:"CodeMirror-linenumbers",style:null}),H}function os(p){var O=p.gutters,H=p.gutterSpecs;S(O),p.lineGutter=null;for(var j=0;j<H.length;++j){var K=H[j],me=K.className,We=K.style,ct=O.appendChild(M("div",null,"CodeMirror-gutter "+me));We&&(ct.style.cssText=We),me=="CodeMirror-linenumbers"&&(p.lineGutter=ct,ct.style.width=(p.lineNumWidth||1)+"px")}O.style.display=H.length?"":"none",Is(p)}function _o(p){os(p.display),_n(p),ps(p)}function Fs(p,O,H,j){var K=this;this.input=H,K.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),K.scrollbarFiller.setAttribute("cm-not-content","true"),K.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),K.gutterFiller.setAttribute("cm-not-content","true"),K.lineDiv=R("div",null,"CodeMirror-code"),K.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),K.cursorDiv=M("div",null,"CodeMirror-cursors"),K.measure=M("div",null,"CodeMirror-measure"),K.lineMeasure=M("div",null,"CodeMirror-measure"),K.lineSpace=R("div",[K.measure,K.lineMeasure,K.selectionDiv,K.cursorDiv,K.lineDiv],null,"position: relative; outline: none");var me=R("div",[K.lineSpace],"CodeMirror-lines");K.mover=M("div",[me],null,"position: relative"),K.sizer=M("div",[K.mover],"CodeMirror-sizer"),K.sizerWidth=null,K.heightForcer=M("div",null,null,"position: absolute; height: "+Ce+"px; width: 1px;"),K.gutters=M("div",null,"CodeMirror-gutters"),K.lineGutter=null,K.scroller=M("div",[K.sizer,K.heightForcer,K.gutters],"CodeMirror-scroll"),K.scroller.setAttribute("tabIndex","-1"),K.wrapper=M("div",[K.scrollbarFiller,K.gutterFiller,K.scroller],"CodeMirror"),s&&o>=105&&(K.wrapper.style.clipPath="inset(0px)"),K.wrapper.setAttribute("translate","no"),C&&f<8&&(K.gutters.style.zIndex=-1,K.scroller.style.paddingRight=0),!t&&!(w&&d)&&(K.scroller.draggable=!0),p&&(p.appendChild?p.appendChild(K.wrapper):p(K.wrapper)),K.viewFrom=K.viewTo=O.first,K.reportedViewFrom=K.reportedViewTo=O.first,K.view=[],K.renderedView=null,K.externalMeasured=null,K.viewOffset=0,K.lastWrapHeight=K.lastWrapWidth=0,K.updateLineNumbers=null,K.nativeBarWidth=K.barHeight=K.barWidth=0,K.scrollbarsClipped=!1,K.lineNumWidth=K.lineNumInnerWidth=K.lineNumChars=null,K.alignWidgets=!1,K.cachedCharWidth=K.cachedTextHeight=K.cachedPaddingH=null,K.maxLine=null,K.maxLineLength=0,K.maxLineChanged=!1,K.wheelDX=K.wheelDY=K.wheelStartX=K.wheelStartY=null,K.shift=!1,K.selForContextMenu=null,K.activeTouch=null,K.gutterSpecs=ms(j.gutters,j.lineNumbers),os(K),H.init(K)}var ss=0,us=null;C?us=-.53:w?us=15:s?us=-.7:u&&(us=-1/3);function Bt(p){var O=p.wheelDeltaX,H=p.wheelDeltaY;return O==null&&p.detail&&p.axis==p.HORIZONTAL_AXIS&&(O=p.detail),H==null&&p.detail&&p.axis==p.VERTICAL_AXIS?H=p.detail:H==null&&(H=p.wheelDelta),{x:O,y:H}}function X(p){var O=Bt(p);return O.x*=us,O.y*=us,O}function re(p,O){s&&o==102&&(p.display.chromeScrollHack==null?p.display.sizer.style.pointerEvents="none":clearTimeout(p.display.chromeScrollHack),p.display.chromeScrollHack=setTimeout(function(){p.display.chromeScrollHack=null,p.display.sizer.style.pointerEvents=""},100));var H=Bt(O),j=H.x,K=H.y,me=us;O.deltaMode===0&&(j=O.deltaX,K=O.deltaY,me=1);var We=p.display,ct=We.scroller,Pt=ct.scrollWidth>ct.clientWidth,kt=ct.scrollHeight>ct.clientHeight;if(!!(j&&Pt||K&&kt)){if(K&&h&&t){e:for(var mr=O.target,Pr=We.view;mr!=ct;mr=mr.parentNode)for(var zr=0;zr<Pr.length;zr++)if(Pr[zr].node==mr){p.display.currentWheelTarget=mr;break e}}if(j&&!w&&!r&&me!=null){K&&kt&&Ja(p,Math.max(0,ct.scrollTop+K*me)),Gn(p,Math.max(0,ct.scrollLeft+j*me)),(!K||K&&kt)&&Me(O),We.wheelStartX=null;return}if(K&&me!=null){var $r=K*me,mn=p.doc.scrollTop,Un=mn+We.wrapper.clientHeight;$r<0?mn=Math.max(0,mn+$r-50):Un=Math.min(p.doc.height,Un+$r+50),rs(p,{top:mn,bottom:Un})}ss<20&&O.deltaMode!==0&&(We.wheelStartX==null?(We.wheelStartX=ct.scrollLeft,We.wheelStartY=ct.scrollTop,We.wheelDX=j,We.wheelDY=K,setTimeout(function(){if(We.wheelStartX!=null){var ra=ct.scrollLeft-We.wheelStartX,ia=ct.scrollTop-We.wheelStartY,xa=ia&&We.wheelDY&&ia/We.wheelDY||ra&&We.wheelDX&&ra/We.wheelDX;We.wheelStartX=We.wheelStartY=null,!!xa&&(us=(us*ss+xa)/(ss+1),++ss)}},200)):(We.wheelDX+=j,We.wheelDY+=K))}}var le=function(O,H){this.ranges=O,this.primIndex=H};le.prototype.primary=function(){return this.ranges[this.primIndex]},le.prototype.equals=function(p){if(p==this)return!0;if(p.primIndex!=this.primIndex||p.ranges.length!=this.ranges.length)return!1;for(var O=0;O<this.ranges.length;O++){var H=this.ranges[O],j=p.ranges[O];if(!Jt(H.anchor,j.anchor)||!Jt(H.head,j.head))return!1}return!0},le.prototype.deepCopy=function(){for(var p=[],O=0;O<this.ranges.length;O++)p[O]=new we(or(this.ranges[O].anchor),or(this.ranges[O].head));return new le(p,this.primIndex)},le.prototype.somethingSelected=function(){for(var p=0;p<this.ranges.length;p++)if(!this.ranges[p].empty())return!0;return!1},le.prototype.contains=function(p,O){O||(O=p);for(var H=0;H<this.ranges.length;H++){var j=this.ranges[H];if(mt(O,j.from())>=0&&mt(p,j.to())<=0)return H}return-1};var we=function(O,H){this.anchor=O,this.head=H};we.prototype.from=function(){return ht(this.anchor,this.head)},we.prototype.to=function(){return ut(this.anchor,this.head)},we.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Xe(p,O,H){var j=p&&p.options.selectionsMayTouch,K=O[H];O.sort(function(zr,$r){return mt(zr.from(),$r.from())}),H=fe(O,K);for(var me=1;me<O.length;me++){var We=O[me],ct=O[me-1],Pt=mt(ct.to(),We.from());if(j&&!We.empty()?Pt>0:Pt>=0){var kt=ht(ct.from(),We.from()),mr=ut(ct.to(),We.to()),Pr=ct.empty()?We.from()==We.head:ct.from()==ct.head;me<=H&&--H,O.splice(--me,2,new we(Pr?mr:kt,Pr?kt:mr))}}return new le(O,H)}function xt(p,O){return new le([new we(p,O||p)],0)}function tr(p){return p.text?Tt(p.from.line+p.text.length-1,Re(p.text).length+(p.text.length==1?p.from.ch:0)):p.to}function ur(p,O){if(mt(p,O.from)<0)return p;if(mt(p,O.to)<=0)return tr(O);var H=p.line+O.text.length-(O.to.line-O.from.line)-1,j=p.ch;return p.line==O.to.line&&(j+=tr(O).ch-O.to.ch),Tt(H,j)}function br(p,O){for(var H=[],j=0;j<p.sel.ranges.length;j++){var K=p.sel.ranges[j];H.push(new we(ur(K.anchor,O),ur(K.head,O)))}return Xe(p.cm,H,p.sel.primIndex)}function Qr(p,O,H){return p.line==O.line?Tt(H.line,p.ch-O.ch+H.ch):Tt(H.line+(p.line-O.line),p.ch)}function an(p,O,H){for(var j=[],K=Tt(p.first,0),me=K,We=0;We<O.length;We++){var ct=O[We],Pt=Qr(ct.from,K,me),kt=Qr(tr(ct),K,me);if(K=ct.to,me=kt,H=="around"){var mr=p.sel.ranges[We],Pr=mt(mr.head,mr.anchor)<0;j[We]=new we(Pr?kt:Pt,Pr?Pt:kt)}else j[We]=new we(Pt,Pt)}return new le(j,p.sel.primIndex)}function yn(p){p.doc.mode=tt(p.options,p.doc.modeOption),Ln(p)}function Ln(p){p.doc.iter(function(O){O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null)}),p.doc.modeFrontier=p.doc.highlightFrontier=p.doc.first,Ui(p,100),p.state.modeGen++,p.curOp&&_n(p)}function Rn(p,O){return O.from.ch==0&&O.to.ch==0&&Re(O.text)==""&&(!p.cm||p.cm.options.wholeLineUpdateBefore)}function ma(p,O,H,j){function K(xa){return H?H[xa]:null}function me(xa,Ea,Ua){qa(xa,Ea,Ua,j),xo(xa,"change",xa,O)}function We(xa,Ea){for(var Ua=[],Bi=xa;Bi<Ea;++Bi)Ua.push(new ci(kt[Bi],K(Bi),j));return Ua}var ct=O.from,Pt=O.to,kt=O.text,mr=Je(p,ct.line),Pr=Je(p,Pt.line),zr=Re(kt),$r=K(kt.length-1),mn=Pt.line-ct.line;if(O.full)p.insert(0,We(0,kt.length)),p.remove(kt.length,p.size-kt.length);else if(Rn(p,O)){var Un=We(0,kt.length-1);me(Pr,Pr.text,$r),mn&&p.remove(ct.line,mn),Un.length&&p.insert(ct.line,Un)}else if(mr==Pr)if(kt.length==1)me(mr,mr.text.slice(0,ct.ch)+zr+mr.text.slice(Pt.ch),$r);else{var ra=We(1,kt.length-1);ra.push(new ci(zr+mr.text.slice(Pt.ch),$r,j)),me(mr,mr.text.slice(0,ct.ch)+kt[0],K(0)),p.insert(ct.line+1,ra)}else if(kt.length==1)me(mr,mr.text.slice(0,ct.ch)+kt[0]+Pr.text.slice(Pt.ch),K(0)),p.remove(ct.line+1,mn);else{me(mr,mr.text.slice(0,ct.ch)+kt[0],K(0)),me(Pr,zr+Pr.text.slice(Pt.ch),$r);var ia=We(1,kt.length-1);mn>1&&p.remove(ct.line+1,mn-1),p.insert(ct.line+1,ia)}xo(p,"change",p,O)}function Ha(p,O,H){function j(K,me,We){if(K.linked)for(var ct=0;ct<K.linked.length;++ct){var Pt=K.linked[ct];if(Pt.doc!=me){var kt=We&&Pt.sharedHist;H&&!kt||(O(Pt.doc,kt),j(Pt.doc,K,kt))}}}j(p,null,!0)}function wi(p,O){if(O.cm)throw new Error("This document is already in use.");p.doc=O,O.cm=p,Jn(p),yn(p),Di(p),p.options.direction=O.direction,p.options.lineWrapping||za(p),p.options.mode=O.modeOption,_n(p)}function Di(p){(p.doc.direction=="rtl"?N:b)(p.display.lineDiv,"CodeMirror-rtl")}function Oi(p){Fo(p,function(){Di(p),_n(p)})}function po(p){this.done=[],this.undone=[],this.undoDepth=p?p.undoDepth:Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=p?p.maxGeneration:1}function mo(p,O){var H={from:or(O.from),to:tr(O),text:Yt(p,O.from,O.to)};return va(p,H,O.from.line,O.to.line+1),Ha(p,function(j){return va(j,H,O.from.line,O.to.line+1)},!0),H}function Eo(p){for(;p.length;){var O=Re(p);if(O.ranges)p.pop();else break}}function Bo(p,O){if(O)return Eo(p.done),Re(p.done);if(p.done.length&&!Re(p.done).ranges)return Re(p.done);if(p.done.length>1&&!p.done[p.done.length-2].ranges)return p.done.pop(),Re(p.done)}function No(p,O,H,j){var K=p.history;K.undone.length=0;var me=+new Date,We,ct;if((K.lastOp==j||K.lastOrigin==O.origin&&O.origin&&(O.origin.charAt(0)=="+"&&K.lastModTime>me-(p.cm?p.cm.options.historyEventDelay:500)||O.origin.charAt(0)=="*"))&&(We=Bo(K,K.lastOp==j)))ct=Re(We.changes),mt(O.from,O.to)==0&&mt(O.from,ct.to)==0?ct.to=tr(O):We.changes.push(mo(p,O));else{var Pt=Re(K.done);for((!Pt||!Pt.ranges)&&ro(p.sel,K.done),We={changes:[mo(p,O)],generation:K.generation},K.done.push(We);K.done.length>K.undoDepth;)K.done.shift(),K.done[0].ranges||K.done.shift()}K.done.push(H),K.generation=++K.maxGeneration,K.lastModTime=K.lastSelTime=me,K.lastOp=K.lastSelOp=j,K.lastOrigin=K.lastSelOrigin=O.origin,ct||Kt(p,"historyAdded")}function Go(p,O,H,j){var K=O.charAt(0);return K=="*"||K=="+"&&H.ranges.length==j.ranges.length&&H.somethingSelected()==j.somethingSelected()&&new Date-p.history.lastSelTime<=(p.cm?p.cm.options.historyEventDelay:500)}function Yo(p,O,H,j){var K=p.history,me=j&&j.origin;H==K.lastSelOp||me&&K.lastSelOrigin==me&&(K.lastModTime==K.lastSelTime&&K.lastOrigin==me||Go(p,me,Re(K.done),O))?K.done[K.done.length-1]=O:ro(O,K.done),K.lastSelTime=+new Date,K.lastSelOrigin=me,K.lastSelOp=H,j&&j.clearRedo!==!1&&Eo(K.undone)}function ro(p,O){var H=Re(O);H&&H.ranges&&H.equals(p)||O.push(p)}function va(p,O,H,j){var K=O["spans_"+p.id],me=0;p.iter(Math.max(p.first,H),Math.min(p.first+p.size,j),function(We){We.markedSpans&&((K||(K=O["spans_"+p.id]={}))[me]=We.markedSpans),++me})}function _s(p){if(!p)return null;for(var O,H=0;H<p.length;++H)p[H].marker.explicitlyCleared?O||(O=p.slice(0,H)):O&&O.push(p[H]);return O?O.length?O:null:p}function As(p,O){var H=O["spans_"+p.id];if(!H)return null;for(var j=[],K=0;K<O.text.length;++K)j.push(_s(H[K]));return j}function Jo(p,O){var H=As(p,O),j=Pn(p,O);if(!H)return j;if(!j)return H;for(var K=0;K<H.length;++K){var me=H[K],We=j[K];if(me&&We){e:for(var ct=0;ct<We.length;++ct){for(var Pt=We[ct],kt=0;kt<me.length;++kt)if(me[kt].marker==Pt.marker)continue e;me.push(Pt)}}else We&&(H[K]=We)}return H}function ni(p,O,H){for(var j=[],K=0;K<p.length;++K){var me=p[K];if(me.ranges){j.push(H?le.prototype.deepCopy.call(me):me);continue}var We=me.changes,ct=[];j.push({changes:ct});for(var Pt=0;Pt<We.length;++Pt){var kt=We[Pt],mr=void 0;if(ct.push({from:kt.from,to:kt.to,text:kt.text}),O)for(var Pr in kt)(mr=Pr.match(/^spans_(\d+)$/))&&fe(O,Number(mr[1]))>-1&&(Re(ct)[Pr]=kt[Pr],delete kt[Pr])}}return j}function Si(p,O,H,j){if(j){var K=p.anchor;if(H){var me=mt(O,K)<0;me!=mt(H,K)<0?(K=O,O=H):me!=mt(O,H)<0&&(O=H)}return new we(K,O)}else return new we(H||O,O)}function Uo(p,O,H,j,K){K==null&&(K=p.cm&&(p.cm.display.shift||p.extend)),Oo(p,new le([Si(p.sel.primary(),O,H,K)],0),j)}function ns(p,O,H){for(var j=[],K=p.cm&&(p.cm.display.shift||p.extend),me=0;me<p.sel.ranges.length;me++)j[me]=Si(p.sel.ranges[me],O[me],null,K);var We=Xe(p.cm,j,p.sel.primIndex);Oo(p,We,H)}function Ds(p,O,H,j){var K=p.sel.ranges.slice(0);K[O]=H,Oo(p,Xe(p.cm,K,p.sel.primIndex),j)}function cs(p,O,H,j){Oo(p,xt(O,H),j)}function Ms(p,O,H){var j={ranges:O.ranges,update:function(me){this.ranges=[];for(var We=0;We<me.length;We++)this.ranges[We]=new we(Nt(p,me[We].anchor),Nt(p,me[We].head))},origin:H&&H.origin};return Kt(p,"beforeSelectionChange",p,j),p.cm&&Kt(p.cm,"beforeSelectionChange",p.cm,j),j.ranges!=O.ranges?Xe(p.cm,j.ranges,j.ranges.length-1):O}function js(p,O,H){var j=p.history.done,K=Re(j);K&&K.ranges?(j[j.length-1]=O,Ns(p,O,H)):Oo(p,O,H)}function Oo(p,O,H){Ns(p,O,H),Yo(p,p.sel,p.cm?p.cm.curOp.id:NaN,H)}function Ns(p,O,H){(q(p,"beforeSelectionChange")||p.cm&&q(p.cm,"beforeSelectionChange"))&&(O=Ms(p,O,H));var j=H&&H.bias||(mt(O.primary().head,p.sel.primary().head)<0?-1:1);sl(p,el(p,O,j,!0)),!(H&&H.scroll===!1)&&p.cm&&p.cm.getOption("readOnly")!="nocursor"&&fo(p.cm)}function sl(p,O){O.equals(p.sel)||(p.sel=O,p.cm&&(p.cm.curOp.updateInput=1,p.cm.curOp.selectionChanged=!0,Ye(p.cm)),xo(p,"cursorActivity",p))}function xl(p){sl(p,el(p,p.sel,null,!1))}function el(p,O,H,j){for(var K,me=0;me<O.ranges.length;me++){var We=O.ranges[me],ct=O.ranges.length==p.sel.ranges.length&&p.sel.ranges[me],Pt=Xs(p,We.anchor,ct&&ct.anchor,H,j),kt=We.head==We.anchor?Pt:Xs(p,We.head,ct&&ct.head,H,j);(K||Pt!=We.anchor||kt!=We.head)&&(K||(K=O.ranges.slice(0,me)),K[me]=new we(Pt,kt))}return K?Xe(p.cm,K,O.primIndex):O}function Ys(p,O,H,j,K){var me=Je(p,O.line);if(me.markedSpans)for(var We=0;We<me.markedSpans.length;++We){var ct=me.markedSpans[We],Pt=ct.marker,kt="selectLeft"in Pt?!Pt.selectLeft:Pt.inclusiveLeft,mr="selectRight"in Pt?!Pt.selectRight:Pt.inclusiveRight;if((ct.from==null||(kt?ct.from<=O.ch:ct.from<O.ch))&&(ct.to==null||(mr?ct.to>=O.ch:ct.to>O.ch))){if(K&&(Kt(Pt,"beforeCursorEnter"),Pt.explicitlyCleared))if(me.markedSpans){--We;continue}else break;if(!Pt.atomic)continue;if(H){var Pr=Pt.find(j<0?1:-1),zr=void 0;if((j<0?mr:kt)&&(Pr=bl(p,Pr,-j,Pr&&Pr.line==O.line?me:null)),Pr&&Pr.line==O.line&&(zr=mt(Pr,H))&&(j<0?zr<0:zr>0))return Ys(p,Pr,O,j,K)}var $r=Pt.find(j<0?-1:1);return(j<0?kt:mr)&&($r=bl(p,$r,j,$r.line==O.line?me:null)),$r?Ys(p,$r,O,j,K):null}}return O}function Xs(p,O,H,j,K){var me=j||1,We=Ys(p,O,H,me,K)||!K&&Ys(p,O,H,me,!0)||Ys(p,O,H,-me,K)||!K&&Ys(p,O,H,-me,!0);return We||(p.cantEdit=!0,Tt(p.first,0))}function bl(p,O,H,j){return H<0&&O.ch==0?O.line>p.first?Nt(p,Tt(O.line-1)):null:H>0&&O.ch==(j||Je(p,O.line)).text.length?O.line<p.first+p.size-1?Tt(O.line+1,0):null:new Tt(O.line,O.ch+H)}function al(p){p.setSelection(Tt(p.firstLine(),0),Tt(p.lastLine()),de)}function Xl(p,O,H){var j={canceled:!1,from:O.from,to:O.to,text:O.text,origin:O.origin,cancel:function(){return j.canceled=!0}};return H&&(j.update=function(K,me,We,ct){K&&(j.from=Nt(p,K)),me&&(j.to=Nt(p,me)),We&&(j.text=We),ct!==void 0&&(j.origin=ct)}),Kt(p,"beforeChange",p,j),p.cm&&Kt(p.cm,"beforeChange",p.cm,j),j.canceled?(p.cm&&(p.cm.curOp.updateInput=2),null):{from:j.from,to:j.to,text:j.text,origin:j.origin}}function ll(p,O,H){if(p.cm){if(!p.cm.curOp)return Ei(p.cm,ll)(p,O,H);if(p.cm.state.suppressEdits)return}if(!((q(p,"beforeChange")||p.cm&&q(p.cm,"beforeChange"))&&(O=Xl(p,O,!0),!O))){var j=xn&&!H&&Oa(p,O.from,O.to);if(j)for(var K=j.length-1;K>=0;--K)Ul(p,{from:j[K].from,to:j[K].to,text:K?[""]:O.text,origin:O.origin});else Ul(p,O)}}function Ul(p,O){if(!(O.text.length==1&&O.text[0]==""&&mt(O.from,O.to)==0)){var H=br(p,O);No(p,O,H,p.cm?p.cm.curOp.id:NaN),cl(p,O,H,Pn(p,O));var j=[];Ha(p,function(K,me){!me&&fe(j,K.history)==-1&&(wl(K.history,O),j.push(K.history)),cl(K,O,null,Pn(K,O))})}}function ul(p,O,H){var j=p.cm&&p.cm.state.suppressEdits;if(!(j&&!H)){for(var K=p.history,me,We=p.sel,ct=O=="undo"?K.done:K.undone,Pt=O=="undo"?K.undone:K.done,kt=0;kt<ct.length&&(me=ct[kt],!(H?me.ranges&&!me.equals(p.sel):!me.ranges));kt++);if(kt!=ct.length){for(K.lastOrigin=K.lastSelOrigin=null;;)if(me=ct.pop(),me.ranges){if(ro(me,Pt),H&&!me.equals(p.sel)){Oo(p,me,{clearRedo:!1});return}We=me}else if(j){ct.push(me);return}else break;var mr=[];ro(We,Pt),Pt.push({changes:mr,generation:K.generation}),K.generation=me.generation||++K.maxGeneration;for(var Pr=q(p,"beforeChange")||p.cm&&q(p.cm,"beforeChange"),zr=function(ra){var ia=me.changes[ra];if(ia.origin=O,Pr&&!Xl(p,ia,!1))return ct.length=0,{};mr.push(mo(p,ia));var xa=ra?br(p,ia):Re(ct);cl(p,ia,xa,Jo(p,ia)),!ra&&p.cm&&p.cm.scrollIntoView({from:ia.from,to:tr(ia)});var Ea=[];Ha(p,function(Ua,Bi){!Bi&&fe(Ea,Ua.history)==-1&&(wl(Ua.history,ia),Ea.push(Ua.history)),cl(Ua,ia,null,Jo(Ua,ia))})},$r=me.changes.length-1;$r>=0;--$r){var mn=zr($r);if(mn)return mn.v}}}}function Js(p,O){if(O!=0&&(p.first+=O,p.sel=new le(nt(p.sel.ranges,function(K){return new we(Tt(K.anchor.line+O,K.anchor.ch),Tt(K.head.line+O,K.head.ch))}),p.sel.primIndex),p.cm)){_n(p.cm,p.first,p.first-O,O);for(var H=p.cm.display,j=H.viewFrom;j<H.viewTo;j++)sa(p.cm,j,"gutter")}}function cl(p,O,H,j){if(p.cm&&!p.cm.curOp)return Ei(p.cm,cl)(p,O,H,j);if(O.to.line<p.first){Js(p,O.text.length-1-(O.to.line-O.from.line));return}if(!(O.from.line>p.lastLine())){if(O.from.line<p.first){var K=O.text.length-1-(p.first-O.from.line);Js(p,K),O={from:Tt(p.first,0),to:Tt(O.to.line+K,O.to.ch),text:[Re(O.text)],origin:O.origin}}var me=p.lastLine();O.to.line>me&&(O={from:O.from,to:Tt(me,Je(p,me).text.length),text:[O.text[0]],origin:O.origin}),O.removed=Yt(p,O.from,O.to),H||(H=br(p,O)),p.cm?$l(p.cm,O,j):ma(p,O,j),Ns(p,H,de),p.cantEdit&&Xs(p,Tt(p.firstLine(),0))&&(p.cantEdit=!1)}}function $l(p,O,H){var j=p.doc,K=p.display,me=O.from,We=O.to,ct=!1,Pt=me.line;p.options.lineWrapping||(Pt=ir(wr(Je(j,me.line))),j.iter(Pt,We.line+1,function($r){if($r==K.maxLine)return ct=!0,!0})),j.sel.contains(O.from,O.to)>-1&&Ye(p),ma(j,O,H,Xa(p)),p.options.lineWrapping||(j.iter(Pt,me.line+O.text.length,function($r){var mn=aa($r);mn>K.maxLineLength&&(K.maxLine=$r,K.maxLineLength=mn,K.maxLineChanged=!0,ct=!1)}),ct&&(p.curOp.updateMaxLine=!0)),zn(j,me.line),Ui(p,400);var kt=O.text.length-(We.line-me.line)-1;O.full?_n(p):me.line==We.line&&O.text.length==1&&!Rn(p.doc,O)?sa(p,me.line,"text"):_n(p,me.line,We.line+1,kt);var mr=q(p,"changes"),Pr=q(p,"change");if(Pr||mr){var zr={from:me,to:We,text:O.text,removed:O.removed,origin:O.origin};Pr&&xo(p,"change",p,zr),mr&&(p.curOp.changeObjs||(p.curOp.changeObjs=[])).push(zr)}p.display.selForContextMenu=null}function fl(p,O,H,j,K){var me;j||(j=H),mt(j,H)<0&&(me=[j,H],H=me[0],j=me[1]),typeof O=="string"&&(O=p.splitLines(O)),ll(p,{from:H,to:j,text:O,origin:K})}function Jl(p,O,H,j){H<p.line?p.line+=j:O<p.line&&(p.line=O,p.ch=0)}function Cl(p,O,H,j){for(var K=0;K<p.length;++K){var me=p[K],We=!0;if(me.ranges){me.copied||(me=p[K]=me.deepCopy(),me.copied=!0);for(var ct=0;ct<me.ranges.length;ct++)Jl(me.ranges[ct].anchor,O,H,j),Jl(me.ranges[ct].head,O,H,j);continue}for(var Pt=0;Pt<me.changes.length;++Pt){var kt=me.changes[Pt];if(H<kt.from.line)kt.from=Tt(kt.from.line+j,kt.from.ch),kt.to=Tt(kt.to.line+j,kt.to.ch);else if(O<=kt.to.line){We=!1;break}}We||(p.splice(0,K+1),K=0)}}function wl(p,O){var H=O.from.line,j=O.to.line,K=O.text.length-(j-H)-1;Cl(p.done,H,j,K),Cl(p.undone,H,j,K)}function dl(p,O,H,j){var K=O,me=O;return typeof O=="number"?me=Je(p,qt(p,O)):K=ir(O),K==null?null:(j(me,K)&&p.cm&&sa(p.cm,K,H),me)}function Zs(p){this.lines=p,this.parent=null;for(var O=0,H=0;H<p.length;++H)p[H].parent=this,O+=p[H].height;this.height=O}Zs.prototype={chunkSize:function(){return this.lines.length},removeInner:function(O,H){for(var j=O,K=O+H;j<K;++j){var me=this.lines[j];this.height-=me.height,yi(me),xo(me,"delete")}this.lines.splice(O,H)},collapse:function(O){O.push.apply(O,this.lines)},insertInner:function(O,H,j){this.height+=j,this.lines=this.lines.slice(0,O).concat(H).concat(this.lines.slice(O));for(var K=0;K<H.length;++K)H[K].parent=this},iterN:function(O,H,j){for(var K=O+H;O<K;++O)if(j(this.lines[O]))return!0}};function il(p){this.children=p;for(var O=0,H=0,j=0;j<p.length;++j){var K=p[j];O+=K.chunkSize(),H+=K.height,K.parent=this}this.size=O,this.height=H,this.parent=null}il.prototype={chunkSize:function(){return this.size},removeInner:function(O,H){this.size-=H;for(var j=0;j<this.children.length;++j){var K=this.children[j],me=K.chunkSize();if(O<me){var We=Math.min(H,me-O),ct=K.height;if(K.removeInner(O,We),this.height-=ct-K.height,me==We&&(this.children.splice(j--,1),K.parent=null),(H-=We)==0)break;O=0}else O-=me}if(this.size-H<25&&(this.children.length>1||!(this.children[0]instanceof Zs))){var Pt=[];this.collapse(Pt),this.children=[new Zs(Pt)],this.children[0].parent=this}},collapse:function(O){for(var H=0;H<this.children.length;++H)this.children[H].collapse(O)},insertInner:function(O,H,j){this.size+=H.length,this.height+=j;for(var K=0;K<this.children.length;++K){var me=this.children[K],We=me.chunkSize();if(O<=We){if(me.insertInner(O,H,j),me.lines&&me.lines.length>50){for(var ct=me.lines.length%25+25,Pt=ct;Pt<me.lines.length;){var kt=new Zs(me.lines.slice(Pt,Pt+=25));me.height-=kt.height,this.children.splice(++K,0,kt),kt.parent=this}me.lines=me.lines.slice(0,ct),this.maybeSpill()}break}O-=We}},maybeSpill:function(){if(!(this.children.length<=10)){var O=this;do{var H=O.children.splice(O.children.length-5,5),j=new il(H);if(O.parent){O.size-=j.size,O.height-=j.height;var me=fe(O.parent.children,O);O.parent.children.splice(me+1,0,j)}else{var K=new il(O.children);K.parent=O,O.children=[K,j],O=K}j.parent=O.parent}while(O.children.length>10);O.parent.maybeSpill()}},iterN:function(O,H,j){for(var K=0;K<this.children.length;++K){var me=this.children[K],We=me.chunkSize();if(O<We){var ct=Math.min(H,We-O);if(me.iterN(O,ct,j))return!0;if((H-=ct)==0)break;O=0}else O-=We}}};var qs=function(O,H,j){if(j)for(var K in j)j.hasOwnProperty(K)&&(this[K]=j[K]);this.doc=O,this.node=H};qs.prototype.clear=function(){var p=this.doc.cm,O=this.line.widgets,H=this.line,j=ir(H);if(!(j==null||!O)){for(var K=0;K<O.length;++K)O[K]==this&&O.splice(K--,1);O.length||(H.widgets=null);var me=lr(this);nr(H,Math.max(0,H.height-me)),p&&(Fo(p,function(){tl(p,H,-me),sa(p,j,"widget")}),xo(p,"lineWidgetCleared",p,this,j))}},qs.prototype.changed=function(){var p=this,O=this.height,H=this.doc.cm,j=this.line;this.height=null;var K=lr(this)-O;!K||(ca(this.doc,j)||nr(j,j.height+K),H&&Fo(H,function(){H.curOp.forceUpdate=!0,tl(H,j,K),xo(H,"lineWidgetChanged",H,p,ir(j))}))},Ae(qs);function tl(p,O,H){Ia(O)<(p.curOp&&p.curOp.scrollTop||p.doc.scrollTop)&&Yi(p,H)}function Zl(p,O,H,j){var K=new qs(p,H,j),me=p.cm;return me&&K.noHScroll&&(me.display.alignWidgets=!0),dl(p,O,"widget",function(We){var ct=We.widgets||(We.widgets=[]);if(K.insertAt==null?ct.push(K):ct.splice(Math.min(ct.length,Math.max(0,K.insertAt)),0,K),K.line=We,me&&!ca(p,We)){var Pt=Ia(We)<p.scrollTop;nr(We,We.height+lr(K)),Pt&&Yi(me,K.height),me.curOp.forceUpdate=!0}return!0}),me&&xo(me,"lineWidgetAdded",me,K,typeof O=="number"?O:ir(O)),K}var zi=0,ga=function(O,H){this.lines=[],this.type=H,this.doc=O,this.id=++zi};ga.prototype.clear=function(){if(!this.explicitlyCleared){var p=this.doc.cm,O=p&&!p.curOp;if(O&&Ao(p),q(this,"clear")){var H=this.find();H&&xo(this,"clear",H.from,H.to)}for(var j=null,K=null,me=0;me<this.lines.length;++me){var We=this.lines[me],ct=Wn(We.markedSpans,this);p&&!this.collapsed?sa(p,ir(We),"text"):p&&(ct.to!=null&&(K=ir(We)),ct.from!=null&&(j=ir(We))),We.markedSpans=Vn(We.markedSpans,ct),ct.from==null&&this.collapsed&&!ca(this.doc,We)&&p&&nr(We,Ya(p.display))}if(p&&this.collapsed&&!p.options.lineWrapping)for(var Pt=0;Pt<this.lines.length;++Pt){var kt=wr(this.lines[Pt]),mr=aa(kt);mr>p.display.maxLineLength&&(p.display.maxLine=kt,p.display.maxLineLength=mr,p.display.maxLineChanged=!0)}j!=null&&p&&this.collapsed&&_n(p,j,K+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,p&&xl(p.doc)),p&&xo(p,"markerCleared",p,this,j,K),O&&jo(p),this.parent&&this.parent.clear()}},ga.prototype.find=function(p,O){p==null&&this.type=="bookmark"&&(p=1);for(var H,j,K=0;K<this.lines.length;++K){var me=this.lines[K],We=Wn(me.markedSpans,this);if(We.from!=null&&(H=Tt(O?me:ir(me),We.from),p==-1))return H;if(We.to!=null&&(j=Tt(O?me:ir(me),We.to),p==1))return j}return H&&{from:H,to:j}},ga.prototype.changed=function(){var p=this,O=this.find(-1,!0),H=this,j=this.doc.cm;!O||!j||Fo(j,function(){var K=O.line,me=ir(O.line),We=Bn(j,me);if(We&&(Et(We),j.curOp.selectionChanged=j.curOp.forceUpdate=!0),j.curOp.updateMaxLine=!0,!ca(H.doc,K)&&H.height!=null){var ct=H.height;H.height=null;var Pt=lr(H)-ct;Pt&&nr(K,K.height+Pt)}xo(j,"markerChanged",j,p)})},ga.prototype.attachLine=function(p){if(!this.lines.length&&this.doc.cm){var O=this.doc.cm.curOp;(!O.maybeHiddenMarkers||fe(O.maybeHiddenMarkers,this)==-1)&&(O.maybeUnhiddenMarkers||(O.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(p)},ga.prototype.detachLine=function(p){if(this.lines.splice(fe(this.lines,p),1),!this.lines.length&&this.doc.cm){var O=this.doc.cm.curOp;(O.maybeHiddenMarkers||(O.maybeHiddenMarkers=[])).push(this)}},Ae(ga);function oi(p,O,H,j,K){if(j&&j.shared)return Zo(p,O,H,j,K);if(p.cm&&!p.cm.curOp)return Ei(p.cm,oi)(p,O,H,j,K);var me=new ga(p,K),We=mt(O,H);if(j&&k(j,me,!1),We>0||We==0&&me.clearWhenEmpty!==!1)return me;if(me.replacedWith&&(me.collapsed=!0,me.widgetNode=R("span",[me.replacedWith],"CodeMirror-widget"),j.handleMouseEvents||me.widgetNode.setAttribute("cm-ignore-events","true"),j.insertLeft&&(me.widgetNode.insertLeft=!0)),me.collapsed){if(jr(p,O.line,O,H,me)||O.line!=H.line&&jr(p,H.line,O,H,me))throw new Error("Inserting collapsed marker partially overlapping an existing one");Cn()}me.addToHistory&&No(p,{from:O,to:H,origin:"markText"},p.sel,NaN);var ct=O.line,Pt=p.cm,kt;if(p.iter(ct,H.line+1,function(Pr){Pt&&me.collapsed&&!Pt.options.lineWrapping&&wr(Pr)==Pt.display.maxLine&&(kt=!0),me.collapsed&&ct!=O.line&&nr(Pr,0),oa(Pr,new bn(me,ct==O.line?O.ch:null,ct==H.line?H.ch:null),p.cm&&p.cm.curOp),++ct}),me.collapsed&&p.iter(O.line,H.line+1,function(Pr){ca(p,Pr)&&nr(Pr,0)}),me.clearOnEnter&&Vt(me,"beforeCursorEnter",function(){return me.clear()}),me.readOnly&&(Qn(),(p.history.done.length||p.history.undone.length)&&p.clearHistory()),me.collapsed&&(me.id=++zi,me.atomic=!0),Pt){if(kt&&(Pt.curOp.updateMaxLine=!0),me.collapsed)_n(Pt,O.line,H.line+1);else if(me.className||me.startStyle||me.endStyle||me.css||me.attributes||me.title)for(var mr=O.line;mr<=H.line;mr++)sa(Pt,mr,"text");me.atomic&&xl(Pt.doc),xo(Pt,"markerAdded",Pt,me)}return me}var Xi=function(O,H){this.markers=O,this.primary=H;for(var j=0;j<O.length;++j)O[j].parent=this};Xi.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var p=0;p<this.markers.length;++p)this.markers[p].clear();xo(this,"clear")}},Xi.prototype.find=function(p,O){return this.primary.find(p,O)},Ae(Xi);function Zo(p,O,H,j,K){j=k(j),j.shared=!1;var me=[oi(p,O,H,j,K)],We=me[0],ct=j.widgetNode;return Ha(p,function(Pt){ct&&(j.widgetNode=ct.cloneNode(!0)),me.push(oi(Pt,Nt(Pt,O),Nt(Pt,H),j,K));for(var kt=0;kt<Pt.linked.length;++kt)if(Pt.linked[kt].isParent)return;We=Re(me)}),new Xi(me,We)}function zs(p){return p.findMarks(Tt(p.first,0),p.clipPos(Tt(p.lastLine())),function(O){return O.parent})}function $s(p,O){for(var H=0;H<O.length;H++){var j=O[H],K=j.find(),me=p.clipPos(K.from),We=p.clipPos(K.to);if(mt(me,We)){var ct=oi(p,me,We,j.primary,j.primary.type);j.markers.push(ct),ct.parent=j}}}function Qs(p){for(var O=function(K){var me=p[K],We=[me.primary.doc];Ha(me.primary.doc,function(kt){return We.push(kt)});for(var ct=0;ct<me.markers.length;ct++){var Pt=me.markers[ct];fe(We,Pt.doc)==-1&&(Pt.parent=null,me.markers.splice(ct--,1))}},H=0;H<p.length;H++)O(H)}var Vs=0,Xo=function p(O,H,j,K,me){if(!(this instanceof p))return new p(O,H,j,K,me);j==null&&(j=0),il.call(this,[new Zs([new ci("",null)])]),this.first=j,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=j;var We=Tt(j,0);this.sel=xt(We),this.history=new po(null),this.id=++Vs,this.modeOption=H,this.lineSep=K,this.direction=me=="rtl"?"rtl":"ltr",this.extend=!1,typeof O=="string"&&(O=this.splitLines(O)),ma(this,{from:We,to:We,text:O}),Oo(this,xt(We),de)};Xo.prototype=dt(il.prototype,{constructor:Xo,iter:function(O,H,j){j?this.iterN(O-this.first,H-O,j):this.iterN(this.first,this.first+this.size,O)},insert:function(O,H){for(var j=0,K=0;K<H.length;++K)j+=H[K].height;this.insertInner(O-this.first,H,j)},remove:function(O,H){this.removeInner(O-this.first,H)},getValue:function(O){var H=Ht(this,this.first,this.first+this.size);return O===!1?H:H.join(O||this.lineSeparator())},setValue:so(function(p){var O=Tt(this.first,0),H=this.first+this.size-1;ll(this,{from:O,to:Tt(H,Je(this,H).text.length),text:this.splitLines(p),origin:"setValue",full:!0},!0),this.cm&&fa(this.cm,0,0),Oo(this,xt(O),de)}),replaceRange:function(O,H,j,K){H=Nt(this,H),j=j?Nt(this,j):H,fl(this,O,H,j,K)},getRange:function(O,H,j){var K=Yt(this,Nt(this,O),Nt(this,H));return j===!1?K:j===""?K.join(""):K.join(j||this.lineSeparator())},getLine:function(O){var H=this.getLineHandle(O);return H&&H.text},getLineHandle:function(O){if(Mt(this,O))return Je(this,O)},getLineNumber:function(O){return ir(O)},getLineHandleVisualStart:function(O){return typeof O=="number"&&(O=Je(this,O)),wr(O)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(O){return Nt(this,O)},getCursor:function(O){var H=this.sel.primary(),j;return O==null||O=="head"?j=H.head:O=="anchor"?j=H.anchor:O=="end"||O=="to"||O===!1?j=H.to():j=H.from(),j},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(p,O,H){cs(this,Nt(this,typeof p=="number"?Tt(p,O||0):p),null,H)}),setSelection:so(function(p,O,H){cs(this,Nt(this,p),Nt(this,O||p),H)}),extendSelection:so(function(p,O,H){Uo(this,Nt(this,p),O&&Nt(this,O),H)}),extendSelections:so(function(p,O){ns(this,at(this,p),O)}),extendSelectionsBy:so(function(p,O){var H=nt(this.sel.ranges,p);ns(this,at(this,H),O)}),setSelections:so(function(p,O,H){if(!!p.length){for(var j=[],K=0;K<p.length;K++)j[K]=new we(Nt(this,p[K].anchor),Nt(this,p[K].head||p[K].anchor));O==null&&(O=Math.min(p.length-1,this.sel.primIndex)),Oo(this,Xe(this.cm,j,O),H)}}),addSelection:so(function(p,O,H){var j=this.sel.ranges.slice(0);j.push(new we(Nt(this,p),Nt(this,O||p))),Oo(this,Xe(this.cm,j,j.length-1),H)}),getSelection:function(O){for(var H=this.sel.ranges,j,K=0;K<H.length;K++){var me=Yt(this,H[K].from(),H[K].to());j=j?j.concat(me):me}return O===!1?j:j.join(O||this.lineSeparator())},getSelections:function(O){for(var H=[],j=this.sel.ranges,K=0;K<j.length;K++){var me=Yt(this,j[K].from(),j[K].to());O!==!1&&(me=me.join(O||this.lineSeparator())),H[K]=me}return H},replaceSelection:function(O,H,j){for(var K=[],me=0;me<this.sel.ranges.length;me++)K[me]=O;this.replaceSelections(K,H,j||"+input")},replaceSelections:so(function(p,O,H){for(var j=[],K=this.sel,me=0;me<K.ranges.length;me++){var We=K.ranges[me];j[me]={from:We.from(),to:We.to(),text:this.splitLines(p[me]),origin:H}}for(var ct=O&&O!="end"&&an(this,j,O),Pt=j.length-1;Pt>=0;Pt--)ll(this,j[Pt]);ct?js(this,ct):this.cm&&fo(this.cm)}),undo:so(function(){ul(this,"undo")}),redo:so(function(){ul(this,"redo")}),undoSelection:so(function(){ul(this,"undo",!0)}),redoSelection:so(function(){ul(this,"redo",!0)}),setExtending:function(O){this.extend=O},getExtending:function(){return this.extend},historySize:function(){for(var O=this.history,H=0,j=0,K=0;K<O.done.length;K++)O.done[K].ranges||++H;for(var me=0;me<O.undone.length;me++)O.undone[me].ranges||++j;return{undo:H,redo:j}},clearHistory:function(){var O=this;this.history=new po(this.history),Ha(this,function(H){return H.history=O.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(O){return O&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(O){return this.history.generation==(O||this.cleanGeneration)},getHistory:function(){return{done:ni(this.history.done),undone:ni(this.history.undone)}},setHistory:function(O){var H=this.history=new po(this.history);H.done=ni(O.done.slice(0),null,!0),H.undone=ni(O.undone.slice(0),null,!0)},setGutterMarker:so(function(p,O,H){return dl(this,p,"gutter",function(j){var K=j.gutterMarkers||(j.gutterMarkers={});return K[O]=H,!H&&Ft(K)&&(j.gutterMarkers=null),!0})}),clearGutter:so(function(p){var O=this;this.iter(function(H){H.gutterMarkers&&H.gutterMarkers[p]&&dl(O,H,"gutter",function(){return H.gutterMarkers[p]=null,Ft(H.gutterMarkers)&&(H.gutterMarkers=null),!0})})}),lineInfo:function(O){var H;if(typeof O=="number"){if(!Mt(this,O)||(H=O,O=Je(this,O),!O))return null}else if(H=ir(O),H==null)return null;return{line:H,handle:O,text:O.text,gutterMarkers:O.gutterMarkers,textClass:O.textClass,bgClass:O.bgClass,wrapClass:O.wrapClass,widgets:O.widgets}},addLineClass:so(function(p,O,H){return dl(this,p,O=="gutter"?"gutter":"class",function(j){var K=O=="text"?"textClass":O=="background"?"bgClass":O=="gutter"?"gutterClass":"wrapClass";if(!j[K])j[K]=H;else{if(m(H).test(j[K]))return!1;j[K]+=" "+H}return!0})}),removeLineClass:so(function(p,O,H){return dl(this,p,O=="gutter"?"gutter":"class",function(j){var K=O=="text"?"textClass":O=="background"?"bgClass":O=="gutter"?"gutterClass":"wrapClass",me=j[K];if(me)if(H==null)j[K]=null;else{var We=me.match(m(H));if(!We)return!1;var ct=We.index+We[0].length;j[K]=me.slice(0,We.index)+(!We.index||ct==me.length?"":" ")+me.slice(ct)||null}else return!1;return!0})}),addLineWidget:so(function(p,O,H){return Zl(this,p,O,H)}),removeLineWidget:function(O){O.clear()},markText:function(O,H,j){return oi(this,Nt(this,O),Nt(this,H),j,j&&j.type||"range")},setBookmark:function(O,H){var j={replacedWith:H&&(H.nodeType==null?H.widget:H),insertLeft:H&&H.insertLeft,clearWhenEmpty:!1,shared:H&&H.shared,handleMouseEvents:H&&H.handleMouseEvents};return O=Nt(this,O),oi(this,O,O,j,"bookmark")},findMarksAt:function(O){O=Nt(this,O);var H=[],j=Je(this,O.line).markedSpans;if(j)for(var K=0;K<j.length;++K){var me=j[K];(me.from==null||me.from<=O.ch)&&(me.to==null||me.to>=O.ch)&&H.push(me.marker.parent||me.marker)}return H},findMarks:function(O,H,j){O=Nt(this,O),H=Nt(this,H);var K=[],me=O.line;return this.iter(O.line,H.line+1,function(We){var ct=We.markedSpans;if(ct)for(var Pt=0;Pt<ct.length;Pt++){var kt=ct[Pt];!(kt.to!=null&&me==O.line&&O.ch>=kt.to||kt.from==null&&me!=O.line||kt.from!=null&&me==H.line&&kt.from>=H.ch)&&(!j||j(kt.marker))&&K.push(kt.marker.parent||kt.marker)}++me}),K},getAllMarks:function(){var O=[];return this.iter(function(H){var j=H.markedSpans;if(j)for(var K=0;K<j.length;++K)j[K].from!=null&&O.push(j[K].marker)}),O},posFromIndex:function(O){var H,j=this.first,K=this.lineSeparator().length;return this.iter(function(me){var We=me.text.length+K;if(We>O)return H=O,!0;O-=We,++j}),Nt(this,Tt(j,H))},indexFromPos:function(O){O=Nt(this,O);var H=O.ch;if(O.line<this.first||O.ch<0)return 0;var j=this.lineSeparator().length;return this.iter(this.first,O.line,function(K){H+=K.text.length+j}),H},copy:function(O){var H=new Xo(Ht(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return H.scrollTop=this.scrollTop,H.scrollLeft=this.scrollLeft,H.sel=this.sel,H.extend=!1,O&&(H.history.undoDepth=this.history.undoDepth,H.setHistory(this.getHistory())),H},linkedDoc:function(O){O||(O={});var H=this.first,j=this.first+this.size;O.from!=null&&O.from>H&&(H=O.from),O.to!=null&&O.to<j&&(j=O.to);var K=new Xo(Ht(this,H,j),O.mode||this.modeOption,H,this.lineSep,this.direction);return O.sharedHist&&(K.history=this.history),(this.linked||(this.linked=[])).push({doc:K,sharedHist:O.sharedHist}),K.linked=[{doc:this,isParent:!0,sharedHist:O.sharedHist}],$s(K,zs(this)),K},unlinkDoc:function(O){if(O instanceof $&&(O=O.doc),this.linked)for(var H=0;H<this.linked.length;++H){var j=this.linked[H];if(j.doc==O){this.linked.splice(H,1),O.unlinkDoc(this),Qs(zs(this));break}}if(O.history==this.history){var K=[O.id];Ha(O,function(me){return K.push(me.id)},!0),O.history=new po(null),O.history.done=ni(this.history.done,K),O.history.undone=ni(this.history.undone,K)}},iterLinkedDocs:function(O){Ha(this,O)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(O){return this.lineSep?O.split(this.lineSep):ne(O)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:so(function(p){p!="rtl"&&(p="ltr"),p!=this.direction&&(this.direction=p,this.iter(function(O){return O.order=null}),this.cm&&Oi(this.cm))})}),Xo.prototype.eachLine=Xo.prototype.iter;var Al=0;function Ls(p){var O=this;if(du(O),!(Se(O,p)||Mr(O.display,p))){Me(p),C&&(Al=+new Date);var H=ei(O,p,!0),j=p.dataTransfer.files;if(!(!H||O.isReadOnly()))if(j&&j.length&&window.FileReader&&window.File)for(var K=j.length,me=Array(K),We=0,ct=function(){++We==K&&Ei(O,function(){H=Nt(O.doc,H);var mn={from:H,to:H,text:O.doc.splitLines(me.filter(function(Un){return Un!=null}).join(O.doc.lineSeparator())),origin:"paste"};ll(O.doc,mn),js(O.doc,xt(Nt(O.doc,H),Nt(O.doc,tr(mn))))})()},Pt=function(mn,Un){if(O.options.allowDropFileTypes&&fe(O.options.allowDropFileTypes,mn.type)==-1){ct();return}var ra=new FileReader;ra.onerror=function(){return ct()},ra.onload=function(){var ia=ra.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ia)){ct();return}me[Un]=ia,ct()},ra.readAsText(mn)},kt=0;kt<j.length;kt++)Pt(j[kt],kt);else{if(O.state.draggingText&&O.doc.sel.contains(H)>-1){O.state.draggingText(p),setTimeout(function(){return O.display.input.focus()},20);return}try{var mr=p.dataTransfer.getData("Text");if(mr){var Pr;if(O.state.draggingText&&!O.state.draggingText.copy&&(Pr=O.listSelections()),Ns(O.doc,xt(H,H)),Pr)for(var zr=0;zr<Pr.length;++zr)fl(O.doc,"",Pr[zr].anchor,Pr[zr].head,"drag");O.replaceSelection(mr,"around","paste"),O.display.input.focus()}}catch($r){}}}}function Ku(p,O){if(C&&(!p.state.draggingText||+new Date-Al<100)){pe(O);return}if(!(Se(p,O)||Mr(p.display,O))&&(O.dataTransfer.setData("Text",p.getSelection()),O.dataTransfer.effectAllowed="copyMove",O.dataTransfer.setDragImage&&!u)){var H=M("img",null,null,"position: fixed; left: 0; top: 0;");H.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",r&&(H.width=H.height=1,p.display.wrapper.appendChild(H),H._top=H.offsetTop),O.dataTransfer.setDragImage(H,0,0),r&&H.parentNode.removeChild(H)}}function Ks(p,O){var H=ei(p,O);if(!!H){var j=document.createDocumentFragment();Vi(p,H,j),p.display.dragCursor||(p.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),p.display.lineSpace.insertBefore(p.display.dragCursor,p.display.cursorDiv)),P(p.display.dragCursor,j)}}function du(p){p.display.dragCursor&&(p.display.lineSpace.removeChild(p.display.dragCursor),p.display.dragCursor=null)}function ql(p){if(!!document.getElementsByClassName){for(var O=document.getElementsByClassName("CodeMirror"),H=[],j=0;j<O.length;j++){var K=O[j].CodeMirror;K&&H.push(K)}H.length&&H[0].operation(function(){for(var me=0;me<H.length;me++)p(H[me])})}}var Iu=!1;function Wu(){Iu||(Gu(),Iu=!0)}function Gu(){var p;Vt(window,"resize",function(){p==null&&(p=setTimeout(function(){p=null,ql(Yu)},100))}),Vt(window,"blur",function(){return ql(Ri)})}function Yu(p){var O=p.display;O.cachedCharWidth=O.cachedTextHeight=O.cachedPaddingH=null,O.scrollbarsClipped=!1,p.setSize()}for(var hl={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"},kl=0;kl<10;kl++)hl[kl+48]=hl[kl+96]=String(kl);for(var eu=65;eu<=90;eu++)hl[eu]=String.fromCharCode(eu);for(var Dl=1;Dl<=12;Dl++)hl[Dl+111]=hl[Dl+63235]="F"+Dl;var Ws={};Ws.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"},Ws.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"},Ws.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ws.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"]},Ws.default=h?Ws.macDefault:Ws.pcDefault;function tu(p){var O=p.split(/-(?!$)/);p=O[O.length-1];for(var H,j,K,me,We=0;We<O.length-1;We++){var ct=O[We];if(/^(cmd|meta|m)$/i.test(ct))me=!0;else if(/^a(lt)?$/i.test(ct))H=!0;else if(/^(c|ctrl|control)$/i.test(ct))j=!0;else if(/^s(hift)?$/i.test(ct))K=!0;else throw new Error("Unrecognized modifier name: "+ct)}return H&&(p="Alt-"+p),j&&(p="Ctrl-"+p),me&&(p="Cmd-"+p),K&&(p="Shift-"+p),p}function Au(p){var O={};for(var H in p)if(p.hasOwnProperty(H)){var j=p[H];if(/^(name|fallthrough|(de|at)tach)$/.test(H))continue;if(j=="..."){delete p[H];continue}for(var K=nt(H.split(" "),tu),me=0;me<K.length;me++){var We=void 0,ct=void 0;me==K.length-1?(ct=K.join(" "),We=j):(ct=K.slice(0,me+1).join(" "),We="...");var Pt=O[ct];if(!Pt)O[ct]=We;else if(Pt!=We)throw new Error("Inconsistent bindings for "+ct)}delete p[H]}for(var kt in O)p[kt]=O[kt];return p}function ol(p,O,H,j){O=ru(O);var K=O.call?O.call(p,j):O[p];if(K===!1)return"nothing";if(K==="...")return"multi";if(K!=null&&H(K))return"handled";if(O.fallthrough){if(Object.prototype.toString.call(O.fallthrough)!="[object Array]")return ol(p,O.fallthrough,H,j);for(var me=0;me<O.fallthrough.length;me++){var We=ol(p,O.fallthrough[me],H,j);if(We)return We}}}function ys(p){var O=typeof p=="string"?p:hl[p.keyCode];return O=="Ctrl"||O=="Alt"||O=="Shift"||O=="Mod"}function Tl(p,O,H){var j=p;return O.altKey&&j!="Alt"&&(p="Alt-"+p),(g?O.metaKey:O.ctrlKey)&&j!="Ctrl"&&(p="Ctrl-"+p),(g?O.ctrlKey:O.metaKey)&&j!="Mod"&&(p="Cmd-"+p),!H&&O.shiftKey&&j!="Shift"&&(p="Shift-"+p),p}function Du(p,O){if(r&&p.keyCode==34&&p.char)return!1;var H=hl[p.keyCode];return H==null||p.altGraphKey?!1:(p.keyCode==3&&p.code&&(H=p.code),Tl(H,p,O))}function ru(p){return typeof p=="string"?Ws[p]:p}function Sl(p,O){for(var H=p.doc.sel.ranges,j=[],K=0;K<H.length;K++){for(var me=O(H[K]);j.length&&mt(me.from,Re(j).to)<=0;){var We=j.pop();if(mt(We.from,me.from)<0){me.from=We.from;break}}j.push(me)}Fo(p,function(){for(var ct=j.length-1;ct>=0;ct--)fl(p.doc,"",j[ct].from,j[ct].to,"+delete");fo(p)})}function Bl(p,O,H){var j=lt(p.text,O+H,H);return j<0||j>p.text.length?null:j}function nu(p,O,H){var j=Bl(p,O.ch,H);return j==null?null:new Tt(O.line,j,H<0?"after":"before")}function Hl(p,O,H,j,K){if(p){O.doc.direction=="rtl"&&(K=-K);var me=Ot(H,O.doc.direction);if(me){var We=K<0?Re(me):me[0],ct=K<0==(We.level==1),Pt=ct?"after":"before",kt;if(We.level>0||O.doc.direction=="rtl"){var mr=wn(O,H);kt=K<0?H.text.length-1:0;var Pr=Nn(O,mr,kt).top;kt=Ut(function(zr){return Nn(O,mr,zr).top==Pr},K<0==(We.level==1)?We.from:We.to-1,kt),Pt=="before"&&(kt=Bl(H,kt,1))}else kt=K<0?We.to:We.from;return new Tt(j,kt,Pt)}}return new Tt(j,K<0?H.text.length:0,K<0?"before":"after")}function hu(p,O,H,j){var K=Ot(O,p.doc.direction);if(!K)return nu(O,H,j);H.ch>=O.text.length?(H.ch=O.text.length,H.sticky="before"):H.ch<=0&&(H.ch=0,H.sticky="after");var me=rt(K,H.ch,H.sticky),We=K[me];if(p.doc.direction=="ltr"&&We.level%2==0&&(j>0?We.to>H.ch:We.from<H.ch))return nu(O,H,j);var ct=function(xa,Ea){return Bl(O,xa instanceof Tt?xa.ch:xa,Ea)},Pt,kt=function(xa){return p.options.lineWrapping?(Pt=Pt||wn(p,O),Yn(p,O,Pt,xa)):{begin:0,end:O.text.length}},mr=kt(H.sticky=="before"?ct(H,-1):H.ch);if(p.doc.direction=="rtl"||We.level==1){var Pr=We.level==1==j<0,zr=ct(H,Pr?1:-1);if(zr!=null&&(Pr?zr<=We.to&&zr<=mr.end:zr>=We.from&&zr>=mr.begin)){var $r=Pr?"before":"after";return new Tt(H.line,zr,$r)}}var mn=function(xa,Ea,Ua){for(var Bi=function(qo,Rs){return Rs?new Tt(H.line,ct(qo,1),"before"):new Tt(H.line,qo,"after")};xa>=0&&xa<K.length;xa+=Ea){var gi=K[xa],yo=Ea>0==(gi.level!=1),ko=yo?Ua.begin:ct(Ua.end,-1);if(gi.from<=ko&&ko<gi.to||(ko=yo?gi.from:ct(gi.to,-1),Ua.begin<=ko&&ko<Ua.end))return Bi(ko,yo)}},Un=mn(me+j,j,mr);if(Un)return Un;var ra=j>0?mr.end:ct(mr.begin,-1);return ra!=null&&!(j>0&&ra==O.text.length)&&(Un=mn(j>0?0:K.length-1,j,kt(ra)),Un)?Un:null}var _l={selectAll:al,singleSelection:function(O){return O.setSelection(O.getCursor("anchor"),O.getCursor("head"),de)},killLine:function(O){return Sl(O,function(H){if(H.empty()){var j=Je(O.doc,H.head.line).text.length;return H.head.ch==j&&H.head.line<O.lastLine()?{from:H.head,to:Tt(H.head.line+1,0)}:{from:H.head,to:Tt(H.head.line,j)}}else return{from:H.from(),to:H.to()}})},deleteLine:function(O){return Sl(O,function(H){return{from:Tt(H.from().line,0),to:Nt(O.doc,Tt(H.to().line+1,0))}})},delLineLeft:function(O){return Sl(O,function(H){return{from:Tt(H.from().line,0),to:H.from()}})},delWrappedLineLeft:function(O){return Sl(O,function(H){var j=O.charCoords(H.head,"div").top+5,K=O.coordsChar({left:0,top:j},"div");return{from:K,to:H.from()}})},delWrappedLineRight:function(O){return Sl(O,function(H){var j=O.charCoords(H.head,"div").top+5,K=O.coordsChar({left:O.display.lineDiv.offsetWidth+100,top:j},"div");return{from:H.from(),to:K}})},undo:function(O){return O.undo()},redo:function(O){return O.redo()},undoSelection:function(O){return O.undoSelection()},redoSelection:function(O){return O.redoSelection()},goDocStart:function(O){return O.extendSelection(Tt(O.firstLine(),0))},goDocEnd:function(O){return O.extendSelection(Tt(O.lastLine()))},goLineStart:function(O){return O.extendSelectionsBy(function(H){return Tu(O,H.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(O){return O.extendSelectionsBy(function(H){return Pu(O,H.head)},{origin:"+move",bias:1})},goLineEnd:function(O){return O.extendSelectionsBy(function(H){return Xu(O,H.head.line)},{origin:"+move",bias:-1})},goLineRight:function(O){return O.extendSelectionsBy(function(H){var j=O.cursorCoords(H.head,"div").top+5;return O.coordsChar({left:O.display.lineDiv.offsetWidth+100,top:j},"div")},_e)},goLineLeft:function(O){return O.extendSelectionsBy(function(H){var j=O.cursorCoords(H.head,"div").top+5;return O.coordsChar({left:0,top:j},"div")},_e)},goLineLeftSmart:function(O){return O.extendSelectionsBy(function(H){var j=O.cursorCoords(H.head,"div").top+5,K=O.coordsChar({left:0,top:j},"div");return K.ch<O.getLine(K.line).search(/\S/)?Pu(O,H.head):K},_e)},goLineUp:function(O){return O.moveV(-1,"line")},goLineDown:function(O){return O.moveV(1,"line")},goPageUp:function(O){return O.moveV(-1,"page")},goPageDown:function(O){return O.moveV(1,"page")},goCharLeft:function(O){return O.moveH(-1,"char")},goCharRight:function(O){return O.moveH(1,"char")},goColumnLeft:function(O){return O.moveH(-1,"column")},goColumnRight:function(O){return O.moveH(1,"column")},goWordLeft:function(O){return O.moveH(-1,"word")},goGroupRight:function(O){return O.moveH(1,"group")},goGroupLeft:function(O){return O.moveH(-1,"group")},goWordRight:function(O){return O.moveH(1,"word")},delCharBefore:function(O){return O.deleteH(-1,"codepoint")},delCharAfter:function(O){return O.deleteH(1,"char")},delWordBefore:function(O){return O.deleteH(-1,"word")},delWordAfter:function(O){return O.deleteH(1,"word")},delGroupBefore:function(O){return O.deleteH(-1,"group")},delGroupAfter:function(O){return O.deleteH(1,"group")},indentAuto:function(O){return O.indentSelection("smart")},indentMore:function(O){return O.indentSelection("add")},indentLess:function(O){return O.indentSelection("subtract")},insertTab:function(O){return O.replaceSelection(" ")},insertSoftTab:function(O){for(var H=[],j=O.listSelections(),K=O.options.tabSize,me=0;me<j.length;me++){var We=j[me].from(),ct=W(O.getLine(We.line),We.ch,K);H.push(ue(K-ct%K))}O.replaceSelections(H)},defaultTab:function(O){O.somethingSelected()?O.indentSelection("add"):O.execCommand("insertTab")},transposeChars:function(O){return Fo(O,function(){for(var H=O.listSelections(),j=[],K=0;K<H.length;K++)if(!!H[K].empty()){var me=H[K].head,We=Je(O.doc,me.line).text;if(We){if(me.ch==We.length&&(me=new Tt(me.line,me.ch-1)),me.ch>0)me=new Tt(me.line,me.ch+1),O.replaceRange(We.charAt(me.ch-1)+We.charAt(me.ch-2),Tt(me.line,me.ch-2),me,"+transpose");else if(me.line>O.doc.first){var ct=Je(O.doc,me.line-1).text;ct&&(me=new Tt(me.line,1),O.replaceRange(We.charAt(0)+O.doc.lineSeparator()+ct.charAt(ct.length-1),Tt(me.line-1,ct.length-1),me,"+transpose"))}}j.push(new we(me,me))}O.setSelections(j)})},newlineAndIndent:function(O){return Fo(O,function(){for(var H=O.listSelections(),j=H.length-1;j>=0;j--)O.replaceRange(O.doc.lineSeparator(),H[j].anchor,H[j].head,"+input");H=O.listSelections();for(var K=0;K<H.length;K++)O.indentLine(H[K].from().line,null,!0);fo(O)})},openLine:function(O){return O.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(O){return O.toggleOverwrite()}};function Tu(p,O){var H=Je(p.doc,O),j=wr(H);return j!=H&&(O=ir(j)),Hl(!0,p,j,O,1)}function Xu(p,O){var H=Je(p.doc,O),j=pn(H);return j!=H&&(O=ir(j)),Hl(!0,p,H,O,-1)}function Pu(p,O){var H=Tu(p,O.line),j=Je(p.doc,H.line),K=Ot(j,p.doc.direction);if(!K||K[0].level==0){var me=Math.max(H.ch,j.text.search(/\S/)),We=O.line==H.line&&O.ch<=me&&O.ch;return Tt(H.line,We?0:me,H.sticky)}return H}function au(p,O,H){if(typeof O=="string"&&(O=_l[O],!O))return!1;p.display.input.ensurePolled();var j=p.display.shift,K=!1;try{p.isReadOnly()&&(p.state.suppressEdits=!0),H&&(p.display.shift=!1),K=O(p)!=ge}finally{p.display.shift=j,p.state.suppressEdits=!1}return K}function vu(p,O,H){for(var j=0;j<p.state.keyMaps.length;j++){var K=ol(O,p.state.keyMaps[j],H,p);if(K)return K}return p.options.extraKeys&&ol(O,p.options.extraKeys,H,p)||ol(O,p.options.keyMap,H,p)}var Mu=new ie;function Pl(p,O,H,j){var K=p.state.keySeq;if(K){if(ys(O))return"handled";if(/\'$/.test(O)?p.state.keySeq=null:Mu.set(50,function(){p.state.keySeq==K&&(p.state.keySeq=null,p.display.input.reset())}),gu(p,K+" "+O,H,j))return!0}return gu(p,O,H,j)}function gu(p,O,H,j){var K=vu(p,O,j);return K=="multi"&&(p.state.keySeq=O),K=="handled"&&xo(p,"keyHandled",p,O,H),(K=="handled"||K=="multi")&&(Me(H),Ki(p)),!!K}function iu(p,O){var H=Du(O,!0);return H?O.shiftKey&&!p.state.keySeq?Pl(p,"Shift-"+H,O,function(j){return au(p,j,!0)})||Pl(p,H,O,function(j){if(typeof j=="string"?/^go[A-Z]/.test(j):j.motion)return au(p,j)}):Pl(p,H,O,function(j){return au(p,j)}):!1}function $u(p,O,H){return Pl(p,"'"+H+"'",O,function(j){return au(p,j,!0)})}var pu=null;function Lu(p){var O=this;if(!(p.target&&p.target!=O.display.input.getField())&&(O.curOp.focus=U(_(O)),!Se(O,p))){C&&f<11&&p.keyCode==27&&(p.returnValue=!1);var H=p.keyCode;O.display.shift=H==16||p.shiftKey;var j=iu(O,p);r&&(pu=j?H:null,!j&&H==88&&!ae&&(h?p.metaKey:p.ctrlKey)&&O.replaceSelection("",null,"cut")),w&&!h&&!j&&H==46&&p.shiftKey&&!p.ctrlKey&&document.execCommand&&document.execCommand("cut"),H==18&&!/\bCodeMirror-crosshair\b/.test(O.display.lineDiv.className)&&Ju(O)}}function Ju(p){var O=p.display.lineDiv;N(O,"CodeMirror-crosshair");function H(j){(j.keyCode==18||!j.altKey)&&(b(O,"CodeMirror-crosshair"),It(document,"keyup",H),It(document,"mouseover",H))}Vt(document,"keyup",H),Vt(document,"mouseover",H)}function jl(p){p.keyCode==16&&(this.doc.sel.shift=!1),Se(this,p)}function Ql(p){var O=this;if(!(p.target&&p.target!=O.display.input.getField())&&!(Mr(O.display,p)||Se(O,p)||p.ctrlKey&&!p.altKey||h&&p.metaKey)){var H=p.keyCode,j=p.charCode;if(r&&H==pu){pu=null,Me(p);return}if(!(r&&(!p.which||p.which<10)&&iu(O,p))){var K=String.fromCharCode(j==null?H:j);K!="\b"&&($u(O,p,K)||O.display.input.onKeyPress(p))}}}var Zu=400,ou=function(O,H,j){this.time=O,this.pos=H,this.button=j};ou.prototype.compare=function(p,O,H){return this.time+Zu>p&&mt(O,this.pos)==0&&H==this.button};var vl,El;function Ru(p,O){var H=+new Date;return El&&El.compare(H,p,O)?(vl=El=null,"triple"):vl&&vl.compare(H,p,O)?(El=new ou(H,p,O),vl=null,"double"):(vl=new ou(H,p,O),El=null,"single")}function mu(p){var O=this,H=O.display;if(!(Se(O,p)||H.activeTouch&&H.input.supportsTouch())){if(H.input.ensurePolled(),H.shift=p.shiftKey,Mr(H,p)){t||(H.scroller.draggable=!1,setTimeout(function(){return H.scroller.draggable=!0},100));return}if(!zl(O,p)){var j=ei(O,p),K=be(p),me=j?Ru(j,K):"single";J(O).focus(),K==1&&O.state.selectingText&&O.state.selectingText(p),!(j&&qu(O,K,j,me,p))&&(K==1?j?Nu(O,j,me,p):te(p)==H.scroller&&Me(p):K==2?(j&&Uo(O.doc,j),setTimeout(function(){return H.input.focus()},20)):K==3&&(x?O.display.input.onContextMenu(p):Ji(O)))}}}function qu(p,O,H,j,K){var me="Click";return j=="double"?me="Double"+me:j=="triple"&&(me="Triple"+me),me=(O==1?"Left":O==2?"Middle":"Right")+me,Pl(p,Tl(me,K),K,function(We){if(typeof We=="string"&&(We=_l[We]),!We)return!1;var ct=!1;try{p.isReadOnly()&&(p.state.suppressEdits=!0),ct=We(p,H)!=ge}finally{p.state.suppressEdits=!1}return ct})}function Fu(p,O,H){var j=p.getOption("configureMouse"),K=j?j(p,O,H):{};if(K.unit==null){var me=y?H.shiftKey&&H.metaKey:H.altKey;K.unit=me?"rectangle":O=="single"?"char":O=="double"?"word":"line"}return(K.extend==null||p.doc.extend)&&(K.extend=p.doc.extend||H.shiftKey),K.addNew==null&&(K.addNew=h?H.metaKey:H.ctrlKey),K.moveOnDrag==null&&(K.moveOnDrag=!(h?H.altKey:H.ctrlKey)),K}function Nu(p,O,H,j){C?setTimeout(Y(Gi,p),0):p.curOp.focus=U(_(p));var K=Fu(p,H,j),me=p.doc.sel,We;p.options.dragDrop&&xe&&!p.isReadOnly()&&H=="single"&&(We=me.contains(O))>-1&&(mt((We=me.ranges[We]).from(),O)<0||O.xRel>0)&&(mt(We.to(),O)>0||O.xRel<0)?Uu(p,j,O,K):ec(p,j,O,K)}function Uu(p,O,H,j){var K=p.display,me=!1,We=Ei(p,function(kt){t&&(K.scroller.draggable=!1),p.state.draggingText=!1,p.state.delayingBlurEvent&&(p.hasFocus()?p.state.delayingBlurEvent=!1:Ji(p)),It(K.wrapper.ownerDocument,"mouseup",We),It(K.wrapper.ownerDocument,"mousemove",ct),It(K.scroller,"dragstart",Pt),It(K.scroller,"drop",We),me||(Me(kt),j.addNew||Uo(p.doc,H,null,null,j.extend),t&&!u||C&&f==9?setTimeout(function(){K.wrapper.ownerDocument.body.focus({preventScroll:!0}),K.input.focus()},20):K.input.focus())}),ct=function(mr){me=me||Math.abs(O.clientX-mr.clientX)+Math.abs(O.clientY-mr.clientY)>=10},Pt=function(){return me=!0};t&&(K.scroller.draggable=!0),p.state.draggingText=We,We.copy=!j.moveOnDrag,Vt(K.wrapper.ownerDocument,"mouseup",We),Vt(K.wrapper.ownerDocument,"mousemove",ct),Vt(K.scroller,"dragstart",Pt),Vt(K.scroller,"drop",We),p.state.delayingBlurEvent=!0,setTimeout(function(){return K.input.focus()},20),K.scroller.dragDrop&&K.scroller.dragDrop()}function ku(p,O,H){if(H=="char")return new we(O,O);if(H=="word")return p.findWordAt(O);if(H=="line")return new we(Tt(O.line,0),Nt(p.doc,Tt(O.line+1,0)));var j=H(p,O);return new we(j.from,j.to)}function ec(p,O,H,j){C&&Ji(p);var K=p.display,me=p.doc;Me(O);var We,ct,Pt=me.sel,kt=Pt.ranges;if(j.addNew&&!j.extend?(ct=me.sel.contains(H),ct>-1?We=kt[ct]:We=new we(H,H)):(We=me.sel.primary(),ct=me.sel.primIndex),j.unit=="rectangle")j.addNew||(We=new we(H,H)),H=ei(p,O,!0,!0),ct=-1;else{var mr=ku(p,H,j.unit);j.extend?We=Si(We,mr.anchor,mr.head,j.extend):We=mr}j.addNew?ct==-1?(ct=kt.length,Oo(me,Xe(p,kt.concat([We]),ct),{scroll:!1,origin:"*mouse"})):kt.length>1&&kt[ct].empty()&&j.unit=="char"&&!j.extend?(Oo(me,Xe(p,kt.slice(0,ct).concat(kt.slice(ct+1)),0),{scroll:!1,origin:"*mouse"}),Pt=me.sel):Ds(me,ct,We,Pe):(ct=0,Oo(me,new le([We],0),Pe),Pt=me.sel);var Pr=H;function zr(Ea){if(mt(Pr,Ea)!=0)if(Pr=Ea,j.unit=="rectangle"){for(var Ua=[],Bi=p.options.tabSize,gi=W(Je(me,H.line).text,H.ch,Bi),yo=W(Je(me,Ea.line).text,Ea.ch,Bi),ko=Math.min(gi,yo),Ss=Math.max(gi,yo),qo=Math.min(H.line,Ea.line),Rs=Math.min(p.lastLine(),Math.max(H.line,Ea.line));qo<=Rs;qo++){var Gs=Je(me,qo).text,Aa=Ne(Gs,ko,Bi);ko==Ss?Ua.push(new we(Tt(qo,Aa),Tt(qo,Aa))):Gs.length>Aa&&Ua.push(new we(Tt(qo,Aa),Tt(qo,Ne(Gs,Ss,Bi))))}Ua.length||Ua.push(new we(H,H)),Oo(me,Xe(p,Pt.ranges.slice(0,ct).concat(Ua),ct),{origin:"*mouse",scroll:!1}),p.scrollIntoView(Ea)}else{var Bs=We,Cs=ku(p,Ea,j.unit),Qo=Bs.anchor,ws;mt(Cs.anchor,Qo)>0?(ws=Cs.head,Qo=ht(Bs.from(),Cs.anchor)):(ws=Cs.anchor,Qo=ut(Bs.to(),Cs.head));var ki=Pt.ranges.slice(0);ki[ct]=Hu(p,new we(Nt(me,Qo),ws)),Oo(me,Xe(p,ki,ct),Pe)}}var $r=K.wrapper.getBoundingClientRect(),mn=0;function Un(Ea){var Ua=++mn,Bi=ei(p,Ea,!0,j.unit=="rectangle");if(!!Bi)if(mt(Bi,Pr)!=0){p.curOp.focus=U(_(p)),zr(Bi);var gi=Ro(K,me);(Bi.line>=gi.to||Bi.line<gi.from)&&setTimeout(Ei(p,function(){mn==Ua&&Un(Ea)}),150)}else{var yo=Ea.clientY<$r.top?-20:Ea.clientY>$r.bottom?20:0;yo&&setTimeout(Ei(p,function(){mn==Ua&&(K.scroller.scrollTop+=yo,Un(Ea))}),50)}}function ra(Ea){p.state.selectingText=!1,mn=Infinity,Ea&&(Me(Ea),K.input.focus()),It(K.wrapper.ownerDocument,"mousemove",ia),It(K.wrapper.ownerDocument,"mouseup",xa),me.history.lastSelOrigin=null}var ia=Ei(p,function(Ea){Ea.buttons===0||!be(Ea)?ra(Ea):Un(Ea)}),xa=Ei(p,ra);p.state.selectingText=xa,Vt(K.wrapper.ownerDocument,"mousemove",ia),Vt(K.wrapper.ownerDocument,"mouseup",xa)}function Hu(p,O){var H=O.anchor,j=O.head,K=Je(p.doc,H.line);if(mt(H,j)==0&&H.sticky==j.sticky)return O;var me=Ot(K);if(!me)return O;var We=rt(me,H.ch,H.sticky),ct=me[We];if(ct.from!=H.ch&&ct.to!=H.ch)return O;var Pt=We+(ct.from==H.ch==(ct.level!=1)?0:1);if(Pt==0||Pt==me.length)return O;var kt;if(j.line!=H.line)kt=(j.line-H.line)*(p.doc.direction=="ltr"?1:-1)>0;else{var mr=rt(me,j.ch,j.sticky),Pr=mr-We||(j.ch-H.ch)*(ct.level==1?-1:1);mr==Pt-1||mr==Pt?kt=Pr<0:kt=Pr>0}var zr=me[Pt+(kt?-1:0)],$r=kt==(zr.level==1),mn=$r?zr.from:zr.to,Un=$r?"after":"before";return H.ch==mn&&H.sticky==Un?O:new we(new Tt(H.line,mn,Un),j)}function gl(p,O,H,j){var K,me;if(O.touches)K=O.touches[0].clientX,me=O.touches[0].clientY;else try{K=O.clientX,me=O.clientY}catch(zr){return!1}if(K>=Math.floor(p.display.gutters.getBoundingClientRect().right))return!1;j&&Me(O);var We=p.display,ct=We.lineDiv.getBoundingClientRect();if(me>ct.bottom||!q(p,H))return ze(O);me-=ct.top-We.viewOffset;for(var Pt=0;Pt<p.display.gutterSpecs.length;++Pt){var kt=We.gutters.childNodes[Pt];if(kt&&kt.getBoundingClientRect().right>=K){var mr=Zt(p.doc,me),Pr=p.display.gutterSpecs[Pt];return Kt(p,H,p,mr,Pr.className,O),ze(O)}}}function zl(p,O){return gl(p,O,"gutterClick",!0)}function Vl(p,O){Mr(p.display,O)||yu(p,O)||Se(p,O,"contextmenu")||x||p.display.input.onContextMenu(O)}function yu(p,O){return q(p,"gutterContextMenu")?gl(p,O,"gutterContextMenu",!1):!1}function xu(p){p.display.wrapper.className=p.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+p.options.theme.replace(/(^|\s)\s*/g," cm-s-"),hr(p)}var Ml={toString:function(){return"CodeMirror.Init"}},_u={},Kl={};function bu(p){var O=p.optionHandlers;function H(j,K,me,We){p.defaults[j]=K,me&&(O[j]=We?function(ct,Pt,kt){kt!=Ml&&me(ct,Pt,kt)}:me)}p.defineOption=H,p.Init=Ml,H("value","",function(j,K){return j.setValue(K)},!0),H("mode",null,function(j,K){j.doc.modeOption=K,yn(j)},!0),H("indentUnit",2,yn,!0),H("indentWithTabs",!1),H("smartIndent",!0),H("tabSize",4,function(j){Ln(j),hr(j),_n(j)},!0),H("lineSeparator",null,function(j,K){if(j.doc.lineSep=K,!!K){var me=[],We=j.doc.first;j.doc.iter(function(Pt){for(var kt=0;;){var mr=Pt.text.indexOf(K,kt);if(mr==-1)break;kt=mr+K.length,me.push(Tt(We,mr))}We++});for(var ct=me.length-1;ct>=0;ct--)fl(j.doc,K,me[ct],Tt(me[ct].line,me[ct].ch+K.length))}}),H("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(j,K,me){j.state.specialChars=new RegExp(K.source+(K.test(" ")?"":"| "),"g"),me!=Ml&&j.refresh()}),H("specialCharPlaceholder",ao,function(j){return j.refresh()},!0),H("electricChars",!0),H("inputStyle",d?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),H("spellcheck",!1,function(j,K){return j.getInputField().spellcheck=K},!0),H("autocorrect",!1,function(j,K){return j.getInputField().autocorrect=K},!0),H("autocapitalize",!1,function(j,K){return j.getInputField().autocapitalize=K},!0),H("rtlMoveVisually",!A),H("wholeLineUpdateBefore",!0),H("theme","default",function(j){xu(j),_o(j)},!0),H("keyMap","default",function(j,K,me){var We=ru(K),ct=me!=Ml&&ru(me);ct&&ct.detach&&ct.detach(j,We),We.attach&&We.attach(j,ct||null)}),H("extraKeys",null),H("configureMouse",null),H("lineWrapping",!1,Qe,!0),H("gutters",[],function(j,K){j.display.gutterSpecs=ms(K,j.options.lineNumbers),_o(j)},!0),H("fixedGutter",!0,function(j,K){j.display.gutters.style.left=K?vi(j.display)+"px":"0",j.refresh()},!0),H("coverGutterNextToScrollbar",!1,function(j){return Zn(j)},!0),H("scrollbarStyle","native",function(j){to(j),Zn(j),j.display.scrollbars.setScrollTop(j.doc.scrollTop),j.display.scrollbars.setScrollLeft(j.doc.scrollLeft)},!0),H("lineNumbers",!1,function(j,K){j.display.gutterSpecs=ms(j.options.gutters,K),_o(j)},!0),H("firstLineNumber",1,_o,!0),H("lineNumberFormatter",function(j){return j},_o,!0),H("showCursorWhenSelecting",!1,$a,!0),H("resetSelectionOnContextMenu",!0),H("lineWiseCopyCut",!0),H("pasteLinesPerSelection",!0),H("selectionsMayTouch",!1),H("readOnly",!1,function(j,K){K=="nocursor"&&(Ri(j),j.display.input.blur()),j.display.input.readOnlyChanged(K)}),H("screenReaderLabel",null,function(j,K){K=K===""?null:K,j.display.input.screenReaderLabelChanged(K)}),H("disableInput",!1,function(j,K){K||j.display.input.reset()},!0),H("dragDrop",!0,Cu),H("allowDropFileTypes",null),H("cursorBlinkRate",530),H("cursorScrollMargin",0),H("cursorHeight",1,$a,!0),H("singleCursorHeightPerLine",!0,$a,!0),H("workTime",100),H("workDelay",100),H("flattenSpans",!0,Ln,!0),H("addModeClass",!1,Ln,!0),H("pollInterval",100),H("undoDepth",200,function(j,K){return j.doc.history.undoDepth=K}),H("historyEventDelay",1250),H("viewportMargin",10,function(j){return j.refresh()},!0),H("maxHighlightLength",1e4,Ln,!0),H("moveInputWithCursor",!0,function(j,K){K||j.display.input.resetPosition()}),H("tabindex",null,function(j,K){return j.display.input.getField().tabIndex=K||""}),H("autofocus",null),H("direction","ltr",function(j,K){return j.doc.setDirection(K)},!0),H("phrases",null)}function Cu(p,O,H){var j=H&&H!=Ml;if(!O!=!j){var K=p.display.dragFunctions,me=O?Vt:It;me(p.display.scroller,"dragstart",K.start),me(p.display.scroller,"dragenter",K.enter),me(p.display.scroller,"dragover",K.over),me(p.display.scroller,"dragleave",K.leave),me(p.display.scroller,"drop",K.drop)}}function Qe(p){p.options.lineWrapping?(N(p.display.wrapper,"CodeMirror-wrap"),p.display.sizer.style.minWidth="",p.display.sizerWidth=null):(b(p.display.wrapper,"CodeMirror-wrap"),za(p)),Jn(p),_n(p),hr(p),setTimeout(function(){return Zn(p)},100)}function $(p,O){var H=this;if(!(this instanceof $))return new $(p,O);this.options=O=O?k(O):{},k(_u,O,!1);var j=O.value;typeof j=="string"?j=new Xo(j,O.mode,null,O.lineSeparator,O.direction):O.mode&&(j.modeOption=O.mode),this.doc=j;var K=new $.inputStyles[O.inputStyle](this),me=this.display=new Fs(p,j,K,O);me.wrapper.CodeMirror=this,xu(this),O.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),to(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 ie,keySeq:null,specialChars:null},O.autofocus&&!d&&me.input.focus(),C&&f<11&&setTimeout(function(){return H.display.input.reset(!0)},20),Be(this),Wu(),Ao(this),this.curOp.forceUpdate=!0,wi(this,j),O.autofocus&&!d||this.hasFocus()?setTimeout(function(){H.hasFocus()&&!H.state.focused&&pi(H)},20):Ri(this);for(var We in Kl)Kl.hasOwnProperty(We)&&Kl[We](this,O[We],Ml);$o(this),O.finishInit&&O.finishInit(this);for(var ct=0;ct<Ze.length;++ct)Ze[ct](this);jo(this),t&&O.lineWrapping&&getComputedStyle(me.lineDiv).textRendering=="optimizelegibility"&&(me.lineDiv.style.textRendering="auto")}$.defaults=_u,$.optionHandlers=Kl;function Be(p){var O=p.display;Vt(O.scroller,"mousedown",Ei(p,mu)),C&&f<11?Vt(O.scroller,"dblclick",Ei(p,function(Pt){if(!Se(p,Pt)){var kt=ei(p,Pt);if(!(!kt||zl(p,Pt)||Mr(p.display,Pt))){Me(Pt);var mr=p.findWordAt(kt);Uo(p.doc,mr.anchor,mr.head)}}})):Vt(O.scroller,"dblclick",function(Pt){return Se(p,Pt)||Me(Pt)}),Vt(O.scroller,"contextmenu",function(Pt){return Vl(p,Pt)}),Vt(O.input.getField(),"contextmenu",function(Pt){O.scroller.contains(Pt.target)||Vl(p,Pt)});var H,j={end:0};function K(){O.activeTouch&&(H=setTimeout(function(){return O.activeTouch=null},1e3),j=O.activeTouch,j.end=+new Date)}function me(Pt){if(Pt.touches.length!=1)return!1;var kt=Pt.touches[0];return kt.radiusX<=1&&kt.radiusY<=1}function We(Pt,kt){if(kt.left==null)return!0;var mr=kt.left-Pt.left,Pr=kt.top-Pt.top;return mr*mr+Pr*Pr>20*20}Vt(O.scroller,"touchstart",function(Pt){if(!Se(p,Pt)&&!me(Pt)&&!zl(p,Pt)){O.input.ensurePolled(),clearTimeout(H);var kt=+new Date;O.activeTouch={start:kt,moved:!1,prev:kt-j.end<=300?j:null},Pt.touches.length==1&&(O.activeTouch.left=Pt.touches[0].pageX,O.activeTouch.top=Pt.touches[0].pageY)}}),Vt(O.scroller,"touchmove",function(){O.activeTouch&&(O.activeTouch.moved=!0)}),Vt(O.scroller,"touchend",function(Pt){var kt=O.activeTouch;if(kt&&!Mr(O,Pt)&&kt.left!=null&&!kt.moved&&new Date-kt.start<300){var mr=p.coordsChar(O.activeTouch,"page"),Pr;!kt.prev||We(kt,kt.prev)?Pr=new we(mr,mr):!kt.prev.prev||We(kt,kt.prev.prev)?Pr=p.findWordAt(mr):Pr=new we(Tt(mr.line,0),Nt(p.doc,Tt(mr.line+1,0))),p.setSelection(Pr.anchor,Pr.head),p.focus(),Me(Pt)}K()}),Vt(O.scroller,"touchcancel",K),Vt(O.scroller,"scroll",function(){O.scroller.clientHeight&&(Ja(p,O.scroller.scrollTop),Gn(p,O.scroller.scrollLeft,!0),Kt(p,"scroll",p))}),Vt(O.scroller,"mousewheel",function(Pt){return re(p,Pt)}),Vt(O.scroller,"DOMMouseScroll",function(Pt){return re(p,Pt)}),Vt(O.wrapper,"scroll",function(){return O.wrapper.scrollTop=O.wrapper.scrollLeft=0}),O.dragFunctions={enter:function(kt){Se(p,kt)||pe(kt)},over:function(kt){Se(p,kt)||(Ks(p,kt),pe(kt))},start:function(kt){return Ku(p,kt)},drop:Ei(p,Ls),leave:function(kt){Se(p,kt)||du(p)}};var ct=O.input.getField();Vt(ct,"keyup",function(Pt){return jl.call(p,Pt)}),Vt(ct,"keydown",Ei(p,Lu)),Vt(ct,"keypress",Ei(p,Ql)),Vt(ct,"focus",function(Pt){return pi(p,Pt)}),Vt(ct,"blur",function(Pt){return Ri(p,Pt)})}var Ze=[];$.defineInitHook=function(p){return Ze.push(p)};function wt(p,O,H,j){var K=p.doc,me;H==null&&(H="add"),H=="smart"&&(K.mode.indent?me=ar(p,O).state:H="prev");var We=p.options.tabSize,ct=Je(K,O),Pt=W(ct.text,null,We);ct.stateAfter&&(ct.stateAfter=null);var kt=ct.text.match(/^\s*/)[0],mr;if(!j&&!/\S/.test(ct.text))mr=0,H="not";else if(H=="smart"&&(mr=K.mode.indent(me,ct.text.slice(kt.length),ct.text),mr==ge||mr>150)){if(!j)return;H="prev"}H=="prev"?O>K.first?mr=W(Je(K,O-1).text,null,We):mr=0:H=="add"?mr=Pt+p.options.indentUnit:H=="subtract"?mr=Pt-p.options.indentUnit:typeof H=="number"&&(mr=Pt+H),mr=Math.max(0,mr);var Pr="",zr=0;if(p.options.indentWithTabs)for(var $r=Math.floor(mr/We);$r;--$r)zr+=We,Pr+=" ";if(zr<mr&&(Pr+=ue(mr-zr)),Pr!=kt)return fl(K,Pr,Tt(O,0),Tt(O,kt.length),"+input"),ct.stateAfter=null,!0;for(var mn=0;mn<K.sel.ranges.length;mn++){var Un=K.sel.ranges[mn];if(Un.head.line==O&&Un.head.ch<kt.length){var ra=Tt(O,kt.length);Ds(K,mn,new we(ra,ra));break}}}var jt=null;function $t(p){jt=p}function rr(p,O,H,j,K){var me=p.doc;p.display.shift=!1,j||(j=me.sel);var We=+new Date-200,ct=K=="paste"||p.state.pasteIncoming>We,Pt=ne(O),kt=null;if(ct&&j.ranges.length>1)if(jt&&jt.text.join(`
|
|
|
`)==O){if(j.ranges.length%jt.text.length==0){kt=[];for(var mr=0;mr<jt.text.length;mr++)kt.push(me.splitLines(jt.text[mr]))}}else Pt.length==j.ranges.length&&p.options.pasteLinesPerSelection&&(kt=nt(Pt,function(ia){return[ia]}));for(var Pr=p.curOp.updateInput,zr=j.ranges.length-1;zr>=0;zr--){var $r=j.ranges[zr],mn=$r.from(),Un=$r.to();$r.empty()&&(H&&H>0?mn=Tt(mn.line,mn.ch-H):p.state.overwrite&&!ct?Un=Tt(Un.line,Math.min(Je(me,Un.line).text.length,Un.ch+Re(Pt).length)):ct&&jt&&jt.lineWise&&jt.text.join(`
|
|
|
`)==Pt.join(`
|
|
|
`)&&(mn=Un=Tt(mn.line,0)));var ra={from:mn,to:Un,text:kt?kt[zr%kt.length]:Pt,origin:K||(ct?"paste":p.state.cutIncoming>We?"cut":"+input")};ll(p.doc,ra),xo(p,"inputRead",p,ra)}O&&!ct&&Ur(p,O),fo(p),p.curOp.updateInput<2&&(p.curOp.updateInput=Pr),p.curOp.typing=!0,p.state.pasteIncoming=p.state.cutIncoming=-1}function vr(p,O){var H=p.clipboardData&&p.clipboardData.getData("Text");if(H)return p.preventDefault(),!O.isReadOnly()&&!O.options.disableInput&&O.hasFocus()&&Fo(O,function(){return rr(O,H,0,null,"paste")}),!0}function Ur(p,O){if(!(!p.options.electricChars||!p.options.smartIndent))for(var H=p.doc.sel,j=H.ranges.length-1;j>=0;j--){var K=H.ranges[j];if(!(K.head.ch>100||j&&H.ranges[j-1].head.line==K.head.line)){var me=p.getModeAt(K.head),We=!1;if(me.electricChars){for(var ct=0;ct<me.electricChars.length;ct++)if(O.indexOf(me.electricChars.charAt(ct))>-1){We=wt(p,K.head.line,"smart");break}}else me.electricInput&&me.electricInput.test(Je(p.doc,K.head.line).text.slice(0,K.head.ch))&&(We=wt(p,K.head.line,"smart"));We&&xo(p,"electricInput",p,K.head.line)}}}function Nr(p){for(var O=[],H=[],j=0;j<p.doc.sel.ranges.length;j++){var K=p.doc.sel.ranges[j].head.line,me={anchor:Tt(K,0),head:Tt(K+1,0)};H.push(me),O.push(p.getRange(me.anchor,me.head))}return{text:O,ranges:H}}function Dr(p,O,H,j){p.setAttribute("autocorrect",H?"":"off"),p.setAttribute("autocapitalize",j?"":"off"),p.setAttribute("spellcheck",!!O)}function Br(){var p=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),O=M("div",[p],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return t?p.style.width="1000px":p.setAttribute("wrap","off"),a&&(p.style.border="1px solid black"),Dr(p),O}function _r(p){var O=p.optionHandlers,H=p.helpers={};p.prototype={constructor:p,focus:function(){J(this).focus(),this.display.input.focus()},setOption:function(K,me){var We=this.options,ct=We[K];We[K]==me&&K!="mode"||(We[K]=me,O.hasOwnProperty(K)&&Ei(this,O[K])(this,me,ct),Kt(this,"optionChange",this,K))},getOption:function(K){return this.options[K]},getDoc:function(){return this.doc},addKeyMap:function(K,me){this.state.keyMaps[me?"push":"unshift"](ru(K))},removeKeyMap:function(K){for(var me=this.state.keyMaps,We=0;We<me.length;++We)if(me[We]==K||me[We].name==K)return me.splice(We,1),!0},addOverlay:Ar(function(j,K){var me=j.token?j:p.getMode(this.options,j);if(me.startState)throw new Error("Overlays may not be stateful.");Ve(this.state.overlays,{mode:me,modeSpec:j,opaque:K&&K.opaque,priority:K&&K.priority||0},function(We){return We.priority}),this.state.modeGen++,_n(this)}),removeOverlay:Ar(function(j){for(var K=this.state.overlays,me=0;me<K.length;++me){var We=K[me].modeSpec;if(We==j||typeof j=="string"&&We.name==j){K.splice(me,1),this.state.modeGen++,_n(this);return}}}),indentLine:Ar(function(j,K,me){typeof K!="string"&&typeof K!="number"&&(K==null?K=this.options.smartIndent?"smart":"prev":K=K?"add":"subtract"),Mt(this.doc,j)&&wt(this,j,K,me)}),indentSelection:Ar(function(j){for(var K=this.doc.sel.ranges,me=-1,We=0;We<K.length;We++){var ct=K[We];if(ct.empty())ct.head.line>me&&(wt(this,ct.head.line,j,!0),me=ct.head.line,We==this.doc.sel.primIndex&&fo(this));else{var Pt=ct.from(),kt=ct.to(),mr=Math.max(me,Pt.line);me=Math.min(this.lastLine(),kt.line-(kt.ch?0:1))+1;for(var Pr=mr;Pr<me;++Pr)wt(this,Pr,j);var zr=this.doc.sel.ranges;Pt.ch==0&&K.length==zr.length&&zr[We].from().ch>0&&Ds(this.doc,We,new we(Pt,zr[We].to()),de)}}}),getTokenAt:function(K,me){return Yr(this,K,me)},getLineTokens:function(K,me){return Yr(this,Tt(K),me,!0)},getTokenTypeAt:function(K){K=Nt(this.doc,K);var me=zt(this,Je(this.doc,K.line)),We=0,ct=(me.length-1)/2,Pt=K.ch,kt;if(Pt==0)kt=me[2];else for(;;){var mr=We+ct>>1;if((mr?me[mr*2-1]:0)>=Pt)ct=mr;else if(me[mr*2+1]<Pt)We=mr+1;else{kt=me[mr*2+2];break}}var Pr=kt?kt.indexOf("overlay "):-1;return Pr<0?kt:Pr==0?null:kt.slice(0,Pr-1)},getModeAt:function(K){var me=this.doc.mode;return me.innerMode?p.innerMode(me,this.getTokenAt(K).state).mode:me},getHelper:function(K,me){return this.getHelpers(K,me)[0]},getHelpers:function(K,me){var We=[];if(!H.hasOwnProperty(me))return We;var ct=H[me],Pt=this.getModeAt(K);if(typeof Pt[me]=="string")ct[Pt[me]]&&We.push(ct[Pt[me]]);else if(Pt[me])for(var kt=0;kt<Pt[me].length;kt++){var mr=ct[Pt[me][kt]];mr&&We.push(mr)}else Pt.helperType&&ct[Pt.helperType]?We.push(ct[Pt.helperType]):ct[Pt.name]&&We.push(ct[Pt.name]);for(var Pr=0;Pr<ct._global.length;Pr++){var zr=ct._global[Pr];zr.pred(Pt,this)&&fe(We,zr.val)==-1&&We.push(zr.val)}return We},getStateAfter:function(K,me){var We=this.doc;return K=qt(We,K==null?We.first+We.size-1:K),ar(this,K+1,me).state},cursorCoords:function(K,me){var We,ct=this.doc.sel.primary();return K==null?We=ct.head:typeof K=="object"?We=Nt(this.doc,K):We=K?ct.from():ct.to(),gn(this,We,me||"page")},charCoords:function(K,me){return Gr(this,Nt(this.doc,K),me||"page")},coordsChar:function(K,me){return K=Zr(this,K,me||"page"),Dn(this,K.left,K.top)},lineAtHeight:function(K,me){return K=Zr(this,{top:K,left:0},me||"page").top,Zt(this.doc,K+this.display.viewOffset)},heightAtLine:function(K,me,We){var ct=!1,Pt;if(typeof K=="number"){var kt=this.doc.first+this.doc.size-1;K<this.doc.first?K=this.doc.first:K>kt&&(K=kt,ct=!0),Pt=Je(this.doc,K)}else Pt=K;return nn(this,Pt,{top:0,left:0},me||"page",We||ct).top+(ct?this.doc.height-Ia(Pt):0)},defaultTextHeight:function(){return Ya(this.display)},defaultCharWidth:function(){return Va(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(K,me,We,ct,Pt){var kt=this.display;K=gn(this,Nt(this.doc,K));var mr=K.bottom,Pr=K.left;if(me.style.position="absolute",me.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(me),kt.sizer.appendChild(me),ct=="over")mr=K.top;else if(ct=="above"||ct=="near"){var zr=Math.max(kt.wrapper.clientHeight,this.doc.height),$r=Math.max(kt.sizer.clientWidth,kt.lineSpace.clientWidth);(ct=="above"||K.bottom+me.offsetHeight>zr)&&K.top>me.offsetHeight?mr=K.top-me.offsetHeight:K.bottom+me.offsetHeight<=zr&&(mr=K.bottom),Pr+me.offsetWidth>$r&&(Pr=$r-me.offsetWidth)}me.style.top=mr+"px",me.style.left=me.style.right="",Pt=="right"?(Pr=kt.sizer.clientWidth-me.offsetWidth,me.style.right="0px"):(Pt=="left"?Pr=0:Pt=="middle"&&(Pr=(kt.sizer.clientWidth-me.offsetWidth)/2),me.style.left=Pr+"px"),We&&Ni(this,{left:Pr,top:mr,right:Pr+me.offsetWidth,bottom:mr+me.offsetHeight})},triggerOnKeyDown:Ar(Lu),triggerOnKeyPress:Ar(Ql),triggerOnKeyUp:jl,triggerOnMouseDown:Ar(mu),execCommand:function(K){if(_l.hasOwnProperty(K))return _l[K].call(null,this)},triggerElectric:Ar(function(j){Ur(this,j)}),findPosH:function(K,me,We,ct){var Pt=1;me<0&&(Pt=-1,me=-me);for(var kt=Nt(this.doc,K),mr=0;mr<me&&(kt=rn(this.doc,kt,Pt,We,ct),!kt.hitSide);++mr);return kt},moveH:Ar(function(j,K){var me=this;this.extendSelectionsBy(function(We){return me.display.shift||me.doc.extend||We.empty()?rn(me.doc,We.head,j,K,me.options.rtlMoveVisually):j<0?We.from():We.to()},_e)}),deleteH:Ar(function(j,K){var me=this.doc.sel,We=this.doc;me.somethingSelected()?We.replaceSelection("",null,"+delete"):Sl(this,function(ct){var Pt=rn(We,ct.head,j,K,!1);return j<0?{from:Pt,to:ct.head}:{from:ct.head,to:Pt}})}),findPosV:function(K,me,We,ct){var Pt=1,kt=ct;me<0&&(Pt=-1,me=-me);for(var mr=Nt(this.doc,K),Pr=0;Pr<me;++Pr){var zr=gn(this,mr,"div");if(kt==null?kt=zr.left:zr.left=kt,mr=En(this,zr,Pt,We),mr.hitSide)break}return mr},moveV:Ar(function(j,K){var me=this,We=this.doc,ct=[],Pt=!this.display.shift&&!We.extend&&We.sel.somethingSelected();if(We.extendSelectionsBy(function(mr){if(Pt)return j<0?mr.from():mr.to();var Pr=gn(me,mr.head,"div");mr.goalColumn!=null&&(Pr.left=mr.goalColumn),ct.push(Pr.left);var zr=En(me,Pr,j,K);return K=="page"&&mr==We.sel.primary()&&Yi(me,Gr(me,zr,"div").top-Pr.top),zr},_e),ct.length)for(var kt=0;kt<We.sel.ranges.length;kt++)We.sel.ranges[kt].goalColumn=ct[kt]}),findWordAt:function(K){var me=this.doc,We=Je(me,K.line).text,ct=K.ch,Pt=K.ch;if(We){var kt=this.getHelper(K,"wordChars");(K.sticky=="before"||Pt==We.length)&&ct?--ct:++Pt;for(var mr=We.charAt(ct),Pr=Dt(mr,kt)?function(zr){return Dt(zr,kt)}:/\s/.test(mr)?function(zr){return/\s/.test(zr)}:function(zr){return!/\s/.test(zr)&&!Dt(zr)};ct>0&&Pr(We.charAt(ct-1));)--ct;for(;Pt<We.length&&Pr(We.charAt(Pt));)++Pt}return new we(Tt(K.line,ct),Tt(K.line,Pt))},toggleOverwrite:function(K){K!=null&&K==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?N(this.display.cursorDiv,"CodeMirror-overwrite"):b(this.display.cursorDiv,"CodeMirror-overwrite"),Kt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==U(_(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ar(function(j,K){fa(this,j,K)}),getScrollInfo:function(){var K=this.display.scroller;return{left:K.scrollLeft,top:K.scrollTop,height:K.scrollHeight-vn(this)-this.display.barHeight,width:K.scrollWidth-vn(this)-this.display.barWidth,clientHeight:Fn(this),clientWidth:An(this)}},scrollIntoView:Ar(function(j,K){j==null?(j={from:this.doc.sel.primary().head,to:null},K==null&&(K=this.options.cursorScrollMargin)):typeof j=="number"?j={from:Tt(j,0),to:null}:j.from==null&&(j={from:j,to:null}),j.to||(j.to=j.from),j.margin=K||0,j.from.line!=null?uo(this,j):Ta(this,j.from,j.to,j.margin)}),setSize:Ar(function(j,K){var me=this,We=function(kt){return typeof kt=="number"||/^\d+$/.test(String(kt))?kt+"px":kt};j!=null&&(this.display.wrapper.style.width=We(j)),K!=null&&(this.display.wrapper.style.height=We(K)),this.options.lineWrapping&&fr(this);var ct=this.display.viewFrom;this.doc.iter(ct,this.display.viewTo,function(Pt){if(Pt.widgets){for(var kt=0;kt<Pt.widgets.length;kt++)if(Pt.widgets[kt].noHScroll){sa(me,ct,"widget");break}}++ct}),this.curOp.forceUpdate=!0,Kt(this,"refresh",this)}),operation:function(K){return Fo(this,K)},startOperation:function(){return Ao(this)},endOperation:function(){return jo(this)},refresh:Ar(function(){var j=this.display.cachedTextHeight;_n(this),this.curOp.forceUpdate=!0,hr(this),fa(this,this.doc.scrollLeft,this.doc.scrollTop),Is(this.display),(j==null||Math.abs(j-Ya(this.display))>.5||this.options.lineWrapping)&&Jn(this),Kt(this,"refresh",this)}),swapDoc:Ar(function(j){var K=this.doc;return K.cm=null,this.state.selectingText&&this.state.selectingText(),wi(this,j),hr(this),this.display.input.reset(),fa(this,j.scrollLeft,j.scrollTop),this.curOp.forceScroll=!0,xo(this,"swapDoc",this,K),K}),phrase:function(K){var me=this.options.phrases;return me&&Object.prototype.hasOwnProperty.call(me,K)?me[K]:K},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}},Ae(p),p.registerHelper=function(j,K,me){H.hasOwnProperty(j)||(H[j]=p[j]={_global:[]}),H[j][K]=me},p.registerGlobalHelper=function(j,K,me,We){p.registerHelper(j,K,We),H[j]._global.push({pred:me,val:We})}}function rn(p,O,H,j,K){var me=O,We=H,ct=Je(p,O.line),Pt=K&&p.direction=="rtl"?-H:H;function kt(){var xa=O.line+Pt;return xa<p.first||xa>=p.first+p.size?!1:(O=new Tt(xa,O.ch,O.sticky),ct=Je(p,xa))}function mr(xa){var Ea;if(j=="codepoint"){var Ua=ct.text.charCodeAt(O.ch+(H>0?0:-1));if(isNaN(Ua))Ea=null;else{var Bi=H>0?Ua>=55296&&Ua<56320:Ua>=56320&&Ua<57343;Ea=new Tt(O.line,Math.max(0,Math.min(ct.text.length,O.ch+H*(Bi?2:1))),-H)}}else K?Ea=hu(p.cm,ct,O,H):Ea=nu(ct,O,H);if(Ea==null)if(!xa&&kt())O=Hl(K,p.cm,ct,O.line,Pt);else return!1;else O=Ea;return!0}if(j=="char"||j=="codepoint")mr();else if(j=="column")mr(!0);else if(j=="word"||j=="group")for(var Pr=null,zr=j=="group",$r=p.cm&&p.cm.getHelper(O,"wordChars"),mn=!0;!(H<0&&!mr(!mn));mn=!1){var Un=ct.text.charAt(O.ch)||`
|
|
|
`,ra=Dt(Un,$r)?"w":zr&&Un==`
|
|
|
`?"n":!zr||/\s/.test(Un)?null:"p";if(zr&&!mn&&!ra&&(ra="s"),Pr&&Pr!=ra){H<0&&(H=1,mr(),O.sticky="after");break}if(ra&&(Pr=ra),H>0&&!mr(!mn))break}var ia=Xs(p,O,me,We,!0);return Jt(me,ia)&&(ia.hitSide=!0),ia}function En(p,O,H,j){var K=p.doc,me=O.left,We;if(j=="page"){var ct=Math.min(p.display.wrapper.clientHeight,J(p).innerHeight||K(p).documentElement.clientHeight),Pt=Math.max(ct-.5*Ya(p.display),3);We=(H>0?O.bottom:O.top)+H*Pt}else j=="line"&&(We=H>0?O.bottom+3:O.top-3);for(var kt;kt=Dn(p,me,We),!!kt.outside;){if(H<0?We<=0:We>=K.height){kt.hitSide=!0;break}We+=H*5}return kt}var Sn=function(O){this.cm=O,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ie,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Sn.prototype.init=function(p){var O=this,H=this,j=H.cm,K=H.div=p.lineDiv;K.contentEditable=!0,Dr(K,j.options.spellcheck,j.options.autocorrect,j.options.autocapitalize);function me(ct){for(var Pt=ct.target;Pt;Pt=Pt.parentNode){if(Pt==K)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Pt.className))break}return!1}Vt(K,"paste",function(ct){!me(ct)||Se(j,ct)||vr(ct,j)||f<=11&&setTimeout(Ei(j,function(){return O.updateFromDOM()}),20)}),Vt(K,"compositionstart",function(ct){O.composing={data:ct.data,done:!1}}),Vt(K,"compositionupdate",function(ct){O.composing||(O.composing={data:ct.data,done:!1})}),Vt(K,"compositionend",function(ct){O.composing&&(ct.data!=O.composing.data&&O.readFromDOMSoon(),O.composing.done=!0)}),Vt(K,"touchstart",function(){return H.forceCompositionEnd()}),Vt(K,"input",function(){O.composing||O.readFromDOMSoon()});function We(ct){if(!(!me(ct)||Se(j,ct))){if(j.somethingSelected())$t({lineWise:!1,text:j.getSelections()}),ct.type=="cut"&&j.replaceSelection("",null,"cut");else if(j.options.lineWiseCopyCut){var Pt=Nr(j);$t({lineWise:!0,text:Pt.text}),ct.type=="cut"&&j.operation(function(){j.setSelections(Pt.ranges,0,de),j.replaceSelection("",null,"cut")})}else return;if(ct.clipboardData){ct.clipboardData.clearData();var kt=jt.text.join(`
|
|
|
`);if(ct.clipboardData.setData("Text",kt),ct.clipboardData.getData("Text")==kt){ct.preventDefault();return}}var mr=Br(),Pr=mr.firstChild;j.display.lineSpace.insertBefore(mr,j.display.lineSpace.firstChild),Pr.value=jt.text.join(`
|
|
|
`);var zr=U(K.ownerDocument);z(Pr),setTimeout(function(){j.display.lineSpace.removeChild(mr),zr.focus(),zr==K&&H.showPrimarySelection()},50)}}Vt(K,"copy",We),Vt(K,"cut",We)},Sn.prototype.screenReaderLabelChanged=function(p){p?this.div.setAttribute("aria-label",p):this.div.removeAttribute("aria-label")},Sn.prototype.prepareSelection=function(){var p=Wi(this.cm,!1);return p.focus=U(this.div.ownerDocument)==this.div,p},Sn.prototype.showSelection=function(p,O){!p||!this.cm.display.view.length||((p.focus||O)&&this.showPrimarySelection(),this.showMultipleSelections(p))},Sn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Sn.prototype.showPrimarySelection=function(){var p=this.getSelection(),O=this.cm,H=O.doc.sel.primary(),j=H.from(),K=H.to();if(O.display.viewTo==O.display.viewFrom||j.line>=O.display.viewTo||K.line<O.display.viewFrom){p.removeAllRanges();return}var me=qi(O,p.anchorNode,p.anchorOffset),We=qi(O,p.focusNode,p.focusOffset);if(!(me&&!me.bad&&We&&!We.bad&&mt(ht(me,We),j)==0&&mt(ut(me,We),K)==0)){var ct=O.display.view,Pt=j.line>=O.display.viewFrom&&ya(O,j)||{node:ct[0].measure.map[2],offset:0},kt=K.line<O.display.viewTo&&ya(O,K);if(!kt){var mr=ct[ct.length-1].measure,Pr=mr.maps?mr.maps[mr.maps.length-1]:mr.map;kt={node:Pr[Pr.length-1],offset:Pr[Pr.length-2]-Pr[Pr.length-3]}}if(!Pt||!kt){p.removeAllRanges();return}var zr=p.rangeCount&&p.getRangeAt(0),$r;try{$r=F(Pt.node,Pt.offset,kt.offset,kt.node)}catch(mn){}$r&&(!w&&O.state.focused?(p.collapse(Pt.node,Pt.offset),$r.collapsed||(p.removeAllRanges(),p.addRange($r))):(p.removeAllRanges(),p.addRange($r)),zr&&p.anchorNode==null?p.addRange(zr):w&&this.startGracePeriod()),this.rememberSelection()}},Sn.prototype.startGracePeriod=function(){var p=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){p.gracePeriod=!1,p.selectionChanged()&&p.cm.operation(function(){return p.cm.curOp.selectionChanged=!0})},20)},Sn.prototype.showMultipleSelections=function(p){P(this.cm.display.cursorDiv,p.cursors),P(this.cm.display.selectionDiv,p.selection)},Sn.prototype.rememberSelection=function(){var p=this.getSelection();this.lastAnchorNode=p.anchorNode,this.lastAnchorOffset=p.anchorOffset,this.lastFocusNode=p.focusNode,this.lastFocusOffset=p.focusOffset},Sn.prototype.selectionInEditor=function(){var p=this.getSelection();if(!p.rangeCount)return!1;var O=p.getRangeAt(0).commonAncestorContainer;return L(this.div,O)},Sn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||U(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Sn.prototype.blur=function(){this.div.blur()},Sn.prototype.getField=function(){return this.div},Sn.prototype.supportsTouch=function(){return!0},Sn.prototype.receivedFocus=function(){var p=this,O=this;this.selectionInEditor()?setTimeout(function(){return p.pollSelection()},20):Fo(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function H(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,H))}this.polling.set(this.cm.options.pollInterval,H)},Sn.prototype.selectionChanged=function(){var p=this.getSelection();return p.anchorNode!=this.lastAnchorNode||p.anchorOffset!=this.lastAnchorOffset||p.focusNode!=this.lastFocusNode||p.focusOffset!=this.lastFocusOffset},Sn.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var p=this.getSelection(),O=this.cm;if(c&&s&&this.cm.display.gutterSpecs.length&&Sa(p.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var H=qi(O,p.anchorNode,p.anchorOffset),j=qi(O,p.focusNode,p.focusOffset);H&&j&&Fo(O,function(){Oo(O.doc,xt(H,j),de),(H.bad||j.bad)&&(O.curOp.selectionChanged=!0)})}}},Sn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var p=this.cm,O=p.display,H=p.doc.sel.primary(),j=H.from(),K=H.to();if(j.ch==0&&j.line>p.firstLine()&&(j=Tt(j.line-1,Je(p.doc,j.line-1).length)),K.ch==Je(p.doc,K.line).text.length&&K.line<p.lastLine()&&(K=Tt(K.line+1,0)),j.line<O.viewFrom||K.line>O.viewTo-1)return!1;var me,We,ct;j.line==O.viewFrom||(me=Na(p,j.line))==0?(We=ir(O.view[0].line),ct=O.view[0].node):(We=ir(O.view[me].line),ct=O.view[me-1].node.nextSibling);var Pt=Na(p,K.line),kt,mr;if(Pt==O.view.length-1?(kt=O.viewTo-1,mr=O.lineDiv.lastChild):(kt=ir(O.view[Pt+1].line)-1,mr=O.view[Pt+1].node.previousSibling),!ct)return!1;for(var Pr=p.doc.splitLines(Za(p,ct,mr,We,kt)),zr=Yt(p.doc,Tt(We,0),Tt(kt,Je(p.doc,kt).text.length));Pr.length>1&&zr.length>1;)if(Re(Pr)==Re(zr))Pr.pop(),zr.pop(),kt--;else if(Pr[0]==zr[0])Pr.shift(),zr.shift(),We++;else break;for(var $r=0,mn=0,Un=Pr[0],ra=zr[0],ia=Math.min(Un.length,ra.length);$r<ia&&Un.charCodeAt($r)==ra.charCodeAt($r);)++$r;for(var xa=Re(Pr),Ea=Re(zr),Ua=Math.min(xa.length-(Pr.length==1?$r:0),Ea.length-(zr.length==1?$r:0));mn<Ua&&xa.charCodeAt(xa.length-mn-1)==Ea.charCodeAt(Ea.length-mn-1);)++mn;if(Pr.length==1&&zr.length==1&&We==j.line)for(;$r&&$r>j.ch&&xa.charCodeAt(xa.length-mn-1)==Ea.charCodeAt(Ea.length-mn-1);)$r--,mn++;Pr[Pr.length-1]=xa.slice(0,xa.length-mn).replace(/^\u200b+/,""),Pr[0]=Pr[0].slice($r).replace(/\u200b+$/,"");var Bi=Tt(We,$r),gi=Tt(kt,zr.length?Re(zr).length-mn:0);if(Pr.length>1||Pr[0]||mt(Bi,gi))return fl(p.doc,Pr,Bi,gi,"+input"),!0},Sn.prototype.ensurePolled=function(){this.forceCompositionEnd()},Sn.prototype.reset=function(){this.forceCompositionEnd()},Sn.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Sn.prototype.readFromDOMSoon=function(){var p=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(p.readDOMTimeout=null,p.composing)if(p.composing.done)p.composing=null;else return;p.updateFromDOM()},80))},Sn.prototype.updateFromDOM=function(){var p=this;(this.cm.isReadOnly()||!this.pollContent())&&Fo(this.cm,function(){return _n(p.cm)})},Sn.prototype.setUneditable=function(p){p.contentEditable="false"},Sn.prototype.onKeyPress=function(p){p.charCode==0||this.composing||(p.preventDefault(),this.cm.isReadOnly()||Ei(this.cm,rr)(this.cm,String.fromCharCode(p.charCode==null?p.keyCode:p.charCode),0))},Sn.prototype.readOnlyChanged=function(p){this.div.contentEditable=String(p!="nocursor")},Sn.prototype.onContextMenu=function(){},Sn.prototype.resetPosition=function(){},Sn.prototype.needsContentAttribute=!0;function ya(p,O){var H=Bn(p,O.line);if(!H||H.hidden)return null;var j=Je(p.doc,O.line),K=Kr(H,j,O.line),me=Ot(j,p.doc.direction),We="left";if(me){var ct=rt(me,O.ch);We=ct%2?"right":"left"}var Pt=Ra(K.map,O.ch,We);return Pt.offset=Pt.collapse=="right"?Pt.end:Pt.start,Pt}function Sa(p){for(var O=p;O;O=O.parentNode)if(/CodeMirror-gutter-wrapper/.test(O.className))return!0;return!1}function ui(p,O){return O&&(p.bad=!0),p}function Za(p,O,H,j,K){var me="",We=!1,ct=p.doc.lineSeparator(),Pt=!1;function kt($r){return function(mn){return mn.id==$r}}function mr(){We&&(me+=ct,Pt&&(me+=ct),We=Pt=!1)}function Pr($r){$r&&(mr(),me+=$r)}function zr($r){if($r.nodeType==1){var mn=$r.getAttribute("cm-text");if(mn){Pr(mn);return}var Un=$r.getAttribute("cm-marker"),ra;if(Un){var ia=p.findMarks(Tt(j,0),Tt(K+1,0),kt(+Un));ia.length&&(ra=ia[0].find(0))&&Pr(Yt(p.doc,ra.from,ra.to).join(ct));return}if($r.getAttribute("contenteditable")=="false")return;var xa=/^(pre|div|p|li|table|br)$/i.test($r.nodeName);if(!/^br$/i.test($r.nodeName)&&$r.textContent.length==0)return;xa&&mr();for(var Ea=0;Ea<$r.childNodes.length;Ea++)zr($r.childNodes[Ea]);/^(pre|p)$/i.test($r.nodeName)&&(Pt=!0),xa&&(We=!0)}else $r.nodeType==3&&Pr($r.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;zr(O),O!=H;)O=O.nextSibling,Pt=!1;return me}function qi(p,O,H){var j;if(O==p.display.lineDiv){if(j=p.display.lineDiv.childNodes[H],!j)return ui(p.clipPos(Tt(p.display.viewTo-1)),!0);O=null,H=0}else for(j=O;;j=j.parentNode){if(!j||j==p.display.lineDiv)return null;if(j.parentNode&&j.parentNode==p.display.lineDiv)break}for(var K=0;K<p.display.view.length;K++){var me=p.display.view[K];if(me.node==j)return Mi(me,O,H)}}function Mi(p,O,H){var j=p.text.firstChild,K=!1;if(!O||!L(j,O))return ui(Tt(ir(p.line),0),!0);if(O==j&&(K=!0,O=j.childNodes[H],H=0,!O)){var me=p.rest?Re(p.rest):p.line;return ui(Tt(ir(me),me.text.length),K)}var We=O.nodeType==3?O:null,ct=O;for(!We&&O.childNodes.length==1&&O.firstChild.nodeType==3&&(We=O.firstChild,H&&(H=We.nodeValue.length));ct.parentNode!=j;)ct=ct.parentNode;var Pt=p.measure,kt=Pt.maps;function mr(ra,ia,xa){for(var Ea=-1;Ea<(kt?kt.length:0);Ea++)for(var Ua=Ea<0?Pt.map:kt[Ea],Bi=0;Bi<Ua.length;Bi+=3){var gi=Ua[Bi+2];if(gi==ra||gi==ia){var yo=ir(Ea<0?p.line:p.rest[Ea]),ko=Ua[Bi]+xa;return(xa<0||gi!=ra)&&(ko=Ua[Bi+(xa?1:0)]),Tt(yo,ko)}}}var Pr=mr(We,ct,H);if(Pr)return ui(Pr,K);for(var zr=ct.nextSibling,$r=We?We.nodeValue.length-H:0;zr;zr=zr.nextSibling){if(Pr=mr(zr,zr.firstChild,0),Pr)return ui(Tt(Pr.line,Pr.ch-$r),K);$r+=zr.textContent.length}for(var mn=ct.previousSibling,Un=H;mn;mn=mn.previousSibling){if(Pr=mr(mn,mn.firstChild,-1),Pr)return ui(Tt(Pr.line,Pr.ch+Un),K);Un+=mn.textContent.length}}var Ti=function(O){this.cm=O,this.prevInput="",this.pollingFast=!1,this.polling=new ie,this.hasSelection=!1,this.composing=null,this.resetting=!1};Ti.prototype.init=function(p){var O=this,H=this,j=this.cm;this.createField(p);var K=this.textarea;p.wrapper.insertBefore(this.wrapper,p.wrapper.firstChild),a&&(K.style.width="0px"),Vt(K,"input",function(){C&&f>=9&&O.hasSelection&&(O.hasSelection=null),H.poll()}),Vt(K,"paste",function(We){Se(j,We)||vr(We,j)||(j.state.pasteIncoming=+new Date,H.fastPoll())});function me(We){if(!Se(j,We)){if(j.somethingSelected())$t({lineWise:!1,text:j.getSelections()});else if(j.options.lineWiseCopyCut){var ct=Nr(j);$t({lineWise:!0,text:ct.text}),We.type=="cut"?j.setSelections(ct.ranges,null,de):(H.prevInput="",K.value=ct.text.join(`
|
|
|
`),z(K))}else return;We.type=="cut"&&(j.state.cutIncoming=+new Date)}}Vt(K,"cut",me),Vt(K,"copy",me),Vt(p.scroller,"paste",function(We){if(!(Mr(p,We)||Se(j,We))){if(!K.dispatchEvent){j.state.pasteIncoming=+new Date,H.focus();return}var ct=new Event("paste");ct.clipboardData=We.clipboardData,K.dispatchEvent(ct)}}),Vt(p.lineSpace,"selectstart",function(We){Mr(p,We)||Me(We)}),Vt(K,"compositionstart",function(){var We=j.getCursor("from");H.composing&&H.composing.range.clear(),H.composing={start:We,range:j.markText(We,j.getCursor("to"),{className:"CodeMirror-composing"})}}),Vt(K,"compositionend",function(){H.composing&&(H.poll(),H.composing.range.clear(),H.composing=null)})},Ti.prototype.createField=function(p){this.wrapper=Br(),this.textarea=this.wrapper.firstChild},Ti.prototype.screenReaderLabelChanged=function(p){p?this.textarea.setAttribute("aria-label",p):this.textarea.removeAttribute("aria-label")},Ti.prototype.prepareSelection=function(){var p=this.cm,O=p.display,H=p.doc,j=Wi(p);if(p.options.moveInputWithCursor){var K=gn(p,H.sel.primary().head,"div"),me=O.wrapper.getBoundingClientRect(),We=O.lineDiv.getBoundingClientRect();j.teTop=Math.max(0,Math.min(O.wrapper.clientHeight-10,K.top+We.top-me.top)),j.teLeft=Math.max(0,Math.min(O.wrapper.clientWidth-10,K.left+We.left-me.left))}return j},Ti.prototype.showSelection=function(p){var O=this.cm,H=O.display;P(H.cursorDiv,p.cursors),P(H.selectionDiv,p.selection),p.teTop!=null&&(this.wrapper.style.top=p.teTop+"px",this.wrapper.style.left=p.teLeft+"px")},Ti.prototype.reset=function(p){if(!(this.contextMenuPending||this.composing&&p)){var O=this.cm;if(this.resetting=!0,O.somethingSelected()){this.prevInput="";var H=O.getSelection();this.textarea.value=H,O.state.focused&&z(this.textarea),C&&f>=9&&(this.hasSelection=H)}else p||(this.prevInput=this.textarea.value="",C&&f>=9&&(this.hasSelection=null));this.resetting=!1}},Ti.prototype.getField=function(){return this.textarea},Ti.prototype.supportsTouch=function(){return!1},Ti.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!d||U(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch(p){}},Ti.prototype.blur=function(){this.textarea.blur()},Ti.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ti.prototype.receivedFocus=function(){this.slowPoll()},Ti.prototype.slowPoll=function(){var p=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){p.poll(),p.cm.state.focused&&p.slowPoll()})},Ti.prototype.fastPoll=function(){var p=!1,O=this;O.pollingFast=!0;function H(){var j=O.poll();!j&&!p?(p=!0,O.polling.set(60,H)):(O.pollingFast=!1,O.slowPoll())}O.polling.set(20,H)},Ti.prototype.poll=function(){var p=this,O=this.cm,H=this.textarea,j=this.prevInput;if(this.contextMenuPending||this.resetting||!O.state.focused||ce(H)&&!j&&!this.composing||O.isReadOnly()||O.options.disableInput||O.state.keySeq)return!1;var K=H.value;if(K==j&&!O.somethingSelected())return!1;if(C&&f>=9&&this.hasSelection===K||h&&/[\uf700-\uf7ff]/.test(K))return O.display.input.reset(),!1;if(O.doc.sel==O.display.selForContextMenu){var me=K.charCodeAt(0);if(me==8203&&!j&&(j="\u200B"),me==8666)return this.reset(),this.cm.execCommand("undo")}for(var We=0,ct=Math.min(j.length,K.length);We<ct&&j.charCodeAt(We)==K.charCodeAt(We);)++We;return Fo(O,function(){rr(O,K.slice(We),j.length-We,null,p.composing?"*compose":null),K.length>1e3||K.indexOf(`
|
|
|
`)>-1?H.value=p.prevInput="":p.prevInput=K,p.composing&&(p.composing.range.clear(),p.composing.range=O.markText(p.composing.start,O.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ti.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ti.prototype.onKeyPress=function(){C&&f>=9&&(this.hasSelection=null),this.fastPoll()},Ti.prototype.onContextMenu=function(p){var O=this,H=O.cm,j=H.display,K=O.textarea;O.contextMenuPending&&O.contextMenuPending();var me=ei(H,p),We=j.scroller.scrollTop;if(!me||r)return;var ct=H.options.resetSelectionOnContextMenu;ct&&H.doc.sel.contains(me)==-1&&Ei(H,Oo)(H.doc,xt(me),de);var Pt=K.style.cssText,kt=O.wrapper.style.cssText,mr=O.wrapper.offsetParent.getBoundingClientRect();O.wrapper.style.cssText="position: static",K.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(p.clientY-mr.top-5)+"px; left: "+(p.clientX-mr.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 Pr;t&&(Pr=K.ownerDocument.defaultView.scrollY),j.input.focus(),t&&K.ownerDocument.defaultView.scrollTo(null,Pr),j.input.reset(),H.somethingSelected()||(K.value=O.prevInput=" "),O.contextMenuPending=$r,j.selForContextMenu=H.doc.sel,clearTimeout(j.detectingSelectAll);function zr(){if(K.selectionStart!=null){var Un=H.somethingSelected(),ra="\u200B"+(Un?K.value:"");K.value="\u21DA",K.value=ra,O.prevInput=Un?"":"\u200B",K.selectionStart=1,K.selectionEnd=ra.length,j.selForContextMenu=H.doc.sel}}function $r(){if(O.contextMenuPending==$r&&(O.contextMenuPending=!1,O.wrapper.style.cssText=kt,K.style.cssText=Pt,C&&f<9&&j.scrollbars.setScrollTop(j.scroller.scrollTop=We),K.selectionStart!=null)){(!C||C&&f<9)&&zr();var Un=0,ra=function ia(){j.selForContextMenu==H.doc.sel&&K.selectionStart==0&&K.selectionEnd>0&&O.prevInput=="\u200B"?Ei(H,al)(H):Un++<10?j.detectingSelectAll=setTimeout(ia,500):(j.selForContextMenu=null,j.input.reset())};j.detectingSelectAll=setTimeout(ra,200)}}if(C&&f>=9&&zr(),x){pe(p);var mn=function Un(){It(window,"mouseup",Un),setTimeout($r,20)};Vt(window,"mouseup",mn)}else setTimeout($r,50)},Ti.prototype.readOnlyChanged=function(p){p||this.reset(),this.textarea.disabled=p=="nocursor",this.textarea.readOnly=!!p},Ti.prototype.setUneditable=function(){},Ti.prototype.needsContentAttribute=!1;function Ts(p,O){if(O=O?k(O):{},O.value=p.value,!O.tabindex&&p.tabIndex&&(O.tabindex=p.tabIndex),!O.placeholder&&p.placeholder&&(O.placeholder=p.placeholder),O.autofocus==null){var H=U(p.ownerDocument);O.autofocus=H==p||p.getAttribute("autofocus")!=null&&H==document.body}function j(){p.value=ct.getValue()}var K;if(p.form&&(Vt(p.form,"submit",j),!O.leaveSubmitMethodAlone)){var me=p.form;K=me.submit;try{var We=me.submit=function(){j(),me.submit=K,me.submit(),me.submit=We}}catch(Pt){}}O.finishInit=function(Pt){Pt.save=j,Pt.getTextArea=function(){return p},Pt.toTextArea=function(){Pt.toTextArea=isNaN,j(),p.parentNode.removeChild(Pt.getWrapperElement()),p.style.display="",p.form&&(It(p.form,"submit",j),!O.leaveSubmitMethodAlone&&typeof p.form.submit=="function"&&(p.form.submit=K))}},p.style.display="none";var ct=$(function(Pt){return p.parentNode.insertBefore(Pt,p.nextSibling)},O);return ct}function To(p){p.off=It,p.on=Vt,p.wheelEventPixels=X,p.Doc=Xo,p.splitLines=ne,p.countColumn=W,p.findColumn=Ne,p.isWordChar=At,p.Pass=ge,p.signal=Kt,p.Line=ci,p.changeEnd=tr,p.scrollbarModel=Wa,p.Pos=Tt,p.cmpPos=mt,p.modes=Te,p.mimeModes=je,p.resolveMode=ke,p.getMode=tt,p.modeExtensions=st,p.extendMode=_t,p.copyState=Ct,p.startState=Wt,p.innerMode=Rt,p.commands=_l,p.keyMap=Ws,p.keyName=Du,p.isModifierKey=ys,p.lookupKey=ol,p.normalizeKeyMap=Au,p.StringStream=vt,p.SharedTextMarker=Xi,p.TextMarker=ga,p.LineWidget=qs,p.e_preventDefault=Me,p.e_stopPropagation=De,p.e_stop=pe,p.addClass=N,p.contains=L,p.rmClass=b,p.keyNames=hl}bu($),_r($);var xs="iter insert remove copy getEditor constructor".split(" ");for(var bs in Xo.prototype)Xo.prototype.hasOwnProperty(bs)&&fe(xs,bs)<0&&($.prototype[bs]=function(p){return function(){return p.apply(this.doc,arguments)}}(Xo.prototype[bs]));return Ae(Xo),$.inputStyles={textarea:Ti,contenteditable:Sn},$.defineMode=function(p){!$.defaults.mode&&p!="null"&&($.defaults.mode=p),qe.apply(this,arguments)},$.defineMIME=Le,$.defineMode("null",function(){return{token:function(O){return O.skipToEnd()}}}),$.defineMIME("text/plain","null"),$.defineExtension=function(p,O){$.prototype[p]=O},$.defineDocExtension=function(p,O){Xo.prototype[p]=O},$.fromTextArea=Ts,To($),$.version="5.65.9",$})},W2nI:function(oe,V,e){var B=e("IwbS"),T=e("ProS"),w=e("bYtY"),D=["itemStyle","opacity"],I=["emphasis","itemStyle","opacity"],E=["lineStyle","opacity"],C=["emphasis","lineStyle","opacity"];function f(u,n){return u.getVisual("opacity")||u.getModel().get(n)}function t(u,n,l){var a=u.getGraphicEl(),c=f(u,n);l!=null&&(c==null&&(c=1),c*=l),a.downplay&&a.downplay(),a.traverse(function(d){d.type!=="group"&&d.setStyle("opacity",c)})}function i(u,n){var l=f(u,n),a=u.getGraphicEl();a.traverse(function(c){c.type!=="group"&&c.setStyle("opacity",l)}),a.highlight&&a.highlight()}var s=B.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(u,n){var l=n.extent;u.moveTo(n.x1,n.y1),u.bezierCurveTo(n.cpx1,n.cpy1,n.cpx2,n.cpy2,n.x2,n.y2),n.orient==="vertical"?(u.lineTo(n.x2+l,n.y2),u.bezierCurveTo(n.cpx2+l,n.cpy2,n.cpx1+l,n.cpy1,n.x1+l,n.y1)):(u.lineTo(n.x2,n.y2+l),u.bezierCurveTo(n.cpx2,n.cpy2+l,n.cpx1,n.cpy1+l,n.x1,n.y1+l)),u.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),o=T.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(u,n,l){var a=this,c=u.getGraph(),d=this.group,h=u.layoutInfo,y=h.width,A=h.height,v=u.getData(),g=u.getData("edge"),x=u.get("orient");this._model=u,d.removeAll(),d.attr("position",[h.x,h.y]),c.eachEdge(function(m){var b=new s;b.dataIndex=m.dataIndex,b.seriesIndex=u.seriesIndex,b.dataType="edge";var S=m.getModel("lineStyle"),P=S.get("curveness"),M=m.node1.getLayout(),R=m.node1.getModel(),F=R.get("localX"),L=R.get("localY"),U=m.node2.getLayout(),N=m.node2.getModel(),Q=N.get("localX"),z=N.get("localY"),_=m.getLayout(),J,Y,k,W,ie,fe,Ce,ge;switch(b.shape.extent=Math.max(1,_.dy),b.shape.orient=x,x==="vertical"?(J=(F!=null?F*y:M.x)+_.sy,Y=(L!=null?L*A:M.y)+M.dy,k=(Q!=null?Q*y:U.x)+_.ty,W=z!=null?z*A:U.y,ie=J,fe=Y*(1-P)+W*P,Ce=k,ge=Y*P+W*(1-P)):(J=(F!=null?F*y:M.x)+M.dx,Y=(L!=null?L*A:M.y)+_.sy,k=Q!=null?Q*y:U.x,W=(z!=null?z*A:U.y)+_.ty,ie=J*(1-P)+k*P,fe=Y,Ce=J*P+k*(1-P),ge=W),b.setShape({x1:J,y1:Y,x2:k,y2:W,cpx1:ie,cpy1:fe,cpx2:Ce,cpy2:ge}),b.setStyle(S.getItemStyle()),b.style.fill){case"source":b.style.fill=m.node1.getVisual("color");break;case"target":b.style.fill=m.node2.getVisual("color");break}B.setHoverStyle(b,m.getModel("emphasis.lineStyle").getItemStyle()),d.add(b),g.setItemGraphicEl(m.dataIndex,b)}),c.eachNode(function(m){var b=m.getLayout(),S=m.getModel(),P=S.get("localX"),M=S.get("localY"),R=S.getModel("label"),F=S.getModel("emphasis.label"),L=new B.Rect({shape:{x:P!=null?P*y:b.x,y:M!=null?M*A:b.y,width:b.dx,height:b.dy},style:S.getModel("itemStyle").getItemStyle()}),U=m.getModel("emphasis.itemStyle").getItemStyle();B.setLabelStyle(L.style,U,R,F,{labelFetcher:u,labelDataIndex:m.dataIndex,defaultText:m.id,isRectText:!0}),L.setStyle("fill",m.getVisual("color")),B.setHoverStyle(L,U),d.add(L),v.setItemGraphicEl(m.dataIndex,L),L.dataType="node"}),v.eachItemGraphicEl(function(m,b){var S=v.getItemModel(b);S.get("draggable")&&(m.drift=function(P,M){a._focusAdjacencyDisabled=!0,this.shape.x+=P,this.shape.y+=M,this.dirty(),l.dispatchAction({type:"dragNode",seriesId:u.id,dataIndex:v.getRawIndex(b),localX:this.shape.x/y,localY:this.shape.y/A})},m.ondragend=function(){a._focusAdjacencyDisabled=!1},m.draggable=!0,m.cursor="move"),m.highlight=function(){this.trigger("emphasis")},m.downplay=function(){this.trigger("normal")},m.focusNodeAdjHandler&&m.off("mouseover",m.focusNodeAdjHandler),m.unfocusNodeAdjHandler&&m.off("mouseout",m.unfocusNodeAdjHandler),S.get("focusNodeAdjacency")&&(m.on("mouseover",m.focusNodeAdjHandler=function(){a._focusAdjacencyDisabled||(a._clearTimer(),l.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,dataIndex:m.dataIndex}))}),m.on("mouseout",m.unfocusNodeAdjHandler=function(){a._focusAdjacencyDisabled||a._dispatchUnfocus(l)}))}),g.eachItemGraphicEl(function(m,b){var S=g.getItemModel(b);m.focusNodeAdjHandler&&m.off("mouseover",m.focusNodeAdjHandler),m.unfocusNodeAdjHandler&&m.off("mouseout",m.unfocusNodeAdjHandler),S.get("focusNodeAdjacency")&&(m.on("mouseover",m.focusNodeAdjHandler=function(){a._focusAdjacencyDisabled||(a._clearTimer(),l.dispatchAction({type:"focusNodeAdjacency",seriesId:u.id,edgeDataIndex:m.dataIndex}))}),m.on("mouseout",m.unfocusNodeAdjHandler=function(){a._focusAdjacencyDisabled||a._dispatchUnfocus(l)}))}),!this._data&&u.get("animation")&&d.setClipPath(r(d.getBoundingRect(),u,function(){d.removeClipPath()})),this._data=u.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(u){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){n._unfocusDelayTimer=null,u.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(u,n,l,a){var c=u.getData(),d=c.graph,h=a.dataIndex,y=c.getItemModel(h),A=a.edgeDataIndex;if(!(h==null&&A==null)){var v=d.getNodeByIndex(h),g=d.getEdgeByIndex(A);if(d.eachNode(function(m){t(m,D,.1)}),d.eachEdge(function(m){t(m,E,.1)}),v){i(v,I);var x=y.get("focusNodeAdjacency");x==="outEdges"?w.each(v.outEdges,function(m){m.dataIndex<0||(i(m,C),i(m.node2,I))}):x==="inEdges"?w.each(v.inEdges,function(m){m.dataIndex<0||(i(m,C),i(m.node1,I))}):x==="allEdges"&&w.each(v.edges,function(m){m.dataIndex<0||(i(m,C),m.node1!==v&&i(m.node1,I),m.node2!==v&&i(m.node2,I))})}g&&(i(g,C),i(g.node1,I),i(g.node2,I))}},unfocusNodeAdjacency:function(u,n,l,a){var c=u.getGraph();c.eachNode(function(d){t(d,D)}),c.eachEdge(function(d){t(d,E)})}});function r(u,n,l){var a=new B.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}});return B.initProps(a,{shape:{width:u.width+20}},n,l),a}oe.exports=o},W4dC:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.each,I=w.createHashMap,E=e("7DRL"),C=e("TIY9"),f=e("yS9w"),t=e("mFDi"),i={geoJSON:C,svg:f},s={load:function(n,l,a){var c=[],d=I(),h=I(),y,A=u(n);return D(A,function(v){var g=i[v.type].load(n,v,a);D(g.regions,function(m){var b=m.name;l&&l.hasOwnProperty(b)&&(m=m.cloneShallow(b=l[b])),c.push(m),d.set(b,m),h.set(b,m.center)});var x=g.boundingRect;x&&(y?y.union(x):y=x.clone())}),{regions:c,regionsMap:d,nameCoordMap:h,boundingRect:y||new t(0,0,0,0)}},makeGraphic:o("makeGraphic"),removeGraphic:o("removeGraphic")};function o(n){return function(l,a){var c=u(l),d=[];return D(c,function(h){var y=i[h.type][n];y&&d.push(y(l,h,a))}),d}}function r(n){}function u(n){var l=E.retrieveMap(n)||[];return l}oe.exports=s},WGYa:function(oe,V,e){var B=e("7yuC"),T=B.forceLayout,w=e("HF/U"),D=w.simpleLayout,I=e("lOQZ"),E=I.circularLayout,C=e("OELB"),f=C.linearMap,t=e("QBsz"),i=e("bYtY"),s=e("DDd/"),o=s.getCurvenessForEdge;function r(u){u.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(!(l&&l.type!=="view"))if(n.get("layout")==="force"){var a=n.preservedPoints||{},c=n.getGraph(),d=c.data,h=c.edgeData,y=n.getModel("force"),A=y.get("initLayout");n.preservedPoints?d.each(function(L){var U=d.getId(L);d.setItemLayout(L,a[U]||[NaN,NaN])}):!A||A==="none"?D(n):A==="circular"&&E(n,"value");var v=d.getDataExtent("value"),g=h.getDataExtent("value"),x=y.get("repulsion"),m=y.get("edgeLength");i.isArray(x)||(x=[x,x]),i.isArray(m)||(m=[m,m]),m=[m[1],m[0]];var b=d.mapArray("value",function(L,U){var N=d.getItemLayout(U),Q=f(L,v,x);return isNaN(Q)&&(Q=(x[0]+x[1])/2),{w:Q,rep:Q,fixed:d.getItemModel(U).get("fixed"),p:!N||isNaN(N[0])||isNaN(N[1])?null:N}}),S=h.mapArray("value",function(L,U){var N=c.getEdgeByIndex(U),Q=f(L,g,m);isNaN(Q)&&(Q=(m[0]+m[1])/2);var z=N.getModel(),_=i.retrieve3(z.get("lineStyle.curveness"),-o(N,n,U,!0),0);return{n1:b[N.node1.dataIndex],n2:b[N.node2.dataIndex],d:Q,curveness:_,ignoreForceLayout:z.get("ignoreForceLayout")}}),l=n.coordinateSystem,P=l.getBoundingRect(),M=T(b,S,{rect:P,gravity:y.get("gravity"),friction:y.get("friction")}),R=M.step;M.step=function(L){for(var U=0,N=b.length;U<N;U++)b[U].fixed&&t.copy(b[U].p,c.getNodeByIndex(U).getLayout());R(function(Q,z,_){for(var J=0,Y=Q.length;J<Y;J++)Q[J].fixed||c.getNodeByIndex(J).setLayout(Q[J].p),a[d.getId(J)]=Q[J].p;for(var J=0,Y=z.length;J<Y;J++){var k=z[J],W=c.getEdgeByIndex(J),ie=k.n1.p,fe=k.n2.p,Ce=W.getLayout();Ce=Ce?Ce.slice():[],Ce[0]=Ce[0]||[],Ce[1]=Ce[1]||[],t.copy(Ce[0],ie),t.copy(Ce[1],fe),+k.curveness&&(Ce[2]=[(ie[0]+fe[0])/2-(ie[1]-fe[1])*k.curveness,(ie[1]+fe[1])/2-(fe[0]-ie[0])*k.curveness]),W.setLayout(Ce)}L&&L(_)})},n.forceLayout=M,n.preservedPoints=a,M.step()}else n.forceLayout=null})}oe.exports=r},"WN+l":function(oe,V,e){var B=e("bYtY"),T=e("IwbS");function w(I,E,C,f){var t=C.axis;if(!t.scale.isBlank()){var i=C.getModel("splitArea"),s=i.getModel("areaStyle"),o=s.get("color"),r=f.coordinateSystem.getRect(),u=t.getTicksCoords({tickModel:i,clamp:!0});if(!!u.length){var n=o.length,l=I.__splitAreaColors,a=B.createHashMap(),c=0;if(l)for(var d=0;d<u.length;d++){var h=l.get(u[d].tickValue);if(h!=null){c=(h+(n-1)*d)%n;break}}var y=t.toGlobalCoord(u[0].coord),A=s.getAreaStyle();o=B.isArray(o)?o:[o];for(var d=1;d<u.length;d++){var v=t.toGlobalCoord(u[d].coord),g,x,m,b;t.isHorizontal()?(g=y,x=r.y,m=v-g,b=r.height,y=g+m):(g=r.x,x=y,m=r.width,b=v-x,y=x+b);var S=u[d-1].tickValue;S!=null&&a.set(S,c),E.add(new T.Rect({anid:S!=null?"area_"+S:null,shape:{x:g,y:x,width:m,height:b},style:B.defaults({fill:o[c]},A),silent:!0})),c=(c+1)%n}I.__splitAreaColors=a}}}function D(I){I.__splitAreaColors=null}V.rectCoordAxisBuildSplitArea=w,V.rectCoordAxisHandleRemove=D},WaYH:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("Ff2n"),D=e("VTBJ"),I=e("1OyB"),E=e("vuIU"),C=e("JX7q"),f=e("Ji7U"),t=e("LK+K"),i=e("q1tI"),s=e("TSYQ"),o=e.n(s),r=e("bX4T"),u=e("sboe"),n=function(m){for(var b=m.prefixCls,S=m.level,P=m.isStart,M=m.isEnd,R="".concat(b,"-indent-unit"),F=[],L=0;L<S;L+=1){var U;F.push(i.createElement("span",{key:L,className:o()(R,(U={},Object(T.a)(U,"".concat(R,"-start"),P[L]),Object(T.a)(U,"".concat(R,"-end"),M[L]),U))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(b,"-indent")},F)},l=i.memo(n),a=e("815F"),c=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],d="open",h="close",y="---",A=function(x){Object(f.a)(b,x);var m=Object(t.a)(b);function b(){var S;Object(I.a)(this,b);for(var P=arguments.length,M=new Array(P),R=0;R<P;R++)M[R]=arguments[R];return S=m.call.apply(m,[this].concat(M)),S.state={dragNodeHighlight:!1},S.selectHandle=void 0,S.onSelectorClick=function(F){var L=S.props.context.onNodeClick;L(F,Object(a.b)(S.props)),S.isSelectable()?S.onSelect(F):S.onCheck(F)},S.onSelectorDoubleClick=function(F){var L=S.props.context.onNodeDoubleClick;L(F,Object(a.b)(S.props))},S.onSelect=function(F){if(!S.isDisabled()){var L=S.props.context.onNodeSelect;F.preventDefault(),L(F,Object(a.b)(S.props))}},S.onCheck=function(F){if(!S.isDisabled()){var L=S.props,U=L.disableCheckbox,N=L.checked,Q=S.props.context.onNodeCheck;if(!(!S.isCheckable()||U)){F.preventDefault();var z=!N;Q(F,Object(a.b)(S.props),z)}}},S.onMouseEnter=function(F){var L=S.props.context.onNodeMouseEnter;L(F,Object(a.b)(S.props))},S.onMouseLeave=function(F){var L=S.props.context.onNodeMouseLeave;L(F,Object(a.b)(S.props))},S.onContextMenu=function(F){var L=S.props.context.onNodeContextMenu;L(F,Object(a.b)(S.props))},S.onDragStart=function(F){var L=S.props.context.onNodeDragStart;F.stopPropagation(),S.setState({dragNodeHighlight:!0}),L(F,Object(C.a)(S));try{F.dataTransfer.setData("text/plain","")}catch(U){}},S.onDragEnter=function(F){var L=S.props.context.onNodeDragEnter;F.preventDefault(),F.stopPropagation(),L(F,Object(C.a)(S))},S.onDragOver=function(F){var L=S.props.context.onNodeDragOver;F.preventDefault(),F.stopPropagation(),L(F,Object(C.a)(S))},S.onDragLeave=function(F){var L=S.props.context.onNodeDragLeave;F.stopPropagation(),L(F,Object(C.a)(S))},S.onDragEnd=function(F){var L=S.props.context.onNodeDragEnd;F.stopPropagation(),S.setState({dragNodeHighlight:!1}),L(F,Object(C.a)(S))},S.onDrop=function(F){var L=S.props.context.onNodeDrop;F.preventDefault(),F.stopPropagation(),S.setState({dragNodeHighlight:!1}),L(F,Object(C.a)(S))},S.onExpand=function(F){var L=S.props,U=L.loading,N=L.context.onNodeExpand;U||N(F,Object(a.b)(S.props))},S.setSelectHandle=function(F){S.selectHandle=F},S.getNodeState=function(){var F=S.props.expanded;return S.isLeaf()?null:F?d:h},S.hasChildren=function(){var F=S.props.eventKey,L=S.props.context.keyEntities,U=L[F]||{},N=U.children;return!!(N||[]).length},S.isLeaf=function(){var F=S.props,L=F.isLeaf,U=F.loaded,N=S.props.context.loadData,Q=S.hasChildren();return L===!1?!1:L||!N&&!Q||N&&U&&!Q},S.isDisabled=function(){var F=S.props.disabled,L=S.props.context.disabled;return!!(L||F)},S.isCheckable=function(){var F=S.props.checkable,L=S.props.context.checkable;return!L||F===!1?!1:L},S.syncLoadData=function(F){var L=F.expanded,U=F.loading,N=F.loaded,Q=S.props.context,z=Q.loadData,_=Q.onNodeLoad;U||z&&L&&!S.isLeaf()&&!S.hasChildren()&&!N&&_(Object(a.b)(S.props))},S.isDraggable=function(){var F=S.props,L=F.data,U=F.context.draggable;return!!(U&&(!U.nodeDraggable||U.nodeDraggable(L)))},S.renderDragHandler=function(){var F=S.props.context,L=F.draggable,U=F.prefixCls;return(L==null?void 0:L.icon)?i.createElement("span",{className:"".concat(U,"-draggable-icon")},L.icon):null},S.renderSwitcherIconDom=function(F){var L=S.props.switcherIcon,U=S.props.context.switcherIcon,N=L||U;return typeof N=="function"?N(Object(D.a)(Object(D.a)({},S.props),{},{isLeaf:F})):N},S.renderSwitcher=function(){var F=S.props.expanded,L=S.props.context.prefixCls;if(S.isLeaf()){var U=S.renderSwitcherIconDom(!0);return U!==!1?i.createElement("span",{className:o()("".concat(L,"-switcher"),"".concat(L,"-switcher-noop"))},U):null}var N=o()("".concat(L,"-switcher"),"".concat(L,"-switcher_").concat(F?d:h)),Q=S.renderSwitcherIconDom(!1);return Q!==!1?i.createElement("span",{onClick:S.onExpand,className:N},Q):null},S.renderCheckbox=function(){var F=S.props,L=F.checked,U=F.halfChecked,N=F.disableCheckbox,Q=S.props.context.prefixCls,z=S.isDisabled(),_=S.isCheckable();if(!_)return null;var J=typeof _!="boolean"?_:null;return i.createElement("span",{className:o()("".concat(Q,"-checkbox"),L&&"".concat(Q,"-checkbox-checked"),!L&&U&&"".concat(Q,"-checkbox-indeterminate"),(z||N)&&"".concat(Q,"-checkbox-disabled")),onClick:S.onCheck},J)},S.renderIcon=function(){var F=S.props.loading,L=S.props.context.prefixCls;return i.createElement("span",{className:o()("".concat(L,"-iconEle"),"".concat(L,"-icon__").concat(S.getNodeState()||"docu"),F&&"".concat(L,"-icon_loading"))})},S.renderSelector=function(){var F=S.state.dragNodeHighlight,L=S.props,U=L.title,N=L.selected,Q=L.icon,z=L.loading,_=L.data,J=S.props.context,Y=J.prefixCls,k=J.showIcon,W=J.icon,ie=J.loadData,fe=J.titleRender,Ce=S.isDisabled(),ge="".concat(Y,"-node-content-wrapper"),de;if(k){var Pe=Q||W;de=Pe?i.createElement("span",{className:o()("".concat(Y,"-iconEle"),"".concat(Y,"-icon__customize"))},typeof Pe=="function"?Pe(S.props):Pe):S.renderIcon()}else ie&&z&&(de=S.renderIcon());var _e;typeof U=="function"?_e=U(_):fe?_e=fe(_):_e=U;var Ne=i.createElement("span",{className:"".concat(Y,"-title")},_e);return i.createElement("span",{ref:S.setSelectHandle,title:typeof U=="string"?U:"",className:o()("".concat(ge),"".concat(ge,"-").concat(S.getNodeState()||"normal"),!Ce&&(N||F)&&"".concat(Y,"-node-selected")),onMouseEnter:S.onMouseEnter,onMouseLeave:S.onMouseLeave,onContextMenu:S.onContextMenu,onClick:S.onSelectorClick,onDoubleClick:S.onSelectorDoubleClick},de,Ne,S.renderDropIndicator())},S.renderDropIndicator=function(){var F=S.props,L=F.disabled,U=F.eventKey,N=S.props.context,Q=N.draggable,z=N.dropLevelOffset,_=N.dropPosition,J=N.prefixCls,Y=N.indent,k=N.dropIndicatorRender,W=N.dragOverNodeKey,ie=N.direction,fe=Q!==!1,Ce=!L&&fe&&W===U;return Ce?k({dropPosition:_,dropLevelOffset:z,indent:Y,prefixCls:J,direction:ie}):null},S}return Object(E.a)(b,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var P=this.props.selectable,M=this.props.context.selectable;return typeof P=="boolean"?P:M}},{key:"render",value:function(){var P,M=this.props,R=M.eventKey,F=M.className,L=M.style,U=M.dragOver,N=M.dragOverGapTop,Q=M.dragOverGapBottom,z=M.isLeaf,_=M.isStart,J=M.isEnd,Y=M.expanded,k=M.selected,W=M.checked,ie=M.halfChecked,fe=M.loading,Ce=M.domRef,ge=M.active,de=M.data,Pe=M.onMouseMove,_e=M.selectable,Ne=Object(w.a)(M,c),He=this.props.context,ue=He.prefixCls,Re=He.filterTreeNode,nt=He.keyEntities,Ve=He.dropContainerKey,Ge=He.dropTargetKey,dt=He.draggingNodeKey,et=this.isDisabled(),At=Object(r.a)(Ne,{aria:!0,data:!0}),Dt=nt[R]||{},Ft=Dt.level,St=J[J.length-1],$e=this.isDraggable(),lt=!et&&$e,Ut=dt===R,gt=_e!==void 0?{"aria-selected":!!_e}:void 0;return i.createElement("div",Object(B.a)({ref:Ce,className:o()(F,"".concat(ue,"-treenode"),(P={},Object(T.a)(P,"".concat(ue,"-treenode-disabled"),et),Object(T.a)(P,"".concat(ue,"-treenode-switcher-").concat(Y?"open":"close"),!z),Object(T.a)(P,"".concat(ue,"-treenode-checkbox-checked"),W),Object(T.a)(P,"".concat(ue,"-treenode-checkbox-indeterminate"),ie),Object(T.a)(P,"".concat(ue,"-treenode-selected"),k),Object(T.a)(P,"".concat(ue,"-treenode-loading"),fe),Object(T.a)(P,"".concat(ue,"-treenode-active"),ge),Object(T.a)(P,"".concat(ue,"-treenode-leaf-last"),St),Object(T.a)(P,"".concat(ue,"-treenode-draggable"),$e),Object(T.a)(P,"dragging",Ut),Object(T.a)(P,"drop-target",Ge===R),Object(T.a)(P,"drop-container",Ve===R),Object(T.a)(P,"drag-over",!et&&U),Object(T.a)(P,"drag-over-gap-top",!et&&N),Object(T.a)(P,"drag-over-gap-bottom",!et&&Q),Object(T.a)(P,"filter-node",Re&&Re(Object(a.b)(this.props))),P)),style:L,draggable:lt,"aria-grabbed":Ut,onDragStart:lt?this.onDragStart:void 0,onDragEnter:$e?this.onDragEnter:void 0,onDragOver:$e?this.onDragOver:void 0,onDragLeave:$e?this.onDragLeave:void 0,onDrop:$e?this.onDrop:void 0,onDragEnd:$e?this.onDragEnd:void 0,onMouseMove:Pe},gt,At),i.createElement(l,{prefixCls:ue,level:Ft,isStart:_,isEnd:J}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),b}(i.Component),v=function(m){return i.createElement(u.a.Consumer,null,function(b){return i.createElement(A,Object(B.a)({},m,{context:b}))})};v.displayName="TreeNode",v.defaultProps={title:y},v.isTreeNode=1;var g=V.a=v},WkPL:function(oe,V){function e(B,T){(T==null||T>B.length)&&(T=B.length);for(var w=0,D=new Array(T);w<T;w++)D[w]=B[w];return D}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},Wqna:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.isObject,I=w.each,E=w.map,C=w.indexOf,f=w.retrieve,t=e("+TT/"),i=t.getLayoutRect,s=e("aX7z"),o=s.createScaleByModel,r=s.ifAxisCrossZero,u=s.niceScaleExtent,n=s.estimateLabelUnionRect,l=e("y+lR"),a=e("7AJT"),c=e("IDmD"),d=e("7hqr"),h=d.getStackedDimension;e("jtI2");function y(R,F,L){return R.getCoordSysModel()===F}function A(R,F,L){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,F,L),this.model=R}var v=A.prototype;v.type="grid",v.axisPointerEnabled=!0,v.getRect=function(){return this._rect},v.update=function(R,F){var L=this._axesMap;this._updateScale(R,this.model),I(L.x,function(N){u(N.scale,N.model)}),I(L.y,function(N){u(N.scale,N.model)});var U={};I(L.x,function(N){g(L,"y",N,U)}),I(L.y,function(N){g(L,"x",N,U)}),this.resize(this.model,F)};function g(R,F,L,U){L.getAxesOnZeroOf=function(){return Q?[Q]:[]};var N=R[F],Q,z=L.model,_=z.get("axisLine.onZero"),J=z.get("axisLine.onZeroAxisIndex");if(!_)return;if(J!=null)x(N[J])&&(Q=N[J]);else for(var Y in N)if(N.hasOwnProperty(Y)&&x(N[Y])&&!U[k(N[Y])]){Q=N[Y];break}Q&&(U[k(Q)]=!0);function k(W){return W.dim+"_"+W.index}}function x(R){return R&&R.type!=="category"&&R.type!=="time"&&r(R)}v.resize=function(R,F,L){var U=i(R.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()});this._rect=U;var N=this._axesList;Q(),!L&&R.get("containLabel")&&(I(N,function(z){if(!z.model.get("axisLabel.inside")){var _=n(z);if(_){var J=z.isHorizontal()?"height":"width",Y=z.model.get("axisLabel.margin");U[J]-=_[J]+Y,z.position==="top"?U.y+=_.height+Y:z.position==="left"&&(U.x+=_.width+Y)}}}),Q());function Q(){I(N,function(z){var _=z.isHorizontal(),J=_?[0,U.width]:[0,U.height],Y=z.inverse?1:0;z.setExtent(J[Y],J[1-Y]),m(z,_?U.x:U.y)})}},v.getAxis=function(R,F){var L=this._axesMap[R];if(L!=null){if(F==null){for(var U in L)if(L.hasOwnProperty(U))return L[U]}return L[F]}},v.getAxes=function(){return this._axesList.slice()},v.getCartesian=function(R,F){if(R!=null&&F!=null){var L="x"+R+"y"+F;return this._coordsMap[L]}D(R)&&(F=R.yAxisIndex,R=R.xAxisIndex);for(var U=0,N=this._coordsList;U<N.length;U++)if(N[U].getAxis("x").index===R||N[U].getAxis("y").index===F)return N[U]},v.getCartesians=function(){return this._coordsList.slice()},v.convertToPixel=function(R,F,L){var U=this._findConvertTarget(R,F);return U.cartesian?U.cartesian.dataToPoint(L):U.axis?U.axis.toGlobalCoord(U.axis.dataToCoord(L)):null},v.convertFromPixel=function(R,F,L){var U=this._findConvertTarget(R,F);return U.cartesian?U.cartesian.pointToData(L):U.axis?U.axis.coordToData(U.axis.toLocalCoord(L)):null},v._findConvertTarget=function(R,F){var L=F.seriesModel,U=F.xAxisModel||L&&L.getReferringComponents("xAxis")[0],N=F.yAxisModel||L&&L.getReferringComponents("yAxis")[0],Q=F.gridModel,z=this._coordsList,_,J;if(L)_=L.coordinateSystem,C(z,_)<0&&(_=null);else if(U&&N)_=this.getCartesian(U.componentIndex,N.componentIndex);else if(U)J=this.getAxis("x",U.componentIndex);else if(N)J=this.getAxis("y",N.componentIndex);else if(Q){var Y=Q.coordinateSystem;Y===this&&(_=this._coordsList[0])}return{cartesian:_,axis:J}},v.containPoint=function(R){var F=this._coordsList[0];if(F)return F.containPoint(R)},v._initCartesian=function(R,F,L){var U={left:!1,right:!1,top:!1,bottom:!1},N={x:{},y:{}},Q={x:0,y:0};if(F.eachComponent("xAxis",z("x"),this),F.eachComponent("yAxis",z("y"),this),!Q.x||!Q.y){this._axesMap={},this._axesList=[];return}this._axesMap=N,I(N.x,function(_,J){I(N.y,function(Y,k){var W="x"+J+"y"+k,ie=new l(W);ie.grid=this,ie.model=R,this._coordsMap[W]=ie,this._coordsList.push(ie),ie.addAxis(_),ie.addAxis(Y)},this)},this);function z(_){return function(J,Y){if(!!y(J,R,F)){var k=J.get("position");_==="x"?k!=="top"&&k!=="bottom"&&(k=U.bottom?"top":"bottom"):k!=="left"&&k!=="right"&&(k=U.left?"right":"left"),U[k]=!0;var W=new a(_,o(J),[0,0],J.get("type"),k),ie=W.type==="category";W.onBand=ie&&J.get("boundaryGap"),W.inverse=J.get("inverse"),J.axis=W,W.model=J,W.grid=this,W.index=Y,this._axesList.push(W),N[_][Y]=W,Q[_]++}}}},v._updateScale=function(R,F){I(this._axesList,function(U){U.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(U){if(P(U)){var N=S(U,R),Q=N[0],z=N[1];if(!y(Q,F,R)||!y(z,F,R))return;var _=this.getCartesian(Q.componentIndex,z.componentIndex),J=U.getData(),Y=_.getAxis("x"),k=_.getAxis("y");J.type==="list"&&(L(J,Y,U),L(J,k,U))}},this);function L(U,N,Q){I(U.mapDimension(N.dim,!0),function(z){N.scale.unionExtentFromData(U,h(U,z))})}},v.getTooltipAxes=function(R){var F=[],L=[];return I(this.getCartesians(),function(U){var N=R!=null&&R!=="auto"?U.getAxis(R):U.getBaseAxis(),Q=U.getOtherAxis(N);C(F,N)<0&&F.push(N),C(L,Q)<0&&L.push(Q)}),{baseAxes:F,otherAxes:L}};function m(R,F){var L=R.getExtent(),U=L[0]+L[1];R.toGlobalCoord=R.dim==="x"?function(N){return N+F}:function(N){return U-N+F},R.toLocalCoord=R.dim==="x"?function(N){return N-F}:function(N){return U-N+F}}var b=["xAxis","yAxis"];function S(R,F){return E(b,function(L){var U=R.getReferringComponents(L)[0];return U})}function P(R){return R.get("coordinateSystem")==="cartesian2d"}A.create=function(R,F){var L=[];return R.eachComponent("grid",function(U,N){var Q=new A(U,R,F);Q.name="grid_"+N,Q.resize(U,F,!0),U.coordinateSystem=Q,L.push(Q)}),R.eachSeries(function(U){if(!!P(U)){var N=S(U,R),Q=N[0],z=N[1],_=Q.getCoordSysModel(),J=_.coordinateSystem;U.coordinateSystem=J.getCartesian(Q.componentIndex,z.componentIndex)}}),L},A.dimensions=A.prototype.dimensions=l.prototype.dimensions,c.register("cartesian2d",A);var M=A;oe.exports=M},XI05:function(oe,V,e){"use strict";var B=e("q1tI"),T=e.n(B),w=e("H84U"),D=e("ECub"),I=function(C){return B.createElement(w.a,null,function(f){var t=f.getPrefixCls,i=t("empty");switch(C){case"Table":case"List":return B.createElement(D.a,{image:D.a.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return B.createElement(D.a,{image:D.a.PRESENTED_IMAGE_SIMPLE,className:"".concat(i,"-small")});default:return B.createElement(D.a,null)}})};V.a=I},XOKv:function(oe,V,e){e("OXB0"),e("SA4+")},Xmg4:function(oe,V,e){var B=e("bYtY"),T=e("LPTA"),w=T.devicePixelRatio,D=e("K2GJ"),I=e("3C/r");function E(){return!1}function C(i,s,o){var r=B.createCanvas(),u=s.getWidth(),n=s.getHeight(),l=r.style;return l&&(l.position="absolute",l.left=0,l.top=0,l.width=u+"px",l.height=n+"px",r.setAttribute("data-zr-dom-id",i)),r.width=u*o,r.height=n*o,r}var f=function(s,o,r){var u;r=r||w,typeof s=="string"?u=C(s,o,r):B.isObject(s)&&(u=s,s=u.id),this.id=s,this.dom=u;var n=u.style;n&&(u.onselectstart=E,n["-webkit-user-select"]="none",n["user-select"]="none",n["-webkit-touch-callout"]="none",n["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",n.padding=0,n.margin=0,n["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=o,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=r};f.prototype={constructor:f,__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 s=this.dpr;this.domBack=C("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,o){var r=this.dpr,u=this.dom,n=u.style,l=this.domBack;n&&(n.width=s+"px",n.height=o+"px"),u.width=s*r,u.height=o*r,l&&(l.width=s*r,l.height=o*r,r!==1&&this.ctxBack.scale(r,r))},clear:function(s,o){var r=this.dom,u=this.ctx,n=r.width,l=r.height,o=o||this.clearColor,a=this.motionBlur&&!s,c=this.lastFrameAlpha,d=this.dpr;if(a&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,n/d,l/d)),u.clearRect(0,0,n,l),o&&o!=="transparent"){var h;o.colorStops?(h=o.__canvasGradient||D.getGradient(u,o,{x:0,y:0,width:n,height:l}),o.__canvasGradient=h):o.image&&(h=I.prototype.getCanvasPattern.call(o,u)),u.save(),u.fillStyle=h||o,u.fillRect(0,0,n,l),u.restore()}if(a){var y=this.domBack;u.save(),u.globalAlpha=c,u.drawImage(y,0,0,n,l),u.restore()}}};var t=f;oe.exports=t},Xnb7:function(oe,V,e){var B=e("1RvN"),T=new B(50);function w(C){if(typeof C=="string"){var f=T.get(C);return f&&f.image}else return C}function D(C,f,t,i,s){if(C)if(typeof C=="string"){if(f&&f.__zrImageSrc===C||!t)return f;var o=T.get(C),r={hostEl:t,cb:i,cbPayload:s};return o?(f=o.image,!E(f)&&o.pending.push(r)):(f=new Image,f.onload=f.onerror=I,T.put(C,f.__cachedImgObj={image:f,pending:[r]}),f.src=f.__zrImageSrc=C),f}else return C;else return f}function I(){var C=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var f=0;f<C.pending.length;f++){var t=C.pending[f],i=t.cb;i&&i(this,t.cbPayload),t.hostEl.dirty()}C.pending.length=0}function E(C){return C&&C.width&&C.height}V.findExistImage=w,V.createOrUpdateImage=D,V.isImageReady=E},XpcN:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("oVpE"),E=I.createSymbol,C=e("IwbS"),f=e("eRkO"),t=f.makeBackground,i=e("+TT/"),s=D.curry,o=D.each,r=C.Group,u=w.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new r),this._backgroundEl,this.group.add(this._selectorGroup=new r),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(d,h,y){var A=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!d.get("show",!0)){var v=d.get("align"),g=d.get("orient");(!v||v==="auto")&&(v=d.get("left")==="right"&&g==="vertical"?"right":"left");var x=d.get("selector",!0),m=d.get("selectorPosition",!0);x&&(!m||m==="auto")&&(m=g==="horizontal"?"end":"start"),this.renderInner(v,d,h,y,x,g,m);var b=d.getBoxLayoutParams(),S={width:y.getWidth(),height:y.getHeight()},P=d.get("padding"),M=i.getLayoutRect(b,S,P),R=this.layoutInner(d,v,M,A,x,m),F=i.getLayoutRect(D.defaults({width:R.width,height:R.height},b),S,P);this.group.attr("position",[F.x-R.x,F.y-R.y]),this.group.add(this._backgroundEl=t(R,d))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(d,h,y,A,v,g,x){var m=this.getContentGroup(),b=D.createHashMap(),S=h.get("selectedMode"),P=[];y.eachRawSeries(function(M){!M.get("legendHoverLink")&&P.push(M.id)}),o(h.getData(),function(M,R){var F=M.get("name");if(!this.newlineDisabled&&(F===""||F===`
|
|
|
`)){m.add(new r({newline:!0}));return}var L=y.getSeriesByName(F)[0];if(!b.get(F))if(L){var U=L.getData(),N=U.getVisual("color"),Q=U.getVisual("borderColor");typeof N=="function"&&(N=N(L.getDataParams(0))),typeof Q=="function"&&(Q=Q(L.getDataParams(0)));var z=U.getVisual("legendSymbol")||"roundRect",_=U.getVisual("symbol"),J=this._createItem(F,R,M,h,z,_,d,N,Q,S);J.on("click",s(l,F,null,A,P)).on("mouseover",s(a,L.name,null,A,P)).on("mouseout",s(c,L.name,null,A,P)),b.set(F,!0)}else y.eachRawSeries(function(Y){if(!b.get(F)&&Y.legendVisualProvider){var k=Y.legendVisualProvider;if(!k.containName(F))return;var W=k.indexOfName(F),ie=k.getItemVisual(W,"color"),fe=k.getItemVisual(W,"borderColor"),Ce="roundRect",ge=this._createItem(F,R,M,h,Ce,null,d,ie,fe,S);ge.on("click",s(l,null,F,A,P)).on("mouseover",s(a,null,F,A,P)).on("mouseout",s(c,null,F,A,P)),b.set(F,!0)}},this)},this),v&&this._createSelector(v,h,A,g,x)},_createSelector:function(d,h,y,A,v){var g=this.getSelectorGroup();o(d,function(m){x(m)});function x(m){var b=m.type,S=new C.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){y.dispatchAction({type:b==="all"?"legendAllSelect":"legendInverseSelect"})}});g.add(S);var P=h.getModel("selectorLabel"),M=h.getModel("emphasis.selectorLabel");C.setLabelStyle(S.style,S.hoverStyle={},P,M,{defaultText:m.title,isRectText:!1}),C.setHoverStyle(S)}},_createItem:function(d,h,y,A,v,g,x,m,b,S){var P=A.get("itemWidth"),M=A.get("itemHeight"),R=A.get("inactiveColor"),F=A.get("inactiveBorderColor"),L=A.get("symbolKeepAspect"),U=A.getModel("itemStyle"),N=A.isSelected(d),Q=new r,z=y.getModel("textStyle"),_=y.get("icon"),J=y.getModel("tooltip"),Y=J.parentModel;v=_||v;var k=E(v,0,0,P,M,N?m:R,L==null?!0:L);if(Q.add(n(k,v,U,b,F,N)),!_&&g&&(g!==v||g==="none")){var W=M*.8;g==="none"&&(g="circle");var ie=E(g,(P-W)/2,(M-W)/2,W,W,N?m:R,L==null?!0:L);Q.add(n(ie,g,U,b,F,N))}var fe=x==="left"?P+5:-5,Ce=x,ge=A.get("formatter"),de=d;typeof ge=="string"&&ge?de=ge.replace("{name}",d!=null?d:""):typeof ge=="function"&&(de=ge(d)),Q.add(new C.Text({style:C.setTextStyle({},z,{text:de,x:fe,y:M/2,textFill:N?z.getTextColor():R,textAlign:Ce,textVerticalAlign:"middle"})}));var Pe=new C.Rect({shape:Q.getBoundingRect(),invisible:!0,tooltip:J.get("show")?D.extend({content:d,formatter:Y.get("formatter",!0)||function(){return d},formatterParams:{componentType:"legend",legendIndex:A.componentIndex,name:d,$vars:["name"]}},J.option):null});return Q.add(Pe),Q.eachChild(function(_e){_e.silent=!0}),Pe.silent=!S,this.getContentGroup().add(Q),C.setHoverStyle(Q),Q.__legendDataIndex=h,Q},layoutInner:function(d,h,y,A,v,g){var x=this.getContentGroup(),m=this.getSelectorGroup();i.box(d.get("orient"),x,d.get("itemGap"),y.width,y.height);var b=x.getBoundingRect(),S=[-b.x,-b.y];if(v){i.box("horizontal",m,d.get("selectorItemGap",!0));var P=m.getBoundingRect(),M=[-P.x,-P.y],R=d.get("selectorButtonGap",!0),F=d.getOrient().index,L=F===0?"width":"height",U=F===0?"height":"width",N=F===0?"y":"x";g==="end"?M[F]+=b[L]+R:S[F]+=P[L]+R,M[1-F]+=b[U]/2-P[U]/2,m.attr("position",M),x.attr("position",S);var Q={x:0,y:0};return Q[L]=b[L]+R+P[L],Q[U]=Math.max(b[U],P[U]),Q[N]=Math.min(0,P[N]+M[1-F]),Q}else return x.attr("position",S),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function n(d,h,y,A,v,g){var x;return h!=="line"&&h.indexOf("empty")<0?(x=y.getItemStyle(),d.style.stroke=A,g||(x.stroke=v)):x=y.getItemStyle(["borderWidth","borderColor"]),d.setStyle(x)}function l(d,h,y,A){c(d,h,y,A),y.dispatchAction({type:"legendToggleSelect",name:d!=null?d:h}),a(d,h,y,A)}function a(d,h,y,A){var v=y.getZr().storage.getDisplayList()[0];v&&v.useHoverLayer||y.dispatchAction({type:"highlight",seriesName:d,name:h,excludeSeriesId:A})}function c(d,h,y,A){var v=y.getZr().storage.getDisplayList()[0];v&&v.useHoverLayer||y.dispatchAction({type:"downplay",seriesName:d,name:h,excludeSeriesId:A})}oe.exports=u},XxSj:function(oe,V,e){var B=e("bYtY"),T=e("Qe9p"),w=e("OELB"),D=w.linearMap,I=B.each,E=B.isObject,C=-1,f=function(g){var x=g.mappingMethod,m=g.type,b=this.option=B.clone(g);this.type=m,this.mappingMethod=x,this._normalizeData=y[x];var S=t[m];this.applyVisual=S.applyVisual,this.getColorMapper=S.getColorMapper,this._doMap=S._doMap[x],x==="piecewise"?(o(b),i(b)):x==="category"?b.categories?s(b):o(b,!0):(B.assert(x!=="linear"||b.dataExtent),o(b))};f.prototype={constructor:f,mapValueToVisual:function(g){var x=this._normalizeData(g);return this._doMap(x,g)},getNormalizer:function(){return B.bind(this._normalizeData,this)}};var t=f.visualHandlers={color:{applyVisual:n("color"),getColorMapper:function(){var g=this.option;return B.bind(g.mappingMethod==="category"?function(x,m){return!m&&(x=this._normalizeData(x)),l.call(this,x)}:function(x,m,b){var S=!!b;return!m&&(x=this._normalizeData(x)),b=T.fastLerp(x,g.parsedVisual,b),S?b:T.stringify(b,"rgba")},this)},_doMap:{linear:function(g){return T.stringify(T.fastLerp(g,this.option.parsedVisual),"rgba")},category:l,piecewise:function(g,x){var m=d.call(this,x);return m==null&&(m=T.stringify(T.fastLerp(g,this.option.parsedVisual),"rgba")),m},fixed:a}},colorHue:r(function(g,x){return T.modifyHSL(g,x)}),colorSaturation:r(function(g,x){return T.modifyHSL(g,null,x)}),colorLightness:r(function(g,x){return T.modifyHSL(g,null,null,x)}),colorAlpha:r(function(g,x){return T.modifyAlpha(g,x)}),opacity:{applyVisual:n("opacity"),_doMap:c([0,1])},liftZ:{applyVisual:n("liftZ"),_doMap:{linear:a,category:a,piecewise:a,fixed:a}},symbol:{applyVisual:function(g,x,m){var b=this.mapValueToVisual(g);if(B.isString(b))m("symbol",b);else if(E(b))for(var S in b)b.hasOwnProperty(S)&&m(S,b[S])},_doMap:{linear:u,category:l,piecewise:function(g,x){var m=d.call(this,x);return m==null&&(m=u.call(this,g)),m},fixed:a}},symbolSize:{applyVisual:n("symbolSize"),_doMap:c([0,1])}};function i(g){var x=g.pieceList;g.hasSpecialVisual=!1,B.each(x,function(m,b){m.originIndex=b,m.visual!=null&&(g.hasSpecialVisual=!0)})}function s(g){var x=g.categories,m=g.visual,b=g.categoryMap={};if(I(x,function(M,R){b[M]=R}),!B.isArray(m)){var S=[];B.isObject(m)?I(m,function(M,R){var F=b[R];S[F!=null?F:C]=M}):S[C]=m,m=h(g,S)}for(var P=x.length-1;P>=0;P--)m[P]==null&&(delete b[x[P]],x.pop())}function o(g,x){var m=g.visual,b=[];B.isObject(m)?I(m,function(P){b.push(P)}):m!=null&&b.push(m);var S={color:1,symbol:1};!x&&b.length===1&&!S.hasOwnProperty(g.type)&&(b[1]=b[0]),h(g,b)}function r(g){return{applyVisual:function(x,m,b){x=this.mapValueToVisual(x),b("color",g(m("color"),x))},_doMap:c([0,1])}}function u(g){var x=this.option.visual;return x[Math.round(D(g,[0,1],[0,x.length-1],!0))]||{}}function n(g){return function(x,m,b){b(g,this.mapValueToVisual(x))}}function l(g){var x=this.option.visual;return x[this.option.loop&&g!==C?g%x.length:g]}function a(){return this.option.visual[0]}function c(g){return{linear:function(x){return D(x,g,this.option.visual,!0)},category:l,piecewise:function(x,m){var b=d.call(this,m);return b==null&&(b=D(x,g,this.option.visual,!0)),b},fixed:a}}function d(g){var x=this.option,m=x.pieceList;if(x.hasSpecialVisual){var b=f.findPieceIndex(g,m),S=m[b];if(S&&S.visual)return S.visual[this.type]}}function h(g,x){return g.visual=x,g.type==="color"&&(g.parsedVisual=B.map(x,function(m){return T.parse(m)})),x}var y={linear:function(g){return D(g,this.option.dataExtent,[0,1],!0)},piecewise:function(g){var x=this.option.pieceList,m=f.findPieceIndex(g,x,!0);if(m!=null)return D(m,[0,x.length-1],[0,1],!0)},category:function(g){var x=this.option.categories?this.option.categoryMap[g]:g;return x==null?C:x},fixed:B.noop};f.listVisualTypes=function(){var g=[];return B.each(t,function(x,m){g.push(m)}),g},f.addVisualHandler=function(g,x){t[g]=x},f.isValidType=function(g){return t.hasOwnProperty(g)},f.eachVisual=function(g,x,m){B.isObject(g)?B.each(g,x,m):x.call(m,g)},f.mapVisual=function(g,x,m){var b,S=B.isArray(g)?[]:B.isObject(g)?{}:(b=!0,null);return f.eachVisual(g,function(P,M){var R=x.call(m,P,M);b?S=R:S[M]=R}),S},f.retrieveVisuals=function(g){var x={},m;return g&&I(t,function(b,S){g.hasOwnProperty(S)&&(x[S]=g[S],m=!0)}),m?x:null},f.prepareVisualTypes=function(g){if(E(g)){var x=[];I(g,function(m,b){x.push(b)}),g=x}else if(B.isArray(g))g=g.slice();else return[];return g.sort(function(m,b){return b==="color"&&m!=="color"&&m.indexOf("color")===0?1:-1}),g},f.dependsOn=function(g,x){return x==="color"?!!(g&&g.indexOf(x)===0):g===x},f.findPieceIndex=function(g,x,m){for(var b,S=Infinity,P=0,M=x.length;P<M;P++){var R=x[P].value;if(R!=null){if(R===g||typeof R=="string"&&R===g+"")return P;m&&N(R,P)}}for(var P=0,M=x.length;P<M;P++){var F=x[P],L=F.interval,U=F.close;if(L){if(L[0]===-Infinity){if(A(U[1],g,L[1]))return P}else if(L[1]===Infinity){if(A(U[0],L[0],g))return P}else if(A(U[0],L[0],g)&&A(U[1],g,L[1]))return P;m&&N(L[0],P),m&&N(L[1],P)}}if(m)return g===Infinity?x.length-1:g===-Infinity?0:b;function N(Q,z){var _=Math.abs(Q-g);_<S&&(S=_,b=z)}};function A(g,x,m){return g?x<=m:x<m}var v=f;oe.exports=v},Y1PL:function(oe,V,e){"use strict";e.r(V),e.d(V,"ResizableTextArea",function(){return P});var B=e("wx14"),T=e("1OyB"),w=e("vuIU"),D=e("Ji7U"),I=e("LK+K"),E=e("q1tI"),C=e("rePB"),f=e("VTBJ"),t=e("U8pU"),i=e("ODXe"),s=e("Ff2n"),o=e("t23M"),r=e("TNol"),u=e("wgJM"),n=e("6cGi"),l=e("TSYQ"),a=e.n(l),c=`
|
|
|
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;
|
|
|
pointer-events: none !important;
|
|
|
`,d=["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","word-break"],h={},y;function A(F){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=F.getAttribute("id")||F.getAttribute("data-reactid")||F.getAttribute("name");if(L&&h[U])return h[U];var N=window.getComputedStyle(F),Q=N.getPropertyValue("box-sizing")||N.getPropertyValue("-moz-box-sizing")||N.getPropertyValue("-webkit-box-sizing"),z=parseFloat(N.getPropertyValue("padding-bottom"))+parseFloat(N.getPropertyValue("padding-top")),_=parseFloat(N.getPropertyValue("border-bottom-width"))+parseFloat(N.getPropertyValue("border-top-width")),J=d.map(function(k){return"".concat(k,":").concat(N.getPropertyValue(k))}).join(";"),Y={sizingStyle:J,paddingSize:z,borderSize:_,boxSizing:Q};return L&&U&&(h[U]=Y),Y}function v(F){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;y||(y=document.createElement("textarea"),y.setAttribute("tab-index","-1"),y.setAttribute("aria-hidden","true"),document.body.appendChild(y)),F.getAttribute("wrap")?y.setAttribute("wrap",F.getAttribute("wrap")):y.removeAttribute("wrap");var Q=A(F,L),z=Q.paddingSize,_=Q.borderSize,J=Q.boxSizing,Y=Q.sizingStyle;y.setAttribute("style","".concat(Y,";").concat(c)),y.value=F.value||F.placeholder||"";var k=void 0,W=void 0,ie,fe=y.scrollHeight;if(J==="border-box"?fe+=_:J==="content-box"&&(fe-=z),U!==null||N!==null){y.value=" ";var Ce=y.scrollHeight-z;U!==null&&(k=Ce*U,J==="border-box"&&(k=k+z+_),fe=Math.max(k,fe)),N!==null&&(W=Ce*N,J==="border-box"&&(W=W+z+_),ie=fe>W?"":"hidden",fe=Math.min(W,fe))}var ge={height:fe,overflowY:ie,resize:"none"};return k&&(ge.minHeight=k),W&&(ge.maxHeight=W),ge}var g=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],x=0,m=1,b=2,S=E.forwardRef(function(F,L){var U=F.prefixCls,N=U===void 0?"rc-textarea":U,Q=F.onPressEnter,z=F.defaultValue,_=F.value,J=F.autoSize,Y=F.onResize,k=F.className,W=F.style,ie=F.disabled,fe=F.onChange,Ce=F.onInternalAutoSize,ge=Object(s.a)(F,g),de=Object(n.a)(z,{value:_,postState:function(It){return It!=null?It:""}}),Pe=Object(i.a)(de,2),_e=Pe[0],Ne=Pe[1],He=function(It){Ne(It.target.value),fe==null||fe(It)},ue=E.useRef();E.useImperativeHandle(L,function(){return{textArea:ue.current}});var Re=E.useMemo(function(){return J&&Object(t.a)(J)==="object"?[J.minRows,J.maxRows]:[]},[J]),nt=Object(i.a)(Re,2),Ve=nt[0],Ge=nt[1],dt=!!J,et=function(){try{if(document.activeElement===ue.current){var It=ue.current,Kt=It.selectionStart,Se=It.selectionEnd,Ye=It.scrollTop;ue.current.setSelectionRange(Kt,Se),ue.current.scrollTop=Ye}}catch(q){}},At=E.useState(b),Dt=Object(i.a)(At,2),Ft=Dt[0],St=Dt[1],$e=E.useState(),lt=Object(i.a)($e,2),Ut=lt[0],gt=lt[1],ft=function(){St(x)};Object(r.a)(function(){dt&&ft()},[_,Ve,Ge,dt]),Object(r.a)(function(){if(Ft===x)St(m);else if(Ft===m){var bt=v(ue.current,!1,Ve,Ge);St(b),gt(bt)}else et()},[Ft]);var rt=E.useRef(),Ie=function(){u.a.cancel(rt.current)},Ot=function(It){Ft===b&&(Y==null||Y(It),J&&(Ie(),rt.current=Object(u.a)(function(){ft()})))};E.useEffect(function(){return Ie},[]);var Xt=dt?Ut:null,Vt=Object(f.a)(Object(f.a)({},W),Xt);return(Ft===x||Ft===m)&&(Vt.overflowY="hidden",Vt.overflowX="hidden"),E.createElement(o.a,{onResize:Ot,disabled:!(J||Y)},E.createElement("textarea",Object(B.a)({},ge,{ref:ue,style:Vt,className:a()(N,k,Object(C.a)({},"".concat(N,"-disabled"),ie)),disabled:ie,value:_e,onChange:He})))}),P=S,M=function(F){Object(D.a)(U,F);var L=Object(I.a)(U);function U(N){var Q;Object(T.a)(this,U),Q=L.call(this,N),Q.resizableTextArea=void 0,Q.focus=function(){Q.resizableTextArea.textArea.focus()},Q.saveTextArea=function(_){Q.resizableTextArea=_},Q.handleChange=function(_){var J=Q.props.onChange;Q.setValue(_.target.value),J&&J(_)},Q.handleKeyDown=function(_){var J=Q.props,Y=J.onPressEnter,k=J.onKeyDown;_.keyCode===13&&Y&&Y(_),k&&k(_)};var z=typeof N.value=="undefined"||N.value===null?N.defaultValue:N.value;return Q.state={value:z},Q}return Object(w.a)(U,[{key:"setValue",value:function(Q,z){"value"in this.props||this.setState({value:Q},z)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return E.createElement(P,Object(B.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Q){return"value"in Q?{value:Q.value}:null}}]),U}(E.Component),R=V.default=M},YH21:function(oe,V,e){var B=e("H6uX");V.Dispatcher=B;var T=e("ItGF"),w=e("Ze12"),D=w.isCanvasEl,I=w.transformCoordWithViewport,E=typeof window!="undefined"&&!!window.addEventListener,C=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,f=[];function t(c,d,h,y){return h=h||{},y||!T.canvasSupported?i(c,d,h):T.browser.firefox&&d.layerX!=null&&d.layerX!==d.offsetX?(h.zrX=d.layerX,h.zrY=d.layerY):d.offsetX!=null?(h.zrX=d.offsetX,h.zrY=d.offsetY):i(c,d,h),h}function i(c,d,h){if(T.domSupported&&c.getBoundingClientRect){var y=d.clientX,A=d.clientY;if(D(c)){var v=c.getBoundingClientRect();h.zrX=y-v.left,h.zrY=A-v.top;return}else if(I(f,c,y,A)){h.zrX=f[0],h.zrY=f[1];return}}h.zrX=h.zrY=0}function s(c){return c||window.event}function o(c,d,h){if(d=s(d),d.zrX!=null)return d;var y=d.type,A=y&&y.indexOf("touch")>=0;if(!A)t(c,d,d,h),d.zrDelta=d.wheelDelta?d.wheelDelta/120:-(d.detail||0)/3;else{var v=y!=="touchend"?d.targetTouches[0]:d.changedTouches[0];v&&t(c,v,d,h)}var g=d.button;return d.which==null&&g!==void 0&&C.test(d.type)&&(d.which=g&1?1:g&2?3:g&4?2:0),d}function r(c,d,h,y){E?c.addEventListener(d,h,y):c.attachEvent("on"+d,h)}function u(c,d,h,y){E?c.removeEventListener(d,h,y):c.detachEvent("on"+d,h)}var n=E?function(c){c.preventDefault(),c.stopPropagation(),c.cancelBubble=!0}:function(c){c.returnValue=!1,c.cancelBubble=!0};function l(c){return c.which===2||c.which===3}function a(c){return c.which>1}V.clientToLocal=t,V.getNativeEvent=s,V.normalizeEvent=o,V.addEventListener=r,V.removeEventListener=u,V.stop=n,V.isMiddleOrRightButtonOnMouseUpDown=l,V.notLeftMouse=a},YJCA:function(oe,V,e){"use strict";e.d(V,"a",function(){return et}),e.d(V,"b",function(){return Ft});var B=e("wx14"),T=e("ODXe"),w=e("vpQ4"),D=e("1OyB"),I=e("vuIU"),E=e("md7G"),C=e("foSv"),f=e("Ji7U"),t=e("JX7q"),i=e("rePB"),s=e("q1tI"),o=e.n(s),r=e("17x9"),u=e.n(r),n=e("i8i4"),l=e.n(n),a=e("QLaP"),c=e.n(a),d=e("KQm4"),h=function(){function St(){Object(D.a)(this,St),Object(i.a)(this,"refs",{})}return Object(I.a)(St,[{key:"add",value:function(lt,Ut){this.refs[lt]||(this.refs[lt]=[]),this.refs[lt].push(Ut)}},{key:"remove",value:function(lt,Ut){var gt=this.getIndex(lt,Ut);gt!==-1&&this.refs[lt].splice(gt,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var lt=this;return this.refs[this.active.collection].find(function(Ut){var gt=Ut.node;return gt.sortableInfo.index==lt.active.index})}},{key:"getIndex",value:function(lt,Ut){return this.refs[lt].indexOf(Ut)}},{key:"getOrderedRefs",value:function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[lt].sort(y)}}]),St}();function y(St,$e){var lt=St.node.sortableInfo.index,Ut=$e.node.sortableInfo.index;return lt-Ut}function A(St,$e,lt){return St=St.slice(),St.splice(lt<0?St.length+lt:lt,0,St.splice($e,1)[0]),St}function v(St,$e){return Object.keys(St).reduce(function(lt,Ut){return $e.indexOf(Ut)===-1&&(lt[Ut]=St[Ut]),lt},{})}var g={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},x=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var St=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],$e=(Array.prototype.slice.call(St).join("").match(/-(moz|webkit|ms)-/)||St.OLink===""&&["","o"])[1];switch($e){case"ms":return"ms";default:return $e&&$e.length?$e[0].toUpperCase()+$e.substr(1):""}}();function m(St,$e){Object.keys($e).forEach(function(lt){St.style[lt]=$e[lt]})}function b(St,$e){St.style["".concat(x,"Transform")]=$e==null?"":"translate3d(".concat($e.x,"px,").concat($e.y,"px,0)")}function S(St,$e){St.style["".concat(x,"TransitionDuration")]=$e==null?"":"".concat($e,"ms")}function P(St,$e){for(;St;){if($e(St))return St;St=St.parentNode}return null}function M(St,$e,lt){return Math.max(St,Math.min(lt,$e))}function R(St){return St.substr(-2)==="px"?parseFloat(St):0}function F(St){var $e=window.getComputedStyle(St);return{bottom:R($e.marginBottom),left:R($e.marginLeft),right:R($e.marginRight),top:R($e.marginTop)}}function L(St,$e){var lt=$e.displayName||$e.name;return lt?"".concat(St,"(").concat(lt,")"):St}function U(St,$e){var lt=St.getBoundingClientRect();return{top:lt.top+$e.top,left:lt.left+$e.left}}function N(St){return St.touches&&St.touches.length?{x:St.touches[0].pageX,y:St.touches[0].pageY}:St.changedTouches&&St.changedTouches.length?{x:St.changedTouches[0].pageX,y:St.changedTouches[0].pageY}:{x:St.pageX,y:St.pageY}}function Q(St){return St.touches&&St.touches.length||St.changedTouches&&St.changedTouches.length}function z(St,$e){var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!!St){var Ut={left:lt.left+St.offsetLeft,top:lt.top+St.offsetTop};return St.parentNode===$e?Ut:z(St.parentNode,$e,Ut)}}function _(St,$e,lt){return St<lt&&St>$e?St-1:St>lt&&St<$e?St+1:St}function J(St){var $e=St.lockOffset,lt=St.width,Ut=St.height,gt=$e,ft=$e,rt="px";if(typeof $e=="string"){var Ie=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec($e);c()(Ie!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',$e),gt=parseFloat($e),ft=parseFloat($e),rt=Ie[1]}return c()(isFinite(gt)&&isFinite(ft),"lockOffset value should be a finite. Given %s",$e),rt==="%"&&(gt=gt*lt/100,ft=ft*Ut/100),{x:gt,y:ft}}function Y(St){var $e=St.height,lt=St.width,Ut=St.lockOffset,gt=Array.isArray(Ut)?Ut:[Ut,Ut];c()(gt.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Ut);var ft=Object(T.a)(gt,2),rt=ft[0],Ie=ft[1];return[J({height:$e,lockOffset:rt,width:lt}),J({height:$e,lockOffset:Ie,width:lt})]}function k(St){var $e=window.getComputedStyle(St),lt=/(auto|scroll)/,Ut=["overflow","overflowX","overflowY"];return Ut.find(function(gt){return lt.test($e[gt])})}function W(St){return St instanceof HTMLElement?k(St)?St:W(St.parentNode):null}function ie(St){var $e=window.getComputedStyle(St);return $e.display==="grid"?{x:R($e.gridColumnGap),y:R($e.gridRowGap)}:{x:0,y:0}}var fe={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Ce={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ge(St){var $e="input, textarea, select, canvas, [contenteditable]",lt=St.querySelectorAll($e),Ut=St.cloneNode(!0),gt=Object(d.a)(Ut.querySelectorAll($e));return gt.forEach(function(ft,rt){if(ft.type!=="file"&&(ft.value=lt[rt].value),ft.type==="radio"&&ft.name&&(ft.name="__sortableClone__".concat(ft.name)),ft.tagName===Ce.Canvas&<[rt].width>0&<[rt].height>0){var Ie=ft.getContext("2d");Ie.drawImage(lt[rt],0,0)}}),Ut}function de(St){var $e,lt,Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return lt=$e=function(gt){Object(f.a)(ft,gt);function ft(){return Object(D.a)(this,ft),Object(E.a)(this,Object(C.a)(ft).apply(this,arguments))}return Object(I.a)(ft,[{key:"componentDidMount",value:function(){var Ie=Object(n.findDOMNode)(this);Ie.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return c()(Ut.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 Ie=Ut.withRef?"wrappedInstance":null;return Object(s.createElement)(St,Object(B.a)({ref:Ie},this.props))}}]),ft}(s.Component),Object(i.a)($e,"displayName",L("sortableHandle",St)),lt}function Pe(St){return St.sortableHandle!=null}var _e=function(){function St($e,lt){Object(D.a)(this,St),this.container=$e,this.onScrollCallback=lt}return Object(I.a)(St,[{key:"clear",value:function(){this.interval!=null&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(lt){var Ut=this,gt=lt.translate,ft=lt.minTranslate,rt=lt.maxTranslate,Ie=lt.width,Ot=lt.height,Xt={x:0,y:0},Vt={x:1,y:1},bt={x:10,y:10},It=this.container,Kt=It.scrollTop,Se=It.scrollLeft,Ye=It.scrollHeight,q=It.scrollWidth,Ae=It.clientHeight,Me=It.clientWidth,De=Kt===0,ze=Ye-Kt-Ae==0,pe=Se===0,te=q-Se-Me==0;gt.y>=rt.y-Ot/2&&!ze?(Xt.y=1,Vt.y=bt.y*Math.abs((rt.y-Ot/2-gt.y)/Ot)):gt.x>=rt.x-Ie/2&&!te?(Xt.x=1,Vt.x=bt.x*Math.abs((rt.x-Ie/2-gt.x)/Ie)):gt.y<=ft.y+Ot/2&&!De?(Xt.y=-1,Vt.y=bt.y*Math.abs((gt.y-Ot/2-ft.y)/Ot)):gt.x<=ft.x+Ie/2&&!pe&&(Xt.x=-1,Vt.x=bt.x*Math.abs((gt.x-Ie/2-ft.x)/Ie)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Xt.x!==0||Xt.y!==0)&&(this.interval=setInterval(function(){Ut.isAutoScrolling=!0;var be={left:Vt.x*Xt.x,top:Vt.y*Xt.y};Ut.container.scrollTop+=be.top,Ut.container.scrollLeft+=be.left,Ut.onScrollCallback(be)},5))}}]),St}();function Ne(St){var $e=St.node;return{height:$e.offsetHeight,width:$e.offsetWidth}}function He(St){var $e=[Ce.Input,Ce.Textarea,Ce.Select,Ce.Option,Ce.Button];return!!($e.indexOf(St.target.tagName)!==-1||P(St.target,function(lt){return lt.contentEditable==="true"}))}var ue={axis:u.a.oneOf(["x","y","xy"]),contentWindow:u.a.any,disableAutoscroll:u.a.bool,distance:u.a.number,getContainer:u.a.func,getHelperDimensions:u.a.func,helperClass:u.a.string,helperContainer:u.a.oneOfType([u.a.func,typeof HTMLElement=="undefined"?u.a.any:u.a.instanceOf(HTMLElement)]),hideSortableGhost:u.a.bool,keyboardSortingTransitionDuration:u.a.number,lockAxis:u.a.string,lockOffset:u.a.oneOfType([u.a.number,u.a.string,u.a.arrayOf(u.a.oneOfType([u.a.number,u.a.string]))]),lockToContainerEdges:u.a.bool,onSortEnd:u.a.func,onSortMove:u.a.func,onSortOver:u.a.func,onSortStart:u.a.func,pressDelay:u.a.number,pressThreshold:u.a.number,keyCodes:u.a.shape({lift:u.a.arrayOf(u.a.number),drop:u.a.arrayOf(u.a.number),cancel:u.a.arrayOf(u.a.number),up:u.a.arrayOf(u.a.number),down:u.a.arrayOf(u.a.number)}),shouldCancelStart:u.a.func,transitionDuration:u.a.number,updateBeforeSortStart:u.a.func,useDragHandle:u.a.bool,useWindowAsScrollContainer:u.a.bool},Re={lift:[fe.SPACE],drop:[fe.SPACE],cancel:[fe.ESC],up:[fe.UP,fe.LEFT],down:[fe.DOWN,fe.RIGHT]},nt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ne,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Re,shouldCancelStart:He,transitionDuration:300,useWindowAsScrollContainer:!1},Ve=Object.keys(ue);function Ge(St){c()(!(St.distance&&St.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 dt(St,$e){try{var lt=St()}catch(Ut){return $e(!0,Ut)}return lt&<.then?lt.then($e.bind(null,!1),$e.bind(null,!0)):$e(!1,value)}function et(St){var $e,lt,Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return lt=$e=function(gt){Object(f.a)(ft,gt);function ft(rt){var Ie;return Object(D.a)(this,ft),Ie=Object(E.a)(this,Object(C.a)(ft).call(this,rt)),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"state",{}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleStart",function(Ot){var Xt=Ie.props,Vt=Xt.distance,bt=Xt.shouldCancelStart;if(!(Ot.button===2||bt(Ot))){Ie.touched=!0,Ie.position=N(Ot);var It=P(Ot.target,function(Me){return Me.sortableInfo!=null});if(It&&It.sortableInfo&&Ie.nodeIsChild(It)&&!Ie.state.sorting){var Kt=Ie.props.useDragHandle,Se=It.sortableInfo,Ye=Se.index,q=Se.collection,Ae=Se.disabled;if(Ae||Kt&&!P(Ot.target,Pe))return;Ie.manager.active={collection:q,index:Ye},!Q(Ot)&&Ot.target.tagName===Ce.Anchor&&Ot.preventDefault(),Vt||(Ie.props.pressDelay===0?Ie.handlePress(Ot):Ie.pressTimer=setTimeout(function(){return Ie.handlePress(Ot)},Ie.props.pressDelay))}}}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"nodeIsChild",function(Ot){return Ot.sortableInfo.manager===Ie.manager}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleMove",function(Ot){var Xt=Ie.props,Vt=Xt.distance,bt=Xt.pressThreshold;if(!Ie.state.sorting&&Ie.touched&&!Ie._awaitingUpdateBeforeSortStart){var It=N(Ot),Kt={x:Ie.position.x-It.x,y:Ie.position.y-It.y},Se=Math.abs(Kt.x)+Math.abs(Kt.y);Ie.delta=Kt,!Vt&&(!bt||Se>=bt)?(clearTimeout(Ie.cancelTimer),Ie.cancelTimer=setTimeout(Ie.cancel,0)):Vt&&Se>=Vt&&Ie.manager.isActive()&&Ie.handlePress(Ot)}}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleEnd",function(){Ie.touched=!1,Ie.cancel()}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"cancel",function(){var Ot=Ie.props.distance,Xt=Ie.state.sorting;Xt||(Ot||clearTimeout(Ie.pressTimer),Ie.manager.active=null)}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handlePress",function(Ot){try{var Xt=Ie.manager.getActive(),Vt=function(){if(Xt){var bt=function(){var Z=ze.sortableInfo.index,se=F(ze),he=ie(Ie.container),Oe=Ie.scrollContainer.getBoundingClientRect(),ne=Se({index:Z,node:ze,collection:pe});if(Ie.node=ze,Ie.margin=se,Ie.gridGap=he,Ie.width=ne.width,Ie.height=ne.height,Ie.marginOffset={x:Ie.margin.left+Ie.margin.right+Ie.gridGap.x,y:Math.max(Ie.margin.top,Ie.margin.bottom,Ie.gridGap.y)},Ie.boundingClientRect=ze.getBoundingClientRect(),Ie.containerBoundingRect=Oe,Ie.index=Z,Ie.newIndex=Z,Ie.axis={x:Kt.indexOf("x")>=0,y:Kt.indexOf("y")>=0},Ie.offsetEdge=z(ze,Ie.container),te?Ie.initialOffset=N(Object(w.a)({},Ot,{pageX:Ie.boundingClientRect.left,pageY:Ie.boundingClientRect.top})):Ie.initialOffset=N(Ot),Ie.initialScroll={left:Ie.scrollContainer.scrollLeft,top:Ie.scrollContainer.scrollTop},Ie.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ie.helper=Ie.helperContainer.appendChild(ge(ze)),m(Ie.helper,{boxSizing:"border-box",height:"".concat(Ie.height,"px"),left:"".concat(Ie.boundingClientRect.left-se.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ie.boundingClientRect.top-se.top,"px"),width:"".concat(Ie.width,"px")}),te&&Ie.helper.focus(),q&&(Ie.sortableGhost=ze,m(ze,{opacity:0,visibility:"hidden"})),Ie.minTranslate={},Ie.maxTranslate={},te){var ce=De?{top:0,left:0,width:Ie.contentWindow.innerWidth,height:Ie.contentWindow.innerHeight}:Ie.containerBoundingRect,ae=ce.top,Ee=ce.left,ye=ce.width,Te=ce.height,je=ae+Te,qe=Ee+ye;Ie.axis.x&&(Ie.minTranslate.x=Ee-Ie.boundingClientRect.left,Ie.maxTranslate.x=qe-(Ie.boundingClientRect.left+Ie.width)),Ie.axis.y&&(Ie.minTranslate.y=ae-Ie.boundingClientRect.top,Ie.maxTranslate.y=je-(Ie.boundingClientRect.top+Ie.height))}else Ie.axis.x&&(Ie.minTranslate.x=(De?0:Oe.left)-Ie.boundingClientRect.left-Ie.width/2,Ie.maxTranslate.x=(De?Ie.contentWindow.innerWidth:Oe.left+Oe.width)-Ie.boundingClientRect.left-Ie.width/2),Ie.axis.y&&(Ie.minTranslate.y=(De?0:Oe.top)-Ie.boundingClientRect.top-Ie.height/2,Ie.maxTranslate.y=(De?Ie.contentWindow.innerHeight:Oe.top+Oe.height)-Ie.boundingClientRect.top-Ie.height/2);Ye&&Ye.split(" ").forEach(function(Le){return Ie.helper.classList.add(Le)}),Ie.listenerNode=Ot.touches?ze:Ie.contentWindow,te?(Ie.listenerNode.addEventListener("wheel",Ie.handleKeyEnd,!0),Ie.listenerNode.addEventListener("mousedown",Ie.handleKeyEnd,!0),Ie.listenerNode.addEventListener("keydown",Ie.handleKeyDown)):(g.move.forEach(function(Le){return Ie.listenerNode.addEventListener(Le,Ie.handleSortMove,!1)}),g.end.forEach(function(Le){return Ie.listenerNode.addEventListener(Le,Ie.handleSortEnd,!1)})),Ie.setState({sorting:!0,sortingIndex:Z}),Me&&Me({node:ze,index:Z,collection:pe,isKeySorting:te,nodes:Ie.manager.getOrderedRefs(),helper:Ie.helper},Ot),te&&Ie.keyMove(0)},It=Ie.props,Kt=It.axis,Se=It.getHelperDimensions,Ye=It.helperClass,q=It.hideSortableGhost,Ae=It.updateBeforeSortStart,Me=It.onSortStart,De=It.useWindowAsScrollContainer,ze=Xt.node,pe=Xt.collection,te=Ie.manager.isKeySorting,be=function(){if(typeof Ae=="function"){Ie._awaitingUpdateBeforeSortStart=!0;var xe=dt(function(){var Z=ze.sortableInfo.index;return Promise.resolve(Ae({collection:pe,index:Z,node:ze,isKeySorting:te},Ot)).then(function(){})},function(Z,se){if(Ie._awaitingUpdateBeforeSortStart=!1,Z)throw se;return se});if(xe&&xe.then)return xe.then(function(){})}}();return be&&be.then?be.then(bt):bt(be)}}();return Promise.resolve(Vt&&Vt.then?Vt.then(function(){}):void 0)}catch(bt){return Promise.reject(bt)}}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleSortMove",function(Ot){var Xt=Ie.props.onSortMove;typeof Ot.preventDefault=="function"&&Ot.preventDefault(),Ie.updateHelperPosition(Ot),Ie.animateNodes(),Ie.autoscroll(),Xt&&Xt(Ot)}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleSortEnd",function(Ot){var Xt=Ie.props,Vt=Xt.hideSortableGhost,bt=Xt.onSortEnd,It=Ie.manager,Kt=It.active.collection,Se=It.isKeySorting,Ye=Ie.manager.getOrderedRefs();Ie.listenerNode&&(Se?(Ie.listenerNode.removeEventListener("wheel",Ie.handleKeyEnd,!0),Ie.listenerNode.removeEventListener("mousedown",Ie.handleKeyEnd,!0),Ie.listenerNode.removeEventListener("keydown",Ie.handleKeyDown)):(g.move.forEach(function(ze){return Ie.listenerNode.removeEventListener(ze,Ie.handleSortMove)}),g.end.forEach(function(ze){return Ie.listenerNode.removeEventListener(ze,Ie.handleSortEnd)}))),Ie.helper.parentNode.removeChild(Ie.helper),Vt&&Ie.sortableGhost&&m(Ie.sortableGhost,{opacity:"",visibility:""});for(var q=0,Ae=Ye.length;q<Ae;q++){var Me=Ye[q],De=Me.node;Me.edgeOffset=null,Me.boundingClientRect=null,b(De,null),S(De,null),Me.translate=null}Ie.autoScroller.clear(),Ie.manager.active=null,Ie.manager.isKeySorting=!1,Ie.setState({sorting:!1,sortingIndex:null}),typeof bt=="function"&&bt({collection:Kt,newIndex:Ie.newIndex,oldIndex:Ie.index,isKeySorting:Se,nodes:Ye},Ot),Ie.touched=!1}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"autoscroll",function(){var Ot=Ie.props.disableAutoscroll,Xt=Ie.manager.isKeySorting;if(Ot){Ie.autoScroller.clear();return}if(Xt){var Vt=Object(w.a)({},Ie.translate),bt=0,It=0;Ie.axis.x&&(Vt.x=Math.min(Ie.maxTranslate.x,Math.max(Ie.minTranslate.x,Ie.translate.x)),bt=Ie.translate.x-Vt.x),Ie.axis.y&&(Vt.y=Math.min(Ie.maxTranslate.y,Math.max(Ie.minTranslate.y,Ie.translate.y)),It=Ie.translate.y-Vt.y),Ie.translate=Vt,b(Ie.helper,Ie.translate),Ie.scrollContainer.scrollLeft+=bt,Ie.scrollContainer.scrollTop+=It;return}Ie.autoScroller.update({height:Ie.height,maxTranslate:Ie.maxTranslate,minTranslate:Ie.minTranslate,translate:Ie.translate,width:Ie.width})}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"onAutoScroll",function(Ot){Ie.translate.x+=Ot.left,Ie.translate.y+=Ot.top,Ie.animateNodes()}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleKeyDown",function(Ot){var Xt=Ot.keyCode,Vt=Ie.props,bt=Vt.shouldCancelStart,It=Vt.keyCodes,Kt=It===void 0?{}:It,Se=Object(w.a)({},Re,Kt);Ie.manager.active&&!Ie.manager.isKeySorting||!Ie.manager.active&&(!Se.lift.includes(Xt)||bt(Ot)||!Ie.isValidSortingTarget(Ot))||(Ot.stopPropagation(),Ot.preventDefault(),Se.lift.includes(Xt)&&!Ie.manager.active?Ie.keyLift(Ot):Se.drop.includes(Xt)&&Ie.manager.active?Ie.keyDrop(Ot):Se.cancel.includes(Xt)?(Ie.newIndex=Ie.manager.active.index,Ie.keyDrop(Ot)):Se.up.includes(Xt)?Ie.keyMove(-1):Se.down.includes(Xt)&&Ie.keyMove(1))}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"keyLift",function(Ot){var Xt=Ot.target,Vt=P(Xt,function(Se){return Se.sortableInfo!=null}),bt=Vt.sortableInfo,It=bt.index,Kt=bt.collection;Ie.initialFocusedNode=Xt,Ie.manager.isKeySorting=!0,Ie.manager.active={index:It,collection:Kt},Ie.handlePress(Ot)}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"keyMove",function(Ot){var Xt=Ie.manager.getOrderedRefs(),Vt=Xt[Xt.length-1].node.sortableInfo.index,bt=Ie.newIndex+Ot,It=Ie.newIndex;if(!(bt<0||bt>Vt)){Ie.prevIndex=It,Ie.newIndex=bt;var Kt=_(Ie.newIndex,Ie.prevIndex,Ie.index),Se=Xt.find(function(te){var be=te.node;return be.sortableInfo.index===Kt}),Ye=Se.node,q=Ie.containerScrollDelta,Ae=Se.boundingClientRect||U(Ye,q),Me=Se.translate||{x:0,y:0},De={top:Ae.top+Me.y-q.top,left:Ae.left+Me.x-q.left},ze=It<bt,pe={x:ze&&Ie.axis.x?Ye.offsetWidth-Ie.width:0,y:ze&&Ie.axis.y?Ye.offsetHeight-Ie.height:0};Ie.handleSortMove({pageX:De.left+pe.x,pageY:De.top+pe.y,ignoreTransition:Ot===0})}}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"keyDrop",function(Ot){Ie.handleSortEnd(Ot),Ie.initialFocusedNode&&Ie.initialFocusedNode.focus()}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"handleKeyEnd",function(Ot){Ie.manager.active&&Ie.keyDrop(Ot)}),Object(i.a)(Object(t.a)(Object(t.a)(Ie)),"isValidSortingTarget",function(Ot){var Xt=Ie.props.useDragHandle,Vt=Ot.target,bt=P(Vt,function(It){return It.sortableInfo!=null});return bt&&bt.sortableInfo&&!bt.sortableInfo.disabled&&(Xt?Pe(Vt):Vt.sortableInfo)}),Ge(rt),Ie.manager=new h,Ie.events={end:Ie.handleEnd,move:Ie.handleMove,start:Ie.handleStart},Ie}return Object(I.a)(ft,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ie=this,Ot=this.props.useWindowAsScrollContainer,Xt=this.getContainer();Promise.resolve(Xt).then(function(Vt){Ie.container=Vt,Ie.document=Ie.container.ownerDocument||document;var bt=Ie.props.contentWindow||Ie.document.defaultView||window;Ie.contentWindow=typeof bt=="function"?bt():bt,Ie.scrollContainer=Ot?Ie.document.scrollingElement||Ie.document.documentElement:W(Ie.container)||Ie.container,Ie.autoScroller=new _e(Ie.scrollContainer,Ie.onAutoScroll),Object.keys(Ie.events).forEach(function(It){return g[It].forEach(function(Kt){return Ie.container.addEventListener(Kt,Ie.events[It],!1)})}),Ie.container.addEventListener("keydown",Ie.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ie=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!!this.container&&(Object.keys(this.events).forEach(function(Ot){return g[Ot].forEach(function(Xt){return Ie.container.removeEventListener(Xt,Ie.events[Ot])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(Ie){var Ot=this.props,Xt=Ot.lockAxis,Vt=Ot.lockOffset,bt=Ot.lockToContainerEdges,It=Ot.transitionDuration,Kt=Ot.keyboardSortingTransitionDuration,Se=Kt===void 0?It:Kt,Ye=this.manager.isKeySorting,q=Ie.ignoreTransition,Ae=N(Ie),Me={x:Ae.x-this.initialOffset.x,y:Ae.y-this.initialOffset.y};if(Me.y-=window.pageYOffset-this.initialWindowScroll.top,Me.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=Me,bt){var De=Y({height:this.height,lockOffset:Vt,width:this.width}),ze=Object(T.a)(De,2),pe=ze[0],te=ze[1],be={x:this.width/2-pe.x,y:this.height/2-pe.y},xe={x:this.width/2-te.x,y:this.height/2-te.y};Me.x=M(this.minTranslate.x+be.x,this.maxTranslate.x-xe.x,Me.x),Me.y=M(this.minTranslate.y+be.y,this.maxTranslate.y-xe.y,Me.y)}Xt==="x"?Me.y=0:Xt==="y"&&(Me.x=0),Ye&&Se&&!q&&S(this.helper,Se),b(this.helper,Me)}},{key:"animateNodes",value:function(){var Ie=this.props,Ot=Ie.transitionDuration,Xt=Ie.hideSortableGhost,Vt=Ie.onSortOver,bt=this.containerScrollDelta,It=this.windowScrollDelta,Kt=this.manager.getOrderedRefs(),Se={left:this.offsetEdge.left+this.translate.x+bt.left,top:this.offsetEdge.top+this.translate.y+bt.top},Ye=this.manager.isKeySorting,q=this.newIndex;this.newIndex=null;for(var Ae=0,Me=Kt.length;Ae<Me;Ae++){var De=Kt[Ae].node,ze=De.sortableInfo.index,pe=De.offsetWidth,te=De.offsetHeight,be={height:this.height>te?te/2:this.height/2,width:this.width>pe?pe/2:this.width/2},xe=Ye&&ze>this.index&&ze<=q,Z=Ye&&ze<this.index&&ze>=q,se={x:0,y:0},he=Kt[Ae].edgeOffset;he||(he=z(De,this.container),Kt[Ae].edgeOffset=he,Ye&&(Kt[Ae].boundingClientRect=U(De,bt)));var Oe=Ae<Kt.length-1&&Kt[Ae+1],ne=Ae>0&&Kt[Ae-1];if(Oe&&!Oe.edgeOffset&&(Oe.edgeOffset=z(Oe.node,this.container),Ye&&(Oe.boundingClientRect=U(Oe.node,bt))),ze===this.index){Xt&&(this.sortableGhost=De,m(De,{opacity:0,visibility:"hidden"}));continue}Ot&&S(De,Ot),this.axis.x?this.axis.y?Z||ze<this.index&&(Se.left+It.left-be.width<=he.left&&Se.top+It.top<=he.top+be.height||Se.top+It.top+be.height<=he.top)?(se.x=this.width+this.marginOffset.x,he.left+se.x>this.containerBoundingRect.width-be.width&&Oe&&(se.x=Oe.edgeOffset.left-he.left,se.y=Oe.edgeOffset.top-he.top),this.newIndex===null&&(this.newIndex=ze)):(xe||ze>this.index&&(Se.left+It.left+be.width>=he.left&&Se.top+It.top+be.height>=he.top||Se.top+It.top+be.height>=he.top+te))&&(se.x=-(this.width+this.marginOffset.x),he.left+se.x<this.containerBoundingRect.left+be.width&&ne&&(se.x=ne.edgeOffset.left-he.left,se.y=ne.edgeOffset.top-he.top),this.newIndex=ze):xe||ze>this.index&&Se.left+It.left+be.width>=he.left?(se.x=-(this.width+this.marginOffset.x),this.newIndex=ze):(Z||ze<this.index&&Se.left+It.left<=he.left+be.width)&&(se.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ze)):this.axis.y&&(xe||ze>this.index&&Se.top+It.top+be.height>=he.top?(se.y=-(this.height+this.marginOffset.y),this.newIndex=ze):(Z||ze<this.index&&Se.top+It.top<=he.top+be.height)&&(se.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ze))),b(De,se),Kt[Ae].translate=se}this.newIndex==null&&(this.newIndex=this.index),Ye&&(this.newIndex=q);var ce=Ye?this.prevIndex:q;Vt&&this.newIndex!==ce&&Vt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ce,isKeySorting:Ye,nodes:Kt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return c()(Ut.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 Ie=this.props.getContainer;return typeof Ie!="function"?Object(n.findDOMNode)(this):Ie(Ut.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ie=Ut.withRef?"wrappedInstance":null;return Object(s.createElement)(St,Object(B.a)({ref:Ie},v(this.props,Ve)))}},{key:"helperContainer",get:function(){var Ie=this.props.helperContainer;return typeof Ie=="function"?Ie():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ie=this.props.useWindowAsScrollContainer;return Ie?{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}}}]),ft}(s.Component),Object(i.a)($e,"displayName",L("sortableList",St)),Object(i.a)($e,"defaultProps",nt),Object(i.a)($e,"propTypes",ue),Object(i.a)($e,"childContextTypes",{manager:u.a.object.isRequired}),lt}var At={index:u.a.number.isRequired,collection:u.a.oneOfType([u.a.number,u.a.string]),disabled:u.a.bool},Dt=Object.keys(At);function Ft(St){var $e,lt,Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return lt=$e=function(gt){Object(f.a)(ft,gt);function ft(){return Object(D.a)(this,ft),Object(E.a)(this,Object(C.a)(ft).apply(this,arguments))}return Object(I.a)(ft,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ie){this.node&&(Ie.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ie.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ie.collection!==this.props.collection&&(this.unregister(Ie.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ie=this.props,Ot=Ie.collection,Xt=Ie.disabled,Vt=Ie.index,bt=Object(n.findDOMNode)(this);bt.sortableInfo={collection:Ot,disabled:Xt,index:Vt,manager:this.context.manager},this.node=bt,this.ref={node:bt},this.context.manager.add(Ot,this.ref)}},{key:"unregister",value:function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ie,this.ref)}},{key:"getWrappedInstance",value:function(){return c()(Ut.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 Ie=Ut.withRef?"wrappedInstance":null;return Object(s.createElement)(St,Object(B.a)({ref:Ie},v(this.props,Dt)))}}]),ft}(s.Component),Object(i.a)($e,"displayName",L("sortableElement",St)),Object(i.a)($e,"contextTypes",{manager:u.a.object.isRequired}),Object(i.a)($e,"propTypes",At),Object(i.a)($e,"defaultProps",{collection:0}),lt}},YNf1:function(oe,V,e){var B=e("IwbS"),T=e("6Ic6"),w=.3,D=T.extend({type:"parallel",init:function(){this._dataGroup=new B.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(o,r,u,n){var l=this._dataGroup,a=o.getData(),c=this._data,d=o.coordinateSystem,h=d.dimensions,y=f(o);a.diff(c).add(A).update(v).remove(g).execute();function A(m){var b=C(a,l,m,h,d);t(b,a,m,y)}function v(m,b){var S=c.getItemGraphicEl(b),P=E(a,m,h,d);a.setItemGraphicEl(m,S);var M=n&&n.animation===!1?null:o;B.updateProps(S,{shape:{points:P}},M,m),t(S,a,m,y)}function g(m){var b=c.getItemGraphicEl(m);l.remove(b)}if(!this._initialized){this._initialized=!0;var x=I(d,o,function(){setTimeout(function(){l.removeClipPath()})});l.setClipPath(x)}this._data=a},incrementalPrepareRender:function(o,r,u){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(o,r,u){for(var n=r.getData(),l=r.coordinateSystem,a=l.dimensions,c=f(r),d=o.start;d<o.end;d++){var h=C(n,this._dataGroup,d,a,l);h.incremental=!0,t(h,n,d,c)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function I(o,r,u){var n=o.model,l=o.getRect(),a=new B.Rect({shape:{x:l.x,y:l.y,width:l.width,height:l.height}}),c=n.get("layout")==="horizontal"?"width":"height";return a.setShape(c,0),B.initProps(a,{shape:{width:l.width,height:l.height}},r,u),a}function E(o,r,u,n){for(var l=[],a=0;a<u.length;a++){var c=u[a],d=o.get(o.mapDimension(c),r);i(d,n.getAxis(c).type)||l.push(n.dataToPoint(d,c))}return l}function C(o,r,u,n,l){var a=E(o,u,n,l),c=new B.Polyline({shape:{points:a},silent:!0,z2:10});return r.add(c),o.setItemGraphicEl(u,c),c}function f(o){var r=o.get("smooth",!0);return r===!0&&(r=w),{lineStyle:o.getModel("lineStyle").getLineStyle(),smooth:r!=null?r:w}}function t(o,r,u,n){var l=n.lineStyle;if(r.hasItemOption){var a=r.getItemModel(u).getModel("lineStyle");l=a.getLineStyle()}o.useStyle(l);var c=o.style;c.fill=null,c.stroke=r.getItemVisual(u,"color"),c.opacity=r.getItemVisual(u,"opacity"),n.smooth&&(o.shape.smooth=n.smooth)}function i(o,r){return r==="category"?o==null:o==null||isNaN(o)}var s=D;oe.exports=s},YOMW:function(oe,V,e){var B=e("bYtY"),T={get:function(I,E,C){var f=B.clone((w[I]||{})[E]);return C&&B.isArray(f)?f[f.length-1]:f}},w={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]}},D=T;oe.exports=D},YXkt:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("Qxkt"),I=e("gPAo"),E=e("7G+c"),C=e("KxfA"),f=C.defaultDimValueGetters,t=C.DefaultDataProvider,i=e("L0Ub"),s=i.summarizeDimensions,o=e("Vi4m"),r=w.isObject,u="undefined",n=-1,l="e\0\0",a={float:typeof Float64Array===u?Array:Float64Array,int:typeof Int32Array===u?Array:Int32Array,ordinal:Array,number:Array,time:Array},c=typeof Uint32Array===u?Array:Uint32Array,d=typeof Int32Array===u?Array:Int32Array,h=typeof Uint16Array===u?Array:Uint16Array;function y(k){return k._rawCount>65535?c:h}function A(k){var W=k.constructor;return W===Array?k.slice():new W(k)}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],g=["_extent","_approximateExtent","_rawExtent"];function x(k,W){w.each(v.concat(W.__wrappedMethods||[]),function(ie){W.hasOwnProperty(ie)&&(k[ie]=W[ie])}),k.__wrappedMethods=W.__wrappedMethods,w.each(g,function(ie){k[ie]=w.clone(W[ie])}),k._calculationInfo=w.extend(W._calculationInfo)}var m=function(k,W){k=k||["x","y"];for(var ie={},fe=[],Ce={},ge=0;ge<k.length;ge++){var de=k[ge];w.isString(de)?de=new o({name:de}):de instanceof o||(de=new o(de));var Pe=de.name;de.type=de.type||"float",de.coordDim||(de.coordDim=Pe,de.coordDimIndex=0),de.otherDims=de.otherDims||{},fe.push(Pe),ie[Pe]=de,de.index=ge,de.createInvertedIndices&&(Ce[Pe]=[])}this.dimensions=fe,this._dimensionInfos=ie,this.hostModel=W,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=s(this),this._invertedIndicesMap=Ce,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},b=m.prototype;b.type="list",b.hasItemOption=!0,b.getDimension=function(k){return(typeof k=="number"||!isNaN(k)&&!this._dimensionInfos.hasOwnProperty(k))&&(k=this.dimensions[k]),k},b.getDimensionInfo=function(k){return this._dimensionInfos[this.getDimension(k)]},b.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},b.mapDimension=function(k,W){var ie=this._dimensionsSummary;if(W==null)return ie.encodeFirstDimNotExtra[k];var fe=ie.encode[k];return W===!0?(fe||[]).slice():fe&&fe[W]},b.initData=function(k,W,ie){var fe=E.isInstance(k)||w.isArrayLike(k);fe&&(k=new t(k,this.dimensions.length)),this._rawData=k,this._storage={},this._indices=null,this._nameList=W||[],this._idList=[],this._nameRepeatCount={},ie||(this.hasItemOption=!1),this.defaultDimValueGetter=f[this._rawData.getSource().sourceFormat],this._dimValueGetter=ie=ie||this.defaultDimValueGetter,this._dimValueGetterArrayRows=f.arrayRows,this._rawExtent={},this._initDataFromProvider(0,k.count()),k.pure&&(this.hasItemOption=!1)},b.getProvider=function(){return this._rawData},b.appendData=function(k){var W=this._rawData,ie=this.count();W.appendData(k);var fe=W.count();W.persistent||(fe+=ie),this._initDataFromProvider(ie,fe)},b.appendValues=function(k,W){for(var ie=this._chunkSize,fe=this._storage,Ce=this.dimensions,ge=Ce.length,de=this._rawExtent,Pe=this.count(),_e=Pe+Math.max(k.length,W?W.length:0),Ne=this._chunkCount,He=0;He<ge;He++){var ue=Ce[He];de[ue]||(de[ue]=_()),fe[ue]||(fe[ue]=[]),S(fe,this._dimensionInfos[ue],ie,Ne,_e),this._chunkCount=fe[ue].length}for(var Re=new Array(ge),nt=Pe;nt<_e;nt++){for(var Ve=nt-Pe,Ge=Math.floor(nt/ie),dt=nt%ie,et=0;et<ge;et++){var ue=Ce[et],At=this._dimValueGetterArrayRows(k[Ve]||Re,ue,Ve,et);fe[ue][Ge][dt]=At;var Dt=de[ue];At<Dt[0]&&(Dt[0]=At),At>Dt[1]&&(Dt[1]=At)}W&&(this._nameList[nt]=W[Ve])}this._rawCount=this._count=_e,this._extent={},P(this)},b._initDataFromProvider=function(k,W){if(!(k>=W)){for(var ie=this._chunkSize,fe=this._rawData,Ce=this._storage,ge=this.dimensions,de=ge.length,Pe=this._dimensionInfos,_e=this._nameList,Ne=this._idList,He=this._rawExtent,ue=this._nameRepeatCount={},Re,nt=this._chunkCount,Ve=0;Ve<de;Ve++){var Ge=ge[Ve];He[Ge]||(He[Ge]=_());var dt=Pe[Ge];dt.otherDims.itemName===0&&(Re=this._nameDimIdx=Ve),dt.otherDims.itemId===0&&(this._idDimIdx=Ve),Ce[Ge]||(Ce[Ge]=[]),S(Ce,dt,ie,nt,W),this._chunkCount=Ce[Ge].length}for(var et=new Array(de),At=k;At<W;At++){et=fe.getItem(At,et);for(var Dt=Math.floor(At/ie),Ft=At%ie,St=0;St<de;St++){var Ge=ge[St],$e=Ce[Ge][Dt],lt=this._dimValueGetter(et,Ge,At,St);$e[Ft]=lt;var Ut=He[Ge];lt<Ut[0]&&(Ut[0]=lt),lt>Ut[1]&&(Ut[1]=lt)}if(!fe.pure){var gt=_e[At];if(et&>==null){if(et.name!=null)_e[At]=gt=et.name;else if(Re!=null){var ft=ge[Re],rt=Ce[ft][Dt];if(rt){gt=rt[Ft];var Ie=Pe[ft].ordinalMeta;Ie&&Ie.categories.length&&(gt=Ie.categories[gt])}}}var Ot=et==null?null:et.id;Ot==null&>!=null&&(ue[gt]=ue[gt]||0,Ot=gt,ue[gt]>0&&(Ot+="__ec__"+ue[gt]),ue[gt]++),Ot!=null&&(Ne[At]=Ot)}}!fe.persistent&&fe.clean&&fe.clean(),this._rawCount=this._count=W,this._extent={},P(this)}};function S(k,W,ie,fe,Ce){var ge=a[W.type],de=fe-1,Pe=W.name,_e=k[Pe][de];if(_e&&_e.length<ie){for(var Ne=new ge(Math.min(Ce-de*ie,ie)),He=0;He<_e.length;He++)Ne[He]=_e[He];k[Pe][de]=Ne}for(var ue=fe*ie;ue<Ce;ue+=ie)k[Pe].push(new ge(Math.min(Ce-ue,ie)))}function P(k){var W=k._invertedIndicesMap;w.each(W,function(ie,fe){var Ce=k._dimensionInfos[fe],ge=Ce.ordinalMeta;if(ge){ie=W[fe]=new d(ge.categories.length);for(var de=0;de<ie.length;de++)ie[de]=n;for(var de=0;de<k._count;de++)ie[k.get(fe,de)]=de}})}function M(k,W,ie){var fe;if(W!=null){var Ce=k._chunkSize,ge=Math.floor(ie/Ce),de=ie%Ce,Pe=k.dimensions[W],_e=k._storage[Pe][ge];if(_e){fe=_e[de];var Ne=k._dimensionInfos[Pe].ordinalMeta;Ne&&Ne.categories.length&&(fe=Ne.categories[fe])}}return fe}b.count=function(){return this._count},b.getIndices=function(){var k,W=this._indices;if(W){var ie=W.constructor,fe=this._count;if(ie===Array){k=new ie(fe);for(var Ce=0;Ce<fe;Ce++)k[Ce]=W[Ce]}else k=new ie(W.buffer,0,fe)}else for(var ie=y(this),k=new ie(this.count()),Ce=0;Ce<k.length;Ce++)k[Ce]=Ce;return k},b.get=function(k,W){if(!(W>=0&&W<this._count))return NaN;var ie=this._storage;if(!ie[k])return NaN;W=this.getRawIndex(W);var fe=Math.floor(W/this._chunkSize),Ce=W%this._chunkSize,ge=ie[k][fe],de=ge[Ce];return de},b.getByRawIndex=function(k,W){if(!(W>=0&&W<this._rawCount))return NaN;var ie=this._storage[k];if(!ie)return NaN;var fe=Math.floor(W/this._chunkSize),Ce=W%this._chunkSize,ge=ie[fe];return ge[Ce]},b._getFast=function(k,W){var ie=Math.floor(W/this._chunkSize),fe=W%this._chunkSize,Ce=this._storage[k][ie];return Ce[fe]},b.getValues=function(k,W){var ie=[];w.isArray(k)||(W=k,k=this.dimensions);for(var fe=0,Ce=k.length;fe<Ce;fe++)ie.push(this.get(k[fe],W));return ie},b.hasValue=function(k){for(var W=this._dimensionsSummary.dataDimsOnCoord,ie=0,fe=W.length;ie<fe;ie++)if(isNaN(this.get(W[ie],k)))return!1;return!0},b.getDataExtent=function(k){k=this.getDimension(k);var W=this._storage[k],ie=_();if(!W)return ie;var fe=this.count(),Ce=!this._indices,ge;if(Ce)return this._rawExtent[k].slice();if(ge=this._extent[k],ge)return ge.slice();ge=ie;for(var de=ge[0],Pe=ge[1],_e=0;_e<fe;_e++){var Ne=this._getFast(k,this.getRawIndex(_e));Ne<de&&(de=Ne),Ne>Pe&&(Pe=Ne)}return ge=[de,Pe],this._extent[k]=ge,ge},b.getApproximateExtent=function(k){return k=this.getDimension(k),this._approximateExtent[k]||this.getDataExtent(k)},b.setApproximateExtent=function(k,W){W=this.getDimension(W),this._approximateExtent[W]=k.slice()},b.getCalculationInfo=function(k){return this._calculationInfo[k]},b.setCalculationInfo=function(k,W){r(k)?w.extend(this._calculationInfo,k):this._calculationInfo[k]=W},b.getSum=function(k){var W=this._storage[k],ie=0;if(W)for(var fe=0,Ce=this.count();fe<Ce;fe++){var ge=this.get(k,fe);isNaN(ge)||(ie+=ge)}return ie},b.getMedian=function(k){var W=[];this.each(k,function(Ce,ge){isNaN(Ce)||W.push(Ce)});var ie=[].concat(W).sort(function(Ce,ge){return Ce-ge}),fe=this.count();return fe===0?0:fe%2==1?ie[(fe-1)/2]:(ie[fe/2]+ie[fe/2-1])/2},b.rawIndexOf=function(k,W){var ie=k&&this._invertedIndicesMap[k],fe=ie[W];return fe==null||isNaN(fe)?n:fe},b.indexOfName=function(k){for(var W=0,ie=this.count();W<ie;W++)if(this.getName(W)===k)return W;return-1},b.indexOfRawIndex=function(k){if(k>=this._rawCount||k<0)return-1;if(!this._indices)return k;var W=this._indices,ie=W[k];if(ie!=null&&ie<this._count&&ie===k)return k;for(var fe=0,Ce=this._count-1;fe<=Ce;){var ge=(fe+Ce)/2|0;if(W[ge]<k)fe=ge+1;else if(W[ge]>k)Ce=ge-1;else return ge}return-1},b.indicesOfNearest=function(k,W,ie){var fe=this._storage,Ce=fe[k],ge=[];if(!Ce)return ge;ie==null&&(ie=Infinity);for(var de=Infinity,Pe=-1,_e=0,Ne=0,He=this.count();Ne<He;Ne++){var ue=W-this.get(k,Ne),Re=Math.abs(ue);Re<=ie&&((Re<de||Re===de&&ue>=0&&Pe<0)&&(de=Re,Pe=ue,_e=0),ue===Pe&&(ge[_e++]=Ne))}return ge.length=_e,ge},b.getRawIndex=R;function R(k){return k}function F(k){return k<this._count&&k>=0?this._indices[k]:-1}b.getRawDataItem=function(k){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(k));for(var W=[],ie=0;ie<this.dimensions.length;ie++){var fe=this.dimensions[ie];W.push(this.get(fe,k))}return W},b.getName=function(k){var W=this.getRawIndex(k);return this._nameList[W]||M(this,this._nameDimIdx,W)||""},b.getId=function(k){return L(this,this.getRawIndex(k))};function L(k,W){var ie=k._idList[W];return ie==null&&(ie=M(k,k._idDimIdx,W)),ie==null&&(ie=l+W),ie}function U(k){return w.isArray(k)||(k=[k]),k}function N(k,W){for(var ie=0;ie<W.length;ie++)k._dimensionInfos[W[ie]]||console.error("Unkown dimension "+W[ie])}b.each=function(k,W,ie,fe){"use strict";if(!!this._count){typeof k=="function"&&(fe=ie,ie=W,W=k,k=[]),ie=ie||fe||this,k=w.map(U(k),this.getDimension,this);for(var Ce=k.length,ge=0;ge<this.count();ge++)switch(Ce){case 0:W.call(ie,ge);break;case 1:W.call(ie,this.get(k[0],ge),ge);break;case 2:W.call(ie,this.get(k[0],ge),this.get(k[1],ge),ge);break;default:for(var de=0,Pe=[];de<Ce;de++)Pe[de]=this.get(k[de],ge);Pe[de]=ge,W.apply(ie,Pe)}}},b.filterSelf=function(k,W,ie,fe){"use strict";if(!!this._count){typeof k=="function"&&(fe=ie,ie=W,W=k,k=[]),ie=ie||fe||this,k=w.map(U(k),this.getDimension,this);for(var Ce=this.count(),ge=y(this),de=new ge(Ce),Pe=[],_e=k.length,Ne=0,He=k[0],ue=0;ue<Ce;ue++){var Re,nt=this.getRawIndex(ue);if(_e===0)Re=W.call(ie,ue);else if(_e===1){var Ve=this._getFast(He,nt);Re=W.call(ie,Ve,ue)}else{for(var Ge=0;Ge<_e;Ge++)Pe[Ge]=this._getFast(He,nt);Pe[Ge]=ue,Re=W.apply(ie,Pe)}Re&&(de[Ne++]=nt)}return Ne<Ce&&(this._indices=de),this._count=Ne,this._extent={},this.getRawIndex=this._indices?F:R,this}},b.selectRange=function(k){"use strict";if(!!this._count){var W=[];for(var ie in k)k.hasOwnProperty(ie)&&W.push(ie);var fe=W.length;if(!!fe){var Ce=this.count(),ge=y(this),de=new ge(Ce),Pe=0,_e=W[0],Ne=k[_e][0],He=k[_e][1],ue=!1;if(!this._indices){var Re=0;if(fe===1){for(var nt=this._storage[W[0]],Ve=0;Ve<this._chunkCount;Ve++)for(var Ge=nt[Ve],dt=Math.min(this._count-Ve*this._chunkSize,this._chunkSize),et=0;et<dt;et++){var At=Ge[et];(At>=Ne&&At<=He||isNaN(At))&&(de[Pe++]=Re),Re++}ue=!0}else if(fe===2){for(var nt=this._storage[_e],Dt=this._storage[W[1]],Ft=k[W[1]][0],St=k[W[1]][1],Ve=0;Ve<this._chunkCount;Ve++)for(var Ge=nt[Ve],$e=Dt[Ve],dt=Math.min(this._count-Ve*this._chunkSize,this._chunkSize),et=0;et<dt;et++){var At=Ge[et],lt=$e[et];(At>=Ne&&At<=He||isNaN(At))&&(lt>=Ft&<<=St||isNaN(lt))&&(de[Pe++]=Re),Re++}ue=!0}}if(!ue)if(fe===1)for(var et=0;et<Ce;et++){var Ut=this.getRawIndex(et),At=this._getFast(_e,Ut);(At>=Ne&&At<=He||isNaN(At))&&(de[Pe++]=Ut)}else for(var et=0;et<Ce;et++){for(var gt=!0,Ut=this.getRawIndex(et),Ve=0;Ve<fe;Ve++){var ft=W[Ve],At=this._getFast(ie,Ut);(At<k[ft][0]||At>k[ft][1])&&(gt=!1)}gt&&(de[Pe++]=this.getRawIndex(et))}return Pe<Ce&&(this._indices=de),this._count=Pe,this._extent={},this.getRawIndex=this._indices?F:R,this}}},b.mapArray=function(k,W,ie,fe){"use strict";typeof k=="function"&&(fe=ie,ie=W,W=k,k=[]),ie=ie||fe||this;var Ce=[];return this.each(k,function(){Ce.push(W&&W.apply(this,arguments))},ie),Ce};function Q(k,W){var ie=k.dimensions,fe=new m(w.map(ie,k.getDimensionInfo,k),k.hostModel);x(fe,k);for(var Ce=fe._storage={},ge=k._storage,de=0;de<ie.length;de++){var Pe=ie[de];ge[Pe]&&(w.indexOf(W,Pe)>=0?(Ce[Pe]=z(ge[Pe]),fe._rawExtent[Pe]=_(),fe._extent[Pe]=null):Ce[Pe]=ge[Pe])}return fe}function z(k){for(var W=new Array(k.length),ie=0;ie<k.length;ie++)W[ie]=A(k[ie]);return W}function _(){return[Infinity,-Infinity]}b.map=function(k,W,ie,fe){"use strict";ie=ie||fe||this,k=w.map(U(k),this.getDimension,this);var Ce=Q(this,k);Ce._indices=this._indices,Ce.getRawIndex=Ce._indices?F:R;for(var ge=Ce._storage,de=[],Pe=this._chunkSize,_e=k.length,Ne=this.count(),He=[],ue=Ce._rawExtent,Re=0;Re<Ne;Re++){for(var nt=0;nt<_e;nt++)He[nt]=this.get(k[nt],Re);He[_e]=Re;var Ve=W&&W.apply(ie,He);if(Ve!=null){typeof Ve!="object"&&(de[0]=Ve,Ve=de);for(var Ge=this.getRawIndex(Re),dt=Math.floor(Ge/Pe),et=Ge%Pe,At=0;At<Ve.length;At++){var Dt=k[At],Ft=Ve[At],St=ue[Dt],$e=ge[Dt];$e&&($e[dt][et]=Ft),Ft<St[0]&&(St[0]=Ft),Ft>St[1]&&(St[1]=Ft)}}}return Ce},b.downSample=function(k,W,ie,fe){for(var Ce=Q(this,[k]),ge=Ce._storage,de=[],Pe=Math.floor(1/W),_e=ge[k],Ne=this.count(),He=this._chunkSize,ue=Ce._rawExtent[k],Re=new(y(this))(Ne),nt=0,Ve=0;Ve<Ne;Ve+=Pe){Pe>Ne-Ve&&(Pe=Ne-Ve,de.length=Pe);for(var Ge=0;Ge<Pe;Ge++){var dt=this.getRawIndex(Ve+Ge),et=Math.floor(dt/He),At=dt%He;de[Ge]=_e[et][At]}var Dt=ie(de),Ft=this.getRawIndex(Math.min(Ve+fe(de,Dt)||0,Ne-1)),St=Math.floor(Ft/He),$e=Ft%He;_e[St][$e]=Dt,Dt<ue[0]&&(ue[0]=Dt),Dt>ue[1]&&(ue[1]=Dt),Re[nt++]=Ft}return Ce._count=nt,Ce._indices=Re,Ce.getRawIndex=F,Ce},b.getItemModel=function(k){var W=this.hostModel;return new D(this.getRawDataItem(k),W,W&&W.ecModel)},b.diff=function(k){var W=this;return new I(k?k.getIndices():[],this.getIndices(),function(ie){return L(k,ie)},function(ie){return L(W,ie)})},b.getVisual=function(k){var W=this._visual;return W&&W[k]},b.setVisual=function(k,W){if(r(k)){for(var ie in k)k.hasOwnProperty(ie)&&this.setVisual(ie,k[ie]);return}this._visual=this._visual||{},this._visual[k]=W},b.setLayout=function(k,W){if(r(k)){for(var ie in k)k.hasOwnProperty(ie)&&this.setLayout(ie,k[ie]);return}this._layout[k]=W},b.getLayout=function(k){return this._layout[k]},b.getItemLayout=function(k){return this._itemLayouts[k]},b.setItemLayout=function(k,W,ie){this._itemLayouts[k]=ie?w.extend(this._itemLayouts[k]||{},W):W},b.clearItemLayouts=function(){this._itemLayouts.length=0},b.getItemVisual=function(k,W,ie){var fe=this._itemVisuals[k],Ce=fe&&fe[W];return Ce==null&&!ie?this.getVisual(W):Ce},b.setItemVisual=function(k,W,ie){var fe=this._itemVisuals[k]||{},Ce=this.hasItemVisual;if(this._itemVisuals[k]=fe,r(W)){for(var ge in W)W.hasOwnProperty(ge)&&(fe[ge]=W[ge],Ce[ge]=!0);return}fe[W]=ie,Ce[W]=!0},b.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var J=function(k){k.seriesIndex=this.seriesIndex,k.dataIndex=this.dataIndex,k.dataType=this.dataType};b.setItemGraphicEl=function(k,W){var ie=this.hostModel;W&&(W.dataIndex=k,W.dataType=this.dataType,W.seriesIndex=ie&&ie.seriesIndex,W.type==="group"&&W.traverse(J,W)),this._graphicEls[k]=W},b.getItemGraphicEl=function(k){return this._graphicEls[k]},b.eachItemGraphicEl=function(k,W){w.each(this._graphicEls,function(ie,fe){ie&&k&&k.call(W,ie,fe)})},b.cloneShallow=function(k){if(!k){var W=w.map(this.dimensions,this.getDimensionInfo,this);k=new m(W,this.hostModel)}if(k._storage=this._storage,x(k,this),this._indices){var ie=this._indices.constructor;k._indices=new ie(this._indices)}else k._indices=null;return k.getRawIndex=k._indices?F:R,k},b.wrapMethod=function(k,W){var ie=this[k];typeof ie=="function"&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(k),this[k]=function(){var fe=ie.apply(this,arguments);return W.apply(this,[fe].concat(w.slice(arguments)))})},b.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],b.CHANGABLE_METHODS=["filterSelf","selectRange"];var Y=m;oe.exports=Y},YgsL:function(oe,V,e){var B=e("QBsz"),T=B.distance;function w(I,E,C,f,t,i,s){var o=(C-I)*.5,r=(f-E)*.5;return(2*(E-C)+o+r)*s+(-3*(E-C)-2*o-r)*i+o*t+E}function D(I,E){for(var C=I.length,f=[],t=0,i=1;i<C;i++)t+=T(I[i-1],I[i]);var s=t/2;s=s<C?C:s;for(var i=0;i<s;i++){var o=i/(s-1)*(E?C:C-1),r=Math.floor(o),u=o-r,n,l=I[r%C],a,c;E?(n=I[(r-1+C)%C],a=I[(r+1)%C],c=I[(r+2)%C]):(n=I[r===0?r:r-1],a=I[r>C-2?C-1:r+1],c=I[r>C-3?C-1:r+2]);var d=u*u,h=u*d;f.push([w(n[0],l[0],a[0],c[0],u,d,h),w(n[1],l[1],a[1],c[1],u,d,h)])}return f}oe.exports=D},Yl7c:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=".",I="___EC__COMPONENT__CONTAINER___";function E(n){var l={main:"",sub:""};return n&&(n=n.split(D),l.main=n[0]||"",l.sub=n[1]||""),l}function C(n){w.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal')}function f(n,l){n.$constructor=n,n.extend=function(a){var c=this,d=function(){a.$constructor?a.$constructor.apply(this,arguments):c.apply(this,arguments)};return w.extend(d.prototype,a),d.extend=this.extend,d.superCall=s,d.superApply=o,w.inherits(d,this),d.superClass=c,d}}var t=0;function i(n){var l=["__\0is_clz",t++,Math.random().toFixed(3)].join("_");n.prototype[l]=!0,n.isInstance=function(a){return!!(a&&a[l])}}function s(n,l){var a=w.slice(arguments,2);return this.superClass.prototype[l].apply(n,a)}function o(n,l,a){return this.superClass.prototype[l].apply(n,a)}function r(n,l){l=l||{};var a={};n.registerClass=function(h,y){if(y){if(C(y),y=E(y),!y.sub)a[y.main]=h;else if(y.sub!==I){var A=c(y);A[y.sub]=h}}return h},n.getClass=function(h,y,A){var v=a[h];if(v&&v[I]&&(v=y?v[y]:null),A&&!v)throw new Error(y?"Component "+h+"."+(y||"")+" not exists. Load it first.":h+".type should be specified.");return v},n.getClassesByMainType=function(h){h=E(h);var y=[],A=a[h.main];return A&&A[I]?w.each(A,function(v,g){g!==I&&y.push(v)}):y.push(A),y},n.hasClass=function(h){return h=E(h),!!a[h.main]},n.getAllClassMainTypes=function(){var h=[];return w.each(a,function(y,A){h.push(A)}),h},n.hasSubTypes=function(h){h=E(h);var y=a[h.main];return y&&y[I]},n.parseClassType=E;function c(h){var y=a[h.main];return(!y||!y[I])&&(y=a[h.main]={},y[I]=!0),y}if(l.registerWhenExtend){var d=n.extend;d&&(n.extend=function(h){var y=d.call(this,h);return n.registerClass(y,h.type)})}return n}function u(n,l){}V.parseClassType=E,V.enableClassExtend=f,V.enableClassCheck=i,V.enableClassManagement=r,V.setReadOnly=u},Ynxi:function(oe,V,e){var B=e("bYtY"),T=e("ProS"),w=e("IwbS"),D=e("+TT/"),I=D.getLayoutRect,E=e("7aKB"),C=E.windowOpen;T.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"}}}),T.extendComponentView({type:"title",render:function(f,t,i){if(this.group.removeAll(),!!f.get("show")){var s=this.group,o=f.getModel("textStyle"),r=f.getModel("subtextStyle"),u=f.get("textAlign"),n=B.retrieve2(f.get("textBaseline"),f.get("textVerticalAlign")),l=new w.Text({style:w.setTextStyle({},o,{text:f.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),a=l.getBoundingRect(),c=f.get("subtext"),d=new w.Text({style:w.setTextStyle({},r,{text:c,textFill:r.getTextColor(),y:a.height+f.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),h=f.get("link"),y=f.get("sublink"),A=f.get("triggerEvent",!0);l.silent=!h&&!A,d.silent=!y&&!A,h&&l.on("click",function(){C(h,"_"+f.get("target"))}),y&&d.on("click",function(){C(y,"_"+f.get("subtarget"))}),l.eventData=d.eventData=A?{componentType:"title",componentIndex:f.componentIndex}:null,s.add(l),c&&s.add(d);var v=s.getBoundingRect(),g=f.getBoxLayoutParams();g.width=v.width,g.height=v.height;var x=I(g,{width:i.getWidth(),height:i.getHeight()},f.get("padding"));u||(u=f.get("left")||f.get("right"),u==="middle"&&(u="center"),u==="right"?x.x+=x.width:u==="center"&&(x.x+=x.width/2)),n||(n=f.get("top")||f.get("bottom"),n==="center"&&(n="middle"),n==="bottom"?x.y+=x.height:n==="middle"&&(x.y+=x.height/2),n=n||"top"),s.attr("position",[x.x,x.y]);var m={textAlign:u,textVerticalAlign:n};l.setStyle(m),d.setStyle(m),v=s.getBoundingRect();var b=x.margin,S=f.getItemStyle(["color","opacity"]);S.fill=f.get("backgroundColor");var P=new w.Rect({shape:{x:v.x-b[3],y:v.y-b[0],width:v.width+b[1]+b[3],height:v.height+b[0]+b[2],r:f.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});s.add(P)}}})},Z0Lh:function(oe,V,e){"use strict";var B=e("TqRt").default;Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var T=B(e("pVnL")),w=B(e("HjOm")),D=B(e("Z6rY")),I={lang:(0,T.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"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},w.default),timePickerLocale:(0,T.default)({},D.default)};I.lang.ok="\u786E\u5B9A";var E=I;V.default=E},Z1HP:function(oe,V,e){var B=e("ycre"),T=e("quyA"),w=e("q4HE");function D(I){return T(I)?w(I):B(I)}oe.exports=D},Z1r0:function(oe,V){function e(B){var T=B.findComponents({mainType:"legend"});!T||!T.length||B.eachSeriesByType("graph",function(w){var D=w.getCategoriesData(),I=w.getGraph(),E=I.data,C=D.mapArray(D.getName);E.filterSelf(function(f){var t=E.getItemModel(f),i=t.getShallow("category");if(i!=null){typeof i=="number"&&(i=C[i]);for(var s=0;s<T.length;s++)if(!T[s].isSelected(i))return!1}return!0})},this)}oe.exports=e},Z1wy:function(oe,V,e){var B=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var T=e("zuHt"),w=e("VPsl"),D=e("9u0u"),I=e("lELe"),E=e("d4KN");B.registerLayout(T),B.registerVisual(w),B.registerProcessor(B.PRIORITY.PROCESSOR.STATISTIC,D),B.registerPreprocessor(I),E("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(oe,V,e){var B=e("MwEJ"),T=e("T4UG"),w=T.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(D,I){return B(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}});oe.exports=w},Z6rY:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},T=B;V.default=T},Z8zF:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("IwbS"),E=e("56rv"),C=E.setLabel,f=e("Qxkt"),t=e("tceW"),i=e("y+Vt"),s=e("4fz+"),o=e("iLNv"),r=o.throttle,u=e("sK/D"),n=u.createClipPath,l=e("wr5s"),a=["itemStyle","barBorderWidth"],c=[0,0];D.extend(f.prototype,t);function d(J,Y){var k=J.getArea&&J.getArea();if(J.type==="cartesian2d"){var W=J.getBaseAxis();if(W.type!=="category"||!W.onBand){var ie=Y.getLayout("bandWidth");W.isHorizontal()?(k.x-=ie,k.width+=ie*2):(k.y-=ie,k.height+=ie*2)}}return k}var h=w.extendChartView({type:"bar",render:function(J,Y,k){this._updateDrawMode(J);var W=J.get("coordinateSystem");return(W==="cartesian2d"||W==="polar")&&(this._isLargeDraw?this._renderLarge(J,Y,k):this._renderNormal(J,Y,k)),this.group},incrementalPrepareRender:function(J,Y,k){this._clear(),this._updateDrawMode(J)},incrementalRender:function(J,Y,k,W){this._incrementalRenderLarge(J,Y)},_updateDrawMode:function(J){var Y=J.pipelineContext.large;(this._isLargeDraw==null||Y^this._isLargeDraw)&&(this._isLargeDraw=Y,this._clear())},_renderNormal:function(J,Y,k){var W=this.group,ie=J.getData(),fe=this._data,Ce=J.coordinateSystem,ge=Ce.getBaseAxis(),de;Ce.type==="cartesian2d"?de=ge.isHorizontal():Ce.type==="polar"&&(de=ge.dim==="angle");var Pe=J.isAnimationEnabled()?J:null,_e=J.get("clip",!0),Ne=d(Ce,ie);W.removeClipPath();var He=J.get("roundCap",!0),ue=J.get("showBackground",!0),Re=J.getModel("backgroundStyle"),nt=Re.get("barBorderRadius")||0,Ve=[],Ge=this._backgroundEls||[],dt=function(Dt){var Ft=b[Ce.type](ie,Dt),St=_(Ce,de,Ft);return St.useStyle(Re.getBarItemStyle()),Ce.type==="cartesian2d"&&St.setShape("r",nt),Ve[Dt]=St,St};ie.diff(fe).add(function(Dt){var Ft=ie.getItemModel(Dt),St=b[Ce.type](ie,Dt,Ft);if(ue&&dt(Dt),!!ie.hasValue(Dt)){if(_e){var $e=v[Ce.type](Ne,St);if($e){W.remove(lt);return}}var lt=g[Ce.type](Dt,St,de,Pe,!1,He);ie.setItemGraphicEl(Dt,lt),W.add(lt),P(lt,ie,Dt,Ft,St,J,de,Ce.type==="polar")}}).update(function(Dt,Ft){var St=ie.getItemModel(Dt),$e=b[Ce.type](ie,Dt,St);if(ue){var lt;Ge.length===0?lt=dt(Ft):(lt=Ge[Ft],lt.useStyle(Re.getBarItemStyle()),Ce.type==="cartesian2d"&<.setShape("r",nt),Ve[Dt]=lt);var Ut=b[Ce.type](ie,Dt),gt=z(de,Ut,Ce);I.updateProps(lt,{shape:gt},Pe,Dt)}var ft=fe.getItemGraphicEl(Ft);if(!ie.hasValue(Dt)){W.remove(ft);return}if(_e){var rt=v[Ce.type](Ne,$e);if(rt){W.remove(ft);return}}ft?I.updateProps(ft,{shape:$e},Pe,Dt):ft=g[Ce.type](Dt,$e,de,Pe,!0,He),ie.setItemGraphicEl(Dt,ft),W.add(ft),P(ft,ie,Dt,St,$e,J,de,Ce.type==="polar")}).remove(function(Dt){var Ft=fe.getItemGraphicEl(Dt);Ce.type==="cartesian2d"?Ft&&x(Dt,Pe,Ft):Ft&&m(Dt,Pe,Ft)}).execute();var et=this._backgroundGroup||(this._backgroundGroup=new s);et.removeAll();for(var At=0;At<Ve.length;++At)et.add(Ve[At]);W.add(et),this._backgroundEls=Ve,this._data=ie},_renderLarge:function(J,Y,k){this._clear(),F(J,this.group);var W=J.get("clip",!0)?n(J.coordinateSystem,!1,J):null;W?this.group.setClipPath(W):this.group.removeClipPath()},_incrementalRenderLarge:function(J,Y){this._removeBackground(),F(Y,this.group,!0)},dispose:D.noop,remove:function(J){this._clear(J)},_clear:function(J){var Y=this.group,k=this._data;J&&J.get("animation")&&k&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],k.eachItemGraphicEl(function(W){W.type==="sector"?m(W.dataIndex,J,W):x(W.dataIndex,J,W)})):Y.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),y=Math.max,A=Math.min,v={cartesian2d:function(J,Y){var k=Y.width<0?-1:1,W=Y.height<0?-1:1;k<0&&(Y.x+=Y.width,Y.width=-Y.width),W<0&&(Y.y+=Y.height,Y.height=-Y.height);var ie=y(Y.x,J.x),fe=A(Y.x+Y.width,J.x+J.width),Ce=y(Y.y,J.y),ge=A(Y.y+Y.height,J.y+J.height);Y.x=ie,Y.y=Ce,Y.width=fe-ie,Y.height=ge-Ce;var de=Y.width<0||Y.height<0;return k<0&&(Y.x+=Y.width,Y.width=-Y.width),W<0&&(Y.y+=Y.height,Y.height=-Y.height),de},polar:function(J,Y){var k=Y.r0<=Y.r?1:-1;if(k<0){var W=Y.r;Y.r=Y.r0,Y.r0=W}var W=A(Y.r,J.r),ie=y(Y.r0,J.r0);Y.r=W,Y.r0=ie;var fe=W-ie<0;if(k<0){var W=Y.r;Y.r=Y.r0,Y.r0=W}return fe}},g={cartesian2d:function(J,Y,k,W,ie){var fe=new I.Rect({shape:D.extend({},Y),z2:1});if(fe.name="item",W){var Ce=fe.shape,ge=k?"height":"width",de={};Ce[ge]=0,de[ge]=Y[ge],I[ie?"updateProps":"initProps"](fe,{shape:de},W,J)}return fe},polar:function(J,Y,k,W,ie,fe){var Ce=Y.startAngle<Y.endAngle,ge=!k&&fe?l:I.Sector,de=new ge({shape:D.defaults({clockwise:Ce},Y),z2:1});if(de.name="item",W){var Pe=de.shape,_e=k?"r":"endAngle",Ne={};Pe[_e]=k?0:Y.startAngle,Ne[_e]=Y[_e],I[ie?"updateProps":"initProps"](de,{shape:Ne},W,J)}return de}};function x(J,Y,k){k.style.text=null,I.updateProps(k,{shape:{width:0}},Y,J,function(){k.parent&&k.parent.remove(k)})}function m(J,Y,k){k.style.text=null,I.updateProps(k,{shape:{r:k.shape.r0}},Y,J,function(){k.parent&&k.parent.remove(k)})}var b={cartesian2d:function(J,Y,k){var W=J.getItemLayout(Y),ie=k?M(k,W):0,fe=W.width>0?1:-1,Ce=W.height>0?1:-1;return{x:W.x+fe*ie/2,y:W.y+Ce*ie/2,width:W.width-fe*ie,height:W.height-Ce*ie}},polar:function(J,Y,k){var W=J.getItemLayout(Y);return{cx:W.cx,cy:W.cy,r0:W.r0,r:W.r,startAngle:W.startAngle,endAngle:W.endAngle}}};function S(J){return J.startAngle!=null&&J.endAngle!=null&&J.startAngle===J.endAngle}function P(J,Y,k,W,ie,fe,Ce,ge){var de=Y.getItemVisual(k,"color"),Pe=Y.getItemVisual(k,"opacity"),_e=Y.getVisual("borderColor"),Ne=W.getModel("itemStyle"),He=W.getModel("emphasis.itemStyle").getBarItemStyle();ge||J.setShape("r",Ne.get("barBorderRadius")||0),J.useStyle(D.defaults({stroke:S(ie)?"none":_e,fill:S(ie)?"none":de,opacity:Pe},Ne.getBarItemStyle()));var ue=W.getShallow("cursor");ue&&J.attr("cursor",ue);var Re=Ce?ie.height>0?"bottom":"top":ie.width>0?"left":"right";ge||C(J.style,He,W,de,fe,k,Re),S(ie)&&(He.fill=He.stroke="none"),I.setHoverStyle(J,He)}function M(J,Y){var k=J.get(a)||0,W=isNaN(Y.width)?Number.MAX_VALUE:Math.abs(Y.width),ie=isNaN(Y.height)?Number.MAX_VALUE:Math.abs(Y.height);return Math.min(k,W,ie)}var R=i.extend({type:"largeBar",shape:{points:[]},buildPath:function(J,Y){for(var k=Y.points,W=this.__startPoint,ie=this.__baseDimIdx,fe=0;fe<k.length;fe+=2)W[ie]=k[fe+ie],J.moveTo(W[0],W[1]),J.lineTo(k[fe],k[fe+1])}});function F(J,Y,k){var W=J.getData(),ie=[],fe=W.getLayout("valueAxisHorizontal")?1:0;ie[1-fe]=W.getLayout("valueAxisStart");var Ce=W.getLayout("largeDataIndices"),ge=W.getLayout("barWidth"),de=J.getModel("backgroundStyle"),Pe=J.get("showBackground",!0);if(Pe){var _e=W.getLayout("largeBackgroundPoints"),Ne=[];Ne[1-fe]=W.getLayout("backgroundStart");var He=new R({shape:{points:_e},incremental:!!k,__startPoint:Ne,__baseDimIdx:fe,__largeDataIndices:Ce,__barWidth:ge,silent:!0,z2:0});Q(He,de,W),Y.add(He)}var ue=new R({shape:{points:W.getLayout("largePoints")},incremental:!!k,__startPoint:ie,__baseDimIdx:fe,__largeDataIndices:Ce,__barWidth:ge});Y.add(ue),N(ue,J,W),ue.seriesIndex=J.seriesIndex,J.get("silent")||(ue.on("mousedown",L),ue.on("mousemove",L))}var L=r(function(J){var Y=this,k=U(Y,J.offsetX,J.offsetY);Y.dataIndex=k>=0?k:null},30,!1);function U(J,Y,k){var W=J.__baseDimIdx,ie=1-W,fe=J.shape.points,Ce=J.__largeDataIndices,ge=Math.abs(J.__barWidth/2),de=J.__startPoint[ie];c[0]=Y,c[1]=k;for(var Pe=c[W],_e=c[1-W],Ne=Pe-ge,He=Pe+ge,ue=0,Re=fe.length/2;ue<Re;ue++){var nt=ue*2,Ve=fe[nt+W],Ge=fe[nt+ie];if(Ve>=Ne&&Ve<=He&&(de<=Ge?_e>=de&&_e<=Ge:_e>=Ge&&_e<=de))return Ce[ue]}return-1}function N(J,Y,k){var W=k.getVisual("borderColor")||k.getVisual("color"),ie=Y.getModel("itemStyle").getItemStyle(["color","borderColor"]);J.useStyle(ie),J.style.fill=null,J.style.stroke=W,J.style.lineWidth=k.getLayout("barWidth")}function Q(J,Y,k){var W=Y.get("borderColor")||Y.get("color"),ie=Y.getItemStyle(["color","borderColor"]);J.useStyle(ie),J.style.fill=null,J.style.stroke=W,J.style.lineWidth=k.getLayout("barWidth")}function z(J,Y,k){var W,ie=k.type==="polar";return ie?W=k.getArea():W=k.grid.getRect(),ie?{cx:W.cx,cy:W.cy,r0:J?W.r0:Y.r0,r:J?W.r:Y.r,startAngle:J?Y.startAngle:0,endAngle:J?Y.endAngle:Math.PI*2}:{x:J?Y.x:W.x,y:J?W.y:Y.y,width:J?Y.width:W.width,height:J?W.height:Y.height}}function _(J,Y,k){var W=J.type==="polar"?I.Sector:I.Rect;return new W({shape:z(Y,k,J),silent:!0,z2:0})}oe.exports=h},ZCgT:function(oe,V,e){var B=e("tLB3"),T=1/0,w=17976931348623157e292;function D(I){if(!I)return I===0?I:0;if(I=B(I),I===T||I===-T){var E=I<0?-1:1;return E*w}return I===I?I:0}oe.exports=D},ZTPi:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("4i/N"),D=e("GZ0F"),I=e("xvlK"),E=e("TSYQ"),C=e.n(E),f=e("VTBJ"),t=e("ODXe"),i=e("U8pU"),s=e("Ff2n"),o=e("q1tI"),r=e.n(o),u=e("5Z9U"),n=e("6cGi"),l=e("8XRh"),a=Object(o.createContext)(null),c=o.forwardRef(function(Me,De){var ze=Me.prefixCls,pe=Me.className,te=Me.style,be=Me.id,xe=Me.active,Z=Me.tabKey,se=Me.children;return o.createElement("div",{id:be&&"".concat(be,"-panel-").concat(Z),role:"tabpanel",tabIndex:xe?0:-1,"aria-labelledby":be&&"".concat(be,"-tab-").concat(Z),"aria-hidden":!xe,style:te,className:C()(ze,xe&&"".concat(ze,"-active"),pe),ref:De},se)}),d=c,h=["key","forceRender","style","className"];function y(Me){var De=Me.id,ze=Me.activeKey,pe=Me.animated,te=Me.tabPosition,be=Me.destroyInactiveTabPane,xe=o.useContext(a),Z=xe.prefixCls,se=xe.tabs,he=pe.tabPane,Oe="".concat(Z,"-tabpane");return o.createElement("div",{className:C()("".concat(Z,"-content-holder"))},o.createElement("div",{className:C()("".concat(Z,"-content"),"".concat(Z,"-content-").concat(te),Object(B.a)({},"".concat(Z,"-content-animated"),he))},se.map(function(ne){var ce=ne.key,ae=ne.forceRender,Ee=ne.style,ye=ne.className,Te=Object(s.a)(ne,h),je=ce===ze;return o.createElement(l.default,Object(T.a)({key:ce,visible:je,forceRender:ae,removeOnLeave:!!be,leavedClassName:"".concat(Oe,"-hidden")},pe.tabPaneMotion),function(qe,Le){var ke=qe.style,tt=qe.className;return o.createElement(d,Object(T.a)({},Te,{prefixCls:Oe,id:De,tabKey:ce,animated:he,active:je,style:Object(f.a)(Object(f.a)({},Ee),ke),className:C()(ye,tt),ref:Le}))})})))}var A=e("KQm4"),v=e("wgJM"),g=e("c+Xe"),x=e("t23M");function m(Me){var De=Object(o.useRef)(),ze=Object(o.useRef)(!1);function pe(){for(var te=arguments.length,be=new Array(te),xe=0;xe<te;xe++)be[xe]=arguments[xe];ze.current||(v.a.cancel(De.current),De.current=Object(v.a)(function(){Me.apply(void 0,be)}))}return Object(o.useEffect)(function(){return ze.current=!1,function(){ze.current=!0,v.a.cancel(De.current)}},[]),pe}function b(Me){var De=Object(o.useRef)([]),ze=Object(o.useState)({}),pe=Object(t.a)(ze,2),te=pe[1],be=Object(o.useRef)(typeof Me=="function"?Me():Me),xe=m(function(){var se=be.current;De.current.forEach(function(he){se=he(se)}),De.current=[],be.current=se,te({})});function Z(se){De.current.push(se),xe()}return[be.current,Z]}var S=e("4IlW");function P(Me,De){var ze,pe=Me.prefixCls,te=Me.id,be=Me.active,xe=Me.tab,Z=xe.key,se=xe.label,he=xe.disabled,Oe=xe.closeIcon,ne=Me.closable,ce=Me.renderWrapper,ae=Me.removeAriaLabel,Ee=Me.editable,ye=Me.onClick,Te=Me.onRemove,je=Me.onFocus,qe=Me.style,Le="".concat(pe,"-tab");o.useEffect(function(){return Te},[]);var ke=Ee&&ne!==!1&&!he;function tt(Ct){he||ye(Ct)}function st(Ct){Ct.preventDefault(),Ct.stopPropagation(),Ee.onEdit("remove",{key:Z,event:Ct})}var _t=o.createElement("div",{key:Z,ref:De,className:C()(Le,(ze={},Object(B.a)(ze,"".concat(Le,"-with-remove"),ke),Object(B.a)(ze,"".concat(Le,"-active"),be),Object(B.a)(ze,"".concat(Le,"-disabled"),he),ze)),style:qe,onClick:tt},o.createElement("div",{role:"tab","aria-selected":be,id:te&&"".concat(te,"-tab-").concat(Z),className:"".concat(Le,"-btn"),"aria-controls":te&&"".concat(te,"-panel-").concat(Z),"aria-disabled":he,tabIndex:he?null:0,onClick:function(Rt){Rt.stopPropagation(),tt(Rt)},onKeyDown:function(Rt){[S.a.SPACE,S.a.ENTER].includes(Rt.which)&&(Rt.preventDefault(),tt(Rt))},onFocus:je},se),ke&&o.createElement("button",{type:"button","aria-label":ae||"remove",tabIndex:0,className:"".concat(Le,"-remove"),onClick:function(Rt){Rt.stopPropagation(),st(Rt)}},Oe||Ee.removeIcon||"\xD7"));return ce?ce(_t):_t}var M=o.forwardRef(P),R={width:0,height:0,left:0,top:0};function F(Me,De,ze){return Object(o.useMemo)(function(){for(var pe,te=new Map,be=De.get((pe=Me[0])===null||pe===void 0?void 0:pe.key)||R,xe=be.left+be.width,Z=0;Z<Me.length;Z+=1){var se=Me[Z].key,he=De.get(se);if(!he){var Oe;he=De.get((Oe=Me[Z-1])===null||Oe===void 0?void 0:Oe.key)||R}var ne=te.get(se)||Object(f.a)({},he);ne.right=xe-ne.left-ne.width,te.set(se,ne)}return te},[Me.map(function(pe){return pe.key}).join("_"),De,ze])}var L={width:0,height:0,left:0,top:0,right:0};function U(Me,De,ze,pe,te,be,xe){var Z=xe.tabs,se=xe.tabPosition,he=xe.rtl,Oe,ne,ce;return["top","bottom"].includes(se)?(Oe="width",ne=he?"right":"left",ce=Math.abs(ze)):(Oe="height",ne="top",ce=-ze),Object(o.useMemo)(function(){if(!Z.length)return[0,0];for(var ae=Z.length,Ee=ae,ye=0;ye<ae;ye+=1){var Te=Me.get(Z[ye].key)||L;if(Te[ne]+Te[Oe]>ce+De){Ee=ye-1;break}}for(var je=0,qe=ae-1;qe>=0;qe-=1){var Le=Me.get(Z[qe].key)||L;if(Le[ne]<ce){je=qe+1;break}}return[je,Ee]},[Me,De,pe,te,be,ce,se,Z.map(function(ae){return ae.key}).join("_"),he])}var N=e("1j5w"),Q=e("eDIo");function z(Me,De){var ze=Me.prefixCls,pe=Me.editable,te=Me.locale,be=Me.style;return!pe||pe.showAdd===!1?null:o.createElement("button",{ref:De,type:"button",className:"".concat(ze,"-nav-add"),style:be,"aria-label":(te==null?void 0:te.addAriaLabel)||"Add tab",onClick:function(Z){pe.onEdit("add",{event:Z})}},pe.addIcon||"+")}var _=o.forwardRef(z);function J(Me,De){var ze=Me.prefixCls,pe=Me.id,te=Me.tabs,be=Me.locale,xe=Me.mobile,Z=Me.moreIcon,se=Z===void 0?"More":Z,he=Me.moreTransitionName,Oe=Me.style,ne=Me.className,ce=Me.editable,ae=Me.tabBarGutter,Ee=Me.rtl,ye=Me.removeAriaLabel,Te=Me.onTabClick,je=Me.getPopupContainer,qe=Me.popupClassName,Le=Object(o.useState)(!1),ke=Object(t.a)(Le,2),tt=ke[0],st=ke[1],_t=Object(o.useState)(null),Ct=Object(t.a)(_t,2),Rt=Ct[0],Wt=Ct[1],vt="".concat(pe,"-more-popup"),Je="".concat(ze,"-dropdown"),Yt=Rt!==null?"".concat(vt,"-").concat(Rt):null,Ht=be==null?void 0:be.dropdownAriaLabel;function nr(Jt,or){Jt.preventDefault(),Jt.stopPropagation(),ce.onEdit("remove",{key:or,event:Jt})}var ir=o.createElement(N.g,{onClick:function(or){var ut=or.key,ht=or.domEvent;Te(ut,ht),st(!1)},prefixCls:"".concat(Je,"-menu"),id:vt,tabIndex:-1,role:"listbox","aria-activedescendant":Yt,selectedKeys:[Rt],"aria-label":Ht!==void 0?Ht:"expanded dropdown"},te.map(function(Jt){var or=ce&&Jt.closable!==!1&&!Jt.disabled;return o.createElement(N.d,{key:Jt.key,id:"".concat(vt,"-").concat(Jt.key),role:"option","aria-controls":pe&&"".concat(pe,"-panel-").concat(Jt.key),disabled:Jt.disabled},o.createElement("span",null,Jt.label),or&&o.createElement("button",{type:"button","aria-label":ye||"remove",tabIndex:0,className:"".concat(Je,"-menu-item-remove"),onClick:function(ht){ht.stopPropagation(),nr(ht,Jt.key)}},Jt.closeIcon||ce.removeIcon||"\xD7"))}));function Zt(Jt){for(var or=te.filter(function(Qt){return!Qt.disabled}),ut=or.findIndex(function(Qt){return Qt.key===Rt})||0,ht=or.length,qt=0;qt<ht;qt+=1){ut=(ut+Jt+ht)%ht;var Nt=or[ut];if(!Nt.disabled){Wt(Nt.key);return}}}function Mt(Jt){var or=Jt.which;if(!tt){[S.a.DOWN,S.a.SPACE,S.a.ENTER].includes(or)&&(st(!0),Jt.preventDefault());return}switch(or){case S.a.UP:Zt(-1),Jt.preventDefault();break;case S.a.DOWN:Zt(1),Jt.preventDefault();break;case S.a.ESC:st(!1);break;case S.a.SPACE:case S.a.ENTER:Rt!==null&&Te(Rt,Jt);break}}Object(o.useEffect)(function(){var Jt=document.getElementById(Yt);Jt&&Jt.scrollIntoView&&Jt.scrollIntoView(!1)},[Rt]),Object(o.useEffect)(function(){tt||Wt(null)},[tt]);var pt=Object(B.a)({},Ee?"marginRight":"marginLeft",ae);te.length||(pt.visibility="hidden",pt.order=1);var Tt=C()(Object(B.a)({},"".concat(Je,"-rtl"),Ee)),mt=xe?null:o.createElement(Q.a,{prefixCls:Je,overlay:ir,trigger:["hover"],visible:te.length?tt:!1,transitionName:he,onVisibleChange:st,overlayClassName:C()(Tt,qe),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:je},o.createElement("button",{type:"button",className:"".concat(ze,"-nav-more"),style:pt,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":vt,id:"".concat(pe,"-more"),"aria-expanded":tt,onKeyDown:Mt},se));return o.createElement("div",{className:C()("".concat(ze,"-nav-operations"),ne),style:Oe,ref:De},mt,o.createElement(_,{prefixCls:ze,locale:be,editable:ce}))}var Y=o.memo(o.forwardRef(J),function(Me,De){return De.tabMoving}),k=.1,W=.01,ie=20,fe=Math.pow(.995,ie);function Ce(Me,De){var ze=Object(o.useState)(),pe=Object(t.a)(ze,2),te=pe[0],be=pe[1],xe=Object(o.useState)(0),Z=Object(t.a)(xe,2),se=Z[0],he=Z[1],Oe=Object(o.useState)(0),ne=Object(t.a)(Oe,2),ce=ne[0],ae=ne[1],Ee=Object(o.useState)(),ye=Object(t.a)(Ee,2),Te=ye[0],je=ye[1],qe=Object(o.useRef)();function Le(Rt){var Wt=Rt.touches[0],vt=Wt.screenX,Je=Wt.screenY;be({x:vt,y:Je}),window.clearInterval(qe.current)}function ke(Rt){if(!!te){Rt.preventDefault();var Wt=Rt.touches[0],vt=Wt.screenX,Je=Wt.screenY;be({x:vt,y:Je});var Yt=vt-te.x,Ht=Je-te.y;De(Yt,Ht);var nr=Date.now();he(nr),ae(nr-se),je({x:Yt,y:Ht})}}function tt(){if(!!te&&(be(null),je(null),Te)){var Rt=Te.x/ce,Wt=Te.y/ce,vt=Math.abs(Rt),Je=Math.abs(Wt);if(Math.max(vt,Je)<k)return;var Yt=Rt,Ht=Wt;qe.current=window.setInterval(function(){if(Math.abs(Yt)<W&&Math.abs(Ht)<W){window.clearInterval(qe.current);return}Yt*=fe,Ht*=fe,De(Yt*ie,Ht*ie)},ie)}}var st=Object(o.useRef)();function _t(Rt){var Wt=Rt.deltaX,vt=Rt.deltaY,Je=0,Yt=Math.abs(Wt),Ht=Math.abs(vt);Yt===Ht?Je=st.current==="x"?Wt:vt:Yt>Ht?(Je=Wt,st.current="x"):(Je=vt,st.current="y"),De(-Je,-Je)&&Rt.preventDefault()}var Ct=Object(o.useRef)(null);Ct.current={onTouchStart:Le,onTouchMove:ke,onTouchEnd:tt,onWheel:_t},o.useEffect(function(){function Rt(Yt){Ct.current.onTouchStart(Yt)}function Wt(Yt){Ct.current.onTouchMove(Yt)}function vt(Yt){Ct.current.onTouchEnd(Yt)}function Je(Yt){Ct.current.onWheel(Yt)}return document.addEventListener("touchmove",Wt,{passive:!1}),document.addEventListener("touchend",vt,{passive:!1}),Me.current.addEventListener("touchstart",Rt,{passive:!1}),Me.current.addEventListener("wheel",Je),function(){document.removeEventListener("touchmove",Wt),document.removeEventListener("touchend",vt)}},[])}function ge(){var Me=Object(o.useRef)(new Map);function De(pe){return Me.current.has(pe)||Me.current.set(pe,o.createRef()),Me.current.get(pe)}function ze(pe){Me.current.delete(pe)}return[De,ze]}function de(Me,De){var ze=o.useRef(Me),pe=o.useState({}),te=Object(t.a)(pe,2),be=te[1];function xe(Z){var se=typeof Z=="function"?Z(ze.current):Z;se!==ze.current&&De(se,ze.current),ze.current=se,be({})}return[ze.current,xe]}function Pe(Me){var De;return Me instanceof Map?(De={},Me.forEach(function(ze,pe){De[pe]=ze})):De=Me,JSON.stringify(De)}var _e=o.forwardRef(function(Me,De){var ze=Me.position,pe=Me.prefixCls,te=Me.extra;if(!te)return null;var be,xe={};return Object(i.a)(te)==="object"&&!o.isValidElement(te)?xe=te:xe.right=te,ze==="right"&&(be=xe.right),ze==="left"&&(be=xe.left),be?o.createElement("div",{className:"".concat(pe,"-extra-content"),ref:De},be):null}),Ne=_e,He=function(De){var ze=De.current||{},pe=ze.offsetWidth,te=pe===void 0?0:pe,be=ze.offsetHeight,xe=be===void 0?0:be;return[te,xe]},ue=function(De,ze){return De[ze?0:1]};function Re(Me,De){var ze,pe=o.useContext(a),te=pe.prefixCls,be=pe.tabs,xe=Me.className,Z=Me.style,se=Me.id,he=Me.animated,Oe=Me.activeKey,ne=Me.rtl,ce=Me.extra,ae=Me.editable,Ee=Me.locale,ye=Me.tabPosition,Te=Me.tabBarGutter,je=Me.children,qe=Me.onTabClick,Le=Me.onTabScroll,ke=Object(o.useRef)(),tt=Object(o.useRef)(),st=Object(o.useRef)(),_t=Object(o.useRef)(),Ct=Object(o.useRef)(),Rt=Object(o.useRef)(),Wt=Object(o.useRef)(),vt=ge(),Je=Object(t.a)(vt,2),Yt=Je[0],Ht=Je[1],nr=ye==="top"||ye==="bottom",ir=de(0,function(ta,la){nr&&Le&&Le({direction:ta>la?"left":"right"})}),Zt=Object(t.a)(ir,2),Mt=Zt[0],pt=Zt[1],Tt=de(0,function(ta,la){!nr&&Le&&Le({direction:ta>la?"top":"bottom"})}),mt=Object(t.a)(Tt,2),Jt=mt[0],or=mt[1],ut=Object(o.useState)([0,0]),ht=Object(t.a)(ut,2),qt=ht[0],Nt=ht[1],Qt=Object(o.useState)([0,0]),at=Object(t.a)(Qt,2),Ue=at[0],ot=at[1],it=Object(o.useState)([0,0]),zt=Object(t.a)(it,2),ar=zt[0],dr=zt[1],pr=Object(o.useState)([0,0]),Tr=Object(t.a)(pr,2),Lr=Tr[0],Yr=Tr[1],Jr=b(new Map),hn=Object(t.a)(Jr,2),yr=hn[0],zn=hn[1],xn=F(be,yr,Ue[0]),In=ue(qt,nr),Qn=ue(Ue,nr),Cn=ue(ar,nr),bn=ue(Lr,nr),Wn=In<Qn+Cn,Vn=Wn?In-bn:In-Cn,oa="".concat(te,"-nav-operations-hidden"),kr=0,kn=0;nr&&ne?(kr=0,kn=Math.max(0,Qn-Vn)):(kr=Math.min(0,Vn-Qn),kn=0);function Pn(ta){return ta<kr?kr:ta>kn?kn:ta}var Ma=Object(o.useRef)(),Oa=Object(o.useState)(),ba=Object(t.a)(Oa,2),La=ba[0],Hn=ba[1];function Ir(){Hn(Date.now())}function xr(){window.clearTimeout(Ma.current)}Ce(_t,function(ta,la){function qr(Ca,li){Ca(function(di){var _i=Pn(di+li);return _i})}return In>=Qn?!1:(nr?qr(pt,ta):qr(or,la),xr(),Ir(),!0)}),Object(o.useEffect)(function(){return xr(),La&&(Ma.current=window.setTimeout(function(){Hn(0)},100)),xr},[La]);var Xr=U(xn,Vn,nr?Mt:Jt,Qn,Cn,bn,Object(f.a)(Object(f.a)({},Me),{},{tabs:be})),Cr=Object(t.a)(Xr,2),Hr=Cr[0],Fr=Cr[1],jr=function(){var la=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Oe,qr=xn.get(la)||{width:0,height:0,left:0,right:0,top:0};if(nr){var Ca=Mt;ne?qr.right<Mt?Ca=qr.right:qr.right+qr.width>Mt+Vn&&(Ca=qr.right+qr.width-Vn):qr.left<-Mt?Ca=-qr.left:qr.left+qr.width>-Mt+Vn&&(Ca=-(qr.left+qr.width-Vn)),or(0),pt(Pn(Ca))}else{var li=Jt;qr.top<-Jt?li=-qr.top:qr.top+qr.height>-Jt+Vn&&(li=-(qr.top+qr.height-Vn)),pt(0),or(Pn(li))}},wr={};ye==="top"||ye==="bottom"?wr[ne?"marginRight":"marginLeft"]=Te:wr.marginTop=Te;var pn=be.map(function(ta,la){var qr=ta.key;return o.createElement(M,{id:se,prefixCls:te,key:qr,tab:ta,style:la===0?void 0:wr,closable:ta.closable,editable:ae,active:qr===Oe,renderWrapper:je,removeAriaLabel:Ee==null?void 0:Ee.removeAriaLabel,ref:Yt(qr),onClick:function(li){qe(qr,li)},onRemove:function(){Ht(qr)},onFocus:function(){jr(qr),Ir(),!!_t.current&&(ne||(_t.current.scrollLeft=0),_t.current.scrollTop=0)}})}),un=m(function(){var ta=He(ke),la=He(tt),qr=He(st);Nt([ta[0]-la[0]-qr[0],ta[1]-la[1]-qr[1]]);var Ca=He(Wt);dr(Ca);var li=He(Rt);Yr(li);var di=He(Ct);ot([di[0]-Ca[0],di[1]-Ca[1]]),zn(function(){var _i=new Map;return be.forEach(function(Lo){var $i=Lo.key,io=Yt($i).current;io&&_i.set($i,{width:io.offsetWidth,height:io.offsetHeight,left:io.offsetLeft,top:io.offsetTop})}),_i})}),jn=be.slice(0,Hr),Xn=be.slice(Fr+1),ca=[].concat(Object(A.a)(jn),Object(A.a)(Xn)),ti=Object(o.useState)(),Ia=Object(t.a)(ti,2),aa=Ia[0],za=Ia[1],ci=xn.get(Oe),qa=Object(o.useRef)();function yi(){v.a.cancel(qa.current)}Object(o.useEffect)(function(){var ta={};return ci&&(nr?(ne?ta.right=ci.right:ta.left=ci.left,ta.width=ci.width):(ta.top=ci.top,ta.height=ci.height)),yi(),qa.current=Object(v.a)(function(){za(ta)}),yi},[ci,nr,ne]),Object(o.useEffect)(function(){jr()},[Oe,Pe(ci),Pe(xn),nr]),Object(o.useEffect)(function(){un()},[ne]);var Li=!!ca.length,ha="".concat(te,"-nav-wrap"),ka,Hi,ao,Qi;return nr?ne?(Hi=Mt>0,ka=Mt+In<Qn):(ka=Mt<0,Hi=-Mt+In<Qn):(ao=Jt<0,Qi=-Jt+In<Qn),o.createElement(x.a,{onResize:un},o.createElement("div",{ref:Object(g.d)(De,ke),role:"tablist",className:C()("".concat(te,"-nav"),xe),style:Z,onKeyDown:function(){Ir()}},o.createElement(Ne,{ref:tt,position:"left",extra:ce,prefixCls:te}),o.createElement("div",{className:C()(ha,(ze={},Object(B.a)(ze,"".concat(ha,"-ping-left"),ka),Object(B.a)(ze,"".concat(ha,"-ping-right"),Hi),Object(B.a)(ze,"".concat(ha,"-ping-top"),ao),Object(B.a)(ze,"".concat(ha,"-ping-bottom"),Qi),ze)),ref:_t},o.createElement(x.a,{onResize:un},o.createElement("div",{ref:Ct,className:"".concat(te,"-nav-list"),style:{transform:"translate(".concat(Mt,"px, ").concat(Jt,"px)"),transition:La?"none":void 0}},pn,o.createElement(_,{ref:Wt,prefixCls:te,locale:Ee,editable:ae,style:Object(f.a)(Object(f.a)({},pn.length===0?void 0:wr),{},{visibility:Li?"hidden":null})}),o.createElement("div",{className:C()("".concat(te,"-ink-bar"),Object(B.a)({},"".concat(te,"-ink-bar-animated"),he.inkBar)),style:aa})))),o.createElement(Y,Object(T.a)({},Me,{removeAriaLabel:Ee==null?void 0:Ee.removeAriaLabel,ref:Rt,prefixCls:te,tabs:ca,className:!Li&&oa,tabMoving:!!La})),o.createElement(Ne,{ref:st,position:"right",extra:ce,prefixCls:te})))}var nt=o.forwardRef(Re),Ve=["renderTabBar"],Ge=["label","key"];function dt(Me){var De=Me.renderTabBar,ze=Object(s.a)(Me,Ve),pe=Object(o.useContext)(a),te=pe.tabs;if(De){var be=Object(f.a)(Object(f.a)({},ze),{},{panes:te.map(function(xe){var Z=xe.label,se=xe.key,he=Object(s.a)(xe,Ge);return r.a.createElement(d,Object(T.a)({tab:Z,key:se,tabKey:se},he))})});return De(be,nt)}return r.a.createElement(nt,ze)}var et=e("Kwbf");function At(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},De;return Me===!1?De={inkBar:!1,tabPane:!1}:Me===!0?De={inkBar:!0,tabPane:!1}:De=Object(f.a)({inkBar:!0},Object(i.a)(Me)==="object"?Me:{}),De.tabPaneMotion&&De.tabPane===void 0&&(De.tabPane=!0),!De.tabPaneMotion&&De.tabPane&&(De.tabPane=!1),De}var Dt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],Ft=0;function St(Me,De){var ze,pe=Me.id,te=Me.prefixCls,be=te===void 0?"rc-tabs":te,xe=Me.className,Z=Me.items,se=Me.direction,he=Me.activeKey,Oe=Me.defaultActiveKey,ne=Me.editable,ce=Me.animated,ae=Me.tabPosition,Ee=ae===void 0?"top":ae,ye=Me.tabBarGutter,Te=Me.tabBarStyle,je=Me.tabBarExtraContent,qe=Me.locale,Le=Me.moreIcon,ke=Me.moreTransitionName,tt=Me.destroyInactiveTabPane,st=Me.renderTabBar,_t=Me.onChange,Ct=Me.onTabClick,Rt=Me.onTabScroll,Wt=Me.getPopupContainer,vt=Me.popupClassName,Je=Object(s.a)(Me,Dt),Yt=o.useMemo(function(){return(Z||[]).filter(function(pr){return pr&&Object(i.a)(pr)==="object"&&"key"in pr})},[Z]),Ht=se==="rtl",nr=At(ce),ir=Object(o.useState)(!1),Zt=Object(t.a)(ir,2),Mt=Zt[0],pt=Zt[1];Object(o.useEffect)(function(){pt(Object(u.a)())},[]);var Tt=Object(n.a)(function(){var pr;return(pr=Yt[0])===null||pr===void 0?void 0:pr.key},{value:he,defaultValue:Oe}),mt=Object(t.a)(Tt,2),Jt=mt[0],or=mt[1],ut=Object(o.useState)(function(){return Yt.findIndex(function(pr){return pr.key===Jt})}),ht=Object(t.a)(ut,2),qt=ht[0],Nt=ht[1];Object(o.useEffect)(function(){var pr=Yt.findIndex(function(Lr){return Lr.key===Jt});if(pr===-1){var Tr;pr=Math.max(0,Math.min(qt,Yt.length-1)),or((Tr=Yt[pr])===null||Tr===void 0?void 0:Tr.key)}Nt(pr)},[Yt.map(function(pr){return pr.key}).join("_"),Jt,qt]);var Qt=Object(n.a)(null,{value:pe}),at=Object(t.a)(Qt,2),Ue=at[0],ot=at[1];Object(o.useEffect)(function(){pe||(ot("rc-tabs-".concat(Ft)),Ft+=1)},[]);function it(pr,Tr){Ct==null||Ct(pr,Tr);var Lr=pr!==Jt;or(pr),Lr&&(_t==null||_t(pr))}var zt={id:Ue,activeKey:Jt,animated:nr,tabPosition:Ee,rtl:Ht,mobile:Mt},ar,dr=Object(f.a)(Object(f.a)({},zt),{},{editable:ne,locale:qe,moreIcon:Le,moreTransitionName:ke,tabBarGutter:ye,onTabClick:it,onTabScroll:Rt,extra:je,style:Te,panes:null,getPopupContainer:Wt,popupClassName:vt});return o.createElement(a.Provider,{value:{tabs:Yt,prefixCls:be}},o.createElement("div",Object(T.a)({ref:De,id:pe,className:C()(be,"".concat(be,"-").concat(Ee),(ze={},Object(B.a)(ze,"".concat(be,"-mobile"),Mt),Object(B.a)(ze,"".concat(be,"-editable"),ne),Object(B.a)(ze,"".concat(be,"-rtl"),Ht),ze),xe)},Je),ar,o.createElement(dt,Object(T.a)({},dr,{renderTabBar:st})),o.createElement(y,Object(T.a)({destroyInactiveTabPane:tt},zt,{animated:nr}))))}var $e=o.forwardRef(St),lt=$e,Ut=lt,gt=e("H84U"),ft=e("3Nzz"),rt=e("EXcs"),Ie={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Ot(Me){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},ze;return De===!1?ze={inkBar:!1,tabPane:!1}:De===!0?ze={inkBar:!0,tabPane:!0}:ze=Object(T.a)({inkBar:!0},Object(i.a)(De)==="object"?De:{}),ze.tabPane&&(ze.tabPaneMotion=Object(T.a)(Object(T.a)({},Ie),{motionName:Object(rt.c)(Me,"switch")})),ze}var Xt=e("Zm9Q"),Vt=function(Me,De){var ze={};for(var pe in Me)Object.prototype.hasOwnProperty.call(Me,pe)&&De.indexOf(pe)<0&&(ze[pe]=Me[pe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,pe=Object.getOwnPropertySymbols(Me);te<pe.length;te++)De.indexOf(pe[te])<0&&Object.prototype.propertyIsEnumerable.call(Me,pe[te])&&(ze[pe[te]]=Me[pe[te]]);return ze};function bt(Me){return Me.filter(function(De){return De})}function It(Me,De){if(Me)return Me;var ze=Object(Xt.a)(De).map(function(pe){if(o.isValidElement(pe)){var te=pe.key,be=pe.props,xe=be||{},Z=xe.tab,se=Vt(xe,["tab"]),he=Object(T.a)(Object(T.a)({key:String(te)},se),{label:Z});return he}return null});return bt(ze)}var Kt=function(){return null},Se=Kt,Ye=function(Me,De){var ze={};for(var pe in Me)Object.prototype.hasOwnProperty.call(Me,pe)&&De.indexOf(pe)<0&&(ze[pe]=Me[pe]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,pe=Object.getOwnPropertySymbols(Me);te<pe.length;te++)De.indexOf(pe[te])<0&&Object.prototype.propertyIsEnumerable.call(Me,pe[te])&&(ze[pe[te]]=Me[pe[te]]);return ze};function q(Me){var De=Me.type,ze=Me.className,pe=Me.size,te=Me.onEdit,be=Me.hideAdd,xe=Me.centered,Z=Me.addIcon,se=Me.children,he=Me.items,Oe=Me.animated,ne=Ye(Me,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),ce=ne.prefixCls,ae=ne.moreIcon,Ee=ae===void 0?o.createElement(D.a,null):ae,ye=o.useContext(gt.b),Te=ye.getPrefixCls,je=ye.direction,qe=ye.getPopupContainer,Le=Te("tabs",ce),ke;De==="editable-card"&&(ke={onEdit:function(Rt,Wt){var vt=Wt.key,Je=Wt.event;te==null||te(Rt==="add"?Je:vt,Rt)},removeIcon:o.createElement(w.a,null),addIcon:Z||o.createElement(I.a,null),showAdd:be!==!0});var tt=Te(),st=It(he,se),_t=Ot(Le,Oe);return o.createElement(ft.b.Consumer,null,function(Ct){var Rt,Wt=pe!==void 0?pe:Ct;return o.createElement(Ut,Object(T.a)({direction:je,getPopupContainer:qe,moreTransitionName:"".concat(tt,"-slide-up")},ne,{items:st,className:C()((Rt={},Object(B.a)(Rt,"".concat(Le,"-").concat(Wt),Wt),Object(B.a)(Rt,"".concat(Le,"-card"),["card","editable-card"].includes(De)),Object(B.a)(Rt,"".concat(Le,"-editable-card"),De==="editable-card"),Object(B.a)(Rt,"".concat(Le,"-centered"),xe),Rt),ze),editable:ke,moreIcon:Ee,prefixCls:Le,animated:_t}))})}q.TabPane=Se;var Ae=V.a=q},ZTW2:function(oe,V,e){},ZWlE:function(oe,V,e){var B=e("bYtY"),T=e("4NO4");function w(E){D(E),I(E)}function D(E){if(!E.parallel){var C=!1;B.each(E.series,function(f){f&&f.type==="parallel"&&(C=!0)}),C&&(E.parallel=[{}])}}function I(E){var C=T.normalizeToArray(E.parallelAxis);B.each(C,function(f){if(!!B.isObject(f)){var t=f.parallelIndex||0,i=T.normalizeToArray(E.parallel)[t];i&&i.parallelAxisDefault&&B.merge(f,i.parallelAxisDefault,!1)}})}oe.exports=w},ZYIC:function(oe,V,e){var B=e("zM3Q"),T={seriesType:"lines",plan:B(),reset:function(w){var D=w.coordinateSystem,I=w.get("polyline"),E=w.pipelineContext.large;function C(f,t){var i=[];if(E){var s,o=f.end-f.start;if(I){for(var r=0,u=f.start;u<f.end;u++)r+=w.getLineCoordsCount(u);s=new Float32Array(o+r*2)}else s=new Float32Array(o*4);for(var n=0,l=[],u=f.start;u<f.end;u++){var a=w.getLineCoords(u,i);I&&(s[n++]=a);for(var c=0;c<a;c++)l=D.dataToPoint(i[c],!1,l),s[n++]=l[0],s[n++]=l[1]}t.setLayout("linesPoints",s)}else for(var u=f.start;u<f.end;u++){var d=t.getItemModel(u),a=w.getLineCoords(u,i),h=[];if(I)for(var y=0;y<a;y++)h.push(D.dataToPoint(i[y]));else{h[0]=D.dataToPoint(i[0]),h[1]=D.dataToPoint(i[1]);var A=d.get("lineStyle.curveness");+A&&(h[2]=[(h[0][0]+h[1][0])/2-(h[0][1]-h[1][1])*A,(h[0][1]+h[1][1])/2-(h[1][0]-h[0][0])*A])}t.setItemLayout(u,h)}}return{progress:C}}};oe.exports=T},Ze12:function(oe,V,e){var B=e("ItGF"),T=e("hOwI"),w=T.buildTransformer,D="___zrEVENTSAVED",I=[];function E(s,o,r,u,n){return C(I,o,u,n,!0)&&C(s,r,I[0],I[1])}function C(s,o,r,u,n){if(o.getBoundingClientRect&&B.domSupported&&!i(o)){var l=o[D]||(o[D]={}),a=f(o,l),c=t(a,l,n);if(c)return c(s,r,u),!0}return!1}function f(s,o){var r=o.markers;if(r)return r;r=o.markers=[];for(var u=["left","right"],n=["top","bottom"],l=0;l<4;l++){var a=document.createElement("div"),c=a.style,d=l%2,h=(l>>1)%2;c.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",u[d]+":0",n[h]+":0",u[1-d]+":auto",n[1-h]+":auto",""].join("!important;"),s.appendChild(a),r.push(a)}return r}function t(s,o,r){for(var u=r?"invTrans":"trans",n=o[u],l=o.srcCoords,a=!0,c=[],d=[],h=0;h<4;h++){var y=s[h].getBoundingClientRect(),A=2*h,v=y.left,g=y.top;c.push(v,g),a=a&&l&&v===l[A]&&g===l[A+1],d.push(s[h].offsetLeft,s[h].offsetTop)}return a&&n?n:(o.srcCoords=c,o[u]=r?w(d,c):w(c,d))}function i(s){return s.nodeName.toUpperCase()==="CANVAS"}V.transformLocalCoord=E,V.transformCoordWithViewport=C,V.isCanvasEl=i},ZhPi:function(oe,V,e){var B=e("WkPL");function T(w,D){if(!!w){if(typeof w=="string")return B(w,D);var I=Object.prototype.toString.call(w).slice(8,-1);if(I==="Object"&&w.constructor&&(I=w.constructor.name),I==="Map"||I==="Set")return Array.from(w);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return B(w,D)}}oe.exports=T,oe.exports.__esModule=!0,oe.exports.default=oe.exports},Znkb:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("zTMp"),I=w.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(i,s,o,r){this.axisPointerClass&&D.fixValue(i),I.superApply(this,"render",arguments),E(this,i,s,o,r,!0)},updateAxisPointer:function(i,s,o,r,u){E(this,i,s,o,r,!1)},remove:function(i,s){var o=this._axisPointer;o&&o.remove(s),I.superApply(this,"remove",arguments)},dispose:function(i,s){C(this,s),I.superApply(this,"dispose",arguments)}});function E(i,s,o,r,u,n){var l=I.getAxisPointerClass(i.axisPointerClass);if(!!l){var a=D.getAxisPointerModel(s);a?(i._axisPointer||(i._axisPointer=new l)).render(s,a,r,n):C(i,r)}}function C(i,s,o){var r=i._axisPointer;r&&r.dispose(s,o),i._axisPointer=null}var f=[];I.registerAxisPointerClass=function(i,s){f[i]=s},I.getAxisPointerClass=function(i){return i&&f[i]};var t=I;oe.exports=t},"Znn+":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("9ama"),D=e.n(w)},ZqQs:function(oe,V,e){var B=e("bYtY");function T(E){var C=E&&E.timeline;B.isArray(C)||(C=C?[C]:[]),B.each(C,function(f){!f||w(f)})}function w(E){var C=E.type,f={number:"value",time:"time"};if(f[C]&&(E.axisType=f[C],delete E.type),D(E),I(E,"controlPosition")){var t=E.controlStyle||(E.controlStyle={});I(t,"position")||(t.position=E.controlPosition),t.position==="none"&&!I(t,"show")&&(t.show=!1,delete t.position),delete E.controlPosition}B.each(E.data||[],function(i){B.isObject(i)&&!B.isArray(i)&&(!I(i,"value")&&I(i,"name")&&(i.value=i.name),D(i))})}function D(E){var C=E.itemStyle||(E.itemStyle={}),f=C.emphasis||(C.emphasis={}),t=E.label||E.label||{},i=t.normal||(t.normal={}),s={normal:1,emphasis:1};B.each(t,function(o,r){!s[r]&&!I(i,r)&&(i[r]=o)}),f.label&&!I(t,"emphasis")&&(t.emphasis=f.label,delete f.label)}function I(E,C){return E.hasOwnProperty(C)}oe.exports=T},Zvw2:function(oe,V,e){var B=e("bYtY"),T=e("hM6l"),w=function(I,E,C,f,t){T.call(this,I,E,C),this.type=f||"value",this.position=t||"bottom",this.orient=null};w.prototype={constructor:w,model:null,isHorizontal:function(){var I=this.position;return I==="top"||I==="bottom"},pointToData:function(I,E){return this.coordinateSystem.pointToData(I,E)[0]},toGlobalCoord:null,toLocalCoord:null},B.inherits(w,T);var D=w;oe.exports=D},a9QJ:function(oe,V){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function B(T,w){if(T==="world"){var D=e[w.name];if(D){var I=w.center;I[0]=D[0],I[1]=D[1]}}}oe.exports=B},aCH8:function(oe,V,e){(function(){var B=e("ANhw"),T=e("mmNF").utf8,w=e("BEtg"),D=e("mmNF").bin,I=function E(C,f){C.constructor==String?f&&f.encoding==="binary"?C=D.stringToBytes(C):C=T.stringToBytes(C):w(C)?C=Array.prototype.slice.call(C,0):!Array.isArray(C)&&C.constructor!==Uint8Array&&(C=C.toString());for(var t=B.bytesToWords(C),i=C.length*8,s=1732584193,o=-271733879,r=-1732584194,u=271733878,n=0;n<t.length;n++)t[n]=(t[n]<<8|t[n]>>>24)&16711935|(t[n]<<24|t[n]>>>8)&4278255360;t[i>>>5]|=128<<i%32,t[(i+64>>>9<<4)+14]=i;for(var l=E._ff,a=E._gg,c=E._hh,d=E._ii,n=0;n<t.length;n+=16){var h=s,y=o,A=r,v=u;s=l(s,o,r,u,t[n+0],7,-680876936),u=l(u,s,o,r,t[n+1],12,-389564586),r=l(r,u,s,o,t[n+2],17,606105819),o=l(o,r,u,s,t[n+3],22,-1044525330),s=l(s,o,r,u,t[n+4],7,-176418897),u=l(u,s,o,r,t[n+5],12,1200080426),r=l(r,u,s,o,t[n+6],17,-1473231341),o=l(o,r,u,s,t[n+7],22,-45705983),s=l(s,o,r,u,t[n+8],7,1770035416),u=l(u,s,o,r,t[n+9],12,-1958414417),r=l(r,u,s,o,t[n+10],17,-42063),o=l(o,r,u,s,t[n+11],22,-1990404162),s=l(s,o,r,u,t[n+12],7,1804603682),u=l(u,s,o,r,t[n+13],12,-40341101),r=l(r,u,s,o,t[n+14],17,-1502002290),o=l(o,r,u,s,t[n+15],22,1236535329),s=a(s,o,r,u,t[n+1],5,-165796510),u=a(u,s,o,r,t[n+6],9,-1069501632),r=a(r,u,s,o,t[n+11],14,643717713),o=a(o,r,u,s,t[n+0],20,-373897302),s=a(s,o,r,u,t[n+5],5,-701558691),u=a(u,s,o,r,t[n+10],9,38016083),r=a(r,u,s,o,t[n+15],14,-660478335),o=a(o,r,u,s,t[n+4],20,-405537848),s=a(s,o,r,u,t[n+9],5,568446438),u=a(u,s,o,r,t[n+14],9,-1019803690),r=a(r,u,s,o,t[n+3],14,-187363961),o=a(o,r,u,s,t[n+8],20,1163531501),s=a(s,o,r,u,t[n+13],5,-1444681467),u=a(u,s,o,r,t[n+2],9,-51403784),r=a(r,u,s,o,t[n+7],14,1735328473),o=a(o,r,u,s,t[n+12],20,-1926607734),s=c(s,o,r,u,t[n+5],4,-378558),u=c(u,s,o,r,t[n+8],11,-2022574463),r=c(r,u,s,o,t[n+11],16,1839030562),o=c(o,r,u,s,t[n+14],23,-35309556),s=c(s,o,r,u,t[n+1],4,-1530992060),u=c(u,s,o,r,t[n+4],11,1272893353),r=c(r,u,s,o,t[n+7],16,-155497632),o=c(o,r,u,s,t[n+10],23,-1094730640),s=c(s,o,r,u,t[n+13],4,681279174),u=c(u,s,o,r,t[n+0],11,-358537222),r=c(r,u,s,o,t[n+3],16,-722521979),o=c(o,r,u,s,t[n+6],23,76029189),s=c(s,o,r,u,t[n+9],4,-640364487),u=c(u,s,o,r,t[n+12],11,-421815835),r=c(r,u,s,o,t[n+15],16,530742520),o=c(o,r,u,s,t[n+2],23,-995338651),s=d(s,o,r,u,t[n+0],6,-198630844),u=d(u,s,o,r,t[n+7],10,1126891415),r=d(r,u,s,o,t[n+14],15,-1416354905),o=d(o,r,u,s,t[n+5],21,-57434055),s=d(s,o,r,u,t[n+12],6,1700485571),u=d(u,s,o,r,t[n+3],10,-1894986606),r=d(r,u,s,o,t[n+10],15,-1051523),o=d(o,r,u,s,t[n+1],21,-2054922799),s=d(s,o,r,u,t[n+8],6,1873313359),u=d(u,s,o,r,t[n+15],10,-30611744),r=d(r,u,s,o,t[n+6],15,-1560198380),o=d(o,r,u,s,t[n+13],21,1309151649),s=d(s,o,r,u,t[n+4],6,-145523070),u=d(u,s,o,r,t[n+11],10,-1120210379),r=d(r,u,s,o,t[n+2],15,718787259),o=d(o,r,u,s,t[n+9],21,-343485551),s=s+h>>>0,o=o+y>>>0,r=r+A>>>0,u=u+v>>>0}return B.endian([s,o,r,u])};I._ff=function(E,C,f,t,i,s,o){var r=E+(C&f|~C&t)+(i>>>0)+o;return(r<<s|r>>>32-s)+C},I._gg=function(E,C,f,t,i,s,o){var r=E+(C&t|f&~t)+(i>>>0)+o;return(r<<s|r>>>32-s)+C},I._hh=function(E,C,f,t,i,s,o){var r=E+(C^f^t)+(i>>>0)+o;return(r<<s|r>>>32-s)+C},I._ii=function(E,C,f,t,i,s,o){var r=E+(f^(C|~t))+(i>>>0)+o;return(r<<s|r>>>32-s)+C},I._blocksize=16,I._digestsize=16,oe.exports=function(E,C){if(E==null)throw new Error("Illegal argument "+E);var f=B.wordsToBytes(I(E,C));return C&&C.asBytes?f:C&&C.asString?D.bytesToString(f):B.bytesToHex(f)}})()},aHsQ:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("6D9b"),D=e.n(w),I=e("cWXX")},aKvl:function(oe,V,e){var B=e("Sj9i"),T=B.quadraticProjectPoint;function w(D,I,E,C,f,t,i,s,o){if(i===0)return!1;var r=i;if(o>I+r&&o>C+r&&o>t+r||o<I-r&&o<C-r&&o<t-r||s>D+r&&s>E+r&&s>f+r||s<D-r&&s<E-r&&s<f-r)return!1;var u=T(D,I,E,C,f,t,s,o,null);return u<=r/2}V.containStroke=w},aTJb:function(oe,V,e){var B=e("bLfw");B.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(oe,V,e){var B=e("3gBT"),T=e("ItGF"),w=e("bYtY"),D=e("0s+r"),I=e("r6Bn"),E=e("7SHv"),C=e("MKOG"),f=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 t=!T.canvasSupported,i={canvas:E},s={},o="4.3.2";function r(d,h){var y=new c(B(),d,h);return s[y.id]=y,y}function u(d){if(d)d.dispose();else{for(var h in s)s.hasOwnProperty(h)&&s[h].dispose();s={}}return this}function n(d){return s[d]}function l(d,h){i[d]=h}function a(d){delete s[d]}var c=function(h,y,A){A=A||{},this.dom=y,this.id=h;var v=this,g=new I,x=A.renderer;if(t){if(!i.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");x="vml"}else(!x||!i[x])&&(x="canvas");var m=new i[x](y,g,A,h);this.storage=g,this.painter=m;var b=!T.node&&!T.worker?new f(m.getViewportRoot(),m.root):null;this.handler=new D(g,m,b,m.root),this.animation=new C({stage:{update:w.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var S=g.delFromStorage,P=g.addToStorage;g.delFromStorage=function(M){S.call(g,M),M&&M.removeSelfFromZr(v)},g.addToStorage=function(M){P.call(g,M),M.addSelfToZr(v)}};c.prototype={constructor:c,getId:function(){return this.id},add:function(h){this.storage.addRoot(h),this._needsRefresh=!0},remove:function(h){this.storage.delRoot(h),this._needsRefresh=!0},configLayer:function(h,y){this.painter.configLayer&&this.painter.configLayer(h,y),this._needsRefresh=!0},setBackgroundColor:function(h){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(h),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 h;this._needsRefresh&&(h=!0,this.refreshImmediately()),this._needsRefreshHover&&(h=!0,this.refreshHoverImmediately()),h&&this.trigger("rendered")},addHover:function(h,y){if(this.painter.addHover){var A=this.painter.addHover(h,y);return this.refreshHover(),A}},removeHover:function(h){this.painter.removeHover&&(this.painter.removeHover(h),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(h){h=h||{},this.painter.resize(h.width,h.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(h,y){return this.painter.pathToImage(h,y)},setCursorStyle:function(h){this.handler.setCursorStyle(h)},findHover:function(h,y){return this.handler.findHover(h,y)},on:function(h,y,A){this.handler.on(h,y,A)},off:function(h,y){this.handler.off(h,y)},trigger:function(h,y){this.handler.trigger(h,y)},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,a(this.id)}},V.version=o,V.init=r,V.dispose=u,V.getInstance=n,V.registerPainter=l},aX7z:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("GMDS"),I=e("ieMj"),E=e("4NgU"),C=e("OELB"),f=e("nVfU"),t=f.prepareLayoutBarSeries,i=f.makeColumnLayout,s=f.retrieveColumnLayout,o=e("mFDi");e("IWp7"),e("jCoz");function r(g,x){var m=g.type,b=x.getMin(),S=x.getMax(),P=g.getExtent(),M,R,F;m==="ordinal"?M=x.getCategories().length:(R=x.get("boundaryGap"),w.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=C.parsePercent(R[0],1),R[1]=C.parsePercent(R[1],1),F=P[1]-P[0]||Math.abs(P[0])),b==="dataMin"?b=P[0]:typeof b=="function"&&(b=b({min:P[0],max:P[1]})),S==="dataMax"?S=P[1]:typeof S=="function"&&(S=S({min:P[0],max:P[1]}));var L=b!=null,U=S!=null;b==null&&(b=m==="ordinal"?M?0:NaN:P[0]-R[0]*F),S==null&&(S=m==="ordinal"?M?M-1:NaN:P[1]+R[1]*F),(b==null||!isFinite(b))&&(b=NaN),(S==null||!isFinite(S))&&(S=NaN),g.setBlank(w.eqNaN(b)||w.eqNaN(S)||m==="ordinal"&&!g.getOrdinalMeta().categories.length),x.getNeedCrossZero()&&(b>0&&S>0&&!L&&(b=0),b<0&&S<0&&!U&&(S=0));var N=x.ecModel;if(N&&m==="time"){var Q=t("bar",N),z;if(w.each(Q,function(Y){z|=Y.getBaseAxis()===x.axis}),z){var _=i(Q),J=u(b,S,x,_);b=J.min,S=J.max}}return{extent:[b,S],fixMin:L,fixMax:U}}function u(g,x,m,b){var S=m.axis.getExtent(),P=S[1]-S[0],M=s(b,m.axis);if(M===void 0)return{min:g,max:x};var R=Infinity;w.each(M,function(z){R=Math.min(z.offset,R)});var F=-Infinity;w.each(M,function(z){F=Math.max(z.offset+z.width,F)}),R=Math.abs(R),F=Math.abs(F);var L=R+F,U=x-g,N=1-(R+F)/P,Q=U/N-U;return x+=Q*(F/L),g-=Q*(R/L),{min:g,max:x}}function n(g,x){var m=r(g,x),b=m.extent,S=x.get("splitNumber");g.type==="log"&&(g.base=x.get("logBase"));var P=g.type;g.setExtent(b[0],b[1]),g.niceExtent({splitNumber:S,fixMin:m.fixMin,fixMax:m.fixMax,minInterval:P==="interval"||P==="time"?x.get("minInterval"):null,maxInterval:P==="interval"||P==="time"?x.get("maxInterval"):null});var M=x.get("interval");M!=null&&g.setInterval&&g.setInterval(M)}function l(g,x){if(x=x||g.get("type"),x)switch(x){case"category":return new D(g.getOrdinalMeta?g.getOrdinalMeta():g.getCategories(),[Infinity,-Infinity]);case"value":return new I;default:return(E.getClass(x)||I).create(g)}}function a(g){var x=g.scale.getExtent(),m=x[0],b=x[1];return!(m>0&&b>0||m<0&&b<0)}function c(g){var x=g.getLabelModel().get("formatter"),m=g.type==="category"?g.scale.getExtent()[0]:null;return typeof x=="string"?(x=function(b){return function(S){return S=g.scale.getLabel(S),b.replace("{value}",S!=null?S:"")}}(x),x):typeof x=="function"?function(b,S){return m!=null&&(S=b-m),x(d(g,b),S)}:function(b){return g.scale.getLabel(b)}}function d(g,x){return g.type==="category"?g.scale.getLabel(x):x}function h(g){var x=g.model,m=g.scale;if(!(!x.get("axisLabel.show")||m.isBlank())){var b=g.type==="category",S,P,M=m.getExtent();b?P=m.count():(S=m.getTicks(),P=S.length);var R=g.getLabelModel(),F=c(g),L,U=1;P>40&&(U=Math.ceil(P/40));for(var N=0;N<P;N+=U){var Q=S?S[N]:M[0]+N,z=F(Q),_=R.getTextRect(z),J=y(_,R.get("rotate")||0);L?L.union(J):L=J}return L}}function y(g,x){var m=x*Math.PI/180,b=g.plain(),S=b.width,P=b.height,M=S*Math.abs(Math.cos(m))+Math.abs(P*Math.sin(m)),R=S*Math.abs(Math.sin(m))+Math.abs(P*Math.cos(m)),F=new o(b.x,b.y,M,R);return F}function A(g){var x=g.get("interval");return x==null?"auto":x}function v(g){return g.type==="category"&&A(g.getLabelModel())===0}V.getScaleExtent=r,V.niceScaleExtent=n,V.createScaleByModel=l,V.ifAxisCrossZero=a,V.makeLabelFormatter=c,V.getAxisRawValue=d,V.estimateLabelUnionRect=h,V.getOptionCategoryInterval=A,V.shouldShowAllLabels=v},"af/B":function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.map,D=B.isFunction,I=B.createHashMap,E=B.noop,C=e("9H2F"),f=C.createTask,t=e("iRjW"),i=t.getUID,s=e("fmMI"),o=e("hD7B"),r=e("4NO4"),u=r.normalizeToArray;function n(z,_,J,Y){this.ecInstance=z,this.api=_,this.unfinished;var J=this._dataProcessorHandlers=J.slice(),Y=this._visualHandlers=Y.slice();this._allHandlers=J.concat(Y),this._stageTaskMap=I()}var l=n.prototype;l.restoreData=function(z,_){z.restoreData(_),this._stageTaskMap.each(function(J){var Y=J.overallTask;Y&&Y.dirty()})},l.getPerformArgs=function(z,_){if(!!z.__pipeline){var J=this._pipelineMap.get(z.__pipeline.id),Y=J.context,k=!_&&J.progressiveEnabled&&(!Y||Y.progressiveRender)&&z.__idxInPipeline>J.blockIndex,W=k?J.step:null,ie=Y&&Y.modDataCount,fe=ie!=null?Math.ceil(ie/W):null;return{step:W,modBy:fe,modDataCount:ie}}},l.getPipeline=function(z){return this._pipelineMap.get(z)},l.updateStreamModes=function(z,_){var J=this._pipelineMap.get(z.uid),Y=z.getData(),k=Y.count(),W=J.progressiveEnabled&&_.incrementalPrepareRender&&k>=J.threshold,ie=z.get("large")&&k>=z.get("largeThreshold"),fe=z.get("progressiveChunkMode")==="mod"?k:null;z.pipelineContext=J.context={progressiveRender:W,modDataCount:fe,large:ie}},l.restorePipelines=function(z){var _=this,J=_._pipelineMap=I();z.eachSeries(function(Y){var k=Y.getProgressive(),W=Y.uid;J.set(W,{id:W,head:null,tail:null,threshold:Y.getProgressiveThreshold(),progressiveEnabled:k&&!(Y.preventIncremental&&Y.preventIncremental()),blockIndex:-1,step:Math.round(k||700),count:0}),M(_,Y,Y.dataTask)})},l.prepareStageTasks=function(){var z=this._stageTaskMap,_=this.ecInstance.getModel(),J=this.api;T(this._allHandlers,function(Y){var k=z.get(Y.uid)||z.set(Y.uid,[]);Y.reset&&d(this,Y,k,_,J),Y.overallReset&&h(this,Y,k,_,J)},this)},l.prepareView=function(z,_,J,Y){var k=z.renderTask,W=k.context;W.model=_,W.ecModel=J,W.api=Y,k.__block=!z.incrementalPrepareRender,M(this,_,k)},l.performDataProcessorTasks=function(z,_){a(this,this._dataProcessorHandlers,z,_,{block:!0})},l.performVisualTasks=function(z,_,J){a(this,this._visualHandlers,z,_,J)};function a(z,_,J,Y,k){k=k||{};var W;T(_,function(fe,Ce){if(!(k.visualType&&k.visualType!==fe.visualType)){var ge=z._stageTaskMap.get(fe.uid),de=ge.seriesTaskMap,Pe=ge.overallTask;if(Pe){var _e,Ne=Pe.agentStubMap;Ne.each(function(ue){ie(k,ue)&&(ue.dirty(),_e=!0)}),_e&&Pe.dirty(),c(Pe,Y);var He=z.getPerformArgs(Pe,k.block);Ne.each(function(ue){ue.perform(He)}),W|=Pe.perform(He)}else de&&de.each(function(ue,Re){ie(k,ue)&&ue.dirty();var nt=z.getPerformArgs(ue,k.block);nt.skip=!fe.performRawSeries&&J.isSeriesFiltered(ue.context.model),c(ue,Y),W|=ue.perform(nt)})}});function ie(fe,Ce){return fe.setDirty&&(!fe.dirtyMap||fe.dirtyMap.get(Ce.__pipeline.id))}z.unfinished|=W}l.performSeriesTasks=function(z){var _;z.eachSeries(function(J){_|=J.dataTask.perform()}),this.unfinished|=_},l.plan=function(){this._pipelineMap.each(function(z){var _=z.tail;do{if(_.__block){z.blockIndex=_.__idxInPipeline;break}_=_.getUpstream()}while(_)})};var c=l.updatePayload=function(z,_){_!=="remain"&&(z.context.payload=_)};function d(z,_,J,Y,k){var W=J.seriesTaskMap||(J.seriesTaskMap=I()),ie=_.seriesType,fe=_.getTargetSeries;_.createOnAllSeries?Y.eachRawSeries(Ce):ie?Y.eachRawSeriesByType(ie,Ce):fe&&fe(Y,k).each(Ce);function Ce(de){var Pe=de.uid,_e=W.get(Pe)||W.set(Pe,f({plan:x,reset:m,count:P}));_e.context={model:de,ecModel:Y,api:k,useClearVisual:_.isVisual&&!_.isLayout,plan:_.plan,reset:_.reset,scheduler:z},M(z,de,_e)}var ge=z._pipelineMap;W.each(function(de,Pe){ge.get(Pe)||(de.dispose(),W.removeKey(Pe))})}function h(z,_,J,Y,k){var W=J.overallTask=J.overallTask||f({reset:y});W.context={ecModel:Y,api:k,overallReset:_.overallReset,scheduler:z};var ie=W.agentStubMap=W.agentStubMap||I(),fe=_.seriesType,Ce=_.getTargetSeries,ge=!0,de=_.modifyOutputEnd;fe?Y.eachRawSeriesByType(fe,Pe):Ce?Ce(Y,k).each(Pe):(ge=!1,T(Y.getSeries(),Pe));function Pe(Ne){var He=Ne.uid,ue=ie.get(He);ue||(ue=ie.set(He,f({reset:A,onDirty:g})),W.dirty()),ue.context={model:Ne,overallProgress:ge,modifyOutputEnd:de},ue.agent=W,ue.__block=ge,M(z,Ne,ue)}var _e=z._pipelineMap;ie.each(function(Ne,He){_e.get(He)||(Ne.dispose(),W.dirty(),ie.removeKey(He))})}function y(z){z.overallReset(z.ecModel,z.api,z.payload)}function A(z,_){return z.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function g(){this.agent&&this.agent.dirty()}function x(z){return z.plan&&z.plan(z.model,z.ecModel,z.api,z.payload)}function m(z){z.useClearVisual&&z.data.clearAllVisual();var _=z.resetDefines=u(z.reset(z.model,z.ecModel,z.api,z.payload));return _.length>1?w(_,function(J,Y){return S(Y)}):b}var b=S(0);function S(z){return function(_,J){var Y=J.data,k=J.resetDefines[z];if(k&&k.dataEach)for(var W=_.start;W<_.end;W++)k.dataEach(Y,W);else k&&k.progress&&k.progress(_,Y)}}function P(z){return z.data.count()}function M(z,_,J){var Y=_.uid,k=z._pipelineMap.get(Y);!k.head&&(k.head=J),k.tail&&k.tail.pipe(J),k.tail=J,J.__idxInPipeline=k.count++,J.__pipeline=k}n.wrapStageHandler=function(z,_){return D(z)&&(z={overallReset:z,seriesType:R(z)}),z.uid=i("stageHandler"),_&&(z.visualType=_),z};function R(z){U=null;try{z(F,L)}catch(_){}return U}var F={},L={},U;N(F,s),N(L,o),F.eachSeriesByType=F.eachRawSeriesByType=function(z){U=z},F.eachComponent=function(z){z.mainType==="series"&&z.subType&&(U=z.subType)};function N(z,_){for(var J in _.prototype)z[J]=E}var Q=n;oe.exports=Q},akwb:function(oe,V,e){var B=e("RSch"),T=e("bYtY"),w=e("D9ME"),D=e("QBsz");function I(f,t,i){w.call(this,f,t,i),this._lastFrame=0,this._lastFramePercent=0}var E=I.prototype;E.createLine=function(f,t,i){return new B(f,t,i)},E.updateAnimationPoints=function(f,t){this._points=t;for(var i=[0],s=0,o=1;o<t.length;o++){var r=t[o-1],u=t[o];s+=D.dist(r,u),i.push(s)}if(s!==0){for(var o=0;o<i.length;o++)i[o]/=s;this._offsets=i,this._length=s}},E.getLineLength=function(f){return this._length},E.updateSymbolPosition=function(f){var t=f.__t,i=this._points,s=this._offsets,o=i.length;if(!!s){var r=this._lastFrame,u;if(t<this._lastFramePercent){var n=Math.min(r+1,o-1);for(u=n;u>=0&&!(s[u]<=t);u--);u=Math.min(u,o-2)}else{for(var u=r;u<o&&!(s[u]>t);u++);u=Math.min(u-1,o-2)}D.lerp(f.position,i[u],i[u+1],(t-s[u])/(s[u+1]-s[u]));var l=i[u+1][0]-i[u][0],a=i[u+1][1]-i[u][1];f.rotation=-Math.atan2(a,l)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=t,f.ignore=!1}},T.inherits(I,w);var C=I;oe.exports=C},as94:function(oe,V,e){var B=e("7aKB"),T=e("3LNs"),w=e("IwbS"),D=e("/y7N"),I=e("Fofx"),E=e("+rIm"),C=e("Znkb"),f=T.extend({makeElOption:function(o,r,u,n,l){var a=u.axis;a.dim==="angle"&&(this.animationThreshold=Math.PI/18);var c=a.polar,d=c.getOtherAxis(a),h=d.getExtent(),y;y=a["dataTo"+B.capitalFirst(a.dim)](r);var A=n.get("type");if(A&&A!=="none"){var v=D.buildElStyle(n),g=i[A](a,c,y,h,v);g.style=v,o.graphicKey=g.type,o.pointer=g}var x=n.get("label.margin"),m=t(r,u,n,c,x);D.buildLabelElOption(o,u,n,l,m)}});function t(o,r,u,n,l){var a=r.axis,c=a.dataToCoord(o),d=n.getAngleAxis().getExtent()[0];d=d/180*Math.PI;var h=n.getRadiusAxis().getExtent(),y,A,v;if(a.dim==="radius"){var g=I.create();I.rotate(g,g,d),I.translate(g,g,[n.cx,n.cy]),y=w.applyTransform([c,-l],g);var x=r.getModel("axisLabel").get("rotate")||0,m=E.innerTextLayout(d,x*Math.PI/180,-1);A=m.textAlign,v=m.textVerticalAlign}else{var b=h[1];y=n.coordToPoint([b+l,c]);var S=n.cx,P=n.cy;A=Math.abs(y[0]-S)/b<.3?"center":y[0]>S?"left":"right",v=Math.abs(y[1]-P)/b<.3?"middle":y[1]>P?"top":"bottom"}return{position:y,align:A,verticalAlign:v}}var i={line:function(o,r,u,n,l){return o.dim==="angle"?{type:"Line",shape:D.makeLineShape(r.coordToPoint([n[0],u]),r.coordToPoint([n[1],u]))}:{type:"Circle",shape:{cx:r.cx,cy:r.cy,r:u}}},shadow:function(o,r,u,n,l){var a=Math.max(1,o.getBandWidth()),c=Math.PI/180;return o.dim==="angle"?{type:"Sector",shape:D.makeSectorShape(r.cx,r.cy,n[0],n[1],(-u-a/2)*c,(-u+a/2)*c)}:{type:"Sector",shape:D.makeSectorShape(r.cx,r.cy,u-a/2,u+a/2,0,Math.PI*2)}}};C.registerAxisPointerClass("PolarAxisPointer",f);var s=f;oe.exports=s},b56q:function(oe,V,e){},b9oc:function(oe,V,e){var B=e("bYtY"),T=B.each,w="\0_ec_hist_store";function D(t,i){var s=f(t);T(i,function(o,r){for(var u=s.length-1;u>=0;u--){var n=s[u];if(n[r])break}if(u<0){var l=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(l){var a=l.getPercentRange();s[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}}),s.push(i)}function I(t){var i=f(t),s=i[i.length-1];i.length>1&&i.pop();var o={};return T(s,function(r,u){for(var n=i.length-1;n>=0;n--){var r=i[n][u];if(r){o[u]=r;break}}}),o}function E(t){t[w]=null}function C(t){return f(t).length}function f(t){var i=t[w];return i||(i=t[w]=[{}]),i}V.push=D,V.pop=I,V.clear=E,V.count=C},bBKM:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("+rIm"),E=e("IwbS"),C=["axisLine","axisTickLabel","axisName"],f=w.extendComponentView({type:"radar",render:function(t,i,s){var o=this.group;o.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var i=t.coordinateSystem,s=i.getIndicatorAxes(),o=D.map(s,function(r){var u=new I(r.model,{position:[i.cx,i.cy],rotation:r.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});D.each(o,function(r){D.each(C,r.add,r),this.group.add(r.getGroup())},this)},_buildSplitLineAndArea:function(t){var i=t.coordinateSystem,s=i.getIndicatorAxes();if(!s.length)return;var o=t.get("shape"),r=t.getModel("splitLine"),u=t.getModel("splitArea"),n=r.getModel("lineStyle"),l=u.getModel("areaStyle"),a=r.get("show"),c=u.get("show"),d=n.get("color"),h=l.get("color");d=D.isArray(d)?d:[d],h=D.isArray(h)?h:[h];var y=[],A=[];function v(Q,z,_){var J=_%z.length;return Q[J]=Q[J]||[],J}if(o==="circle")for(var g=s[0].getTicksCoords(),x=i.cx,m=i.cy,b=0;b<g.length;b++){if(a){var S=v(y,d,b);y[S].push(new E.Circle({shape:{cx:x,cy:m,r:g[b].coord}}))}if(c&&b<g.length-1){var S=v(A,h,b);A[S].push(new E.Ring({shape:{cx:x,cy:m,r0:g[b].coord,r:g[b+1].coord}}))}}else for(var P,M=D.map(s,function(Q,z){var _=Q.getTicksCoords();return P=P==null?_.length-1:Math.min(_.length-1,P),D.map(_,function(J){return i.coordToPoint(J.coord,z)})}),R=[],b=0;b<=P;b++){for(var F=[],L=0;L<s.length;L++)F.push(M[L][b]);if(F[0]&&F.push(F[0].slice()),a){var S=v(y,d,b);y[S].push(new E.Polyline({shape:{points:F}}))}if(c&&R){var S=v(A,h,b-1);A[S].push(new E.Polygon({shape:{points:F.concat(R)}}))}R=F.slice().reverse()}var U=n.getLineStyle(),N=l.getAreaStyle();D.each(A,function(Q,z){this.group.add(E.mergePath(Q,{style:D.defaults({stroke:"none",fill:h[z%h.length]},N),silent:!0}))},this),D.each(y,function(Q,z){this.group.add(E.mergePath(Q,{style:D.defaults({fill:"none",stroke:d[z%d.length]},U),silent:!0}))},this)}});oe.exports=f},bBL8:function(oe,V,e){var B=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var T=e("UnoB"),w=e("cbJ4"),D=e("0/Rx");B.registerLayout(T),B.registerVisual(w),B.registerProcessor(D("themeRiver"))},bE4E:function(oe,V,e){},bE4q:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("KQm4"),D=e("TSYQ"),I=e.n(D),E=e("Zm9Q"),C=e("q1tI"),f=e("H84U"),t=e("BvKs"),i=e("0n0R"),s=e("8Skl"),o=e("XBQK"),r=function(m,b){var S={};for(var P in m)Object.prototype.hasOwnProperty.call(m,P)&&b.indexOf(P)<0&&(S[P]=m[P]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(m);M<P.length;M++)b.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(m,P[M])&&(S[P[M]]=m[P[M]]);return S},u=function(b){var S=b.prefixCls,P=b.separator,M=P===void 0?"/":P,R=b.children,F=b.menu,L=b.overlay,U=b.dropdownProps,N=r(b,["prefixCls","separator","children","menu","overlay","dropdownProps"]),Q=C.useContext(f.b),z=Q.getPrefixCls,_=z("breadcrumb",S),J=function(W){return F||L?C.createElement(o.a,Object(B.a)({menu:F,overlay:L,placement:"bottom"},U),C.createElement("span",{className:"".concat(_,"-overlay-link")},W,C.createElement(s.a,null))):W},Y;return"href"in N?Y=C.createElement("a",Object(B.a)({className:"".concat(_,"-link")},N),R):Y=C.createElement("span",Object(B.a)({className:"".concat(_,"-link")},N),R),Y=J(Y),R!=null?C.createElement("li",null,Y,M&&C.createElement("span",{className:"".concat(_,"-separator")},M)):null};u.__ANT_BREADCRUMB_ITEM=!0;var n=u,l=function(b){var S=b.children,P=C.useContext(f.b),M=P.getPrefixCls,R=M("breadcrumb");return C.createElement("span",{className:"".concat(R,"-separator")},S||"/")};l.__ANT_BREADCRUMB_SEPARATOR=!0;var a=l,c=function(m,b){var S={};for(var P in m)Object.prototype.hasOwnProperty.call(m,P)&&b.indexOf(P)<0&&(S[P]=m[P]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(m);M<P.length;M++)b.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(m,P[M])&&(S[P[M]]=m[P[M]]);return S};function d(m,b){if(!m.breadcrumbName)return null;var S=Object.keys(b).join("|"),P=m.breadcrumbName.replace(new RegExp(":(".concat(S,")"),"g"),function(M,R){return b[R]||M});return P}function h(m,b,S,P){var M=S.indexOf(m)===S.length-1,R=d(m,b);return M?C.createElement("span",null,R):C.createElement("a",{href:"#/".concat(P.join("/"))},R)}var y=function(b,S){return b=(b||"").replace(/^\//,""),Object.keys(S).forEach(function(P){b=b.replace(":".concat(P),S[P])}),b},A=function(b,S,P){var M=Object(w.a)(b),R=y(S||"",P);return R&&M.push(R),M},v=function(b){var S=b.prefixCls,P=b.separator,M=P===void 0?"/":P,R=b.style,F=b.className,L=b.routes,U=b.children,N=b.itemRender,Q=N===void 0?h:N,z=b.params,_=z===void 0?{}:z,J=c(b,["prefixCls","separator","style","className","routes","children","itemRender","params"]),Y=C.useContext(f.b),k=Y.getPrefixCls,W=Y.direction,ie,fe=k("breadcrumb",S);if(L&&L.length>0){var Ce=[];ie=L.map(function(de){var Pe=y(de.path,_);Pe&&Ce.push(Pe);var _e;return de.children&&de.children.length&&(_e=C.createElement(t.a,{items:de.children.map(function(Ne){return{key:Ne.path||Ne.breadcrumbName,label:Q(Ne,_,L,A(Ce,Ne.path,_))}})})),C.createElement(n,{overlay:_e,separator:M,key:Pe||de.breadcrumbName},Q(de,_,L,Ce))})}else U&&(ie=Object(E.a)(U).map(function(de,Pe){return de&&Object(i.a)(de,{separator:M,key:Pe})}));var ge=I()(fe,Object(T.a)({},"".concat(fe,"-rtl"),W==="rtl"),F);return C.createElement("nav",Object(B.a)({className:ge,style:R},J),C.createElement("ol",null,ie))};v.Item=n,v.Separator=a;var g=v,x=V.a=g},bKJz:function(oe,V,e){},bLfw:function(oe,V,e){var B=e("bYtY"),T=e("Qxkt"),w=e("iRjW"),D=e("Yl7c"),I=D.enableClassManagement,E=D.parseClassType,C=e("4NO4"),f=C.makeInner,t=e("+TT/"),i=e("3hzK"),s=f(),o=T.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(n,l,a,c){T.call(this,n,l,a,c),this.uid=w.getUID("ec_cpt_model")},init:function(n,l,a,c){this.mergeDefaultAndTheme(n,a)},mergeDefaultAndTheme:function(n,l){var a=this.layoutMode,c=a?t.getLayoutParams(n):{},d=l.getTheme();B.merge(n,d.get(this.mainType)),B.merge(n,this.getDefaultOption()),a&&t.mergeLayoutParam(n,c,a)},mergeOption:function(n,l){B.merge(this.option,n,!0);var a=this.layoutMode;a&&t.mergeLayoutParam(this.option,n,a)},optionUpdated:function(n,l){},getDefaultOption:function(){var n=s(this);if(!n.defaultOption){for(var l=[],a=this.constructor;a;){var c=a.prototype.defaultOption;c&&l.push(c),a=a.superClass}for(var d={},h=l.length-1;h>=0;h--)d=B.merge(d,l[h],!0);n.defaultOption=d}return n.defaultOption},getReferringComponents:function(n){return this.ecModel.queryComponents({mainType:n,index:this.get(n+"Index",!0),id:this.get(n+"Id",!0)})}});I(o,{registerWhenExtend:!0}),w.enableSubTypeDefaulter(o),w.enableTopologicalTravel(o,r);function r(n){var l=[];return B.each(o.getClassesByMainType(n),function(a){l=l.concat(a.prototype.dependencies||[])}),l=B.map(l,function(a){return E(a).main}),n!=="dataset"&&B.indexOf(l,"dataset")<=0&&l.unshift("dataset"),l}B.mixin(o,i);var u=o;oe.exports=u},bMXI:function(oe,V,e){var B=e("bYtY"),T=e("QBsz"),w=e("Fofx"),D=e("mFDi"),I=e("DN4a"),E=T.applyTransform;function C(){I.call(this)}B.mixin(C,I);function f(s){this.name=s,this.zoomLimit,I.call(this),this._roamTransformable=new C,this._rawTransformable=new C,this._center,this._zoom}f.prototype={constructor:f,type:"view",dimensions:["x","y"],setBoundingRect:function(s,o,r,u){return this._rect=new D(s,o,r,u),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,o,r,u){this.transformTo(s,o,r,u),this._viewRect=new D(s,o,r,u)},transformTo:function(s,o,r,u){var n=this.getBoundingRect(),l=this._rawTransformable;l.transform=n.calculateTransform(new D(s,o,r,u)),l.decomposeTransform(),this._updateTransform()},setCenter:function(s){!s||(this._center=s,this._updateCenterAndZoom())},setZoom:function(s){s=s||1;var o=this.zoomLimit;o&&(o.max!=null&&(s=Math.min(o.max,s)),o.min!=null&&(s=Math.max(o.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),o=s.x+s.width/2,r=s.y+s.height/2;return[o,r]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),o=this._roamTransformable,r=this.getDefaultCenter(),u=this.getCenter(),n=this.getZoom();u=T.applyTransform([],u,s),r=T.applyTransform([],r,s),o.origin=u,o.position=[r[0]-u[0],r[1]-u[1]],o.scale=[n,n],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,o=this._rawTransformable;o.parent=s,s.updateTransform(),o.updateTransform(),w.copy(this.transform||(this.transform=[]),o.transform||w.create()),this._rawTransform=o.getLocalTransform(),this.invTransform=this.invTransform||[],w.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,o=this._rawTransformable;return{roamTransform:s?B.slice(s):w.create(),rawScale:B.slice(o.scale),rawPosition:B.slice(o.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,o,r){var u=o?this._rawTransform:this.transform;return r=r||[],u?E(r,s,u):T.copy(r,s)},pointToData:function(s){var o=this.invTransform;return o?E([],s,o):[s[0],s[1]]},convertToPixel:B.curry(t,"dataToPoint"),convertFromPixel:B.curry(t,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},B.mixin(f,I);function t(s,o,r,u){var n=r.seriesModel,l=n?n.coordinateSystem:null;return l===this?l[s](u):null}var i=f;oe.exports=i},bNin:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("FBjb"),D=e("Itpr"),I=D.radialCoordinate,E=e("ProS"),C=e("4mN7"),f=e("bMXI"),t=e("Ae+d"),i=e("SgGq"),s=e("xSat"),o=s.onIrrelevantElement,r=e("Tghj"),u=r.__DEV__,n=e("OELB"),l=n.parsePercent,a=T.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(x,m){var b=m.childPoints,S=b.length,P=m.parentPoint,M=b[0],R=b[S-1];if(S===1){x.moveTo(P[0],P[1]),x.lineTo(M[0],M[1]);return}var F=m.orient,L=F==="TB"||F==="BT"?0:1,U=1-L,N=l(m.forkPosition,1),Q=[];Q[L]=P[L],Q[U]=P[U]+(R[U]-P[U])*N,x.moveTo(P[0],P[1]),x.lineTo(Q[0],Q[1]),x.moveTo(M[0],M[1]),Q[L]=M[L],x.lineTo(Q[0],Q[1]),Q[L]=R[L],x.lineTo(Q[0],Q[1]),x.lineTo(R[0],R[1]);for(var z=1;z<S-1;z++){var _=b[z];x.moveTo(_[0],_[1]),Q[L]=_[L],x.lineTo(Q[0],Q[1])}}}),c=E.extendChartView({type:"tree",init:function(x,m){this._oldTree,this._mainGroup=new T.Group,this._controller=new i(m.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(x,m,b,S){var P=x.getData(),M=x.layoutInfo,R=this._mainGroup,F=x.get("layout");F==="radial"?R.attr("position",[M.x+M.width/2,M.y+M.height/2]):R.attr("position",[M.x,M.y]),this._updateViewCoordSys(x,M,F),this._updateController(x,m,b);var L=this._data,U={expandAndCollapse:x.get("expandAndCollapse"),layout:F,edgeShape:x.get("edgeShape"),edgeForkPosition:x.get("edgeForkPosition"),orient:x.getOrient(),curvature:x.get("lineStyle.curveness"),symbolRotate:x.get("symbolRotate"),symbolOffset:x.get("symbolOffset"),hoverAnimation:x.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};P.diff(L).add(function(N){d(P,N)&&y(P,N,null,R,x,U)}).update(function(N,Q){var z=L.getItemGraphicEl(Q);if(!d(P,N)){z&&v(L,Q,z,R,x,U);return}y(P,N,z,R,x,U)}).remove(function(N){var Q=L.getItemGraphicEl(N);Q&&v(L,N,Q,R,x,U)}).execute(),this._nodeScaleRatio=x.get("nodeScaleRatio"),this._updateNodeAndLinkScale(x),U.expandAndCollapse===!0&&P.eachItemGraphicEl(function(N,Q){N.off("click").on("click",function(){b.dispatchAction({type:"treeExpandAndCollapse",seriesId:x.id,dataIndex:Q})})}),this._data=P},_updateViewCoordSys:function(x){var m=x.getData(),b=[];m.each(function(L){var U=m.getItemLayout(L);U&&!isNaN(U.x)&&!isNaN(U.y)&&b.push([+U.x,+U.y])});var S=[],P=[];C.fromPoints(b,S,P);var M=this._min,R=this._max;P[0]-S[0]==0&&(S[0]=M?M[0]:S[0]-1,P[0]=R?R[0]:P[0]+1),P[1]-S[1]==0&&(S[1]=M?M[1]:S[1]-1,P[1]=R?R[1]:P[1]+1);var F=x.coordinateSystem=new f;F.zoomLimit=x.get("scaleLimit"),F.setBoundingRect(S[0],S[1],P[0]-S[0],P[1]-S[1]),F.setCenter(x.get("center")),F.setZoom(x.get("zoom")),this.group.attr({position:F.position,scale:F.scale}),this._viewCoordSys=F,this._min=S,this._max=P},_updateController:function(x,m,b){var S=this._controller,P=this._controllerHost,M=this.group;S.setPointerChecker(function(R,F,L){var U=M.getBoundingRect();return U.applyTransform(M.transform),U.contain(F,L)&&!o(R,b,x)}),S.enable(x.get("roam")),P.zoomLimit=x.get("scaleLimit"),P.zoom=x.coordinateSystem.getZoom(),S.off("pan").off("zoom").on("pan",function(R){t.updateViewOnPan(P,R.dx,R.dy),b.dispatchAction({seriesId:x.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){t.updateViewOnZoom(P,R.scale,R.originX,R.originY),b.dispatchAction({seriesId:x.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(x)},this)},_updateNodeAndLinkScale:function(x){var m=x.getData(),b=this._getNodeGlobalScale(x),S=[b,b];m.eachItemGraphicEl(function(P,M){P.attr("scale",S)})},_getNodeGlobalScale:function(x){var m=x.coordinateSystem;if(m.type!=="view")return 1;var b=this._nodeScaleRatio,S=m.scale,P=S&&S[0]||1,M=m.getZoom(),R=(M-1)*b+1;return R/P},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function d(x,m){var b=x.getItemLayout(m);return b&&!isNaN(b.x)&&!isNaN(b.y)&&x.getItemVisual(m,"symbol")!=="none"}function h(x,m,b){return b.itemModel=m,b.itemStyle=m.getModel("itemStyle").getItemStyle(),b.hoverItemStyle=m.getModel("emphasis.itemStyle").getItemStyle(),b.lineStyle=m.getModel("lineStyle").getLineStyle(),b.labelModel=m.getModel("label"),b.hoverLabelModel=m.getModel("emphasis.label"),x.isExpand===!1&&x.children.length!==0?b.symbolInnerColor=b.itemStyle.fill:b.symbolInnerColor="#fff",b}function y(x,m,b,S,P,M){var R=!b,F=x.tree.getNodeByDataIndex(m),L=F.getModel(),M=h(F,L,M),U=x.tree.root,N=F.parentNode===U?F:F.parentNode||F,Q=x.getItemGraphicEl(N.dataIndex),z=N.getLayout(),_=Q?{x:Q.position[0],y:Q.position[1],rawX:Q.__radialOldRawX,rawY:Q.__radialOldRawY}:z,J=F.getLayout();R?(b=new w(x,m,M),b.attr("position",[_.x,_.y])):b.updateData(x,m,M),b.__radialOldRawX=b.__radialRawX,b.__radialOldRawY=b.__radialRawY,b.__radialRawX=J.rawX,b.__radialRawY=J.rawY,S.add(b),x.setItemGraphicEl(m,b),T.updateProps(b,{position:[J.x,J.y]},P);var Y=b.getSymbolPath();if(M.layout==="radial"){var k=U.children[0],W=k.getLayout(),ie=k.children.length,fe,Ce;if(J.x===W.x&&F.isExpand===!0){var ge={};ge.x=(k.children[0].getLayout().x+k.children[ie-1].getLayout().x)/2,ge.y=(k.children[0].getLayout().y+k.children[ie-1].getLayout().y)/2,fe=Math.atan2(ge.y-W.y,ge.x-W.x),fe<0&&(fe=Math.PI*2+fe),Ce=ge.x<W.x,Ce&&(fe=fe-Math.PI)}else fe=Math.atan2(J.y-W.y,J.x-W.x),fe<0&&(fe=Math.PI*2+fe),F.children.length===0||F.children.length!==0&&F.isExpand===!1?(Ce=J.x<W.x,Ce&&(fe=fe-Math.PI)):(Ce=J.x>W.x,Ce||(fe=fe-Math.PI));var de=Ce?"left":"right",Pe=M.labelModel.get("rotate"),_e=Pe*(Math.PI/180);Y.setStyle({textPosition:M.labelModel.get("position")||de,textRotation:Pe==null?-fe:_e,textOrigin:"center",verticalAlign:"middle"})}A(P,F,U,b,_,z,J,S,M)}function A(x,m,b,S,P,M,R,F,L){var U=L.edgeShape,N=S.__edge;if(U==="curve")m.parentNode&&m.parentNode!==b&&(N||(N=S.__edge=new T.BezierCurve({shape:g(L,P,P),style:B.defaults({opacity:0,strokeNoScale:!0},L.lineStyle)})),T.updateProps(N,{shape:g(L,M,R),style:B.defaults({opacity:1},L.lineStyle)},x));else if(U==="polyline"&&L.layout==="orthogonal"&&m!==b&&m.children&&m.children.length!==0&&m.isExpand===!0){for(var Q=m.children,z=[],_=0;_<Q.length;_++){var J=Q[_].getLayout();z.push([J.x,J.y])}N||(N=S.__edge=new a({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:L.orient,forkPosition:L.edgeForkPosition},style:B.defaults({opacity:0,strokeNoScale:!0},L.lineStyle)})),T.updateProps(N,{shape:{parentPoint:[R.x,R.y],childPoints:z},style:B.defaults({opacity:1},L.lineStyle)},x)}F.add(N)}function v(x,m,b,S,P,M){for(var R=x.tree.getNodeByDataIndex(m),F=x.tree.root,L=R.getModel(),M=h(R,L,M),U=R.parentNode===F?R:R.parentNode||R,N=M.edgeShape,Q;Q=U.getLayout(),Q==null;)U=U.parentNode===F?U:U.parentNode||U;T.updateProps(b,{position:[Q.x+1,Q.y+1]},P,function(){S.remove(b),x.setItemGraphicEl(m,null)}),b.fadeOut(null,{keepLabel:!0});var z=x.getItemGraphicEl(U.dataIndex),_=z.__edge,J=b.__edge||(U.isExpand===!1||U.children.length===1?_:void 0),N=M.edgeShape;J&&(N==="curve"?T.updateProps(J,{shape:g(M,Q,Q),style:{opacity:0}},P,function(){S.remove(J)}):N==="polyline"&&M.layout==="orthogonal"&&T.updateProps(J,{shape:{parentPoint:[Q.x,Q.y],childPoints:[[Q.x,Q.y]]},style:{opacity:0}},P,function(){S.remove(J)}))}function g(x,m,b){var S,P,M,R,F=x.orient,L,U,N,Q;if(x.layout==="radial"){L=m.rawX,N=m.rawY,U=b.rawX,Q=b.rawY;var z=I(L,N),_=I(L,N+(Q-N)*x.curvature),J=I(U,Q+(N-Q)*x.curvature),Y=I(U,Q);return{x1:z.x,y1:z.y,x2:Y.x,y2:Y.y,cpx1:_.x,cpy1:_.y,cpx2:J.x,cpy2:J.y}}else L=m.x,N=m.y,U=b.x,Q=b.y,(F==="LR"||F==="RL")&&(S=L+(U-L)*x.curvature,P=N,M=U+(L-U)*x.curvature,R=Q),(F==="TB"||F==="BT")&&(S=L,P=N+(Q-N)*x.curvature,M=U,R=Q+(N-Q)*x.curvature);return{x1:L,y1:N,x2:U,y2:Q,cpx1:S,cpy1:P,cpx2:M,cpy2:R}}oe.exports=c},bRQS:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="CheckOutlined";var C=V.a=T.forwardRef(E)},bYtY:function(oe,V){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},B={"[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},T=Object.prototype.toString,w=Array.prototype,D=w.forEach,I=w.filter,E=w.slice,C=w.map,f=w.reduce,t={};function i(ue,Re){ue==="createCanvas"&&(a=null),t[ue]=Re}function s(ue){if(ue==null||typeof ue!="object")return ue;var Re=ue,nt=T.call(ue);if(nt==="[object Array]"){if(!de(ue)){Re=[];for(var Ve=0,Ge=ue.length;Ve<Ge;Ve++)Re[Ve]=s(ue[Ve])}}else if(B[nt]){if(!de(ue)){var dt=ue.constructor;if(ue.constructor.from)Re=dt.from(ue);else{Re=new dt(ue.length);for(var Ve=0,Ge=ue.length;Ve<Ge;Ve++)Re[Ve]=s(ue[Ve])}}}else if(!e[nt]&&!de(ue)&&!Q(ue)){Re={};for(var et in ue)ue.hasOwnProperty(et)&&(Re[et]=s(ue[et]))}return Re}function o(ue,Re,nt){if(!L(Re)||!L(ue))return nt?s(Re):ue;for(var Ve in Re)if(Re.hasOwnProperty(Ve)){var Ge=ue[Ve],dt=Re[Ve];L(dt)&&L(Ge)&&!M(dt)&&!M(Ge)&&!Q(dt)&&!Q(Ge)&&!U(dt)&&!U(Ge)&&!de(dt)&&!de(Ge)?o(Ge,dt,nt):(nt||!(Ve in ue))&&(ue[Ve]=s(Re[Ve],!0))}return ue}function r(ue,Re){for(var nt=ue[0],Ve=1,Ge=ue.length;Ve<Ge;Ve++)nt=o(nt,ue[Ve],Re);return nt}function u(ue,Re){for(var nt in Re)Re.hasOwnProperty(nt)&&(ue[nt]=Re[nt]);return ue}function n(ue,Re,nt){for(var Ve in Re)Re.hasOwnProperty(Ve)&&(nt?Re[Ve]!=null:ue[Ve]==null)&&(ue[Ve]=Re[Ve]);return ue}var l=function(){return t.createCanvas()};t.createCanvas=function(){return document.createElement("canvas")};var a;function c(){return a||(a=l().getContext("2d")),a}function d(ue,Re){if(ue){if(ue.indexOf)return ue.indexOf(Re);for(var nt=0,Ve=ue.length;nt<Ve;nt++)if(ue[nt]===Re)return nt}return-1}function h(ue,Re){var nt=ue.prototype;function Ve(){}Ve.prototype=Re.prototype,ue.prototype=new Ve;for(var Ge in nt)nt.hasOwnProperty(Ge)&&(ue.prototype[Ge]=nt[Ge]);ue.prototype.constructor=ue,ue.superClass=Re}function y(ue,Re,nt){ue="prototype"in ue?ue.prototype:ue,Re="prototype"in Re?Re.prototype:Re,n(ue,Re,nt)}function A(ue){if(!!ue)return typeof ue=="string"?!1:typeof ue.length=="number"}function v(ue,Re,nt){if(!!(ue&&Re))if(ue.forEach&&ue.forEach===D)ue.forEach(Re,nt);else if(ue.length===+ue.length)for(var Ve=0,Ge=ue.length;Ve<Ge;Ve++)Re.call(nt,ue[Ve],Ve,ue);else for(var dt in ue)ue.hasOwnProperty(dt)&&Re.call(nt,ue[dt],dt,ue)}function g(ue,Re,nt){if(!!(ue&&Re)){if(ue.map&&ue.map===C)return ue.map(Re,nt);for(var Ve=[],Ge=0,dt=ue.length;Ge<dt;Ge++)Ve.push(Re.call(nt,ue[Ge],Ge,ue));return Ve}}function x(ue,Re,nt,Ve){if(!!(ue&&Re)){if(ue.reduce&&ue.reduce===f)return ue.reduce(Re,nt,Ve);for(var Ge=0,dt=ue.length;Ge<dt;Ge++)nt=Re.call(Ve,nt,ue[Ge],Ge,ue);return nt}}function m(ue,Re,nt){if(!!(ue&&Re)){if(ue.filter&&ue.filter===I)return ue.filter(Re,nt);for(var Ve=[],Ge=0,dt=ue.length;Ge<dt;Ge++)Re.call(nt,ue[Ge],Ge,ue)&&Ve.push(ue[Ge]);return Ve}}function b(ue,Re,nt){if(!!(ue&&Re)){for(var Ve=0,Ge=ue.length;Ve<Ge;Ve++)if(Re.call(nt,ue[Ve],Ve,ue))return ue[Ve]}}function S(ue,Re){var nt=E.call(arguments,2);return function(){return ue.apply(Re,nt.concat(E.call(arguments)))}}function P(ue){var Re=E.call(arguments,1);return function(){return ue.apply(this,Re.concat(E.call(arguments)))}}function M(ue){return T.call(ue)==="[object Array]"}function R(ue){return typeof ue=="function"}function F(ue){return T.call(ue)==="[object String]"}function L(ue){var Re=typeof ue;return Re==="function"||!!ue&&Re==="object"}function U(ue){return!!e[T.call(ue)]}function N(ue){return!!B[T.call(ue)]}function Q(ue){return typeof ue=="object"&&typeof ue.nodeType=="number"&&typeof ue.ownerDocument=="object"}function z(ue){return ue!==ue}function _(ue){for(var Re=0,nt=arguments.length;Re<nt;Re++)if(arguments[Re]!=null)return arguments[Re]}function J(ue,Re){return ue!=null?ue:Re}function Y(ue,Re,nt){return ue!=null?ue:Re!=null?Re:nt}function k(){return Function.call.apply(E,arguments)}function W(ue){if(typeof ue=="number")return[ue,ue,ue,ue];var Re=ue.length;return Re===2?[ue[0],ue[1],ue[0],ue[1]]:Re===3?[ue[0],ue[1],ue[2],ue[1]]:ue}function ie(ue,Re){if(!ue)throw new Error(Re)}function fe(ue){return ue==null?null:typeof ue.trim=="function"?ue.trim():ue.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Ce="__ec_primitive__";function ge(ue){ue[Ce]=!0}function de(ue){return ue[Ce]}function Pe(ue){var Re=M(ue);this.data={};var nt=this;ue instanceof Pe?ue.each(Ve):ue&&v(ue,Ve);function Ve(Ge,dt){Re?nt.set(Ge,dt):nt.set(dt,Ge)}}Pe.prototype={constructor:Pe,get:function(Re){return this.data.hasOwnProperty(Re)?this.data[Re]:null},set:function(Re,nt){return this.data[Re]=nt},each:function(Re,nt){nt!==void 0&&(Re=S(Re,nt));for(var Ve in this.data)this.data.hasOwnProperty(Ve)&&Re(this.data[Ve],Ve)},removeKey:function(Re){delete this.data[Re]}};function _e(ue){return new Pe(ue)}function Ne(ue,Re){for(var nt=new ue.constructor(ue.length+Re.length),Ve=0;Ve<ue.length;Ve++)nt[Ve]=ue[Ve];var Ge=ue.length;for(Ve=0;Ve<Re.length;Ve++)nt[Ve+Ge]=Re[Ve];return nt}function He(){}V.$override=i,V.clone=s,V.merge=o,V.mergeAll=r,V.extend=u,V.defaults=n,V.createCanvas=l,V.getContext=c,V.indexOf=d,V.inherits=h,V.mixin=y,V.isArrayLike=A,V.each=v,V.map=g,V.reduce=x,V.filter=m,V.find=b,V.bind=S,V.curry=P,V.isArray=M,V.isFunction=R,V.isString=F,V.isObject=L,V.isBuiltInObject=U,V.isTypedArray=N,V.isDom=Q,V.eqNaN=z,V.retrieve=_,V.retrieve2=J,V.retrieve3=Y,V.slice=k,V.normalizeCssArray=W,V.assert=ie,V.trim=fe,V.setAsPrimitive=ge,V.isPrimitive=de,V.createHashMap=_e,V.concatArray=Ne,V.noop=He},bZqE:function(oe,V){function e(T,w,D){for(var I=[T],E=[],C;C=I.pop();)if(E.push(C),C.isExpand){var f=C.children;if(f.length)for(var t=0;t<f.length;t++)I.push(f[t])}for(;C=E.pop();)w(C,D)}function B(T,w){for(var D=[T],I;I=D.pop();)if(w(I),I.isExpand){var E=I.children;if(E.length)for(var C=E.length-1;C>=0;C--)D.push(E[C])}}V.eachAfter=e,V.eachBefore=B},bahg:function(oe,V){function e(B){return B.split("")}oe.exports=e},bbsP:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("CWI+"),D=e.n(w)},bogI:function(oe,V,e){"use strict";e.d(V,"a",function(){return B});var B=function(w){if(!w)return null;var D=typeof w=="function";return D?w():w}},bx4M:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("TSYQ"),D=e.n(w),I=e("bT9E"),E=e("q1tI"),C=e("H84U"),f=e("3Nzz"),t=e("/ezw"),i=e("ZTPi"),s=function(v,g){var x={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.indexOf(m)<0&&(x[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,m=Object.getOwnPropertySymbols(v);b<m.length;b++)g.indexOf(m[b])<0&&Object.prototype.propertyIsEnumerable.call(v,m[b])&&(x[m[b]]=v[m[b]]);return x},o=function(g){var x=g.prefixCls,m=g.className,b=g.hoverable,S=b===void 0?!0:b,P=s(g,["prefixCls","className","hoverable"]);return E.createElement(C.a,null,function(M){var R=M.getPrefixCls,F=R("card",x),L=D()("".concat(F,"-grid"),m,Object(B.a)({},"".concat(F,"-grid-hoverable"),S));return E.createElement("div",Object(T.a)({},P,{className:L}))})},r=o,u=function(v,g){var x={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.indexOf(m)<0&&(x[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,m=Object.getOwnPropertySymbols(v);b<m.length;b++)g.indexOf(m[b])<0&&Object.prototype.propertyIsEnumerable.call(v,m[b])&&(x[m[b]]=v[m[b]]);return x};function n(v){var g=v.map(function(x,m){return E.createElement("li",{style:{width:"".concat(100/v.length,"%")},key:"action-".concat(m)},E.createElement("span",null,x))});return g}var l=E.forwardRef(function(v,g){var x,m,b=E.useContext(C.b),S=b.getPrefixCls,P=b.direction,M=E.useContext(f.b),R=function(Ot){var Xt;(Xt=v.onTabChange)===null||Xt===void 0||Xt.call(v,Ot)},F=function(){var Ot;return E.Children.forEach(v.children,function(Xt){Xt&&Xt.type&&Xt.type===r&&(Ot=!0)}),Ot},L=v.prefixCls,U=v.className,N=v.extra,Q=v.headStyle,z=Q===void 0?{}:Q,_=v.bodyStyle,J=_===void 0?{}:_,Y=v.title,k=v.loading,W=v.bordered,ie=W===void 0?!0:W,fe=v.size,Ce=v.type,ge=v.cover,de=v.actions,Pe=v.tabList,_e=v.children,Ne=v.activeTabKey,He=v.defaultActiveTabKey,ue=v.tabBarExtraContent,Re=v.hoverable,nt=v.tabProps,Ve=nt===void 0?{}:nt,Ge=u(v,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),dt=S("card",L),et=E.createElement(t.a,{loading:!0,active:!0,paragraph:{rows:4},title:!1},_e),At=Ne!==void 0,Dt=Object(T.a)(Object(T.a)({},Ve),(x={},Object(B.a)(x,At?"activeKey":"defaultActiveKey",At?Ne:He),Object(B.a)(x,"tabBarExtraContent",ue),x)),Ft,St=Pe&&Pe.length?E.createElement(i.a,Object(T.a)({size:"large"},Dt,{className:"".concat(dt,"-head-tabs"),onChange:R,items:Pe.map(function(Ie){var Ot;return{label:Ie.tab,key:Ie.key,disabled:(Ot=Ie.disabled)!==null&&Ot!==void 0?Ot:!1}})})):null;(Y||N||St)&&(Ft=E.createElement("div",{className:"".concat(dt,"-head"),style:z},E.createElement("div",{className:"".concat(dt,"-head-wrapper")},Y&&E.createElement("div",{className:"".concat(dt,"-head-title")},Y),N&&E.createElement("div",{className:"".concat(dt,"-extra")},N)),St));var $e=ge?E.createElement("div",{className:"".concat(dt,"-cover")},ge):null,lt=E.createElement("div",{className:"".concat(dt,"-body"),style:J},k?et:_e),Ut=de&&de.length?E.createElement("ul",{className:"".concat(dt,"-actions")},n(de)):null,gt=Object(I.a)(Ge,["onTabChange"]),ft=fe||M,rt=D()(dt,(m={},Object(B.a)(m,"".concat(dt,"-loading"),k),Object(B.a)(m,"".concat(dt,"-bordered"),ie),Object(B.a)(m,"".concat(dt,"-hoverable"),Re),Object(B.a)(m,"".concat(dt,"-contain-grid"),F()),Object(B.a)(m,"".concat(dt,"-contain-tabs"),Pe&&Pe.length),Object(B.a)(m,"".concat(dt,"-").concat(ft),ft),Object(B.a)(m,"".concat(dt,"-type-").concat(Ce),!!Ce),Object(B.a)(m,"".concat(dt,"-rtl"),P==="rtl"),m),U);return E.createElement("div",Object(T.a)({ref:g},gt,{className:rt}),Ft,$e,lt,Ut)}),a=l,c=function(v,g){var x={};for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&g.indexOf(m)<0&&(x[m]=v[m]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,m=Object.getOwnPropertySymbols(v);b<m.length;b++)g.indexOf(m[b])<0&&Object.prototype.propertyIsEnumerable.call(v,m[b])&&(x[m[b]]=v[m[b]]);return x},d=function(g){return E.createElement(C.a,null,function(x){var m=x.getPrefixCls,b=g.prefixCls,S=g.className,P=g.avatar,M=g.title,R=g.description,F=c(g,["prefixCls","className","avatar","title","description"]),L=m("card",b),U=D()("".concat(L,"-meta"),S),N=P?E.createElement("div",{className:"".concat(L,"-meta-avatar")},P):null,Q=M?E.createElement("div",{className:"".concat(L,"-meta-title")},M):null,z=R?E.createElement("div",{className:"".concat(L,"-meta-description")},R):null,_=Q||z?E.createElement("div",{className:"".concat(L,"-meta-detail")},Q,z):null;return E.createElement("div",Object(T.a)({},F,{className:U}),N,_)})},h=d,y=a;y.Grid=r,y.Meta=h;var A=V.a=y},c2i1:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("Yl7c"),I=D.enableClassCheck;function E(r){return"_EC_"+r}var C=function(r){this._directed=r||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},f=C.prototype;f.type="graph",f.isDirected=function(){return this._directed},f.addNode=function(r,u){r=r==null?""+u:""+r;var n=this._nodesMap;if(!n[E(r)]){var l=new t(r,u);return l.hostGraph=this,this.nodes.push(l),n[E(r)]=l,l}},f.getNodeByIndex=function(r){var u=this.data.getRawIndex(r);return this.nodes[u]},f.getNodeById=function(r){return this._nodesMap[E(r)]},f.addEdge=function(r,u,n){var l=this._nodesMap,a=this._edgesMap;if(typeof r=="number"&&(r=this.nodes[r]),typeof u=="number"&&(u=this.nodes[u]),t.isInstance(r)||(r=l[E(r)]),t.isInstance(u)||(u=l[E(u)]),!(!r||!u)){var c=r.id+"-"+u.id,d=new i(r,u,n);return d.hostGraph=this,this._directed&&(r.outEdges.push(d),u.inEdges.push(d)),r.edges.push(d),r!==u&&u.edges.push(d),this.edges.push(d),a[c]=d,d}},f.getEdgeByIndex=function(r){var u=this.edgeData.getRawIndex(r);return this.edges[u]},f.getEdge=function(r,u){t.isInstance(r)&&(r=r.id),t.isInstance(u)&&(u=u.id);var n=this._edgesMap;return this._directed?n[r+"-"+u]:n[r+"-"+u]||n[u+"-"+r]},f.eachNode=function(r,u){for(var n=this.nodes,l=n.length,a=0;a<l;a++)n[a].dataIndex>=0&&r.call(u,n[a],a)},f.eachEdge=function(r,u){for(var n=this.edges,l=n.length,a=0;a<l;a++)n[a].dataIndex>=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&r.call(u,n[a],a)},f.breadthFirstTraverse=function(r,u,n,l){if(t.isInstance(u)||(u=this._nodesMap[E(u)]),!!u){for(var a=n==="out"?"outEdges":n==="in"?"inEdges":"edges",c=0;c<this.nodes.length;c++)this.nodes[c].__visited=!1;if(!r.call(l,u,null))for(var d=[u];d.length;)for(var h=d.shift(),y=h[a],c=0;c<y.length;c++){var A=y[c],v=A.node1===h?A.node2:A.node1;if(!v.__visited){if(r.call(l,v,h))return;d.push(v),v.__visited=!0}}}},f.update=function(){for(var r=this.data,u=this.edgeData,n=this.nodes,l=this.edges,a=0,c=n.length;a<c;a++)n[a].dataIndex=-1;for(var a=0,c=r.count();a<c;a++)n[r.getRawIndex(a)].dataIndex=a;u.filterSelf(function(d){var h=l[u.getRawIndex(d)];return h.node1.dataIndex>=0&&h.node2.dataIndex>=0});for(var a=0,c=l.length;a<c;a++)l[a].dataIndex=-1;for(var a=0,c=u.count();a<c;a++)l[u.getRawIndex(a)].dataIndex=a},f.clone=function(){for(var r=new C(this._directed),u=this.nodes,n=this.edges,l=0;l<u.length;l++)r.addNode(u[l].id,u[l].dataIndex);for(var l=0;l<n.length;l++){var a=n[l];r.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return r};function t(r,u){this.id=r==null?"":r,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=u==null?-1:u}t.prototype={constructor:t,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(r){if(!(this.dataIndex<0)){var u=this.hostGraph,n=u.data.getItemModel(this.dataIndex);return n.getModel(r)}}};function i(r,u,n){this.node1=r,this.node2=u,this.dataIndex=n==null?-1:n}i.prototype.getModel=function(r){if(!(this.dataIndex<0)){var u=this.hostGraph,n=u.edgeData.getItemModel(this.dataIndex);return n.getModel(r)}};var s=function(r,u){return{getValue:function(n){var l=this[r][u];return l.get(l.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,l){this.dataIndex>=0&&this[r][u].setItemVisual(this.dataIndex,n,l)},getVisual:function(n,l){return this[r][u].getItemVisual(this.dataIndex,n,l)},setLayout:function(n,l){this.dataIndex>=0&&this[r][u].setItemLayout(this.dataIndex,n,l)},getLayout:function(){return this[r][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][u].getRawIndex(this.dataIndex)}}};w.mixin(t,s("hostGraph","data")),w.mixin(i,s("hostGraph","edgeData")),C.Node=t,C.Edge=i,I(t),I(i);var o=C;oe.exports=o},c5Ni:function(oe,V,e){},c8qY:function(oe,V,e){var B=e("IwbS"),T=e("fls0");function w(o){this._ctor=o||T,this.group=new B.Group}var D=w.prototype;D.isPersistent=function(){return!0},D.updateData=function(o){var r=this,u=r.group,n=r._lineData;r._lineData=o,n||u.removeAll();var l=f(o);o.diff(n).add(function(a){I(r,o,a,l)}).update(function(a,c){E(r,n,o,c,a,l)}).remove(function(a){u.remove(n.getItemGraphicEl(a))}).execute()};function I(o,r,u,n){var l=r.getItemLayout(u);if(!!i(l)){var a=new o._ctor(r,u,n);r.setItemGraphicEl(u,a),o.group.add(a)}}function E(o,r,u,n,l,a){var c=r.getItemGraphicEl(n);if(!i(u.getItemLayout(l))){o.group.remove(c);return}c?c.updateData(u,l,a):c=new o._ctor(u,l,a),u.setItemGraphicEl(l,c),o.group.add(c)}D.updateLayout=function(){var o=this._lineData;!o||o.eachItemGraphicEl(function(r,u){r.updateLayout(o,u)},this)},D.incrementalPrepareUpdate=function(o){this._seriesScope=f(o),this._lineData=null,this.group.removeAll()};function C(o){return o.animators&&o.animators.length>0}D.incrementalUpdate=function(o,r){function u(c){!c.isGroup&&!C(c)&&(c.incremental=c.useHoverLayer=!0)}for(var n=o.start;n<o.end;n++){var l=r.getItemLayout(n);if(i(l)){var a=new this._ctor(r,n,this._seriesScope);a.traverse(u),this.group.add(a),r.setItemGraphicEl(n,a)}}};function f(o){var r=o.hostModel;return{lineStyle:r.getModel("lineStyle").getLineStyle(),hoverLineStyle:r.getModel("emphasis.lineStyle").getLineStyle(),labelModel:r.getModel("label"),hoverLabelModel:r.getModel("emphasis.label")}}D.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},D._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};function t(o){return isNaN(o[0])||isNaN(o[1])}function i(o){return!t(o[0])&&!t(o[1])}var s=w;oe.exports=s},cCMj:function(oe,V,e){var B=e("bYtY"),T={updateSelectedMap:function(w){this._targetList=B.isArray(w)?w.slice():[],this._selectTargetMap=B.reduce(w||[],function(D,I){return D.set(I.name,I),D},B.createHashMap())},select:function(w,D){var I=D!=null?this._targetList[D]:this._selectTargetMap.get(w),E=this.get("selectedMode");E==="single"&&this._selectTargetMap.each(function(C){C.selected=!1}),I&&(I.selected=!0)},unSelect:function(w,D){var I=D!=null?this._targetList[D]:this._selectTargetMap.get(w);I&&(I.selected=!1)},toggleSelected:function(w,D){var I=D!=null?this._targetList[D]:this._selectTargetMap.get(w);if(I!=null)return this[I.selected?"unSelect":"select"](w,D),I.selected},isSelected:function(w,D){var I=D!=null?this._targetList[D]:this._selectTargetMap.get(w);return I&&I.selected}};oe.exports=T},cVA7:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B=e("MT78"),T=I(B),w=e("t3Fx"),D=I(w);function I(i){return i&&i.__esModule?i:{default:i}}function E(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}function C(i,s){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:i}function f(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(i,s):i.__proto__=s)}var t=function(i){f(s,i);function s(o){E(this,s);var r=C(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,o));return r.echartsLib=T.default,r}return s}(D.default);V.default=t},cWXX:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("oIFs"),D=e.n(w)},ca2m:function(oe,V,e){var B=e("bYtY"),T={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)"]}}},w={};w.categoryAxis=B.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},T),w.valueAxis=B.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},T),w.timeAxis=B.defaults({scale:!0,min:"dataMin",max:"dataMax"},w.valueAxis),w.logAxis=B.defaults({scale:!0,logBase:10},w.valueAxis);var D=w;oe.exports=D},cbJ4:function(oe,V,e){var B=e("bYtY"),T=B.createHashMap;function w(D){D.eachSeriesByType("themeRiver",function(I){var E=I.getData(),C=I.getRawData(),f=I.get("color"),t=T();E.each(function(i){t.set(E.getRawIndex(i),i)}),C.each(function(i){var s=C.getName(i),o=f[(I.nameMap.get(s)-1)%f.length];C.setItemVisual(i,"color",o);var r=t.get(i);r!=null&&E.setItemVisual(r,"color",o)})})}oe.exports=w},chpo:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B=1,T=function(){return"".concat(B++)};V.default=T},cpOr:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("T4UG"),D=e("YXkt"),I=e("bYtY"),E=I.concatArray,C=I.mergeAll,f=I.map,t=e("7aKB"),i=t.encodeHTML,s=e("IDmD"),o=typeof Uint32Array=="undefined"?Array:Uint32Array,r=typeof Float64Array=="undefined"?Array:Float64Array;function u(a){var c=a.data;c&&c[0]&&c[0][0]&&c[0][0].coord&&(a.data=f(c,function(d){var h=[d[0].coord,d[1].coord],y={coords:h};return d[0].name&&(y.fromName=d[0].name),d[1].name&&(y.toName=d[1].name),C([y,d[0],d[1]])}))}var n=w.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(a){a.data=a.data||[],u(a);var c=this._processFlatCoordsArray(a.data);this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset,c.flatCoords&&(a.data=new Float32Array(c.count)),n.superApply(this,"init",arguments)},mergeOption:function(a){if(u(a),a.data){var c=this._processFlatCoordsArray(a.data);this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset,c.flatCoords&&(a.data=new Float32Array(c.count))}n.superApply(this,"mergeOption",arguments)},appendData:function(a){var c=this._processFlatCoordsArray(a.data);c.flatCoords&&(this._flatCoords?(this._flatCoords=E(this._flatCoords,c.flatCoords),this._flatCoordsOffset=E(this._flatCoordsOffset,c.flatCoordsOffset)):(this._flatCoords=c.flatCoords,this._flatCoordsOffset=c.flatCoordsOffset),a.data=new Float32Array(c.count)),this.getRawData().appendData(a.data)},_getCoordsFromItemModel:function(a){var c=this.getData().getItemModel(a),d=c.option instanceof Array?c.option:c.getShallow("coords");return d},getLineCoordsCount:function(a){return this._flatCoordsOffset?this._flatCoordsOffset[a*2+1]:this._getCoordsFromItemModel(a).length},getLineCoords:function(a,c){if(this._flatCoordsOffset){for(var d=this._flatCoordsOffset[a*2],h=this._flatCoordsOffset[a*2+1],y=0;y<h;y++)c[y]=c[y]||[],c[y][0]=this._flatCoords[d+y*2],c[y][1]=this._flatCoords[d+y*2+1];return h}else{for(var A=this._getCoordsFromItemModel(a),y=0;y<A.length;y++)c[y]=c[y]||[],c[y][0]=A[y][0],c[y][1]=A[y][1];return A.length}},_processFlatCoordsArray:function(a){var c=0;if(this._flatCoords&&(c=this._flatCoords.length),typeof a[0]=="number"){for(var d=a.length,h=new o(d),y=new r(d),A=0,v=0,g=0,x=0;x<d;){g++;var m=a[x++];h[v++]=A+c,h[v++]=m;for(var b=0;b<m;b++){var S=a[x++],P=a[x++];y[A++]=S,y[A++]=P,x>d}}return{flatCoordsOffset:new Uint32Array(h.buffer,0,v),flatCoords:y,count:g}}return{flatCoordsOffset:null,flatCoords:null,count:a.length}},getInitialData:function(a,c){var d=new D(["value"],this);return d.hasItemOption=!1,d.initData(a.data,[],function(h,y,A,v){if(h instanceof Array)return NaN;d.hasItemOption=!0;var g=h.value;if(g!=null)return g instanceof Array?g[v]:g}),d},formatTooltip:function(a){var c=this.getData(),d=c.getItemModel(a),h=d.get("name");if(h)return h;var y=d.get("fromName"),A=d.get("toName"),v=[];return y!=null&&v.push(y),A!=null&&v.push(A),i(v.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var a=this.option.progressive;return a==null?this.option.large?1e4:this.get("progressive"):a},getProgressiveThreshold:function(){var a=this.option.progressiveThreshold;return a==null?this.option.large?2e4:this.get("progressiveThreshold"):a},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}}}),l=n;oe.exports=l},crZl:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS"),D=e("7aKB"),I=e("+TT/"),E=e("XxSj"),C=B.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(f,t){this.ecModel=f,this.api=t,this.visualMapModel},render:function(f,t,i,s){if(this.visualMapModel=f,f.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(f){var t=this.visualMapModel,i=D.normalizeCssArray(t.get("padding")||0),s=f.getBoundingRect();f.add(new w.Rect({z2:-1,silent:!0,shape:{x:s.x-i[3],y:s.y-i[0],width:s.width+i[3]+i[1],height:s.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(f,t,i){i=i||{};var s=i.forceState,o=this.visualMapModel,r={};if(t==="symbol"&&(r.symbol=o.get("itemSymbol")),t==="color"){var u=o.get("contentColor");r.color=u}function n(d){return r[d]}function l(d,h){r[d]=h}var a=o.controllerVisuals[s||o.getValueState(f)],c=E.prepareVisualTypes(a);return T.each(c,function(d){var h=a[d];i.convertOpacityToAlpha&&d==="opacity"&&(d="colorAlpha",h=a.__alphaForOpacity),E.dependsOn(d,t)&&h&&h.applyVisual(f,n,l)}),r[t]},positionGroup:function(f){var t=this.visualMapModel,i=this.api;I.positionElement(f,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:T.noop});oe.exports=C},czTT:function(oe,V,e){},d4KN:function(oe,V,e){var B=e("ProS"),T=e("bYtY");function w(D,I){T.each(I,function(E){E.update="updateView",B.registerAction(E,function(C,f){var t={};return f.eachComponent({mainType:"series",subType:D,query:C},function(i){i[E.method]&&i[E.method](C.name,C.dataIndex);var s=i.getData();s.each(function(o){var r=s.getName(o);t[r]=i.isSelected(r)||!1})}),{name:C.name,selected:t,seriesId:C.seriesId}})})}oe.exports=w},dBmv:function(oe,V,e){var B=e("ProS"),T=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),B.registerPreprocessor(T)},"dF/Y":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="DownloadOutlined";var C=V.a=T.forwardRef(E)},dMvE:function(oe,V){var e={linear:function(w){return w},quadraticIn:function(w){return w*w},quadraticOut:function(w){return w*(2-w)},quadraticInOut:function(w){return(w*=2)<1?.5*w*w:-.5*(--w*(w-2)-1)},cubicIn:function(w){return w*w*w},cubicOut:function(w){return--w*w*w+1},cubicInOut:function(w){return(w*=2)<1?.5*w*w*w:.5*((w-=2)*w*w+2)},quarticIn:function(w){return w*w*w*w},quarticOut:function(w){return 1- --w*w*w*w},quarticInOut:function(w){return(w*=2)<1?.5*w*w*w*w:-.5*((w-=2)*w*w*w-2)},quinticIn:function(w){return w*w*w*w*w},quinticOut:function(w){return--w*w*w*w*w+1},quinticInOut:function(w){return(w*=2)<1?.5*w*w*w*w*w:.5*((w-=2)*w*w*w*w+2)},sinusoidalIn:function(w){return 1-Math.cos(w*Math.PI/2)},sinusoidalOut:function(w){return Math.sin(w*Math.PI/2)},sinusoidalInOut:function(w){return .5*(1-Math.cos(Math.PI*w))},exponentialIn:function(w){return w===0?0:Math.pow(1024,w-1)},exponentialOut:function(w){return w===1?1:1-Math.pow(2,-10*w)},exponentialInOut:function(w){return w===0?0:w===1?1:(w*=2)<1?.5*Math.pow(1024,w-1):.5*(-Math.pow(2,-10*(w-1))+2)},circularIn:function(w){return 1-Math.sqrt(1-w*w)},circularOut:function(w){return Math.sqrt(1- --w*w)},circularInOut:function(w){return(w*=2)<1?-.5*(Math.sqrt(1-w*w)-1):.5*(Math.sqrt(1-(w-=2)*w)+1)},elasticIn:function(w){var D,I=.1,E=.4;return w===0?0:w===1?1:(!I||I<1?(I=1,D=E/4):D=E*Math.asin(1/I)/(2*Math.PI),-(I*Math.pow(2,10*(w-=1))*Math.sin((w-D)*(2*Math.PI)/E)))},elasticOut:function(w){var D,I=.1,E=.4;return w===0?0:w===1?1:(!I||I<1?(I=1,D=E/4):D=E*Math.asin(1/I)/(2*Math.PI),I*Math.pow(2,-10*w)*Math.sin((w-D)*(2*Math.PI)/E)+1)},elasticInOut:function(w){var D,I=.1,E=.4;return w===0?0:w===1?1:(!I||I<1?(I=1,D=E/4):D=E*Math.asin(1/I)/(2*Math.PI),(w*=2)<1?-.5*(I*Math.pow(2,10*(w-=1))*Math.sin((w-D)*(2*Math.PI)/E)):I*Math.pow(2,-10*(w-=1))*Math.sin((w-D)*(2*Math.PI)/E)*.5+1)},backIn:function(w){var D=1.70158;return w*w*((D+1)*w-D)},backOut:function(w){var D=1.70158;return--w*w*((D+1)*w+D)+1},backInOut:function(w){var D=1.70158*1.525;return(w*=2)<1?.5*(w*w*((D+1)*w-D)):.5*((w-=2)*w*((D+1)*w+D)+2)},bounceIn:function(w){return 1-e.bounceOut(1-w)},bounceOut:function(w){return w<1/2.75?7.5625*w*w:w<2/2.75?7.5625*(w-=1.5/2.75)*w+.75:w<2.5/2.75?7.5625*(w-=2.25/2.75)*w+.9375:7.5625*(w-=2.625/2.75)*w+.984375},bounceInOut:function(w){return w<.5?e.bounceIn(w*2)*.5:e.bounceOut(w*2-1)*.5+.5}},B=e;oe.exports=B},diRs:function(oe,V,e){"use strict";var B=e("wx14"),T=e("q1tI"),w=e.n(T),D=e("H84U"),I=e("3S7+"),E=e("bogI"),C=e("EXcs"),f=function(s,o){var r={};for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&o.indexOf(u)<0&&(r[u]=s[u]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,u=Object.getOwnPropertySymbols(s);n<u.length;n++)o.indexOf(u[n])<0&&Object.prototype.propertyIsEnumerable.call(s,u[n])&&(r[u[n]]=s[u[n]]);return r},t=function(o){var r=o.title,u=o.content,n=o.prefixCls;return!r&&!u?null:T.createElement(T.Fragment,null,r&&T.createElement("div",{className:"".concat(n,"-title")},Object(E.a)(r)),T.createElement("div",{className:"".concat(n,"-inner-content")},Object(E.a)(u)))},i=T.forwardRef(function(s,o){var r=s.prefixCls,u=s.title,n=s.content,l=s._overlay,a=s.placement,c=a===void 0?"top":a,d=s.trigger,h=d===void 0?"hover":d,y=s.mouseEnterDelay,A=y===void 0?.1:y,v=s.mouseLeaveDelay,g=v===void 0?.1:v,x=s.overlayStyle,m=x===void 0?{}:x,b=f(s,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),S=T.useContext(D.b),P=S.getPrefixCls,M=P("popover",r),R=P();return T.createElement(I.a,Object(B.a)({placement:c,trigger:h,mouseEnterDelay:A,mouseLeaveDelay:g,overlayStyle:m},b,{prefixCls:M,ref:o,overlay:l||T.createElement(t,{prefixCls:M,title:u,content:n}),transitionName:Object(C.c)(R,"zoom-big",b.transitionName)}))});V.a=i},dmGj:function(oe,V,e){var B=e("DEFe"),T=e("ProS"),w=T.extendComponentView({type:"geo",init:function(D,I){var E=new B(I,!0);this._mapDraw=E,this.group.add(E.group)},render:function(D,I,E,C){if(!(C&&C.type==="geoToggleSelect"&&C.from===this.uid)){var f=this._mapDraw;D.get("show")?f.draw(D,I,E,this,C):this._mapDraw.group.removeAll(),this.group.silent=D.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});oe.exports=w},dnwI:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("YH21"),D=e("Kagy"),I=e("IUWy"),E=D.toolbox.dataView,C=new Array(60).join("-"),f=" ";function t(A){var v={},g=[],x=[];return A.eachRawSeries(function(m){var b=m.coordinateSystem;if(b&&(b.type==="cartesian2d"||b.type==="polar")){var S=b.getBaseAxis();if(S.type==="category"){var P=S.dim+"_"+S.index;v[P]||(v[P]={categoryAxis:S,valueAxis:b.getOtherAxis(S),series:[]},x.push({axisDim:S.dim,axisIndex:S.index})),v[P].series.push(m)}else g.push(m)}else g.push(m)}),{seriesGroupByCategoryAxis:v,other:g,meta:x}}function i(A){var v=[];return T.each(A,function(g,x){var m=g.categoryAxis,b=g.valueAxis,S=b.dim,P=[" "].concat(T.map(g.series,function(N){return N.name})),M=[m.model.getCategories()];T.each(g.series,function(N){var Q=N.getRawData();M.push(N.getRawData().mapArray(Q.mapDimension(S),function(z){return z}))});for(var R=[P.join(f)],F=0;F<M[0].length;F++){for(var L=[],U=0;U<M.length;U++)L.push(M[U][F]);R.push(L.join(f))}v.push(R.join(`
|
|
|
`))}),v.join(`
|
|
|
|
|
|
`+C+`
|
|
|
|
|
|
`)}function s(A){return T.map(A,function(v){var g=v.getRawData(),x=[v.name],m=[];return g.each(g.dimensions,function(){for(var b=arguments.length,S=arguments[b-1],P=g.getName(S),M=0;M<b-1;M++)m[M]=arguments[M];x.push((P?P+f:"")+m.join(f))}),x.join(`
|
|
|
`)}).join(`
|
|
|
|
|
|
`+C+`
|
|
|
|
|
|
`)}function o(A){var v=t(A);return{value:T.filter([i(v.seriesGroupByCategoryAxis),s(v.other)],function(g){return g.replace(/[\n\t\s]/g,"")}).join(`
|
|
|
|
|
|
`+C+`
|
|
|
|
|
|
`),meta:v.meta}}function r(A){return A.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function u(A){var v=A.slice(0,A.indexOf(`
|
|
|
`));if(v.indexOf(f)>=0)return!0}var n=new RegExp("["+f+"]+","g");function l(A){for(var v=A.split(/\n+/g),g=r(v.shift()).split(n),x=[],m=T.map(g,function(M){return{name:M,data:[]}}),b=0;b<v.length;b++){var S=r(v[b]).split(n);x.push(S.shift());for(var P=0;P<S.length;P++)m[P]&&(m[P].data[b]=S[P])}return{series:m,categories:x}}function a(A){for(var v=A.split(/\n+/g),g=r(v.shift()),x=[],m=0;m<v.length;m++){var b=r(v[m]);if(!!b){var S=b.split(n),P="",M,R=!1;isNaN(S[0])?(R=!0,P=S[0],S=S.slice(1),x[m]={name:P,value:[]},M=x[m].value):M=x[m]=[];for(var F=0;F<S.length;F++)M.push(+S[F]);M.length===1&&(R?x[m].value=M[0]:x[m]=M[0])}}return{name:g,data:x}}function c(A,v){var g=A.split(new RegExp(`
|
|
|
*`+C+`
|
|
|
*`,"g")),x={series:[]};return T.each(g,function(m,b){if(u(m)){var S=l(m),P=v[b],M=P.axisDim+"Axis";P&&(x[M]=x[M]||[],x[M][P.axisIndex]={data:S.categories},x.series=x.series.concat(S.series))}else{var S=a(m);x.series.push(S)}}),x}function d(A){this._dom=null,this.model=A}d.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:T.clone(E.title),lang:T.clone(E.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},d.prototype.onclick=function(A,v){var g=v.getDom(),x=this.model;this._dom&&g.removeChild(this._dom);var m=document.createElement("div");m.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",m.style.backgroundColor=x.get("backgroundColor")||"#fff";var b=document.createElement("h4"),S=x.get("lang")||[];b.innerHTML=S[0]||x.get("title"),b.style.cssText="margin: 10px 20px;",b.style.color=x.get("textColor");var P=document.createElement("div"),M=document.createElement("textarea");P.style.cssText="display:block;width:100%;overflow:auto;";var R=x.get("optionToContent"),F=x.get("contentToOption"),L=o(A);if(typeof R=="function"){var U=R(v.getOption());typeof U=="string"?P.innerHTML=U:T.isDom(U)&&P.appendChild(U)}else P.appendChild(M),M.readOnly=x.get("readOnly"),M.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",M.style.color=x.get("textColor"),M.style.borderColor=x.get("textareaBorderColor"),M.style.backgroundColor=x.get("textareaColor"),M.value=L.value;var N=L.meta,Q=document.createElement("div");Q.style.cssText="position:absolute;bottom:0;left:0;right:0;";var z="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),J=document.createElement("div");z+=";background-color:"+x.get("buttonColor"),z+=";color:"+x.get("buttonTextColor");var Y=this;function k(){g.removeChild(m),Y._dom=null}w.addEventListener(_,"click",k),w.addEventListener(J,"click",function(){var W;try{typeof F=="function"?W=F(P,v.getOption()):W=c(M.value,N)}catch(ie){throw k(),new Error("Data view format error "+ie)}W&&v.dispatchAction({type:"changeDataView",newOption:W}),k()}),_.innerHTML=S[1],J.innerHTML=S[2],J.style.cssText=z,_.style.cssText=z,!x.get("readOnly")&&Q.appendChild(J),Q.appendChild(_),m.appendChild(b),m.appendChild(P),m.appendChild(Q),P.style.height=g.clientHeight-80+"px",g.appendChild(m),this._dom=m},d.prototype.remove=function(A,v){this._dom&&v.getDom().removeChild(this._dom)},d.prototype.dispose=function(A,v){this.remove(A,v)};function h(A,v){return T.map(A,function(g,x){var m=v&&v[x];if(T.isObject(m)&&!T.isArray(m)){var b=T.isObject(g)&&!T.isArray(g);b||(g={value:g});var S=m.name!=null&&g.name==null;return g=T.defaults(g,m),S&&delete g.name,g}else return g})}I.register("dataView",d),B.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(A,v){var g=[];T.each(A.newOption.series,function(x){var m=v.getSeriesByName(x.name)[0];if(!m)g.push(T.extend({type:"scatter"},x));else{var b=m.get("data");g.push({name:x.name,data:h(x.data,b)})}}),v.mergeOption(T.defaults({series:g},A.newOption))});var y=d;oe.exports=y},dqUG:function(oe,V,e){var B=e("Gev7"),T=e("bYtY"),w=e("6GrX"),D=e("pzxd"),I=e("gut8"),E=I.ContextCachedBy,C=function(i){B.call(this,i)};C.prototype={constructor:C,type:"text",brush:function(i,s){var o=this.style;this.__dirty&&D.normalizeTextStyle(o,!0),o.fill=o.stroke=o.shadowBlur=o.shadowColor=o.shadowOffsetX=o.shadowOffsetY=null;var r=o.text;if(r!=null&&(r+=""),!D.needDrawText(r,o)){i.__attrCachedBy=E.NONE;return}this.setTransform(i),D.renderText(this,i,r,o,null,s),this.restoreTransform(i)},getBoundingRect:function(){var i=this.style;if(this.__dirty&&D.normalizeTextStyle(i,!0),!this._rect){var s=i.text;s!=null?s+="":s="";var o=w.getBoundingRect(i.text+"",i.font,i.textAlign,i.textVerticalAlign,i.textPadding,i.textLineHeight,i.rich);if(o.x+=i.x||0,o.y+=i.y||0,D.getStroke(i.textStroke,i.textStrokeWidth)){var r=i.textStrokeWidth;o.x-=r/2,o.y-=r/2,o.width+=r,o.height+=r}this._rect=o}return this._rect}},T.inherits(C,B);var f=C;oe.exports=f},dt0z:function(oe,V,e){var B=e("zoYe");function T(w){return w==null?"":B(w)}oe.exports=T},eIcI:function(oe,V,e){var B=e("bYtY"),T=e("hM6l");function w(I,E,C){T.call(this,I,E,C),this.type="value",this.angle=0,this.name="",this.model}B.inherits(w,T);var D=w;oe.exports=D},eJH7:function(oe,V,e){var B=e("bYtY");function T(w){var D=w.polar;if(D){B.isArray(D)||(D=[D]);var I=[];B.each(D,function(E,C){E.indicator?(E.type&&!E.shape&&(E.shape=E.type),w.radar=w.radar||[],B.isArray(w.radar)||(w.radar=[w.radar]),w.radar.push(E)):I.push(E)}),w.polar=I}B.each(w.series,function(E){E&&E.type==="radar"&&E.polarIndex&&(E.radarIndex=E.polarIndex)})}oe.exports=T},ePAk:function(oe,V,e){var B=e("ProS");e("2fGM");var T=B.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(w){var D,I=this.ecModel;return I.eachComponent(w,function(E){E.getCoordSysModel()===this&&(D=E)},this),D},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});oe.exports=T},eRkO:function(oe,V,e){var B=e("+TT/"),T=B.getLayoutRect,w=B.box,D=B.positionElement,I=e("7aKB"),E=e("IwbS");function C(t,i,s){var o=i.getBoxLayoutParams(),r=i.get("padding"),u={width:s.getWidth(),height:s.getHeight()},n=T(o,u,r);w(i.get("orient"),t,i.get("itemGap"),n.width,n.height),D(t,o,u,r)}function f(t,i){var s=I.normalizeCssArray(i.get("padding")),o=i.getItemStyle(["color","opacity"]);o.fill=i.get("backgroundColor");var t=new E.Rect({shape:{x:t.x-s[3],y:t.y-s[0],width:t.width+s[1]+s[3],height:t.height+s[0]+s[2],r:i.get("borderRadius")},style:o,silent:!0,z2:-1});return t}V.layout=C,V.makeBackground=f},eS4l:function(oe,V,e){e("HM/N"),e("FNN5")},eUgh:function(oe,V){function e(B,T){for(var w=-1,D=B==null?0:B.length,I=Array(D);++w<D;)I[w]=T(B[w],w,B);return I}oe.exports=e},ewwo:function(oe,V,e){var B=e("bMXI"),T=e("+TT/"),w=T.getLayoutRect,D=e("4mN7");function I(C,f,t){var i=C.getBoxLayoutParams();return i.aspect=t,w(i,{width:f.getWidth(),height:f.getHeight()})}function E(C,f){var t=[];return C.eachSeriesByType("graph",function(i){var s=i.get("coordinateSystem");if(!s||s==="view"){var o=i.getData(),r=o.mapArray(function(v){var g=o.getItemModel(v);return[+g.get("x"),+g.get("y")]}),u=[],n=[];D.fromPoints(r,u,n),n[0]-u[0]==0&&(n[0]+=1,u[0]-=1),n[1]-u[1]==0&&(n[1]+=1,u[1]-=1);var l=(n[0]-u[0])/(n[1]-u[1]),a=I(i,f,l);isNaN(l)&&(u=[a.x,a.y],n=[a.x+a.width,a.y+a.height]);var c=n[0]-u[0],d=n[1]-u[1],h=a.width,y=a.height,A=i.coordinateSystem=new B;A.zoomLimit=i.get("scaleLimit"),A.setBoundingRect(u[0],u[1],c,d),A.setViewRect(a.x,a.y,h,y),A.setCenter(i.get("center")),A.setZoom(i.get("zoom")),t.push(A)}}),t}oe.exports=E},f1nB:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("bYtY"),I=e("4NO4"),E=e("IwbS"),C=e("+TT/"),f=e("OELB"),t=f.parsePercent,i={path:null,compoundPath:null,group:E.Group,image:E.Image,text:E.Text};w.registerPreprocessor(function(h){var y=h.graphic;D.isArray(y)?!y[0]||!y[0].elements?h.graphic=[{elements:y}]:h.graphic=[h.graphic[0]]:y&&!y.elements&&(h.graphic=[{elements:[y]}])});var s=w.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(h){var y=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=y},optionUpdated:function(h,y){var A=this.option,v=(y?A:h).elements,g=A.elements=y?[]:A.elements,x=[];this._flatten(v,x);var m=I.mappingToExists(g,x);I.makeIdAndName(m);var b=this._elOptionsToUpdate=[];D.each(m,function(P,M){var R=P.option;!R||(b.push(R),l(P,R),a(g,M,R),c(g[M],R))},this);for(var S=g.length-1;S>=0;S--)g[S]==null?g.splice(S,1):delete g[S].$action},_flatten:function(h,y,A){D.each(h,function(v){if(!!v){A&&(v.parentOption=A),y.push(v);var g=v.children;v.type==="group"&&g&&this._flatten(g,y,v),delete v.children}},this)},useElOptionsToUpdate:function(){var h=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,h}});w.extendComponentView({type:"graphic",init:function(h,y){this._elMap=D.createHashMap(),this._lastGraphicModel},render:function(h,y,A){h!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=h,this._updateElements(h),this._relocate(h,A)},_updateElements:function(h){var y=h.useElOptionsToUpdate();if(!!y){var A=this._elMap,v=this.group;D.each(y,function(g){var x=g.$action,m=g.id,b=A.get(m),S=g.parentId,P=S!=null?A.get(S):v,M=g.style;g.type==="text"&&M&&(g.hv&&g.hv[1]&&(M.textVerticalAlign=M.textBaseline=null),!M.hasOwnProperty("textFill")&&M.fill&&(M.textFill=M.fill),!M.hasOwnProperty("textStroke")&&M.stroke&&(M.textStroke=M.stroke));var R=u(g);!x||x==="merge"?b?b.attr(R):o(m,P,R,A):x==="replace"?(r(b,A),o(m,P,R,A)):x==="remove"&&r(b,A);var F=A.get(m);F&&(F.__ecGraphicWidthOption=g.width,F.__ecGraphicHeightOption=g.height,d(F,h,g))})}},_relocate:function(h,y){for(var A=h.option.elements,v=this.group,g=this._elMap,x=y.getWidth(),m=y.getHeight(),b=0;b<A.length;b++){var S=A[b],P=g.get(S.id);if(!(!P||!P.isGroup)){var M=P.parent,R=M===v;P.__ecGraphicWidth=t(P.__ecGraphicWidthOption,R?x:M.__ecGraphicWidth)||0,P.__ecGraphicHeight=t(P.__ecGraphicHeightOption,R?m:M.__ecGraphicHeight)||0}}for(var b=A.length-1;b>=0;b--){var S=A[b],P=g.get(S.id);if(!!P){var M=P.parent,F=M===v?{width:x,height:m}:{width:M.__ecGraphicWidth,height:M.__ecGraphicHeight};C.positionElement(P,S,F,null,{hv:S.hv,boundingMode:S.bounding})}}},_clear:function(){var h=this._elMap;h.each(function(y){r(y,h)}),this._elMap=D.createHashMap()},dispose:function(){this._clear()}});function o(h,y,A,v){var g=A.type,x=i.hasOwnProperty(g)?i[g]:E.getShapeClass(g),m=new x(A);y.add(m),v.set(h,m),m.__ecGraphicId=h}function r(h,y){var A=h&&h.parent;A&&(h.type==="group"&&h.traverse(function(v){r(v,y)}),y.removeKey(h.__ecGraphicId),A.remove(h))}function u(h){return h=D.extend({},h),D.each(["id","parentId","$action","hv","bounding"].concat(C.LOCATION_PARAMS),function(y){delete h[y]}),h}function n(h,y){var A;return D.each(y,function(v){h[v]!=null&&h[v]!=="auto"&&(A=!0)}),A}function l(h,y){var A=h.exist;if(y.id=h.keyInfo.id,!y.type&&A&&(y.type=A.type),y.parentId==null){var v=y.parentOption;v?y.parentId=v.id:A&&(y.parentId=A.parentId)}y.parentOption=null}function a(h,y,A){var v=D.extend({},A),g=h[y],x=A.$action||"merge";x==="merge"?g?(D.merge(g,v,!0),C.mergeLayoutParam(g,v,{ignoreSize:!0}),C.copyLayoutParams(A,g)):h[y]=v:x==="replace"?h[y]=v:x==="remove"&&g&&(h[y]=null)}function c(h,y){!h||(h.hv=y.hv=[n(y,["left","right"]),n(y,["top","bottom"])],h.type==="group"&&(h.width==null&&(h.width=y.width=0),h.height==null&&(h.height=y.height=0)))}function d(h,y,A){var v=h.eventData;!h.silent&&!h.ignore&&!v&&(v=h.eventData={componentType:"graphic",componentIndex:y.componentIndex,name:h.name}),v&&(v.info=h.info)}},f3JH:function(oe,V,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(oe,V,e){var B=e("IwbS"),T=e("QBsz"),w=B.Line.prototype,D=B.BezierCurve.prototype;function I(C){return isNaN(+C.cpx1)||isNaN(+C.cpy1)}var E=B.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,f){this[I(f)?"_buildPathLine":"_buildPathCurve"](C,f)},_buildPathLine:w.buildPath,_buildPathCurve:D.buildPath,pointAt:function(C){return this[I(this.shape)?"_pointAtLine":"_pointAtCurve"](C)},_pointAtLine:w.pointAt,_pointAtCurve:D.pointAt,tangentAt:function(C){var f=this.shape,t=I(f)?[f.x2-f.x1,f.y2-f.y1]:this._tangentAtCurve(C);return T.normalize(t,t)},_tangentAtCurve:D.tangentAt});oe.exports=E},f5Yq:function(oe,V,e){var B=e("bYtY"),T=B.isFunction;function w(D,I,E){return{seriesType:D,performRawSeries:!0,reset:function(C,f,t){var i=C.getData(),s=C.get("symbol"),o=C.get("symbolSize"),r=C.get("symbolKeepAspect"),u=C.get("symbolRotate"),n=T(s),l=T(o),a=T(u),c=n||l||a,d=!n&&s?s:I,h=l?null:o,y=a?null:y;if(i.setVisual({legendSymbol:E||d,symbol:d,symbolSize:h,symbolKeepAspect:r,symbolRotate:u}),f.isSeriesFiltered(C))return;function A(v,g){if(c){var x=C.getRawValue(g),m=C.getDataParams(g);n&&v.setItemVisual(g,"symbol",s(x,m)),l&&v.setItemVisual(g,"symbolSize",o(x,m)),a&&v.setItemVisual(g,"symbolRotate",u(x,m))}if(v.hasItemOption){var b=v.getItemModel(g),S=b.getShallow("symbol",!0),P=b.getShallow("symbolSize",!0),M=b.getShallow("symbolRotate",!0),R=b.getShallow("symbolKeepAspect",!0);S!=null&&v.setItemVisual(g,"symbol",S),P!=null&&v.setItemVisual(g,"symbolSize",P),M!=null&&v.setItemVisual(g,"symbolRotate",M),R!=null&&v.setItemVisual(g,"symbolKeepAspect",R)}}return{dataEach:i.hasItemOption||c?A:null}}}}oe.exports=w},fAei:function(oe,V,e){"use strict";e.d(V,"a",function(){return g.a});var B=e("wx14"),T=e("rePB"),w=e("U8pU"),D=e("VTBJ"),I=e("KQm4"),E=e("1OyB"),C=e("vuIU"),f=e("JX7q"),t=e("Ji7U"),i=e("LK+K"),s=e("q1tI"),o=e("4IlW"),r=e("Kwbf"),u=e("bX4T"),n=e("TSYQ"),l=e.n(n),a=e("sboe"),c=e("OZM5"),d=e("815F"),h=e("ODXe"),y=e("Ff2n"),A=e("+nKL"),v=e("8XRh"),g=e("WaYH"),x=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],m=function(Ne,He){var ue=Ne.className,Re=Ne.style,nt=Ne.motion,Ve=Ne.motionNodes,Ge=Ne.motionType,dt=Ne.onMotionStart,et=Ne.onMotionEnd,At=Ne.active,Dt=Ne.treeNodeRequiredProps,Ft=Object(y.a)(Ne,x),St=s.useState(!0),$e=Object(h.a)(St,2),lt=$e[0],Ut=$e[1],gt=s.useContext(a.a),ft=gt.prefixCls,rt=s.useRef(!1),Ie=function(){rt.current||et(),rt.current=!0};return Object(s.useEffect)(function(){Ve&&Ge==="hide"&<&&Ut(!1)},[Ve]),Object(s.useEffect)(function(){return Ve&&dt(),function(){Ve&&Ie()}},[]),Ve?s.createElement(v.default,Object(B.a)({ref:He,visible:lt},nt,{motionAppear:Ge==="show",onAppearEnd:Ie,onLeaveEnd:Ie}),function(Ot,Xt){var Vt=Ot.className,bt=Ot.style;return s.createElement("div",{ref:Xt,className:l()("".concat(ft,"-treenode-motion"),Vt),style:bt},Ve.map(function(It){var Kt=Object(B.a)({},It.data),Se=It.title,Ye=It.key,q=It.isStart,Ae=It.isEnd;delete Kt.children;var Me=Object(d.g)(Ye,Dt);return s.createElement(g.a,Object(B.a)({},Kt,Me,{title:Se,active:At,data:It.data,key:Ye,isStart:q,isEnd:Ae}))}))}):s.createElement(g.a,Object(B.a)({domRef:He,className:ue,style:Re},Ft,{active:At}))};m.displayName="MotionTreeNode";var b=s.forwardRef(m),S=b;function P(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],He=_e.length,ue=Ne.length;if(Math.abs(He-ue)!==1)return{add:!1,key:null};function Re(nt,Ve){var Ge=new Map;nt.forEach(function(et){Ge.set(et,!0)});var dt=Ve.filter(function(et){return!Ge.has(et)});return dt.length===1?dt[0]:null}return He<ue?{add:!0,key:Re(_e,Ne)}:{add:!1,key:Re(Ne,_e)}}function M(_e,Ne,He){var ue=_e.findIndex(function(Ge){return Ge.key===He}),Re=_e[ue+1],nt=Ne.findIndex(function(Ge){return Ge.key===He});if(Re){var Ve=Ne.findIndex(function(Ge){return Ge.key===Re.key});return Ne.slice(nt+1,Ve)}return Ne.slice(nt+1)}var R=["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"],F={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},L=function(){},U="RC_TREE_MOTION_".concat(Math.random()),N={key:U},Q={key:U,level:0,index:0,pos:"0",node:N,nodes:[N]},z={parent:null,children:[],pos:Q.pos,data:N,title:null,key:U,isStart:[],isEnd:[]};function _(_e,Ne,He,ue){return Ne===!1||!He?_e:_e.slice(0,Math.ceil(He/ue)+1)}function J(_e){var Ne=_e.key,He=_e.pos;return Object(d.f)(Ne,He)}function Y(_e){for(var Ne=String(_e.data.key),He=_e;He.parent;)He=He.parent,Ne="".concat(He.data.key," > ").concat(Ne);return Ne}var k=s.forwardRef(function(_e,Ne){var He=_e.prefixCls,ue=_e.data,Re=_e.selectable,nt=_e.checkable,Ve=_e.expandedKeys,Ge=_e.selectedKeys,dt=_e.checkedKeys,et=_e.loadedKeys,At=_e.loadingKeys,Dt=_e.halfCheckedKeys,Ft=_e.keyEntities,St=_e.disabled,$e=_e.dragging,lt=_e.dragOverNodeKey,Ut=_e.dropPosition,gt=_e.motion,ft=_e.height,rt=_e.itemHeight,Ie=_e.virtual,Ot=_e.focusable,Xt=_e.activeItem,Vt=_e.focused,bt=_e.tabIndex,It=_e.onKeyDown,Kt=_e.onFocus,Se=_e.onBlur,Ye=_e.onActiveChange,q=_e.onListChangeStart,Ae=_e.onListChangeEnd,Me=Object(y.a)(_e,R),De=s.useRef(null),ze=s.useRef(null);s.useImperativeHandle(Ne,function(){return{scrollTo:function(Je){De.current.scrollTo(Je)},getIndentWidth:function(){return ze.current.offsetWidth}}});var pe=s.useState(Ve),te=Object(h.a)(pe,2),be=te[0],xe=te[1],Z=s.useState(ue),se=Object(h.a)(Z,2),he=se[0],Oe=se[1],ne=s.useState(ue),ce=Object(h.a)(ne,2),ae=ce[0],Ee=ce[1],ye=s.useState([]),Te=Object(h.a)(ye,2),je=Te[0],qe=Te[1],Le=s.useState(null),ke=Object(h.a)(Le,2),tt=ke[0],st=ke[1],_t=s.useRef(ue);_t.current=ue;function Ct(){var vt=_t.current;Oe(vt),Ee(vt),qe([]),st(null),Ae()}s.useEffect(function(){xe(Ve);var vt=P(be,Ve);if(vt.key!==null)if(vt.add){var Je=he.findIndex(function(Mt){var pt=Mt.key;return pt===vt.key}),Yt=_(M(he,ue,vt.key),Ie,ft,rt),Ht=he.slice();Ht.splice(Je+1,0,z),Ee(Ht),qe(Yt),st("show")}else{var nr=ue.findIndex(function(Mt){var pt=Mt.key;return pt===vt.key}),ir=_(M(ue,he,vt.key),Ie,ft,rt),Zt=ue.slice();Zt.splice(nr+1,0,z),Ee(Zt),qe(ir),st("hide")}else he!==ue&&(Oe(ue),Ee(ue))},[Ve,ue]),s.useEffect(function(){$e||Ct()},[$e]);var Rt=gt?ae:ue,Wt={expandedKeys:Ve,selectedKeys:Ge,loadedKeys:et,loadingKeys:At,checkedKeys:dt,halfCheckedKeys:Dt,dragOverNodeKey:lt,dropPosition:Ut,keyEntities:Ft};return s.createElement(s.Fragment,null,Vt&&Xt&&s.createElement("span",{style:F,"aria-live":"assertive"},Y(Xt)),s.createElement("div",null,s.createElement("input",{style:F,disabled:Ot===!1||St,tabIndex:Ot!==!1?bt:null,onKeyDown:It,onFocus:Kt,onBlur:Se,value:"",onChange:L,"aria-label":"for screen reader"})),s.createElement("div",{className:"".concat(He,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},s.createElement("div",{className:"".concat(He,"-indent")},s.createElement("div",{ref:ze,className:"".concat(He,"-indent-unit")}))),s.createElement(A.a,Object(B.a)({},Me,{data:Rt,itemKey:J,height:ft,fullHeight:!1,virtual:Ie,itemHeight:rt,prefixCls:"".concat(He,"-list"),ref:De,onVisibleChange:function(Je,Yt){var Ht=new Set(Je),nr=Yt.filter(function(ir){return!Ht.has(ir)});nr.some(function(ir){return J(ir)===U})&&Ct()}}),function(vt){var Je=vt.pos,Yt=Object(B.a)({},vt.data),Ht=vt.title,nr=vt.key,ir=vt.isStart,Zt=vt.isEnd,Mt=Object(d.f)(nr,Je);delete Yt.key,delete Yt.children;var pt=Object(d.g)(Mt,Wt);return s.createElement(S,Object(B.a)({},Yt,pt,{title:Ht,active:!!Xt&&nr===Xt.key,pos:Je,data:vt.data,isStart:ir,isEnd:Zt,motion:gt,motionNodes:nr===U?je:null,motionType:tt,onMotionStart:q,onMotionEnd:Ct,treeNodeRequiredProps:Wt,onMouseMove:function(){Ye(null)}}))}))});k.displayName="NodeList";var W=k,ie=e("NvD2");function fe(_e){var Ne=_e.dropPosition,He=_e.dropLevelOffset,ue=_e.indent,Re={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ne){case-1:Re.top=0,Re.left=-He*ue;break;case 1:Re.bottom=0,Re.left=-He*ue;break;case 0:Re.bottom=0,Re.left=ue;break}return s.createElement("div",{style:Re})}var Ce=10,ge=function(_e){Object(t.a)(He,_e);var Ne=Object(i.a)(He);function He(){var ue;Object(E.a)(this,He);for(var Re=arguments.length,nt=new Array(Re),Ve=0;Ve<Re;Ve++)nt[Ve]=arguments[Ve];return ue=Ne.call.apply(Ne,[this].concat(nt)),ue.destroyed=!1,ue.delayedDragEnterLogic=void 0,ue.loadingRetryTimes={},ue.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:Object(d.d)()},ue.dragStartMousePosition=null,ue.dragNode=void 0,ue.currentMouseOverDroppableNodeKey=null,ue.listRef=s.createRef(),ue.onNodeDragStart=function(Ge,dt){var et=ue.state,At=et.expandedKeys,Dt=et.keyEntities,Ft=ue.props.onDragStart,St=dt.props.eventKey;ue.dragNode=dt,ue.dragStartMousePosition={x:Ge.clientX,y:Ge.clientY};var $e=Object(c.b)(At,St);ue.setState({draggingNodeKey:St,dragChildrenKeys:Object(c.f)(St,Dt),indent:ue.listRef.current.getIndentWidth()}),ue.setExpandedKeys($e),window.addEventListener("dragend",ue.onWindowDragEnd),Ft==null||Ft({event:Ge,node:Object(d.b)(dt.props)})},ue.onNodeDragEnter=function(Ge,dt){var et=ue.state,At=et.expandedKeys,Dt=et.keyEntities,Ft=et.dragChildrenKeys,St=et.flattenNodes,$e=et.indent,lt=ue.props,Ut=lt.onDragEnter,gt=lt.onExpand,ft=lt.allowDrop,rt=lt.direction,Ie=dt.props,Ot=Ie.pos,Xt=Ie.eventKey,Vt=Object(f.a)(ue),bt=Vt.dragNode;if(ue.currentMouseOverDroppableNodeKey!==Xt&&(ue.currentMouseOverDroppableNodeKey=Xt),!bt){ue.resetDragState();return}var It=Object(c.c)(Ge,bt,dt,$e,ue.dragStartMousePosition,ft,St,Dt,At,rt),Kt=It.dropPosition,Se=It.dropLevelOffset,Ye=It.dropTargetKey,q=It.dropContainerKey,Ae=It.dropTargetPos,Me=It.dropAllowed,De=It.dragOverNodeKey;if(Ft.indexOf(Ye)!==-1||!Me){ue.resetDragState();return}if(ue.delayedDragEnterLogic||(ue.delayedDragEnterLogic={}),Object.keys(ue.delayedDragEnterLogic).forEach(function(ze){clearTimeout(ue.delayedDragEnterLogic[ze])}),bt.props.eventKey!==dt.props.eventKey&&(Ge.persist(),ue.delayedDragEnterLogic[Ot]=window.setTimeout(function(){if(ue.state.draggingNodeKey!==null){var ze=Object(I.a)(At),pe=Dt[dt.props.eventKey];pe&&(pe.children||[]).length&&(ze=Object(c.a)(At,dt.props.eventKey)),"expandedKeys"in ue.props||ue.setExpandedKeys(ze),gt==null||gt(ze,{node:Object(d.b)(dt.props),expanded:!0,nativeEvent:Ge.nativeEvent})}},800)),bt.props.eventKey===Ye&&Se===0){ue.resetDragState();return}ue.setState({dragOverNodeKey:De,dropPosition:Kt,dropLevelOffset:Se,dropTargetKey:Ye,dropContainerKey:q,dropTargetPos:Ae,dropAllowed:Me}),Ut==null||Ut({event:Ge,node:Object(d.b)(dt.props),expandedKeys:At})},ue.onNodeDragOver=function(Ge,dt){var et=ue.state,At=et.dragChildrenKeys,Dt=et.flattenNodes,Ft=et.keyEntities,St=et.expandedKeys,$e=et.indent,lt=ue.props,Ut=lt.onDragOver,gt=lt.allowDrop,ft=lt.direction,rt=Object(f.a)(ue),Ie=rt.dragNode;if(!!Ie){var Ot=Object(c.c)(Ge,Ie,dt,$e,ue.dragStartMousePosition,gt,Dt,Ft,St,ft),Xt=Ot.dropPosition,Vt=Ot.dropLevelOffset,bt=Ot.dropTargetKey,It=Ot.dropContainerKey,Kt=Ot.dropAllowed,Se=Ot.dropTargetPos,Ye=Ot.dragOverNodeKey;At.indexOf(bt)!==-1||!Kt||(Ie.props.eventKey===bt&&Vt===0?ue.state.dropPosition===null&&ue.state.dropLevelOffset===null&&ue.state.dropTargetKey===null&&ue.state.dropContainerKey===null&&ue.state.dropTargetPos===null&&ue.state.dropAllowed===!1&&ue.state.dragOverNodeKey===null||ue.resetDragState():Xt===ue.state.dropPosition&&Vt===ue.state.dropLevelOffset&&bt===ue.state.dropTargetKey&&It===ue.state.dropContainerKey&&Se===ue.state.dropTargetPos&&Kt===ue.state.dropAllowed&&Ye===ue.state.dragOverNodeKey||ue.setState({dropPosition:Xt,dropLevelOffset:Vt,dropTargetKey:bt,dropContainerKey:It,dropTargetPos:Se,dropAllowed:Kt,dragOverNodeKey:Ye}),Ut==null||Ut({event:Ge,node:Object(d.b)(dt.props)}))}},ue.onNodeDragLeave=function(Ge,dt){ue.currentMouseOverDroppableNodeKey===dt.props.eventKey&&!Ge.currentTarget.contains(Ge.relatedTarget)&&(ue.resetDragState(),ue.currentMouseOverDroppableNodeKey=null);var et=ue.props.onDragLeave;et==null||et({event:Ge,node:Object(d.b)(dt.props)})},ue.onWindowDragEnd=function(Ge){ue.onNodeDragEnd(Ge,null,!0),window.removeEventListener("dragend",ue.onWindowDragEnd)},ue.onNodeDragEnd=function(Ge,dt){var et=ue.props.onDragEnd;ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),et==null||et({event:Ge,node:Object(d.b)(dt.props)}),ue.dragNode=null,window.removeEventListener("dragend",ue.onWindowDragEnd)},ue.onNodeDrop=function(Ge,dt){var et,At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=ue.state,Ft=Dt.dragChildrenKeys,St=Dt.dropPosition,$e=Dt.dropTargetKey,lt=Dt.dropTargetPos,Ut=Dt.dropAllowed;if(!!Ut){var gt=ue.props.onDrop;if(ue.setState({dragOverNodeKey:null}),ue.cleanDragState(),$e!==null){var ft=Object(D.a)(Object(D.a)({},Object(d.g)($e,ue.getTreeNodeRequiredProps())),{},{active:((et=ue.getActiveItem())===null||et===void 0?void 0:et.key)===$e,data:ue.state.keyEntities[$e].node}),rt=Ft.indexOf($e)!==-1;Object(r.a)(!rt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ie=Object(c.j)(lt),Ot={event:Ge,node:Object(d.b)(ft),dragNode:ue.dragNode?Object(d.b)(ue.dragNode.props):null,dragNodesKeys:[ue.dragNode.props.eventKey].concat(Ft),dropToGap:St!==0,dropPosition:St+Number(Ie[Ie.length-1])};At||gt==null||gt(Ot),ue.dragNode=null}}},ue.cleanDragState=function(){var Ge=ue.state.draggingNodeKey;Ge!==null&&ue.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),ue.dragStartMousePosition=null,ue.currentMouseOverDroppableNodeKey=null},ue.triggerExpandActionExpand=function(Ge,dt){var et=ue.state,At=et.expandedKeys,Dt=et.flattenNodes,Ft=dt.expanded,St=dt.key,$e=dt.isLeaf;if(!($e||Ge.shiftKey||Ge.metaKey||Ge.ctrlKey)){var lt=Dt.filter(function(gt){return gt.key===St})[0],Ut=Object(d.b)(Object(D.a)(Object(D.a)({},Object(d.g)(St,ue.getTreeNodeRequiredProps())),{},{data:lt.data}));ue.setExpandedKeys(Ft?Object(c.b)(At,St):Object(c.a)(At,St)),ue.onNodeExpand(Ge,Ut)}},ue.onNodeClick=function(Ge,dt){var et=ue.props,At=et.onClick,Dt=et.expandAction;Dt==="click"&&ue.triggerExpandActionExpand(Ge,dt),At==null||At(Ge,dt)},ue.onNodeDoubleClick=function(Ge,dt){var et=ue.props,At=et.onDoubleClick,Dt=et.expandAction;Dt==="doubleClick"&&ue.triggerExpandActionExpand(Ge,dt),At==null||At(Ge,dt)},ue.onNodeSelect=function(Ge,dt){var et=ue.state.selectedKeys,At=ue.state,Dt=At.keyEntities,Ft=At.fieldNames,St=ue.props,$e=St.onSelect,lt=St.multiple,Ut=dt.selected,gt=dt[Ft.key],ft=!Ut;ft?lt?et=Object(c.a)(et,gt):et=[gt]:et=Object(c.b)(et,gt);var rt=et.map(function(Ie){var Ot=Dt[Ie];return Ot?Ot.node:null}).filter(function(Ie){return Ie});ue.setUncontrolledState({selectedKeys:et}),$e==null||$e(et,{event:"select",selected:ft,node:dt,selectedNodes:rt,nativeEvent:Ge.nativeEvent})},ue.onNodeCheck=function(Ge,dt,et){var At=ue.state,Dt=At.keyEntities,Ft=At.checkedKeys,St=At.halfCheckedKeys,$e=ue.props,lt=$e.checkStrictly,Ut=$e.onCheck,gt=dt.key,ft,rt={event:"check",node:dt,checked:et,nativeEvent:Ge.nativeEvent};if(lt){var Ie=et?Object(c.a)(Ft,gt):Object(c.b)(Ft,gt),Ot=Object(c.b)(St,gt);ft={checked:Ie,halfChecked:Ot},rt.checkedNodes=Ie.map(function(Se){return Dt[Se]}).filter(function(Se){return Se}).map(function(Se){return Se.node}),ue.setUncontrolledState({checkedKeys:Ie})}else{var Xt=Object(ie.a)([].concat(Object(I.a)(Ft),[gt]),!0,Dt),Vt=Xt.checkedKeys,bt=Xt.halfCheckedKeys;if(!et){var It=new Set(Vt);It.delete(gt);var Kt=Object(ie.a)(Array.from(It),{checked:!1,halfCheckedKeys:bt},Dt);Vt=Kt.checkedKeys,bt=Kt.halfCheckedKeys}ft=Vt,rt.checkedNodes=[],rt.checkedNodesPositions=[],rt.halfCheckedKeys=bt,Vt.forEach(function(Se){var Ye=Dt[Se];if(!!Ye){var q=Ye.node,Ae=Ye.pos;rt.checkedNodes.push(q),rt.checkedNodesPositions.push({node:q,pos:Ae})}}),ue.setUncontrolledState({checkedKeys:Vt},!1,{halfCheckedKeys:bt})}Ut==null||Ut(ft,rt)},ue.onNodeLoad=function(Ge){var dt=Ge.key,et=new Promise(function(At,Dt){ue.setState(function(Ft){var St=Ft.loadedKeys,$e=St===void 0?[]:St,lt=Ft.loadingKeys,Ut=lt===void 0?[]:lt,gt=ue.props,ft=gt.loadData,rt=gt.onLoad;if(!ft||$e.indexOf(dt)!==-1||Ut.indexOf(dt)!==-1)return null;var Ie=ft(Ge);return Ie.then(function(){var Ot=ue.state.loadedKeys,Xt=Object(c.a)(Ot,dt);rt==null||rt(Xt,{event:"load",node:Ge}),ue.setUncontrolledState({loadedKeys:Xt}),ue.setState(function(Vt){return{loadingKeys:Object(c.b)(Vt.loadingKeys,dt)}}),At()}).catch(function(Ot){if(ue.setState(function(Vt){return{loadingKeys:Object(c.b)(Vt.loadingKeys,dt)}}),ue.loadingRetryTimes[dt]=(ue.loadingRetryTimes[dt]||0)+1,ue.loadingRetryTimes[dt]>=Ce){var Xt=ue.state.loadedKeys;Object(r.a)(!1,"Retry for `loadData` many times but still failed. No more retry."),ue.setUncontrolledState({loadedKeys:Object(c.a)(Xt,dt)}),At()}Dt(Ot)}),{loadingKeys:Object(c.a)(Ut,dt)}})});return et.catch(function(){}),et},ue.onNodeMouseEnter=function(Ge,dt){var et=ue.props.onMouseEnter;et==null||et({event:Ge,node:dt})},ue.onNodeMouseLeave=function(Ge,dt){var et=ue.props.onMouseLeave;et==null||et({event:Ge,node:dt})},ue.onNodeContextMenu=function(Ge,dt){var et=ue.props.onRightClick;et&&(Ge.preventDefault(),et({event:Ge,node:dt}))},ue.onFocus=function(){var Ge=ue.props.onFocus;ue.setState({focused:!0});for(var dt=arguments.length,et=new Array(dt),At=0;At<dt;At++)et[At]=arguments[At];Ge==null||Ge.apply(void 0,et)},ue.onBlur=function(){var Ge=ue.props.onBlur;ue.setState({focused:!1}),ue.onActiveChange(null);for(var dt=arguments.length,et=new Array(dt),At=0;At<dt;At++)et[At]=arguments[At];Ge==null||Ge.apply(void 0,et)},ue.getTreeNodeRequiredProps=function(){var Ge=ue.state,dt=Ge.expandedKeys,et=Ge.selectedKeys,At=Ge.loadedKeys,Dt=Ge.loadingKeys,Ft=Ge.checkedKeys,St=Ge.halfCheckedKeys,$e=Ge.dragOverNodeKey,lt=Ge.dropPosition,Ut=Ge.keyEntities;return{expandedKeys:dt||[],selectedKeys:et||[],loadedKeys:At||[],loadingKeys:Dt||[],checkedKeys:Ft||[],halfCheckedKeys:St||[],dragOverNodeKey:$e,dropPosition:lt,keyEntities:Ut}},ue.setExpandedKeys=function(Ge){var dt=ue.state,et=dt.treeData,At=dt.fieldNames,Dt=Object(d.e)(et,Ge,At);ue.setUncontrolledState({expandedKeys:Ge,flattenNodes:Dt},!0)},ue.onNodeExpand=function(Ge,dt){var et=ue.state.expandedKeys,At=ue.state,Dt=At.listChanging,Ft=At.fieldNames,St=ue.props,$e=St.onExpand,lt=St.loadData,Ut=dt.expanded,gt=dt[Ft.key];if(!Dt){var ft=et.indexOf(gt),rt=!Ut;if(Object(r.a)(Ut&&ft!==-1||!Ut&&ft===-1,"Expand state not sync with index check"),rt?et=Object(c.a)(et,gt):et=Object(c.b)(et,gt),ue.setExpandedKeys(et),$e==null||$e(et,{node:dt,expanded:rt,nativeEvent:Ge.nativeEvent}),rt&<){var Ie=ue.onNodeLoad(dt);Ie&&Ie.then(function(){var Ot=Object(d.e)(ue.state.treeData,et,Ft);ue.setUncontrolledState({flattenNodes:Ot})}).catch(function(){var Ot=ue.state.expandedKeys,Xt=Object(c.b)(Ot,gt);ue.setExpandedKeys(Xt)})}}},ue.onListChangeStart=function(){ue.setUncontrolledState({listChanging:!0})},ue.onListChangeEnd=function(){setTimeout(function(){ue.setUncontrolledState({listChanging:!1})})},ue.onActiveChange=function(Ge){var dt=ue.state.activeKey,et=ue.props.onActiveChange;dt!==Ge&&(ue.setState({activeKey:Ge}),Ge!==null&&ue.scrollTo({key:Ge}),et==null||et(Ge))},ue.getActiveItem=function(){var Ge=ue.state,dt=Ge.activeKey,et=Ge.flattenNodes;return dt===null?null:et.find(function(At){var Dt=At.key;return Dt===dt})||null},ue.offsetActiveKey=function(Ge){var dt=ue.state,et=dt.flattenNodes,At=dt.activeKey,Dt=et.findIndex(function($e){var lt=$e.key;return lt===At});Dt===-1&&Ge<0&&(Dt=et.length),Dt=(Dt+Ge+et.length)%et.length;var Ft=et[Dt];if(Ft){var St=Ft.key;ue.onActiveChange(St)}else ue.onActiveChange(null)},ue.onKeyDown=function(Ge){var dt=ue.state,et=dt.activeKey,At=dt.expandedKeys,Dt=dt.checkedKeys,Ft=dt.fieldNames,St=ue.props,$e=St.onKeyDown,lt=St.checkable,Ut=St.selectable;switch(Ge.which){case o.a.UP:{ue.offsetActiveKey(-1),Ge.preventDefault();break}case o.a.DOWN:{ue.offsetActiveKey(1),Ge.preventDefault();break}}var gt=ue.getActiveItem();if(gt&>.data){var ft=ue.getTreeNodeRequiredProps(),rt=gt.data.isLeaf===!1||!!(gt.data[Ft.children]||[]).length,Ie=Object(d.b)(Object(D.a)(Object(D.a)({},Object(d.g)(et,ft)),{},{data:gt.data,active:!0}));switch(Ge.which){case o.a.LEFT:{rt&&At.includes(et)?ue.onNodeExpand({},Ie):gt.parent&&ue.onActiveChange(gt.parent.key),Ge.preventDefault();break}case o.a.RIGHT:{rt&&!At.includes(et)?ue.onNodeExpand({},Ie):gt.children&>.children.length&&ue.onActiveChange(gt.children[0].key),Ge.preventDefault();break}case o.a.ENTER:case o.a.SPACE:{lt&&!Ie.disabled&&Ie.checkable!==!1&&!Ie.disableCheckbox?ue.onNodeCheck({},Ie,!Dt.includes(et)):!lt&&Ut&&!Ie.disabled&&Ie.selectable!==!1&&ue.onNodeSelect({},Ie);break}}}$e==null||$e(Ge)},ue.setUncontrolledState=function(Ge){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ue.destroyed){var At=!1,Dt=!0,Ft={};Object.keys(Ge).forEach(function(St){if(St in ue.props){Dt=!1;return}At=!0,Ft[St]=Ge[St]}),At&&(!dt||Dt)&&ue.setState(Object(D.a)(Object(D.a)({},Ft),et))}},ue.scrollTo=function(Ge){ue.listRef.current.scrollTo(Ge)},ue}return Object(C.a)(He,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Re=this.props.activeKey;Re!==void 0&&Re!==this.state.activeKey&&(this.setState({activeKey:Re}),Re!==null&&this.scrollTo({key:Re}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Re,nt=this.state,Ve=nt.focused,Ge=nt.flattenNodes,dt=nt.keyEntities,et=nt.draggingNodeKey,At=nt.activeKey,Dt=nt.dropLevelOffset,Ft=nt.dropContainerKey,St=nt.dropTargetKey,$e=nt.dropPosition,lt=nt.dragOverNodeKey,Ut=nt.indent,gt=this.props,ft=gt.prefixCls,rt=gt.className,Ie=gt.style,Ot=gt.showLine,Xt=gt.focusable,Vt=gt.tabIndex,bt=Vt===void 0?0:Vt,It=gt.selectable,Kt=gt.showIcon,Se=gt.icon,Ye=gt.switcherIcon,q=gt.draggable,Ae=gt.checkable,Me=gt.checkStrictly,De=gt.disabled,ze=gt.motion,pe=gt.loadData,te=gt.filterTreeNode,be=gt.height,xe=gt.itemHeight,Z=gt.virtual,se=gt.titleRender,he=gt.dropIndicatorRender,Oe=gt.onContextMenu,ne=gt.onScroll,ce=gt.direction,ae=gt.rootClassName,Ee=gt.rootStyle,ye=Object(u.a)(this.props,{aria:!0,data:!0}),Te;return q&&(Object(w.a)(q)==="object"?Te=q:typeof q=="function"?Te={nodeDraggable:q}:Te={}),s.createElement(a.a.Provider,{value:{prefixCls:ft,selectable:It,showIcon:Kt,icon:Se,switcherIcon:Ye,draggable:Te,draggingNodeKey:et,checkable:Ae,checkStrictly:Me,disabled:De,keyEntities:dt,dropLevelOffset:Dt,dropContainerKey:Ft,dropTargetKey:St,dropPosition:$e,dragOverNodeKey:lt,indent:Ut,direction:ce,dropIndicatorRender:he,loadData:pe,filterTreeNode:te,titleRender:se,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}},s.createElement("div",{role:"tree",className:l()(ft,rt,ae,(Re={},Object(T.a)(Re,"".concat(ft,"-show-line"),Ot),Object(T.a)(Re,"".concat(ft,"-focused"),Ve),Object(T.a)(Re,"".concat(ft,"-active-focused"),At!==null),Re)),style:Ee},s.createElement(W,Object(B.a)({ref:this.listRef,prefixCls:ft,style:Ie,data:Ge,disabled:De,selectable:It,checkable:!!Ae,motion:ze,dragging:et!==null,height:be,itemHeight:xe,virtual:Z,focusable:Xt,focused:Ve,tabIndex:bt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Oe,onScroll:ne},this.getTreeNodeRequiredProps(),ye))))}}],[{key:"getDerivedStateFromProps",value:function(Re,nt){var Ve=nt.prevProps,Ge={prevProps:Re};function dt(Xt){return!Ve&&Xt in Re||Ve&&Ve[Xt]!==Re[Xt]}var et,At=nt.fieldNames;if(dt("fieldNames")&&(At=Object(d.d)(Re.fieldNames),Ge.fieldNames=At),dt("treeData")?et=Re.treeData:dt("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),et=Object(d.c)(Re.children)),et){Ge.treeData=et;var Dt=Object(d.a)(et,{fieldNames:At});Ge.keyEntities=Object(D.a)(Object(T.a)({},U,Q),Dt.keyEntities)}var Ft=Ge.keyEntities||nt.keyEntities;if(dt("expandedKeys")||Ve&&dt("autoExpandParent"))Ge.expandedKeys=Re.autoExpandParent||!Ve&&Re.defaultExpandParent?Object(c.e)(Re.expandedKeys,Ft):Re.expandedKeys;else if(!Ve&&Re.defaultExpandAll){var St=Object(D.a)({},Ft);delete St[U],Ge.expandedKeys=Object.keys(St).map(function(Xt){return St[Xt].key})}else!Ve&&Re.defaultExpandedKeys&&(Ge.expandedKeys=Re.autoExpandParent||Re.defaultExpandParent?Object(c.e)(Re.defaultExpandedKeys,Ft):Re.defaultExpandedKeys);if(Ge.expandedKeys||delete Ge.expandedKeys,et||Ge.expandedKeys){var $e=Object(d.e)(et||nt.treeData,Ge.expandedKeys||nt.expandedKeys,At);Ge.flattenNodes=$e}if(Re.selectable&&(dt("selectedKeys")?Ge.selectedKeys=Object(c.d)(Re.selectedKeys,Re):!Ve&&Re.defaultSelectedKeys&&(Ge.selectedKeys=Object(c.d)(Re.defaultSelectedKeys,Re))),Re.checkable){var lt;if(dt("checkedKeys")?lt=Object(c.i)(Re.checkedKeys)||{}:!Ve&&Re.defaultCheckedKeys?lt=Object(c.i)(Re.defaultCheckedKeys)||{}:et&&(lt=Object(c.i)(Re.checkedKeys)||{checkedKeys:nt.checkedKeys,halfCheckedKeys:nt.halfCheckedKeys}),lt){var Ut=lt,gt=Ut.checkedKeys,ft=gt===void 0?[]:gt,rt=Ut.halfCheckedKeys,Ie=rt===void 0?[]:rt;if(!Re.checkStrictly){var Ot=Object(ie.a)(ft,!0,Ft);ft=Ot.checkedKeys,Ie=Ot.halfCheckedKeys}Ge.checkedKeys=ft,Ge.halfCheckedKeys=Ie}}return dt("loadedKeys")&&(Ge.loadedKeys=Re.loadedKeys),Ge}}]),He}(s.Component);ge.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:[],dropIndicatorRender:fe,allowDrop:function(){return!0},expandAction:!1},ge.TreeNode=g.a;var de=ge,Pe=V.b=de},fE02:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("/IIm"),D=e("vZ6x"),I=e("b9oc"),E=e("72pK"),C=e("Kagy"),f=e("IUWy");e("3TkU");var t=C.toolbox.dataZoom,i=T.each,s="\0_ec_\0toolbox-dataZoom_";function o(d,h,y){(this._brushController=new w(y.getZr())).on("brush",T.bind(this._onBrush,this)).mount(),this._isZoomActive}o.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:T.clone(t.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var r=o.prototype;r.render=function(d,h,y,A){this.model=d,this.ecModel=h,this.api=y,a(d,h,this,A,y),l(d,h)},r.onclick=function(d,h,y){u[y].call(this)},r.remove=function(d,h){this._brushController.unmount()},r.dispose=function(d,h){this._brushController.dispose()};var u={zoom:function(){var d=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:d})},back:function(){this._dispatchZoomAction(I.pop(this.ecModel))}};r._onBrush=function(d,h){if(!h.isEnd||!d.length)return;var y={},A=this.ecModel;this._brushController.updateCovers([]);var v=new D(n(this.model.option),A,{include:["grid"]});v.matchOutputRanges(d,A,function(m,b,S){if(S.type==="cartesian2d"){var P=m.brushType;P==="rect"?(g("x",S,b[0]),g("y",S,b[1])):g({lineX:"x",lineY:"y"}[P],S,b)}}),I.push(A,y),this._dispatchZoomAction(y);function g(m,b,S){var P=b.getAxis(m),M=P.model,R=x(m,M,A),F=R.findRepresentativeAxisProxy(M).getMinMaxSpan();(F.minValueSpan!=null||F.maxValueSpan!=null)&&(S=E(0,S.slice(),P.scale.getExtent(),0,F.minValueSpan,F.maxValueSpan)),R&&(y[R.id]={dataZoomId:R.id,startValue:S[0],endValue:S[1]})}function x(m,b,S){var P;return S.eachComponent({mainType:"dataZoom",subType:"select"},function(M){var R=M.getAxisModel(m,b.componentIndex);R&&(P=M)}),P}},r._dispatchZoomAction=function(d){var h=[];i(d,function(y,A){h.push(T.clone(y))}),h.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:h})};function n(d){var h={};return T.each(["xAxisIndex","yAxisIndex"],function(y){h[y]=d[y],h[y]==null&&(h[y]="all"),(h[y]===!1||h[y]==="none")&&(h[y]=[])}),h}function l(d,h){d.setIconStatus("back",I.count(h)>1?"emphasis":"normal")}function a(d,h,y,A,v){var g=y._isZoomActive;A&&A.type==="takeGlobalCursor"&&(g=A.key==="dataZoomSelect"?A.dataZoomSelectActive:!1),y._isZoomActive=g,d.setIconStatus("zoom",g?"emphasis":"normal");var x=new D(n(d.option),h,{include:["grid"]});y._brushController.setPanels(x.makePanelOpts(v,function(m){return m.xAxisDeclared&&!m.yAxisDeclared?"lineX":!m.xAxisDeclared&&m.yAxisDeclared?"lineY":"rect"})).enableBrush(g?{brushType:"auto",brushStyle:d.getModel("brushStyle").getItemStyle()}:!1)}f.register("dataZoom",o),B.registerPreprocessor(function(d){if(!d)return;var h=d.dataZoom||(d.dataZoom=[]);T.isArray(h)||(d.dataZoom=h=[h]);var y=d.toolbox;if(y&&(T.isArray(y)&&(y=y[0]),y&&y.feature)){var A=y.feature.dataZoom;v("xAxis",A),v("yAxis",A)}function v(x,m){if(!!m){var b=x+"Index",S=m[b];S!=null&&S!=="all"&&!T.isArray(S)&&(S=S===!1||S==="none"?[]:[S]),g(x,function(P,M){if(!(S!=null&&S!=="all"&&T.indexOf(S,M)===-1)){var R={type:"select",$fromToolbox:!0,filterMode:m.filterMode||"filter",id:s+x+M};R[b]=M,h.push(R)}})}}function g(x,m){var b=d[x];T.isArray(b)||(b=b?[b]:[]),i(b,m)}});var c=o;oe.exports=c},fW2E:function(oe,V){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function B(T,w,D){return e.hasOwnProperty(w)?D*=T.dpr:D}oe.exports=B},"fc+c":function(oe,V,e){var B=e("sS/r"),T=B.extend({type:"dataZoom",render:function(w,D,I,E){this.dataZoomModel=w,this.ecModel=D,this.api=I},getTargetCoordInfo:function(){var w=this.dataZoomModel,D=this.ecModel,I={};w.eachTargetAxis(function(C,f){var t=D.getComponent(C.axis,f);if(t){var i=t.getCoordSysModel();i&&E(i,t,I[i.mainType]||(I[i.mainType]=[]),i.componentIndex)}},this);function E(C,f,t,i){for(var s,o=0;o<t.length;o++)if(t[o].model===C){s=t[o];break}s||t.push(s={model:C,axisModels:[],coordIndex:i}),s.axisModels.push(f)}return I}});oe.exports=T},fjKi:function(oe,V,e){var B=e("ProS");e("Q7if"),e("jndi"),B.registerPreprocessor(function(T){T.markArea=T.markArea||{}})},fls0:function(oe,V,e){var B=e("bYtY"),T=e("QBsz"),w=e("oVpE"),D=e("f5HG"),I=e("IwbS"),E=e("OELB"),C=E.round,f=["fromSymbol","toSymbol"];function t(a){return"_"+a+"Type"}function i(a,c,d){var h=c.getItemVisual(d,a);if(!(!h||h==="none")){var y=c.getItemVisual(d,"color"),A=c.getItemVisual(d,a+"Size"),v=c.getItemVisual(d,a+"Rotate");B.isArray(A)||(A=[A,A]);var g=w.createSymbol(h,-A[0]/2,-A[1]/2,A[0],A[1],y);return g.__specifiedRotation=v==null||isNaN(v)?void 0:+v*Math.PI/180||0,g.name=a,g}}function s(a){var c=new D({name:"line",subPixelOptimize:!0});return o(c.shape,a),c}function o(a,c){a.x1=c[0][0],a.y1=c[0][1],a.x2=c[1][0],a.y2=c[1][1],a.percent=1;var d=c[2];d?(a.cpx1=d[0],a.cpy1=d[1]):(a.cpx1=NaN,a.cpy1=NaN)}function r(){var a=this,c=a.childOfName("fromSymbol"),d=a.childOfName("toSymbol"),h=a.childOfName("label");if(!(!c&&!d&&h.ignore)){for(var y=1,A=this.parent;A;)A.scale&&(y/=A.scale[0]),A=A.parent;var v=a.childOfName("line");if(!(!this.__dirty&&!v.__dirty)){var g=v.shape.percent,x=v.pointAt(0),m=v.pointAt(g),b=T.sub([],m,x);if(T.normalize(b,b),c){c.attr("position",x);var S=c.__specifiedRotation;if(S==null){var P=v.tangentAt(0);c.attr("rotation",Math.PI/2-Math.atan2(P[1],P[0]))}else c.attr("rotation",S);c.attr("scale",[y*g,y*g])}if(d){d.attr("position",m);var S=d.__specifiedRotation;if(S==null){var P=v.tangentAt(1);d.attr("rotation",-Math.PI/2-Math.atan2(P[1],P[0]))}else d.attr("rotation",S);d.attr("scale",[y*g,y*g])}if(!h.ignore){h.attr("position",m);var M,R,F,L,U=h.__labelDistance,N=U[0]*y,Q=U[1]*y,z=g/2,P=v.tangentAt(z),_=[P[1],-P[0]],J=v.pointAt(z);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var Y=P[0]<0?-1:1;if(h.__position!=="start"&&h.__position!=="end"){var k=-Math.atan2(P[1],P[0]);m[0]<x[0]&&(k=Math.PI+k),h.attr("rotation",k)}var W;switch(h.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-Q,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=Q,F="top";break;default:W=0,F="middle"}switch(h.__position){case"end":M=[b[0]*N+m[0],b[1]*Q+m[1]],R=b[0]>.8?"left":b[0]<-.8?"right":"center",F=b[1]>.8?"top":b[1]<-.8?"bottom":"middle";break;case"start":M=[-b[0]*N+x[0],-b[1]*Q+x[1]],R=b[0]>.8?"right":b[0]<-.8?"left":"center",F=b[1]>.8?"bottom":b[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":M=[N*Y+x[0],x[1]+W],R=P[0]<0?"right":"left",L=[-N*Y,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":M=[J[0],J[1]+W],R="center",L=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":M=[-N*Y+m[0],m[1]+W],R=P[0]>=0?"right":"left",L=[N*Y,-W];break}h.attr({style:{textVerticalAlign:h.__verticalAlign||F,textAlign:h.__textAlign||R},position:M,scale:[y,y],origin:L})}}}}function u(a,c,d){I.Group.call(this),this._createLine(a,c,d)}var n=u.prototype;n.beforeUpdate=r,n._createLine=function(a,c,d){var h=a.hostModel,y=a.getItemLayout(c),A=s(y);A.shape.percent=0,I.initProps(A,{shape:{percent:1}},h,c),this.add(A);var v=new I.Text({name:"label",lineLabelOriginalOpacity:1});this.add(v),B.each(f,function(g){var x=i(g,a,c);this.add(x),this[t(g)]=a.getItemVisual(c,g)},this),this._updateCommonStl(a,c,d)},n.updateData=function(a,c,d){var h=a.hostModel,y=this.childOfName("line"),A=a.getItemLayout(c),v={shape:{}};o(v.shape,A),I.updateProps(y,v,h,c),B.each(f,function(g){var x=a.getItemVisual(c,g),m=t(g);if(this[m]!==x){this.remove(this.childOfName(g));var b=i(g,a,c);this.add(b)}this[m]=x},this),this._updateCommonStl(a,c,d)},n._updateCommonStl=function(a,c,d){var h=a.hostModel,y=this.childOfName("line"),A=d&&d.lineStyle,v=d&&d.hoverLineStyle,g=d&&d.labelModel,x=d&&d.hoverLabelModel;if(!d||a.hasItemOption){var m=a.getItemModel(c);A=m.getModel("lineStyle").getLineStyle(),v=m.getModel("emphasis.lineStyle").getLineStyle(),g=m.getModel("label"),x=m.getModel("emphasis.label")}var b=a.getItemVisual(c,"color"),S=B.retrieve3(a.getItemVisual(c,"opacity"),A.opacity,1);y.useStyle(B.defaults({strokeNoScale:!0,fill:"none",stroke:b,opacity:S},A)),y.hoverStyle=v,B.each(f,function(J){var Y=this.childOfName(J);Y&&(Y.setColor(b),Y.setStyle({opacity:S}))},this);var P=g.getShallow("show"),M=x.getShallow("show"),R=this.childOfName("label"),F,L;if((P||M)&&(F=b||"#000",L=h.getFormattedLabel(c,"normal",a.dataType),L==null)){var U=h.getRawValue(c);L=U==null?a.getName(c):isFinite(U)?C(U):U}var N=P?L:null,Q=M?B.retrieve2(h.getFormattedLabel(c,"emphasis",a.dataType),L):null,z=R.style;if(N!=null||Q!=null){I.setTextStyle(R.style,g,{text:N},{autoColor:F}),R.__textAlign=z.textAlign,R.__verticalAlign=z.textVerticalAlign,R.__position=g.get("position")||"middle";var _=g.get("distance");B.isArray(_)||(_=[_,_]),R.__labelDistance=_}Q!=null?R.hoverStyle={text:Q,textFill:x.getTextColor(!0),fontStyle:x.getShallow("fontStyle"),fontWeight:x.getShallow("fontWeight"),fontSize:x.getShallow("fontSize"),fontFamily:x.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!P&&!M,I.setHoverStyle(this)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateLayout=function(a,c){this.setLinePoints(a.getItemLayout(c))},n.setLinePoints=function(a){var c=this.childOfName("line");o(c.shape,a),c.dirty()},B.inherits(u,I.Group);var l=u;oe.exports=l},fmMI:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.each,I=w.filter,E=w.map,C=w.isArray,f=w.indexOf,t=w.isObject,i=w.isString,s=w.createHashMap,o=w.assert,r=w.clone,u=w.merge,n=w.extend,l=w.mixin,a=e("4NO4"),c=e("Qxkt"),d=e("bLfw"),h=e("iXHM"),y=e("5Hur"),A=e("D5nY"),v=A.resetSourceDefaulter,g="\0_ec_inner",x=c.extend({init:function(N,Q,z,_){z=z||{},this.option=null,this._theme=new c(z),this._optionManager=_},setOption:function(N,Q){o(!(g in N),"please use chart.getOption()"),this._optionManager.setOption(N,Q),this.resetOption(null)},resetOption:function(N){var Q=!1,z=this._optionManager;if(!N||N==="recreate"){var _=z.mountOption(N==="recreate");!this.option||N==="recreate"?S.call(this,_):(this.restoreData(),this.mergeOption(_)),Q=!0}if((N==="timeline"||N==="media")&&this.restoreData(),!N||N==="recreate"||N==="timeline"){var J=z.getTimelineOption(this);J&&(this.mergeOption(J),Q=!0)}if(!N||N==="recreate"||N==="media"){var Y=z.getMediaOption(this,this._api);Y.length&&D(Y,function(k){this.mergeOption(k,Q=!0)},this)}return Q},mergeOption:function(N){var Q=this.option,z=this._componentsMap,_=[];v(this),D(N,function(Y,k){Y!=null&&(d.hasClass(k)?k&&_.push(k):Q[k]=Q[k]==null?r(Y):u(Q[k],Y,!0))}),d.topologicalTravel(_,d.getAllClassMainTypes(),J,this);function J(Y,k){var W=a.normalizeToArray(N[Y]),ie=a.mappingToExists(z.get(Y),W);a.makeIdAndName(ie),D(ie,function(Ce,ge){var de=Ce.option;t(de)&&(Ce.keyInfo.mainType=Y,Ce.keyInfo.subType=M(Y,de,Ce.exist))});var fe=P(z,k);Q[Y]=[],z.set(Y,[]),D(ie,function(Ce,ge){var de=Ce.exist,Pe=Ce.option;if(o(t(Pe)||de,"Empty component definition"),!Pe)de.mergeOption({},this),de.optionUpdated({},!1);else{var _e=d.getClass(Y,Ce.keyInfo.subType,!0);if(de&&de.constructor===_e)de.name=Ce.keyInfo.name,de.mergeOption(Pe,this),de.optionUpdated(Pe,!1);else{var Ne=n({dependentModels:fe,componentIndex:ge},Ce.keyInfo);de=new _e(Pe,this,this,Ne),n(de,Ne),de.init(Pe,this,this,Ne),de.optionUpdated(null,!0)}}z.get(Y)[ge]=de,Q[Y][ge]=de.option},this),Y==="series"&&R(this,z.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var N=r(this.option);return D(N,function(Q,z){if(d.hasClass(z)){for(var Q=a.normalizeToArray(Q),_=Q.length-1;_>=0;_--)a.isIdInner(Q[_])&&Q.splice(_,1);N[z]=Q}}),delete N[g],N},getTheme:function(){return this._theme},getComponent:function(N,Q){var z=this._componentsMap.get(N);if(z)return z[Q||0]},queryComponents:function(N){var Q=N.mainType;if(!Q)return[];var z=N.index,_=N.id,J=N.name,Y=this._componentsMap.get(Q);if(!Y||!Y.length)return[];var k;if(z!=null)C(z)||(z=[z]),k=I(E(z,function(fe){return Y[fe]}),function(fe){return!!fe});else if(_!=null){var W=C(_);k=I(Y,function(fe){return W&&f(_,fe.id)>=0||!W&&fe.id===_})}else if(J!=null){var ie=C(J);k=I(Y,function(fe){return ie&&f(J,fe.name)>=0||!ie&&fe.name===J})}else k=Y.slice();return F(k,N)},findComponents:function(N){var Q=N.query,z=N.mainType,_=Y(Q),J=_?this.queryComponents(_):this._componentsMap.get(z);return k(F(J,N));function Y(W){var ie=z+"Index",fe=z+"Id",Ce=z+"Name";return W&&(W[ie]!=null||W[fe]!=null||W[Ce]!=null)?{mainType:z,index:W[ie],id:W[fe],name:W[Ce]}:null}function k(W){return N.filter?I(W,N.filter):W}},eachComponent:function(N,Q,z){var _=this._componentsMap;if(typeof N=="function")z=Q,Q=N,_.each(function(Y,k){D(Y,function(W,ie){Q.call(z,k,W,ie)})});else if(i(N))D(_.get(N),Q,z);else if(t(N)){var J=this.findComponents(N);D(J,Q,z)}},getSeriesByName:function(N){var Q=this._componentsMap.get("series");return I(Q,function(z){return z.name===N})},getSeriesByIndex:function(N){return this._componentsMap.get("series")[N]},getSeriesByType:function(N){var Q=this._componentsMap.get("series");return I(Q,function(z){return z.subType===N})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(N,Q){L(this),D(this._seriesIndices,function(z){var _=this._componentsMap.get("series")[z];N.call(Q,_,z)},this)},eachRawSeries:function(N,Q){D(this._componentsMap.get("series"),N,Q)},eachSeriesByType:function(N,Q,z){L(this),D(this._seriesIndices,function(_){var J=this._componentsMap.get("series")[_];J.subType===N&&Q.call(z,J,_)},this)},eachRawSeriesByType:function(N,Q,z){return D(this.getSeriesByType(N),Q,z)},isSeriesFiltered:function(N){return L(this),this._seriesIndicesMap.get(N.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(N,Q){L(this);var z=I(this._componentsMap.get("series"),N,Q);R(this,z)},restoreData:function(N){var Q=this._componentsMap;R(this,Q.get("series"));var z=[];Q.each(function(_,J){z.push(J)}),d.topologicalTravel(z,d.getAllClassMainTypes(),function(_,J){D(Q.get(_),function(Y){(_!=="series"||!m(Y,N))&&Y.restoreData()})})}});function m(N,Q){if(Q){var z=Q.seiresIndex,_=Q.seriesId,J=Q.seriesName;return z!=null&&N.componentIndex!==z||_!=null&&N.id!==_||J!=null&&N.name!==J}}function b(N,Q){var z=N.color&&!N.colorLayer;D(Q,function(_,J){J==="colorLayer"&&z||d.hasClass(J)||(typeof _=="object"?N[J]=N[J]?u(N[J],_,!1):r(_):N[J]==null&&(N[J]=_))})}function S(N){N=N,this.option={},this.option[g]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,b(N,this._theme.option),u(N,h,!1),this.mergeOption(N)}function P(N,Q){C(Q)||(Q=Q?[Q]:[]);var z={};return D(Q,function(_){z[_]=(N.get(_)||[]).slice()}),z}function M(N,Q,z){var _=Q.type?Q.type:z?z.subType:d.determineSubType(N,Q);return _}function R(N,Q){N._seriesIndicesMap=s(N._seriesIndices=E(Q,function(z){return z.componentIndex})||[])}function F(N,Q){return Q.hasOwnProperty("subType")?I(N,function(z){return z.subType===Q.subType}):N}function L(N){}l(x,y);var U=x;oe.exports=U},fyUT:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("U8pU"),D=e("ODXe"),I=e("8Skl"),E=e("y3Kf"),C=e("TSYQ"),f=e.n(C),t=e("Ff2n"),i=e("q1tI"),s=e("4IlW"),o=e("TNol"),r=e("c+Xe"),u=e("1OyB"),n=e("vuIU");function l(){return typeof BigInt=="function"}function a(He){var ue=He.trim(),Re=ue.startsWith("-");Re&&(ue=ue.slice(1)),ue=ue.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ue.startsWith(".")&&(ue="0".concat(ue));var nt=ue||"0",Ve=nt.split("."),Ge=Ve[0]||"0",dt=Ve[1]||"0";Ge==="0"&&dt==="0"&&(Re=!1);var et=Re?"-":"";return{negative:Re,negativeStr:et,trimStr:nt,integerStr:Ge,decimalStr:dt,fullStr:"".concat(et).concat(nt)}}function c(He){var ue=String(He);return!Number.isNaN(Number(ue))&&ue.includes("e")}function d(He){var ue=String(He);if(c(He)){var Re=Number(ue.slice(ue.indexOf("e-")+2)),nt=ue.match(/\.(\d+)/);return(nt==null?void 0:nt[1])&&(Re+=nt[1].length),Re}return ue.includes(".")&&y(ue)?ue.length-ue.indexOf(".")-1:0}function h(He){var ue=String(He);if(c(He)){if(He>Number.MAX_SAFE_INTEGER)return String(l()?BigInt(He).toString():Number.MAX_SAFE_INTEGER);if(He<Number.MIN_SAFE_INTEGER)return String(l()?BigInt(He).toString():Number.MIN_SAFE_INTEGER);ue=He.toFixed(d(ue))}return a(ue).fullStr}function y(He){return typeof He=="number"?!Number.isNaN(He):He?/^\s*-?\d+(\.\d+)?\s*$/.test(He)||/^\s*-?\d+\.\s*$/.test(He)||/^\s*-?\.\d+\s*$/.test(He):!1}function A(He){var ue=typeof He=="number"?h(He):a(He).fullStr,Re=ue.includes(".");return Re?a(ue.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:He+"0"}var v=function(){function He(ue){if(Object(u.a)(this,He),this.origin="",this.number=void 0,this.empty=void 0,!ue&&ue!==0||!String(ue).trim()){this.empty=!0;return}this.origin=String(ue),this.number=Number(ue)}return Object(n.a)(He,[{key:"negate",value:function(){return new He(-this.toNumber())}},{key:"add",value:function(Re){if(this.isInvalidate())return new He(Re);var nt=Number(Re);if(Number.isNaN(nt))return this;var Ve=this.number+nt;if(Ve>Number.MAX_SAFE_INTEGER)return new He(Number.MAX_SAFE_INTEGER);if(Ve<Number.MIN_SAFE_INTEGER)return new He(Number.MIN_SAFE_INTEGER);var Ge=Math.max(d(this.number),d(nt));return new He(Ve.toFixed(Ge))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Re){return this.toNumber()===(Re==null?void 0:Re.toNumber())}},{key:"lessEquals",value:function(Re){return this.add(Re.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Re?this.isInvalidate()?"":h(this.number):this.origin}}]),He}(),g=function(){function He(ue){if(Object(u.a)(this,He),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!ue&&ue!==0||!String(ue).trim()){this.empty=!0;return}if(this.origin=String(ue),ue==="-"){this.nan=!0;return}var Re=ue;if(c(Re)&&(Re=Number(Re)),Re=typeof Re=="string"?Re:h(Re),y(Re)){var nt=a(Re);this.negative=nt.negative;var Ve=nt.trimStr.split(".");this.integer=BigInt(Ve[0]);var Ge=Ve[1]||"0";this.decimal=BigInt(Ge),this.decimalLen=Ge.length}else this.nan=!0}return Object(n.a)(He,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Re){var nt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Re,"0"));return BigInt(nt)}},{key:"negate",value:function(){var Re=new He(this.toString());return Re.negative=!Re.negative,Re}},{key:"add",value:function(Re){if(this.isInvalidate())return new He(Re);var nt=new He(Re);if(nt.isInvalidate())return this;var Ve=Math.max(this.getDecimalStr().length,nt.getDecimalStr().length),Ge=this.alignDecimal(Ve),dt=nt.alignDecimal(Ve),et=(Ge+dt).toString(),At=a(et),Dt=At.negativeStr,Ft=At.trimStr,St="".concat(Dt).concat(Ft.padStart(Ve+1,"0"));return new He("".concat(St.slice(0,-Ve),".").concat(St.slice(-Ve)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Re){return this.toString()===(Re==null?void 0:Re.toString())}},{key:"lessEquals",value:function(Re){return this.add(Re.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Re?this.isInvalidate()?"":a("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),He}();function x(He){return l()?new g(He):new v(He)}function m(He,ue,Re){var nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(He==="")return"";var Ve=a(He),Ge=Ve.negativeStr,dt=Ve.integerStr,et=Ve.decimalStr,At="".concat(ue).concat(et),Dt="".concat(Ge).concat(dt);if(Re>=0){var Ft=Number(et[Re]);if(Ft>=5&&!nt){var St=x(He).add("".concat(Ge,"0.").concat("0".repeat(Re)).concat(10-Ft));return m(St.toString(),ue,Re,nt)}return Re===0?Dt:"".concat(Dt).concat(ue).concat(et.padEnd(Re,"0").slice(0,Re))}return At===".0"?Dt:"".concat(Dt).concat(At)}var b=e("5Z9U"),S=200,P=600;function M(He){var ue=He.prefixCls,Re=He.upNode,nt=He.downNode,Ve=He.upDisabled,Ge=He.downDisabled,dt=He.onStep,et=i.useRef(),At=i.useRef();At.current=dt;var Dt=function(ft,rt){ft.preventDefault(),At.current(rt);function Ie(){At.current(rt),et.current=setTimeout(Ie,S)}et.current=setTimeout(Ie,P)},Ft=function(){clearTimeout(et.current)};if(i.useEffect(function(){return Ft},[]),Object(b.a)())return null;var St="".concat(ue,"-handler"),$e=f()(St,"".concat(St,"-up"),Object(T.a)({},"".concat(St,"-up-disabled"),Ve)),lt=f()(St,"".concat(St,"-down"),Object(T.a)({},"".concat(St,"-down-disabled"),Ge)),Ut={unselectable:"on",role:"button",onMouseUp:Ft,onMouseLeave:Ft};return i.createElement("div",{className:"".concat(St,"-wrap")},i.createElement("span",Object(B.a)({},Ut,{onMouseDown:function(ft){Dt(ft,!0)},"aria-label":"Increase Value","aria-disabled":Ve,className:$e}),Re||i.createElement("span",{unselectable:"on",className:"".concat(ue,"-handler-up-inner")})),i.createElement("span",Object(B.a)({},Ut,{onMouseDown:function(ft){Dt(ft,!1)},"aria-label":"Decrease Value","aria-disabled":Ge,className:lt}),nt||i.createElement("span",{unselectable:"on",className:"".concat(ue,"-handler-down-inner")})))}var R=e("Kwbf");function F(He,ue){var Re=Object(i.useRef)(null);function nt(){try{var Ge=He.selectionStart,dt=He.selectionEnd,et=He.value,At=et.substring(0,Ge),Dt=et.substring(dt);Re.current={start:Ge,end:dt,value:et,beforeTxt:At,afterTxt:Dt}}catch(Ft){}}function Ve(){if(He&&Re.current&&ue)try{var Ge=He.value,dt=Re.current,et=dt.beforeTxt,At=dt.afterTxt,Dt=dt.start,Ft=Ge.length;if(Ge.endsWith(At))Ft=Ge.length-Re.current.afterTxt.length;else if(Ge.startsWith(et))Ft=et.length;else{var St=et[Dt-1],$e=Ge.indexOf(St,Dt-1);$e!==-1&&(Ft=$e+1)}He.setSelectionRange(Ft,Ft)}catch(lt){Object(R.a)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(lt.message))}}return[nt,Ve]}var L=e("wgJM"),U=function(){var He=Object(i.useRef)(0),ue=function(){L.a.cancel(He.current)};return Object(i.useEffect)(function(){return ue},[]),function(Re){ue(),He.current=Object(L.a)(function(){Re()})}},N=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Q=function(ue,Re){return ue||Re.isEmpty()?Re.toString():Re.toNumber()},z=function(ue){var Re=x(ue);return Re.isInvalidate()?null:Re},_=i.forwardRef(function(He,ue){var Re,nt=He.prefixCls,Ve=nt===void 0?"rc-input-number":nt,Ge=He.className,dt=He.style,et=He.min,At=He.max,Dt=He.step,Ft=Dt===void 0?1:Dt,St=He.defaultValue,$e=He.value,lt=He.disabled,Ut=He.readOnly,gt=He.upHandler,ft=He.downHandler,rt=He.keyboard,Ie=He.controls,Ot=Ie===void 0?!0:Ie,Xt=He.stringMode,Vt=He.parser,bt=He.formatter,It=He.precision,Kt=He.decimalSeparator,Se=He.onChange,Ye=He.onInput,q=He.onPressEnter,Ae=He.onStep,Me=Object(t.a)(He,N),De="".concat(Ve,"-input"),ze=i.useRef(null),pe=i.useState(!1),te=Object(D.a)(pe,2),be=te[0],xe=te[1],Z=i.useRef(!1),se=i.useRef(!1),he=i.useRef(!1),Oe=i.useState(function(){return x($e!=null?$e:St)}),ne=Object(D.a)(Oe,2),ce=ne[0],ae=ne[1];function Ee(at){$e===void 0&&ae(at)}var ye=i.useCallback(function(at,Ue){if(!Ue)return It>=0?It:Math.max(d(at),d(Ft))},[It,Ft]),Te=i.useCallback(function(at){var Ue=String(at);if(Vt)return Vt(Ue);var ot=Ue;return Kt&&(ot=ot.replace(Kt,".")),ot.replace(/[^\w.-]+/g,"")},[Vt,Kt]),je=i.useRef(""),qe=i.useCallback(function(at,Ue){if(bt)return bt(at,{userTyping:Ue,input:String(je.current)});var ot=typeof at=="number"?h(at):at;if(!Ue){var it=ye(ot,Ue);if(y(ot)&&(Kt||it>=0)){var zt=Kt||".";ot=m(ot,zt,it)}}return ot},[bt,ye,Kt]),Le=i.useState(function(){var at=St!=null?St:$e;return ce.isInvalidate()&&["string","number"].includes(Object(w.a)(at))?Number.isNaN(at)?"":at:qe(ce.toString(),!1)}),ke=Object(D.a)(Le,2),tt=ke[0],st=ke[1];je.current=tt;function _t(at,Ue){st(qe(at.isInvalidate()?at.toString(!1):at.toString(!Ue),Ue))}var Ct=i.useMemo(function(){return z(At)},[At,It]),Rt=i.useMemo(function(){return z(et)},[et,It]),Wt=i.useMemo(function(){return!Ct||!ce||ce.isInvalidate()?!1:Ct.lessEquals(ce)},[Ct,ce]),vt=i.useMemo(function(){return!Rt||!ce||ce.isInvalidate()?!1:ce.lessEquals(Rt)},[Rt,ce]),Je=F(ze.current,be),Yt=Object(D.a)(Je,2),Ht=Yt[0],nr=Yt[1],ir=function(Ue){return Ct&&!Ue.lessEquals(Ct)?Ct:Rt&&!Rt.lessEquals(Ue)?Rt:null},Zt=function(Ue){return!ir(Ue)},Mt=function(Ue,ot){var it=Ue,zt=Zt(it)||it.isEmpty();if(!it.isEmpty()&&!ot&&(it=ir(it)||it,zt=!0),!Ut&&!lt&&zt){var ar=it.toString(),dr=ye(ar,ot);return dr>=0&&(it=x(m(ar,".",dr)),Zt(it)||(it=x(m(ar,".",dr,!0)))),it.equals(ce)||(Ee(it),Se==null||Se(it.isEmpty()?null:Q(Xt,it)),$e===void 0&&_t(it,ot)),it}return ce},pt=U(),Tt=function at(Ue){if(Ht(),st(Ue),!se.current){var ot=Te(Ue),it=x(ot);it.isNaN()||Mt(it,!0)}Ye==null||Ye(Ue),pt(function(){var zt=Ue;Vt||(zt=Ue.replace(/。/g,".")),zt!==Ue&&at(zt)})},mt=function(){se.current=!0},Jt=function(){se.current=!1,Tt(ze.current.value)},or=function(Ue){Tt(Ue.target.value)},ut=function(Ue){var ot;if(!(Ue&&Wt||!Ue&&vt)){Z.current=!1;var it=x(he.current?A(Ft):Ft);Ue||(it=it.negate());var zt=(ce||x(0)).add(it.toString()),ar=Mt(zt,!1);Ae==null||Ae(Q(Xt,ar),{offset:he.current?A(Ft):Ft,type:Ue?"up":"down"}),(ot=ze.current)===null||ot===void 0||ot.focus()}},ht=function(Ue){var ot=x(Te(tt)),it=ot;ot.isNaN()?it=ce:it=Mt(ot,Ue),$e!==void 0?_t(ce,!1):it.isNaN()||_t(it,!1)},qt=function(Ue){var ot=Ue.which,it=Ue.shiftKey;Z.current=!0,it?he.current=!0:he.current=!1,ot===s.a.ENTER&&(se.current||(Z.current=!1),ht(!1),q==null||q(Ue)),rt!==!1&&!se.current&&[s.a.UP,s.a.DOWN].includes(ot)&&(ut(s.a.UP===ot),Ue.preventDefault())},Nt=function(){Z.current=!1,he.current=!1},Qt=function(){ht(!1),xe(!1),Z.current=!1};return Object(o.b)(function(){ce.isInvalidate()||_t(ce,!1)},[It]),Object(o.b)(function(){var at=x($e);ae(at);var Ue=x(Te(tt));(!at.equals(Ue)||!Z.current||bt)&&_t(at,Z.current)},[$e]),Object(o.b)(function(){bt&&nr()},[tt]),i.createElement("div",{className:f()(Ve,Ge,(Re={},Object(T.a)(Re,"".concat(Ve,"-focused"),be),Object(T.a)(Re,"".concat(Ve,"-disabled"),lt),Object(T.a)(Re,"".concat(Ve,"-readonly"),Ut),Object(T.a)(Re,"".concat(Ve,"-not-a-number"),ce.isNaN()),Object(T.a)(Re,"".concat(Ve,"-out-of-range"),!ce.isInvalidate()&&!Zt(ce)),Re)),style:dt,onFocus:function(){xe(!0)},onBlur:Qt,onKeyDown:qt,onKeyUp:Nt,onCompositionStart:mt,onCompositionEnd:Jt},Ot&&i.createElement(M,{prefixCls:Ve,upNode:gt,downNode:ft,upDisabled:Wt,downDisabled:vt,onStep:ut}),i.createElement("div",{className:"".concat(De,"-wrap")},i.createElement("input",Object(B.a)({autoComplete:"off",role:"spinbutton","aria-valuemin":et,"aria-valuemax":At,"aria-valuenow":ce.isInvalidate()?null:ce.toString(),step:Ft},Me,{ref:Object(r.a)(ze,ue),className:De,value:tt,onChange:or,disabled:lt,readOnly:Ut}))))});_.displayName="InputNumber";var J=_,Y=J,k=e("H84U"),W=e("caoh"),ie=e("3Nzz"),fe=e("ihLV"),Ce=e("+f9I"),ge=e("0n0R"),de=e("ATYA"),Pe=function(He,ue){var Re={};for(var nt in He)Object.prototype.hasOwnProperty.call(He,nt)&&ue.indexOf(nt)<0&&(Re[nt]=He[nt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,nt=Object.getOwnPropertySymbols(He);Ve<nt.length;Ve++)ue.indexOf(nt[Ve])<0&&Object.prototype.propertyIsEnumerable.call(He,nt[Ve])&&(Re[nt[Ve]]=He[nt[Ve]]);return Re},_e=i.forwardRef(function(He,ue){var Re,nt=i.useContext(k.b),Ve=nt.getPrefixCls,Ge=nt.direction,dt=i.useContext(ie.b),et=i.useState(!1),At=Object(D.a)(et,2),Dt=At[0],Ft=At[1],St=i.useRef(null);i.useImperativeHandle(ue,function(){return St.current});var $e=He.className,lt=He.size,Ut=He.disabled,gt=He.prefixCls,ft=He.addonBefore,rt=He.addonAfter,Ie=He.prefix,Ot=He.bordered,Xt=Ot===void 0?!0:Ot,Vt=He.readOnly,bt=He.status,It=He.controls,Kt=Pe(He,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Se=Ve("input-number",gt),Ye=Object(Ce.c)(Se,Ge),q=Ye.compactSize,Ae=Ye.compactItemClassnames,Me=i.createElement(E.a,{className:"".concat(Se,"-handler-up-inner")}),De=i.createElement(I.a,{className:"".concat(Se,"-handler-down-inner")}),ze=typeof It=="boolean"?It:void 0;Object(w.a)(It)==="object"&&(Me=typeof It.upIcon=="undefined"?Me:i.createElement("span",{className:"".concat(Se,"-handler-up-inner")},It.upIcon),De=typeof It.downIcon=="undefined"?De:i.createElement("span",{className:"".concat(Se,"-handler-down-inner")},It.downIcon));var pe=Object(i.useContext)(fe.b),te=pe.hasFeedback,be=pe.status,xe=pe.isFormItemInput,Z=pe.feedbackIcon,se=Object(de.a)(be,bt),he=q||lt||dt,Oe=i.useContext(W.b),ne=Ut!=null?Ut:Oe,ce=f()((Re={},Object(T.a)(Re,"".concat(Se,"-lg"),he==="large"),Object(T.a)(Re,"".concat(Se,"-sm"),he==="small"),Object(T.a)(Re,"".concat(Se,"-rtl"),Ge==="rtl"),Object(T.a)(Re,"".concat(Se,"-borderless"),!Xt),Object(T.a)(Re,"".concat(Se,"-in-form-item"),xe),Re),Object(de.b)(Se,se),Ae,$e),ae=i.createElement(Y,Object(B.a)({ref:St,disabled:ne,className:ce,upHandler:Me,downHandler:De,prefixCls:Se,readOnly:Vt,controls:ze},Kt));if(Ie!=null||te){var Ee,ye=f()("".concat(Se,"-affix-wrapper"),Object(de.b)("".concat(Se,"-affix-wrapper"),se,te),(Ee={},Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-focused"),Dt),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-disabled"),He.disabled),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-sm"),dt==="small"),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-lg"),dt==="large"),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-rtl"),Ge==="rtl"),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-readonly"),Vt),Object(T.a)(Ee,"".concat(Se,"-affix-wrapper-borderless"),!Xt),Object(T.a)(Ee,"".concat($e),!(ft||rt)&&$e),Ee));ae=i.createElement("div",{className:ye,style:He.style,onMouseUp:function(){return St.current.focus()}},Ie&&i.createElement("span",{className:"".concat(Se,"-prefix")},Ie),Object(ge.a)(ae,{style:null,value:He.value,onFocus:function(Ct){var Rt;Ft(!0),(Rt=He.onFocus)===null||Rt===void 0||Rt.call(He,Ct)},onBlur:function(Ct){var Rt;Ft(!1),(Rt=He.onBlur)===null||Rt===void 0||Rt.call(He,Ct)}}),te&&i.createElement("span",{className:"".concat(Se,"-suffix")},Z))}if(ft!=null||rt!=null){var Te,je="".concat(Se,"-group"),qe="".concat(je,"-addon"),Le=ft?i.createElement("div",{className:qe},ft):null,ke=rt?i.createElement("div",{className:qe},rt):null,tt=f()("".concat(Se,"-wrapper"),je,Object(T.a)({},"".concat(je,"-rtl"),Ge==="rtl")),st=f()("".concat(Se,"-group-wrapper"),(Te={},Object(T.a)(Te,"".concat(Se,"-group-wrapper-sm"),dt==="small"),Object(T.a)(Te,"".concat(Se,"-group-wrapper-lg"),dt==="large"),Object(T.a)(Te,"".concat(Se,"-group-wrapper-rtl"),Ge==="rtl"),Te),Object(de.b)("".concat(Se,"-group-wrapper"),se,te),$e);ae=i.createElement("div",{className:st,style:He.style},i.createElement("div",{className:tt},Le&&i.createElement(fe.e,{status:!0,override:!0},Le),Object(ge.a)(ae,{style:null,disabled:ne}),ke&&i.createElement(fe.e,{status:!0,override:!0},ke)))}return ae}),Ne=V.a=_e},g0SD:function(oe,V,e){var B=e("bYtY"),T=e("9wZj"),w=e("OELB"),D=e("YXkt"),I=e("kj2x"),E=e("iPDy");function C(i,s,o){var r=s.coordinateSystem;i.each(function(u){var n=i.getItemModel(u),l,a=w.parsePercent(n.get("x"),o.getWidth()),c=w.parsePercent(n.get("y"),o.getHeight());if(!isNaN(a)&&!isNaN(c))l=[a,c];else if(s.getMarkerPosition)l=s.getMarkerPosition(i.getValues(i.dimensions,u));else if(r){var d=i.get(r.dimensions[0],u),h=i.get(r.dimensions[1],u);l=r.dataToPoint([d,h])}isNaN(a)||(l[0]=a),isNaN(c)||(l[1]=c),i.setItemLayout(u,l)})}var f=E.extend({type:"markPoint",updateTransform:function(i,s,o){s.eachSeries(function(r){var u=r.markPointModel;u&&(C(u.getData(),r,o),this.markerGroupMap.get(r.id).updateLayout(u))},this)},renderSeries:function(i,s,o,r){var u=i.coordinateSystem,n=i.id,l=i.getData(),a=this.markerGroupMap,c=a.get(n)||a.set(n,new T),d=t(u,i,s);s.setData(d),C(s.getData(),i,r),d.each(function(h){var y=d.getItemModel(h),A=y.getShallow("symbol"),v=y.getShallow("symbolSize"),g=y.getShallow("symbolRotate"),x=B.isFunction(A),m=B.isFunction(v),b=B.isFunction(g);if(x||m||b){var S=s.getRawValue(h),P=s.getDataParams(h);x&&(A=A(S,P)),m&&(v=v(S,P)),b&&(g=g(S,P))}d.setItemVisual(h,{symbol:A,symbolSize:v,symbolRotate:g,color:y.get("itemStyle.color")||l.getVisual("color")})}),c.updateData(d),this.group.add(c.group),d.eachItemGraphicEl(function(h){h.traverse(function(y){y.dataModel=s})}),c.__keep=!0,c.group.silent=s.get("silent")||i.get("silent")}});function t(i,s,o){var r;i?r=B.map(i&&i.dimensions,function(l){var a=s.getData().getDimensionInfo(s.getData().mapDimension(l))||{};return B.defaults({name:l},a)}):r=[{name:"value",type:"float"}];var u=new D(r,o),n=B.map(o.get("data"),B.curry(I.dataTransform,s));return i&&(n=B.filter(n,B.curry(I.dataFilter,i))),u.initData(n,null,i?I.dimValueGetter:function(l){return l.value}),u}oe.exports=f},g74U:function(oe,V){(function(e){oe.exports=function(){var B={461:function(D){D.exports=function(){throw new Error("define cannot be used indirect")}}},T={};function w(D){if(T[D])return T[D].exports;var I=T[D]={exports:{}},E=!0;try{B[D](I,I.exports,w),E=!1}finally{E&&delete T[D]}return I.exports}return w.ab=e+"/",w(461)}()}).call(this,"/")},g7p0:function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("+TT/"),D=w.getLayoutParams,I=w.sizeCalculable,E=w.mergeLayoutParam,C=T.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(i,s,o,r){var u=D(i);C.superApply(this,"init",arguments),f(i,u)},mergeOption:function(i,s){C.superApply(this,"mergeOption",arguments),f(this.option,i)}});function f(i,s){var o=i.cellSize;B.isArray(o)?o.length===1&&(o[1]=o[0]):o=i.cellSize=[o,o];var r=B.map([0,1],function(u){return I(s,u)&&(o[u]="auto"),o[u]!=null&&o[u]!=="auto"});E(i,s,{type:"box",ignoreSize:r})}var t=C;oe.exports=t},g9YV:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("pED+"),D=e.n(w),I=e("+L6B"),E=e("sRBo"),C=e("qVdP"),f=e("R9oj"),t=e("5NDa"),i=e("DjyN"),s=e("7Kak"),o=e("T2oS"),r=e("5Dmo"),u=e("ozfa")},gPAo:function(oe,V){function e(D){return D}function B(D,I,E,C,f){this._old=D,this._new=I,this._oldKeyGetter=E||e,this._newKeyGetter=C||e,this.context=f}B.prototype={constructor:B,add:function(D){return this._add=D,this},update:function(D){return this._update=D,this},remove:function(D){return this._remove=D,this},execute:function(){var D=this._old,I=this._new,E={},C={},f=[],t=[],i;for(T(D,E,f,"_oldKeyGetter",this),T(I,C,t,"_newKeyGetter",this),i=0;i<D.length;i++){var s=f[i],o=C[s];if(o!=null){var r=o.length;r?(r===1&&(C[s]=null),o=o.shift()):C[s]=null,this._update&&this._update(o,i)}else this._remove&&this._remove(i)}for(var i=0;i<t.length;i++){var s=t[i];if(C.hasOwnProperty(s)){var o=C[s];if(o==null)continue;if(!o.length)this._add&&this._add(o);else for(var u=0,r=o.length;u<r;u++)this._add&&this._add(o[u])}}}};function T(D,I,E,C,f){for(var t=0;t<D.length;t++){var i="_ec_"+f[C](D[t],t),s=I[i];s==null?(E.push(i),I[i]=t):(s.length||(I[i]=s=[s]),s.push(t))}}var w=B;oe.exports=w},gRFJ:function(oe,V,e){oe.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gUdW:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="MinusSquareOutlined";var C=V.a=T.forwardRef(E)},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(oe){return oe<10?"0"+oe:oe}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(oe){return rx_escapable.lastIndex=0,rx_escapable.test(oe)?'"'+oe.replace(rx_escapable,function(V){var e=meta[V];return typeof e=="string"?e:"\\u"+("0000"+V.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+oe+'"'}function str(oe,V){var e,B,T,w,D=gap,I,E=V[oe];switch(E&&typeof E=="object"&&typeof E.toJSON=="function"&&(E=E.toJSON(oe)),typeof rep=="function"&&(E=rep.call(V,oe,E)),typeof E){case"string":return quote(E);case"number":return isFinite(E)?String(E):"null";case"boolean":case"null":return String(E);case"object":if(!E)return"null";if(gap+=indent,I=[],Object.prototype.toString.apply(E)==="[object Array]"){for(w=E.length,e=0;e<w;e+=1)I[e]=str(e,E)||"null";return T=I.length===0?"[]":gap?`[
|
|
|
`+gap+I.join(`,
|
|
|
`+gap)+`
|
|
|
`+D+"]":"["+I.join(",")+"]",gap=D,T}if(rep&&typeof rep=="object")for(w=rep.length,e=0;e<w;e+=1)typeof rep[e]=="string"&&(B=rep[e],T=str(B,E),T&&I.push(quote(B)+(gap?": ":":")+T));else for(B in E)Object.prototype.hasOwnProperty.call(E,B)&&(T=str(B,E),T&&I.push(quote(B)+(gap?": ":":")+T));return T=I.length===0?"{}":gap?`{
|
|
|
`+gap+I.join(`,
|
|
|
`+gap)+`
|
|
|
`+D+"}":"{"+I.join(",")+"}",gap=D,T}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(oe,V,e){var B;if(gap="",indent="",typeof e=="number")for(B=0;B<e;B+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=V,V&&typeof V!="function"&&(typeof V!="object"||typeof V.length!="number"))throw new Error("JSON.stringify");return str("",{"":oe})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(oe,V){var e,B,T=oe[V];if(T&&typeof T=="object")for(e in T)Object.prototype.hasOwnProperty.call(T,e)&&(B=walk(T,e),B!==void 0?T[e]=B:delete T[e]);return reviver.call(oe,V,T)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(oe){return"\\u"+("0000"+oe.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(oe,V,e){var B=e("+TT/"),T=e("bYtY"),w=e("4NO4"),D=w.groupData;function I(S,P,M){S.eachSeriesByType("sankey",function(R){var F=R.get("nodeWidth"),L=R.get("nodeGap"),U=E(R,P);R.layoutInfo=U;var N=U.width,Q=U.height,z=R.getGraph(),_=z.nodes,J=z.edges;f(_);var Y=T.filter(_,function(fe){return fe.getLayout().value===0}),k=Y.length!==0?0:R.get("layoutIterations"),W=R.get("orient"),ie=R.get("nodeAlign");C(_,J,F,L,N,Q,k,W,ie)})}function E(S,P){return B.getLayoutRect(S.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()})}function C(S,P,M,R,F,L,U,N,Q){t(S,P,M,F,L,N,Q),u(S,P,L,F,R,U,N),b(S,N)}function f(S){T.each(S,function(P){var M=x(P.outEdges,g),R=x(P.inEdges,g),F=P.getValue()||0,L=Math.max(M,R,F);P.setLayout({value:L},!0)})}function t(S,P,M,R,F,L,U){for(var N=[],Q=[],z=[],_=[],J=0,Y=0,k=0;k<P.length;k++)N[k]=1;for(k=0;k<S.length;k++)Q[k]=S[k].inEdges.length,Q[k]===0&&z.push(S[k]);for(var W=-1;z.length;){for(var ie=0;ie<z.length;ie++){var fe=z[ie],Ce=fe.hostGraph.data.getRawDataItem(fe.dataIndex),ge=Ce.depth!=null&&Ce.depth>=0;ge&&Ce.depth>W&&(W=Ce.depth),fe.setLayout({depth:ge?Ce.depth:J},!0),L==="vertical"?fe.setLayout({dy:M},!0):fe.setLayout({dx:M},!0);for(var de=0;de<fe.outEdges.length;de++){var Pe=fe.outEdges[de],_e=P.indexOf(Pe);N[_e]=0;var Ne=Pe.node2,He=S.indexOf(Ne);--Q[He]==0&&_.indexOf(Ne)<0&&_.push(Ne)}}++J,z=_,_=[]}for(k=0;k<N.length;k++)if(N[k]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ue=W>J-1?W:J-1;U&&U!=="left"&&s(S,U,L,ue);var Y=L==="vertical"?(F-M)/ue:(R-M)/ue;r(S,Y,L)}function i(S){var P=S.hostGraph.data.getRawDataItem(S.dataIndex);return P.depth!=null&&P.depth>=0}function s(S,P,M,R){if(P==="right"){for(var F=[],L=S,U=0;L.length;){for(var N=0;N<L.length;N++){var Q=L[N];Q.setLayout({skNodeHeight:U},!0);for(var z=0;z<Q.inEdges.length;z++){var _=Q.inEdges[z];F.indexOf(_.node1)<0&&F.push(_.node1)}}L=F,F=[],++U}T.each(S,function(J){i(J)||J.setLayout({depth:Math.max(0,R-J.getLayout().skNodeHeight)},!0)})}else P==="justify"&&o(S,R)}function o(S,P){T.each(S,function(M){!i(M)&&!M.outEdges.length&&M.setLayout({depth:P},!0)})}function r(S,P,M){T.each(S,function(R){var F=R.getLayout().depth*P;M==="vertical"?R.setLayout({y:F},!0):R.setLayout({x:F},!0)})}function u(S,P,M,R,F,L,U){var N=n(S,U);l(N,P,M,R,F,U),a(N,F,M,R,U);for(var Q=1;L>0;L--)Q*=.99,c(N,Q,U),a(N,F,M,R,U),m(N,Q,U),a(N,F,M,R,U)}function n(S,P){var M=[],R=P==="vertical"?"y":"x",F=D(S,function(L){return L.getLayout()[R]});return F.keys.sort(function(L,U){return L-U}),T.each(F.keys,function(L){M.push(F.buckets.get(L))}),M}function l(S,P,M,R,F,L){var U=Infinity;T.each(S,function(N){var Q=N.length,z=0;T.each(N,function(J){z+=J.getLayout().value});var _=L==="vertical"?(R-(Q-1)*F)/z:(M-(Q-1)*F)/z;_<U&&(U=_)}),T.each(S,function(N){T.each(N,function(Q,z){var _=Q.getLayout().value*U;L==="vertical"?(Q.setLayout({x:z},!0),Q.setLayout({dx:_},!0)):(Q.setLayout({y:z},!0),Q.setLayout({dy:_},!0))})}),T.each(P,function(N){var Q=+N.getValue()*U;N.setLayout({dy:Q},!0)})}function a(S,P,M,R,F){var L=F==="vertical"?"x":"y";T.each(S,function(U){U.sort(function(ie,fe){return ie.getLayout()[L]-fe.getLayout()[L]});for(var N,Q,z,_=0,J=U.length,Y=F==="vertical"?"dx":"dy",k=0;k<J;k++)Q=U[k],z=_-Q.getLayout()[L],z>0&&(N=Q.getLayout()[L]+z,F==="vertical"?Q.setLayout({x:N},!0):Q.setLayout({y:N},!0)),_=Q.getLayout()[L]+Q.getLayout()[Y]+P;var W=F==="vertical"?R:M;if(z=_-P-W,z>0)for(N=Q.getLayout()[L]-z,F==="vertical"?Q.setLayout({x:N},!0):Q.setLayout({y:N},!0),_=N,k=J-2;k>=0;--k)Q=U[k],z=Q.getLayout()[L]+Q.getLayout()[Y]+P-_,z>0&&(N=Q.getLayout()[L]-z,F==="vertical"?Q.setLayout({x:N},!0):Q.setLayout({y:N},!0)),_=Q.getLayout()[L]})}function c(S,P,M){T.each(S.slice().reverse(),function(R){T.each(R,function(F){if(F.outEdges.length){var L=x(F.outEdges,d,M)/x(F.outEdges,g,M);if(isNaN(L)){var U=F.outEdges.length;L=U?x(F.outEdges,h,M)/U:0}if(M==="vertical"){var N=F.getLayout().x+(L-v(F,M))*P;F.setLayout({x:N},!0)}else{var Q=F.getLayout().y+(L-v(F,M))*P;F.setLayout({y:Q},!0)}}})})}function d(S,P){return v(S.node2,P)*S.getValue()}function h(S,P){return v(S.node2,P)}function y(S,P){return v(S.node1,P)*S.getValue()}function A(S,P){return v(S.node1,P)}function v(S,P){return P==="vertical"?S.getLayout().x+S.getLayout().dx/2:S.getLayout().y+S.getLayout().dy/2}function g(S){return S.getValue()}function x(S,P,M){for(var R=0,F=S.length,L=-1;++L<F;){var U=+P.call(S,S[L],M);isNaN(U)||(R+=U)}return R}function m(S,P,M){T.each(S,function(R){T.each(R,function(F){if(F.inEdges.length){var L=x(F.inEdges,y,M)/x(F.inEdges,g,M);if(isNaN(L)){var U=F.inEdges.length;L=U?x(F.inEdges,A,M)/U:0}if(M==="vertical"){var N=F.getLayout().x+(L-v(F,M))*P;F.setLayout({x:N},!0)}else{var Q=F.getLayout().y+(L-v(F,M))*P;F.setLayout({y:Q},!0)}}})})}function b(S,P){var M=P==="vertical"?"x":"y";T.each(S,function(R){R.outEdges.sort(function(F,L){return F.node2.getLayout()[M]-L.node2.getLayout()[M]}),R.inEdges.sort(function(F,L){return F.node1.getLayout()[M]-L.node1.getLayout()[M]})}),T.each(S,function(R){var F=0,L=0;T.each(R.outEdges,function(U){U.setLayout({sy:F},!0),F+=U.getLayout().dy}),T.each(R.inEdges,function(U){U.setLayout({ty:L},!0),L+=U.getLayout().dy})})}oe.exports=I},"giR+":function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("QbM5"),D=e.n(w)},gut8:function(oe,V){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},B=9;V.ContextCachedBy=e,V.WILL_BE_RESTORED=B},gvm7:function(oe,V,e){var B=e("bYtY"),T=e("dqUG"),w=e("IwbS");function D(C,f,t,i){C[0]=t,C[1]=i,C[2]=C[0]/f.getWidth(),C[3]=C[1]/f.getHeight()}function I(C){var f=this._zr=C.getZr();this._styleCoord=[0,0,0,0],D(this._styleCoord,f,C.getWidth()/2,C.getHeight()/2),this._show=!1,this._hideTimeout}I.prototype={constructor:I,_enterable:!0,update:function(C){var f=C.get("alwaysShowContent");f&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var C=this._styleCoord[2],f=this._styleCoord[3],t=C*this._zr.getWidth(),i=f*this._zr.getHeight();this.moveTo(t,i)},show:function(C){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(C,f,t){this.el&&this._zr.remove(this.el);for(var i={},s=C,o="{marker",r="|}",u=s.indexOf(o);u>=0;){var n=s.indexOf(r),l=s.substr(u+o.length,n-u-o.length);l.indexOf("sub")>-1?i["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:f[l],textOffset:[3,0]}:i["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:f[l]},s=s.substr(n+1),u=s.indexOf("{marker")}var a=t.getModel("textStyle"),c=a.get("fontSize"),d=t.get("textLineHeight");d==null&&(d=Math.round(c*3/2)),this.el=new T({style:w.setTextStyle({},a,{rich:i,text:C,textBackgroundColor:t.get("backgroundColor"),textBorderRadius:t.get("borderRadius"),textFill:t.get("textStyle.color"),textPadding:t.get("padding"),textLineHeight:d}),z:t.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},setEnterable:function(C){this._enterable=C},getSize:function(){var C=this.el.getBoundingRect();return[C.width,C.height]},moveTo:function(C,f){if(this.el){var t=this._styleCoord;D(t,this._zr,C,f),this.el.attr("position",[t[0],t[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(C){this._show&&!(this._inContent&&this._enterable)&&(C?(this._hideDelay=C,this._show=!1,this._hideTimeout=setTimeout(B.bind(this.hide,this),C)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var C=this.getSize();return{width:C[0],height:C[1]}}};var E=I;oe.exports=E},gwTy:function(oe,V,e){},h54F:function(oe,V,e){var B=e("ProS"),T=e("YXkt"),w=e("bYtY"),D=e("4NO4"),I=D.defaultEmphasis,E=e("Qxkt"),C=e("7aKB"),f=C.encodeHTML,t=e("I3/A"),i=e("xKMd"),s=e("DDd/"),o=s.initCurvenessList,r=s.createEdgeMapForCurveness,u=B.extendSeriesModel({type:"series.graph",init:function(l){u.superApply(this,"init",arguments);var a=this;function c(){return a._categoriesData}this.legendVisualProvider=new i(c,c),this.fillDataTextStyle(l.edges||l.links),this._updateCategoriesData()},mergeOption:function(l){u.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(l.edges||l.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(l){u.superApply(this,"mergeDefaultAndTheme",arguments),I(l,["edgeLabel"],["show"])},getInitialData:function(l,a){var c=l.edges||l.links||[],d=l.data||l.nodes||[],h=this;if(d&&c){o(this);var y=t(d,c,this,!0,A);return w.each(y.edges,function(v){r(v.node1,v.node2,this,v.dataIndex)},this),y.data}function A(v,g){v.wrapMethod("getItemModel",function(M){var R=h._categoriesModels,F=M.getShallow("category"),L=R[F];return L&&(L.parentModel=M.parentModel,M.parentModel=L),M});var x=h.getModel("edgeLabel"),m=new E({label:x.option},x.parentModel,a),b=h.getModel("emphasis.edgeLabel"),S=new E({emphasis:{label:b.option}},b.parentModel,a);g.wrapMethod("getItemModel",function(M){return M.customizeGetParent(P),M});function P(M){return M=this.parsePath(M),M&&M[0]==="label"?m:M&&M[0]==="emphasis"&&M[1]==="label"?S:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(l,a,c){if(c==="edge"){var d=this.getData(),h=this.getDataParams(l,c),y=d.graph.getEdgeByIndex(l),A=d.getName(y.node1.dataIndex),v=d.getName(y.node2.dataIndex),g=[];return A!=null&&g.push(A),v!=null&&g.push(v),g=f(g.join(" > ")),h.value&&(g+=" : "+f(h.value)),g}else return u.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var l=w.map(this.option.categories||[],function(c){return c.value!=null?c:w.extend({value:0},c)}),a=new T(["value"],this);a.initData(l),this._categoriesData=a,this._categoriesModels=a.mapArray(function(c){return a.getItemModel(c,!0)})},setZoom:function(l){this.option.zoom=l},setCenter:function(l){this.option.center=l},isAnimationEnabled:function(){return u.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,opacity:.5},emphasis:{label:{show:!0}}}}),n=u;oe.exports=n},h7HQ:function(oe,V,e){var B=e("y+Vt"),T=e("T6xi"),w=B.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(I,E){T.buildPath(I,E,!0)}});oe.exports=w},h8O9:function(oe,V,e){var B=e("bYtY"),T=B.map,w=e("zM3Q"),D=e("7hqr"),I=D.isDimensionStacked;function E(C){return{seriesType:C,plan:w(),reset:function(f){var t=f.getData(),i=f.coordinateSystem,s=f.pipelineContext,o=s.large;if(!i)return;var r=T(i.dimensions,function(a){return t.mapDimension(a)}).slice(0,2),u=r.length,n=t.getCalculationInfo("stackResultDimension");I(t,r[0])&&(r[0]=n),I(t,r[1])&&(r[1]=n);function l(a,c){for(var d=a.end-a.start,h=o&&new Float32Array(d*u),y=a.start,A=0,v=[],g=[];y<a.end;y++){var x;if(u===1){var m=c.get(r[0],y);x=!isNaN(m)&&i.dataToPoint(m,null,g)}else{var m=v[0]=c.get(r[0],y),b=v[1]=c.get(r[1],y);x=!isNaN(m)&&!isNaN(b)&&i.dataToPoint(v,null,g)}o?(h[A++]=x?x[0]:NaN,h[A++]=x?x[1]:NaN):c.setItemLayout(y,x&&x.slice()||[NaN,NaN])}o&&c.setLayout("symbolPoints",h)}return u&&{progress:l}}}}oe.exports=E},hD7B:function(oe,V,e){var B=e("bYtY"),T=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function w(I){B.each(T,function(E){this[E]=B.bind(I[E],I)},this)}var D=w;oe.exports=D},hFmY:function(oe,V,e){var B=e("ProS"),T={type:"axisAreaSelect",event:"axisAreaSelected"};B.registerAction(T,function(w,D){D.eachComponent({mainType:"parallelAxis",query:w},function(I){I.axis.model.setActiveIntervals(w.intervals)})}),B.registerAction("parallelAxisExpand",function(w,D){D.eachComponent({mainType:"parallel",query:w},function(I){I.setAxisExpand(w)})})},hJvP:function(oe,V,e){var B=e("2dDv"),T=e("IDmD");function w(D,I){var E=[];return D.eachComponent("parallel",function(C,f){var t=new B(C,D,I);t.name="parallel_"+f,t.resize(C,I),C.coordinateSystem=t,t.model=C,E.push(t)}),D.eachSeries(function(C){if(C.get("coordinateSystem")==="parallel"){var f=D.queryComponents({mainType:"parallel",index:C.get("parallelIndex"),id:C.get("parallelId")})[0];C.coordinateSystem=f.coordinateSystem}}),E}T.register("parallel",{create:w})},hM6l:function(oe,V,e){var B=e("bYtY"),T=B.each,w=B.map,D=e("OELB"),I=D.linearMap,E=D.getPixelPrecision,C=D.round,f=e("4HMb"),t=f.createAxisTicks,i=f.createAxisLabels,s=f.calculateCategoryInterval,o=[0,1],r=function(a,c,d){this.dim=a,this.scale=c,this._extent=d||[0,0],this.inverse=!1,this.onBand=!1};r.prototype={constructor:r,contain:function(a){var c=this._extent,d=Math.min(c[0],c[1]),h=Math.max(c[0],c[1]);return a>=d&&a<=h},containData:function(a){return this.scale.contain(a)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(a){return E(a||this.scale.getExtent(),this._extent)},setExtent:function(a,c){var d=this._extent;d[0]=a,d[1]=c},dataToCoord:function(a,c){var d=this._extent,h=this.scale;return a=h.normalize(a),this.onBand&&h.type==="ordinal"&&(d=d.slice(),u(d,h.count())),I(a,o,d,c)},coordToData:function(a,c){var d=this._extent,h=this.scale;this.onBand&&h.type==="ordinal"&&(d=d.slice(),u(d,h.count()));var y=I(a,d,o,c);return this.scale.scale(y)},pointToData:function(a,c){},getTicksCoords:function(a){a=a||{};var c=a.tickModel||this.getTickModel(),d=t(this,c),h=d.ticks,y=w(h,function(v){return{coord:this.dataToCoord(v),tickValue:v}},this),A=c.get("alignWithLabel");return n(this,y,A,a.clamp),y},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var a=this.model.getModel("minorTick"),c=a.get("splitNumber");c>0&&c<100||(c=5);var d=this.scale.getMinorTicks(c),h=w(d,function(y){return w(y,function(A){return{coord:this.dataToCoord(A),tickValue:A}},this)},this);return h},getViewLabels:function(){return i(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var a=this._extent,c=this.scale.getExtent(),d=c[1]-c[0]+(this.onBand?1:0);d===0&&(d=1);var h=Math.abs(a[1]-a[0]);return Math.abs(h)/d},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function u(a,c){var d=a[1]-a[0],h=c,y=d/h/2;a[0]+=y,a[1]-=y}function n(a,c,d,h){var y=c.length;if(!a.onBand||d||!y)return;var A=a.getExtent(),v,g;if(y===1)c[0].coord=A[0],v=c[1]={coord:A[0]};else{var x=c[y-1].tickValue-c[0].tickValue,m=(c[y-1].coord-c[0].coord)/x;T(c,function(M){M.coord-=m/2});var b=a.scale.getExtent();g=1+b[1]-c[y-1].tickValue,v={coord:c[y-1].coord+m*g},c.push(v)}var S=A[0]>A[1];P(c[0].coord,A[0])&&(h?c[0].coord=A[0]:c.shift()),h&&P(A[0],c[0].coord)&&c.unshift({coord:A[0]}),P(A[1],v.coord)&&(h?v.coord=A[1]:c.pop()),h&&P(v.coord,A[1])&&c.push({coord:A[1]});function P(M,R){return M=C(M),R=C(R),S?M>R:M<R}}var l=r;oe.exports=l},hNWo:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("Qxkt"),D=e("4NO4"),I=D.isNameSpecified,E=e("Kagy"),C=E.legend.selector,f={all:{type:"all",title:T.clone(C.all)},inverse:{type:"inverse",title:T.clone(C.inverse)}},t=B.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,o,r){this.mergeDefaultAndTheme(s,r),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){t.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var o=s.selector;o===!0&&(o=s.selector=["all","inverse"]),T.isArray(o)&&T.each(o,function(r,u){T.isString(r)&&(r={type:r}),o[u]=T.merge(r,f[r.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var o=!1,r=0;r<s.length;r++){var u=s[r].get("name");if(this.isSelected(u)){this.select(u),o=!0;break}}!o&&this.select(s[0].get("name"))}},_updateData:function(s){var o=[],r=[];s.eachRawSeries(function(l){var a=l.name;r.push(a);var c;if(l.legendVisualProvider){var d=l.legendVisualProvider,h=d.getAllNames();s.isSeriesFiltered(l)||(r=r.concat(h)),h.length?o=o.concat(h):c=!0}else c=!0;c&&I(l)&&o.push(l.name)}),this._availableNames=r;var u=this.get("data")||o,n=T.map(u,function(l){return(typeof l=="string"||typeof l=="number")&&(l={name:l}),new w(l,this,this.ecModel)},this);this._data=n},getData:function(){return this._data},select:function(s){var o=this.option.selected,r=this.get("selectedMode");if(r==="single"){var u=this._data;T.each(u,function(n){o[n.get("name")]=!1})}o[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var o=this.option.selected;o.hasOwnProperty(s)||(o[s]=!0),this[o[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,o=this.option.selected;T.each(s,function(r){o[r.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,o=this.option.selected;T.each(s,function(r){var u=r.get("name",!0);o.hasOwnProperty(u)||(o[u]=!0),o[u]=!o[u]})},isSelected:function(s){var o=this.option.selected;return!(o.hasOwnProperty(s)&&!o[s])&&T.indexOf(this._availableNames,s)>=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}}}),i=t;oe.exports=i},hOwI:function(oe,V){var e=Math.log(2);function B(w,D,I,E,C,f){var t=E+"-"+C,i=w.length;if(f.hasOwnProperty(t))return f[t];if(D===1){var s=Math.round(Math.log((1<<i)-1&~C)/e);return w[I][s]}for(var o=E|1<<I,r=I+1;E&1<<r;)r++;for(var u=0,n=0,l=0;n<i;n++){var a=1<<n;a&C||(u+=(l%2?-1:1)*w[I][n]*B(w,D-1,r,o,C|a,f),l++)}return f[t]=u,u}function T(w,D){var I=[[w[0],w[1],1,0,0,0,-D[0]*w[0],-D[0]*w[1]],[0,0,0,w[0],w[1],1,-D[1]*w[0],-D[1]*w[1]],[w[2],w[3],1,0,0,0,-D[2]*w[2],-D[2]*w[3]],[0,0,0,w[2],w[3],1,-D[3]*w[2],-D[3]*w[3]],[w[4],w[5],1,0,0,0,-D[4]*w[4],-D[4]*w[5]],[0,0,0,w[4],w[5],1,-D[5]*w[4],-D[5]*w[5]],[w[6],w[7],1,0,0,0,-D[6]*w[6],-D[6]*w[7]],[0,0,0,w[6],w[7],1,-D[7]*w[6],-D[7]*w[7]]],E={},C=B(I,8,0,0,0,E);if(C!==0){for(var f=[],t=0;t<8;t++)for(var i=0;i<8;i++)f[i]==null&&(f[i]=0),f[i]+=((t+i)%2?-1:1)*B(I,7,t===0?1:0,1<<t,1<<i,E)/C*D[t];return function(s,o,r){var u=o*f[6]+r*f[7]+1;s[0]=(o*f[0]+r*f[1]+f[2])/u,s[1]=(o*f[3]+r*f[4]+f[5])/u}}}V.buildTransformer=T},hX1E:function(oe,V){var e=Math.PI*2;function B(T){return T%=e,T<0&&(T+=e),T}V.normalizeRadian=B},hi0g:function(oe,V,e){var B=e("bYtY"),T=B.createHashMap,w=B.each,D=B.isString,I=B.defaults,E=B.extend,C=B.isObject,f=B.clone,t=e("4NO4"),i=t.normalizeToArray,s=e("D5nY"),o=s.guessOrdinal,r=s.BE_ORDINAL,u=e("7G+c"),n=e("L0Ub"),l=n.OTHER_DIMENSIONS,a=e("Vi4m");function c(A,v,g){u.isInstance(v)||(v=u.seriesDataToSource(v)),g=g||{},A=(A||[]).slice();for(var x=(g.dimsDef||[]).slice(),m=T(),b=T(),S=[],P=d(v,A,x,g.dimCount),M=0;M<P;M++){var R=x[M]=E({},C(x[M])?x[M]:{name:x[M]}),F=R.name,L=S[M]=new a;F!=null&&m.get(F)==null&&(L.name=L.displayName=F,m.set(F,M)),R.type!=null&&(L.type=R.type),R.displayName!=null&&(L.displayName=R.displayName)}var U=g.encodeDef;!U&&g.encodeDefaulter&&(U=g.encodeDefaulter(v,P)),U=T(U),U.each(function(ie,fe){if(ie=i(ie).slice(),ie.length===1&&!D(ie[0])&&ie[0]<0){U.set(fe,!1);return}var Ce=U.set(fe,[]);w(ie,function(ge,de){D(ge)&&(ge=m.get(ge)),ge!=null&&ge<P&&(Ce[de]=ge,Q(S[ge],fe,de))})});var N=0;w(A,function(ie,fe){var Ce,ie,ge,de;if(D(ie))Ce=ie,ie={};else{Ce=ie.name;var Pe=ie.ordinalMeta;ie.ordinalMeta=null,ie=f(ie),ie.ordinalMeta=Pe,ge=ie.dimsDef,de=ie.otherDims,ie.name=ie.coordDim=ie.coordDimIndex=ie.dimsDef=ie.otherDims=null}var _e=U.get(Ce);if(_e!==!1){var _e=i(_e);if(!_e.length)for(var Ne=0;Ne<(ge&&ge.length||1);Ne++){for(;N<S.length&&S[N].coordDim!=null;)N++;N<S.length&&_e.push(N++)}w(_e,function(He,ue){var Re=S[He];if(Q(I(Re,ie),Ce,ue),Re.name==null&&ge){var nt=ge[ue];!C(nt)&&(nt={name:nt}),Re.name=Re.displayName=nt.name,Re.defaultTooltip=nt.defaultTooltip}de&&I(Re.otherDims,de)})}});function Q(ie,fe,Ce){l.get(fe)!=null?ie.otherDims[fe]=Ce:(ie.coordDim=fe,ie.coordDimIndex=Ce,b.set(fe,!0))}var z=g.generateCoord,_=g.generateCoordCount,J=_!=null;_=z?_||1:0;for(var Y=z||"value",k=0;k<P;k++){var L=S[k]=S[k]||new a,W=L.coordDim;W==null&&(L.coordDim=h(Y,b,J),L.coordDimIndex=0,(!z||_<=0)&&(L.isExtraCoord=!0),_--),L.name==null&&(L.name=h(L.coordDim,m)),L.type==null&&(o(v,k,L.name)===r.Must||L.isExtraCoord&&(L.otherDims.itemName!=null||L.otherDims.seriesName!=null))&&(L.type="ordinal")}return S}function d(A,v,g,x){var m=Math.max(A.dimensionsDetectCount||1,v.length,g.length,x||0);return w(v,function(b){var S=b.dimsDef;S&&(m=Math.max(m,S.length))}),m}function h(A,v,g){if(g||v.get(A)!=null){for(var x=0;v.get(A+x)!=null;)x++;A+=x}return v.set(A,!0),A}var y=c;oe.exports=y},hkKa:function(oe,V,e){"use strict";e.d(V,"a",function(){return D});var B=e("ODXe"),T=e("q1tI"),w=e.n(T);function D(){var I=T.useReducer(function(f){return f+1},0),E=Object(B.a)(I,2),C=E[1];return C}},hw6D:function(oe,V,e){var B=e("bYtY");function T(I){I.eachSeriesByType("radar",function(E){var C=E.getData(),f=[],t=E.coordinateSystem;if(!!t){var i=t.getIndicatorAxes();B.each(i,function(s,o){C.each(C.mapDimension(i[o].dim),function(r,u){f[u]=f[u]||[];var n=t.dataToPoint(r,o);f[u][o]=w(n)?n:D(t)})}),C.each(function(s){var o=B.find(f[s],function(r){return w(r)})||D(t);f[s].push(o.slice()),C.setItemLayout(s,f[s])})}})}function w(I){return!isNaN(I[0])&&!isNaN(I[1])}function D(I){return[I.cx,I.cy]}oe.exports=T},hydK:function(oe,V){var e="http://www.w3.org/2000/svg";function B(T){return document.createElementNS(e,T)}V.createElement=B},hyiK:function(oe,V){function e(B,T,w,D,I,E){if(E>T&&E>D||E<T&&E<D||D===T)return 0;var C=D<T?1:-1,f=(E-T)/(D-T);(f===1||f===0)&&(C=D<T?.5:-.5);var t=f*(w-B)+B;return t===I?Infinity:t>I?C:0}oe.exports=e},i38C:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=w.createHashMap,I=w.retrieve,E=w.each;function C(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=D(),this.categoryAxisMap=D(),this.firstCategoryDimIndex=null}function f(s){var o=s.get("coordinateSystem"),r=new C(o),u=t[o];if(u)return u(s,r,r.axisMap,r.categoryAxisMap),r}var t={cartesian2d:function(s,o,r,u){var n=s.getReferringComponents("xAxis")[0],l=s.getReferringComponents("yAxis")[0];o.coordSysDims=["x","y"],r.set("x",n),r.set("y",l),i(n)&&(u.set("x",n),o.firstCategoryDimIndex=0),i(l)&&(u.set("y",l),o.firstCategoryDimIndex==null&(o.firstCategoryDimIndex=1))},singleAxis:function(s,o,r,u){var n=s.getReferringComponents("singleAxis")[0];o.coordSysDims=["single"],r.set("single",n),i(n)&&(u.set("single",n),o.firstCategoryDimIndex=0)},polar:function(s,o,r,u){var n=s.getReferringComponents("polar")[0],l=n.findAxisModel("radiusAxis"),a=n.findAxisModel("angleAxis");o.coordSysDims=["radius","angle"],r.set("radius",l),r.set("angle",a),i(l)&&(u.set("radius",l),o.firstCategoryDimIndex=0),i(a)&&(u.set("angle",a),o.firstCategoryDimIndex==null&&(o.firstCategoryDimIndex=1))},geo:function(s,o,r,u){o.coordSysDims=["lng","lat"]},parallel:function(s,o,r,u){var n=s.ecModel,l=n.getComponent("parallel",s.get("parallelIndex")),a=o.coordSysDims=l.dimensions.slice();E(l.parallelAxisIndex,function(c,d){var h=n.getComponent("parallelAxis",c),y=a[d];r.set(y,h),i(h)&&o.firstCategoryDimIndex==null&&(u.set(y,h),o.firstCategoryDimIndex=d)})}};function i(s){return s.get("type")==="category"}V.getCoordSysInfoBySeries=f},i6bk:function(oe,V,e){"use strict";e.d(V,"b",function(){return B}),e.d(V,"a",function(){return T});function B(w){return w!=null&&w===w.window}function T(w,D){var I,E;if(typeof window=="undefined")return 0;var C=D?"scrollTop":"scrollLeft",f=0;return B(w)?f=w[D?"pageYOffset":"pageXOffset"]:w instanceof Document?f=w.documentElement[C]:(w instanceof HTMLElement||w)&&(f=w[C]),w&&!B(w)&&typeof f!="number"&&(f=(E=((I=w.ownerDocument)!==null&&I!==void 0?I:w).documentElement)===null||E===void 0?void 0:E[C]),f}},iLNv:function(oe,V){var e="\0__throttleOriginMethod",B="\0__throttleRate",T="\0__throttleType";function w(E,C,f){var t,i=0,s=0,o=null,r,u,n,l;C=C||0;function a(){s=new Date().getTime(),o=null,E.apply(u,n||[])}var c=function(){t=new Date().getTime(),u=this,n=arguments;var d=l||C,h=l||f;l=null,r=t-(h?i:s)-d,clearTimeout(o),h?o=setTimeout(a,d):r>=0?a():o=setTimeout(a,-r),i=t};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.debounceNextCall=function(d){l=d},c}function D(E,C,f,t){var i=E[C];if(!!i){var s=i[e]||i,o=i[T],r=i[B];if(r!==f||o!==t){if(f==null||!t)return E[C]=s;i=E[C]=w(s,f,t==="debounce"),i[e]=s,i[T]=t,i[B]=f}return i}}function I(E,C){var f=E[C];f&&f[e]&&(E[C]=f[e])}V.throttle=w,V.createOrUpdate=D,V.clear=I},iPDy:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=B.extendComponentView({type:"marker",init:function(){this.markerGroupMap=T.createHashMap()},render:function(D,I,E){var C=this.markerGroupMap;C.each(function(t){t.__keep=!1});var f=this.type+"Model";I.eachSeries(function(t){var i=t[f];i&&this.renderSeries(t,i,I,E)},this),C.each(function(t){!t.__keep&&this.group.remove(t.group)},this)},renderSeries:function(){}});oe.exports=w},iQDF:function(oe,V,e){"use strict";var B=e("ZTW2"),T=e.n(B),w=e("+L6B"),D=e("+BJd")},iRjW:function(oe,V,e){var B=e("bYtY"),T=e("Yl7c"),w=T.parseClassType,D=0;function I(f){return[f||"",D++,Math.random().toFixed(5)].join("_")}function E(f){var t={};return f.registerSubTypeDefaulter=function(i,s){i=w(i),t[i.main]=s},f.determineSubType=function(i,s){var o=s.type;if(!o){var r=w(i).main;f.hasSubTypes(i)&&t[r]&&(o=t[r](s))}return o},f}function C(f,t){f.topologicalTravel=function(r,u,n,l){if(!r.length)return;var a=i(u),c=a.graph,d=a.noEntryList,h={};for(B.each(r,function(m){h[m]=!0});d.length;){var y=d.pop(),A=c[y],v=!!h[y];v&&(n.call(l,y,A.originalDeps.slice()),delete h[y]),B.each(A.successor,v?x:g)}B.each(h,function(){throw new Error("Circle dependency may exists")});function g(m){c[m].entryCount--,c[m].entryCount===0&&d.push(m)}function x(m){h[m]=!0,g(m)}};function i(r){var u={},n=[];return B.each(r,function(l){var a=s(u,l),c=a.originalDeps=t(l),d=o(c,r);a.entryCount=d.length,a.entryCount===0&&n.push(l),B.each(d,function(h){B.indexOf(a.predecessor,h)<0&&a.predecessor.push(h);var y=s(u,h);B.indexOf(y.successor,h)<0&&y.successor.push(l)})}),{graph:u,noEntryList:n}}function s(r,u){return r[u]||(r[u]={predecessor:[],successor:[]}),r[u]}function o(r,u){var n=[];return B.each(r,function(l){B.indexOf(u,l)>=0&&n.push(l)}),n}}V.getUID=I,V.enableSubTypeDefaulter=E,V.enableTopologicalTravel=C},iXHM:function(oe,V){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var B={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};oe.exports=B},iXp4:function(oe,V,e){var B=e("ItGF"),T=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function w(D){return B.browser.ie&&B.browser.version>=11?function(){var I=this.__clipPaths,E=this.style,C;if(I)for(var f=0;f<I.length;f++){var t=I[f],i=t&&t.shape,s=t&&t.type;if(i&&(s==="sector"&&i.startAngle===i.endAngle||s==="rect"&&(!i.width||!i.height))){for(var o=0;o<T.length;o++)T[o][2]=E[T[o][0]],E[T[o][0]]=T[o][1];C=!0;break}}if(D.apply(this,arguments),C)for(var o=0;o<T.length;o++)E[T[o][0]]=T[o][2]}:D}oe.exports=w},ieMj:function(oe,V,e){var B=e("OELB"),T=e("7aKB"),w=e("4NgU"),D=e("lE7J"),I=B.round,E=w.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(f,t){var i=this._extent;isNaN(f)||(i[0]=parseFloat(f)),isNaN(t)||(i[1]=parseFloat(t))},unionExtent:function(f){var t=this._extent;f[0]<t[0]&&(t[0]=f[0]),f[1]>t[1]&&(t[1]=f[1]),E.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(f){this._interval=f,this._niceExtent=this._extent.slice(),this._intervalPrecision=D.getIntervalPrecision(f)},getTicks:function(f){var t=this._interval,i=this._extent,s=this._niceExtent,o=this._intervalPrecision,r=[];if(!t)return r;var u=1e4;i[0]<s[0]&&(f?r.push(I(s[0]-t,o)):r.push(i[0]));for(var n=s[0];n<=s[1]&&(r.push(n),n=I(n+t,o),n!==r[r.length-1]);)if(r.length>u)return[];var l=r.length?r[r.length-1]:s[1];return i[1]>l&&(f?r.push(I(l+t,o)):r.push(i[1])),r},getMinorTicks:function(f){for(var t=this.getTicks(!0),i=[],s=this.getExtent(),o=1;o<t.length;o++){for(var r=t[o],u=t[o-1],n=0,l=[],a=r-u,c=a/f;n<f-1;){var d=B.round(u+(n+1)*c);d>s[0]&&d<s[1]&&l.push(d),n++}i.push(l)}return i},getLabel:function(f,t){if(f==null)return"";var i=t&&t.precision;return i==null?i=B.getPrecisionSafe(f)||0:i==="auto"&&(i=this._intervalPrecision),f=I(f,i,!0),T.addCommas(f)},niceTicks:function(f,t,i){f=f||5;var s=this._extent,o=s[1]-s[0];if(!!isFinite(o)){o<0&&(o=-o,s.reverse());var r=D.intervalScaleNiceTicks(s,f,t,i);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},niceExtent:function(f){var t=this._extent;if(t[0]===t[1])if(t[0]!==0){var i=t[0];f.fixMax||(t[1]+=i/2),t[0]-=i/2}else t[1]=1;var s=t[1]-t[0];isFinite(s)||(t[0]=0,t[1]=1),this.niceTicks(f.splitNumber,f.minInterval,f.maxInterval);var o=this._interval;f.fixMin||(t[0]=I(Math.floor(t[0]/o)*o)),f.fixMax||(t[1]=I(Math.ceil(t[1]/o)*o))}});E.create=function(){return new E};var C=E;oe.exports=C},j5sG:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.createSensor=void 0;var B=T(e("NohK"));function T(D){return D&&D.__esModule?D:{default:D}}var w=function(I){var E=void 0,C=[],f=(0,B.default)(function(){C.forEach(function(r){r(I)})}),t=function(){var u=new ResizeObserver(f);return u.observe(I),f(),u},i=function(u){E||(E=t()),C.indexOf(u)===-1&&C.push(u)},s=function(){E.disconnect(),C=[],E=void 0},o=function(u){var n=C.indexOf(u);n!==-1&&C.splice(n,1),C.length===0&&E&&s()};return{element:I,bind:i,destroy:s,unbind:o}};V.createSensor=w},jCWc:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("1GLa")},jCoz:function(oe,V,e){var B=e("bYtY"),T=e("4NgU"),w=e("OELB"),D=e("ieMj"),I=T.prototype,E=D.prototype,C=w.getPrecisionSafe,f=w.round,t=Math.floor,i=Math.ceil,s=Math.pow,o=Math.log,r=T.extend({type:"log",base:10,$constructor:function(){T.apply(this,arguments),this._originalScale=new D},getTicks:function(l){var a=this._originalScale,c=this._extent,d=a.getExtent();return B.map(E.getTicks.call(this,l),function(h){var y=w.round(s(this.base,h));return y=h===c[0]&&a.__fixMin?u(y,d[0]):y,y=h===c[1]&&a.__fixMax?u(y,d[1]):y,y},this)},getMinorTicks:E.getMinorTicks,getLabel:E.getLabel,scale:function(l){return l=I.scale.call(this,l),s(this.base,l)},setExtent:function(l,a){var c=this.base;l=o(l)/o(c),a=o(a)/o(c),E.setExtent.call(this,l,a)},getExtent:function(){var l=this.base,a=I.getExtent.call(this);a[0]=s(l,a[0]),a[1]=s(l,a[1]);var c=this._originalScale,d=c.getExtent();return c.__fixMin&&(a[0]=u(a[0],d[0])),c.__fixMax&&(a[1]=u(a[1],d[1])),a},unionExtent:function(l){this._originalScale.unionExtent(l);var a=this.base;l[0]=o(l[0])/o(a),l[1]=o(l[1])/o(a),I.unionExtent.call(this,l)},unionExtentFromData:function(l,a){this.unionExtent(l.getApproximateExtent(a))},niceTicks:function(l){l=l||10;var a=this._extent,c=a[1]-a[0];if(!(c===Infinity||c<=0)){var d=w.quantity(c),h=l/c*d;for(h<=.5&&(d*=10);!isNaN(d)&&Math.abs(d)<1&&Math.abs(d)>0;)d*=10;var y=[w.round(i(a[0]/d)*d),w.round(t(a[1]/d)*d)];this._interval=d,this._niceExtent=y}},niceExtent:function(l){E.niceExtent.call(this,l);var a=this._originalScale;a.__fixMin=l.fixMin,a.__fixMax=l.fixMax}});B.each(["contain","normalize"],function(l){r.prototype[l]=function(a){return a=o(a)/o(this.base),I[l].call(this,a)}}),r.create=function(){return new r};function u(l,a){return f(l,C(a))}var n=r;oe.exports=n},jTL6:function(oe,V,e){var B=e("y+Vt"),T=B.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(D,I){var E=I.cx,C=I.cy,f=Math.max(I.r,0),t=I.startAngle,i=I.endAngle,s=I.clockwise,o=Math.cos(t),r=Math.sin(t);D.moveTo(o*f+E,r*f+C),D.arc(E,C,f,t,i,!s)}});oe.exports=T},je13:function(oe,V,e){var B=e("5nXd"),T=e("gRFJ"),w=[e("uQRt")];oe.exports=B.createStore(T,w)},jett:function(oe,V,e){var B=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var T=e("mOdp"),w=e("f5Yq"),D=e("hw6D"),I=e("0/Rx"),E=e("eJH7");B.registerVisual(T("radar")),B.registerVisual(w("radar","circle")),B.registerLayout(D),B.registerProcessor(I("radar")),B.registerPreprocessor(E)},jhfD:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="ArrowLeftOutlined";var C=V.a=T.forwardRef(E)},jkPA:function(oe,V,e){var B=e("bYtY"),T=B.createHashMap,w=B.isObject,D=B.map;function I(i){this.categories=i.categories||[],this._needCollect=i.needCollect,this._deduplication=i.deduplication,this._map}I.createByAxisModel=function(i){var s=i.option,o=s.data,r=o&&D(o,f);return new I({categories:r,needCollect:!r,deduplication:s.dedplication!==!1})};var E=I.prototype;E.getOrdinal=function(i){return C(this).get(i)},E.parseAndCollect=function(i){var s,o=this._needCollect;if(typeof i!="string"&&!o)return i;if(o&&!this._deduplication)return s=this.categories.length,this.categories[s]=i,s;var r=C(this);return s=r.get(i),s==null&&(o?(s=this.categories.length,this.categories[s]=i,r.set(i,s)):s=NaN),s};function C(i){return i._map||(i._map=T(i.categories))}function f(i){return w(i)&&i.value!=null?i.value:i+""}var t=I;oe.exports=t},jndi:function(oe,V,e){var B=e("bYtY"),T=e("Qe9p"),w=e("YXkt"),D=e("OELB"),I=e("IwbS"),E=e("kj2x"),C=e("iPDy"),f=function(n,l,a,c){var d=E.dataTransform(n,c[0]),h=E.dataTransform(n,c[1]),y=B.retrieve,A=d.coord,v=h.coord;A[0]=y(A[0],-Infinity),A[1]=y(A[1],-Infinity),v[0]=y(v[0],Infinity),v[1]=y(v[1],Infinity);var g=B.mergeAll([{},d,h]);return g.coord=[d.coord,h.coord],g.x0=d.x,g.y0=d.y,g.x1=h.x,g.y1=h.y,g};function t(n){return!isNaN(n)&&!isFinite(n)}function i(n,l,a,c){var d=1-n;return t(l[d])&&t(a[d])}function s(n,l){var a=l.coord[0],c=l.coord[1];return n.type==="cartesian2d"&&a&&c&&(i(1,a,c,n)||i(0,a,c,n))?!0:E.dataFilter(n,{coord:a,x:l.x0,y:l.y0})||E.dataFilter(n,{coord:c,x:l.x1,y:l.y1})}function o(n,l,a,c,d){var h=c.coordinateSystem,y=n.getItemModel(l),A,v=D.parsePercent(y.get(a[0]),d.getWidth()),g=D.parsePercent(y.get(a[1]),d.getHeight());if(!isNaN(v)&&!isNaN(g))A=[v,g];else{if(c.getMarkerPosition)A=c.getMarkerPosition(n.getValues(a,l));else{var x=n.get(a[0],l),m=n.get(a[1],l),b=[x,m];h.clampData&&h.clampData(b,b),A=h.dataToPoint(b,!0)}if(h.type==="cartesian2d"){var S=h.getAxis("x"),P=h.getAxis("y"),x=n.get(a[0],l),m=n.get(a[1],l);t(x)?A[0]=S.toGlobalCoord(S.getExtent()[a[0]==="x0"?0:1]):t(m)&&(A[1]=P.toGlobalCoord(P.getExtent()[a[1]==="y0"?0:1]))}isNaN(v)||(A[0]=v),isNaN(g)||(A[1]=g)}return A}var r=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];C.extend({type:"markArea",updateTransform:function(n,l,a){l.eachSeries(function(c){var d=c.markAreaModel;if(d){var h=d.getData();h.each(function(y){var A=B.map(r,function(g){return o(h,y,g,c,a)});h.setItemLayout(y,A);var v=h.getItemGraphicEl(y);v.setShape("points",A)})}},this)},renderSeries:function(n,l,a,c){var d=n.coordinateSystem,h=n.id,y=n.getData(),A=this.markerGroupMap,v=A.get(h)||A.set(h,{group:new I.Group});this.group.add(v.group),v.__keep=!0;var g=u(d,n,l);l.setData(g),g.each(function(x){var m=B.map(r,function(S){return o(g,x,S,n,c)}),b=!0;B.each(r,function(S){if(!!b){var P=g.get(S[0],x),M=g.get(S[1],x);(t(P)||d.getAxis("x").containData(P))&&(t(M)||d.getAxis("y").containData(M))&&(b=!1)}}),g.setItemLayout(x,{points:m,allClipped:b}),g.setItemVisual(x,{color:y.getVisual("color")})}),g.diff(v.__data).add(function(x){var m=g.getItemLayout(x);if(!m.allClipped){var b=new I.Polygon({shape:{points:m.points}});g.setItemGraphicEl(x,b),v.group.add(b)}}).update(function(x,m){var b=v.__data.getItemGraphicEl(m),S=g.getItemLayout(x);S.allClipped?b&&v.group.remove(b):(b?I.updateProps(b,{shape:{points:S.points}},l,x):b=new I.Polygon({shape:{points:S.points}}),g.setItemGraphicEl(x,b),v.group.add(b))}).remove(function(x){var m=v.__data.getItemGraphicEl(x);v.group.remove(m)}).execute(),g.eachItemGraphicEl(function(x,m){var b=g.getItemModel(m),S=b.getModel("label"),P=b.getModel("emphasis.label"),M=g.getItemVisual(m,"color");x.useStyle(B.defaults(b.getModel("itemStyle").getItemStyle(),{fill:T.modifyAlpha(M,.4),stroke:M})),x.hoverStyle=b.getModel("emphasis.itemStyle").getItemStyle(),I.setLabelStyle(x.style,x.hoverStyle,S,P,{labelFetcher:l,labelDataIndex:m,defaultText:g.getName(m)||"",isRectText:!0,autoColor:M}),I.setHoverStyle(x,{}),x.dataModel=l}),v.__data=g,v.group.silent=l.get("silent")||n.get("silent")}});function u(n,l,a){var c,d,h=["x0","y0","x1","y1"];n?(c=B.map(n&&n.dimensions,function(v){var g=l.getData(),x=g.getDimensionInfo(g.mapDimension(v))||{};return B.defaults({name:v},x)}),d=new w(B.map(h,function(v,g){return{name:v,type:c[g%2].type}}),a)):(c=[{name:"value",type:"float"}],d=new w(c,a));var y=B.map(a.get("data"),B.curry(f,l,n,a));n&&(y=B.filter(y,B.curry(s,n)));var A=n?function(v,g,x,m){return v.coord[Math.floor(m/2)][m%2]}:function(v){return v.value};return d.initData(y,null,A),d.hasItemOption=!0,d}},"jsU+":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IUWy"),D=B.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){D.superApply(this,"optionUpdated",arguments),T.each(this.option.feature,function(E,C){var f=w.get(C);f&&T.merge(E,f.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}}}),I=D;oe.exports=I},jtI2:function(oe,V,e){e("SMc4");var B=e("bLfw"),T=B.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"}});oe.exports=T},juDX:function(oe,V,e){e("P47w");var B=e("aX58"),T=B.registerPainter,w=e("3CBa");T("svg",w)},k5C7:function(oe,V,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(oe,V){var e="original",B="arrayRows",T="objectRows",w="keyedColumns",D="unknown",I="typedArray",E="column",C="row";V.SOURCE_FORMAT_ORIGINAL=e,V.SOURCE_FORMAT_ARRAY_ROWS=B,V.SOURCE_FORMAT_OBJECT_ROWS=T,V.SOURCE_FORMAT_KEYED_COLUMNS=w,V.SOURCE_FORMAT_UNKNOWN=D,V.SOURCE_FORMAT_TYPED_ARRAY=I,V.SERIES_LAYOUT_BY_COLUMN=E,V.SERIES_LAYOUT_BY_ROW=C},kDyi:function(oe,V){function e(B){var T=B.findComponents({mainType:"legend"});T&&T.length&&B.filterSeries(function(w){for(var D=0;D<T.length;D++)if(!T[D].isSelected(w.name))return!1;return!0})}oe.exports=e},kMLO:function(oe,V,e){var B=e("XxSj"),T=e("Qe9p"),w=e("bYtY"),D=w.isArray,I="itemStyle",E={seriesType:"treemap",reset:function(n,l,a,c){var d=n.getData().tree,h=d.root;h.isRemoved()||C(h,{},n.getViewRoot().getAncestors(),n)}};function C(n,l,a,c){var d=n.getModel(),h=n.getLayout();if(!(!h||h.invisible||!h.isInView)){var y=n.getModel(I),A=f(y,l,c),v=y.get("borderColor"),g=y.get("borderColorSaturation"),x;g!=null&&(x=t(A,n),v=i(g,x)),n.setVisual("borderColor",v);var m=n.viewChildren;if(!m||!m.length)x=t(A,n),n.setVisual("color",x);else{var b=o(n,d,h,y,A,m);w.each(m,function(S,P){if(S.depth>=a.length||S===a[S.depth]){var M=u(d,A,S,P,b,c);C(S,M,a,c)}})}}}function f(n,l,a){var c=w.extend({},l),d=a.designatedVisualItemStyle;return w.each(["color","colorAlpha","colorSaturation"],function(h){d[h]=l[h];var y=n.get(h);d[h]=null,y!=null&&(c[h]=y)}),c}function t(n){var l=s(n,"color");if(l){var a=s(n,"colorAlpha"),c=s(n,"colorSaturation");return c&&(l=T.modifyHSL(l,null,null,c)),a&&(l=T.modifyAlpha(l,a)),l}}function i(n,l){return l!=null?T.modifyHSL(l,null,null,n):null}function s(n,l){var a=n[l];if(a!=null&&a!=="none")return a}function o(n,l,a,c,d,h){if(!(!h||!h.length)){var y=r(l,"color")||d.color!=null&&d.color!=="none"&&(r(l,"colorAlpha")||r(l,"colorSaturation"));if(!!y){var A=l.get("visualMin"),v=l.get("visualMax"),g=a.dataExtent.slice();A!=null&&A<g[0]&&(g[0]=A),v!=null&&v>g[1]&&(g[1]=v);var x=l.get("colorMappingBy"),m={type:y.name,dataExtent:g,visual:y.range};m.type==="color"&&(x==="index"||x==="id")?(m.mappingMethod="category",m.loop=!0):m.mappingMethod="linear";var b=new B(m);return b.__drColorMappingBy=x,b}}}function r(n,l){var a=n.get(l);return D(a)&&a.length?{name:l,range:a}:null}function u(n,l,a,c,d,h){var y=w.extend({},l);if(d){var A=d.type,v=A==="color"&&d.__drColorMappingBy,g=v==="index"?c:v==="id"?h.mapIdToIndex(a.getId()):a.getValue(n.get("visualDimension"));y[A]=d.mapValueToVisual(g)}return y}oe.exports=E},kPKH:function(oe,V,e){"use strict";var B=e("/kpp");V.a=B.a},kaz8:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("TSYQ"),D=e.n(w),I=e("+6Fa"),E=e("q1tI"),C=e("H84U"),f=e("ihLV"),t=e("KQm4"),i=e("ODXe"),s=e("bT9E"),o=function(g,x){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&x.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(g);S<b.length;S++)x.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(g,b[S])&&(m[b[S]]=g[b[S]]);return m},r=E.createContext(null),u=function(x,m){var b=x.defaultValue,S=x.children,P=x.options,M=P===void 0?[]:P,R=x.prefixCls,F=x.className,L=x.style,U=x.onChange,N=o(x,["defaultValue","children","options","prefixCls","className","style","onChange"]),Q=E.useContext(C.b),z=Q.getPrefixCls,_=Q.direction,J=E.useState(N.value||b||[]),Y=Object(i.a)(J,2),k=Y[0],W=Y[1],ie=E.useState([]),fe=Object(i.a)(ie,2),Ce=fe[0],ge=fe[1];E.useEffect(function(){"value"in N&&W(N.value||[])},[N.value]);var de=function(){return M.map(function(dt){return typeof dt=="string"||typeof dt=="number"?{label:dt,value:dt}:dt})},Pe=function(dt){ge(function(et){return et.filter(function(At){return At!==dt})})},_e=function(dt){ge(function(et){return[].concat(Object(t.a)(et),[dt])})},Ne=function(dt){var et=k.indexOf(dt.value),At=Object(t.a)(k);et===-1?At.push(dt.value):At.splice(et,1),"value"in N||W(At);var Dt=de();U==null||U(At.filter(function(Ft){return Ce.includes(Ft)}).sort(function(Ft,St){var $e=Dt.findIndex(function(Ut){return Ut.value===Ft}),lt=Dt.findIndex(function(Ut){return Ut.value===St});return $e-lt}))},He=z("checkbox",R),ue="".concat(He,"-group"),Re=Object(s.a)(N,["value","disabled"]);M&&M.length>0&&(S=de().map(function(Ge){return E.createElement(y,{prefixCls:He,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:N.disabled,value:Ge.value,checked:k.includes(Ge.value),onChange:Ge.onChange,className:"".concat(ue,"-item"),style:Ge.style},Ge.label)}));var nt={toggleOption:Ne,value:k,disabled:N.disabled,name:N.name,registerValue:_e,cancelValue:Pe},Ve=D()(ue,Object(B.a)({},"".concat(ue,"-rtl"),_==="rtl"),F);return E.createElement("div",Object(T.a)({className:Ve,style:L},Re,{ref:m}),E.createElement(r.Provider,{value:nt},S))},n=E.forwardRef(u),l=E.memo(n),a=e("caoh"),c=function(g,x){var m={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&x.indexOf(b)<0&&(m[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(g);S<b.length;S++)x.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(g,b[S])&&(m[b[S]]=g[b[S]]);return m},d=function(x,m){var b,S,P=x.prefixCls,M=x.className,R=x.children,F=x.indeterminate,L=F===void 0?!1:F,U=x.style,N=x.onMouseEnter,Q=x.onMouseLeave,z=x.skipGroup,_=z===void 0?!1:z,J=x.disabled,Y=c(x,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),k=E.useContext(C.b),W=k.getPrefixCls,ie=k.direction,fe=E.useContext(r),Ce=Object(E.useContext)(f.b),ge=Ce.isFormItemInput,de=Object(E.useContext)(a.b),Pe=(S=(fe==null?void 0:fe.disabled)||J)!==null&&S!==void 0?S:de,_e=E.useRef(Y.value);E.useEffect(function(){fe==null||fe.registerValue(Y.value)},[]),E.useEffect(function(){if(!_)return Y.value!==_e.current&&(fe==null||fe.cancelValue(_e.current),fe==null||fe.registerValue(Y.value),_e.current=Y.value),function(){return fe==null?void 0:fe.cancelValue(Y.value)}},[Y.value]);var Ne=W("checkbox",P),He=Object(T.a)({},Y);fe&&!_&&(He.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),fe.toggleOption&&fe.toggleOption({label:R,value:Y.value})},He.name=fe.name,He.checked=fe.value.includes(Y.value));var ue=D()((b={},Object(B.a)(b,"".concat(Ne,"-wrapper"),!0),Object(B.a)(b,"".concat(Ne,"-rtl"),ie==="rtl"),Object(B.a)(b,"".concat(Ne,"-wrapper-checked"),He.checked),Object(B.a)(b,"".concat(Ne,"-wrapper-disabled"),Pe),Object(B.a)(b,"".concat(Ne,"-wrapper-in-form-item"),ge),b),M),Re=D()(Object(B.a)({},"".concat(Ne,"-indeterminate"),L)),nt=L?"mixed":void 0;return E.createElement("label",{className:ue,style:U,onMouseEnter:N,onMouseLeave:Q},E.createElement(I.a,Object(T.a)({"aria-checked":nt},He,{prefixCls:Ne,className:Re,disabled:Pe,ref:m})),R!==void 0&&E.createElement("span",null,R))},h=E.forwardRef(d),y=h,A=y;A.Group=l,A.__ANT_CHECKBOX=!0;var v=V.a=A},kj2x:function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=e("7hqr"),D=w.isDimensionStacked,I=B.indexOf;function E(a){return!(isNaN(parseFloat(a.x))&&isNaN(parseFloat(a.y)))}function C(a){return!isNaN(parseFloat(a.x))&&!isNaN(parseFloat(a.y))}function f(a,c,d,h,y,A){var v=[],g=D(c,h),x=g?c.getCalculationInfo("stackResultDimension"):h,m=l(c,x,a),b=c.indicesOfNearest(x,m)[0];v[y]=c.get(d,b),v[A]=c.get(x,b);var S=c.get(h,b),P=T.getPrecision(c.get(h,b));return P=Math.min(P,20),P>=0&&(v[A]=+v[A].toFixed(P)),[v,S]}var t=B.curry,i={min:t(f,"min"),max:t(f,"max"),average:t(f,"average")};function s(a,c){var d=a.getData(),h=a.coordinateSystem;if(c&&!C(c)&&!B.isArray(c.coord)&&h){var y=h.dimensions,A=o(c,d,h,a);if(c=B.clone(c),c.type&&i[c.type]&&A.baseAxis&&A.valueAxis){var v=I(y,A.baseAxis.dim),g=I(y,A.valueAxis.dim),x=i[c.type](d,A.baseDataDim,A.valueDataDim,v,g);c.coord=x[0],c.value=x[1]}else{for(var m=[c.xAxis!=null?c.xAxis:c.radiusAxis,c.yAxis!=null?c.yAxis:c.angleAxis],b=0;b<2;b++)i[m[b]]&&(m[b]=l(d,d.mapDimension(y[b]),m[b]));c.coord=m}}return c}function o(a,c,d,h){var y={};return a.valueIndex!=null||a.valueDim!=null?(y.valueDataDim=a.valueIndex!=null?c.getDimension(a.valueIndex):a.valueDim,y.valueAxis=d.getAxis(r(h,y.valueDataDim)),y.baseAxis=d.getOtherAxis(y.valueAxis),y.baseDataDim=c.mapDimension(y.baseAxis.dim)):(y.baseAxis=h.getBaseAxis(),y.valueAxis=d.getOtherAxis(y.baseAxis),y.baseDataDim=c.mapDimension(y.baseAxis.dim),y.valueDataDim=c.mapDimension(y.valueAxis.dim)),y}function r(a,c){var d=a.getData(),h=d.dimensions;c=d.getDimension(c);for(var y=0;y<h.length;y++){var A=d.getDimensionInfo(h[y]);if(A.name===c)return A.coordDim}}function u(a,c){return a&&a.containData&&c.coord&&!E(c)?a.containData(c.coord):!0}function n(a,c,d,h){return h<2?a.coord&&a.coord[h]:a.value}function l(a,c,d){if(d==="average"){var h=0,y=0;return a.each(c,function(A,v){isNaN(A)||(h+=A,y++)}),h/y}else return d==="median"?a.getMedian(c):a.getDataExtent(c,!0)[d==="max"?1:0]}V.dataTransform=s,V.getAxisInfo=o,V.dataFilter=u,V.dimValueGetter=n,V.numCalculate=l},knOB:function(oe,V,e){var B=e("bYtY"),T=e("hM6l");function w(I,E){T.call(this,"radius",I,E),this.type="category"}w.prototype={constructor:w,pointToData:function(I,E){return this.polar.pointToData(I,E)[this.dim==="radius"?0:1]},dataToRadius:T.prototype.dataToCoord,radiusToData:T.prototype.coordToData},B.inherits(w,T);var D=w;oe.exports=D},ko1b:function(oe,V,e){var B=e("bYtY"),T=e("T4UG"),w=e("Bsck"),D=e("Qxkt"),I=e("7aKB"),E=I.encodeHTML,C=I.addCommas,f=e("VaxA"),t=f.wrapTreePathInfo,i=T.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(r,u){var n={name:r.name,children:r.data};s(n);var l=r.levels||[],a=this.designatedVisualItemStyle={},c=new D({itemStyle:a},this,u);l=r.levels=o(l,u);var d=B.map(l||[],function(A){return new D(A,c,u)},this),h=w.createTree(n,this,y);function y(A){A.wrapMethod("getItemModel",function(v,g){var x=h.getNodeByDataIndex(g),m=d[x.depth];return v.parentModel=m||c,v})}return h.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(r){var u=this.getData(),n=this.getRawValue(r),l=B.isArray(n)?C(n[0]):C(n),a=u.getName(r);return E(a+": "+l)},getDataParams:function(r){var u=T.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(r);return u.treePathInfo=t(n,this),u},setLayoutInfo:function(r){this.layoutInfo=this.layoutInfo||{},B.extend(this.layoutInfo,r)},mapIdToIndex:function(r){var u=this._idIndexMap;u||(u=this._idIndexMap=B.createHashMap(),this._idIndexMapCount=0);var n=u.get(r);return n==null&&u.set(r,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(r){r?this._viewRoot=r:r=this._viewRoot;var u=this.getRawData().tree.root;(!r||r!==u&&!u.contains(r))&&(this._viewRoot=u)}});function s(r){var u=0;B.each(r.children,function(l){s(l);var a=l.value;B.isArray(a)&&(a=a[0]),u+=a});var n=r.value;B.isArray(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=u),n<0&&(n=0),B.isArray(r.value)?r.value[0]=n:r.value=n}function o(r,u){var n=u.get("color");if(!!n){r=r||[];var l;if(B.each(r,function(c){var d=new D(c),h=d.get("color");(d.get("itemStyle.color")||h&&h!=="none")&&(l=!0)}),!l){var a=r[0]||(r[0]={});a.color=n.slice()}return r}}oe.exports=i},kzFp:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0});var B=V.pick=function(w,D){var I={};return D.forEach(function(E){I[E]=w[E]}),I}},kzvK:function(oe,V,e){var B=e("sS/r"),T=B.extend({type:"timeline"});oe.exports=T},"l+S1":function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="SearchOutlined";var C=V.a=T.forwardRef(E)},lE7J:function(oe,V,e){var B=e("OELB"),T=B.round;function w(C,f,t,i){var s={},o=C[1]-C[0],r=s.interval=B.nice(o/f,!0);t!=null&&r<t&&(r=s.interval=t),i!=null&&r>i&&(r=s.interval=i);var u=s.intervalPrecision=D(r),n=s.niceTickExtent=[T(Math.ceil(C[0]/r)*r,u),T(Math.floor(C[1]/r)*r,u)];return E(n,C),s}function D(C){return B.getPrecisionSafe(C)+2}function I(C,f,t){C[f]=Math.max(Math.min(C[f],t[1]),t[0])}function E(C,f){!isFinite(C[0])&&(C[0]=f[0]),!isFinite(C[1])&&(C[1]=f[1]),I(C,0,f),I(C,1,f),C[0]>C[1]&&(C[0]=C[1])}V.intervalScaleNiceTicks=w,V.getIntervalPrecision=D,V.fixExtent=E},lELe:function(oe,V,e){var B=e("bYtY");function T(w){var D=[];B.each(w.series,function(I){I&&I.type==="map"&&(D.push(I),I.map=I.map||I.mapType,B.defaults(I,I.mapLocation))})}oe.exports=T},lLGD:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("nVfU"),D=w.layout,I=w.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),B.registerLayout(B.PRIORITY.VISUAL.LAYOUT,T.curry(D,"bar")),B.registerLayout(B.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,I),B.registerVisual({seriesType:"bar",reset:function(E){E.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(oe,V,e){var B=e("QBsz"),T=e("U/Mo"),w=T.getSymbolSize,D=T.getNodeGlobalScale,I=e("bYtY"),E=e("DDd/"),C=E.getCurvenessForEdge,f=Math.PI,t=[];function i(o,r){var u=o.coordinateSystem;if(!(u&&u.type!=="view")){var n=u.getBoundingRect(),l=o.getData(),a=l.graph,c=n.width/2+n.x,d=n.height/2+n.y,h=Math.min(n.width,n.height)/2,y=l.count();l.setLayout({cx:c,cy:d}),!!y&&(s[r](o,u,a,l,h,c,d,y),a.eachEdge(function(A,v){var g=I.retrieve3(A.getModel().get("lineStyle.curveness"),C(A,o,v),0),x=B.clone(A.node1.getLayout()),m=B.clone(A.node2.getLayout()),b,S=(x[0]+m[0])/2,P=(x[1]+m[1])/2;+g&&(g*=3,b=[c*g+S*(1-g),d*g+P*(1-g)]),A.setLayout([x,m,b])}))}}var s={value:function(o,r,u,n,l,a,c,d){var h=0,y=n.getSum("value"),A=Math.PI*2/(y||d);u.eachNode(function(v){var g=v.getValue("value"),x=A*(y?g:1)/2;h+=x,v.setLayout([l*Math.cos(h)+a,l*Math.sin(h)+c]),h+=x})},symbolSize:function(o,r,u,n,l,a,c,d){var h=0;t.length=d;var y=D(o);u.eachNode(function(g){var x=w(g);isNaN(x)&&(x=2),x<0&&(x=0),x*=y;var m=Math.asin(x/2/l);isNaN(m)&&(m=f/2),t[g.dataIndex]=m,h+=m*2});var A=(2*f-h)/d/2,v=0;u.eachNode(function(g){var x=A+t[g.dataIndex];v+=x,g.setLayout([l*Math.cos(v)+a,l*Math.sin(v)+c]),v+=x})}};V.circularLayout=i},lZu9:function(oe,V,e){(function(B){B(e("VrN/"),e("1eCo"),e("8EBN"))})(function(B){"use strict";B.defineMode("markdown",function(T,w){var D=B.getMode(T,"text/html"),I=D.name=="null";function E(z){if(B.findModeByName){var _=B.findModeByName(z);_&&(z=_.mime||_.mimes[0])}var J=B.getMode(T,z);return J.name=="null"?null:J}w.highlightFormatting===void 0&&(w.highlightFormatting=!1),w.maxBlockquoteDepth===void 0&&(w.maxBlockquoteDepth=0),w.taskLists===void 0&&(w.taskLists=!1),w.strikethrough===void 0&&(w.strikethrough=!1),w.emoji===void 0&&(w.emoji=!1),w.fencedCodeBlockHighlighting===void 0&&(w.fencedCodeBlockHighlighting=!0),w.fencedCodeBlockDefaultMode===void 0&&(w.fencedCodeBlockDefaultMode="text/plain"),w.xml===void 0&&(w.xml=!0),w.tokenTypeOverrides===void 0&&(w.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 f in C)C.hasOwnProperty(f)&&w.tokenTypeOverrides[f]&&(C[f]=w.tokenTypeOverrides[f]);var t=/^([*\-_])(?:\s*\1){2,}\s*$/,i=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,o=w.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,r=/^ {0,3}(?:\={1,}|-{2,})\s*$/,u=/^[^#!\[\]*_\\<>` "'(~:]+/,n=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,l=/^\s*\[[^\]]+?\]:.*$/,a=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,c=" ";function d(z,_,J){return _.f=_.inline=J,J(z,_)}function h(z,_,J){return _.f=_.block=J,J(z,_)}function y(z){return!z||!/\S/.test(z.string)}function A(z){if(z.linkTitle=!1,z.linkHref=!1,z.linkText=!1,z.em=!1,z.strong=!1,z.strikethrough=!1,z.quote=0,z.indentedCode=!1,z.f==g){var _=I;if(!_){var J=B.innerMode(D,z.htmlState);_=J.mode.name=="xml"&&J.state.tagStart===null&&!J.state.context&&J.state.tokenize.isInText}_&&(z.f=S,z.block=v,z.htmlState=null)}return z.trailingSpace=0,z.trailingSpaceNewLine=!1,z.prevLine=z.thisLine,z.thisLine={stream:null},null}function v(z,_){var J=z.column()===_.indentation,Y=y(_.prevLine.stream),k=_.indentedCode,W=_.prevLine.hr,ie=_.list!==!1,fe=(_.listStack[_.listStack.length-1]||0)+3;_.indentedCode=!1;var Ce=_.indentation;if(_.indentationDiff===null&&(_.indentationDiff=_.indentation,ie)){for(_.list=null;Ce<_.listStack[_.listStack.length-1];)_.listStack.pop(),_.listStack.length?_.indentation=_.listStack[_.listStack.length-1]:_.list=!1;_.list!==!1&&(_.indentationDiff=Ce-_.listStack[_.listStack.length-1])}var ge=!Y&&!W&&!_.prevLine.header&&(!ie||!k)&&!_.prevLine.fencedCodeEnd,de=(_.list===!1||W||Y)&&_.indentation<=fe&&z.match(t),Pe=null;if(_.indentationDiff>=4&&(k||_.prevLine.fencedCodeEnd||_.prevLine.header||Y))return z.skipToEnd(),_.indentedCode=!0,C.code;if(z.eatSpace())return null;if(J&&_.indentation<=fe&&(Pe=z.match(o))&&Pe[1].length<=6)return _.quote=0,_.header=Pe[1].length,_.thisLine.header=!0,w.highlightFormatting&&(_.formatting="header"),_.f=_.inline,m(_);if(_.indentation<=fe&&z.eat(">"))return _.quote=J?1:_.quote+1,w.highlightFormatting&&(_.formatting="quote"),z.eatSpace(),m(_);if(!de&&!_.setext&&J&&_.indentation<=fe&&(Pe=z.match(i))){var _e=Pe[1]?"ol":"ul";return _.indentation=Ce+z.current().length,_.list=!0,_.quote=0,_.listStack.push(_.indentation),_.em=!1,_.strong=!1,_.code=!1,_.strikethrough=!1,w.taskLists&&z.match(s,!1)&&(_.taskList=!0),_.f=_.inline,w.highlightFormatting&&(_.formatting=["list","list-"+_e]),m(_)}else{if(J&&_.indentation<=fe&&(Pe=z.match(n,!0)))return _.quote=0,_.fencedEndRE=new RegExp(Pe[1]+"+ *$"),_.localMode=w.fencedCodeBlockHighlighting&&E(Pe[2]||w.fencedCodeBlockDefaultMode),_.localMode&&(_.localState=B.startState(_.localMode)),_.f=_.block=x,w.highlightFormatting&&(_.formatting="code-block"),_.code=-1,m(_);if(_.setext||(!ge||!ie)&&!_.quote&&_.list===!1&&!_.code&&!de&&!l.test(z.string)&&(Pe=z.lookAhead(1))&&(Pe=Pe.match(r)))return _.setext?(_.header=_.setext,_.setext=0,z.skipToEnd(),w.highlightFormatting&&(_.formatting="header")):(_.header=Pe[0].charAt(0)=="="?1:2,_.setext=_.header),_.thisLine.header=!0,_.f=_.inline,m(_);if(de)return z.skipToEnd(),_.hr=!0,_.thisLine.hr=!0,C.hr;if(z.peek()==="[")return d(z,_,L)}return d(z,_,_.inline)}function g(z,_){var J=D.token(z,_.htmlState);if(!I){var Y=B.innerMode(D,_.htmlState);(Y.mode.name=="xml"&&Y.state.tagStart===null&&!Y.state.context&&Y.state.tokenize.isInText||_.md_inside&&z.current().indexOf(">")>-1)&&(_.f=S,_.block=v,_.htmlState=null)}return J}function x(z,_){var J=_.listStack[_.listStack.length-1]||0,Y=_.indentation<J,k=J+3;if(_.fencedEndRE&&_.indentation<=k&&(Y||z.match(_.fencedEndRE))){w.highlightFormatting&&(_.formatting="code-block");var W;return Y||(W=m(_)),_.localMode=_.localState=null,_.block=v,_.f=S,_.fencedEndRE=null,_.code=0,_.thisLine.fencedCodeEnd=!0,Y?h(z,_,_.block):W}else return _.localMode?_.localMode.token(z,_.localState):(z.skipToEnd(),C.code)}function m(z){var _=[];if(z.formatting){_.push(C.formatting),typeof z.formatting=="string"&&(z.formatting=[z.formatting]);for(var J=0;J<z.formatting.length;J++)_.push(C.formatting+"-"+z.formatting[J]),z.formatting[J]==="header"&&_.push(C.formatting+"-"+z.formatting[J]+"-"+z.header),z.formatting[J]==="quote"&&(!w.maxBlockquoteDepth||w.maxBlockquoteDepth>=z.quote?_.push(C.formatting+"-"+z.formatting[J]+"-"+z.quote):_.push("error"))}if(z.taskOpen)return _.push("meta"),_.length?_.join(" "):null;if(z.taskClosed)return _.push("property"),_.length?_.join(" "):null;if(z.linkHref?_.push(C.linkHref,"url"):(z.strong&&_.push(C.strong),z.em&&_.push(C.em),z.strikethrough&&_.push(C.strikethrough),z.emoji&&_.push(C.emoji),z.linkText&&_.push(C.linkText),z.code&&_.push(C.code),z.image&&_.push(C.image),z.imageAltText&&_.push(C.imageAltText,"link"),z.imageMarker&&_.push(C.imageMarker)),z.header&&_.push(C.header,C.header+"-"+z.header),z.quote&&(_.push(C.quote),!w.maxBlockquoteDepth||w.maxBlockquoteDepth>=z.quote?_.push(C.quote+"-"+z.quote):_.push(C.quote+"-"+w.maxBlockquoteDepth)),z.list!==!1){var Y=(z.listStack.length-1)%3;Y?Y===1?_.push(C.list2):_.push(C.list3):_.push(C.list1)}return z.trailingSpaceNewLine?_.push("trailing-space-new-line"):z.trailingSpace&&_.push("trailing-space-"+(z.trailingSpace%2?"a":"b")),_.length?_.join(" "):null}function b(z,_){if(z.match(u,!0))return m(_)}function S(z,_){var J=_.text(z,_);if(typeof J!="undefined")return J;if(_.list)return _.list=null,m(_);if(_.taskList){var Y=z.match(s,!0)[1]===" ";return Y?_.taskOpen=!0:_.taskClosed=!0,w.highlightFormatting&&(_.formatting="task"),_.taskList=!1,m(_)}if(_.taskOpen=!1,_.taskClosed=!1,_.header&&z.match(/^#+$/,!0))return w.highlightFormatting&&(_.formatting="header"),m(_);var k=z.next();if(_.linkTitle){_.linkTitle=!1;var W=k;k==="("&&(W=")"),W=(W+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var ie="^\\s*(?:[^"+W+"\\\\]+|\\\\\\\\|\\\\.)"+W;if(z.match(new RegExp(ie),!0))return C.linkHref}if(k==="`"){var fe=_.formatting;w.highlightFormatting&&(_.formatting="code"),z.eatWhile("`");var Ce=z.current().length;if(_.code==0&&(!_.quote||Ce==1))return _.code=Ce,m(_);if(Ce==_.code){var ge=m(_);return _.code=0,ge}else return _.formatting=fe,m(_)}else if(_.code)return m(_);if(k==="\\"&&(z.next(),w.highlightFormatting)){var de=m(_),Pe=C.formatting+"-escape";return de?de+" "+Pe:Pe}if(k==="!"&&z.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return _.imageMarker=!0,_.image=!0,w.highlightFormatting&&(_.formatting="image"),m(_);if(k==="["&&_.imageMarker&&z.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return _.imageMarker=!1,_.imageAltText=!0,w.highlightFormatting&&(_.formatting="image"),m(_);if(k==="]"&&_.imageAltText){w.highlightFormatting&&(_.formatting="image");var de=m(_);return _.imageAltText=!1,_.image=!1,_.inline=_.f=M,de}if(k==="["&&!_.image)return _.linkText&&z.match(/^.*?\]/)||(_.linkText=!0,w.highlightFormatting&&(_.formatting="link")),m(_);if(k==="]"&&_.linkText){w.highlightFormatting&&(_.formatting="link");var de=m(_);return _.linkText=!1,_.inline=_.f=z.match(/\(.*?\)| ?\[.*?\]/,!1)?M:S,de}if(k==="<"&&z.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){_.f=_.inline=P,w.highlightFormatting&&(_.formatting="link");var de=m(_);return de?de+=" ":de="",de+C.linkInline}if(k==="<"&&z.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){_.f=_.inline=P,w.highlightFormatting&&(_.formatting="link");var de=m(_);return de?de+=" ":de="",de+C.linkEmail}if(w.xml&&k==="<"&&z.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var _e=z.string.indexOf(">",z.pos);if(_e!=-1){var Ne=z.string.substring(z.start,_e);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ne)&&(_.md_inside=!0)}return z.backUp(1),_.htmlState=B.startState(D),h(z,_,g)}if(w.xml&&k==="<"&&z.match(/^\/\w*?>/))return _.md_inside=!1,"tag";if(k==="*"||k==="_"){for(var He=1,ue=z.pos==1?" ":z.string.charAt(z.pos-2);He<3&&z.eat(k);)He++;var Re=z.peek()||" ",nt=!/\s/.test(Re)&&(!a.test(Re)||/\s/.test(ue)||a.test(ue)),Ve=!/\s/.test(ue)&&(!a.test(ue)||/\s/.test(Re)||a.test(Re)),Ge=null,dt=null;if(He%2&&(!_.em&&nt&&(k==="*"||!Ve||a.test(ue))?Ge=!0:_.em==k&&Ve&&(k==="*"||!nt||a.test(Re))&&(Ge=!1)),He>1&&(!_.strong&&nt&&(k==="*"||!Ve||a.test(ue))?dt=!0:_.strong==k&&Ve&&(k==="*"||!nt||a.test(Re))&&(dt=!1)),dt!=null||Ge!=null){w.highlightFormatting&&(_.formatting=Ge==null?"strong":dt==null?"em":"strong em"),Ge===!0&&(_.em=k),dt===!0&&(_.strong=k);var ge=m(_);return Ge===!1&&(_.em=!1),dt===!1&&(_.strong=!1),ge}}else if(k===" "&&(z.eat("*")||z.eat("_"))){if(z.peek()===" ")return m(_);z.backUp(1)}if(w.strikethrough){if(k==="~"&&z.eatWhile(k)){if(_.strikethrough){w.highlightFormatting&&(_.formatting="strikethrough");var ge=m(_);return _.strikethrough=!1,ge}else if(z.match(/^[^\s]/,!1))return _.strikethrough=!0,w.highlightFormatting&&(_.formatting="strikethrough"),m(_)}else if(k===" "&&z.match("~~",!0)){if(z.peek()===" ")return m(_);z.backUp(2)}}if(w.emoji&&k===":"&&z.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){_.emoji=!0,w.highlightFormatting&&(_.formatting="emoji");var et=m(_);return _.emoji=!1,et}return k===" "&&(z.match(/^ +$/,!1)?_.trailingSpace++:_.trailingSpace&&(_.trailingSpaceNewLine=!0)),m(_)}function P(z,_){var J=z.next();if(J===">"){_.f=_.inline=S,w.highlightFormatting&&(_.formatting="link");var Y=m(_);return Y?Y+=" ":Y="",Y+C.linkInline}return z.match(/^[^>]+/,!0),C.linkInline}function M(z,_){if(z.eatSpace())return null;var J=z.next();return J==="("||J==="["?(_.f=_.inline=F(J==="("?")":"]"),w.highlightFormatting&&(_.formatting="link-string"),_.linkHref=!0,m(_)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function F(z){return function(_,J){var Y=_.next();if(Y===z){J.f=J.inline=S,w.highlightFormatting&&(J.formatting="link-string");var k=m(J);return J.linkHref=!1,k}return _.match(R[z]),J.linkHref=!0,m(J)}}function L(z,_){return z.match(/^([^\]\\]|\\.)*\]:/,!1)?(_.f=U,z.next(),w.highlightFormatting&&(_.formatting="link"),_.linkText=!0,m(_)):d(z,_,S)}function U(z,_){if(z.match("]:",!0)){_.f=_.inline=N,w.highlightFormatting&&(_.formatting="link");var J=m(_);return _.linkText=!1,J}return z.match(/^([^\]\\]|\\.)+/,!0),C.linkText}function N(z,_){return z.eatSpace()?null:(z.match(/^[^\s]+/,!0),z.peek()===void 0?_.linkTitle=!0:z.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),_.f=_.inline=S,C.linkHref+" url")}var Q={startState:function(){return{f:v,prevLine:{stream:null},thisLine:{stream:null},block:v,htmlState:null,indentation:0,inline:S,text:b,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(_){return{f:_.f,prevLine:_.prevLine,thisLine:_.thisLine,block:_.block,htmlState:_.htmlState&&B.copyState(D,_.htmlState),indentation:_.indentation,localMode:_.localMode,localState:_.localMode?B.copyState(_.localMode,_.localState):null,inline:_.inline,text:_.text,formatting:!1,linkText:_.linkText,linkTitle:_.linkTitle,linkHref:_.linkHref,code:_.code,em:_.em,strong:_.strong,strikethrough:_.strikethrough,emoji:_.emoji,header:_.header,setext:_.setext,hr:_.hr,taskList:_.taskList,list:_.list,listStack:_.listStack.slice(0),quote:_.quote,indentedCode:_.indentedCode,trailingSpace:_.trailingSpace,trailingSpaceNewLine:_.trailingSpaceNewLine,md_inside:_.md_inside,fencedEndRE:_.fencedEndRE}},token:function(_,J){if(J.formatting=!1,_!=J.thisLine.stream){if(J.header=0,J.hr=!1,_.match(/^\s*$/,!0))return A(J),null;if(J.prevLine=J.thisLine,J.thisLine={stream:_},J.taskList=!1,J.trailingSpace=0,J.trailingSpaceNewLine=!1,!J.localState&&(J.f=J.block,J.f!=g)){var Y=_.match(/^\s*/,!0)[0].replace(/\t/g,c).length;if(J.indentation=Y,J.indentationDiff=null,Y>0)return null}}return J.f(_,J)},innerMode:function(_){return _.block==g?{state:_.htmlState,mode:D}:_.localState?{state:_.localState,mode:_.localMode}:{state:_,mode:Q}},indent:function(_,J,Y){return _.block==g&&D.indent?D.indent(_.htmlState,J,Y):_.localState&&_.localMode.indent?_.localMode.indent(_.localState,J,Y):B.Pass},blankLine:A,getType:m,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Q},"xml"),B.defineMIME("text/markdown","markdown"),B.defineMIME("text/x-markdown","markdown")})},laiN:function(oe,V,e){var B=e("ProS");e("GVMX"),e("MH26"),B.registerPreprocessor(function(T){T.markLine=T.markLine||{}})},lnY3:function(oe,V,e){},loD1:function(oe,V){function e(B,T,w,D,I,E,C){if(I===0)return!1;var f=I,t=0,i=B;if(C>T+f&&C>D+f||C<T-f&&C<D-f||E>B+f&&E>w+f||E<B-f&&E<w-f)return!1;if(B!==w)t=(T-D)/(B-w),i=(B*D-w*T)/(B-w);else return Math.abs(E-B)<=f/2;var s=t*E-C+i,o=s*s/(t*t+1);return o<=f/2*f/2}V.containStroke=e},lrIw:function(oe,V,e){"use strict";var B=e("wx14"),T=e("U8pU"),w=e("ODXe"),D=e("TSYQ"),I=e.n(D),E=e("Zm9Q"),C=e("bT9E"),f=e("q1tI"),t=e.n(f),i=e("H84U"),s=e("2fM7"),o=e("0n0R"),r=s.a.Option;function u(a){return a&&a.type&&(a.type.isSelectOption||a.type.isSelectOptGroup)}var n=function(c,d){var h=c.prefixCls,y=c.className,A=c.popupClassName,v=c.dropdownClassName,g=c.children,x=c.dataSource,m=Object(E.a)(g),b;if(m.length===1&&Object(o.c)(m[0])&&!u(m[0])){var S=Object(w.a)(m,1);b=S[0]}var P=b?function(){return b}:void 0,M;return m.length&&u(m[0])?M=g:M=x?x.map(function(R){if(Object(o.c)(R))return R;switch(Object(T.a)(R)){case"string":return f.createElement(r,{key:R,value:R},R);case"object":{var F=R.value;return f.createElement(r,{key:F,value:F},R.text)}default:return}}):[],f.createElement(i.a,null,function(R){var F=R.getPrefixCls,L=F("select",h);return f.createElement(s.a,Object(B.a)({ref:d},Object(C.a)(c,["dataSource"]),{prefixCls:L,popupClassName:A||v,className:I()("".concat(L,"-auto-complete"),y),mode:s.a.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:P}),M)})},l=f.forwardRef(n);l.Option=r,V.a=l},lwQL:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("9wZj"),D=e("c8qY"),I=e("SgGq"),E=e("Ae+d"),C=e("xSat"),f=C.onIrrelevantElement,t=e("IwbS"),i=e("SA8n"),s=e("U/Mo"),o=s.getNodeGlobalScale,r="__focusNodeAdjacency",u="__unfocusNodeAdjacency",n=["itemStyle","opacity"],l=["lineStyle","opacity"];function a(y,A){var v=y.getVisual("opacity");return v!=null?v:y.getModel().get(A)}function c(y,A,v){var g=y.getGraphicEl(),x=a(y,A);v!=null&&(x==null&&(x=1),x*=v),g.downplay&&g.downplay(),g.traverse(function(m){if(!m.isGroup){var b=m.lineLabelOriginalOpacity;(b==null||v!=null)&&(b=x),m.setStyle("opacity",b)}})}function d(y,A){var v=a(y,A),g=y.getGraphicEl();g.traverse(function(x){!x.isGroup&&x.setStyle("opacity",v)}),g.highlight&&g.highlight()}var h=B.extendChartView({type:"graph",init:function(y,A){var v=new w,g=new D,x=this.group;this._controller=new I(A.getZr()),this._controllerHost={target:x},x.add(v.group),x.add(g.group),this._symbolDraw=v,this._lineDraw=g,this._firstRender=!0},render:function(y,A,v){var g=this,x=y.coordinateSystem;this._model=y;var m=this._symbolDraw,b=this._lineDraw,S=this.group;if(x.type==="view"){var P={position:x.position,scale:x.scale};this._firstRender?S.attr(P):t.updateProps(S,P,y)}i(y.getGraph(),o(y));var M=y.getData();m.updateData(M);var R=y.getEdgeData();b.updateData(R),this._updateNodeAndLinkScale(),this._updateController(y,A,v),clearTimeout(this._layoutTimeout);var F=y.forceLayout,L=y.get("force.layoutAnimation");F&&this._startForceLayoutIteration(F,L),M.eachItemGraphicEl(function(z,_){var J=M.getItemModel(_);z.off("drag").off("dragend");var Y=J.get("draggable");Y&&z.on("drag",function(){F&&(F.warmUp(),!this._layouting&&this._startForceLayoutIteration(F,L),F.setFixed(_),M.setItemLayout(_,z.position))},this).on("dragend",function(){F&&F.setUnfixed(_)},this),z.setDraggable(Y&&F),z[r]&&z.off("mouseover",z[r]),z[u]&&z.off("mouseout",z[u]),J.get("focusNodeAdjacency")&&(z.on("mouseover",z[r]=function(){g._clearTimer(),v.dispatchAction({type:"focusNodeAdjacency",seriesId:y.id,dataIndex:z.dataIndex})}),z.on("mouseout",z[u]=function(){g._dispatchUnfocus(v)}))},this),M.graph.eachEdge(function(z){var _=z.getGraphicEl();_[r]&&_.off("mouseover",_[r]),_[u]&&_.off("mouseout",_[u]),z.getModel().get("focusNodeAdjacency")&&(_.on("mouseover",_[r]=function(){g._clearTimer(),v.dispatchAction({type:"focusNodeAdjacency",seriesId:y.id,edgeDataIndex:z.dataIndex})}),_.on("mouseout",_[u]=function(){g._dispatchUnfocus(v)}))});var U=y.get("layout")==="circular"&&y.get("circular.rotateLabel"),N=M.getLayout("cx"),Q=M.getLayout("cy");M.eachItemGraphicEl(function(z,_){var J=M.getItemModel(_),Y=J.get("label.rotate")||0,k=z.getSymbolPath();if(U){var W=M.getItemLayout(_),ie=Math.atan2(W[1]-Q,W[0]-N);ie<0&&(ie=Math.PI*2+ie);var fe=W[0]<N;fe&&(ie=ie-Math.PI);var Ce=fe?"left":"right";t.modifyLabelStyle(k,{textRotation:-ie,textPosition:Ce,textOrigin:"center"},{textPosition:Ce})}else t.modifyLabelStyle(k,{textRotation:Y*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(y,A){var v=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){v._unfocusDelayTimer=null,y.dispatchAction({type:"unfocusNodeAdjacency",seriesId:v._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(y,A,v,g){var x=y.getData(),m=x.graph,b=g.dataIndex,S=g.edgeDataIndex,P=m.getNodeByIndex(b),M=m.getEdgeByIndex(S);!P&&!M||(m.eachNode(function(R){c(R,n,.1)}),m.eachEdge(function(R){c(R,l,.1)}),P&&(d(P,n),T.each(P.edges,function(R){R.dataIndex<0||(d(R,l),d(R.node1,n),d(R.node2,n))})),M&&(d(M,l),d(M.node1,n),d(M.node2,n)))},unfocusNodeAdjacency:function(y,A,v,g){var x=y.getData().graph;x.eachNode(function(m){c(m,n)}),x.eachEdge(function(m){c(m,l)})},_startForceLayoutIteration:function(y,A){var v=this;(function g(){y.step(function(x){v.updateLayout(v._model),(v._layouting=!x)&&(A?v._layoutTimeout=setTimeout(g,16):g())})})()},_updateController:function(y,A,v){var g=this._controller,x=this._controllerHost,m=this.group;if(g.setPointerChecker(function(b,S,P){var M=m.getBoundingRect();return M.applyTransform(m.transform),M.contain(S,P)&&!f(b,v,y)}),y.coordinateSystem.type!=="view"){g.disable();return}g.enable(y.get("roam")),x.zoomLimit=y.get("scaleLimit"),x.zoom=y.coordinateSystem.getZoom(),g.off("pan").off("zoom").on("pan",function(b){E.updateViewOnPan(x,b.dx,b.dy),v.dispatchAction({seriesId:y.id,type:"graphRoam",dx:b.dx,dy:b.dy})}).on("zoom",function(b){E.updateViewOnZoom(x,b.scale,b.originX,b.originY),v.dispatchAction({seriesId:y.id,type:"graphRoam",zoom:b.scale,originX:b.originX,originY:b.originY}),this._updateNodeAndLinkScale(),i(y.getGraph(),o(y)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var y=this._model,A=y.getData(),v=o(y),g=[v,v];A.eachItemGraphicEl(function(x,m){x.attr("scale",g)})},updateLayout:function(y){i(y.getGraph(),o(y)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(y,A){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});oe.exports=h},m0LI:function(oe,V){function e(B,T){var w=B==null?null:typeof Symbol!="undefined"&&B[Symbol.iterator]||B["@@iterator"];if(w!=null){var D=[],I=!0,E=!1,C,f;try{for(w=w.call(B);!(I=(C=w.next()).done)&&(D.push(C.value),!(T&&D.length===T));I=!0);}catch(t){E=!0,f=t}finally{try{!I&&w.return!=null&&w.return()}finally{if(E)throw f}}return D}}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},m9t5:function(oe,V,e){var B=e("KCsZ"),T=B([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),w={getAreaStyle:function(D,I){return T(this,D,I)}};oe.exports=w},mFDi:function(oe,V,e){var B=e("QBsz"),T=e("Fofx"),w=B.applyTransform,D=Math.min,I=Math.max;function E(f,t,i,s){i<0&&(f=f+i,i=-i),s<0&&(t=t+s,s=-s),this.x=f,this.y=t,this.width=i,this.height=s}E.prototype={constructor:E,union:function(t){var i=D(t.x,this.x),s=D(t.y,this.y);this.width=I(t.x+t.width,this.x+this.width)-i,this.height=I(t.y+t.height,this.y+this.height)-s,this.x=i,this.y=s},applyTransform:function(){var f=[],t=[],i=[],s=[];return function(o){if(!!o){f[0]=i[0]=this.x,f[1]=s[1]=this.y,t[0]=s[0]=this.x+this.width,t[1]=i[1]=this.y+this.height,w(f,f,o),w(t,t,o),w(i,i,o),w(s,s,o),this.x=D(f[0],t[0],i[0],s[0]),this.y=D(f[1],t[1],i[1],s[1]);var r=I(f[0],t[0],i[0],s[0]),u=I(f[1],t[1],i[1],s[1]);this.width=r-this.x,this.height=u-this.y}}}(),calculateTransform:function(t){var i=this,s=t.width/i.width,o=t.height/i.height,r=T.create();return T.translate(r,r,[-i.x,-i.y]),T.scale(r,r,[s,o]),T.translate(r,r,[t.x,t.y]),r},intersect:function(t){if(!t)return!1;t instanceof E||(t=E.create(t));var i=this,s=i.x,o=i.x+i.width,r=i.y,u=i.y+i.height,n=t.x,l=t.x+t.width,a=t.y,c=t.y+t.height;return!(o<n||l<s||u<a||c<r)},contain:function(t,i){var s=this;return t>=s.x&&t<=s.x+s.width&&i>=s.y&&i<=s.y+s.height},clone:function(){return new E(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},E.create=function(f){return new E(f.x,f.y,f.width,f.height)};var C=E;oe.exports=C},mLcG:function(oe,V){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(B){setTimeout(B,16)};oe.exports=e},mOdp:function(oe,V,e){var B=e("bYtY"),T=B.createHashMap;function w(D){return{getTargetSeries:function(I){var E={},C=T();return I.eachSeriesByType(D,function(f){f.__paletteScope=E,C.set(f.uid,f)}),C},reset:function(I,E){var C=I.getRawData(),f={},t=I.getData();t.each(function(i){var s=t.getRawIndex(i);f[s]=i}),C.each(function(i){var s=f[i],o=s!=null&&t.getItemVisual(s,"color",!0),r=s!=null&&t.getItemVisual(s,"borderColor",!0),u;if((!o||!r)&&(u=C.getItemModel(i)),!o){var n=u.get("itemStyle.color")||I.getColorFromPalette(C.getName(i)||i+"",I.__paletteScope,C.count());s!=null&&t.setItemVisual(s,"color",n)}if(!r){var l=u.get("itemStyle.borderColor");s!=null&&t.setItemVisual(s,"borderColor",l)}})}}}oe.exports=w},mYwL:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("6GrX"),D=Math.PI;function I(E,C){C=C||{},B.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 f=new T.Group,t=new T.Rect({style:{fill:C.maskColor},zlevel:C.zlevel,z:1e4});f.add(t);var i=C.fontSize+" sans-serif",s=new T.Rect({style:{fill:"none",text:C.text,font:i,textPosition:"right",textDistance:10,textFill:C.textColor},zlevel:C.zlevel,z:10001});if(f.add(s),C.showSpinner){var o=new T.Arc({shape:{startAngle:-D/2,endAngle:-D/2+.1,r:C.spinnerRadius},style:{stroke:C.color,lineCap:"round",lineWidth:C.lineWidth},zlevel:C.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:D*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:D*3/2}).delay(300).start("circularInOut"),f.add(o)}return f.resize=function(){var r=w.getWidth(C.text,i),u=C.showSpinner?C.spinnerRadius:0,n=(E.getWidth()-u*2-(C.showSpinner&&r?10:0)-r)/2-(C.showSpinner?0:r/2),l=E.getHeight()/2;C.showSpinner&&o.setShape({cx:n,cy:l}),s.setShape({x:n-u,y:l-u,width:u*2,height:u*2}),t.setShape({x:0,y:0,width:E.getWidth(),height:E.getHeight()})},f.resize(),f}oe.exports=I},mmNF:function(oe,V){var e={utf8:{stringToBytes:function(T){return e.bin.stringToBytes(unescape(encodeURIComponent(T)))},bytesToString:function(T){return decodeURIComponent(escape(e.bin.bytesToString(T)))}},bin:{stringToBytes:function(T){for(var w=[],D=0;D<T.length;D++)w.push(T.charCodeAt(D)&255);return w},bytesToString:function(T){for(var w=[],D=0;D<T.length;D++)w.push(String.fromCharCode(T[D]));return w.join("")}}};oe.exports=e},mr32:function(oe,V,e){"use strict";var B=e("rePB"),T=e("wx14"),w=e("ODXe"),D=e("4i/N"),I=e("TSYQ"),E=e.n(I),C=e("bT9E"),f=e("q1tI"),t=e("H84U"),i=e("09Wf"),s=e("g0mS"),o=function(y,A){var v={};for(var g in y)Object.prototype.hasOwnProperty.call(y,g)&&A.indexOf(g)<0&&(v[g]=y[g]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,g=Object.getOwnPropertySymbols(y);x<g.length;x++)A.indexOf(g[x])<0&&Object.prototype.propertyIsEnumerable.call(y,g[x])&&(v[g[x]]=y[g[x]]);return v},r=function(A){var v,g=A.prefixCls,x=A.className,m=A.checked,b=A.onChange,S=A.onClick,P=o(A,["prefixCls","className","checked","onChange","onClick"]),M=f.useContext(t.b),R=M.getPrefixCls,F=function(Q){b==null||b(!m),S==null||S(Q)},L=R("tag",g),U=E()(L,(v={},Object(B.a)(v,"".concat(L,"-checkable"),!0),Object(B.a)(v,"".concat(L,"-checkable-checked"),m),v),x);return f.createElement("span",Object(T.a)({},P,{className:U,onClick:F}))},u=r,n=function(y,A){var v={};for(var g in y)Object.prototype.hasOwnProperty.call(y,g)&&A.indexOf(g)<0&&(v[g]=y[g]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,g=Object.getOwnPropertySymbols(y);x<g.length;x++)A.indexOf(g[x])<0&&Object.prototype.propertyIsEnumerable.call(y,g[x])&&(v[g[x]]=y[g[x]]);return v},l=new RegExp("^(".concat(i.a.join("|"),")(-inverse)?$")),a=new RegExp("^(".concat(i.b.join("|"),")$")),c=function(A,v){var g,x=A.prefixCls,m=A.className,b=A.style,S=A.children,P=A.icon,M=A.color,R=A.onClose,F=A.closeIcon,L=A.closable,U=L===void 0?!1:L,N=n(A,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),Q=f.useContext(t.b),z=Q.getPrefixCls,_=Q.direction,J=f.useState(!0),Y=Object(w.a)(J,2),k=Y[0],W=Y[1];f.useEffect(function(){"visible"in N&&W(N.visible)},[N.visible]);var ie=function(){return M?l.test(M)||a.test(M):!1},fe=Object(T.a)({backgroundColor:M&&!ie()?M:void 0},b),Ce=ie(),ge=z("tag",x),de=E()(ge,(g={},Object(B.a)(g,"".concat(ge,"-").concat(M),Ce),Object(B.a)(g,"".concat(ge,"-has-color"),M&&!Ce),Object(B.a)(g,"".concat(ge,"-hidden"),!k),Object(B.a)(g,"".concat(ge,"-rtl"),_==="rtl"),g),m),Pe=function(Ge){Ge.stopPropagation(),R==null||R(Ge),!Ge.defaultPrevented&&("visible"in N||W(!1))},_e=function(){return U?F?f.createElement("span",{className:"".concat(ge,"-close-icon"),onClick:Pe},F):f.createElement(D.a,{className:"".concat(ge,"-close-icon"),onClick:Pe}):null},Ne="onClick"in N||S&&S.type==="a",He=Object(C.a)(N,["visible"]),ue=P||null,Re=ue?f.createElement(f.Fragment,null,ue,f.createElement("span",null,S)):S,nt=f.createElement("span",Object(T.a)({},He,{ref:v,className:de,style:fe}),Re,_e());return Ne?f.createElement(s.a,null,nt):nt},d=f.forwardRef(c);d.CheckableTag=u;var h=V.a=d},n1HI:function(oe,V,e){var B=e("hX1E"),T=B.normalizeRadian,w=Math.PI*2;function D(I,E,C,f,t,i,s,o,r){if(s===0)return!1;var u=s;o-=I,r-=E;var n=Math.sqrt(o*o+r*r);if(n-u>C||n+u<C)return!1;if(Math.abs(f-t)%w<1e-4)return!0;if(i){var l=f;f=T(t),t=T(l)}else f=T(f),t=T(t);f>t&&(t+=w);var a=Math.atan2(r,o);return a<0&&(a+=w),a>=f&&a<=t||a+w>=f&&a+w<=t}V.containStroke=D},n4Lv:function(oe,V,e){var B=e("7hqr"),T=B.isDimensionStacked,w=e("bYtY"),D=w.map;function I(f,t,i){var s=f.getBaseAxis(),o=f.getOtherAxis(s),r=E(o,i),u=s.dim,n=o.dim,l=t.mapDimension(n),a=t.mapDimension(u),c=n==="x"||n==="radius"?1:0,d=D(f.dimensions,function(A){return t.mapDimension(A)}),h,y=t.getCalculationInfo("stackResultDimension");return(h|=T(t,d[0]))&&(d[0]=y),(h|=T(t,d[1]))&&(d[1]=y),{dataDimsForPoint:d,valueStart:r,valueAxisDim:n,baseAxisDim:u,stacked:!!h,valueDim:l,baseDim:a,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function E(f,t){var i=0,s=f.scale.getExtent();return t==="start"?i=s[0]:t==="end"?i=s[1]:s[0]>0?i=s[0]:s[1]<0&&(i=s[1]),i}function C(f,t,i,s){var o=NaN;f.stacked&&(o=i.get(i.getCalculationInfo("stackedOverDimension"),s)),isNaN(o)&&(o=f.valueStart);var r=f.baseDataOffset,u=[];return u[r]=i.get(f.baseDim,s),u[1-r]=o,t.dataToPoint(u)}V.prepareDataCoordInfo=I,V.getStackedOnPoint=C},n6Mw:function(oe,V,e){var B=e("SrGk"),T=e("bYtY"),w=e("Fofx");function D(E,C){B.call(this,E,C,"clipPath","__clippath_in_use__")}T.inherits(D,B),D.prototype.update=function(E){var C=this.getSvgElement(E);C&&this.updateDom(C,E.__clipPaths,!1);var f=this.getTextSvgElement(E);f&&this.updateDom(f,E.__clipPaths,!0),this.markUsed(E)},D.prototype.updateDom=function(E,C,f){if(C&&C.length>0){var t=this.getDefs(!0),i=C[0],s,o,r=f?"_textDom":"_dom";i[r]?(o=i[r].getAttribute("id"),s=i[r],t.contains(s)||t.appendChild(s)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",o),t.appendChild(s),i[r]=s);var u=this.getSvgProxy(i);if(i.transform&&i.parent.invTransform&&!f){var n=Array.prototype.slice.call(i.transform);w.mul(i.transform,i.parent.invTransform,i.transform),u.brush(i),i.transform=n}else u.brush(i);var l=this.getSvgElement(i);s.innerHTML="",s.appendChild(l.cloneNode()),E.setAttribute("clip-path","url(#"+o+")"),C.length>1&&this.updateDom(s,C.slice(1),f)}else E&&E.setAttribute("clip-path","none")},D.prototype.markUsed=function(E){var C=this;E.__clipPaths&&T.each(E.__clipPaths,function(f){f._dom&&B.prototype.markUsed.call(C,f._dom),f._textDom&&B.prototype.markUsed.call(C,f._textDom)})};var I=D;oe.exports=I},nCxF:function(oe,V,e){var B=e("QBsz"),T=B.min,w=B.max,D=B.scale,I=B.distance,E=B.add,C=B.clone,f=B.sub;function t(i,s,o,r){var u=[],n=[],l=[],a=[],c,d,h,y;if(r){h=[Infinity,Infinity],y=[-Infinity,-Infinity];for(var A=0,v=i.length;A<v;A++)T(h,h,i[A]),w(y,y,i[A]);T(h,h,r[0]),w(y,y,r[1])}for(var A=0,v=i.length;A<v;A++){var g=i[A];if(o)c=i[A?A-1:v-1],d=i[(A+1)%v];else if(A===0||A===v-1){u.push(C(i[A]));continue}else c=i[A-1],d=i[A+1];f(n,d,c),D(n,n,s);var x=I(g,c),m=I(g,d),b=x+m;b!==0&&(x/=b,m/=b),D(l,n,-x),D(a,n,m);var S=E([],g,l),P=E([],g,a);r&&(w(S,S,h),T(S,S,y),w(P,P,h),T(P,P,y)),u.push(S),u.push(P)}return o&&u.push(u.shift()),u}oe.exports=t},nKiI:function(oe,V,e){var B=e("bYtY"),T=e("mFDi"),w=e("OELB"),D=w.parsePercent,I=w.MAX_SAFE_INTEGER,E=e("+TT/"),C=e("VaxA"),f=Math.max,t=Math.min,i=B.retrieve,s=B.each,o=["itemStyle","borderWidth"],r=["itemStyle","gapWidth"],u=["upperLabel","show"],n=["upperLabel","height"],l={seriesType:"treemap",reset:function(S,P,M,R){var F=M.getWidth(),L=M.getHeight(),U=S.option,N=E.getLayoutRect(S.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()}),Q=U.size||[],z=D(i(N.width,Q[0]),F),_=D(i(N.height,Q[1]),L),J=R&&R.type,Y=["treemapZoomToNode","treemapRootToNode"],k=C.retrieveTargetInfo(R,Y,S),W=J==="treemapRender"||J==="treemapMove"?R.rootRect:null,ie=S.getViewRoot(),fe=C.getPathToRoot(ie);if(J!=="treemapMove"){var Ce=J==="treemapZoomToNode"?g(S,k,ie,z,_):W?[W.width,W.height]:[z,_],ge=U.sort;ge&&ge!=="asc"&&ge!=="desc"&&(ge="desc");var de={squareRatio:U.squareRatio,sort:ge,leafDepth:U.leafDepth};ie.hostTree.clearLayouts();var Pe={x:0,y:0,width:Ce[0],height:Ce[1],area:Ce[0]*Ce[1]};ie.setLayout(Pe),a(ie,de,!1,0);var Pe=ie.getLayout();s(fe,function(Ne,He){var ue=(fe[He+1]||ie).getValue();Ne.setLayout(B.extend({dataExtent:[ue,ue],borderWidth:0,upperHeight:0},Pe))})}var _e=S.getData().tree.root;_e.setLayout(x(N,W,k),!0),S.setLayoutInfo(N),m(_e,new T(-N.x,-N.y,F,L),fe,ie,0)}};function a(S,P,M,R){var F,L;if(!S.isRemoved()){var U=S.getLayout();F=U.width,L=U.height;var N=S.getModel(),Q=N.get(o),z=N.get(r)/2,_=b(N),J=Math.max(Q,_),Y=Q-z,k=J-z,N=S.getModel();S.setLayout({borderWidth:Q,upperHeight:J,upperLabelHeight:_},!0),F=f(F-2*Y,0),L=f(L-Y-k,0);var W=F*L,ie=c(S,N,W,P,M,R);if(!!ie.length){var fe={x:Y,y:k,width:F,height:L},Ce=t(F,L),ge=Infinity,de=[];de.area=0;for(var Pe=0,_e=ie.length;Pe<_e;){var Ne=ie[Pe];de.push(Ne),de.area+=Ne.getLayout().area;var He=A(de,Ce,P.squareRatio);He<=ge?(Pe++,ge=He):(de.area-=de.pop().getLayout().area,v(de,Ce,fe,z,!1),Ce=t(fe.width,fe.height),de.length=de.area=0,ge=Infinity)}if(de.length&&v(de,Ce,fe,z,!0),!M){var ue=N.get("childrenVisibleMin");ue!=null&&W<ue&&(M=!0)}for(var Pe=0,_e=ie.length;Pe<_e;Pe++)a(ie[Pe],P,M,R+1)}}}function c(S,P,M,R,F,L){var U=S.children||[],N=R.sort;N!=="asc"&&N!=="desc"&&(N=null);var Q=R.leafDepth!=null&&R.leafDepth<=L;if(F&&!Q)return S.viewChildren=[];U=B.filter(U,function(k){return!k.isRemoved()}),h(U,N);var z=y(P,U,N);if(z.sum===0)return S.viewChildren=[];if(z.sum=d(P,M,z.sum,N,U),z.sum===0)return S.viewChildren=[];for(var _=0,J=U.length;_<J;_++){var Y=U[_].getValue()/z.sum*M;U[_].setLayout({area:Y})}return Q&&(U.length&&S.setLayout({isLeafRoot:!0},!0),U.length=0),S.viewChildren=U,S.setLayout({dataExtent:z.dataExtent},!0),U}function d(S,P,M,R,F){if(!R)return M;for(var L=S.get("visibleMin"),U=F.length,N=U,Q=U-1;Q>=0;Q--){var z=F[R==="asc"?U-Q-1:Q].getValue();z/M*P<L&&(N=Q,M-=z)}return R==="asc"?F.splice(0,U-N):F.splice(N,U-N),M}function h(S,P){return P&&S.sort(function(M,R){var F=P==="asc"?M.getValue()-R.getValue():R.getValue()-M.getValue();return F===0?P==="asc"?M.dataIndex-R.dataIndex:R.dataIndex-M.dataIndex:F}),S}function y(S,P,M){for(var R=0,F=0,L=P.length;F<L;F++)R+=P[F].getValue();var U=S.get("visualDimension"),N;if(!P||!P.length)N=[NaN,NaN];else if(U==="value"&&M)N=[P[P.length-1].getValue(),P[0].getValue()],M==="asc"&&N.reverse();else{var N=[Infinity,-Infinity];s(P,function(z){var _=z.getValue(U);_<N[0]&&(N[0]=_),_>N[1]&&(N[1]=_)})}return{sum:R,dataExtent:N}}function A(S,P,M){for(var R=0,F=Infinity,L=0,U,N=S.length;L<N;L++)U=S[L].getLayout().area,U&&(U<F&&(F=U),U>R&&(R=U));var Q=S.area*S.area,z=P*P*M;return Q?f(z*R/Q,Q/(z*F)):Infinity}function v(S,P,M,R,F){var L=P===M.width?0:1,U=1-L,N=["x","y"],Q=["width","height"],z=M[N[L]],_=P?S.area/P:0;(F||_>M[Q[U]])&&(_=M[Q[U]]);for(var J=0,Y=S.length;J<Y;J++){var k=S[J],W={},ie=_?k.getLayout().area/_:0,fe=W[Q[U]]=f(_-2*R,0),Ce=M[N[L]]+M[Q[L]]-z,ge=J===Y-1||Ce<ie?Ce:ie,de=W[Q[L]]=f(ge-2*R,0);W[N[U]]=M[N[U]]+t(R,fe/2),W[N[L]]=z+t(R,de/2),z+=ge,k.setLayout(W,!0)}M[N[U]]+=_,M[Q[U]]-=_}function g(S,P,M,R,F){var L=(P||{}).node,U=[R,F];if(!L||L===M)return U;for(var N,Q=R*F,z=Q*S.option.zoomToNodeRatio;N=L.parentNode;){for(var _=0,J=N.children,Y=0,k=J.length;Y<k;Y++)_+=J[Y].getValue();var W=L.getValue();if(W===0)return U;z*=_/W;var ie=N.getModel(),fe=ie.get(o),Ce=Math.max(fe,b(ie,fe));z+=4*fe*fe+(3*fe+Ce)*Math.pow(z,.5),z>I&&(z=I),L=N}z<Q&&(z=Q);var ge=Math.pow(z/Q,.5);return[R*ge,F*ge]}function x(S,P,M){if(P)return{x:P.x,y:P.y};var R={x:0,y:0};if(!M)return R;var F=M.node,L=F.getLayout();if(!L)return R;for(var U=[L.width/2,L.height/2],N=F;N;){var Q=N.getLayout();U[0]+=Q.x,U[1]+=Q.y,N=N.parentNode}return{x:S.width/2-U[0],y:S.height/2-U[1]}}function m(S,P,M,R,F){var L=S.getLayout(),U=M[F],N=U&&U===S;if(!(U&&!N||F===M.length&&S!==R)){S.setLayout({isInView:!0,invisible:!N&&!P.intersect(L),isAboveViewRoot:N},!0);var Q=new T(P.x-L.x,P.y-L.y,P.width,P.height);s(S.viewChildren||[],function(z){m(z,Q,M,R,F+1)})}}function b(S){return S.get(u)?S.get(n):0}oe.exports=l},nPnh:function(oe,V){var e=Math.round;function B(D,I,E){if(!!I){var C=I.x1,f=I.x2,t=I.y1,i=I.y2;D.x1=C,D.x2=f,D.y1=t,D.y2=i;var s=E&&E.lineWidth;!s||(e(C*2)===e(f*2)&&(D.x1=D.x2=w(C,s,!0)),e(t*2)===e(i*2)&&(D.y1=D.y2=w(t,s,!0)))}}function T(D,I,E){if(!!I){var C=I.x,f=I.y,t=I.width,i=I.height;D.x=C,D.y=f,D.width=t,D.height=i;var s=E&&E.lineWidth;!s||(D.x=w(C,s,!0),D.y=w(f,s,!0),D.width=Math.max(w(C+t,s,!1)-D.x,t===0?0:1),D.height=Math.max(w(f+i,s,!1)-D.y,i===0?0:1))}}function w(D,I,E){if(!I)return D;var C=e(D*2);return(C+e(I))%2==0?C/2:(C+(E?1:-1))/2}V.subPixelOptimizeLine=B,V.subPixelOptimizeRect=T,V.subPixelOptimize=w},nRaC:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("0fbx"),D=e.n(w),I=e("R9oj"),E=e("OaEy")},nVfU:function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=T.parsePercent,D=e("7hqr"),I=D.isDimensionStacked,E=e("zM3Q"),C="__ec_stack_",f=.5,t=typeof Float32Array!="undefined"?Float32Array:Array;function i(v){return v.get("stack")||C+v.seriesIndex}function s(v){return v.dim+v.index}function o(v){var g=[],x=v.axis,m="axis0";if(x.type==="category"){for(var b=x.getBandWidth(),S=0;S<v.count;S++)g.push(B.defaults({bandWidth:b,axisKey:m,stackId:C+S},v));for(var P=l(g),M=[],S=0;S<v.count;S++){var R=P[m][C+S];R.offsetCenter=R.offset+R.width/2,M.push(R)}return M}}function r(v,g){var x=[];return g.eachSeriesByType(v,function(m){h(m)&&!y(m)&&x.push(m)}),x}function u(v){var g={};B.each(v,function(R){var F=R.coordinateSystem,L=F.getBaseAxis();if(!(L.type!=="time"&&L.type!=="value"))for(var U=R.getData(),N=L.dim+"_"+L.index,Q=U.mapDimension(L.dim),z=0,_=U.count();z<_;++z){var J=U.get(Q,z);g[N]?g[N].push(J):g[N]=[J]}});var x=[];for(var m in g)if(g.hasOwnProperty(m)){var b=g[m];if(b){b.sort(function(R,F){return R-F});for(var S=null,P=1;P<b.length;++P){var M=b[P]-b[P-1];M>0&&(S=S===null?M:Math.min(S,M))}x[m]=S}}return x}function n(v){var g=u(v),x=[];return B.each(v,function(m){var b=m.coordinateSystem,S=b.getBaseAxis(),P=S.getExtent(),M;if(S.type==="category")M=S.getBandWidth();else if(S.type==="value"||S.type==="time"){var R=S.dim+"_"+S.index,F=g[R],L=Math.abs(P[1]-P[0]),U=S.scale.getExtent(),N=Math.abs(U[1]-U[0]);M=F?L/N*F:L}else{var Q=m.getData();M=Math.abs(P[1]-P[0])/Q.count()}var z=w(m.get("barWidth"),M),_=w(m.get("barMaxWidth"),M),J=w(m.get("barMinWidth")||1,M),Y=m.get("barGap"),k=m.get("barCategoryGap");x.push({bandWidth:M,barWidth:z,barMaxWidth:_,barMinWidth:J,barGap:Y,barCategoryGap:k,axisKey:s(S),stackId:i(m)})}),l(x)}function l(v){var g={};B.each(v,function(m,b){var S=m.axisKey,P=m.bandWidth,M=g[S]||{bandWidth:P,remainedWidth:P,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=M.stacks;g[S]=M;var F=m.stackId;R[F]||M.autoWidthCount++,R[F]=R[F]||{width:0,maxWidth:0};var L=m.barWidth;L&&!R[F].width&&(R[F].width=L,L=Math.min(M.remainedWidth,L),M.remainedWidth-=L);var U=m.barMaxWidth;U&&(R[F].maxWidth=U);var N=m.barMinWidth;N&&(R[F].minWidth=N);var Q=m.barGap;Q!=null&&(M.gap=Q);var z=m.barCategoryGap;z!=null&&(M.categoryGap=z)});var x={};return B.each(g,function(m,b){x[b]={};var S=m.stacks,P=m.bandWidth,M=w(m.categoryGap,P),R=w(m.gap,1),F=m.remainedWidth,L=m.autoWidthCount,U=(F-M)/(L+(L-1)*R);U=Math.max(U,0),B.each(S,function(_){var J=_.maxWidth,Y=_.minWidth;if(_.width){var k=_.width;J&&(k=Math.min(k,J)),Y&&(k=Math.max(k,Y)),_.width=k,F-=k+R*k,L--}else{var k=U;J&&J<k&&(k=Math.min(J,F)),Y&&Y>k&&(k=Y),k!==U&&(_.width=k,F-=k+R*k,L--)}}),U=(F-M)/(L+(L-1)*R),U=Math.max(U,0);var N=0,Q;B.each(S,function(_,J){_.width||(_.width=U),Q=_,N+=_.width*(1+R)}),Q&&(N-=Q.width*R);var z=-N/2;B.each(S,function(_,J){x[b][J]=x[b][J]||{bandWidth:P,offset:z,width:_.width},z+=_.width*(1+R)})}),x}function a(v,g,x){if(v&&g){var m=v[s(g)];return m!=null&&x!=null&&(m=m[i(x)]),m}}function c(v,g){var x=r(v,g),m=n(x),b={},S={};B.each(x,function(P){var M=P.getData(),R=P.coordinateSystem,F=R.getBaseAxis(),L=i(P),U=m[s(F)][L],N=U.offset,Q=U.width,z=R.getOtherAxis(F),_=P.get("barMinHeight")||0;b[L]=b[L]||[],S[L]=S[L]||[],M.setLayout({bandWidth:U.bandWidth,offset:N,size:Q});for(var J=M.mapDimension(z.dim),Y=M.mapDimension(F.dim),k=I(M,J),W=z.isHorizontal(),ie=A(F,z,k),fe=0,Ce=M.count();fe<Ce;fe++){var ge=M.get(J,fe),de=M.get(Y,fe),Pe=ge>=0?"p":"n",_e=ie;k&&(b[L][de]||(b[L][de]={p:ie,n:ie}),_e=b[L][de][Pe]);var Ne,He,ue,Re;if(W){var nt=R.dataToPoint([ge,de]);Ne=_e,He=nt[1]+N,ue=nt[0]-ie,Re=Q,Math.abs(ue)<_&&(ue=(ue<0?-1:1)*_),isNaN(ue)||k&&(b[L][de][Pe]+=ue)}else{var nt=R.dataToPoint([de,ge]);Ne=nt[0]+N,He=_e,ue=Q,Re=nt[1]-ie,Math.abs(Re)<_&&(Re=(Re<=0?-1:1)*_),isNaN(Re)||k&&(b[L][de][Pe]+=Re)}M.setItemLayout(fe,{x:Ne,y:He,width:ue,height:Re})}},this)}var d={seriesType:"bar",plan:E(),reset:function(v){if(!h(v)||!y(v))return;var g=v.getData(),x=v.coordinateSystem,m=x.grid.getRect(),b=x.getBaseAxis(),S=x.getOtherAxis(b),P=g.mapDimension(S.dim),M=g.mapDimension(b.dim),R=S.isHorizontal(),F=R?0:1,L=a(n([v]),b,v).width;return L>f||(L=f),{progress:U};function U(N,Q){for(var z=N.count,_=new t(z*2),J=new t(z*2),Y=new t(z),k,W=[],ie=[],fe=0,Ce=0;(k=N.next())!=null;)ie[F]=Q.get(P,k),ie[1-F]=Q.get(M,k),W=x.dataToPoint(ie,null,W),J[fe]=R?m.x+m.width:W[0],_[fe++]=W[0],J[fe]=R?W[1]:m.y+m.height,_[fe++]=W[1],Y[Ce++]=k;Q.setLayout({largePoints:_,largeDataIndices:Y,largeBackgroundPoints:J,barWidth:L,valueAxisStart:A(b,S,!1),backgroundStart:R?m.x:m.y,valueAxisHorizontal:R})}}};function h(v){return v.coordinateSystem&&v.coordinateSystem.type==="cartesian2d"}function y(v){return v.pipelineContext&&v.pipelineContext.large}function A(v,g,x){return g.toGlobalCoord(g.dataToCoord(g.type==="log"?1:0))}V.getLayoutOnAxis=o,V.prepareLayoutBarSeries=r,V.makeColumnLayout=n,V.retrieveColumnLayout=a,V.layout=c,V.largeLayout=d},ngQI:function(oe,V,e){"use strict";e.d(V,"a",function(){return Zo}),e.d(V,"b",function(){return zl}),e.d(V,"c",function(){return Cu});var B=e("q1tI"),T=e.n(B),w=e("dI71"),D=e("wx14"),I=e("ANjH"),E=e("/MKj");function C(Qe,$){if(Qe.length!==$.length)return!1;for(var Be=0;Be<Qe.length;Be++)if(Qe[Be]!==$[Be])return!1;return!0}function f(Qe,$){var Be=Object(B.useState)(function(){return{inputs:$,result:Qe()}})[0],Ze=Object(B.useRef)(!0),wt=Object(B.useRef)(Be),jt=Ze.current||Boolean($&&wt.current.inputs&&C($,wt.current.inputs)),$t=jt?wt.current:{inputs:$,result:Qe()};return Object(B.useEffect)(function(){Ze.current=!1,wt.current=$t},[$t]),$t.result}function t(Qe,$){return f(function(){return Qe},$)}var i=f,s=t,o=e("9R94"),r=function($){var Be=$.top,Ze=$.right,wt=$.bottom,jt=$.left,$t=Ze-jt,rr=wt-Be,vr={top:Be,right:Ze,bottom:wt,left:jt,width:$t,height:rr,x:jt,y:Be,center:{x:(Ze+jt)/2,y:(wt+Be)/2}};return vr},u=function($,Be){return{top:$.top-Be.top,left:$.left-Be.left,bottom:$.bottom+Be.bottom,right:$.right+Be.right}},n=function($,Be){return{top:$.top+Be.top,left:$.left+Be.left,bottom:$.bottom-Be.bottom,right:$.right-Be.right}},l=function($,Be){return{top:$.top+Be.y,left:$.left+Be.x,bottom:$.bottom+Be.y,right:$.right+Be.x}},a={top:0,right:0,bottom:0,left:0},c=function($){var Be=$.borderBox,Ze=$.margin,wt=Ze===void 0?a:Ze,jt=$.border,$t=jt===void 0?a:jt,rr=$.padding,vr=rr===void 0?a:rr,Ur=r(u(Be,wt)),Nr=r(n(Be,$t)),Dr=r(n(Nr,vr));return{marginBox:Ur,borderBox:r(Be),paddingBox:Nr,contentBox:Dr,margin:wt,border:$t,padding:vr}},d=function($){var Be=$.slice(0,-2),Ze=$.slice(-2);if(Ze!=="px")return 0;var wt=Number(Be);return isNaN(wt)&&Object(o.a)(!1),wt},h=function(){return{x:window.pageXOffset,y:window.pageYOffset}},y=function($,Be){var Ze=$.borderBox,wt=$.border,jt=$.margin,$t=$.padding,rr=l(Ze,Be);return c({borderBox:rr,border:wt,margin:jt,padding:$t})},A=function($,Be){return Be===void 0&&(Be=h()),y($,Be)},v=function($,Be){var Ze={top:d(Be.marginTop),right:d(Be.marginRight),bottom:d(Be.marginBottom),left:d(Be.marginLeft)},wt={top:d(Be.paddingTop),right:d(Be.paddingRight),bottom:d(Be.paddingBottom),left:d(Be.paddingLeft)},jt={top:d(Be.borderTopWidth),right:d(Be.borderRightWidth),bottom:d(Be.borderBottomWidth),left:d(Be.borderLeftWidth)};return c({borderBox:$,margin:Ze,padding:wt,border:jt})},g=function($){var Be=$.getBoundingClientRect(),Ze=window.getComputedStyle($);return v(Be,Ze)},x=Number.isNaN||function($){return typeof $=="number"&&$!==$};function m(Qe,$){return!!(Qe===$||x(Qe)&&x($))}function b(Qe,$){if(Qe.length!==$.length)return!1;for(var Be=0;Be<Qe.length;Be++)if(!m(Qe[Be],$[Be]))return!1;return!0}function S(Qe,$){$===void 0&&($=b);var Be,Ze=[],wt,jt=!1;function $t(){for(var rr=[],vr=0;vr<arguments.length;vr++)rr[vr]=arguments[vr];return jt&&Be===this&&$(rr,Ze)||(wt=Qe.apply(this,rr),jt=!0,Be=this,Ze=rr),wt}return $t}var P=S,M=function($){var Be=[],Ze=null,wt=function(){for(var $t=arguments.length,rr=new Array($t),vr=0;vr<$t;vr++)rr[vr]=arguments[vr];Be=rr,!Ze&&(Ze=requestAnimationFrame(function(){Ze=null,$.apply(void 0,Be)}))};return wt.cancel=function(){!Ze||(cancelAnimationFrame(Ze),Ze=null)},wt},R=M,F=e("i8i4"),L=e.n(F),U=!0,N=/[ \t]{2,}/g,Q=/^[ \t]*/gm,z=function($){return $.replace(N," ").replace(Q,"").trim()},_=function($){return z(`
|
|
|
%creact-beautiful-dnd
|
|
|
|
|
|
%c`+z($)+`
|
|
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
|
`)},J=function($){return[_($),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Y="__react-beautiful-dnd-disable-dev-warnings";function k(Qe,$){var Be;U||typeof window!="undefined"&&window[Y]||(Be=console)[Qe].apply(Be,J($))}var W=k.bind(null,"warn"),ie=k.bind(null,"error");function fe(){}function Ce(Qe,$){return Object(D.a)({},Qe,{},$)}function ge(Qe,$,Be){var Ze=$.map(function(wt){var jt=Ce(Be,wt.options);return Qe.addEventListener(wt.eventName,wt.fn,jt),function(){Qe.removeEventListener(wt.eventName,wt.fn,jt)}});return function(){Ze.forEach(function(jt){jt()})}}var de=!0,Pe="Invariant failed";function _e(Qe){this.message=Qe}_e.prototype.toString=function(){return this.message};function Ne(Qe,$){if(!Qe)throw de?new _e(Pe):new _e(Pe+": "+($||""))}var He=function(Qe){Object(w.a)($,Qe);function $(){for(var Ze,wt=arguments.length,jt=new Array(wt),$t=0;$t<wt;$t++)jt[$t]=arguments[$t];return Ze=Qe.call.apply(Qe,[this].concat(jt))||this,Ze.callbacks=null,Ze.unbind=fe,Ze.onWindowError=function(rr){var vr=Ze.getCallbacks();vr.isDragging()&&vr.tryAbort();var Ur=rr.error;Ur instanceof _e&&rr.preventDefault()},Ze.getCallbacks=function(){if(!Ze.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Ze.callbacks},Ze.setCallbacks=function(rr){Ze.callbacks=rr},Ze}var Be=$.prototype;return Be.componentDidMount=function(){this.unbind=ge(window,[{eventName:"error",fn:this.onWindowError}])},Be.componentDidCatch=function(wt){if(wt instanceof _e){this.setState({});return}throw wt},Be.componentWillUnmount=function(){this.unbind()},Be.render=function(){return this.props.children(this.setCallbacks)},$}(T.a.Component),ue=`
|
|
|
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
|
|
|
`,Re=function($){return $+1},nt=function($){return`
|
|
|
You have lifted an item in position `+Re($.source.index)+`
|
|
|
`},Ve=function($,Be){var Ze=$.droppableId===Be.droppableId,wt=Re($.index),jt=Re(Be.index);return Ze?`
|
|
|
You have moved the item from position `+wt+`
|
|
|
to position `+jt+`
|
|
|
`:`
|
|
|
You have moved the item from position `+wt+`
|
|
|
in list `+$.droppableId+`
|
|
|
to list `+Be.droppableId+`
|
|
|
in position `+jt+`
|
|
|
`},Ge=function($,Be,Ze){var wt=Be.droppableId===Ze.droppableId;return wt?`
|
|
|
The item `+$+`
|
|
|
has been combined with `+Ze.draggableId:`
|
|
|
The item `+$+`
|
|
|
in list `+Be.droppableId+`
|
|
|
has been combined with `+Ze.draggableId+`
|
|
|
in list `+Ze.droppableId+`
|
|
|
`},dt=function($){var Be=$.destination;if(Be)return Ve($.source,Be);var Ze=$.combine;return Ze?Ge($.draggableId,$.source,Ze):"You are over an area that cannot be dropped on"},et=function($){return`
|
|
|
The item has returned to its starting position
|
|
|
of `+Re($.index)+`
|
|
|
`},At=function($){if($.reason==="CANCEL")return`
|
|
|
Movement cancelled.
|
|
|
`+et($.source)+`
|
|
|
`;var Be=$.destination,Ze=$.combine;return Be?`
|
|
|
You have dropped the item.
|
|
|
`+Ve($.source,Be)+`
|
|
|
`:Ze?`
|
|
|
You have dropped the item.
|
|
|
`+Ge($.draggableId,$.source,Ze)+`
|
|
|
`:`
|
|
|
The item has been dropped while not over a drop area.
|
|
|
`+et($.source)+`
|
|
|
`},Dt={dragHandleUsageInstructions:ue,onDragStart:nt,onDragUpdate:dt,onDragEnd:At},Ft={x:0,y:0},St=function($,Be){return{x:$.x+Be.x,y:$.y+Be.y}},$e=function($,Be){return{x:$.x-Be.x,y:$.y-Be.y}},lt=function($,Be){return $.x===Be.x&&$.y===Be.y},Ut=function($){return{x:$.x!==0?-$.x:0,y:$.y!==0?-$.y:0}},gt=function($,Be,Ze){var wt;return Ze===void 0&&(Ze=0),wt={},wt[$]=Be,wt[$==="x"?"y":"x"]=Ze,wt},ft=function($,Be){return Math.sqrt(Math.pow(Be.x-$.x,2)+Math.pow(Be.y-$.y,2))},rt=function($,Be){return Math.min.apply(Math,Be.map(function(Ze){return ft($,Ze)}))},Ie=function($){return function(Be){return{x:$(Be.x),y:$(Be.y)}}},Ot=function($,Be){var Ze=r({top:Math.max(Be.top,$.top),right:Math.min(Be.right,$.right),bottom:Math.min(Be.bottom,$.bottom),left:Math.max(Be.left,$.left)});return Ze.width<=0||Ze.height<=0?null:Ze},Xt=function($,Be){return{top:$.top+Be.y,left:$.left+Be.x,bottom:$.bottom+Be.y,right:$.right+Be.x}},Vt=function($){return[{x:$.left,y:$.top},{x:$.right,y:$.top},{x:$.left,y:$.bottom},{x:$.right,y:$.bottom}]},bt={top:0,right:0,bottom:0,left:0},It=function($,Be){return Be?Xt($,Be.scroll.diff.displacement):$},Kt=function($,Be,Ze){if(Ze&&Ze.increasedBy){var wt;return Object(D.a)({},$,(wt={},wt[Be.end]=$[Be.end]+Ze.increasedBy[Be.line],wt))}return $},Se=function($,Be){return Be&&Be.shouldClipSubject?Ot(Be.pageMarginBox,$):r($)},Ye=function($){var Be=$.page,Ze=$.withPlaceholder,wt=$.axis,jt=$.frame,$t=It(Be.marginBox,jt),rr=Kt($t,wt,Ze),vr=Se(rr,jt);return{page:Be,withPlaceholder:Ze,active:vr}},q=function($,Be){$.frame||Ne(!1);var Ze=$.frame,wt=$e(Be,Ze.scroll.initial),jt=Ut(wt),$t=Object(D.a)({},Ze,{scroll:{initial:Ze.scroll.initial,current:Be,diff:{value:wt,displacement:jt},max:Ze.scroll.max}}),rr=Ye({page:$.subject.page,withPlaceholder:$.subject.withPlaceholder,axis:$.axis,frame:$t}),vr=Object(D.a)({},$,{frame:$t,subject:rr});return vr};function Ae(Qe){return Number.isInteger?Number.isInteger(Qe):typeof Qe=="number"&&isFinite(Qe)&&Math.floor(Qe)===Qe}function Me(Qe){return Object.values?Object.values(Qe):Object.keys(Qe).map(function($){return Qe[$]})}function De(Qe,$){if(Qe.findIndex)return Qe.findIndex($);for(var Be=0;Be<Qe.length;Be++)if($(Qe[Be]))return Be;return-1}function ze(Qe,$){if(Qe.find)return Qe.find($);var Be=De(Qe,$);if(Be!==-1)return Qe[Be]}function pe(Qe){return Array.prototype.slice.call(Qe)}var te=P(function(Qe){return Qe.reduce(function($,Be){return $[Be.descriptor.id]=Be,$},{})}),be=P(function(Qe){return Qe.reduce(function($,Be){return $[Be.descriptor.id]=Be,$},{})}),xe=P(function(Qe){return Me(Qe)}),Z=P(function(Qe){return Me(Qe)}),se=P(function(Qe,$){var Be=Z($).filter(function(Ze){return Qe===Ze.descriptor.droppableId}).sort(function(Ze,wt){return Ze.descriptor.index-wt.descriptor.index});return Be});function he(Qe){return Qe.at&&Qe.at.type==="REORDER"?Qe.at.destination:null}function Oe(Qe){return Qe.at&&Qe.at.type==="COMBINE"?Qe.at.combine:null}var ne=P(function(Qe,$){return $.filter(function(Be){return Be.descriptor.id!==Qe.descriptor.id})}),ce=function($){var Be=$.isMovingForward,Ze=$.draggable,wt=$.destination,jt=$.insideDestination,$t=$.previousImpact;if(!wt.isCombineEnabled)return null;var rr=he($t);if(!rr)return null;function vr(Sn){var ya={type:"COMBINE",combine:{draggableId:Sn,droppableId:wt.descriptor.id}};return Object(D.a)({},$t,{at:ya})}var Ur=$t.displaced.all,Nr=Ur.length?Ur[0]:null;if(Be)return Nr?vr(Nr):null;var Dr=ne(Ze,jt);if(!Nr){if(!Dr.length)return null;var Br=Dr[Dr.length-1];return vr(Br.descriptor.id)}var _r=De(Dr,function(Sn){return Sn.descriptor.id===Nr});_r===-1&&Ne(!1);var rn=_r-1;if(rn<0)return null;var En=Dr[rn];return vr(En.descriptor.id)},ae=function($,Be){return $.descriptor.droppableId===Be.descriptor.id},Ee={point:Ft,value:0},ye={invisible:{},visible:{},all:[]},Te={displaced:ye,displacedBy:Ee,at:null},je=function($,Be){return function(Ze){return $<=Ze&&Ze<=Be}},qe=function($){var Be=je($.top,$.bottom),Ze=je($.left,$.right);return function(wt){var jt=Be(wt.top)&&Be(wt.bottom)&&Ze(wt.left)&&Ze(wt.right);if(jt)return!0;var $t=Be(wt.top)||Be(wt.bottom),rr=Ze(wt.left)||Ze(wt.right),vr=$t&&rr;if(vr)return!0;var Ur=wt.top<$.top&&wt.bottom>$.bottom,Nr=wt.left<$.left&&wt.right>$.right,Dr=Ur&&Nr;if(Dr)return!0;var Br=Ur&&rr||Nr&&$t;return Br}},Le=function($){var Be=je($.top,$.bottom),Ze=je($.left,$.right);return function(wt){var jt=Be(wt.top)&&Be(wt.bottom)&&Ze(wt.left)&&Ze(wt.right);return jt}},ke={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},tt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},st=function($){return function(Be){var Ze=je(Be.top,Be.bottom),wt=je(Be.left,Be.right);return function(jt){return $===ke?Ze(jt.top)&&Ze(jt.bottom):wt(jt.left)&&wt(jt.right)}}},_t=function($,Be){var Ze=Be.frame?Be.frame.scroll.diff.displacement:Ft;return Xt($,Ze)},Ct=function($,Be,Ze){return Be.subject.active?Ze(Be.subject.active)($):!1},Rt=function($,Be,Ze){return Ze(Be)($)},Wt=function($){var Be=$.target,Ze=$.destination,wt=$.viewport,jt=$.withDroppableDisplacement,$t=$.isVisibleThroughFrameFn,rr=jt?_t(Be,Ze):Be;return Ct(rr,Ze,$t)&&Rt(rr,wt,$t)},vt=function($){return Wt(Object(D.a)({},$,{isVisibleThroughFrameFn:qe}))},Je=function($){return Wt(Object(D.a)({},$,{isVisibleThroughFrameFn:Le}))},Yt=function($){return Wt(Object(D.a)({},$,{isVisibleThroughFrameFn:st($.destination.axis)}))},Ht=function($,Be,Ze){if(typeof Ze=="boolean")return Ze;if(!Be)return!0;var wt=Be.invisible,jt=Be.visible;if(wt[$])return!1;var $t=jt[$];return $t?$t.shouldAnimate:!0};function nr(Qe,$){var Be=Qe.page.marginBox,Ze={top:$.point.y,right:0,bottom:0,left:$.point.x};return r(u(Be,Ze))}function ir(Qe){var $=Qe.afterDragging,Be=Qe.destination,Ze=Qe.displacedBy,wt=Qe.viewport,jt=Qe.forceShouldAnimate,$t=Qe.last;return $.reduce(function(vr,Ur){var Nr=nr(Ur,Ze),Dr=Ur.descriptor.id;vr.all.push(Dr);var Br=vt({target:Nr,destination:Be,viewport:wt,withDroppableDisplacement:!0});if(!Br)return vr.invisible[Ur.descriptor.id]=!0,vr;var _r=Ht(Dr,$t,jt),rn={draggableId:Dr,shouldAnimate:_r};return vr.visible[Dr]=rn,vr},{all:[],visible:{},invisible:{}})}function Zt(Qe,$){if(!Qe.length)return 0;var Be=Qe[Qe.length-1].descriptor.index;return $.inHomeList?Be:Be+1}function Mt(Qe){var $=Qe.insideDestination,Be=Qe.inHomeList,Ze=Qe.displacedBy,wt=Qe.destination,jt=Zt($,{inHomeList:Be});return{displaced:ye,displacedBy:Ze,at:{type:"REORDER",destination:{droppableId:wt.descriptor.id,index:jt}}}}function pt(Qe){var $=Qe.draggable,Be=Qe.insideDestination,Ze=Qe.destination,wt=Qe.viewport,jt=Qe.displacedBy,$t=Qe.last,rr=Qe.index,vr=Qe.forceShouldAnimate,Ur=ae($,Ze);if(rr==null)return Mt({insideDestination:Be,inHomeList:Ur,displacedBy:jt,destination:Ze});var Nr=ze(Be,function(En){return En.descriptor.index===rr});if(!Nr)return Mt({insideDestination:Be,inHomeList:Ur,displacedBy:jt,destination:Ze});var Dr=ne($,Be),Br=Be.indexOf(Nr),_r=Dr.slice(Br),rn=ir({afterDragging:_r,destination:Ze,displacedBy:jt,last:$t,viewport:wt.frame,forceShouldAnimate:vr});return{displaced:rn,displacedBy:jt,at:{type:"REORDER",destination:{droppableId:Ze.descriptor.id,index:rr}}}}function Tt(Qe,$){return Boolean($.effected[Qe])}var mt=function($){var Be=$.isMovingForward,Ze=$.destination,wt=$.draggables,jt=$.combine,$t=$.afterCritical;if(!Ze.isCombineEnabled)return null;var rr=jt.draggableId,vr=wt[rr],Ur=vr.descriptor.index,Nr=Tt(rr,$t);return Nr?Be?Ur:Ur-1:Be?Ur+1:Ur},Jt=function($){var Be=$.isMovingForward,Ze=$.isInHomeList,wt=$.insideDestination,jt=$.location;if(!wt.length)return null;var $t=jt.index,rr=Be?$t+1:$t-1,vr=wt[0].descriptor.index,Ur=wt[wt.length-1].descriptor.index,Nr=Ze?Ur:Ur+1;return rr<vr||rr>Nr?null:rr},or=function($){var Be=$.isMovingForward,Ze=$.isInHomeList,wt=$.draggable,jt=$.draggables,$t=$.destination,rr=$.insideDestination,vr=$.previousImpact,Ur=$.viewport,Nr=$.afterCritical,Dr=vr.at;if(Dr||Ne(!1),Dr.type==="REORDER"){var Br=Jt({isMovingForward:Be,isInHomeList:Ze,location:Dr.destination,insideDestination:rr});return Br==null?null:pt({draggable:wt,insideDestination:rr,destination:$t,viewport:Ur,last:vr.displaced,displacedBy:vr.displacedBy,index:Br})}var _r=mt({isMovingForward:Be,destination:$t,displaced:vr.displaced,draggables:jt,combine:Dr.combine,afterCritical:Nr});return _r==null?null:pt({draggable:wt,insideDestination:rr,destination:$t,viewport:Ur,last:vr.displaced,displacedBy:vr.displacedBy,index:_r})},ut=function($){var Be=$.displaced,Ze=$.afterCritical,wt=$.combineWith,jt=$.displacedBy,$t=Boolean(Be.visible[wt]||Be.invisible[wt]);return Tt(wt,Ze)?$t?Ft:Ut(jt.point):$t?jt.point:Ft},ht=function($){var Be=$.afterCritical,Ze=$.impact,wt=$.draggables,jt=Oe(Ze);jt||Ne(!1);var $t=jt.draggableId,rr=wt[$t].page.borderBox.center,vr=ut({displaced:Ze.displaced,afterCritical:Be,combineWith:$t,displacedBy:Ze.displacedBy});return St(rr,vr)},qt=function($,Be){return Be.margin[$.start]+Be.borderBox[$.size]/2},Nt=function($,Be){return Be.margin[$.end]+Be.borderBox[$.size]/2},Qt=function($,Be,Ze){return Be[$.crossAxisStart]+Ze.margin[$.crossAxisStart]+Ze.borderBox[$.crossAxisSize]/2},at=function($){var Be=$.axis,Ze=$.moveRelativeTo,wt=$.isMoving;return gt(Be.line,Ze.marginBox[Be.end]+qt(Be,wt),Qt(Be,Ze.marginBox,wt))},Ue=function($){var Be=$.axis,Ze=$.moveRelativeTo,wt=$.isMoving;return gt(Be.line,Ze.marginBox[Be.start]-Nt(Be,wt),Qt(Be,Ze.marginBox,wt))},ot=function($){var Be=$.axis,Ze=$.moveInto,wt=$.isMoving;return gt(Be.line,Ze.contentBox[Be.start]+qt(Be,wt),Qt(Be,Ze.contentBox,wt))},it=function($){var Be=$.impact,Ze=$.draggable,wt=$.draggables,jt=$.droppable,$t=$.afterCritical,rr=se(jt.descriptor.id,wt),vr=Ze.page,Ur=jt.axis;if(!rr.length)return ot({axis:Ur,moveInto:jt.page,isMoving:vr});var Nr=Be.displaced,Dr=Be.displacedBy,Br=Nr.all[0];if(Br){var _r=wt[Br];if(Tt(Br,$t))return Ue({axis:Ur,moveRelativeTo:_r.page,isMoving:vr});var rn=y(_r.page,Dr.point);return Ue({axis:Ur,moveRelativeTo:rn,isMoving:vr})}var En=rr[rr.length-1];if(En.descriptor.id===Ze.descriptor.id)return vr.borderBox.center;if(Tt(En.descriptor.id,$t)){var Sn=y(En.page,Ut($t.displacedBy.point));return at({axis:Ur,moveRelativeTo:Sn,isMoving:vr})}return at({axis:Ur,moveRelativeTo:En.page,isMoving:vr})},zt=function($,Be){var Ze=$.frame;return Ze?St(Be,Ze.scroll.diff.displacement):Be},ar=function($){var Be=$.impact,Ze=$.draggable,wt=$.droppable,jt=$.draggables,$t=$.afterCritical,rr=Ze.page.borderBox.center,vr=Be.at;return!wt||!vr?rr:vr.type==="REORDER"?it({impact:Be,draggable:Ze,draggables:jt,droppable:wt,afterCritical:$t}):ht({impact:Be,draggables:jt,afterCritical:$t})},dr=function($){var Be=ar($),Ze=$.droppable,wt=Ze?zt(Ze,Be):Be;return wt},pr=function($,Be){var Ze=$e(Be,$.scroll.initial),wt=Ut(Ze),jt=r({top:Be.y,bottom:Be.y+$.frame.height,left:Be.x,right:Be.x+$.frame.width}),$t={frame:jt,scroll:{initial:$.scroll.initial,max:$.scroll.max,current:Be,diff:{value:Ze,displacement:wt}}};return $t};function Tr(Qe,$){return Qe.map(function(Be){return $[Be]})}function Lr(Qe,$){for(var Be=0;Be<$.length;Be++){var Ze=$[Be].visible[Qe];if(Ze)return Ze}return null}var Yr=function($){var Be=$.impact,Ze=$.viewport,wt=$.destination,jt=$.draggables,$t=$.maxScrollChange,rr=pr(Ze,St(Ze.scroll.current,$t)),vr=wt.frame?q(wt,St(wt.frame.scroll.current,$t)):wt,Ur=Be.displaced,Nr=ir({afterDragging:Tr(Ur.all,jt),destination:wt,displacedBy:Be.displacedBy,viewport:rr.frame,last:Ur,forceShouldAnimate:!1}),Dr=ir({afterDragging:Tr(Ur.all,jt),destination:vr,displacedBy:Be.displacedBy,viewport:Ze.frame,last:Ur,forceShouldAnimate:!1}),Br={},_r={},rn=[Ur,Nr,Dr];Ur.all.forEach(function(Sn){var ya=Lr(Sn,rn);if(ya){_r[Sn]=ya;return}Br[Sn]=!0});var En=Object(D.a)({},Be,{displaced:{all:Ur.all,invisible:Br,visible:_r}});return En},Jr=function($,Be){return St($.scroll.diff.displacement,Be)},hn=function($){var Be=$.pageBorderBoxCenter,Ze=$.draggable,wt=$.viewport,jt=Jr(wt,Be),$t=$e(jt,Ze.page.borderBox.center);return St(Ze.client.borderBox.center,$t)},yr=function($){var Be=$.draggable,Ze=$.destination,wt=$.newPageBorderBoxCenter,jt=$.viewport,$t=$.withDroppableDisplacement,rr=$.onlyOnMainAxis,vr=rr===void 0?!1:rr,Ur=$e(wt,Be.page.borderBox.center),Nr=Xt(Be.page.borderBox,Ur),Dr={target:Nr,destination:Ze,withDroppableDisplacement:$t,viewport:jt};return vr?Yt(Dr):Je(Dr)},zn=function($){var Be=$.isMovingForward,Ze=$.draggable,wt=$.destination,jt=$.draggables,$t=$.previousImpact,rr=$.viewport,vr=$.previousPageBorderBoxCenter,Ur=$.previousClientSelection,Nr=$.afterCritical;if(!wt.isEnabled)return null;var Dr=se(wt.descriptor.id,jt),Br=ae(Ze,wt),_r=ce({isMovingForward:Be,draggable:Ze,destination:wt,insideDestination:Dr,previousImpact:$t})||or({isMovingForward:Be,isInHomeList:Br,draggable:Ze,draggables:jt,destination:wt,insideDestination:Dr,previousImpact:$t,viewport:rr,afterCritical:Nr});if(!_r)return null;var rn=dr({impact:_r,draggable:Ze,droppable:wt,draggables:jt,afterCritical:Nr}),En=yr({draggable:Ze,destination:wt,newPageBorderBoxCenter:rn,viewport:rr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(En){var Sn=hn({pageBorderBoxCenter:rn,draggable:Ze,viewport:rr});return{clientSelection:Sn,impact:_r,scrollJumpRequest:null}}var ya=$e(rn,vr),Sa=Yr({impact:_r,viewport:rr,destination:wt,draggables:jt,maxScrollChange:ya});return{clientSelection:Ur,impact:Sa,scrollJumpRequest:ya}},xn=function($){var Be=$.subject.active;return Be||Ne(!1),Be},In=function($){var Be=$.isMovingForward,Ze=$.pageBorderBoxCenter,wt=$.source,jt=$.droppables,$t=$.viewport,rr=wt.subject.active;if(!rr)return null;var vr=wt.axis,Ur=je(rr[vr.start],rr[vr.end]),Nr=xe(jt).filter(function(Br){return Br!==wt}).filter(function(Br){return Br.isEnabled}).filter(function(Br){return Boolean(Br.subject.active)}).filter(function(Br){return qe($t.frame)(xn(Br))}).filter(function(Br){var _r=xn(Br);return Be?rr[vr.crossAxisEnd]<_r[vr.crossAxisEnd]:_r[vr.crossAxisStart]<rr[vr.crossAxisStart]}).filter(function(Br){var _r=xn(Br),rn=je(_r[vr.start],_r[vr.end]);return Ur(_r[vr.start])||Ur(_r[vr.end])||rn(rr[vr.start])||rn(rr[vr.end])}).sort(function(Br,_r){var rn=xn(Br)[vr.crossAxisStart],En=xn(_r)[vr.crossAxisStart];return Be?rn-En:En-rn}).filter(function(Br,_r,rn){return xn(Br)[vr.crossAxisStart]===xn(rn[0])[vr.crossAxisStart]});if(!Nr.length)return null;if(Nr.length===1)return Nr[0];var Dr=Nr.filter(function(Br){var _r=je(xn(Br)[vr.start],xn(Br)[vr.end]);return _r(Ze[vr.line])});return Dr.length===1?Dr[0]:Dr.length>1?Dr.sort(function(Br,_r){return xn(Br)[vr.start]-xn(_r)[vr.start]})[0]:Nr.sort(function(Br,_r){var rn=rt(Ze,Vt(xn(Br))),En=rt(Ze,Vt(xn(_r)));return rn!==En?rn-En:xn(Br)[vr.start]-xn(_r)[vr.start]})[0]},Qn=function($,Be){var Ze=$.page.borderBox.center;return Tt($.descriptor.id,Be)?$e(Ze,Be.displacedBy.point):Ze},Cn=function($,Be){var Ze=$.page.borderBox;return Tt($.descriptor.id,Be)?Xt(Ze,Ut(Be.displacedBy.point)):Ze},bn=function($){var Be=$.pageBorderBoxCenter,Ze=$.viewport,wt=$.destination,jt=$.insideDestination,$t=$.afterCritical,rr=jt.filter(function(vr){return Je({target:Cn(vr,$t),destination:wt,viewport:Ze.frame,withDroppableDisplacement:!0})}).sort(function(vr,Ur){var Nr=ft(Be,zt(wt,Qn(vr,$t))),Dr=ft(Be,zt(wt,Qn(Ur,$t)));return Nr<Dr?-1:Dr<Nr?1:vr.descriptor.index-Ur.descriptor.index});return rr[0]||null},Wn=P(function($,Be){var Ze=Be[$.line];return{value:Ze,point:gt($.line,Ze)}}),Vn=function($,Be,Ze){var wt=$.axis;if($.descriptor.mode==="virtual")return gt(wt.line,Be[wt.line]);var jt=$.subject.page.contentBox[wt.size],$t=se($.descriptor.id,Ze),rr=$t.reduce(function(Nr,Dr){return Nr+Dr.client.marginBox[wt.size]},0),vr=rr+Be[wt.line],Ur=vr-jt;return Ur<=0?null:gt(wt.line,Ur)},oa=function($,Be){return Object(D.a)({},$,{scroll:Object(D.a)({},$.scroll,{max:Be})})},kr=function($,Be,Ze){var wt=$.frame;ae(Be,$)&&Ne(!1),$.subject.withPlaceholder&&Ne(!1);var jt=Wn($.axis,Be.displaceBy).point,$t=Vn($,jt,Ze),rr={placeholderSize:jt,increasedBy:$t,oldFrameMaxScroll:$.frame?$.frame.scroll.max:null};if(!wt){var vr=Ye({page:$.subject.page,withPlaceholder:rr,axis:$.axis,frame:$.frame});return Object(D.a)({},$,{subject:vr})}var Ur=$t?St(wt.scroll.max,$t):wt.scroll.max,Nr=oa(wt,Ur),Dr=Ye({page:$.subject.page,withPlaceholder:rr,axis:$.axis,frame:Nr});return Object(D.a)({},$,{subject:Dr,frame:Nr})},kn=function($){var Be=$.subject.withPlaceholder;Be||Ne(!1);var Ze=$.frame;if(!Ze){var wt=Ye({page:$.subject.page,axis:$.axis,frame:null,withPlaceholder:null});return Object(D.a)({},$,{subject:wt})}var jt=Be.oldFrameMaxScroll;jt||Ne(!1);var $t=oa(Ze,jt),rr=Ye({page:$.subject.page,axis:$.axis,frame:$t,withPlaceholder:null});return Object(D.a)({},$,{subject:rr,frame:$t})},Pn=function($){var Be=$.previousPageBorderBoxCenter,Ze=$.moveRelativeTo,wt=$.insideDestination,jt=$.draggable,$t=$.draggables,rr=$.destination,vr=$.viewport,Ur=$.afterCritical;if(!Ze){if(wt.length)return null;var Nr={displaced:ye,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:rr.descriptor.id,index:0}}},Dr=dr({impact:Nr,draggable:jt,droppable:rr,draggables:$t,afterCritical:Ur}),Br=ae(jt,rr)?rr:kr(rr,jt,$t),_r=yr({draggable:jt,destination:Br,newPageBorderBoxCenter:Dr,viewport:vr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return _r?Nr:null}var rn=Boolean(Be[rr.axis.line]<=Ze.page.borderBox.center[rr.axis.line]),En=function(){var ya=Ze.descriptor.index;return Ze.descriptor.id===jt.descriptor.id||rn?ya:ya+1}(),Sn=Wn(rr.axis,jt.displaceBy);return pt({draggable:jt,insideDestination:wt,destination:rr,viewport:vr,displacedBy:Sn,last:ye,index:En})},Ma=function($){var Be=$.isMovingForward,Ze=$.previousPageBorderBoxCenter,wt=$.draggable,jt=$.isOver,$t=$.draggables,rr=$.droppables,vr=$.viewport,Ur=$.afterCritical,Nr=In({isMovingForward:Be,pageBorderBoxCenter:Ze,source:jt,droppables:rr,viewport:vr});if(!Nr)return null;var Dr=se(Nr.descriptor.id,$t),Br=bn({pageBorderBoxCenter:Ze,viewport:vr,destination:Nr,insideDestination:Dr,afterCritical:Ur}),_r=Pn({previousPageBorderBoxCenter:Ze,destination:Nr,draggable:wt,draggables:$t,moveRelativeTo:Br,insideDestination:Dr,viewport:vr,afterCritical:Ur});if(!_r)return null;var rn=dr({impact:_r,draggable:wt,droppable:Nr,draggables:$t,afterCritical:Ur}),En=hn({pageBorderBoxCenter:rn,draggable:wt,viewport:vr});return{clientSelection:En,impact:_r,scrollJumpRequest:null}},Oa=function($){var Be=$.at;return Be?Be.type==="REORDER"?Be.destination.droppableId:Be.combine.droppableId:null},ba=function($,Be){var Ze=Oa($);return Ze?Be[Ze]:null},La=function($){var Be=$.state,Ze=$.type,wt=ba(Be.impact,Be.dimensions.droppables),jt=Boolean(wt),$t=Be.dimensions.droppables[Be.critical.droppable.id],rr=wt||$t,vr=rr.axis.direction,Ur=vr==="vertical"&&(Ze==="MOVE_UP"||Ze==="MOVE_DOWN")||vr==="horizontal"&&(Ze==="MOVE_LEFT"||Ze==="MOVE_RIGHT");if(Ur&&!jt)return null;var Nr=Ze==="MOVE_DOWN"||Ze==="MOVE_RIGHT",Dr=Be.dimensions.draggables[Be.critical.draggable.id],Br=Be.current.page.borderBoxCenter,_r=Be.dimensions,rn=_r.draggables,En=_r.droppables;return Ur?zn({isMovingForward:Nr,previousPageBorderBoxCenter:Br,draggable:Dr,destination:rr,draggables:rn,viewport:Be.viewport,previousClientSelection:Be.current.client.selection,previousImpact:Be.impact,afterCritical:Be.afterCritical}):Ma({isMovingForward:Nr,previousPageBorderBoxCenter:Br,draggable:Dr,isOver:rr,draggables:rn,droppables:En,viewport:Be.viewport,afterCritical:Be.afterCritical})};function Hn(Qe){return Qe.phase==="DRAGGING"||Qe.phase==="COLLECTING"}function Ir(Qe){var $=je(Qe.top,Qe.bottom),Be=je(Qe.left,Qe.right);return function(wt){return $(wt.y)&&Be(wt.x)}}function xr(Qe,$){return Qe.left<$.right&&Qe.right>$.left&&Qe.top<$.bottom&&Qe.bottom>$.top}function Xr(Qe){var $=Qe.pageBorderBox,Be=Qe.draggable,Ze=Qe.candidates,wt=Be.page.borderBox.center,jt=Ze.map(function($t){var rr=$t.axis,vr=gt($t.axis.line,$.center[rr.line],$t.page.borderBox.center[rr.crossAxisLine]);return{id:$t.descriptor.id,distance:ft(wt,vr)}}).sort(function($t,rr){return rr.distance-$t.distance});return jt[0]?jt[0].id:null}function Cr(Qe){var $=Qe.pageBorderBox,Be=Qe.draggable,Ze=Qe.droppables,wt=xe(Ze).filter(function(jt){if(!jt.isEnabled)return!1;var $t=jt.subject.active;if(!$t||!xr($,$t))return!1;if(Ir($t)($.center))return!0;var rr=jt.axis,vr=$t.center[rr.crossAxisLine],Ur=$[rr.crossAxisStart],Nr=$[rr.crossAxisEnd],Dr=je($t[rr.crossAxisStart],$t[rr.crossAxisEnd]),Br=Dr(Ur),_r=Dr(Nr);return!Br&&!_r?!0:Br?Ur<vr:Nr>vr});return wt.length?wt.length===1?wt[0].descriptor.id:Xr({pageBorderBox:$,draggable:Be,candidates:wt}):null}var Hr=function($,Be){return r(Xt($,Be))},Fr=function($,Be){var Ze=$.frame;return Ze?Hr(Be,Ze.scroll.diff.value):Be};function jr(Qe){var $=Qe.displaced,Be=Qe.id;return Boolean($.visible[Be]||$.invisible[Be])}function wr(Qe){var $=Qe.draggable,Be=Qe.closest,Ze=Qe.inHomeList;return Be?Ze&&Be.descriptor.index>$.descriptor.index?Be.descriptor.index-1:Be.descriptor.index:null}var pn=function($){var Be=$.pageBorderBoxWithDroppableScroll,Ze=$.draggable,wt=$.destination,jt=$.insideDestination,$t=$.last,rr=$.viewport,vr=$.afterCritical,Ur=wt.axis,Nr=Wn(wt.axis,Ze.displaceBy),Dr=Nr.value,Br=Be[Ur.start],_r=Be[Ur.end],rn=ne(Ze,jt),En=ze(rn,function(ya){var Sa=ya.descriptor.id,ui=ya.page.borderBox.center[Ur.line],Za=Tt(Sa,vr),qi=jr({displaced:$t,id:Sa});return Za?qi?_r<=ui:Br<ui-Dr:qi?_r<=ui+Dr:Br<ui}),Sn=wr({draggable:Ze,closest:En,inHomeList:ae(Ze,wt)});return pt({draggable:Ze,insideDestination:jt,destination:wt,viewport:rr,last:$t,displacedBy:Nr,index:Sn})},un=4,jn=function($){var Be=$.draggable,Ze=$.pageBorderBoxWithDroppableScroll,wt=$.previousImpact,jt=$.destination,$t=$.insideDestination,rr=$.afterCritical;if(!jt.isCombineEnabled)return null;var vr=jt.axis,Ur=Wn(jt.axis,Be.displaceBy),Nr=Ur.value,Dr=Ze[vr.start],Br=Ze[vr.end],_r=ne(Be,$t),rn=ze(_r,function(Sn){var ya=Sn.descriptor.id,Sa=Sn.page.borderBox,ui=Sa[vr.size],Za=ui/un,qi=Tt(ya,rr),Mi=jr({displaced:wt.displaced,id:ya});return qi?Mi?Br>Sa[vr.start]+Za&&Br<Sa[vr.end]-Za:Dr>Sa[vr.start]-Nr+Za&&Dr<Sa[vr.end]-Nr-Za:Mi?Br>Sa[vr.start]+Nr+Za&&Br<Sa[vr.end]+Nr-Za:Dr>Sa[vr.start]+Za&&Dr<Sa[vr.end]-Za});if(!rn)return null;var En={displacedBy:Ur,displaced:wt.displaced,at:{type:"COMBINE",combine:{draggableId:rn.descriptor.id,droppableId:jt.descriptor.id}}};return En},Xn=function($){var Be=$.pageOffset,Ze=$.draggable,wt=$.draggables,jt=$.droppables,$t=$.previousImpact,rr=$.viewport,vr=$.afterCritical,Ur=Hr(Ze.page.borderBox,Be),Nr=Cr({pageBorderBox:Ur,draggable:Ze,droppables:jt});if(!Nr)return Te;var Dr=jt[Nr],Br=se(Dr.descriptor.id,wt),_r=Fr(Dr,Ur);return jn({pageBorderBoxWithDroppableScroll:_r,draggable:Ze,previousImpact:$t,destination:Dr,insideDestination:Br,afterCritical:vr})||pn({pageBorderBoxWithDroppableScroll:_r,draggable:Ze,destination:Dr,insideDestination:Br,last:$t.displaced,viewport:rr,afterCritical:vr})},ca=function($,Be){var Ze;return Object(D.a)({},$,(Ze={},Ze[Be.descriptor.id]=Be,Ze))},ti=function($){var Be=$.previousImpact,Ze=$.impact,wt=$.droppables,jt=Oa(Be),$t=Oa(Ze);if(!jt||jt===$t)return wt;var rr=wt[jt];if(!rr.subject.withPlaceholder)return wt;var vr=kn(rr);return ca(wt,vr)},Ia=function($){var Be=$.draggable,Ze=$.draggables,wt=$.droppables,jt=$.previousImpact,$t=$.impact,rr=ti({previousImpact:jt,impact:$t,droppables:wt}),vr=Oa($t);if(!vr)return rr;var Ur=wt[vr];if(ae(Be,Ur)||Ur.subject.withPlaceholder)return rr;var Nr=kr(Ur,Be,Ze);return ca(rr,Nr)},aa=function($){var Be=$.state,Ze=$.clientSelection,wt=$.dimensions,jt=$.viewport,$t=$.impact,rr=$.scrollJumpRequest,vr=jt||Be.viewport,Ur=wt||Be.dimensions,Nr=Ze||Be.current.client.selection,Dr=$e(Nr,Be.initial.client.selection),Br={offset:Dr,selection:Nr,borderBoxCenter:St(Be.initial.client.borderBoxCenter,Dr)},_r={selection:St(Br.selection,vr.scroll.current),borderBoxCenter:St(Br.borderBoxCenter,vr.scroll.current),offset:St(Br.offset,vr.scroll.diff.value)},rn={client:Br,page:_r};if(Be.phase==="COLLECTING")return Object(D.a)({phase:"COLLECTING"},Be,{dimensions:Ur,viewport:vr,current:rn});var En=Ur.draggables[Be.critical.draggable.id],Sn=$t||Xn({pageOffset:_r.offset,draggable:En,draggables:Ur.draggables,droppables:Ur.droppables,previousImpact:Be.impact,viewport:vr,afterCritical:Be.afterCritical}),ya=Ia({draggable:En,impact:Sn,previousImpact:Be.impact,draggables:Ur.draggables,droppables:Ur.droppables}),Sa=Object(D.a)({},Be,{current:rn,dimensions:{draggables:Ur.draggables,droppables:ya},impact:Sn,viewport:vr,scrollJumpRequest:rr||null,forceShouldAnimate:rr?!1:null});return Sa};function za(Qe,$){return Qe.map(function(Be){return $[Be]})}var ci=function($){var Be=$.impact,Ze=$.viewport,wt=$.draggables,jt=$.destination,$t=$.forceShouldAnimate,rr=Be.displaced,vr=za(rr.all,wt),Ur=ir({afterDragging:vr,destination:jt,displacedBy:Be.displacedBy,viewport:Ze.frame,forceShouldAnimate:$t,last:rr});return Object(D.a)({},Be,{displaced:Ur})},qa=function($){var Be=$.impact,Ze=$.draggable,wt=$.droppable,jt=$.draggables,$t=$.viewport,rr=$.afterCritical,vr=dr({impact:Be,draggable:Ze,draggables:jt,droppable:wt,afterCritical:rr});return hn({pageBorderBoxCenter:vr,draggable:Ze,viewport:$t})},yi=function($){var Be=$.state,Ze=$.dimensions,wt=$.viewport;Be.movementMode!=="SNAP"&&Ne(!1);var jt=Be.impact,$t=wt||Be.viewport,rr=Ze||Be.dimensions,vr=rr.draggables,Ur=rr.droppables,Nr=vr[Be.critical.draggable.id],Dr=Oa(jt);Dr||Ne(!1);var Br=Ur[Dr],_r=ci({impact:jt,viewport:$t,destination:Br,draggables:vr}),rn=qa({impact:_r,draggable:Nr,droppable:Br,draggables:vr,viewport:$t,afterCritical:Be.afterCritical});return aa({impact:_r,clientSelection:rn,state:Be,dimensions:rr,viewport:$t})},Li=function($){return{index:$.index,droppableId:$.droppableId}},ha=function($){var Be=$.draggable,Ze=$.home,wt=$.draggables,jt=$.viewport,$t=Wn(Ze.axis,Be.displaceBy),rr=se(Ze.descriptor.id,wt),vr=rr.indexOf(Be);vr===-1&&Ne(!1);var Ur=rr.slice(vr+1),Nr=Ur.reduce(function(rn,En){return rn[En.descriptor.id]=!0,rn},{}),Dr={inVirtualList:Ze.descriptor.mode==="virtual",displacedBy:$t,effected:Nr},Br=ir({afterDragging:Ur,destination:Ze,displacedBy:$t,last:null,viewport:jt.frame,forceShouldAnimate:!1}),_r={displaced:Br,displacedBy:$t,at:{type:"REORDER",destination:Li(Be.descriptor)}};return{impact:_r,afterCritical:Dr}},ka=function($,Be){return{draggables:$.draggables,droppables:ca($.droppables,Be)}},Hi=function($){},ao=function($){},Qi=function($){var Be=$.draggable,Ze=$.offset,wt=$.initialWindowScroll,jt=y(Be.client,Ze),$t=A(jt,wt),rr=Object(D.a)({},Be,{placeholder:Object(D.a)({},Be.placeholder,{client:jt}),client:jt,page:$t});return rr},ta=function($){var Be=$.frame;return Be||Ne(!1),Be},la=function($){var Be=$.additions,Ze=$.updatedDroppables,wt=$.viewport,jt=wt.scroll.diff.value;return Be.map(function($t){var rr=$t.descriptor.droppableId,vr=Ze[rr],Ur=ta(vr),Nr=Ur.scroll.diff.value,Dr=St(jt,Nr),Br=Qi({draggable:$t,offset:Dr,initialWindowScroll:wt.scroll.initial});return Br})},qr=function($){var Be=$.state,Ze=$.published;Hi();var wt=Ze.modified.map(function(Za){var qi=Be.dimensions.droppables[Za.droppableId],Mi=q(qi,Za.scroll);return Mi}),jt=Object(D.a)({},Be.dimensions.droppables,{},te(wt)),$t=be(la({additions:Ze.additions,updatedDroppables:jt,viewport:Be.viewport})),rr=Object(D.a)({},Be.dimensions.draggables,{},$t);Ze.removals.forEach(function(Za){delete rr[Za]});var vr={droppables:jt,draggables:rr},Ur=Oa(Be.impact),Nr=Ur?vr.droppables[Ur]:null,Dr=vr.draggables[Be.critical.draggable.id],Br=vr.droppables[Be.critical.droppable.id],_r=ha({draggable:Dr,home:Br,draggables:rr,viewport:Be.viewport}),rn=_r.impact,En=_r.afterCritical,Sn=Nr&&Nr.isCombineEnabled?Be.impact:rn,ya=Xn({pageOffset:Be.current.page.offset,draggable:vr.draggables[Be.critical.draggable.id],draggables:vr.draggables,droppables:vr.droppables,previousImpact:Sn,viewport:Be.viewport,afterCritical:En});ao();var Sa=Object(D.a)({phase:"DRAGGING"},Be,{phase:"DRAGGING",impact:ya,onLiftImpact:rn,dimensions:vr,afterCritical:En,forceShouldAnimate:!1});if(Be.phase==="COLLECTING")return Sa;var ui=Object(D.a)({phase:"DROP_PENDING"},Sa,{phase:"DROP_PENDING",reason:Be.reason,isWaiting:!1});return ui},Ca=function($){return $.movementMode==="SNAP"},li=function($,Be,Ze){var wt=ka($.dimensions,Be);return!Ca($)||Ze?aa({state:$,dimensions:wt}):yi({state:$,dimensions:wt})};function di(Qe){return Qe.isDragging&&Qe.movementMode==="SNAP"?Object(D.a)({phase:"DRAGGING"},Qe,{scrollJumpRequest:null}):Qe}var _i={phase:"IDLE",completed:null,shouldFlush:!1},Lo=function($,Be){if($===void 0&&($=_i),Be.type==="FLUSH")return Object(D.a)({},_i,{shouldFlush:!0});if(Be.type==="INITIAL_PUBLISH"){$.phase!=="IDLE"&&Ne(!1);var Ze=Be.payload,wt=Ze.critical,jt=Ze.clientSelection,$t=Ze.viewport,rr=Ze.dimensions,vr=Ze.movementMode,Ur=rr.draggables[wt.draggable.id],Nr=rr.droppables[wt.droppable.id],Dr={selection:jt,borderBoxCenter:Ur.client.borderBox.center,offset:Ft},Br={client:Dr,page:{selection:St(Dr.selection,$t.scroll.initial),borderBoxCenter:St(Dr.selection,$t.scroll.initial),offset:St(Dr.selection,$t.scroll.diff.value)}},_r=xe(rr.droppables).every(function(Ua){return!Ua.isFixedOnPage}),rn=ha({draggable:Ur,home:Nr,draggables:rr.draggables,viewport:$t}),En=rn.impact,Sn=rn.afterCritical,ya={phase:"DRAGGING",isDragging:!0,critical:wt,movementMode:vr,dimensions:rr,initial:Br,current:Br,isWindowScrollAllowed:_r,impact:En,afterCritical:Sn,onLiftImpact:En,viewport:$t,scrollJumpRequest:null,forceShouldAnimate:null};return ya}if(Be.type==="COLLECTION_STARTING"){if($.phase==="COLLECTING"||$.phase==="DROP_PENDING")return $;$.phase!=="DRAGGING"&&Ne(!1);var Sa=Object(D.a)({phase:"COLLECTING"},$,{phase:"COLLECTING"});return Sa}if(Be.type==="PUBLISH_WHILE_DRAGGING")return $.phase==="COLLECTING"||$.phase==="DROP_PENDING"||Ne(!1),qr({state:$,published:Be.payload});if(Be.type==="MOVE"){if($.phase==="DROP_PENDING")return $;Hn($)||Ne(!1);var ui=Be.payload.client;return lt(ui,$.current.client.selection)?$:aa({state:$,clientSelection:ui,impact:Ca($)?$.impact:null})}if(Be.type==="UPDATE_DROPPABLE_SCROLL"){if($.phase==="DROP_PENDING"||$.phase==="COLLECTING")return di($);Hn($)||Ne(!1);var Za=Be.payload,qi=Za.id,Mi=Za.newScroll,Ti=$.dimensions.droppables[qi];if(!Ti)return $;var Ts=q(Ti,Mi);return li($,Ts,!1)}if(Be.type==="UPDATE_DROPPABLE_IS_ENABLED"){if($.phase==="DROP_PENDING")return $;Hn($)||Ne(!1);var To=Be.payload,xs=To.id,bs=To.isEnabled,p=$.dimensions.droppables[xs];p||Ne(!1),p.isEnabled===bs&&Ne(!1);var O=Object(D.a)({},p,{isEnabled:bs});return li($,O,!0)}if(Be.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if($.phase==="DROP_PENDING")return $;Hn($)||Ne(!1);var H=Be.payload,j=H.id,K=H.isCombineEnabled,me=$.dimensions.droppables[j];me||Ne(!1),me.isCombineEnabled===K&&Ne(!1);var We=Object(D.a)({},me,{isCombineEnabled:K});return li($,We,!0)}if(Be.type==="MOVE_BY_WINDOW_SCROLL"){if($.phase==="DROP_PENDING"||$.phase==="DROP_ANIMATING")return $;Hn($)||Ne(!1),$.isWindowScrollAllowed||Ne(!1);var ct=Be.payload.newScroll;if(lt($.viewport.scroll.current,ct))return di($);var Pt=pr($.viewport,ct);return Ca($)?yi({state:$,viewport:Pt}):aa({state:$,viewport:Pt})}if(Be.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Hn($))return $;var kt=Be.payload.maxScroll;if(lt(kt,$.viewport.scroll.max))return $;var mr=Object(D.a)({},$.viewport,{scroll:Object(D.a)({},$.viewport.scroll,{max:kt})});return Object(D.a)({phase:"DRAGGING"},$,{viewport:mr})}if(Be.type==="MOVE_UP"||Be.type==="MOVE_DOWN"||Be.type==="MOVE_LEFT"||Be.type==="MOVE_RIGHT"){if($.phase==="COLLECTING"||$.phase==="DROP_PENDING")return $;$.phase!=="DRAGGING"&&Ne(!1);var Pr=La({state:$,type:Be.type});return Pr?aa({state:$,impact:Pr.impact,clientSelection:Pr.clientSelection,scrollJumpRequest:Pr.scrollJumpRequest}):$}if(Be.type==="DROP_PENDING"){var zr=Be.payload.reason;$.phase!=="COLLECTING"&&Ne(!1);var $r=Object(D.a)({phase:"DROP_PENDING"},$,{phase:"DROP_PENDING",isWaiting:!0,reason:zr});return $r}if(Be.type==="DROP_ANIMATE"){var mn=Be.payload,Un=mn.completed,ra=mn.dropDuration,ia=mn.newHomeClientOffset;$.phase==="DRAGGING"||$.phase==="DROP_PENDING"||Ne(!1);var xa={phase:"DROP_ANIMATING",completed:Un,dropDuration:ra,newHomeClientOffset:ia,dimensions:$.dimensions};return xa}if(Be.type==="DROP_COMPLETE"){var Ea=Be.payload.completed;return{phase:"IDLE",completed:Ea,shouldFlush:!1}}return $},$i=function($){return{type:"BEFORE_INITIAL_CAPTURE",payload:$}},io=function($){return{type:"LIFT",payload:$}},Ho=function($){return{type:"INITIAL_PUBLISH",payload:$}},xo=function($){return{type:"PUBLISH_WHILE_DRAGGING",payload:$}},Vo=function(){return{type:"COLLECTION_STARTING",payload:null}},Io=function($){return{type:"UPDATE_DROPPABLE_SCROLL",payload:$}},Do=function($){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:$}},Hs=function($){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:$}},as=function($){return{type:"MOVE",payload:$}},xi=function($){return{type:"MOVE_BY_WINDOW_SCROLL",payload:$}},Os=function($){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:$}},vs=function(){return{type:"MOVE_UP",payload:null}},fs=function(){return{type:"MOVE_DOWN",payload:null}},ji=function(){return{type:"MOVE_RIGHT",payload:null}},Ke=function(){return{type:"MOVE_LEFT",payload:null}},Gt=function(){return{type:"FLUSH",payload:null}},sr=function($){return{type:"DROP_ANIMATE",payload:$}},lr=function($){return{type:"DROP_COMPLETE",payload:$}},Mr=function($){return{type:"DROP",payload:$}},Rr=function($){return{type:"DROP_PENDING",payload:$}},Vr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function sn(Qe){if(!(Qe.length<=1)){for(var $=Qe.map(function(rr){return rr.descriptor.index}),Be={},Ze=1;Ze<$.length;Ze++){var wt=$[Ze],jt=$[Ze-1];wt!==jt+1&&(Be[wt]=!0)}if(!!Object.keys(Be).length)var $t=$.map(function(rr){var vr=Boolean(Be[rr]);return vr?"[\u{1F525}"+rr+"]":""+rr}).join(", ")}}function vn(Qe,$){if(!1)var Be}var An=function($){return function(Be){var Ze=Be.getState,wt=Be.dispatch;return function(jt){return function($t){if($t.type!=="LIFT"){jt($t);return}var rr=$t.payload,vr=rr.id,Ur=rr.clientSelection,Nr=rr.movementMode,Dr=Ze();Dr.phase==="DROP_ANIMATING"&&wt(lr({completed:Dr.completed})),Ze().phase!=="IDLE"&&Ne(!1),wt(Gt()),wt($i({draggableId:vr,movementMode:Nr}));var Br={shouldPublishImmediately:Nr==="SNAP"},_r={draggableId:vr,scrollOptions:Br},rn=$.startPublishing(_r),En=rn.critical,Sn=rn.dimensions,ya=rn.viewport;vn(En,Sn),wt(Ho({critical:En,dimensions:Sn,clientSelection:Ur,movementMode:Nr,viewport:ya}))}}}},Fn=function($){return function(){return function(Be){return function(Ze){Ze.type==="INITIAL_PUBLISH"&&$.dragging(),Ze.type==="DROP_ANIMATE"&&$.dropping(Ze.payload.completed.result.reason),(Ze.type==="FLUSH"||Ze.type==="DROP_COMPLETE")&&$.resting(),Be(Ze)}}}},tn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Kr={opacity:{drop:0,combining:.7},scale:{drop:.75}},on={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},dn=on.outOfTheWay+"s "+tn.outOfTheWay,Bn={fluid:"opacity "+dn,snap:"transform "+dn+", opacity "+dn,drop:function($){var Be=$+"s "+tn.drop;return"transform "+Be+", opacity "+Be},outOfTheWay:"transform "+dn,placeholder:"height "+dn+", width "+dn+", margin "+dn},wn=function($){return lt($,Ft)?null:"translate("+$.x+"px, "+$.y+"px)"},Nn={moveTo:wn,drop:function($,Be){var Ze=wn($);return Ze?Be?Ze+" scale("+Kr.scale.drop+")":Ze:null}},qn=on.minDropTime,Ra=on.maxDropTime,hi=Ra-qn,na=1500,Ba=.6,Et=function($){var Be=$.current,Ze=$.destination,wt=$.reason,jt=ft(Be,Ze);if(jt<=0)return qn;if(jt>=na)return Ra;var $t=jt/na,rr=qn+hi*$t,vr=wt==="CANCEL"?rr*Ba:rr;return Number(vr.toFixed(2))},fr=function($){var Be=$.impact,Ze=$.draggable,wt=$.dimensions,jt=$.viewport,$t=$.afterCritical,rr=wt.draggables,vr=wt.droppables,Ur=Oa(Be),Nr=Ur?vr[Ur]:null,Dr=vr[Ze.descriptor.droppableId],Br=qa({impact:Be,draggable:Ze,draggables:rr,afterCritical:$t,droppable:Nr||Dr,viewport:jt}),_r=$e(Br,Ze.client.borderBox.center);return _r},hr=function($){var Be=$.draggables,Ze=$.reason,wt=$.lastImpact,jt=$.home,$t=$.viewport,rr=$.onLiftImpact;if(!wt.at||Ze!=="DROP"){var vr=ci({draggables:Be,impact:rr,destination:jt,viewport:$t,forceShouldAnimate:!0});return{impact:vr,didDropInsideDroppable:!1}}if(wt.at.type==="REORDER")return{impact:wt,didDropInsideDroppable:!0};var Ur=Object(D.a)({},wt,{displaced:ye});return{impact:Ur,didDropInsideDroppable:!0}},Sr=function($){var Be=$.getState,Ze=$.dispatch;return function(wt){return function(jt){if(jt.type!=="DROP"){wt(jt);return}var $t=Be(),rr=jt.payload.reason;if($t.phase==="COLLECTING"){Ze(Rr({reason:rr}));return}if($t.phase!=="IDLE"){var vr=$t.phase==="DROP_PENDING"&&$t.isWaiting;vr&&Ne(!1),$t.phase==="DRAGGING"||$t.phase==="DROP_PENDING"||Ne(!1);var Ur=$t.critical,Nr=$t.dimensions,Dr=Nr.draggables[$t.critical.draggable.id],Br=hr({reason:rr,lastImpact:$t.impact,afterCritical:$t.afterCritical,onLiftImpact:$t.onLiftImpact,home:$t.dimensions.droppables[$t.critical.droppable.id],viewport:$t.viewport,draggables:$t.dimensions.draggables}),_r=Br.impact,rn=Br.didDropInsideDroppable,En=rn?he(_r):null,Sn=rn?Oe(_r):null,ya={index:Ur.draggable.index,droppableId:Ur.droppable.id},Sa={draggableId:Dr.descriptor.id,type:Dr.descriptor.type,source:ya,reason:rr,mode:$t.movementMode,destination:En,combine:Sn},ui=fr({impact:_r,draggable:Dr,dimensions:Nr,viewport:$t.viewport,afterCritical:$t.afterCritical}),Za={critical:$t.critical,afterCritical:$t.afterCritical,result:Sa,impact:_r},qi=!lt($t.current.client.offset,ui)||Boolean(Sa.combine);if(!qi){Ze(lr({completed:Za}));return}var Mi=Et({current:$t.current.client.offset,destination:ui,reason:rr}),Ti={newHomeClientOffset:ui,dropDuration:Mi,completed:Za};Ze(sr(Ti))}}}},Er=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Wr(Qe){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Be){Be.target!==window&&Be.target!==window.document||Qe()}}}function nn(Qe){var $=Qe.onWindowScroll;function Be(){$(Er())}var Ze=R(Be),wt=Wr(Ze),jt=fe;function $t(){return jt!==fe}function rr(){$t()&&Ne(!1),jt=ge(window,[wt])}function vr(){$t()||Ne(!1),Ze.cancel(),jt(),jt=fe}return{start:rr,stop:vr,isActive:$t}}var Zr=function($){return $.type==="DROP_COMPLETE"||$.type==="DROP_ANIMATE"||$.type==="FLUSH"},Gr=function($){var Be=nn({onWindowScroll:function(wt){$.dispatch(xi({newScroll:wt}))}});return function(Ze){return function(wt){!Be.isActive()&&wt.type==="INITIAL_PUBLISH"&&Be.start(),Be.isActive()&&Zr(wt)&&Be.stop(),Ze(wt)}}},gn=function($){var Be=!1,Ze=!1,wt=setTimeout(function(){Ze=!0}),jt=function(rr){Be||Ze||(Be=!0,$(rr),clearTimeout(wt))};return jt.wasCalled=function(){return Be},jt},On=function(){var $=[],Be=function($t){var rr=De($,function(Nr){return Nr.timerId===$t});rr===-1&&Ne(!1);var vr=$.splice(rr,1),Ur=vr[0];Ur.callback()},Ze=function($t){var rr=setTimeout(function(){return Be(rr)}),vr={timerId:rr,callback:$t};$.push(vr)},wt=function(){if(!!$.length){var $t=[].concat($);$.length=0,$t.forEach(function(rr){clearTimeout(rr.timerId),rr.callback()})}};return{add:Ze,flush:wt}},cn=function($,Be){return $==null&&Be==null?!0:$==null||Be==null?!1:$.droppableId===Be.droppableId&&$.index===Be.index},Dn=function($,Be){return $==null&&Be==null?!0:$==null||Be==null?!1:$.draggableId===Be.draggableId&&$.droppableId===Be.droppableId},Mn=function($,Be){if($===Be)return!0;var Ze=$.draggable.id===Be.draggable.id&&$.draggable.droppableId===Be.draggable.droppableId&&$.draggable.type===Be.draggable.type&&$.draggable.index===Be.draggable.index,wt=$.droppable.id===Be.droppable.id&&$.droppable.type===Be.droppable.type;return Ze&&wt},Yn=function($,Be){Hi(),Be(),ao()},$n=function($,Be){return{draggableId:$.draggable.id,type:$.droppable.type,source:{droppableId:$.droppable.id,index:$.draggable.index},mode:Be}},Tn=function($,Be,Ze,wt){if(!$){Ze(wt(Be));return}var jt=gn(Ze),$t={announce:jt};$(Be,$t),jt.wasCalled()||Ze(wt(Be))},ea=function($,Be){var Ze=On(),wt=null,jt=function(_r,rn){wt&&Ne(!1),Yn("onBeforeCapture",function(){var En=$().onBeforeCapture;if(En){var Sn={draggableId:_r,mode:rn};En(Sn)}})},$t=function(_r,rn){wt&&Ne(!1),Yn("onBeforeDragStart",function(){var En=$().onBeforeDragStart;En&&En($n(_r,rn))})},rr=function(_r,rn){wt&&Ne(!1);var En=$n(_r,rn);wt={mode:rn,lastCritical:_r,lastLocation:En.source,lastCombine:null},Ze.add(function(){Yn("onDragStart",function(){return Tn($().onDragStart,En,Be,Dt.onDragStart)})})},vr=function(_r,rn){var En=he(rn),Sn=Oe(rn);wt||Ne(!1);var ya=!Mn(_r,wt.lastCritical);ya&&(wt.lastCritical=_r);var Sa=!cn(wt.lastLocation,En);Sa&&(wt.lastLocation=En);var ui=!Dn(wt.lastCombine,Sn);if(ui&&(wt.lastCombine=Sn),!(!ya&&!Sa&&!ui)){var Za=Object(D.a)({},$n(_r,wt.mode),{combine:Sn,destination:En});Ze.add(function(){Yn("onDragUpdate",function(){return Tn($().onDragUpdate,Za,Be,Dt.onDragUpdate)})})}},Ur=function(){wt||Ne(!1),Ze.flush()},Nr=function(_r){wt||Ne(!1),wt=null,Yn("onDragEnd",function(){return Tn($().onDragEnd,_r,Be,Dt.onDragEnd)})},Dr=function(){if(!!wt){var _r=Object(D.a)({},$n(wt.lastCritical,wt.mode),{combine:null,destination:null,reason:"CANCEL"});Nr(_r)}};return{beforeCapture:jt,beforeStart:$t,start:rr,update:vr,flush:Ur,drop:Nr,abort:Dr}},Kn=function($,Be){var Ze=ea($,Be);return function(wt){return function(jt){return function($t){if($t.type==="BEFORE_INITIAL_CAPTURE"){Ze.beforeCapture($t.payload.draggableId,$t.payload.movementMode);return}if($t.type==="INITIAL_PUBLISH"){var rr=$t.payload.critical;Ze.beforeStart(rr,$t.payload.movementMode),jt($t),Ze.start(rr,$t.payload.movementMode);return}if($t.type==="DROP_COMPLETE"){var vr=$t.payload.completed.result;Ze.flush(),jt($t),Ze.drop(vr);return}if(jt($t),$t.type==="FLUSH"){Ze.abort();return}var Ur=wt.getState();Ur.phase==="DRAGGING"&&Ze.update(Ur.critical,Ur.impact)}}}},Fa=function($){return function(Be){return function(Ze){if(Ze.type!=="DROP_ANIMATION_FINISHED"){Be(Ze);return}var wt=$.getState();wt.phase!=="DROP_ANIMATING"&&Ne(!1),$.dispatch(lr({completed:wt.completed}))}}},Ya=function($){var Be=null,Ze=null;function wt(){Ze&&(cancelAnimationFrame(Ze),Ze=null),Be&&(Be(),Be=null)}return function(jt){return function($t){if(($t.type==="FLUSH"||$t.type==="DROP_COMPLETE"||$t.type==="DROP_ANIMATION_FINISHED")&&wt(),jt($t),$t.type==="DROP_ANIMATE"){var rr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ur=$.getState();Ur.phase==="DROP_ANIMATING"&&$.dispatch(Vr())}};Ze=requestAnimationFrame(function(){Ze=null,Be=ge(window,[rr])})}}}},Va=function($){return function(){return function(Be){return function(Ze){(Ze.type==="DROP_COMPLETE"||Ze.type==="FLUSH"||Ze.type==="DROP_ANIMATE")&&$.stopPublishing(),Be(Ze)}}}},Ga=function($){var Be=!1;return function(){return function(Ze){return function(wt){if(wt.type==="INITIAL_PUBLISH"){Be=!0,$.tryRecordFocus(wt.payload.critical.draggable.id),Ze(wt),$.tryRestoreFocusRecorded();return}if(Ze(wt),!!Be){if(wt.type==="FLUSH"){Be=!1,$.tryRestoreFocusRecorded();return}if(wt.type==="DROP_COMPLETE"){Be=!1;var jt=wt.payload.completed.result;jt.combine&&$.tryShiftRecord(jt.draggableId,jt.combine.draggableId),$.tryRestoreFocusRecorded()}}}}}},vi=function($){return $.type==="DROP_COMPLETE"||$.type==="DROP_ANIMATE"||$.type==="FLUSH"},Xa=function($){return function(Be){return function(Ze){return function(wt){if(vi(wt)){$.stop(),Ze(wt);return}if(wt.type==="INITIAL_PUBLISH"){Ze(wt);var jt=Be.getState();jt.phase!=="DRAGGING"&&Ne(!1),$.start(jt);return}Ze(wt),$.scroll(Be.getState())}}}},Jn=function($){return function(Be){return function(Ze){if(Be(Ze),Ze.type==="PUBLISH_WHILE_DRAGGING"){var wt=$.getState();wt.phase==="DROP_PENDING"&&(wt.isWaiting||$.dispatch(Mr({reason:wt.reason})))}}}},ei=I.d,Na=function($){var Be=$.dimensionMarshal,Ze=$.focusMarshal,wt=$.styleMarshal,jt=$.getResponders,$t=$.announce,rr=$.autoScroller;return Object(I.e)(Lo,ei(Object(I.a)(Fn(wt),Va(Be),An(Be),Sr,Fa,Ya,Jn,Xa(rr),Gr,Ga(Ze),Kn(jt,$t))))},_n=function(){return{additions:{},removals:{},modified:{}}};function sa(Qe){var $=Qe.registry,Be=Qe.callbacks,Ze=_n(),wt=null,jt=function(){wt||(Be.collectionStarting(),wt=requestAnimationFrame(function(){wt=null,Hi();var Nr=Ze,Dr=Nr.additions,Br=Nr.removals,_r=Nr.modified,rn=Object.keys(Dr).map(function(ya){return $.draggable.getById(ya).getDimension(Ft)}).sort(function(ya,Sa){return ya.descriptor.index-Sa.descriptor.index}),En=Object.keys(_r).map(function(ya){var Sa=$.droppable.getById(ya),ui=Sa.callbacks.getScrollWhileDragging();return{droppableId:ya,scroll:ui}}),Sn={additions:rn,removals:Object.keys(Br),modified:En};Ze=_n(),ao(),Be.publish(Sn)}))},$t=function(Nr){var Dr=Nr.descriptor.id;Ze.additions[Dr]=Nr,Ze.modified[Nr.descriptor.droppableId]=!0,Ze.removals[Dr]&&delete Ze.removals[Dr],jt()},rr=function(Nr){var Dr=Nr.descriptor;Ze.removals[Dr.id]=!0,Ze.modified[Dr.droppableId]=!0,Ze.additions[Dr.id]&&delete Ze.additions[Dr.id],jt()},vr=function(){!wt||(cancelAnimationFrame(wt),wt=null,Ze=_n())};return{add:$t,remove:rr,stop:vr}}var wa=function($){var Be=$.scrollHeight,Ze=$.scrollWidth,wt=$.height,jt=$.width,$t=$e({x:Ze,y:Be},{x:jt,y:wt}),rr={x:Math.max(0,$t.x),y:Math.max(0,$t.y)};return rr},si=function(){var $=document.documentElement;return $||Ne(!1),$},Ka=function(){var $=si(),Be=wa({scrollHeight:$.scrollHeight,scrollWidth:$.scrollWidth,width:$.clientWidth,height:$.clientHeight});return Be},ja=function(){var $=Er(),Be=Ka(),Ze=$.y,wt=$.x,jt=si(),$t=jt.clientWidth,rr=jt.clientHeight,vr=wt+$t,Ur=Ze+rr,Nr=r({top:Ze,left:wt,right:vr,bottom:Ur}),Dr={frame:Nr,scroll:{initial:$,current:$,max:Be,diff:{value:Ft,displacement:Ft}}};return Dr},$a=function($){var Be=$.critical,Ze=$.scrollOptions,wt=$.registry;Hi();var jt=ja(),$t=jt.scroll.current,rr=Be.droppable,vr=wt.droppable.getAllByType(rr.type).map(function(Br){return Br.callbacks.getDimensionAndWatchScroll($t,Ze)}),Ur=wt.draggable.getAllByType(Be.draggable.type).map(function(Br){return Br.getDimension($t)}),Nr={draggables:be(Ur),droppables:te(vr)};ao();var Dr={dimensions:Nr,critical:Be,viewport:jt};return Dr};function Wi(Qe,$,Be){if(Be.descriptor.id===$.id||Be.descriptor.type!==$.type)return!1;var Ze=Qe.droppable.getById(Be.descriptor.droppableId);return Ze.descriptor.mode==="virtual"}var Vi=function($,Be){var Ze=null,wt=sa({callbacks:{publish:Be.publishWhileDragging,collectionStarting:Be.collectionStarting},registry:$}),jt=function(rn,En){$.droppable.exists(rn)||Ne(!1),!!Ze&&Be.updateDroppableIsEnabled({id:rn,isEnabled:En})},$t=function(rn,En){!Ze||($.droppable.exists(rn)||Ne(!1),Be.updateDroppableIsCombineEnabled({id:rn,isCombineEnabled:En}))},rr=function(rn,En){!Ze||($.droppable.exists(rn)||Ne(!1),Be.updateDroppableScroll({id:rn,newScroll:En}))},vr=function(rn,En){!Ze||$.droppable.getById(rn).callbacks.scroll(En)},Ur=function(){if(!!Ze){wt.stop();var rn=Ze.critical.droppable;$.droppable.getAllByType(rn.type).forEach(function(En){return En.callbacks.dragStopped()}),Ze.unsubscribe(),Ze=null}},Nr=function(rn){Ze||Ne(!1);var En=Ze.critical.draggable;rn.type==="ADDITION"&&Wi($,En,rn.value)&&wt.add(rn.value),rn.type==="REMOVAL"&&Wi($,En,rn.value)&&wt.remove(rn.value)},Dr=function(rn){Ze&&Ne(!1);var En=$.draggable.getById(rn.draggableId),Sn=$.droppable.getById(En.descriptor.droppableId),ya={draggable:En.descriptor,droppable:Sn.descriptor},Sa=$.subscribe(Nr);return Ze={critical:ya,unsubscribe:Sa},$a({critical:ya,registry:$,scrollOptions:rn.scrollOptions})},Br={updateDroppableIsEnabled:jt,updateDroppableIsCombineEnabled:$t,scrollDroppable:vr,updateDroppableScroll:rr,startPublishing:Dr,stopPublishing:Ur};return Br},co=function($,Be){return $.phase==="IDLE"?!0:$.phase!=="DROP_ANIMATING"||$.completed.result.draggableId===Be?!1:$.completed.result.reason==="DROP"},oo=function($){window.scrollBy($.x,$.y)},Ki=P(function(Qe){return xe(Qe).filter(function($){return!(!$.isEnabled||!$.frame)})}),Gi=function($,Be){var Ze=ze(Ki(Be),function(wt){return wt.frame||Ne(!1),Ir(wt.frame.pageMarginBox)($)});return Ze},Ji=function($){var Be=$.center,Ze=$.destination,wt=$.droppables;if(Ze){var jt=wt[Ze];return jt.frame?jt:null}var $t=Gi(Be,wt);return $t},pi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function($){return Math.pow($,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Ri=function($,Be){var Ze=$[Be.size]*pi.startFromPercentage,wt=$[Be.size]*pi.maxScrollAtPercentage,jt={startScrollingFrom:Ze,maxScrollValueAt:wt};return jt},Ii=function($){var Be=$.startOfRange,Ze=$.endOfRange,wt=$.current,jt=Ze-Be;if(jt===0)return 0;var $t=wt-Be,rr=$t/jt;return rr},Fi=1,Ro=function($,Be){if($>Be.startScrollingFrom)return 0;if($<=Be.maxScrollValueAt)return pi.maxPixelScroll;if($===Be.startScrollingFrom)return Fi;var Ze=Ii({startOfRange:Be.maxScrollValueAt,endOfRange:Be.startScrollingFrom,current:$}),wt=1-Ze,jt=pi.maxPixelScroll*pi.ease(wt);return Math.ceil(jt)},Zi=pi.durationDampening.accelerateAt,eo=pi.durationDampening.stopDampeningAt,Ni=function($,Be){var Ze=Be,wt=eo,jt=Date.now(),$t=jt-Ze;if($t>=eo)return $;if($t<Zi)return Fi;var rr=Ii({startOfRange:Zi,endOfRange:wt,current:$t}),vr=$*pi.ease(rr);return Math.ceil(vr)},ii=function($){var Be=$.distanceToEdge,Ze=$.thresholds,wt=$.dragStartTime,jt=$.shouldUseTimeDampening,$t=Ro(Be,Ze);return $t===0?0:jt?Math.max(Ni($t,wt),Fi):$t},Yi=function($){var Be=$.container,Ze=$.distanceToEdges,wt=$.dragStartTime,jt=$.axis,$t=$.shouldUseTimeDampening,rr=Ri(Be,jt),vr=Ze[jt.end]<Ze[jt.start];return vr?ii({distanceToEdge:Ze[jt.end],thresholds:rr,dragStartTime:wt,shouldUseTimeDampening:$t}):-1*ii({distanceToEdge:Ze[jt.start],thresholds:rr,dragStartTime:wt,shouldUseTimeDampening:$t})},fo=function($){var Be=$.container,Ze=$.subject,wt=$.proposedScroll,jt=Ze.height>Be.height,$t=Ze.width>Be.width;return!$t&&!jt?wt:$t&&jt?null:{x:$t?0:wt.x,y:jt?0:wt.y}},fa=Ie(function(Qe){return Qe===0?0:Qe}),uo=function($){var Be=$.dragStartTime,Ze=$.container,wt=$.subject,jt=$.center,$t=$.shouldUseTimeDampening,rr={top:jt.y-Ze.top,right:Ze.right-jt.x,bottom:Ze.bottom-jt.y,left:jt.x-Ze.left},vr=Yi({container:Ze,distanceToEdges:rr,dragStartTime:Be,axis:ke,shouldUseTimeDampening:$t}),Ur=Yi({container:Ze,distanceToEdges:rr,dragStartTime:Be,axis:tt,shouldUseTimeDampening:$t}),Nr=fa({x:Ur,y:vr});if(lt(Nr,Ft))return null;var Dr=fo({container:Ze,subject:wt,proposedScroll:Nr});return Dr?lt(Dr,Ft)?null:Dr:null},fi=Ie(function(Qe){return Qe===0?0:Qe>0?1:-1}),Ta=function(){var Qe=function(Be,Ze){return Be<0?Be:Be>Ze?Be-Ze:0};return function($){var Be=$.current,Ze=$.max,wt=$.change,jt=St(Be,wt),$t={x:Qe(jt.x,Ze.x),y:Qe(jt.y,Ze.y)};return lt($t,Ft)?null:$t}}(),Ja=function($){var Be=$.max,Ze=$.current,wt=$.change,jt={x:Math.max(Ze.x,Be.x),y:Math.max(Ze.y,Be.y)},$t=fi(wt),rr=Ta({max:jt,current:Ze,change:$t});return!rr||$t.x!==0&&rr.x===0||$t.y!==0&&rr.y===0},Da=function($,Be){return Ja({current:$.scroll.current,max:$.scroll.max,change:Be})},Gn=function($,Be){if(!Da($,Be))return null;var Ze=$.scroll.max,wt=$.scroll.current;return Ta({current:wt,max:Ze,change:Be})},mi=function($,Be){var Ze=$.frame;return Ze?Ja({current:Ze.scroll.current,max:Ze.scroll.max,change:Be}):!1},no=function($,Be){var Ze=$.frame;return!Ze||!mi($,Be)?null:Ta({current:Ze.scroll.current,max:Ze.scroll.max,change:Be})},bi=function($){var Be=$.viewport,Ze=$.subject,wt=$.center,jt=$.dragStartTime,$t=$.shouldUseTimeDampening,rr=uo({dragStartTime:jt,container:Be.frame,subject:Ze,center:wt,shouldUseTimeDampening:$t});return rr&&Da(Be,rr)?rr:null},Zn=function($){var Be=$.droppable,Ze=$.subject,wt=$.center,jt=$.dragStartTime,$t=$.shouldUseTimeDampening,rr=Be.frame;if(!rr)return null;var vr=uo({dragStartTime:jt,container:rr.pageMarginBox,subject:Ze,center:wt,shouldUseTimeDampening:$t});return vr&&mi(Be,vr)?vr:null},Qa=function($){var Be=$.state,Ze=$.dragStartTime,wt=$.shouldUseTimeDampening,jt=$.scrollWindow,$t=$.scrollDroppable,rr=Be.current.page.borderBoxCenter,vr=Be.dimensions.draggables[Be.critical.draggable.id],Ur=vr.page.marginBox;if(Be.isWindowScrollAllowed){var Nr=Be.viewport,Dr=bi({dragStartTime:Ze,viewport:Nr,subject:Ur,center:rr,shouldUseTimeDampening:wt});if(Dr){jt(Dr);return}}var Br=Ji({center:rr,destination:Oa(Be.impact),droppables:Be.dimensions.droppables});if(!!Br){var _r=Zn({dragStartTime:Ze,droppable:Br,subject:Ur,center:rr,shouldUseTimeDampening:wt});_r&&$t(Br.descriptor.id,_r)}},Wa=function($){var Be=$.scrollWindow,Ze=$.scrollDroppable,wt=R(Be),jt=R(Ze),$t=null,rr=function(Dr){$t||Ne(!1);var Br=$t,_r=Br.shouldUseTimeDampening,rn=Br.dragStartTime;Qa({state:Dr,scrollWindow:wt,scrollDroppable:jt,dragStartTime:rn,shouldUseTimeDampening:_r})},vr=function(Dr){Hi(),$t&&Ne(!1);var Br=Date.now(),_r=!1,rn=function(){_r=!0};Qa({state:Dr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:rn,scrollDroppable:rn}),$t={dragStartTime:Br,shouldUseTimeDampening:_r},ao(),_r&&rr(Dr)},Ur=function(){!$t||(wt.cancel(),jt.cancel(),$t=null)};return{start:vr,stop:Ur,scroll:rr}},to=function($){var Be=$.move,Ze=$.scrollDroppable,wt=$.scrollWindow,jt=function(Nr,Dr){var Br=St(Nr.current.client.selection,Dr);Be({client:Br})},$t=function(Nr,Dr){if(!mi(Nr,Dr))return Dr;var Br=no(Nr,Dr);if(!Br)return Ze(Nr.descriptor.id,Dr),null;var _r=$e(Dr,Br);Ze(Nr.descriptor.id,_r);var rn=$e(Dr,_r);return rn},rr=function(Nr,Dr,Br){if(!Nr||!Da(Dr,Br))return Br;var _r=Gn(Dr,Br);if(!_r)return wt(Br),null;var rn=$e(Br,_r);wt(rn);var En=$e(Br,rn);return En},vr=function(Nr){var Dr=Nr.scrollJumpRequest;if(!!Dr){var Br=Oa(Nr.impact);Br||Ne(!1);var _r=$t(Nr.dimensions.droppables[Br],Dr);if(!!_r){var rn=Nr.viewport,En=rr(Nr.isWindowScrollAllowed,rn,_r);!En||jt(Nr,En)}}};return vr},Ci=function($){var Be=$.scrollDroppable,Ze=$.scrollWindow,wt=$.move,jt=Wa({scrollWindow:Ze,scrollDroppable:Be}),$t=to({move:wt,scrollWindow:Ze,scrollDroppable:Be}),rr=function(Nr){if(Nr.phase==="DRAGGING"){if(Nr.movementMode==="FLUID"){jt.scroll(Nr);return}!Nr.scrollJumpRequest||$t(Nr)}},vr={scroll:rr,start:jt.start,stop:jt.stop};return vr},Ao="data-rbd",jo=function(){var Qe=Ao+"-drag-handle";return{base:Qe,draggableId:Qe+"-draggable-id",contextId:Qe+"-context-id"}}(),es=function(){var Qe=Ao+"-draggable";return{base:Qe,contextId:Qe+"-context-id",id:Qe+"-id"}}(),ts=function(){var Qe=Ao+"-droppable";return{base:Qe,contextId:Qe+"-context-id",id:Qe+"-id"}}(),gs={contextId:Ao+"-scroll-container-context-id"},ls=function($){return function(Be){return"["+Be+'="'+$+'"]'}},Ko=function($,Be){return $.map(function(Ze){var wt=Ze.styles[Be];return wt?Ze.selector+" { "+wt+" }":""}).join(" ")},Ps="pointer-events: none;",Fo=function($){var Be=ls($),Ze=function(){var vr=`
|
|
|
cursor: -webkit-grab;
|
|
|
cursor: grab;
|
|
|
`;return{selector:Be(jo.contextId),styles:{always:`
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
touch-action: manipulation;
|
|
|
`,resting:vr,dragging:Ps,dropAnimating:vr}}}(),wt=function(){var vr=`
|
|
|
transition: `+Bn.outOfTheWay+`;
|
|
|
`;return{selector:Be(es.contextId),styles:{dragging:vr,dropAnimating:vr,userCancel:vr}}}(),jt={selector:Be(ts.contextId),styles:{always:"overflow-anchor: none;"}},$t={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;
|
|
|
`}},rr=[wt,Ze,jt,$t];return{always:Ko(rr,"always"),resting:Ko(rr,"resting"),dragging:Ko(rr,"dragging"),dropAnimating:Ko(rr,"dropAnimating"),userCancel:Ko(rr,"userCancel")}},Ei=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?B.useLayoutEffect:B.useEffect,Ar=function(){var $=document.querySelector("head");return $||Ne(!1),$},so=function($){var Be=document.createElement("style");return $&&Be.setAttribute("nonce",$),Be.type="text/css",Be};function Ui(Qe,$){var Be=i(function(){return Fo(Qe)},[Qe]),Ze=Object(B.useRef)(null),wt=Object(B.useRef)(null),jt=s(P(function(Dr){var Br=wt.current;Br||Ne(!1),Br.textContent=Dr}),[]),$t=s(function(Dr){var Br=Ze.current;Br||Ne(!1),Br.textContent=Dr},[]);Ei(function(){!Ze.current&&!wt.current||Ne(!1);var Dr=so($),Br=so($);return Ze.current=Dr,wt.current=Br,Dr.setAttribute(Ao+"-always",Qe),Br.setAttribute(Ao+"-dynamic",Qe),Ar().appendChild(Dr),Ar().appendChild(Br),$t(Be.always),jt(Be.resting),function(){var _r=function(En){var Sn=En.current;Sn||Ne(!1),Ar().removeChild(Sn),En.current=null};_r(Ze),_r(wt)}},[$,$t,jt,Be.always,Be.resting,Qe]);var rr=s(function(){return jt(Be.dragging)},[jt,Be.dragging]),vr=s(function(Dr){if(Dr==="DROP"){jt(Be.dropAnimating);return}jt(Be.userCancel)},[jt,Be.dropAnimating,Be.userCancel]),Ur=s(function(){!wt.current||jt(Be.resting)},[jt,Be.resting]),Nr=i(function(){return{dragging:rr,dropping:vr,resting:Ur}},[rr,vr,Ur]);return Nr}var da=function($){return $&&$.ownerDocument?$.ownerDocument.defaultView:window};function Pa(Qe){return Qe instanceof da(Qe).HTMLElement}function lo(Qe,$){var Be="["+jo.contextId+'="'+Qe+'"]',Ze=pe(document.querySelectorAll(Be));if(!Ze.length)return null;var wt=ze(Ze,function(jt){return jt.getAttribute(jo.draggableId)===$});return!wt||!Pa(wt)?null:wt}function go(Qe){var $=Object(B.useRef)({}),Be=Object(B.useRef)(null),Ze=Object(B.useRef)(null),wt=Object(B.useRef)(!1),jt=s(function(Br,_r){var rn={id:Br,focus:_r};return $.current[Br]=rn,function(){var Sn=$.current,ya=Sn[Br];ya!==rn&&delete Sn[Br]}},[]),$t=s(function(Br){var _r=lo(Qe,Br);_r&&_r!==document.activeElement&&_r.focus()},[Qe]),rr=s(function(Br,_r){Be.current===Br&&(Be.current=_r)},[]),vr=s(function(){Ze.current||!wt.current||(Ze.current=requestAnimationFrame(function(){Ze.current=null;var Br=Be.current;Br&&$t(Br)}))},[$t]),Ur=s(function(Br){Be.current=null;var _r=document.activeElement;!_r||_r.getAttribute(jo.draggableId)===Br&&(Be.current=Br)},[]);Ei(function(){return wt.current=!0,function(){wt.current=!1;var Br=Ze.current;Br&&cancelAnimationFrame(Br)}},[]);var Nr=i(function(){return{register:jt,tryRecordFocus:Ur,tryRestoreFocusRecorded:vr,tryShiftRecord:rr}},[jt,Ur,vr,rr]);return Nr}function Po(){var Qe={draggables:{},droppables:{}},$=[];function Be(Dr){return $.push(Dr),function(){var _r=$.indexOf(Dr);_r!==-1&&$.splice(_r,1)}}function Ze(Dr){$.length&&$.forEach(function(Br){return Br(Dr)})}function wt(Dr){return Qe.draggables[Dr]||null}function jt(Dr){var Br=wt(Dr);return Br||Ne(!1),Br}var $t={register:function(Br){Qe.draggables[Br.descriptor.id]=Br,Ze({type:"ADDITION",value:Br})},update:function(Br,_r){var rn=Qe.draggables[_r.descriptor.id];!rn||rn.uniqueId===Br.uniqueId&&(delete Qe.draggables[_r.descriptor.id],Qe.draggables[Br.descriptor.id]=Br)},unregister:function(Br){var _r=Br.descriptor.id,rn=wt(_r);!rn||Br.uniqueId===rn.uniqueId&&(delete Qe.draggables[_r],Ze({type:"REMOVAL",value:Br}))},getById:jt,findById:wt,exists:function(Br){return Boolean(wt(Br))},getAllByType:function(Br){return Me(Qe.draggables).filter(function(_r){return _r.descriptor.type===Br})}};function rr(Dr){return Qe.droppables[Dr]||null}function vr(Dr){var Br=rr(Dr);return Br||Ne(!1),Br}var Ur={register:function(Br){Qe.droppables[Br.descriptor.id]=Br},unregister:function(Br){var _r=rr(Br.descriptor.id);!_r||Br.uniqueId===_r.uniqueId&&delete Qe.droppables[Br.descriptor.id]},getById:vr,findById:rr,exists:function(Br){return Boolean(rr(Br))},getAllByType:function(Br){return Me(Qe.droppables).filter(function(_r){return _r.descriptor.type===Br})}};function Nr(){Qe.draggables={},Qe.droppables={},$.length=0}return{draggable:$t,droppable:Ur,subscribe:Be,clean:Nr}}function bo(){var Qe=i(Po,[]);return Object(B.useEffect)(function(){return function(){requestAnimationFrame(Qe.clean)}},[Qe]),Qe}var So=T.a.createContext(null),rs=function(){var $=document.body;return $||Ne(!1),$},is={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Is=function($){return"rbd-announcement-"+$};function ds(Qe){var $=i(function(){return Is(Qe)},[Qe]),Be=Object(B.useRef)(null);Object(B.useEffect)(function(){var jt=document.createElement("div");return Be.current=jt,jt.id=$,jt.setAttribute("aria-live","assertive"),jt.setAttribute("aria-atomic","true"),Object(D.a)(jt.style,is),rs().appendChild(jt),function(){setTimeout(function(){var vr=rs();vr.contains(jt)&&vr.removeChild(jt),jt===Be.current&&(Be.current=null)})}},[$]);var Ze=s(function(wt){var jt=Be.current;if(jt){jt.textContent=wt;return}},[]);return Ze}var ps=0,$o={separator:"::"};function ms(){ps=0}function os(Qe,$){return $===void 0&&($=$o),i(function(){return""+Qe+$.separator+ps++},[$.separator,Qe])}function _o(Qe){var $=Qe.contextId,Be=Qe.uniqueId;return"rbd-hidden-text-"+$+"-"+Be}function Fs(Qe){var $=Qe.contextId,Be=Qe.text,Ze=os("hidden-text",{separator:"-"}),wt=i(function(){return _o({contextId:$,uniqueId:Ze})},[Ze,$]);return Object(B.useEffect)(function(){var $t=document.createElement("div");return $t.id=wt,$t.textContent=Be,$t.style.display="none",rs().appendChild($t),function(){var vr=rs();vr.contains($t)&&vr.removeChild($t)}},[wt,Be]),wt}var ss=T.a.createContext(null),us={react:"^16.8.5 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.5 || ^17.0.0 || ^18.0.0"},Bt=/(\d+)\.(\d+)\.(\d+)/,X=function($){var Be=Bt.exec($);Be==null&&Ne(!1);var Ze=Number(Be[1]),wt=Number(Be[2]),jt=Number(Be[3]);return{major:Ze,minor:wt,patch:jt,raw:$}},re=function($,Be){return Be.major>$.major?!0:Be.major<$.major?!1:Be.minor>$.minor?!0:Be.minor<$.minor?!1:Be.patch>=$.patch},le=function($,Be){var Ze=X($),wt=X(Be);!re(Ze,wt)},we=`
|
|
|
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
|
|
|
`,Xe=function($){var Be=$.doctype;!Be||(Be.name.toLowerCase()!=="html",Be.publicId!=="")};function xt(Qe){}function tr(Qe,$){xt(function(){Object(B.useEffect)(function(){try{Qe()}catch(Be){ie(`
|
|
|
A setup problem was encountered.
|
|
|
|
|
|
> `+Be.message+`
|
|
|
`)}},$)})}function ur(){tr(function(){le(us.react,T.a.version),Xe(document)},[])}function br(Qe){var $=Object(B.useRef)(Qe);return Object(B.useEffect)(function(){$.current=Qe}),$}function Qr(){var Qe=null;function $(){return Boolean(Qe)}function Be($t){return $t===Qe}function Ze($t){Qe&&Ne(!1);var rr={abandon:$t};return Qe=rr,rr}function wt(){Qe||Ne(!1),Qe=null}function jt(){Qe&&(Qe.abandon(),wt())}return{isClaimed:$,isActive:Be,claim:Ze,release:wt,tryAbandon:jt}}var an=9,yn=13,Ln=27,Rn=32,ma=33,Ha=34,wi=35,Di=36,Oi=37,po=38,mo=39,Eo=40,Bo,No=(Bo={},Bo[yn]=!0,Bo[an]=!0,Bo),Go=function($){No[$.keyCode]&&$.preventDefault()},Yo=function(){var Qe="visibilitychange";if(typeof document=="undefined")return Qe;var $=[Qe,"ms"+Qe,"webkit"+Qe,"moz"+Qe,"o"+Qe],Be=ze($,function(Ze){return"on"+Ze in document});return Be||Qe}(),ro=0,va=5;function _s(Qe,$){return Math.abs($.x-Qe.x)>=va||Math.abs($.y-Qe.y)>=va}var As={type:"IDLE"};function Jo(Qe){var $=Qe.cancel,Be=Qe.completed,Ze=Qe.getPhase,wt=Qe.setPhase;return[{eventName:"mousemove",fn:function($t){var rr=$t.button,vr=$t.clientX,Ur=$t.clientY;if(rr===ro){var Nr={x:vr,y:Ur},Dr=Ze();if(Dr.type==="DRAGGING"){$t.preventDefault(),Dr.actions.move(Nr);return}Dr.type!=="PENDING"&&Ne(!1);var Br=Dr.point;if(!!_s(Br,Nr)){$t.preventDefault();var _r=Dr.actions.fluidLift(Nr);wt({type:"DRAGGING",actions:_r})}}}},{eventName:"mouseup",fn:function($t){var rr=Ze();if(rr.type!=="DRAGGING"){$();return}$t.preventDefault(),rr.actions.drop({shouldBlockNextClick:!0}),Be()}},{eventName:"mousedown",fn:function($t){Ze().type==="DRAGGING"&&$t.preventDefault(),$()}},{eventName:"keydown",fn:function($t){var rr=Ze();if(rr.type==="PENDING"){$();return}if($t.keyCode===Ln){$t.preventDefault(),$();return}Go($t)}},{eventName:"resize",fn:$},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Ze().type==="PENDING"&&$()}},{eventName:"webkitmouseforcedown",fn:function($t){var rr=Ze();if(rr.type==="IDLE"&&Ne(!1),rr.actions.shouldRespectForcePress()){$();return}$t.preventDefault()}},{eventName:Yo,fn:$}]}function ni(Qe){var $=Object(B.useRef)(As),Be=Object(B.useRef)(fe),Ze=i(function(){return{eventName:"mousedown",fn:function(Dr){if(!Dr.defaultPrevented&&Dr.button===ro&&!(Dr.ctrlKey||Dr.metaKey||Dr.shiftKey||Dr.altKey)){var Br=Qe.findClosestDraggableId(Dr);if(!!Br){var _r=Qe.tryGetLock(Br,$t,{sourceEvent:Dr});if(!!_r){Dr.preventDefault();var rn={x:Dr.clientX,y:Dr.clientY};Be.current(),Ur(_r,rn)}}}}}},[Qe]),wt=i(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Dr){if(!Dr.defaultPrevented){var Br=Qe.findClosestDraggableId(Dr);if(!!Br){var _r=Qe.findOptionsForDraggable(Br);!_r||_r.shouldRespectForcePress||!Qe.canGetLock(Br)||Dr.preventDefault()}}}}},[Qe]),jt=s(function(){var Dr={passive:!1,capture:!0};Be.current=ge(window,[wt,Ze],Dr)},[wt,Ze]),$t=s(function(){var Nr=$.current;Nr.type!=="IDLE"&&($.current=As,Be.current(),jt())},[jt]),rr=s(function(){var Nr=$.current;$t(),Nr.type==="DRAGGING"&&Nr.actions.cancel({shouldBlockNextClick:!0}),Nr.type==="PENDING"&&Nr.actions.abort()},[$t]),vr=s(function(){var Dr={capture:!0,passive:!1},Br=Jo({cancel:rr,completed:$t,getPhase:function(){return $.current},setPhase:function(rn){$.current=rn}});Be.current=ge(window,Br,Dr)},[rr,$t]),Ur=s(function(Dr,Br){$.current.type!=="IDLE"&&Ne(!1),$.current={type:"PENDING",point:Br,actions:Dr},vr()},[vr]);Ei(function(){return jt(),function(){Be.current()}},[jt])}var Si;function Uo(){}var ns=(Si={},Si[Ha]=!0,Si[ma]=!0,Si[Di]=!0,Si[wi]=!0,Si);function Ds(Qe,$){function Be(){$(),Qe.cancel()}function Ze(){$(),Qe.drop()}return[{eventName:"keydown",fn:function(jt){if(jt.keyCode===Ln){jt.preventDefault(),Be();return}if(jt.keyCode===Rn){jt.preventDefault(),Ze();return}if(jt.keyCode===Eo){jt.preventDefault(),Qe.moveDown();return}if(jt.keyCode===po){jt.preventDefault(),Qe.moveUp();return}if(jt.keyCode===mo){jt.preventDefault(),Qe.moveRight();return}if(jt.keyCode===Oi){jt.preventDefault(),Qe.moveLeft();return}if(ns[jt.keyCode]){jt.preventDefault();return}Go(jt)}},{eventName:"mousedown",fn:Be},{eventName:"mouseup",fn:Be},{eventName:"click",fn:Be},{eventName:"touchstart",fn:Be},{eventName:"resize",fn:Be},{eventName:"wheel",fn:Be,options:{passive:!0}},{eventName:Yo,fn:Be}]}function cs(Qe){var $=Object(B.useRef)(Uo),Be=i(function(){return{eventName:"keydown",fn:function(jt){if(jt.defaultPrevented||jt.keyCode!==Rn)return;var $t=Qe.findClosestDraggableId(jt);if(!$t)return;var rr=Qe.tryGetLock($t,Nr,{sourceEvent:jt});if(!rr)return;jt.preventDefault();var vr=!0,Ur=rr.snapLift();$.current();function Nr(){vr||Ne(!1),vr=!1,$.current(),Ze()}$.current=ge(window,Ds(Ur,Nr),{capture:!0,passive:!1})}}},[Qe]),Ze=s(function(){var jt={passive:!1,capture:!0};$.current=ge(window,[Be],jt)},[Be]);Ei(function(){return Ze(),function(){$.current()}},[Ze])}var Ms={type:"IDLE"},js=120,Oo=.15;function Ns(Qe){var $=Qe.cancel,Be=Qe.getPhase;return[{eventName:"orientationchange",fn:$},{eventName:"resize",fn:$},{eventName:"contextmenu",fn:function(wt){wt.preventDefault()}},{eventName:"keydown",fn:function(wt){if(Be().type!=="DRAGGING"){$();return}wt.keyCode===Ln&&wt.preventDefault(),$()}},{eventName:Yo,fn:$}]}function sl(Qe){var $=Qe.cancel,Be=Qe.completed,Ze=Qe.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(jt){var $t=Ze();if($t.type!=="DRAGGING"){$();return}$t.hasMoved=!0;var rr=jt.touches[0],vr=rr.clientX,Ur=rr.clientY,Nr={x:vr,y:Ur};jt.preventDefault(),$t.actions.move(Nr)}},{eventName:"touchend",fn:function(jt){var $t=Ze();if($t.type!=="DRAGGING"){$();return}jt.preventDefault(),$t.actions.drop({shouldBlockNextClick:!0}),Be()}},{eventName:"touchcancel",fn:function(jt){if(Ze().type!=="DRAGGING"){$();return}jt.preventDefault(),$()}},{eventName:"touchforcechange",fn:function(jt){var $t=Ze();$t.type==="IDLE"&&Ne(!1);var rr=jt.touches[0];if(!!rr){var vr=rr.force>=Oo;if(!!vr){var Ur=$t.actions.shouldRespectForcePress();if($t.type==="PENDING"){Ur&&$();return}if(Ur){if($t.hasMoved){jt.preventDefault();return}$();return}jt.preventDefault()}}}},{eventName:Yo,fn:$}]}function xl(Qe){var $=Object(B.useRef)(Ms),Be=Object(B.useRef)(fe),Ze=s(function(){return $.current},[]),wt=s(function(_r){$.current=_r},[]),jt=i(function(){return{eventName:"touchstart",fn:function(_r){if(!_r.defaultPrevented){var rn=Qe.findClosestDraggableId(_r);if(!!rn){var En=Qe.tryGetLock(rn,rr,{sourceEvent:_r});if(!!En){var Sn=_r.touches[0],ya=Sn.clientX,Sa=Sn.clientY,ui={x:ya,y:Sa};Be.current(),Dr(En,ui)}}}}}},[Qe]),$t=s(function(){var _r={capture:!0,passive:!1};Be.current=ge(window,[jt],_r)},[jt]),rr=s(function(){var Br=$.current;Br.type!=="IDLE"&&(Br.type==="PENDING"&&clearTimeout(Br.longPressTimerId),wt(Ms),Be.current(),$t())},[$t,wt]),vr=s(function(){var Br=$.current;rr(),Br.type==="DRAGGING"&&Br.actions.cancel({shouldBlockNextClick:!0}),Br.type==="PENDING"&&Br.actions.abort()},[rr]),Ur=s(function(){var _r={capture:!0,passive:!1},rn={cancel:vr,completed:rr,getPhase:Ze},En=ge(window,sl(rn),_r),Sn=ge(window,Ns(rn),_r);Be.current=function(){En(),Sn()}},[vr,Ze,rr]),Nr=s(function(){var _r=Ze();_r.type!=="PENDING"&&Ne(!1);var rn=_r.actions.fluidLift(_r.point);wt({type:"DRAGGING",actions:rn,hasMoved:!1})},[Ze,wt]),Dr=s(function(_r,rn){Ze().type!=="IDLE"&&Ne(!1);var En=setTimeout(Nr,js);wt({type:"PENDING",point:rn,actions:_r,longPressTimerId:En}),Ur()},[Ur,Ze,wt,Nr]);Ei(function(){return $t(),function(){Be.current();var rn=Ze();rn.type==="PENDING"&&(clearTimeout(rn.longPressTimerId),wt(Ms))}},[Ze,$t,wt]),Ei(function(){var _r=ge(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return _r},[])}function el(Qe){xt(function(){var $=br(Qe);tr(function(){$.current.length!==Qe.length&&Ne(!1)})})}var Ys={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Xs(Qe,$){if($==null)return!1;var Be=Boolean(Ys[$.tagName.toLowerCase()]);if(Be)return!0;var Ze=$.getAttribute("contenteditable");return Ze==="true"||Ze===""?!0:$===Qe?!1:Xs(Qe,$.parentElement)}function bl(Qe,$){var Be=$.target;return Pa(Be)?Xs(Qe,Be):!1}var al=function($){return r($.getBoundingClientRect()).center};function Xl(Qe){return Qe instanceof da(Qe).Element}var ll=function(){var Qe="matches";if(typeof document=="undefined")return Qe;var $=[Qe,"msMatchesSelector","webkitMatchesSelector"],Be=ze($,function(Ze){return Ze in Element.prototype});return Be||Qe}();function Ul(Qe,$){return Qe==null?null:Qe[ll]($)?Qe:Ul(Qe.parentElement,$)}function ul(Qe,$){return Qe.closest?Qe.closest($):Ul(Qe,$)}function Js(Qe){return"["+jo.contextId+'="'+Qe+'"]'}function cl(Qe,$){var Be=$.target;if(!Xl(Be))return null;var Ze=Js(Qe),wt=ul(Be,Ze);return!wt||!Pa(wt)?null:wt}function $l(Qe,$){var Be=cl(Qe,$);return Be?Be.getAttribute(jo.draggableId):null}function fl(Qe,$){var Be="["+es.contextId+'="'+Qe+'"]',Ze=pe(document.querySelectorAll(Be)),wt=ze(Ze,function(jt){return jt.getAttribute(es.id)===$});return!wt||!Pa(wt)?null:wt}function Jl(Qe){Qe.preventDefault()}function Cl(Qe){var $=Qe.expected,Be=Qe.phase,Ze=Qe.isLockActive,wt=Qe.shouldWarn;return!(!Ze()||$!==Be)}function wl(Qe){var $=Qe.lockAPI,Be=Qe.store,Ze=Qe.registry,wt=Qe.draggableId;if($.isClaimed())return!1;var jt=Ze.draggable.findById(wt);return!(!jt||!jt.options.isEnabled||!co(Be.getState(),wt))}function dl(Qe){var $=Qe.lockAPI,Be=Qe.contextId,Ze=Qe.store,wt=Qe.registry,jt=Qe.draggableId,$t=Qe.forceSensorStop,rr=Qe.sourceEvent,vr=wl({lockAPI:$,store:Ze,registry:wt,draggableId:jt});if(!vr)return null;var Ur=wt.draggable.getById(jt),Nr=fl(Be,Ur.descriptor.id);if(!Nr||rr&&!Ur.options.canDragInteractiveElements&&bl(Nr,rr))return null;var Dr=$.claim($t||fe),Br="PRE_DRAG";function _r(){return Ur.options.shouldRespectForcePress}function rn(){return $.isActive(Dr)}function En(Mi,Ti){Cl({expected:Mi,phase:Br,isLockActive:rn,shouldWarn:!0})&&Ze.dispatch(Ti())}var Sn=En.bind(null,"DRAGGING");function ya(Mi){function Ti(){$.release(),Br="COMPLETED"}Br!=="PRE_DRAG"&&(Ti(),Br!=="PRE_DRAG"&&Ne(!1)),Ze.dispatch(io(Mi.liftActionArgs)),Br="DRAGGING";function Ts(To,xs){if(xs===void 0&&(xs={shouldBlockNextClick:!1}),Mi.cleanup(),xs.shouldBlockNextClick){var bs=ge(window,[{eventName:"click",fn:Jl,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(bs)}Ti(),Ze.dispatch(Mr({reason:To}))}return Object(D.a)({isActive:function(){return Cl({expected:"DRAGGING",phase:Br,isLockActive:rn,shouldWarn:!1})},shouldRespectForcePress:_r,drop:function(xs){return Ts("DROP",xs)},cancel:function(xs){return Ts("CANCEL",xs)}},Mi.actions)}function Sa(Mi){var Ti=R(function(To){Sn(function(){return as({client:To})})}),Ts=ya({liftActionArgs:{id:jt,clientSelection:Mi,movementMode:"FLUID"},cleanup:function(){return Ti.cancel()},actions:{move:Ti}});return Object(D.a)({},Ts,{move:Ti})}function ui(){var Mi={moveUp:function(){return Sn(vs)},moveRight:function(){return Sn(ji)},moveDown:function(){return Sn(fs)},moveLeft:function(){return Sn(Ke)}};return ya({liftActionArgs:{id:jt,clientSelection:al(Nr),movementMode:"SNAP"},cleanup:fe,actions:Mi})}function Za(){var Mi=Cl({expected:"PRE_DRAG",phase:Br,isLockActive:rn,shouldWarn:!0});Mi&&$.release()}var qi={isActive:function(){return Cl({expected:"PRE_DRAG",phase:Br,isLockActive:rn,shouldWarn:!1})},shouldRespectForcePress:_r,fluidLift:Sa,snapLift:ui,abort:Za};return qi}var Zs=[ni,cs,xl];function il(Qe){var $=Qe.contextId,Be=Qe.store,Ze=Qe.registry,wt=Qe.customSensors,jt=Qe.enableDefaultSensors,$t=[].concat(jt?Zs:[],wt||[]),rr=Object(B.useState)(function(){return Qr()})[0],vr=s(function(Sa,ui){Sa.isDragging&&!ui.isDragging&&rr.tryAbandon()},[rr]);Ei(function(){var Sa=Be.getState(),ui=Be.subscribe(function(){var Za=Be.getState();vr(Sa,Za),Sa=Za});return ui},[rr,Be,vr]),Ei(function(){return rr.tryAbandon},[rr.tryAbandon]);var Ur=s(function(ya){return wl({lockAPI:rr,registry:Ze,store:Be,draggableId:ya})},[rr,Ze,Be]),Nr=s(function(ya,Sa,ui){return dl({lockAPI:rr,registry:Ze,contextId:$,store:Be,draggableId:ya,forceSensorStop:Sa,sourceEvent:ui&&ui.sourceEvent?ui.sourceEvent:null})},[$,rr,Ze,Be]),Dr=s(function(ya){return $l($,ya)},[$]),Br=s(function(ya){var Sa=Ze.draggable.findById(ya);return Sa?Sa.options:null},[Ze.draggable]),_r=s(function(){!rr.isClaimed()||(rr.tryAbandon(),Be.getState().phase!=="IDLE"&&Be.dispatch(Gt()))},[rr,Be]),rn=s(rr.isClaimed,[rr]),En=i(function(){return{canGetLock:Ur,tryGetLock:Nr,findClosestDraggableId:Dr,findOptionsForDraggable:Br,tryReleaseLock:_r,isLockClaimed:rn}},[Ur,Nr,Dr,Br,_r,rn]);el($t);for(var Sn=0;Sn<$t.length;Sn++)$t[Sn](En)}var qs=function($){return{onBeforeCapture:$.onBeforeCapture,onBeforeDragStart:$.onBeforeDragStart,onDragStart:$.onDragStart,onDragEnd:$.onDragEnd,onDragUpdate:$.onDragUpdate}};function tl(Qe){return Qe.current||Ne(!1),Qe.current}function Zl(Qe){var $=Qe.contextId,Be=Qe.setCallbacks,Ze=Qe.sensors,wt=Qe.nonce,jt=Qe.dragHandleUsageInstructions,$t=Object(B.useRef)(null);ur();var rr=br(Qe),vr=s(function(){return qs(rr.current)},[rr]),Ur=ds($),Nr=Fs({contextId:$,text:jt}),Dr=Ui($,wt),Br=s(function(To){tl($t).dispatch(To)},[]),_r=i(function(){return Object(I.b)({publishWhileDragging:xo,updateDroppableScroll:Io,updateDroppableIsEnabled:Do,updateDroppableIsCombineEnabled:Hs,collectionStarting:Vo},Br)},[Br]),rn=bo(),En=i(function(){return Vi(rn,_r)},[rn,_r]),Sn=i(function(){return Ci(Object(D.a)({scrollWindow:oo,scrollDroppable:En.scrollDroppable},Object(I.b)({move:as},Br)))},[En.scrollDroppable,Br]),ya=go($),Sa=i(function(){return Na({announce:Ur,autoScroller:Sn,dimensionMarshal:En,focusMarshal:ya,getResponders:vr,styleMarshal:Dr})},[Ur,Sn,En,ya,vr,Dr]);$t.current=Sa;var ui=s(function(){var To=tl($t),xs=To.getState();xs.phase!=="IDLE"&&To.dispatch(Gt())},[]),Za=s(function(){var To=tl($t).getState();return To.isDragging||To.phase==="DROP_ANIMATING"},[]),qi=i(function(){return{isDragging:Za,tryAbort:ui}},[Za,ui]);Be(qi);var Mi=s(function(To){return co(tl($t).getState(),To)},[]),Ti=s(function(){return Hn(tl($t).getState())},[]),Ts=i(function(){return{marshal:En,focus:ya,contextId:$,canLift:Mi,isMovementAllowed:Ti,dragHandleUsageInstructionsId:Nr,registry:rn}},[$,En,Nr,ya,Mi,Ti,rn]);return il({contextId:$,store:Sa,registry:rn,customSensors:Ze,enableDefaultSensors:Qe.enableDefaultSensors!==!1}),Object(B.useEffect)(function(){return ui},[ui]),T.a.createElement(ss.Provider,{value:Ts},T.a.createElement(E.a,{context:So,store:Sa},Qe.children))}var zi=0;function ga(){zi=0}function oi(){return i(function(){return""+zi++},[])}function Xi(){ga(),ms()}function Zo(Qe){var $=oi(),Be=Qe.dragHandleUsageInstructions||Dt.dragHandleUsageInstructions;return T.a.createElement(He,null,function(Ze){return T.a.createElement(Zl,{nonce:Qe.nonce,contextId:$,setCallbacks:Ze,dragHandleUsageInstructions:Be,enableDefaultSensors:Qe.enableDefaultSensors,sensors:Qe.sensors,onBeforeCapture:Qe.onBeforeCapture,onBeforeDragStart:Qe.onBeforeDragStart,onDragStart:Qe.onDragStart,onDragUpdate:Qe.onDragUpdate,onDragEnd:Qe.onDragEnd},Qe.children)})}var zs=function($){return function(Be){return $===Be}},$s=zs("scroll"),Qs=zs("auto"),Vs=zs("visible"),Xo=function($,Be){return Be($.overflowX)||Be($.overflowY)},Al=function($,Be){return Be($.overflowX)&&Be($.overflowY)},Ls=function($){var Be=window.getComputedStyle($),Ze={overflowX:Be.overflowX,overflowY:Be.overflowY};return Xo(Ze,$s)||Xo(Ze,Qs)},Ku=function(){return!1;var $,Be,Ze,wt},Ks=function Qe($){return $==null?null:$===document.body?Ku()?$:null:$===document.documentElement?null:Ls($)?$:Qe($.parentElement)},du=function($){if(!!$)var Be=Ks($.parentElement)},ql=function($){return{x:$.scrollLeft,y:$.scrollTop}},Iu=function Qe($){if(!$)return!1;var Be=window.getComputedStyle($);return Be.position==="fixed"?!0:Qe($.parentElement)},Wu=function($){var Be=Ks($),Ze=Iu($);return{closestScrollable:Be,isFixedOnPage:Ze}},Gu=function($){var Be=$.descriptor,Ze=$.isEnabled,wt=$.isCombineEnabled,jt=$.isFixedOnPage,$t=$.direction,rr=$.client,vr=$.page,Ur=$.closest,Nr=function(){if(!Ur)return null;var rn=Ur.scrollSize,En=Ur.client,Sn=wa({scrollHeight:rn.scrollHeight,scrollWidth:rn.scrollWidth,height:En.paddingBox.height,width:En.paddingBox.width});return{pageMarginBox:Ur.page.marginBox,frameClient:En,scrollSize:rn,shouldClipSubject:Ur.shouldClipSubject,scroll:{initial:Ur.scroll,current:Ur.scroll,max:Sn,diff:{value:Ft,displacement:Ft}}}}(),Dr=$t==="vertical"?ke:tt,Br=Ye({page:vr,withPlaceholder:null,axis:Dr,frame:Nr}),_r={descriptor:Be,isCombineEnabled:wt,isFixedOnPage:jt,axis:Dr,isEnabled:Ze,client:rr,page:vr,frame:Nr,subject:Br};return _r},Yu=function($,Be){var Ze=g($);if(!Be||$!==Be)return Ze;var wt=Ze.paddingBox.top-Be.scrollTop,jt=Ze.paddingBox.left-Be.scrollLeft,$t=wt+Be.scrollHeight,rr=jt+Be.scrollWidth,vr={top:wt,right:rr,bottom:$t,left:jt},Ur=u(vr,Ze.border),Nr=c({borderBox:Ur,margin:Ze.margin,border:Ze.border,padding:Ze.padding});return Nr},hl=function($){var Be=$.ref,Ze=$.descriptor,wt=$.env,jt=$.windowScroll,$t=$.direction,rr=$.isDropDisabled,vr=$.isCombineEnabled,Ur=$.shouldClipSubject,Nr=wt.closestScrollable,Dr=Yu(Be,Nr),Br=A(Dr,jt),_r=function(){if(!Nr)return null;var En=g(Nr),Sn={scrollHeight:Nr.scrollHeight,scrollWidth:Nr.scrollWidth};return{client:En,page:A(En,jt),scroll:ql(Nr),scrollSize:Sn,shouldClipSubject:Ur}}(),rn=Gu({descriptor:Ze,isEnabled:!rr,isCombineEnabled:vr,isFixedOnPage:wt.isFixedOnPage,direction:$t,client:Dr,page:Br,closest:_r});return rn},kl={passive:!1},eu={passive:!0},Dl=function($){return $.shouldPublishImmediately?kl:eu};function Ws(Qe){var $=Object(B.useContext)(Qe);return $||Ne(!1),$}var tu=function($){return $&&$.env.closestScrollable||null};function Au(Qe){var $=Object(B.useRef)(null),Be=Ws(ss),Ze=os("droppable"),wt=Be.registry,jt=Be.marshal,$t=br(Qe),rr=i(function(){return{id:Qe.droppableId,type:Qe.type,mode:Qe.mode}},[Qe.droppableId,Qe.mode,Qe.type]),vr=Object(B.useRef)(rr),Ur=i(function(){return P(function(Za,qi){$.current||Ne(!1);var Mi={x:Za,y:qi};jt.updateDroppableScroll(rr.id,Mi)})},[rr.id,jt]),Nr=s(function(){var Za=$.current;return!Za||!Za.env.closestScrollable?Ft:ql(Za.env.closestScrollable)},[]),Dr=s(function(){var Za=Nr();Ur(Za.x,Za.y)},[Nr,Ur]),Br=i(function(){return R(Dr)},[Dr]),_r=s(function(){var Za=$.current,qi=tu(Za);Za&&qi||Ne(!1);var Mi=Za.scrollOptions;if(Mi.shouldPublishImmediately){Dr();return}Br()},[Br,Dr]),rn=s(function(Za,qi){$.current&&Ne(!1);var Mi=$t.current,Ti=Mi.getDroppableRef();Ti||Ne(!1);var Ts=Wu(Ti),To={ref:Ti,descriptor:rr,env:Ts,scrollOptions:qi};$.current=To;var xs=hl({ref:Ti,descriptor:rr,env:Ts,windowScroll:Za,direction:Mi.direction,isDropDisabled:Mi.isDropDisabled,isCombineEnabled:Mi.isCombineEnabled,shouldClipSubject:!Mi.ignoreContainerClipping}),bs=Ts.closestScrollable;return bs&&(bs.setAttribute(gs.contextId,Be.contextId),bs.addEventListener("scroll",_r,Dl(To.scrollOptions))),xs},[Be.contextId,rr,_r,$t]),En=s(function(){var Za=$.current,qi=tu(Za);return Za&&qi||Ne(!1),ql(qi)},[]),Sn=s(function(){var Za=$.current;Za||Ne(!1);var qi=tu(Za);$.current=null,!!qi&&(Br.cancel(),qi.removeAttribute(gs.contextId),qi.removeEventListener("scroll",_r,Dl(Za.scrollOptions)))},[_r,Br]),ya=s(function(Za){var qi=$.current;qi||Ne(!1);var Mi=tu(qi);Mi||Ne(!1),Mi.scrollTop+=Za.y,Mi.scrollLeft+=Za.x},[]),Sa=i(function(){return{getDimensionAndWatchScroll:rn,getScrollWhileDragging:En,dragStopped:Sn,scroll:ya}},[Sn,rn,En,ya]),ui=i(function(){return{uniqueId:Ze,descriptor:rr,callbacks:Sa}},[Sa,rr,Ze]);Ei(function(){return vr.current=ui.descriptor,wt.droppable.register(ui),function(){$.current&&Sn(),wt.droppable.unregister(ui)}},[Sa,rr,Sn,ui,jt,wt.droppable]),Ei(function(){!$.current||jt.updateDroppableIsEnabled(vr.current.id,!Qe.isDropDisabled)},[Qe.isDropDisabled,jt]),Ei(function(){!$.current||jt.updateDroppableIsCombineEnabled(vr.current.id,Qe.isCombineEnabled)},[Qe.isCombineEnabled,jt])}function ol(){}var ys={width:0,height:0,margin:bt},Tl=function($){var Be=$.isAnimatingOpenOnMount,Ze=$.placeholder,wt=$.animate;return Be||wt==="close"?ys:{height:Ze.client.borderBox.height,width:Ze.client.borderBox.width,margin:Ze.client.margin}},Du=function($){var Be=$.isAnimatingOpenOnMount,Ze=$.placeholder,wt=$.animate,jt=Tl({isAnimatingOpenOnMount:Be,placeholder:Ze,animate:wt});return{display:Ze.display,boxSizing:"border-box",width:jt.width,height:jt.height,marginTop:jt.margin.top,marginRight:jt.margin.right,marginBottom:jt.margin.bottom,marginLeft:jt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:wt!=="none"?Bn.placeholder:null}};function ru(Qe){var $=Object(B.useRef)(null),Be=s(function(){!$.current||(clearTimeout($.current),$.current=null)},[]),Ze=Qe.animate,wt=Qe.onTransitionEnd,jt=Qe.onClose,$t=Qe.contextId,rr=Object(B.useState)(Qe.animate==="open"),vr=rr[0],Ur=rr[1];Object(B.useEffect)(function(){return vr?Ze!=="open"?(Be(),Ur(!1),ol):$.current?ol:($.current=setTimeout(function(){$.current=null,Ur(!1)}),Be):ol},[Ze,vr,Be]);var Nr=s(function(Br){Br.propertyName==="height"&&(wt(),Ze==="close"&&jt())},[Ze,jt,wt]),Dr=Du({isAnimatingOpenOnMount:vr,animate:Qe.animate,placeholder:Qe.placeholder});return T.a.createElement(Qe.placeholder.tagName,{style:Dr,"data-rbd-placeholder-context-id":$t,onTransitionEnd:Nr,ref:Qe.innerRef})}var Sl=T.a.memo(ru),Bl=T.a.createContext(null);function nu(Qe){Qe&&Pa(Qe)||Ne(!1)}function Hl(Qe){return typeof Qe=="boolean"}function hu(Qe,$){$.forEach(function(Be){return Be(Qe)})}var _l=[function($){var Be=$.props;Be.droppableId||Ne(!1),typeof Be.droppableId!="string"&&Ne(!1)},function($){var Be=$.props;Hl(Be.isDropDisabled)||Ne(!1),Hl(Be.isCombineEnabled)||Ne(!1),Hl(Be.ignoreContainerClipping)||Ne(!1)},function($){var Be=$.getDroppableRef;nu(Be())}],Tu=[function($){var Be=$.props,Ze=$.getPlaceholderRef;if(!!Be.placeholder)var wt=Ze()}],Xu=[function($){var Be=$.props;Be.renderClone||Ne(!1)},function($){var Be=$.getPlaceholderRef;Be()&&Ne(!1)}];function Pu(Qe){tr(function(){hu(Qe,_l),Qe.props.mode==="standard"&&hu(Qe,Tu),Qe.props.mode==="virtual"&&hu(Qe,Xu)})}var au=function(Qe){Object(w.a)($,Qe);function $(){for(var Ze,wt=arguments.length,jt=new Array(wt),$t=0;$t<wt;$t++)jt[$t]=arguments[$t];return Ze=Qe.call.apply(Qe,[this].concat(jt))||this,Ze.state={isVisible:Boolean(Ze.props.on),data:Ze.props.on,animate:Ze.props.shouldAnimate&&Ze.props.on?"open":"none"},Ze.onClose=function(){Ze.state.animate==="close"&&Ze.setState({isVisible:!1})},Ze}$.getDerivedStateFromProps=function(wt,jt){return wt.shouldAnimate?wt.on?{isVisible:!0,data:wt.on,animate:"open"}:jt.isVisible?{isVisible:!0,data:jt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(wt.on),data:wt.on,animate:"none"}};var Be=$.prototype;return Be.render=function(){if(!this.state.isVisible)return null;var wt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(wt)},$}(T.a.PureComponent),vu={dragging:5e3,dropAnimating:4500},Mu=function($,Be){return Be?Bn.drop(Be.duration):$?Bn.snap:Bn.fluid},Pl=function($,Be){return $?Be?Kr.opacity.drop:Kr.opacity.combining:null},gu=function($){return $.forceShouldAnimate!=null?$.forceShouldAnimate:$.mode==="SNAP"};function iu(Qe){var $=Qe.dimension,Be=$.client,Ze=Qe.offset,wt=Qe.combineWith,jt=Qe.dropping,$t=Boolean(wt),rr=gu(Qe),vr=Boolean(jt),Ur=vr?Nn.drop(Ze,$t):Nn.moveTo(Ze),Nr={position:"fixed",top:Be.marginBox.top,left:Be.marginBox.left,boxSizing:"border-box",width:Be.borderBox.width,height:Be.borderBox.height,transition:Mu(rr,jt),transform:Ur,opacity:Pl($t,vr),zIndex:vr?vu.dropAnimating:vu.dragging,pointerEvents:"none"};return Nr}function $u(Qe){return{transform:Nn.moveTo(Qe.offset),transition:Qe.shouldAnimateDisplacement?null:"none"}}function pu(Qe){return Qe.type==="DRAGGING"?iu(Qe):$u(Qe)}function Lu(Qe,$,Be){Be===void 0&&(Be=Ft);var Ze=window.getComputedStyle($),wt=$.getBoundingClientRect(),jt=v(wt,Ze),$t=A(jt,Be),rr={client:jt,tagName:$.tagName.toLowerCase(),display:Ze.display},vr={x:jt.marginBox.width,y:jt.marginBox.height},Ur={descriptor:Qe,placeholder:rr,displaceBy:vr,client:jt,page:$t};return Ur}function Ju(Qe){var $=os("draggable"),Be=Qe.descriptor,Ze=Qe.registry,wt=Qe.getDraggableRef,jt=Qe.canDragInteractiveElements,$t=Qe.shouldRespectForcePress,rr=Qe.isEnabled,vr=i(function(){return{canDragInteractiveElements:jt,shouldRespectForcePress:$t,isEnabled:rr}},[jt,rr,$t]),Ur=s(function(_r){var rn=wt();return rn||Ne(!1),Lu(Be,rn,_r)},[Be,wt]),Nr=i(function(){return{uniqueId:$,descriptor:Be,options:vr,getDimension:Ur}},[Be,Ur,vr,$]),Dr=Object(B.useRef)(Nr),Br=Object(B.useRef)(!0);Ei(function(){return Ze.draggable.register(Dr.current),function(){return Ze.draggable.unregister(Dr.current)}},[Ze.draggable]),Ei(function(){if(Br.current){Br.current=!1;return}var _r=Dr.current;Dr.current=Nr,Ze.draggable.update(Nr,_r)},[Nr,Ze.draggable])}function jl(Qe,$,Be){tr(function(){function Ze(jt){return"Draggable[id: "+jt+"]: "}var wt=Qe.draggableId;wt||Ne(!1),typeof wt!="string"&&Ne(!1),Ae(Qe.index)||Ne(!1),Qe.mapped.type!=="DRAGGING"&&(nu(Be()),Qe.isEnabled&&(lo($,wt)||Ne(!1)))})}function Ql(Qe){xt(function(){var $=Object(B.useRef)(Qe);tr(function(){Qe!==$.current&&Ne(!1)},[Qe])})}function Zu(Qe){Qe.preventDefault()}function ou(Qe){var $=Object(B.useRef)(null),Be=s(function(To){$.current=To},[]),Ze=s(function(){return $.current},[]),wt=Ws(ss),jt=wt.contextId,$t=wt.dragHandleUsageInstructionsId,rr=wt.registry,vr=Ws(Bl),Ur=vr.type,Nr=vr.droppableId,Dr=i(function(){return{id:Qe.draggableId,index:Qe.index,type:Ur,droppableId:Nr}},[Qe.draggableId,Qe.index,Ur,Nr]),Br=Qe.children,_r=Qe.draggableId,rn=Qe.isEnabled,En=Qe.shouldRespectForcePress,Sn=Qe.canDragInteractiveElements,ya=Qe.isClone,Sa=Qe.mapped,ui=Qe.dropAnimationFinished;if(jl(Qe,jt,Ze),Ql(ya),!ya){var Za=i(function(){return{descriptor:Dr,registry:rr,getDraggableRef:Ze,canDragInteractiveElements:Sn,shouldRespectForcePress:En,isEnabled:rn}},[Dr,rr,Ze,Sn,En,rn]);Ju(Za)}var qi=i(function(){return rn?{tabIndex:0,role:"button","aria-describedby":$t,"data-rbd-drag-handle-draggable-id":_r,"data-rbd-drag-handle-context-id":jt,draggable:!1,onDragStart:Zu}:null},[jt,$t,_r,rn]),Mi=s(function(To){Sa.type==="DRAGGING"&&(!Sa.dropping||To.propertyName==="transform"&&ui())},[ui,Sa]),Ti=i(function(){var To=pu(Sa),xs=Sa.type==="DRAGGING"&&Sa.dropping?Mi:null,bs={innerRef:Be,draggableProps:{"data-rbd-draggable-context-id":jt,"data-rbd-draggable-id":_r,style:To,onTransitionEnd:xs},dragHandleProps:qi};return bs},[jt,qi,_r,Sa,Mi,Be]),Ts=i(function(){return{draggableId:Dr.id,type:Dr.type,source:{index:Dr.index,droppableId:Dr.droppableId}}},[Dr.droppableId,Dr.id,Dr.index,Dr.type]);return Br(Ti,Sa.snapshot,Ts)}var vl=function($,Be){return $===Be},El=function($){var Be=$.combine,Ze=$.destination;return Ze?Ze.droppableId:Be?Be.droppableId:null},Ru=function($){return $.combine?$.combine.draggableId:null},mu=function($){return $.at&&$.at.type==="COMBINE"?$.at.combine.draggableId:null};function qu(){var Qe=P(function(wt,jt){return{x:wt,y:jt}}),$=P(function(wt,jt,$t,rr,vr){return{isDragging:!0,isClone:jt,isDropAnimating:Boolean(vr),dropAnimation:vr,mode:wt,draggingOver:$t,combineWith:rr,combineTargetFor:null}}),Be=P(function(wt,jt,$t,rr,vr,Ur,Nr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:vr,combineWith:Ur,mode:jt,offset:wt,dimension:$t,forceShouldAnimate:Nr,snapshot:$(jt,rr,vr,Ur,null)}}}),Ze=function(jt,$t){if(jt.isDragging){if(jt.critical.draggable.id!==$t.draggableId)return null;var rr=jt.current.client.offset,vr=jt.dimensions.draggables[$t.draggableId],Ur=Oa(jt.impact),Nr=mu(jt.impact),Dr=jt.forceShouldAnimate;return Be(Qe(rr.x,rr.y),jt.movementMode,vr,$t.isClone,Ur,Nr,Dr)}if(jt.phase==="DROP_ANIMATING"){var Br=jt.completed;if(Br.result.draggableId!==$t.draggableId)return null;var _r=$t.isClone,rn=jt.dimensions.draggables[$t.draggableId],En=Br.result,Sn=En.mode,ya=El(En),Sa=Ru(En),ui=jt.dropDuration,Za={duration:ui,curve:tn.drop,moveTo:jt.newHomeClientOffset,opacity:Sa?Kr.opacity.drop:null,scale:Sa?Kr.scale.drop:null};return{mapped:{type:"DRAGGING",offset:jt.newHomeClientOffset,dimension:rn,dropping:Za,draggingOver:ya,combineWith:Sa,mode:Sn,forceShouldAnimate:null,snapshot:$(Sn,_r,ya,Sa,Za)}}}return null};return Ze}function Fu(Qe){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Qe,combineWith:null}}var Nu={mapped:{type:"SECONDARY",offset:Ft,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Fu(null)}};function Uu(){var Qe=P(function($t,rr){return{x:$t,y:rr}}),$=P(Fu),Be=P(function($t,rr,vr){return rr===void 0&&(rr=null),{mapped:{type:"SECONDARY",offset:$t,combineTargetFor:rr,shouldAnimateDisplacement:vr,snapshot:$(rr)}}}),Ze=function(rr){return rr?Be(Ft,rr,!0):null},wt=function(rr,vr,Ur,Nr){var Dr=Ur.displaced.visible[rr],Br=Boolean(Nr.inVirtualList&&Nr.effected[rr]),_r=Oe(Ur),rn=_r&&_r.draggableId===rr?vr:null;if(!Dr){if(!Br)return Ze(rn);if(Ur.displaced.invisible[rr])return null;var En=Ut(Nr.displacedBy.point),Sn=Qe(En.x,En.y);return Be(Sn,rn,!0)}if(Br)return Ze(rn);var ya=Ur.displacedBy.point,Sa=Qe(ya.x,ya.y);return Be(Sa,rn,Dr.shouldAnimate)},jt=function(rr,vr){if(rr.isDragging)return rr.critical.draggable.id===vr.draggableId?null:wt(vr.draggableId,rr.critical.draggable.id,rr.impact,rr.afterCritical);if(rr.phase==="DROP_ANIMATING"){var Ur=rr.completed;return Ur.result.draggableId===vr.draggableId?null:wt(vr.draggableId,Ur.result.draggableId,Ur.impact,Ur.afterCritical)}return null};return jt}var ku=function(){var $=qu(),Be=Uu(),Ze=function(jt,$t){return $(jt,$t)||Be(jt,$t)||Nu};return Ze},ec={dropAnimationFinished:Vr},Hu=Object(E.c)(ku,ec,null,{context:So,pure:!0,areStatePropsEqual:vl})(ou);function gl(Qe){var $=Ws(Bl),Be=$.isUsingCloneFor;return Be===Qe.draggableId&&!Qe.isClone?null:T.a.createElement(Hu,Qe)}function zl(Qe){var $=typeof Qe.isDragDisabled=="boolean"?!Qe.isDragDisabled:!0,Be=Boolean(Qe.disableInteractiveElementBlocking),Ze=Boolean(Qe.shouldRespectForcePress);return T.a.createElement(gl,Object(D.a)({},Qe,{isClone:!1,isEnabled:$,canDragInteractiveElements:Be,shouldRespectForcePress:Ze}))}function Vl(Qe){var $=Object(B.useContext)(ss);$||Ne(!1);var Be=$.contextId,Ze=$.isMovementAllowed,wt=Object(B.useRef)(null),jt=Object(B.useRef)(null),$t=Qe.children,rr=Qe.droppableId,vr=Qe.type,Ur=Qe.mode,Nr=Qe.direction,Dr=Qe.ignoreContainerClipping,Br=Qe.isDropDisabled,_r=Qe.isCombineEnabled,rn=Qe.snapshot,En=Qe.useClone,Sn=Qe.updateViewportMaxScroll,ya=Qe.getContainerForClone,Sa=s(function(){return wt.current},[]),ui=s(function(p){wt.current=p},[]),Za=s(function(){return jt.current},[]),qi=s(function(p){jt.current=p},[]);Pu({props:Qe,getDroppableRef:Sa,getPlaceholderRef:Za});var Mi=s(function(){Ze()&&Sn({maxScroll:Ka()})},[Ze,Sn]);Au({droppableId:rr,type:vr,mode:Ur,direction:Nr,isDropDisabled:Br,isCombineEnabled:_r,ignoreContainerClipping:Dr,getDroppableRef:Sa});var Ti=T.a.createElement(au,{on:Qe.placeholder,shouldAnimate:Qe.shouldAnimatePlaceholder},function(p){var O=p.onClose,H=p.data,j=p.animate;return T.a.createElement(Sl,{placeholder:H,onClose:O,innerRef:qi,animate:j,contextId:Be,onTransitionEnd:Mi})}),Ts=i(function(){return{innerRef:ui,placeholder:Ti,droppableProps:{"data-rbd-droppable-id":rr,"data-rbd-droppable-context-id":Be}}},[Be,rr,Ti,ui]),To=En?En.dragging.draggableId:null,xs=i(function(){return{droppableId:rr,type:vr,isUsingCloneFor:To}},[rr,To,vr]);function bs(){if(!En)return null;var p=En.dragging,O=En.render,H=T.a.createElement(gl,{draggableId:p.draggableId,index:p.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(j,K){return O(j,K,p)});return L.a.createPortal(H,ya())}return T.a.createElement(Bl.Provider,{value:xs},$t(Ts,rn),bs())}var yu=function($,Be){return $===Be.droppable.type},xu=function($,Be){return Be.draggables[$.draggable.id]},Ml=function(){var $={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Be=Object(D.a)({},$,{shouldAnimatePlaceholder:!1}),Ze=P(function($t){return{draggableId:$t.id,type:$t.type,source:{index:$t.index,droppableId:$t.droppableId}}}),wt=P(function($t,rr,vr,Ur,Nr,Dr){var Br=Nr.descriptor.id,_r=Nr.descriptor.droppableId===$t;if(_r){var rn=Dr?{render:Dr,dragging:Ze(Nr.descriptor)}:null,En={isDraggingOver:vr,draggingOverWith:vr?Br:null,draggingFromThisWith:Br,isUsingPlaceholder:!0};return{placeholder:Nr.placeholder,shouldAnimatePlaceholder:!1,snapshot:En,useClone:rn}}if(!rr)return Be;if(!Ur)return $;var Sn={isDraggingOver:vr,draggingOverWith:Br,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Nr.placeholder,shouldAnimatePlaceholder:!0,snapshot:Sn,useClone:null}}),jt=function(rr,vr){var Ur=vr.droppableId,Nr=vr.type,Dr=!vr.isDropDisabled,Br=vr.renderClone;if(rr.isDragging){var _r=rr.critical;if(!yu(Nr,_r))return Be;var rn=xu(_r,rr.dimensions),En=Oa(rr.impact)===Ur;return wt(Ur,Dr,En,En,rn,Br)}if(rr.phase==="DROP_ANIMATING"){var Sn=rr.completed;if(!yu(Nr,Sn.critical))return Be;var ya=xu(Sn.critical,rr.dimensions);return wt(Ur,Dr,El(Sn.result)===Ur,Oa(Sn.impact)===Ur,ya,Br)}if(rr.phase==="IDLE"&&rr.completed&&!rr.shouldFlush){var Sa=rr.completed;if(!yu(Nr,Sa.critical))return Be;var ui=Oa(Sa.impact)===Ur,Za=Boolean(Sa.impact.at&&Sa.impact.at.type==="COMBINE"),qi=Sa.critical.droppable.id===Ur;return ui?Za?$:Be:qi?$:Be}return Be};return jt},_u={updateViewportMaxScroll:Os};function Kl(){return document.body||Ne(!1),document.body}var bu={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Kl},Cu=Object(E.c)(Ml,_u,null,{context:So,pure:!0,areStatePropsEqual:vl})(Vl);Cu.defaultProps=bu},ni6a:function(oe,V,e){var B=e("pzxd"),T=e("mFDi"),w=e("gut8"),D=w.WILL_BE_RESTORED,I=new T,E=function(){};E.prototype={constructor:E,drawRectText:function(t,i){var s=this.style;i=s.textRect||i,this.__dirty&&B.normalizeTextStyle(s,!0);var o=s.text;if(o!=null&&(o+=""),!!B.needDrawText(o,s)){t.save();var r=this.transform;s.transformText?this.setTransform(t):r&&(I.copy(i),I.applyTransform(r),i=I),B.renderText(this,t,o,s,i,D),t.restore()}}};var C=E;oe.exports=C},nkfE:function(oe,V,e){var B=e("bYtY"),T=e("ca2m"),w=e("bLfw"),D=e("+TT/"),I=D.getLayoutParams,E=D.mergeLayoutParam,C=e("jkPA"),f=["value","category","time","log"];function t(i,s,o,r){B.each(f,function(u){s.extend({type:i+"Axis."+u,mergeDefaultAndTheme:function(n,l){var a=this.layoutMode,c=a?I(n):{},d=l.getTheme();B.merge(n,d.get(u+"Axis")),B.merge(n,this.getDefaultOption()),n.type=o(i,n),a&&E(n,c,a)},optionUpdated:function(){var n=this.option;n.type==="category"&&(this.__ordinalMeta=C.createByAxisModel(this))},getCategories:function(n){var l=this.option;if(l.type==="category")return n?l.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:B.mergeAll([{},T[u+"Axis"],r],!0)})}),w.registerSubTypeDefaulter(i+"Axis",B.curry(o,i))}oe.exports=t},noeP:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("UOVi");B.registerAction("dataZoom",function(D,I){var E=w.createLinkedNodesFinder(T.bind(I.eachComponent,I,"dataZoom"),w.eachAxisDim,function(f,t){return f.get(t.axisIndex)}),C=[];I.eachComponent({mainType:"dataZoom",query:D},function(f,t){C.push.apply(C,E(f).nodes)}),T.each(C,function(f,t){f.setRawRange({start:D.start,end:D.end,startValue:D.startValue,endValue:D.endValue})})})},"o/2+":function(oe,V,e){"use strict";var B=e("q1tI"),T=e.n(B),w=Object(B.createContext)({});V.a=w},o40c:function(oe,V,e){var B=e("IwbS"),T=e("OS9S"),w=e("loD1"),D=e("aKvl"),I=B.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,i){var s=i.segs,o=i.curveness;if(i.polyline)for(var r=0;r<s.length;){var u=s[r++];if(u>0){t.moveTo(s[r++],s[r++]);for(var n=1;n<u;n++)t.lineTo(s[r++],s[r++])}}else for(var r=0;r<s.length;){var l=s[r++],a=s[r++],c=s[r++],d=s[r++];if(t.moveTo(l,a),o>0){var h=(l+c)/2-(a-d)*o,y=(a+d)/2-(c-l)*o;t.quadraticCurveTo(h,y,c,d)}else t.lineTo(c,d)}},findDataIndex:function(t,i){var s=this.shape,o=s.segs,r=s.curveness;if(s.polyline)for(var u=0,n=0;n<o.length;){var l=o[n++];if(l>0)for(var a=o[n++],c=o[n++],d=1;d<l;d++){var h=o[n++],y=o[n++];if(w.containStroke(a,c,h,y))return u}u++}else for(var u=0,n=0;n<o.length;){var a=o[n++],c=o[n++],h=o[n++],y=o[n++];if(r>0){var A=(a+h)/2-(c-y)*r,v=(c+y)/2-(h-a)*r;if(D.containStroke(a,c,A,v,h,y))return u}else if(w.containStroke(a,c,h,y))return u;u++}return-1}});function E(){this.group=new B.Group}var C=E.prototype;C.isPersistent=function(){return!this._incremental},C.updateData=function(t){this.group.removeAll();var i=new I({rectHover:!0,cursor:"default"});i.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(i,t),this.group.add(i),this._incremental=null},C.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new T({silent:!0})),this.group.add(this._incremental)):this._incremental=null},C.incrementalUpdate=function(t,i){var s=new I;s.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(s,i,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=t.start,this.group.add(s))},C.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},C._setCommon=function(t,i,s){var o=i.hostModel;t.setShape({polyline:o.get("polyline"),curveness:o.get("lineStyle.curveness")}),t.useStyle(o.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=i.getVisual("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),s||(t.seriesIndex=o.seriesIndex,t.on("mousemove",function(u){t.dataIndex=null;var n=t.findDataIndex(u.offsetX,u.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)}))},C._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var f=E;oe.exports=f},oBaM:function(oe,V,e){var B=e("T4UG"),T=e("5GtS"),w=e("bYtY"),D=e("7aKB"),I=D.encodeHTML,E=e("xKMd"),C=B.extend({type:"series.radar",dependencies:["radar"],init:function(t){C.superApply(this,"init",arguments),this.legendVisualProvider=new E(w.bind(this.getData,this),w.bind(this.getRawData,this))},getInitialData:function(t,i){return T(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(t,i,s,o){var r=this.getData(),u=this.coordinateSystem,n=u.getIndicatorAxes(),l=this.getData().getName(t),a=o==="html"?"<br/>":`
|
|
|
`;return I(l===""?this.name:l)+a+w.map(n,function(c,d){var h=r.get(r.mapDimension(c.dim),t);return I(c.name+" : "+h)}).join(a)},getTooltipPosition:function(t){if(t!=null){for(var i=this.getData(),s=this.coordinateSystem,o=i.getValues(w.map(s.dimensions,function(l){return i.mapDimension(l)}),t,!0),r=0,u=o.length;r<u;r++)if(!isNaN(o[r])){var n=s.getIndicatorAxes();return s.coordToPoint(n[r].dataToCoord(o[r]),r)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),f=C;oe.exports=f},oE7X:function(oe,V,e){var B=e("bLfw");B.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(oe,V,e){},oVpE:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("mFDi"),D=e("6GrX"),I=D.calculateTextPosition,E=T.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(l,a){var c=a.cx,d=a.cy,h=a.width/2,y=a.height/2;l.moveTo(c,d-y),l.lineTo(c+h,d+y),l.lineTo(c-h,d+y),l.closePath()}}),C=T.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(l,a){var c=a.cx,d=a.cy,h=a.width/2,y=a.height/2;l.moveTo(c,d-y),l.lineTo(c+h,d),l.lineTo(c,d+y),l.lineTo(c-h,d),l.closePath()}}),f=T.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(l,a){var c=a.x,d=a.y,h=a.width/5*3,y=Math.max(h,a.height),A=h/2,v=A*A/(y-A),g=d-y+A+v,x=Math.asin(v/A),m=Math.cos(x)*A,b=Math.sin(x),S=Math.cos(x),P=A*.6,M=A*.7;l.moveTo(c-m,g+v),l.arc(c,g,A,Math.PI-x,Math.PI*2+x),l.bezierCurveTo(c+m-b*P,g+v+S*P,c,d-M,c,d),l.bezierCurveTo(c,d-M,c-m+b*P,g+v+S*P,c-m,g+v),l.closePath()}}),t=T.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(l,a){var c=a.height,d=a.width,h=a.x,y=a.y,A=d/3*2;l.moveTo(h,y),l.lineTo(h+A,y+c),l.lineTo(h,y+c/4*3),l.lineTo(h-A,y+c),l.lineTo(h,y),l.closePath()}}),i={line:T.Line,rect:T.Rect,roundRect:T.Rect,square:T.Rect,circle:T.Circle,diamond:C,pin:f,arrow:t,triangle:E},s={line:function(l,a,c,d,h){h.x1=l,h.y1=a+d/2,h.x2=l+c,h.y2=a+d/2},rect:function(l,a,c,d,h){h.x=l,h.y=a,h.width=c,h.height=d},roundRect:function(l,a,c,d,h){h.x=l,h.y=a,h.width=c,h.height=d,h.r=Math.min(c,d)/4},square:function(l,a,c,d,h){var y=Math.min(c,d);h.x=l,h.y=a,h.width=y,h.height=y},circle:function(l,a,c,d,h){h.cx=l+c/2,h.cy=a+d/2,h.r=Math.min(c,d)/2},diamond:function(l,a,c,d,h){h.cx=l+c/2,h.cy=a+d/2,h.width=c,h.height=d},pin:function(l,a,c,d,h){h.x=l+c/2,h.y=a+d/2,h.width=c,h.height=d},arrow:function(l,a,c,d,h){h.x=l+c/2,h.y=a+d/2,h.width=c,h.height=d},triangle:function(l,a,c,d,h){h.cx=l+c/2,h.cy=a+d/2,h.width=c,h.height=d}},o={};B.each(i,function(l,a){o[a]=new l});var r=T.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(l,a,c){var d=I(l,a,c),h=this.shape;return h&&h.symbolType==="pin"&&a.textPosition==="inside"&&(d.y=c.y+c.height*.4),d},buildPath:function(l,a,c){var d=a.symbolType;if(d!=="none"){var h=o[d];h||(d="rect",h=o[d]),s[d](a.x,a.y,a.width,a.height,h.shape),h.buildPath(l,h.shape,c)}}});function u(l,a){if(this.type!=="image"){var c=this.style,d=this.shape;d&&d.symbolType==="line"?c.stroke=l:this.__isEmptyBrush?(c.stroke=l,c.fill=a||"#fff"):(c.fill&&(c.fill=l),c.stroke&&(c.stroke=l)),this.dirty(!1)}}function n(l,a,c,d,h,y,A){var v=l.indexOf("empty")===0;v&&(l=l.substr(5,1).toLowerCase()+l.substr(6));var g;return l.indexOf("image://")===0?g=T.makeImage(l.slice(8),new w(a,c,d,h),A?"center":"cover"):l.indexOf("path://")===0?g=T.makePath(l.slice(7),{},new w(a,c,d,h),A?"center":"cover"):g=new r({shape:{symbolType:l,x:a,y:c,width:d,height:h}}),g.__isEmptyBrush=v,g.setColor=u,g.setColor(y),g}V.createSymbol=n},oY9F:function(oe,V,e){var B=e("OlYY"),T=B.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});oe.exports=T},osHv:function(oe,V,e){(function(B){B(e("VrN/"))})(function(B){"use strict";var T=B.Pos;function w(a,c){return a.line-c.line||a.ch-c.ch}var D="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",I=D+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",E=new RegExp("<(/?)(["+D+"]["+I+"]*)","g");function C(a,c,d,h){this.line=c,this.ch=d,this.cm=a,this.text=a.getLine(c),this.min=h?Math.max(h.from,a.firstLine()):a.firstLine(),this.max=h?Math.min(h.to-1,a.lastLine()):a.lastLine()}function f(a,c){var d=a.cm.getTokenTypeAt(T(a.line,c));return d&&/\btag\b/.test(d)}function t(a){if(!(a.line>=a.max))return a.ch=0,a.text=a.cm.getLine(++a.line),!0}function i(a){if(!(a.line<=a.min))return a.text=a.cm.getLine(--a.line),a.ch=a.text.length,!0}function s(a){for(;;){var c=a.text.indexOf(">",a.ch);if(c==-1){if(t(a))continue;return}if(!f(a,c+1)){a.ch=c+1;continue}var d=a.text.lastIndexOf("/",c),h=d>-1&&!/\S/.test(a.text.slice(d+1,c));return a.ch=c+1,h?"selfClose":"regular"}}function o(a){for(;;){var c=a.ch?a.text.lastIndexOf("<",a.ch-1):-1;if(c==-1){if(i(a))continue;return}if(!f(a,c+1)){a.ch=c;continue}E.lastIndex=c,a.ch=c;var d=E.exec(a.text);if(d&&d.index==c)return d}}function r(a){for(;;){E.lastIndex=a.ch;var c=E.exec(a.text);if(!c){if(t(a))continue;return}if(!f(a,c.index+1)){a.ch=c.index+1;continue}return a.ch=c.index+c[0].length,c}}function u(a){for(;;){var c=a.ch?a.text.lastIndexOf(">",a.ch-1):-1;if(c==-1){if(i(a))continue;return}if(!f(a,c+1)){a.ch=c;continue}var d=a.text.lastIndexOf("/",c),h=d>-1&&!/\S/.test(a.text.slice(d+1,c));return a.ch=c+1,h?"selfClose":"regular"}}function n(a,c){for(var d=[];;){var h=r(a),y,A=a.line,v=a.ch-(h?h[0].length:0);if(!h||!(y=s(a)))return;if(y!="selfClose")if(h[1]){for(var g=d.length-1;g>=0;--g)if(d[g]==h[2]){d.length=g;break}if(g<0&&(!c||c==h[2]))return{tag:h[2],from:T(A,v),to:T(a.line,a.ch)}}else d.push(h[2])}}function l(a,c){for(var d=[];;){var h=u(a);if(!h)return;if(h=="selfClose"){o(a);continue}var y=a.line,A=a.ch,v=o(a);if(!v)return;if(v[1])d.push(v[2]);else{for(var g=d.length-1;g>=0;--g)if(d[g]==v[2]){d.length=g;break}if(g<0&&(!c||c==v[2]))return{tag:v[2],from:T(a.line,a.ch),to:T(y,A)}}}}B.registerHelper("fold","xml",function(a,c){for(var d=new C(a,c.line,0);;){var h=r(d);if(!h||d.line!=c.line)return;var y=s(d);if(!y)return;if(!h[1]&&y!="selfClose"){var A=T(d.line,d.ch),v=n(d,h[2]);return v&&w(v.from,A)>0?{from:A,to:v.from}:null}}}),B.findMatchingTag=function(a,c,d){var h=new C(a,c.line,c.ch,d);if(!(h.text.indexOf(">")==-1&&h.text.indexOf("<")==-1)){var y=s(h),A=y&&T(h.line,h.ch),v=y&&o(h);if(!(!y||!v||w(h,c)>0)){var g={from:T(h.line,h.ch),to:A,tag:v[2]};return y=="selfClose"?{open:g,close:null,at:"open"}:v[1]?{open:l(h,v[2]),close:g,at:"close"}:(h=new C(a,A.line,A.ch,d),{open:g,close:n(h,v[2]),at:"open"})}}},B.findEnclosingTag=function(a,c,d,h){for(var y=new C(a,c.line,c.ch,d);;){var A=l(y,h);if(!A)break;var v=new C(a,c.line,c.ch,d),g=n(v,A.tag);if(g)return{open:A,close:g}}},B.scanForClosingTag=function(a,c,d,h){var y=new C(a,c.line,c.ch,h?{from:0,to:h}:null);return n(y,d)}})},ozfa:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("KxFI"),D=e.n(w)},"p+If":function(oe,V,e){var B=e("ProS");e("cpOr"),e("rkZ5");var T=e("ZYIC"),w=e("7ph2");B.registerLayout(T),B.registerVisual(w)},"p/La":function(oe,V){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function B(T,w){T==="china"&&w.name==="\u53F0\u6E7E"&&w.geometries.push({type:"polygon",exterior:e[0]})}oe.exports=B},p1MT:function(oe,V,e){var B=e("Hw7h"),T=e("IwbS"),w=e("6Ic6"),D=e("OELB"),I=D.parsePercent,E=D.round,C=D.linearMap;function f(r,u){var n=r.get("center"),l=u.getWidth(),a=u.getHeight(),c=Math.min(l,a),d=I(n[0],u.getWidth()),h=I(n[1],u.getHeight()),y=I(r.get("radius"),c/2);return{cx:d,cy:h,r:y}}function t(r,u){return u&&(typeof u=="string"?r=u.replace("{value}",r!=null?r:""):typeof u=="function"&&(r=u(r))),r}var i=Math.PI*2,s=w.extend({type:"gauge",render:function(r,u,n){this.group.removeAll();var l=r.get("axisLine.lineStyle.color"),a=f(r,n);this._renderMain(r,u,n,l,a)},dispose:function(){},_renderMain:function(r,u,n,l,a){for(var c=this.group,d=r.getModel("axisLine"),h=d.getModel("lineStyle"),y=r.get("clockwise"),A=-r.get("startAngle")/180*Math.PI,v=-r.get("endAngle")/180*Math.PI,g=(v-A)%i,x=A,m=h.get("width"),b=d.get("show"),S=0;b&&S<l.length;S++){var P=Math.min(Math.max(l[S][0],0),1),v=A+g*P,M=new T.Sector({shape:{startAngle:x,endAngle:v,cx:a.cx,cy:a.cy,clockwise:y,r0:a.r-m,r:a.r},silent:!0});M.setStyle({fill:l[S][1]}),M.setStyle(h.getLineStyle(["color","borderWidth","borderColor"])),c.add(M),x=v}var R=function(L){if(L<=0)return l[0][1];for(var U=0;U<l.length;U++)if(l[U][0]>=L&&(U===0?0:l[U-1][0])<L)return l[U][1];return l[U-1][1]};if(!y){var F=A;A=v,v=F}this._renderTicks(r,u,n,R,a,A,v,y),this._renderPointer(r,u,n,R,a,A,v,y),this._renderTitle(r,u,n,R,a),this._renderDetail(r,u,n,R,a)},_renderTicks:function(r,u,n,l,a,c,d,h){for(var y=this.group,A=a.cx,v=a.cy,g=a.r,x=+r.get("min"),m=+r.get("max"),b=r.getModel("splitLine"),S=r.getModel("axisTick"),P=r.getModel("axisLabel"),M=r.get("splitNumber"),R=S.get("splitNumber"),F=I(b.get("length"),g),L=I(S.get("length"),g),U=c,N=(d-c)/M,Q=N/R,z=b.getModel("lineStyle").getLineStyle(),_=S.getModel("lineStyle").getLineStyle(),J=0;J<=M;J++){var Y=Math.cos(U),k=Math.sin(U);if(b.get("show")){var W=new T.Line({shape:{x1:Y*g+A,y1:k*g+v,x2:Y*(g-F)+A,y2:k*(g-F)+v},style:z,silent:!0});z.stroke==="auto"&&W.setStyle({stroke:l(J/M)}),y.add(W)}if(P.get("show")){var ie=t(E(J/M*(m-x)+x),P.get("formatter")),fe=P.get("distance"),Ce=l(J/M);y.add(new T.Text({style:T.setTextStyle({},P,{text:ie,x:Y*(g-F-fe)+A,y:k*(g-F-fe)+v,textVerticalAlign:k<-.4?"top":k>.4?"bottom":"middle",textAlign:Y<-.4?"left":Y>.4?"right":"center"},{autoColor:Ce}),silent:!0}))}if(S.get("show")&&J!==M){for(var ge=0;ge<=R;ge++){var Y=Math.cos(U),k=Math.sin(U),de=new T.Line({shape:{x1:Y*g+A,y1:k*g+v,x2:Y*(g-L)+A,y2:k*(g-L)+v},silent:!0,style:_});_.stroke==="auto"&&de.setStyle({stroke:l((J+ge/R)/M)}),y.add(de),U+=Q}U-=Q}else U+=N}},_renderPointer:function(r,u,n,l,a,c,d,h){var y=this.group,A=this._data;if(!r.get("pointer.show")){A&&A.eachItemGraphicEl(function(b){y.remove(b)});return}var v=[+r.get("min"),+r.get("max")],g=[c,d],x=r.getData(),m=x.mapDimension("value");x.diff(A).add(function(b){var S=new B({shape:{angle:c}});T.initProps(S,{shape:{angle:C(x.get(m,b),v,g,!0)}},r),y.add(S),x.setItemGraphicEl(b,S)}).update(function(b,S){var P=A.getItemGraphicEl(S);T.updateProps(P,{shape:{angle:C(x.get(m,b),v,g,!0)}},r),y.add(P),x.setItemGraphicEl(b,P)}).remove(function(b){var S=A.getItemGraphicEl(b);y.remove(S)}).execute(),x.eachItemGraphicEl(function(b,S){var P=x.getItemModel(S),M=P.getModel("pointer");b.setShape({x:a.cx,y:a.cy,width:I(M.get("width"),a.r),r:I(M.get("length"),a.r)}),b.useStyle(P.getModel("itemStyle").getItemStyle()),b.style.fill==="auto"&&b.setStyle("fill",l(C(x.get(m,S),v,[0,1],!0))),T.setHoverStyle(b,P.getModel("emphasis.itemStyle").getItemStyle())}),this._data=x},_renderTitle:function(r,u,n,l,a){var c=r.getData(),d=c.mapDimension("value"),h=r.getModel("title");if(h.get("show")){var y=h.get("offsetCenter"),A=a.cx+I(y[0],a.r),v=a.cy+I(y[1],a.r),g=+r.get("min"),x=+r.get("max"),m=r.getData().get(d,0),b=l(C(m,[g,x],[0,1],!0));this.group.add(new T.Text({silent:!0,style:T.setTextStyle({},h,{x:A,y:v,text:c.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}},_renderDetail:function(r,u,n,l,a){var c=r.getModel("detail"),d=+r.get("min"),h=+r.get("max");if(c.get("show")){var y=c.get("offsetCenter"),A=a.cx+I(y[0],a.r),v=a.cy+I(y[1],a.r),g=I(c.get("width"),a.r),x=I(c.get("height"),a.r),m=r.getData(),b=m.get(m.mapDimension("value"),0),S=l(C(b,[d,h],[0,1],!0));this.group.add(new T.Text({silent:!0,style:T.setTextStyle({},c,{x:A,y:v,text:t(b,c.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(x)?null:x,textAlign:"center",textVerticalAlign:"middle"},{autoColor:S,forceRich:!0})}))}}}),o=s;oe.exports=o},"p77/":function(oe,V,e){},pC0b:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("xzDV"),D=e.n(w),I=e("5Dmo")},"pED+":function(oe,V,e){},pLH3:function(oe,V,e){var B=e("ProS");e("ALo7"),e("TWL2");var T=e("mOdp"),w=e("JLnu"),D=e("0/Rx");B.registerVisual(T("funnel")),B.registerLayout(w),B.registerProcessor(D("funnel"))},pP6R:function(oe,V,e){var B=e("ProS"),T="\0_ec_interaction_mutex";function w(C,f,t){var i=E(C);i[f]=t}function D(C,f,t){var i=E(C),s=i[f];s===t&&(i[f]=null)}function I(C,f){return!!E(C)[f]}function E(C){return C[T]||(C[T]={})}B.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),V.take=w,V.release=D,V.isTaken=I},pVnL:function(oe,V){function e(){return oe.exports=e=Object.assign?Object.assign.bind():function(B){for(var T=1;T<arguments.length;T++){var w=arguments[T];for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&(B[D]=w[D])}return B},oe.exports.__esModule=!0,oe.exports.default=oe.exports,e.apply(this,arguments)}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},pmaE:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS"),D=e("DEFe"),I="__seriesMapHighDown",E="__seriesMapCallKey",C=B.extendChartView({type:"map",render:function(i,s,o,r){if(!(r&&r.type==="mapToggleSelect"&&r.from===this.uid)){var u=this.group;if(u.removeAll(),!i.getHostGeoModel()){if(r&&r.type==="geoRoam"&&r.componentType==="series"&&r.seriesId===i.id){var n=this._mapDraw;n&&u.add(n.group)}else if(i.needsDrawMap){var n=this._mapDraw||new D(o,!0);u.add(n.group),n.draw(i,s,o,this,r),this._mapDraw=n}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;i.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(i,s,o)}}},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(i,s,o){var r=i.originalData,u=this.group;r.each(r.mapDimension("value"),function(n,l){if(!isNaN(n)){var a=r.getItemLayout(l);if(!(!a||!a.point)){var c=a.point,d=a.offset,h=new w.Circle({style:{fill:i.getData().getVisual("color")},shape:{cx:c[0]+d*9,cy:c[1],r:3},silent:!0,z2:8+(d?0:w.Z2_EMPHASIS_LIFT+1)});if(!d){var y=i.mainSeries.getData(),A=r.getName(l),v=y.indexOfName(A),g=r.getItemModel(l),x=g.getModel("label"),m=g.getModel("emphasis.label"),b=y.getItemGraphicEl(v),S=T.retrieve2(i.getFormattedLabel(v,"normal"),A),P=T.retrieve2(i.getFormattedLabel(v,"emphasis"),S),M=b[I],R=Math.random();if(!M){M=b[I]={};var F=T.curry(f,!0),L=T.curry(f,!1);b.on("mouseover",F).on("mouseout",L).on("emphasis",F).on("normal",L)}b[E]=R,T.extend(M,{recordVersion:R,circle:h,labelModel:x,hoverLabelModel:m,emphasisText:P,normalText:S}),t(M,!1)}u.add(h)}}})}});function f(i){var s=this[I];s&&s.recordVersion===this[E]&&t(s,i)}function t(i,s){var o=i.circle,r=i.labelModel,u=i.hoverLabelModel,n=i.emphasisText,l=i.normalText;s?(o.style.extendFrom(w.setTextStyle({},u,{text:u.get("show")?n:null},{isRectText:!0,useInsideStyle:!1},!0)),o.__mapOriginalZ2=o.z2,o.z2+=w.Z2_EMPHASIS_LIFT):(w.setTextStyle(o.style,r,{text:r.get("show")?l:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),o.dirty(!1),o.__mapOriginalZ2!=null&&(o.z2=o.__mapOriginalZ2,o.__mapOriginalZ2=null))}oe.exports=C},pwpV:function(oe,V,e){},pzxd:function(oe,V,e){var B=e("bYtY"),T=B.retrieve2,w=B.retrieve3,D=B.each,I=B.normalizeCssArray,E=B.isString,C=B.isObject,f=e("6GrX"),t=e("VpOo"),i=e("Xnb7"),s=e("fW2E"),o=e("gut8"),r=o.ContextCachedBy,u=o.WILL_BE_RESTORED,n=f.DEFAULT_FONT,l={left:1,right:1,center:1},a={top:1,bottom:1,middle:1},c=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],d={},h={};function y(J){return A(J),D(J.rich,A),J}function A(J){if(J){J.font=f.makeFont(J);var Y=J.textAlign;Y==="middle"&&(Y="center"),J.textAlign=Y==null||l[Y]?Y:"left";var k=J.textVerticalAlign||J.textBaseline;k==="center"&&(k="middle"),J.textVerticalAlign=k==null||a[k]?k:"top";var W=J.textPadding;W&&(J.textPadding=I(J.textPadding))}}function v(J,Y,k,W,ie,fe){W.rich?x(J,Y,k,W,ie,fe):g(J,Y,k,W,ie,fe)}function g(J,Y,k,W,ie,fe){"use strict";var Ce=P(W),ge,de=!1,Pe=Y.__attrCachedBy===r.PLAIN_TEXT;fe!==u?(fe&&(ge=fe.style,de=!Ce&&Pe&&ge),Y.__attrCachedBy=Ce?r.NONE:r.PLAIN_TEXT):Pe&&(Y.__attrCachedBy=r.NONE);var _e=W.font||n;(!de||_e!==(ge.font||n))&&(Y.font=_e);var Ne=J.__computedFont;J.__styleFont!==_e&&(J.__styleFont=_e,Ne=J.__computedFont=Y.font);var He=W.textPadding,ue=W.textLineHeight,Re=J.__textCotentBlock;(!Re||J.__dirtyText)&&(Re=J.__textCotentBlock=f.parsePlainText(k,Ne,He,ue,W.truncate));var nt=Re.outerHeight,Ve=Re.lines,Ge=Re.lineHeight,dt=F(h,J,W,ie),et=dt.baseX,At=dt.baseY,Dt=dt.textAlign||"left",Ft=dt.textVerticalAlign;b(Y,W,ie,et,At);var St=f.adjustTextY(At,nt,Ft),$e=et,lt=St;if(Ce||He){var Ut=f.getWidth(k,Ne),gt=Ut;He&&(gt+=He[1]+He[3]);var ft=f.adjustTextX(et,gt,Dt);Ce&&M(J,Y,W,ft,St,gt,nt),He&&($e=z(et,Dt,He),lt+=He[0])}Y.textAlign=Dt,Y.textBaseline="middle",Y.globalAlpha=W.opacity||1;for(var rt=0;rt<c.length;rt++){var Ie=c[rt],Ot=Ie[0],Xt=Ie[1],Vt=W[Ot];(!de||Vt!==ge[Ot])&&(Y[Xt]=s(Y,Xt,Vt||Ie[2]))}lt+=Ge/2;var bt=W.textStrokeWidth,It=de?ge.textStrokeWidth:null,Kt=!de||bt!==It,Se=!de||Kt||W.textStroke!==ge.textStroke,Ye=U(W.textStroke,bt),q=N(W.textFill);if(Ye&&(Kt&&(Y.lineWidth=bt),Se&&(Y.strokeStyle=Ye)),q&&(!de||W.textFill!==ge.textFill)&&(Y.fillStyle=q),Ve.length===1)Ye&&Y.strokeText(Ve[0],$e,lt),q&&Y.fillText(Ve[0],$e,lt);else for(var rt=0;rt<Ve.length;rt++)Ye&&Y.strokeText(Ve[rt],$e,lt),q&&Y.fillText(Ve[rt],$e,lt),lt+=Ge}function x(J,Y,k,W,ie,fe){fe!==u&&(Y.__attrCachedBy=r.NONE);var Ce=J.__textCotentBlock;(!Ce||J.__dirtyText)&&(Ce=J.__textCotentBlock=f.parseRichText(k,W)),m(J,Y,Ce,W,ie)}function m(J,Y,k,W,ie){var fe=k.width,Ce=k.outerWidth,ge=k.outerHeight,de=W.textPadding,Pe=F(h,J,W,ie),_e=Pe.baseX,Ne=Pe.baseY,He=Pe.textAlign,ue=Pe.textVerticalAlign;b(Y,W,ie,_e,Ne);var Re=f.adjustTextX(_e,Ce,He),nt=f.adjustTextY(Ne,ge,ue),Ve=Re,Ge=nt;de&&(Ve+=de[3],Ge+=de[0]);var dt=Ve+fe;P(W)&&M(J,Y,W,Re,nt,Ce,ge);for(var et=0;et<k.lines.length;et++){for(var At=k.lines[et],Dt=At.tokens,Ft=Dt.length,St=At.lineHeight,$e=At.width,lt=0,Ut=Ve,gt=dt,ft=Ft-1,rt;lt<Ft&&(rt=Dt[lt],!rt.textAlign||rt.textAlign==="left");)S(J,Y,rt,W,St,Ge,Ut,"left"),$e-=rt.width,Ut+=rt.width,lt++;for(;ft>=0&&(rt=Dt[ft],rt.textAlign==="right");)S(J,Y,rt,W,St,Ge,gt,"right"),$e-=rt.width,gt-=rt.width,ft--;for(Ut+=(fe-(Ut-Ve)-(dt-gt)-$e)/2;lt<=ft;)rt=Dt[lt],S(J,Y,rt,W,St,Ge,Ut+rt.width/2,"center"),Ut+=rt.width,lt++;Ge+=St}}function b(J,Y,k,W,ie){if(k&&Y.textRotation){var fe=Y.textOrigin;fe==="center"?(W=k.width/2+k.x,ie=k.height/2+k.y):fe&&(W=fe[0]+k.x,ie=fe[1]+k.y),J.translate(W,ie),J.rotate(-Y.textRotation),J.translate(-W,-ie)}}function S(J,Y,k,W,ie,fe,Ce,ge){var de=W.rich[k.styleName]||{};de.text=k.text;var Pe=k.textVerticalAlign,_e=fe+ie/2;Pe==="top"?_e=fe+k.height/2:Pe==="bottom"&&(_e=fe+ie-k.height/2),!k.isLineHolder&&P(de)&&M(J,Y,de,ge==="right"?Ce-k.width:ge==="center"?Ce-k.width/2:Ce,_e-k.height/2,k.width,k.height);var Ne=k.textPadding;Ne&&(Ce=z(Ce,ge,Ne),_e-=k.height/2-Ne[2]-k.textHeight/2),L(Y,"shadowBlur",w(de.textShadowBlur,W.textShadowBlur,0)),L(Y,"shadowColor",de.textShadowColor||W.textShadowColor||"transparent"),L(Y,"shadowOffsetX",w(de.textShadowOffsetX,W.textShadowOffsetX,0)),L(Y,"shadowOffsetY",w(de.textShadowOffsetY,W.textShadowOffsetY,0)),L(Y,"textAlign",ge),L(Y,"textBaseline","middle"),L(Y,"font",k.font||n);var He=U(de.textStroke||W.textStroke,Re),ue=N(de.textFill||W.textFill),Re=T(de.textStrokeWidth,W.textStrokeWidth);He&&(L(Y,"lineWidth",Re),L(Y,"strokeStyle",He),Y.strokeText(k.text,Ce,_e)),ue&&(L(Y,"fillStyle",ue),Y.fillText(k.text,Ce,_e))}function P(J){return!!(J.textBackgroundColor||J.textBorderWidth&&J.textBorderColor)}function M(J,Y,k,W,ie,fe,Ce){var ge=k.textBackgroundColor,de=k.textBorderWidth,Pe=k.textBorderColor,_e=E(ge);if(L(Y,"shadowBlur",k.textBoxShadowBlur||0),L(Y,"shadowColor",k.textBoxShadowColor||"transparent"),L(Y,"shadowOffsetX",k.textBoxShadowOffsetX||0),L(Y,"shadowOffsetY",k.textBoxShadowOffsetY||0),_e||de&&Pe){Y.beginPath();var Ne=k.textBorderRadius;Ne?t.buildPath(Y,{x:W,y:ie,width:fe,height:Ce,r:Ne}):Y.rect(W,ie,fe,Ce),Y.closePath()}if(_e)if(L(Y,"fillStyle",ge),k.fillOpacity!=null){var He=Y.globalAlpha;Y.globalAlpha=k.fillOpacity*k.opacity,Y.fill(),Y.globalAlpha=He}else Y.fill();else if(C(ge)){var ue=ge.image;ue=i.createOrUpdateImage(ue,null,J,R,ge),ue&&i.isImageReady(ue)&&Y.drawImage(ue,W,ie,fe,Ce)}if(de&&Pe)if(L(Y,"lineWidth",de),L(Y,"strokeStyle",Pe),k.strokeOpacity!=null){var He=Y.globalAlpha;Y.globalAlpha=k.strokeOpacity*k.opacity,Y.stroke(),Y.globalAlpha=He}else Y.stroke()}function R(J,Y){Y.image=J}function F(J,Y,k,W){var ie=k.x||0,fe=k.y||0,Ce=k.textAlign,ge=k.textVerticalAlign;if(W){var de=k.textPosition;if(de instanceof Array)ie=W.x+Q(de[0],W.width),fe=W.y+Q(de[1],W.height);else{var Pe=Y&&Y.calculateTextPosition?Y.calculateTextPosition(d,k,W):f.calculateTextPosition(d,k,W);ie=Pe.x,fe=Pe.y,Ce=Ce||Pe.textAlign,ge=ge||Pe.textVerticalAlign}var _e=k.textOffset;_e&&(ie+=_e[0],fe+=_e[1])}return J=J||{},J.baseX=ie,J.baseY=fe,J.textAlign=Ce,J.textVerticalAlign=ge,J}function L(J,Y,k){return J[Y]=s(J,Y,k),J[Y]}function U(J,Y){return J==null||Y<=0||J==="transparent"||J==="none"?null:J.image||J.colorStops?"#000":J}function N(J){return J==null||J==="none"?null:J.image||J.colorStops?"#000":J}function Q(J,Y){return typeof J=="string"?J.lastIndexOf("%")>=0?parseFloat(J)/100*Y:parseFloat(J):J}function z(J,Y,k){return Y==="right"?J-k[1]:Y==="center"?J+k[3]/2-k[1]/2:J+k[3]}function _(J,Y){return J!=null&&(J||Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor||Y.textPadding)}V.normalizeTextStyle=y,V.renderText=v,V.getBoxPosition=F,V.getStroke=U,V.getFill=N,V.parsePercent=Q,V.needDrawText=_},"q/+u":function(oe,V,e){var B=e("ProS"),T=e("9wZj"),w=e("yWXo"),D=e("h8O9");B.extendChartView({type:"scatter",render:function(I,E,C){var f=I.getData(),t=this._updateSymbolDraw(f,I);t.updateData(f,{clipShape:this._getClipShape(I)}),this._finished=!0},incrementalPrepareRender:function(I,E,C){var f=I.getData(),t=this._updateSymbolDraw(f,I);t.incrementalPrepareUpdate(f),this._finished=!1},incrementalRender:function(I,E,C){this._symbolDraw.incrementalUpdate(I,E.getData(),{clipShape:this._getClipShape(E)}),this._finished=I.end===E.getData().count()},updateTransform:function(I,E,C){var f=I.getData();if(this.group.dirty(),!this._finished||f.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var t=D().reset(I);t.progress&&t.progress({start:0,end:f.count()},f),this._symbolDraw.updateLayout(f)},_getClipShape:function(I){var E=I.coordinateSystem,C=E&&E.getArea&&E.getArea();return I.get("clip",!0)?C:null},_updateSymbolDraw:function(I,E){var C=this._symbolDraw,f=E.pipelineContext,t=f.large;return(!C||t!==this._isLargeDraw)&&(C&&C.remove(),C=this._symbolDraw=t?new w:new T,this._isLargeDraw=t,this.group.removeAll()),this.group.add(C.group),C},remove:function(I,E){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(oe,V){var e=["lineStyle","normal","opacity"],B={seriesType:"parallel",reset:function(T,w,D){var I=T.getModel("itemStyle"),E=T.getModel("lineStyle"),C=w.get("color"),f=E.get("color")||I.get("color")||C[T.seriesIndex%C.length],t=T.get("inactiveOpacity"),i=T.get("activeOpacity"),s=T.getModel("lineStyle").getLineStyle(),o=T.coordinateSystem,r=T.getData(),u={normal:s.opacity,active:i,inactive:t};r.setVisual("color",f);function n(l,a){o.eachActiveState(a,function(c,d){var h=u[c];if(c==="normal"&&a.hasItemOption){var y=a.getItemModel(d).get(e,!0);y!=null&&(h=y)}a.setItemVisual(d,"opacity",h)},l.start,l.end)}return{progress:n}}};oe.exports=B},q4HE:function(oe,V){var e="\\ud800-\\udfff",B="\\u0300-\\u036f",T="\\ufe20-\\ufe2f",w="\\u20d0-\\u20ff",D=B+T+w,I="\\ufe0e\\ufe0f",E="["+e+"]",C="["+D+"]",f="\\ud83c[\\udffb-\\udfff]",t="(?:"+C+"|"+f+")",i="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",r="\\u200d",u=t+"?",n="["+I+"]?",l="(?:"+r+"(?:"+[i,s,o].join("|")+")"+n+u+")*",a=n+u+l,c="(?:"+[i+C+"?",C,s,o,E].join("|")+")",d=RegExp(f+"(?="+f+")|"+c+a,"g");function h(y){for(var A=d.lastIndex=0;d.test(y);)++A;return A}oe.exports=h},qH13:function(oe,V,e){var B=e("ItGF"),T=e("QBsz"),w=T.applyTransform,D=e("mFDi"),I=e("Qe9p"),E=e("6GrX"),C=e("pzxd"),f=e("ni6a"),t=e("Gev7"),i=e("Dagg"),s=e("dqUG"),o=e("y+Vt"),r=e("IMiH"),u=e("QuXc"),n=e("06Qe"),l=r.CMD,a=Math.round,c=Math.sqrt,d=Math.abs,h=Math.cos,y=Math.sin,A=Math.max;if(!B.canvasSupported){var v=",",g="progid:DXImageTransform.Microsoft",x=21600,m=x/2,b=1e5,S=1e3,P=function(At){At.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",At.coordsize=x+","+x,At.coordorigin="0,0"},M=function(At){return String(At).replace(/&/g,"&").replace(/"/g,""")},R=function(At,Dt,Ft){return"rgb("+[At,Dt,Ft].join(",")+")"},F=function(At,Dt){Dt&&At&&Dt.parentNode!==At&&At.appendChild(Dt)},L=function(At,Dt){Dt&&At&&Dt.parentNode===At&&At.removeChild(Dt)},U=function(At,Dt,Ft){return(parseFloat(At)||0)*b+(parseFloat(Dt)||0)*S+Ft},N=C.parsePercent,Q=function(At,Dt,Ft){var St=I.parse(Dt);Ft=+Ft,isNaN(Ft)&&(Ft=1),St&&(At.color=R(St[0],St[1],St[2]),At.opacity=Ft*St[3])},z=function(At){var Dt=I.parse(At);return[R(Dt[0],Dt[1],Dt[2]),Dt[3]]},_=function(At,Dt,Ft){var St=Dt.fill;if(St!=null)if(St instanceof u){var $e,lt=0,Ut=[0,0],gt=0,ft=1,rt=Ft.getBoundingRect(),Ie=rt.width,Ot=rt.height;if(St.type==="linear"){$e="gradient";var Xt=Ft.transform,Vt=[St.x*Ie,St.y*Ot],bt=[St.x2*Ie,St.y2*Ot];Xt&&(w(Vt,Vt,Xt),w(bt,bt,Xt));var It=bt[0]-Vt[0],Kt=bt[1]-Vt[1];lt=Math.atan2(It,Kt)*180/Math.PI,lt<0&&(lt+=360),lt<1e-6&&(lt=0)}else{$e="gradientradial";var Vt=[St.x*Ie,St.y*Ot],Xt=Ft.transform,Se=Ft.scale,Ye=Ie,q=Ot;Ut=[(Vt[0]-rt.x)/Ye,(Vt[1]-rt.y)/q],Xt&&w(Vt,Vt,Xt),Ye/=Se[0]*x,q/=Se[1]*x;var Ae=A(Ye,q);gt=2*0/Ae,ft=2*St.r/Ae-gt}var Me=St.colorStops.slice();Me.sort(function(ne,ce){return ne.offset-ce.offset});for(var De=Me.length,ze=[],pe=[],te=0;te<De;te++){var be=Me[te],xe=z(be.color);pe.push(be.offset*ft+gt+" "+xe[0]),(te===0||te===De-1)&&ze.push(xe)}if(De>=2){var Z=ze[0][0],se=ze[1][0],he=ze[0][1]*Dt.opacity,Oe=ze[1][1]*Dt.opacity;At.type=$e,At.method="none",At.focus="100%",At.angle=lt,At.color=Z,At.color2=se,At.colors=pe.join(","),At.opacity=Oe,At.opacity2=he}$e==="radial"&&(At.focusposition=Ut.join(","))}else Q(At,St,Dt.opacity)},J=function(At,Dt){Dt.lineDash&&(At.dashstyle=Dt.lineDash.join(" ")),Dt.stroke!=null&&!(Dt.stroke instanceof u)&&Q(At,Dt.stroke,Dt.opacity)},Y=function(At,Dt,Ft,St){var $e=Dt==="fill",lt=At.getElementsByTagName(Dt)[0];Ft[Dt]!=null&&Ft[Dt]!=="none"&&($e||!$e&&Ft.lineWidth)?(At[$e?"filled":"stroked"]="true",Ft[Dt]instanceof u&&L(At,lt),lt||(lt=n.createNode(Dt)),$e?_(lt,Ft,St):J(lt,Ft),F(At,lt)):(At[$e?"filled":"stroked"]="false",L(At,lt))},k=[[],[],[]],W=function(At,Dt){var Ft=l.M,St=l.C,$e=l.L,lt=l.A,Ut=l.Q,gt=[],ft,rt,Ie,Ot,Xt,Vt,bt=At.data,It=At.len();for(Ot=0;Ot<It;){switch(Ie=bt[Ot++],rt="",ft=0,Ie){case Ft:rt=" m ",ft=1,Xt=bt[Ot++],Vt=bt[Ot++],k[0][0]=Xt,k[0][1]=Vt;break;case $e:rt=" l ",ft=1,Xt=bt[Ot++],Vt=bt[Ot++],k[0][0]=Xt,k[0][1]=Vt;break;case Ut:case St:rt=" c ",ft=3;var Kt=bt[Ot++],Se=bt[Ot++],Ye=bt[Ot++],q=bt[Ot++],Ae,Me;Ie===Ut?(Ae=Ye,Me=q,Ye=(Ye+2*Kt)/3,q=(q+2*Se)/3,Kt=(Xt+2*Kt)/3,Se=(Vt+2*Se)/3):(Ae=bt[Ot++],Me=bt[Ot++]),k[0][0]=Kt,k[0][1]=Se,k[1][0]=Ye,k[1][1]=q,k[2][0]=Ae,k[2][1]=Me,Xt=Ae,Vt=Me;break;case lt:var De=0,ze=0,pe=1,te=1,be=0;Dt&&(De=Dt[4],ze=Dt[5],pe=c(Dt[0]*Dt[0]+Dt[1]*Dt[1]),te=c(Dt[2]*Dt[2]+Dt[3]*Dt[3]),be=Math.atan2(-Dt[1]/te,Dt[0]/pe));var xe=bt[Ot++],Z=bt[Ot++],se=bt[Ot++],he=bt[Ot++],Oe=bt[Ot++]+be,ne=bt[Ot++]+Oe+be;Ot++;var ce=bt[Ot++],ae=xe+h(Oe)*se,Ee=Z+y(Oe)*he,Kt=xe+h(ne)*se,Se=Z+y(ne)*he,ye=ce?" wa ":" at ";Math.abs(ae-Kt)<1e-4&&(Math.abs(ne-Oe)>.01?ce&&(ae+=270/x):Math.abs(Ee-Z)<1e-4?ce&&ae<xe||!ce&&ae>xe?Se-=270/x:Se+=270/x:ce&&Ee<Z||!ce&&Ee>Z?Kt+=270/x:Kt-=270/x),gt.push(ye,a(((xe-se)*pe+De)*x-m),v,a(((Z-he)*te+ze)*x-m),v,a(((xe+se)*pe+De)*x-m),v,a(((Z+he)*te+ze)*x-m),v,a((ae*pe+De)*x-m),v,a((Ee*te+ze)*x-m),v,a((Kt*pe+De)*x-m),v,a((Se*te+ze)*x-m)),Xt=Kt,Vt=Se;break;case l.R:var Te=k[0],je=k[1];Te[0]=bt[Ot++],Te[1]=bt[Ot++],je[0]=Te[0]+bt[Ot++],je[1]=Te[1]+bt[Ot++],Dt&&(w(Te,Te,Dt),w(je,je,Dt)),Te[0]=a(Te[0]*x-m),je[0]=a(je[0]*x-m),Te[1]=a(Te[1]*x-m),je[1]=a(je[1]*x-m),gt.push(" m ",Te[0],v,Te[1]," l ",je[0],v,Te[1]," l ",je[0],v,je[1]," l ",Te[0],v,je[1]);break;case l.Z:gt.push(" x ")}if(ft>0){gt.push(rt);for(var qe=0;qe<ft;qe++){var Le=k[qe];Dt&&w(Le,Le,Dt),gt.push(a(Le[0]*x-m),v,a(Le[1]*x-m),qe<ft-1?v:"")}}}return gt.join("")};o.prototype.brushVML=function(et){var At=this.style,Dt=this._vmlEl;Dt||(Dt=n.createNode("shape"),P(Dt),this._vmlEl=Dt),Y(Dt,"fill",At,this),Y(Dt,"stroke",At,this);var Ft=this.transform,St=Ft!=null,$e=Dt.getElementsByTagName("stroke")[0];if($e){var lt=At.lineWidth;if(St&&!At.strokeNoScale){var Ut=Ft[0]*Ft[3]-Ft[1]*Ft[2];lt*=c(d(Ut))}$e.weight=lt+"px"}var gt=this.path||(this.path=new r);this.__dirtyPath&&(gt.beginPath(),gt.subPixelOptimize=!1,this.buildPath(gt,this.shape),gt.toStatic(),this.__dirtyPath=!1),Dt.path=W(gt,this.transform),Dt.style.zIndex=U(this.zlevel,this.z,this.z2),F(et,Dt),At.text!=null?this.drawRectText(et,this.getBoundingRect()):this.removeRectText(et)},o.prototype.onRemove=function(et){L(et,this._vmlEl),this.removeRectText(et)},o.prototype.onAdd=function(et){F(et,this._vmlEl),this.appendRectText(et)};var ie=function(At){return typeof At=="object"&&At.tagName&&At.tagName.toUpperCase()==="IMG"};i.prototype.brushVML=function(et){var At=this.style,Dt=At.image,Ft,St;if(ie(Dt)){var $e=Dt.src;if($e===this._imageSrc)Ft=this._imageWidth,St=this._imageHeight;else{var lt=Dt.runtimeStyle,Ut=lt.width,gt=lt.height;lt.width="auto",lt.height="auto",Ft=Dt.width,St=Dt.height,lt.width=Ut,lt.height=gt,this._imageSrc=$e,this._imageWidth=Ft,this._imageHeight=St}Dt=$e}else Dt===this._imageSrc&&(Ft=this._imageWidth,St=this._imageHeight);if(!!Dt){var ft=At.x||0,rt=At.y||0,Ie=At.width,Ot=At.height,Xt=At.sWidth,Vt=At.sHeight,bt=At.sx||0,It=At.sy||0,Kt=Xt&&Vt,Se=this._vmlEl;Se||(Se=n.doc.createElement("div"),P(Se),this._vmlEl=Se);var Ye=Se.style,q=!1,Ae,Me=1,De=1;if(this.transform&&(Ae=this.transform,Me=c(Ae[0]*Ae[0]+Ae[1]*Ae[1]),De=c(Ae[2]*Ae[2]+Ae[3]*Ae[3]),q=Ae[1]||Ae[2]),q){var ze=[ft,rt],pe=[ft+Ie,rt],te=[ft,rt+Ot],be=[ft+Ie,rt+Ot];w(ze,ze,Ae),w(pe,pe,Ae),w(te,te,Ae),w(be,be,Ae);var xe=A(ze[0],pe[0],te[0],be[0]),Z=A(ze[1],pe[1],te[1],be[1]),se=[];se.push("M11=",Ae[0]/Me,v,"M12=",Ae[2]/De,v,"M21=",Ae[1]/Me,v,"M22=",Ae[3]/De,v,"Dx=",a(ft*Me+Ae[4]),v,"Dy=",a(rt*De+Ae[5])),Ye.padding="0 "+a(xe)+"px "+a(Z)+"px 0",Ye.filter=g+".Matrix("+se.join("")+", SizingMethod=clip)"}else Ae&&(ft=ft*Me+Ae[4],rt=rt*De+Ae[5]),Ye.filter="",Ye.left=a(ft)+"px",Ye.top=a(rt)+"px";var he=this._imageEl,Oe=this._cropEl;he||(he=n.doc.createElement("div"),this._imageEl=he);var ne=he.style;if(Kt){if(Ft&&St)ne.width=a(Me*Ft*Ie/Xt)+"px",ne.height=a(De*St*Ot/Vt)+"px";else{var ce=new Image,ae=this;ce.onload=function(){ce.onload=null,Ft=ce.width,St=ce.height,ne.width=a(Me*Ft*Ie/Xt)+"px",ne.height=a(De*St*Ot/Vt)+"px",ae._imageWidth=Ft,ae._imageHeight=St,ae._imageSrc=Dt},ce.src=Dt}Oe||(Oe=n.doc.createElement("div"),Oe.style.overflow="hidden",this._cropEl=Oe);var Ee=Oe.style;Ee.width=a((Ie+bt*Ie/Xt)*Me),Ee.height=a((Ot+It*Ot/Vt)*De),Ee.filter=g+".Matrix(Dx="+-bt*Ie/Xt*Me+",Dy="+-It*Ot/Vt*De+")",Oe.parentNode||Se.appendChild(Oe),he.parentNode!==Oe&&Oe.appendChild(he)}else ne.width=a(Me*Ie)+"px",ne.height=a(De*Ot)+"px",Se.appendChild(he),Oe&&Oe.parentNode&&(Se.removeChild(Oe),this._cropEl=null);var ye="",Te=At.opacity;Te<1&&(ye+=".Alpha(opacity="+a(Te*100)+") "),ye+=g+".AlphaImageLoader(src="+Dt+", SizingMethod=scale)",ne.filter=ye,Se.style.zIndex=U(this.zlevel,this.z,this.z2),F(et,Se),At.text!=null&&this.drawRectText(et,this.getBoundingRect())}},i.prototype.onRemove=function(et){L(et,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(et)},i.prototype.onAdd=function(et){F(et,this._vmlEl),this.appendRectText(et)};var fe="normal",Ce={},ge=0,de=100,Pe=document.createElement("div"),_e=function(At){var Dt=Ce[At];if(!Dt){ge>de&&(ge=0,Ce={});var Ft=Pe.style,St;try{Ft.font=At,St=Ft.fontFamily.split(",")[0]}catch($e){}Dt={style:Ft.fontStyle||fe,variant:Ft.fontVariant||fe,weight:Ft.fontWeight||fe,size:parseFloat(Ft.fontSize||12)|0,family:St||"Microsoft YaHei"},Ce[At]=Dt,ge++}return Dt},Ne;E.$override("measureText",function(et,At){var Dt=n.doc;Ne||(Ne=Dt.createElement("div"),Ne.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",n.doc.body.appendChild(Ne));try{Ne.style.font=At}catch(Ft){}return Ne.innerHTML="",Ne.appendChild(Dt.createTextNode(et)),{width:Ne.offsetWidth}});for(var He=new D,ue=function(At,Dt,Ft,St){var $e=this.style;this.__dirty&&C.normalizeTextStyle($e,!0);var lt=$e.text;if(lt!=null&&(lt+=""),!!lt){if($e.rich){var Ut=E.parseRichText(lt,$e);lt=[];for(var gt=0;gt<Ut.lines.length;gt++){for(var ft=Ut.lines[gt].tokens,rt=[],Ie=0;Ie<ft.length;Ie++)rt.push(ft[Ie].text);lt.push(rt.join(""))}lt=lt.join(`
|
|
|
`)}var Ot,Xt,Vt=$e.textAlign,bt=$e.textVerticalAlign,It=_e($e.font),Kt=It.style+" "+It.variant+" "+It.weight+" "+It.size+'px "'+It.family+'"';Ft=Ft||E.getBoundingRect(lt,Kt,Vt,bt,$e.textPadding,$e.textLineHeight);var Se=this.transform;if(Se&&!St&&(He.copy(Dt),He.applyTransform(Se),Dt=He),St)Ot=Dt.x,Xt=Dt.y;else{var Ye=$e.textPosition;if(Ye instanceof Array)Ot=Dt.x+N(Ye[0],Dt.width),Xt=Dt.y+N(Ye[1],Dt.height),Vt=Vt||"left";else{var q=this.calculateTextPosition?this.calculateTextPosition({},$e,Dt):E.calculateTextPosition({},$e,Dt);Ot=q.x,Xt=q.y,Vt=Vt||q.textAlign,bt=bt||q.textVerticalAlign}}Ot=E.adjustTextX(Ot,Ft.width,Vt),Xt=E.adjustTextY(Xt,Ft.height,bt),Xt+=Ft.height/2;var Ae=n.createNode,Me=this._textVmlEl,De,ze,pe;Me?(pe=Me.firstChild,De=pe.nextSibling,ze=De.nextSibling):(Me=Ae("line"),De=Ae("path"),ze=Ae("textpath"),pe=Ae("skew"),ze.style["v-text-align"]="left",P(Me),De.textpathok=!0,ze.on=!0,Me.from="0 0",Me.to="1000 0.05",F(Me,pe),F(Me,De),F(Me,ze),this._textVmlEl=Me);var te=[Ot,Xt],be=Me.style;Se&&St?(w(te,te,Se),pe.on=!0,pe.matrix=Se[0].toFixed(3)+v+Se[2].toFixed(3)+v+Se[1].toFixed(3)+v+Se[3].toFixed(3)+",0,0",pe.offset=(a(te[0])||0)+","+(a(te[1])||0),pe.origin="0 0",be.left="0px",be.top="0px"):(pe.on=!1,be.left=a(Ot)+"px",be.top=a(Xt)+"px"),ze.string=M(lt);try{ze.style.font=Kt}catch(xe){}Y(Me,"fill",{fill:$e.textFill,opacity:$e.opacity},this),Y(Me,"stroke",{stroke:$e.textStroke,opacity:$e.opacity,lineDash:$e.lineDash||null},this),Me.style.zIndex=U(this.zlevel,this.z,this.z2),F(At,Me)}},Re=function(At){L(At,this._textVmlEl),this._textVmlEl=null},nt=function(At){F(At,this._textVmlEl)},Ve=[f,t,i,o,s],Ge=0;Ge<Ve.length;Ge++){var dt=Ve[Ge].prototype;dt.drawRectText=ue,dt.removeRectText=Re,dt.appendRectText=nt}s.prototype.brushVML=function(et){var At=this.style;At.text!=null?this.drawRectText(et,{x:At.x||0,y:At.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(et)},s.prototype.onRemove=function(et){this.removeRectText(et)},s.prototype.onAdd=function(et){this.appendRectText(et)}}},qJCg:function(oe,V,e){var B=e("BlVb"),T=e("mFDi"),w=e("IwbS"),D=w.linePolygonIntersect,I={lineX:E(0),lineY:E(1),rect:{point:function(t,i,s){return t&&s.boundingRect.contain(t[0],t[1])},rect:function(t,i,s){return t&&s.boundingRect.intersect(t)}},polygon:{point:function(t,i,s){return t&&s.boundingRect.contain(t[0],t[1])&&B.contain(s.range,t[0],t[1])},rect:function(t,i,s){var o=s.range;if(!t||o.length<=1)return!1;var r=t.x,u=t.y,n=t.width,l=t.height,a=o[0];if(B.contain(o,r,u)||B.contain(o,r+n,u)||B.contain(o,r,u+l)||B.contain(o,r+n,u+l)||T.create(t).contain(a[0],a[1])||D(r,u,r+n,u,o)||D(r,u,r,u+l,o)||D(r+n,u,r+n,u+l,o)||D(r,u+l,r+n,u+l,o))return!0}}};function E(t){var i=["x","y"],s=["width","height"];return{point:function(o,r,u){if(o){var n=u.range,l=o[t];return C(l,n)}},rect:function(o,r,u){if(o){var n=u.range,l=[o[i[t]],o[i[t]]+o[s[t]]];return l[1]<l[0]&&l.reverse(),C(l[0],n)||C(l[1],n)||C(n[0],l)||C(n[1],l)}}}}function C(t,i){return i[0]<=t&&t<=i[1]}var f=I;oe.exports=f},qMZE:function(oe,V,e){var B=e("JEkh"),T=B.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}}}});oe.exports=T},qWt2:function(oe,V,e){var B=e("ProS"),T=B.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}}});oe.exports=T},qZFw:function(oe,V,e){var B=e("bYtY"),T=e("6GrX"),w=e("hM6l"),D=e("4NO4"),I=D.makeInner,E=I();function C(t,i){i=i||[0,360],w.call(this,"angle",t,i),this.type="category"}C.prototype={constructor:C,pointToData:function(t,i){return this.polar.pointToData(t,i)[this.dim==="radius"?0:1]},dataToAngle:w.prototype.dataToCoord,angleToData:w.prototype.coordToData,calculateCategoryInterval:function(){var t=this,i=t.getLabelModel(),s=t.scale,o=s.getExtent(),r=s.count();if(o[1]-o[0]<1)return 0;var u=o[0],n=t.dataToCoord(u+1)-t.dataToCoord(u),l=Math.abs(n),a=T.getBoundingRect(u,i.getFont(),"center","top"),c=Math.max(a.height,7),d=c/l;isNaN(d)&&(d=Infinity);var h=Math.max(0,Math.floor(d)),y=E(t.model),A=y.lastAutoInterval,v=y.lastTickCount;return A!=null&&v!=null&&Math.abs(A-h)<=1&&Math.abs(v-r)<=1&&A>h?h=A:(y.lastTickCount=r,y.lastAutoInterval=h),h}},B.inherits(C,w);var f=C;oe.exports=f},qgGe:function(oe,V,e){var B=e("bYtY"),T=e("T4UG"),w=e("Bsck"),D=e("Qxkt"),I=e("VaxA"),E=I.wrapTreePathInfo,C=T.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,i){var s={name:t.name,children:t.data};f(s);var o=B.map(t.levels||[],function(n){return new D(n,this,i)},this),r=w.createTree(s,this,u);function u(n){n.wrapMethod("getItemModel",function(l,a){var c=r.getNodeByDataIndex(a),d=o[c.depth];return d&&(l.parentModel=d),l})}return r.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var i=T.prototype.getDataParams.apply(this,arguments),s=this.getData().tree.getNodeByDataIndex(t);return i.treePathInfo=E(s,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(t){t?this._viewRoot=t:t=this._viewRoot;var i=this.getRawData().tree.root;(!t||t!==i&&!i.contains(t))&&(this._viewRoot=i)}});function f(t){var i=0;B.each(t.children,function(o){f(o);var r=o.value;B.isArray(r)&&(r=r[0]),i+=r});var s=t.value;B.isArray(s)&&(s=s[0]),(s==null||isNaN(s))&&(s=i),s<0&&(s=0),B.isArray(t.value)?t.value[0]=s:t.value=s}oe.exports=C},qj72:function(oe,V,e){var B=e("bYtY");function T(D,I){return I=I||[0,0],B.map(["x","y"],function(E,C){var f=this.getAxis(E),t=I[C],i=D[C]/2;return f.type==="category"?f.getBandWidth():Math.abs(f.dataToCoord(t-i)-f.dataToCoord(t+i))},this)}function w(D){var I=D.grid.getRect();return{coordSys:{type:"cartesian2d",x:I.x,y:I.y,width:I.width,height:I.height},api:{coord:function(E){return D.dataToPoint(E)},size:B.bind(T,D)}}}oe.exports=w},qrJ5:function(oe,V,e){"use strict";var B=e("wx14"),T=e("rePB"),w=e("U8pU"),D=e("ODXe"),I=e("TSYQ"),E=e.n(I),C=e("q1tI"),f=e.n(C),t=e("H84U"),i=e("P80f"),s=e("ACnJ"),o=e("CWQg"),r=e("o/2+"),u=function(d,h){var y={};for(var A in d)Object.prototype.hasOwnProperty.call(d,A)&&h.indexOf(A)<0&&(y[A]=d[A]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,A=Object.getOwnPropertySymbols(d);v<A.length;v++)h.indexOf(A[v])<0&&Object.prototype.propertyIsEnumerable.call(d,A[v])&&(y[A[v]]=d[A[v]]);return y},n=Object(o.a)("top","middle","bottom","stretch"),l=Object(o.a)("start","end","center","space-around","space-between","space-evenly");function a(d,h){var y=C.useState(typeof d=="string"?d:""),A=Object(D.a)(y,2),v=A[0],g=A[1],x=function(){if(Object(w.a)(d)==="object")for(var b=0;b<s.b.length;b++){var S=s.b[b];if(!!h[S]){var P=d[S];if(P!==void 0){g(P);return}}}};return C.useEffect(function(){x()},[JSON.stringify(d),h]),v}var c=C.forwardRef(function(d,h){var y,A=d.prefixCls,v=d.justify,g=d.align,x=d.className,m=d.style,b=d.children,S=d.gutter,P=S===void 0?0:S,M=d.wrap,R=u(d,["prefixCls","justify","align","className","style","children","gutter","wrap"]),F=C.useContext(t.b),L=F.getPrefixCls,U=F.direction,N=C.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),Q=Object(D.a)(N,2),z=Q[0],_=Q[1],J=C.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Y=Object(D.a)(J,2),k=Y[0],W=Y[1],ie=a(g,k),fe=a(v,k),Ce=Object(i.a)(),ge=C.useRef(P);C.useEffect(function(){var At=s.a.subscribe(function(Dt){W(Dt);var Ft=ge.current||0;(!Array.isArray(Ft)&&Object(w.a)(Ft)==="object"||Array.isArray(Ft)&&(Object(w.a)(Ft[0])==="object"||Object(w.a)(Ft[1])==="object"))&&_(Dt)});return function(){return s.a.unsubscribe(At)}},[]);var de=function(){var Dt=[void 0,void 0],Ft=Array.isArray(P)?P:[P,void 0];return Ft.forEach(function(St,$e){if(Object(w.a)(St)==="object")for(var lt=0;lt<s.b.length;lt++){var Ut=s.b[lt];if(z[Ut]&&St[Ut]!==void 0){Dt[$e]=St[Ut];break}}else Dt[$e]=St}),Dt},Pe=L("row",A),_e=de(),Ne=E()(Pe,(y={},Object(T.a)(y,"".concat(Pe,"-no-wrap"),M===!1),Object(T.a)(y,"".concat(Pe,"-").concat(fe),fe),Object(T.a)(y,"".concat(Pe,"-").concat(ie),ie),Object(T.a)(y,"".concat(Pe,"-rtl"),U==="rtl"),y),x),He={},ue=_e[0]!=null&&_e[0]>0?_e[0]/-2:void 0,Re=_e[1]!=null&&_e[1]>0?_e[1]/-2:void 0;if(ue&&(He.marginLeft=ue,He.marginRight=ue),Ce){var nt=Object(D.a)(_e,2);He.rowGap=nt[1]}else Re&&(He.marginTop=Re,He.marginBottom=Re);var Ve=Object(D.a)(_e,2),Ge=Ve[0],dt=Ve[1],et=C.useMemo(function(){return{gutter:[Ge,dt],wrap:M,supportFlexGap:Ce}},[Ge,dt,M,Ce]);return C.createElement(r.a.Provider,{value:et},C.createElement("div",Object(B.a)({},R,{className:Ne,style:Object(B.a)(Object(B.a)({},He),m),ref:h}),b))});V.a=c},"qt/9":function(oe,V,e){var B=e("ProS"),T=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var w=e("nVfU"),D=w.layout,I=e("f5Yq");e("Ae16"),B.registerLayout(T.curry(D,"pictorialBar")),B.registerVisual(I("pictorialBar","roundRect"))},quyA:function(oe,V){var e="\\ud800-\\udfff",B="\\u0300-\\u036f",T="\\ufe20-\\ufe2f",w="\\u20d0-\\u20ff",D=B+T+w,I="\\ufe0e\\ufe0f",E="\\u200d",C=RegExp("["+E+e+D+I+"]");function f(t){return C.test(t)}oe.exports=f},qwVE:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("K4ya"),D=e("XxSj"),I=B.PRIORITY.VISUAL.COMPONENT;B.registerVisual(I,{createOnAllSeries:!0,reset:function(C,f){var t=[];return f.eachComponent("visualMap",function(i){var s=C.pipelineContext;!i.isTargetSeries(C)||s&&s.large||t.push(w.incrementalApplyVisual(i.stateList,i.targetVisuals,T.bind(i.getValueState,i),i.getDataDimension(C.getData())))}),t}}),B.registerVisual(I,{createOnAllSeries:!0,reset:function(C,f){var t=C.getData(),i=[];f.eachComponent("visualMap",function(s){if(s.isTargetSeries(C)){var o=s.getVisualMeta(T.bind(E,null,C,s))||{stops:[],outerColors:[]},r=s.getDataDimension(t),u=t.getDimensionInfo(r);u!=null&&(o.dimension=u.index,i.push(o))}}),C.getData().setVisual("visualMeta",i)}});function E(C,f,t,i){for(var s=f.targetVisuals[i],o=D.prepareVisualTypes(s),r={color:C.getData().getVisual("color")},u=0,n=o.length;u<n;u++){var l=o[u],a=s[l==="opacity"?"__alphaForOpacity":l];a&&a.applyVisual(t,c,d)}return r.color;function c(h){return r[h]}function d(h,y){r[h]=y}}},r6Bn:function(oe,V,e){var B=e("bYtY"),T=e("ItGF"),w=e("4fz+"),D=e("BPZU");function I(f,t){return f.zlevel===t.zlevel?f.z===t.z?f.z2-t.z2:f.z-t.z:f.zlevel-t.zlevel}var E=function(){this._roots=[],this._displayList=[],this._displayListLen=0};E.prototype={constructor:E,traverse:function(t,i){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(t,i)},getDisplayList:function(t,i){return i=i||!1,t&&this.updateDisplayList(i),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var i=this._roots,s=this._displayList,o=0,r=i.length;o<r;o++)this._updateAndAddDisplayable(i[o],null,t);s.length=this._displayListLen,T.canvasSupported&&D(s,I)},_updateAndAddDisplayable:function(t,i,s){if(!(t.ignore&&!s)){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var o=t.clipPath;if(o){i?i=i.slice():i=[];for(var r=o,u=t;r;)r.parent=u,r.updateTransform(),i.push(r),u=r,r=r.clipPath}if(t.isGroup){for(var n=t._children,l=0;l<n.length;l++){var a=n[l];t.__dirty&&(a.__dirty=!0),this._updateAndAddDisplayable(a,i,s)}t.__dirty=!1}else t.__clipPaths=i,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof w&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(t==null){for(var i=0;i<this._roots.length;i++){var s=this._roots[i];s instanceof w&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(t instanceof Array){for(var i=0,o=t.length;i<o;i++)this.delRoot(t[i]);return}var r=B.indexOf(this._roots,t);r>=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof w&&t.delChildrenFromStorage(this))},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:I};var C=E;oe.exports=C},rA99:function(oe,V,e){var B=e("y+Vt"),T=e("QBsz"),w=e("Sj9i"),D=w.quadraticSubdivide,I=w.cubicSubdivide,E=w.quadraticAt,C=w.cubicAt,f=w.quadraticDerivativeAt,t=w.cubicDerivativeAt,i=[];function s(r,u,n){var l=r.cpx2,a=r.cpy2;return l===null||a===null?[(n?t:C)(r.x1,r.cpx1,r.cpx2,r.x2,u),(n?t:C)(r.y1,r.cpy1,r.cpy2,r.y2,u)]:[(n?f:E)(r.x1,r.cpx1,r.x2,u),(n?f:E)(r.y1,r.cpy1,r.y2,u)]}var o=B.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(u,n){var l=n.x1,a=n.y1,c=n.x2,d=n.y2,h=n.cpx1,y=n.cpy1,A=n.cpx2,v=n.cpy2,g=n.percent;g!==0&&(u.moveTo(l,a),A==null||v==null?(g<1&&(D(l,h,c,g,i),h=i[1],c=i[2],D(a,y,d,g,i),y=i[1],d=i[2]),u.quadraticCurveTo(h,y,c,d)):(g<1&&(I(l,h,A,c,g,i),h=i[1],A=i[2],c=i[3],I(a,y,v,d,g,i),y=i[1],v=i[2],d=i[3]),u.bezierCurveTo(h,y,A,v,c,d)))},pointAt:function(u){return s(this.shape,u,!1)},tangentAt:function(u){var n=s(this.shape,u,!0);return T.normalize(n,n)}});oe.exports=o},"rAM+":function(oe,V,e){"use strict";e.d(V,"a",function(){return T});var B=e("Qw5x");function T(w,D){var I=typeof Symbol!="undefined"&&w[Symbol.iterator]||w["@@iterator"];if(!I){if(Array.isArray(w)||(I=Object(B.a)(w))||D&&w&&typeof w.length=="number"){I&&(w=I);var E=0,C=function(){};return{s:C,n:function(){return E>=w.length?{done:!0}:{done:!1,value:w[E++]}},e:function(o){throw o},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 f=!0,t=!1,i;return{s:function(){I=I.call(w)},n:function(){var o=I.next();return f=o.done,o},e:function(o){t=!0,i=o},f:function(){try{!f&&I.return!=null&&I.return()}finally{if(t)throw i}}}}},rHrb:function(oe,V,e){"use strict";function B(A){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},B(A)}Object.defineProperty(V,"__esModule",{value:!0}),V.CopyToClipboard=void 0;var T=I(e("q1tI")),w=I(e("+QRC")),D=["text","onCopy","options","children"];function I(A){return A&&A.__esModule?A:{default:A}}function E(A,v){var g=Object.keys(A);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(A);v&&(x=x.filter(function(m){return Object.getOwnPropertyDescriptor(A,m).enumerable})),g.push.apply(g,x)}return g}function C(A){for(var v=1;v<arguments.length;v++){var g=arguments[v]!=null?arguments[v]:{};v%2?E(Object(g),!0).forEach(function(x){h(A,x,g[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(g)):E(Object(g)).forEach(function(x){Object.defineProperty(A,x,Object.getOwnPropertyDescriptor(g,x))})}return A}function f(A,v){if(A==null)return{};var g=t(A,v),x,m;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(A);for(m=0;m<b.length;m++)x=b[m],!(v.indexOf(x)>=0)&&(!Object.prototype.propertyIsEnumerable.call(A,x)||(g[x]=A[x]))}return g}function t(A,v){if(A==null)return{};var g={},x=Object.keys(A),m,b;for(b=0;b<x.length;b++)m=x[b],!(v.indexOf(m)>=0)&&(g[m]=A[m]);return g}function i(A,v){if(!(A instanceof v))throw new TypeError("Cannot call a class as a function")}function s(A,v){for(var g=0;g<v.length;g++){var x=v[g];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(A,x.key,x)}}function o(A,v,g){return v&&s(A.prototype,v),g&&s(A,g),Object.defineProperty(A,"prototype",{writable:!1}),A}function r(A,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(v&&v.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),v&&u(A,v)}function u(A,v){return u=Object.setPrototypeOf||function(x,m){return x.__proto__=m,x},u(A,v)}function n(A){var v=c();return function(){var x=d(A),m;if(v){var b=d(this).constructor;m=Reflect.construct(x,arguments,b)}else m=x.apply(this,arguments);return l(this,m)}}function l(A,v){if(v&&(B(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return a(A)}function a(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function c(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(A){return!1}}function d(A){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},d(A)}function h(A,v,g){return v in A?Object.defineProperty(A,v,{value:g,enumerable:!0,configurable:!0,writable:!0}):A[v]=g,A}var y=function(A){r(g,A);var v=n(g);function g(){var x;i(this,g);for(var m=arguments.length,b=new Array(m),S=0;S<m;S++)b[S]=arguments[S];return x=v.call.apply(v,[this].concat(b)),h(a(x),"onClick",function(P){var M=x.props,R=M.text,F=M.onCopy,L=M.children,U=M.options,N=T.default.Children.only(L),Q=(0,w.default)(R,U);F&&F(R,Q),N&&N.props&&typeof N.props.onClick=="function"&&N.props.onClick(P)}),x}return o(g,[{key:"render",value:function(){var m=this.props,b=m.text,S=m.onCopy,P=m.options,M=m.children,R=f(m,D),F=T.default.Children.only(M);return T.default.cloneElement(F,C(C({},R),{},{onClick:this.onClick}))}}]),g}(T.default.PureComponent);V.CopyToClipboard=y,h(y,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="ReloadOutlined";var C=V.a=T.forwardRef(E)},rUJ1:function(oe,V){var e=/[&<>"']/,B=/[&<>"']/g,T=/[<>"']|&(?!#?\w+;)/,w=/[<>"']|&(?!#?\w+;)/g,D={"&":"&","<":"<",">":">",'"':""","'":"'"},I=function(b){return D[b]};function E(m,b){if(b){if(e.test(m))return m.replace(B,I)}else if(T.test(m))return m.replace(w,I);return m}var C=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function f(m){return m.replace(C,function(b,S){return S=S.toLowerCase(),S==="colon"?":":S.charAt(0)==="#"?S.charAt(1)==="x"?String.fromCharCode(parseInt(S.substring(2),16)):String.fromCharCode(+S.substring(1)):""})}var t=/(^|[^\[])\^/g;function i(m,b){m=m.source||m,b=b||"";var S={replace:function(M,R){return R=R.source||R,R=R.replace(t,"$1"),m=m.replace(M,R),S},getRegex:function(){return new RegExp(m,b)}};return S}var s=/[^\w:]/g,o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function r(m,b,S){if(m){var P;try{P=decodeURIComponent(f(S)).replace(s,"").toLowerCase()}catch(M){return null}if(P.indexOf("javascript:")===0||P.indexOf("vbscript:")===0||P.indexOf("data:")===0)return null}b&&!o.test(S)&&(S=c(b,S));try{S=encodeURI(S).replace(/%25/g,"%")}catch(M){return null}return S}var u={},n=/^[^:]+:\/*[^/]*$/,l=/^([^:]+:)[\s\S]*$/,a=/^([^:]+:\/*[^/]*)[\s\S]*$/;function c(m,b){u[" "+m]||(n.test(m)?u[" "+m]=m+"/":u[" "+m]=A(m,"/",!0)),m=u[" "+m];var S=m.indexOf(":")===-1;return b.substring(0,2)==="//"?S?b:m.replace(l,"$1")+b:b.charAt(0)==="/"?S?b:m.replace(a,"$1")+b:m+b}var d={exec:function(){}};function h(m){for(var b=1,S,P;b<arguments.length;b++){S=arguments[b];for(P in S)Object.prototype.hasOwnProperty.call(S,P)&&(m[P]=S[P])}return m}function y(m,b){var S=m.replace(/\|/g,function(R,F,L){for(var U=!1,N=F;--N>=0&&L[N]==="\\";)U=!U;return U?"|":" |"}),P=S.split(/ \|/),M=0;if(P.length>b)P.splice(b);else for(;P.length<b;)P.push("");for(;M<P.length;M++)P[M]=P[M].trim().replace(/\\\|/g,"|");return P}function A(m,b,S){var P=m.length;if(P===0)return"";for(var M=0;M<P;){var R=m.charAt(P-M-1);if(R===b&&!S)M++;else if(R!==b&&S)M++;else break}return m.substr(0,P-M)}function v(m,b){if(m.indexOf(b[1])===-1)return-1;for(var S=m.length,P=0,M=0;M<S;M++)if(m[M]==="\\")M++;else if(m[M]===b[0])P++;else if(m[M]===b[1]&&(P--,P<0))return M;return-1}function g(m){m&&m.sanitize&&!m.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")}function x(m,b){if(b<1)return"";for(var S="";b>1;)b&1&&(S+=m),b>>=1,m+=m;return S+m}oe.exports={escape:E,unescape:f,edit:i,cleanUrl:r,resolveUrl:c,noopTest:d,merge:h,splitCells:y,rtrim:A,findClosingBracket:v,checkSanitizeDeprecation:g,repeatString:x}},rdUC:function(oe,V,e){var B=e("MFOe"),T=B.Global;oe.exports={name:"localStorage",read:D,write:I,each:E,remove:C,clearAll:f};function w(){return T.localStorage}function D(t){return w().getItem(t)}function I(t,i){return w().setItem(t,i)}function E(t){for(var i=w().length-1;i>=0;i--){var s=w().key(i);t(D(s),s)}}function C(t){return w().removeItem(t)}function f(){return w().clear()}},rdor:function(oe,V,e){var B=e("lOQZ"),T=B.circularLayout;function w(D){D.eachSeriesByType("graph",function(I){I.get("layout")==="circular"&&T(I,"symbolSize")})}oe.exports=w},rfSb:function(oe,V,e){var B=e("T4UG"),T=e("sdST"),w=e("L0Ub"),D=w.getDimensionTypeByAxis,I=e("YXkt"),E=e("bYtY"),C=e("4NO4"),f=C.groupData,t=e("7aKB"),i=t.encodeHTML,s=e("xKMd"),o=2,r=B.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(n){r.superApply(this,"init",arguments),this.legendVisualProvider=new s(E.bind(this.getData,this),E.bind(this.getRawData,this))},fixData:function(n){var l=n.length,a={},c=f(n,function(x){return a.hasOwnProperty(x[0])||(a[x[0]]=-1),x[2]}),d=[];c.buckets.each(function(x,m){d.push({name:m,dataList:x})});for(var h=d.length,y=0;y<h;++y){for(var A=d[y].name,v=0;v<d[y].dataList.length;++v){var g=d[y].dataList[v][0];a[g]=y}for(var g in a)a.hasOwnProperty(g)&&a[g]!==y&&(a[g]=y,n[l]=[],n[l][0]=g,n[l][1]=0,n[l][2]=A,l++)}return n},getInitialData:function(n,l){for(var a=l.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],c=a.get("type"),d=E.filter(n.data,function(b){return b[2]!==void 0}),h=this.fixData(d||[]),y=[],A=this.nameMap=E.createHashMap(),v=0,g=0;g<h.length;++g)y.push(h[g][o]),A.get(h[g][o])||(A.set(h[g][o],v),v++);var x=T(h,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:D(c)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),m=new I(x,this);return m.initData(h),m},getLayerSeries:function(){for(var n=this.getData(),l=n.count(),a=[],c=0;c<l;++c)a[c]=c;var d=n.mapDimension("single"),h=f(a,function(A){return n.get("name",A)}),y=[];return h.buckets.each(function(A,v){A.sort(function(g,x){return n.get(d,g)-n.get(d,x)}),y.push({name:v,indices:A})}),y},getAxisTooltipData:function(n,l,a){E.isArray(n)||(n=n?[n]:[]);for(var c=this.getData(),d=this.getLayerSeries(),h=[],y=d.length,A,v=0;v<y;++v){for(var g=Number.MAX_VALUE,x=-1,m=d[v].indices.length,b=0;b<m;++b){var S=c.get(n[0],d[v].indices[b]),P=Math.abs(S-l);P<=g&&(A=S,g=P,x=d[v].indices[b])}h.push(x)}return{dataIndices:h,nestestValue:A}},formatTooltip:function(n){var l=this.getData(),a=l.getName(n),c=l.get(l.mapDimension("value"),n);return(isNaN(c)||c==null)&&(c="-"),i(a+" : "+c)},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}}}}),u=r;oe.exports=u},rkZ5:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("ProS"),D=e("c8qY"),I=e("D9ME"),E=e("fls0"),C=e("RSch"),f=e("akwb"),t=e("o40c"),i=e("ZYIC"),s=e("sK/D"),o=s.createClipPath,r=w.extendChartView({type:"lines",init:function(){},render:function(u,n,l){var a=u.getData(),c=this._updateLineDraw(a,u),d=u.get("zlevel"),h=u.get("effect.trailLength"),y=l.getZr(),A=y.painter.getType()==="svg";A||y.painter.getLayer(d).clear(!0),this._lastZlevel!=null&&!A&&y.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(u)&&h&&(A||y.configLayer(d,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(h/10+.9,1),0)})),c.updateData(a);var v=u.get("clip",!0)&&o(u.coordinateSystem,!1,u);v?this.group.setClipPath(v):this.group.removeClipPath(),this._lastZlevel=d,this._finished=!0},incrementalPrepareRender:function(u,n,l){var a=u.getData(),c=this._updateLineDraw(a,u);c.incrementalPrepareUpdate(a),this._clearLayer(l),this._finished=!1},incrementalRender:function(u,n,l){this._lineDraw.incrementalUpdate(u,n.getData()),this._finished=u.end===n.getData().count()},updateTransform:function(u,n,l){var a=u.getData(),c=u.pipelineContext;if(!this._finished||c.large||c.progressiveRender)return{update:!0};var d=i.reset(u);d.progress&&d.progress({start:0,end:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(l)},_updateLineDraw:function(u,n){var l=this._lineDraw,a=this._showEffect(n),c=!!n.get("polyline"),d=n.pipelineContext,h=d.large;return(!l||a!==this._hasEffet||c!==this._isPolyline||h!==this._isLargeDraw)&&(l&&l.remove(),l=this._lineDraw=h?new t:new D(c?a?f:C:a?I:E),this._hasEffet=a,this._isPolyline=c,this._isLargeDraw=h,this.group.removeAll()),this.group.add(l.group),l},_showEffect:function(u){return!!u.get("effect.show")},_clearLayer:function(u){var n=u.getZr(),l=n.painter.getType()==="svg";!l&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(u,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},dispose:function(){}});oe.exports=r},rmlV:function(oe,V,e){var B=e("y+Vt"),T=B.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(D,I){var E=.5522848,C=I.cx,f=I.cy,t=I.rx,i=I.ry,s=t*E,o=i*E;D.moveTo(C-t,f),D.bezierCurveTo(C-t,f-o,C-s,f-i,C,f-i),D.bezierCurveTo(C+s,f-i,C+t,f-o,C+t,f),D.bezierCurveTo(C+t,f+o,C+s,f+i,C,f+i),D.bezierCurveTo(C-s,f+i,C-t,f+o,C-t,f),D.closePath()}});oe.exports=T},rnVJ:function(oe,V,e){var B=e("bYtY"),T=["rect","polygon","keep","clear"];function w(I,E){var C=I&&I.brush;if(B.isArray(C)||(C=C?[C]:[]),!!C.length){var f=[];B.each(C,function(r){var u=r.hasOwnProperty("toolbox")?r.toolbox:[];u instanceof Array&&(f=f.concat(u))});var t=I&&I.toolbox;B.isArray(t)&&(t=t[0]),t||(t={feature:{}},I.toolbox=[t]);var i=t.feature||(t.feature={}),s=i.brush||(i.brush={}),o=s.type||(s.type=[]);o.push.apply(o,f),D(o),E&&!o.length&&o.push.apply(o,T)}}function D(I){var E={};B.each(I,function(C){E[C]=1}),I.length=0,B.each(E,function(C,f){I.push(f)})}oe.exports=w},rySg:function(oe,V,e){e("SMc4"),e("8nMs")},s2lz:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("IwbS"),D=e("gPAo"),I=e("VaxA"),E=e("9hCq"),C=e("SgGq"),f=e("mFDi"),t=e("Fofx"),i=e("5s0K"),s=e("KCsZ"),o=e("7aKB"),r=o.windowOpen,u=T.bind,n=w.Group,l=w.Rect,a=T.each,c=3,d=["label"],h=["emphasis","label"],y=["upperLabel"],A=["emphasis","upperLabel"],v=10,g=1,x=2,m=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b=function(F){var L=m(F);return L.stroke=L.fill=L.lineWidth=null,L},S=B.extendChartView({type:"treemap",init:function(F,L){this._containerGroup,this._storage=P(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(F,L,U,N){var Q=L.findComponents({mainType:"series",subType:"treemap",query:N});if(!(T.indexOf(Q,F)<0)){this.seriesModel=F,this.api=U,this.ecModel=L;var z=["treemapZoomToNode","treemapRootToNode"],_=I.retrieveTargetInfo(N,z,F),J=N&&N.type,Y=F.layoutInfo,k=!this._oldTree,W=this._storage,ie=J==="treemapRootToNode"&&_&&W?{rootNodeGroup:W.nodeGroup[_.node.getRawIndex()],direction:N.direction}:null,fe=this._giveContainerGroup(Y),Ce=this._doRender(fe,F,ie);!k&&(!J||J==="treemapZoomToNode"||J==="treemapRootToNode")?this._doAnimation(fe,Ce,F,ie):Ce.renderFinally(),this._resetController(U),this._renderBreadcrumb(F,U,_)}},_giveContainerGroup:function(F){var L=this._containerGroup;return L||(L=this._containerGroup=new n,this._initEvents(L),this.group.add(L)),L.attr("position",[F.x,F.y]),L},_doRender:function(F,L,U){var N=L.getData().tree,Q=this._oldTree,z=P(),_=P(),J=this._storage,Y=[],k=T.curry(M,L,_,J,U,z,Y);ie(N.root?[N.root]:[],Q&&Q.root?[Q.root]:[],F,N===Q||!Q,0);var W=fe(J);return this._oldTree=N,this._storage=_,{lastsForAnimation:z,willDeleteEls:W,renderFinally:Ce};function ie(ge,de,Pe,_e,Ne){_e?(de=ge,a(ge,function(Re,nt){!Re.isRemoved()&&ue(nt,nt)})):new D(de,ge,He,He).add(ue).update(ue).remove(T.curry(ue,null)).execute();function He(Re){return Re.getId()}function ue(Re,nt){var Ve=Re!=null?ge[Re]:null,Ge=nt!=null?de[nt]:null,dt=k(Ve,Ge,Pe,Ne);dt&&ie(Ve&&Ve.viewChildren||[],Ge&&Ge.viewChildren||[],dt,_e,Ne+1)}}function fe(ge){var de=P();return ge&&a(ge,function(Pe,_e){var Ne=de[_e];a(Pe,function(He){He&&(Ne.push(He),He.__tmWillDelete=1)})}),de}function Ce(){a(W,function(ge){a(ge,function(de){de.parent&&de.parent.remove(de)})}),a(Y,function(ge){ge.invisible=!0,ge.dirty()})}},_doAnimation:function(F,L,U,N){if(!!U.get("animation")){var Q=U.get("animationDurationUpdate"),z=U.get("animationEasing"),_=i.createWrap();a(L.willDeleteEls,function(J,Y){a(J,function(k,W){if(!k.invisible){var ie=k.parent,fe;if(N&&N.direction==="drillDown")fe=ie===N.rootNodeGroup?{shape:{x:0,y:0,width:ie.__tmNodeWidth,height:ie.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var Ce=0,ge=0;ie.__tmWillDelete||(Ce=ie.__tmNodeWidth/2,ge=ie.__tmNodeHeight/2),fe=Y==="nodeGroup"?{position:[Ce,ge],style:{opacity:0}}:{shape:{x:Ce,y:ge,width:0,height:0},style:{opacity:0}}}fe&&_.add(k,fe,Q,z)}})}),a(this._storage,function(J,Y){a(J,function(k,W){var ie=L.lastsForAnimation[Y][W],fe={};!ie||(Y==="nodeGroup"?ie.old&&(fe.position=k.position.slice(),k.attr("position",ie.old)):(ie.old&&(fe.shape=T.extend({},k.shape),k.setShape(ie.old)),ie.fadein?(k.setStyle("opacity",0),fe.style={opacity:1}):k.style.opacity!==1&&(fe.style={opacity:1})),_.add(k,fe,Q,z))})},this),this._state="animating",_.done(u(function(){this._state="ready",L.renderFinally()},this)).start()}},_resetController:function(F){var L=this._controller;L||(L=this._controller=new C(F.getZr()),L.enable(this.seriesModel.get("roam")),L.on("pan",u(this._onPan,this)),L.on("zoom",u(this._onZoom,this)));var U=new f(0,0,F.getWidth(),F.getHeight());L.setPointerChecker(function(N,Q,z){return U.contain(Q,z)})},_clearController:function(){var F=this._controller;F&&(F.dispose(),F=null)},_onPan:function(F){if(this._state!=="animating"&&(Math.abs(F.dx)>c||Math.abs(F.dy)>c)){var L=this.seriesModel.getData().tree.root;if(!L)return;var U=L.getLayout();if(!U)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:U.x+F.dx,y:U.y+F.dy,width:U.width,height:U.height}})}},_onZoom:function(F){var L=F.originX,U=F.originY;if(this._state!=="animating"){var N=this.seriesModel.getData().tree.root;if(!N)return;var Q=N.getLayout();if(!Q)return;var z=new f(Q.x,Q.y,Q.width,Q.height),_=this.seriesModel.layoutInfo;L-=_.x,U-=_.y;var J=t.create();t.translate(J,J,[-L,-U]),t.scale(J,J,[F.scale,F.scale]),t.translate(J,J,[L,U]),z.applyTransform(J),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:z.x,y:z.y,width:z.width,height:z.height}})}},_initEvents:function(F){F.on("click",function(L){if(this._state==="ready"){var U=this.seriesModel.get("nodeClick",!0);if(!!U){var N=this.findTarget(L.offsetX,L.offsetY);if(!!N){var Q=N.node;if(Q.getLayout().isLeafRoot)this._rootToNode(N);else if(U==="zoomToNode")this._zoomToNode(N);else if(U==="link"){var z=Q.hostTree.data.getItemModel(Q.dataIndex),_=z.get("link",!0),J=z.get("target",!0)||"blank";_&&r(_,J)}}}}},this)},_renderBreadcrumb:function(F,L,U){U||(U=F.get("leafDepth",!0)!=null?{node:F.getViewRoot()}:this.findTarget(L.getWidth()/2,L.getHeight()/2),U||(U={node:F.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new E(this.group))).render(F,L,U.node,u(N,this));function N(Q){this._state!=="animating"&&(I.aboveViewRoot(F.getViewRoot(),Q)?this._rootToNode({node:Q}):this._zoomToNode({node:Q}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=P(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(F){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},_rootToNode:function(F){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:F.node})},findTarget:function(F,L){var U,N=this.seriesModel.getViewRoot();return N.eachNode({attr:"viewChildren",order:"preorder"},function(Q){var z=this._storage.background[Q.getRawIndex()];if(z){var _=z.transformCoordToLocal(F,L),J=z.shape;if(J.x<=_[0]&&_[0]<=J.x+J.width&&J.y<=_[1]&&_[1]<=J.y+J.height)U={node:Q,offsetX:_[0],offsetY:_[1]};else return!1}},this),U}});function P(){return{nodeGroup:[],background:[],content:[]}}function M(F,L,U,N,Q,z,_,J,Y,k){if(!_)return;var W=_.getLayout(),ie=F.getData();if(ie.setItemGraphicEl(_.dataIndex,null),!W||!W.isInView)return;var fe=W.width,Ce=W.height,ge=W.borderWidth,de=W.invisible,Pe=_.getRawIndex(),_e=J&&J.getRawIndex(),Ne=_.viewChildren,He=W.upperHeight,ue=Ne&&Ne.length,Re=_.getModel("itemStyle"),nt=_.getModel("emphasis.itemStyle"),Ve=lt("nodeGroup",n);if(!Ve)return;if(Y.add(Ve),Ve.attr("position",[W.x||0,W.y||0]),Ve.__tmNodeWidth=fe,Ve.__tmNodeHeight=Ce,W.isAboveViewRoot)return Ve;var Ge=_.getModel(),dt=lt("background",l,k,g);if(dt&&At(Ve,dt,ue&&W.upperLabelHeight),ue)w.isHighDownDispatcher(Ve)&&w.setAsHighDownDispatcher(Ve,!1),dt&&(w.setAsHighDownDispatcher(dt,!0),ie.setItemGraphicEl(_.dataIndex,dt));else{var et=lt("content",l,k,x);et&&Dt(Ve,et),dt&&w.isHighDownDispatcher(dt)&&w.setAsHighDownDispatcher(dt,!1),w.setAsHighDownDispatcher(Ve,!0),ie.setItemGraphicEl(_.dataIndex,Ve)}return Ve;function At(ft,rt,Ie){if(rt.dataIndex=_.dataIndex,rt.seriesIndex=F.seriesIndex,rt.setShape({x:0,y:0,width:fe,height:Ce}),de)Ft(rt);else{rt.invisible=!1;var Ot=_.getVisual("borderColor",!0),Xt=nt.get("borderColor"),Vt=b(Re);Vt.fill=Ot;var bt=m(nt);if(bt.fill=Xt,Ie){var It=fe-2*ge;St(Vt,bt,Ot,It,He,{x:ge,y:0,width:It,height:He})}else Vt.text=bt.text=null;rt.setStyle(Vt),w.setElementHoverStyle(rt,bt)}ft.add(rt)}function Dt(ft,rt){rt.dataIndex=_.dataIndex,rt.seriesIndex=F.seriesIndex;var Ie=Math.max(fe-2*ge,0),Ot=Math.max(Ce-2*ge,0);if(rt.culling=!0,rt.setShape({x:ge,y:ge,width:Ie,height:Ot}),de)Ft(rt);else{rt.invisible=!1;var Xt=_.getVisual("color",!0),Vt=b(Re);Vt.fill=Xt;var bt=m(nt);St(Vt,bt,Xt,Ie,Ot),rt.setStyle(Vt),w.setElementHoverStyle(rt,bt)}ft.add(rt)}function Ft(ft){!ft.invisible&&z.push(ft)}function St(ft,rt,Ie,Ot,Xt,Vt){var bt=Ge.get("name"),It=Ge.getModel(Vt?y:d),Kt=Ge.getModel(Vt?A:h),Se=It.getShallow("show");w.setLabelStyle(ft,rt,It,Kt,{defaultText:Se?bt:null,autoColor:Ie,isRectText:!0,labelFetcher:F,labelDataIndex:_.dataIndex,labelProp:Vt?"upperLabel":"label"}),$e(ft,Vt,W),$e(rt,Vt,W),Vt&&(ft.textRect=T.clone(Vt)),ft.truncate=Se&&It.get("ellipsis")?{outerWidth:Ot,outerHeight:Xt,minChar:2}:null}function $e(ft,rt,Ie){var Ot=ft.text;if(!rt&&Ie.isLeafRoot&&Ot!=null){var Xt=F.get("drillDownIcon",!0);ft.text=Xt?Xt+" "+Ot:Ot}}function lt(ft,rt,Ie,Ot){var Xt=_e!=null&&U[ft][_e],Vt=Q[ft];return Xt?(U[ft][_e]=null,Ut(Vt,Xt,ft)):de||(Xt=new rt({z:R(Ie,Ot)}),Xt.__tmDepth=Ie,Xt.__tmStorageName=ft,gt(Vt,Xt,ft)),L[ft][Pe]=Xt}function Ut(ft,rt,Ie){var Ot=ft[Pe]={};Ot.old=Ie==="nodeGroup"?rt.position.slice():T.extend({},rt.shape)}function gt(ft,rt,Ie){var Ot=ft[Pe]={},Xt=_.parentNode;if(Xt&&(!N||N.direction==="drillDown")){var Vt=0,bt=0,It=Q.background[Xt.getRawIndex()];!N&&It&&It.old&&(Vt=It.old.width,bt=It.old.height),Ot.old=Ie==="nodeGroup"?[0,bt]:{x:Vt,y:bt,width:0,height:0}}Ot.fadein=Ie!=="nodeGroup"}}function R(F,L){var U=F*v+L;return(U-1)/U}oe.exports=S},sAZ8:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("+rIm"),D=e("/IIm"),I=e("9KIM"),E=e("IwbS"),C=["axisLine","axisTickLabel","axisName"],f=B.extendComponentView({type:"parallelAxis",init:function(r,u){f.superApply(this,"init",arguments),(this._brushController=new D(u.getZr())).on("brush",T.bind(this._onBrush,this))},render:function(r,u,n,l){if(!t(r,u,l)){this.axisModel=r,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new E.Group,this.group.add(this._axisGroup),!!r.get("show")){var c=s(r,u),d=c.coordinateSystem,h=r.getAreaSelectStyle(),y=h.width,A=r.axis.dim,v=d.getAxisLayout(A),g=T.extend({strokeContainThreshold:y},v),x=new w(r,g);T.each(C,x.add,x),this._axisGroup.add(x.getGroup()),this._refreshBrushController(g,h,r,c,y,n);var m=l&&l.animation===!1?null:r;E.groupTransition(a,this._axisGroup,m)}}},_refreshBrushController:function(r,u,n,l,a,c){var d=n.axis.getExtent(),h=d[1]-d[0],y=Math.min(30,Math.abs(h)*.1),A=E.BoundingRect.create({x:d[0],y:-a/2,width:h,height:a});A.x-=y,A.width+=2*y,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,position:r.position}).setPanels([{panelId:"pl",clipPath:I.makeRectPanelClipPath(A),isTargetByCursor:I.makeRectIsTargetByCursor(A,c,l),getLinearBrushOtherExtent:I.makeLinearBrushOtherExtent(A,0)}]).enableBrush({brushType:"lineX",brushStyle:u,removeOnClick:!0}).updateCovers(i(n))},_onBrush:function(r,u){var n=this.axisModel,l=n.axis,a=T.map(r,function(c){return[l.coordToData(c.range[0],!0),l.coordToData(c.range[1],!0)]});(!n.option.realtime===u.isEnd||u.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});function t(r,u,n){return n&&n.type==="axisAreaSelect"&&u.findComponents({mainType:"parallelAxis",query:n})[0]===r}function i(r){var u=r.axis;return T.map(r.activeIntervals,function(n){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(n[0],!0),u.dataToCoord(n[1],!0)]}})}function s(r,u){return u.getComponent("parallel",r.get("parallelIndex"))}var o=f;oe.exports=o},sE09:function(oe,V,e){},sGsY:function(oe,V,e){"use strict";var B=e("wx14"),T=e("q1tI"),w=e("hkKa"),D=e("0n0R"),I=e("rePB"),E=e("TSYQ"),C=e.n(E),f=e("H84U"),t=e("/ezw"),i=e("B6l+"),s=e.n(i),o=function(P){var M=P.value,R=P.formatter,F=P.precision,L=P.decimalSeparator,U=P.groupSeparator,N=U===void 0?"":U,Q=P.prefixCls,z;if(typeof R=="function")z=R(M);else{var _=String(M),J=_.match(/^(-?)(\d*)(\.(\d+))?$/);if(!J||_==="-")z=_;else{var Y=J[1],k=J[2]||"0",W=J[4]||"";k=k.replace(/\B(?=(\d{3})+(?!\d))/g,N),typeof F=="number"&&(W=s()(W,F,"0").slice(0,F>0?F:0)),W&&(W="".concat(L).concat(W)),z=[T.createElement("span",{key:"int",className:"".concat(Q,"-content-value-int")},Y,k),W&&T.createElement("span",{key:"decimal",className:"".concat(Q,"-content-value-decimal")},W)]}}return T.createElement("span",{className:"".concat(Q,"-content-value")},z)},r=o,u=function(P){var M=P.prefixCls,R=P.className,F=P.style,L=P.valueStyle,U=P.value,N=U===void 0?0:U,Q=P.title,z=P.valueRender,_=P.prefix,J=P.suffix,Y=P.loading,k=Y===void 0?!1:Y,W=P.direction,ie=P.onMouseEnter,fe=P.onMouseLeave,Ce=P.decimalSeparator,ge=Ce===void 0?".":Ce,de=P.groupSeparator,Pe=de===void 0?",":de,_e=T.createElement(r,Object(B.a)({decimalSeparator:ge,groupSeparator:Pe},P,{value:N})),Ne=C()(M,Object(I.a)({},"".concat(M,"-rtl"),W==="rtl"),R);return T.createElement("div",{className:Ne,style:F,onMouseEnter:ie,onMouseLeave:fe},Q&&T.createElement("div",{className:"".concat(M,"-title")},Q),T.createElement(t.a,{paragraph:!1,loading:k,className:"".concat(M,"-skeleton")},T.createElement("div",{style:L,className:"".concat(M,"-content")},_&&T.createElement("span",{className:"".concat(M,"-content-prefix")},_),z?z(_e):_e,J&&T.createElement("span",{className:"".concat(M,"-content-suffix")},J))))},n=Object(f.c)({prefixCls:"statistic"})(u),l=n,a=e("ODXe"),c=e("QQZ/"),d=e.n(c),h=[["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 y(S,P){var M=S,R=/\[[^\]]*]/g,F=(P.match(R)||[]).map(function(Q){return Q.slice(1,-1)}),L=P.replace(R,"[]"),U=h.reduce(function(Q,z){var _=Object(a.a)(z,2),J=_[0],Y=_[1];if(Q.includes(J)){var k=Math.floor(M/Y);return M-=k*Y,Q.replace(new RegExp("".concat(J,"+"),"g"),function(W){var ie=W.length;return d()(k.toString(),ie,"0")})}return Q},L),N=0;return U.replace(R,function(){var Q=F[N];return N+=1,Q})}function A(S,P){var M=P.format,R=M===void 0?"":M,F=new Date(S).getTime(),L=Date.now(),U=Math.max(F-L,0);return y(U,R)}var v=1e3/30;function g(S){return new Date(S).getTime()}var x=function(P){var M=P.value,R=P.format,F=R===void 0?"HH:mm:ss":R,L=P.onChange,U=P.onFinish,N=Object(w.a)(),Q=T.useRef(null),z=function(){U==null||U(),Q.current&&(clearInterval(Q.current),Q.current=null)},_=function(){var W=g(M);W>=Date.now()&&(Q.current=setInterval(function(){N(),L==null||L(W-Date.now()),W<Date.now()&&z()},v))};T.useEffect(function(){return _(),function(){Q.current&&(clearInterval(Q.current),Q.current=null)}},[M]);var J=function(W,ie){return A(W,Object(B.a)(Object(B.a)({},ie),{format:F}))},Y=function(W){return Object(D.a)(W,{title:void 0})};return T.createElement(l,Object(B.a)({},P,{valueRender:Y,formatter:J}))},m=T.memo(x);l.Countdown=m;var b=V.a=l},"sK/D":function(oe,V,e){var B=e("IwbS"),T=e("OELB"),w=T.round;function D(C,f,t){var i=C.getArea(),s=C.getBaseAxis().isHorizontal(),o=i.x,r=i.y,u=i.width,n=i.height,l=t.get("lineStyle.width")||2;o-=l/2,r-=l/2,u+=l,n+=l,o=Math.floor(o),u=Math.round(u);var a=new B.Rect({shape:{x:o,y:r,width:u,height:n}});return f&&(a.shape[s?"width":"height"]=0,B.initProps(a,{shape:{width:u,height:n}},t)),a}function I(C,f,t){var i=C.getArea(),s=new B.Sector({shape:{cx:w(C.cx,1),cy:w(C.cy,1),r0:w(i.r0,1),r:w(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return f&&(s.shape.endAngle=i.startAngle,B.initProps(s,{shape:{endAngle:i.endAngle}},t)),s}function E(C,f,t){if(C){if(C.type==="polar")return I(C,f,t);if(C.type==="cartesian2d")return D(C,f,t)}else return null;return null}V.createGridClipPath=D,V.createPolarClipPath=I,V.createClipPath=E},sKgW:function(oe,V){var e=9007199254740991,B=Math.floor;function T(w,D){var I="";if(!w||D<1||D>e)return I;do D%2&&(I+=w),D=B(D/2),D&&(w+=w);while(D);return I}oe.exports=T},sPJy:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("AOa7"),D=e.n(w),I=e("qVdP"),E=e("lUTK")},sRBo:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("KCY9"),D=e.n(w)},sRwP:function(oe,V,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(oe,V,e){var B=e("4fz+"),T=e("iRjW"),w=e("Yl7c"),D=function(){this.group=new B,this.uid=T.getUID("viewComponent")};D.prototype={constructor:D,init:function(C,f){},render:function(C,f,t,i){},dispose:function(){},filterForExposedEvent:null};var I=D.prototype;I.updateView=I.updateLayout=I.updateVisual=function(C,f,t,i){},w.enableClassExtend(D),w.enableClassManagement(D,{registerWhenExtend:!0});var E=D;oe.exports=E},"sW+o":function(oe,V,e){var B=e("SrGk"),T=e("bYtY"),w=e("SUKs"),D=e("Qe9p");function I(C,f){B.call(this,C,f,["linearGradient","radialGradient"],"__gradient_in_use__")}T.inherits(I,B),I.prototype.addWithoutUpdate=function(C,f){if(f&&f.style){var t=this;T.each(["fill","stroke"],function(i){if(f.style[i]&&(f.style[i].type==="linear"||f.style[i].type==="radial")){var s=f.style[i],o=t.getDefs(!0),r;s._dom?(r=s._dom,o.contains(s._dom)||t.addDom(r)):r=t.add(s),t.markUsed(f);var u=r.getAttribute("id");C.setAttribute(i,"url(#"+u+")")}})}},I.prototype.add=function(C){var f;if(C.type==="linear")f=this.createElement("linearGradient");else if(C.type==="radial")f=this.createElement("radialGradient");else return w("Illegal gradient type."),null;return C.id=C.id||this.nextId++,f.setAttribute("id","zr"+this._zrId+"-gradient-"+C.id),this.updateDom(C,f),this.addDom(f),f},I.prototype.update=function(C){var f=this;B.prototype.update.call(this,C,function(){var t=C.type,i=C._dom.tagName;t==="linear"&&i==="linearGradient"||t==="radial"&&i==="radialGradient"?f.updateDom(C,C._dom):(f.removeDom(C),f.add(C))})},I.prototype.updateDom=function(C,f){if(C.type==="linear")f.setAttribute("x1",C.x),f.setAttribute("y1",C.y),f.setAttribute("x2",C.x2),f.setAttribute("y2",C.y2);else if(C.type==="radial")f.setAttribute("cx",C.x),f.setAttribute("cy",C.y),f.setAttribute("r",C.r);else{w("Illegal gradient type.");return}C.global?f.setAttribute("gradientUnits","userSpaceOnUse"):f.setAttribute("gradientUnits","objectBoundingBox"),f.innerHTML="";for(var t=C.colorStops,i=0,s=t.length;i<s;++i){var o=this.createElement("stop");o.setAttribute("offset",t[i].offset*100+"%");var r=t[i].color;if(r.indexOf("rgba")>-1){var u=D.parse(r)[3],n=D.toHex(r);o.setAttribute("stop-color","#"+n),o.setAttribute("stop-opacity",u)}else o.setAttribute("stop-color",t[i].color);f.appendChild(o)}C._dom=f},I.prototype.markUsed=function(C){if(C.style){var f=C.style.fill;f&&f._dom&&B.prototype.markUsed.call(this,f._dom),f=C.style.stroke,f&&f._dom&&B.prototype.markUsed.call(this,f._dom)}};var E=I;oe.exports=E},sboe:function(oe,V,e){"use strict";e.d(V,"a",function(){return w});var B=e("q1tI"),T=e.n(B),w=B.createContext(null)},sdST:function(oe,V,e){var B=e("hi0g");function T(w,D){return D=D||{},B(D.coordDimensions||[],w,{dimsDef:D.dimensionsDefine||w.dimensionsDefine,encodeDef:D.encodeDefine||w.encodeDefine,dimCount:D.dimensionsCount,encodeDefaulter:D.encodeDefaulter,generateCoord:D.generateCoord,generateCoordCount:D.generateCoordCount})}oe.exports=T},szbU:function(oe,V,e){var B=e("bYtY"),T=B.each;function w(I){var E=I&&I.visualMap;B.isArray(E)||(E=E?[E]:[]),T(E,function(C){if(!!C){D(C,"splitList")&&!D(C,"pieces")&&(C.pieces=C.splitList,delete C.splitList);var f=C.pieces;f&&B.isArray(f)&&T(f,function(t){B.isObject(t)&&(D(t,"start")&&!D(t,"min")&&(t.min=t.start),D(t,"end")&&!D(t,"max")&&(t.max=t.end))})}})}function D(I,E){return I&&I.hasOwnProperty&&I.hasOwnProperty(E)}oe.exports=w},t3Fx:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.default=void 0;var B=Object.assign||function(l){for(var a=1;a<arguments.length;a++){var c=arguments[a];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(l[d]=c[d])}return l},T=function(){function l(a,c){for(var d=0;d<c.length;d++){var h=c[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(a,h.key,h)}}return function(a,c,d){return c&&l(a.prototype,c),d&&l(a,d),a}}(),w=e("q1tI"),D=s(w),I=e("17x9"),E=s(I),C=e("tkwv"),f=s(C),t=e("u3os"),i=e("kzFp");function s(l){return l&&l.__esModule?l:{default:l}}function o(l,a){if(!(l instanceof a))throw new TypeError("Cannot call a class as a function")}function r(l,a){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:l}function u(l,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);l.prototype=Object.create(a&&a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(l,a):l.__proto__=a)}var n=function(l){u(a,l);function a(c){o(this,a);var d=r(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,c));return d.getEchartsInstance=function(){return d.echartsLib.getInstanceByDom(d.echartsElement)||d.echartsLib.init(d.echartsElement,d.props.theme,d.props.opts)},d.dispose=function(){if(d.echartsElement){try{(0,t.clear)(d.echartsElement)}catch(h){console.warn(h)}d.echartsLib.dispose(d.echartsElement)}},d.rerender=function(){var h=d.props,y=h.onEvents,A=h.onChartReady,v=d.renderEchartDom();d.bindEvents(v,y||{}),typeof A=="function"&&d.props.onChartReady(v),d.echartsElement&&(0,t.bind)(d.echartsElement,function(){try{v.resize()}catch(g){console.warn(g)}})},d.bindEvents=function(h,y){var A=function(x,m){typeof x=="string"&&typeof m=="function"&&h.on(x,function(b){m(b,h)})};for(var v in y)Object.prototype.hasOwnProperty.call(y,v)&&A(v,y[v])},d.renderEchartDom=function(){var h=d.getEchartsInstance();return h.setOption(d.props.option,d.props.notMerge||!1,d.props.lazyUpdate||!1),d.props.showLoading?h.showLoading(d.props.loadingOption||null):h.hideLoading(),h},d.echartsLib=c.echarts,d.echartsElement=null,d}return T(a,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(d){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(d,this.props))){if(!(0,f.default)(d.theme,this.props.theme)||!(0,f.default)(d.opts,this.props.opts)||!(0,f.default)(d.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var h=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,f.default)((0,i.pick)(this.props,h),(0,i.pick)(d,h))){var y=this.renderEchartDom();if(!(0,f.default)(d.style,this.props.style)||!(0,f.default)(d.className,this.props.className))try{y.resize()}catch(A){console.warn(A)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var d=this,h=this.props,y=h.style,A=h.className,v=B({height:300},y);return D.default.createElement("div",{ref:function(x){d.echartsElement=x},style:v,className:"echarts-for-react "+A})}}]),a}(w.Component);V.default=n,n.propTypes={option:E.default.object.isRequired,echarts:E.default.object,notMerge:E.default.bool,lazyUpdate:E.default.bool,style:E.default.object,className:E.default.string,theme:E.default.oneOfType([E.default.string,E.default.object]),onChartReady:E.default.func,showLoading:E.default.bool,loadingOption:E.default.object,onEvents:E.default.object,opts:E.default.shape({devicePixelRatio:E.default.number,renderer:E.default.oneOf(["canvas","svg"]),width:E.default.oneOfType([E.default.number,E.default.oneOf([null,void 0,"auto"])]),height:E.default.oneOfType([E.default.number,E.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:E.default.func},n.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(oe,V,e){var B=e("bYtY"),T=e("IwbS"),w=e("Qxkt"),D=e("Znkb"),I=e("+rIm"),E=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function C(s,o,r){o[1]>o[0]&&(o=o.slice().reverse());var u=s.coordToPoint([o[0],r]),n=s.coordToPoint([o[1],r]);return{x1:u[0],y1:u[1],x2:n[0],y2:n[1]}}function f(s){var o=s.getRadiusAxis();return o.inverse?0:1}function t(s){var o=s[0],r=s[s.length-1];o&&r&&Math.abs(Math.abs(o.coord-r.coord)-360)<1e-4&&s.pop()}var i=D.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,o){if(this.group.removeAll(),!!s.get("show")){var r=s.axis,u=r.polar,n=u.getRadiusAxis().getExtent(),l=r.getTicksCoords(),a=r.getMinorTicksCoords(),c=B.map(r.getViewLabels(),function(d){var d=B.clone(d);return d.coord=r.dataToCoord(d.tickValue),d});t(c),t(l),B.each(E,function(d){s.get(d+".show")&&(!r.scale.isBlank()||d==="axisLine")&&this["_"+d](s,u,l,a,n,c)},this)}},_axisLine:function(s,o,r,u,n){var l=s.getModel("axisLine.lineStyle"),a=f(o),c=a?0:1,d;n[c]===0?d=new T.Circle({shape:{cx:o.cx,cy:o.cy,r:n[a]},style:l.getLineStyle(),z2:1,silent:!0}):d=new T.Ring({shape:{cx:o.cx,cy:o.cy,r:n[a],r0:n[c]},style:l.getLineStyle(),z2:1,silent:!0}),d.style.fill=null,this.group.add(d)},_axisTick:function(s,o,r,u,n){var l=s.getModel("axisTick"),a=(l.get("inside")?-1:1)*l.get("length"),c=n[f(o)],d=B.map(r,function(h){return new T.Line({shape:C(o,[c,c+a],h.coord)})});this.group.add(T.mergePath(d,{style:B.defaults(l.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,o,r,u,n){if(!!u.length){for(var l=s.getModel("axisTick"),a=s.getModel("minorTick"),c=(l.get("inside")?-1:1)*a.get("length"),d=n[f(o)],h=[],y=0;y<u.length;y++)for(var A=0;A<u[y].length;A++)h.push(new T.Line({shape:C(o,[d,d+c],u[y][A].coord)}));this.group.add(T.mergePath(h,{style:B.defaults(a.getModel("lineStyle").getLineStyle(),B.defaults(l.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(s,o,r,u,n,l){var a=s.getCategories(!0),c=s.getModel("axisLabel"),d=c.get("margin"),h=s.get("triggerEvent");B.each(l,function(y,A){var v=c,g=y.tickValue,x=n[f(o)],m=o.coordToPoint([x+d,y.coord]),b=o.cx,S=o.cy,P=Math.abs(m[0]-b)/x<.3?"center":m[0]>b?"left":"right",M=Math.abs(m[1]-S)/x<.3?"middle":m[1]>S?"top":"bottom";a&&a[g]&&a[g].textStyle&&(v=new w(a[g].textStyle,c,c.ecModel));var R=new T.Text({silent:I.isLabelSilent(s)});this.group.add(R),T.setTextStyle(R.style,v,{x:m[0],y:m[1],textFill:v.getTextColor()||s.get("axisLine.lineStyle.color"),text:y.formattedLabel,textAlign:P,textVerticalAlign:M}),h&&(R.eventData=I.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=y.rawLabel)},this)},_splitLine:function(s,o,r,u,n){var l=s.getModel("splitLine"),a=l.getModel("lineStyle"),c=a.get("color"),d=0;c=c instanceof Array?c:[c];for(var h=[],y=0;y<r.length;y++){var A=d++%c.length;h[A]=h[A]||[],h[A].push(new T.Line({shape:C(o,n,r[y].coord)}))}for(var y=0;y<h.length;y++)this.group.add(T.mergePath(h[y],{style:B.defaults({stroke:c[y%c.length]},a.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,o,r,u,n){if(!!u.length){for(var l=s.getModel("minorSplitLine"),a=l.getModel("lineStyle"),c=[],d=0;d<u.length;d++)for(var h=0;h<u[d].length;h++)c.push(new T.Line({shape:C(o,n,u[d][h].coord)}));this.group.add(T.mergePath(c,{style:a.getLineStyle(),silent:!0,z:s.get("z")}))}},_splitArea:function(s,o,r,u,n){if(!!r.length){var l=s.getModel("splitArea"),a=l.getModel("areaStyle"),c=a.get("color"),d=0;c=c instanceof Array?c:[c];for(var h=[],y=Math.PI/180,A=-r[0].coord*y,v=Math.min(n[0],n[1]),g=Math.max(n[0],n[1]),x=s.get("clockwise"),m=1;m<r.length;m++){var b=d++%c.length;h[b]=h[b]||[],h[b].push(new T.Sector({shape:{cx:o.cx,cy:o.cy,r0:v,r:g,startAngle:A,endAngle:-r[m].coord*y,clockwise:x},silent:!0})),A=-r[m].coord*y}for(var m=0;m<h.length;m++)this.group.add(T.mergePath(h[m],{style:B.defaults({fill:c[m%c.length]},a.getAreaStyle()),silent:!0}))}}});oe.exports=i},tceW:function(oe,V,e){var B=e("KCsZ"),T=B([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),w={getBarItemStyle:function(D){var I=T(this,D);if(this.getBorderLineDash){var E=this.getBorderLineDash();E&&(I.lineDash=E)}return I}};oe.exports=w},tkwv:function(oe,V,e){"use strict";var B=Array.isArray,T=Object.keys,w=Object.prototype.hasOwnProperty;oe.exports=function D(I,E){if(I===E)return!0;if(I&&E&&typeof I=="object"&&typeof E=="object"){var C=B(I),f=B(E),t,i,s;if(C&&f){if(i=I.length,i!=E.length)return!1;for(t=i;t--!=0;)if(!D(I[t],E[t]))return!1;return!0}if(C!=f)return!1;var o=I instanceof Date,r=E instanceof Date;if(o!=r)return!1;if(o&&r)return I.getTime()==E.getTime();var u=I instanceof RegExp,n=E instanceof RegExp;if(u!=n)return!1;if(u&&n)return I.toString()==E.toString();var l=T(I);if(i=l.length,i!==T(E).length)return!1;for(t=i;t--!=0;)if(!w.call(E,l[t]))return!1;for(t=i;t--!=0;)if(s=l[t],!D(I[s],E[s]))return!1;return!0}return I!==I&&E!==E}},txkQ:function(oe,V,e){var B=e("aX58");V.zrender=B;var T=e("Fofx");V.matrix=T;var w=e("QBsz");V.vector=w;var D=e("bYtY"),I=e("Qe9p");V.color=I;var E=e("IwbS"),C=e("OELB");V.number=C;var f=e("7aKB");V.format=f;var t=e("iLNv"),i=t.throttle;V.throttle=t.throttle;var s=e("FUi9");V.helper=s;var o=e("vafp");V.parseGeoJSON=o;var r=e("YXkt");V.List=r;var u=e("Qxkt");V.Model=u;var n=e("hM6l");V.Axis=n;var l=e("ItGF");V.env=l;var a=o,c={};D.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(h){c[h]=D[h]});var d={};D.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(h){d[h]=E[h]}),V.parseGeoJson=a,V.util=c,V.graphic=d},u3DP:function(oe,V,e){var B=e("6GrX"),T=e("OELB"),w=T.parsePercent,D=Math.PI/180;function I(t,i,s,o,r,u,n,l,a,c){t.sort(function(P,M){return P.y-M.y});function d(P,M,R,F){for(var L=P;L<M&&!(t[L].y+R>a+n);L++)if(t[L].y+=R,L>P&&L+1<M&&t[L+1].y>t[L].y+t[L].height){h(L,R/2);return}h(M-1,R/2)}function h(P,M){for(var R=P;R>=0&&!(t[R].y-M<a||(t[R].y-=M,R>0&&t[R].y>t[R-1].y+t[R-1].height));R--);}function y(P,M,R,F,L,U){for(var N=(U>0,M?Number.MAX_VALUE:0),Q=0,z=P.length;Q<z;Q++)if(P[Q].labelAlignTo==="none"){var _=Math.abs(P[Q].y-F),J=P[Q].len,Y=P[Q].len2,k=_<L+J?Math.sqrt((L+J+Y)*(L+J+Y)-_*_):Math.abs(P[Q].x-R);M&&k>=N&&(k=N-10),!M&&k<=N&&(k=N+10),P[Q].x=R+k*U,N=k}}for(var A=0,v,g=t.length,x=[],m=[],b=0;b<g;b++){if(t[b].position==="outer"&&t[b].labelAlignTo==="labelLine"){var S=t[b].x-c;t[b].linePoints[1][0]+=S,t[b].x=c}v=t[b].y-A,v<0&&d(b,g,-v,r),A=t[b].y+t[b].height}n-A<0&&h(g-1,A-n);for(var b=0;b<g;b++)t[b].y>=s?m.push(t[b]):x.push(t[b]);y(x,!1,i,s,o,r),y(m,!0,i,s,o,r)}function E(t,i,s,o,r,u,n,l){for(var a=[],c=[],d=Number.MAX_VALUE,h=-Number.MAX_VALUE,y=0;y<t.length;y++)C(t[y])||(t[y].x<i?(d=Math.min(d,t[y].x),a.push(t[y])):(h=Math.max(h,t[y].x),c.push(t[y])));I(c,i,s,o,1,r,u,n,l,h),I(a,i,s,o,-1,r,u,n,l,d);for(var y=0;y<t.length;y++){var A=t[y];if(!C(A)){var v=A.linePoints;if(v){var g=A.labelAlignTo==="edge",x=A.textRect.width,m;g?A.x<i?m=v[2][0]-A.labelDistance-n-A.labelMargin:m=n+r-A.labelMargin-v[2][0]-A.labelDistance:A.x<i?m=A.x-n-A.bleedMargin:m=n+r-A.x-A.bleedMargin,m<A.textRect.width&&(A.text=B.truncateText(A.text,m,A.font),A.labelAlignTo==="edge"&&(x=B.getWidth(A.text,A.font)));var b=v[1][0]-v[2][0];g?A.x<i?v[2][0]=n+A.labelMargin+x+A.labelDistance:v[2][0]=n+r-A.labelMargin-x-A.labelDistance:(A.x<i?v[2][0]=A.x+A.labelDistance:v[2][0]=A.x-A.labelDistance,v[1][0]=v[2][0]+b),v[1][1]=v[2][1]=A.y}}}}function C(t){return t.position==="center"}function f(t,i,s,o,r,u){var n=t.getData(),l=[],a,c,d=!1,h=(t.get("minShowLabelAngle")||0)*D;n.each(function(y){var A=n.getItemLayout(y),v=n.getItemModel(y),g=v.getModel("label"),x=g.get("position")||v.get("emphasis.label.position"),m=g.get("distanceToLabelLine"),b=g.get("alignTo"),S=w(g.get("margin"),s),P=g.get("bleedMargin"),M=g.getFont(),R=v.getModel("labelLine"),F=R.get("length");F=w(F,s);var L=R.get("length2");if(L=w(L,s),!(A.angle<h)){var U=(A.startAngle+A.endAngle)/2,N=Math.cos(U),Q=Math.sin(U),z,_,J,Y;a=A.cx,c=A.cy;var k=t.getFormattedLabel(y,"normal")||n.getName(y),W=B.getBoundingRect(k,M,Y,"top"),ie=x==="inside"||x==="inner";if(x==="center")z=A.cx,_=A.cy,Y="center";else{var fe=(ie?(A.r+A.r0)/2*N:A.r*N)+a,Ce=(ie?(A.r+A.r0)/2*Q:A.r*Q)+c;if(z=fe+N*3,_=Ce+Q*3,!ie){var ge=fe+N*(F+i-A.r),de=Ce+Q*(F+i-A.r),Pe=ge+(N<0?-1:1)*L,_e=de;b==="edge"?z=N<0?r+S:r+s-S:z=Pe+(N<0?-m:m),_=_e,J=[[fe,Ce],[ge,de],[Pe,_e]]}Y=ie?"center":b==="edge"?N>0?"right":"left":N>0?"left":"right"}var Ne,He=g.get("rotate");typeof He=="number"?Ne=He*(Math.PI/180):Ne=He?N<0?-U+Math.PI:-U:0,d=!!Ne,A.label={x:z,y:_,position:x,height:W.height,len:F,len2:L,linePoints:J,textAlign:Y,verticalAlign:"middle",rotation:Ne,inside:ie,labelDistance:m,labelAlignTo:b,labelMargin:S,bleedMargin:P,textRect:W,text:k,font:M},ie||l.push(A.label)}}),!d&&t.get("avoidLabelOverlap")&&E(l,a,c,i,s,o,r,u)}oe.exports=f},u3os:function(oe,V,e){"use strict";Object.defineProperty(V,"__esModule",{value:!0}),V.ver=V.clear=V.bind=void 0;var B=e("P4Qj"),T=function(E,C){var f=(0,B.getSensor)(E);return f.bind(C),function(){f.unbind(C)}};V.bind=T;var w=function(E){var C=(0,B.getSensor)(E);(0,B.removeSensor)(C)};V.clear=w;var D="1.0.1";V.ver=D},uAnK:function(oe,V,e){var B=e("bYtY"),T=e("Kagy"),w=e("KxfA"),D=w.retrieveRawValue;function I(E,C){var f=C.getModel("aria");if(f.get("show")){if(f.get("description")){E.setAttribute("aria-label",f.get("description"));return}}else return;var t=0;C.eachSeries(function(y,A){++t},this);var i=f.get("data.maxCount")||10,s=f.get("series.maxCount")||10,o=Math.min(t,s),r;if(t<1)return;var u=d();u?r=a(c("general.withTitle"),{title:u}):r=c("general.withoutTitle");var n=[],l=t>1?"series.multiple.prefix":"series.single.prefix";r+=a(c(l),{seriesCount:t}),C.eachSeries(function(y,A){if(A<o){var v,g=y.get("name"),x="series."+(t>1?"multiple":"single")+".";v=c(g?x+"withName":x+"withoutName"),v=a(v,{seriesId:y.seriesIndex,seriesName:y.get("name"),seriesType:h(y.subType)});var m=y.getData();window.data=m,m.count()>i?v+=a(c("data.partialData"),{displayCnt:i}):v+=c("data.allData");for(var b=[],S=0;S<m.count();S++)if(S<i){var P=m.getName(S),M=D(m,S);b.push(a(c(P?"data.withName":"data.withoutName"),{name:P,value:M}))}v+=b.join(c("data.separator.middle"))+c("data.separator.end"),n.push(v)}}),r+=n.join(c("series.multiple.separator.middle"))+c("series.multiple.separator.end"),E.setAttribute("aria-label",r);function a(y,A){if(typeof y!="string")return y;var v=y;return B.each(A,function(g,x){v=v.replace(new RegExp("\\{\\s*"+x+"\\s*\\}","g"),g)}),v}function c(y){var A=f.get(y);if(A==null){for(var v=y.split("."),g=T.aria,x=0;x<v.length;++x)g=g[v[x]];return g}else return A}function d(){var y=C.getModel("title").option;return y&&y.length&&(y=y[0]),y&&y.text}function h(y){return T.series.typeNames[y]||"\u81EA\u5B9A\u4E49\u56FE"}}oe.exports=I},uOyE:function(oe,V,e){var B=e("ProS");B.registerAction({type:"brush",event:"brush"},function(T,w){w.eachComponent({mainType:"brush",query:T},function(D){D.setAreas(T.areas)})}),B.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),B.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(oe,V,e){oe.exports=B;function B(){return e("gaXo"),{}}},v56E:function(oe,V,e){},v5uJ:function(oe,V,e){var B=e("ProS"),T=e("2B6p"),w=T.updateCenterAndZoom;B.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(D,I){I.eachComponent({mainType:"series",subType:"tree",query:D},function(E){var C=D.dataIndex,f=E.getData().tree,t=f.getNodeByDataIndex(C);t.isExpand=!t.isExpand})}),B.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(D,I){I.eachComponent({mainType:"series",subType:"tree",query:D},function(E){var C=E.coordinateSystem,f=w(C,D);E.setCenter&&E.setCenter(f.center),E.setZoom&&E.setZoom(f.zoom)})})},"vF/C":function(oe,V,e){var B=e("bLfw");B.registerSubTypeDefaulter("visualMap",function(T){return!T.categories&&(!(T.pieces?T.pieces.length>0:T.splitNumber>0)||T.calculable)?"continuous":"piecewise"})},vHRA:function(oe,V,e){"use strict";var B=e("TqRt"),T=e("cDf5");Object.defineProperty(V,"__esModule",{value:!0}),V.default=s,V.getUUID=i,V.isBrowserClient=void 0;var w=B(e("J4zp")),D=C(e("q1tI")),I=B(e("3Mug"));function E(o){if(typeof WeakMap!="function")return null;var r=new WeakMap,u=new WeakMap;return(E=function(l){return l?u:r})(o)}function C(o,r){if(!r&&o&&o.__esModule)return o;if(o===null||T(o)!=="object"&&typeof o!="function")return{default:o};var u=E(r);if(u&&u.has(o))return u.get(o);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in o)if(a!=="default"&&Object.prototype.hasOwnProperty.call(o,a)){var c=l?Object.getOwnPropertyDescriptor(o,a):null;c&&(c.get||c.set)?Object.defineProperty(n,a,c):n[a]=o[a]}return n.default=o,u&&u.set(o,n),n}var f=0,t=(0,I.default)();V.isBrowserClient=t;function i(){var o;return t?(o=f,f+=1):o="TEST_OR_SSR",o}function s(o){var r=D.useState(),u=(0,w.default)(r,2),n=u[0],l=u[1];return D.useEffect(function(){l("rc_select_".concat(i()))},[]),o||n}},vKoX:function(oe,V,e){var B=e("SrGk"),T=e("bYtY");function w(E,C){B.call(this,E,C,["filter"],"__filter_in_use__","_shadowDom")}T.inherits(w,B),w.prototype.addWithoutUpdate=function(E,C){if(C&&D(C.style)){var f;if(C._shadowDom){f=C._shadowDom;var t=this.getDefs(!0);t.contains(C._shadowDom)||this.addDom(f)}else f=this.add(C);this.markUsed(C);var i=f.getAttribute("id");E.style.filter="url(#"+i+")"}},w.prototype.add=function(E){var C=this.createElement("filter");return E._shadowDomId=E._shadowDomId||this.nextId++,C.setAttribute("id","zr"+this._zrId+"-shadow-"+E._shadowDomId),this.updateDom(E,C),this.addDom(C),C},w.prototype.update=function(E,C){var f=C.style;if(D(f)){var t=this;B.prototype.update.call(this,C,function(){t.updateDom(C,C._shadowDom)})}else this.remove(E,C)},w.prototype.remove=function(E,C){C._shadowDomId!=null&&(this.removeDom(E),E.style.filter="")},w.prototype.updateDom=function(E,C){var f=C.getElementsByTagName("feDropShadow");f.length===0?f=this.createElement("feDropShadow"):f=f[0];var t=E.style,i=E.scale&&E.scale[0]||1,s=E.scale&&E.scale[1]||1,o,r,u,n;if(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)o=t.shadowOffsetX||0,r=t.shadowOffsetY||0,u=t.shadowBlur,n=t.shadowColor;else if(t.textShadowBlur)o=t.textShadowOffsetX||0,r=t.textShadowOffsetY||0,u=t.textShadowBlur,n=t.textShadowColor;else{this.removeDom(C,t);return}f.setAttribute("dx",o/i),f.setAttribute("dy",r/s),f.setAttribute("flood-color",n);var l=u/2/i,a=u/2/s,c=l+" "+a;f.setAttribute("stdDeviation",c),C.setAttribute("x","-100%"),C.setAttribute("y","-100%"),C.setAttribute("width",Math.ceil(u/2*200)+"%"),C.setAttribute("height",Math.ceil(u/2*200)+"%"),C.appendChild(f),E._shadowDom=C},w.prototype.markUsed=function(E){E._shadowDom&&B.prototype.markUsed.call(this,E._shadowDom)};function D(E){return E&&(E.shadowBlur||E.shadowOffsetX||E.shadowOffsetY||E.textShadowBlur||E.textShadowOffsetX||E.textShadowOffsetY)}var I=w;oe.exports=I},vL6D:function(oe,V,e){var B=e("bYtY"),T=e("+rIm"),w=e("IwbS"),D=e("7bkD"),I=e("Znkb"),E=e("WN+l"),C=E.rectCoordAxisBuildSplitArea,f=E.rectCoordAxisHandleRemove,t=["axisLine","axisTickLabel","axisName"],i=["splitArea","splitLine"],s=I.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,u,n,l){var a=this.group;a.removeAll();var c=this._axisGroup;this._axisGroup=new w.Group;var d=D.layout(r),h=new T(r,d);B.each(t,h.add,h),a.add(this._axisGroup),a.add(h.getGroup()),B.each(i,function(y){r.get(y+".show")&&this["_"+y](r)},this),w.groupTransition(c,this._axisGroup,r),s.superCall(this,"render",r,u,n,l)},remove:function(){f(this)},_splitLine:function(r){var u=r.axis;if(!u.scale.isBlank()){var n=r.getModel("splitLine"),l=n.getModel("lineStyle"),a=l.get("width"),c=l.get("color");c=c instanceof Array?c:[c];for(var d=r.coordinateSystem.getRect(),h=u.isHorizontal(),y=[],A=0,v=u.getTicksCoords({tickModel:n}),g=[],x=[],m=0;m<v.length;++m){var b=u.toGlobalCoord(v[m].coord);h?(g[0]=b,g[1]=d.y,x[0]=b,x[1]=d.y+d.height):(g[0]=d.x,g[1]=b,x[0]=d.x+d.width,x[1]=b);var S=A++%c.length;y[S]=y[S]||[],y[S].push(new w.Line({subPixelOptimize:!0,shape:{x1:g[0],y1:g[1],x2:x[0],y2:x[1]},style:{lineWidth:a},silent:!0}))}for(var m=0;m<y.length;++m)this.group.add(w.mergePath(y[m],{style:{stroke:c[m%c.length],lineDash:l.getLineDash(a),lineWidth:a},silent:!0}))}},_splitArea:function(r){C(this,this._axisGroup,r,r)}}),o=s;oe.exports=o},vWvF:function(oe,V,e){var B=e("Bq2U"),T=e("SUKs"),w=e("bYtY"),D=w.isString,I=w.isFunction,E=w.isObject,C=w.isArrayLike,f=w.indexOf,t=function(){this.animators=[]};t.prototype={constructor:t,animate:function(n,l){var a,c=!1,d=this,h=this.__zr;if(n){var y=n.split("."),A=d;c=y[0]==="shape";for(var v=0,g=y.length;v<g;v++)!A||(A=A[y[v]]);A&&(a=A)}else a=d;if(!a){T('Property "'+n+'" is not existed in element '+d.id);return}var x=d.animators,m=new B(a,l);return m.during(function(b){d.dirty(c)}).done(function(){x.splice(f(x,m),1)}),x.push(m),h&&h.animation.addAnimator(m),m},stopAnimation:function(n){for(var l=this.animators,a=l.length,c=0;c<a;c++)l[c].stop(n);return l.length=0,this},animateTo:function(n,l,a,c,d,h){i(this,n,l,a,c,d,h)},animateFrom:function(n,l,a,c,d,h){i(this,n,l,a,c,d,h,!0)}};function i(u,n,l,a,c,d,h,y){D(a)?(d=c,c=a,a=0):I(c)?(d=c,c="linear",a=0):I(a)?(d=a,a=0):I(l)?(d=l,l=500):l||(l=500),u.stopAnimation(),s(u,"",u,n,l,a,y);var A=u.animators.slice(),v=A.length;function g(){v--,v||d&&d()}v||d&&d();for(var x=0;x<A.length;x++)A[x].done(g).start(c,h)}function s(u,n,l,a,c,d,h){var y={},A=0;for(var v in a)!a.hasOwnProperty(v)||(l[v]!=null?E(a[v])&&!C(a[v])?s(u,n?n+"."+v:v,l[v],a[v],c,d,h):(h?(y[v]=l[v],o(u,n,v,a[v])):y[v]=a[v],A++):a[v]!=null&&!h&&o(u,n,v,a[v]));A>0&&u.animate(n,!1).when(c==null?500:c,y).delay(d||0)}function o(u,n,l,a){if(!n)u.attr(l,a);else{var c={};c[n]={},c[n][l]=a,u.attr(c)}}var r=t;oe.exports=r},vZ6x:function(oe,V,e){var B=e("Tghj"),T=B.__DEV__,w=e("bYtY"),D=e("IwbS"),I=e("4NO4"),E=e("9KIM"),C=w.each,f=w.indexOf,t=w.curry,i=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function o(m,b,S){var P=this._targetInfoList=[],M={},R=n(b,m);C(l,function(F,L){(!S||!S.include||f(S.include,L)>=0)&&F(R,P,M)})}var r=o.prototype;r.setOutputRanges=function(m,b){this.matchOutputRanges(m,b,function(S,P,M){if((S.coordRanges||(S.coordRanges=[])).push(P),!S.coordRange){S.coordRange=P;var R=d[S.brushType](0,M,P);S.__rangeOffset={offset:y[S.brushType](R.values,S.range,[1,1]),xyMinMax:R.xyMinMax}}})},r.matchOutputRanges=function(m,b,S){C(m,function(P){var M=this.findTargetInfo(P,b);M&&M!==!0&&w.each(M.coordSyses,function(R){var F=d[P.brushType](1,R,P.range);S(P,F.values,R,b)})},this)},r.setInputRanges=function(m,b){C(m,function(S){var P=this.findTargetInfo(S,b);if(S.range=S.range||[],P&&P!==!0){S.panelId=P.panelId;var M=d[S.brushType](0,P.coordSys,S.coordRange),R=S.__rangeOffset;S.range=R?y[S.brushType](M.values,R.offset,v(M.xyMinMax,R.xyMinMax)):M.values}},this)},r.makePanelOpts=function(m,b){return w.map(this._targetInfoList,function(S){var P=S.getPanelRect();return{panelId:S.panelId,defaultBrushType:b&&b(S),clipPath:E.makeRectPanelClipPath(P),isTargetByCursor:E.makeRectIsTargetByCursor(P,m,S.coordSysModel),getLinearBrushOtherExtent:E.makeLinearBrushOtherExtent(P)}})},r.controlSeries=function(m,b,S){var P=this.findTargetInfo(m,S);return P===!0||P&&f(P.coordSyses,b.coordinateSystem)>=0},r.findTargetInfo=function(m,b){for(var S=this._targetInfoList,P=n(b,m),M=0;M<S.length;M++){var R=S[M],F=m.panelId;if(F){if(R.panelId===F)return R}else for(var M=0;M<a.length;M++)if(a[M](P,R))return R}return!0};function u(m){return m[0]>m[1]&&m.reverse(),m}function n(m,b){return I.parseFinder(m,b,{includeMainTypes:s})}var l={grid:function(m,b){var S=m.xAxisModels,P=m.yAxisModels,M=m.gridModels,R=w.createHashMap(),F={},L={};!S&&!P&&!M||(C(S,function(U){var N=U.axis.grid.model;R.set(N.id,N),F[N.id]=!0}),C(P,function(U){var N=U.axis.grid.model;R.set(N.id,N),L[N.id]=!0}),C(M,function(U){R.set(U.id,U),F[U.id]=!0,L[U.id]=!0}),R.each(function(U){var N=U.coordinateSystem,Q=[];C(N.getCartesians(),function(z,_){(f(S,z.getAxis("x").model)>=0||f(P,z.getAxis("y").model)>=0)&&Q.push(z)}),b.push({panelId:"grid--"+U.id,gridModel:U,coordSysModel:U,coordSys:Q[0],coordSyses:Q,getPanelRect:c.grid,xAxisDeclared:F[U.id],yAxisDeclared:L[U.id]})}))},geo:function(m,b){C(m.geoModels,function(S){var P=S.coordinateSystem;b.push({panelId:"geo--"+S.id,geoModel:S,coordSysModel:S,coordSys:P,coordSyses:[P],getPanelRect:c.geo})})}},a=[function(m,b){var S=m.xAxisModel,P=m.yAxisModel,M=m.gridModel;return!M&&S&&(M=S.axis.grid.model),!M&&P&&(M=P.axis.grid.model),M&&M===b.gridModel},function(m,b){var S=m.geoModel;return S&&S===b.geoModel}],c={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var m=this.coordSys,b=m.getBoundingRect().clone();return b.applyTransform(D.getTransform(m)),b}},d={lineX:t(h,0),lineY:t(h,1),rect:function(m,b,S){var P=b[i[m]]([S[0][0],S[1][0]]),M=b[i[m]]([S[0][1],S[1][1]]),R=[u([P[0],M[0]]),u([P[1],M[1]])];return{values:R,xyMinMax:R}},polygon:function(m,b,S){var P=[[Infinity,-Infinity],[Infinity,-Infinity]],M=w.map(S,function(R){var F=b[i[m]](R);return P[0][0]=Math.min(P[0][0],F[0]),P[1][0]=Math.min(P[1][0],F[1]),P[0][1]=Math.max(P[0][1],F[0]),P[1][1]=Math.max(P[1][1],F[1]),F});return{values:M,xyMinMax:P}}};function h(m,b,S,P){var M=S.getAxis(["x","y"][m]),R=u(w.map([0,1],function(L){return b?M.coordToData(M.toLocalCoord(P[L])):M.toGlobalCoord(M.dataToCoord(P[L]))})),F=[];return F[m]=R,F[1-m]=[NaN,NaN],{values:R,xyMinMax:F}}var y={lineX:t(A,0),lineY:t(A,1),rect:function(m,b,S){return[[m[0][0]-S[0]*b[0][0],m[0][1]-S[0]*b[0][1]],[m[1][0]-S[1]*b[1][0],m[1][1]-S[1]*b[1][1]]]},polygon:function(m,b,S){return w.map(m,function(P,M){return[P[0]-S[0]*b[M][0],P[1]-S[1]*b[M][1]]})}};function A(m,b,S,P){return[b[0]-P[m]*S[0],b[1]-P[m]*S[1]]}function v(m,b){var S=g(m),P=g(b),M=[S[0]/P[0],S[1]/P[1]];return isNaN(M[0])&&(M[0]=1),isNaN(M[1])&&(M[1]=1),M}function g(m){return m?[m[0][1]-m[0][0],m[1][1]-m[1][0]]:[NaN,NaN]}var x=o;oe.exports=x},vZI5:function(oe,V,e){var B=e("bYtY"),T=e("T4UG"),w=e("5GhG"),D=w.seriesModelMixin,I=T.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,f,t){var i=f.getItemLayout(C);return i&&t.rect(i.brushRect)}});B.mixin(I,D,!0);var E=I;oe.exports=E},vafp:function(oe,V,e){var B=e("bYtY"),T=e("8nly");function w(E){if(!E.UTF8Encoding)return E;var C=E.UTF8Scale;C==null&&(C=1024);for(var f=E.features,t=0;t<f.length;t++)for(var i=f[t],s=i.geometry,o=s.coordinates,r=s.encodeOffsets,u=0;u<o.length;u++){var n=o[u];if(s.type==="Polygon")o[u]=D(n,r[u],C);else if(s.type==="MultiPolygon")for(var l=0;l<n.length;l++){var a=n[l];n[l]=D(a,r[u][l],C)}}return E.UTF8Encoding=!1,E}function D(E,C,f){for(var t=[],i=C[0],s=C[1],o=0;o<E.length;o+=2){var r=E.charCodeAt(o)-64,u=E.charCodeAt(o+1)-64;r=r>>1^-(r&1),u=u>>1^-(u&1),r+=i,u+=s,i=r,s=u,t.push([r/f,u/f])}return t}function I(E,C){return w(E),B.map(B.filter(E.features,function(f){return f.geometry&&f.properties&&f.geometry.coordinates.length>0}),function(f){var t=f.properties,i=f.geometry,s=i.coordinates,o=[];i.type==="Polygon"&&o.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),i.type==="MultiPolygon"&&B.each(s,function(u){u[0]&&o.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})});var r=new T(t[C||"name"],o,t.cp);return r.properties=t,r})}oe.exports=I},vcCh:function(oe,V,e){var B=e("ProS");e("0qV/"),B.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(T,w){w.eachComponent({mainType:"series",subType:"sankey",query:T},function(D){D.setNodePosition(T.dataIndex,[T.localX,T.localY])})})},vg9a:function(oe,V,e){},w5pM:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="PlusCircleOutlined";var C=V.a=T.forwardRef(E)},wCAj:function(oe,V,e){"use strict";var B=e("U8pU"),T=e("rePB"),w=e("wx14"),D=e("ODXe"),I=e("TSYQ"),E=e.n(I),C=e("VTBJ"),f=e("KQm4"),t=e("q1tI"),i=e.n(t),s=e("x/xZ"),o=e("bX4T"),r=e("tl68"),u=e("Gytx"),n=e.n(u),l=e("Kwbf"),a=e("t23M"),c=e("qx4F");function d(Et){return null}var h=d;function y(Et){return null}var A=y,v=e("Ff2n"),g=e("c+Xe"),x="RC_TABLE_KEY";function m(Et){return Et==null?[]:Array.isArray(Et)?Et:[Et]}function b(Et,fr){if(!fr&&typeof fr!="number")return Et;for(var hr=m(fr),Sr=Et,Er=0;Er<hr.length;Er+=1){if(!Sr)return null;var Wr=hr[Er];Sr=Sr[Wr]}return Sr}function S(Et){var fr=[],hr={};return Et.forEach(function(Sr){for(var Er=Sr||{},Wr=Er.key,nn=Er.dataIndex,Zr=Wr||m(nn).join("-")||x;hr[Zr];)Zr="".concat(Zr,"_next");hr[Zr]=!0,fr.push(Zr)}),fr}function P(Et){return Et!=null}var M=t.createContext(!1),R=M,F=e("TNol"),L=e("mBDr");function U(){var Et=t.createContext(null),fr=function(Sr){var Er=Sr.value,Wr=Sr.children,nn=t.useRef(Er);nn.current=Er;var Zr=t.useState(function(){return{getValue:function(){return nn.current},listeners:new Set}}),Gr=Object(D.a)(Zr,1),gn=Gr[0];return Object(F.a)(function(){gn.listeners.forEach(function(On){On(Er)})},[Er]),t.createElement(Et.Provider,{value:gn},Wr)};return{Context:Et,Provider:fr}}function N(Et,fr){var hr=Object(L.a)(fr),Sr=t.useContext(Et==null?void 0:Et.Context),Er=Sr||{},Wr=Er.listeners,nn=Er.getValue,Zr=t.useState(function(){return hr(Sr?nn():null)}),Gr=Object(D.a)(Zr,2),gn=Gr[0],On=Gr[1];return Object(F.a)(function(){if(!Sr)return;function cn(Dn){On(function(Mn){var Yn=hr(Dn);return n()(Mn,Yn)?Mn:Yn})}return Wr.add(cn),function(){Wr.delete(cn)}},[Sr]),gn}var Q=U(),z=Q,_=t.createContext(null),J=_,Y=t.createContext({renderWithProps:!1}),k=Y,W=["colSpan","rowSpan","style","className"];function ie(Et,fr,hr,Sr){var Er=Et+fr-1;return Et<=Sr&&Er>=hr}function fe(Et){return Et&&Object(B.a)(Et)==="object"&&!Array.isArray(Et)&&!t.isValidElement(Et)}function Ce(Et){return typeof Et=="string"?!0:Object(g.c)(Et)}var ge=function(fr){var hr=fr.ellipsis,Sr=fr.rowType,Er=fr.children,Wr,nn=hr===!0?{showTitle:!0}:hr;return nn&&(nn.showTitle||Sr==="header")&&(typeof Er=="string"||typeof Er=="number"?Wr=Er.toString():t.isValidElement(Er)&&typeof Er.props.children=="string"&&(Wr=Er.props.children)),Wr};function de(Et,fr){var hr,Sr,Er,Wr=Et.prefixCls,nn=Et.className,Zr=Et.record,Gr=Et.index,gn=Et.renderIndex,On=Et.dataIndex,cn=Et.render,Dn=Et.children,Mn=Et.component,Yn=Mn===void 0?"td":Mn,$n=Et.colSpan,Tn=Et.rowSpan,ea=Et.fixLeft,Kn=Et.fixRight,Fa=Et.firstFixLeft,Ya=Et.lastFixLeft,Va=Et.firstFixRight,Ga=Et.lastFixRight,vi=Et.appendNode,Xa=Et.additionalProps,Jn=Xa===void 0?{}:Xa,ei=Et.ellipsis,Na=Et.align,_n=Et.rowType,sa=Et.isSticky,wa=Et.hovering,si=Et.onHover,Ka="".concat(Wr,"-cell"),ja=t.useContext(k),$a=t.useContext(R),Wi=t.useContext(J),Vi=Wi.allColumnsFixedLeft,co=t.useMemo(function(){if(P(Dn))return[Dn];var Da=b(Zr,On),Gn=Da,mi=void 0;if(cn){var no=cn(Da,Zr,gn);fe(no)?(Gn=no.children,mi=no.props,ja.renderWithProps=!0):Gn=no}return[Gn,mi]},[ja.renderWithProps?Math.random():0,Dn,On,ja,Zr,cn,gn]),oo=Object(D.a)(co,2),Ki=oo[0],Gi=oo[1],Ji=Ki;Object(B.a)(Ji)==="object"&&!Array.isArray(Ji)&&!t.isValidElement(Ji)&&(Ji=null),ei&&(Ya||Va)&&(Ji=t.createElement("span",{className:"".concat(Ka,"-content")},Ji));var pi=Gi||{},Ri=pi.colSpan,Ii=pi.rowSpan,Fi=pi.style,Ro=pi.className,Zi=Object(v.a)(pi,W),eo=(hr=Ri!==void 0?Ri:$n)!==null&&hr!==void 0?hr:1,Ni=(Sr=Ii!==void 0?Ii:Tn)!==null&&Sr!==void 0?Sr:1;if(eo===0||Ni===0)return null;var ii={},Yi=typeof ea=="number"&&$a,fo=typeof Kn=="number"&&$a;Yi&&(ii.position="sticky",ii.left=ea),fo&&(ii.position="sticky",ii.right=Kn);var fa={};Na&&(fa.textAlign=Na);var uo=function(Gn){var mi;Zr&&si(Gr,Gr+Ni-1),Jn==null||(mi=Jn.onMouseEnter)===null||mi===void 0||mi.call(Jn,Gn)},fi=function(Gn){var mi;Zr&&si(-1,-1),Jn==null||(mi=Jn.onMouseLeave)===null||mi===void 0||mi.call(Jn,Gn)},Ta=ge({rowType:_n,ellipsis:ei,children:Ki}),Ja=Object(C.a)(Object(C.a)(Object(C.a)({title:Ta},Zi),Jn),{},{colSpan:eo!==1?eo:null,rowSpan:Ni!==1?Ni:null,className:E()(Ka,nn,(Er={},Object(T.a)(Er,"".concat(Ka,"-fix-left"),Yi&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-left-first"),Fa&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-left-last"),Ya&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-left-all"),Ya&&Vi&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-right"),fo&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-right-first"),Va&&$a),Object(T.a)(Er,"".concat(Ka,"-fix-right-last"),Ga&&$a),Object(T.a)(Er,"".concat(Ka,"-ellipsis"),ei),Object(T.a)(Er,"".concat(Ka,"-with-append"),vi),Object(T.a)(Er,"".concat(Ka,"-fix-sticky"),(Yi||fo)&&sa&&$a),Object(T.a)(Er,"".concat(Ka,"-row-hover"),!Gi&&wa),Er),Jn.className,Ro),style:Object(C.a)(Object(C.a)(Object(C.a)(Object(C.a)({},Jn.style),fa),ii),Fi),onMouseEnter:uo,onMouseLeave:fi,ref:Ce(Yn)?fr:null});return t.createElement(Yn,Ja,vi,Ji)}var Pe=t.forwardRef(de);Pe.displayName="Cell";var _e=["expanded","className","hovering"],Ne=t.memo(Pe,function(Et,fr){return fr.shouldCellUpdate?_e.every(function(hr){return Et[hr]===fr[hr]})&&!fr.shouldCellUpdate(fr.record,Et.record):n()(Et,fr)}),He=t.forwardRef(function(Et,fr){var hr=Et.index,Sr=Et.additionalProps,Er=Sr===void 0?{}:Sr,Wr=Et.colSpan,nn=Et.rowSpan,Zr=Er.colSpan,Gr=Er.rowSpan,gn=Wr!=null?Wr:Zr,On=nn!=null?nn:Gr,cn=N(z,function(Yn){var $n=ie(hr,On||1,Yn==null?void 0:Yn.startRow,Yn==null?void 0:Yn.endRow);return{onHover:Yn==null?void 0:Yn.onHover,hovering:$n}}),Dn=cn.onHover,Mn=cn.hovering;return t.createElement(Ne,Object(w.a)({},Et,{colSpan:gn,rowSpan:On,hovering:Mn,ref:fr,onHover:Dn}))});He.displayName="WrappedCell";var ue=He,Re=t.createContext(null),nt=Re;function Ve(Et,fr,hr,Sr,Er){var Wr=hr[Et]||{},nn=hr[fr]||{},Zr,Gr;Wr.fixed==="left"?Zr=Sr.left[Et]:nn.fixed==="right"&&(Gr=Sr.right[fr]);var gn=!1,On=!1,cn=!1,Dn=!1,Mn=hr[fr+1],Yn=hr[Et-1];if(Er==="rtl"){if(Zr!==void 0){var $n=Yn&&Yn.fixed==="left";Dn=!$n}else if(Gr!==void 0){var Tn=Mn&&Mn.fixed==="right";cn=!Tn}}else if(Zr!==void 0){var ea=Mn&&Mn.fixed==="left";gn=!ea}else if(Gr!==void 0){var Kn=Yn&&Yn.fixed==="right";On=!Kn}return{fixLeft:Zr,fixRight:Gr,lastFixLeft:gn,firstFixRight:On,lastFixRight:cn,firstFixLeft:Dn,isSticky:Sr.isSticky}}function Ge(Et){var fr=Et.cells,hr=Et.stickyOffsets,Sr=Et.flattenColumns,Er=Et.rowComponent,Wr=Et.cellComponent,nn=Et.onHeaderRow,Zr=Et.index,Gr=t.useContext(nt),gn=Gr.prefixCls,On=Gr.direction,cn;nn&&(cn=nn(fr.map(function(Mn){return Mn.column}),Zr));var Dn=S(fr.map(function(Mn){return Mn.column}));return t.createElement(Er,cn,fr.map(function(Mn,Yn){var $n=Mn.column,Tn=Ve(Mn.colStart,Mn.colEnd,Sr,hr,On),ea;return $n&&$n.onHeaderCell&&(ea=Mn.column.onHeaderCell($n)),t.createElement(ue,Object(w.a)({},Mn,{ellipsis:$n.ellipsis,align:$n.align,component:Wr,prefixCls:gn,key:Dn[Yn]},Tn,{additionalProps:ea,rowType:"header"}))}))}Ge.displayName="HeaderRow";var dt=Ge;function et(Et){var fr=[];function hr(nn,Zr){var Gr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;fr[Gr]=fr[Gr]||[];var gn=Zr,On=nn.filter(Boolean).map(function(cn){var Dn={key:cn.key,className:cn.className||"",children:cn.title,column:cn,colStart:gn},Mn=1,Yn=cn.children;return Yn&&Yn.length>0&&(Mn=hr(Yn,gn,Gr+1).reduce(function($n,Tn){return $n+Tn},0),Dn.hasSubColumns=!0),"colSpan"in cn&&(Mn=cn.colSpan),"rowSpan"in cn&&(Dn.rowSpan=cn.rowSpan),Dn.colSpan=Mn,Dn.colEnd=Dn.colStart+Mn-1,fr[Gr].push(Dn),gn+=Mn,Mn});return On}hr(Et,0);for(var Sr=fr.length,Er=function(Zr){fr[Zr].forEach(function(Gr){!("rowSpan"in Gr)&&!Gr.hasSubColumns&&(Gr.rowSpan=Sr-Zr)})},Wr=0;Wr<Sr;Wr+=1)Er(Wr);return fr}function At(Et){var fr=Et.stickyOffsets,hr=Et.columns,Sr=Et.flattenColumns,Er=Et.onHeaderRow,Wr=t.useContext(nt),nn=Wr.prefixCls,Zr=Wr.getComponent,Gr=t.useMemo(function(){return et(hr)},[hr]),gn=Zr(["header","wrapper"],"thead"),On=Zr(["header","row"],"tr"),cn=Zr(["header","cell"],"th");return t.createElement(gn,{className:"".concat(nn,"-thead")},Gr.map(function(Dn,Mn){var Yn=t.createElement(dt,{key:Mn,flattenColumns:Sr,cells:Dn,stickyOffsets:fr,rowComponent:On,cellComponent:cn,onHeaderRow:Er,index:Mn});return Yn}))}var Dt=At,Ft=t.createContext(null),St=Ft;function $e(Et){var fr=Et.prefixCls,hr=Et.children,Sr=Et.component,Er=Et.cellComponent,Wr=Et.className,nn=Et.expanded,Zr=Et.colSpan,Gr=Et.isEmpty,gn=t.useContext(nt),On=gn.scrollbarSize,cn=t.useContext(St),Dn=cn.fixHeader,Mn=cn.fixColumn,Yn=cn.componentWidth,$n=cn.horizonScroll;return t.useMemo(function(){var Tn=hr;return(Gr?$n:Mn)&&(Tn=t.createElement("div",{style:{width:Yn-(Dn?On:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(fr,"-expanded-row-fixed")},Yn!==0&&Tn)),t.createElement(Sr,{className:Wr,style:{display:nn?null:"none"}},t.createElement(ue,{component:Er,prefixCls:fr,colSpan:Zr},Tn))},[hr,Sr,Wr,nn,Zr,Gr,On,Yn,Mn,Dn,$n])}var lt=$e,Ut=t.createContext(null),gt=Ut;function ft(Et){var fr=Et.className,hr=Et.style,Sr=Et.record,Er=Et.index,Wr=Et.renderIndex,nn=Et.rowKey,Zr=Et.rowExpandable,Gr=Et.expandedKeys,gn=Et.onRow,On=Et.indent,cn=On===void 0?0:On,Dn=Et.rowComponent,Mn=Et.cellComponent,Yn=Et.childrenColumnName,$n=t.useContext(nt),Tn=$n.prefixCls,ea=$n.fixedInfoList,Kn=t.useContext(J),Fa=Kn.flattenColumns,Ya=Kn.expandableType,Va=Kn.expandRowByClick,Ga=Kn.onTriggerExpand,vi=Kn.rowClassName,Xa=Kn.expandedRowClassName,Jn=Kn.indentSize,ei=Kn.expandIcon,Na=Kn.expandedRowRender,_n=Kn.expandIconColumnIndex,sa=t.useState(!1),wa=Object(D.a)(sa,2),si=wa[0],Ka=wa[1],ja=Gr&&Gr.has(Et.recordKey);t.useEffect(function(){ja&&Ka(!0)},[ja]);var $a=Ya==="row"&&(!Zr||Zr(Sr)),Wi=Ya==="nest",Vi=Yn&&Sr&&Sr[Yn],co=$a||Wi,oo=t.useRef(Ga);oo.current=Ga;var Ki=function(){oo.current.apply(oo,arguments)},Gi=gn==null?void 0:gn(Sr,Er),Ji=function(Ni){var ii;Va&&co&&Ki(Sr,Ni);for(var Yi=arguments.length,fo=new Array(Yi>1?Yi-1:0),fa=1;fa<Yi;fa++)fo[fa-1]=arguments[fa];Gi==null||(ii=Gi.onClick)===null||ii===void 0||ii.call.apply(ii,[Gi,Ni].concat(fo))},pi;typeof vi=="string"?pi=vi:typeof vi=="function"&&(pi=vi(Sr,Er,cn));var Ri=S(Fa),Ii=t.createElement(Dn,Object(w.a)({},Gi,{"data-row-key":nn,className:E()(fr,"".concat(Tn,"-row"),"".concat(Tn,"-row-level-").concat(cn),pi,Gi&&Gi.className),style:Object(C.a)(Object(C.a)({},hr),Gi?Gi.style:null),onClick:Ji}),Fa.map(function(eo,Ni){var ii=eo.render,Yi=eo.dataIndex,fo=eo.className,fa=Ri[Ni],uo=ea[Ni],fi;Ni===(_n||0)&&Wi&&(fi=t.createElement(t.Fragment,null,t.createElement("span",{style:{paddingLeft:"".concat(Jn*cn,"px")},className:"".concat(Tn,"-row-indent indent-level-").concat(cn)}),ei({prefixCls:Tn,expanded:ja,expandable:Vi,record:Sr,onExpand:Ki})));var Ta;return eo.onCell&&(Ta=eo.onCell(Sr,Er)),t.createElement(ue,Object(w.a)({className:fo,ellipsis:eo.ellipsis,align:eo.align,component:Mn,prefixCls:Tn,key:fa,record:Sr,index:Er,renderIndex:Wr,dataIndex:Yi,render:ii,shouldCellUpdate:eo.shouldCellUpdate,expanded:fi&&ja},uo,{appendNode:fi,additionalProps:Ta}))})),Fi;if($a&&(si||ja)){var Ro=Na(Sr,Er,cn+1,ja),Zi=Xa&&Xa(Sr,Er,cn);Fi=t.createElement(lt,{expanded:ja,className:E()("".concat(Tn,"-expanded-row"),"".concat(Tn,"-expanded-row-level-").concat(cn+1),Zi),prefixCls:Tn,component:Dn,cellComponent:Mn,colSpan:Fa.length,isEmpty:!1},Ro)}return t.createElement(t.Fragment,null,Ii,Fi)}ft.displayName="BodyRow";var rt=ft;function Ie(Et,fr,hr,Sr,Er,Wr){var nn=[];nn.push({record:Et,indent:fr,index:Wr});var Zr=Er(Et),Gr=Sr==null?void 0:Sr.has(Zr);if(Et&&Array.isArray(Et[hr])&&Gr)for(var gn=0;gn<Et[hr].length;gn+=1){var On=Ie(Et[hr][gn],fr+1,hr,Sr,Er,gn);nn.push.apply(nn,Object(f.a)(On))}return nn}function Ot(Et,fr,hr,Sr){var Er=t.useMemo(function(){if(hr==null?void 0:hr.size){for(var Wr=[],nn=0;nn<(Et==null?void 0:Et.length);nn+=1){var Zr=Et[nn];Wr.push.apply(Wr,Object(f.a)(Ie(Zr,0,fr,hr,Sr,nn)))}return Wr}return Et==null?void 0:Et.map(function(Gr,gn){return{record:Gr,indent:0,index:gn}})},[Et,fr,hr,Sr]);return Er}function Xt(Et){var fr=Et.columnKey,hr=Et.onColumnResize,Sr=t.useRef();return t.useEffect(function(){Sr.current&&hr(fr,Sr.current.offsetWidth)},[]),t.createElement(a.a,{data:fr},t.createElement("td",{ref:Sr,style:{padding:0,border:0,height:0}},t.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Vt(Et){var fr=Et.prefixCls,hr=Et.columnsKey,Sr=Et.onColumnResize;return t.createElement("tr",{"aria-hidden":"true",className:"".concat(fr,"-measure-row"),style:{height:0,fontSize:0}},t.createElement(a.a.Collection,{onBatchResize:function(Wr){Wr.forEach(function(nn){var Zr=nn.data,Gr=nn.size;Sr(Zr,Gr.offsetWidth)})}},hr.map(function(Er){return t.createElement(Xt,{key:Er,columnKey:Er,onColumnResize:Sr})})))}function bt(Et){var fr=Et.data,hr=Et.getRowKey,Sr=Et.measureColumnWidth,Er=Et.expandedKeys,Wr=Et.onRow,nn=Et.rowExpandable,Zr=Et.emptyNode,Gr=Et.childrenColumnName,gn=t.useContext(gt),On=gn.onColumnResize,cn=t.useContext(nt),Dn=cn.prefixCls,Mn=cn.getComponent,Yn=t.useContext(J),$n=Yn.flattenColumns,Tn=Ot(fr,Gr,Er,hr),ea=t.useRef({renderWithProps:!1}),Kn=t.useState(-1),Fa=Object(D.a)(Kn,2),Ya=Fa[0],Va=Fa[1],Ga=t.useState(-1),vi=Object(D.a)(Ga,2),Xa=vi[0],Jn=vi[1],ei=t.useCallback(function(_n,sa){Va(_n),Jn(sa)},[]),Na=t.useMemo(function(){var _n=Mn(["body","wrapper"],"tbody"),sa=Mn(["body","row"],"tr"),wa=Mn(["body","cell"],"td"),si;fr.length?si=Tn.map(function(ja,$a){var Wi=ja.record,Vi=ja.indent,co=ja.index,oo=hr(Wi,$a);return t.createElement(rt,{key:oo,rowKey:oo,record:Wi,recordKey:oo,index:$a,renderIndex:co,rowComponent:sa,cellComponent:wa,expandedKeys:Er,onRow:Wr,getRowKey:hr,rowExpandable:nn,childrenColumnName:Gr,indent:Vi})}):si=t.createElement(lt,{expanded:!0,className:"".concat(Dn,"-placeholder"),prefixCls:Dn,component:sa,cellComponent:wa,colSpan:$n.length,isEmpty:!0},Zr);var Ka=S($n);return t.createElement(_n,{className:"".concat(Dn,"-tbody")},Sr&&t.createElement(Vt,{prefixCls:Dn,columnsKey:Ka,onColumnResize:On}),si)},[fr,Dn,Wr,Sr,Er,hr,Mn,Zr,$n,Gr,On,nn,Tn]);return t.createElement(k.Provider,{value:ea.current},t.createElement(z.Provider,{value:{startRow:Ya,endRow:Xa,onHover:ei}},Na))}var It=t.memo(bt);It.displayName="Body";var Kt=It,Se=e("Zm9Q"),Ye=["expandable"],q="RC_TABLE_INTERNAL_COL_DEFINE";function Ae(Et){var fr=Et.expandable,hr=Object(v.a)(Et,Ye),Sr;return"expandable"in Et?Sr=Object(C.a)(Object(C.a)({},hr),fr):Sr=hr,Sr.showExpandColumn===!1&&(Sr.expandIconColumnIndex=-1),Sr}var Me={},De=["children"],ze=["fixed"];function pe(Et){return Object(Se.a)(Et).filter(function(fr){return t.isValidElement(fr)}).map(function(fr){var hr=fr.key,Sr=fr.props,Er=Sr.children,Wr=Object(v.a)(Sr,De),nn=Object(C.a)({key:hr},Wr);return Er&&(nn.children=pe(Er)),nn})}function te(Et){return Et.reduce(function(fr,hr){var Sr=hr.fixed,Er=Sr===!0?"left":Sr,Wr=hr.children;return Wr&&Wr.length>0?[].concat(Object(f.a)(fr),Object(f.a)(te(Wr).map(function(nn){return Object(C.a)({fixed:Er},nn)}))):[].concat(Object(f.a)(fr),[Object(C.a)(Object(C.a)({},hr),{},{fixed:Er})])},[])}function be(Et){for(var fr=!0,hr=0;hr<Et.length;hr+=1){var Sr=Et[hr];if(fr&&Sr.fixed!=="left")fr=!1;else if(!fr&&Sr.fixed==="left"){Object(l.a)(!1,"Index ".concat(hr-1," of `columns` missing `fixed='left'` prop."));break}}for(var Er=!0,Wr=Et.length-1;Wr>=0;Wr-=1){var nn=Et[Wr];if(Er&&nn.fixed!=="right")Er=!1;else if(!Er&&nn.fixed==="right"){Object(l.a)(!1,"Index ".concat(Wr+1," of `columns` missing `fixed='right'` prop."));break}}}function xe(Et){return Et.map(function(fr){var hr=fr.fixed,Sr=Object(v.a)(fr,ze),Er=hr;return hr==="left"?Er="right":hr==="right"&&(Er="left"),Object(C.a)({fixed:Er},Sr)})}function Z(Et,fr){var hr=Et.prefixCls,Sr=Et.columns,Er=Et.children,Wr=Et.expandable,nn=Et.expandedKeys,Zr=Et.columnTitle,Gr=Et.getRowKey,gn=Et.onTriggerExpand,On=Et.expandIcon,cn=Et.rowExpandable,Dn=Et.expandIconColumnIndex,Mn=Et.direction,Yn=Et.expandRowByClick,$n=Et.columnWidth,Tn=Et.fixed,ea=t.useMemo(function(){return Sr||pe(Er)},[Sr,Er]),Kn=t.useMemo(function(){if(Wr){var Va,Ga=ea.slice();if(!Ga.includes(Me)){var vi=Dn||0;vi>=0&&Ga.splice(vi,0,Me)}var Xa=Ga.indexOf(Me);Ga=Ga.filter(function(_n,sa){return _n!==Me||sa===Xa});var Jn=ea[Xa],ei;(Tn==="left"||Tn)&&!Dn?ei="left":(Tn==="right"||Tn)&&Dn===ea.length?ei="right":ei=Jn?Jn.fixed:null;var Na=(Va={},Object(T.a)(Va,q,{className:"".concat(hr,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),Object(T.a)(Va,"title",Zr),Object(T.a)(Va,"fixed",ei),Object(T.a)(Va,"className","".concat(hr,"-row-expand-icon-cell")),Object(T.a)(Va,"width",$n),Object(T.a)(Va,"render",function(sa,wa,si){var Ka=Gr(wa,si),ja=nn.has(Ka),$a=cn?cn(wa):!0,Wi=On({prefixCls:hr,expanded:ja,expandable:$a,record:wa,onExpand:gn});return Yn?t.createElement("span",{onClick:function(co){return co.stopPropagation()}},Wi):Wi}),Va);return Ga.map(function(_n){return _n===Me?Na:_n})}return ea.filter(function(_n){return _n!==Me})},[Wr,ea,Gr,nn,On,Mn]),Fa=t.useMemo(function(){var Va=Kn;return fr&&(Va=fr(Va)),Va.length||(Va=[{render:function(){return null}}]),Va},[fr,Kn,Mn]),Ya=t.useMemo(function(){return Mn==="rtl"?xe(te(Fa)):te(Fa)},[Fa,Mn]);return[Fa,Ya]}var se=Z;function he(Et){var fr=Object(t.useRef)(Et),hr=Object(t.useState)({}),Sr=Object(D.a)(hr,2),Er=Sr[1],Wr=Object(t.useRef)(null),nn=Object(t.useRef)([]);function Zr(Gr){nn.current.push(Gr);var gn=Promise.resolve();Wr.current=gn,gn.then(function(){if(Wr.current===gn){var On=nn.current,cn=fr.current;nn.current=[],On.forEach(function(Dn){fr.current=Dn(fr.current)}),Wr.current=null,cn!==fr.current&&Er({})}})}return Object(t.useEffect)(function(){return function(){Wr.current=null}},[]),[fr.current,Zr]}function Oe(Et){var fr=Object(t.useRef)(Et||null),hr=Object(t.useRef)();function Sr(){window.clearTimeout(hr.current)}function Er(nn){fr.current=nn,Sr(),hr.current=window.setTimeout(function(){fr.current=null,hr.current=void 0},100)}function Wr(){return fr.current}return Object(t.useEffect)(function(){return Sr},[]),[Er,Wr]}function ne(Et,fr,hr){var Sr=Object(t.useMemo)(function(){for(var Er=[],Wr=[],nn=0,Zr=0,Gr=0;Gr<fr;Gr+=1)if(hr==="rtl"){Wr[Gr]=Zr,Zr+=Et[Gr]||0;var gn=fr-Gr-1;Er[gn]=nn,nn+=Et[gn]||0}else{Er[Gr]=nn,nn+=Et[Gr]||0;var On=fr-Gr-1;Wr[On]=Zr,Zr+=Et[On]||0}return{left:Er,right:Wr}},[Et,fr,hr]);return Sr}var ce=ne,ae=["columnType"];function Ee(Et){for(var fr=Et.colWidths,hr=Et.columns,Sr=Et.columCount,Er=[],Wr=Sr||hr.length,nn=!1,Zr=Wr-1;Zr>=0;Zr-=1){var Gr=fr[Zr],gn=hr&&hr[Zr],On=gn&&gn[q];if(Gr||On||nn){var cn=On||{},Dn=cn.columnType,Mn=Object(v.a)(cn,ae);Er.unshift(t.createElement("col",Object(w.a)({key:Zr,style:{width:Gr}},Mn))),nn=!0}}return t.createElement("colgroup",null,Er)}var ye=Ee;function Te(Et){var fr=Et.className,hr=Et.children;return t.createElement("div",{className:fr},hr)}var je=Te,qe=t.createContext({}),Le=qe;function ke(Et){var fr=Et.className,hr=Et.index,Sr=Et.children,Er=Et.colSpan,Wr=Er===void 0?1:Er,nn=Et.rowSpan,Zr=Et.align,Gr=t.useContext(nt),gn=Gr.prefixCls,On=Gr.direction,cn=t.useContext(Le),Dn=cn.scrollColumnIndex,Mn=cn.stickyOffsets,Yn=cn.flattenColumns,$n=hr+Wr-1,Tn=$n+1===Dn?Wr+1:Wr,ea=Ve(hr,hr+Tn-1,Yn,Mn,On);return t.createElement(ue,Object(w.a)({className:fr,index:hr,component:"td",prefixCls:gn,record:null,dataIndex:null,align:Zr,colSpan:Tn,rowSpan:nn,render:function(){return Sr}},ea))}var tt=["children"];function st(Et){var fr=Et.children,hr=Object(v.a)(Et,tt);return t.createElement("tr",hr,fr)}function _t(Et){var fr=Et.children;return fr}_t.Row=st,_t.Cell=ke;var Ct=_t;function Rt(Et){var fr=Et.children,hr=Et.stickyOffsets,Sr=Et.flattenColumns,Er=t.useContext(nt),Wr=Er.prefixCls,nn=Sr.length-1,Zr=Sr[nn],Gr=t.useMemo(function(){return{stickyOffsets:hr,flattenColumns:Sr,scrollColumnIndex:(Zr==null?void 0:Zr.scrollbar)?nn:null}},[Zr,Sr,nn,hr]);return t.createElement(Le.Provider,{value:Gr},t.createElement("tfoot",{className:"".concat(Wr,"-summary")},fr))}var Wt=Rt,vt=Ct;function Je(Et){var fr,hr=Et.prefixCls,Sr=Et.record,Er=Et.onExpand,Wr=Et.expanded,nn=Et.expandable,Zr="".concat(hr,"-row-expand-icon");if(!nn)return t.createElement("span",{className:E()(Zr,"".concat(hr,"-row-spaced"))});var Gr=function(On){Er(Sr,On),On.stopPropagation()};return t.createElement("span",{className:E()(Zr,(fr={},Object(T.a)(fr,"".concat(hr,"-row-expanded"),Wr),Object(T.a)(fr,"".concat(hr,"-row-collapsed"),!Wr),fr)),onClick:Gr})}function Yt(Et,fr,hr){var Sr=[];function Er(Wr){(Wr||[]).forEach(function(nn,Zr){Sr.push(fr(nn,Zr)),Er(nn[hr])})}return Er(Et),Sr}var Ht=e("zT1h"),nr=e("y0+3"),ir=function(fr,hr){var Sr,Er,Wr=fr.scrollBodyRef,nn=fr.onScroll,Zr=fr.offsetScroll,Gr=fr.container,gn=t.useContext(nt),On=gn.prefixCls,cn=((Sr=Wr.current)===null||Sr===void 0?void 0:Sr.scrollWidth)||0,Dn=((Er=Wr.current)===null||Er===void 0?void 0:Er.clientWidth)||0,Mn=cn&&Dn*(Dn/cn),Yn=t.useRef(),$n=he({scrollLeft:0,isHiddenScrollBar:!1}),Tn=Object(D.a)($n,2),ea=Tn[0],Kn=Tn[1],Fa=t.useRef({delta:0,x:0}),Ya=t.useState(!1),Va=Object(D.a)(Ya,2),Ga=Va[0],vi=Va[1],Xa=function(){vi(!1)},Jn=function(wa){wa.persist(),Fa.current.delta=wa.pageX-ea.scrollLeft,Fa.current.x=0,vi(!0),wa.preventDefault()},ei=function(wa){var si,Ka=wa||((si=window)===null||si===void 0?void 0:si.event),ja=Ka.buttons;if(!Ga||ja===0){Ga&&vi(!1);return}var $a=Fa.current.x+wa.pageX-Fa.current.x-Fa.current.delta;$a<=0&&($a=0),$a+Mn>=Dn&&($a=Dn-Mn),nn({scrollLeft:$a/Dn*(cn+2)}),Fa.current.x=wa.pageX},Na=function(){if(!!Wr.current){var wa=Object(nr.b)(Wr.current).top,si=wa+Wr.current.offsetHeight,Ka=Gr===window?document.documentElement.scrollTop+window.innerHeight:Object(nr.b)(Gr).top+Gr.clientHeight;si-Object(c.a)()<=Ka||wa>=Ka-Zr?Kn(function(ja){return Object(C.a)(Object(C.a)({},ja),{},{isHiddenScrollBar:!0})}):Kn(function(ja){return Object(C.a)(Object(C.a)({},ja),{},{isHiddenScrollBar:!1})})}},_n=function(wa){Kn(function(si){return Object(C.a)(Object(C.a)({},si),{},{scrollLeft:wa/cn*Dn||0})})};return t.useImperativeHandle(hr,function(){return{setScrollLeft:_n}}),t.useEffect(function(){var sa=Object(Ht.a)(document.body,"mouseup",Xa,!1),wa=Object(Ht.a)(document.body,"mousemove",ei,!1);return Na(),function(){sa.remove(),wa.remove()}},[Mn,Ga]),t.useEffect(function(){var sa=Object(Ht.a)(Gr,"scroll",Na,!1),wa=Object(Ht.a)(window,"resize",Na,!1);return function(){sa.remove(),wa.remove()}},[Gr]),t.useEffect(function(){ea.isHiddenScrollBar||Kn(function(sa){var wa=Wr.current;return wa?Object(C.a)(Object(C.a)({},sa),{},{scrollLeft:wa.scrollLeft/wa.scrollWidth*wa.clientWidth}):sa})},[ea.isHiddenScrollBar]),cn<=Dn||!Mn||ea.isHiddenScrollBar?null:t.createElement("div",{style:{height:Object(c.a)(),width:Dn,bottom:Zr},className:"".concat(On,"-sticky-scroll")},t.createElement("div",{onMouseDown:Jn,ref:Yn,className:E()("".concat(On,"-sticky-scroll-bar"),Object(T.a)({},"".concat(On,"-sticky-scroll-bar-active"),Ga)),style:{width:"".concat(Mn,"px"),transform:"translate3d(".concat(ea.scrollLeft,"px, 0, 0)")}}))},Zt=t.forwardRef(ir),Mt=e("MNnm"),pt=Object(Mt.a)()?window:null;function Tt(Et,fr){var hr=Object(B.a)(Et)==="object"?Et:{},Sr=hr.offsetHeader,Er=Sr===void 0?0:Sr,Wr=hr.offsetSummary,nn=Wr===void 0?0:Wr,Zr=hr.offsetScroll,Gr=Zr===void 0?0:Zr,gn=hr.getContainer,On=gn===void 0?function(){return pt}:gn,cn=On()||pt;return t.useMemo(function(){var Dn=!!Et;return{isSticky:Dn,stickyClassName:Dn?"".concat(fr,"-sticky-holder"):"",offsetHeader:Er,offsetSummary:nn,offsetScroll:Gr,container:cn}},[Gr,Er,nn,fr,cn])}var mt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Jt(Et,fr){return Object(t.useMemo)(function(){for(var hr=[],Sr=0;Sr<fr;Sr+=1){var Er=Et[Sr];if(Er!==void 0)hr[Sr]=Er;else return null}return hr},[Et.join("_"),fr])}var or=t.forwardRef(function(Et,fr){var hr=Et.className,Sr=Et.noData,Er=Et.columns,Wr=Et.flattenColumns,nn=Et.colWidths,Zr=Et.columCount,Gr=Et.stickyOffsets,gn=Et.direction,On=Et.fixHeader,cn=Et.stickyTopOffset,Dn=Et.stickyBottomOffset,Mn=Et.stickyClassName,Yn=Et.onScroll,$n=Et.maxContentScroll,Tn=Et.children,ea=Object(v.a)(Et,mt),Kn=t.useContext(nt),Fa=Kn.prefixCls,Ya=Kn.scrollbarSize,Va=Kn.isSticky,Ga=Va&&!On?0:Ya,vi=t.useRef(null),Xa=t.useCallback(function(Ka){Object(g.b)(fr,Ka),Object(g.b)(vi,Ka)},[]);t.useEffect(function(){var Ka;function ja($a){var Wi=$a.currentTarget,Vi=$a.deltaX;Vi&&(Yn({currentTarget:Wi,scrollLeft:Wi.scrollLeft+Vi}),$a.preventDefault())}return(Ka=vi.current)===null||Ka===void 0||Ka.addEventListener("wheel",ja),function(){var $a;($a=vi.current)===null||$a===void 0||$a.removeEventListener("wheel",ja)}},[]);var Jn=t.useMemo(function(){return Wr.every(function(Ka){return Ka.width>=0})},[Wr]),ei=Wr[Wr.length-1],Na={fixed:ei?ei.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Fa,"-cell-scrollbar")}}},_n=Object(t.useMemo)(function(){return Ga?[].concat(Object(f.a)(Er),[Na]):Er},[Ga,Er]),sa=Object(t.useMemo)(function(){return Ga?[].concat(Object(f.a)(Wr),[Na]):Wr},[Ga,Wr]),wa=Object(t.useMemo)(function(){var Ka=Gr.right,ja=Gr.left;return Object(C.a)(Object(C.a)({},Gr),{},{left:gn==="rtl"?[].concat(Object(f.a)(ja.map(function($a){return $a+Ga})),[0]):ja,right:gn==="rtl"?Ka:[].concat(Object(f.a)(Ka.map(function($a){return $a+Ga})),[0]),isSticky:Va})},[Ga,Gr,Va]),si=Jt(nn,Zr);return t.createElement("div",{style:Object(C.a)({overflow:"hidden"},Va?{top:cn,bottom:Dn}:{}),ref:Xa,className:E()(hr,Object(T.a)({},Mn,!!Mn))},t.createElement("table",{style:{tableLayout:"fixed",visibility:Sr||si?null:"hidden"}},(!Sr||!$n||Jn)&&t.createElement(ye,{colWidths:si?[].concat(Object(f.a)(si),[Ga]):[],columCount:Zr+1,columns:sa}),Tn(Object(C.a)(Object(C.a)({},ea),{},{stickyOffsets:wa,columns:_n,flattenColumns:sa}))))});or.displayName="FixedHolder";var ut=or,ht=[],qt={},Nt="rc-table-internal-hook",Qt=t.memo(function(Et){var fr=Et.children;return fr},function(Et,fr){return n()(Et.props,fr.props)?Et.pingLeft!==fr.pingLeft||Et.pingRight!==fr.pingRight:!1});function at(Et){var fr,hr=Et.prefixCls,Sr=Et.className,Er=Et.rowClassName,Wr=Et.style,nn=Et.data,Zr=Et.rowKey,Gr=Et.scroll,gn=Et.tableLayout,On=Et.direction,cn=Et.title,Dn=Et.footer,Mn=Et.summary,Yn=Et.id,$n=Et.showHeader,Tn=Et.components,ea=Et.emptyText,Kn=Et.onRow,Fa=Et.onHeaderRow,Ya=Et.internalHooks,Va=Et.transformColumns,Ga=Et.internalRefs,vi=Et.sticky,Xa=nn||ht,Jn=!!Xa.length,ei=t.useCallback(function(ni,Si){return b(Tn||{},ni)||Si},[Tn]),Na=t.useMemo(function(){return typeof Zr=="function"?Zr:function(ni){var Si=ni&&ni[Zr];return Si}},[Zr]),_n=Ae(Et),sa=_n.expandIcon,wa=_n.expandedRowKeys,si=_n.defaultExpandedRowKeys,Ka=_n.defaultExpandAllRows,ja=_n.expandedRowRender,$a=_n.columnTitle,Wi=_n.onExpand,Vi=_n.onExpandedRowsChange,co=_n.expandRowByClick,oo=_n.rowExpandable,Ki=_n.expandIconColumnIndex,Gi=_n.expandedRowClassName,Ji=_n.childrenColumnName,pi=_n.indentSize,Ri=sa||Je,Ii=Ji||"children",Fi=t.useMemo(function(){return ja?"row":Et.expandable&&Ya===Nt&&Et.expandable.__PARENT_RENDER_ICON__||Xa.some(function(ni){return ni&&Object(B.a)(ni)==="object"&&ni[Ii]})?"nest":!1},[!!ja,Xa]),Ro=t.useState(function(){return si||(Ka?Yt(Xa,Na,Ii):[])}),Zi=Object(D.a)(Ro,2),eo=Zi[0],Ni=Zi[1],ii=t.useMemo(function(){return new Set(wa||eo||[])},[wa,eo]),Yi=t.useCallback(function(ni){var Si=Na(ni,Xa.indexOf(ni)),Uo,ns=ii.has(Si);ns?(ii.delete(Si),Uo=Object(f.a)(ii)):Uo=[].concat(Object(f.a)(ii),[Si]),Ni(Uo),Wi&&Wi(!ns,ni),Vi&&Vi(Uo)},[Na,ii,Xa,Wi,Vi]),fo=t.useState(0),fa=Object(D.a)(fo,2),uo=fa[0],fi=fa[1],Ta=se(Object(C.a)(Object(C.a)(Object(C.a)({},Et),_n),{},{expandable:!!ja,columnTitle:$a,expandedKeys:ii,getRowKey:Na,onTriggerExpand:Yi,expandIcon:Ri,expandIconColumnIndex:Ki,direction:On}),Ya===Nt?Va:null),Ja=Object(D.a)(Ta,2),Da=Ja[0],Gn=Ja[1],mi=t.useMemo(function(){return{columns:Da,flattenColumns:Gn}},[Da,Gn]),no=t.useRef(),bi=t.useRef(),Zn=t.useRef(),Qa=t.useRef(),Wa=t.useRef(),to=t.useState(!1),Ci=Object(D.a)(to,2),Ao=Ci[0],jo=Ci[1],es=t.useState(!1),ts=Object(D.a)(es,2),gs=ts[0],ls=ts[1],Ko=he(new Map),Ps=Object(D.a)(Ko,2),Fo=Ps[0],Ei=Ps[1],Ar=S(Gn),so=Ar.map(function(ni){return Fo.get(ni)}),Ui=t.useMemo(function(){return so},[so.join("_")]),da=ce(Ui,Gn.length,On),Pa=Gr&&P(Gr.y),lo=Gr&&P(Gr.x)||Boolean(_n.fixed),go=lo&&Gn.some(function(ni){var Si=ni.fixed;return Si}),Po=t.useRef(),bo=Tt(vi,hr),So=bo.isSticky,rs=bo.offsetHeader,is=bo.offsetSummary,Is=bo.offsetScroll,ds=bo.stickyClassName,ps=bo.container,$o=Mn==null?void 0:Mn(Xa),ms=(Pa||So)&&t.isValidElement($o)&&$o.type===Ct&&$o.props.fixed,os,_o,Fs;Pa&&(_o={overflowY:"scroll",maxHeight:Gr.y}),lo&&(os={overflowX:"auto"},Pa||(_o={overflowY:"hidden"}),Fs={width:(Gr==null?void 0:Gr.x)===!0?"auto":Gr==null?void 0:Gr.x,minWidth:"100%"});var ss=t.useCallback(function(ni,Si){Object(s.a)(no.current)&&Ei(function(Uo){if(Uo.get(ni)!==Si){var ns=new Map(Uo);return ns.set(ni,Si),ns}return Uo})},[]),us=Oe(null),Bt=Object(D.a)(us,2),X=Bt[0],re=Bt[1];function le(ni,Si){!Si||(typeof Si=="function"?Si(ni):Si.scrollLeft!==ni&&(Si.scrollLeft=ni))}var we=function(Si){var Uo=Si.currentTarget,ns=Si.scrollLeft,Ds=On==="rtl",cs=typeof ns=="number"?ns:Uo.scrollLeft,Ms=Uo||qt;if(!re()||re()===Ms){var js;X(Ms),le(cs,bi.current),le(cs,Zn.current),le(cs,Wa.current),le(cs,(js=Po.current)===null||js===void 0?void 0:js.setScrollLeft)}if(Uo){var Oo=Uo.scrollWidth,Ns=Uo.clientWidth;if(Oo===Ns){jo(!1),ls(!1);return}Ds?(jo(-cs<Oo-Ns),ls(-cs>0)):(jo(cs>0),ls(cs<Oo-Ns))}},Xe=function(){lo&&Zn.current?we({currentTarget:Zn.current}):(jo(!1),ls(!1))},xt=function(Si){var Uo=Si.width;Uo!==uo&&(Xe(),fi(no.current?no.current.offsetWidth:Uo))},tr=t.useRef(!1);t.useEffect(function(){tr.current&&Xe()},[lo,nn,Da.length]),t.useEffect(function(){tr.current=!0},[]);var ur=t.useState(0),br=Object(D.a)(ur,2),Qr=br[0],an=br[1],yn=t.useState(!0),Ln=Object(D.a)(yn,2),Rn=Ln[0],ma=Ln[1];t.useEffect(function(){Zn.current instanceof Element?an(Object(c.b)(Zn.current).width):an(Object(c.b)(Qa.current).width),ma(Object(r.a)("position","sticky"))},[]),t.useEffect(function(){Ya===Nt&&Ga&&(Ga.body.current=Zn.current)});var Ha=ei(["table"],"table"),wi=t.useMemo(function(){return gn||(go?(Gr==null?void 0:Gr.x)==="max-content"?"auto":"fixed":Pa||So||Gn.some(function(ni){var Si=ni.ellipsis;return Si})?"fixed":"auto")},[Pa,go,Gn,gn,So]),Di,Oi={colWidths:Ui,columCount:Gn.length,stickyOffsets:da,onHeaderRow:Fa,fixHeader:Pa,scroll:Gr},po=t.useMemo(function(){return Jn?null:typeof ea=="function"?ea():ea},[Jn,ea]),mo=t.createElement(Kt,{data:Xa,measureColumnWidth:Pa||lo||So,expandedKeys:ii,rowExpandable:oo,getRowKey:Na,onRow:Kn,emptyNode:po,childrenColumnName:Ii}),Eo=t.createElement(ye,{colWidths:Gn.map(function(ni){var Si=ni.width;return Si}),columns:Gn}),Bo=ei(["body"]);if(Pa||So){var No;typeof Bo=="function"?(No=Bo(Xa,{scrollbarSize:Qr,ref:Zn,onScroll:we}),Oi.colWidths=Gn.map(function(ni,Si){var Uo=ni.width,ns=Si===Da.length-1?Uo-Qr:Uo;return typeof ns=="number"&&!Number.isNaN(ns)?ns:(Object(l.a)(!1,"When use `components.body` with render props. Each column should have a fixed `width` value."),0)})):No=t.createElement("div",{style:Object(C.a)(Object(C.a)({},os),_o),onScroll:we,ref:Zn,className:E()("".concat(hr,"-body"))},t.createElement(Ha,{style:Object(C.a)(Object(C.a)({},Fs),{},{tableLayout:wi})},Eo,mo,!ms&&$o&&t.createElement(Wt,{stickyOffsets:da,flattenColumns:Gn},$o)));var Go=Object(C.a)(Object(C.a)(Object(C.a)({noData:!Xa.length,maxContentScroll:lo&&Gr.x==="max-content"},Oi),mi),{},{direction:On,stickyClassName:ds,onScroll:we});Di=t.createElement(t.Fragment,null,$n!==!1&&t.createElement(ut,Object(w.a)({},Go,{stickyTopOffset:rs,className:"".concat(hr,"-header"),ref:bi}),function(ni){return t.createElement(t.Fragment,null,t.createElement(Dt,ni),ms==="top"&&t.createElement(Wt,ni,$o))}),No,ms&&ms!=="top"&&t.createElement(ut,Object(w.a)({},Go,{stickyBottomOffset:is,className:"".concat(hr,"-summary"),ref:Wa}),function(ni){return t.createElement(Wt,ni,$o)}),So&&t.createElement(Zt,{ref:Po,offsetScroll:Is,scrollBodyRef:Zn,onScroll:we,container:ps}))}else Di=t.createElement("div",{style:Object(C.a)(Object(C.a)({},os),_o),className:E()("".concat(hr,"-content")),onScroll:we,ref:Zn},t.createElement(Ha,{style:Object(C.a)(Object(C.a)({},Fs),{},{tableLayout:wi})},Eo,$n!==!1&&t.createElement(Dt,Object(w.a)({},Oi,mi)),mo,$o&&t.createElement(Wt,{stickyOffsets:da,flattenColumns:Gn},$o)));var Yo=Object(o.a)(Et,{aria:!0,data:!0}),ro=t.createElement("div",Object(w.a)({className:E()(hr,Sr,(fr={},Object(T.a)(fr,"".concat(hr,"-rtl"),On==="rtl"),Object(T.a)(fr,"".concat(hr,"-ping-left"),Ao),Object(T.a)(fr,"".concat(hr,"-ping-right"),gs),Object(T.a)(fr,"".concat(hr,"-layout-fixed"),gn==="fixed"),Object(T.a)(fr,"".concat(hr,"-fixed-header"),Pa),Object(T.a)(fr,"".concat(hr,"-fixed-column"),go),Object(T.a)(fr,"".concat(hr,"-scroll-horizontal"),lo),Object(T.a)(fr,"".concat(hr,"-has-fix-left"),Gn[0]&&Gn[0].fixed),Object(T.a)(fr,"".concat(hr,"-has-fix-right"),Gn[Gn.length-1]&&Gn[Gn.length-1].fixed==="right"),fr)),style:Wr,id:Yn,ref:no},Yo),t.createElement(Qt,{pingLeft:Ao,pingRight:gs,props:Object(C.a)(Object(C.a)({},Et),{},{stickyOffsets:da,mergedExpandedKeys:ii})},cn&&t.createElement(je,{className:"".concat(hr,"-title")},cn(Xa)),t.createElement("div",{ref:Qa,className:"".concat(hr,"-container")},Di),Dn&&t.createElement(je,{className:"".concat(hr,"-footer")},Dn(Xa))));lo&&(ro=t.createElement(a.a,{onResize:xt},ro));var va=t.useMemo(function(){return{prefixCls:hr,getComponent:ei,scrollbarSize:Qr,direction:On,fixedInfoList:Gn.map(function(ni,Si){return Ve(Si,Si,Gn,da,On)}),isSticky:So}},[hr,ei,Qr,On,Gn,da,So]),_s=t.useMemo(function(){return Object(C.a)(Object(C.a)({},mi),{},{tableLayout:wi,rowClassName:Er,expandedRowClassName:Gi,expandIcon:Ri,expandableType:Fi,expandRowByClick:co,expandedRowRender:ja,onTriggerExpand:Yi,expandIconColumnIndex:Ki,indentSize:pi,allColumnsFixedLeft:mi.flattenColumns.every(function(ni){return ni.fixed==="left"})})},[mi,wi,Er,Gi,Ri,Fi,co,ja,Yi,Ki,pi]),As=t.useMemo(function(){return{componentWidth:uo,fixHeader:Pa,fixColumn:go,horizonScroll:lo}},[uo,Pa,go,lo]),Jo=t.useMemo(function(){return{onColumnResize:ss}},[ss]);return t.createElement(R.Provider,{value:Rn},t.createElement(nt.Provider,{value:va},t.createElement(J.Provider,{value:_s},t.createElement(St.Provider,{value:As},t.createElement(gt.Provider,{value:Jo},ro)))))}at.EXPAND_COLUMN=Me,at.Column=A,at.ColumnGroup=h,at.Summary=vt,at.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Ue=at,ot=Ue,it=e("bT9E"),zt=e("H84U"),ar=e("XI05"),dr=e("3Nzz"),pr=e("5OYt"),Tr=e("D7Yy"),Lr=e("NUBc"),Yr=e("W9HT"),Jr=e("zAh6");function hn(Et){return null}var yr=hn;function zn(Et){return null}var xn=zn;function In(Et){return function(hr){var Sr,Er=hr.prefixCls,Wr=hr.onExpand,nn=hr.record,Zr=hr.expanded,Gr=hr.expandable,gn="".concat(Er,"-row-expand-icon");return t.createElement("button",{type:"button",onClick:function(cn){Wr(nn,cn),cn.stopPropagation()},className:E()(gn,(Sr={},Object(T.a)(Sr,"".concat(gn,"-spaced"),!Gr),Object(T.a)(Sr,"".concat(gn,"-expanded"),Gr&&Zr),Object(T.a)(Sr,"".concat(gn,"-collapsed"),Gr&&!Zr),Sr)),"aria-label":Zr?Et.collapse:Et.expand,"aria-expanded":Zr})}}var Qn=In;function Cn(Et,fr){return"key"in Et&&Et.key!==void 0&&Et.key!==null?Et.key:Et.dataIndex?Array.isArray(Et.dataIndex)?Et.dataIndex.join("."):Et.dataIndex:fr}function bn(Et,fr){return fr?"".concat(fr,"-").concat(Et):"".concat(Et)}function Wn(Et){var fr,hr,Sr;return!Et||!Et.props||!Et.props.children?"":typeof Et.props.children=="string"?Et.props.children:((Sr=(hr=(fr=Et.props.children)===null||fr===void 0?void 0:fr.map)===null||hr===void 0?void 0:hr.call(fr,function(Er){return Wn(Er)}))===null||Sr===void 0?void 0:Sr[0])||""}function Vn(Et,fr){return typeof Et=="function"?Et(fr):i.a.isValidElement(Et)&&Wn(Et)||Et}var oa={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"},kr=oa,kn=e("6VBw"),Pn=function(fr,hr){return t.createElement(kn.a,Object(C.a)(Object(C.a)({},fr),{},{ref:hr,icon:kr}))};Pn.displayName="FilterFilled";var Ma=t.forwardRef(Pn),Oa=e("Y+p1"),ba=e.n(Oa),La=e("2/Rp"),Hn=e("kaz8"),Ir=e("jsC+"),xr=e("ECub"),Xr=e("BvKs"),Cr=e("UuAG"),Hr=e("9yH6"),Fr=e("MJZm"),jr=e("hkKa");function wr(Et){var fr=t.useRef(Et),hr=Object(jr.a)();return[function(){return fr.current},function(Sr){fr.current=Sr,hr()}]}var pn=e("l+S1"),un=e("5rEg");function jn(Et){var fr=Et.value,hr=Et.onChange,Sr=Et.filterSearch,Er=Et.tablePrefixCls,Wr=Et.locale;return Sr?t.createElement("div",{className:"".concat(Er,"-filter-dropdown-search")},t.createElement(un.a,{prefix:t.createElement(pn.a,null),placeholder:Wr.filterSearchPlaceholder,onChange:hr,value:fr,htmlSize:1,className:"".concat(Er,"-filter-dropdown-search-input")})):null}var Xn=jn,ca=function(fr){return t.createElement("div",{className:fr.className,onClick:function(Sr){return Sr.stopPropagation()}},fr.children)},ti=ca;function Ia(Et){return Et.some(function(fr){var hr=fr.children;return hr})}function aa(Et,fr){return typeof fr=="string"||typeof fr=="number"?fr==null?void 0:fr.toString().toLowerCase().includes(Et.trim().toLowerCase()):!1}function za(Et){var fr=Et.filters,hr=Et.prefixCls,Sr=Et.filteredKeys,Er=Et.filterMultiple,Wr=Et.searchValue,nn=Et.filterSearch;return fr.map(function(Zr,Gr){var gn=String(Zr.value);if(Zr.children)return{key:gn||Gr,label:Zr.text,popupClassName:"".concat(hr,"-dropdown-submenu"),children:za({filters:Zr.children,prefixCls:hr,filteredKeys:Sr,filterMultiple:Er,searchValue:Wr,filterSearch:nn})};var On=Er?Hn.a:Hr.a,cn={key:Zr.value!==void 0?gn:Gr,label:t.createElement(t.Fragment,null,t.createElement(On,{checked:Sr.includes(gn)}),t.createElement("span",null,Zr.text))};return Wr.trim()?typeof nn=="function"?nn(Wr,Zr)?cn:null:aa(Wr,Zr.text)?cn:null:cn})}function ci(Et){var fr,hr=Et.tablePrefixCls,Sr=Et.prefixCls,Er=Et.column,Wr=Et.dropdownPrefixCls,nn=Et.columnKey,Zr=Et.filterMultiple,Gr=Et.filterMode,gn=Gr===void 0?"menu":Gr,On=Et.filterSearch,cn=On===void 0?!1:On,Dn=Et.filterState,Mn=Et.triggerFilter,Yn=Et.locale,$n=Et.children,Tn=Et.getPopupContainer,ea=Er.filterDropdownOpen,Kn=Er.onFilterDropdownOpenChange,Fa=Er.filterDropdownVisible,Ya=Er.onFilterDropdownVisibleChange,Va=Er.filterResetToDefaultFilteredValue,Ga=Er.defaultFilteredValue,vi=t.useState(!1),Xa=Object(D.a)(vi,2),Jn=Xa[0],ei=Xa[1],Na=!!(Dn&&(((fr=Dn.filteredKeys)===null||fr===void 0?void 0:fr.length)||Dn.forceFiltered)),_n=function(Wa){ei(Wa),Kn==null||Kn(Wa),Ya==null||Ya(Wa)},sa;typeof ea=="boolean"?sa=ea:sa=typeof Fa=="boolean"?Fa:Jn;var wa=Dn==null?void 0:Dn.filteredKeys,si=wr(wa||[]),Ka=Object(D.a)(si,2),ja=Ka[0],$a=Ka[1],Wi=function(Wa){var to=Wa.selectedKeys;$a(to)},Vi=function(Wa,to){var Ci=to.node,Ao=to.checked;Wi(Zr?{selectedKeys:Wa}:{selectedKeys:Ao&&Ci.key?[Ci.key]:[]})};t.useEffect(function(){!Jn||Wi({selectedKeys:wa||[]})},[wa]);var co=t.useState([]),oo=Object(D.a)(co,2),Ki=oo[0],Gi=oo[1],Ji=function(Wa){Gi(Wa)},pi=t.useState(""),Ri=Object(D.a)(pi,2),Ii=Ri[0],Fi=Ri[1],Ro=function(Wa){var to=Wa.target.value;Fi(to)};t.useEffect(function(){Jn||Fi("")},[Jn]);var Zi=function(Wa){var to=Wa&&Wa.length?Wa:null;if(to===null&&(!Dn||!Dn.filteredKeys)||ba()(to,Dn==null?void 0:Dn.filteredKeys))return null;Mn({column:Er,key:nn,filteredKeys:to})},eo=function(){_n(!1),Zi(ja())},Ni=function(){var Wa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1},to=Wa.confirm,Ci=Wa.closeDropdown;to&&Zi([]),Ci&&_n(!1),Fi(""),$a(Va?(Ga||[]).map(function(Ao){return String(Ao)}):[])},ii=function(){var Wa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0},to=Wa.closeDropdown;to&&_n(!1),Zi(ja())},Yi=function(Wa){Wa&&wa!==void 0&&$a(wa||[]),_n(Wa),!Wa&&!Er.filterDropdown&&eo()},fo=E()(Object(T.a)({},"".concat(Wr,"-menu-without-submenu"),!Ia(Er.filters||[]))),fa=function(Wa){if(Wa.target.checked){var to=ha(Er==null?void 0:Er.filters).map(function(Ci){return String(Ci)});$a(to)}else $a([])},uo=function Qa(Wa){var to=Wa.filters;return(to||[]).map(function(Ci,Ao){var jo=String(Ci.value),es={title:Ci.text,key:Ci.value!==void 0?jo:Ao};return Ci.children&&(es.children=Qa({filters:Ci.children})),es})},fi=function Qa(Wa){var to;return Object(w.a)(Object(w.a)({},Wa),{text:Wa.title,value:Wa.key,children:((to=Wa.children)===null||to===void 0?void 0:to.map(function(Ci){return Qa(Ci)}))||[]})},Ta;if(typeof Er.filterDropdown=="function")Ta=Er.filterDropdown({prefixCls:"".concat(Wr,"-custom"),setSelectedKeys:function(Wa){return Wi({selectedKeys:Wa})},selectedKeys:ja(),confirm:ii,clearFilters:Ni,filters:Er.filters,visible:sa,close:function(){_n(!1)}});else if(Er.filterDropdown)Ta=Er.filterDropdown;else{var Ja=ja()||[],Da=function(){return(Er.filters||[]).length===0?t.createElement(xr.a,{image:xr.a.PRESENTED_IMAGE_SIMPLE,description:Yn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):gn==="tree"?t.createElement(t.Fragment,null,t.createElement(Xn,{filterSearch:cn,value:Ii,onChange:Ro,tablePrefixCls:hr,locale:Yn}),t.createElement("div",{className:"".concat(hr,"-filter-dropdown-tree")},Zr?t.createElement(Hn.a,{checked:Ja.length===ha(Er.filters).length,indeterminate:Ja.length>0&&Ja.length<ha(Er.filters).length,className:"".concat(hr,"-filter-dropdown-checkall"),onChange:fa},Yn.filterCheckall):null,t.createElement(Fr.a,{checkable:!0,selectable:!1,blockNode:!0,multiple:Zr,checkStrictly:!Zr,className:"".concat(Wr,"-menu"),onCheck:Vi,checkedKeys:Ja,selectedKeys:Ja,showIcon:!1,treeData:uo({filters:Er.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ii.trim()?function(Wa){return typeof cn=="function"?cn(Ii,fi(Wa)):aa(Ii,Wa.title)}:void 0}))):t.createElement(t.Fragment,null,t.createElement(Xn,{filterSearch:cn,value:Ii,onChange:Ro,tablePrefixCls:hr,locale:Yn}),t.createElement(Xr.a,{selectable:!0,multiple:Zr,prefixCls:"".concat(Wr,"-menu"),className:fo,onSelect:Wi,onDeselect:Wi,selectedKeys:Ja,getPopupContainer:Tn,openKeys:Ki,onOpenChange:Ji,items:za({filters:Er.filters||[],filterSearch:cn,prefixCls:Sr,filteredKeys:ja(),filterMultiple:Zr,searchValue:Ii})}))},Gn=function(){return Va?ba()((Ga||[]).map(function(Wa){return String(Wa)}),Ja):Ja.length===0};Ta=t.createElement(t.Fragment,null,Da(),t.createElement("div",{className:"".concat(Sr,"-dropdown-btns")},t.createElement(La.a,{type:"link",size:"small",disabled:Gn(),onClick:function(){return Ni()}},Yn.filterReset),t.createElement(La.a,{type:"primary",size:"small",onClick:eo},Yn.filterConfirm)))}Er.filterDropdown&&(Ta=t.createElement(Cr.a,{selectable:void 0},Ta));var mi=function(){return t.createElement(ti,{className:"".concat(Sr,"-dropdown")},Ta)},no;typeof Er.filterIcon=="function"?no=Er.filterIcon(Na):Er.filterIcon?no=Er.filterIcon:no=t.createElement(Ma,null);var bi=t.useContext(zt.b),Zn=bi.direction;return t.createElement("div",{className:"".concat(Sr,"-column")},t.createElement("span",{className:"".concat(hr,"-column-title")},$n),t.createElement(Ir.a,{dropdownRender:mi,trigger:["click"],open:sa,onOpenChange:Yi,getPopupContainer:Tn,placement:Zn==="rtl"?"bottomLeft":"bottomRight"},t.createElement("span",{role:"button",tabIndex:-1,className:E()("".concat(Sr,"-trigger"),{active:Na}),onClick:function(Wa){Wa.stopPropagation()}},no)))}var qa=ci;function yi(Et,fr,hr){var Sr=[];return(Et||[]).forEach(function(Er,Wr){var nn,Zr=bn(Wr,hr);if(Er.filters||"filterDropdown"in Er||"onFilter"in Er)if("filteredValue"in Er){var Gr=Er.filteredValue;"filterDropdown"in Er||(Gr=(nn=Gr==null?void 0:Gr.map(String))!==null&&nn!==void 0?nn:Gr),Sr.push({column:Er,key:Cn(Er,Zr),filteredKeys:Gr,forceFiltered:Er.filtered})}else Sr.push({column:Er,key:Cn(Er,Zr),filteredKeys:fr&&Er.defaultFilteredValue?Er.defaultFilteredValue:void 0,forceFiltered:Er.filtered});"children"in Er&&(Sr=[].concat(Object(f.a)(Sr),Object(f.a)(yi(Er.children,fr,Zr))))}),Sr}function Li(Et,fr,hr,Sr,Er,Wr,nn,Zr){return hr.map(function(Gr,gn){var On=bn(gn,Zr),cn=Gr.filterMultiple,Dn=cn===void 0?!0:cn,Mn=Gr.filterMode,Yn=Gr.filterSearch,$n=Gr;if($n.filters||$n.filterDropdown){var Tn=Cn($n,On),ea=Sr.find(function(Kn){var Fa=Kn.key;return Tn===Fa});$n=Object(w.a)(Object(w.a)({},$n),{title:function(Fa){return t.createElement(qa,{tablePrefixCls:Et,prefixCls:"".concat(Et,"-filter"),dropdownPrefixCls:fr,column:$n,columnKey:Tn,filterState:ea,filterMultiple:Dn,filterMode:Mn,filterSearch:Yn,triggerFilter:Er,locale:nn,getPopupContainer:Wr},Vn(Gr.title,Fa))}})}return"children"in $n&&($n=Object(w.a)(Object(w.a)({},$n),{children:Li(Et,fr,$n.children,Sr,Er,Wr,nn,On)})),$n})}function ha(Et){var fr=[];return(Et||[]).forEach(function(hr){var Sr=hr.value,Er=hr.children;fr.push(Sr),Er&&(fr=[].concat(Object(f.a)(fr),Object(f.a)(ha(Er))))}),fr}function ka(Et){var fr={};return Et.forEach(function(hr){var Sr=hr.key,Er=hr.filteredKeys,Wr=hr.column,nn=Wr.filters,Zr=Wr.filterDropdown;if(Zr)fr[Sr]=Er||null;else if(Array.isArray(Er)){var Gr=ha(nn);fr[Sr]=Gr.filter(function(gn){return Er.includes(String(gn))})}else fr[Sr]=null}),fr}function Hi(Et,fr){return fr.reduce(function(hr,Sr){var Er=Sr.column,Wr=Er.onFilter,nn=Er.filters,Zr=Sr.filteredKeys;return Wr&&Zr&&Zr.length?hr.filter(function(Gr){return Zr.some(function(gn){var On=ha(nn),cn=On.findIndex(function(Mn){return String(Mn)===String(gn)}),Dn=cn!==-1?On[cn]:gn;return Wr(Dn,Gr)})}):hr},Et)}function ao(Et){var fr=Et.prefixCls,hr=Et.dropdownPrefixCls,Sr=Et.mergedColumns,Er=Et.onFilterChange,Wr=Et.getPopupContainer,nn=Et.locale,Zr=t.useState(function(){return yi(Sr,!0)}),Gr=Object(D.a)(Zr,2),gn=Gr[0],On=Gr[1],cn=t.useMemo(function(){var $n=yi(Sr,!1),Tn=!0,ea=!0;return $n.forEach(function(Kn){var Fa=Kn.filteredKeys;Fa!==void 0?Tn=!1:ea=!1}),Tn?gn:$n},[Sr,gn]),Dn=t.useMemo(function(){return ka(cn)},[cn]),Mn=function(Tn){var ea=cn.filter(function(Kn){var Fa=Kn.key;return Fa!==Tn.key});ea.push(Tn),On(ea),Er(ka(ea),ea)},Yn=function(Tn){return Li(fr,hr,Tn,cn,Mn,Wr,nn)};return[Yn,cn,Dn]}var Qi=ao;function ta(Et,fr,hr){var Sr=t.useRef({});function Er(Wr){if(!Sr.current||Sr.current.data!==Et||Sr.current.childrenColumnName!==fr||Sr.current.getRowKey!==hr){var nn=function Gr(gn){gn.forEach(function(On,cn){var Dn=hr(On,cn);Zr.set(Dn,On),On&&Object(B.a)(On)==="object"&&fr in On&&Gr(On[fr]||[])})},Zr=new Map;nn(Et),Sr.current={data:Et,childrenColumnName:fr,kvMap:Zr,getRowKey:hr}}return Sr.current.kvMap.get(Wr)}return[Er]}var la=function(Et,fr){var hr={};for(var Sr in Et)Object.prototype.hasOwnProperty.call(Et,Sr)&&fr.indexOf(Sr)<0&&(hr[Sr]=Et[Sr]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Er=0,Sr=Object.getOwnPropertySymbols(Et);Er<Sr.length;Er++)fr.indexOf(Sr[Er])<0&&Object.prototype.propertyIsEnumerable.call(Et,Sr[Er])&&(hr[Sr[Er]]=Et[Sr[Er]]);return hr},qr=10;function Ca(Et,fr){var hr={current:fr.current,pageSize:fr.pageSize},Sr=Et&&Object(B.a)(Et)==="object"?Et:{};return Object.keys(Sr).forEach(function(Er){var Wr=fr[Er];typeof Wr!="function"&&(hr[Er]=Wr)}),hr}function li(){for(var Et={},fr=arguments.length,hr=new Array(fr),Sr=0;Sr<fr;Sr++)hr[Sr]=arguments[Sr];return hr.forEach(function(Er){Er&&Object.keys(Er).forEach(function(Wr){var nn=Er[Wr];nn!==void 0&&(Et[Wr]=nn)})}),Et}function di(Et,fr,hr){var Sr=fr&&Object(B.a)(fr)==="object"?fr:{},Er=Sr.total,Wr=Er===void 0?0:Er,nn=la(Sr,["total"]),Zr=Object(t.useState)(function(){return{current:"defaultCurrent"in nn?nn.defaultCurrent:1,pageSize:"defaultPageSize"in nn?nn.defaultPageSize:qr}}),Gr=Object(D.a)(Zr,2),gn=Gr[0],On=Gr[1],cn=li(gn,nn,{total:Wr>0?Wr:Et}),Dn=Math.ceil((Wr||Et)/cn.pageSize);cn.current>Dn&&(cn.current=Dn||1);var Mn=function(Tn,ea){On({current:Tn!=null?Tn:1,pageSize:ea||cn.pageSize})},Yn=function(Tn,ea){var Kn;fr&&((Kn=fr.onChange)===null||Kn===void 0||Kn.call(fr,Tn,ea)),Mn(Tn,ea),hr(Tn,ea||(cn==null?void 0:cn.pageSize))};return fr===!1?[{},function(){}]:[Object(w.a)(Object(w.a)({},cn),{onChange:Yn}),Mn]}var _i=e("T5bk"),Lo=e("8Skl"),$i=e("OZM5"),io=e("NvD2"),Ho=e("815F"),xo=e("6cGi"),Vo={},Io="SELECT_ALL",Do="SELECT_INVERT",Hs="SELECT_NONE",as=[];function xi(Et,fr){var hr=[];return(Et||[]).forEach(function(Sr){hr.push(Sr),Sr&&Object(B.a)(Sr)==="object"&&fr in Sr&&(hr=[].concat(Object(f.a)(hr),Object(f.a)(xi(Sr[fr],fr))))}),hr}function Os(Et,fr){var hr=Et||{},Sr=hr.preserveSelectedRowKeys,Er=hr.selectedRowKeys,Wr=hr.defaultSelectedRowKeys,nn=hr.getCheckboxProps,Zr=hr.onChange,Gr=hr.onSelect,gn=hr.onSelectAll,On=hr.onSelectInvert,cn=hr.onSelectNone,Dn=hr.onSelectMultiple,Mn=hr.columnWidth,Yn=hr.type,$n=hr.selections,Tn=hr.fixed,ea=hr.renderCell,Kn=hr.hideSelectAll,Fa=hr.checkStrictly,Ya=Fa===void 0?!0:Fa,Va=fr.prefixCls,Ga=fr.data,vi=fr.pageData,Xa=fr.getRecordByKey,Jn=fr.getRowKey,ei=fr.expandType,Na=fr.childrenColumnName,_n=fr.locale,sa=fr.getPopupContainer,wa=Object(xo.a)(Er||Wr||as,{value:Er}),si=Object(D.a)(wa,2),Ka=si[0],ja=si[1],$a=t.useRef(new Map),Wi=Object(t.useCallback)(function(fi){if(Sr){var Ta=new Map;fi.forEach(function(Ja){var Da=Xa(Ja);!Da&&$a.current.has(Ja)&&(Da=$a.current.get(Ja)),Ta.set(Ja,Da)}),$a.current=Ta}},[Xa,Sr]);t.useEffect(function(){Wi(Ka)},[Ka]);var Vi=Object(t.useMemo)(function(){return Ya?{keyEntities:null}:Object(Ho.a)(Ga,{externalGetKey:Jn,childrenPropName:Na})},[Ga,Jn,Ya,Na]),co=Vi.keyEntities,oo=Object(t.useMemo)(function(){return xi(vi,Na)},[vi,Na]),Ki=Object(t.useMemo)(function(){var fi=new Map;return oo.forEach(function(Ta,Ja){var Da=Jn(Ta,Ja),Gn=(nn?nn(Ta):null)||{};fi.set(Da,Gn)}),fi},[oo,Jn,nn]),Gi=Object(t.useCallback)(function(fi){var Ta;return!!((Ta=Ki.get(Jn(fi)))===null||Ta===void 0?void 0:Ta.disabled)},[Ki,Jn]),Ji=Object(t.useMemo)(function(){if(Ya)return[Ka||[],[]];var fi=Object(io.a)(Ka,!0,co,Gi),Ta=fi.checkedKeys,Ja=fi.halfCheckedKeys;return[Ta||[],Ja]},[Ka,Ya,co,Gi]),pi=Object(D.a)(Ji,2),Ri=pi[0],Ii=pi[1],Fi=Object(t.useMemo)(function(){var fi=Yn==="radio"?Ri.slice(0,1):Ri;return new Set(fi)},[Ri,Yn]),Ro=Object(t.useMemo)(function(){return Yn==="radio"?new Set:new Set(Ii)},[Ii,Yn]),Zi=Object(t.useState)(null),eo=Object(D.a)(Zi,2),Ni=eo[0],ii=eo[1];t.useEffect(function(){Et||ja(as)},[!!Et]);var Yi=Object(t.useCallback)(function(fi,Ta){var Ja,Da;Wi(fi),Sr?(Ja=fi,Da=fi.map(function(Gn){return $a.current.get(Gn)})):(Ja=[],Da=[],fi.forEach(function(Gn){var mi=Xa(Gn);mi!==void 0&&(Ja.push(Gn),Da.push(mi))})),ja(Ja),Zr==null||Zr(Ja,Da,{type:Ta})},[ja,Xa,Zr,Sr]),fo=Object(t.useCallback)(function(fi,Ta,Ja,Da){if(Gr){var Gn=Ja.map(function(mi){return Xa(mi)});Gr(Xa(fi),Ta,Gn,Da)}Yi(Ja,"single")},[Gr,Xa,Yi]),fa=Object(t.useMemo)(function(){if(!$n||Kn)return null;var fi=$n===!0?[Io,Do,Hs]:$n;return fi.map(function(Ta){return Ta===Io?{key:"all",text:_n.selectionAll,onSelect:function(){Yi(Ga.map(function(Da,Gn){return Jn(Da,Gn)}).filter(function(Da){var Gn=Ki.get(Da);return!(Gn==null?void 0:Gn.disabled)||Fi.has(Da)}),"all")}}:Ta===Do?{key:"invert",text:_n.selectInvert,onSelect:function(){var Da=new Set(Fi);vi.forEach(function(mi,no){var bi=Jn(mi,no),Zn=Ki.get(bi);(Zn==null?void 0:Zn.disabled)||(Da.has(bi)?Da.delete(bi):Da.add(bi))});var Gn=Array.from(Da);On&&On(Gn),Yi(Gn,"invert")}}:Ta===Hs?{key:"none",text:_n.selectNone,onSelect:function(){cn==null||cn(),Yi(Array.from(Fi).filter(function(Da){var Gn=Ki.get(Da);return Gn==null?void 0:Gn.disabled}),"none")}}:Ta}).map(function(Ta){return Object(w.a)(Object(w.a)({},Ta),{onSelect:function(){for(var Da,Gn,mi=arguments.length,no=new Array(mi),bi=0;bi<mi;bi++)no[bi]=arguments[bi];(Gn=Ta.onSelect)===null||Gn===void 0||(Da=Gn).call.apply(Da,[Ta].concat(no)),ii(null)}})})},[$n,Fi,vi,Jn,On,Yi]),uo=Object(t.useCallback)(function(fi){var Ta;if(!Et)return fi.filter(function(da){return da!==Vo});var Ja=Object(f.a)(fi),Da=new Set(Fi),Gn=oo.map(Jn).filter(function(da){return!Ki.get(da).disabled}),mi=Gn.every(function(da){return Da.has(da)}),no=Gn.some(function(da){return Da.has(da)}),bi=function(){var Pa=[];mi?Gn.forEach(function(go){Da.delete(go),Pa.push(go)}):Gn.forEach(function(go){Da.has(go)||(Da.add(go),Pa.push(go))});var lo=Array.from(Da);gn==null||gn(!mi,lo.map(function(go){return Xa(go)}),Pa.map(function(go){return Xa(go)})),Yi(lo,"all"),ii(null)},Zn;if(Yn!=="radio"){var Qa;if(fa){var Wa={getPopupContainer:sa,items:fa.map(function(da,Pa){var lo=da.key,go=da.text,Po=da.onSelect;return{key:lo||Pa,onClick:function(){Po==null||Po(Gn)},label:go}})};Qa=t.createElement("div",{className:"".concat(Va,"-selection-extra")},t.createElement(Ir.a,{menu:Wa,getPopupContainer:sa},t.createElement("span",null,t.createElement(Lo.a,null))))}var to=oo.map(function(da,Pa){var lo=Jn(da,Pa),go=Ki.get(lo)||{};return Object(w.a)({checked:Da.has(lo)},go)}).filter(function(da){var Pa=da.disabled;return Pa}),Ci=!!to.length&&to.length===oo.length,Ao=Ci&&to.every(function(da){var Pa=da.checked;return Pa}),jo=Ci&&to.some(function(da){var Pa=da.checked;return Pa});Zn=!Kn&&t.createElement("div",{className:"".concat(Va,"-selection")},t.createElement(Hn.a,{checked:Ci?Ao:!!oo.length&&mi,indeterminate:Ci?!Ao&&jo:!mi&&no,onChange:bi,disabled:oo.length===0||Ci,skipGroup:!0}),Qa)}var es;Yn==="radio"?es=function(Pa,lo,go){var Po=Jn(lo,go),bo=Da.has(Po);return{node:t.createElement(Hr.a,Object(w.a)({},Ki.get(Po),{checked:bo,onClick:function(rs){return rs.stopPropagation()},onChange:function(rs){Da.has(Po)||fo(Po,!0,[Po],rs.nativeEvent)}})),checked:bo}}:es=function(Pa,lo,go){var Po,bo=Jn(lo,go),So=Da.has(bo),rs=Ro.has(bo),is=Ki.get(bo),Is;return ei==="nest"?Is=rs:Is=(Po=is==null?void 0:is.indeterminate)!==null&&Po!==void 0?Po:rs,{node:t.createElement(Hn.a,Object(w.a)({},is,{indeterminate:Is,checked:So,skipGroup:!0,onClick:function(ps){return ps.stopPropagation()},onChange:function(ps){var $o=ps.nativeEvent,ms=$o.shiftKey,os=-1,_o=-1;if(ms&&Ya){var Fs=new Set([Ni,bo]);Gn.some(function(ur,br){if(Fs.has(ur))if(os===-1)os=br;else return _o=br,!0;return!1})}if(_o!==-1&&os!==_o&&Ya){var ss=Gn.slice(os,_o+1),us=[];So?ss.forEach(function(ur){Da.has(ur)&&(us.push(ur),Da.delete(ur))}):ss.forEach(function(ur){Da.has(ur)||(us.push(ur),Da.add(ur))});var Bt=Array.from(Da);Dn==null||Dn(!So,Bt.map(function(ur){return Xa(ur)}),us.map(function(ur){return Xa(ur)})),Yi(Bt,"multiple")}else{var X=Ri;if(Ya){var re=So?Object($i.b)(X,bo):Object($i.a)(X,bo);fo(bo,!So,re,$o)}else{var le=Object(io.a)([].concat(Object(f.a)(X),[bo]),!0,co,Gi),we=le.checkedKeys,Xe=le.halfCheckedKeys,xt=we;if(So){var tr=new Set(we);tr.delete(bo),xt=Object(io.a)(Array.from(tr),{checked:!1,halfCheckedKeys:Xe},co,Gi).checkedKeys}fo(bo,!So,xt,$o)}}ii(So?null:bo)}})),checked:So}};var ts=function(Pa,lo,go){var Po=es(Pa,lo,go),bo=Po.node,So=Po.checked;return ea?ea(So,lo,go,bo):bo};if(!Ja.includes(Vo))if(Ja.findIndex(function(da){var Pa;return((Pa=da[q])===null||Pa===void 0?void 0:Pa.columnType)==="EXPAND_COLUMN"})===0){var gs=Ja,ls=Object(_i.a)(gs),Ko=ls[0],Ps=ls.slice(1);Ja=[Ko,Vo].concat(Object(f.a)(Ps))}else Ja=[Vo].concat(Object(f.a)(Ja));var Fo=Ja.indexOf(Vo);Ja=Ja.filter(function(da,Pa){return da!==Vo||Pa===Fo});var Ei=Ja[Fo-1],Ar=Ja[Fo+1],so=Tn;so===void 0&&((Ar==null?void 0:Ar.fixed)!==void 0?so=Ar.fixed:(Ei==null?void 0:Ei.fixed)!==void 0&&(so=Ei.fixed)),so&&Ei&&((Ta=Ei[q])===null||Ta===void 0?void 0:Ta.columnType)==="EXPAND_COLUMN"&&Ei.fixed===void 0&&(Ei.fixed=so);var Ui=Object(T.a)({fixed:so,width:Mn,className:"".concat(Va,"-selection-column"),title:Et.columnTitle||Zn,render:ts},q,{className:"".concat(Va,"-selection-col")});return Ja.map(function(da){return da===Vo?Ui:da})},[Jn,oo,Et,Ri,Fi,Ro,Mn,fa,ei,Ni,Ki,Dn,fo,Gi]);return[uo,Fi]}var vs=e("0NbB"),fs={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"},ji=fs,Ke=function(fr,hr){return t.createElement(kn.a,Object(C.a)(Object(C.a)({},fr),{},{ref:hr,icon:ji}))};Ke.displayName="CaretUpOutlined";var Gt=t.forwardRef(Ke),sr=e("4IlW"),lr=e("3S7+"),Mr="ascend",Rr="descend";function Vr(Et){return Object(B.a)(Et.sorter)==="object"&&typeof Et.sorter.multiple=="number"?Et.sorter.multiple:!1}function sn(Et){return typeof Et=="function"?Et:Et&&Object(B.a)(Et)==="object"&&Et.compare?Et.compare:!1}function vn(Et,fr){return fr?Et[Et.indexOf(fr)+1]:Et[0]}function An(Et,fr,hr){var Sr=[];function Er(Wr,nn){Sr.push({column:Wr,key:Cn(Wr,nn),multiplePriority:Vr(Wr),sortOrder:Wr.sortOrder})}return(Et||[]).forEach(function(Wr,nn){var Zr=bn(nn,hr);Wr.children?("sortOrder"in Wr&&Er(Wr,Zr),Sr=[].concat(Object(f.a)(Sr),Object(f.a)(An(Wr.children,fr,Zr)))):Wr.sorter&&("sortOrder"in Wr?Er(Wr,Zr):fr&&Wr.defaultSortOrder&&Sr.push({column:Wr,key:Cn(Wr,Zr),multiplePriority:Vr(Wr),sortOrder:Wr.defaultSortOrder}))}),Sr}function Fn(Et,fr,hr,Sr,Er,Wr,nn,Zr){return(fr||[]).map(function(Gr,gn){var On=bn(gn,Zr),cn=Gr;if(cn.sorter){var Dn=cn.sortDirections||Er,Mn=cn.showSorterTooltip===void 0?nn:cn.showSorterTooltip,Yn=Cn(cn,On),$n=hr.find(function(ei){var Na=ei.key;return Na===Yn}),Tn=$n?$n.sortOrder:null,ea=vn(Dn,Tn),Kn=Dn.includes(Mr)&&t.createElement(Gt,{className:E()("".concat(Et,"-column-sorter-up"),{active:Tn===Mr}),role:"presentation"}),Fa=Dn.includes(Rr)&&t.createElement(vs.a,{className:E()("".concat(Et,"-column-sorter-down"),{active:Tn===Rr}),role:"presentation"}),Ya=Wr||{},Va=Ya.cancelSort,Ga=Ya.triggerAsc,vi=Ya.triggerDesc,Xa=Va;ea===Rr?Xa=vi:ea===Mr&&(Xa=Ga);var Jn=Object(B.a)(Mn)==="object"?Mn:{title:Xa};cn=Object(w.a)(Object(w.a)({},cn),{className:E()(cn.className,Object(T.a)({},"".concat(Et,"-column-sort"),Tn)),title:function(Na){var _n=t.createElement("div",{className:"".concat(Et,"-column-sorters")},t.createElement("span",{className:"".concat(Et,"-column-title")},Vn(Gr.title,Na)),t.createElement("span",{className:E()("".concat(Et,"-column-sorter"),Object(T.a)({},"".concat(Et,"-column-sorter-full"),!!(Kn&&Fa)))},t.createElement("span",{className:"".concat(Et,"-column-sorter-inner")},Kn,Fa)));return Mn?t.createElement(lr.a,Object(w.a)({},Jn),_n):_n},onHeaderCell:function(Na){var _n,sa=Gr.onHeaderCell&&Gr.onHeaderCell(Na)||{},wa=sa.onClick,si=sa.onKeyDown;return sa.onClick=function(Ka){Sr({column:Gr,key:Yn,sortOrder:ea,multiplePriority:Vr(Gr)}),wa==null||wa(Ka)},sa.onKeyDown=function(Ka){Ka.keyCode===sr.a.ENTER&&(Sr({column:Gr,key:Yn,sortOrder:ea,multiplePriority:Vr(Gr)}),si==null||si(Ka))},Tn?sa["aria-sort"]=Tn==="ascend"?"ascending":"descending":sa["aria-label"]="".concat(Vn(Gr.title,{})," sortable"),sa.className=E()(sa.className,"".concat(Et,"-column-has-sorters")),sa.tabIndex=0,Gr.ellipsis&&(sa.title=((_n=Vn(Gr.title,{}))!==null&&_n!==void 0?_n:"").toString()),sa}})}return"children"in cn&&(cn=Object(w.a)(Object(w.a)({},cn),{children:Fn(Et,cn.children,hr,Sr,Er,Wr,nn,On)})),cn})}function tn(Et){var fr=Et.column,hr=Et.sortOrder;return{column:fr,order:hr,field:fr.dataIndex,columnKey:fr.key}}function Kr(Et){var fr=Et.filter(function(hr){var Sr=hr.sortOrder;return Sr}).map(tn);return fr.length===0&&Et.length?Object(w.a)(Object(w.a)({},tn(Et[Et.length-1])),{column:void 0}):fr.length<=1?fr[0]||{}:fr}function on(Et,fr,hr){var Sr=fr.slice().sort(function(nn,Zr){return Zr.multiplePriority-nn.multiplePriority}),Er=Et.slice(),Wr=Sr.filter(function(nn){var Zr=nn.column.sorter,Gr=nn.sortOrder;return sn(Zr)&&Gr});return Wr.length?Er.sort(function(nn,Zr){for(var Gr=0;Gr<Wr.length;Gr+=1){var gn=Wr[Gr],On=gn.column.sorter,cn=gn.sortOrder,Dn=sn(On);if(Dn&&cn){var Mn=Dn(nn,Zr,cn);if(Mn!==0)return cn===Mr?Mn:-Mn}}return 0}).map(function(nn){var Zr=nn[hr];return Zr?Object(w.a)(Object(w.a)({},nn),Object(T.a)({},hr,on(Zr,fr,hr))):nn}):Er}function dn(Et){var fr=Et.prefixCls,hr=Et.mergedColumns,Sr=Et.onSorterChange,Er=Et.sortDirections,Wr=Et.tableLocale,nn=Et.showSorterTooltip,Zr=t.useState(An(hr,!0)),Gr=Object(D.a)(Zr,2),gn=Gr[0],On=Gr[1],cn=t.useMemo(function(){var Tn=!0,ea=An(hr,!1);if(!ea.length)return gn;var Kn=[];function Fa(Va){Tn?Kn.push(Va):Kn.push(Object(w.a)(Object(w.a)({},Va),{sortOrder:null}))}var Ya=null;return ea.forEach(function(Va){Ya===null?(Fa(Va),Va.sortOrder&&(Va.multiplePriority===!1?Tn=!1:Ya=!0)):(Ya&&Va.multiplePriority!==!1||(Tn=!1),Fa(Va))}),Kn},[hr,gn]),Dn=t.useMemo(function(){var Tn=cn.map(function(ea){var Kn=ea.column,Fa=ea.sortOrder;return{column:Kn,order:Fa}});return{sortColumns:Tn,sortColumn:Tn[0]&&Tn[0].column,sortOrder:Tn[0]&&Tn[0].order}},[cn]);function Mn(Tn){var ea;Tn.multiplePriority===!1||!cn.length||cn[0].multiplePriority===!1?ea=[Tn]:ea=[].concat(Object(f.a)(cn.filter(function(Kn){var Fa=Kn.key;return Fa!==Tn.key})),[Tn]),On(ea),Sr(Kr(ea),ea)}var Yn=function(ea){return Fn(fr,ea,cn,Mn,Er,Wr,nn)},$n=function(){return Kr(cn)};return[Yn,cn,Dn,$n]}function Bn(Et,fr){return Et.map(function(hr){var Sr=Object(w.a)({},hr);return Sr.title=Vn(hr.title,fr),"children"in Sr&&(Sr.children=Bn(Sr.children,fr)),Sr})}function wn(Et){var fr=t.useCallback(function(hr){return Bn(hr,Et)},[Et]);return[fr]}var Nn=[];function qn(Et,fr){var hr,Sr=Et.prefixCls,Er=Et.className,Wr=Et.style,nn=Et.size,Zr=Et.bordered,Gr=Et.dropdownPrefixCls,gn=Et.dataSource,On=Et.pagination,cn=Et.rowSelection,Dn=Et.rowKey,Mn=Dn===void 0?"key":Dn,Yn=Et.rowClassName,$n=Et.columns,Tn=Et.children,ea=Et.childrenColumnName,Kn=Et.onChange,Fa=Et.getPopupContainer,Ya=Et.loading,Va=Et.expandIcon,Ga=Et.expandable,vi=Et.expandedRowRender,Xa=Et.expandIconColumnIndex,Jn=Et.indentSize,ei=Et.scroll,Na=Et.sortDirections,_n=Et.locale,sa=Et.showSorterTooltip,wa=sa===void 0?!0:sa;[["filterDropdownVisible","filterDropdownOpen"],["onFilterDropdownVisibleChange","onFilterDropdownOpenChange"]].forEach(function(re){var le=Object(D.a)(re,2),we=le[0],Xe=le[1]});var si=t.useMemo(function(){return $n||pe(Tn)},[$n,Tn]),Ka=t.useMemo(function(){return si.some(function(re){return re.responsive})},[si]),ja=Object(pr.a)(Ka),$a=t.useMemo(function(){var re=new Set(Object.keys(ja).filter(function(le){return ja[le]}));return si.filter(function(le){return!le.responsive||le.responsive.some(function(we){return re.has(we)})})},[si,ja]),Wi=Object(it.a)(Et,["className","style","columns"]),Vi=t.useContext(dr.b),co=t.useContext(zt.b),oo=co.locale,Ki=oo===void 0?Tr.a:oo,Gi=co.renderEmpty,Ji=co.direction,pi=nn||Vi,Ri=Object(w.a)(Object(w.a)({},Ki.Table),_n),Ii=gn||Nn,Fi=t.useContext(zt.b),Ro=Fi.getPrefixCls,Zi=Ro("table",Sr),eo=Ro("dropdown",Gr),Ni=Object(w.a)({childrenColumnName:ea,expandIconColumnIndex:Xa},Ga),ii=Ni.childrenColumnName,Yi=ii===void 0?"children":ii,fo=t.useMemo(function(){return Ii.some(function(re){return re==null?void 0:re[Yi]})?"nest":vi||Ga&&Ga.expandedRowRender?"row":null},[Ii]),fa={body:t.useRef()},uo=t.useMemo(function(){return typeof Mn=="function"?Mn:function(re){return re==null?void 0:re[Mn]}},[Mn]),fi=ta(Ii,Yi,uo),Ta=Object(D.a)(fi,1),Ja=Ta[0],Da={},Gn=function(le,we){var Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xt=Object(w.a)(Object(w.a)({},Da),le);Xe&&(Da.resetPagination(),xt.pagination.current&&(xt.pagination.current=1),On&&On.onChange&&On.onChange(1,xt.pagination.pageSize)),ei&&ei.scrollToFirstRowOnChange!==!1&&fa.body.current&&Object(Jr.a)(0,{getContainer:function(){return fa.body.current}}),Kn==null||Kn(xt.pagination,xt.filters,xt.sorter,{currentDataSource:Hi(on(Ii,xt.sorterStates,Yi),xt.filterStates),action:we})},mi=function(le,we){Gn({sorter:le,sorterStates:we},"sort",!1)},no=dn({prefixCls:Zi,mergedColumns:$a,onSorterChange:mi,sortDirections:Na||["ascend","descend"],tableLocale:Ri,showSorterTooltip:wa}),bi=Object(D.a)(no,4),Zn=bi[0],Qa=bi[1],Wa=bi[2],to=bi[3],Ci=t.useMemo(function(){return on(Ii,Qa,Yi)},[Ii,Qa]);Da.sorter=to(),Da.sorterStates=Qa;var Ao=function(le,we){Gn({filters:le,filterStates:we},"filter",!0)},jo=Qi({prefixCls:Zi,locale:Ri,dropdownPrefixCls:eo,mergedColumns:$a,onFilterChange:Ao,getPopupContainer:Fa}),es=Object(D.a)(jo,3),ts=es[0],gs=es[1],ls=es[2],Ko=Hi(Ci,gs);Da.filters=ls,Da.filterStates=gs;var Ps=t.useMemo(function(){var re={};return Object.keys(ls).forEach(function(le){ls[le]!==null&&(re[le]=ls[le])}),Object(w.a)(Object(w.a)({},Wa),{filters:re})},[Wa,ls]),Fo=wn(Ps),Ei=Object(D.a)(Fo,1),Ar=Ei[0],so=function(le,we){Gn({pagination:Object(w.a)(Object(w.a)({},Da.pagination),{current:le,pageSize:we})},"paginate")},Ui=di(Ko.length,On,so),da=Object(D.a)(Ui,2),Pa=da[0],lo=da[1];Da.pagination=On===!1?{}:Ca(On,Pa),Da.resetPagination=lo;var go=t.useMemo(function(){if(On===!1||!Pa.pageSize)return Ko;var re=Pa.current,le=re===void 0?1:re,we=Pa.total,Xe=Pa.pageSize,xt=Xe===void 0?qr:Xe;return Ko.length<we?Ko.length>xt?Ko.slice((le-1)*xt,le*xt):Ko:Ko.slice((le-1)*xt,le*xt)},[!!On,Ko,Pa&&Pa.current,Pa&&Pa.pageSize,Pa&&Pa.total]),Po=Os(cn,{prefixCls:Zi,data:Ko,pageData:go,getRowKey:uo,getRecordByKey:Ja,expandType:fo,childrenColumnName:Yi,locale:Ri,getPopupContainer:Fa}),bo=Object(D.a)(Po,2),So=bo[0],rs=bo[1],is=function(le,we,Xe){var xt;return typeof Yn=="function"?xt=E()(Yn(le,we,Xe)):xt=E()(Yn),E()(Object(T.a)({},"".concat(Zi,"-row-selected"),rs.has(uo(le,we))),xt)};Ni.__PARENT_RENDER_ICON__=Ni.expandIcon,Ni.expandIcon=Ni.expandIcon||Va||Qn(Ri),fo==="nest"&&Ni.expandIconColumnIndex===void 0?Ni.expandIconColumnIndex=cn?1:0:Ni.expandIconColumnIndex>0&&cn&&(Ni.expandIconColumnIndex-=1),typeof Ni.indentSize!="number"&&(Ni.indentSize=typeof Jn=="number"?Jn:15);var Is=t.useCallback(function(re){return Ar(So(ts(Zn(re))))},[Zn,ts,So]),ds,ps;if(On!==!1&&(Pa==null?void 0:Pa.total)){var $o;Pa.size?$o=Pa.size:$o=pi==="small"||pi==="middle"?"small":void 0;var ms=function(le){return t.createElement(Lr.a,Object(w.a)({},Pa,{className:E()("".concat(Zi,"-pagination ").concat(Zi,"-pagination-").concat(le),Pa.className),size:$o}))},os=Ji==="rtl"?"left":"right",_o=Pa.position;if(_o!==null&&Array.isArray(_o)){var Fs=_o.find(function(re){return re.includes("top")}),ss=_o.find(function(re){return re.includes("bottom")}),us=_o.every(function(re){return"".concat(re)==="none"});!Fs&&!ss&&!us&&(ps=ms(os)),Fs&&(ds=ms(Fs.toLowerCase().replace("top",""))),ss&&(ps=ms(ss.toLowerCase().replace("bottom","")))}else ps=ms(os)}var Bt;typeof Ya=="boolean"?Bt={spinning:Ya}:Object(B.a)(Ya)==="object"&&(Bt=Object(w.a)({spinning:!0},Ya));var X=E()("".concat(Zi,"-wrapper"),Object(T.a)({},"".concat(Zi,"-wrapper-rtl"),Ji==="rtl"),Er);return t.createElement("div",{ref:fr,className:X,style:Wr},t.createElement(Yr.a,Object(w.a)({spinning:!1},Bt),ds,t.createElement(ot,Object(w.a)({},Wi,{columns:$a,direction:Ji,expandable:Ni,prefixCls:Zi,className:E()((hr={},Object(T.a)(hr,"".concat(Zi,"-middle"),pi==="middle"),Object(T.a)(hr,"".concat(Zi,"-small"),pi==="small"),Object(T.a)(hr,"".concat(Zi,"-bordered"),Zr),Object(T.a)(hr,"".concat(Zi,"-empty"),Ii.length===0),hr)),data:go,rowKey:uo,rowClassName:is,emptyText:_n&&_n.emptyText||(Gi||ar.a)("Table"),internalHooks:Nt,internalRefs:fa,transformColumns:Is})),ps))}var Ra=t.forwardRef(qn),hi=Ra;hi.SELECTION_COLUMN=Vo,hi.EXPAND_COLUMN=ot.EXPAND_COLUMN,hi.SELECTION_ALL=Io,hi.SELECTION_INVERT=Do,hi.SELECTION_NONE=Hs,hi.Column=yr,hi.ColumnGroup=xn,hi.Summary=vt;var na=hi,Ba=V.a=na},wDdD:function(oe,V,e){var B=e("ProS"),T=e("bYtY");e("98bh"),e("GrNh");var w=e("d4KN"),D=e("mOdp"),I=e("KS52"),E=e("0/Rx");w("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),B.registerVisual(D("pie")),B.registerLayout(T.curry(I,"pie")),B.registerProcessor(E("pie"))},wOnQ:function(oe,V,e){/*!
|
|
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
|
* Released under MIT License
|
|
|
*/(function(B,T){oe.exports=T()})(this,function(){"use strict";/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var B=function(G,ee){return B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ve,Fe){ve.__proto__=Fe}||function(ve,Fe){for(var yt in Fe)Object.prototype.hasOwnProperty.call(Fe,yt)&&(ve[yt]=Fe[yt])},B(G,ee)};function T(Lt,G){if(typeof G!="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");B(Lt,G);function ee(){this.constructor=Lt}Lt.prototype=G===null?Object.create(G):(ee.prototype=G.prototype,new ee)}var w=function(){return w=Object.assign||function(ee){for(var ve,Fe=1,yt=arguments.length;Fe<yt;Fe++){ve=arguments[Fe];for(var er in ve)Object.prototype.hasOwnProperty.call(ve,er)&&(ee[er]=ve[er])}return ee},w.apply(this,arguments)};function D(Lt,G,ee,ve){function Fe(yt){return yt instanceof ee?yt:new ee(function(er){er(yt)})}return new(ee||(ee=Promise))(function(yt,er){function cr(ln){try{Or(ve.next(ln))}catch(en){er(en)}}function gr(ln){try{Or(ve.throw(ln))}catch(en){er(en)}}function Or(ln){ln.done?yt(ln.value):Fe(ln.value).then(cr,gr)}Or((ve=ve.apply(Lt,G||[])).next())})}function I(Lt,G){var ee={label:0,sent:function(){if(yt[0]&1)throw yt[1];return yt[1]},trys:[],ops:[]},ve,Fe,yt,er;return er={next:cr(0),throw:cr(1),return:cr(2)},typeof Symbol=="function"&&(er[Symbol.iterator]=function(){return this}),er;function cr(Or){return function(ln){return gr([Or,ln])}}function gr(Or){if(ve)throw new TypeError("Generator is already executing.");for(;ee;)try{if(ve=1,Fe&&(yt=Or[0]&2?Fe.return:Or[0]?Fe.throw||((yt=Fe.return)&&yt.call(Fe),0):Fe.next)&&!(yt=yt.call(Fe,Or[1])).done)return yt;switch(Fe=0,yt&&(Or=[Or[0]&2,yt.value]),Or[0]){case 0:case 1:yt=Or;break;case 4:return ee.label++,{value:Or[1],done:!1};case 5:ee.label++,Fe=Or[1],Or=[0];continue;case 7:Or=ee.ops.pop(),ee.trys.pop();continue;default:if(yt=ee.trys,!(yt=yt.length>0&&yt[yt.length-1])&&(Or[0]===6||Or[0]===2)){ee=0;continue}if(Or[0]===3&&(!yt||Or[1]>yt[0]&&Or[1]<yt[3])){ee.label=Or[1];break}if(Or[0]===6&&ee.label<yt[1]){ee.label=yt[1],yt=Or;break}if(yt&&ee.label<yt[2]){ee.label=yt[2],ee.ops.push(Or);break}yt[2]&&ee.ops.pop(),ee.trys.pop();continue}Or=G.call(Lt,ee)}catch(ln){Or=[6,ln],Fe=0}finally{ve=yt=0}if(Or[0]&5)throw Or[1];return{value:Or[0]?Or[1]:void 0,done:!0}}}function E(Lt,G,ee){if(ee||arguments.length===2)for(var ve=0,Fe=G.length,yt;ve<Fe;ve++)(yt||!(ve in G))&&(yt||(yt=Array.prototype.slice.call(G,0,ve)),yt[ve]=G[ve]);return Lt.concat(yt||G)}for(var C=function(){function Lt(G,ee,ve,Fe){this.left=G,this.top=ee,this.width=ve,this.height=Fe}return Lt.prototype.add=function(G,ee,ve,Fe){return new Lt(this.left+G,this.top+ee,this.width+ve,this.height+Fe)},Lt.fromClientRect=function(G,ee){return new Lt(ee.left+G.windowBounds.left,ee.top+G.windowBounds.top,ee.width,ee.height)},Lt.fromDOMRectList=function(G,ee){var ve=Array.from(ee).find(function(Fe){return Fe.width!==0});return ve?new Lt(ve.left+G.windowBounds.left,ve.top+G.windowBounds.top,ve.width,ve.height):Lt.EMPTY},Lt.EMPTY=new Lt(0,0,0,0),Lt}(),f=function(G,ee){return C.fromClientRect(G,ee.getBoundingClientRect())},t=function(G){var ee=G.body,ve=G.documentElement;if(!ee||!ve)throw new Error("Unable to get document size");var Fe=Math.max(Math.max(ee.scrollWidth,ve.scrollWidth),Math.max(ee.offsetWidth,ve.offsetWidth),Math.max(ee.clientWidth,ve.clientWidth)),yt=Math.max(Math.max(ee.scrollHeight,ve.scrollHeight),Math.max(ee.offsetHeight,ve.offsetHeight),Math.max(ee.clientHeight,ve.clientHeight));return new C(0,0,Fe,yt)},i=function(G){for(var ee=[],ve=0,Fe=G.length;ve<Fe;){var yt=G.charCodeAt(ve++);if(yt>=55296&&yt<=56319&&ve<Fe){var er=G.charCodeAt(ve++);(er&64512)==56320?ee.push(((yt&1023)<<10)+(er&1023)+65536):(ee.push(yt),ve--)}else ee.push(yt)}return ee},s=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,G);var ve=G.length;if(!ve)return"";for(var Fe=[],yt=-1,er="";++yt<ve;){var cr=G[yt];cr<=65535?Fe.push(cr):(cr-=65536,Fe.push((cr>>10)+55296,cr%1024+56320)),(yt+1===ve||Fe.length>16384)&&(er+=String.fromCharCode.apply(String,Fe),Fe.length=0)}return er},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),u=0;u<o.length;u++)r[o.charCodeAt(u)]=u;for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),a=0;a<n.length;a++)l[n.charCodeAt(a)]=a;for(var c=function(G){var ee=G.length*.75,ve=G.length,Fe,yt=0,er,cr,gr,Or;G[G.length-1]==="="&&(ee--,G[G.length-2]==="="&&ee--);var ln=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ee):new Array(ee),en=Array.isArray(ln)?ln:new Uint8Array(ln);for(Fe=0;Fe<ve;Fe+=4)er=l[G.charCodeAt(Fe)],cr=l[G.charCodeAt(Fe+1)],gr=l[G.charCodeAt(Fe+2)],Or=l[G.charCodeAt(Fe+3)],en[yt++]=er<<2|cr>>4,en[yt++]=(cr&15)<<4|gr>>2,en[yt++]=(gr&3)<<6|Or&63;return ln},d=function(G){for(var ee=G.length,ve=[],Fe=0;Fe<ee;Fe+=2)ve.push(G[Fe+1]<<8|G[Fe]);return ve},h=function(G){for(var ee=G.length,ve=[],Fe=0;Fe<ee;Fe+=4)ve.push(G[Fe+3]<<24|G[Fe+2]<<16|G[Fe+1]<<8|G[Fe]);return ve},y=5,A=6+5,v=2,g=A-y,x=65536>>y,m=1<<y,b=m-1,S=1024>>y,P=x+S,M=P,R=2048>>6,F=M+R,L=65536>>A,U=1<<g,N=U-1,Q=function(G,ee,ve){return G.slice?G.slice(ee,ve):new Uint16Array(Array.prototype.slice.call(G,ee,ve))},z=function(G,ee,ve){return G.slice?G.slice(ee,ve):new Uint32Array(Array.prototype.slice.call(G,ee,ve))},_=function(G,ee){var ve=c(G),Fe=Array.isArray(ve)?h(ve):new Uint32Array(ve),yt=Array.isArray(ve)?d(ve):new Uint16Array(ve),er=24,cr=Q(yt,er/2,Fe[4]/2),gr=Fe[5]===2?Q(yt,(er+Fe[4])/2):z(Fe,Math.ceil((er+Fe[4])/4));return new J(Fe[0],Fe[1],Fe[2],Fe[3],cr,gr)},J=function(){function Lt(G,ee,ve,Fe,yt,er){this.initialValue=G,this.errorValue=ee,this.highStart=ve,this.highValueIndex=Fe,this.index=yt,this.data=er}return Lt.prototype.get=function(G){var ee;if(G>=0){if(G<55296||G>56319&&G<=65535)return ee=this.index[G>>y],ee=(ee<<v)+(G&b),this.data[ee];if(G<=65535)return ee=this.index[x+(G-55296>>y)],ee=(ee<<v)+(G&b),this.data[ee];if(G<this.highStart)return ee=F-L+(G>>A),ee=this.index[ee],ee+=G>>y&N,ee=this.index[ee],ee=(ee<<v)+(G&b),this.data[ee];if(G<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Lt}(),Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),W=0;W<Y.length;W++)k[Y.charCodeAt(W)]=W;var ie="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",fe=50,Ce=1,ge=2,de=3,Pe=4,_e=5,Ne=7,He=8,ue=9,Re=10,nt=11,Ve=12,Ge=13,dt=14,et=15,At=16,Dt=17,Ft=18,St=19,$e=20,lt=21,Ut=22,gt=23,ft=24,rt=25,Ie=26,Ot=27,Xt=28,Vt=29,bt=30,It=31,Kt=32,Se=33,Ye=34,q=35,Ae=36,Me=37,De=38,ze=39,pe=40,te=41,be=42,xe=43,Z=[9001,65288],se="!",he="\xD7",Oe="\xF7",ne=_(ie),ce=[bt,Ae],ae=[Ce,ge,de,_e],Ee=[Re,He],ye=[Ot,Ie],Te=ae.concat(Ee),je=[De,ze,pe,Ye,q],qe=[et,Ge],Le=function(G,ee){ee===void 0&&(ee="strict");var ve=[],Fe=[],yt=[];return G.forEach(function(er,cr){var gr=ne.get(er);if(gr>fe?(yt.push(!0),gr-=fe):yt.push(!1),["normal","auto","loose"].indexOf(ee)!==-1&&[8208,8211,12316,12448].indexOf(er)!==-1)return Fe.push(cr),ve.push(At);if(gr===Pe||gr===nt){if(cr===0)return Fe.push(cr),ve.push(bt);var Or=ve[cr-1];return Te.indexOf(Or)===-1?(Fe.push(Fe[cr-1]),ve.push(Or)):(Fe.push(cr),ve.push(bt))}if(Fe.push(cr),gr===It)return ve.push(ee==="strict"?lt:Me);if(gr===be||gr===Vt)return ve.push(bt);if(gr===xe)return er>=131072&&er<=196605||er>=196608&&er<=262141?ve.push(Me):ve.push(bt);ve.push(gr)}),[Fe,ve,yt]},ke=function(G,ee,ve,Fe){var yt=Fe[ve];if(Array.isArray(G)?G.indexOf(yt)!==-1:G===yt)for(var er=ve;er<=Fe.length;){er++;var cr=Fe[er];if(cr===ee)return!0;if(cr!==Re)break}if(yt===Re)for(var er=ve;er>0;){er--;var gr=Fe[er];if(Array.isArray(G)?G.indexOf(gr)!==-1:G===gr)for(var Or=ve;Or<=Fe.length;){Or++;var cr=Fe[Or];if(cr===ee)return!0;if(cr!==Re)break}if(gr!==Re)break}return!1},tt=function(G,ee){for(var ve=G;ve>=0;){var Fe=ee[ve];if(Fe===Re)ve--;else return Fe}return 0},st=function(G,ee,ve,Fe,yt){if(ve[Fe]===0)return he;var er=Fe-1;if(Array.isArray(yt)&&yt[er]===!0)return he;var cr=er-1,gr=er+1,Or=ee[er],ln=cr>=0?ee[cr]:0,en=ee[gr];if(Or===ge&&en===de)return he;if(ae.indexOf(Or)!==-1)return se;if(ae.indexOf(en)!==-1||Ee.indexOf(en)!==-1)return he;if(tt(er,ee)===He)return Oe;if(ne.get(G[er])===nt||(Or===Kt||Or===Se)&&ne.get(G[gr])===nt||Or===Ne||en===Ne||Or===ue||[Re,Ge,et].indexOf(Or)===-1&&en===ue||[Dt,Ft,St,ft,Xt].indexOf(en)!==-1||tt(er,ee)===Ut||ke(gt,Ut,er,ee)||ke([Dt,Ft],lt,er,ee)||ke(Ve,Ve,er,ee))return he;if(Or===Re)return Oe;if(Or===gt||en===gt)return he;if(en===At||Or===At)return Oe;if([Ge,et,lt].indexOf(en)!==-1||Or===dt||ln===Ae&&qe.indexOf(Or)!==-1||Or===Xt&&en===Ae||en===$e||ce.indexOf(en)!==-1&&Or===rt||ce.indexOf(Or)!==-1&&en===rt||Or===Ot&&[Me,Kt,Se].indexOf(en)!==-1||[Me,Kt,Se].indexOf(Or)!==-1&&en===Ie||ce.indexOf(Or)!==-1&&ye.indexOf(en)!==-1||ye.indexOf(Or)!==-1&&ce.indexOf(en)!==-1||[Ot,Ie].indexOf(Or)!==-1&&(en===rt||[Ut,et].indexOf(en)!==-1&&ee[gr+1]===rt)||[Ut,et].indexOf(Or)!==-1&&en===rt||Or===rt&&[rt,Xt,ft].indexOf(en)!==-1)return he;if([rt,Xt,ft,Dt,Ft].indexOf(en)!==-1)for(var fn=er;fn>=0;){var ua=ee[fn];if(ua===rt)return he;if([Xt,ft].indexOf(ua)!==-1)fn--;else break}if([Ot,Ie].indexOf(en)!==-1)for(var fn=[Dt,Ft].indexOf(Or)!==-1?cr:er;fn>=0;){var ua=ee[fn];if(ua===rt)return he;if([Xt,ft].indexOf(ua)!==-1)fn--;else break}if(De===Or&&[De,ze,Ye,q].indexOf(en)!==-1||[ze,Ye].indexOf(Or)!==-1&&[ze,pe].indexOf(en)!==-1||[pe,q].indexOf(Or)!==-1&&en===pe||je.indexOf(Or)!==-1&&[$e,Ie].indexOf(en)!==-1||je.indexOf(en)!==-1&&Or===Ot||ce.indexOf(Or)!==-1&&ce.indexOf(en)!==-1||Or===ft&&ce.indexOf(en)!==-1||ce.concat(rt).indexOf(Or)!==-1&&en===Ut&&Z.indexOf(G[gr])===-1||ce.concat(rt).indexOf(en)!==-1&&Or===Ft)return he;if(Or===te&&en===te){for(var pa=ve[er],_a=1;pa>0&&(pa--,ee[pa]===te);)_a++;if(_a%2!=0)return he}return Or===Kt&&en===Se?he:Oe},_t=function(G,ee){ee||(ee={lineBreak:"normal",wordBreak:"normal"});var ve=Le(G,ee.lineBreak),Fe=ve[0],yt=ve[1],er=ve[2];(ee.wordBreak==="break-all"||ee.wordBreak==="break-word")&&(yt=yt.map(function(gr){return[rt,bt,be].indexOf(gr)!==-1?Me:gr}));var cr=ee.wordBreak==="keep-all"?er.map(function(gr,Or){return gr&&G[Or]>=19968&&G[Or]<=40959}):void 0;return[Fe,yt,cr]},Ct=function(){function Lt(G,ee,ve,Fe){this.codePoints=G,this.required=ee===se,this.start=ve,this.end=Fe}return Lt.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},Lt}(),Rt=function(G,ee){var ve=i(G),Fe=_t(ve,ee),yt=Fe[0],er=Fe[1],cr=Fe[2],gr=ve.length,Or=0,ln=0;return{next:function(){if(ln>=gr)return{done:!0,value:null};for(var fn=he;ln<gr&&(fn=st(ve,er,yt,++ln,cr))===he;);if(fn!==he||ln===gr){var ua=new Ct(ve,fn,Or,ln);return Or=ln,{value:ua,done:!1}}return{done:!0,value:null}}}},Wt=1<<0,vt=1<<1,Je=1<<2,Yt=1<<3,Ht=10,nr=47,ir=92,Zt=9,Mt=32,pt=34,Tt=61,mt=35,Jt=36,or=37,ut=39,ht=40,qt=41,Nt=95,Qt=45,at=33,Ue=60,ot=62,it=64,zt=91,ar=93,dr=61,pr=123,Tr=63,Lr=125,Yr=124,Jr=126,hn=128,yr=65533,zn=42,xn=43,In=44,Qn=58,Cn=59,bn=46,Wn=0,Vn=8,oa=11,kr=14,kn=31,Pn=127,Ma=-1,Oa=48,ba=97,La=101,Hn=102,Ir=117,xr=122,Xr=65,Cr=69,Hr=70,Fr=85,jr=90,wr=function(G){return G>=Oa&&G<=57},pn=function(G){return G>=55296&&G<=57343},un=function(G){return wr(G)||G>=Xr&&G<=Hr||G>=ba&&G<=Hn},jn=function(G){return G>=ba&&G<=xr},Xn=function(G){return G>=Xr&&G<=jr},ca=function(G){return jn(G)||Xn(G)},ti=function(G){return G>=hn},Ia=function(G){return G===Ht||G===Zt||G===Mt},aa=function(G){return ca(G)||ti(G)||G===Nt},za=function(G){return aa(G)||wr(G)||G===Qt},ci=function(G){return G>=Wn&&G<=Vn||G===oa||G>=kr&&G<=kn||G===Pn},qa=function(G,ee){return G!==ir?!1:ee!==Ht},yi=function(G,ee,ve){return G===Qt?aa(ee)||qa(ee,ve):aa(G)?!0:!!(G===ir&&qa(G,ee))},Li=function(G,ee,ve){return G===xn||G===Qt?wr(ee)?!0:ee===bn&&wr(ve):wr(G===bn?ee:G)},ha=function(G){var ee=0,ve=1;(G[ee]===xn||G[ee]===Qt)&&(G[ee]===Qt&&(ve=-1),ee++);for(var Fe=[];wr(G[ee]);)Fe.push(G[ee++]);var yt=Fe.length?parseInt(s.apply(void 0,Fe),10):0;G[ee]===bn&&ee++;for(var er=[];wr(G[ee]);)er.push(G[ee++]);var cr=er.length,gr=cr?parseInt(s.apply(void 0,er),10):0;(G[ee]===Cr||G[ee]===La)&&ee++;var Or=1;(G[ee]===xn||G[ee]===Qt)&&(G[ee]===Qt&&(Or=-1),ee++);for(var ln=[];wr(G[ee]);)ln.push(G[ee++]);var en=ln.length?parseInt(s.apply(void 0,ln),10):0;return ve*(yt+gr*Math.pow(10,-cr))*Math.pow(10,Or*en)},ka={type:2},Hi={type:3},ao={type:4},Qi={type:13},ta={type:8},la={type:21},qr={type:9},Ca={type:10},li={type:11},di={type:12},_i={type:14},Lo={type:23},$i={type:1},io={type:25},Ho={type:24},xo={type:26},Vo={type:27},Io={type:28},Do={type:29},Hs={type:31},as={type:32},xi=function(){function Lt(){this._value=[]}return Lt.prototype.write=function(G){this._value=this._value.concat(i(G))},Lt.prototype.read=function(){for(var G=[],ee=this.consumeToken();ee!==as;)G.push(ee),ee=this.consumeToken();return G},Lt.prototype.consumeToken=function(){var G=this.consumeCodePoint();switch(G){case pt:return this.consumeStringToken(pt);case mt:var ee=this.peekCodePoint(0),ve=this.peekCodePoint(1),Fe=this.peekCodePoint(2);if(za(ee)||qa(ve,Fe)){var yt=yi(ee,ve,Fe)?vt:Wt,er=this.consumeName();return{type:5,value:er,flags:yt}}break;case Jt:if(this.peekCodePoint(0)===Tt)return this.consumeCodePoint(),Qi;break;case ut:return this.consumeStringToken(ut);case ht:return ka;case qt:return Hi;case zn:if(this.peekCodePoint(0)===Tt)return this.consumeCodePoint(),_i;break;case xn:if(Li(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case In:return ao;case Qt:var cr=G,gr=this.peekCodePoint(0),Or=this.peekCodePoint(1);if(Li(cr,gr,Or))return this.reconsumeCodePoint(G),this.consumeNumericToken();if(yi(cr,gr,Or))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();if(gr===Qt&&Or===ot)return this.consumeCodePoint(),this.consumeCodePoint(),Ho;break;case bn:if(Li(G,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(G),this.consumeNumericToken();break;case nr:if(this.peekCodePoint(0)===zn)for(this.consumeCodePoint();;){var ln=this.consumeCodePoint();if(ln===zn&&(ln=this.consumeCodePoint(),ln===nr))return this.consumeToken();if(ln===Ma)return this.consumeToken()}break;case Qn:return xo;case Cn:return Vo;case Ue:if(this.peekCodePoint(0)===at&&this.peekCodePoint(1)===Qt&&this.peekCodePoint(2)===Qt)return this.consumeCodePoint(),this.consumeCodePoint(),io;break;case it:var en=this.peekCodePoint(0),fn=this.peekCodePoint(1),ua=this.peekCodePoint(2);if(yi(en,fn,ua)){var er=this.consumeName();return{type:7,value:er}}break;case zt:return Io;case ir:if(qa(G,this.peekCodePoint(0)))return this.reconsumeCodePoint(G),this.consumeIdentLikeToken();break;case ar:return Do;case dr:if(this.peekCodePoint(0)===Tt)return this.consumeCodePoint(),ta;break;case pr:return li;case Lr:return di;case Ir:case Fr:var pa=this.peekCodePoint(0),_a=this.peekCodePoint(1);return pa===xn&&(un(_a)||_a===Tr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(G),this.consumeIdentLikeToken();case Yr:if(this.peekCodePoint(0)===Tt)return this.consumeCodePoint(),qr;if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),la;break;case Jr:if(this.peekCodePoint(0)===Tt)return this.consumeCodePoint(),Ca;break;case Ma:return as}return Ia(G)?(this.consumeWhiteSpace(),Hs):wr(G)?(this.reconsumeCodePoint(G),this.consumeNumericToken()):aa(G)?(this.reconsumeCodePoint(G),this.consumeIdentLikeToken()):{type:6,value:s(G)}},Lt.prototype.consumeCodePoint=function(){var G=this._value.shift();return typeof G=="undefined"?-1:G},Lt.prototype.reconsumeCodePoint=function(G){this._value.unshift(G)},Lt.prototype.peekCodePoint=function(G){return G>=this._value.length?-1:this._value[G]},Lt.prototype.consumeUnicodeRangeToken=function(){for(var G=[],ee=this.consumeCodePoint();un(ee)&&G.length<6;)G.push(ee),ee=this.consumeCodePoint();for(var ve=!1;ee===Tr&&G.length<6;)G.push(ee),ee=this.consumeCodePoint(),ve=!0;if(ve){var Fe=parseInt(s.apply(void 0,G.map(function(gr){return gr===Tr?Oa:gr})),16),yt=parseInt(s.apply(void 0,G.map(function(gr){return gr===Tr?Hr:gr})),16);return{type:30,start:Fe,end:yt}}var er=parseInt(s.apply(void 0,G),16);if(this.peekCodePoint(0)===Qt&&un(this.peekCodePoint(1))){this.consumeCodePoint(),ee=this.consumeCodePoint();for(var cr=[];un(ee)&&cr.length<6;)cr.push(ee),ee=this.consumeCodePoint();var yt=parseInt(s.apply(void 0,cr),16);return{type:30,start:er,end:yt}}else return{type:30,start:er,end:er}},Lt.prototype.consumeIdentLikeToken=function(){var G=this.consumeName();return G.toLowerCase()==="url"&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:G}):{type:20,value:G}},Lt.prototype.consumeUrlToken=function(){var G=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ma)return{type:22,value:""};var ee=this.peekCodePoint(0);if(ee===ut||ee===pt){var ve=this.consumeStringToken(this.consumeCodePoint());return ve.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Ma||this.peekCodePoint(0)===qt)?(this.consumeCodePoint(),{type:22,value:ve.value}):(this.consumeBadUrlRemnants(),Lo)}for(;;){var Fe=this.consumeCodePoint();if(Fe===Ma||Fe===qt)return{type:22,value:s.apply(void 0,G)};if(Ia(Fe))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Ma||this.peekCodePoint(0)===qt?(this.consumeCodePoint(),{type:22,value:s.apply(void 0,G)}):(this.consumeBadUrlRemnants(),Lo);if(Fe===pt||Fe===ut||Fe===ht||ci(Fe))return this.consumeBadUrlRemnants(),Lo;if(Fe===ir)if(qa(Fe,this.peekCodePoint(0)))G.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Lo;else G.push(Fe)}},Lt.prototype.consumeWhiteSpace=function(){for(;Ia(this.peekCodePoint(0));)this.consumeCodePoint()},Lt.prototype.consumeBadUrlRemnants=function(){for(;;){var G=this.consumeCodePoint();if(G===qt||G===Ma)return;qa(G,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},Lt.prototype.consumeStringSlice=function(G){for(var ee=5e4,ve="";G>0;){var Fe=Math.min(ee,G);ve+=s.apply(void 0,this._value.splice(0,Fe)),G-=Fe}return this._value.shift(),ve},Lt.prototype.consumeStringToken=function(G){var ee="",ve=0;do{var Fe=this._value[ve];if(Fe===Ma||Fe===void 0||Fe===G)return ee+=this.consumeStringSlice(ve),{type:0,value:ee};if(Fe===Ht)return this._value.splice(0,ve),$i;if(Fe===ir){var yt=this._value[ve+1];yt!==Ma&&yt!==void 0&&(yt===Ht?(ee+=this.consumeStringSlice(ve),ve=-1,this._value.shift()):qa(Fe,yt)&&(ee+=this.consumeStringSlice(ve),ee+=s(this.consumeEscapedCodePoint()),ve=-1))}ve++}while(!0)},Lt.prototype.consumeNumber=function(){var G=[],ee=Je,ve=this.peekCodePoint(0);for((ve===xn||ve===Qt)&&G.push(this.consumeCodePoint());wr(this.peekCodePoint(0));)G.push(this.consumeCodePoint());ve=this.peekCodePoint(0);var Fe=this.peekCodePoint(1);if(ve===bn&&wr(Fe))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),ee=Yt;wr(this.peekCodePoint(0));)G.push(this.consumeCodePoint());ve=this.peekCodePoint(0),Fe=this.peekCodePoint(1);var yt=this.peekCodePoint(2);if((ve===Cr||ve===La)&&((Fe===xn||Fe===Qt)&&wr(yt)||wr(Fe)))for(G.push(this.consumeCodePoint(),this.consumeCodePoint()),ee=Yt;wr(this.peekCodePoint(0));)G.push(this.consumeCodePoint());return[ha(G),ee]},Lt.prototype.consumeNumericToken=function(){var G=this.consumeNumber(),ee=G[0],ve=G[1],Fe=this.peekCodePoint(0),yt=this.peekCodePoint(1),er=this.peekCodePoint(2);if(yi(Fe,yt,er)){var cr=this.consumeName();return{type:15,number:ee,flags:ve,unit:cr}}return Fe===or?(this.consumeCodePoint(),{type:16,number:ee,flags:ve}):{type:17,number:ee,flags:ve}},Lt.prototype.consumeEscapedCodePoint=function(){var G=this.consumeCodePoint();if(un(G)){for(var ee=s(G);un(this.peekCodePoint(0))&&ee.length<6;)ee+=s(this.consumeCodePoint());Ia(this.peekCodePoint(0))&&this.consumeCodePoint();var ve=parseInt(ee,16);return ve===0||pn(ve)||ve>1114111?yr:ve}return G===Ma?yr:G},Lt.prototype.consumeName=function(){for(var G="";;){var ee=this.consumeCodePoint();if(za(ee))G+=s(ee);else if(qa(ee,this.peekCodePoint(0)))G+=s(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ee),G}},Lt}(),Os=function(){function Lt(G){this._tokens=G}return Lt.create=function(G){var ee=new xi;return ee.write(G),new Lt(ee.read())},Lt.parseValue=function(G){return Lt.create(G).parseComponentValue()},Lt.parseValues=function(G){return Lt.create(G).parseComponentValues()},Lt.prototype.parseComponentValue=function(){for(var G=this.consumeToken();G.type===31;)G=this.consumeToken();if(G.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(G);var ee=this.consumeComponentValue();do G=this.consumeToken();while(G.type===31);if(G.type===32)return ee;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},Lt.prototype.parseComponentValues=function(){for(var G=[];;){var ee=this.consumeComponentValue();if(ee.type===32)return G;G.push(ee),G.push()}},Lt.prototype.consumeComponentValue=function(){var G=this.consumeToken();switch(G.type){case 11:case 28:case 2:return this.consumeSimpleBlock(G.type);case 19:return this.consumeFunction(G)}return G},Lt.prototype.consumeSimpleBlock=function(G){for(var ee={type:G,values:[]},ve=this.consumeToken();;){if(ve.type===32||Rr(ve,G))return ee;this.reconsumeToken(ve),ee.values.push(this.consumeComponentValue()),ve=this.consumeToken()}},Lt.prototype.consumeFunction=function(G){for(var ee={name:G.value,values:[],type:18};;){var ve=this.consumeToken();if(ve.type===32||ve.type===3)return ee;this.reconsumeToken(ve),ee.values.push(this.consumeComponentValue())}},Lt.prototype.consumeToken=function(){var G=this._tokens.shift();return typeof G=="undefined"?as:G},Lt.prototype.reconsumeToken=function(G){this._tokens.unshift(G)},Lt}(),vs=function(G){return G.type===15},fs=function(G){return G.type===17},ji=function(G){return G.type===20},Ke=function(G){return G.type===0},Gt=function(G,ee){return ji(G)&&G.value===ee},sr=function(G){return G.type!==31},lr=function(G){return G.type!==31&&G.type!==4},Mr=function(G){var ee=[],ve=[];return G.forEach(function(Fe){if(Fe.type===4){if(ve.length===0)throw new Error("Error parsing function args, zero tokens for arg");ee.push(ve),ve=[];return}Fe.type!==31&&ve.push(Fe)}),ve.length&&ee.push(ve),ee},Rr=function(G,ee){return ee===11&&G.type===12||ee===28&&G.type===29?!0:ee===2&&G.type===3},Vr=function(G){return G.type===17||G.type===15},sn=function(G){return G.type===16||Vr(G)},vn=function(G){return G.length>1?[G[0],G[1]]:[G[0]]},An={type:17,number:0,flags:Je},Fn={type:16,number:50,flags:Je},tn={type:16,number:100,flags:Je},Kr=function(G,ee,ve){var Fe=G[0],yt=G[1];return[on(Fe,ee),on(typeof yt!="undefined"?yt:Fe,ve)]},on=function(G,ee){if(G.type===16)return G.number/100*ee;if(vs(G))switch(G.unit){case"rem":case"em":return 16*G.number;case"px":default:return G.number}return G.number},dn="deg",Bn="grad",wn="rad",Nn="turn",qn={name:"angle",parse:function(G,ee){if(ee.type===15)switch(ee.unit){case dn:return Math.PI*ee.number/180;case Bn:return Math.PI/200*ee.number;case wn:return ee.number;case Nn:return Math.PI*2*ee.number}throw new Error("Unsupported angle type")}},Ra=function(G){return G.type===15&&(G.unit===dn||G.unit===Bn||G.unit===wn||G.unit===Nn)},hi=function(G){var ee=G.filter(ji).map(function(ve){return ve.value}).join(" ");switch(ee){case"to bottom right":case"to right bottom":case"left top":case"top left":return[An,An];case"to top":case"bottom":return na(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[An,tn];case"to right":case"left":return na(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[tn,tn];case"to bottom":case"top":return na(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[tn,An];case"to left":case"right":return na(270)}return 0},na=function(G){return Math.PI*G/180},Ba={name:"color",parse:function(G,ee){if(ee.type===18){var ve=Zr[ee.name];if(typeof ve=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ee.name+'"');return ve(G,ee.values)}if(ee.type===5){if(ee.value.length===3){var Fe=ee.value.substring(0,1),yt=ee.value.substring(1,2),er=ee.value.substring(2,3);return hr(parseInt(Fe+Fe,16),parseInt(yt+yt,16),parseInt(er+er,16),1)}if(ee.value.length===4){var Fe=ee.value.substring(0,1),yt=ee.value.substring(1,2),er=ee.value.substring(2,3),cr=ee.value.substring(3,4);return hr(parseInt(Fe+Fe,16),parseInt(yt+yt,16),parseInt(er+er,16),parseInt(cr+cr,16)/255)}if(ee.value.length===6){var Fe=ee.value.substring(0,2),yt=ee.value.substring(2,4),er=ee.value.substring(4,6);return hr(parseInt(Fe,16),parseInt(yt,16),parseInt(er,16),1)}if(ee.value.length===8){var Fe=ee.value.substring(0,2),yt=ee.value.substring(2,4),er=ee.value.substring(4,6),cr=ee.value.substring(6,8);return hr(parseInt(Fe,16),parseInt(yt,16),parseInt(er,16),parseInt(cr,16)/255)}}if(ee.type===20){var gr=gn[ee.value.toUpperCase()];if(typeof gr!="undefined")return gr}return gn.TRANSPARENT}},Et=function(G){return(255&G)==0},fr=function(G){var ee=255&G,ve=255&G>>8,Fe=255&G>>16,yt=255&G>>24;return ee<255?"rgba("+yt+","+Fe+","+ve+","+ee/255+")":"rgb("+yt+","+Fe+","+ve+")"},hr=function(G,ee,ve,Fe){return(G<<24|ee<<16|ve<<8|Math.round(Fe*255)<<0)>>>0},Sr=function(G,ee){if(G.type===17)return G.number;if(G.type===16){var ve=ee===3?1:255;return ee===3?G.number/100*ve:Math.round(G.number/100*ve)}return 0},Er=function(G,ee){var ve=ee.filter(lr);if(ve.length===3){var Fe=ve.map(Sr),yt=Fe[0],er=Fe[1],cr=Fe[2];return hr(yt,er,cr,1)}if(ve.length===4){var gr=ve.map(Sr),yt=gr[0],er=gr[1],cr=gr[2],Or=gr[3];return hr(yt,er,cr,Or)}return 0};function Wr(Lt,G,ee){return ee<0&&(ee+=1),ee>=1&&(ee-=1),ee<1/6?(G-Lt)*ee*6+Lt:ee<1/2?G:ee<2/3?(G-Lt)*6*(2/3-ee)+Lt:Lt}var nn=function(G,ee){var ve=ee.filter(lr),Fe=ve[0],yt=ve[1],er=ve[2],cr=ve[3],gr=(Fe.type===17?na(Fe.number):qn.parse(G,Fe))/(Math.PI*2),Or=sn(yt)?yt.number/100:0,ln=sn(er)?er.number/100:0,en=typeof cr!="undefined"&&sn(cr)?on(cr,1):1;if(Or===0)return hr(ln*255,ln*255,ln*255,1);var fn=ln<=.5?ln*(Or+1):ln+Or-ln*Or,ua=ln*2-fn,pa=Wr(ua,fn,gr+1/3),_a=Wr(ua,fn,gr),Pi=Wr(ua,fn,gr-1/3);return hr(pa*255,_a*255,Pi*255,en)},Zr={hsl:nn,hsla:nn,rgb:Er,rgba:Er},Gr=function(G,ee){return Ba.parse(G,Os.create(ee).parseComponentValue())},gn={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},On={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(G,ee){return ee.map(function(ve){if(ji(ve))switch(ve.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},cn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Dn=function(G,ee){var ve=Ba.parse(G,ee[0]),Fe=ee[1];return Fe&&sn(Fe)?{color:ve,stop:Fe}:{color:ve,stop:null}},Mn=function(G,ee){var ve=G[0],Fe=G[G.length-1];ve.stop===null&&(ve.stop=An),Fe.stop===null&&(Fe.stop=tn);for(var yt=[],er=0,cr=0;cr<G.length;cr++){var gr=G[cr].stop;if(gr!==null){var Or=on(gr,ee);Or>er?yt.push(Or):yt.push(er),er=Or}else yt.push(null)}for(var ln=null,cr=0;cr<yt.length;cr++){var en=yt[cr];if(en===null)ln===null&&(ln=cr);else if(ln!==null){for(var fn=cr-ln,ua=yt[ln-1],pa=(en-ua)/(fn+1),_a=1;_a<=fn;_a++)yt[ln+_a-1]=pa*_a;ln=null}}return G.map(function(Pi,Ai){var ai=Pi.color;return{color:ai,stop:Math.max(Math.min(1,yt[Ai]/ee),0)}})},Yn=function(G,ee,ve){var Fe=ee/2,yt=ve/2,er=on(G[0],ee)-Fe,cr=yt-on(G[1],ve);return(Math.atan2(cr,er)+Math.PI*2)%(Math.PI*2)},$n=function(G,ee,ve){var Fe=typeof G=="number"?G:Yn(G,ee,ve),yt=Math.abs(ee*Math.sin(Fe))+Math.abs(ve*Math.cos(Fe)),er=ee/2,cr=ve/2,gr=yt/2,Or=Math.sin(Fe-Math.PI/2)*gr,ln=Math.cos(Fe-Math.PI/2)*gr;return[yt,er-ln,er+ln,cr-Or,cr+Or]},Tn=function(G,ee){return Math.sqrt(G*G+ee*ee)},ea=function(G,ee,ve,Fe,yt){var er=[[0,0],[0,ee],[G,0],[G,ee]];return er.reduce(function(cr,gr){var Or=gr[0],ln=gr[1],en=Tn(ve-Or,Fe-ln);return(yt?en<cr.optimumDistance:en>cr.optimumDistance)?{optimumCorner:gr,optimumDistance:en}:cr},{optimumDistance:yt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},Kn=function(G,ee,ve,Fe,yt){var er=0,cr=0;switch(G.size){case 0:G.shape===0?er=cr=Math.min(Math.abs(ee),Math.abs(ee-Fe),Math.abs(ve),Math.abs(ve-yt)):G.shape===1&&(er=Math.min(Math.abs(ee),Math.abs(ee-Fe)),cr=Math.min(Math.abs(ve),Math.abs(ve-yt)));break;case 2:if(G.shape===0)er=cr=Math.min(Tn(ee,ve),Tn(ee,ve-yt),Tn(ee-Fe,ve),Tn(ee-Fe,ve-yt));else if(G.shape===1){var gr=Math.min(Math.abs(ve),Math.abs(ve-yt))/Math.min(Math.abs(ee),Math.abs(ee-Fe)),Or=ea(Fe,yt,ee,ve,!0),ln=Or[0],en=Or[1];er=Tn(ln-ee,(en-ve)/gr),cr=gr*er}break;case 1:G.shape===0?er=cr=Math.max(Math.abs(ee),Math.abs(ee-Fe),Math.abs(ve),Math.abs(ve-yt)):G.shape===1&&(er=Math.max(Math.abs(ee),Math.abs(ee-Fe)),cr=Math.max(Math.abs(ve),Math.abs(ve-yt)));break;case 3:if(G.shape===0)er=cr=Math.max(Tn(ee,ve),Tn(ee,ve-yt),Tn(ee-Fe,ve),Tn(ee-Fe,ve-yt));else if(G.shape===1){var gr=Math.max(Math.abs(ve),Math.abs(ve-yt))/Math.max(Math.abs(ee),Math.abs(ee-Fe)),fn=ea(Fe,yt,ee,ve,!1),ln=fn[0],en=fn[1];er=Tn(ln-ee,(en-ve)/gr),cr=gr*er}break}return Array.isArray(G.size)&&(er=on(G.size[0],Fe),cr=G.size.length===2?on(G.size[1],yt):er),[er,cr]},Fa=function(G,ee){var ve=na(180),Fe=[];return Mr(ee).forEach(function(yt,er){if(er===0){var cr=yt[0];if(cr.type===20&&cr.value==="to"){ve=hi(yt);return}else if(Ra(cr)){ve=qn.parse(G,cr);return}}var gr=Dn(G,yt);Fe.push(gr)}),{angle:ve,stops:Fe,type:1}},Ya=function(G,ee){var ve=na(180),Fe=[];return Mr(ee).forEach(function(yt,er){if(er===0){var cr=yt[0];if(cr.type===20&&["top","left","right","bottom"].indexOf(cr.value)!==-1){ve=hi(yt);return}else if(Ra(cr)){ve=(qn.parse(G,cr)+na(270))%na(360);return}}var gr=Dn(G,yt);Fe.push(gr)}),{angle:ve,stops:Fe,type:1}},Va=function(G,ee){var ve=na(180),Fe=[],yt=1,er=0,cr=3,gr=[];return Mr(ee).forEach(function(Or,ln){var en=Or[0];if(ln===0){if(ji(en)&&en.value==="linear"){yt=1;return}else if(ji(en)&&en.value==="radial"){yt=2;return}}if(en.type===18){if(en.name==="from"){var fn=Ba.parse(G,en.values[0]);Fe.push({stop:An,color:fn})}else if(en.name==="to"){var fn=Ba.parse(G,en.values[0]);Fe.push({stop:tn,color:fn})}else if(en.name==="color-stop"){var ua=en.values.filter(lr);if(ua.length===2){var fn=Ba.parse(G,ua[1]),pa=ua[0];fs(pa)&&Fe.push({stop:{type:16,number:pa.number*100,flags:pa.flags},color:fn})}}}}),yt===1?{angle:(ve+na(180))%na(360),stops:Fe,type:yt}:{size:cr,shape:er,stops:Fe,position:gr,type:yt}},Ga="closest-side",vi="farthest-side",Xa="closest-corner",Jn="farthest-corner",ei="circle",Na="ellipse",_n="cover",sa="contain",wa=function(G,ee){var ve=0,Fe=3,yt=[],er=[];return Mr(ee).forEach(function(cr,gr){var Or=!0;if(gr===0){var ln=!1;Or=cr.reduce(function(fn,ua){if(ln)if(ji(ua))switch(ua.value){case"center":return er.push(Fn),fn;case"top":case"left":return er.push(An),fn;case"right":case"bottom":return er.push(tn),fn}else(sn(ua)||Vr(ua))&&er.push(ua);else if(ji(ua))switch(ua.value){case ei:return ve=0,!1;case Na:return ve=1,!1;case"at":return ln=!0,!1;case Ga:return Fe=0,!1;case _n:case vi:return Fe=1,!1;case sa:case Xa:return Fe=2,!1;case Jn:return Fe=3,!1}else if(Vr(ua)||sn(ua))return Array.isArray(Fe)||(Fe=[]),Fe.push(ua),!1;return fn},Or)}if(Or){var en=Dn(G,cr);yt.push(en)}}),{size:Fe,shape:ve,stops:yt,position:er,type:2}},si=function(G,ee){var ve=0,Fe=3,yt=[],er=[];return Mr(ee).forEach(function(cr,gr){var Or=!0;if(gr===0?Or=cr.reduce(function(en,fn){if(ji(fn))switch(fn.value){case"center":return er.push(Fn),!1;case"top":case"left":return er.push(An),!1;case"right":case"bottom":return er.push(tn),!1}else if(sn(fn)||Vr(fn))return er.push(fn),!1;return en},Or):gr===1&&(Or=cr.reduce(function(en,fn){if(ji(fn))switch(fn.value){case ei:return ve=0,!1;case Na:return ve=1,!1;case sa:case Ga:return Fe=0,!1;case vi:return Fe=1,!1;case Xa:return Fe=2,!1;case _n:case Jn:return Fe=3,!1}else if(Vr(fn)||sn(fn))return Array.isArray(Fe)||(Fe=[]),Fe.push(fn),!1;return en},Or)),Or){var ln=Dn(G,cr);yt.push(ln)}}),{size:Fe,shape:ve,stops:yt,position:er,type:2}},Ka=function(G){return G.type===1},ja=function(G){return G.type===2},$a={name:"image",parse:function(G,ee){if(ee.type===22){var ve={url:ee.value,type:0};return G.cache.addImage(ee.value),ve}if(ee.type===18){var Fe=Vi[ee.name];if(typeof Fe=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ee.name+'"');return Fe(G,ee.values)}throw new Error("Unsupported image type "+ee.type)}};function Wi(Lt){return!(Lt.type===20&&Lt.value==="none")&&(Lt.type!==18||!!Vi[Lt.name])}var Vi={"linear-gradient":Fa,"-moz-linear-gradient":Ya,"-ms-linear-gradient":Ya,"-o-linear-gradient":Ya,"-webkit-linear-gradient":Ya,"radial-gradient":wa,"-moz-radial-gradient":si,"-ms-radial-gradient":si,"-o-radial-gradient":si,"-webkit-radial-gradient":si,"-webkit-gradient":Va},co={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(G,ee){if(ee.length===0)return[];var ve=ee[0];return ve.type===20&&ve.value==="none"?[]:ee.filter(function(Fe){return lr(Fe)&&Wi(Fe)}).map(function(Fe){return $a.parse(G,Fe)})}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(G,ee){return ee.map(function(ve){if(ji(ve))switch(ve.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ki={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(G,ee){return Mr(ee).map(function(ve){return ve.filter(sn)}).map(vn)}},Gi={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(G,ee){return Mr(ee).map(function(ve){return ve.filter(ji).map(function(Fe){return Fe.value}).join(" ")}).map(Ji)}},Ji=function(G){switch(G){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},pi;(function(Lt){Lt.AUTO="auto",Lt.CONTAIN="contain",Lt.COVER="cover"})(pi||(pi={}));var Ri={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(G,ee){return Mr(ee).map(function(ve){return ve.filter(Ii)})}},Ii=function(G){return ji(G)||sn(G)},Fi=function(G){return{name:"border-"+G+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ro=Fi("top"),Zi=Fi("right"),eo=Fi("bottom"),Ni=Fi("left"),ii=function(G){return{name:"border-radius-"+G,initialValue:"0 0",prefix:!1,type:1,parse:function(ve,Fe){return vn(Fe.filter(sn))}}},Yi=ii("top-left"),fo=ii("top-right"),fa=ii("bottom-right"),uo=ii("bottom-left"),fi=function(G){return{name:"border-"+G+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ve,Fe){switch(Fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ta=fi("top"),Ja=fi("right"),Da=fi("bottom"),Gn=fi("left"),mi=function(G){return{name:"border-"+G+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ve,Fe){return vs(Fe)?Fe.number:0}}},no=mi("top"),bi=mi("right"),Zn=mi("bottom"),Qa=mi("left"),Wa={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},to={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"rtl":return 1;case"ltr":default:return 0}}},Ci={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(G,ee){return ee.filter(ji).reduce(function(ve,Fe){return ve|Ao(Fe.value)},0)}},Ao=function(G){switch(G){case"block":case"-webkit-box":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},jo={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},es={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(G,ee){return ee.type===20&&ee.value==="normal"?0:ee.type===17||ee.type===15?ee.number:0}},ts;(function(Lt){Lt.NORMAL="normal",Lt.STRICT="strict"})(ts||(ts={}));var gs={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"strict":return ts.STRICT;case"normal":default:return ts.NORMAL}}},ls={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ko=function(G,ee){return ji(G)&&G.value==="normal"?1.2*ee:G.type===17?ee*G.number:sn(G)?on(G,ee):ee},Ps={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(G,ee){return ee.type===20&&ee.value==="none"?null:$a.parse(G,ee)}},Fo={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"inside":return 0;case"outside":default:return 1}}},Ei={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ar=function(G){return{name:"margin-"+G,initialValue:"0",prefix:!1,type:4}},so=Ar("top"),Ui=Ar("right"),da=Ar("bottom"),Pa=Ar("left"),lo={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(G,ee){return ee.filter(ji).map(function(ve){switch(ve.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},go={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"break-word":return"break-word";case"normal":default:return"normal"}}},Po=function(G){return{name:"padding-"+G,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},bo=Po("top"),So=Po("right"),rs=Po("bottom"),is=Po("left"),Is={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ds={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ps={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(G,ee){return ee.length===1&&Gt(ee[0],"none")?[]:Mr(ee).map(function(ve){for(var Fe={color:gn.TRANSPARENT,offsetX:An,offsetY:An,blur:An},yt=0,er=0;er<ve.length;er++){var cr=ve[er];Vr(cr)?(yt===0?Fe.offsetX=cr:yt===1?Fe.offsetY=cr:Fe.blur=cr,yt++):Fe.color=Ba.parse(G,cr)}return Fe})}},$o={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},ms={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(G,ee){if(ee.type===20&&ee.value==="none")return null;if(ee.type===18){var ve=Fs[ee.name];if(typeof ve=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ee.name+'"');return ve(ee.values)}return null}},os=function(G){var ee=G.filter(function(ve){return ve.type===17}).map(function(ve){return ve.number});return ee.length===6?ee:null},_o=function(G){var ee=G.filter(function(Or){return Or.type===17}).map(function(Or){return Or.number}),ve=ee[0],Fe=ee[1];ee[2],ee[3];var yt=ee[4],er=ee[5];ee[6],ee[7],ee[8],ee[9],ee[10],ee[11];var cr=ee[12],gr=ee[13];return ee[14],ee[15],ee.length===16?[ve,Fe,yt,er,cr,gr]:null},Fs={matrix:os,matrix3d:_o},ss={type:16,number:50,flags:Je},us=[ss,ss],Bt={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(G,ee){var ve=ee.filter(sn);return ve.length!==2?us:[ve[0],ve[1]]}},X={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},re;(function(Lt){Lt.NORMAL="normal",Lt.BREAK_ALL="break-all",Lt.KEEP_ALL="keep-all"})(re||(re={}));for(var le={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"break-all":return re.BREAK_ALL;case"keep-all":return re.KEEP_ALL;case"normal":default:return re.NORMAL}}},we={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(G,ee){if(ee.type===20)return{auto:!0,order:0};if(fs(ee))return{auto:!1,order:ee.number};throw new Error("Invalid z-index number parsed")}},Xe={name:"time",parse:function(G,ee){if(ee.type===15)switch(ee.unit.toLowerCase()){case"s":return 1e3*ee.number;case"ms":return ee.number}throw new Error("Unsupported time type")}},xt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(G,ee){return fs(ee)?ee.number:1}},tr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ur={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(G,ee){return ee.filter(ji).map(function(ve){switch(ve.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ve){return ve!==0})}},br={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(G,ee){var ve=[],Fe=[];return ee.forEach(function(yt){switch(yt.type){case 20:case 0:ve.push(yt.value);break;case 17:ve.push(yt.number.toString());break;case 4:Fe.push(ve.join(" ")),ve.length=0;break}}),ve.length&&Fe.push(ve.join(" ")),Fe.map(function(yt){return yt.indexOf(" ")===-1?yt:"'"+yt+"'"})}},Qr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},an={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(G,ee){if(fs(ee))return ee.number;if(ji(ee))switch(ee.value){case"bold":return 700;case"normal":default:return 400}return 400}},yn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(G,ee){return ee.filter(ji).map(function(ve){return ve.value})}},Ln={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(G,ee){switch(ee){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Rn=function(G,ee){return(G&ee)!=0},ma={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(G,ee){if(ee.length===0)return[];var ve=ee[0];return ve.type===20&&ve.value==="none"?[]:ee}},Ha={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(G,ee){if(ee.length===0)return null;var ve=ee[0];if(ve.type===20&&ve.value==="none")return null;for(var Fe=[],yt=ee.filter(sr),er=0;er<yt.length;er++){var cr=yt[er],gr=yt[er+1];if(cr.type===20){var Or=gr&&fs(gr)?gr.number:1;Fe.push({counter:cr.value,increment:Or})}}return Fe}},wi={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(G,ee){if(ee.length===0)return[];for(var ve=[],Fe=ee.filter(sr),yt=0;yt<Fe.length;yt++){var er=Fe[yt],cr=Fe[yt+1];if(ji(er)&&er.value!=="none"){var gr=cr&&fs(cr)?cr.number:0;ve.push({counter:er.value,reset:gr})}}return ve}},Di={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(G,ee){return ee.filter(vs).map(function(ve){return Xe.parse(G,ve)})}},Oi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(G,ee){if(ee.length===0)return null;var ve=ee[0];if(ve.type===20&&ve.value==="none")return null;var Fe=[],yt=ee.filter(Ke);if(yt.length%2!=0)return null;for(var er=0;er<yt.length;er+=2){var cr=yt[er].value,gr=yt[er+1].value;Fe.push({open:cr,close:gr})}return Fe}},po=function(G,ee,ve){if(!G)return"";var Fe=G[Math.min(ee,G.length-1)];return Fe?ve?Fe.open:Fe.close:""},mo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(G,ee){return ee.length===1&&Gt(ee[0],"none")?[]:Mr(ee).map(function(ve){for(var Fe={color:255,offsetX:An,offsetY:An,blur:An,spread:An,inset:!1},yt=0,er=0;er<ve.length;er++){var cr=ve[er];Gt(cr,"inset")?Fe.inset=!0:Vr(cr)?(yt===0?Fe.offsetX=cr:yt===1?Fe.offsetY=cr:yt===2?Fe.blur=cr:Fe.spread=cr,yt++):Fe.color=Ba.parse(G,cr)}return Fe})}},Eo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(G,ee){var ve=[0,1,2],Fe=[];return ee.filter(ji).forEach(function(yt){switch(yt.value){case"stroke":Fe.push(1);break;case"fill":Fe.push(0);break;case"markers":Fe.push(2);break}}),ve.forEach(function(yt){Fe.indexOf(yt)===-1&&Fe.push(yt)}),Fe}},Bo={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},No={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(G,ee){return vs(ee)?ee.number:0}},Go=function(){function Lt(G,ee){var ve,Fe;this.animationDuration=va(G,Di,ee.animationDuration),this.backgroundClip=va(G,On,ee.backgroundClip),this.backgroundColor=va(G,cn,ee.backgroundColor),this.backgroundImage=va(G,co,ee.backgroundImage),this.backgroundOrigin=va(G,oo,ee.backgroundOrigin),this.backgroundPosition=va(G,Ki,ee.backgroundPosition),this.backgroundRepeat=va(G,Gi,ee.backgroundRepeat),this.backgroundSize=va(G,Ri,ee.backgroundSize),this.borderTopColor=va(G,Ro,ee.borderTopColor),this.borderRightColor=va(G,Zi,ee.borderRightColor),this.borderBottomColor=va(G,eo,ee.borderBottomColor),this.borderLeftColor=va(G,Ni,ee.borderLeftColor),this.borderTopLeftRadius=va(G,Yi,ee.borderTopLeftRadius),this.borderTopRightRadius=va(G,fo,ee.borderTopRightRadius),this.borderBottomRightRadius=va(G,fa,ee.borderBottomRightRadius),this.borderBottomLeftRadius=va(G,uo,ee.borderBottomLeftRadius),this.borderTopStyle=va(G,Ta,ee.borderTopStyle),this.borderRightStyle=va(G,Ja,ee.borderRightStyle),this.borderBottomStyle=va(G,Da,ee.borderBottomStyle),this.borderLeftStyle=va(G,Gn,ee.borderLeftStyle),this.borderTopWidth=va(G,no,ee.borderTopWidth),this.borderRightWidth=va(G,bi,ee.borderRightWidth),this.borderBottomWidth=va(G,Zn,ee.borderBottomWidth),this.borderLeftWidth=va(G,Qa,ee.borderLeftWidth),this.boxShadow=va(G,mo,ee.boxShadow),this.color=va(G,Wa,ee.color),this.direction=va(G,to,ee.direction),this.display=va(G,Ci,ee.display),this.float=va(G,jo,ee.cssFloat),this.fontFamily=va(G,br,ee.fontFamily),this.fontSize=va(G,Qr,ee.fontSize),this.fontStyle=va(G,Ln,ee.fontStyle),this.fontVariant=va(G,yn,ee.fontVariant),this.fontWeight=va(G,an,ee.fontWeight),this.letterSpacing=va(G,es,ee.letterSpacing),this.lineBreak=va(G,gs,ee.lineBreak),this.lineHeight=va(G,ls,ee.lineHeight),this.listStyleImage=va(G,Ps,ee.listStyleImage),this.listStylePosition=va(G,Fo,ee.listStylePosition),this.listStyleType=va(G,Ei,ee.listStyleType),this.marginTop=va(G,so,ee.marginTop),this.marginRight=va(G,Ui,ee.marginRight),this.marginBottom=va(G,da,ee.marginBottom),this.marginLeft=va(G,Pa,ee.marginLeft),this.opacity=va(G,xt,ee.opacity);var yt=va(G,lo,ee.overflow);this.overflowX=yt[0],this.overflowY=yt[yt.length>1?1:0],this.overflowWrap=va(G,go,ee.overflowWrap),this.paddingTop=va(G,bo,ee.paddingTop),this.paddingRight=va(G,So,ee.paddingRight),this.paddingBottom=va(G,rs,ee.paddingBottom),this.paddingLeft=va(G,is,ee.paddingLeft),this.paintOrder=va(G,Eo,ee.paintOrder),this.position=va(G,ds,ee.position),this.textAlign=va(G,Is,ee.textAlign),this.textDecorationColor=va(G,tr,(ve=ee.textDecorationColor)!==null&&ve!==void 0?ve:ee.color),this.textDecorationLine=va(G,ur,(Fe=ee.textDecorationLine)!==null&&Fe!==void 0?Fe:ee.textDecoration),this.textShadow=va(G,ps,ee.textShadow),this.textTransform=va(G,$o,ee.textTransform),this.transform=va(G,ms,ee.transform),this.transformOrigin=va(G,Bt,ee.transformOrigin),this.visibility=va(G,X,ee.visibility),this.webkitTextStrokeColor=va(G,Bo,ee.webkitTextStrokeColor),this.webkitTextStrokeWidth=va(G,No,ee.webkitTextStrokeWidth),this.wordBreak=va(G,le,ee.wordBreak),this.zIndex=va(G,we,ee.zIndex)}return Lt.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},Lt.prototype.isTransparent=function(){return Et(this.backgroundColor)},Lt.prototype.isTransformed=function(){return this.transform!==null},Lt.prototype.isPositioned=function(){return this.position!==0},Lt.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},Lt.prototype.isFloating=function(){return this.float!==0},Lt.prototype.isInlineLevel=function(){return Rn(this.display,4)||Rn(this.display,33554432)||Rn(this.display,268435456)||Rn(this.display,536870912)||Rn(this.display,67108864)||Rn(this.display,134217728)},Lt}(),Yo=function(){function Lt(G,ee){this.content=va(G,ma,ee.content),this.quotes=va(G,Oi,ee.quotes)}return Lt}(),ro=function(){function Lt(G,ee){this.counterIncrement=va(G,Ha,ee.counterIncrement),this.counterReset=va(G,wi,ee.counterReset)}return Lt}(),va=function(G,ee,ve){var Fe=new xi,yt=ve!==null&&typeof ve!="undefined"?ve.toString():ee.initialValue;Fe.write(yt);var er=new Os(Fe.read());switch(ee.type){case 2:var cr=er.parseComponentValue();return ee.parse(G,ji(cr)?cr.value:ee.initialValue);case 0:return ee.parse(G,er.parseComponentValue());case 1:return ee.parse(G,er.parseComponentValues());case 4:return er.parseComponentValue();case 3:switch(ee.format){case"angle":return qn.parse(G,er.parseComponentValue());case"color":return Ba.parse(G,er.parseComponentValue());case"image":return $a.parse(G,er.parseComponentValue());case"length":var gr=er.parseComponentValue();return Vr(gr)?gr:An;case"length-percentage":var Or=er.parseComponentValue();return sn(Or)?Or:An;case"time":return Xe.parse(G,er.parseComponentValue())}break}},_s="data-html2canvas-debug",As=function(G){var ee=G.getAttribute(_s);switch(ee){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Jo=function(G,ee){var ve=As(G);return ve===1||ee===ve},ni=function(){function Lt(G,ee){if(this.context=G,this.textNodes=[],this.elements=[],this.flags=0,Jo(ee,3))debugger;this.styles=new Go(G,window.getComputedStyle(ee,null)),zl(ee)&&(this.styles.animationDuration.some(function(ve){return ve>0})&&(ee.style.animationDuration="0s"),this.styles.transform!==null&&(ee.style.transform="none")),this.bounds=f(this.context,ee),Jo(ee,4)&&(this.flags|=16)}return Lt}(),Si="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Uo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ns=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ds=0;Ds<Uo.length;Ds++)ns[Uo.charCodeAt(Ds)]=Ds;for(var cs=function(G){var ee=G.length*.75,ve=G.length,Fe,yt=0,er,cr,gr,Or;G[G.length-1]==="="&&(ee--,G[G.length-2]==="="&&ee--);var ln=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ee):new Array(ee),en=Array.isArray(ln)?ln:new Uint8Array(ln);for(Fe=0;Fe<ve;Fe+=4)er=ns[G.charCodeAt(Fe)],cr=ns[G.charCodeAt(Fe+1)],gr=ns[G.charCodeAt(Fe+2)],Or=ns[G.charCodeAt(Fe+3)],en[yt++]=er<<2|cr>>4,en[yt++]=(cr&15)<<4|gr>>2,en[yt++]=(gr&3)<<6|Or&63;return ln},Ms=function(G){for(var ee=G.length,ve=[],Fe=0;Fe<ee;Fe+=2)ve.push(G[Fe+1]<<8|G[Fe]);return ve},js=function(G){for(var ee=G.length,ve=[],Fe=0;Fe<ee;Fe+=4)ve.push(G[Fe+3]<<24|G[Fe+2]<<16|G[Fe+1]<<8|G[Fe]);return ve},Oo=5,Ns=6+5,sl=2,xl=Ns-Oo,el=65536>>Oo,Ys=1<<Oo,Xs=Ys-1,bl=1024>>Oo,al=el+bl,Xl=al,ll=2048>>6,Ul=Xl+ll,ul=65536>>Ns,Js=1<<xl,cl=Js-1,$l=function(G,ee,ve){return G.slice?G.slice(ee,ve):new Uint16Array(Array.prototype.slice.call(G,ee,ve))},fl=function(G,ee,ve){return G.slice?G.slice(ee,ve):new Uint32Array(Array.prototype.slice.call(G,ee,ve))},Jl=function(G,ee){var ve=cs(G),Fe=Array.isArray(ve)?js(ve):new Uint32Array(ve),yt=Array.isArray(ve)?Ms(ve):new Uint16Array(ve),er=24,cr=$l(yt,er/2,Fe[4]/2),gr=Fe[5]===2?$l(yt,(er+Fe[4])/2):fl(Fe,Math.ceil((er+Fe[4])/4));return new Cl(Fe[0],Fe[1],Fe[2],Fe[3],cr,gr)},Cl=function(){function Lt(G,ee,ve,Fe,yt,er){this.initialValue=G,this.errorValue=ee,this.highStart=ve,this.highValueIndex=Fe,this.index=yt,this.data=er}return Lt.prototype.get=function(G){var ee;if(G>=0){if(G<55296||G>56319&&G<=65535)return ee=this.index[G>>Oo],ee=(ee<<sl)+(G&Xs),this.data[ee];if(G<=65535)return ee=this.index[el+(G-55296>>Oo)],ee=(ee<<sl)+(G&Xs),this.data[ee];if(G<this.highStart)return ee=Ul-ul+(G>>Ns),ee=this.index[ee],ee+=G>>Oo&cl,ee=this.index[ee],ee=(ee<<sl)+(G&Xs),this.data[ee];if(G<=1114111)return this.data[this.highValueIndex]}return this.errorValue},Lt}(),wl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dl=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Zs=0;Zs<wl.length;Zs++)dl[wl.charCodeAt(Zs)]=Zs;var il=1,qs=2,tl=3,Zl=4,zi=5,ga=7,oi=8,Xi=9,Zo=10,zs=11,$s=12,Qs=13,Vs=14,Xo=15,Al=function(G){for(var ee=[],ve=0,Fe=G.length;ve<Fe;){var yt=G.charCodeAt(ve++);if(yt>=55296&&yt<=56319&&ve<Fe){var er=G.charCodeAt(ve++);(er&64512)==56320?ee.push(((yt&1023)<<10)+(er&1023)+65536):(ee.push(yt),ve--)}else ee.push(yt)}return ee},Ls=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];if(String.fromCodePoint)return String.fromCodePoint.apply(String,G);var ve=G.length;if(!ve)return"";for(var Fe=[],yt=-1,er="";++yt<ve;){var cr=G[yt];cr<=65535?Fe.push(cr):(cr-=65536,Fe.push((cr>>10)+55296,cr%1024+56320)),(yt+1===ve||Fe.length>16384)&&(er+=String.fromCharCode.apply(String,Fe),Fe.length=0)}return er},Ku=Jl(Si),Ks="\xD7",du="\xF7",ql=function(G){return Ku.get(G)},Iu=function(G,ee,ve){var Fe=ve-2,yt=ee[Fe],er=ee[ve-1],cr=ee[ve];if(er===qs&&cr===tl)return Ks;if(er===qs||er===tl||er===Zl||cr===qs||cr===tl||cr===Zl)return du;if(er===oi&&[oi,Xi,zs,$s].indexOf(cr)!==-1||(er===zs||er===Xi)&&(cr===Xi||cr===Zo)||(er===$s||er===Zo)&&cr===Zo||cr===Qs||cr===zi||cr===ga||er===il)return Ks;if(er===Qs&&cr===Vs){for(;yt===zi;)yt=ee[--Fe];if(yt===Vs)return Ks}if(er===Xo&&cr===Xo){for(var gr=0;yt===Xo;)gr++,yt=ee[--Fe];if(gr%2==0)return Ks}return du},Wu=function(G){var ee=Al(G),ve=ee.length,Fe=0,yt=0,er=ee.map(ql);return{next:function(){if(Fe>=ve)return{done:!0,value:null};for(var gr=Ks;Fe<ve&&(gr=Iu(ee,er,++Fe))===Ks;);if(gr!==Ks||Fe===ve){var Or=Ls.apply(null,ee.slice(yt,Fe));return yt=Fe,{value:Or,done:!1}}return{done:!0,value:null}}}},Gu=function(G){for(var ee=Wu(G),ve=[],Fe;!(Fe=ee.next()).done;)Fe.value&&ve.push(Fe.value.slice());return ve},Yu=function(G){var ee=123;if(G.createRange){var ve=G.createRange();if(ve.getBoundingClientRect){var Fe=G.createElement("boundtest");Fe.style.height=ee+"px",Fe.style.display="block",G.body.appendChild(Fe),ve.selectNode(Fe);var yt=ve.getBoundingClientRect(),er=Math.round(yt.height);if(G.body.removeChild(Fe),er===ee)return!0}}return!1},hl=function(G){var ee=G.createElement("boundtest");ee.style.width="50px",ee.style.display="block",ee.style.fontSize="12px",ee.style.letterSpacing="0px",ee.style.wordSpacing="0px",G.body.appendChild(ee);var ve=G.createRange();ee.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var Fe=ee.firstChild,yt=i(Fe.data).map(function(Or){return s(Or)}),er=0,cr={},gr=yt.every(function(Or,ln){ve.setStart(Fe,er),ve.setEnd(Fe,er+Or.length);var en=ve.getBoundingClientRect();er+=Or.length;var fn=en.x>cr.x||en.y>cr.y;return cr=en,ln===0?!0:fn});return G.body.removeChild(ee),gr},kl=function(){return typeof new Image().crossOrigin!="undefined"},eu=function(){return typeof new XMLHttpRequest().responseType=="string"},Dl=function(G){var ee=new Image,ve=G.createElement("canvas"),Fe=ve.getContext("2d");if(!Fe)return!1;ee.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Fe.drawImage(ee,0,0),ve.toDataURL()}catch(yt){return!1}return!0},Ws=function(G){return G[0]===0&&G[1]===255&&G[2]===0&&G[3]===255},tu=function(G){var ee=G.createElement("canvas"),ve=100;ee.width=ve,ee.height=ve;var Fe=ee.getContext("2d");if(!Fe)return Promise.reject(!1);Fe.fillStyle="rgb(0, 255, 0)",Fe.fillRect(0,0,ve,ve);var yt=new Image,er=ee.toDataURL();yt.src=er;var cr=Au(ve,ve,0,0,yt);return Fe.fillStyle="red",Fe.fillRect(0,0,ve,ve),ol(cr).then(function(gr){Fe.drawImage(gr,0,0);var Or=Fe.getImageData(0,0,ve,ve).data;Fe.fillStyle="red",Fe.fillRect(0,0,ve,ve);var ln=G.createElement("div");return ln.style.backgroundImage="url("+er+")",ln.style.height=ve+"px",Ws(Or)?ol(Au(ve,ve,0,0,ln)):Promise.reject(!1)}).then(function(gr){return Fe.drawImage(gr,0,0),Ws(Fe.getImageData(0,0,ve,ve).data)}).catch(function(){return!1})},Au=function(G,ee,ve,Fe,yt){var er="http://www.w3.org/2000/svg",cr=document.createElementNS(er,"svg"),gr=document.createElementNS(er,"foreignObject");return cr.setAttributeNS(null,"width",G.toString()),cr.setAttributeNS(null,"height",ee.toString()),gr.setAttributeNS(null,"width","100%"),gr.setAttributeNS(null,"height","100%"),gr.setAttributeNS(null,"x",ve.toString()),gr.setAttributeNS(null,"y",Fe.toString()),gr.setAttributeNS(null,"externalResourcesRequired","true"),cr.appendChild(gr),gr.appendChild(yt),cr},ol=function(G){return new Promise(function(ee,ve){var Fe=new Image;Fe.onload=function(){return ee(Fe)},Fe.onerror=ve,Fe.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},ys={get SUPPORT_RANGE_BOUNDS(){var Lt=Yu(document);return Object.defineProperty(ys,"SUPPORT_RANGE_BOUNDS",{value:Lt}),Lt},get SUPPORT_WORD_BREAKING(){var Lt=ys.SUPPORT_RANGE_BOUNDS&&hl(document);return Object.defineProperty(ys,"SUPPORT_WORD_BREAKING",{value:Lt}),Lt},get SUPPORT_SVG_DRAWING(){var Lt=Dl(document);return Object.defineProperty(ys,"SUPPORT_SVG_DRAWING",{value:Lt}),Lt},get SUPPORT_FOREIGNOBJECT_DRAWING(){var Lt=typeof Array.from=="function"&&typeof window.fetch=="function"?tu(document):Promise.resolve(!1);return Object.defineProperty(ys,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:Lt}),Lt},get SUPPORT_CORS_IMAGES(){var Lt=kl();return Object.defineProperty(ys,"SUPPORT_CORS_IMAGES",{value:Lt}),Lt},get SUPPORT_RESPONSE_TYPE(){var Lt=eu();return Object.defineProperty(ys,"SUPPORT_RESPONSE_TYPE",{value:Lt}),Lt},get SUPPORT_CORS_XHR(){var Lt="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ys,"SUPPORT_CORS_XHR",{value:Lt}),Lt},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var Lt=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(ys,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:Lt}),Lt}},Tl=function(){function Lt(G,ee){this.text=G,this.bounds=ee}return Lt}(),Du=function(G,ee,ve,Fe){var yt=Hl(ee,ve),er=[],cr=0;return yt.forEach(function(gr){if(ve.textDecorationLine.length||gr.trim().length>0)if(ys.SUPPORT_RANGE_BOUNDS){var Or=Sl(Fe,cr,gr.length).getClientRects();if(Or.length>1){var ln=Bl(gr),en=0;ln.forEach(function(ua){er.push(new Tl(ua,C.fromDOMRectList(G,Sl(Fe,en+cr,ua.length).getClientRects()))),en+=ua.length})}else er.push(new Tl(gr,C.fromDOMRectList(G,Or)))}else{var fn=Fe.splitText(gr.length);er.push(new Tl(gr,ru(G,Fe))),Fe=fn}else ys.SUPPORT_RANGE_BOUNDS||(Fe=Fe.splitText(gr.length));cr+=gr.length}),er},ru=function(G,ee){var ve=ee.ownerDocument;if(ve){var Fe=ve.createElement("html2canvaswrapper");Fe.appendChild(ee.cloneNode(!0));var yt=ee.parentNode;if(yt){yt.replaceChild(Fe,ee);var er=f(G,Fe);return Fe.firstChild&&yt.replaceChild(Fe.firstChild,Fe),er}}return C.EMPTY},Sl=function(G,ee,ve){var Fe=G.ownerDocument;if(!Fe)throw new Error("Node has no owner document");var yt=Fe.createRange();return yt.setStart(G,ee),yt.setEnd(G,ee+ve),yt},Bl=function(G){if(ys.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ee=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ee.segment(G)).map(function(ve){return ve.segment})}return Gu(G)},nu=function(G,ee){if(ys.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ve=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ve.segment(G)).map(function(Fe){return Fe.segment})}return _l(G,ee)},Hl=function(G,ee){return ee.letterSpacing!==0?Bl(G):nu(G,ee)},hu=[32,160,4961,65792,65793,4153,4241],_l=function(G,ee){for(var ve=Rt(G,{lineBreak:ee.lineBreak,wordBreak:ee.overflowWrap==="break-word"?"break-word":ee.wordBreak}),Fe=[],yt,er=function(){if(yt.value){var gr=yt.value.slice(),Or=i(gr),ln="";Or.forEach(function(en){hu.indexOf(en)===-1?ln+=s(en):(ln.length&&Fe.push(ln),Fe.push(s(en)),ln="")}),ln.length&&Fe.push(ln)}};!(yt=ve.next()).done;)er();return Fe},Tu=function(){function Lt(G,ee,ve){this.text=Xu(ee.data,ve.textTransform),this.textBounds=Du(G,this.text,ve,ee)}return Lt}(),Xu=function(G,ee){switch(ee){case 1:return G.toLowerCase();case 3:return G.replace(Pu,au);case 2:return G.toUpperCase();default:return G}},Pu=/(^|\s|:|-|\(|\))([a-z])/g,au=function(G,ee,ve){return G.length>0?ee+ve.toUpperCase():G},vu=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.src=ve.currentSrc||ve.src,Fe.intrinsicWidth=ve.naturalWidth,Fe.intrinsicHeight=ve.naturalHeight,Fe.context.cache.addImage(Fe.src),Fe}return G}(ni),Mu=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.canvas=ve,Fe.intrinsicWidth=ve.width,Fe.intrinsicHeight=ve.height,Fe}return G}(ni),Pl=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this,yt=new XMLSerializer,er=f(ee,ve);return ve.setAttribute("width",er.width+"px"),ve.setAttribute("height",er.height+"px"),Fe.svg="data:image/svg+xml,"+encodeURIComponent(yt.serializeToString(ve)),Fe.intrinsicWidth=ve.width.baseVal.value,Fe.intrinsicHeight=ve.height.baseVal.value,Fe.context.cache.addImage(Fe.svg),Fe}return G}(ni),gu=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.value=ve.value,Fe}return G}(ni),iu=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.start=ve.start,Fe.reversed=typeof ve.reversed=="boolean"&&ve.reversed===!0,Fe}return G}(ni),$u=[{type:15,flags:0,unit:"px",number:3}],pu=[{type:16,flags:0,number:50}],Lu=function(G){return G.width>G.height?new C(G.left+(G.width-G.height)/2,G.top,G.height,G.height):G.width<G.height?new C(G.left,G.top+(G.height-G.width)/2,G.width,G.width):G},Ju=function(G){var ee=G.type===Zu?new Array(G.value.length+1).join("\u2022"):G.value;return ee.length===0?G.placeholder||"":ee},jl="checkbox",Ql="radio",Zu="password",ou=707406591,vl=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;switch(Fe.type=ve.type.toLowerCase(),Fe.checked=ve.checked,Fe.value=Ju(ve),(Fe.type===jl||Fe.type===Ql)&&(Fe.styles.backgroundColor=3739148031,Fe.styles.borderTopColor=Fe.styles.borderRightColor=Fe.styles.borderBottomColor=Fe.styles.borderLeftColor=2779096575,Fe.styles.borderTopWidth=Fe.styles.borderRightWidth=Fe.styles.borderBottomWidth=Fe.styles.borderLeftWidth=1,Fe.styles.borderTopStyle=Fe.styles.borderRightStyle=Fe.styles.borderBottomStyle=Fe.styles.borderLeftStyle=1,Fe.styles.backgroundClip=[0],Fe.styles.backgroundOrigin=[0],Fe.bounds=Lu(Fe.bounds)),Fe.type){case jl:Fe.styles.borderTopRightRadius=Fe.styles.borderTopLeftRadius=Fe.styles.borderBottomRightRadius=Fe.styles.borderBottomLeftRadius=$u;break;case Ql:Fe.styles.borderTopRightRadius=Fe.styles.borderTopLeftRadius=Fe.styles.borderBottomRightRadius=Fe.styles.borderBottomLeftRadius=pu;break}return Fe}return G}(ni),El=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this,yt=ve.options[ve.selectedIndex||0];return Fe.value=yt&&yt.text||"",Fe}return G}(ni),Ru=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.value=ve.value,Fe}return G}(ni),mu=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;Fe.src=ve.src,Fe.width=parseInt(ve.width,10)||0,Fe.height=parseInt(ve.height,10)||0,Fe.backgroundColor=Fe.styles.backgroundColor;try{if(ve.contentWindow&&ve.contentWindow.document&&ve.contentWindow.document.documentElement){Fe.tree=Uu(ee,ve.contentWindow.document.documentElement);var yt=ve.contentWindow.document.documentElement?Gr(ee,getComputedStyle(ve.contentWindow.document.documentElement).backgroundColor):gn.TRANSPARENT,er=ve.contentWindow.document.body?Gr(ee,getComputedStyle(ve.contentWindow.document.body).backgroundColor):gn.TRANSPARENT;Fe.backgroundColor=Et(yt)?Et(er)?Fe.styles.backgroundColor:er:yt}}catch(cr){}return Fe}return G}(ni),qu=["OL","UL","MENU"],Fu=function Lt(G,ee,ve,Fe){for(var yt=ee.firstChild,er=void 0;yt;yt=er)if(er=yt.nextSibling,Hu(yt)&&yt.data.trim().length>0)ve.textNodes.push(new Tu(G,yt,ve.styles));else if(gl(yt))if(rr(yt)&&yt.assignedNodes)yt.assignedNodes().forEach(function(gr){return Lt(G,gr,ve,Fe)});else{var cr=Nu(G,yt);cr.styles.isVisible()&&(ku(yt,cr,Fe)?cr.flags|=4:ec(cr.styles)&&(cr.flags|=2),qu.indexOf(yt.tagName)!==-1&&(cr.flags|=8),ve.elements.push(cr),yt.slot,yt.shadowRoot?Lt(G,yt.shadowRoot,cr,Fe):!jt(yt)&&!Kl(yt)&&!$t(yt)&&Lt(G,yt,cr,Fe))}},Nu=function(G,ee){return $(ee)?new vu(G,ee):Cu(ee)?new Mu(G,ee):Kl(ee)?new Pl(G,ee):yu(ee)?new gu(G,ee):xu(ee)?new iu(G,ee):Ml(ee)?new vl(G,ee):$t(ee)?new El(G,ee):jt(ee)?new Ru(G,ee):Be(ee)?new mu(G,ee):new ni(G,ee)},Uu=function(G,ee){var ve=Nu(G,ee);return ve.flags|=4,Fu(G,ee,ve,ve),ve},ku=function(G,ee,ve){return ee.styles.isPositionedWithZIndex()||ee.styles.opacity<1||ee.styles.isTransformed()||bu(G)&&ve.styles.isTransparent()},ec=function(G){return G.isPositioned()||G.isFloating()},Hu=function(G){return G.nodeType===Node.TEXT_NODE},gl=function(G){return G.nodeType===Node.ELEMENT_NODE},zl=function(G){return gl(G)&&typeof G.style!="undefined"&&!Vl(G)},Vl=function(G){return typeof G.className=="object"},yu=function(G){return G.tagName==="LI"},xu=function(G){return G.tagName==="OL"},Ml=function(G){return G.tagName==="INPUT"},_u=function(G){return G.tagName==="HTML"},Kl=function(G){return G.tagName==="svg"},bu=function(G){return G.tagName==="BODY"},Cu=function(G){return G.tagName==="CANVAS"},Qe=function(G){return G.tagName==="VIDEO"},$=function(G){return G.tagName==="IMG"},Be=function(G){return G.tagName==="IFRAME"},Ze=function(G){return G.tagName==="STYLE"},wt=function(G){return G.tagName==="SCRIPT"},jt=function(G){return G.tagName==="TEXTAREA"},$t=function(G){return G.tagName==="SELECT"},rr=function(G){return G.tagName==="SLOT"},vr=function(G){return G.tagName.indexOf("-")>0},Ur=function(){function Lt(){this.counters={}}return Lt.prototype.getCounterValue=function(G){var ee=this.counters[G];return ee&&ee.length?ee[ee.length-1]:1},Lt.prototype.getCounterValues=function(G){var ee=this.counters[G];return ee||[]},Lt.prototype.pop=function(G){var ee=this;G.forEach(function(ve){return ee.counters[ve].pop()})},Lt.prototype.parse=function(G){var ee=this,ve=G.counterIncrement,Fe=G.counterReset,yt=!0;ve!==null&&ve.forEach(function(cr){var gr=ee.counters[cr.counter];gr&&cr.increment!==0&&(yt=!1,gr.length||gr.push(1),gr[Math.max(0,gr.length-1)]+=cr.increment)});var er=[];return yt&&Fe.forEach(function(cr){var gr=ee.counters[cr.counter];er.push(cr.counter),gr||(gr=ee.counters[cr.counter]=[]),gr.push(cr.reset)}),er},Lt}(),Nr={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"]},Dr={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"]},Br={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"]},_r={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"]},rn=function(G,ee,ve,Fe,yt,er){return G<ee||G>ve?bs(G,yt,er.length>0):Fe.integers.reduce(function(cr,gr,Or){for(;G>=gr;)G-=gr,cr+=Fe.values[Or];return cr},"")+er},En=function(G,ee,ve,Fe){var yt="";do ve||G--,yt=Fe(G)+yt,G/=ee;while(G*ee>=ee);return yt},Sn=function(G,ee,ve,Fe,yt){var er=ve-ee+1;return(G<0?"-":"")+(En(Math.abs(G),er,Fe,function(cr){return s(Math.floor(cr%er)+ee)})+yt)},ya=function(G,ee,ve){ve===void 0&&(ve=". ");var Fe=ee.length;return En(Math.abs(G),Fe,!1,function(yt){return ee[Math.floor(yt%Fe)]})+ve},Sa=1<<0,ui=1<<1,Za=1<<2,qi=1<<3,Mi=function(G,ee,ve,Fe,yt,er){if(G<-9999||G>9999)return bs(G,4,yt.length>0);var cr=Math.abs(G),gr=yt;if(cr===0)return ee[0]+gr;for(var Or=0;cr>0&&Or<=4;Or++){var ln=cr%10;ln===0&&Rn(er,Sa)&&gr!==""?gr=ee[ln]+gr:ln>1||ln===1&&Or===0||ln===1&&Or===1&&Rn(er,ui)||ln===1&&Or===1&&Rn(er,Za)&&G>100||ln===1&&Or>1&&Rn(er,qi)?gr=ee[ln]+(Or>0?ve[Or-1]:"")+gr:ln===1&&Or>0&&(gr=ve[Or-1]+gr),cr=Math.floor(cr/10)}return(G<0?Fe:"")+gr},Ti="\u5341\u767E\u5343\u842C",Ts="\u62FE\u4F70\u4EDF\u842C",To="\u30DE\u30A4\u30CA\u30B9",xs="\uB9C8\uC774\uB108\uC2A4",bs=function(G,ee,ve){var Fe=ve?". ":"",yt=ve?"\u3001":"",er=ve?", ":"",cr=ve?" ":"";switch(ee){case 0:return"\u2022"+cr;case 1:return"\u25E6"+cr;case 2:return"\u25FE"+cr;case 5:var gr=Sn(G,48,57,!0,Fe);return gr.length<4?"0"+gr:gr;case 4:return ya(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",yt);case 6:return rn(G,1,3999,Nr,3,Fe).toLowerCase();case 7:return rn(G,1,3999,Nr,3,Fe);case 8:return Sn(G,945,969,!1,Fe);case 9:return Sn(G,97,122,!1,Fe);case 10:return Sn(G,65,90,!1,Fe);case 11:return Sn(G,1632,1641,!0,Fe);case 12:case 49:return rn(G,1,9999,Dr,3,Fe);case 35:return rn(G,1,9999,Dr,3,Fe).toLowerCase();case 13:return Sn(G,2534,2543,!0,Fe);case 14:case 30:return Sn(G,6112,6121,!0,Fe);case 15:return ya(G,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",yt);case 16:return ya(G,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",yt);case 17:case 48:return Mi(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ti,"\u8CA0",yt,ui|Za|qi);case 47:return Mi(G,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Ts,"\u8CA0",yt,Sa|ui|Za|qi);case 42:return Mi(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ti,"\u8D1F",yt,ui|Za|qi);case 41:return Mi(G,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Ts,"\u8D1F",yt,Sa|ui|Za|qi);case 26:return Mi(G,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",To,yt,0);case 25:return Mi(G,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",To,yt,Sa|ui|Za);case 31:return Mi(G,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",xs,er,Sa|ui|Za);case 33:return Mi(G,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",xs,er,0);case 32:return Mi(G,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",xs,er,Sa|ui|Za);case 18:return Sn(G,2406,2415,!0,Fe);case 20:return rn(G,1,19999,_r,3,Fe);case 21:return Sn(G,2790,2799,!0,Fe);case 22:return Sn(G,2662,2671,!0,Fe);case 22:return rn(G,1,10999,Br,3,Fe);case 23:return ya(G,"\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 24:return ya(G,"\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 27:return Sn(G,3302,3311,!0,Fe);case 28:return ya(G,"\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",yt);case 29:return ya(G,"\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",yt);case 34:return Sn(G,3792,3801,!0,Fe);case 37:return Sn(G,6160,6169,!0,Fe);case 38:return Sn(G,4160,4169,!0,Fe);case 39:return Sn(G,2918,2927,!0,Fe);case 40:return Sn(G,1776,1785,!0,Fe);case 43:return Sn(G,3046,3055,!0,Fe);case 44:return Sn(G,3174,3183,!0,Fe);case 45:return Sn(G,3664,3673,!0,Fe);case 46:return Sn(G,3872,3881,!0,Fe);case 3:default:return Sn(G,48,57,!0,Fe)}},p="data-html2canvas-ignore",O=function(){function Lt(G,ee,ve){if(this.context=G,this.options=ve,this.scrolledElements=[],this.referenceElement=ee,this.counters=new Ur,this.quoteDepth=0,!ee.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ee.ownerDocument.documentElement,!1)}return Lt.prototype.toIFrame=function(G,ee){var ve=this,Fe=j(G,ee);if(!Fe.contentWindow)return Promise.reject("Unable to find iframe window");var yt=G.defaultView.pageXOffset,er=G.defaultView.pageYOffset,cr=Fe.contentWindow,gr=cr.document,Or=We(Fe).then(function(){return D(ve,void 0,void 0,function(){var ln,en;return I(this,function(fn){switch(fn.label){case 0:return this.scrolledElements.forEach(Pr),cr&&(cr.scrollTo(ee.left,ee.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(cr.scrollY!==ee.top||cr.scrollX!==ee.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(cr.scrollX-ee.left,cr.scrollY-ee.top,0,0))),ln=this.options.onclone,en=this.clonedReferenceElement,typeof en=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:gr.fonts&&gr.fonts.ready?[4,gr.fonts.ready]:[3,2];case 1:fn.sent(),fn.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,me(gr)]:[3,4];case 3:fn.sent(),fn.label=4;case 4:return typeof ln=="function"?[2,Promise.resolve().then(function(){return ln(gr,en)}).then(function(){return Fe})]:[2,Fe]}})})});return gr.open(),gr.write(kt(document.doctype)+"<html></html>"),mr(this.referenceElement.ownerDocument,yt,er),gr.replaceChild(gr.adoptNode(this.documentElement),gr.documentElement),gr.close(),Or},Lt.prototype.createElementClone=function(G){if(Jo(G,2))debugger;if(Cu(G))return this.createCanvasClone(G);if(Qe(G))return this.createVideoClone(G);if(Ze(G))return this.createStyleClone(G);var ee=G.cloneNode(!1);return $(ee)&&($(G)&&G.currentSrc&&G.currentSrc!==G.src&&(ee.src=G.currentSrc,ee.srcset=""),ee.loading==="lazy"&&(ee.loading="eager")),vr(ee)?this.createCustomElementClone(ee):ee},Lt.prototype.createCustomElementClone=function(G){var ee=document.createElement("html2canvascustomelement");return Pt(G.style,ee),ee},Lt.prototype.createStyleClone=function(G){try{var ee=G.sheet;if(ee&&ee.cssRules){var ve=[].slice.call(ee.cssRules,0).reduce(function(yt,er){return er&&typeof er.cssText=="string"?yt+er.cssText:yt},""),Fe=G.cloneNode(!1);return Fe.textContent=ve,Fe}}catch(yt){if(this.context.logger.error("Unable to access cssRules property",yt),yt.name!=="SecurityError")throw yt}return G.cloneNode(!1)},Lt.prototype.createCanvasClone=function(G){var ee;if(this.options.inlineImages&&G.ownerDocument){var ve=G.ownerDocument.createElement("img");try{return ve.src=G.toDataURL(),ve}catch(Or){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",G)}}var Fe=G.cloneNode(!1);try{Fe.width=G.width,Fe.height=G.height;var yt=G.getContext("2d"),er=Fe.getContext("2d");if(er)if(!this.options.allowTaint&&yt)er.putImageData(yt.getImageData(0,0,G.width,G.height),0,0);else{var cr=(ee=G.getContext("webgl2"))!==null&&ee!==void 0?ee:G.getContext("webgl");if(cr){var gr=cr.getContextAttributes();(gr==null?void 0:gr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",G)}er.drawImage(G,0,0)}return Fe}catch(Or){this.context.logger.info("Unable to clone canvas as it is tainted",G)}return Fe},Lt.prototype.createVideoClone=function(G){var ee=G.ownerDocument.createElement("canvas");ee.width=G.offsetWidth,ee.height=G.offsetHeight;var ve=ee.getContext("2d");try{return ve&&(ve.drawImage(G,0,0,ee.width,ee.height),this.options.allowTaint||ve.getImageData(0,0,ee.width,ee.height)),ee}catch(yt){this.context.logger.info("Unable to clone video as it is tainted",G)}var Fe=G.ownerDocument.createElement("canvas");return Fe.width=G.offsetWidth,Fe.height=G.offsetHeight,Fe},Lt.prototype.appendChildNode=function(G,ee,ve){(!gl(ee)||!wt(ee)&&!ee.hasAttribute(p)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(ee)))&&(!this.options.copyStyles||!gl(ee)||!Ze(ee))&&G.appendChild(this.cloneNode(ee,ve))},Lt.prototype.cloneChildNodes=function(G,ee,ve){for(var Fe=this,yt=G.shadowRoot?G.shadowRoot.firstChild:G.firstChild;yt;yt=yt.nextSibling)if(gl(yt)&&rr(yt)&&typeof yt.assignedNodes=="function"){var er=yt.assignedNodes();er.length&&er.forEach(function(cr){return Fe.appendChildNode(ee,cr,ve)})}else this.appendChildNode(ee,yt,ve)},Lt.prototype.cloneNode=function(G,ee){if(Hu(G))return document.createTextNode(G.data);if(!G.ownerDocument)return G.cloneNode(!1);var ve=G.ownerDocument.defaultView;if(ve&&gl(G)&&(zl(G)||Vl(G))){var Fe=this.createElementClone(G);Fe.style.transitionProperty="none";var yt=ve.getComputedStyle(G),er=ve.getComputedStyle(G,":before"),cr=ve.getComputedStyle(G,":after");this.referenceElement===G&&zl(Fe)&&(this.clonedReferenceElement=Fe),bu(Fe)&&ia(Fe);var gr=this.counters.parse(new ro(this.context,yt)),Or=this.resolvePseudoContent(G,Fe,er,H.BEFORE);vr(G)&&(ee=!0),Qe(G)||this.cloneChildNodes(G,Fe,ee),Or&&Fe.insertBefore(Or,Fe.firstChild);var ln=this.resolvePseudoContent(G,Fe,cr,H.AFTER);return ln&&Fe.appendChild(ln),this.counters.pop(gr),(yt&&(this.options.copyStyles||Vl(G))&&!Be(G)||ee)&&Pt(yt,Fe),(G.scrollTop!==0||G.scrollLeft!==0)&&this.scrolledElements.push([Fe,G.scrollLeft,G.scrollTop]),(jt(G)||$t(G))&&(jt(Fe)||$t(Fe))&&(Fe.value=G.value),Fe}return G.cloneNode(!1)},Lt.prototype.resolvePseudoContent=function(G,ee,ve,Fe){var yt=this;if(!!ve){var er=ve.content,cr=ee.ownerDocument;if(!(!cr||!er||er==="none"||er==="-moz-alt-content"||ve.display==="none")){this.counters.parse(new ro(this.context,ve));var gr=new Yo(this.context,ve),Or=cr.createElement("html2canvaspseudoelement");Pt(ve,Or),gr.content.forEach(function(en){if(en.type===0)Or.appendChild(cr.createTextNode(en.value));else if(en.type===22){var fn=cr.createElement("img");fn.src=en.value,fn.style.opacity="1",Or.appendChild(fn)}else if(en.type===18){if(en.name==="attr"){var ua=en.values.filter(ji);ua.length&&Or.appendChild(cr.createTextNode(G.getAttribute(ua[0].value)||""))}else if(en.name==="counter"){var pa=en.values.filter(lr),_a=pa[0],Pi=pa[1];if(_a&&ji(_a)){var Ai=yt.counters.getCounterValue(_a.value),ai=Pi&&ji(Pi)?Ei.parse(yt.context,Pi.value):3;Or.appendChild(cr.createTextNode(bs(Ai,ai,!1)))}}else if(en.name==="counters"){var wo=en.values.filter(lr),_a=wo[0],Mo=wo[1],Pi=wo[2];if(_a&&ji(_a)){var ho=yt.counters.getCounterValues(_a.value),ri=Pi&&ji(Pi)?Ei.parse(yt.context,Pi.value):3,zo=Mo&&Mo.type===0?Mo.value:"",Wo=ho.map(function(yl){return bs(yl,ri,!1)}).join(zo);Or.appendChild(cr.createTextNode(Wo))}}}else if(en.type===20)switch(en.value){case"open-quote":Or.appendChild(cr.createTextNode(po(gr.quotes,yt.quoteDepth++,!0)));break;case"close-quote":Or.appendChild(cr.createTextNode(po(gr.quotes,--yt.quoteDepth,!1)));break;default:Or.appendChild(cr.createTextNode(en.value))}}),Or.className=mn+" "+Un;var ln=Fe===H.BEFORE?" "+mn:" "+Un;return Vl(ee)?ee.className.baseValue+=ln:ee.className+=ln,Or}}},Lt.destroy=function(G){return G.parentNode?(G.parentNode.removeChild(G),!0):!1},Lt}(),H;(function(Lt){Lt[Lt.BEFORE=0]="BEFORE",Lt[Lt.AFTER=1]="AFTER"})(H||(H={}));var j=function(G,ee){var ve=G.createElement("iframe");return ve.className="html2canvas-container",ve.style.visibility="hidden",ve.style.position="fixed",ve.style.left="-10000px",ve.style.top="0px",ve.style.border="0",ve.width=ee.width.toString(),ve.height=ee.height.toString(),ve.scrolling="no",ve.setAttribute(p,"true"),G.body.appendChild(ve),ve},K=function(G){return new Promise(function(ee){if(G.complete){ee();return}if(!G.src){ee();return}G.onload=ee,G.onerror=ee})},me=function(G){return Promise.all([].slice.call(G.images,0).map(K))},We=function(G){return new Promise(function(ee,ve){var Fe=G.contentWindow;if(!Fe)return ve("No window assigned for iframe");var yt=Fe.document;Fe.onload=G.onload=function(){Fe.onload=G.onload=null;var er=setInterval(function(){yt.body.childNodes.length>0&&yt.readyState==="complete"&&(clearInterval(er),ee(G))},50)}})},ct=["all","d","content"],Pt=function(G,ee){for(var ve=G.length-1;ve>=0;ve--){var Fe=G.item(ve);ct.indexOf(Fe)===-1&&ee.style.setProperty(Fe,G.getPropertyValue(Fe))}return ee},kt=function(G){var ee="";return G&&(ee+="<!DOCTYPE ",G.name&&(ee+=G.name),G.internalSubset&&(ee+=G.internalSubset),G.publicId&&(ee+='"'+G.publicId+'"'),G.systemId&&(ee+='"'+G.systemId+'"'),ee+=">"),ee},mr=function(G,ee,ve){G&&G.defaultView&&(ee!==G.defaultView.pageXOffset||ve!==G.defaultView.pageYOffset)&&G.defaultView.scrollTo(ee,ve)},Pr=function(G){var ee=G[0],ve=G[1],Fe=G[2];ee.scrollLeft=ve,ee.scrollTop=Fe},zr=":before",$r=":after",mn="___html2canvas___pseudoelement_before",Un="___html2canvas___pseudoelement_after",ra=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,ia=function(G){xa(G,"."+mn+zr+ra+`
|
|
|
.`+Un+$r+ra)},xa=function(G,ee){var ve=G.ownerDocument;if(ve){var Fe=ve.createElement("style");Fe.textContent=ee,G.appendChild(Fe)}},Ea=function(){function Lt(){}return Lt.getOrigin=function(G){var ee=Lt._link;return ee?(ee.href=G,ee.href=ee.href,ee.protocol+ee.hostname+ee.port):"about:blank"},Lt.isSameOrigin=function(G){return Lt.getOrigin(G)===Lt._origin},Lt.setContext=function(G){Lt._link=G.document.createElement("a"),Lt._origin=Lt.getOrigin(G.location.href)},Lt._origin="about:blank",Lt}(),Ua=function(){function Lt(G,ee){this.context=G,this._options=ee,this._cache={}}return Lt.prototype.addImage=function(G){var ee=Promise.resolve();return this.has(G)||(Rs(G)||ko(G))&&(this._cache[G]=this.loadImage(G)).catch(function(){}),ee},Lt.prototype.match=function(G){return this._cache[G]},Lt.prototype.loadImage=function(G){return D(this,void 0,void 0,function(){var ee,ve,Fe,yt,er=this;return I(this,function(cr){switch(cr.label){case 0:return ee=Ea.isSameOrigin(G),ve=!Ss(G)&&this._options.useCORS===!0&&ys.SUPPORT_CORS_IMAGES&&!ee,Fe=!Ss(G)&&!ee&&!Rs(G)&&typeof this._options.proxy=="string"&&ys.SUPPORT_CORS_XHR&&!ve,!ee&&this._options.allowTaint===!1&&!Ss(G)&&!Rs(G)&&!Fe&&!ve?[2]:(yt=G,Fe?[4,this.proxy(yt)]:[3,2]);case 1:yt=cr.sent(),cr.label=2;case 2:return this.context.logger.debug("Added image "+G.substring(0,256)),[4,new Promise(function(gr,Or){var ln=new Image;ln.onload=function(){return gr(ln)},ln.onerror=Or,(qo(yt)||ve)&&(ln.crossOrigin="anonymous"),ln.src=yt,ln.complete===!0&&setTimeout(function(){return gr(ln)},500),er._options.imageTimeout>0&&setTimeout(function(){return Or("Timed out ("+er._options.imageTimeout+"ms) loading image")},er._options.imageTimeout)})];case 3:return[2,cr.sent()]}})})},Lt.prototype.has=function(G){return typeof this._cache[G]!="undefined"},Lt.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},Lt.prototype.proxy=function(G){var ee=this,ve=this._options.proxy;if(!ve)throw new Error("No proxy defined");var Fe=G.substring(0,256);return new Promise(function(yt,er){var cr=ys.SUPPORT_RESPONSE_TYPE?"blob":"text",gr=new XMLHttpRequest;gr.onload=function(){if(gr.status===200)if(cr==="text")yt(gr.response);else{var en=new FileReader;en.addEventListener("load",function(){return yt(en.result)},!1),en.addEventListener("error",function(fn){return er(fn)},!1),en.readAsDataURL(gr.response)}else er("Failed to proxy resource "+Fe+" with status code "+gr.status)},gr.onerror=er;var Or=ve.indexOf("?")>-1?"&":"?";if(gr.open("GET",""+ve+Or+"url="+encodeURIComponent(G)+"&responseType="+cr),cr!=="text"&&gr instanceof XMLHttpRequest&&(gr.responseType=cr),ee._options.imageTimeout){var ln=ee._options.imageTimeout;gr.timeout=ln,gr.ontimeout=function(){return er("Timed out ("+ln+"ms) proxying "+Fe)}}gr.send()})},Lt}(),Bi=/^data:image\/svg\+xml/i,gi=/^data:image\/.*;base64,/i,yo=/^data:image\/.*/i,ko=function(G){return ys.SUPPORT_SVG_DRAWING||!Gs(G)},Ss=function(G){return yo.test(G)},qo=function(G){return gi.test(G)},Rs=function(G){return G.substr(0,4)==="blob"},Gs=function(G){return G.substr(-3).toLowerCase()==="svg"||Bi.test(G)},Aa=function(){function Lt(G,ee){this.type=0,this.x=G,this.y=ee}return Lt.prototype.add=function(G,ee){return new Lt(this.x+G,this.y+ee)},Lt}(),Bs=function(G,ee,ve){return new Aa(G.x+(ee.x-G.x)*ve,G.y+(ee.y-G.y)*ve)},Cs=function(){function Lt(G,ee,ve,Fe){this.type=1,this.start=G,this.startControl=ee,this.endControl=ve,this.end=Fe}return Lt.prototype.subdivide=function(G,ee){var ve=Bs(this.start,this.startControl,G),Fe=Bs(this.startControl,this.endControl,G),yt=Bs(this.endControl,this.end,G),er=Bs(ve,Fe,G),cr=Bs(Fe,yt,G),gr=Bs(er,cr,G);return ee?new Lt(this.start,ve,er,gr):new Lt(gr,cr,yt,this.end)},Lt.prototype.add=function(G,ee){return new Lt(this.start.add(G,ee),this.startControl.add(G,ee),this.endControl.add(G,ee),this.end.add(G,ee))},Lt.prototype.reverse=function(){return new Lt(this.end,this.endControl,this.startControl,this.start)},Lt}(),Qo=function(G){return G.type===1},ws=function(){function Lt(G){var ee=G.styles,ve=G.bounds,Fe=Kr(ee.borderTopLeftRadius,ve.width,ve.height),yt=Fe[0],er=Fe[1],cr=Kr(ee.borderTopRightRadius,ve.width,ve.height),gr=cr[0],Or=cr[1],ln=Kr(ee.borderBottomRightRadius,ve.width,ve.height),en=ln[0],fn=ln[1],ua=Kr(ee.borderBottomLeftRadius,ve.width,ve.height),pa=ua[0],_a=ua[1],Pi=[];Pi.push((yt+gr)/ve.width),Pi.push((pa+en)/ve.width),Pi.push((er+_a)/ve.height),Pi.push((Or+fn)/ve.height);var Ai=Math.max.apply(Math,Pi);Ai>1&&(yt/=Ai,er/=Ai,gr/=Ai,Or/=Ai,en/=Ai,fn/=Ai,pa/=Ai,_a/=Ai);var ai=ve.width-gr,wo=ve.height-fn,Mo=ve.width-en,ho=ve.height-_a,ri=ee.borderTopWidth,zo=ee.borderRightWidth,Wo=ee.borderBottomWidth,vo=ee.borderLeftWidth,rl=on(ee.paddingTop,G.bounds.width),yl=on(ee.paddingRight,G.bounds.width),nl=on(ee.paddingBottom,G.bounds.width),ks=on(ee.paddingLeft,G.bounds.width);this.topLeftBorderDoubleOuterBox=yt>0||er>0?Co(ve.left+vo/3,ve.top+ri/3,yt-vo/3,er-ri/3,ki.TOP_LEFT):new Aa(ve.left+vo/3,ve.top+ri/3),this.topRightBorderDoubleOuterBox=yt>0||er>0?Co(ve.left+ai,ve.top+ri/3,gr-zo/3,Or-ri/3,ki.TOP_RIGHT):new Aa(ve.left+ve.width-zo/3,ve.top+ri/3),this.bottomRightBorderDoubleOuterBox=en>0||fn>0?Co(ve.left+Mo,ve.top+wo,en-zo/3,fn-Wo/3,ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width-zo/3,ve.top+ve.height-Wo/3),this.bottomLeftBorderDoubleOuterBox=pa>0||_a>0?Co(ve.left+vo/3,ve.top+ho,pa-vo/3,_a-Wo/3,ki.BOTTOM_LEFT):new Aa(ve.left+vo/3,ve.top+ve.height-Wo/3),this.topLeftBorderDoubleInnerBox=yt>0||er>0?Co(ve.left+vo*2/3,ve.top+ri*2/3,yt-vo*2/3,er-ri*2/3,ki.TOP_LEFT):new Aa(ve.left+vo*2/3,ve.top+ri*2/3),this.topRightBorderDoubleInnerBox=yt>0||er>0?Co(ve.left+ai,ve.top+ri*2/3,gr-zo*2/3,Or-ri*2/3,ki.TOP_RIGHT):new Aa(ve.left+ve.width-zo*2/3,ve.top+ri*2/3),this.bottomRightBorderDoubleInnerBox=en>0||fn>0?Co(ve.left+Mo,ve.top+wo,en-zo*2/3,fn-Wo*2/3,ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width-zo*2/3,ve.top+ve.height-Wo*2/3),this.bottomLeftBorderDoubleInnerBox=pa>0||_a>0?Co(ve.left+vo*2/3,ve.top+ho,pa-vo*2/3,_a-Wo*2/3,ki.BOTTOM_LEFT):new Aa(ve.left+vo*2/3,ve.top+ve.height-Wo*2/3),this.topLeftBorderStroke=yt>0||er>0?Co(ve.left+vo/2,ve.top+ri/2,yt-vo/2,er-ri/2,ki.TOP_LEFT):new Aa(ve.left+vo/2,ve.top+ri/2),this.topRightBorderStroke=yt>0||er>0?Co(ve.left+ai,ve.top+ri/2,gr-zo/2,Or-ri/2,ki.TOP_RIGHT):new Aa(ve.left+ve.width-zo/2,ve.top+ri/2),this.bottomRightBorderStroke=en>0||fn>0?Co(ve.left+Mo,ve.top+wo,en-zo/2,fn-Wo/2,ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width-zo/2,ve.top+ve.height-Wo/2),this.bottomLeftBorderStroke=pa>0||_a>0?Co(ve.left+vo/2,ve.top+ho,pa-vo/2,_a-Wo/2,ki.BOTTOM_LEFT):new Aa(ve.left+vo/2,ve.top+ve.height-Wo/2),this.topLeftBorderBox=yt>0||er>0?Co(ve.left,ve.top,yt,er,ki.TOP_LEFT):new Aa(ve.left,ve.top),this.topRightBorderBox=gr>0||Or>0?Co(ve.left+ai,ve.top,gr,Or,ki.TOP_RIGHT):new Aa(ve.left+ve.width,ve.top),this.bottomRightBorderBox=en>0||fn>0?Co(ve.left+Mo,ve.top+wo,en,fn,ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width,ve.top+ve.height),this.bottomLeftBorderBox=pa>0||_a>0?Co(ve.left,ve.top+ho,pa,_a,ki.BOTTOM_LEFT):new Aa(ve.left,ve.top+ve.height),this.topLeftPaddingBox=yt>0||er>0?Co(ve.left+vo,ve.top+ri,Math.max(0,yt-vo),Math.max(0,er-ri),ki.TOP_LEFT):new Aa(ve.left+vo,ve.top+ri),this.topRightPaddingBox=gr>0||Or>0?Co(ve.left+Math.min(ai,ve.width-zo),ve.top+ri,ai>ve.width+zo?0:Math.max(0,gr-zo),Math.max(0,Or-ri),ki.TOP_RIGHT):new Aa(ve.left+ve.width-zo,ve.top+ri),this.bottomRightPaddingBox=en>0||fn>0?Co(ve.left+Math.min(Mo,ve.width-vo),ve.top+Math.min(wo,ve.height-Wo),Math.max(0,en-zo),Math.max(0,fn-Wo),ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width-zo,ve.top+ve.height-Wo),this.bottomLeftPaddingBox=pa>0||_a>0?Co(ve.left+vo,ve.top+Math.min(ho,ve.height-Wo),Math.max(0,pa-vo),Math.max(0,_a-Wo),ki.BOTTOM_LEFT):new Aa(ve.left+vo,ve.top+ve.height-Wo),this.topLeftContentBox=yt>0||er>0?Co(ve.left+vo+ks,ve.top+ri+rl,Math.max(0,yt-(vo+ks)),Math.max(0,er-(ri+rl)),ki.TOP_LEFT):new Aa(ve.left+vo+ks,ve.top+ri+rl),this.topRightContentBox=gr>0||Or>0?Co(ve.left+Math.min(ai,ve.width+vo+ks),ve.top+ri+rl,ai>ve.width+vo+ks?0:gr-vo+ks,Or-(ri+rl),ki.TOP_RIGHT):new Aa(ve.left+ve.width-(zo+yl),ve.top+ri+rl),this.bottomRightContentBox=en>0||fn>0?Co(ve.left+Math.min(Mo,ve.width-(vo+ks)),ve.top+Math.min(wo,ve.height+ri+rl),Math.max(0,en-(zo+yl)),fn-(Wo+nl),ki.BOTTOM_RIGHT):new Aa(ve.left+ve.width-(zo+yl),ve.top+ve.height-(Wo+nl)),this.bottomLeftContentBox=pa>0||_a>0?Co(ve.left+vo+ks,ve.top+ho,Math.max(0,pa-(vo+ks)),_a-(Wo+nl),ki.BOTTOM_LEFT):new Aa(ve.left+vo+ks,ve.top+ve.height-(Wo+nl))}return Lt}(),ki;(function(Lt){Lt[Lt.TOP_LEFT=0]="TOP_LEFT",Lt[Lt.TOP_RIGHT=1]="TOP_RIGHT",Lt[Lt.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",Lt[Lt.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ki||(ki={}));var Co=function(G,ee,ve,Fe,yt){var er=4*((Math.sqrt(2)-1)/3),cr=ve*er,gr=Fe*er,Or=G+ve,ln=ee+Fe;switch(yt){case ki.TOP_LEFT:return new Cs(new Aa(G,ln),new Aa(G,ln-gr),new Aa(Or-cr,ee),new Aa(Or,ee));case ki.TOP_RIGHT:return new Cs(new Aa(G,ee),new Aa(G+cr,ee),new Aa(Or,ln-gr),new Aa(Or,ln));case ki.BOTTOM_RIGHT:return new Cs(new Aa(Or,ee),new Aa(Or,ee+gr),new Aa(G+cr,ln),new Aa(G,ln));case ki.BOTTOM_LEFT:default:return new Cs(new Aa(Or,ln),new Aa(Or-cr,ln),new Aa(G,ee+gr),new Aa(G,ee))}},Ol=function(G){return[G.topLeftBorderBox,G.topRightBorderBox,G.bottomRightBorderBox,G.bottomLeftBorderBox]},Ll=function(G){return[G.topLeftContentBox,G.topRightContentBox,G.bottomRightContentBox,G.bottomLeftContentBox]},Es=function(G){return[G.topLeftPaddingBox,G.topRightPaddingBox,G.bottomRightPaddingBox,G.bottomLeftPaddingBox]},pl=function(){function Lt(G,ee,ve){this.offsetX=G,this.offsetY=ee,this.matrix=ve,this.type=0,this.target=2|4}return Lt}(),hs=function(){function Lt(G,ee){this.path=G,this.target=ee,this.type=1}return Lt}(),tc=function(){function Lt(G){this.opacity=G,this.type=2,this.target=2|4}return Lt}(),Il=function(G){return G.type===0},Rl=function(G){return G.type===1},Wl=function(G){return G.type===2},Us=function(G,ee){return G.length===ee.length?G.some(function(ve,Fe){return ve===ee[Fe]}):!1},su=function(G,ee,ve,Fe,yt){return G.map(function(er,cr){switch(cr){case 0:return er.add(ee,ve);case 1:return er.add(ee+Fe,ve);case 2:return er.add(ee+Fe,ve+yt);case 3:return er.add(ee,ve+yt)}return er})},ju=function(){function Lt(G){this.element=G,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return Lt}(),sc=function(){function Lt(G,ee){if(this.container=G,this.parent=ee,this.effects=[],this.curves=new ws(this.container),this.container.styles.opacity<1&&this.effects.push(new tc(this.container.styles.opacity)),this.container.styles.transform!==null){var ve=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Fe=this.container.bounds.top+this.container.styles.transformOrigin[1].number,yt=this.container.styles.transform;this.effects.push(new pl(ve,Fe,yt))}if(this.container.styles.overflowX!==0){var er=Ol(this.curves),cr=Es(this.curves);Us(er,cr)?this.effects.push(new hs(er,2|4)):(this.effects.push(new hs(er,2)),this.effects.push(new hs(cr,4)))}}return Lt.prototype.getEffects=function(G){for(var ee=[2,3].indexOf(this.container.styles.position)===-1,ve=this.parent,Fe=this.effects.slice(0);ve;){var yt=ve.effects.filter(function(gr){return!Rl(gr)});if(ee||ve.container.styles.position!==0||!ve.parent){if(Fe.unshift.apply(Fe,yt),ee=[2,3].indexOf(ve.container.styles.position)===-1,ve.container.styles.overflowX!==0){var er=Ol(ve.curves),cr=Es(ve.curves);Us(er,cr)||Fe.unshift(new hs(cr,2|4))}}else Fe.unshift.apply(Fe,yt);ve=ve.parent}return Fe.filter(function(gr){return Rn(gr.target,G)})},Lt}(),Ac=function Lt(G,ee,ve,Fe){G.container.elements.forEach(function(yt){var er=Rn(yt.flags,4),cr=Rn(yt.flags,2),gr=new sc(yt,G);Rn(yt.styles.display,2048)&&Fe.push(gr);var Or=Rn(yt.flags,8)?[]:Fe;if(er||cr){var ln=er||yt.styles.isPositioned()?ve:ee,en=new ju(gr);if(yt.styles.isPositioned()||yt.styles.opacity<1||yt.styles.isTransformed()){var fn=yt.styles.zIndex.order;if(fn<0){var ua=0;ln.negativeZIndex.some(function(_a,Pi){return fn>_a.element.container.styles.zIndex.order?(ua=Pi,!1):ua>0}),ln.negativeZIndex.splice(ua,0,en)}else if(fn>0){var pa=0;ln.positiveZIndex.some(function(_a,Pi){return fn>=_a.element.container.styles.zIndex.order?(pa=Pi+1,!1):pa>0}),ln.positiveZIndex.splice(pa,0,en)}else ln.zeroOrAutoZIndexOrTransformedOrOpacity.push(en)}else yt.styles.isFloating()?ln.nonPositionedFloats.push(en):ln.nonPositionedInlineLevel.push(en);Lt(gr,en,er?en:ve,Or)}else yt.styles.isInlineLevel()?ee.inlineLevel.push(gr):ee.nonInlineLevel.push(gr),Lt(gr,ee,ve,Or);Rn(yt.flags,8)&&lc(yt,Or)})},lc=function(G,ee){for(var ve=G instanceof iu?G.start:1,Fe=G instanceof iu?G.reversed:!1,yt=0;yt<ee.length;yt++){var er=ee[yt];er.container instanceof gu&&typeof er.container.value=="number"&&er.container.value!==0&&(ve=er.container.value),er.listValue=bs(ve,er.container.styles.listStyleType,!0),ve+=Fe?-1:1}},hc=function(G){var ee=new sc(G,null),ve=new ju(ee),Fe=[];return Ac(ee,ve,ve,Fe),lc(ee.container,Fe),ve},uc=function(G,ee){switch(ee){case 0:return ml(G.topLeftBorderBox,G.topLeftPaddingBox,G.topRightBorderBox,G.topRightPaddingBox);case 1:return ml(G.topRightBorderBox,G.topRightPaddingBox,G.bottomRightBorderBox,G.bottomRightPaddingBox);case 2:return ml(G.bottomRightBorderBox,G.bottomRightPaddingBox,G.bottomLeftBorderBox,G.bottomLeftPaddingBox);case 3:default:return ml(G.bottomLeftBorderBox,G.bottomLeftPaddingBox,G.topLeftBorderBox,G.topLeftPaddingBox)}},vc=function(G,ee){switch(ee){case 0:return ml(G.topLeftBorderBox,G.topLeftBorderDoubleOuterBox,G.topRightBorderBox,G.topRightBorderDoubleOuterBox);case 1:return ml(G.topRightBorderBox,G.topRightBorderDoubleOuterBox,G.bottomRightBorderBox,G.bottomRightBorderDoubleOuterBox);case 2:return ml(G.bottomRightBorderBox,G.bottomRightBorderDoubleOuterBox,G.bottomLeftBorderBox,G.bottomLeftBorderDoubleOuterBox);case 3:default:return ml(G.bottomLeftBorderBox,G.bottomLeftBorderDoubleOuterBox,G.topLeftBorderBox,G.topLeftBorderDoubleOuterBox)}},gc=function(G,ee){switch(ee){case 0:return ml(G.topLeftBorderDoubleInnerBox,G.topLeftPaddingBox,G.topRightBorderDoubleInnerBox,G.topRightPaddingBox);case 1:return ml(G.topRightBorderDoubleInnerBox,G.topRightPaddingBox,G.bottomRightBorderDoubleInnerBox,G.bottomRightPaddingBox);case 2:return ml(G.bottomRightBorderDoubleInnerBox,G.bottomRightPaddingBox,G.bottomLeftBorderDoubleInnerBox,G.bottomLeftPaddingBox);case 3:default:return ml(G.bottomLeftBorderDoubleInnerBox,G.bottomLeftPaddingBox,G.topLeftBorderDoubleInnerBox,G.topLeftPaddingBox)}},pc=function(G,ee){switch(ee){case 0:return nc(G.topLeftBorderStroke,G.topRightBorderStroke);case 1:return nc(G.topRightBorderStroke,G.bottomRightBorderStroke);case 2:return nc(G.bottomRightBorderStroke,G.bottomLeftBorderStroke);case 3:default:return nc(G.bottomLeftBorderStroke,G.topLeftBorderStroke)}},nc=function(G,ee){var ve=[];return Qo(G)?ve.push(G.subdivide(.5,!1)):ve.push(G),Qo(ee)?ve.push(ee.subdivide(.5,!0)):ve.push(ee),ve},ml=function(G,ee,ve,Fe){var yt=[];return Qo(G)?yt.push(G.subdivide(.5,!1)):yt.push(G),Qo(ve)?yt.push(ve.subdivide(.5,!0)):yt.push(ve),Qo(Fe)?yt.push(Fe.subdivide(.5,!0).reverse()):yt.push(Fe),Qo(ee)?yt.push(ee.subdivide(.5,!1).reverse()):yt.push(ee),yt},cc=function(G){var ee=G.bounds,ve=G.styles;return ee.add(ve.borderLeftWidth,ve.borderTopWidth,-(ve.borderRightWidth+ve.borderLeftWidth),-(ve.borderTopWidth+ve.borderBottomWidth))},ac=function(G){var ee=G.styles,ve=G.bounds,Fe=on(ee.paddingLeft,ve.width),yt=on(ee.paddingRight,ve.width),er=on(ee.paddingTop,ve.width),cr=on(ee.paddingBottom,ve.width);return ve.add(Fe+ee.borderLeftWidth,er+ee.borderTopWidth,-(ee.borderRightWidth+ee.borderLeftWidth+Fe+yt),-(ee.borderTopWidth+ee.borderBottomWidth+er+cr))},mc=function(G,ee){return G===0?ee.bounds:G===2?ac(ee):cc(ee)},yc=function(G,ee){return G===0?ee.bounds:G===2?ac(ee):cc(ee)},oc=function(G,ee,ve){var Fe=mc(zu(G.styles.backgroundOrigin,ee),G),yt=yc(zu(G.styles.backgroundClip,ee),G),er=xc(zu(G.styles.backgroundSize,ee),ve,Fe),cr=er[0],gr=er[1],Or=Kr(zu(G.styles.backgroundPosition,ee),Fe.width-cr,Fe.height-gr),ln=bc(zu(G.styles.backgroundRepeat,ee),Or,er,Fe,yt),en=Math.round(Fe.left+Or[0]),fn=Math.round(Fe.top+Or[1]);return[ln,en,fn,cr,gr]},Qu=function(G){return ji(G)&&G.value===pi.AUTO},ic=function(G){return typeof G=="number"},xc=function(G,ee,ve){var Fe=ee[0],yt=ee[1],er=ee[2],cr=G[0],gr=G[1];if(!cr)return[0,0];if(sn(cr)&&gr&&sn(gr))return[on(cr,ve.width),on(gr,ve.height)];var Or=ic(er);if(ji(cr)&&(cr.value===pi.CONTAIN||cr.value===pi.COVER)){if(ic(er)){var ln=ve.width/ve.height;return ln<er!=(cr.value===pi.COVER)?[ve.width,ve.width/er]:[ve.height*er,ve.height]}return[ve.width,ve.height]}var en=ic(Fe),fn=ic(yt),ua=en||fn;if(Qu(cr)&&(!gr||Qu(gr))){if(en&&fn)return[Fe,yt];if(!Or&&!ua)return[ve.width,ve.height];if(ua&&Or){var pa=en?Fe:yt*er,_a=fn?yt:Fe/er;return[pa,_a]}var Pi=en?Fe:ve.width,Ai=fn?yt:ve.height;return[Pi,Ai]}if(Or){var ai=0,wo=0;return sn(cr)?ai=on(cr,ve.width):sn(gr)&&(wo=on(gr,ve.height)),Qu(cr)?ai=wo*er:(!gr||Qu(gr))&&(wo=ai/er),[ai,wo]}var Mo=null,ho=null;if(sn(cr)?Mo=on(cr,ve.width):gr&&sn(gr)&&(ho=on(gr,ve.height)),Mo!==null&&(!gr||Qu(gr))&&(ho=en&&fn?Mo/Fe*yt:ve.height),ho!==null&&Qu(cr)&&(Mo=en&&fn?ho/yt*Fe:ve.width),Mo!==null&&ho!==null)return[Mo,ho];throw new Error("Unable to calculate background-size for element")},zu=function(G,ee){var ve=G[ee];return typeof ve=="undefined"?G[0]:ve},bc=function(G,ee,ve,Fe,yt){var er=ee[0],cr=ee[1],gr=ve[0],Or=ve[1];switch(G){case 2:return[new Aa(Math.round(Fe.left),Math.round(Fe.top+cr)),new Aa(Math.round(Fe.left+Fe.width),Math.round(Fe.top+cr)),new Aa(Math.round(Fe.left+Fe.width),Math.round(Or+Fe.top+cr)),new Aa(Math.round(Fe.left),Math.round(Or+Fe.top+cr))];case 3:return[new Aa(Math.round(Fe.left+er),Math.round(Fe.top)),new Aa(Math.round(Fe.left+er+gr),Math.round(Fe.top)),new Aa(Math.round(Fe.left+er+gr),Math.round(Fe.height+Fe.top)),new Aa(Math.round(Fe.left+er),Math.round(Fe.height+Fe.top))];case 1:return[new Aa(Math.round(Fe.left+er),Math.round(Fe.top+cr)),new Aa(Math.round(Fe.left+er+gr),Math.round(Fe.top+cr)),new Aa(Math.round(Fe.left+er+gr),Math.round(Fe.top+cr+Or)),new Aa(Math.round(Fe.left+er),Math.round(Fe.top+cr+Or))];default:return[new Aa(Math.round(yt.left),Math.round(yt.top)),new Aa(Math.round(yt.left+yt.width),Math.round(yt.top)),new Aa(Math.round(yt.left+yt.width),Math.round(yt.height+yt.top)),new Aa(Math.round(yt.left),Math.round(yt.height+yt.top))]}},Cc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fc="Hidden Text",wc=function(){function Lt(G){this._data={},this._document=G}return Lt.prototype.parseMetrics=function(G,ee){var ve=this._document.createElement("div"),Fe=this._document.createElement("img"),yt=this._document.createElement("span"),er=this._document.body;ve.style.visibility="hidden",ve.style.fontFamily=G,ve.style.fontSize=ee,ve.style.margin="0",ve.style.padding="0",ve.style.whiteSpace="nowrap",er.appendChild(ve),Fe.src=Cc,Fe.width=1,Fe.height=1,Fe.style.margin="0",Fe.style.padding="0",Fe.style.verticalAlign="baseline",yt.style.fontFamily=G,yt.style.fontSize=ee,yt.style.margin="0",yt.style.padding="0",yt.appendChild(this._document.createTextNode(fc)),ve.appendChild(yt),ve.appendChild(Fe);var cr=Fe.offsetTop-yt.offsetTop+2;ve.removeChild(yt),ve.appendChild(this._document.createTextNode(fc)),ve.style.lineHeight="normal",Fe.style.verticalAlign="super";var gr=Fe.offsetTop-ve.offsetTop+2;return er.removeChild(ve),{baseline:cr,middle:gr}},Lt.prototype.getMetrics=function(G,ee){var ve=G+" "+ee;return typeof this._data[ve]=="undefined"&&(this._data[ve]=this.parseMetrics(G,ee)),this._data[ve]},Lt}(),dc=function(){function Lt(G,ee){this.context=G,this.options=ee}return Lt}(),Sc=1e4,Bc=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe._activeEffects=[],Fe.canvas=ve.canvas?ve.canvas:document.createElement("canvas"),Fe.ctx=Fe.canvas.getContext("2d"),ve.canvas||(Fe.canvas.width=Math.floor(ve.width*ve.scale),Fe.canvas.height=Math.floor(ve.height*ve.scale),Fe.canvas.style.width=ve.width+"px",Fe.canvas.style.height=ve.height+"px"),Fe.fontMetrics=new wc(document),Fe.ctx.scale(Fe.options.scale,Fe.options.scale),Fe.ctx.translate(-ve.x,-ve.y),Fe.ctx.textBaseline="bottom",Fe._activeEffects=[],Fe.context.logger.debug("Canvas renderer initialized ("+ve.width+"x"+ve.height+") with scale "+ve.scale),Fe}return G.prototype.applyEffects=function(ee){for(var ve=this;this._activeEffects.length;)this.popEffect();ee.forEach(function(Fe){return ve.applyEffect(Fe)})},G.prototype.applyEffect=function(ee){this.ctx.save(),Wl(ee)&&(this.ctx.globalAlpha=ee.opacity),Il(ee)&&(this.ctx.translate(ee.offsetX,ee.offsetY),this.ctx.transform(ee.matrix[0],ee.matrix[1],ee.matrix[2],ee.matrix[3],ee.matrix[4],ee.matrix[5]),this.ctx.translate(-ee.offsetX,-ee.offsetY)),Rl(ee)&&(this.path(ee.path),this.ctx.clip()),this._activeEffects.push(ee)},G.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},G.prototype.renderStack=function(ee){return D(this,void 0,void 0,function(){var ve;return I(this,function(Fe){switch(Fe.label){case 0:return ve=ee.element.container.styles,ve.isVisible()?[4,this.renderStackContent(ee)]:[3,2];case 1:Fe.sent(),Fe.label=2;case 2:return[2]}})})},G.prototype.renderNode=function(ee){return D(this,void 0,void 0,function(){return I(this,function(ve){switch(ve.label){case 0:if(Rn(ee.container.flags,16))debugger;return ee.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(ee)]:[3,3];case 1:return ve.sent(),[4,this.renderNodeContent(ee)];case 2:ve.sent(),ve.label=3;case 3:return[2]}})})},G.prototype.renderTextWithLetterSpacing=function(ee,ve,Fe){var yt=this;if(ve===0)this.ctx.fillText(ee.text,ee.bounds.left,ee.bounds.top+Fe);else{var er=Bl(ee.text);er.reduce(function(cr,gr){return yt.ctx.fillText(gr,cr,ee.bounds.top+Fe),cr+yt.ctx.measureText(gr).width},ee.bounds.left)}},G.prototype.createFontStyle=function(ee){var ve=ee.fontVariant.filter(function(er){return er==="normal"||er==="small-caps"}).join(""),Fe=Tc(ee.fontFamily).join(", "),yt=vs(ee.fontSize)?""+ee.fontSize.number+ee.fontSize.unit:ee.fontSize.number+"px";return[[ee.fontStyle,ve,ee.fontWeight,yt,Fe].join(" "),Fe,yt]},G.prototype.renderTextNode=function(ee,ve){return D(this,void 0,void 0,function(){var Fe,yt,er,cr,gr,Or,ln,en,fn=this;return I(this,function(ua){return Fe=this.createFontStyle(ve),yt=Fe[0],er=Fe[1],cr=Fe[2],this.ctx.font=yt,this.ctx.direction=ve.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",gr=this.fontMetrics.getMetrics(er,cr),Or=gr.baseline,ln=gr.middle,en=ve.paintOrder,ee.textBounds.forEach(function(pa){en.forEach(function(_a){switch(_a){case 0:fn.ctx.fillStyle=fr(ve.color),fn.renderTextWithLetterSpacing(pa,ve.letterSpacing,Or);var Pi=ve.textShadow;Pi.length&&pa.text.trim().length&&(Pi.slice(0).reverse().forEach(function(Ai){fn.ctx.shadowColor=fr(Ai.color),fn.ctx.shadowOffsetX=Ai.offsetX.number*fn.options.scale,fn.ctx.shadowOffsetY=Ai.offsetY.number*fn.options.scale,fn.ctx.shadowBlur=Ai.blur.number,fn.renderTextWithLetterSpacing(pa,ve.letterSpacing,Or)}),fn.ctx.shadowColor="",fn.ctx.shadowOffsetX=0,fn.ctx.shadowOffsetY=0,fn.ctx.shadowBlur=0),ve.textDecorationLine.length&&(fn.ctx.fillStyle=fr(ve.textDecorationColor||ve.color),ve.textDecorationLine.forEach(function(Ai){switch(Ai){case 1:fn.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top+Or),pa.bounds.width,1);break;case 2:fn.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top),pa.bounds.width,1);break;case 3:fn.ctx.fillRect(pa.bounds.left,Math.ceil(pa.bounds.top+ln),pa.bounds.width,1);break}}));break;case 1:ve.webkitTextStrokeWidth&&pa.text.trim().length&&(fn.ctx.strokeStyle=fr(ve.webkitTextStrokeColor),fn.ctx.lineWidth=ve.webkitTextStrokeWidth,fn.ctx.lineJoin=window.chrome?"miter":"round",fn.ctx.strokeText(pa.text,pa.bounds.left,pa.bounds.top+Or)),fn.ctx.strokeStyle="",fn.ctx.lineWidth=0,fn.ctx.lineJoin="miter";break}})}),[2]})})},G.prototype.renderReplacedElement=function(ee,ve,Fe){if(Fe&&ee.intrinsicWidth>0&&ee.intrinsicHeight>0){var yt=ac(ee),er=Es(ve);this.path(er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Fe,0,0,ee.intrinsicWidth,ee.intrinsicHeight,yt.left,yt.top,yt.width,yt.height),this.ctx.restore()}},G.prototype.renderNodeContent=function(ee){return D(this,void 0,void 0,function(){var ve,Fe,yt,er,cr,gr,Or,Or,ln,en,fn,ua,pa,_a,Pi,Ai,ai,wo,Mo,Or,ho,pa,Ai;return I(this,function(ri){switch(ri.label){case 0:this.applyEffects(ee.getEffects(4)),ve=ee.container,Fe=ee.curves,yt=ve.styles,er=0,cr=ve.textNodes,ri.label=1;case 1:return er<cr.length?(gr=cr[er],[4,this.renderTextNode(gr,yt)]):[3,4];case 2:ri.sent(),ri.label=3;case 3:return er++,[3,1];case 4:if(!(ve instanceof vu))return[3,8];ri.label=5;case 5:return ri.trys.push([5,7,,8]),[4,this.context.cache.match(ve.src)];case 6:return Or=ri.sent(),this.renderReplacedElement(ve,Fe,Or),[3,8];case 7:return ri.sent(),this.context.logger.error("Error loading image "+ve.src),[3,8];case 8:if(ve instanceof Mu&&this.renderReplacedElement(ve,Fe,ve.canvas),!(ve instanceof Pl))return[3,12];ri.label=9;case 9:return ri.trys.push([9,11,,12]),[4,this.context.cache.match(ve.svg)];case 10:return Or=ri.sent(),this.renderReplacedElement(ve,Fe,Or),[3,12];case 11:return ri.sent(),this.context.logger.error("Error loading svg "+ve.svg.substring(0,255)),[3,12];case 12:return ve instanceof mu&&ve.tree?(ln=new G(this.context,{scale:this.options.scale,backgroundColor:ve.backgroundColor,x:0,y:0,width:ve.width,height:ve.height}),[4,ln.render(ve.tree)]):[3,14];case 13:en=ri.sent(),ve.width&&ve.height&&this.ctx.drawImage(en,0,0,ve.width,ve.height,ve.bounds.left,ve.bounds.top,ve.bounds.width,ve.bounds.height),ri.label=14;case 14:if(ve instanceof vl&&(fn=Math.min(ve.bounds.width,ve.bounds.height),ve.type===jl?ve.checked&&(this.ctx.save(),this.path([new Aa(ve.bounds.left+fn*.39363,ve.bounds.top+fn*.79),new Aa(ve.bounds.left+fn*.16,ve.bounds.top+fn*.5549),new Aa(ve.bounds.left+fn*.27347,ve.bounds.top+fn*.44071),new Aa(ve.bounds.left+fn*.39694,ve.bounds.top+fn*.5649),new Aa(ve.bounds.left+fn*.72983,ve.bounds.top+fn*.23),new Aa(ve.bounds.left+fn*.84,ve.bounds.top+fn*.34085),new Aa(ve.bounds.left+fn*.39363,ve.bounds.top+fn*.79)]),this.ctx.fillStyle=fr(ou),this.ctx.fill(),this.ctx.restore()):ve.type===Ql&&ve.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ve.bounds.left+fn/2,ve.bounds.top+fn/2,fn/4,0,Math.PI*2,!0),this.ctx.fillStyle=fr(ou),this.ctx.fill(),this.ctx.restore())),Ec(ve)&&ve.value.length){switch(ua=this.createFontStyle(yt),pa=ua[0],_a=ua[1],Pi=this.fontMetrics.getMetrics(pa,_a).baseline,this.ctx.font=pa,this.ctx.fillStyle=fr(yt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ic(ve.styles.textAlign),Ai=ac(ve),ai=0,ve.styles.textAlign){case 1:ai+=Ai.width/2;break;case 2:ai+=Ai.width;break}wo=Ai.add(ai,0,0,-Ai.height/2+1),this.ctx.save(),this.path([new Aa(Ai.left,Ai.top),new Aa(Ai.left+Ai.width,Ai.top),new Aa(Ai.left+Ai.width,Ai.top+Ai.height),new Aa(Ai.left,Ai.top+Ai.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Tl(ve.value,wo),yt.letterSpacing,Pi),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Rn(ve.styles.display,2048))return[3,20];if(ve.styles.listStyleImage===null)return[3,19];if(Mo=ve.styles.listStyleImage,Mo.type!==0)return[3,18];Or=void 0,ho=Mo.url,ri.label=15;case 15:return ri.trys.push([15,17,,18]),[4,this.context.cache.match(ho)];case 16:return Or=ri.sent(),this.ctx.drawImage(Or,ve.bounds.left-(Or.width+10),ve.bounds.top),[3,18];case 17:return ri.sent(),this.context.logger.error("Error loading list-style-image "+ho),[3,18];case 18:return[3,20];case 19:ee.listValue&&ve.styles.listStyleType!==-1&&(pa=this.createFontStyle(yt)[0],this.ctx.font=pa,this.ctx.fillStyle=fr(yt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Ai=new C(ve.bounds.left,ve.bounds.top+on(ve.styles.paddingTop,ve.bounds.width),ve.bounds.width,Ko(yt.lineHeight,yt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Tl(ee.listValue,Ai),yt.letterSpacing,Ko(yt.lineHeight,yt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ri.label=20;case 20:return[2]}})})},G.prototype.renderStackContent=function(ee){return D(this,void 0,void 0,function(){var ve,Fe,yt,er,cr,yt,gr,Or,yt,ln,en,yt,fn,ua,yt,pa,_a,yt,Pi,Ai,yt;return I(this,function(ai){switch(ai.label){case 0:if(Rn(ee.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(ee.element)];case 1:ai.sent(),ve=0,Fe=ee.negativeZIndex,ai.label=2;case 2:return ve<Fe.length?(yt=Fe[ve],[4,this.renderStack(yt)]):[3,5];case 3:ai.sent(),ai.label=4;case 4:return ve++,[3,2];case 5:return[4,this.renderNodeContent(ee.element)];case 6:ai.sent(),er=0,cr=ee.nonInlineLevel,ai.label=7;case 7:return er<cr.length?(yt=cr[er],[4,this.renderNode(yt)]):[3,10];case 8:ai.sent(),ai.label=9;case 9:return er++,[3,7];case 10:gr=0,Or=ee.nonPositionedFloats,ai.label=11;case 11:return gr<Or.length?(yt=Or[gr],[4,this.renderStack(yt)]):[3,14];case 12:ai.sent(),ai.label=13;case 13:return gr++,[3,11];case 14:ln=0,en=ee.nonPositionedInlineLevel,ai.label=15;case 15:return ln<en.length?(yt=en[ln],[4,this.renderStack(yt)]):[3,18];case 16:ai.sent(),ai.label=17;case 17:return ln++,[3,15];case 18:fn=0,ua=ee.inlineLevel,ai.label=19;case 19:return fn<ua.length?(yt=ua[fn],[4,this.renderNode(yt)]):[3,22];case 20:ai.sent(),ai.label=21;case 21:return fn++,[3,19];case 22:pa=0,_a=ee.zeroOrAutoZIndexOrTransformedOrOpacity,ai.label=23;case 23:return pa<_a.length?(yt=_a[pa],[4,this.renderStack(yt)]):[3,26];case 24:ai.sent(),ai.label=25;case 25:return pa++,[3,23];case 26:Pi=0,Ai=ee.positiveZIndex,ai.label=27;case 27:return Pi<Ai.length?(yt=Ai[Pi],[4,this.renderStack(yt)]):[3,30];case 28:ai.sent(),ai.label=29;case 29:return Pi++,[3,27];case 30:return[2]}})})},G.prototype.mask=function(ee){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(ee.slice(0).reverse()),this.ctx.closePath()},G.prototype.path=function(ee){this.ctx.beginPath(),this.formatPath(ee),this.ctx.closePath()},G.prototype.formatPath=function(ee){var ve=this;ee.forEach(function(Fe,yt){var er=Qo(Fe)?Fe.start:Fe;yt===0?ve.ctx.moveTo(er.x,er.y):ve.ctx.lineTo(er.x,er.y),Qo(Fe)&&ve.ctx.bezierCurveTo(Fe.startControl.x,Fe.startControl.y,Fe.endControl.x,Fe.endControl.y,Fe.end.x,Fe.end.y)})},G.prototype.renderRepeat=function(ee,ve,Fe,yt){this.path(ee),this.ctx.fillStyle=ve,this.ctx.translate(Fe,yt),this.ctx.fill(),this.ctx.translate(-Fe,-yt)},G.prototype.resizeImage=function(ee,ve,Fe){var yt;if(ee.width===ve&&ee.height===Fe)return ee;var er=(yt=this.canvas.ownerDocument)!==null&&yt!==void 0?yt:document,cr=er.createElement("canvas");cr.width=Math.max(1,ve),cr.height=Math.max(1,Fe);var gr=cr.getContext("2d");return gr.drawImage(ee,0,0,ee.width,ee.height,0,0,ve,Fe),cr},G.prototype.renderBackgroundImage=function(ee){return D(this,void 0,void 0,function(){var ve,Fe,yt,er,cr,gr;return I(this,function(Or){switch(Or.label){case 0:ve=ee.styles.backgroundImage.length-1,Fe=function(en){var fn,ua,pa,_a,Pi,Ai,ai,wo,Mo,ho,_a,Pi,Ai,ai,wo,ri,zo,Wo,vo,rl,yl,nl,ks,wu,Mo,Fl,_a,lu,uu,ai,wo,cu,Pi,Ai,Su,Nl,fu,Bu,Eu,Gl,Ou,Yl;return I(this,function(Vu){switch(Vu.label){case 0:if(en.type!==0)return[3,5];fn=void 0,ua=en.url,Vu.label=1;case 1:return Vu.trys.push([1,3,,4]),[4,yt.context.cache.match(ua)];case 2:return fn=Vu.sent(),[3,4];case 3:return Vu.sent(),yt.context.logger.error("Error loading background-image "+ua),[3,4];case 4:return fn&&(pa=oc(ee,ve,[fn.width,fn.height,fn.width/fn.height]),_a=pa[0],Pi=pa[1],Ai=pa[2],ai=pa[3],wo=pa[4],Mo=yt.ctx.createPattern(yt.resizeImage(fn,ai,wo),"repeat"),yt.renderRepeat(_a,Mo,Pi,Ai)),[3,6];case 5:Ka(en)?(ho=oc(ee,ve,[null,null,null]),_a=ho[0],Pi=ho[1],Ai=ho[2],ai=ho[3],wo=ho[4],ri=$n(en.angle,ai,wo),zo=ri[0],Wo=ri[1],vo=ri[2],rl=ri[3],yl=ri[4],nl=document.createElement("canvas"),nl.width=ai,nl.height=wo,ks=nl.getContext("2d"),wu=ks.createLinearGradient(Wo,rl,vo,yl),Mn(en.stops,zo).forEach(function(rc){return wu.addColorStop(rc.stop,fr(rc.color))}),ks.fillStyle=wu,ks.fillRect(0,0,ai,wo),ai>0&&wo>0&&(Mo=yt.ctx.createPattern(nl,"repeat"),yt.renderRepeat(_a,Mo,Pi,Ai))):ja(en)&&(Fl=oc(ee,ve,[null,null,null]),_a=Fl[0],lu=Fl[1],uu=Fl[2],ai=Fl[3],wo=Fl[4],cu=en.position.length===0?[Fn]:en.position,Pi=on(cu[0],ai),Ai=on(cu[cu.length-1],wo),Su=Kn(en,Pi,Ai,ai,wo),Nl=Su[0],fu=Su[1],Nl>0&&fu>0&&(Bu=yt.ctx.createRadialGradient(lu+Pi,uu+Ai,0,lu+Pi,uu+Ai,Nl),Mn(en.stops,Nl*2).forEach(function(rc){return Bu.addColorStop(rc.stop,fr(rc.color))}),yt.path(_a),yt.ctx.fillStyle=Bu,Nl!==fu?(Eu=ee.bounds.left+.5*ee.bounds.width,Gl=ee.bounds.top+.5*ee.bounds.height,Ou=fu/Nl,Yl=1/Ou,yt.ctx.save(),yt.ctx.translate(Eu,Gl),yt.ctx.transform(1,0,0,Ou,0,0),yt.ctx.translate(-Eu,-Gl),yt.ctx.fillRect(lu,Yl*(uu-Gl)+Gl,ai,wo*Yl),yt.ctx.restore()):yt.ctx.fill())),Vu.label=6;case 6:return ve--,[2]}})},yt=this,er=0,cr=ee.styles.backgroundImage.slice(0).reverse(),Or.label=1;case 1:return er<cr.length?(gr=cr[er],[5,Fe(gr)]):[3,4];case 2:Or.sent(),Or.label=3;case 3:return er++,[3,1];case 4:return[2]}})})},G.prototype.renderSolidBorder=function(ee,ve,Fe){return D(this,void 0,void 0,function(){return I(this,function(yt){return this.path(uc(Fe,ve)),this.ctx.fillStyle=fr(ee),this.ctx.fill(),[2]})})},G.prototype.renderDoubleBorder=function(ee,ve,Fe,yt){return D(this,void 0,void 0,function(){var er,cr;return I(this,function(gr){switch(gr.label){case 0:return ve<3?[4,this.renderSolidBorder(ee,Fe,yt)]:[3,2];case 1:return gr.sent(),[2];case 2:return er=vc(yt,Fe),this.path(er),this.ctx.fillStyle=fr(ee),this.ctx.fill(),cr=gc(yt,Fe),this.path(cr),this.ctx.fill(),[2]}})})},G.prototype.renderNodeBackgroundAndBorders=function(ee){return D(this,void 0,void 0,function(){var ve,Fe,yt,er,cr,gr,Or,ln,en=this;return I(this,function(fn){switch(fn.label){case 0:return this.applyEffects(ee.getEffects(2)),ve=ee.container.styles,Fe=!Et(ve.backgroundColor)||ve.backgroundImage.length,yt=[{style:ve.borderTopStyle,color:ve.borderTopColor,width:ve.borderTopWidth},{style:ve.borderRightStyle,color:ve.borderRightColor,width:ve.borderRightWidth},{style:ve.borderBottomStyle,color:ve.borderBottomColor,width:ve.borderBottomWidth},{style:ve.borderLeftStyle,color:ve.borderLeftColor,width:ve.borderLeftWidth}],er=Oc(zu(ve.backgroundClip,0),ee.curves),Fe||ve.boxShadow.length?(this.ctx.save(),this.path(er),this.ctx.clip(),Et(ve.backgroundColor)||(this.ctx.fillStyle=fr(ve.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(ee.container)]):[3,2];case 1:fn.sent(),this.ctx.restore(),ve.boxShadow.slice(0).reverse().forEach(function(ua){en.ctx.save();var pa=Ol(ee.curves),_a=ua.inset?0:Sc,Pi=su(pa,-_a+(ua.inset?1:-1)*ua.spread.number,(ua.inset?1:-1)*ua.spread.number,ua.spread.number*(ua.inset?-2:2),ua.spread.number*(ua.inset?-2:2));ua.inset?(en.path(pa),en.ctx.clip(),en.mask(Pi)):(en.mask(pa),en.ctx.clip(),en.path(Pi)),en.ctx.shadowOffsetX=ua.offsetX.number+_a,en.ctx.shadowOffsetY=ua.offsetY.number,en.ctx.shadowColor=fr(ua.color),en.ctx.shadowBlur=ua.blur.number,en.ctx.fillStyle=ua.inset?fr(ua.color):"rgba(0,0,0,1)",en.ctx.fill(),en.ctx.restore()}),fn.label=2;case 2:cr=0,gr=0,Or=yt,fn.label=3;case 3:return gr<Or.length?(ln=Or[gr],ln.style!==0&&!Et(ln.color)&&ln.width>0?ln.style!==2?[3,5]:[4,this.renderDashedDottedBorder(ln.color,ln.width,cr,ee.curves,2)]:[3,11]):[3,13];case 4:return fn.sent(),[3,11];case 5:return ln.style!==3?[3,7]:[4,this.renderDashedDottedBorder(ln.color,ln.width,cr,ee.curves,3)];case 6:return fn.sent(),[3,11];case 7:return ln.style!==4?[3,9]:[4,this.renderDoubleBorder(ln.color,ln.width,cr,ee.curves)];case 8:return fn.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ln.color,cr,ee.curves)];case 10:fn.sent(),fn.label=11;case 11:cr++,fn.label=12;case 12:return gr++,[3,3];case 13:return[2]}})})},G.prototype.renderDashedDottedBorder=function(ee,ve,Fe,yt,er){return D(this,void 0,void 0,function(){var cr,gr,Or,ln,en,fn,ua,pa,_a,Pi,Ai,ai,wo,Mo,ho,ri,ho,ri;return I(this,function(zo){return this.ctx.save(),cr=pc(yt,Fe),gr=uc(yt,Fe),er===2&&(this.path(gr),this.ctx.clip()),Qo(gr[0])?(Or=gr[0].start.x,ln=gr[0].start.y):(Or=gr[0].x,ln=gr[0].y),Qo(gr[1])?(en=gr[1].end.x,fn=gr[1].end.y):(en=gr[1].x,fn=gr[1].y),Fe===0||Fe===2?ua=Math.abs(Or-en):ua=Math.abs(ln-fn),this.ctx.beginPath(),er===3?this.formatPath(cr):this.formatPath(gr.slice(0,2)),pa=ve<3?ve*3:ve*2,_a=ve<3?ve*2:ve,er===3&&(pa=ve,_a=ve),Pi=!0,ua<=pa*2?Pi=!1:ua<=pa*2+_a?(Ai=ua/(2*pa+_a),pa*=Ai,_a*=Ai):(ai=Math.floor((ua+_a)/(pa+_a)),wo=(ua-ai*pa)/(ai-1),Mo=(ua-(ai+1)*pa)/ai,_a=Mo<=0||Math.abs(_a-wo)<Math.abs(_a-Mo)?wo:Mo),Pi&&(er===3?this.ctx.setLineDash([0,pa+_a]):this.ctx.setLineDash([pa,_a])),er===3?(this.ctx.lineCap="round",this.ctx.lineWidth=ve):this.ctx.lineWidth=ve*2+1.1,this.ctx.strokeStyle=fr(ee),this.ctx.stroke(),this.ctx.setLineDash([]),er===2&&(Qo(gr[0])&&(ho=gr[3],ri=gr[0],this.ctx.beginPath(),this.formatPath([new Aa(ho.end.x,ho.end.y),new Aa(ri.start.x,ri.start.y)]),this.ctx.stroke()),Qo(gr[1])&&(ho=gr[1],ri=gr[2],this.ctx.beginPath(),this.formatPath([new Aa(ho.end.x,ho.end.y),new Aa(ri.start.x,ri.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},G.prototype.render=function(ee){return D(this,void 0,void 0,function(){var ve;return I(this,function(Fe){switch(Fe.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=fr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),ve=hc(ee),[4,this.renderStack(ve)];case 1:return Fe.sent(),this.applyEffects([]),[2,this.canvas]}})})},G}(dc),Ec=function(G){return G instanceof Ru||G instanceof El?!0:G instanceof vl&&G.type!==Ql&&G.type!==jl},Oc=function(G,ee){switch(G){case 0:return Ol(ee);case 2:return Ll(ee);case 1:default:return Es(ee)}},Ic=function(G){switch(G){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Dc=["-apple-system","system-ui"],Tc=function(G){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?G.filter(function(ee){return Dc.indexOf(ee)===-1}):G},Pc=function(Lt){T(G,Lt);function G(ee,ve){var Fe=Lt.call(this,ee,ve)||this;return Fe.canvas=ve.canvas?ve.canvas:document.createElement("canvas"),Fe.ctx=Fe.canvas.getContext("2d"),Fe.options=ve,Fe.canvas.width=Math.floor(ve.width*ve.scale),Fe.canvas.height=Math.floor(ve.height*ve.scale),Fe.canvas.style.width=ve.width+"px",Fe.canvas.style.height=ve.height+"px",Fe.ctx.scale(Fe.options.scale,Fe.options.scale),Fe.ctx.translate(-ve.x,-ve.y),Fe.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+ve.width+"x"+ve.height+" at "+ve.x+","+ve.y+") with scale "+ve.scale),Fe}return G.prototype.render=function(ee){return D(this,void 0,void 0,function(){var ve,Fe;return I(this,function(yt){switch(yt.label){case 0:return ve=Au(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,ee),[4,Mc(ve)];case 1:return Fe=yt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=fr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Fe,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},G}(dc),Mc=function(G){return new Promise(function(ee,ve){var Fe=new Image;Fe.onload=function(){ee(Fe)},Fe.onerror=ve,Fe.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(G))})},Lc=function(){function Lt(G){var ee=G.id,ve=G.enabled;this.id=ee,this.enabled=ve,this.start=Date.now()}return Lt.prototype.debug=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,E([this.id,this.getTime()+"ms"],G)):this.info.apply(this,G))},Lt.prototype.getTime=function(){return Date.now()-this.start},Lt.prototype.info=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,E([this.id,this.getTime()+"ms"],G))},Lt.prototype.warn=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,E([this.id,this.getTime()+"ms"],G)):this.info.apply(this,G))},Lt.prototype.error=function(){for(var G=[],ee=0;ee<arguments.length;ee++)G[ee]=arguments[ee];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,E([this.id,this.getTime()+"ms"],G)):this.info.apply(this,G))},Lt.instances={},Lt}(),Rc=function(){function Lt(G,ee){var ve;this.windowBounds=ee,this.instanceName="#"+Lt.instanceCount++,this.logger=new Lc({id:this.instanceName,enabled:G.logging}),this.cache=(ve=G.cache)!==null&&ve!==void 0?ve:new Ua(this,G)}return Lt.instanceCount=1,Lt}(),Fc=function(G,ee){return ee===void 0&&(ee={}),Nc(G,ee)};typeof window!="undefined"&&Ea.setContext(window);var Nc=function(G,ee){return D(void 0,void 0,void 0,function(){var ve,Fe,yt,er,cr,gr,Or,ln,en,fn,ua,pa,_a,Pi,Ai,ai,wo,Mo,ho,ri,zo,Wo,zo,vo,rl,yl,nl,ks,wu,Fl,lu,uu,cu,Su,Nl,fu,Bu,Eu,Gl,Ou;return I(this,function(Yl){switch(Yl.label){case 0:if(!G||typeof G!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(ve=G.ownerDocument,!ve)throw new Error("Element is not attached to a Document");if(Fe=ve.defaultView,!Fe)throw new Error("Document is not attached to a Window");return yt={allowTaint:(vo=ee.allowTaint)!==null&&vo!==void 0?vo:!1,imageTimeout:(rl=ee.imageTimeout)!==null&&rl!==void 0?rl:15e3,proxy:ee.proxy,useCORS:(yl=ee.useCORS)!==null&&yl!==void 0?yl:!1},er=w({logging:(nl=ee.logging)!==null&&nl!==void 0?nl:!0,cache:ee.cache},yt),cr={windowWidth:(ks=ee.windowWidth)!==null&&ks!==void 0?ks:Fe.innerWidth,windowHeight:(wu=ee.windowHeight)!==null&&wu!==void 0?wu:Fe.innerHeight,scrollX:(Fl=ee.scrollX)!==null&&Fl!==void 0?Fl:Fe.pageXOffset,scrollY:(lu=ee.scrollY)!==null&&lu!==void 0?lu:Fe.pageYOffset},gr=new C(cr.scrollX,cr.scrollY,cr.windowWidth,cr.windowHeight),Or=new Rc(er,gr),ln=(uu=ee.foreignObjectRendering)!==null&&uu!==void 0?uu:!1,en={allowTaint:(cu=ee.allowTaint)!==null&&cu!==void 0?cu:!1,onclone:ee.onclone,ignoreElements:ee.ignoreElements,inlineImages:ln,copyStyles:ln},Or.logger.debug("Starting document clone with size "+gr.width+"x"+gr.height+" scrolled to "+-gr.left+","+-gr.top),fn=new O(Or,G,en),ua=fn.clonedReferenceElement,ua?[4,fn.toIFrame(ve,gr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return pa=Yl.sent(),_a=bu(ua)||_u(ua)?t(ua.ownerDocument):f(Or,ua),Pi=_a.width,Ai=_a.height,ai=_a.left,wo=_a.top,Mo=Uc(Or,ua,ee.backgroundColor),ho={canvas:ee.canvas,backgroundColor:Mo,scale:(Nl=(Su=ee.scale)!==null&&Su!==void 0?Su:Fe.devicePixelRatio)!==null&&Nl!==void 0?Nl:1,x:((fu=ee.x)!==null&&fu!==void 0?fu:0)+ai,y:((Bu=ee.y)!==null&&Bu!==void 0?Bu:0)+wo,width:(Eu=ee.width)!==null&&Eu!==void 0?Eu:Math.ceil(Pi),height:(Gl=ee.height)!==null&&Gl!==void 0?Gl:Math.ceil(Ai)},ln?(Or.logger.debug("Document cloned, using foreign object rendering"),zo=new Pc(Or,ho),[4,zo.render(ua)]):[3,3];case 2:return ri=Yl.sent(),[3,5];case 3:return Or.logger.debug("Document cloned, element located at "+ai+","+wo+" with size "+Pi+"x"+Ai+" using computed rendering"),Or.logger.debug("Starting DOM parsing"),Wo=Uu(Or,ua),Mo===Wo.styles.backgroundColor&&(Wo.styles.backgroundColor=gn.TRANSPARENT),Or.logger.debug("Starting renderer for element at "+ho.x+","+ho.y+" with size "+ho.width+"x"+ho.height),zo=new Bc(Or,ho),[4,zo.render(Wo)];case 4:ri=Yl.sent(),Yl.label=5;case 5:return((Ou=ee.removeContainer)!==null&&Ou!==void 0?Ou:!0)&&(O.destroy(pa)||Or.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Or.logger.debug("Finished rendering"),[2,ri]}})})},Uc=function(G,ee,ve){var Fe=ee.ownerDocument,yt=Fe.documentElement?Gr(G,getComputedStyle(Fe.documentElement).backgroundColor):gn.TRANSPARENT,er=Fe.body?Gr(G,getComputedStyle(Fe.body).backgroundColor):gn.TRANSPARENT,cr=typeof ve=="string"?Gr(G,ve):ve===null?gn.TRANSPARENT:4294967295;return ee===Fe.documentElement?Et(yt)?Et(er)?cr:er:yt:cr};return Fc})},wTVA:function(oe,V){function e(B){if(Array.isArray(B))return B}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},wYyv:function(oe,V,e){"use strict";var B=e("R5yR").default,T=e("5wUe").default,w=function(E,C,f){var t=C<0?E.length+C:C;if(t>=0&&t<E.length){var i=f<0?E.length+f:f,s=E.splice(C,1),o=T(s,1),r=o[0];E.splice(i,0,r)}},D=function(E,C,f){return E=B(E),w(E,C,f),E};oe.exports=D,oe.exports.mutate=w},wkBT:function(oe,V){function e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}oe.exports=e,oe.exports.__esModule=!0,oe.exports.default=oe.exports},wlus:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="MinusCircleOutlined";var C=V.a=T.forwardRef(E)},wr5s:function(oe,V,e){var B=e("IwbS"),T=B.extendShape,w=T({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(D,I){var E=I.cx,C=I.cy,f=Math.max(I.r0||0,0),t=Math.max(I.r,0),i=(t-f)*.5,s=f+i,o=I.startAngle,r=I.endAngle,u=I.clockwise,n=Math.cos(o),l=Math.sin(o),a=Math.cos(r),c=Math.sin(r),d=u?r-o<Math.PI*2:o-r<Math.PI*2;d&&(D.moveTo(n*f+E,l*f+C),D.arc(n*s+E,l*s+C,i,-Math.PI+o,o,!u)),D.arc(E,C,t,o,r,!u),D.moveTo(a*t+E,c*t+C),D.arc(a*s+E,c*s+C,i,r-Math.PI*2,r-Math.PI,!u),f!==0&&(D.arc(E,C,f,r,o,u),D.moveTo(n*f+E,c*f+C)),D.closePath()}});oe.exports=w},wt3j:function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("/IIm"),D=e("EMyp"),I=D.layoutCovers,E=B.extendComponentView({type:"brush",init:function(f,t){this.ecModel=f,this.api=t,this.model,(this._brushController=new w(t.getZr())).on("brush",T.bind(this._onBrush,this)).mount()},render:function(f){return this.model=f,C.apply(this,arguments)},updateTransform:function(f,t){return I(t),C.apply(this,arguments)},updateView:C,dispose:function(){this._brushController.dispose()},_onBrush:function(f,t){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(f,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:T.clone(f),$from:i}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:T.clone(f),$from:i})}});function C(f,t,i,s){(!s||s.$from!==f.id)&&this._brushController.setPanels(f.brushTargetManager.makePanelOpts(i)).enableBrush(f.brushOption).updateCovers(f.areas.slice())}oe.exports=E},wy8a:function(oe,V,e){var B=e("KxBF");function T(w,D,I){var E=w.length;return I=I===void 0?E:I,!D&&I>=E?w:B(w,D,I)}oe.exports=T},x3X8:function(oe,V,e){var B=e("KxfA"),T=B.retrieveRawValue;function w(D,I){var E=D.mapDimension("defaultedLabel",!0),C=E.length;if(C===1)return T(D,I,E[0]);if(C){for(var f=[],t=0;t<E.length;t++){var i=T(D,I,E[t]);f.push(i)}return f.join(" ")}}V.getDefaultLabel=w},x6Kt:function(oe,V,e){var B=e("y+Vt"),T=e("VpOo"),w=e("nPnh"),D=w.subPixelOptimizeRect,I={},E=B.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(f,t){var i,s,o,r;this.subPixelOptimize?(D(I,t,this.style),i=I.x,s=I.y,o=I.width,r=I.height,I.r=t.r,t=I):(i=t.x,s=t.y,o=t.width,r=t.height),t.r?T.buildPath(f,t):f.rect(i,s,o,r),f.closePath()}});oe.exports=E},xGfz:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="PlusSquareOutlined";var C=V.a=T.forwardRef(E)},xKMd:function(oe,V){function e(T,w){this.getAllNames=function(){var D=w();return D.mapArray(D.getName)},this.containName=function(D){var I=w();return I.indexOfName(D)>=0},this.indexOfName=function(D){var I=T();return I.indexOfName(D)},this.getItemVisual=function(D,I){var E=T();return E.getItemVisual(D,I)}}var B=e;oe.exports=B},xRUu:function(oe,V,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSat:function(oe,V){var e={axisPointer:1,tooltip:1,brush:1};function B(T,w,D){var I=w.getComponentByElement(T.topTarget),E=I&&I.coordinateSystem;return I&&I!==D&&!e[I.mainType]&&E&&E.model!==D}V.onIrrelevantElement=B},xTNl:function(oe,V){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],B={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};oe.exports=B},xiyX:function(oe,V,e){var B=e("bYtY"),T=e("bLfw"),w=e("nkfE"),D=e("ICMv"),I=T.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),E={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(t,i){return i.type||(i.data?"category":"value")}B.merge(I.prototype,D),w("single",I,C,E);var f=I;oe.exports=f},xvlK:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="PlusOutlined";var C=V.a=T.forwardRef(E)},xzDV:function(oe,V,e){},"y+Vt":function(oe,V,e){var B=e("Gev7"),T=e("bYtY"),w=e("IMiH"),D=e("2DNl"),I=e("3C/r"),E=I.prototype.getCanvasPattern,C=Math.abs,f=new w(!0);function t(s){B.call(this,s),this.path=null}t.prototype={constructor:t,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(o,r){var u=this.style,n=this.path||f,l=u.hasStroke(),a=u.hasFill(),c=u.fill,d=u.stroke,h=a&&!!c.colorStops,y=l&&!!d.colorStops,A=a&&!!c.image,v=l&&!!d.image;if(u.bind(o,this,r),this.setTransform(o),this.__dirty){var g;h&&(g=g||this.getBoundingRect(),this._fillGradient=u.getGradient(o,c,g)),y&&(g=g||this.getBoundingRect(),this._strokeGradient=u.getGradient(o,d,g))}h?o.fillStyle=this._fillGradient:A&&(o.fillStyle=E.call(c,o)),y?o.strokeStyle=this._strokeGradient:v&&(o.strokeStyle=E.call(d,o));var x=u.lineDash,m=u.lineDashOffset,b=!!o.setLineDash,S=this.getGlobalScale();if(n.setScale(S[0],S[1],this.segmentIgnoreThreshold),this.__dirtyPath||x&&!b&&l?(n.beginPath(o),x&&!b&&(n.setLineDash(x),n.setLineDashOffset(m)),this.buildPath(n,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(o.beginPath(),this.path.rebuildPath(o)),a)if(u.fillOpacity!=null){var P=o.globalAlpha;o.globalAlpha=u.fillOpacity*u.opacity,n.fill(o),o.globalAlpha=P}else n.fill(o);if(x&&b&&(o.setLineDash(x),o.lineDashOffset=m),l)if(u.strokeOpacity!=null){var P=o.globalAlpha;o.globalAlpha=u.strokeOpacity*u.opacity,n.stroke(o),o.globalAlpha=P}else n.stroke(o);x&&b&&o.setLineDash([]),u.text!=null&&(this.restoreTransform(o),this.drawRectText(o,this.getBoundingRect()))},buildPath:function(o,r,u){},createPathProxy:function(){this.path=new w},getBoundingRect:function(){var o=this._rect,r=this.style,u=!o;if(u){var n=this.path;n||(n=this.path=new w),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),o=n.getBoundingRect()}if(this._rect=o,r.hasStroke()){var l=this._rectWithStroke||(this._rectWithStroke=o.clone());if(this.__dirty||u){l.copy(o);var a=r.lineWidth,c=r.strokeNoScale?this.getLineScale():1;r.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),c>1e-10&&(l.width+=a/c,l.height+=a/c,l.x-=a/c/2,l.y-=a/c/2)}return l}return o},contain:function(o,r){var u=this.transformCoordToLocal(o,r),n=this.getBoundingRect(),l=this.style;if(o=u[0],r=u[1],n.contain(o,r)){var a=this.path.data;if(l.hasStroke()){var c=l.lineWidth,d=l.strokeNoScale?this.getLineScale():1;if(d>1e-10&&(l.hasFill()||(c=Math.max(c,this.strokeContainThreshold)),D.containStroke(a,c/d,o,r)))return!0}if(l.hasFill())return D.contain(a,o,r)}return!1},dirty:function(o){o==null&&(o=!0),o&&(this.__dirtyPath=o,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(o){return this.animate("shape",o)},attrKV:function(o,r){o==="shape"?(this.setShape(r),this.__dirtyPath=!0,this._rect=null):B.prototype.attrKV.call(this,o,r)},setShape:function(o,r){var u=this.shape;if(u){if(T.isObject(o))for(var n in o)o.hasOwnProperty(n)&&(u[n]=o[n]);else u[o]=r;this.dirty(!0)}return this},getLineScale:function(){var o=this.transform;return o&&C(o[0]-1)>1e-10&&C(o[3]-1)>1e-10?Math.sqrt(C(o[0]*o[3]-o[2]*o[1])):1}},t.extend=function(s){var o=function(n){t.call(this,n),s.style&&this.style.extendFrom(s.style,!1);var l=s.shape;if(l){this.shape=this.shape||{};var a=this.shape;for(var c in l)!a.hasOwnProperty(c)&&l.hasOwnProperty(c)&&(a[c]=l[c])}s.init&&s.init.call(this,n)};T.inherits(o,t);for(var r in s)r!=="style"&&r!=="shape"&&(o.prototype[r]=s[r]);return o},T.inherits(t,B);var i=t;oe.exports=i},"y+lR":function(oe,V,e){var B=e("bYtY"),T=e("mFDi"),w=e("z35g");function D(E){w.call(this,E)}D.prototype={constructor:D,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(E){var C=this.getAxis("x"),f=this.getAxis("y");return C.contain(C.toLocalCoord(E[0]))&&f.contain(f.toLocalCoord(E[1]))},containData:function(E){return this.getAxis("x").containData(E[0])&&this.getAxis("y").containData(E[1])},dataToPoint:function(E,C,f){var t=this.getAxis("x"),i=this.getAxis("y");return f=f||[],f[0]=t.toGlobalCoord(t.dataToCoord(E[0])),f[1]=i.toGlobalCoord(i.dataToCoord(E[1])),f},clampData:function(E,C){var f=this.getAxis("x").scale,t=this.getAxis("y").scale,i=f.getExtent(),s=t.getExtent(),o=f.parse(E[0]),r=t.parse(E[1]);return C=C||[],C[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),C[1]=Math.min(Math.max(Math.min(s[0],s[1]),r),Math.max(s[0],s[1])),C},pointToData:function(E,C){var f=this.getAxis("x"),t=this.getAxis("y");return C=C||[],C[0]=f.coordToData(f.toLocalCoord(E[0])),C[1]=t.coordToData(t.toLocalCoord(E[1])),C},getOtherAxis:function(E){return this.getAxis(E.dim==="x"?"y":"x")},getArea:function(){var E=this.getAxis("x").getGlobalExtent(),C=this.getAxis("y").getGlobalExtent(),f=Math.min(E[0],E[1]),t=Math.min(C[0],C[1]),i=Math.max(E[0],E[1])-f,s=Math.max(C[0],C[1])-t,o=new T(f,t,i,s);return o}},B.inherits(D,w);var I=D;oe.exports=I},"y0+3":function(oe,V,e){"use strict";e.d(V,"a",function(){return s}),e.d(V,"b",function(){return r});var B=/margin|padding|width|height|max|min|offset/,T={left:!0,top:!0},w={cssFloat:1,styleFloat:1,float:1};function D(u){return u.nodeType===1?u.ownerDocument.defaultView.getComputedStyle(u,null):{}}function I(u,n,l){if(n=n.toLowerCase(),l==="auto"){if(n==="height")return u.offsetHeight;if(n==="width")return u.offsetWidth}return n in T||(T[n]=B.test(n)),T[n]?parseFloat(l)||0:l}function E(u,n){var l=arguments.length,a=D(u);return n=w[n]?"cssFloat"in u.style?"cssFloat":"styleFloat":n,l===1?a:I(u,n,a[n]||u.style[n])}function C(u,n,l){var a=arguments.length;if(n=w[n]?"cssFloat"in u.style?"cssFloat":"styleFloat":n,a===3)return typeof l=="number"&&B.test(n)&&(l="".concat(l,"px")),u.style[n]=l,l;for(var c in n)n.hasOwnProperty(c)&&C(u,c,n[c]);return D(u)}function f(u){return u===document.body?document.documentElement.clientWidth:u.offsetWidth}function t(u){return u===document.body?window.innerHeight||document.documentElement.clientHeight:u.offsetHeight}function i(){var u=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),n=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:u,height:n}}function s(){var u=document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight;return{width:u,height:n}}function o(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(u){var n=u.getBoundingClientRect(),l=document.documentElement;return{left:n.left+(window.pageXOffset||l.scrollLeft)-(l.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||l.scrollTop)-(l.clientTop||document.body.clientTop||0)}}},y23F:function(oe,V){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(D){for(var I=D.target;I&&!I.draggable;)I=I.parent;I&&(this._draggingTarget=I,I.dragging=!0,this._x=D.offsetX,this._y=D.offsetY,this.dispatchToElement(B(I,D),"dragstart",D.event))},_drag:function(D){var I=this._draggingTarget;if(I){var E=D.offsetX,C=D.offsetY,f=E-this._x,t=C-this._y;this._x=E,this._y=C,I.drift(f,t,D),this.dispatchToElement(B(I,D),"drag",D.event);var i=this.findHover(E,C,I).target,s=this._dropTarget;this._dropTarget=i,I!==i&&(s&&i!==s&&this.dispatchToElement(B(s,D),"dragleave",D.event),i&&i!==s&&this.dispatchToElement(B(i,D),"dragenter",D.event))}},_dragEnd:function(D){var I=this._draggingTarget;I&&(I.dragging=!1),this.dispatchToElement(B(I,D),"dragend",D.event),this._dropTarget&&this.dispatchToElement(B(this._dropTarget,D),"drop",D.event),this._draggingTarget=null,this._dropTarget=null}};function B(w,D){return{target:w,topTarget:D&&D.topTarget}}var T=e;oe.exports=T},y2l5:function(oe,V,e){var B=e("MwEJ"),T=e("T4UG"),w=T.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(D,I){return B(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var D=this.option.progressive;return D==null?this.option.large?5e3:this.get("progressive"):D},getProgressiveThreshold:function(){var D=this.option.progressiveThreshold;return D==null?this.option.large?1e4:this.get("progressiveThreshold"):D},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});oe.exports=w},y3Kf:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="UpOutlined";var C=V.a=T.forwardRef(E)},y3NT:function(oe,V,e){var B=e("OELB"),T=B.parsePercent,w=e("bYtY"),D=Math.PI/180;function I(f,t,i,s){t.eachSeriesByType(f,function(o){var r=o.get("center"),u=o.get("radius");w.isArray(u)||(u=[0,u]),w.isArray(r)||(r=[r,r]);var n=i.getWidth(),l=i.getHeight(),a=Math.min(n,l),c=T(r[0],n),d=T(r[1],l),h=T(u[0],a/2),y=T(u[1],a/2),A=-o.get("startAngle")*D,v=o.get("minAngle")*D,g=o.getData().tree.root,x=o.getViewRoot(),m=x.depth,b=o.get("sort");b!=null&&E(x,b);var S=0;w.each(x.children,function(k){!isNaN(k.getValue())&&S++});var P=x.getValue(),M=Math.PI/(P||S)*2,R=x.depth>0,F=x.height-(R?-1:1),L=(y-h)/(F||1),U=o.get("clockwise"),N=o.get("stillShowZeroSum"),Q=U?1:-1,z=function(k,W){if(!!k){var ie=W;if(k!==g){var fe=k.getValue(),Ce=P===0&&N?M:fe*M;Ce<v&&(Ce=v),ie=W+Q*Ce;var ge=k.depth-m-(R?-1:1),de=h+L*ge,Pe=h+L*(ge+1),_e=k.getModel();_e.get("r0")!=null&&(de=T(_e.get("r0"),a/2)),_e.get("r")!=null&&(Pe=T(_e.get("r"),a/2)),k.setLayout({angle:Ce,startAngle:W,endAngle:ie,clockwise:U,cx:c,cy:d,r0:de,r:Pe})}if(k.children&&k.children.length){var Ne=0;w.each(k.children,function(He){Ne+=z(He,W+Ne)})}return ie-W}};if(R){var _=h,J=h+L,Y=Math.PI*2;g.setLayout({angle:Y,startAngle:A,endAngle:A+Y,clockwise:U,cx:c,cy:d,r0:_,r:J})}z(x,A)})}function E(f,t){var i=f.children||[];f.children=C(i,t),i.length&&w.each(f.children,function(s){E(s,t)})}function C(f,t){if(typeof t=="function")return f.sort(t);var i=t==="asc";return f.sort(function(s,o){var r=(s.getValue()-o.getValue())*(i?1:-1);return r===0?(s.dataIndex-o.dataIndex)*(i?-1:1):r})}oe.exports=I},"y4/Y":function(oe,V,e){var B=e("ProS"),T=e("bYtY"),w=e("zTMp"),D=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),B.registerPreprocessor(function(I){if(I){(!I.axisPointer||I.axisPointer.length===0)&&(I.axisPointer={});var E=I.axisPointer.link;E&&!T.isArray(E)&&(I.axisPointer.link=[E])}}),B.registerProcessor(B.PRIORITY.PROCESSOR.STATISTIC,function(I,E){I.getComponent("axisPointer").coordSysAxesInfo=w.collect(I,E)}),B.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},D)},y7Aq:function(oe,V,e){var B=e("bYtY"),T=e("+TT/"),w=T.getLayoutRect;function D(E,C,f){var t=E.option,i=t.align;if(i!=null&&i!=="auto")return i;for(var s={width:C.getWidth(),height:C.getHeight()},o=t.orient==="horizontal"?1:0,r=[["left","right","width"],["top","bottom","height"]],u=r[o],n=[0,null,10],l={},a=0;a<3;a++)l[r[1-o][a]]=n[a],l[u[a]]=a===2?f[0]:t[u[a]];var c=[["x","width",3],["y","height",0]][o],d=w(l,s,t.padding);return u[(d.margin[c[2]]||0)+d[c[0]]+d[c[1]]*.5<s[c[1]]*.5?0:1]}function I(E,C){return B.each(E||[],function(f){f.dataIndex!=null&&(f.dataIndexInside=f.dataIndex,f.dataIndex=null),f.highlightKey="visualMap"+(C?C.componentIndex:"")}),E}V.getItemAlign=D,V.makeHighDownBatch=I},y8nQ:function(oe,V,e){"use strict";var B=e("EFp3"),T=e.n(B),w=e("gwTy"),D=e.n(w),I=e("1GLa"),E=e("5Dmo")},yO87:function(oe,V,e){var B=e("bYtY"),T=e("oVpE"),w=T.createSymbol,D=e("IwbS"),I=D.Group,E=e("OELB"),C=E.parsePercent,f=e("FBjb"),t=3;function i(n){return B.isArray(n)||(n=[+n,+n]),n}function s(n,l){var a=l.rippleEffectColor||l.color;n.eachChild(function(c){c.attr({z:l.z,zlevel:l.zlevel,style:{stroke:l.brushType==="stroke"?a:null,fill:l.brushType==="fill"?a:null}})})}function o(n,l){I.call(this);var a=new f(n,l),c=new I;this.add(a),this.add(c),c.beforeUpdate=function(){this.attr(a.getScale())},this.updateData(n,l)}var r=o.prototype;r.stopEffectAnimation=function(){this.childAt(1).removeAll()},r.startEffectAnimation=function(n){for(var l=n.symbolType,a=n.color,c=this.childAt(1),d=0;d<t;d++){var h=w(l,-1,-1,2,2,a);h.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var y=-d/t*n.period+n.effectOffset;h.animate("",!0).when(n.period,{scale:[n.rippleScale/2,n.rippleScale/2]}).delay(y).start(),h.animateStyle(!0).when(n.period,{opacity:0}).delay(y).start(),c.add(h)}s(c,n)},r.updateEffectAnimation=function(n){for(var l=this._effectCfg,a=this.childAt(1),c=["symbolType","period","rippleScale"],d=0;d<c.length;d++){var h=c[d];if(l[h]!==n[h]){this.stopEffectAnimation(),this.startEffectAnimation(n);return}}s(a,n)},r.highlight=function(){this.trigger("emphasis")},r.downplay=function(){this.trigger("normal")},r.updateData=function(n,l){var a=n.hostModel;this.childAt(0).updateData(n,l);var c=this.childAt(1),d=n.getItemModel(l),h=n.getItemVisual(l,"symbol"),y=i(n.getItemVisual(l,"symbolSize")),A=n.getItemVisual(l,"color");c.attr("scale",y),c.traverse(function(M){M.attr({fill:A})});var v=d.getShallow("symbolOffset");if(v){var g=c.position;g[0]=C(v[0],y[0]),g[1]=C(v[1],y[1])}var x=n.getItemVisual(l,"symbolRotate");c.rotation=(x||0)*Math.PI/180||0;var m={};if(m.showEffectOn=a.get("showEffectOn"),m.rippleScale=d.get("rippleEffect.scale"),m.brushType=d.get("rippleEffect.brushType"),m.period=d.get("rippleEffect.period")*1e3,m.effectOffset=l/n.count(),m.z=d.getShallow("z")||0,m.zlevel=d.getShallow("zlevel")||0,m.symbolType=h,m.color=A,m.rippleEffectColor=d.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),m.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(m):this.startEffectAnimation(m),this._effectCfg=m;else{this._effectCfg=null,this.stopEffectAnimation();var b=this.childAt(0),S=function(){b.highlight(),m.showEffectOn!=="render"&&this.startEffectAnimation(m)},P=function(){b.downplay(),m.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",S,this).on("mouseout",P,this).on("emphasis",S,this).on("normal",P,this)}this._effectCfg=m},r.fadeOut=function(n){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),n&&n()},B.inherits(o,I);var u=o;oe.exports=u},yS9w:function(oe,V,e){var B=e("MEGo"),T=B.parseSVG,w=B.makeViewBoxTransform,D=e("4fz+"),I=e("x6Kt"),E=e("bYtY"),C=E.assert,f=E.createHashMap,t=e("mFDi"),i=e("4NO4"),s=i.makeInner,o=s(),r={load:function(n,l){var a=o(l).originRoot;if(a)return{root:a,boundingRect:o(l).boundingRect};var c=u(l);return o(l).originRoot=c.root,o(l).boundingRect=c.boundingRect,c},makeGraphic:function(n,l,a){var c=o(l),d=c.rootMap||(c.rootMap=f()),h=d.get(a);if(h)return h;var y=c.originRoot,A=c.boundingRect;return c.originRootHostKey?h=u(l,A).root:(c.originRootHostKey=a,h=y),d.set(a,h)},removeGraphic:function(n,l,a){var c=o(l),d=c.rootMap;d&&d.removeKey(a),a===c.originRootHostKey&&(c.originRootHostKey=null)}};function u(n,l){var a=n.svgXML,c,d;try{c=a&&T(a,{ignoreViewBox:!0,ignoreRootClip:!0})||{},d=c.root,C(d!=null)}catch(x){throw new Error(`Invalid svg format
|
|
|
`+x.message)}var h=c.width,y=c.height,A=c.viewBoxRect;if(l||(l=h==null||y==null?d.getBoundingRect():new t(0,0,0,0),h!=null&&(l.width=h),y!=null&&(l.height=y)),A){var v=w(A,l.width,l.height),g=d;d=new D,d.add(g),g.scale=v.scale,g.position=v.position}return d.setClipPath(new I({shape:l.plain()})),{root:d,boundingRect:l}}oe.exports=r},yWXo:function(oe,V,e){var B=e("IwbS"),T=e("oVpE"),w=T.createSymbol,D=e("OS9S"),I=4,E=B.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(i,s){var o=s.points,r=s.size,u=this.symbolProxy,n=u.shape,l=i.getContext?i.getContext():i,a=l&&r[0]<I;if(!a)for(var c=0;c<o.length;){var d=o[c++],h=o[c++];isNaN(d)||isNaN(h)||this.softClipShape&&!this.softClipShape.contain(d,h)||(n.x=d-r[0]/2,n.y=h-r[1]/2,n.width=r[0],n.height=r[1],u.buildPath(i,n,!0))}},afterBrush:function(i){var s=this.shape,o=s.points,r=s.size,u=r[0]<I;if(!!u){this.setTransform(i);for(var n=0;n<o.length;){var l=o[n++],a=o[n++];isNaN(l)||isNaN(a)||this.softClipShape&&!this.softClipShape.contain(l,a)||i.fillRect(l-r[0]/2,a-r[1]/2,r[0],r[1])}this.restoreTransform(i)}},findDataIndex:function(i,s){for(var o=this.shape,r=o.points,u=o.size,n=Math.max(u[0],4),l=Math.max(u[1],4),a=r.length/2-1;a>=0;a--){var c=a*2,d=r[c]-n/2,h=r[c+1]-l/2;if(i>=d&&s>=h&&i<=d+n&&s<=h+l)return a}return-1}});function C(){this.group=new B.Group}var f=C.prototype;f.isPersistent=function(){return!this._incremental},f.updateData=function(i,s){this.group.removeAll();var o=new E({rectHover:!0,cursor:"default"});o.setShape({points:i.getLayout("symbolPoints")}),this._setCommon(o,i,!1,s),this.group.add(o),this._incremental=null},f.updateLayout=function(i){if(!this._incremental){var s=i.getLayout("symbolPoints");this.group.eachChild(function(o){if(o.startIndex!=null){var r=(o.endIndex-o.startIndex)*2,u=o.startIndex*4*2;s=new Float32Array(s.buffer,u,r)}o.setShape("points",s)})}},f.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>2e6?(this._incremental||(this._incremental=new D({silent:!0})),this.group.add(this._incremental)):this._incremental=null},f.incrementalUpdate=function(i,s,o){var r;this._incremental?(r=new E,this._incremental.addDisplayable(r,!0)):(r=new E({rectHover:!0,cursor:"default",startIndex:i.start,endIndex:i.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(r,s,!!this._incremental,o)},f._setCommon=function(i,s,o,r){var u=s.hostModel;r=r||{};var n=s.getVisual("symbolSize");i.setShape("size",n instanceof Array?n:[n,n]),i.softClipShape=r.clipShape||null,i.symbolProxy=w(s.getVisual("symbol"),0,0,0,0),i.setColor=i.symbolProxy.setColor;var l=i.shape.size[0]<I;i.useStyle(u.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var a=s.getVisual("color");a&&i.setColor(a),o||(i.seriesIndex=u.seriesIndex,i.on("mousemove",function(c){i.dataIndex=null;var d=i.findDataIndex(c.offsetX,c.offsetY);d>=0&&(i.dataIndex=d+(i.startIndex||0))}))},f.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},f._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var t=C;oe.exports=t},ycre:function(oe,V,e){var B=e("711d"),T=B("length");oe.exports=T},yik8:function(oe,V,e){var B=e("bZqE"),T=B.eachAfter,w=B.eachBefore,D=e("Itpr"),I=D.init,E=D.firstWalk,C=D.secondWalk,f=D.separation,t=D.radialCoordinate,i=D.getViewRect;function s(r,u){r.eachSeriesByType("tree",function(n){o(n,u)})}function o(r,u){var n=i(r,u);r.layoutInfo=n;var l=r.get("layout"),a=0,c=0,d=null;l==="radial"?(a=2*Math.PI,c=Math.min(n.height,n.width)/2,d=f(function(F,L){return(F.parentNode===L.parentNode?1:2)/F.depth})):(a=n.width,c=n.height,d=f());var h=r.getData().tree.root,y=h.children[0];if(y){I(h),T(y,E,d),h.hierNode.modifier=-y.hierNode.prelim,w(y,C);var A=y,v=y,g=y;w(y,function(F){var L=F.getLayout().x;L<A.getLayout().x&&(A=F),L>v.getLayout().x&&(v=F),F.depth>g.depth&&(g=F)});var x=A===v?1:d(A,v)/2,m=x-A.getLayout().x,b=0,S=0,P=0,M=0;if(l==="radial")b=a/(v.getLayout().x+x+m),S=c/(g.depth-1||1),w(y,function(F){P=(F.getLayout().x+m)*b,M=(F.depth-1)*S;var L=t(P,M);F.setLayout({x:L.x,y:L.y,rawX:P,rawY:M},!0)});else{var R=r.getOrient();R==="RL"||R==="LR"?(S=c/(v.getLayout().x+x+m),b=a/(g.depth-1||1),w(y,function(F){M=(F.getLayout().x+m)*S,P=R==="LR"?(F.depth-1)*b:a-(F.depth-1)*b,F.setLayout({x:P,y:M},!0)})):(R==="TB"||R==="BT")&&(b=a/(v.getLayout().x+x+m),S=c/(g.depth-1||1),w(y,function(F){P=(F.getLayout().x+m)*b,M=R==="TB"?(F.depth-1)*S:c-(F.depth-1)*S,F.setLayout({x:P,y:M},!0)}))}}}oe.exports=s},ynwM:function(oe,V,e){var B=e("MFOe"),T=B.Global;oe.exports={name:"oldFF-globalStorage",read:D,write:I,each:E,remove:C,clearAll:f};var w=T.globalStorage;function D(t){return w[t]}function I(t,i){w[t]=i}function E(t){for(var i=w.length-1;i>=0;i--){var s=w.key(i);t(w[s],s)}}function C(t){return w.removeItem(t)}function f(){E(function(t,i){delete w[t]})}},ypgQ:function(oe,V,e){var B=e("bYtY"),T=e("4NO4"),w=e("bLfw"),D=B.each,I=B.clone,E=B.map,C=B.merge,f=/^(min|max)?(.+)$/;function t(l){this._api=l,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}t.prototype={constructor:t,setOption:function(l,a){l&&B.each(T.normalizeToArray(l.series),function(h){h&&h.data&&B.isTypedArray(h.data)&&B.setAsPrimitive(h.data)}),l=I(l);var c=this._optionBackup,d=i.call(this,l,a,!c);this._newBaseOption=d.baseOption,c?(u(c.baseOption,d.baseOption),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},mountOption:function(l){var a=this._optionBackup;return this._timelineOptions=E(a.timelineOptions,I),this._mediaList=E(a.mediaList,I),this._mediaDefault=I(a.mediaDefault),this._currentMediaIndices=[],I(l?a.baseOption:this._newBaseOption)},getTimelineOption:function(l){var a,c=this._timelineOptions;if(c.length){var d=l.getComponent("timeline");d&&(a=I(c[d.getCurrentIndex()],!0))}return a},getMediaOption:function(l){var a=this._api.getWidth(),c=this._api.getHeight(),d=this._mediaList,h=this._mediaDefault,y=[],A=[];if(!d.length&&!h)return A;for(var v=0,g=d.length;v<g;v++)s(d[v].query,a,c)&&y.push(v);return!y.length&&h&&(y=[-1]),y.length&&!r(y,this._currentMediaIndices)&&(A=E(y,function(x){return I(x===-1?h.option:d[x].option)})),this._currentMediaIndices=y,A}};function i(l,a,c){var d=[],h=[],y,A,v=l.timeline;if(l.baseOption&&(A=l.baseOption),(v||l.options)&&(A=A||{},d=(l.options||[]).slice()),l.media){A=A||{};var g=l.media;D(g,function(x){x&&x.option&&(x.query?h.push(x):y||(y=x))})}return A||(A=l),A.timeline||(A.timeline=v),D([A].concat(d).concat(B.map(h,function(x){return x.option})),function(x){D(a,function(m){m(x,c)})}),{baseOption:A,timelineOptions:d,mediaDefault:y,mediaList:h}}function s(l,a,c){var d={width:a,height:c,aspectratio:a/c},h=!0;return B.each(l,function(y,A){var v=A.match(f);if(!(!v||!v[1]||!v[2])){var g=v[1],x=v[2].toLowerCase();o(d[x],y,g)||(h=!1)}}),h}function o(l,a,c){return c==="min"?l>=a:c==="max"?l<=a:l===a}function r(l,a){return l.join(",")===a.join(",")}function u(l,a){a=a||{},D(a,function(c,d){if(c!=null){var h=l[d];if(!w.hasClass(d))l[d]=C(h,c,!0);else{c=T.normalizeToArray(c),h=T.normalizeToArray(h);var y=T.mappingToExists(h,c);l[d]=E(y,function(A){return A.option&&A.exist?C(A.exist,A.option,!0):A.exist||A.option})}}})}var n=t;oe.exports=n},yxFR:function(oe,V,e){var B=e("y+Vt"),T=e("nPnh"),w=T.subPixelOptimizeLine,D={},I=B.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(C,f){var t,i,s,o;this.subPixelOptimize?(w(D,f,this.style),t=D.x1,i=D.y1,s=D.x2,o=D.y2):(t=f.x1,i=f.y1,s=f.x2,o=f.y2);var r=f.percent;r!==0&&(C.moveTo(t,i),r<1&&(s=t*(1-r)+s*r,o=i*(1-r)+o*r),C.lineTo(s,o))},pointAt:function(C){var f=this.shape;return[f.x1*(1-C)+f.x2*C,f.y1*(1-C)+f.y2*C]}});oe.exports=I},z35g:function(oe,V,e){var B=e("bYtY");function T(I){return this._axes[I]}var w=function(I){this._axes={},this._dimList=[],this.name=I||""};w.prototype={constructor:w,type:"cartesian",getAxis:function(I){return this._axes[I]},getAxes:function(){return B.map(this._dimList,T,this)},getAxesByScale:function(I){return I=I.toLowerCase(),B.filter(this.getAxes(),function(E){return E.scale.type===I})},addAxis:function(I){var E=I.dim;this._axes[E]=I,this._dimList.push(E)},dataToCoord:function(I){return this._dataCoordConvert(I,"dataToCoord")},coordToData:function(I){return this._dataCoordConvert(I,"coordToData")},_dataCoordConvert:function(I,E){for(var C=this._dimList,f=I instanceof Array?[]:{},t=0;t<C.length;t++){var i=C[t],s=this._axes[i];f[i]=s[E](I[i])}return f}};var D=w;oe.exports=D},zAh6:function(oe,V,e){"use strict";e.d(V,"a",function(){return D});var B=e("wgJM");function T(I,E,C,f){var t=C-E;return I/=f/2,I<1?t/2*I*I*I+E:t/2*((I-=2)*I*I+2)+E}var w=e("i6bk");function D(I){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=E.getContainer,f=C===void 0?function(){return window}:C,t=E.callback,i=E.duration,s=i===void 0?450:i,o=f(),r=Object(w.a)(o,!0),u=Date.now(),n=function l(){var a=Date.now(),c=a-u,d=T(c>s?s:c,r,I,s);Object(w.b)(o)?o.scrollTo(window.pageXOffset,d):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=d:o.scrollTop=d,c<s?Object(B.a)(l):typeof t=="function"&&t()};Object(B.a)(n)}},zDms:function(oe,V,e){var B=e("bYtY"),T=e("OELB"),w=e("UOVi"),D=e("72pK"),I=B.each,E=T.asc,C=function(r,u,n,l){this._dimName=r,this._axisIndex=u,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=l,this._dataZoomModel=n};C.prototype={constructor:C,hostedBy:function(r){return this._dataZoomModel===r},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var r=[],u=this.ecModel;return u.eachSeries(function(n){if(w.isCoordSupported(n.get("coordinateSystem"))){var l=this._dimName,a=u.queryComponents({mainType:l+"Axis",index:n.get(l+"AxisIndex"),id:n.get(l+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&r.push(n)}},this),r},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var r=this._dimName,u=this.ecModel,n=this.getAxisModel(),l=r==="x"||r==="y",a,c;l?(c="gridIndex",a=r==="x"?"y":"x"):(c="polarIndex",a=r==="angle"?"radius":"angle");var d;return u.eachComponent(a+"Axis",function(h){(h.get(c)||0)===(n.get(c)||0)&&(d=h)}),d},getMinMaxSpan:function(){return B.clone(this._minMaxSpan)},calculateDataWindow:function(r){var u=this._dataExtent,n=this.getAxisModel(),l=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),c=[0,100],d=[],h=[],y;I(["start","end"],function(g,x){var m=r[g],b=r[g+"Value"];a[x]==="percent"?(m==null&&(m=c[x]),b=l.parse(T.linearMap(m,c,u))):(y=!0,b=b==null?u[x]:l.parse(b),m=T.linearMap(b,u,c)),h[x]=b,d[x]=m}),E(h),E(d);var A=this._minMaxSpan;y?v(h,d,u,c,!1):v(d,h,c,u,!0);function v(g,x,m,b,S){var P=S?"Span":"ValueSpan";D(0,g,m,"all",A["min"+P],A["max"+P]);for(var M=0;M<2;M++)x[M]=T.linearMap(g[M],m,b,!0),S&&(x[M]=l.parse(x[M]))}return{valueWindow:h,percentWindow:d}},reset:function(r){if(r===this._dataZoomModel){var u=this.getTargetSeriesModels();this._dataExtent=f(this,this._dimName,u),s(this);var n=this.calculateDataWindow(r.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,i(this)}},restore:function(r){r===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,i(this,!0))},filterData:function(r,u){if(r!==this._dataZoomModel)return;var n=this._dimName,l=this.getTargetSeriesModels(),a=r.get("filterMode"),c=this._valueWindow;if(a==="none")return;I(l,function(h){var y=h.getData(),A=y.mapDimension(n,!0);!A.length||(a==="weakFilter"?y.filterSelf(function(v){for(var g,x,m,b=0;b<A.length;b++){var S=y.get(A[b],v),P=!isNaN(S),M=S<c[0],R=S>c[1];if(P&&!M&&!R)return!0;P&&(m=!0),M&&(g=!0),R&&(x=!0)}return m&&g&&x}):I(A,function(v){if(a==="empty")h.setData(y=y.map(v,function(x){return d(x)?x:NaN}));else{var g={};g[v]=c,y.selectRange(g)}}),I(A,function(v){y.setApproximateExtent(c,v)}))});function d(h){return h>=c[0]&&h<=c[1]}}};function f(r,u,n){var l=[Infinity,-Infinity];return I(n,function(a){var c=a.getData();c&&I(c.mapDimension(u,!0),function(d){var h=c.getApproximateExtent(d);h[0]<l[0]&&(l[0]=h[0]),h[1]>l[1]&&(l[1]=h[1])})}),l[1]<l[0]&&(l=[NaN,NaN]),t(r,l),l}function t(r,u){var n=r.getAxisModel(),l=n.getMin(!0),a=n.get("type")==="category",c=a&&n.getCategories().length;l!=null&&l!=="dataMin"&&typeof l!="function"?u[0]=l:a&&(u[0]=c>0?0:NaN);var d=n.getMax(!0);return d!=null&&d!=="dataMax"&&typeof d!="function"?u[1]=d:a&&(u[1]=c>0?c-1:NaN),n.get("scale",!0)||(u[0]>0&&(u[0]=0),u[1]<0&&(u[1]=0)),u}function i(r,u){var n=r.getAxisModel(),l=r._percentWindow,a=r._valueWindow;if(!!l){var c=T.getPixelPrecision(a,[0,500]);c=Math.min(c,20);var d=u||l[0]===0&&l[1]===100;n.setRange(d?null:+a[0].toFixed(c),d?null:+a[1].toFixed(c))}}function s(r){var u=r._minMaxSpan={},n=r._dataZoomModel,l=r._dataExtent;I(["min","max"],function(a){var c=n.get(a+"Span"),d=n.get(a+"ValueSpan");d!=null&&(d=r.getAxisModel().axis.scale.parse(d)),d!=null?c=T.linearMap(l[0]+d,l,[0,100],!0):c!=null&&(d=T.linearMap(c,[0,100],l,!0)-l[0]),u[a+"Span"]=c,u[a+"ValueSpan"]=d})}var o=C;oe.exports=o},zM3Q:function(oe,V,e){var B=e("4NO4"),T=B.makeInner;function w(){var D=T();return function(I){var E=D(I),C=I.pipelineContext,f=E.large,t=E.progressiveRender,i=E.large=C&&C.large,s=E.progressiveRender=C&&C.progressiveRender;return!!(f^i||t^s)&&"reset"}}oe.exports=w},zRKj:function(oe,V,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(oe,V,e){var B=e("bYtY"),T=e("Qxkt"),w=B.each,D=B.curry;function I(l,a){var c={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return E(c,l,a),c.seriesInvolved&&f(c,l),c}function E(l,a,c){var d=a.getComponent("tooltip"),h=a.getComponent("axisPointer"),y=h.get("link",!0)||[],A=[];w(c.getCoordinateSystems(),function(v){if(!v.axisPointerEnabled)return;var g=n(v.model),x=l.coordSysAxesInfo[g]={};l.coordSysMap[g]=v;var m=v.model,b=m.getModel("tooltip",d);if(w(v.getAxes(),D(R,!1,null)),v.getTooltipAxes&&d&&b.get("show")){var S=b.get("trigger")==="axis",P=b.get("axisPointer.type")==="cross",M=v.getTooltipAxes(b.get("axisPointer.axis"));(S||P)&&w(M.baseAxes,D(R,P?"cross":!0,S)),P&&w(M.otherAxes,D(R,"cross",!1))}function R(F,L,U){var N=U.model.getModel("axisPointer",h),Q=N.get("show");if(!(!Q||Q==="auto"&&!F&&!u(N))){L==null&&(L=N.get("triggerTooltip")),N=F?C(U,b,h,a,F,L):N;var z=N.get("snap"),_=n(U.model),J=L||z||U.type==="category",Y=l.axesInfo[_]={key:_,axis:U,coordSys:v,axisPointerModel:N,triggerTooltip:L,involveSeries:J,snap:z,useHandle:u(N),seriesModels:[]};x[_]=Y,l.seriesInvolved|=J;var k=t(y,U);if(k!=null){var W=A[k]||(A[k]={axesInfo:{}});W.axesInfo[_]=Y,W.mapper=y[k].mapper,Y.linkGroup=W}}}})}function C(l,a,c,d,h,y){var A=a.getModel("axisPointer"),v={};w(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(b){v[b]=B.clone(A.get(b))}),v.snap=l.type!=="category"&&!!y,A.get("type")==="cross"&&(v.type="line");var g=v.label||(v.label={});if(g.show==null&&(g.show=!1),h==="cross"){var x=A.get("label.show");if(g.show=x!=null?x:!0,!y){var m=v.lineStyle=A.get("crossStyle");m&&B.defaults(g,m.textStyle)}}return l.model.getModel("axisPointer",new T(v,c,d))}function f(l,a){a.eachSeries(function(c){var d=c.coordinateSystem,h=c.get("tooltip.trigger",!0),y=c.get("tooltip.show",!0);!d||h==="none"||h===!1||h==="item"||y===!1||c.get("axisPointer.show",!0)===!1||w(l.coordSysAxesInfo[n(d.model)],function(A){var v=A.axis;d.getAxis(v.dim)===v&&(A.seriesModels.push(c),A.seriesDataCount==null&&(A.seriesDataCount=0),A.seriesDataCount+=c.getData().count())})},this)}function t(l,a){for(var c=a.model,d=a.dim,h=0;h<l.length;h++){var y=l[h]||{};if(i(y[d+"AxisId"],c.id)||i(y[d+"AxisIndex"],c.componentIndex)||i(y[d+"AxisName"],c.name))return h}}function i(l,a){return l==="all"||B.isArray(l)&&B.indexOf(l,a)>=0||l===a}function s(l){var a=o(l);if(!!a){var c=a.axisPointerModel,d=a.axis.scale,h=c.option,y=c.get("status"),A=c.get("value");A!=null&&(A=d.parse(A));var v=u(c);y==null&&(h.status=v?"show":"hide");var g=d.getExtent().slice();g[0]>g[1]&&g.reverse(),(A==null||A>g[1])&&(A=g[1]),A<g[0]&&(A=g[0]),h.value=A,v&&(h.status=a.axis.scale.isBlank()?"hide":"show")}}function o(l){var a=(l.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return a&&a.axesInfo[n(l)]}function r(l){var a=o(l);return a&&a.axisPointerModel}function u(l){return!!l.get("handle.show")}function n(l){return l.type+"||"+l.id}V.collect=I,V.fixValue=s,V.getAxisInfo=o,V.getAxisPointerModel=r,V.makeKey=n},zYTA:function(oe,V,e){var B=e("bYtY"),T=256;function w(){var I=B.createCanvas();this.canvas=I,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}w.prototype={update:function(I,E,C,f,t,i){var s=this._getBrush(),o=this._getGradient(I,t,"inRange"),r=this._getGradient(I,t,"outOfRange"),u=this.pointSize+this.blurSize,n=this.canvas,l=n.getContext("2d"),a=I.length;n.width=E,n.height=C;for(var c=0;c<a;++c){var d=I[c],h=d[0],y=d[1],A=d[2],v=f(A);l.globalAlpha=v,l.drawImage(s,h-u,y-u)}if(!n.width||!n.height)return n;for(var g=l.getImageData(0,0,n.width,n.height),x=g.data,m=0,b=x.length,S=this.minOpacity,P=this.maxOpacity,M=P-S;m<b;){var v=x[m+3]/256,R=Math.floor(v*(T-1))*4;if(v>0){var F=i(v)?o:r;v>0&&(v=v*M+S),x[m++]=F[R],x[m++]=F[R+1],x[m++]=F[R+2],x[m++]=F[R+3]*v*256}else m+=4}return l.putImageData(g,0,0),n},_getBrush:function(){var I=this._brushCanvas||(this._brushCanvas=B.createCanvas()),E=this.pointSize+this.blurSize,C=E*2;I.width=C,I.height=C;var f=I.getContext("2d");return f.clearRect(0,0,C,C),f.shadowOffsetX=C,f.shadowBlur=this.blurSize,f.shadowColor="#000",f.beginPath(),f.arc(-E,E,this.pointSize,0,Math.PI*2,!0),f.closePath(),f.fill(),I},_getGradient:function(I,E,C){for(var f=this._gradientPixels,t=f[C]||(f[C]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],s=0,o=0;o<256;o++)E[C](o/255,!0,i),t[s++]=i[0],t[s++]=i[1],t[s++]=i[2],t[s++]=i[3];return t}};var D=w;oe.exports=D},zarK:function(oe,V,e){var B=e("YH21"),T=B.addEventListener,w=B.removeEventListener,D=B.normalizeEvent,I=B.getNativeEvent,E=e("bYtY"),C=e("H6uX"),f=e("ItGF"),t=300,i=f.domSupported,s=function(){var F=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],L=["touchstart","touchend","touchmove"],U={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},N=E.map(F,function(Q){var z=Q.replace("mouse","pointer");return U.hasOwnProperty(z)?z:Q});return{mouse:F,touch:L,pointer:N}}(),o={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function r(F){return F==="mousewheel"&&f.browser.firefox?"DOMMouseScroll":F}function u(F){var L=F.pointerType;return L==="pen"||L==="touch"}function n(F){F.touching=!0,F.touchTimer!=null&&(clearTimeout(F.touchTimer),F.touchTimer=null),F.touchTimer=setTimeout(function(){F.touching=!1,F.touchTimer=null},700)}function l(F){F&&(F.zrByTouch=!0)}function a(F,L){return D(F.dom,new d(F,L),!0)}function c(F,L){for(var U=L,N=!1;U&&U.nodeType!==9&&!(N=U.domBelongToZr||U!==L&&U===F.painterRoot);)U=U.parentNode;return N}function d(F,L){this.type=L.type,this.target=this.currentTarget=F.dom,this.pointerType=L.pointerType,this.clientX=L.clientX,this.clientY=L.clientY}var h=d.prototype;h.stopPropagation=h.stopImmediatePropagation=h.preventDefault=E.noop;var y={mousedown:function(L){L=D(this.dom,L),this._mayPointerCapture=[L.zrX,L.zrY],this.trigger("mousedown",L)},mousemove:function(L){L=D(this.dom,L);var U=this._mayPointerCapture;U&&(L.zrX!==U[0]||L.zrY!==U[1])&&b(this,!0),this.trigger("mousemove",L)},mouseup:function(L){L=D(this.dom,L),b(this,!1),this.trigger("mouseup",L)},mouseout:function(L){L=D(this.dom,L),this._pointerCapturing&&(L.zrEventControl="no_globalout");var U=L.toElement||L.relatedTarget;L.zrIsToLocalDOM=c(this,U),this.trigger("mouseout",L)},touchstart:function(L){L=D(this.dom,L),l(L),this._lastTouchMoment=new Date,this.handler.processGesture(L,"start"),y.mousemove.call(this,L),y.mousedown.call(this,L)},touchmove:function(L){L=D(this.dom,L),l(L),this.handler.processGesture(L,"change"),y.mousemove.call(this,L)},touchend:function(L){L=D(this.dom,L),l(L),this.handler.processGesture(L,"end"),y.mouseup.call(this,L),+new Date-this._lastTouchMoment<t&&y.click.call(this,L)},pointerdown:function(L){y.mousedown.call(this,L)},pointermove:function(L){u(L)||y.mousemove.call(this,L)},pointerup:function(L){y.mouseup.call(this,L)},pointerout:function(L){u(L)||y.mouseout.call(this,L)}};E.each(["click","mousewheel","dblclick","contextmenu"],function(F){y[F]=function(L){L=D(this.dom,L),this.trigger(F,L)}});var A={pointermove:function(L){u(L)||A.mousemove.call(this,L)},pointerup:function(L){A.mouseup.call(this,L)},mousemove:function(L){this.trigger("mousemove",L)},mouseup:function(L){var U=this._pointerCapturing;b(this,!1),this.trigger("mouseup",L),U&&(L.zrEventControl="only_globalout",this.trigger("mouseout",L))}};function v(F,L){var U=L.domHandlers;f.pointerEventsSupported?E.each(s.pointer,function(N){x(L,N,function(Q){U[N].call(F,Q)})}):(f.touchEventsSupported&&E.each(s.touch,function(N){x(L,N,function(Q){U[N].call(F,Q),n(L)})}),E.each(s.mouse,function(N){x(L,N,function(Q){Q=I(Q),L.touching||U[N].call(F,Q)})}))}function g(F,L){f.pointerEventsSupported?E.each(o.pointer,U):f.touchEventsSupported||E.each(o.mouse,U);function U(N){function Q(z){z=I(z),c(F,z.target)||(z=a(F,z),L.domHandlers[N].call(F,z))}x(L,N,Q,{capture:!0})}}function x(F,L,U,N){F.mounted[L]=U,F.listenerOpts[L]=N,T(F.domTarget,r(L),U,N)}function m(F){var L=F.mounted;for(var U in L)L.hasOwnProperty(U)&&w(F.domTarget,r(U),L[U],F.listenerOpts[U]);F.mounted={}}function b(F,L){if(F._mayPointerCapture=null,i&&F._pointerCapturing^L){F._pointerCapturing=L;var U=F._globalHandlerScope;L?g(F,U):m(U)}}function S(F,L){this.domTarget=F,this.domHandlers=L,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function P(F,L){C.call(this),this.dom=F,this.painterRoot=L,this._localHandlerScope=new S(F,y),i&&(this._globalHandlerScope=new S(document,A)),this._pointerCapturing=!1,this._mayPointerCapture=null,v(this,this._localHandlerScope)}var M=P.prototype;M.dispose=function(){m(this._localHandlerScope),i&&m(this._globalHandlerScope)},M.setCursor=function(F){this.dom.style&&(this.dom.style.cursor=F||"default")},E.mixin(P,C);var R=P;oe.exports=R},zoYe:function(oe,V,e){var B=e("nmnc"),T=e("eUgh"),w=e("Z0cm"),D=e("/9aa"),I=1/0,E=B?B.prototype:void 0,C=E?E.toString:void 0;function f(t){if(typeof t=="string")return t;if(w(t))return T(t,f)+"";if(D(t))return C?C.call(t):"";var i=t+"";return i=="0"&&1/t==-I?"-0":i}oe.exports=f},zs7G:function(oe,V,e){"use strict";var B=e("VTBJ"),T=e("q1tI"),w={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"},D=w,I=e("6VBw"),E=function(t,i){return T.createElement(I.a,Object(B.a)(Object(B.a)({},t),{},{ref:i,icon:D}))};E.displayName="DoubleRightOutlined";var C=V.a=T.forwardRef(E)},zuHt:function(oe,V,e){var B=e("bYtY");function T(w){var D={};w.eachSeriesByType("map",function(I){var E=I.getMapType();if(!(I.getHostGeoModel()||D[E])){var C={};B.each(I.seriesGroup,function(t){var i=t.coordinateSystem,s=t.originalData;t.get("showLegendSymbol")&&w.getComponent("legend")&&s.each(s.mapDimension("value"),function(o,r){var u=s.getName(r),n=i.getRegion(u);if(!(!n||isNaN(o))){var l=C[u]||0,a=i.dataToPoint(n.center);C[u]=l+1,s.setItemLayout(r,{point:a,offset:l})}})});var f=I.getData();f.each(function(t){var i=f.getName(t),s=f.getItemLayout(t)||{};s.showLabel=!C[i],f.setItemLayout(t,s)}),D[E]=!0}})}oe.exports=T}}]);
|