(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(J,F,e){"use strict";var c=e("wx14"),E=e("Ff2n"),g=e("rePB"),m=e("1OyB"),A=e("vuIU"),b=e("Ji7U"),f=e("md7G"),i=e("foSv"),r=e("q1tI"),o=e.n(r),s=e("TSYQ"),l=e.n(s);function n(h,v){var y=Object.keys(h);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(h);v&&(O=O.filter(function(S){return Object.getOwnPropertyDescriptor(h,S).enumerable})),y.push.apply(y,O)}return y}function d(h){for(var v=1;v-1}J.exports=E},"+BJd":function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("6MrE"),m=e.n(g)},"+QRC":function(J,F,e){"use strict";var c=e("E9nw"),E={"text/plain":"Text","text/html":"Url",default:"Text"},g="Copy to clipboard: #{key}, Enter";function m(b){var f=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return b.replace(/#{\s*key\s*}/g,f)}function A(b,f){var i,r,o,s,l,n,d=!1;f||(f={}),i=f.debug||!1;try{o=c(),s=document.createRange(),l=document.getSelection(),n=document.createElement("span"),n.textContent=b,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(u){if(u.stopPropagation(),f.format)if(u.preventDefault(),typeof u.clipboardData=="undefined"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=E[f.format]||E.default;window.clipboardData.setData(a,b)}else u.clipboardData.clearData(),u.clipboardData.setData(f.format,b);f.onCopy&&(u.preventDefault(),f.onCopy(u.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),l.addRange(s);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");d=!0}catch(u){i&&console.error("unable to copy using execCommand: ",u),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",b),f.onCopy&&f.onCopy(window.clipboardData),d=!0}catch(a){i&&console.error("unable to copy using clipboardData: ",a),i&&console.error("falling back to prompt"),r=m("message"in f?f.message:g),window.prompt(r,b)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(s):l.removeAllRanges()),n&&document.body.removeChild(n),o()}return d}J.exports=A},"+TT/":function(J,F,e){var c=e("bYtY"),E=e("mFDi"),g=e("OELB"),m=g.parsePercent,A=e("7aKB"),b=c.each,f=["left","right","top","bottom","width","height"],i=[["width","left","right"],["height","top","bottom"]];function r(y,O,S,x,L){var T=0,w=0;x==null&&(x=Infinity),L==null&&(L=Infinity);var C=0;O.eachChild(function(N,D){var B=N.position,R=N.getBoundingRect(),U=O.childAt(D+1),M=U&&U.getBoundingRect(),j,P;if(y==="horizontal"){var V=R.width+(M?-M.x+R.x:0);j=T+V,j>x||N.newline?(T=0,j=V,w+=C+S,C=R.height):C=Math.max(C,R.height)}else{var H=R.height+(M?-M.y+R.y:0);P=w+H,P>L||N.newline?(T+=C+S,w=0,P=H,C=R.width):C=Math.max(C,R.width)}if(N.newline)return;B[0]=T,B[1]=w,y==="horizontal"?T=j+S:w=P+S})}var o=r,s=c.curry(r,"vertical"),l=c.curry(r,"horizontal");function n(y,O,S){var x=O.width,L=O.height,T=m(y.x,x),w=m(y.y,L),C=m(y.x2,x),N=m(y.y2,L);return(isNaN(T)||isNaN(parseFloat(y.x)))&&(T=0),(isNaN(C)||isNaN(parseFloat(y.x2)))&&(C=x),(isNaN(w)||isNaN(parseFloat(y.y)))&&(w=0),(isNaN(N)||isNaN(parseFloat(y.y2)))&&(N=L),S=A.normalizeCssArray(S||0),{width:Math.max(C-T-S[1]-S[3],0),height:Math.max(N-w-S[0]-S[2],0)}}function d(y,O,S){S=A.normalizeCssArray(S||0);var x=O.width,L=O.height,T=m(y.left,x),w=m(y.top,L),C=m(y.right,x),N=m(y.bottom,L),D=m(y.width,x),B=m(y.height,L),R=S[2]+S[0],U=S[1]+S[3],M=y.aspect;isNaN(D)&&(D=x-C-U-T),isNaN(B)&&(B=L-N-R-w),M!=null&&(isNaN(D)&&isNaN(B)&&(M>x/L?D=x*.8:B=L*.8),isNaN(D)&&(D=M*B),isNaN(B)&&(B=D/M)),isNaN(T)&&(T=x-C-D-U),isNaN(w)&&(w=L-N-B-R);switch(y.left||y.right){case"center":T=x/2-D/2-S[3];break;case"right":T=x-D-U;break}switch(y.top||y.bottom){case"middle":case"center":w=L/2-B/2-S[0];break;case"bottom":w=L-B-R;break}T=T||0,w=w||0,isNaN(D)&&(D=x-U-T-(C||0)),isNaN(B)&&(B=L-R-w-(N||0));var j=new E(T+S[3],w+S[0],D,B);return j.margin=S,j}function t(y,O,S,x,L){var T=!L||!L.hv||L.hv[0],w=!L||!L.hv||L.hv[1],C=L&&L.boundingMode||"all";if(!T&&!w)return;var N;if(C==="raw")N=y.type==="group"?new E(0,0,+O.width||0,+O.height||0):y.getBoundingRect();else if(N=y.getBoundingRect(),y.needLocalTransform()){var D=y.getLocalTransform();N=N.clone(),N.applyTransform(D)}O=d(c.defaults({width:N.width,height:N.height},O),S,x);var B=y.position,R=T?O.x-N.x:0,U=w?O.y-N.y:0;y.attr("position",C==="raw"?[R,U]:[B[0]+R,B[1]+U])}function u(y,O){return y[i[O][0]]!=null||y[i[O][1]]!=null&&y[i[O][2]]!=null}function a(y,O,S){!c.isObject(S)&&(S={});var x=S.ignoreSize;!c.isArray(x)&&(x=[x,x]);var L=w(i[0],0),T=w(i[1],1);D(i[0],y,L),D(i[1],y,T);function w(B,R){var U={},M=0,j={},P=0,V=2;if(b(B,function(Z){j[Z]=y[Z]}),b(B,function(Z){C(O,Z)&&(U[Z]=j[Z]=O[Z]),N(U,Z)&&M++,N(j,Z)&&P++}),x[R])return N(O,B[1])?j[B[2]]=null:N(O,B[2])&&(j[B[1]]=null),j;if(P===V||!M)return j;if(M>=V)return U;for(var H=0;H2&&arguments[2]!==void 0?arguments[2]:"0",tr=String(Fe);tr.length=12,Mn%=12);var Ri=i.useMemo(function(){if(!Zr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var Ji=hi.disabled,va=hi.value;if(Ji)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Zr,ri]),Ai=Object(H.a)(Ri,2),xi=Ai[0],Oi=Ai[1],kn=i.useMemo(function(){return Zr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,Ji=hi===0?"12":It(hi,2);return Object(V.a)(Object(V.a)({},mi),{},{label:Ji,value:hi})}):ri},[Zr,ri]),Mi=st(0,59,ir,rn&&rn(Mn)),fa=st(0,59,Br,fn&&fn(Mn,En));tr.current={onUpDown:function(hi){var Ji=Sn[Tr];if(Ji)for(var va=Ji.units.findIndex(function(sa){return sa.value===Ji.value}),Ea=Ji.units.length,Aa=1;Aa1&&(xr=Dt.addDate(xr,-7)),xr}function ye(Fe,Dt,Gt){var tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Dt){case"year":return Gt.addYear(Fe,tr*10);case"quarter":case"month":return Gt.addYear(Fe,tr);default:return Gt.addMonth(Fe,tr)}}var Ce=i.createContext({}),Oe=Ce;function Ie(Fe){var Dt=Fe.cellPrefixCls,Gt=Fe.generateConfig,tr=Fe.rangedValue,Tr=Fe.hoverRangedValue,br=Fe.isInView,xr=Fe.isSameCell,Wr=Fe.offsetCell,$r=Fe.today,Zr=Fe.value;function an(rt){var Ut,ir=Wr(rt,-1),yr=Wr(rt,1),Br=nr(tr,0),Rr=nr(tr,1),rn=nr(Tr,0),fn=nr(Tr,1),wn=oe(Gt,rn,fn,rt);function Hn(En){return xr(Br,En)}function Sn(En){return xr(Rr,En)}var bn=xr(rn,rt),Bn=xr(fn,rt),vn=(wn||Bn)&&(!br(ir)||Sn(ir)),Mn=(wn||bn)&&(!br(yr)||Hn(yr));return Ut={},Object(P.a)(Ut,"".concat(Dt,"-in-view"),br(rt)),Object(P.a)(Ut,"".concat(Dt,"-in-range"),oe(Gt,Br,Rr,rt)),Object(P.a)(Ut,"".concat(Dt,"-range-start"),Hn(rt)),Object(P.a)(Ut,"".concat(Dt,"-range-end"),Sn(rt)),Object(P.a)(Ut,"".concat(Dt,"-range-start-single"),Hn(rt)&&!Rr),Object(P.a)(Ut,"".concat(Dt,"-range-end-single"),Sn(rt)&&!Br),Object(P.a)(Ut,"".concat(Dt,"-range-start-near-hover"),Hn(rt)&&(xr(ir,rn)||oe(Gt,rn,fn,ir))),Object(P.a)(Ut,"".concat(Dt,"-range-end-near-hover"),Sn(rt)&&(xr(yr,fn)||oe(Gt,rn,fn,yr))),Object(P.a)(Ut,"".concat(Dt,"-range-hover"),wn),Object(P.a)(Ut,"".concat(Dt,"-range-hover-start"),bn),Object(P.a)(Ut,"".concat(Dt,"-range-hover-end"),Bn),Object(P.a)(Ut,"".concat(Dt,"-range-hover-edge-start"),vn),Object(P.a)(Ut,"".concat(Dt,"-range-hover-edge-end"),Mn),Object(P.a)(Ut,"".concat(Dt,"-range-hover-edge-start-near-range"),vn&&xr(ir,Rr)),Object(P.a)(Ut,"".concat(Dt,"-range-hover-edge-end-near-range"),Mn&&xr(yr,Br)),Object(P.a)(Ut,"".concat(Dt,"-today"),xr($r,rt)),Object(P.a)(Ut,"".concat(Dt,"-selected"),xr(Zr,rt)),Ut}return an}function xe(Fe){for(var Dt=Fe.prefixCls,Gt=Fe.disabledDate,tr=Fe.onSelect,Tr=Fe.rowNum,br=Fe.colNum,xr=Fe.prefixColumn,Wr=Fe.rowClassName,$r=Fe.baseDate,Zr=Fe.getCellClassName,an=Fe.getCellText,rt=Fe.getCellNode,Ut=Fe.getCellDate,ir=Fe.titleCell,yr=Fe.headerCells,Br=i.useContext(Q),Rr=Br.onDateMouseEnter,rn=Br.onDateMouseLeave,fn="".concat(Dt,"-cell"),wn=[],Hn=0;Hn2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Br||oo)&&(la(pi),Bn&&Bn(pi),Ea&&Ea(pi,Gi),vn&&!ue(Wr,pi,ua)&&vn(pi))},So=function(pi){return Ki.current&&Ki.current.onKeyDown?([Y.a.LEFT,Y.a.RIGHT,Y.a.UP,Y.a.DOWN,Y.a.PAGE_UP,Y.a.PAGE_DOWN,Y.a.ENTER].includes(pi.which)&&pi.preventDefault(),Ki.current.onKeyDown(pi)):(Object(g.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Wa=function(pi){Ki.current&&Ki.current.onBlur&&Ki.current.onBlur(pi)};Ji&&qn!=="right"&&(Ji.current={onKeyDown:So,onClose:function(){Ki.current&&Ki.current.onClose&&Ki.current.onClose()}}),i.useEffect(function(){$r&&!Yi.current&&ra($r)},[$r]),i.useEffect(function(){Yi.current=!1},[]);var ja,Ja=Object(V.a)(Object(V.a)({},Fe),{},{operationRef:Ki,prefixCls:tr,viewDate:Ba,value:ua,onViewDateChange:Qi,sourceMode:Qa,onPanelChange:pa,disabledDate:ba!=="decade"?Ut:void 0});delete Ja.onChange,delete Ja.onSelect;switch(ba){case"decade":ja=i.createElement(cn,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"year":ja=i.createElement(Qr,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"month":ja=i.createElement(Jt,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"quarter":ja=i.createElement(Ze,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"week":ja=i.createElement(Ft,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;case"time":delete Ja.showTime,ja=i.createElement(lt,Object.assign({},Ja,Object(Z.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}));break;default:wn?ja=i.createElement(Re,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}})):ja=i.createElement($,Object.assign({},Ja,{onSelect:function(pi,Gi){Qi(pi),Ii(pi,Gi)}}))}var ho,Ca,to=function(){var pi=Wr.getNow(),Gi=Ge(Wr.getHour(pi),Wr.getMinute(pi),Wr.getSecond(pi),ki?Ai:1,Bi?Oi:1,mi?Mi:1),oo=Kt(Wr,pi,Gi[0],Gi[1],Gi[2]);Ii(oo,"submit")};Aa||(ho=Dn(tr,ba,Sn),Ca=jr({prefixCls:tr,components:ai,needConfirmButton:fa,okDisabled:!ua||Ut&&Ut(ua),locale:xr,showNow:fn,onNow:fa&&to,onOk:function(){ua&&(Ii(ua,"submit",!0),Yn&&Yn(ua))}}));var Oo;if(Hn&&ba==="date"&&Br==="date"&&!wn){var Ta=Wr.getNow(),Fi="".concat(tr,"-today-btn"),$a=Ut&&Ut(Ta);Oo=i.createElement("a",{className:L()(Fi,$a&&"".concat(Fi,"-disabled")),"aria-disabled":$a,onClick:function(){$a||Ii(Ta,"mouse",!0)}},xr.today)}return i.createElement(Q.Provider,{value:Object(V.a)(Object(V.a)({},hi),{},{hideHeader:"hideHeader"in Fe?bn:hi.hideHeader,hidePrevBtn:Di&&qn==="right",hideNextBtn:Di&&qn==="left"})},i.createElement("div",{tabIndex:rn,className:L()("".concat(tr,"-panel"),Tr,(Dt={},Object(P.a)(Dt,"".concat(tr,"-panel-has-range"),yi&&yi[0]&&yi[1]),Object(P.a)(Dt,"".concat(tr,"-panel-has-range-hover"),Ti&&Ti[0]&&Ti[1]),Object(P.a)(Dt,"".concat(tr,"-panel-rtl"),ri==="rtl"),Dt)),style:br,onKeyDown:So,onBlur:Wa,onMouseDown:En,ref:va},ja,ho||Ca||Oo?i.createElement("div",{className:"".concat(tr,"-footer")},ho,Ca,Oo):null))}var gn=Ln,Un=e("uciX"),Wn={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 Jn(Fe){var Dt,Gt=Fe.prefixCls,tr=Fe.popupElement,Tr=Fe.popupStyle,br=Fe.visible,xr=Fe.dropdownClassName,Wr=Fe.dropdownAlign,$r=Fe.transitionName,Zr=Fe.getPopupContainer,an=Fe.children,rt=Fe.range,Ut=Fe.popupPlacement,ir=Fe.direction,yr="".concat(Gt,"-dropdown"),Br=function(){return Ut!==void 0?Ut:ir==="rtl"?"bottomRight":"bottomLeft"};return i.createElement(Un.a,{showAction:[],hideAction:[],popupPlacement:Br(),builtinPlacements:Wn,prefixCls:yr,popupTransitionName:$r,popup:tr,popupAlign:Wr,popupVisible:br,popupClassName:L()(xr,(Dt={},Object(P.a)(Dt,"".concat(yr,"-range"),rt),Object(P.a)(Dt,"".concat(yr,"-rtl"),ir==="rtl"),Dt)),popupStyle:Tr,getPopupContainer:Zr},an)}var Qn=Jn;function Kn(Fe){var Dt=Fe.open,Gt=Fe.value,tr=Fe.isClickOutside,Tr=Fe.triggerOpen,br=Fe.forwardKeyDown,xr=Fe.blurToCancel,Wr=Fe.onSubmit,$r=Fe.onCancel,Zr=Fe.onFocus,an=Fe.onBlur,rt=Object(i.useState)(!1),Ut=Object(H.a)(rt,2),ir=Ut[0],yr=Ut[1],Br=Object(i.useState)(!1),Rr=Object(H.a)(Br,2),rn=Rr[0],fn=Rr[1],wn=Object(i.useRef)(!1),Hn=Object(i.useRef)(!1),Sn={onMouseDown:function(){yr(!0),Tr(!0)},onKeyDown:function(Bn){switch(Bn.which){case Y.a.ENTER:{Dt?Wr()!==!1&&yr(!0):Tr(!0),Bn.preventDefault();return}case Y.a.TAB:{ir&&Dt&&!Bn.shiftKey?(yr(!1),Bn.preventDefault()):!ir&&Dt&&(!br(Bn)&&Bn.shiftKey&&(yr(!0),Bn.preventDefault()));return}case Y.a.ESC:{yr(!0),$r();return}}!Dt&&![Y.a.SHIFT].includes(Bn.which)?Tr(!0):ir||br(Bn)},onFocus:function(Bn){yr(!0),fn(!0),Zr&&Zr(Bn)},onBlur:function(Bn){if(wn.current||!tr(document.activeElement)){wn.current=!1;return}xr?setTimeout(function(){tr(document.activeElement)&&$r()},0):Dt&&(Tr(!1),Hn.current&&Wr()),fn(!1),an&&an(Bn)}};return Object(i.useEffect)(function(){Hn.current=!1},[Dt]),Object(i.useEffect)(function(){Hn.current=!0},[Gt]),Object(i.useEffect)(function(){return bt(function(bn){var Bn=bn.target;Dt&&(tr(Bn)?rn||Tr(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:ir}]}function yn(Fe){var Dt=Fe.valueTexts,Gt=Fe.onTextChange,tr=i.useState(""),Tr=Object(H.a)(tr,2),br=Tr[0],xr=Tr[1],Wr=i.useRef([]);Wr.current=Dt;function $r(an){xr(an),Gt(an)}function Zr(){xr(Wr.current[0])}return i.useEffect(function(){Dt.every(function(an){return an!==br})&&Zr()},[Dt.join("||")]),[br,$r,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(Fe,Dt){var Gt=Dt.formatList,tr=Dt.generateConfig,Tr=Dt.locale;return Object(Se.a)(function(){if(!Fe)return[[""],""];for(var br="",xr=[],Wr=0;Wrir(an);case"month":return Ut(Rr)>Ut(an);case"week":return rt(Rr)>rt(an);default:return!mr($r,Rr,an)&&$r.isAfter(Rr,an)}return!1},[xr,Wr[1],an,Dt]),Br=i.useCallback(function(Rr){if(xr&&xr(Rr))return!0;if(Wr[0]&&Zr)return!mr($r,Rr,an)&&$r.isAfter(Zr,Rr);if(Gt&&Zr)switch(tr){case"quarter":return ir(Rr)0&&arguments[0]!==void 0?arguments[0]:!1,ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_i=null;vo&&ce&&ce[0]&&ce[1]&&yr.isAfter(ce[1],ce[0])&&(_i=ce);var Vn=bn;if(bn&&Object(Z.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Vn=Object(V.a)(Object(V.a)({},bn),{},{defaultValue:nr(io,vi)||void 0})}var Jo=null;return xi&&(Jo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),i.createElement(Oe.Provider,{value:{inRange:!0,panelPosition:ca,rangedValue:Ks||Fi,hoverRangedValue:_i}},i.createElement(gn,Object.assign({},Fe,ci,{dateRender:Jo,showTime:Vn,mode:Gi[vi],generateConfig:yr,style:void 0,direction:Yi,disabledDate:vi===0?Pi:Ma,disabledTime:function(os){return Ai?Ai(os,vi===0?"start":"end"):!1},className:L()(Object(P.a)({},"".concat(br,"-panel-focused"),vi===0?!Ao:!jo)),value:nr(Fi,vi),locale:Br,tabIndex:-1,onPanelChange:function(os,Zo){go(Bt(Gi,Zo,vi),Bt(Fi,os,vi));var qo=os;ca==="right"&&Gi[vi]===Zo&&(qo=ye(qo,Zo,yr,-1)),to(qo,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Qo=0,Eo=0;vi&&ra.current&&Ya.current&&Ba.current&&(Qo=ra.current.offsetWidth+Ya.current.offsetWidth,Ba.current.offsetWidth&&Qo>Ba.current.offsetWidth&&(Eo=Qo));var ds=Yi==="rtl"?{right:Qo}:{left:Qo};function hs(){var ca,ci=Dn(br,Gi[vi],va),_i=jr({prefixCls:br,components:Ti,needConfirmButton:la,okDisabled:!nr(Fi,vi)||Ri&&Ri(Fi[vi]),locale:Br,rangeList:Ys,onOk:function(){nr(Fi,vi)&&(Za(Fi,vi),yi&&yi(Fi))}});if(Sn!=="time"&&!bn){var Vn=Ca(vi),io=ye(Vn,Sn,yr),Jo=Gi[vi],gs=Jo===Sn,os=Qs(gs?"left":!1,{pickerValue:Vn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Qs("right",{pickerValue:io,onPickerValueChange:function(Ho){to(ye(Ho,Sn,yr,-1),vi)}});Yi==="rtl"?ca=i.createElement(i.Fragment,null,Zo,gs&&os):ca=i.createElement(i.Fragment,null,os,gs&&Zo)}else ca=Qs();var qo=i.createElement(i.Fragment,null,i.createElement("div",{className:"".concat(br,"-panels")},ca),(ci||_i)&&i.createElement("div",{className:"".concat(br,"-footer")},ci,_i));return Oi&&(qo=Oi(qo)),i.createElement("div",{className:"".concat(br,"-panel-container"),style:{marginLeft:Eo},ref:Ba,onMouseDown:function(Ho){Ho.preventDefault()}},qo)}var Ms=i.createElement("div",{className:L()("".concat(br,"-range-wrapper"),"".concat(br,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Ns}},i.createElement("div",{className:"".concat(br,"-range-arrow"),style:ds}),hs()),Ro;ki&&(Ro=i.createElement("span",{className:"".concat(br,"-suffix")},ki));var As;fa&&(nr(Wa,0)&&!pa[0]||nr(Wa,1)&&!pa[1])&&(As=i.createElement("span",{onMouseDown:function(ci){ci.preventDefault(),ci.stopPropagation()},onMouseUp:function(ci){ci.preventDefault(),ci.stopPropagation();var _i=Wa;pa[0]||(_i=Bt(_i,null,0)),pa[1]||(_i=Bt(_i,null,1)),Za(_i,null),Go(!1,vi)},className:"".concat(br,"-clear")},Bi||i.createElement("span",{className:"".concat(br,"-clear-btn")})));var Bs={size:vt(Sn,ba[0])},ys=0,Fs=0;ra.current&&Qi.current&&Ya.current&&(vi===0?Fs=ra.current.offsetWidth:(ys=Qo,Fs=Qi.current.offsetWidth));var Hs=Yi==="rtl"?{right:ys}:{left:ys},bs=function(ci,_i){var Vn=Bt(Fi,ci,vi);_i==="submit"||_i!=="key"&&!la?Za(Vn,vi):$a(Vn)};return i.createElement(Q.Provider,{value:{operationRef:za,hideHeader:Sn==="time",onDateMouseEnter:Xn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},i.createElement(Qn,{visible:vo,popupElement:Ms,popupStyle:Zr,prefixCls:br,dropdownClassName:an,dropdownAlign:Ut,getPopupContainer:ir,transitionName:rt,range:!0,direction:Yi},i.createElement("div",Object.assign({ref:Ua,className:L()(br,"".concat(br,"-range"),$r,(Dt={},Object(P.a)(Dt,"".concat(br,"-disabled"),pa[0]&&pa[1]),Object(P.a)(Dt,"".concat(br,"-focused"),vi===0?Va:Ha),Object(P.a)(Dt,"".concat(br,"-rtl"),Yi==="rtl"),Dt)),style:Wr,onClick:Po,onMouseDown:Xo},Wt(Fe)),i.createElement("div",{className:L()("".concat(br,"-input"),(Gt={},Object(P.a)(Gt,"".concat(br,"-input-active"),vi===0),Object(P.a)(Gt,"".concat(br,"-input-placeholder"),!!Nt),Gt)),ref:ra},i.createElement("input",Object.assign({id:xr,disabled:pa[0],readOnly:hi||!Ao,value:Nt||rs,onChange:function(ci){ms(ci.target.value)},autoFocus:rn,placeholder:nr(Rr,0)||"",ref:zi},Sa,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-range-separator"),ref:Ya},Mn),i.createElement("div",{className:L()("".concat(br,"-input"),(tr={},Object(P.a)(tr,"".concat(br,"-input-active"),vi===1),Object(P.a)(tr,"".concat(br,"-input-placeholder"),!!ln),tr)),ref:Qi},i.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ci){Zs(ci.target.value)},placeholder:nr(Rr,1)||"",ref:Wi},Fo,Bs,{autoComplete:ua}))),i.createElement("div",{className:"".concat(br,"-active-bar"),style:Object(V.a)(Object(V.a)({},Hs),{},{width:Fs,position:"absolute"})}),Ro,As)))}var di=function(Fe){Object(M.a)(Gt,Fe);var Dt=Object(j.a)(Gt);function Gt(){var tr;return Object(R.a)(this,Gt),tr=Dt.apply(this,arguments),tr.pickerRef=i.createRef(),tr.focus=function(){tr.pickerRef.current&&tr.pickerRef.current.focus()},tr.blur=function(){tr.pickerRef.current&&tr.pickerRef.current.blur()},tr}return Object(U.a)(Gt,[{key:"render",value:function(){return i.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Gt}(i.Component),Da=di,Xi=Gn,ma=e("61s2");function _a(Fe,Dt,Gt){return Gt!==void 0?Gt:Fe==="year"&&Dt.lang.yearPlaceholder?Dt.lang.yearPlaceholder:Fe==="quarter"&&Dt.lang.quarterPlaceholder?Dt.lang.quarterPlaceholder:Fe==="month"&&Dt.lang.monthPlaceholder?Dt.lang.monthPlaceholder:Fe==="week"&&Dt.lang.weekPlaceholder?Dt.lang.weekPlaceholder:Fe==="time"&&Dt.timePickerLocale.placeholder?Dt.timePickerLocale.placeholder:Dt.lang.placeholder}function Xa(Fe,Dt,Gt){return Gt!==void 0?Gt:Fe==="year"&&Dt.lang.yearPlaceholder?Dt.lang.rangeYearPlaceholder:Fe==="month"&&Dt.lang.monthPlaceholder?Dt.lang.rangeMonthPlaceholder:Fe==="week"&&Dt.lang.weekPlaceholder?Dt.lang.rangeWeekPlaceholder:Fe==="time"&&Dt.timePickerLocale.placeholder?Dt.timePickerLocale.rangePlaceholder:Dt.lang.rangePlaceholder}var Vi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(Fe,Dt){var Gt={};for(var tr in Fe)Object.prototype.hasOwnProperty.call(Fe,tr)&&Dt.indexOf(tr)<0&&(Gt[tr]=Fe[tr]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tr=0,tr=Object.getOwnPropertySymbols(Fe);TrGe.length)&&(qe=Ge.length);for(var st=0,ft=new Array(qe);stit&&(de="bottom")}}xe!==null&&xe!==Ge.current.scrollTop&&me(xe)}lt.current=Object(o.a)(function(){qt&&se(),ur(Xt-1,de)})};Lt(3)}}}function X(Ge,qe,st,ft){var nt=st-Ge,se=qe-st,me=Math.min(nt,se)*2;if(ft<=me){var lt=Math.floor(ft/2);return ft%2?st+lt+1:st-lt}return nt>se?st-(ft-se):st+(ft-nt)}function pe(Ge,qe,st){var ft=Ge.length,nt=qe.length,se,me;if(ft===0&&nt===0)return null;ftGe.length)&&(qe=Ge.length);for(var st=0,ft=new Array(qe);stGe.length)&&(qe=Ge.length);for(var st=0,ft=new Array(qe);st=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ge,ft))continue;st[ft]=Ge[ft]}}return st}function It(Ge,qe){if(Ge==null)return{};var st={},ft=Object.keys(Ge),nt,se;for(se=0;se=0)continue;st[nt]=Ge[nt]}return st}var kt=[],Ht={overflowY:"auto",overflowAnchor:"none"};function Wt(Ge,qe){var st=Ge.prefixCls,ft=st===void 0?"rc-virtual-list":st,nt=Ge.className,se=Ge.height,me=Ge.itemHeight,lt=Ge.fullHeight,Pe=lt===void 0?!0:lt,St=Ge.style,Pr=Ge.data,Lt=Ge.children,ur=Ge.itemKey,Xt=Ge.virtual,Zt=Ge.component,mr=Zt===void 0?"div":Zt,qt=Ge.onScroll,de=ht(Ge,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),ue=Xt!==!1&&se&&me&&Pr&&me*Pr.length>se,oe=c.useState(0),ae=At(oe,2),ye=ae[0],Ce=ae[1],Oe=c.useState(!1),Ie=At(Oe,2),xe=Ie[0],Ue=Ie[1],it=g()(ft,nt),yt=Pr||kt,ee=Object(c.useRef)(),ie=c.useCallback(function(pr){return typeof ur=="function"?ur(pr):pr[ur]},[ur]),z={getKey:ie};function $(pr){Ce(function(Er){var Or;return typeof pr=="function"?Or=pr(Er):Or=pr,ee.current.scrollTop=Or,Or})}var le=Object(c.useRef)({start:0,end:yt.length}),ge=Object(c.useRef)(),Ae=wt(yt,ie),Re=At(Ae,1),Qe=Re[0];ge.current=Qe;var Ft=Z(ie,null,null),Qt=At(Ft,4),Et=Qt[0],Mt=Qt[1],_t=Qt[2],zt=Qt[3],Ct=c.useMemo(function(){if(!ue)return{scrollHeight:void 0,start:0,end:yt.length-1,offset:void 0};for(var pr=0,Er,Or,en,Qr=yt.length,Cr=0;Cr=ye&&Er===void 0&&(Er=Cr,Or=pr),fr>ye+se&&en===void 0&&(en=Cr),pr=fr}return Er===void 0&&(Er=0,Or=0),en===void 0&&(en=yt.length-1),en=Math.min(en+1,yt.length),{scrollHeight:pr,start:Er,end:en,offset:Or}},[ue,ye,yt,zt,se]),lr=Ct.scrollHeight,Jt=Ct.start,ke=Ct.end,et=Ct.offset;le.current.start=Jt,le.current.end=ke;var We=Y(lr,se);function Ke(pr){var Er=We(pr);Er!==ye&&$(Er)}function mt(pr){var Er=pr.currentTarget.scrollTop;Er!==ye&&$(Er),qt==null||qt(pr)}var dt=at(ue,function(pr){$(function(Er){var Or=We(Er+pr);return Or})}),He=At(dt,2),Ze=He[0],ct=He[1];c.useEffect(function(){return ee.current.addEventListener("wheel",Ze),ee.current.addEventListener("DOMMouseScroll",ct),function(){ee.current.removeEventListener("wheel",Ze),ee.current.removeEventListener("DOMMouseScroll",ct)}},[ue]);var Vt=Q(ee,yt,_t,me,ie,Mt,$);c.useImperativeHandle(qe,function(){return{scrollTo:Vt}});var Rt=w(yt,Jt,ke,Et,Lt,z),hr=null;return se&&(hr=bt(ut({},Pe?"height":"maxHeight",se),Ht),ue&&(hr.overflowY="hidden",xe&&(hr.pointerEvents="none"))),c.createElement("div",Object.assign({style:bt(bt({},St),{},{position:"relative"}),className:it},de),c.createElement(mr,{className:"".concat(ft,"-holder"),style:hr,ref:ee,onScroll:mt},c.createElement(r,{prefixCls:ft,height:lr,offset:et,onInnerResize:Mt},Rt)),ue&&c.createElement(L,{prefixCls:ft,scrollTop:ye,height:se,scrollHeight:lr,count:yt.length,onScroll:Ke,onStartMove:function(){Ue(!0)},onStopMove:function(){Ue(!1)}}))}var nr=c.forwardRef(Wt);nr.displayName="List";var Bt=nr,Kt=F.a=Bt},"+rIm":function(J,F,e){var c=e("bYtY"),E=c.retrieve,g=c.defaults,m=c.extend,A=c.each,b=e("7aKB"),f=e("IwbS"),i=e("Qxkt"),r=e("OELB"),o=r.isRadianAroundZero,s=r.remRadian,l=e("oVpE"),n=l.createSymbol,d=e("Fofx"),t=e("QBsz"),u=t.applyTransform,a=e("aX7z"),h=a.shouldShowAllLabels,v=Math.PI,y=function(P,V){this.opt=V,this.axisModel=P,g(V,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new f.Group;var H=new f.Group({position:V.position.slice(),rotation:V.rotation});H.updateTransform(),this._transform=H.transform,this._dumbGroup=H};y.prototype={constructor:y,hasBuilder:function(P){return!!O[P]},add:function(P){O[P].call(this)},getGroup:function(){return this.group}};var O={axisLine:function(){var P=this.opt,V=this.axisModel;if(!V.get("axisLine.show"))return;var H=this.axisModel.axis.getExtent(),k=this._transform,Z=[H[0],0],Y=[H[1],0];k&&(u(Z,Z,k),u(Y,Y,k));var _=m({lineCap:"round"},V.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new f.Line({anid:"line",subPixelOptimize:!0,shape:{x1:Z[0],y1:Z[1],x2:Y[0],y2:Y[1]},style:_,strokeContainThreshold:P.strokeContainThreshold||5,silent:!0,z2:1}));var Q=V.get("axisLine.symbol"),X=V.get("axisLine.symbolSize"),pe=V.get("axisLine.symbolOffset")||0;if(typeof pe=="number"&&(pe=[pe,pe]),Q!=null){typeof Q=="string"&&(Q=[Q,Q]),(typeof X=="string"||typeof X=="number")&&(X=[X,X]);var te=X[0],fe=X[1];A([{rotate:P.rotation+Math.PI/2,offset:pe[0],r:0},{rotate:P.rotation-Math.PI/2,offset:pe[1],r:Math.sqrt((Z[0]-Y[0])*(Z[0]-Y[0])+(Z[1]-Y[1])*(Z[1]-Y[1]))}],function(be,Se){if(Q[Se]!=="none"&&Q[Se]!=null){var ze=n(Q[Se],-te/2,-fe/2,te,fe,_.stroke,!0),Xe=be.r+be.offset,wt=[Z[0]+Xe*Math.cos(P.rotation),Z[1]-Xe*Math.sin(P.rotation)];ze.attr({rotation:be.rotate,position:wt,silent:!0,z2:11}),this.group.add(ze)}},this)}},axisTickLabel:function(){var P=this.axisModel,V=this.opt,H=R(this,P,V),k=M(this,P,V);w(P,k,H),U(this,P,V)},axisName:function(){var P=this.opt,V=this.axisModel,H=E(P.axisName,V.get("name"));if(!H)return;var k=V.get("nameLocation"),Z=P.nameDirection,Y=V.getModel("nameTextStyle"),_=V.get("nameGap")||0,Q=this.axisModel.axis.getExtent(),X=Q[0]>Q[1]?-1:1,pe=[k==="start"?Q[0]-X*_:k==="end"?Q[1]+X*_:(Q[0]+Q[1])/2,D(k)?P.labelOffset+Z*_:0],te,fe=V.get("nameRotate");fe!=null&&(fe=fe*v/180);var be;D(k)?te=x(P.rotation,fe!=null?fe:P.rotation,Z):(te=L(P,k,fe||0,Q),be=P.axisNameAvailableWidth,be!=null&&(be=Math.abs(be/Math.sin(te.rotation)),!isFinite(be)&&(be=null)));var Se=Y.getFont(),ze=V.get("nameTruncate",!0)||{},Xe=ze.ellipsis,wt=E(P.nameTruncateMaxWidth,ze.maxWidth,be),Be=Xe!=null&&wt!=null?b.truncateText(H,wt,Se,Xe,{minChar:2,placeholder:ze.placeholder}):H,Me=V.get("tooltip",!0),vt=V.mainType,at={componentType:vt,name:H,$vars:["name"]};at[vt+"Index"]=V.componentIndex;var $e=new f.Text({anid:"name",__fullText:H,__truncatedText:Be,position:pe,rotation:te.rotation,silent:T(V),z2:1,tooltip:Me&&Me.show?m({content:H,formatter:function(){return H},formatterParams:at},Me):null});f.setTextStyle($e.style,Y,{text:Be,textFont:Se,textFill:Y.getTextColor()||V.get("axisLine.lineStyle.color"),textAlign:Y.get("align")||te.textAlign,textVerticalAlign:Y.get("verticalAlign")||te.textVerticalAlign}),V.get("triggerEvent")&&($e.eventData=S(V),$e.eventData.targetType="axisName",$e.eventData.name=H),this._dumbGroup.add($e),$e.updateTransform(),this.group.add($e),$e.decomposeTransform()}},S=y.makeAxisEventDataBase=function(P){var V={componentType:P.mainType,componentIndex:P.componentIndex};return V[P.mainType+"Index"]=P.componentIndex,V},x=y.innerTextLayout=function(P,V,H){var k=s(V-P),Z,Y;return o(k)?(Y=H>0?"top":"bottom",Z="center"):o(k-v)?(Y=H>0?"bottom":"top",Z="center"):(Y="middle",k>0&&k0?"right":"left":Z=H>0?"left":"right"),{rotation:k,textAlign:Z,textVerticalAlign:Y}};function L(P,V,H,k){var Z=s(H-P.rotation),Y,_,Q=k[0]>k[1],X=V==="start"&&!Q||V!=="start"&&Q;return o(Z-v/2)?(_=X?"bottom":"top",Y="center"):o(Z-v*1.5)?(_=X?"top":"bottom",Y="center"):(_="middle",Zv/2?Y=X?"left":"right":Y=X?"right":"left"),{rotation:Z,textAlign:Y,textVerticalAlign:_}}var T=y.isLabelSilent=function(P){var V=P.get("tooltip");return P.get("silent")||!(P.get("triggerEvent")||V&&V.show)};function w(P,V,H){if(h(P.axis))return;var k=P.get("axisLabel.showMinLabel"),Z=P.get("axisLabel.showMaxLabel");V=V||[],H=H||[];var Y=V[0],_=V[1],Q=V[V.length-1],X=V[V.length-2],pe=H[0],te=H[1],fe=H[H.length-1],be=H[H.length-2];k===!1?(C(Y),C(pe)):N(Y,_)&&(k?(C(_),C(te)):(C(Y),C(pe))),Z===!1?(C(Q),C(fe)):N(X,Q)&&(Z?(C(X),C(be)):(C(Q),C(fe)))}function C(P){P&&(P.ignore=!0)}function N(P,V,H){var k=P&&P.getBoundingRect().clone(),Z=V&&V.getBoundingRect().clone();if(!k||!Z)return;var Y=d.identity([]);return d.rotate(Y,Y,-P.rotation),k.applyTransform(d.mul([],Y,P.getLocalTransform())),Z.applyTransform(d.mul([],Y,V.getLocalTransform())),k.intersect(Z)}function D(P){return P==="middle"||P==="center"}function B(P,V,H,k,Z){for(var Y=[],_=[],Q=[],X=0;Xt}function k(je){var De=je.length-1;return De<0&&(De=0),[je[0],je[De]]}function Z(je,De,ht,It){var kt=new A.Group;return kt.add(new A.Rect({name:"main",style:X(ht),silent:!0,draggable:!0,cursor:"move",drift:i(je,De,kt,"nswe"),ondragend:i(V,De,{isEnd:!0})})),r(It,function(Ht){kt.add(new A.Rect({name:Ht,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:i(je,De,kt,Ht),ondragend:i(V,De,{isEnd:!0})}))}),kt}function Y(je,De,ht,It){var kt=It.brushStyle.lineWidth||0,Ht=l(kt,u),Wt=ht[0][0],nr=ht[1][0],Bt=Wt-kt/2,Kt=nr-kt/2,Ge=ht[0][1],qe=ht[1][1],st=Ge-Ht+kt/2,ft=qe-Ht+kt/2,nt=Ge-Wt,se=qe-nr,me=nt+kt,lt=se+kt;Q(je,De,"main",Wt,nr,nt,se),It.transformable&&(Q(je,De,"w",Bt,Kt,Ht,lt),Q(je,De,"e",st,Kt,Ht,lt),Q(je,De,"n",Bt,Kt,me,Ht),Q(je,De,"s",Bt,ft,me,Ht),Q(je,De,"nw",Bt,Kt,Ht,Ht),Q(je,De,"ne",st,Kt,Ht,Ht),Q(je,De,"sw",Bt,ft,Ht,Ht),Q(je,De,"se",st,ft,Ht,Ht))}function _(je,De){var ht=De.__brushOption,It=ht.transformable,kt=De.childAt(0);kt.useStyle(X(ht)),kt.attr({silent:!It,cursor:It?"move":"default"}),r(["w","e","n","s","se","sw","ne","nw"],function(Ht){var Wt=De.childOfName(Ht),nr=fe(je,Ht);Wt&&Wt.attr({silent:!It,invisible:!It,cursor:It?v[nr]+"-resize":null})})}function Q(je,De,ht,It,kt,Ht,Wt){var nr=De.childOfName(ht);nr&&nr.setShape(wt(Xe(je,De,[[It,kt],[It+Ht,kt+Wt]])))}function X(je){return g.defaults({strokeNoScale:!0},je.brushStyle)}function pe(je,De,ht,It){var kt=[s(je,ht),s(De,It)],Ht=[l(je,ht),l(De,It)];return[[kt[0],Ht[0]],[kt[1],Ht[1]]]}function te(je){return A.getTransform(je.group)}function fe(je,De){if(De.length>1){De=De.split("");var ht=[fe(je,De[0]),fe(je,De[1])];return(ht[0]==="e"||ht[0]==="w")&&ht.reverse(),ht.join("")}else{var It={w:"left",e:"right",n:"top",s:"bottom"},kt={left:"w",right:"e",top:"n",bottom:"s"},ht=A.transformDirection(It[De],te(je));return kt[ht]}}function be(je,De,ht,It,kt,Ht,Wt,nr){var Bt=It.__brushOption,Kt=je(Bt.range),Ge=ze(ht,Ht,Wt);r(kt.split(""),function(qe){var st=h[qe];Kt[st[0]][st[1]]+=Ge[st[0]]}),Bt.range=De(pe(Kt[0][0],Kt[1][0],Kt[0][1],Kt[1][1])),R(ht,It),V(ht,{isEnd:!1})}function Se(je,De,ht,It,kt){var Ht=De.__brushOption.range,Wt=ze(je,ht,It);r(Ht,function(nr){nr[0]+=Wt[0],nr[1]+=Wt[1]}),R(je,De),V(je,{isEnd:!1})}function ze(je,De,ht){var It=je.group,kt=It.transformCoordToLocal(De,ht),Ht=It.transformCoordToLocal(0,0);return[kt[0]-Ht[0],kt[1]-Ht[1]]}function Xe(je,De,ht){var It=j(je,De);return It&&It!==!0?It.clipPath(ht,je._transform):g.clone(ht)}function wt(je){var De=s(je[0][0],je[1][0]),ht=s(je[0][1],je[1][1]),It=l(je[0][0],je[1][0]),kt=l(je[0][1],je[1][1]);return{x:De,y:ht,width:It-De,height:kt-ht}}function Be(je,De,ht){if(!je._brushType||At(je,De))return;var It=je._zr,kt=je._covers,Ht=M(je,De,ht);if(!je._dragging)for(var Wt=0;WtIt.getWidth()||ht<0||ht>It.getHeight()}var Ve={lineX:gt(0),lineY:gt(1),rect:{createCover:function(je,De){return Z(i(be,function(ht){return ht},function(ht){return ht}),je,De,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(je){var De=k(je);return pe(De[1][0],De[1][1],De[0][0],De[0][1])},updateCoverShape:function(je,De,ht,It){Y(je,De,ht,It)},updateCommon:_,contain:vt},polygon:{createCover:function(je,De){var ht=new A.Group;return ht.add(new A.Polyline({name:"main",style:X(De),silent:!0})),ht},getCreatingRange:function(je){return je},endCreating:function(je,De){De.remove(De.childAt(0)),De.add(new A.Polygon({name:"main",draggable:!0,drift:i(Se,je,De),ondragend:i(V,je,{isEnd:!0})}))},updateCoverShape:function(je,De,ht,It){De.childAt(0).setShape({points:Xe(je,De,ht)})},updateCommon:_,contain:vt}};function gt(je){return{createCover:function(De,ht){return Z(i(be,function(It){var kt=[It,[0,100]];return je&&kt.reverse(),kt},function(It){return It[je]}),De,ht,[["w","e"],["n","s"]][je])},getCreatingRange:function(De){var ht=k(De),It=s(ht[0][je],ht[1][je]),kt=l(ht[0][je],ht[1][je]);return[It,kt]},updateCoverShape:function(De,ht,It,kt){var Ht,Wt=j(De,ht);if(Wt!==!0&&Wt.getLinearBrushOtherExtent)Ht=Wt.getLinearBrushOtherExtent(je,De._transform);else{var nr=De._zr;Ht=[0,[nr.getWidth(),nr.getHeight()][1-je]]}var Bt=[It,Ht];je&&Bt.reverse(),Y(De,ht,Bt,kt)},updateCommon:_,contain:vt}}var Je=S;J.exports=Je},"/MfK":function(J,F,e){"use strict";var c=e("q1tI"),E={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"},g=E,m=e("6VBw"),A=function(i,r){return c.createElement(m.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="DeleteOutlined";var b=F.a=c.forwardRef(A)},"/SeX":function(J,F,e){var c=e("knOB"),E=e("qZFw"),g=function(A){this.name=A||"",this.cx=0,this.cy=0,this._radiusAxis=new c,this._angleAxis=new E,this._radiusAxis.polar=this._angleAxis.polar=this};g.prototype={type:"polar",axisPointerEnabled:!0,constructor:g,dimensions:["radius","angle"],model:null,containPoint:function(A){var b=this.pointToCoord(A);return this._radiusAxis.contain(b[0])&&this._angleAxis.contain(b[1])},containData:function(A){return this._radiusAxis.containData(A[0])&&this._angleAxis.containData(A[1])},getAxis:function(A){return this["_"+A+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(A){var b=[],f=this._angleAxis,i=this._radiusAxis;return f.scale.type===A&&b.push(f),i.scale.type===A&&b.push(i),b},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(A){var b=this._angleAxis;return A===b?this._radiusAxis:b},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(A){var b=A!=null&&A!=="auto"?this.getAxis(A):this.getBaseAxis();return{baseAxes:[b],otherAxes:[this.getOtherAxis(b)]}},dataToPoint:function(A,b){return this.coordToPoint([this._radiusAxis.dataToRadius(A[0],b),this._angleAxis.dataToAngle(A[1],b)])},pointToData:function(A,b){var f=this.pointToCoord(A);return[this._radiusAxis.radiusToData(f[0],b),this._angleAxis.angleToData(f[1],b)]},pointToCoord:function(A){var b=A[0]-this.cx,f=A[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),s=Math.max(r[0],r[1]);i.inverse?o=s-360:s=o+360;var l=Math.sqrt(b*b+f*f);b/=l,f/=l;for(var n=Math.atan2(-f,b)/Math.PI*180,d=ns;)n+=d*360;return[l,n]},coordToPoint:function(A){var b=A[0],f=A[1]/180*Math.PI,i=Math.cos(f)*b+this.cx,r=-Math.sin(f)*b+this.cy;return[i,r]},getArea:function(){var A=this.getAngleAxis(),b=this.getRadiusAxis(),f=b.getExtent().slice();f[0]>f[1]&&f.reverse();var i=A.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:f[0],r:f[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:A.inverse,contain:function(o,s){var l=o-this.cx,n=s-this.cy,d=l*l+n*n,t=this.r,u=this.r0;return d<=t*t&&d>=u*u}}}};var m=g;J.exports=m},"/WM3":function(J,F,e){var c=e("QuXc"),E=e("bYtY"),g=E.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(A,b){var f=A.getData(),i=(A.visualColorAccessPath||"itemStyle.color").split("."),r=A.get(i),o=g(r)&&!(r instanceof c)?r:null;(!r||o)&&(r=A.getColorFromPalette(A.name,null,b.getSeriesCount())),f.setVisual("color",r);var s=(A.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=A.get(s);if(f.setVisual("borderColor",l),!b.isSeriesFiltered(A)){o&&f.each(function(d){f.setItemVisual(d,"color",o(A.getDataParams(d)))});var n=function(d,t){var u=d.getItemModel(t),a=u.get(i,!0),h=u.get(s,!0);a!=null&&d.setItemVisual(t,"color",a),h!=null&&d.setItemVisual(t,"borderColor",h)};return{dataEach:f.hasItemOption?n:null}}}};J.exports=m},"/d5a":function(J,F){var e={average:function(g){for(var m=0,A=0,b=0;bm&&(m=g[A]);return isFinite(m)?m:NaN},min:function(g){for(var m=Infinity,A=0;A1){var t;typeof i=="string"?t=e[i]:typeof i=="function"&&(t=i),t&&m.setData(f.downSample(f.mapDimension(s.dim),1/d,t,c))}}}}}J.exports=E},"/ezw":function(J,F,e){"use strict";var c=e("lSNA"),E=e.n(c),g=e("pVnL"),m=e.n(g),A=e("cDf5"),b=e.n(A),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),o=function(H){var k=H.prefixCls,Z=H.className,Y=H.width,_=H.style;return f.createElement("h3",{className:r()(k,Z),style:m()({width:Y},_)})},s=o,l=e("RIqP"),n=e.n(l),d=function(H){var k=function(te){var fe=H.width,be=H.rows,Se=be===void 0?2:be;return Array.isArray(fe)?fe[te]:Se-1===te?fe:void 0},Z=H.prefixCls,Y=H.className,_=H.style,Q=H.rows,X=n()(Array(Q)).map(function(pe,te){return f.createElement("li",{key:te,style:{width:k(te)}})});return f.createElement("ul",{className:r()(Z,Y),style:_},X)},t=d,u=e("H84U"),a=function(H){var k,Z,Y=H.prefixCls,_=H.className,Q=H.style,X=H.size,pe=H.shape,te=r()((k={},E()(k,"".concat(Y,"-lg"),X==="large"),E()(k,"".concat(Y,"-sm"),X==="small"),k)),fe=r()((Z={},E()(Z,"".concat(Y,"-circle"),pe==="circle"),E()(Z,"".concat(Y,"-square"),pe==="square"),E()(Z,"".concat(Y,"-round"),pe==="round"),Z)),be=typeof X=="number"?{width:X,height:X,lineHeight:"".concat(X,"px")}:{};return f.createElement("span",{className:r()(Y,_,te,fe),style:m()(m()({},be),Q)})},h=a,v=e("BGR+"),y=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,pe=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),pe));return f.createElement("div",{className:be},f.createElement(h,m()({prefixCls:"".concat(te,"-avatar")},fe)))};return f.createElement(u.a,null,k)};y.defaultProps={size:"default",shape:"circle"};var O=y,S=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,pe=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),pe));return f.createElement("div",{className:be},f.createElement(h,m()({prefixCls:"".concat(te,"-button")},fe)))};return f.createElement(u.a,null,k)};S.defaultProps={size:"default"};var x=S,L=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,pe=H.active,te=_("skeleton",Q),fe=Object(v.default)(H,["prefixCls"]),be=r()(te,X,"".concat(te,"-element"),E()({},"".concat(te,"-active"),pe));return f.createElement("div",{className:be},f.createElement(h,m()({prefixCls:"".concat(te,"-input")},fe)))};return f.createElement(u.a,null,k)};L.defaultProps={size:"default"};var T=L,w="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",C=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=H.prefixCls,X=H.className,pe=H.style,te=_("skeleton",Q),fe=r()(te,X,"".concat(te,"-element"));return f.createElement("div",{className:fe},f.createElement("div",{className:r()("".concat(te,"-image"),X),style:pe},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(te,"-image-svg")},f.createElement("path",{d:w,className:"".concat(te,"-image-path")}))))};return f.createElement(u.a,null,k)},N=C;function D(V){return V&&b()(V)==="object"?V:{}}function B(V,H){return V&&!H?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(V,H){return!V&&H?{width:"38%"}:V&&H?{width:"50%"}:{}}function U(V,H){var k={};return(!V||!H)&&(k.width="61%"),!V&&H?k.rows=3:k.rows=2,k}var M=function(H){var k=function(Y){var _=Y.getPrefixCls,Q=Y.direction,X=H.prefixCls,pe=H.loading,te=H.className,fe=H.children,be=H.avatar,Se=H.title,ze=H.paragraph,Xe=H.active,wt=H.round,Be=_("skeleton",X);if(pe||!("loading"in H)){var Me,vt=!!be,at=!!Se,$e=!!ze,bt;if(vt){var ut=m()(m()({prefixCls:"".concat(Be,"-avatar")},B(at,$e)),D(be));bt=f.createElement("div",{className:"".concat(Be,"-header")},f.createElement(h,ut))}var At;if(at||$e){var Ve;if(at){var gt=m()(m()({prefixCls:"".concat(Be,"-title")},R(vt,$e)),D(Se));Ve=f.createElement(s,gt)}var Je;if($e){var je=m()(m()({prefixCls:"".concat(Be,"-paragraph")},U(vt,at)),D(ze));Je=f.createElement(t,je)}At=f.createElement("div",{className:"".concat(Be,"-content")},Ve,Je)}var De=r()(Be,te,(Me={},E()(Me,"".concat(Be,"-with-avatar"),vt),E()(Me,"".concat(Be,"-active"),Xe),E()(Me,"".concat(Be,"-rtl"),Q==="rtl"),E()(Me,"".concat(Be,"-round"),wt),Me));return f.createElement("div",{className:De},bt,At)}return fe};return f.createElement(u.a,null,k)};M.defaultProps={avatar:!1,title:!0,paragraph:!0},M.Button=x,M.Avatar=O,M.Input=T,M.Image=N;var j=M,P=F.a=j},"/iHx":function(J,F,e){var c=e("6GrX"),E=e("IwbS"),g=["textStyle","color"],m={getTextColor:function(A){var b=this.ecModel;return this.getShallow("color")||(!A&&b?b.get(g):null)},getFont:function(){return E.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(A){return c.getBoundingRect(A,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};J.exports=m},"/kpp":function(J,F,e){"use strict";var c=e("lSNA"),E=e.n(c),g=e("pVnL"),m=e.n(g),A=e("cDf5"),b=e.n(A),f=e("q1tI"),i=e.n(f),r=e("TSYQ"),o=e.n(r),s=e("o/2+"),l=e("H84U"),n=function(u,a){var h={};for(var v in u)Object.prototype.hasOwnProperty.call(u,v)&&a.indexOf(v)<0&&(h[v]=u[v]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,v=Object.getOwnPropertySymbols(u);y0?{paddingLeft:Z[0]/2,paddingRight:Z[0]/2}:{}),Z[1]>0?{paddingTop:Z[1]/2,paddingBottom:Z[1]/2}:{}),Y)),U&&(Y.flex=d(U)),f.createElement("div",m()({},j,{style:Y,className:H,ref:a}),R)})};return f.createElement(l.a,null,h)});t.displayName="Col",F.a=t},"/ry/":function(J,F,e){var c=e("bYtY"),E=e("T4UG"),g=e("5GhG"),m=g.seriesModelMixin,A=E.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}});c.mixin(A,m,!0);var b=A;J.exports=b},"/stD":function(J,F,e){var c=e("bYtY"),E=e("IUWy"),g=e("Kagy"),m=g.toolbox.brush;function A(i,r,o){this.model=i,this.ecModel=r,this.api=o,this._brushType,this._brushMode}A.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:c.clone(m.title)};var b=A.prototype;b.render=b.updateView=function(i,r,o){var s,l,n;r.eachComponent({mainType:"brush"},function(d){s=d.brushType,l=d.brushOption.brushMode||"single",n|=d.areas.length}),this._brushType=s,this._brushMode=l,c.each(i.get("type",!0),function(d){i.setIconStatus(d,(d==="keep"?l==="multiple":d==="clear"?n:d===s)?"emphasis":"normal")})},b.getIcons=function(){var i=this.model,r=i.get("icon",!0),o={};return c.each(i.get("type",!0),function(s){r[s]&&(o[s]=r[s])}),o},b.onclick=function(i,r,o){var s=this._brushType,l=this._brushMode;o==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:o==="keep"?s:s===o?!1:o,brushMode:o==="keep"?l==="multiple"?"single":"multiple":l}})},E.register("brush",A);var f=A;J.exports=f},"/wGt":function(J,F,e){"use strict";var c=e("lSNA"),E=e.n(c),g=e("pVnL"),m=e.n(g),A=e("lwsE"),b=e.n(A),f=e("W8MJ"),i=e.n(f),r=e("PJYZ"),o=e.n(r),s=e("7W2i"),l=e.n(s),n=e("LQ03"),d=e.n(n),t=e("q1tI"),u=e("Ff2n"),a=e("1OyB"),h=e("vuIU"),v=e("Ji7U"),y=e("md7G"),O=e("foSv"),S=e("1W/9"),x=e("rePB"),L=e("JX7q"),T=e("TSYQ"),w=e.n(T),C=e("qx4F"),N=e("4IlW");function D(Ve){return Array.isArray(Ve)?Ve:[Ve]}var B={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(B).filter(function(Ve){if(typeof document=="undefined")return!1;var gt=document.getElementsByTagName("html")[0];return Ve in(gt?gt.style:{})})[0],U=B[R];function M(Ve,gt,Je,je){Ve.addEventListener?Ve.addEventListener(gt,Je,je):Ve.attachEvent&&Ve.attachEvent("on".concat(gt),Je)}function j(Ve,gt,Je,je){Ve.removeEventListener?Ve.removeEventListener(gt,Je,je):Ve.attachEvent&&Ve.detachEvent("on".concat(gt),Je)}function P(Ve,gt){var Je=typeof Ve=="function"?Ve(gt):Ve;return Array.isArray(Je)?Je.length===2?Je:[Je[0],Je[1]]:[Je]}var V=function(gt){return!isNaN(parseFloat(gt))&&isFinite(gt)},H=!(typeof window!="undefined"&&window.document&&window.document.createElement),k=function Ve(gt,Je,je,De){if(!Je||Je===document||Je instanceof Document)return!1;if(Je===gt.parentNode)return!0;var ht=Math.max(Math.abs(je),Math.abs(De))===Math.abs(De),It=Math.max(Math.abs(je),Math.abs(De))===Math.abs(je),kt=Je.scrollHeight-Je.clientHeight,Ht=Je.scrollWidth-Je.clientWidth,Wt=document.defaultView.getComputedStyle(Je),nr=Wt.overflowY==="auto"||Wt.overflowY==="scroll",Bt=Wt.overflowX==="auto"||Wt.overflowX==="scroll",Kt=kt&&nr,Ge=Ht&&Bt;return ht&&(!Kt||Kt&&(Je.scrollTop>=kt&&De<0||Je.scrollTop<=0&&De>0))||It&&(!Ge||Ge&&(Je.scrollLeft>=Ht&&je<0||Je.scrollLeft<=0&&je>0))?Ve(gt,Je.parentNode,je,De):!1};function Z(Ve){var gt=Y();return function(){var je=Object(O.a)(Ve),De;if(gt){var ht=Object(O.a)(this).constructor;De=Reflect.construct(je,arguments,ht)}else De=je.apply(this,arguments);return Object(y.a)(this,De)}}function Y(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ve){return!1}}var _={},Q=function(Ve){Object(v.a)(Je,Ve);var gt=Z(Je);function Je(je){var De;return Object(a.a)(this,Je),De=gt.call(this,je),De.domFocus=function(){De.dom&&De.dom.focus()},De.removeStartHandler=function(ht){if(ht.touches.length>1)return;De.startPos={x:ht.touches[0].clientX,y:ht.touches[0].clientY}},De.removeMoveHandler=function(ht){if(ht.changedTouches.length>1)return;var It=ht.currentTarget,kt=ht.changedTouches[0].clientX-De.startPos.x,Ht=ht.changedTouches[0].clientY-De.startPos.y;(It===De.maskDom||It===De.handlerDom||It===De.contentDom&&k(It,ht.target,kt,Ht))&&ht.cancelable&&ht.preventDefault()},De.transitionEnd=function(ht){var It=ht.target;j(It,U,De.transitionEnd),It.style.transition=""},De.onKeyDown=function(ht){if(ht.keyCode===N.a.ESC){var It=De.props.onClose;ht.stopPropagation(),It&&It(ht)}},De.onWrapperTransitionEnd=function(ht){var It=De.props,kt=It.open,Ht=It.afterVisibleChange;ht.target===De.contentWrapper&&ht.propertyName.match(/transform$/)&&(De.dom.style.transition="",!kt&&De.getCurrentDrawerSome()&&(document.body.style.overflowX="",De.maskDom&&(De.maskDom.style.left="",De.maskDom.style.width="")),Ht&&Ht(!!kt))},De.openLevelTransition=function(){var ht=De.props,It=ht.open,kt=ht.width,Ht=ht.height,Wt=De.getHorizontalBoolAndPlacementName(),nr=Wt.isHorizontal,Bt=Wt.placementName,Kt=De.contentDom?De.contentDom.getBoundingClientRect()[nr?"width":"height"]:0,Ge=(nr?kt:Ht)||Kt;De.setLevelAndScrolling(It,Bt,Ge)},De.setLevelTransform=function(ht,It,kt,Ht){var Wt=De.props,nr=Wt.placement,Bt=Wt.levelMove,Kt=Wt.duration,Ge=Wt.ease,qe=Wt.showMask;De.levelDom.forEach(function(st){st.style.transition="transform ".concat(Kt," ").concat(Ge),M(st,U,De.transitionEnd);var ft=ht?kt:0;if(Bt){var nt=P(Bt,{target:st,open:ht});ft=ht?nt[0]:nt[1]||0}var se=typeof ft=="number"?"".concat(ft,"px"):ft,me=nr==="left"||nr==="top"?se:"-".concat(se);me=qe&&nr==="right"&&Ht?"calc(".concat(me," + ").concat(Ht,"px)"):me,st.style.transform=ft?"".concat(It,"(").concat(me,")"):""})},De.setLevelAndScrolling=function(ht,It,kt){var Ht=De.props.onChange;if(!H){var Wt=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;De.setLevelTransform(ht,It,kt,Wt),De.toggleScrollingToDrawerAndBody(Wt)}Ht&&Ht(ht)},De.toggleScrollingToDrawerAndBody=function(ht){var It=De.props,kt=It.getOpenCount,Ht=It.getContainer,Wt=It.showMask,nr=It.open,Bt=Ht&&Ht(),Kt=kt&&kt();if(Bt&&Bt.parentNode===document.body&&Wt){var Ge=["touchstart"],qe=[document.body,De.maskDom,De.handlerDom,De.contentDom];nr&&document.body.style.overflow!=="hidden"?(ht&&De.addScrollingEffect(ht),Kt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",qe.forEach(function(st,ft){if(!st)return;M(st,Ge[ft]||"touchmove",ft?De.removeMoveHandler:De.removeStartHandler,De.passive)})):De.getCurrentDrawerSome()&&(Kt||(document.body.style.overflow=""),document.body.style.touchAction="",ht&&De.remScrollingEffect(ht),qe.forEach(function(st,ft){if(!st)return;j(st,Ge[ft]||"touchmove",ft?De.removeMoveHandler:De.removeStartHandler,De.passive)}))}},De.addScrollingEffect=function(ht){var It=De.props,kt=It.placement,Ht=It.duration,Wt=It.ease,nr=It.getOpenCount,Bt=It.switchScrollingEffect,Kt=nr&&nr();Kt===1&&Bt();var Ge="width ".concat(Ht," ").concat(Wt),qe="transform ".concat(Ht," ").concat(Wt);De.dom.style.transition="none";switch(kt){case"right":De.dom.style.transform="translateX(-".concat(ht,"px)");break;case"top":case"bottom":De.dom.style.width="calc(100% - ".concat(ht,"px)"),De.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(De.timeout),De.timeout=setTimeout(function(){De.dom&&(De.dom.style.transition="".concat(qe,",").concat(Ge),De.dom.style.width="",De.dom.style.transform="")})},De.remScrollingEffect=function(ht){var It=De.props,kt=It.placement,Ht=It.duration,Wt=It.ease,nr=It.getOpenCount,Bt=It.switchScrollingEffect,Kt=nr&&nr();Kt||Bt(!0),R&&(document.body.style.overflowX="hidden"),De.dom.style.transition="none";var Ge,qe="width ".concat(Ht," ").concat(Wt),st="transform ".concat(Ht," ").concat(Wt);switch(kt){case"left":{De.dom.style.width="100%",qe="width 0s ".concat(Wt," ").concat(Ht);break}case"right":{De.dom.style.transform="translateX(".concat(ht,"px)"),De.dom.style.width="100%",qe="width 0s ".concat(Wt," ").concat(Ht),De.maskDom&&(De.maskDom.style.left="-".concat(ht,"px"),De.maskDom.style.width="calc(100% + ".concat(ht,"px)"));break}case"top":case"bottom":{De.dom.style.width="calc(100% + ".concat(ht,"px)"),De.dom.style.height="100%",De.dom.style.transform="translateZ(0)",Ge="height 0s ".concat(Wt," ").concat(Ht);break}default:break}clearTimeout(De.timeout),De.timeout=setTimeout(function(){De.dom&&(De.dom.style.transition="".concat(st,",").concat(Ge?"".concat(Ge,","):"").concat(qe),De.dom.style.transform="",De.dom.style.width="",De.dom.style.height="")})},De.getCurrentDrawerSome=function(){return!Object.keys(_).some(function(ht){return _[ht]})},De.getLevelDom=function(ht){var It=ht.level,kt=ht.getContainer;if(H)return;var Ht=kt&&kt(),Wt=Ht?Ht.parentNode:null;if(De.levelDom=[],It==="all"){var nr=Wt?Array.prototype.slice.call(Wt.children):[];nr.forEach(function(Bt){Bt.nodeName!=="SCRIPT"&&Bt.nodeName!=="STYLE"&&Bt.nodeName!=="LINK"&&Bt!==Ht&&De.levelDom.push(Bt)})}else It&&D(It).forEach(function(Bt){document.querySelectorAll(Bt).forEach(function(Kt){De.levelDom.push(Kt)})})},De.getHorizontalBoolAndPlacementName=function(){var ht=De.props.placement,It=ht==="left"||ht==="right",kt="translate".concat(It?"X":"Y");return{isHorizontal:It,placementName:kt}},De.state={_self:Object(L.a)(De)},De}return Object(h.a)(Je,[{key:"componentDidMount",value:function(){var De=this;if(!H){var ht=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ht=!0,null}}))}catch(nr){}this.passive=ht?{passive:!1}:!1}var It=this.props,kt=It.open,Ht=It.getContainer,Wt=Ht&&Ht();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),kt&&(Wt&&Wt.parentNode===document.body&&(_[this.drawerId]=kt),this.openLevelTransition(),this.forceUpdate(function(){De.domFocus()}))}},{key:"componentDidUpdate",value:function(De){var ht=this.props,It=ht.open,kt=ht.getContainer,Ht=kt&&kt();It!==De.open&&(It&&this.domFocus(),Ht&&Ht.parentNode===document.body&&(_[this.drawerId]=!!It),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var De=this.props,ht=De.getOpenCount,It=De.open,kt=De.switchScrollingEffect,Ht=typeof ht=="function"&&ht();delete _[this.drawerId],It&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ht||(document.body.style.overflow="",kt(!0))}},{key:"render",value:function(){var De,ht=this,It=this.props,kt=It.className,Ht=It.children,Wt=It.style,nr=It.width,Bt=It.height,Kt=It.defaultOpen,Ge=It.open,qe=It.prefixCls,st=It.placement,ft=It.level,nt=It.levelMove,se=It.ease,me=It.duration,lt=It.getContainer,Pe=It.handler,St=It.onChange,Pr=It.afterVisibleChange,Lt=It.showMask,ur=It.maskClosable,Xt=It.maskStyle,Zt=It.onClose,mr=It.onHandleClick,qt=It.keyboard,de=It.getOpenCount,ue=It.switchScrollingEffect,oe=Object(u.a)(It,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),ae=this.dom?Ge:!1,ye=w()(qe,(De={},Object(x.a)(De,"".concat(qe,"-").concat(st),!0),Object(x.a)(De,"".concat(qe,"-open"),ae),Object(x.a)(De,kt||"",!!kt),Object(x.a)(De,"no-mask",!Lt),De)),Ce=this.getHorizontalBoolAndPlacementName(),Oe=Ce.placementName,Ie=st==="left"||st==="top"?"-100%":"100%",xe=ae?"":"".concat(Oe,"(").concat(Ie,")"),Ue=Pe&&t.cloneElement(Pe,{onClick:function(yt){Pe.props.onClick&&Pe.props.onClick(),mr&&mr(yt)},ref:function(yt){ht.handlerDom=yt}});return t.createElement("div",Object.assign({},oe,{tabIndex:-1,className:ye,style:Wt,ref:function(yt){ht.dom=yt},onKeyDown:ae&&qt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),Lt&&t.createElement("div",{className:"".concat(qe,"-mask"),onClick:ur?Zt:void 0,style:Xt,ref:function(yt){ht.maskDom=yt}}),t.createElement("div",{className:"".concat(qe,"-content-wrapper"),style:{transform:xe,msTransform:xe,width:V(nr)?"".concat(nr,"px"):nr,height:V(Bt)?"".concat(Bt,"px"):Bt},ref:function(yt){ht.contentWrapper=yt}},t.createElement("div",{className:"".concat(qe,"-content"),ref:function(yt){ht.contentDom=yt},onTouchStart:ae&&Lt?this.removeStartHandler:void 0,onTouchMove:ae&&Lt?this.removeMoveHandler:void 0},Ht),Ue))}}],[{key:"getDerivedStateFromProps",value:function(De,ht){var It=ht.prevProps,kt=ht._self,Ht={prevProps:De};if(It!==void 0){var Wt=De.placement,nr=De.level;Wt!==It.placement&&(kt.contentDom=null),nr!==It.level&&kt.getLevelDom(De)}return Ht}}]),Je}(t.Component);Q.defaultProps={switchScrollingEffect:function(){}};var X=Q;function pe(Ve){var gt=te();return function(){var je=Object(O.a)(Ve),De;if(gt){var ht=Object(O.a)(this).constructor;De=Reflect.construct(je,arguments,ht)}else De=je.apply(this,arguments);return Object(y.a)(this,De)}}function te(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ve){return!1}}var fe=function(Ve){Object(v.a)(Je,Ve);var gt=pe(Je);function Je(je){var De;Object(a.a)(this,Je),De=gt.call(this,je),De.onHandleClick=function(It){var kt=De.props,Ht=kt.onHandleClick,Wt=kt.open;if(Ht&&Ht(It),typeof Wt=="undefined"){var nr=De.state.open;De.setState({open:!nr})}},De.onClose=function(It){var kt=De.props,Ht=kt.onClose,Wt=kt.open;Ht&&Ht(It),typeof Wt=="undefined"&&De.setState({open:!1})};var ht=typeof je.open!="undefined"?je.open:!!je.defaultOpen;return De.state={open:ht},"onMaskClick"in je&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),De}return Object(h.a)(Je,[{key:"render",value:function(){var De=this,ht=this.props,It=ht.defaultOpen,kt=ht.getContainer,Ht=ht.wrapperClassName,Wt=ht.forceRender,nr=ht.handler,Bt=Object(u.a)(ht,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),Kt=this.state.open;if(!kt)return t.createElement("div",{className:Ht,ref:function(st){De.dom=st}},t.createElement(X,Object.assign({},Bt,{open:Kt,handler:nr,getContainer:function(){return De.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ge=!!nr||Wt;return t.createElement(S.a,{visible:Kt,forceRender:Ge,getContainer:kt,wrapperClassName:Ht},function(qe){var st=qe.visible,ft=qe.afterClose,nt=Object(u.a)(qe,["visible","afterClose"]);return t.createElement(X,Object.assign({},Bt,nt,{open:st!==void 0?st:Kt,afterVisibleChange:ft!==void 0?ft:Bt.afterVisibleChange,handler:nr,onClose:De.onClose,onHandleClick:De.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(De,ht){var It=ht.prevProps,kt={prevProps:De};return typeof It!="undefined"&&De.open!==It.open&&(kt.open=De.open),kt}}]),Je}(t.Component);fe.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var be=fe,Se=be,ze=e("V/uB"),Xe=e.n(ze),wt=e("BGR+"),Be=e("H84U"),Me=e("CWQg"),vt=function(Ve,gt){var Je={};for(var je in Ve)Object.prototype.hasOwnProperty.call(Ve,je)&>.indexOf(je)<0&&(Je[je]=Ve[je]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,je=Object.getOwnPropertySymbols(Ve);De=0&&E.each(O,function(S){t.setIconStatus(S,"normal")})}),t.setIconStatus(d,"emphasis"),l.eachComponent({mainType:"series",query:u==null?null:{seriesIndex:u}},h);var v;if(d==="stack"){var y=a.series&&a.series[0]&&a.series[0].stack===b;v=y?E.merge({stack:A.title.tiled},A.title):E.clone(A.title)}n.dispatchAction({type:"changeMagicType",currentType:d,newOption:a,newTitle:v,featureName:"magicType"})},c.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(l,n){n.mergeOption(l.newOption)}),m.register("magicType",f);var s=f;J.exports=s},"06Qe":function(J,F,e){var c=e("ItGF"),E="urn:schemas-microsoft-com:vml",g=typeof window=="undefined"?null:window,m=!1,A=g&&g.document;function b(r){return f(r)}var f;if(A&&!c.canvasSupported)try{!A.namespaces.zrvml&&A.namespaces.add("zrvml",E),f=function(o){return A.createElement("')}}catch(r){f=function(s){return A.createElement("<"+s+' xmlns="'+E+'" class="zrvml">')}}function i(){if(m||!A)return;m=!0;var r=A.styleSheets;r.length<31?A.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):r[0].addRule(".zrvml","behavior:url(#default#VML)")}F.doc=A,F.createNode=b,F.initVML=i},"09Wf":function(J,F,e){"use strict";e.d(F,"b",function(){return E}),e.d(F,"a",function(){return g});var c=e("CWQg"),E=Object(c.a)("success","processing","error","default","warning"),g=Object(c.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(J,F,e){var c=e("T4UG"),E=e("I3/A"),g=e("7aKB"),m=g.encodeHTML,A=e("Qxkt"),b=e("Tghj"),f=b.__DEV__,i=c.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(o,s){for(var l=o.edges||o.links,n=o.data||o.nodes,d=o.levels,t=this.levelModels={},u=0;u=0&&(t[d[u].depth]=new A(d[u],this,s));if(n&&l){var a=E(n,l,this,!0,h);return a.data}function h(v,y){v.wrapMethod("getItemModel",function(O,S){return O.customizeGetParent(function(x){var L=this.parentModel,T=L.getData().getItemLayout(S).depth,w=L.levelModels[T];return w||this.parentModel}),O}),y.wrapMethod("getItemModel",function(O,S){return O.customizeGetParent(function(x){var L=this.parentModel,T=L.getGraph().getEdgeByIndex(S),w=T.node1.getLayout().depth,C=L.levelModels[w];return C||this.parentModel}),O})}},setNodePosition:function(o,s){var l=this.option.data[o];l.localX=s[0],l.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(o,s,l){if(l==="edge"){var n=this.getDataParams(o,l),d=n.data,t=d.source+" -- "+d.target;return n.value&&(t+=" : "+n.value),m(t)}else if(l==="node"){var u=this.getGraph().getNodeByIndex(o),a=u.getLayout().value,h=this.getDataParams(o,l).data.name;if(a)var t=h+" : "+a;return m(t)}return i.superCall(this,"formatTooltip",o,s)},optionUpdated:function(){var o=this.option;o.focusNodeAdjacency===!0&&(o.focusNodeAdjacency="allEdges")},getDataParams:function(o,s){var l=i.superCall(this,"getDataParams",o,s);if(l.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(o),d=n.getLayout().value;l.value=d}return l},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}}),r=i;J.exports=r},"0Cz8":function(J,F,e){var c=e("Xi7e"),E=e("ebwN"),g=e("e4Nc"),m=200;function A(b,f){var i=this.__data__;if(i instanceof c){var r=i.__data__;if(!E||r.length=l.start.time&&s.timed.end.time&&r.reverse(),r},_getRangeInfo:function(r){r=[this.getDateInfo(r[0]),this.getDateInfo(r[1])];var o;r[0].time>r[1].time&&(o=!0,r.reverse());var s=Math.floor(r[1].time/A)-Math.floor(r[0].time/A)+1,l=new Date(r[0].time),n=l.getDate(),d=r[1].date.getDate();l.setDate(n+s-1);var t=l.getDate();if(t!==d)for(var u=l.getTime()-r[1].time>0?1:-1;(t=l.getDate())!==d&&(l.getTime()-r[1].time)*u>0;)s-=u,l.setDate(t-u);var a=Math.floor((s+r[0].day+6)/7),h=o?-a+1:a-1;return o&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:s,weeks:a,nthWeek:h,fweek:r[0].day,lweek:r[1].day}},_getDateByWeeksAndDay:function(r,o,s){var l=this._getRangeInfo(s);if(r>l.weeks||r===0&&ol.lweek)return!1;var n=(r-1)*7-l.fweek+o,d=new Date(l.start.time);return d.setDate(l.start.d+n),this.getDateInfo(d)}},b.dimensions=b.prototype.dimensions,b.getDimensionsInfo=b.prototype.getDimensionsInfo,b.create=function(r,o){var s=[];return r.eachComponent("calendar",function(l){var n=new b(l,r,o);s.push(n),l.coordinateSystem=n}),r.eachSeries(function(l){l.get("coordinateSystem")==="calendar"&&(l.coordinateSystem=s[l.get("calendarIndex")||0])}),s};function f(r,o,s,l){var n=s.calendarModel,d=s.seriesModel,t=n?n.coordinateSystem:d?d.coordinateSystem:null;return t===this?t[r](l):null}m.register("calendar",b);var i=b;J.exports=i},"0JQy":function(J,F){var e="\\ud800-\\udfff",c="\\u0300-\\u036f",E="\\ufe20-\\ufe2f",g="\\u20d0-\\u20ff",m=c+E+g,A="\\ufe0e\\ufe0f",b="["+e+"]",f="["+m+"]",i="\\ud83c[\\udffb-\\udfff]",r="(?:"+f+"|"+i+")",o="[^"+e+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",d=r+"?",t="["+A+"]?",u="(?:"+n+"(?:"+[o,s,l].join("|")+")"+t+d+")*",a=t+d+u,h="(?:"+[o+f+"?",f,s,l,b].join("|")+")",v=RegExp(i+"(?="+i+")|"+h+a,"g");function y(O){return O.match(v)||[]}J.exports=y},"0NbB":function(J,F,e){"use strict";var c=e("q1tI"),E={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"},g=E,m=e("6VBw"),A=function(i,r){return c.createElement(m.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CaretDownOutlined";var b=F.a=c.forwardRef(A)},"0V0F":function(J,F,e){var c=e("bYtY"),E=c.createHashMap,g=c.each;function m(b){var f=E();b.eachSeries(function(i){var r=i.get("stack");if(r){var o=f.get(r)||f.set(r,[]),s=i.getData(),l={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:i};if(!l.stackedDimension||!(l.isStackedByIndex||l.stackedByDimension))return;o.length&&s.setCalculationInfo("stackedOnSeries",o[o.length-1].seriesModel),o.push(l)}}),f.each(A)}function A(b){g(b,function(f,i){var r=[],o=[NaN,NaN],s=[f.stackResultDimension,f.stackedOverDimension],l=f.data,n=f.isStackedByIndex,d=l.map(s,function(t,u,a){var h=l.get(f.stackedDimension,a);if(isNaN(h))return o;var v,y;n?y=l.getRawIndex(a):v=l.get(f.stackedByDimension,a);for(var O=NaN,S=i-1;S>=0;S--){var x=b[S];if(n||(y=x.data.rawIndexOf(x.stackedByDimension,v)),y>=0){var L=x.data.getByRawIndex(x.stackResultDimension,y);if(h>=0&&L>0||h<=0&&L<0){h+=L,O=L;break}}}return r[0]=h,r[1]=O,r});l.hostModel.setData(d),f.data=d})}J.exports=m},"0XgM":function(J,F,e){},"0fbx":function(J,F,e){},"0o9m":function(J,F,e){var c=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var E=e("kDyi"),g=e("bLfw");c.registerProcessor(c.PRIORITY.PROCESSOR.SERIES_FILTER,E),g.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(J,F,e){var c=e("ProS");c.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),c.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(J,F){var e=arguments[3],c=arguments[4],E=arguments[5],g=JSON.stringify;J.exports=function(m,A){for(var b,f=Object.keys(E),i=0,r=f.length;i=0;S--){var x;if(y[S]!==v&&!y[S].ignore&&(x=n(y[S],a,h))&&(!O.topTarget&&(O.topTarget=y[S]),x!==f)){O.target=y[S];break}}return O},processGesture:function(a,h){this._gestureMgr||(this._gestureMgr=new b);var v=this._gestureMgr;h==="start"&&v.clear();var y=v.recognize(a,this.findHover(a.zrX,a.zrY,null).target,this.proxy.dom);if(h==="end"&&v.clear(),y){var O=y.type;a.gestureEvent=O,this.dispatchToElement({target:y.target},O,y.event)}}},c.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(u){l.prototype[u]=function(a){var h=a.zrX,v=a.zrY,y=d(this,h,v),O,S;if((u!=="mouseup"||!y)&&(O=this.findHover(h,v),S=O.target),u==="mousedown")this._downEl=S,this._downPoint=[a.zrX,a.zrY],this._upEl=S;else if(u==="mouseup")this._upEl=S;else if(u==="click"){if(this._downEl!==this._upEl||!this._downPoint||E.dist(this._downPoint,[a.zrX,a.zrY])>4)return;this._downPoint=null}this.dispatchToElement(O,u,a)}});function n(u,a,h){if(u[u.rectHover?"rectContain":"contain"](a,h)){for(var v=u,y;v;){if(v.clipPath&&!v.clipPath.contain(a,h))return!1;v.silent&&(y=!0),v=v.parent}return y?f:!0}return!1}function d(u,a,h){var v=u.painter;return a<0||a>v.getWidth()||h<0||h>v.getHeight()}c.mixin(l,m),c.mixin(l,g);var t=l;J.exports=t},"0ycA":function(J,F){function e(){return[]}J.exports=e},"10cm":function(J,F,e){var c=e("ProS"),E=e("2B6p"),g=E.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};c.registerAction(m,function(A,b){b.eachComponent({mainType:"series",query:A},function(f){var i=f.coordinateSystem,r=g(i,A);f.setCenter&&f.setCenter(r.center),f.setZoom&&f.setZoom(r.zoom)})})},"14J3":function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("1GLa")},"15/o":function(J,F,e){},"19Vz":function(J,F,e){(function(c){c(e("VrN/"))})(function(c){c.defineOption("placeholder","",function(i,r,o){var s=o&&o!=c.Init;if(r&&!s)i.on("blur",A),i.on("change",b),i.on("swapDoc",b),c.on(i.getInputField(),"compositionupdate",i.state.placeholderCompose=function(){m(i)}),b(i);else if(!r&&s){i.off("blur",A),i.off("change",b),i.off("swapDoc",b),c.off(i.getInputField(),"compositionupdate",i.state.placeholderCompose),E(i);var l=i.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}r&&!i.hasFocus()&&A(i)});function E(i){i.state.placeholder&&(i.state.placeholder.parentNode.removeChild(i.state.placeholder),i.state.placeholder=null)}function g(i){E(i);var r=i.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=i.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var o=i.getOption("placeholder");typeof o=="string"&&(o=document.createTextNode(o)),r.appendChild(o),i.display.lineSpace.insertBefore(r,i.display.lineSpace.firstChild)}function m(i){setTimeout(function(){var r=!1,o=i.getInputField();o.nodeName=="TEXTAREA"?r=!o.value:i.lineCount()==1&&(r=!/[^\u200b]/.test(o.querySelector(".CodeMirror-line").textContent)),r?g(i):E(i)},20)}function A(i){f(i)&&g(i)}function b(i){var r=i.getWrapperElement(),o=f(i);r.className=r.className.replace(" CodeMirror-empty","")+(o?" CodeMirror-empty":""),o?g(i):E(i)}function f(i){return i.lineCount()===1&&i.getLine(0)===""}})},"1GLa":function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("FIfw"),m=e.n(g)},"1Jh7":function(J,F,e){var c=e("y+Vt"),E=e("T6xi"),g=c.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(A,b){E.buildPath(A,b,!1)}});J.exports=g},"1LEl":function(J,F,e){var c=e("ProS"),E=e("F9bG"),g=c.extendComponentView({type:"axisPointer",render:function(A,b,f){var i=b.getComponent("tooltip"),r=A.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";E.register("axisPointer",f,function(o,s,l){r!=="none"&&(o==="leave"||r.indexOf(o)>=0)&&l({type:"updateAxisPointer",currTrigger:o,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(A,b){E.unregister(b.getZr(),"axisPointer"),g.superApply(this._model,"remove",arguments)},dispose:function(A,b){E.unregister("axisPointer",b),g.superApply(this._model,"dispose",arguments)}}),m=g;J.exports=m},"1MYJ":function(J,F,e){var c=e("y+Vt"),E=c.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,A=this.shape.paths,b=0;b=S||B<0)break;if(s(U)){if(N){B+=x;continue}break}if(B===y)h[x>0?"moveTo":"lineTo"](U[0],U[1]);else if(w>0){var M=v[D],j=C==="y"?1:0,P=(U[j]-M[j])*w;f(r,M),r[j]=M[j]+P,f(o,U),o[j]=U[j]-P,h.bezierCurveTo(r[0],r[1],o[0],o[1],U[0],U[1])}else h.lineTo(U[0],U[1]);D=B,B+=x}return R}function d(h,v,y,O,S,x,L,T,w,C,N){for(var D=0,B=y,R=0;R=S||B<0)break;if(s(U)){if(N){B+=x;continue}break}if(B===y)h[x>0?"moveTo":"lineTo"](U[0],U[1]),f(r,U);else if(w>0){var M=B+x,j=v[M];if(N)for(;j&&s(v[M]);)M+=x,j=v[M];var P=.5,V=v[D],j=v[M];if(!j||s(j))f(o,U);else{s(j)&&!N&&(j=U),E.sub(i,j,V);var H,k;if(C==="x"||C==="y"){var Z=C==="x"?0:1;H=Math.abs(U[Z]-V[Z]),k=Math.abs(U[Z]-j[Z])}else H=E.dist(U,V),k=E.dist(U,j);P=k/(k+H),b(o,U,i,-w*(1-P))}m(r,r,T),A(r,r,L),m(o,o,T),A(o,o,L),h.bezierCurveTo(r[0],r[1],o[0],o[1],U[0],U[1]),b(r,U,i,w*P)}else h.lineTo(U[0],U[1]);D=B,B+=x}return R}function t(h,v){var y=[Infinity,Infinity],O=[-Infinity,-Infinity];if(v)for(var S=0;SO[0]&&(O[0]=x[0]),x[1]>O[1]&&(O[1]=x[1])}return{min:v?y:O,max:v?O:y}}var u=c.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:g(c.prototype.brush),buildPath:function(h,v){var y=v.points,O=0,S=y.length,x=t(y,v.smoothConstraint);if(v.connectNulls){for(;S>0&&s(y[S-1]);S--);for(;O0&&s(y[x-1]);x--);for(;S=this._maxSize&&s>0){var n=i.head;i.remove(n),delete r[n.key],o=n.value,this._lastRemovedEntry=n}l?l.value=f:l=new E(f),l.key=b,i.insertEntry(l),r[b]=l}return o},m.get=function(b){var f=this._map[b],i=this._list;if(f!=null)return f!==i.tail&&(i.remove(f),i.insertEntry(f)),f.value},m.clear=function(){this._list.clear(),this._map={}};var A=g;J.exports=A},"1bdT":function(J,F,e){var c=e("3gBT"),E=e("H6uX"),g=e("DN4a"),m=e("vWvF"),A=e("bYtY"),b=function(r){g.call(this,r),E.call(this,r),m.call(this,r),this.id=r.id||c()};b.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(r,o){switch(this.draggable){case"horizontal":o=0;break;case"vertical":r=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=r,s[5]+=o,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(r,o){},attrKV:function(r,o){if(r==="position"||r==="scale"||r==="origin"){if(o){var s=this[r];s||(s=this[r]=[]),s[0]=o[0],s[1]=o[1]}}else this[r]=o},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(r,o){if(typeof r=="string")this.attrKV(r,o);else if(A.isObject(r))for(var s in r)r.hasOwnProperty(s)&&this.attrKV(s,r[s]);return this.dirty(!1),this},setClipPath:function(r){var o=this.__zr;o&&r.addSelfToZr(o),this.clipPath&&this.clipPath!==r&&this.removeClipPath(),this.clipPath=r,r.__zr=o,r.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var r=this.clipPath;r&&(r.__zr&&r.removeSelfFromZr(r.__zr),r.__zr=null,r.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(r){this.__zr=r;var o=this.animators;if(o)for(var s=0;s")):null:D.match("--")?R(t("comment","-->")):D.match("DOCTYPE",!0,!0)?(D.eatWhile(/[\w\._\-]/),R(u(1))):null:D.eat("?")?(D.eatWhile(/[\w\._\-]/),B.tokenize=t("meta","?>"),"meta"):(o=D.eat("/")?"closeTag":"openTag",B.tokenize=n,"tag bracket");if(U=="&"){var M;return D.eat("#")?D.eat("x")?M=D.eatWhile(/[a-fA-F\d]/)&&D.eat(";"):M=D.eatWhile(/[\d]/)&&D.eat(";"):M=D.eatWhile(/[\w\.\-:]/)&&D.eat(";"),M?"atom":"error"}else return D.eatWhile(/[^&<]/),null}l.isInText=!0;function n(D,B){var R=D.next();if(R==">"||R=="/"&&D.eat(">"))return B.tokenize=l,o=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return o="equals",null;if(R=="<"){B.tokenize=l,B.state=y,B.tagName=B.tagStart=null;var U=B.tokenize(D,B);return U?U+" tag error":"tag error"}else return/[\'\"]/.test(R)?(B.tokenize=d(R),B.stringStartCol=D.column(),B.tokenize(D,B)):(D.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function d(D){var B=function(U,M){for(;!U.eol();)if(U.next()==D){M.tokenize=n;break}return"string"};return B.isInAttribute=!0,B}function t(D,B){return function(R,U){for(;!R.eol();){if(R.match(B)){U.tokenize=l;break}R.next()}return D}}function u(D){return function(B,R){for(var U;(U=B.next())!=null;){if(U=="<")return R.tokenize=u(D+1),R.tokenize(B,R);if(U==">")if(D==1){R.tokenize=l;break}else return R.tokenize=u(D-1),R.tokenize(B,R)}return"meta"}}function a(D,B,R){this.prev=D.context,this.tagName=B,this.indent=D.indented,this.startOfLine=R,(f.doNotIndent.hasOwnProperty(B)||D.context&&D.context.noIndent)&&(this.noIndent=!0)}function h(D){D.context&&(D.context=D.context.prev)}function v(D,B){for(var R;;){if(!D.context)return;if(R=D.context.tagName,!f.contextGrabbers.hasOwnProperty(R)||!f.contextGrabbers[R].hasOwnProperty(B))return;h(D)}}function y(D,B,R){return D=="openTag"?(R.tagStart=B.column(),O):D=="closeTag"?S:y}function O(D,B,R){return D=="word"?(R.tagName=B.current(),s="tag",T):f.allowMissingTagName&&D=="endTag"?(s="tag bracket",T(D,B,R)):(s="error",O)}function S(D,B,R){if(D=="word"){var U=B.current();return R.context&&R.context.tagName!=U&&f.implicitlyClosed.hasOwnProperty(R.context.tagName)&&h(R),R.context&&R.context.tagName==U||f.matchClosing===!1?(s="tag",x):(s="tag error",L)}else return f.allowMissingTagName&&D=="endTag"?(s="tag bracket",x(D,B,R)):(s="error",L)}function x(D,B,R){return D!="endTag"?(s="error",x):(h(R),y)}function L(D,B,R){return s="error",x(D,B,R)}function T(D,B,R){if(D=="word")return s="attribute",w;if(D=="endTag"||D=="selfcloseTag"){var U=R.tagName,M=R.tagStart;return R.tagName=R.tagStart=null,D=="selfcloseTag"||f.autoSelfClosers.hasOwnProperty(U)?v(R,U):(v(R,U),R.context=new a(R,U,M==R.indented)),y}return s="error",T}function w(D,B,R){return D=="equals"?C:(f.allowMissing||(s="error"),T(D,B,R))}function C(D,B,R){return D=="string"?N:D=="word"&&f.allowUnquoted?(s="string",T):(s="error",T(D,B,R))}function N(D,B,R){return D=="string"?N:T(D,B,R)}return{startState:function(B){var R={tokenize:l,state:y,indented:B||0,tagName:null,tagStart:null,context:null};return B!=null&&(R.baseIndent=B),R},token:function(B,R){if(!R.tagName&&B.sol()&&(R.indented=B.indentation()),B.eatSpace())return null;o=null;var U=R.tokenize(B,R);return(U||o)&&U!="comment"&&(s=null,R.state=R.state(o||U,B,R),s&&(U=s=="error"?U+" error":s)),U},indent:function(B,R,U){var M=B.context;if(B.tokenize.isInAttribute)return B.tagStart==B.indented?B.stringStartCol+1:B.indented+b;if(M&&M.noIndent)return c.Pass;if(B.tokenize!=n&&B.tokenize!=l)return U?U.match(/^(\s*)/)[0].length:0;if(B.tagName)return f.multilineTagIndentPastTag!==!1?B.tagStart+B.tagName.length+2:B.tagStart+b*(f.multilineTagIndentFactor||1);if(f.alignCDATA&&/$/,blockCommentStart:"",configuration:f.htmlMode?"html":"xml",helperType:f.htmlMode?"html":"xml",skipAttribute:function(B){B.state==C&&(B.state=T)},xmlCurrentTag:function(B){return B.tagName?{name:B.tagName,close:B.type=="closeTag"}:null},xmlCurrentContext:function(B){for(var R=[],U=B.context;U;U=U.prev)U.tagName&&R.push(U.tagName);return R.reverse()}}}),c.defineMIME("text/xml","xml"),c.defineMIME("application/xml","xml"),c.mimeModes.hasOwnProperty("text/html")||c.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(J,F,e){var c=e("e4Nc"),E=e("ftKO"),g=e("3A9y");function m(A){var b=-1,f=A==null?0:A.length;for(this.__data__=new c;++b1&&arguments[1]!==void 0?arguments[1]:!1,yt=Ue&&typeof Ue.getBoundingClientRect=="function"&&Ue.getBoundingClientRect().width;if(yt){if(it){var ee=getComputedStyle(Ue),ie=ee.marginLeft,z=ee.marginRight;yt+=+ie.replace("px","")+ +z.replace("px","")}yt=+yt.toFixed(6)}return yt||0},$e=function(Ue,it,yt){Ue&&Object(D.a)(Ue.style)==="object"&&(Ue.style[it]=yt)},bt=function(){return Se.any},ut=e("KQm4"),At=e("Ff2n"),Ve=e("i8i4"),gt=e("bdgK"),Je=e("uciX"),je=e("8XRh"),De={adjustX:1,adjustY:1},ht={topLeft:{points:["bl","tl"],overflow:De,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:De,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:De,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:De,offset:[4,0]}},It={topLeft:{points:["bl","tl"],overflow:De,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:De,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:De,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:De,offset:[4,0]}},kt=ht,Ht=0,Wt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},nr=function(Ue,it,yt){var ee=wt(it),ie=Ue.getState();Ue.setState({defaultActiveFirst:Object(c.a)(Object(c.a)({},ie.defaultActiveFirst),{},Object(L.a)({},ee,yt))})},Bt=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(yt){var ee;Object(E.a)(this,it),ee=Ue.call(this,yt),ee.onDestroy=function(Ae){ee.props.onDestroy(Ae)},ee.onKeyDown=function(Ae){var Re=Ae.keyCode,Qe=ee.menuInstance,Ft=ee.props,Qt=Ft.isOpen,Et=Ft.store;if(Re===T.a.ENTER)return ee.onTitleClick(Ae),nr(Et,ee.props.eventKey,!0),!0;if(Re===T.a.RIGHT)return Qt?Qe.onKeyDown(Ae):(ee.triggerOpenChange(!0),nr(Et,ee.props.eventKey,!0)),!0;if(Re===T.a.LEFT){var Mt;if(Qt)Mt=Qe.onKeyDown(Ae);else return;return Mt||(ee.triggerOpenChange(!1),Mt=!0),Mt}return Qt&&(Re===T.a.UP||Re===T.a.DOWN)?Qe.onKeyDown(Ae):void 0},ee.onOpenChange=function(Ae){ee.props.onOpenChange(Ae)},ee.onPopupVisibleChange=function(Ae){ee.triggerOpenChange(Ae,Ae?"mouseenter":"mouseleave")},ee.onMouseEnter=function(Ae){var Re=ee.props,Qe=Re.eventKey,Ft=Re.onMouseEnter,Qt=Re.store;nr(Qt,ee.props.eventKey,!1),Ft({key:Qe,domEvent:Ae})},ee.onMouseLeave=function(Ae){var Re=ee.props,Qe=Re.parentMenu,Ft=Re.eventKey,Qt=Re.onMouseLeave;Qe.subMenuInstance=Object(m.a)(ee),Qt({key:Ft,domEvent:Ae})},ee.onTitleMouseEnter=function(Ae){var Re=ee.props,Qe=Re.eventKey,Ft=Re.onItemHover,Qt=Re.onTitleMouseEnter;Ft({key:Qe,hover:!0}),Qt({key:Qe,domEvent:Ae})},ee.onTitleMouseLeave=function(Ae){var Re=ee.props,Qe=Re.parentMenu,Ft=Re.eventKey,Qt=Re.onItemHover,Et=Re.onTitleMouseLeave;Qe.subMenuInstance=Object(m.a)(ee),Qt({key:Ft,hover:!1}),Et({key:Ft,domEvent:Ae})},ee.onTitleClick=function(Ae){var Re=Object(m.a)(ee),Qe=Re.props;if(Qe.onTitleClick({key:Qe.eventKey,domEvent:Ae}),Qe.triggerSubMenuAction==="hover")return;ee.triggerOpenChange(!Qe.isOpen,"click"),nr(Qe.store,ee.props.eventKey,!1)},ee.onSubMenuClick=function(Ae){typeof ee.props.onClick=="function"&&ee.props.onClick(ee.addKeyPath(Ae))},ee.onSelect=function(Ae){ee.props.onSelect(Ae)},ee.onDeselect=function(Ae){ee.props.onDeselect(Ae)},ee.getPrefixCls=function(){return"".concat(ee.props.rootPrefixCls,"-submenu")},ee.getActiveClassName=function(){return"".concat(ee.getPrefixCls(),"-active")},ee.getDisabledClassName=function(){return"".concat(ee.getPrefixCls(),"-disabled")},ee.getSelectedClassName=function(){return"".concat(ee.getPrefixCls(),"-selected")},ee.getOpenClassName=function(){return"".concat(ee.props.rootPrefixCls,"-submenu-open")},ee.saveMenuInstance=function(Ae){ee.menuInstance=Ae},ee.addKeyPath=function(Ae){return Object(c.a)(Object(c.a)({},Ae),{},{keyPath:(Ae.keyPath||[]).concat(ee.props.eventKey)})},ee.triggerOpenChange=function(Ae,Re){var Qe=ee.props.eventKey,Ft=function(){ee.onOpenChange({key:Qe,item:Object(m.a)(ee),trigger:Re,open:Ae})};Re==="mouseenter"?ee.mouseenterTimeout=setTimeout(function(){Ft()},0):Ft()},ee.isChildrenSelected=function(){var Ae={find:!1};return Me(ee.props.children,ee.props.selectedKeys,Ae),Ae.find},ee.isOpen=function(){return ee.props.openKeys.indexOf(ee.props.eventKey)!==-1},ee.adjustWidth=function(){if(!ee.subMenuTitle||!ee.menuInstance)return;var Ae=Ve.findDOMNode(ee.menuInstance);if(Ae.offsetWidth>=ee.subMenuTitle.offsetWidth)return;Ae.style.minWidth="".concat(ee.subMenuTitle.offsetWidth,"px")},ee.saveSubMenuTitle=function(Ae){ee.subMenuTitle=Ae},ee.getBaseProps=function(){var Ae=Object(m.a)(ee),Re=Ae.props;return{mode:Re.mode==="horizontal"?"vertical":Re.mode,visible:ee.props.isOpen,level:Re.level+1,inlineIndent:Re.inlineIndent,focusable:!1,onClick:ee.onSubMenuClick,onSelect:ee.onSelect,onDeselect:ee.onDeselect,onDestroy:ee.onDestroy,selectedKeys:Re.selectedKeys,eventKey:"".concat(Re.eventKey,"-menu-"),openKeys:Re.openKeys,motion:Re.motion,onOpenChange:ee.onOpenChange,subMenuOpenDelay:Re.subMenuOpenDelay,parentMenu:Object(m.a)(ee),subMenuCloseDelay:Re.subMenuCloseDelay,forceSubMenuRender:Re.forceSubMenuRender,triggerSubMenuAction:Re.triggerSubMenuAction,builtinPlacements:Re.builtinPlacements,defaultActiveFirst:Re.store.getState().defaultActiveFirst[wt(Re.eventKey)],multiple:Re.multiple,prefixCls:Re.rootPrefixCls,id:ee.internalMenuId,manualRef:ee.saveMenuInstance,itemIcon:Re.itemIcon,expandIcon:Re.expandIcon,direction:Re.direction}},ee.getMotion=function(Ae,Re){var Qe=Object(m.a)(ee),Ft=Qe.haveRendered,Qt=ee.props,Et=Qt.motion,Mt=Qt.rootPrefixCls,_t=Object(c.a)(Object(c.a)({},Et),{},{leavedClassName:"".concat(Mt,"-hidden"),removeOnLeave:!1,motionAppear:Ft||!Re||Ae!=="inline"});return _t};var ie=yt.store,z=yt.eventKey,$=ie.getState(),le=$.defaultActiveFirst;ee.isRootMenu=!1;var ge=!1;return le&&(ge=le[z]),nr(ie,z,ge),ee}return Object(g.a)(it,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ee=this,ie=this.props,z=ie.mode,$=ie.parentMenu,le=ie.manualRef;if(le&&le(this),z!=="horizontal"||!$.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ee.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ee=this.props,ie=ee.onDestroy,z=ee.eventKey;ie&&ie(z),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.getBaseProps(),$=this.getMotion(z.mode,z.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||z.visible||z.forceSubMenuRender,!this.haveOpened)return f.createElement("div",null);var le=z.direction;return f.createElement(je.default,Object.assign({visible:z.visible},$),function(ge){var Ae=ge.className,Re=ge.style,Qe=N()("".concat(z.prefixCls,"-sub"),Ae,Object(L.a)({},"".concat(z.prefixCls,"-rtl"),le==="rtl"));return f.createElement(ur,Object.assign({},z,{id:ie.internalMenuId,className:Qe,style:Re}),ee)})}},{key:"render",value:function(){var ee,ie=Object(c.a)({},this.props),z=ie.isOpen,$=this.getPrefixCls(),le=ie.mode==="inline",ge=N()($,"".concat($,"-").concat(ie.mode),(ee={},Object(L.a)(ee,ie.className,!!ie.className),Object(L.a)(ee,this.getOpenClassName(),z),Object(L.a)(ee,this.getActiveClassName(),ie.active||z&&!le),Object(L.a)(ee,this.getDisabledClassName(),ie.disabled),Object(L.a)(ee,this.getSelectedClassName(),this.isChildrenSelected()),ee));this.internalMenuId||(ie.eventKey?this.internalMenuId="".concat(ie.eventKey,"$Menu"):(Ht+=1,this.internalMenuId="$__$".concat(Ht,"$Menu")));var Ae={},Re={},Qe={};ie.disabled||(Ae={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Re={onClick:this.onTitleClick},Qe={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Ft={},Qt=ie.direction;le&&(Qt==="rtl"?Ft.paddingRight=ie.inlineIndent*ie.level:Ft.paddingLeft=ie.inlineIndent*ie.level);var Et={};this.props.isOpen&&(Et={"aria-owns":this.internalMenuId});var Mt=null;ie.mode!=="horizontal"&&(Mt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Mt=f.createElement(this.props.expandIcon,Object(c.a)({},this.props))));var _t=f.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Ft,className:"".concat($,"-title"),role:"button"},Qe,Re,{"aria-expanded":z},Et,{"aria-haspopup":"true",title:typeof ie.title=="string"?ie.title:void 0}),ie.title,Mt||f.createElement("i",{className:"".concat($,"-arrow")})),zt=this.renderChildren(ie.children),Ct=ie.parentMenu.isRootMenu?ie.parentMenu.props.getPopupContainer:function(ct){return ct.parentNode},lr=Wt[ie.mode],Jt=ie.popupOffset?{offset:ie.popupOffset}:{},ke=ie.mode==="inline"?"":ie.popupClassName;ke+=Qt==="rtl"?" ".concat($,"-rtl"):"";var et=ie.disabled,We=ie.triggerSubMenuAction,Ke=ie.subMenuOpenDelay,mt=ie.forceSubMenuRender,dt=ie.subMenuCloseDelay,He=ie.builtinPlacements;vt.forEach(function(ct){return delete ie[ct]}),delete ie.onClick;var Ze=Qt==="rtl"?Object.assign({},It,He):Object.assign({},ht,He);return delete ie.direction,f.createElement("li",Object.assign({},ie,Ae,{className:ge,role:"menuitem"}),le&&_t,le&&zt,!le&&f.createElement(Je.a,{prefixCls:$,popupClassName:N()("".concat($,"-popup"),ke),getPopupContainer:Ct,builtinPlacements:Ze,popupPlacement:lr,popupVisible:z,popupAlign:Jt,popup:zt,action:et?[]:[We],mouseEnterDelay:Ke,mouseLeaveDelay:dt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:mt},_t))}}]),it}(f.Component);Bt.defaultProps={onMouseEnter:ze,onMouseLeave:ze,onTitleMouseEnter:ze,onTitleMouseLeave:ze,onTitleClick:ze,manualRef:ze,mode:"vertical",title:""};var Kt=v(function(xe,Ue){var it=xe.openKeys,yt=xe.activeKey,ee=xe.selectedKeys,ie=Ue.eventKey,z=Ue.subMenuKey;return{isOpen:it.indexOf(ie)>-1,active:yt[z]===ie,selectedKeys:ee}})(Bt);Kt.isSubMenu=!0;var Ge=Kt,qe="menuitem-overflowed",st=.5,ft=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(){var yt;return Object(E.a)(this,it),yt=Ue.apply(this,arguments),yt.resizeObserver=null,yt.mutationObserver=null,yt.originalTotalWidth=0,yt.overflowedItems=[],yt.menuItemSizes=[],yt.cancelFrameId=null,yt.state={lastVisibleIndex:void 0},yt.getMenuItemNodes=function(){var ee=yt.props.prefixCls,ie=Ve.findDOMNode(Object(m.a)(yt));return ie?[].slice.call(ie.children).filter(function(z){return z.className.split(" ").indexOf("".concat(ee,"-overflowed-submenu"))<0}):[]},yt.getOverflowedSubMenuItem=function(ee,ie,z){var $=yt.props,le=$.overflowedIndicator,ge=$.level,Ae=$.mode,Re=$.prefixCls,Qe=$.theme;if(ge!==1||Ae!=="horizontal")return null;var Ft=yt.props.children[0],Qt=Ft.props,Et=Qt.children,Mt=Qt.title,_t=Qt.style,zt=Object(At.a)(Qt,["children","title","style"]),Ct=Object(c.a)({},_t),lr="".concat(ee,"-overflowed-indicator"),Jt="".concat(ee,"-overflowed-indicator");ie.length===0&&z!==!0?Ct=Object(c.a)(Object(c.a)({},Ct),{},{display:"none"}):z&&(Ct=Object(c.a)(Object(c.a)({},Ct),{},{visibility:"hidden",position:"absolute"}),lr="".concat(lr,"-placeholder"),Jt="".concat(Jt,"-placeholder"));var ke=Qe?"".concat(Re,"-").concat(Qe):"",et={};return vt.forEach(function(We){zt[We]!==void 0&&(et[We]=zt[We])}),f.createElement(Ge,Object.assign({title:le,className:"".concat(Re,"-overflowed-submenu"),popupClassName:ke},et,{key:lr,eventKey:Jt,disabled:!1,style:Ct}),ie)},yt.setChildrenWidthAndResize=function(){if(yt.props.mode!=="horizontal")return;var ee=Ve.findDOMNode(Object(m.a)(yt));if(!ee)return;var ie=ee.children;if(!ie||ie.length===0)return;var z=ee.children[ie.length-1];$e(z,"display","inline-block");var $=yt.getMenuItemNodes(),le=$.filter(function(ge){return ge.className.split(" ").indexOf(qe)>=0});le.forEach(function(ge){$e(ge,"display","inline-block")}),yt.menuItemSizes=$.map(function(ge){return at(ge,!0)}),le.forEach(function(ge){$e(ge,"display","none")}),yt.overflowedIndicatorWidth=at(ee.children[ee.children.length-1],!0),yt.originalTotalWidth=yt.menuItemSizes.reduce(function(ge,Ae){return ge+Ae},0),yt.handleResize(),$e(z,"display","none")},yt.handleResize=function(){if(yt.props.mode!=="horizontal")return;var ee=Ve.findDOMNode(Object(m.a)(yt));if(!ee)return;var ie=at(ee);yt.overflowedItems=[];var z=0,$;yt.originalTotalWidth>ie+st&&($=-1,yt.menuItemSizes.forEach(function(le){z+=le,z+yt.overflowedIndicatorWidth<=ie&&($+=1)})),yt.setState({lastVisibleIndex:$})},yt}return Object(g.a)(it,[{key:"componentDidMount",value:function(){var ee=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var ie=Ve.findDOMNode(this);if(!ie)return;this.resizeObserver=new gt.default(function(z){z.forEach(function(){var $=ee.cancelFrameId;cancelAnimationFrame($),ee.cancelFrameId=requestAnimationFrame(ee.setChildrenWidthAndResize)})}),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ee.resizeObserver.disconnect(),[].slice.call(ie.children).concat(ie).forEach(function(z){ee.resizeObserver.observe(z)}),ee.setChildrenWidthAndResize()}),this.mutationObserver.observe(ie,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(ee){var ie=this,z=this.state.lastVisibleIndex;return(ee||[]).reduce(function($,le,ge){var Ae=le;if(ie.props.mode==="horizontal"){var Re=ie.getOverflowedSubMenuItem(le.props.eventKey,[]);z!==void 0&&ie.props.className.indexOf("".concat(ie.props.prefixCls,"-root"))!==-1&&(ge>z&&(Ae=f.cloneElement(le,{style:{display:"none"},eventKey:"".concat(le.props.eventKey,"-hidden"),className:"".concat(qe)})),ge===z+1&&(ie.overflowedItems=ee.slice(z+1).map(function(Ft){return f.cloneElement(Ft,{key:Ft.props.eventKey,mode:"vertical-left"})}),Re=ie.getOverflowedSubMenuItem(le.props.eventKey,ie.overflowedItems)));var Qe=[].concat(Object(ut.a)($),[Re,Ae]);return ge===ee.length-1&&Qe.push(ie.getOverflowedSubMenuItem(le.props.eventKey,[],!0)),Qe}return[].concat(Object(ut.a)($),[Ae])},[])}},{key:"render",value:function(){var ee=this.props,ie=ee.visible,z=ee.prefixCls,$=ee.overflowedIndicator,le=ee.mode,ge=ee.level,Ae=ee.tag,Re=ee.children,Qe=ee.theme,Ft=Object(At.a)(ee,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Qt=Ae;return f.createElement(Qt,Object.assign({},Ft),this.renderChildren(Re))}}]),it}(f.Component);ft.defaultProps={tag:"div",className:""};var nt=ft;function se(xe){return xe.length?xe.every(function(Ue){return!!Ue.props.disabled}):!0}function me(xe,Ue,it){var yt=xe.getState();xe.setState({activeKey:Object(c.a)(Object(c.a)({},yt.activeKey),{},Object(L.a)({},Ue,it))})}function lt(xe){return xe.eventKey||"0-menu-"}function Pe(xe,Ue){var it=Ue,yt=xe.children,ee=xe.eventKey;if(it){var ie;if(Be(yt,function(z,$){z&&z.props&&!z.props.disabled&&it===Xe(z,ee,$)&&(ie=!0)}),ie)return it}return it=null,xe.defaultActiveFirst&&Be(yt,function(z,$){!it&&z&&!z.props.disabled&&(it=Xe(z,ee,$))}),it}function St(xe){if(xe){var Ue=this.instanceArray.indexOf(xe);Ue!==-1?this.instanceArray[Ue]=xe:this.instanceArray.push(xe)}}var Pr=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(yt){var ee;return Object(E.a)(this,it),ee=Ue.call(this,yt),ee.onKeyDown=function(ie,z){var $=ie.keyCode,le;if(ee.getFlatInstanceArray().forEach(function(Ae){Ae&&Ae.props.active&&Ae.onKeyDown&&(le=Ae.onKeyDown(ie))}),le)return 1;var ge=null;return($===T.a.UP||$===T.a.DOWN)&&(ge=ee.step($===T.a.UP?-1:1)),ge?(ie.preventDefault(),me(ee.props.store,lt(ee.props),ge.props.eventKey),typeof z=="function"&&z(ge),1):void 0},ee.onItemHover=function(ie){var z=ie.key,$=ie.hover;me(ee.props.store,lt(ee.props),$?z:null)},ee.onDeselect=function(ie){ee.props.onDeselect(ie)},ee.onSelect=function(ie){ee.props.onSelect(ie)},ee.onClick=function(ie){ee.props.onClick(ie)},ee.onOpenChange=function(ie){ee.props.onOpenChange(ie)},ee.onDestroy=function(ie){ee.props.onDestroy(ie)},ee.getFlatInstanceArray=function(){return ee.instanceArray},ee.step=function(ie){var z=ee.getFlatInstanceArray(),$=ee.props.store.getState().activeKey[lt(ee.props)],le=z.length;if(!le)return null;ie<0&&(z=z.concat().reverse());var ge=-1;if(z.every(function(Ft,Qt){return Ft&&Ft.props.eventKey===$?(ge=Qt,!1):!0}),!ee.props.defaultActiveFirst&&ge!==-1&&se(z.slice(ge,le-1)))return;var Ae=(ge+1)%le,Re=Ae;do{var Qe=z[Re];if(!Qe||Qe.props.disabled)Re=(Re+1)%le;else return Qe}while(Re!==Ae);return null},ee.renderCommonMenuItem=function(ie,z,$){var le=ee.props.store.getState(),ge=Object(m.a)(ee),Ae=ge.props,Re=Xe(ie,Ae.eventKey,z),Qe=ie.props;if(!Qe||typeof ie.type=="string")return ie;var Ft=Re===le.activeKey,Qt=Object(c.a)(Object(c.a)({mode:Qe.mode||Ae.mode,level:Ae.level,inlineIndent:Ae.inlineIndent,renderMenuItem:ee.renderMenuItem,rootPrefixCls:Ae.prefixCls,index:z,parentMenu:Ae.parentMenu,manualRef:Qe.disabled?void 0:Object(w.a)(ie.ref,St.bind(Object(m.a)(ee))),eventKey:Re,active:!Qe.disabled&&Ft,multiple:Ae.multiple,onClick:function(Mt){(Qe.onClick||ze)(Mt),ee.onClick(Mt)},onItemHover:ee.onItemHover,motion:Ae.motion,subMenuOpenDelay:Ae.subMenuOpenDelay,subMenuCloseDelay:Ae.subMenuCloseDelay,forceSubMenuRender:Ae.forceSubMenuRender,onOpenChange:ee.onOpenChange,onDeselect:ee.onDeselect,onSelect:ee.onSelect,builtinPlacements:Ae.builtinPlacements,itemIcon:Qe.itemIcon||ee.props.itemIcon,expandIcon:Qe.expandIcon||ee.props.expandIcon},$),{},{direction:Ae.direction});return(Ae.mode==="inline"||bt())&&(Qt.triggerSubMenuAction="click"),f.cloneElement(ie,Qt)},ee.renderMenuItem=function(ie,z,$){if(!ie)return null;var le=ee.props.store.getState(),ge={openKeys:le.openKeys,selectedKeys:le.selectedKeys,triggerSubMenuAction:ee.props.triggerSubMenuAction,subMenuKey:$};return ee.renderCommonMenuItem(ie,z,ge)},yt.store.setState({activeKey:Object(c.a)(Object(c.a)({},yt.store.getState().activeKey),{},Object(L.a)({},yt.eventKey,Pe(yt,yt.activeKey)))}),ee.instanceArray=[],ee}return Object(g.a)(it,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ee){return this.props.visible||ee.visible||this.props.className!==ee.className||!l()(this.props.style,ee.style)}},{key:"componentDidUpdate",value:function(ee){var ie=this.props,z="activeKey"in ie?ie.activeKey:ie.store.getState().activeKey[lt(ie)],$=Pe(ie,z);if($!==z)me(ie.store,lt(ie),$);else if("activeKey"in ee){var le=Pe(ee,ee.activeKey);$!==le&&me(ie.store,lt(ie),$)}}},{key:"render",value:function(){var ee=this,ie=Object(x.a)({},this.props);this.instanceArray=[];var z=N()(ie.prefixCls,ie.className,"".concat(ie.prefixCls,"-").concat(ie.mode)),$={className:z,role:ie.role||"menu"};ie.id&&($.id=ie.id),ie.focusable&&($.tabIndex=0,$.onKeyDown=this.onKeyDown);var le=ie.prefixCls,ge=ie.eventKey,Ae=ie.visible,Re=ie.level,Qe=ie.mode,Ft=ie.overflowedIndicator,Qt=ie.theme;return vt.forEach(function(Et){return delete ie[Et]}),delete ie.onClick,f.createElement(nt,Object.assign({},ie,{prefixCls:le,mode:Qe,tag:"ul",level:Re,theme:Qt,visible:Ae,overflowedIndicator:Ft},$),f.Children.map(ie.children,function(Et,Mt){return ee.renderMenuItem(Et,Mt,ge||"0-menu-")}))}}]),it}(f.Component);Pr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:ze};var Lt=v()(Pr),ur=Lt,Xt=e("Kwbf");function Zt(xe,Ue,it){var yt=xe.prefixCls,ee=xe.motion,ie=xe.defaultMotions,z=ie===void 0?{}:ie,$=xe.openAnimation,le=xe.openTransitionName,ge=Ue.switchingModeFromInline;if(ee)return ee;if(Object(D.a)($)==="object"&&$)Object(Xt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof $=="string")return{motionName:"".concat(yt,"-open-").concat($)};if(le)return{motionName:le};var Ae=z[it];return Ae||(ge?null:z.other)}var mr=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(yt){var ee;Object(E.a)(this,it),ee=Ue.call(this,yt),ee.inlineOpenKeys=[],ee.onSelect=function($){var le=Object(m.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState(),Re=Ae.selectedKeys,Qe=$.key;ge.multiple?Re=Re.concat([Qe]):Re=[Qe],"selectedKeys"in ge||ee.store.setState({selectedKeys:Re}),ge.onSelect(Object(c.a)(Object(c.a)({},$),{},{selectedKeys:Re}))}},ee.onClick=function($){var le=ee.getRealMenuMode(),ge=Object(m.a)(ee),Ae=ge.store,Re=ge.props.onOpenChange;le!=="inline"&&!("openKeys"in ee.props)&&(Ae.setState({openKeys:[]}),Re([])),ee.props.onClick($)},ee.onKeyDown=function($,le){ee.innerMenu.getWrappedInstance().onKeyDown($,le)},ee.onOpenChange=function($){var le=Object(m.a)(ee),ge=le.props,Ae=ee.store.getState().openKeys.concat(),Re=!1,Qe=function(Qt){var Et=!1;if(Qt.open)Et=Ae.indexOf(Qt.key)===-1,Et&&Ae.push(Qt.key);else{var Mt=Ae.indexOf(Qt.key);Et=Mt!==-1,Et&&Ae.splice(Mt,1)}Re=Re||Et};Array.isArray($)?$.forEach(Qe):Qe($),Re&&("openKeys"in ee.props||ee.store.setState({openKeys:Ae}),ge.onOpenChange(Ae))},ee.onDeselect=function($){var le=Object(m.a)(ee),ge=le.props;if(ge.selectable){var Ae=ee.store.getState().selectedKeys.concat(),Re=$.key,Qe=Ae.indexOf(Re);Qe!==-1&&Ae.splice(Qe,1),"selectedKeys"in ge||ee.store.setState({selectedKeys:Ae}),ge.onDeselect(Object(c.a)(Object(c.a)({},$),{},{selectedKeys:Ae}))}},ee.onMouseEnter=function($){ee.restoreModeVerticalFromInline();var le=ee.props.onMouseEnter;le&&le($)},ee.onTransitionEnd=function($){var le=$.propertyName==="width"&&$.target===$.currentTarget,ge=$.target.className,Ae=Object.prototype.toString.call(ge)==="[object SVGAnimatedString]"?ge.animVal:ge,Re=$.propertyName==="font-size"&&Ae.indexOf("anticon")>=0;(le||Re)&&ee.restoreModeVerticalFromInline()},ee.setInnerMenu=function($){ee.innerMenu=$},ee.isRootMenu=!0;var ie=yt.defaultSelectedKeys,z=yt.defaultOpenKeys;return"selectedKeys"in yt&&(ie=yt.selectedKeys||[]),"openKeys"in yt&&(z=yt.openKeys||[]),ee.store=O({selectedKeys:ie,openKeys:z,activeKey:{"0-menu-":Pe(yt,yt.activeKey)}}),ee.state={switchingModeFromInline:!1},ee}return Object(g.a)(it,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ee){this.updateOpentKeysWhenSwitchMode(ee),this.updateMiniStore();var ie=this.props,z=ie.siderCollapsed,$=ie.inlineCollapsed,le=ie.onOpenChange;(!ee.inlineCollapsed&&$||!ee.siderCollapsed&&z)&&le([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ee){var ie=this.props,z=this.store,$=this.inlineOpenKeys,le=z.getState(),ge={};ee.mode==="inline"&&ie.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in ie||((ie.inlineCollapsed&&!ee.inlineCollapsed||ie.siderCollapsed&&!ee.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=le.openKeys.concat(),ge.openKeys=[]),(!ie.inlineCollapsed&&ee.inlineCollapsed||!ie.siderCollapsed&&ee.siderCollapsed)&&(ge.openKeys=$,this.inlineOpenKeys=[])),Object.keys(ge).length&&z.setState(ge)}},{key:"updateMenuDisplay",value:function(){var ee=this.props.collapsedWidth,ie=this.store,z=this.prevOpenKeys,$=this.getInlineCollapsed()&&(ee===0||ee==="0"||ee==="0px");$?(this.prevOpenKeys=ie.getState().openKeys.concat(),this.store.setState({openKeys:[]})):z&&(this.store.setState({openKeys:z}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ee=this.props.mode,ie=this.state.switchingModeFromInline,z=this.getInlineCollapsed();return ie&&z?"inline":z?"vertical":ee}},{key:"getInlineCollapsed",value:function(){var ee=this.props,ie=ee.inlineCollapsed,z=ee.siderCollapsed;return z!==void 0?z:ie}},{key:"restoreModeVerticalFromInline",value:function(){var ee=this.state.switchingModeFromInline;ee&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var ee=Object(c.a)({},Object(S.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),ie=this.getRealMenuMode();return ee.className+=" ".concat(ee.prefixCls,"-root"),ee.direction==="rtl"&&(ee.className+=" ".concat(ee.prefixCls,"-rtl")),ee=Object(c.a)(Object(c.a)({},ee),{},{mode:ie,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Zt(this.props,this.state,ie)}),delete ee.openAnimation,delete ee.openTransitionName,f.createElement(o,{store:this.store},f.createElement(ur,Object.assign({},ee,{ref:this.setInnerMenu}),this.props.children))}}]),it}(f.Component);mr.defaultProps={selectable:!0,onClick:ze,onSelect:ze,onOpenChange:ze,onDeselect:ze,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:f.createElement("span",null,"\xB7\xB7\xB7")};var qt=mr,de=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(){var yt;return Object(E.a)(this,it),yt=Ue.apply(this,arguments),yt.onKeyDown=function(ee){var ie=ee.keyCode;return ie===T.a.ENTER?(yt.onClick(ee),!0):void 0},yt.onMouseLeave=function(ee){var ie=yt.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseLeave;$({key:z,hover:!1}),le({key:z,domEvent:ee})},yt.onMouseEnter=function(ee){var ie=yt.props,z=ie.eventKey,$=ie.onItemHover,le=ie.onMouseEnter;$({key:z,hover:!0}),le({key:z,domEvent:ee})},yt.onClick=function(ee){var ie=yt.props,z=ie.eventKey,$=ie.multiple,le=ie.onClick,ge=ie.onSelect,Ae=ie.onDeselect,Re=ie.isSelected,Qe={key:z,keyPath:[z],item:Object(m.a)(yt),domEvent:ee};le(Qe),$?Re?Ae(Qe):ge(Qe):Re||ge(Qe)},yt.saveNode=function(ee){yt.node=ee},yt}return Object(g.a)(it,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ee=this.props;ee.onDestroy&&ee.onDestroy(ee.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var ee,ie=Object(c.a)({},this.props),z=N()(this.getPrefixCls(),ie.className,(ee={},Object(L.a)(ee,this.getActiveClassName(),!ie.disabled&&ie.active),Object(L.a)(ee,this.getSelectedClassName(),ie.isSelected),Object(L.a)(ee,this.getDisabledClassName(),ie.disabled),ee)),$=Object(c.a)(Object(c.a)({},ie.attribute),{},{title:typeof ie.title=="string"?ie.title:void 0,className:z,role:ie.role||"menuitem","aria-disabled":ie.disabled});ie.role==="option"?$=Object(c.a)(Object(c.a)({},$),{},{role:"option","aria-selected":ie.isSelected}):(ie.role===null||ie.role==="none")&&($.role="none");var le={onClick:ie.disabled?null:this.onClick,onMouseLeave:ie.disabled?null:this.onMouseLeave,onMouseEnter:ie.disabled?null:this.onMouseEnter},ge=Object(c.a)({},ie.style);ie.mode==="inline"&&(ie.direction==="rtl"?ge.paddingRight=ie.inlineIndent*ie.level:ge.paddingLeft=ie.inlineIndent*ie.level),vt.forEach(function(Re){return delete ie[Re]}),delete ie.direction;var Ae=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ae=f.createElement(this.props.itemIcon,this.props)),f.createElement("li",Object.assign({},Object(S.default)(ie,["onClick","onMouseEnter","onMouseLeave","onSelect"]),$,le,{style:ge,ref:this.saveNode}),ie.children,Ae)}}]),it}(f.Component);de.isMenuItem=!0,de.defaultProps={onSelect:ze,onMouseEnter:ze,onMouseLeave:ze,manualRef:ze};var ue=v(function(xe,Ue){var it=xe.activeKey,yt=xe.selectedKeys,ee=Ue.eventKey,ie=Ue.subMenuKey;return{active:it[ie]===ee,isSelected:yt.indexOf(ee)!==-1}})(de),oe=ue,ae=function(xe){Object(A.a)(it,xe);var Ue=Object(b.a)(it);function it(){var yt;return Object(E.a)(this,it),yt=Ue.apply(this,arguments),yt.renderInnerMenuItem=function(ee){var ie=yt.props,z=ie.renderMenuItem,$=ie.index;return z(ee,$,yt.props.subMenuKey)},yt}return Object(g.a)(it,[{key:"render",value:function(){var ee=Object(x.a)({},this.props),ie=ee.className,z=ie===void 0?"":ie,$=ee.rootPrefixCls,le="".concat($,"-item-group-title"),ge="".concat($,"-item-group-list"),Ae=ee.title,Re=ee.children;return vt.forEach(function(Qe){return delete ee[Qe]}),delete ee.onClick,delete ee.direction,f.createElement("li",Object.assign({},ee,{className:"".concat(z," ").concat($,"-item-group")}),f.createElement("div",{className:le,title:typeof Ae=="string"?Ae:void 0},Ae),f.createElement("ul",{className:ge},f.Children.map(Re,this.renderInnerMenuItem)))}}]),it}(f.Component);ae.isMenuItemGroup=!0,ae.defaultProps={disabled:!0};var ye=ae,Ce=function(Ue){var it=Ue.className,yt=Ue.rootPrefixCls,ee=Ue.style;return f.createElement("li",{className:"".concat(it," ").concat(yt,"-item-divider"),style:ee})};Ce.defaultProps={disabled:!0,className:"",style:{}};var Oe=Ce,Ie=F.f=qt},"1n7x":function(J,F,e){(function(c,E){(function(g,m){J.exports=m(e("5RHE"),e("wOnQ"))})(this,function(g,m){"use strict";g=g&&g.hasOwnProperty("default")?g.default:g,m=m&&m.hasOwnProperty("default")?m.default:m;var A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},b=Object.assign||function(S){for(var x=1;x0;null)w[C].parentNode.removeChild(w[C])}for(var N in L.style)T.style[N]=L.style[N];return T},r=function S(x,L){for(var T=x.nodeType===3?document.createTextNode(x.nodeValue):x.cloneNode(!1),w=x.firstChild;w;w=w.nextSibling)(L===!0||w.nodeType!==1||w.nodeName!=="SCRIPT")&&T.appendChild(S(w,L));return x.nodeType===1&&(x.nodeName==="CANVAS"?(T.width=x.width,T.height=x.height,T.getContext("2d").drawImage(x,0,0)):(x.nodeName==="TEXTAREA"||x.nodeName==="SELECT")&&(T.value=x.value),T.addEventListener("load",function(){T.scrollTop=x.scrollTop,T.scrollLeft=x.scrollLeft},!0)),T},o=function(x,L){if(f(x)==="number")return x*72/96/L;var T={};for(var w in x)T[w]=x[w]*72/96/L;return T},s=function(x,L){return Math.floor(x*L/72*96)},l=typeof window!="undefined"?window:typeof c!="undefined"?c:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function d(S,x){return x={exports:{}},S(x,x.exports),x.exports}var t=d(function(S,x){/*! * @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(L,T){S.exports=T()})(l,function(){function L(Lt){var ur=typeof Lt;return Lt!==null&&(ur==="object"||ur==="function")}function T(Lt){return typeof Lt=="function"}var w=void 0;Array.isArray?w=Array.isArray:w=function(ur){return Object.prototype.toString.call(ur)==="[object Array]"};var C=w,N=0,D=void 0,B=void 0,R=function(ur,Xt){pe[N]=ur,pe[N+1]=Xt,N+=2,N===2&&(B?B(te):be())};function U(Lt){B=Lt}function M(Lt){R=Lt}var j=typeof window!="undefined"?window:void 0,P=j||{},V=P.MutationObserver||P.WebKitMutationObserver,H=typeof self=="undefined"&&typeof E!="undefined"&&{}.toString.call(E)==="[object process]",k=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Z(){return function(){return E.nextTick(te)}}function Y(){return typeof D!="undefined"?function(){D(te)}:X()}function _(){var Lt=0,ur=new V(te),Xt=document.createTextNode("");return ur.observe(Xt,{characterData:!0}),function(){Xt.data=Lt=++Lt%2}}function Q(){var Lt=new MessageChannel;return Lt.port1.onmessage=te,function(){return Lt.port2.postMessage(0)}}function X(){var Lt=setTimeout;return function(){return Lt(te,1)}}var pe=new Array(1e3);function te(){for(var Lt=0;LtD){var R=B;B=D,D=R}}else if(S==="l"||S==="landscape"){if(S="l",D>B){var R=B;B=D,D=R}}else throw"Invalid orientation: "+S;var U={width:B,height:D,unit:x,k:N};return U};var h={toContainer:a.prototype.toContainer};a.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},a.prototype.toContainer=function(){return h.toContainer.call(this).then(function(){var L=this.prop.container,T=this.prop.pageSize.inner.px.height,w=[].concat(this.opt.pagebreak.mode),C={avoidAll:w.indexOf("avoid-all")!==-1,css:w.indexOf("css")!==-1,legacy:w.indexOf("legacy")!==-1},N={},D=this;["before","after","avoid"].forEach(function(U){var M=C.avoidAll&&U==="avoid";N[U]=M?[]:[].concat(D.opt.pagebreak[U]||[]),N[U].length>0&&(N[U]=Array.prototype.slice.call(L.querySelectorAll(N[U].join(", "))))});var B=L.querySelectorAll(".html2pdf__page-break");B=Array.prototype.slice.call(B);var R=L.querySelectorAll("*");Array.prototype.forEach.call(R,function(M){var j={before:!1,after:C.legacy&&B.indexOf(M)!==-1,avoid:C.avoidAll};if(C.css){var P=window.getComputedStyle(M),V=["always","page","left","right"],H=["avoid","avoid-page"];j={before:j.before||V.indexOf(P.breakBefore||P.pageBreakBefore)!==-1,after:j.after||V.indexOf(P.breakAfter||P.pageBreakAfter)!==-1,avoid:j.avoid||H.indexOf(P.breakInside||P.pageBreakInside)!==-1}}Object.keys(j).forEach(function(X){j[X]=j[X]||N[X].indexOf(M)!==-1});var k=M.getBoundingClientRect();if(j.avoid&&!j.before){var Z=Math.floor(k.top/T),Y=Math.floor(k.bottom/T),_=Math.abs(k.bottom-k.top)/T;Y!==Z&&_<=1&&(j.before=!0)}if(j.before){var Q=i("div",{style:{display:"block",height:T-k.top%T+"px"}});M.parentNode.insertBefore(Q,M)}if(j.after){var Q=i("div",{style:{display:"block",height:T-k.bottom%T+"px"}});M.parentNode.insertBefore(Q,M.nextSibling)}})})};var v=[],y={toContainer:a.prototype.toContainer,toPdf:a.prototype.toPdf};a.prototype.toContainer=function(){return y.toContainer.call(this).then(function(){if(this.opt.enableLinks){var L=this.prop.container,T=L.querySelectorAll("a"),w=o(L.getBoundingClientRect(),this.prop.pageSize.k);v=[],Array.prototype.forEach.call(T,function(C){for(var N=C.getClientRects(),D=0;Dn.getHeight()&&(L.textPosition="top",N=!0);var D=N?-5-T.height:u+8;w+T.width/2>n.getWidth()?(L.textPosition=["100%",D],L.textAlign="right"):w-T.width/2<0&&(L.textPosition=[0,D],L.textAlign="left")}})},updateView:function(s,l,n,d){E.each(this._features,function(t){t.updateView&&t.updateView(t.model,l,n,d)})},remove:function(s,l){E.each(this._features,function(n){n.remove&&n.remove(s,l)}),this.group.removeAll()},dispose:function(s,l){E.each(this._features,function(n){n.dispose&&n.dispose(s,l)})}});function o(s){return s.indexOf("my")===0}J.exports=r},"2B6p":function(J,F){function e(c,E,g){var m=c.getZoom(),A=c.getCenter(),b=E.zoom,f=c.dataToPoint(A);if(E.dx!=null&&E.dy!=null){f[0]-=E.dx,f[1]-=E.dy;var A=c.pointToData(f);c.setCenter(A)}if(b!=null){if(g){var i=g.min||0,r=g.max||Infinity;b=Math.max(Math.min(m*b,r),i)/m}c.scale[0]*=b,c.scale[1]*=b;var o=c.position,s=(E.originX-o[0])*(b-1),l=(E.originY-o[1])*(b-1);o[0]-=s,o[1]-=l,c.updateTransform();var A=c.pointToData(f);c.setCenter(A),c.setZoom(b*m)}return{center:c.getCenter(),zoom:c.getZoom()}}F.updateCenterAndZoom=e},"2BaD":function(J,F,e){"use strict";var c=e("q1tI"),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},g=E,m=e("6VBw"),A=function(i,r){return c.createElement(m.a,Object.assign({},i,{ref:r,icon:g}))};A.displayName="CloseCircleOutlined";var b=F.a=c.forwardRef(A)},"2DNl":function(J,F,e){var c=e("IMiH"),E=e("loD1"),g=e("59Ip"),m=e("aKvl"),A=e("n1HI"),b=e("hX1E"),f=b.normalizeRadian,i=e("Sj9i"),r=e("hyiK"),o=c.CMD,s=Math.PI*2,l=1e-4;function n(x,L){return Math.abs(x-L)L&&U>w&&U>N&&U>B||U1&&u(),V=i.cubicAt(L,w,N,B,t[0]),P>1&&(H=i.cubicAt(L,w,N,B,t[1]))),P===2?ZL&&B>w&&B>N||B=0&&U<=1){for(var M=0,j=i.quadraticAt(L,w,N,U),P=0;PT||B<-T)return 0;var R=Math.sqrt(T*T-B*B);d[0]=-R,d[1]=R;var U=Math.abs(w-C);if(U<1e-4)return 0;if(U%s<1e-4){w=0,C=s;var M=N?1:-1;return D>=d[0]+x&&D<=d[1]+x?M:0}if(N){var R=w;w=f(C),C=f(R)}else w=f(w),C=f(C);w>C&&(C+=s);for(var j=0,P=0;P<2;P++){var V=d[P];if(V+x>D){var H=Math.atan2(B,V),M=N?1:-1;H<0&&(H=s+H),(H>=w&&H<=C||H+s>=w&&H+s<=C)&&(H>Math.PI/2&&H1&&(T||(N+=r(D,B,R,U,w,C))),M===1&&(D=x[M],B=x[M+1],R=D,U=B);switch(j){case o.M:R=x[M++],U=x[M++],D=R,B=U;break;case o.L:if(T){if(E.containStroke(D,B,x[M],x[M+1],L,w,C))return!0}else N+=r(D,B,x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case o.C:if(T){if(g.containStroke(D,B,x[M++],x[M++],x[M++],x[M++],x[M],x[M+1],L,w,C))return!0}else N+=a(D,B,x[M++],x[M++],x[M++],x[M++],x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case o.Q:if(T){if(m.containStroke(D,B,x[M++],x[M++],x[M],x[M+1],L,w,C))return!0}else N+=h(D,B,x[M++],x[M++],x[M],x[M+1],w,C)||0;D=x[M++],B=x[M++];break;case o.A:var P=x[M++],V=x[M++],H=x[M++],k=x[M++],Z=x[M++],Y=x[M++];M+=1;var _=1-x[M++],Q=Math.cos(Z)*H+P,X=Math.sin(Z)*k+V;M>1?N+=r(D,B,Q,X,w,C):(R=Q,U=X);var pe=(w-P)*k/H+P;if(T){if(A.containStroke(P,V,k,Z,Z+Y,_,L,pe,C))return!0}else N+=v(P,V,k,Z,Z+Y,_,pe,C);D=Math.cos(Z+Y)*H+P,B=Math.sin(Z+Y)*k+V;break;case o.R:R=D=x[M++],U=B=x[M++];var te=x[M++],fe=x[M++],Q=R+te,X=U+fe;if(T){if(E.containStroke(R,U,Q,U,L,w,C)||E.containStroke(Q,U,Q,X,L,w,C)||E.containStroke(Q,X,R,X,L,w,C)||E.containStroke(R,X,R,U,L,w,C))return!0}else N+=r(Q,U,Q,X,w,C),N+=r(R,X,R,U,w,C);break;case o.Z:if(T){if(E.containStroke(D,B,R,U,L,w,C))return!0}else N+=r(D,B,R,U,w,C);D=R,B=U;break}}return!T&&!n(B,U)&&(N+=r(D,B,R,U,w,C)||0),N!==0}function O(x,L,T){return y(x,0,!1,L,T)}function S(x,L,T,w){return y(x,L,!0,T,w)}F.contain=O,F.containStroke=S},"2Qr1":function(J,F,e){"use strict";e.d(F,"d",function(){return n}),e.d(F,"c",function(){return t}),e.d(F,"e",function(){return u}),e.d(F,"b",function(){return v}),e.d(F,"f",function(){return y}),e.d(F,"g",function(){return O}),e.d(F,"a",function(){return S});var c=e("rePB"),E=e("KQm4"),g=e("DSFK"),m=e("25BE"),A=e("BsWD"),b=e("PYwp");function f(x){return Object(g.a)(x)||Object(m.a)(x)||Object(A.a)(x)||Object(b.a)()}var i=e("U8pU"),r=e("VTBJ"),o=e("Kwbf"),s=e("WKfj");function l(x,L){var T=x.key,w;return"value"in x&&(w=x.value),T!=null?T:w!==void 0?w:"rc-index-key-".concat(L)}function n(x){var L=[];function T(w,C){w.forEach(function(N){C||!("options"in N)?L.push({key:l(N,L.length),groupOption:C,data:N}):(L.push({key:l(N,L.length),group:!0,data:N}),T(N.options,!0))})}return T(x,!1),L}function d(x){var L=Object(r.a)({},x);return"props"in L||Object.defineProperty(L,"props",{get:function(){return Object(o.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),L}}),L}function t(x,L){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=T.prevValueOptions,C=w===void 0?[]:w,N=new Map;return L.forEach(function(D){if(!D.group){var B=D.data;N.set(B.value,B)}}),x.map(function(D){var B=N.get(D);return B||(B=Object(r.a)({},C.find(function(R){return R._INTERNAL_OPTION_VALUE_===D}))),d(B)})}var u=function(L,T){var w=T.options,C=T.prevValue,N=T.labelInValue,D=T.optionLabelProp,B=t([L],w)[0],R={value:L},U,M=Object(s.d)(C);return N&&(U=M.find(function(j){return Object(i.a)(j)==="object"&&"value"in j?j.value===L:j.key===L})),U&&Object(i.a)(U)==="object"&&"label"in U?(R.label=U.label,B&&typeof U.label=="string"&&typeof B[D]=="string"&&U.label.trim()!==B[D].trim()&&Object(o.a)(!1,"`label` of `value` is not same as `label` in Select options.")):B&&D in B?R.label=B[D]:R.label=L,R.key=R.value,R};function a(x){return Object(s.d)(x).join("")}function h(x){return function(L,T){var w=L.toLowerCase();if("options"in T)return a(T.label).toLowerCase().includes(w);var C=T[x],N=a(C).toLowerCase();return N.includes(w)&&!T.disabled}}function v(x,L,T){var w=T.optionFilterProp,C=T.filterOption,N=[],D;return C===!1?L:(typeof C=="function"?D=C:D=h(w),L.forEach(function(B){if("options"in B){var R=D(x,B);if(R)N.push(B);else{var U=B.options.filter(function(M){return D(x,M)});U.length&&N.push(Object(r.a)(Object(r.a)({},B),{},{options:U}))}return}D(x,d(B))&&N.push(B)}),N)}function y(x,L){if(!L||!L.length)return null;var T=!1;function w(N,D){var B=f(D),R=B[0],U=B.slice(1);if(!R)return[N];var M=N.split(R);return T=T||M.length>1,M.reduce(function(j,P){return[].concat(Object(E.a)(j),Object(E.a)(w(P,U)))},[]).filter(function(j){return j})}var C=w(x,L);return T?C:null}function O(x,L){var T=t([x],L)[0];return T.disabled}function S(x,L,T,w){var C=Object(s.d)(L).slice().sort(),N=Object(E.a)(x),D=new Set;return x.forEach(function(B){B.options?B.options.forEach(function(R){D.add(R.value)}):D.add(B.value)}),C.forEach(function(B){var R=w?B.value:B;if(!D.has(R)){var U;N.push(w?(U={},Object(c.a)(U,T,B.label),Object(c.a)(U,"value",R),U):{value:R})}}),N}},"2dDv":function(J,F,e){var c=e("bYtY"),E=e("Fofx"),g=e("+TT/"),m=e("aX7z"),A=e("D1WM"),b=e("IwbS"),f=e("OELB"),i=e("72pK"),r=c.each,o=Math.min,s=Math.max,l=Math.floor,n=Math.ceil,d=f.round,t=Math.PI;function u(O,S,x){this._axesMap=c.createHashMap(),this._axesLayout={},this.dimensions=O.dimensions,this._rect,this._model=O,this._init(O,S,x)}u.prototype={type:"parallel",constructor:u,_init:function(O,S,x){var L=O.dimensions,T=O.parallelAxisIndex;r(L,function(w,C){var N=T[C],D=S.getComponent("parallelAxis",N),B=this._axesMap.set(w,new A(w,m.createScaleByModel(D),[0,0],D.get("type"),N)),R=B.type==="category";B.onBand=R&&D.get("boundaryGap"),B.inverse=D.get("inverse"),D.axis=B,B.model=D,B.coordinateSystem=D.coordinateSystem=this},this)},update:function(O,S){this._updateAxesFromSeries(this._model,O)},containPoint:function(O){var S=this._makeLayoutInfo(),x=S.axisBase,L=S.layoutBase,T=S.pixelDimIndex,w=O[1-T],C=O[T];return w>=x&&w<=x+S.axisLength&&C>=L&&C<=L+S.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(O,S){S.eachSeries(function(x){if(!O.contains(x,S))return;var L=x.getData();r(this.dimensions,function(T){var w=this._axesMap.get(T);w.scale.unionExtentFromData(L,L.mapDimension(T)),m.niceScaleExtent(w.scale,w.model)},this)},this)},resize:function(O,S){this._rect=g.getLayoutRect(O.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var O=this._model,S=this._rect,x=["x","y"],L=["width","height"],T=O.get("layout"),w=T==="horizontal"?0:1,C=S[L[w]],N=[0,C],D=this.dimensions.length,B=a(O.get("axisExpandWidth"),N),R=a(O.get("axisExpandCount")||0,[0,D]),U=O.get("axisExpandable")&&D>3&&D>R&&R>1&&B>0&&C>0,M=O.get("axisExpandWindow"),j;if(M)j=a(M[1]-M[0],N),M[1]=M[0]+j;else{j=a(B*(R-1),N);var P=O.get("axisExpandCenter")||l(D/2);M=[B*P-j/2],M[1]=M[0]+j}var V=(C-j)/(D-R);V<3&&(V=0);var H=[l(d(M[0]/B,1))+1,n(d(M[1]/B,1))-1],k=V/B*M[0];return{layout:T,pixelDimIndex:w,layoutBase:S[x[w]],layoutLength:C,axisBase:S[x[1-w]],axisLength:S[L[1-w]],axisExpandable:U,axisExpandWidth:B,axisCollapseWidth:V,axisExpandWindow:M,axisCount:D,winInnerIndices:H,axisExpandWindow0Pos:k}},_layoutAxes:function(){var O=this._rect,S=this._axesMap,x=this.dimensions,L=this._makeLayoutInfo(),T=L.layout;S.each(function(w){var C=[0,L.axisLength],N=w.inverse?1:0;w.setExtent(C[N],C[1-N])}),r(x,function(w,C){var N=(L.axisExpandable?v:h)(C,L),D={horizontal:{x:N.position,y:L.axisLength},vertical:{x:0,y:N.position}},B={horizontal:t/2,vertical:0},R=[D[T].x+O.x,D[T].y+O.y],U=B[T],M=E.create();E.rotate(M,M,U),E.translate(M,M,R),this._axesLayout[w]={position:R,rotation:U,transform:M,axisNameAvailableWidth:N.axisNameAvailableWidth,axisLabelShow:N.axisLabelShow,nameTruncateMaxWidth:N.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(O){return this._axesMap.get(O)},dataToPoint:function(O,S){return this.axisCoordToPoint(this._axesMap.get(S).dataToCoord(O),S)},eachActiveState:function(O,S,x,L){x==null&&(x=0),L==null&&(L=O.count());var T=this._axesMap,w=this.dimensions,C=[],N=[];c.each(w,function(V){C.push(O.mapDimension(V)),N.push(T.get(V).model)});for(var D=this.hasAxisBrushed(),B=x;BT*(1-R[0])?(D="jump",N=C-T*(1-R[2])):(N=C-T*R[1])>=0&&(N=C-T*(1-R[1]))<=0&&(N=0),N*=S.axisExpandWidth/B,N?i(N,L,w,"all"):D="none";else{var T=L[1]-L[0],M=w[1]*C/T;L=[s(0,M-T/2)],L[1]=o(w[1],L[0]+T),L[0]=L[1]-T}return{axisExpandWindow:L,behavior:D}}};function a(O,S){return o(s(O,S[0]),S[1])}function h(O,S){var x=S.layoutLength/(S.axisCount-1);return{position:x*O,axisNameAvailableWidth:x,axisLabelShow:!0}}function v(O,S){var x=S.layoutLength,L=S.axisExpandWidth,T=S.axisCount,w=S.axisCollapseWidth,C=S.winInnerIndices,N,D=w,B=!1,R;return O1&&arguments[1]!==void 0?arguments[1]:1,ye=me.length,Ce=0;Ce1&&arguments[1]!==void 0?arguments[1]:!1;return Object(H.a)($e).map(function(ut,At){if(!n.isValidElement(ut)||!ut.type)return null;var Ve=ut.type.isSelectOptGroup,gt=ut.key,Je=ut.props,je=Je.children,De=Object(S.a)(Je,["children"]);return bt||!Ve?k(ut):Object(V.a)(Object(V.a)({key:"__RC_SELECT_GRP__".concat(gt===null?At:gt,"__"),label:gt},De),{},{options:Z(je)})}).filter(function(ut){return ut})}var Y=e("2Qr1"),_=e("qNPg"),Q=e("U8pU"),X=e("Kwbf"),pe=e("WKfj");function te($e){var bt=$e.mode,ut=$e.options,At=$e.children,Ve=$e.backfill,gt=$e.allowClear,Je=$e.placeholder,je=$e.getInputElement,De=$e.showSearch,ht=$e.onSearch,It=$e.defaultOpen,kt=$e.autoFocus,Ht=$e.labelInValue,Wt=$e.value,nr=$e.inputValue,Bt=$e.optionLabelProp,Kt=bt==="multiple"||bt==="tags",Ge=De!==void 0?De:Kt||bt==="combobox",qe=ut||Z(At);if(Object(X.a)(bt!=="tags"||qe.every(function(se){return!se.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),bt==="tags"||bt==="combobox"){var st=qe.some(function(se){return se.options?se.options.some(function(me){return typeof("value"in me?me.value:me.key)=="number"}):typeof("value"in se?se.value:se.key)=="number"});Object(X.a)(!st,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(X.a)(bt!=="combobox"||!Bt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(X.a)(bt==="combobox"||!Ve,"`backfill` only works with `combobox` mode."),Object(X.a)(bt==="combobox"||!je,"`getInputElement` only work with `combobox` mode."),Object(X.b)(bt!=="combobox"||!je||!gt||!Je,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ht&&!Ge&&bt!=="combobox"&&bt!=="tags"&&Object(X.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(X.b)(!It||kt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Wt!=null){var ft=Object(pe.d)(Wt);Object(X.a)(!Ht||ft.every(function(se){return Object(Q.a)(se)==="object"&&("key"in se||"value"in se)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(X.a)(!Kt||Array.isArray(Wt),"`value` should be array when `mode` is `multiple` or `tags`")}if(At){var nt=null;Object(H.a)(At).some(function(se){if(!n.isValidElement(se)||!se.type)return!1;var me=se.type;if(me.isSelectOption)return!1;if(me.isSelectOptGroup){var lt=Object(H.a)(se.props.children).every(function(Pe){return!n.isValidElement(Pe)||!se.type||Pe.type.isSelectOption?!0:(nt=Pe.type,!1)});return!lt}return nt=me,!0}),nt&&Object(X.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(nt.displayName||nt.name||nt,"`.")),Object(X.a)(nr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var fe=te,be=Object(_.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:Z,flattenOptions:Y.d,getLabeledValue:Y.e,filterOptions:Y.b,isValueDisabled:Y.g,findValueOption:Y.c,warningProps:fe,fillOptionsWithMissingValue:Y.a}),Se=function($e){Object(v.a)(ut,$e);var bt=Object(y.a)(ut);function ut(){var At;return Object(a.a)(this,ut),At=bt.apply(this,arguments),At.selectRef=n.createRef(),At.focus=function(){At.selectRef.current.focus()},At.blur=function(){At.selectRef.current.blur()},At}return Object(h.a)(ut,[{key:"render",value:function(){return n.createElement(be,Object.assign({ref:this.selectRef},this.props))}}]),ut}(n.Component);Se.Option=M,Se.OptGroup=P;var ze=Se,Xe=ze,wt=e("H84U"),Be=e("1vzs"),Me=e("3Nzz"),vt=function($e){o()(ut,$e);var bt=l()(ut);function ut(){var At;return b()(this,ut),At=bt.apply(this,arguments),At.selectRef=n.createRef(),At.focus=function(){At.selectRef.current&&At.selectRef.current.focus()},At.blur=function(){At.selectRef.current&&At.selectRef.current.blur()},At.getMode=function(){var Ve=At.props.mode;return Ve==="combobox"?void 0:Ve===ut.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":Ve},At.renderSelect=function(Ve){var gt=Ve.getPopupContainer,Je=Ve.getPrefixCls,je=Ve.renderEmpty,De=Ve.direction,ht=Ve.virtual,It=Ve.dropdownMatchSelectWidth,kt=At.props,Ht=kt.prefixCls,Wt=kt.notFoundContent,nr=kt.className,Bt=kt.size,Kt=kt.listHeight,Ge=Kt===void 0?256:Kt,qe=kt.listItemHeight,st=qe===void 0?24:qe,ft=kt.getPopupContainer,nt=kt.dropdownClassName,se=kt.bordered,me=Je("select",Ht),lt=At.getMode(),Pe=lt==="multiple"||lt==="tags",St;Wt!==void 0?St=Wt:lt==="combobox"?St=null:St=je("Select");var Pr=Object(Be.a)(m()(m()({},At.props),{multiple:Pe,prefixCls:me})),Lt=Pr.suffixIcon,ur=Pr.itemIcon,Xt=Pr.removeIcon,Zt=Pr.clearIcon,mr=Object(d.default)(At.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),qt=u()(nt,E()({},"".concat(me,"-dropdown-").concat(De),De==="rtl"));return n.createElement(Me.b.Consumer,null,function(de){var ue,oe=Bt||de,ae=u()(nr,(ue={},E()(ue,"".concat(me,"-lg"),oe==="large"),E()(ue,"".concat(me,"-sm"),oe==="small"),E()(ue,"".concat(me,"-rtl"),De==="rtl"),E()(ue,"".concat(me,"-borderless"),!se),ue));return n.createElement(Xe,m()({ref:At.selectRef,virtual:ht,dropdownMatchSelectWidth:It},mr,{listHeight:Ge,listItemHeight:st,mode:lt,prefixCls:me,direction:De,inputIcon:Lt,menuItemSelectedIcon:ur,removeIcon:Xt,clearIcon:Zt,notFoundContent:St,className:ae,getPopupContainer:ft||gt,dropdownClassName:qt}))})},At}return i()(ut,[{key:"render",value:function(){return n.createElement(wt.a,null,this.renderSelect)}}]),ut}(n.Component);vt.Option=M,vt.OptGroup=P,vt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",vt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var at=F.a=vt},"2fw6":function(J,F,e){var c=e("y+Vt"),E=c.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,A,b){b&&m.moveTo(A.cx+A.r,A.cy),m.arc(A.cx,A.cy,A.r,0,Math.PI*2,!0)}});J.exports=E},"2gN3":function(J,F,e){var c=e("Kz5y"),E=c["__core-js_shared__"];J.exports=E},"2jpz":function(J,F,e){"use strict";e.d(F,"a",function(){return h});var c=e("cDf5"),E=e.n(c),g=e("q1tI"),m=e.n(g),A=e("TSYQ"),b=e.n(A),f=e("gZBC"),i=e.n(f),r=e("vk+C"),o=e.n(r),s=e("pG52"),l=e.n(s),n=e("Csr3"),d=e.n(n),t=e("e5VY"),u=e.n(t),a=e("0n0R");function h(v,y,O,S){var x=S.isLeaf,L=S.expanded,T=S.loading;if(T)return g.createElement(i.a,{className:"".concat(v,"-switcher-loading-icon")});var w;if(O&&E()(O)==="object"&&(w=O.showLeafIcon),x)return O?E()(O)==="object"&&!w?g.createElement("span",{className:"".concat(v,"-switcher-leaf-line")}):g.createElement(o.a,{className:"".concat(v,"-switcher-line-icon")}):null;var C="".concat(v,"-switcher-icon");return Object(a.b)(y)?Object(a.a)(y,{className:b()(y.props.className||"",C)}):y||(O?L?g.createElement(l.a,{className:"".concat(v,"-switcher-line-icon")}):g.createElement(d.a,{className:"".concat(v,"-switcher-line-icon")}):g.createElement(u.a,{className:C}))}},"2oIt":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var c={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"};F.default=c},"2uGb":function(J,F,e){var c=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var E=e("kMLO"),g=e("nKiI");c.registerVisual(E),c.registerLayout(g)},"2w7y":function(J,F,e){var c=e("ProS");e("qMZE"),e("g0SD"),c.registerPreprocessor(function(E){E.markPoint=E.markPoint||{}})},"33Ds":function(J,F,e){var c=e("ProS"),E=e("b9oc"),g=e("Kagy"),m=e("IUWy"),A=g.toolbox.restore;function b(r){this.model=r}b.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:A.title};var f=b.prototype;f.onclick=function(r,o,s){E.clear(r),o.dispatchAction({type:"restore",from:this.uid})},m.register("restore",b),c.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,o){o.resetOption("recreate")});var i=b;J.exports=i},"3A9y":function(J,F){function e(c){return this.__data__.has(c)}J.exports=e},"3C/r":function(J,F){var e=function(g,m){this.image=g,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(E){return E.createPattern(this.image,this.repeat||"repeat")};var c=e;J.exports=c},"3CBa":function(J,F,e){var c=e("hydK"),E=c.createElement,g=e("bYtY"),m=e("SUKs"),A=e("y+Vt"),b=e("Dagg"),f=e("dqUG"),i=e("DBLp"),r=e("sW+o"),o=e("n6Mw"),s=e("vKoX"),l=e("P47w"),n=l.path,d=l.image,t=l.text;function u(C){return parseInt(C,10)}function a(C){return C instanceof A?n:C instanceof b?d:C instanceof f?t:n}function h(C,N){return N&&C&&N.parentNode!==C}function v(C,N,D){if(h(C,N)&&D){var B=D.nextSibling;B?C.insertBefore(N,B):C.appendChild(N)}}function y(C,N){if(h(C,N)){var D=C.firstChild;D?C.insertBefore(N,D):C.appendChild(N)}}function O(C,N){N&&C&&N.parentNode===C&&C.removeChild(N)}function S(C){return C.__textSvgEl}function x(C){return C.__svgEl}var L=function(N,D,B,R){this.root=N,this.storage=D,this._opts=B=g.extend({},B||{});var U=E("svg");U.setAttribute("xmlns","http://www.w3.org/2000/svg"),U.setAttribute("version","1.1"),U.setAttribute("baseProfile","full"),U.style.cssText="user-select:none;position:absolute;left:0;top:0;";var M=E("g");U.appendChild(M);var j=E("g");U.appendChild(j),this.gradientManager=new r(R,j),this.clipPathManager=new o(R,j),this.shadowManager=new s(R,j);var P=document.createElement("div");P.style.cssText="overflow:hidden;position:relative",this._svgDom=U,this._svgRoot=j,this._backgroundRoot=M,this._viewport=P,N.appendChild(P),P.appendChild(U),this.resize(B.width,B.height),this._visibleList=[]};L.prototype={constructor:L,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var N=this.getViewportRoot();if(N)return{offsetLeft:N.offsetLeft||0,offsetTop:N.offsetTop||0}},refresh:function(){var N=this.storage.getDisplayList(!0);this._paintList(N)},setBackgroundColor:function(N){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var D=E("rect");D.setAttribute("width",this.getWidth()),D.setAttribute("height",this.getHeight()),D.setAttribute("x",0),D.setAttribute("y",0),D.setAttribute("id",0),D.style.fill=N,this._backgroundRoot.appendChild(D),this._backgroundNode=D},_paintList:function(N){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var D=this._svgRoot,B=this._visibleList,R=N.length,U=[],M;for(M=0;M=0;--j)if(M[j]===U)return!0;return!1}),B}else return null;else return B[0]},resize:function(N,D){var B=this._viewport;B.style.display="none";var R=this._opts;if(N!=null&&(R.width=N),D!=null&&(R.height=D),N=this._getSize(0),D=this._getSize(1),B.style.display="",this._width!==N||this._height!==D){this._width=N,this._height=D;var U=B.style;U.width=N+"px",U.height=D+"px";var M=this._svgDom;M.setAttribute("width",N),M.setAttribute("height",D)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",N),this._backgroundNode.setAttribute("height",D))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(N){var D=this._opts,B=["width","height"][N],R=["clientWidth","clientHeight"][N],U=["paddingLeft","paddingTop"][N],M=["paddingRight","paddingBottom"][N];if(D[B]!=null&&D[B]!=="auto")return parseFloat(D[B]);var j=this.root,P=document.defaultView.getComputedStyle(j);return(j[R]||u(P[B])||u(j.style[B]))-(u(P[U])||0)-(u(P[M])||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 N=encodeURIComponent(this._svgDom.outerHTML.replace(/> \r<`));return"data:image/svg+xml;charset=UTF-8,"+N}};function T(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}g.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){L.prototype[C]=T(C)});var w=L;J.exports=w},"3Fdi":function(J,F){var e=Function.prototype,c=e.toString;function E(g){if(g!=null){try{return c.call(g)}catch(m){}try{return g+""}catch(m){}}return""}J.exports=E},"3LNs":function(J,F,e){var c=e("bYtY"),E=e("Yl7c"),g=e("IwbS"),m=e("zTMp"),A=e("YH21"),b=e("iLNv"),f=e("4NO4"),i=f.makeInner,r=i(),o=c.clone,s=c.bind;function l(){}l.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(v,y,O,S){var x=y.get("value"),L=y.get("status");if(this._axisModel=v,this._axisPointerModel=y,this._api=O,!S&&this._lastValue===x&&this._lastStatus===L)return;this._lastValue=x,this._lastStatus=L;var T=this._group,w=this._handle;if(!L||L==="hide"){T&&T.hide(),w&&w.hide();return}T&&T.show(),w&&w.show();var C={};this.makeElOption(C,x,v,y,O);var N=C.graphicKey;N!==this._lastGraphicKey&&this.clear(O),this._lastGraphicKey=N;var D=this._moveAnimation=this.determineAnimation(v,y);if(!T)T=this._group=new g.Group,this.createPointerEl(T,C,v,y),this.createLabelEl(T,C,v,y),O.getZr().add(T);else{var B=c.curry(n,y,D);this.updatePointerEl(T,C,B,y),this.updateLabelEl(T,C,B,y)}a(T,y,!0),this._renderHandle(x)},remove:function(v){this.clear(v)},dispose:function(v){this.clear(v)},determineAnimation:function(v,y){var O=y.get("animation"),S=v.axis,x=S.type==="category",L=y.get("snap");if(!L&&!x)return!1;if(O==="auto"||O==null){var T=this.animationThreshold;if(x&&S.getBandWidth()>T)return!0;if(L){var w=m.getAxisInfo(v).seriesDataCount,C=S.getExtent();return Math.abs(C[0]-C[1])/w>T}return!1}return O===!0},makeElOption:function(v,y,O,S,x){},createPointerEl:function(v,y,O,S){var x=y.pointer;if(x){var L=r(v).pointerEl=new g[x.type](o(y.pointer));v.add(L)}},createLabelEl:function(v,y,O,S){if(y.label){var x=r(v).labelEl=new g.Rect(o(y.label));v.add(x),t(x,S)}},updatePointerEl:function(v,y,O){var S=r(v).pointerEl;S&&y.pointer&&(S.setStyle(y.pointer.style),O(S,{shape:y.pointer.shape}))},updateLabelEl:function(v,y,O,S){var x=r(v).labelEl;x&&(x.setStyle(y.label.style),O(x,{shape:y.label.shape,position:y.label.position}),t(x,S))},_renderHandle:function(v){if(this._dragging||!this.updateHandleTransform)return;var y=this._axisPointerModel,O=this._api.getZr(),S=this._handle,x=y.getModel("handle"),L=y.get("status");if(!x.get("show")||!L||L==="hide"){S&&O.remove(S),this._handle=null;return}var T;this._handle||(T=!0,S=this._handle=g.createIcon(x.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(N){A.stop(N.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),O.add(S)),a(S,y,!1);var w=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];S.setStyle(x.getItemStyle(null,w));var C=x.get("size");c.isArray(C)||(C=[C,C]),S.attr("scale",[C[0]/2,C[1]/2]),b.createOrUpdate(this,"_doDispatchAxisPointer",x.get("throttle")||0,"fixRate"),this._moveHandleToValue(v,T)},_moveHandleToValue:function(v,y){n(this._axisPointerModel,!y&&this._moveAnimation,this._handle,u(this.getHandleTransform(v,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(v,y){var O=this._handle;if(!O)return;this._dragging=!0;var S=this.updateHandleTransform(u(O),[v,y],this._axisModel,this._axisPointerModel);this._payloadInfo=S,O.stopAnimation(),O.attr(u(S)),r(O).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var v=this._handle;if(!v)return;var y=this._payloadInfo,O=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:y.cursorPoint[0],y:y.cursorPoint[1],tooltipOption:y.tooltipOption,axesInfo:[{axisDim:O.axis.dim,axisIndex:O.componentIndex}]})},_onHandleDragEnd:function(v){this._dragging=!1;var y=this._handle;if(!y)return;var O=this._axisPointerModel.get("value");this._moveHandleToValue(O),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(v){this._lastValue=null,this._lastStatus=null;var y=v.getZr(),O=this._group,S=this._handle;y&&O&&(this._lastGraphicKey=null,O&&y.remove(O),S&&y.remove(S),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(v,y,O){return O=O||0,{x:v[O],y:v[1-O],width:y[O],height:y[1-O]}}},l.prototype.constructor=l;function n(v,y,O,S){d(r(O).lastProp,S)||(r(O).lastProp=S,y?g.updateProps(O,S,v):(O.stopAnimation(),O.attr(S)))}function d(v,y){if(c.isObject(v)&&c.isObject(y)){var O=!0;return c.each(y,function(S,x){O=O&&d(v[x],S)}),!!O}else return v===y}function t(v,y){v[y.get("label.show")?"show":"hide"]()}function u(v){return{position:v.position.slice(),rotation:v.rotation||0}}function a(v,y,O){var S=y.get("z"),x=y.get("zlevel");v&&v.traverse(function(L){L.type!=="group"&&(S!=null&&(L.z=S),x!=null&&(L.zlevel=x),L.silent=O)})}E.enableClassExtend(l);var h=l;J.exports=h},"3OrL":function(J,F,e){var c=e("bYtY"),E=e("6Ic6"),g=e("IwbS"),m=e("y+Vt"),A=["itemStyle"],b=["emphasis","itemStyle"],f=E.extend({type:"boxplot",render:function(n,d,t){var u=n.getData(),a=this.group,h=this._data;this._data||a.removeAll();var v=n.get("layout")==="horizontal"?1:0;u.diff(h).add(function(y){if(u.hasValue(y)){var O=u.getItemLayout(y),S=r(O,u,y,v,!0);u.setItemGraphicEl(y,S),a.add(S)}}).update(function(y,O){var S=h.getItemGraphicEl(O);if(!u.hasValue(y)){a.remove(S);return}var x=u.getItemLayout(y);S?o(x,S,u,y):S=r(x,u,y,v),a.add(S),u.setItemGraphicEl(y,S)}).remove(function(y){var O=h.getItemGraphicEl(y);O&&a.remove(O)}).execute(),this._data=u},remove:function(n){var d=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(u){u&&d.remove(u)})},dispose:c.noop}),i=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,d){var t=d.points,u=0;for(n.moveTo(t[u][0],t[u][1]),u++;u<4;u++)n.lineTo(t[u][0],t[u][1]);for(n.closePath();u=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Y,X))continue;Q[X]=Y[X]}}return Q}function O(Y,_){if(Y==null)return{};var Q={},X=Object.keys(Y),pe,te;for(te=0;te=0)continue;Q[pe]=Y[pe]}return Q}var S=function(_,Q){var X=_.overlayClassName,pe=_.trigger,te=pe===void 0?["hover"]:pe,fe=_.mouseEnterDelay,be=fe===void 0?0:fe,Se=_.mouseLeaveDelay,ze=Se===void 0?.1:Se,Xe=_.overlayStyle,wt=_.prefixCls,Be=wt===void 0?"rc-tooltip":wt,Me=_.children,vt=_.onVisibleChange,at=_.afterVisibleChange,$e=_.transitionName,bt=_.animation,ut=_.placement,At=ut===void 0?"right":ut,Ve=_.align,gt=Ve===void 0?{}:Ve,Je=_.destroyTooltipOnHide,je=Je===void 0?!1:Je,De=_.defaultVisible,ht=_.getTooltipContainer,It=_.overlayInnerStyle,kt=y(_,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ht=Object(f.useRef)(null);Object(f.useImperativeHandle)(Q,function(){return Ht.current});var Wt=h({},kt);"visible"in _&&(Wt.popupVisible=_.visible);var nr=function(){var st=_.arrowContent,ft=st===void 0?null:st,nt=_.overlay,se=_.id;return[i.a.createElement("div",{className:"".concat(Be,"-arrow"),key:"arrow"},ft),i.a.createElement(t,{key:"content",prefixCls:Be,id:se,overlay:nt,overlayInnerStyle:It})]},Bt=!1,Kt=!1;if(typeof je=="boolean")Bt=je;else if(je&&u(je)==="object"){var Ge=je.keepParent;Bt=Ge===!0,Kt=Ge===!1}return i.a.createElement(r.a,Object.assign({popupClassName:X,prefixCls:Be,popup:nr,action:te,builtinPlacements:l,popupPlacement:At,ref:Ht,popupAlign:gt,getPopupContainer:ht,onPopupVisibleChange:vt,afterPopupVisibleChange:at,popupTransitionName:$e,popupAnimation:bt,defaultPopupVisible:De,destroyPopupOnHide:Bt,autoDestroy:Kt,mouseLeaveDelay:ze,popupStyle:Xe,mouseEnterDelay:be},Wt),Me)},x=Object(f.forwardRef)(S),L=x,T=e("TSYQ"),w=e.n(T),C={adjustX:1,adjustY:1},N={adjustX:0,adjustY:0},D=[0,0];function B(Y){return typeof Y=="boolean"?Y?C:N:b()(b()({},N),Y)}function R(Y){var _=Y.arrowWidth,Q=_===void 0?5:_,X=Y.horizontalArrowShift,pe=X===void 0?16:X,te=Y.verticalArrowShift,fe=te===void 0?8:te,be=Y.autoAdjustOverflow,Se={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(pe+Q),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(fe+Q)]},topRight:{points:["br","tc"],offset:[pe+Q,-4]},rightTop:{points:["tl","cr"],offset:[4,-(fe+Q)]},bottomRight:{points:["tr","bc"],offset:[pe+Q,4]},rightBottom:{points:["bl","cr"],offset:[4,fe+Q]},bottomLeft:{points:["tl","bc"],offset:[-(pe+Q),4]},leftBottom:{points:["br","cl"],offset:[-4,fe+Q]}};return Object.keys(Se).forEach(function(ze){Se[ze]=Y.arrowPointAtCenter?b()(b()({},Se[ze]),{overflow:B(be),targetOffset:D}):b()(b()({},l[ze]),{overflow:B(be)}),Se[ze].ignoreShake=!0}),Se}var U=e("0n0R"),M=e("H84U"),j=e("09Wf"),P=function(_,Q){var X={},pe=b()({},_);return Q.forEach(function(te){_&&te in _&&(X[te]=_[te],delete pe[te])}),{picked:X,omitted:pe}},V=new RegExp("^(".concat(j.a.join("|"),")(-inverse)?$"));function H(Y,_){var Q=Y.type;if((Q.__ANT_BUTTON===!0||Q.__ANT_SWITCH===!0||Q.__ANT_CHECKBOX===!0||Y.type==="button")&&Y.props.disabled){var X=P(Y.props.style,["position","left","right","top","bottom","float","display","zIndex"]),pe=X.picked,te=X.omitted,fe=b()(b()({display:"inline-block"},pe),{cursor:"not-allowed",width:Y.props.block?"100%":null}),be=b()(b()({},te),{pointerEvents:"none"}),Se=Object(U.a)(Y,{style:be,className:null});return f.createElement("span",{style:fe,className:w()(Y.props.className,"".concat(_,"-disabled-compatible-wrapper"))},Se)}return Y}var k=f.forwardRef(function(Y,_){var Q,X=f.useContext(M.b),pe=X.getPopupContainer,te=X.getPrefixCls,fe=X.direction,be=f.useState(!!Y.visible||!!Y.defaultVisible),Se=m()(be,2),ze=Se[0],Xe=Se[1];f.useEffect(function(){"visible"in Y&&Xe(Y.visible)},[Y.visible]);var wt=function(){var Ge=Y.title,qe=Y.overlay;return!Ge&&!qe&&Ge!==0},Be=function(Ge){"visible"in Y||Xe(wt()?!1:Ge),Y.onVisibleChange&&!wt()&&Y.onVisibleChange(Ge)},Me=function(){var Ge=Y.builtinPlacements,qe=Y.arrowPointAtCenter,st=Y.autoAdjustOverflow;return Ge||R({arrowPointAtCenter:qe,autoAdjustOverflow:st})},vt=function(Ge,qe){var st=Me(),ft=Object.keys(st).filter(function(me){return st[me].points[0]===qe.points[0]&&st[me].points[1]===qe.points[1]})[0];if(!ft)return;var nt=Ge.getBoundingClientRect(),se={top:"50%",left:"50%"};ft.indexOf("top")>=0||ft.indexOf("Bottom")>=0?se.top="".concat(nt.height-qe.offset[1],"px"):(ft.indexOf("Top")>=0||ft.indexOf("bottom")>=0)&&(se.top="".concat(-qe.offset[1],"px")),ft.indexOf("left")>=0||ft.indexOf("Right")>=0?se.left="".concat(nt.width-qe.offset[0],"px"):(ft.indexOf("right")>=0||ft.indexOf("Left")>=0)&&(se.left="".concat(-qe.offset[0],"px")),Ge.style.transformOrigin="".concat(se.left," ").concat(se.top)},at=function(){var Ge=Y.title,qe=Y.overlay;return Ge===0?Ge:qe||Ge||""},$e=Y.prefixCls,bt=Y.openClassName,ut=Y.getPopupContainer,At=Y.getTooltipContainer,Ve=Y.overlayClassName,gt=Y.color,Je=Y.overlayInnerStyle,je=Y.children,De=te("tooltip",$e),ht=ze;!("visible"in Y)&&wt()&&(ht=!1);var It=H(Object(U.b)(je)?je:f.createElement("span",null,je),De),kt=It.props,Ht=w()(kt.className,E()({},bt||"".concat(De,"-open"),!0)),Wt=w()(Ve,(Q={},E()(Q,"".concat(De,"-rtl"),fe==="rtl"),E()(Q,"".concat(De,"-").concat(gt),gt&&V.test(gt)),Q)),nr,Bt;return gt&&!V.test(gt)&&(nr=b()(b()({},Je),{background:gt}),Bt={background:gt}),f.createElement(L,b()({},Y,{prefixCls:De,overlayClassName:Wt,getTooltipContainer:ut||At||pe,ref:_,builtinPlacements:Me(),overlay:at(),visible:ht,onVisibleChange:Be,onPopupAlign:vt,overlayInnerStyle:nr,arrowContent:f.createElement("span",{className:"".concat(De,"-arrow-content"),style:Bt})}),ht?Object(U.a)(It,{className:Ht}):It)});k.displayName="Tooltip",k.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Z=F.a=k},"3TkU":function(J,F,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(J,F,e){var c=e("bYtY"),E=e("7a+S"),g=e("OKJ2"),m=E.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:[]}});c.mixin(m,g);var A=m;J.exports=A},"3e3G":function(J,F,e){var c=e("bYtY"),E=e("QuXc"),g=function(b,f,i,r,o){this.x=b==null?.5:b,this.y=f==null?.5:f,this.r=i==null?.5:i,this.type="radial",this.global=o||!1,E.call(this,r)};g.prototype={constructor:g},c.inherits(g,E);var m=g;J.exports=m},"3gBT":function(J,F){var e=2311;function c(){return e++}J.exports=c},"3hzK":function(J,F){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")}}};J.exports=e},"3m61":function(J,F){function e(E){return E instanceof Array||(E=[E,E]),E}function c(E){E.eachSeriesByType("graph",function(g){var m=g.getGraph(),A=g.getEdgeData(),b=e(g.get("edgeSymbol")),f=e(g.get("edgeSymbolSize")),i="lineStyle.color".split("."),r="lineStyle.opacity".split(".");A.setVisual("fromSymbol",b&&b[0]),A.setVisual("toSymbol",b&&b[1]),A.setVisual("fromSymbolSize",f&&f[0]),A.setVisual("toSymbolSize",f&&f[1]),A.setVisual("color",g.get(i)),A.setVisual("opacity",g.get(r)),A.each(function(o){var s=A.getItemModel(o),l=m.getEdgeByIndex(o),n=e(s.getShallow("symbol",!0)),d=e(s.getShallow("symbolSize",!0)),t=s.get(i),u=s.get(r);switch(t){case"source":t=l.node1.getVisual("color");break;case"target":t=l.node2.getVisual("color");break}n[0]&&l.setVisual("fromSymbol",n[0]),n[1]&&l.setVisual("toSymbol",n[1]),d[0]&&l.setVisual("fromSymbolSize",d[0]),d[1]&&l.setVisual("toSymbolSize",d[1]),l.setVisual("color",t),l.setVisual("opacity",u)})})}J.exports=c},"3zoK":function(J,F,e){var c=e("bYtY"),E=e("bLfw"),g=e("KCsZ"),m=e("nkfE"),A=e("OELB"),b=e("ICMv"),f=E.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return g([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var l=this.activeIntervals=c.clone(s);if(l)for(var n=l.length-1;n>=0;n--)A.asc(l[n])},getActiveState:function(s){var l=this.activeIntervals;if(!l.length)return"normal";if(s==null||isNaN(s))return"inactive";if(l.length===1){var n=l[0];if(n[0]<=s&&s<=n[1])return"active"}else for(var d=0,t=l.length;d40&&(R=Math.max(1,Math.floor(B/40)));for(var U=D[0],M=L.dataToCoord(U+1)-L.dataToCoord(U),j=Math.abs(M*Math.cos(C)),P=Math.abs(M*Math.sin(C)),V=0,H=0;U<=D[1];U+=R){var k=0,Z=0,Y=E.getBoundingRect(w(U),T.font,"center","top");k=Y.width*1.3,Z=Y.height*1.3,V=Math.max(V,k,7),H=Math.max(H,Z,7)}var _=V/j,Q=H/P;isNaN(_)&&(_=Infinity),isNaN(Q)&&(Q=Infinity);var X=Math.max(0,Math.floor(Math.min(_,Q))),pe=r(L.model),te=L.getExtent(),fe=pe.lastAutoInterval,be=pe.lastTickCount;return fe!=null&&be!=null&&Math.abs(fe-X)<=1&&Math.abs(be-B)<=1&&fe>X&&pe.axisExtend0===te[0]&&pe.axisExtend1===te[1]?X=fe:(pe.lastTickCount=B,pe.lastAutoInterval=X,pe.axisExtend0=te[0],pe.axisExtend1=te[1]),X}function O(L){var T=L.getLabelModel();return{axisRotate:L.getRotate?L.getRotate():L.isHorizontal&&!L.isHorizontal()?90:0,labelRotate:T.get("rotate")||0,font:T.getFont()}}function S(L,T,w){var C=b(L),N=L.scale,D=N.getExtent(),B=L.getLabelModel(),R=[],U=Math.max((T||0)+1,1),M=D[0],j=N.count();M!==0&&U>1&&j/U>2&&(M=Math.round(Math.ceil(M/U)*U));var P=i(L),V=B.get("showMinLabel")||P,H=B.get("showMaxLabel")||P;V&&M!==D[0]&&Z(D[0]);for(var k=M;k<=D[1];k+=U)Z(k);H&&k-U!==D[1]&&Z(D[1]);function Z(Y){R.push(w?Y:{formattedLabel:C(Y),rawLabel:N.getLabel(Y),tickValue:Y})}return R}function x(L,T,w){var C=L.scale,N=b(L),D=[];return c.each(C.getTicks(),function(B){var R=C.getLabel(B);T(B,R)&&D.push(w?B:{formattedLabel:N(B),rawLabel:R,tickValue:B})}),D}F.createAxisLabels=o,F.createAxisTicks=s,F.calculateCategoryInterval=y},"4NO4":function(J,F,e){var c=e("bYtY"),E=e("ItGF"),g=c.each,m=c.isObject,A=c.isArray,b="series\0";function f(w){return w instanceof Array?w:w==null?[]:[w]}function i(w,C,N){if(w){w[C]=w[C]||{},w.emphasis=w.emphasis||{},w.emphasis[C]=w.emphasis[C]||{};for(var D=0,B=N.length;D=N.length&&N.push({option:D})}),N}function n(w){var C=c.createHashMap();g(w,function(N,D){var B=N.exist;B&&C.set(B.id,N)}),g(w,function(N,D){var B=N.option;c.assert(!B||B.id==null||!C.get(B.id)||C.get(B.id)===N,"id duplicates: "+(B&&B.id)),B&&B.id!=null&&C.set(B.id,N),!N.keyInfo&&(N.keyInfo={})}),g(w,function(N,D){var B=N.exist,R=N.option,U=N.keyInfo;if(!m(R))return;if(U.name=R.name!=null?R.name+"":B?B.name:b+D,B)U.id=B.id;else if(R.id!=null)U.id=R.id+"";else{var M=0;do U.id="\0"+U.name+"\0"+M++;while(C.get(U.id))}C.set(U.id,N)})}function d(w){var C=w.name;return!!(C&&C.indexOf(b))}function t(w){return m(w)&&w.id&&(w.id+"").indexOf("\0_ec_\0")===0}function u(w,C){var N={},D={};return B(w||[],N),B(C||[],D,N),[R(N),R(D)];function B(U,M,j){for(var P=0,V=U.length;P=A[0]&&m<=A[1]},E.prototype.normalize=function(m){var A=this._extent;return A[1]===A[0]?.5:(m-A[0])/(A[1]-A[0])},E.prototype.scale=function(m){var A=this._extent;return m*(A[1]-A[0])+A[0]},E.prototype.unionExtent=function(m){var A=this._extent;m[0]A[1]&&(A[1]=m[1])},E.prototype.unionExtentFromData=function(m,A){this.unionExtent(m.getApproximateExtent(A))},E.prototype.getExtent=function(){return this._extent.slice()},E.prototype.setExtent=function(m,A){var b=this._extent;isNaN(m)||(b[0]=m),isNaN(A)||(b[1]=A)},E.prototype.isBlank=function(){return this._isBlank},E.prototype.setBlank=function(m){this._isBlank=m},E.prototype.getLabel=null,c.enableClassExtend(E),c.enableClassManagement(E,{registerWhenExtend:!0});var g=E;J.exports=g},"4fz+":function(J,F,e){var c=e("bYtY"),E=e("1bdT"),g=e("mFDi"),m=function(f){f=f||{},E.call(this,f);for(var i in f)f.hasOwnProperty(i)&&(this[i]=f[i]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(f){return this._children[f]},childOfName:function(f){for(var i=this._children,r=0;r=0&&(r.splice(o,0,f),this._doAdd(f))}return this},_doAdd:function(f){f.parent&&f.parent.remove(f),f.parent=this;var i=this.__storage,r=this.__zr;i&&i!==f.__storage&&(i.addToStorage(f),f instanceof m&&f.addChildrenToStorage(i)),r&&r.refresh()},remove:function(f){var i=this.__zr,r=this.__storage,o=this._children,s=c.indexOf(o,f);return s<0?this:(o.splice(s,1),f.parent=null,r&&(r.delFromStorage(f),f instanceof m&&f.delChildrenFromStorage(r)),i&&i.refresh(),this)},removeAll:function(){var f=this._children,i=this.__storage,r,o;for(o=0;o1e-4){T[0]=h-y,T[1]=v-O,w[0]=h+y,w[1]=v+O;return}if(i[0]=b(S)*y+h,i[1]=A(S)*O+v,r[0]=b(x)*y+h,r[1]=A(x)*O+v,C(T,i,r),N(w,i,r),S=S%f,S<0&&(S=S+f),x=x%f,x<0&&(x=x+f),S>x&&!L?x+=f:SS&&(o[0]=b(R)*y+h,o[1]=A(R)*O+v,C(T,o,T),N(w,o,w))}F.fromPoints=s,F.fromLine=l,F.fromCubic=t,F.fromQuadratic=u,F.fromArc=a},"4vCz":function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("X2/X")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="PlusSquareOutlined";var f=g.forwardRef(b);F.default=f},"4xFK":function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var c={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"};F.default=c},"56rv":function(J,F,e){var c=e("IwbS"),E=e("x3X8"),g=E.getDefaultLabel;function m(b,f,i,r,o,s,l){var n=i.getModel("label"),d=i.getModel("emphasis.label");c.setLabelStyle(b,f,n,d,{labelFetcher:o,labelDataIndex:s,defaultText:g(o.getData(),s),isRectText:!0,autoColor:r}),A(b),A(f)}function A(b,f){b.textPosition==="outside"&&(b.textPosition=f)}F.setLabel=m},"59Ip":function(J,F,e){var c=e("Sj9i");function E(g,m,A,b,f,i,r,o,s,l,n){if(s===0)return!1;var d=s;if(n>m+d&&n>b+d&&n>i+d&&n>o+d||ng+d&&l>A+d&&l>f+d&&l>r+d||li)return f[o];return f[r-1]}var b={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(f,i,r){i=i||this;var o=m(i),s=o.colorIdx||0,l=o.colorNameMap=o.colorNameMap||{};if(l.hasOwnProperty(f))return l[f];var n=g(this.get("color",!0)),d=this.get("colorLayer",!0),t=r==null||!d?n:A(d,r);if(t=t||n,!t||!t.length)return;var u=t[s];return f&&(l[f]=u),o.colorIdx=(s+1)%t.length,u}};J.exports=b},"5NDa":function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("OnYD"),m=e.n(g),A=e("+L6B")},"5NHt":function(J,F,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(J,F,e){"use strict";var c=e("J4zp"),E=e.n(c),g=e("q1tI"),m=e.n(g),A=e("ACnJ");function b(){var f=Object(g.useState)({}),i=E()(f,2),r=i[0],o=i[1];return Object(g.useEffect)(function(){var s=A.a.subscribe(function(l){o(l)});return function(){return A.a.unsubscribe(s)}},[]),r}F.a=b},"5RHE":function(J,F,e){(function(c){var E,g,g;!function(m){!(E=m,g=typeof E=="function"?E.call(F,e,F,J):E,g!==void 0&&(J.exports=g))}(function(){"use strict";/** @license * jsPDF - PDF Document creation from JavaScript * Version 1.5.3 Built on 2018-12-27T14:11:42.696Z * CommitID d93d28db14 * * Copyright (c) 2010-2016 James Hall , https://github.com/MrRio/jsPDF * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, willow-systems.com * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * Licensed under the MIT License * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */function m(de){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ue){return typeof ue}:function(ue){return ue&&typeof Symbol=="function"&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue})(de)}!function(de){if(m(de.console)!=="object"){de.console={};for(var ue,oe,ae=de.console,ye=function(){},Ce=["memory"],Oe="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(",");ue=Ce.pop();)ae[ue]||(ae[ue]={});for(;oe=Oe.pop();)ae[oe]||(ae[oe]=ye)}var Ie,xe,Ue,it,yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";de.btoa===void 0&&(de.btoa=function(ee){var ie,z,$,le,ge,Ae=0,Re=0,Qe="",Ft=[];if(!ee)return ee;for(;ie=(ge=ee.charCodeAt(Ae++)<<16|ee.charCodeAt(Ae++)<<8|ee.charCodeAt(Ae++))>>18&63,z=ge>>12&63,$=ge>>6&63,le=63&ge,Ft[Re++]=yt.charAt(ie)+yt.charAt(z)+yt.charAt($)+yt.charAt(le),Ae>16&255,z=Ae>>8&255,$=255&Ae,Ft[Qe++]=le==64?String.fromCharCode(ie):ge==64?String.fromCharCode(ie,z):String.fromCharCode(ie,z,$),Re>>0,$=new Array(z),le=1>>0,le=0;le<$;le++)le in z&&ee.call(ie,z[le],le,z)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(ie){if(this==null)throw new TypeError('"this" is null or not defined');var z=Object(this),$=z.length>>>0;if(typeof ie!="function")throw new TypeError("predicate must be a function");for(var le=arguments[1],ge=0;ge<$;){var Ae=z[ge];if(ie.call(le,Ae,ge,z))return Ae;ge++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Ie=Object.prototype.hasOwnProperty,xe=!{toString:null}.propertyIsEnumerable("toString"),it=(Ue=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ee){if(m(ee)!=="object"&&(typeof ee!="function"||ee===null))throw new TypeError;var ie,z,$=[];for(ie in ee)Ie.call(ee,ie)&&$.push(ie);if(xe)for(z=0;z>16&255,yr=wn>>8&255,Br=255&wn}if(yr===void 0||Rr===void 0&&ir===yr&&yr===Br)if(typeof ir=="string")Ut=ir+" "+rn[0];else switch(rt.precision){case 2:Ut=Ae(ir/255)+" "+rn[0];break;case 3:default:Ut=Re(ir/255)+" "+rn[0]}else if(Rr===void 0||m(Rr)==="object"){if(Rr&&!isNaN(Rr.a)&&Rr.a===0)return Ut=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof ir=="string")Ut=[ir,yr,Br,rn[1]].join(" ");else switch(rt.precision){case 2:Ut=[Ae(ir/255),Ae(yr/255),Ae(Br/255),rn[1]].join(" ");break;default:case 3:Ut=[Re(ir/255),Re(yr/255),Re(Br/255),rn[1]].join(" ")}}else if(typeof ir=="string")Ut=[ir,yr,Br,Rr,rn[2]].join(" ");else switch(rt.precision){case 2:Ut=[Ae(ir/255),Ae(yr/255),Ae(Br/255),Ae(Rr/255),rn[2]].join(" ");break;case 3:default:Ut=[Re(ir/255),Re(yr/255),Re(Br/255),Re(Rr/255),rn[2]].join(" ")}return Ut},ia=ee.__private__.getFilters=function(){return xe},xa=ee.__private__.putStream=function(rt){var Ut=(rt=rt||{}).data||"",ir=rt.filters||ia(),yr=rt.alreadyAppliedFilters||[],Br=rt.addLength1||!1,Rr=Ut.length,rn={};ir===!0&&(ir=["FlateEncode"]);var fn=rt.additionalKeyValues||[],wn=(rn=oe.API.processDataByFilters!==void 0?oe.API.processDataByFilters(Ut,ir):{data:Ut,reverseChain:[]}).reverseChain+(Array.isArray(yr)?yr.join(" "):yr.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Br===!0&&fn.push({key:"Length1",value:Rr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Rt("<<");for(var Hn=0;Hn>"),rn.data.length!==0&&(Rt("stream"),Rt(rn.data),Rt("endstream"))},ta=ee.__private__.putPage=function(rt){rt.mediaBox;var Ut=rt.number,ir=rt.data,yr=rt.objId,Br=rt.contentsObjId;Wn(yr,!0),cn[Ct].mediaBox.topRightX,cn[Ct].mediaBox.bottomLeftX,cn[Ct].mediaBox.topRightY,cn[Ct].mediaBox.bottomLeftY,Rt("<>"),Rt("endobj");var Rr=ir.join(` `);return Wn(Br,!0),xa({data:Rr,filters:ia()}),Rt("endobj"),yr},Ni=ee.__private__.putPages=function(){var rt,Ut,ir=[];for(rt=1;rt<=Xr;rt++)cn[rt].objId=Un(),cn[rt].contentsObjId=Un();for(rt=1;rt<=Xr;rt++)ir.push(ta({number:rt,data:Ze[rt],objId:cn[rt].objId,contentsObjId:cn[rt].contentsObjId,mediaBox:cn[rt].mediaBox,cropBox:cn[rt].cropBox,bleedBox:cn[rt].bleedBox,trimBox:cn[rt].trimBox,artBox:cn[rt].artBox,userUnit:cn[rt].userUnit,rootDictionaryObjId:Qn,resourceDictionaryObjId:Kn}));Wn(Qn,!0),Rt("<>"),Rt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Ut in dr)dr.hasOwnProperty(Ut)&&(it===!1||it===!0&&yt.hasOwnProperty(Ut))&&(ir=dr[Ut],jr.publish("putFont",{font:ir,out:Rt,newObject:gn,putStream:xa}),ir.isAlreadyPutted!==!0&&(ir.objectNumber=gn(),Rt("<<"),Rt("/Type /Font"),Rt("/BaseFont /"+ir.postScriptName),Rt("/Subtype /Type1"),typeof ir.encoding=="string"&&Rt("/Encoding /"+ir.encoding),Rt("/FirstChar 32"),Rt("/LastChar 255"),Rt(">>"),Rt("endobj")));var ir}(),jr.publish("putResources"),Wn(Kn,!0),Rt("<<"),function(){for(var Ut in Rt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Rt("/Font <<"),dr)dr.hasOwnProperty(Ut)&&(it===!1||it===!0&&yt.hasOwnProperty(Ut))&&Rt("/"+Ut+" "+dr[Ut].objectNumber+" 0 R");Rt(">>"),Rt("/XObject <<"),jr.publish("putXobjectDict"),Rt(">>")}(),Rt(">>"),Rt("endobj"),jr.publish("postPutResources")},Gn=function(Ut,ir,yr){Sr.hasOwnProperty(ir)||(Sr[ir]={}),Sr[ir][yr]=Ut},Ia=function(Ut,ir,yr,Br,Rr){Rr=Rr||!1;var rn="F"+(Object.keys(dr).length+1).toString(10),fn={id:rn,postScriptName:Ut,fontName:ir,fontStyle:yr,encoding:Br,isStandardFont:Rr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(dr[rn]=fn,Gn(rn,ir,yr)),rn},mn=ee.__private__.pdfEscape=ee.pdfEscape=function(rt,Ut){return function(ir,yr){var Br,Rr,rn,fn,wn,Hn,Sn,bn,Bn;if(rn=(yr=yr||{}).sourceEncoding||"Unicode",wn=yr.outputEncoding,(yr.autoencode||wn)&&dr[We].metadata&&dr[We].metadata[rn]&&dr[We].metadata[rn].encoding&&(fn=dr[We].metadata[rn].encoding,!wn&&dr[We].encoding&&(wn=dr[We].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Br=0,Rr=ir.length;Br>8&&(Sn=!0);ir=Hn.join("")}for(Br=ir.length;Sn===void 0&&Br!==0;)ir.charCodeAt(Br-1)>>8&&(Sn=!0),Br--;if(!Sn)return ir;for(Hn=yr.noBOM?[]:[254,255],Br=0,Rr=ir.length;Br>8)>>8)throw new Error("Character at position "+Br+" of string '"+ir+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Bn),Hn.push(bn-(Bn<<8))}return String.fromCharCode.apply(void 0,Hn)}(rt,Ut).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},In=ee.__private__.beginPage=function(rt,Ut){var ir,yr=typeof Ut=="string"&&Ut.toLowerCase();if(typeof rt=="string"&&(ir=le(rt.toLowerCase()))&&(rt=ir[0],Ut=ir[1]),Array.isArray(rt)&&(Ut=rt[1],rt=rt[0]),(isNaN(rt)||isNaN(Ut))&&(rt=Ce[0],Ut=Ce[1]),yr){switch(yr.substr(0,1)){case"l":rt>"),Rt("endobj")},Da=ee.__private__.putCatalog=function(rt){var Ut=(rt=rt||{}).rootDictionaryObjId||Qn;switch(gn(),Rt("<<"),Rt("/Type /Catalog"),Rt("/Pages "+Ut+" 0 R"),Jt||(Jt="fullwidth"),Jt){case"fullwidth":Rt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Rt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Rt("/OpenAction [3 0 R /Fit]");break;case"original":Rt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ir=""+Jt;ir.substr(ir.length-1)==="%"&&(Jt=parseInt(Jt)/100),typeof Jt=="number"&&Rt("/OpenAction [3 0 R /XYZ null null "+Ae(Jt)+"]")}switch(et||(et="continuous"),et){case"continuous":Rt("/PageLayout /OneColumn");break;case"single":Rt("/PageLayout /SinglePage");break;case"two":case"twoleft":Rt("/PageLayout /TwoColumnLeft");break;case"tworight":Rt("/PageLayout /TwoColumnRight")}ke&&Rt("/PageMode /"+ke),jr.publish("putCatalog"),Rt(">>"),Rt("endobj")},Xi=ee.__private__.putTrailer=function(){Rt("trailer"),Rt("<<"),Rt("/Size "+(fr+1)),Rt("/Root "+fr+" 0 R"),Rt("/Info "+(fr-1)+" 0 R"),Rt("/ID [ <"+Qe+"> <"+Qe+"> ]"),Rt(">>")},ma=ee.__private__.putHeader=function(){Rt("%PDF-"+ie),Rt("%\xBA\xDF\xAC\xE0")},_a=ee.__private__.putXRef=function(){var rt=1,Ut="0000000000";for(Rt("xref"),Rt("0 "+(fr+1)),Rt("0000000000 65535 f "),rt=1;rt<=fr;rt++)typeof or[rt]=="function"?Rt((Ut+or[rt]()).slice(-10)+" 00000 n "):or[rt]!==void 0?Rt((Ut+or[rt]).slice(-10)+" 00000 n "):Rt("0000000000 00000 n ")},Xa=ee.__private__.buildDocument=function(){He=!1,Vt=fr=0,ct=[],or=[],Dn=[],Qn=Un(),Kn=Un(),jr.publish("buildDocument"),ma(),Ni(),function(){jr.publish("putAdditionalObjects");for(var Ut=0;Ut',Rr=de.open();if(Rr!==null&&Rr.document.write(Br),Rr||typeof safari=="undefined")return Rr;case"datauri":case"dataurl":return de.document.location.href="data:application/pdf;filename="+ir.filename+";base64,"+btoa(yr);default:return null}}).foo=function(){try{return mt.apply(this,arguments)}catch(ir){var rt=ir.stack||"";~rt.indexOf(" at ")&&(rt=rt.split(" at ")[1]);var Ut="Error in function "+rt.split(` `)[0].split("<")[0]+": "+ir.message;if(!de.console)throw new Error(Ut);de.console.error(Ut,ir),de.alert&&alert(Ut)}},(mt.foo.bar=mt).foo),aa=function(Ut){return Array.isArray(Ln)===!0&&-1":")"),gi=1):(ya=Ur(Ut),ua=Vr(ir),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Di!==void 0&&Di[bi]!==void 0&&(Ua=Di[bi]+` Tw `),Mi.length!==0&&bi===0?rt.push(Ua+Mi.join(" ")+" "+ya.toFixed(2)+" "+ua.toFixed(2)+` Tm `+la):gi===1||gi===0&&bi===0?rt.push(Ua+ya.toFixed(2)+" "+ua.toFixed(2)+` Td `+la):rt.push(Ua+la);rt=gi===0?rt.join(` Tj T* `):rt.join(` Tj `),rt+=` Tj `;var Ba=`BT /`+We+" "+Or+` Tf `+(Or*Sn).toFixed(2)+` TL `+tr+` `;return Ba+=Hn,Ba+=rt,Rt(Ba+="ET"),yt[We]=!0,bn},ee.__private__.lstext=ee.lstext=function(rt,Ut,ir,yr){return console.warn("jsPDF.lstext is deprecated"),this.text(rt,Ut,ir,{charSpace:yr})},ee.__private__.clip=ee.clip=function(rt){Rt(rt==="evenodd"?"W*":"W"),Rt("n")},ee.__private__.clip_fixed=ee.clip_fixed=function(rt){console.log("clip_fixed is deprecated"),ee.clip(rt)};var mo=ee.__private__.isValidStyle=function(rt){var Ut=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(rt)!==-1&&(Ut=!0),Ut},Pn=ee.__private__.getStyle=function(rt){var Ut="S";return rt==="F"?Ut="f":rt==="FD"||rt==="DF"?Ut="B":rt!=="f"&&rt!=="f*"&&rt!=="B"&&rt!=="B*"||(Ut=rt),Ut};ee.__private__.line=ee.line=function(rt,Ut,ir,yr){if(isNaN(rt)||isNaN(Ut)||isNaN(ir)||isNaN(yr))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[ir-rt,yr-Ut]],rt,Ut)},ee.__private__.lines=ee.lines=function(rt,Ut,ir,yr,Br,Rr){var rn,fn,wn,Hn,Sn,bn,Bn,vn,Mn,En,Tn,Yn;if(typeof rt=="number"&&(Yn=ir,ir=Ut,Ut=rt,rt=Yn),yr=yr||[1,1],Rr=Rr||!1,isNaN(Ut)||isNaN(ir)||!Array.isArray(rt)||!Array.isArray(yr)||!mo(Br)||typeof Rr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Rt(Re(Ur(Ut))+" "+Re(Vr(ir))+" m "),rn=yr[0],fn=yr[1],Hn=rt.length,En=Ut,Tn=ir,wn=0;wn=Sr.length-1;if(ta&&!Ni){yn+=" ";continue}if(ta||Ni){if(Ni)Qn=xa;else if(sr.multiline&&cn<(Ln+2)*(on+2)+2)continue e}else{if(!sr.multiline)continue e;if(cn<(Ln+2)*(on+2)+2)continue e;Qn=xa}for(var Ci="",Gn=Jn;Gn<=Qn;Gn++)Ci+=Sr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Kn=Ft(Ci,sr,Xr).width,sr.textAlign){case"right":Un=Dn-Kn-2;break;case"center":Un=(Dn-Kn)/2;break;case"left":default:Un=2}fr+=Oe(Un)+" "+Oe(Wn)+` Td `,fr+="("+ye(Ci)+`) Tj `,fr+=-Oe(Un)+` 0 Td `,Wn=-(Xr+2),Kn=0,Jn=Qn+1,on++,yn=""}break}return dr.text=fr,dr.fontSize=Xr,dr},Ft=function(sr,fr,or){var dr=oe.internal.getFont(fr.fontName,fr.fontStyle),Sr=oe.getStringUnitWidth(sr,{font:dr,fontSize:parseFloat(or),charSpace:0})*parseFloat(or);return{height:oe.getStringUnitWidth("3",{font:dr,fontSize:parseFloat(or),charSpace:0})*parseFloat(or)*1.5,width:Sr}},Qt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Et=function(){oe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var sr=oe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var fr in sr)if(sr.hasOwnProperty(fr)){var or=sr[fr];or.objId=void 0,or.hasAnnotation&&Mt.call(oe,or)}},Mt=function(sr){var fr={type:"reference",object:sr};oe.internal.getPageInfo(sr.page).pageContext.annotations.find(function(or){return or.type===fr.type&&or.object===fr.object})===void 0&&oe.internal.getPageInfo(sr.page).pageContext.annotations.push(fr)},_t=function(){if(oe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");oe.internal.write("/AcroForm "+oe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},zt=function(){oe.internal.events.unsubscribe(oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,oe.internal.acroformPlugin.printedOut=!0},Ct=function(sr){var fr=!sr;sr||(oe.internal.newObjectDeferredBegin(oe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),oe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),sr=sr||oe.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var or in sr)if(sr.hasOwnProperty(or)){var dr=sr[or],Sr=[],Xr=dr.Rect;if(dr.Rect&&(dr.Rect=Ae.call(this,dr.Rect)),oe.internal.newObjectDeferredBegin(dr.objId,!0),dr.DA=Cr.createDefaultAppearanceStream(dr),m(dr)==="object"&&typeof dr.getKeyValueListForStream=="function"&&(Sr=dr.getKeyValueListForStream()),dr.Rect=Xr,dr.hasAppearanceStream&&!dr.appearanceStreamContent){var cn=Re.call(this,dr);Sr.push({key:"AP",value:"<>"}),oe.internal.acroformPlugin.xForms.push(cn)}if(dr.appearanceStreamContent){var Dn="";for(var jr in dr.appearanceStreamContent)if(dr.appearanceStreamContent.hasOwnProperty(jr)){var Ln=dr.appearanceStreamContent[jr];if(Dn+="/"+jr+" ",Dn+="<<",1<=Object.keys(Ln).length||Array.isArray(Ln))for(var or in Ln){var gn;Ln.hasOwnProperty(or)&&(typeof(gn=Ln[or])=="function"&&(gn=gn.call(this,dr)),Dn+="/"+or+" "+gn+" ",0<=oe.internal.acroformPlugin.xForms.indexOf(gn)||oe.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Ln)=="function"&&(gn=gn.call(this,dr)),Dn+="/"+or+" "+gn,0<=oe.internal.acroformPlugin.xForms.indexOf(gn)||oe.internal.acroformPlugin.xForms.push(gn);Dn+=">>"}Sr.push({key:"AP",value:`<< `+Dn+">>"})}oe.internal.putStream({additionalKeyValues:Sr}),oe.internal.out("endobj")}fr&&lr.call(this,oe.internal.acroformPlugin.xForms)},lr=function(sr){for(var fr in sr)if(sr.hasOwnProperty(fr)){var or=fr,dr=sr[fr];oe.internal.newObjectDeferredBegin(dr&&dr.objId,!0),m(dr)==="object"&&typeof dr.putStream=="function"&&dr.putStream(),delete sr[or]}},Jt=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(oe=this,dt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(Qt)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ae=oe.internal.scaleFactor,oe.internal.acroformPlugin.acroFormDictionaryRoot=new mt,oe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=oe.internal.events.subscribe("postPutResources",zt),oe.internal.events.subscribe("buildDocument",Et),oe.internal.events.subscribe("putCatalog",_t),oe.internal.events.subscribe("postPutPages",Ct),oe.internal.acroformPlugin.isInitialized=!0}},ke=de.__acroform__.arrayToPdfArray=function(Nr){if(Array.isArray(Nr)){for(var sr="[",fr=0;fr>"),Sr.join(` `)}},set:function(dr){m(dr)==="object"&&(fr=dr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(dr){typeof dr=="string"&&(fr.CA=dr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return sr},set:function(dr){sr=dr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return sr.substr(1,sr.length-1)},set:function(dr){sr="/"+dr}})};xe(Rt,dt);var hr=function(){Rt.call(this),this.pushButton=!0};xe(hr,Rt);var pr=function(){Rt.call(this),this.radio=!0,this.pushButton=!1;var sr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return sr},set:function(or){sr=or!==void 0?or:[]}})};xe(pr,Rt);var Er=function(){var sr,fr;dt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return sr},set:function(Xr){sr=Xr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return fr},set:function(Xr){fr=Xr}});var or,dr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Xr,cn=[];for(Xr in cn.push("<<"),dr)cn.push("/"+Xr+" ("+dr[Xr]+")");return cn.push(">>"),cn.join(` `)},set:function(Xr){m(Xr)==="object"&&(dr=Xr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return dr.CA||""},set:function(Xr){typeof Xr=="string"&&(dr.CA=Xr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return or},set:function(Xr){or=Xr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return or.substr(1,or.length-1)},set:function(Xr){or="/"+Xr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Cr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};xe(Er,dt),pr.prototype.setAppearance=function(Nr){if(!("createAppearanceStream"in Nr&&"getCA"in Nr))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var sr in this.Kids)if(this.Kids.hasOwnProperty(sr)){var fr=this.Kids[sr];fr.appearanceStreamContent=Nr.createAppearanceStream(fr.optionName),fr.caption=Nr.getCA()}},pr.prototype.createOption=function(Nr){this.Kids.length;var sr=new Er;return sr.Parent=this,sr.optionName=Nr,this.Kids.push(sr),Gr.call(this,sr),sr};var Or=function(){Rt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Cr.CheckBox.createAppearanceStream()};xe(Or,Rt);var en=function(){dt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,13))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,13):this.Ff=ge(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,21))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,21):this.Ff=ge(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,23))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,24))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,24):this.Ff=ge(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,25))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,25):this.Ff=ge(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,26))},set:function(or){Boolean(or)===!0?this.Ff=le(this.Ff,26):this.Ff=ge(this.Ff,26)}});var sr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return sr},set:function(or){sr=or}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return sr},set:function(or){Number.isInteger(or)&&(sr=or)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};xe(en,dt);var Qr=function(){en.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean($(this.Ff,14))},set:function(fr){Boolean(fr)===!0?this.Ff=le(this.Ff,14):this.Ff=ge(this.Ff,14)}}),this.password=!0};xe(Qr,en);var Cr={CheckBox:{createAppearanceStream:function(){return{N:{On:Cr.CheckBox.YesNormal},D:{On:Cr.CheckBox.YesPushDown,Off:Cr.CheckBox.OffPushDown}}},YesPushDown:function(sr){var fr=yt(sr),or=[],dr=oe.internal.getFont(sr.fontName,sr.fontStyle).id,Sr=oe.__private__.encodeColorString(sr.color),Xr=Qe(sr,sr.caption);return or.push("0.749023 g"),or.push("0 0 "+Oe(Cr.internal.getWidth(sr))+" "+Oe(Cr.internal.getHeight(sr))+" re"),or.push("f"),or.push("BMC"),or.push("q"),or.push("0 0 1 rg"),or.push("/"+dr+" "+Oe(Xr.fontSize)+" Tf "+Sr),or.push("BT"),or.push(Xr.text),or.push("ET"),or.push("Q"),or.push("EMC"),fr.stream=or.join(` `),fr},YesNormal:function(sr){var fr=yt(sr),or=oe.internal.getFont(sr.fontName,sr.fontStyle).id,dr=oe.__private__.encodeColorString(sr.color),Sr=[],Xr=Cr.internal.getHeight(sr),cn=Cr.internal.getWidth(sr),Dn=Qe(sr,sr.caption);return Sr.push("1 g"),Sr.push("0 0 "+Oe(cn)+" "+Oe(Xr)+" re"),Sr.push("f"),Sr.push("q"),Sr.push("0 0 1 rg"),Sr.push("0 0 "+Oe(cn-1)+" "+Oe(Xr-1)+" re"),Sr.push("W"),Sr.push("n"),Sr.push("0 g"),Sr.push("BT"),Sr.push("/"+or+" "+Oe(Dn.fontSize)+" Tf "+dr),Sr.push(Dn.text),Sr.push("ET"),Sr.push("Q"),fr.stream=Sr.join(` `),fr},OffPushDown:function(sr){var fr=yt(sr),or=[];return or.push("0.749023 g"),or.push("0 0 "+Oe(Cr.internal.getWidth(sr))+" "+Oe(Cr.internal.getHeight(sr))+" re"),or.push("f"),fr.stream=or.join(` `),fr}},RadioButton:{Circle:{createAppearanceStream:function(sr){var fr={D:{Off:Cr.RadioButton.Circle.OffPushDown},N:{}};return fr.N[sr]=Cr.RadioButton.Circle.YesNormal,fr.D[sr]=Cr.RadioButton.Circle.YesPushDown,fr},getCA:function(){return"l"},YesNormal:function(sr){var fr=yt(sr),or=[],dr=Cr.internal.getWidth(sr)<=Cr.internal.getHeight(sr)?Cr.internal.getWidth(sr)/4:Cr.internal.getHeight(sr)/4;dr=Number((.9*dr).toFixed(5));var Sr=Cr.internal.Bezier_C,Xr=Number((dr*Sr).toFixed(5));return or.push("q"),or.push("1 0 0 1 "+Ie(Cr.internal.getWidth(sr)/2)+" "+Ie(Cr.internal.getHeight(sr)/2)+" cm"),or.push(dr+" 0 m"),or.push(dr+" "+Xr+" "+Xr+" "+dr+" 0 "+dr+" c"),or.push("-"+Xr+" "+dr+" -"+dr+" "+Xr+" -"+dr+" 0 c"),or.push("-"+dr+" -"+Xr+" -"+Xr+" -"+dr+" 0 -"+dr+" c"),or.push(Xr+" -"+dr+" "+dr+" -"+Xr+" "+dr+" 0 c"),or.push("f"),or.push("Q"),fr.stream=or.join(` `),fr},YesPushDown:function(sr){var fr=yt(sr),or=[],dr=Cr.internal.getWidth(sr)<=Cr.internal.getHeight(sr)?Cr.internal.getWidth(sr)/4:Cr.internal.getHeight(sr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Xr=Number((Sr*Cr.internal.Bezier_C).toFixed(5)),cn=Number((dr*Cr.internal.Bezier_C).toFixed(5));return or.push("0.749023 g"),or.push("q"),or.push("1 0 0 1 "+Ie(Cr.internal.getWidth(sr)/2)+" "+Ie(Cr.internal.getHeight(sr)/2)+" cm"),or.push(Sr+" 0 m"),or.push(Sr+" "+Xr+" "+Xr+" "+Sr+" 0 "+Sr+" c"),or.push("-"+Xr+" "+Sr+" -"+Sr+" "+Xr+" -"+Sr+" 0 c"),or.push("-"+Sr+" -"+Xr+" -"+Xr+" -"+Sr+" 0 -"+Sr+" c"),or.push(Xr+" -"+Sr+" "+Sr+" -"+Xr+" "+Sr+" 0 c"),or.push("f"),or.push("Q"),or.push("0 g"),or.push("q"),or.push("1 0 0 1 "+Ie(Cr.internal.getWidth(sr)/2)+" "+Ie(Cr.internal.getHeight(sr)/2)+" cm"),or.push(dr+" 0 m"),or.push(dr+" "+cn+" "+cn+" "+dr+" 0 "+dr+" c"),or.push("-"+cn+" "+dr+" -"+dr+" "+cn+" -"+dr+" 0 c"),or.push("-"+dr+" -"+cn+" -"+cn+" -"+dr+" 0 -"+dr+" c"),or.push(cn+" -"+dr+" "+dr+" -"+cn+" "+dr+" 0 c"),or.push("f"),or.push("Q"),fr.stream=or.join(` `),fr},OffPushDown:function(sr){var fr=yt(sr),or=[],dr=Cr.internal.getWidth(sr)<=Cr.internal.getHeight(sr)?Cr.internal.getWidth(sr)/4:Cr.internal.getHeight(sr)/4,Sr=(dr=Number((.9*dr).toFixed(5)),Number((2*dr).toFixed(5))),Xr=Number((Sr*Cr.internal.Bezier_C).toFixed(5));return or.push("0.749023 g"),or.push("q"),or.push("1 0 0 1 "+Ie(Cr.internal.getWidth(sr)/2)+" "+Ie(Cr.internal.getHeight(sr)/2)+" cm"),or.push(Sr+" 0 m"),or.push(Sr+" "+Xr+" "+Xr+" "+Sr+" 0 "+Sr+" c"),or.push("-"+Xr+" "+Sr+" -"+Sr+" "+Xr+" -"+Sr+" 0 c"),or.push("-"+Sr+" -"+Xr+" -"+Xr+" -"+Sr+" 0 -"+Sr+" c"),or.push(Xr+" -"+Sr+" "+Sr+" -"+Xr+" "+Sr+" 0 c"),or.push("f"),or.push("Q"),fr.stream=or.join(` `),fr}},Cross:{createAppearanceStream:function(sr){var fr={D:{Off:Cr.RadioButton.Cross.OffPushDown},N:{}};return fr.N[sr]=Cr.RadioButton.Cross.YesNormal,fr.D[sr]=Cr.RadioButton.Cross.YesPushDown,fr},getCA:function(){return"8"},YesNormal:function(sr){var fr=yt(sr),or=[],dr=Cr.internal.calculateCross(sr);return or.push("q"),or.push("1 1 "+Oe(Cr.internal.getWidth(sr)-2)+" "+Oe(Cr.internal.getHeight(sr)-2)+" re"),or.push("W"),or.push("n"),or.push(Oe(dr.x1.x)+" "+Oe(dr.x1.y)+" m"),or.push(Oe(dr.x2.x)+" "+Oe(dr.x2.y)+" l"),or.push(Oe(dr.x4.x)+" "+Oe(dr.x4.y)+" m"),or.push(Oe(dr.x3.x)+" "+Oe(dr.x3.y)+" l"),or.push("s"),or.push("Q"),fr.stream=or.join(` `),fr},YesPushDown:function(sr){var fr=yt(sr),or=Cr.internal.calculateCross(sr),dr=[];return dr.push("0.749023 g"),dr.push("0 0 "+Oe(Cr.internal.getWidth(sr))+" "+Oe(Cr.internal.getHeight(sr))+" re"),dr.push("f"),dr.push("q"),dr.push("1 1 "+Oe(Cr.internal.getWidth(sr)-2)+" "+Oe(Cr.internal.getHeight(sr)-2)+" re"),dr.push("W"),dr.push("n"),dr.push(Oe(or.x1.x)+" "+Oe(or.x1.y)+" m"),dr.push(Oe(or.x2.x)+" "+Oe(or.x2.y)+" l"),dr.push(Oe(or.x4.x)+" "+Oe(or.x4.y)+" m"),dr.push(Oe(or.x3.x)+" "+Oe(or.x3.y)+" l"),dr.push("s"),dr.push("Q"),fr.stream=dr.join(` `),fr},OffPushDown:function(sr){var fr=yt(sr),or=[];return or.push("0.749023 g"),or.push("0 0 "+Oe(Cr.internal.getWidth(sr))+" "+Oe(Cr.internal.getHeight(sr))+" re"),or.push("f"),fr.stream=or.join(` `),fr}}},createDefaultAppearanceStream:function(sr){var fr=oe.internal.getFont(sr.fontName,sr.fontStyle).id,or=oe.__private__.encodeColorString(sr.color);return"/"+fr+" "+sr.fontSize+" Tf "+or}};Cr.internal={Bezier_C:.551915024494,calculateCross:function(sr){var fr=Cr.internal.getWidth(sr),or=Cr.internal.getHeight(sr),dr=Math.min(fr,or);return{x1:{x:(fr-dr)/2,y:(or-dr)/2+dr},x2:{x:(fr-dr)/2+dr,y:(or-dr)/2},x3:{x:(fr-dr)/2,y:(or-dr)/2},x4:{x:(fr-dr)/2+dr,y:(or-dr)/2+dr}}}},Cr.internal.getWidth=function(Nr){var sr=0;return m(Nr)==="object"&&(sr=Ue(Nr.Rect[2])),sr},Cr.internal.getHeight=function(Nr){var sr=0;return m(Nr)==="object"&&(sr=Ue(Nr.Rect[3])),sr};var Gr=de.addField=function(Nr){if(Jt.call(this),!(Nr instanceof dt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(sr){oe.internal.acroformPlugin.printedOut&&(oe.internal.acroformPlugin.printedOut=!1,oe.internal.acroformPlugin.acroFormDictionaryRoot=null),oe.internal.acroformPlugin.acroFormDictionaryRoot||Jt.call(oe),oe.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(sr)}.call(this,Nr),Nr.page=oe.internal.getCurrentPageInfo().pageNumber,this};de.addButton=function(Nr){if(Nr instanceof Rt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Gr.call(this,Nr)},de.addTextField=function(Nr){if(Nr instanceof en==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Gr.call(this,Nr)},de.addChoiceField=function(Nr){if(Nr instanceof He==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Gr.call(this,Nr)},m(ue)=="object"&&ue.ChoiceField===void 0&&ue.ListBox===void 0&&ue.ComboBox===void 0&&ue.EditBox===void 0&&ue.Button===void 0&&ue.PushButton===void 0&&ue.RadioButton===void 0&&ue.CheckBox===void 0&&ue.TextField===void 0&&ue.PasswordField===void 0?(ue.ChoiceField=He,ue.ListBox=Ze,ue.ComboBox=ct,ue.EditBox=Vt,ue.Button=Rt,ue.PushButton=hr,ue.RadioButton=pr,ue.CheckBox=Or,ue.TextField=en,ue.PasswordField=Qr,ue.AcroForm={Appearance:Cr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),de.AcroFormChoiceField=He,de.AcroFormListBox=Ze,de.AcroFormComboBox=ct,de.AcroFormEditBox=Vt,de.AcroFormButton=Rt,de.AcroFormPushButton=hr,de.AcroFormRadioButton=pr,de.AcroFormCheckBox=Or,de.AcroFormTextField=en,de.AcroFormPasswordField=Qr,de.AcroFormAppearance=Cr,de.AcroForm={ChoiceField:He,ListBox:Ze,ComboBox:ct,EditBox:Vt,Button:Rt,PushButton:hr,RadioButton:pr,CheckBox:Or,TextField:en,PasswordField:Qr,Appearance:Cr}})((window.tmp=kt).API,typeof window!="undefined"&&window||typeof c!="undefined"&&c),function(de){var ue="addImage_",oe={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]]},ae=de.getImageFileTypeByImageData=function(ee,ie){var z,$;ie=ie||"UNKNOWN";var le,ge,Ae,Re="UNKNOWN";for(Ae in de.isArrayBufferView(ee)&&(ee=de.arrayBufferToBinaryString(ee)),oe)for(le=oe[Ae],z=0;z>"}),"trns"in ie&&ie.trns.constructor==Array){for(var Re="",Qe=0,Ft=ie.trns.length;Qe>18]+$[(258048&ie)>>12]+$[(4032&ie)>>6]+$[63&ie];return Ae==1?z+=$[(252&(ie=le[Re]))>>2]+$[(3&ie)<<4]+"==":Ae==2&&(z+=$[(64512&(ie=le[Re]<<8|le[Re+1]))>>10]+$[(1008&ie)>>4]+$[(15&ie)<<2]+"="),z},de.createImageInfo=function(ee,ie,z,$,le,ge,Ae,Re,Qe,Ft,Qt,Et,Mt){var _t={alias:Re,w:ie,h:z,cs:$,bpc:le,i:Ae,data:ee};return ge&&(_t.f=ge),Qe&&(_t.dp=Qe),Ft&&(_t.trns=Ft),Qt&&(_t.pal=Qt),Et&&(_t.smask=Et),Mt&&(_t.p=Mt),_t},de.addImage=function(ee,ie,z,$,le,ge,Ae,Re,Qe){var Ft="";if(typeof ie!="string"){var Qt=ge;ge=le,le=$,$=z,z=ie,ie=Qt}if(m(ee)==="object"&&!xe(ee)&&"imageData"in ee){var Et=ee;ee=Et.imageData,ie=Et.format||ie||"UNKNOWN",z=Et.x||z||0,$=Et.y||$||0,le=Et.w||le,ge=Et.h||ge,Ae=Et.alias||Ae,Re=Et.compression||Re,Qe=Et.rotation||Et.angle||Qe}var Mt=this.internal.getFilters();if(Re===void 0&&Mt.indexOf("FlateEncode")!==-1&&(Re="SLOW"),typeof ee=="string"&&(ee=unescape(ee)),isNaN(z)||isNaN($))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var _t,zt,Ct,lr,Jt,ke,et,We=function(){var Ke=this.internal.collections[ue+"images"];return Ke||(this.internal.collections[ue+"images"]=Ke={},this.internal.events.subscribe("putResources",Ce),this.internal.events.subscribe("putXobjectDict",Oe)),Ke}.call(this);if(!((_t=it(ee,We))||(xe(ee)&&(ee=Ue(ee,ie)),((et=Ae)==null||et.length===0)&&(Ae=typeof(ke=ee)=="string"?de.sHashCode(ke):de.isArrayBufferView(ke)?de.sHashCode(de.arrayBufferToBinaryString(ke)):null),_t=it(Ae,We)))){if(this.isString(ee)&&((Ft=this.convertStringToImageData(ee))!==""||(Ft=de.loadFile(ee))!==void 0)&&(ee=Ft),ie=this.getImageFileTypeByImageData(ee,ie),!Ie(ie))throw new Error("addImage does not support files of type '"+ie+"', please ensure that a plugin for '"+ie+"' support is added.");if(this.supportsArrayBuffer()&&(ee instanceof Uint8Array||(zt=ee,ee=this.binaryStringToUint8Array(ee))),!(_t=this["process"+ie.toUpperCase()](ee,(Jt=0,(lr=We)&&(Jt=Object.keys?Object.keys(lr).length:function(Ke){var mt=0;for(var dt in Ke)Ke.hasOwnProperty(dt)&&mt++;return mt}(lr)),Jt),Ae,((Ct=Re)&&typeof Ct=="string"&&(Ct=Ct.toUpperCase()),Ct in de.image_compression?Ct:de.image_compression.NONE),zt)))throw new Error("An unknown error occurred whilst processing the image")}return function(Ke,mt,dt,He,Ze,ct,Vt,Rt){var hr=function(Gr,Nr,sr){return Gr||Nr||(Nr=Gr=-96),Gr<0&&(Gr=-1*sr.w*72/Gr/this.internal.scaleFactor),Nr<0&&(Nr=-1*sr.h*72/Nr/this.internal.scaleFactor),Gr===0&&(Gr=Nr*sr.w/sr.h),Nr===0&&(Nr=Gr*sr.h/sr.w),[Gr,Nr]}.call(this,dt,He,Ze),pr=this.internal.getCoordinateString,Er=this.internal.getVerticalCoordinateString;if(dt=hr[0],He=hr[1],Vt[ct]=Ze,Rt){Rt*=Math.PI/180;var Or=Math.cos(Rt),en=Math.sin(Rt),Qr=function(Nr){return Nr.toFixed(4)},Cr=[Qr(Or),Qr(en),Qr(-1*en),Qr(Or),0,0,"cm"]}this.internal.write("q"),Rt?(this.internal.write([1,"0","0",1,pr(Ke),Er(mt+He),"cm"].join(" ")),this.internal.write(Cr.join(" ")),this.internal.write([pr(dt),"0","0",pr(He),"0","0","cm"].join(" "))):this.internal.write([pr(dt),"0","0",pr(He),pr(Ke),Er(mt+He),"cm"].join(" ")),this.internal.write("/I"+Ze.i+" Do"),this.internal.write("Q")}.call(this,z,$,le,ge,_t,_t.i,We,Qe),this},de.convertStringToImageData=function(ee){var ie,z="";if(this.isString(ee)){var $;ie=($=this.extractImageFromDataUrl(ee))!==null?$.data:ee;try{z=atob(ie)}catch(le){throw de.validateStringAsBase64(ie)?new Error("atob-Error in jsPDF.convertStringToImageData "+le.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return z};var yt=function(ie,z){return ie.subarray(z,z+5)};de.processJPEG=function(ee,ie,z,$,le,ge){var Ae,Re=this.decode.DCT_DECODE;if(!this.isString(ee)&&!this.isArrayBuffer(ee)&&!this.isArrayBufferView(ee))return null;if(this.isString(ee)&&(Ae=function(Qe){var Ft;if(ae(Qe)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var Qt=256*Qe.charCodeAt(4)+Qe.charCodeAt(5),Et=4,Mt=Qe.length;Et>",Ue.content=le;var ee=Ue.objId+" 0 R";le="<>";else if(xe.options.pageNumber)switch(le="<>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ue+" 0 R")})}return this},b=kt.API,(f=function(){var ue=void 0;Object.defineProperty(this,"pdf",{get:function(){return ue},set:function(Ie){ue=Ie}});var oe=150;Object.defineProperty(this,"width",{get:function(){return oe},set:function(Ie){oe=isNaN(Ie)||Number.isInteger(Ie)===!1||Ie<0?150:Ie,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=oe+1)}});var ae=300;Object.defineProperty(this,"height",{get:function(){return ae},set:function(Ie){ae=isNaN(Ie)||Number.isInteger(Ie)===!1||Ie<0?300:Ie,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ae+1)}});var ye=[];Object.defineProperty(this,"childNodes",{get:function(){return ye},set:function(Ie){ye=Ie}});var Ce={};Object.defineProperty(this,"style",{get:function(){return Ce},set:function(Ie){Ce=Ie}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(de,ue){var oe;if((de=de||"2d")!=="2d")return null;for(oe in ue)this.pdf.context2d.hasOwnProperty(oe)&&(this.pdf.context2d[oe]=ue[oe]);return(this.pdf.context2d._canvas=this).pdf.context2d},f.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},b.events.push(["initialized",function(){this.canvas=new f,this.canvas.pdf=this}]),i=kt.API,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,l=function(ue,oe,ae,ye,Ce){o={x:ue,y:oe,w:ae,h:ye,ln:Ce}},n=function(){return o},d={left:0,top:0,bottom:0},i.setHeaderFunction=function(de){r=de},i.getTextDimensions=function(de,ue){var oe=this.table_font_size||this.internal.getFontSize(),ae=(this.internal.getFont().fontStyle,(ue=ue||{}).scaleFactor||this.internal.scaleFactor),ye=0,Ce=0,Oe=0;if(typeof de=="string")(ye=this.getStringUnitWidth(de)*oe)!=0&&(Ce=1);else{if(Object.prototype.toString.call(de)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Ie=0;Ie=this.internal.pageSize.getHeight()-Ue.bottom&&(this.cellAddPage(),xe=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ce,!0)),ue=n().y+n().h,xe&&(ue=23)}if(ye[0]!==void 0)if(this.printingHeaderRow?this.rect(de,ue,oe,ae,"FD"):this.rect(de,ue,oe,ae),Oe==="right"){ye instanceof Array||(ye=[ye]);for(var it=0;it=2*Math.PI&&(ct=0,Vt=2*Math.PI),this.path.push({type:"arc",x:dt,y:He,radius:Ze,startAngle:ct,endAngle:Vt,counterclockwise:Rt})},xe.prototype.arcTo=function(dt,He,Ze,ct,Vt){throw new Error("arcTo not implemented.")},xe.prototype.rect=function(dt,He,Ze,ct){if(isNaN(dt)||isNaN(He)||isNaN(Ze)||isNaN(ct))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(dt,He),this.lineTo(dt+Ze,He),this.lineTo(dt+Ze,He+ct),this.lineTo(dt,He+ct),this.lineTo(dt,He),this.lineTo(dt+Ze,He),this.lineTo(dt,He)},xe.prototype.fillRect=function(dt,He,Ze,ct){if(isNaN(dt)||isNaN(He)||isNaN(Ze)||isNaN(ct))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!it.call(this)){var Vt={};this.lineCap!=="butt"&&(Vt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Vt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(dt,He,Ze,ct),this.fill(),Vt.hasOwnProperty("lineCap")&&(this.lineCap=Vt.lineCap),Vt.hasOwnProperty("lineJoin")&&(this.lineJoin=Vt.lineJoin)}},xe.prototype.strokeRect=function(dt,He,Ze,ct){if(isNaN(dt)||isNaN(He)||isNaN(Ze)||isNaN(ct))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");yt.call(this)||(this.beginPath(),this.rect(dt,He,Ze,ct),this.stroke())},xe.prototype.clearRect=function(dt,He,Ze,ct){if(isNaN(dt)||isNaN(He)||isNaN(Ze)||isNaN(ct))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(dt,He,Ze,ct))},xe.prototype.save=function(dt){dt=typeof dt!="boolean"||dt;for(var He=this.pdf.internal.getCurrentPageInfo().pageNumber,Ze=0;Ze"},a=function(ue){var oe,ae,ye,Ce,Oe,Ie=String,xe="length",Ue="charCodeAt",it="slice",yt="replace";for(ue[it](-2),ue=ue[it](0,-2)[yt](/\s/g,"")[yt]("z","!!!!!"),ye=[],Ce=0,Oe=(ue+=oe="uuuuu"[it](ue[xe]%5||5))[xe];Ce>24,255&ae>>16,255&ae>>8,255&ae);return function(ee,ie){for(var z=oe[xe];0")!==-1&&(ue=ue.substr(0,ue.indexOf(">"))),ue.length%2&&(ue+="0"),oe.test(ue)===!1)return"";for(var ae="",ye=0;ye>8&255,ae>>16&255,ae>>24&255]),ue.length+2),ue=String.fromCharCode.apply(null,Ce)},t.processDataByFilters=function(de,ue){var oe=0,ae=de||"",ye=[];for(typeof(ue=ue||[])=="string"&&(ue=[ue]),oe=0;oe>"),this.internal.out("endobj"),N=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+D+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&N!==void 0&&this.internal.out("/Names <>")}),this},(B=kt.API).events.push(["postPutResources",function(){var de=this,ue=/^(\d+) 0 obj$/;if(0> endobj")}var yt=de.internal.newObject();for(de.internal.write("<< /Names [ "),ae=0;ae>","endobj"),de.internal.newObject(),de.internal.write("<< /Dests "+yt+" 0 R"),de.internal.write(">>","endobj")}}]),B.events.push(["putCatalog",function(){0> \r endobj\r `},de.outline.count_r=function(ue,oe){for(var ae=0;ae>>24&255,ie[ee++]=xe>>>16&255,ie[ee++]=xe>>>8&255,ie[ee++]=255&xe,R.arrayBufferToBinaryString(ie)},j=function(ue,oe){var ae=Math.LOG2E*Math.log(32768)-8<<4|8,ye=ae<<8;return ye|=Math.min(3,(oe-1&255)>>1)<<6,ye|=0,[ae,255&(ye+=31-ye%31)]},P=function(ue,oe){for(var ae,ye=1,Ce=0,Oe=ue.length,Ie=0;0>>0},V=function(ue,oe,ae,ye){for(var Ce,Oe,Ie,xe=ue.length/oe,Ue=new Uint8Array(ue.length+xe),it=X(),yt=0;yt>>1)&255;return Oe},_=function(ue,oe,ae){var ye,Ce,Oe,Ie,xe=[],Ue=0,it=ue.length;for(xe[0]=4;Ue>>z&255,z+=Ce.bits;ge[Re]=Ft>>>z&255}if(Ce.bits===16){$=(zt=new Uint32Array(Ce.decodePixels().buffer)).length,le=new Uint8Array($*(32/Ce.pixelBitlength)*Ce.colors),ge=new Uint8Array($*(32/Ce.pixelBitlength));for(var Ft,Qt=1>>0&255,Qt&&(le[Qe++]=Ft>>>16&255,Ft=zt[Re++],le[Qe++]=Ft>>>0&255),ge[Et++]=Ft>>>16&255;ie=8}ae!==R.image_compression.NONE&&U()?(de=M(le,Ce.width*Ce.colors,Ce.colors,ae),it=M(ge,Ce.width,1,ae)):(de=le,it=ge,ee=null)}if(Ce.colorType===3&&(yt=this.color_spaces.INDEXED,Ue=Ce.palette,Ce.transparency.indexed)){var Mt=Ce.transparency.indexed,_t=0;for(Re=0,$=Mt.length;Re<$;++Re)_t+=Mt[Re];if((_t/=255)==$-1&&Mt.indexOf(0)!==-1)Ie=[Mt.indexOf(0)];else if(_t!==$){var zt=Ce.decodePixels();for(ge=new Uint8Array(zt.length),Re=0,$=zt.length;Re<$;Re++)ge[Re]=Mt[zt[Re]];it=M(ge,Ce.width,1)}}var Ct=function(lr){var Jt;switch(lr){case R.image_compression.FAST:Jt=11;break;case R.image_compression.MEDIUM:Jt=13;break;case R.image_compression.SLOW:Jt=14;break;default:Jt=12}return Jt}(ae);return Oe=ee===this.decode.FLATE_DECODE?"/Predictor "+Ct+" /Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width:"/Colors "+xe+" /BitsPerComponent "+ie+" /Columns "+Ce.width,(this.isArrayBuffer(de)||this.isArrayBufferView(de))&&(de=this.arrayBufferToBinaryString(de)),(it&&this.isArrayBuffer(it)||this.isArrayBufferView(it))&&(it=this.arrayBufferToBinaryString(it)),this.createImageInfo(de,Ce.width,Ce.height,yt,ie,ee,ue,oe,Oe,Ie,Ue,it,Ct)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(fe=kt.API).processGIF89A=function(de,ue,oe,ae,ye){var Ce=new Lt(de),Oe=Ce.width,Ie=Ce.height,xe=[];Ce.decodeAndBlitFrameRGBA(0,xe);var Ue={data:xe,width:Oe,height:Ie},it=new Xt(100).encode(Ue,100);return fe.processJPEG.call(this,it,ue,oe,ae)},fe.processGIF87A=fe.processGIF89A,(be=kt.API).processBMP=function(de,ue,oe,ae,ye){var Ce=new Zt(de,!1),Oe=Ce.width,Ie=Ce.height,xe={data:Ce.getData(),width:Oe,height:Ie},Ue=new Xt(100).encode(xe,100);return be.processJPEG.call(this,Ue,ue,oe,ae)},kt.API.setLanguage=function(de){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"}[de]!==void 0&&(this.internal.languageSettings.languageCode=de,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},Se=kt.API,ze=Se.getCharWidthsArray=function(de,ue){var oe,ae,ye,Ce=(ue=ue||{}).font||this.internal.getFont(),Oe=ue.fontSize||this.internal.getFontSize(),Ie=ue.charSpace||this.internal.getCharSpace(),xe=ue.widths?ue.widths:Ce.metadata.Unicode.widths,Ue=xe.fof?xe.fof:1,it=ue.kerning?ue.kerning:Ce.metadata.Unicode.kerning,yt=it.fof?it.fof:1,ee=0,ie=xe[0]||Ue,z=[];for(oe=0,ae=de.length;oeye&&(Ce.push(ue.slice(Ue,Oe)),xe=0,Ue=Oe),xe+=oe[Oe],Oe++;return Ue!==Oe&&Ce.push(ue.slice(Ue,Oe)),Ce},Me=function(ue,oe,ae){ae||(ae={});var ye,Ce,Oe,Ie,xe,Ue,it=[],yt=[it],ee=ae.textIndent||0,ie=0,z=0,$=ue.split(" "),le=ze.apply(this,[" ",ae])[0];if(Ue=ae.lineIndent===-1?$[0].length+2:ae.lineIndent||0){var ge=Array(Ue).join(" "),Ae=[];$.map(function(Ft){1<(Ft=Ft.split(/\s*\n/)).length?Ae=Ae.concat(Ft.map(function(Qt,Et){return(Et&&Qt.length?` `:"")+Qt})):Ae.push(Ft[0])}),$=Ae,Ue=wt.apply(this,[ge,ae])}for(Oe=0,Ie=$.length;Oe>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=oe,this},gt=kt.API,De=je=Je="",gt.addMetadata=function(de,ue){return je=ue||"http://jspdf.default.namespaceuri/",Je=de,this.internal.events.subscribe("postPutResources",function(){if(Je){var oe='',ae=unescape(encodeURIComponent('')),ye=unescape(encodeURIComponent(oe)),Ce=unescape(encodeURIComponent(Je)),Oe=unescape(encodeURIComponent("")),Ie=unescape(encodeURIComponent("")),xe=ye.length+Ce.length+Oe.length+ae.length+Ie.length;De=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+xe+" >>"),this.internal.write("stream"),this.internal.write(ae+ye+Ce+Oe+Ie),this.internal.write("endstream"),this.internal.write("endobj")}else De=""}),this.internal.events.subscribe("putCatalog",function(){De&&this.internal.write("/Metadata "+De+" 0 R")}),this},function(de,ue){var oe=de.API,ae=oe.pdfEscape16=function(Oe,Ie){for(var xe,Ue=Ie.metadata.Unicode.widths,it=["","0","00","000","0000"],yt=[""],ee=0,ie=Oe.length;ee> def /CMapName /Adobe-Identity-UCS def /CMapType 2 def 1 begincodespacerange <0000> endcodespacerange`,it=[],ie=0,z=(Ue=Object.keys(Ie).sort(function($,le){return $-le})).length;ie<"+yt+">");return it.length&&(ee+=` `+it.length+` beginbfchar `+it.join(` `)+` endbfchar `),ee+=`endcmap CMapName currentdict /CMap defineresource pop end end`};oe.events.push(["putFont",function(Oe){!function(Ie,xe,Ue,it){if(Ie.metadata instanceof de.API.TTFFont&&Ie.encoding==="Identity-H"){for(var yt=Ie.metadata.Unicode.widths,ee=Ie.metadata.subset.encode(Ie.metadata.glyIdsUsed,1),ie="",z=0;z>"),xe("endobj");var Ae=Ue();xe("<<"),xe("/Type /Font"),xe("/BaseFont /"+Ie.fontName),xe("/FontDescriptor "+ge+" 0 R"),xe("/W "+de.API.PDFObject.convert(yt)),xe("/CIDToGIDMap /Identity"),xe("/DW 1000"),xe("/Subtype /CIDFontType2"),xe("/CIDSystemInfo"),xe("<<"),xe("/Supplement 0"),xe("/Registry (Adobe)"),xe("/Ordering ("+Ie.encoding+")"),xe(">>"),xe(">>"),xe("endobj"),Ie.objectNumber=Ue(),xe("<<"),xe("/Type /Font"),xe("/Subtype /Type0"),xe("/ToUnicode "+le+" 0 R"),xe("/BaseFont /"+Ie.fontName),xe("/Encoding /"+Ie.encoding),xe("/DescendantFonts ["+Ae+" 0 R]"),xe(">>"),xe("endobj"),Ie.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]),oe.events.push(["putFont",function(Oe){!function(Ie,xe,Ue,it){if(Ie.metadata instanceof de.API.TTFFont&&Ie.encoding==="WinAnsiEncoding"){Ie.metadata.Unicode.widths;for(var yt=Ie.metadata.rawData,ee="",ie=0;ie>"),xe("endobj"),Ie.objectNumber=Ue(),ie=0;ie>"),xe("endobj"),Ie.isAlreadyPutted=!0}}(Oe.font,Oe.out,Oe.newObject,Oe.putStream)}]);var Ce=function(Ie){var xe,Ue,it=Ie.text||"",yt=Ie.x,ee=Ie.y,ie=Ie.options||{},z=Ie.mutex||{},$=z.pdfEscape,le=z.activeFontKey,ge=z.fonts,Ae=(z.activeFontSize,""),Re=0,Qe="",Ft=ge[Ue=le].encoding;if(ge[Ue].encoding!=="Identity-H")return{text:it,x:yt,y:ee,options:ie,mutex:z};for(Qe=it,Ue=le,Object.prototype.toString.call(it)==="[object Array]"&&(Qe=it[0]),Re=0;Rexe-ee.top-ee.bottom&&ae.pagesplit){var ge=function(Et,Mt,_t,zt,Ct){var lr=document.createElement("canvas");lr.height=Ct,lr.width=zt;var Jt=lr.getContext("2d");return Jt.mozImageSmoothingEnabled=!1,Jt.webkitImageSmoothingEnabled=!1,Jt.msImageSmoothingEnabled=!1,Jt.imageSmoothingEnabled=!1,Jt.fillStyle=ae.backgroundColor||"#ffffff",Jt.fillRect(0,0,zt,Ct),Jt.drawImage(Et,Mt,_t,zt,Ct,0,0,zt,Ct),lr},Ae=function(){for(var Qt,Et,Mt=0,_t=0,zt={},Ct=!1;;){var lr;if(_t=0,zt.top=Mt!==0?ee.top:oe,zt.left=Mt!==0?ee.left:ue,Ct=(Ie-ee.left-ee.right)*Oe=it.width)break;this.addPage()}else Jt=[lr=ge(it,0,Mt,Qt,Et),zt.left,zt.top,lr.width/Oe,lr.height/Oe,$,null,le],this.addImage.apply(this,Jt);if((Mt+=Et)>=it.height)break;this.addPage()}ye(z,Mt,null,Jt)}.bind(this);if(it.nodeName==="CANVAS"){var Re=new Image;Re.onload=Ae,Re.src=it.toDataURL("image/png"),it=Re}else Ae()}else{var Qe=Math.random().toString(35),Ft=[it,ue,oe,z,ie,$,Qe,le];this.addImage.apply(this,Ft),ye(z,ie,Qe,Ft)}}.bind(this),typeof html2canvas!="undefined"&&!ae.rstz)return html2canvas(de,ae);if(typeof rasterizeHTML=="undefined")return null;var Ue="drawDocument";return typeof de=="string"&&(Ue=/^http/.test(de)?"drawURL":"drawHTML"),ae.width=ae.width||Ie*Oe,rasterizeHTML[Ue](de,void 0,ae).then(function(it){ae.onrendered(it.image)},function(it){ye(null,it)})},function(de){var ue,oe,ae,ye,Ce,Oe,Ie,xe,Ue,it,yt,ee,ie,z,$,le,ge,Ae,Re,Qe;ue=function(){return function(Mt){return Et.prototype=Mt,new Et};function Et(){}}(),it=function(Mt){var _t,zt,Ct,lr,Jt,ke,et;for(zt=0,Ct=Mt.length,_t=void 0,ke=lr=!1;!lr&&zt!==Ct;)(_t=Mt[zt]=Mt[zt].trimLeft())&&(lr=!0),zt++;for(zt=Ct-1;Ct&&!ke&&zt!==-1;)(_t=Mt[zt]=Mt[zt].trimRight())&&(ke=!0),zt--;for(Jt=/\s+$/g,et=!0,zt=0;zt!==Ct;)Mt[zt]!="\u2028"&&(_t=Mt[zt].replace(/\s+/g," "),et&&(_t=_t.trimLeft()),_t&&(et=Jt.test(_t)),Mt[zt]=_t),zt++;return Mt},ee=function(Mt){var _t,zt,Ct;for(_t=void 0,zt=(Ct=Mt.split(",")).shift();!_t&&zt;)_t=ae[zt.trim().toLowerCase()],zt=Ct.shift();return _t},ie=function(Mt){var _t;return-1<(Mt=Mt==="auto"?"0px":Mt).indexOf("em")&&!isNaN(Number(Mt.replace("em","")))&&(Mt=18.719*Number(Mt.replace("em",""))+"px"),-1_t.pdf.margins_doc.top&&(_t.pdf.addPage(),_t.y=_t.pdf.margins_doc.top,_t.executeWatchFunctions(Ct));var Or=Ue(Ct),en=_t.x,Qr=12/_t.pdf.internal.scaleFactor,Cr=(Or["margin-left"]+Or["padding-left"])*Qr,Gr=(Or["margin-right"]+Or["padding-right"])*Qr,Nr=(Or["margin-top"]+Or["padding-top"])*Qr,sr=(Or["margin-bottom"]+Or["padding-bottom"])*Qr;Or.float!==void 0&&Or.float==="right"?en+=_t.settings.width-Ct.width-Gr:en+=Cr,_t.pdf.addImage(pr,en,_t.y+Nr,Ct.width,Ct.height),pr=void 0,Or.float==="right"||Or.float==="left"?(_t.watchFunctions.push(function(or,dr,Sr,Xr){return _t.y>=dr?(_t.x+=or,_t.settings.width+=Sr,!0):!!(Xr&&Xr.nodeType===1&&!Ft[Xr.nodeName]&&_t.x+Xr.width>_t.pdf.margins_doc.left+_t.pdf.margins_doc.width)&&(_t.x+=or,_t.y=dr,_t.settings.width+=Sr,!0)}.bind(this,Or.float==="left"?-Ct.width-Cr-Gr:0,_t.y+Ct.height+Nr+sr,Ct.width)),_t.watchFunctions.push(function(or,dr,Sr){return!(_t.y]*?>/gi,""),Ke="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(We=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;",We.innerHTML=''),a.close(),u=a.w.frames[0].document,h=u.createElement("div")}catch(v){h=m.createElement("div"),u=m.body}return function(v){var y=[].slice.call(arguments,0);y.unshift(h),u.appendChild(h),h.addBehavior("#default#userData"),h.load(g),v.apply(this,y),u.removeChild(h);return}}},RPvy:function(J,F,e){var c=e("ProS"),E=e("VaxA"),g="sunburstRootToNode";c.registerAction({type:g,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,o){var s=E.retrieveTargetInfo(b,[g],r);if(s){var l=r.getViewRoot();l&&(b.direction=E.aboveViewRoot(l,s.node)?"rollUp":"drillDown"),r.resetViewRoot(s.node)}}});var m="sunburstHighlight";c.registerAction({type:m,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,o){var s=E.retrieveTargetInfo(b,[m],r);s&&(b.highlight=s.node)}});var A="sunburstUnhighlight";c.registerAction({type:A,update:"updateView"},function(b,f){f.eachComponent({mainType:"series",subType:"sunburst",query:b},i);function i(r,o){b.unhighlight=!0}})},RSch:function(J,F,e){var c=e("IwbS"),E=e("bYtY");function g(b,f,i){c.Group.call(this),this._createPolyline(b,f,i)}var m=g.prototype;m._createPolyline=function(b,f,i){var r=b.getItemLayout(f),o=new c.Polyline({shape:{points:r}});this.add(o),this._updateCommonStl(b,f,i)},m.updateData=function(b,f,i){var r=b.hostModel,o=this.childAt(0),s={shape:{points:b.getItemLayout(f)}};c.updateProps(o,s,r,f),this._updateCommonStl(b,f,i)},m._updateCommonStl=function(b,f,i){var r=this.childAt(0),o=b.getItemModel(f),s=b.getItemVisual(f,"color"),l=i&&i.lineStyle,n=i&&i.hoverLineStyle;(!i||b.hasItemOption)&&(l=o.getModel("lineStyle").getLineStyle(),n=o.getModel("emphasis.lineStyle").getLineStyle()),r.useStyle(E.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),r.hoverStyle=n,c.setHoverStyle(this)},m.updateLayout=function(b,f){var i=this.childAt(0);i.setShape("points",b.getItemLayout(f))},E.inherits(g,c.Group);var A=g;J.exports=A},RXMa:function(J,F,e){var c=e("y+Vt"),E=c.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,A){var b=A.cx,f=A.cy,i=Math.PI*2;m.moveTo(b+A.r,f),m.arc(b,f,A.r,0,i,!1),m.moveTo(b+A.r0,f),m.arc(b,f,A.r0,0,i,!0)}});J.exports=E},RZPm:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("JgUQ")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="FileOutlined";var f=g.forwardRef(b);F.default=f},RlCK:function(J,F,e){var c=e("ProS"),E=e("bYtY");function g(m,A,b){var f={},i=m==="toggleSelected",r;return b.eachComponent("legend",function(o){i&&r!=null?o[r?"select":"unSelect"](A.name):m==="allSelect"||m==="inverseSelect"?o[m]():(o[m](A.name),r=o.isSelected(A.name));var s=o.getData();E.each(s,function(l){var n=l.get("name");if(n===` `||n==="")return;var d=o.isSelected(n);f.hasOwnProperty(n)?f[n]=f[n]&&d:f[n]=d})}),m==="allSelect"||m==="inverseSelect"?{selected:f}:{name:A.name,selected:f}}c.registerAction("legendToggleSelect","legendselectchanged",E.curry(g,"toggleSelected")),c.registerAction("legendAllSelect","legendselectall",E.curry(g,"allSelect")),c.registerAction("legendInverseSelect","legendinverseselect",E.curry(g,"inverseSelect")),c.registerAction("legendSelect","legendselected",E.curry(g,"select")),c.registerAction("legendUnSelect","legendunselected",E.curry(g,"unSelect"))},RotF:function(J,F,e){J.exports=e("LSTS")},Rx6q:function(J,F){function e(c){var E=c.getRect(),g=c.getRangeInfo();return{coordSys:{type:"calendar",x:E.x,y:E.y,width:E.width,height:E.height,cellWidth:c.getCellWidth(),cellHeight:c.getCellHeight(),rangeInfo:{start:g.start,end:g.end,weeks:g.weeks,dayCount:g.allDay}},api:{coord:function(m,A){return c.dataToPoint(m,A)}}}}J.exports=e},"S/Yl":function(J,F,e){var c=e("Zvw2"),E=e("aX7z"),g=e("+TT/"),m=g.getLayoutRect,A=e("bYtY"),b=A.each;function f(r,o,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(r,o,s),this.model=r}f.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:f,_init:function(r,o,s){var l=this.dimension,n=new c(l,E.createScaleByModel(r),[0,0],r.get("type"),r.get("position")),d=n.type==="category";n.onBand=d&&r.get("boundaryGap"),n.inverse=r.get("inverse"),n.orient=r.get("orient"),r.axis=n,n.model=r,n.coordinateSystem=this,this._axis=n},update:function(r,o){r.eachSeries(function(s){if(s.coordinateSystem===this){var l=s.getData();b(l.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(l,n)},this),E.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(r,o){this._rect=m({left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")},{width:o.getWidth(),height:o.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var r=this._rect,o=this._axis,s=o.isHorizontal(),l=s?[0,r.width]:[0,r.height],n=o.reverse?1:0;o.setExtent(l[n],l[1-n]),this._updateAxisTransform(o,s?r.x:r.y)},_updateAxisTransform:function(r,o){var s=r.getExtent(),l=s[0]+s[1],n=r.isHorizontal();r.toGlobalCoord=n?function(d){return d+o}:function(d){return l-d+o},r.toLocalCoord=n?function(d){return d-o}:function(d){return l-d+o}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(r){var o=this.getRect(),s=this.getAxis(),l=s.orient;return l==="horizontal"?s.contain(s.toLocalCoord(r[0]))&&r[1]>=o.y&&r[1]<=o.y+o.height:s.contain(s.toLocalCoord(r[1]))&&r[0]>=o.y&&r[0]<=o.y+o.height},pointToData:function(r){var o=this.getAxis();return[o.coordToData(o.toLocalCoord(r[o.orient==="horizontal"?0:1]))]},dataToPoint:function(r){var o=this.getAxis(),s=this.getRect(),l=[],n=o.orient==="horizontal"?0:1;return r instanceof Array&&(r=r[0]),l[n]=o.toGlobalCoord(o.dataToCoord(+r)),l[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,l}};var i=f;J.exports=i},"SA+Z":function(J,F,e){var c=e("wTVA"),E=e("EbDI"),g=e("ZhPi"),m=e("wkBT");function A(b){return c(b)||E(b)||g(b)||m()}J.exports=A},"SA4+":function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("ProS"),m=e("IwbS"),A=e("zYTA"),b=e("bYtY");function f(s,l,n){var d=s[1]-s[0];l=b.map(l,function(a){return{interval:[(a.interval[0]-s[0])/d,(a.interval[1]-s[0])/d]}});var t=l.length,u=0;return function(a){for(var h=u;h=0;h--){var v=l[h].interval;if(v[0]<=a&&a<=v[1]){u=h;break}}return h>=0&&h=l[0]&&d<=l[1]}}function r(s){var l=s.dimensions;return l[0]==="lng"&&l[1]==="lat"}var o=g.extendChartView({type:"heatmap",render:function(s,l,n){var d;l.eachComponent("visualMap",function(u){u.eachTargetSeries(function(a){a===s&&(d=u)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=s.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):r(t)&&this._renderOnGeo(t,s,d,n)},incrementalPrepareRender:function(s,l,n){this.group.removeAll()},incrementalRender:function(s,l,n,d){var t=l.coordinateSystem;t&&this._renderOnCartesianAndCalendar(l,d,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,l,n,d,t){var u=s.coordinateSystem,a,h;if(u.type==="cartesian2d"){var v=u.getAxis("x"),y=u.getAxis("y");a=v.getBandWidth(),h=y.getBandWidth()}for(var O=this.group,S=s.getData(),x="itemStyle",L="emphasis.itemStyle",T="label",w="emphasis.label",C=s.getModel(x).getItemStyle(["color"]),N=s.getModel(L).getItemStyle(),D=s.getModel(T),B=s.getModel(w),R=u.type,U=R==="cartesian2d"?[S.mapDimension("x"),S.mapDimension("y"),S.mapDimension("value")]:[S.mapDimension("time"),S.mapDimension("value")],M=n;M=0?y=y+S:y=y-S:C>=0?y=y-S:y=y+S}return y}function l(n,d){var t=[],u=c.quadraticSubdivide,a=[[],[],[]],h=[[],[]],v=[];d/=2,n.eachEdge(function(y,O){var S=y.getLayout(),x=y.getVisual("fromSymbol"),L=y.getVisual("toSymbol");S.__original||(S.__original=[E.clone(S[0]),E.clone(S[1])],S[2]&&S.__original.push(E.clone(S[2])));var T=S.__original;if(S[2]!=null){if(E.copy(a[0],T[0]),E.copy(a[1],T[2]),E.copy(a[2],T[1]),x&&x!=="none"){var w=m(y.node1),C=s(a,T[0],w*d);u(a[0][0],a[1][0],a[2][0],C,t),a[0][0]=t[3],a[1][0]=t[4],u(a[0][1],a[1][1],a[2][1],C,t),a[0][1]=t[3],a[1][1]=t[4]}if(L&&L!=="none"){var w=m(y.node2),C=s(a,T[1],w*d);u(a[0][0],a[1][0],a[2][0],C,t),a[1][0]=t[1],a[2][0]=t[2],u(a[0][1],a[1][1],a[2][1],C,t),a[1][1]=t[1],a[2][1]=t[2]}E.copy(S[0],a[0]),E.copy(S[1],a[2]),E.copy(S[2],a[1])}else{if(E.copy(h[0],T[0]),E.copy(h[1],T[1]),E.sub(v,h[1],h[0]),E.normalize(v,v),x&&x!=="none"){var w=m(y.node1);E.scaleAndAdd(h[0],h[0],v,w*d)}if(L&&L!=="none"){var w=m(y.node2);E.scaleAndAdd(h[1],h[1],v,-w*d)}E.copy(S[0],h[0]),E.copy(S[1],h[1])}})}J.exports=l},SJMd:function(J,F){/** * @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,c,E,g=!1,m,A;window.PR_SHOULD_USE_CONTINUATION=!0;var b,f;(function(){var i=window,r=["break,continue,do,else,for,if,return,while"],o=[r,"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=[o,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],l=[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"],n=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],d=[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"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",u=[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",h=[r,"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"],v=[r,"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"],y=[r,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],O=[l,d,n,u,a,h,v,y],S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,x="str",L="kwd",T="com",w="typ",C="lit",N="pun",D="pln",B="tag",R="dec",U="src",M="atn",j="atv",P="nocode",V="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function H(at){for(var $e=0,bt=!1,ut=!1,At=0,Ve=at.length;At122||(nt<65||ft>90||nr.push([Math.max(65,ft)|32,Math.min(nt,90)|32]),nt<97||ft>122||nr.push([Math.max(97,ft)&~32,Math.min(nt,122)&~32]))}}nr.sort(function(Pe,St){return Pe[0]-St[0]||St[1]-Pe[1]});for(var se=[],me=[],Ge=0;Gelt[0]&&(lt[1]+1>lt[0]&&Kt.push("-"),Kt.push(De(lt[1])))}return Kt.push("]"),Kt.join("")}function It(Ht){for(var Wt=Ht.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")),nr=Wt.length,Bt=[],Kt=0,Ge=0;Kt=2&&ft==="["?Wt[Kt]=ht(qe):ft!=="\\"&&(Wt[Kt]=qe.replace(/[a-zA-Z]/g,function(me){var lt=me.charCodeAt(0);return"["+String.fromCharCode(lt&~32,lt|32)+"]"}))}return Wt.join("")}for(var kt=[],At=0,Ve=at.length;At=0;)bt[kt.charAt(Ht)]=It;var Wt=It[1],nr=""+Wt;je.hasOwnProperty(nr)||(Je.push(Wt),je[nr]=null)}Je.push(/[\0-\uffff]/),ut=H(Je)})();var At=$e.length,Ve=function gt(Je){for(var je=Je.sourceCode,De=Je.basePos,ht=Je.sourceNode,It=[De,D],kt=0,Ht=je.match(ut)||[],Wt={},nr=0,Bt=Ht.length;nr=5&&Ge.substring(0,5)==="lang-",st&&!(qe&&typeof qe[1]=="string")&&(st=!1,Ge=U),st||(Wt[Kt]=Ge)}var se=kt;if(kt+=Kt.length,!st)It.push(De+se,Ge);else{var me=qe[1],lt=Kt.indexOf(me),Pe=lt+me.length;qe[2]&&(Pe=Kt.length-qe[2].length,lt=Pe-me.length);var St=Ge.substring(5);Z(ht,De+se,Kt.substring(0,lt),gt,It),Z(ht,De+se+lt,me,ze(St,me),It),Z(ht,De+se+Pe,Kt.substring(Pe),gt,It)}}Je.decorations=It};return Ve}function X(at){var $e=[],bt=[];at.tripleQuotedStrings?$e.push([x,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):at.multiLineStrings?$e.push([x,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):$e.push([x,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),at.verbatimStrings&&bt.push([x,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var ut=at.hashComments;ut&&(at.cStyleComments?(ut>1?$e.push([T,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):$e.push([T,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),bt.push([x,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):$e.push([T,/^#[^\r\n]*/,null,"#"])),at.cStyleComments&&(bt.push([T,/^\/\/[^\r\n]*/,null]),bt.push([T,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var At=at.regexLiterals;if(At){var Ve=At>1?"":` \r`,gt=Ve?".":"[\\S\\s]",Je="/(?=[^/*"+Ve+"])(?:[^/\\x5B\\x5C"+Ve+"]|\\x5C"+gt+"|\\x5B(?:[^\\x5C\\x5D"+Ve+"]|\\x5C"+gt+")*(?:\\x5D|$))+/";bt.push(["lang-regex",RegExp("^"+V+"("+Je+")")])}var je=at.types;je&&bt.push([w,je]);var De=(""+at.keywords).replace(/^ | $/g,"");De.length&&bt.push([L,new RegExp("^(?:"+De.replace(/[\s,]+/g,"|")+")\\b"),null]),$e.push([D,/^\s+/,null,` \r \xA0`]);var ht="^.[^\\s\\w.$@'\"`/\\\\]*";return at.regexLiterals&&(ht+="(?!s*/)"),bt.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[w,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[D,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[D,/^\\[\s\S]?/,null],[N,new RegExp(ht),null]),Q($e,bt)}var pe=X({keywords:O,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function te(at,$e,bt){for(var ut=/(?:^|\s)nocode(?:\s|$)/,At=/\r\n?|\n/,Ve=at.ownerDocument,gt=Ve.createElement("li");at.firstChild;)gt.appendChild(at.firstChild);var Je=[gt];function je(Wt){var nr=Wt.nodeType;if(nr==1&&!ut.test(Wt.className))if(Wt.nodeName==="br")De(Wt),Wt.parentNode&&Wt.parentNode.removeChild(Wt);else for(var Bt=Wt.firstChild;Bt;Bt=Bt.nextSibling)je(Bt);else if((nr==3||nr==4)&&bt){var Kt=Wt.nodeValue,Ge=Kt.match(At);if(Ge){var qe=Kt.substring(0,Ge.index);Wt.nodeValue=qe;var st=Kt.substring(Ge.index+Ge[0].length);if(st){var ft=Wt.parentNode;ft.insertBefore(Ve.createTextNode(st),Wt.nextSibling)}De(Wt),qe||Wt.parentNode.removeChild(Wt)}}}function De(Wt){for(;!Wt.nextSibling;)if(Wt=Wt.parentNode,!Wt)return;function nr(Ge,qe){var st=qe?Ge.cloneNode(!1):Ge,ft=Ge.parentNode;if(ft){var nt=nr(ft,1),se=Ge.nextSibling;nt.appendChild(st);for(var me=se;me;me=se)se=me.nextSibling,nt.appendChild(me)}return st}for(var Bt=nr(Wt.nextSibling,0),Kt;(Kt=Bt.parentNode)&&Kt.nodeType===1;)Bt=Kt;Je.push(Bt)}for(var ht=0;ht=ft&&(je+=2),Ve>=nt&&(It+=2)}}finally{Kt&&(Kt.style.display=Ge)}}var be={};function Se(at,$e){for(var bt=$e.length;--bt>=0;){var ut=$e[bt];be.hasOwnProperty(ut)?i.console&&console.warn("cannot override language handler %s",ut):be[ut]=at}}function ze(at,$e){return at&&be.hasOwnProperty(at)||(at=/^\s*]*(?:>|$)/],[T,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[N,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Se(Q([[D,/^[\s]+/,null,` \r `],[j,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[B,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[N,/^[=<>\/]+/],["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"]),Se(Q([],[[j,/^[\s\S]+/]]),["uq.val"]),Se(X({keywords:l,hashComments:!0,cStyleComments:!0,types:S}),["c","cc","cpp","cxx","cyc","m"]),Se(X({keywords:"null,true,false"}),["json"]),Se(X({keywords:d,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]),Se(X({keywords:n,cStyleComments:!0}),["java"]),Se(X({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Se(X({keywords:h,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Se(X({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Se(X({keywords:v,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Se(X({keywords:u,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Se(X({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Se(Q([],[[x,/^[\s\S]+/]]),["regex"]);function Xe(at){var $e=at.langExtension;try{var bt=k(at.sourceNode,at.pre),ut=bt.sourceCode;at.sourceCode=ut,at.spans=bt.spans,at.basePos=0,ze($e,ut)(at),fe(at)}catch(At){i.console&&console.log(At&&At.stack||At)}}function wt(at,$e,bt){var ut=bt||!1,At=$e||null,Ve=document.createElement("div");Ve.innerHTML="
"+at+"
",Ve=Ve.firstChild,ut&&te(Ve,ut,!0);var gt={langExtension:At,numberLines:ut,sourceNode:Ve,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Xe(gt),Ve.innerHTML}function Be(at,$e){var bt=$e||document.body,ut=bt.ownerDocument||document;function At(st){return bt.getElementsByTagName(st)}for(var Ve=[At("pre"),At("code"),At("xmp")],gt=[],Je=0;Je3?1.4:v>1?1.2:1.1,x=h>0?S:1/S;s(this,"zoom","zoomOnMouseWheel",t,{scale:x,originX:y,originY:O})}if(a){var L=Math.abs(h),T=(h>0?1:-1)*(L>3?.4:L>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:T,originX:y,originY:O})}}function o(t){if(m.isTaken(this._zr,"globalPan"))return;var u=t.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,t,{scale:u,originX:t.pinchX,originY:t.pinchY})}function s(t,u,a,h,v){t.pointerChecker&&t.pointerChecker(h,v.originX,v.originY)&&(g.stop(h.event),l(t,u,a,h,v))}function l(t,u,a,h,v){v.isAvailableBehavior=c.bind(n,null,a,h),t.trigger(u,v)}function n(t,u,a){var h=a[t];return!t||h&&(!c.isString(h)||u.event[h+"Key"])}var d=A;J.exports=d},Sj0X:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("XuBP")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="DownOutlined";var f=g.forwardRef(b);F.default=f},Sj9i:function(J,F,e){var c=e("QBsz"),E=c.create,g=c.distSquare,m=Math.pow,A=Math.sqrt,b=1e-8,f=1e-4,i=A(3),r=1/3,o=E(),s=E(),l=E();function n(C){return C>-b&&Cb||C<-b}function t(C,N,D,B,R){var U=1-R;return U*U*(U*C+3*R*N)+R*R*(R*B+3*U*D)}function u(C,N,D,B,R){var U=1-R;return 3*(((N-C)*U+2*(D-N)*R)*U+(B-D)*R*R)}function a(C,N,D,B,R,U){var M=B+3*(N-D)-C,j=3*(D-N*2+C),P=3*(N-C),V=C-R,H=j*j-3*M*P,k=j*P-9*M*V,Z=P*P-3*j*V,Y=0;if(n(H)&&n(k))if(n(j))U[0]=0;else{var _=-P/j;_>=0&&_<=1&&(U[Y++]=_)}else{var Q=k*k-4*H*Z;if(n(Q)){var X=k/H,_=-j/M+X,pe=-X/2;_>=0&&_<=1&&(U[Y++]=_),pe>=0&&pe<=1&&(U[Y++]=pe)}else if(Q>0){var te=A(Q),fe=H*j+1.5*M*(-k+te),be=H*j+1.5*M*(-k-te);fe<0?fe=-m(-fe,r):fe=m(fe,r),be<0?be=-m(-be,r):be=m(be,r);var _=(-j-(fe+be))/(3*M);_>=0&&_<=1&&(U[Y++]=_)}else{var Se=(2*H*j-3*M*k)/(2*A(H*H*H)),ze=Math.acos(Se)/3,Xe=A(H),wt=Math.cos(ze),_=(-j-2*Xe*wt)/(3*M),pe=(-j+Xe*(wt+i*Math.sin(ze)))/(3*M),Be=(-j+Xe*(wt-i*Math.sin(ze)))/(3*M);_>=0&&_<=1&&(U[Y++]=_),pe>=0&&pe<=1&&(U[Y++]=pe),Be>=0&&Be<=1&&(U[Y++]=Be)}}return Y}function h(C,N,D,B,R){var U=6*D-12*N+6*C,M=9*N+3*B-3*C-9*D,j=3*N-3*C,P=0;if(n(M)){if(d(U)){var V=-j/U;V>=0&&V<=1&&(R[P++]=V)}}else{var H=U*U-4*M*j;if(n(H))R[0]=-U/(2*M);else if(H>0){var k=A(H),V=(-U+k)/(2*M),Z=(-U-k)/(2*M);V>=0&&V<=1&&(R[P++]=V),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function v(C,N,D,B,R,U){var M=(N-C)*R+C,j=(D-N)*R+N,P=(B-D)*R+D,V=(j-M)*R+M,H=(P-j)*R+j,k=(H-V)*R+V;U[0]=C,U[1]=M,U[2]=V,U[3]=k,U[4]=k,U[5]=H,U[6]=P,U[7]=B}function y(C,N,D,B,R,U,M,j,P,V,H){var k,Z=.005,Y=Infinity,_,Q,X,pe;o[0]=P,o[1]=V;for(var te=0;te<1;te+=.05)s[0]=t(C,D,R,M,te),s[1]=t(N,B,U,j,te),X=g(o,s),X=0&&X=0&&V<=1&&(R[P++]=V)}}else{var H=M*M-4*U*j;if(n(H)){var V=-M/(2*U);V>=0&&V<=1&&(R[P++]=V)}else if(H>0){var k=A(H),V=(-M+k)/(2*U),Z=(-M-k)/(2*U);V>=0&&V<=1&&(R[P++]=V),Z>=0&&Z<=1&&(R[P++]=Z)}}return P}function L(C,N,D){var B=C+D-2*N;return B===0?.5:(C-N)/B}function T(C,N,D,B,R){var U=(N-C)*B+C,M=(D-N)*B+N,j=(M-U)*B+U;R[0]=C,R[1]=U,R[2]=j,R[3]=j,R[4]=M,R[5]=D}function w(C,N,D,B,R,U,M,j,P){var V,H=.005,k=Infinity;o[0]=M,o[1]=j;for(var Z=0;Z<1;Z+=.05){s[0]=O(C,D,R,Z),s[1]=O(N,B,U,Z);var Y=g(o,s);Y=0&&Y=0;--y)if(v[y]===h)return!0;return!1}),a):null:a[0]},n.prototype.update=function(t,u){if(!t)return;var a=this.getDefs(!1);if(t[this._domName]&&a.contains(t[this._domName]))typeof u=="function"&&u(t);else{var h=this.add(t);h&&(t[this._domName]=h)}},n.prototype.addDom=function(t){var u=this.getDefs(!0);u.appendChild(t)},n.prototype.removeDom=function(t){var u=this.getDefs(!1);u&&t[this._domName]&&(u.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var u=[];return g.each(this._tagNames,function(a){var h=t.getElementsByTagName(a);u=u.concat([].slice.call(h))}),u},n.prototype.markAllUnused=function(){var t=this.getDoms(),u=this;g.each(t,function(a){a[u._markLabel]=s})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=l)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var u=this.getDoms(),a=this;g.each(u,function(h){h[a._markLabel]!==l&&t.removeChild(h)})},n.prototype.getSvgProxy=function(t){return t instanceof m?i:t instanceof A?r:t instanceof b?o:i},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var d=n;J.exports=d},Swgg:function(J,F,e){var c=e("fc+c"),E=c.extend({type:"dataZoom.select"});J.exports=E},Sxd8:function(J,F,e){var c=e("ZCgT");function E(g){var m=c(g),A=m%1;return m===m?A?m-A:m:0}J.exports=E},T1rO:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var c=E(e("zdCA"));function E(m){return m&&m.__esModule?m:{default:m}}var g=c;F.default=g,J.exports=g},T4UG:function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("bYtY"),m=e("ItGF"),A=e("7aKB"),b=A.formatTime,f=A.encodeHTML,i=A.addCommas,r=A.getTooltipMarker,o=e("4NO4"),s=e("bLfw"),l=e("5Hur"),n=e("OKJ2"),d=e("+TT/"),t=d.getLayoutParams,u=d.mergeLayoutParam,a=e("9H2F"),h=a.createTask,v=e("D5nY"),y=v.prepareSource,O=v.getSource,S=e("KxfA"),x=S.retrieveRawValue,L=o.makeInner(),T=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(P,V,H,k){this.seriesIndex=this.componentIndex,this.dataTask=h({count:N,reset:D}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(P,H),y(this);var Z=this.getInitialData(P,H);R(Z,this),this.dataTask.context.data=Z,L(this).dataBeforeProcessed=Z,w(this)},mergeDefaultAndTheme:function(P,V){var H=this.layoutMode,k=H?t(P):{},Z=this.subType;s.hasClass(Z)&&(Z+="Series"),g.merge(P,V.getTheme().get(this.subType)),g.merge(P,this.getDefaultOption()),o.defaultEmphasis(P,"label",["show"]),this.fillDataTextStyle(P.data),H&&u(P,k,H)},mergeOption:function(P,V){P=g.merge(this.option,P,!0),this.fillDataTextStyle(P.data);var H=this.layoutMode;H&&u(this.option,P,H),y(this);var k=this.getInitialData(P,V);R(k,this),this.dataTask.dirty(),this.dataTask.context.data=k,L(this).dataBeforeProcessed=k,w(this)},fillDataTextStyle:function(P){if(P&&!g.isTypedArray(P))for(var V=["show"],H=0;H":` `,_=k==="richText",Q={},X=0;function pe(Ve){var gt=g.reduce(Ve,function(It,kt,Ht){var Wt=fe.getDimensionInfo(Ht);return It|=Wt&&Wt.tooltip!==!1&&Wt.displayName!=null},0),Je=[];be.length?g.each(be,function(It){je(x(fe,P,It),It)}):g.each(Ve,je);function je(It,kt){var Ht=fe.getDimensionInfo(kt);if(!Ht||Ht.otherDims.tooltip===!1)return;var Wt=Ht.type,nr="sub"+Z.seriesIndex+"at"+X,Bt=r({color:wt,type:"subItem",renderMode:k,markerId:nr}),Kt=typeof Bt=="string"?Bt:Bt.content,Ge=(gt?Kt+f(Ht.displayName||"-")+": ":"")+f(Wt==="ordinal"?It+"":Wt==="time"?V?"":b("yyyy/MM/dd hh:mm:ss",It):i(It));Ge&&Je.push(Ge),_&&(Q[nr]=wt,++X)}var De=gt?_?` `:"
":"",ht=De+Je.join(De||", ");return{renderMode:k,content:ht,style:Q}}function te(Ve){return{renderMode:k,content:f(i(Ve)),style:Q}}var fe=this.getData(),be=fe.mapDimension("defaultedTooltip",!0),Se=be.length,ze=this.getRawValue(P),Xe=g.isArray(ze),wt=fe.getItemVisual(P,"color");g.isObject(wt)&&wt.colorStops&&(wt=(wt.colorStops[0]||{}).color),wt=wt||"transparent";var Be=Se>1||Xe&&!Se?pe(ze):te(Se?x(fe,P,be[0]):Xe?ze[0]:ze),Me=Be.content,vt=Z.seriesIndex+"at"+X,at=r({color:wt,type:"item",renderMode:k,markerId:vt});Q[vt]=wt,++X;var $e=fe.getName(P),bt=this.name;o.isNameSpecified(this)||(bt=""),bt=bt?f(bt)+(V?": ":Y):"";var ut=typeof at=="string"?at:at.content,At=V?ut+bt+Me:bt+ut+($e?f($e)+": "+Me:Me);return{html:At,markers:Q}},isAnimationEnabled:function(){if(m.node)return!1;var P=this.getShallow("animation");return P&&(this.getData().count()>this.getShallow("animationThreshold")&&(P=!1)),P},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(P,V,H){var k=this.ecModel,Z=l.getColorFromPalette.call(this,P,V,H);return Z||(Z=k.getColorFromPalette(P,V,H)),Z},coordDimToDataDim:function(P){return this.getRawData().mapDimension(P,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});g.mixin(T,n),g.mixin(T,l);function w(P){var V=P.name;o.isNameSpecified(P)||(P.name=C(P)||V)}function C(P){var V=P.getRawData(),H=V.mapDimension("seriesName",!0),k=[];return g.each(H,function(Z){var Y=V.getDimensionInfo(Z);Y.displayName&&k.push(Y.displayName)}),k.join(" ")}function N(P){return P.model.getRawData().count()}function D(P){var V=P.model;return V.setData(V.getRawData().cloneShallow()),B}function B(P,V){V.outputData&&P.end>V.outputData.count()&&V.model.getRawData().cloneShallow(V.outputData)}function R(P,V){g.each(P.CHANGABLE_METHODS,function(H){P.wrapMethod(H,g.curry(U,V))})}function U(P){var V=M(P);V&&V.setOutputEnd(this.count())}function M(P){var V=(P.ecModel||{}).scheduler,H=V&&V.getPipeline(P.uid);if(H){var k=H.currentTask;if(k){var Z=k.agentStubMap;Z&&(k=Z.get(P.uid))}return k}}var j=T;J.exports=j},T6xi:function(J,F,e){var c=e("YgsL"),E=e("nCxF");function g(m,A,b){var f=A.points,i=A.smooth;if(f&&f.length>=2){if(i&&i!=="spline"){var r=E(f,i,b,A.smoothConstraint);m.moveTo(f[0][0],f[0][1]);for(var o=f.length,s=0;s<(b?o:o-1);s++){var l=r[s*2],n=r[s*2+1],d=f[(s+1)%o];m.bezierCurveTo(l[0],l[1],n[0],n[1],d[0],d[1])}}else{i==="spline"&&(f=c(f,b)),m.moveTo(f[0][0],f[0][1]);for(var s=1,t=f.length;s0?m:A)}function n(d,t){return t.get(d>0?E:g)}}};J.exports=b},TWL2:function(J,F,e){var c=e("IwbS"),E=e("bYtY"),g=e("6Ic6");function m(r,o){c.Group.call(this);var s=new c.Polygon,l=new c.Polyline,n=new c.Text;this.add(s),this.add(l),this.add(n),this.highDownOnUpdate=function(d,t){t==="emphasis"?(l.ignore=l.hoverIgnore,n.ignore=n.hoverIgnore):(l.ignore=l.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(r,o,!0)}var A=m.prototype,b=["itemStyle","opacity"];A.updateData=function(r,o,s){var l=this.childAt(0),n=r.hostModel,d=r.getItemModel(o),t=r.getItemLayout(o),u=r.getItemModel(o).get(b);u=u==null?1:u,l.useStyle({}),s?(l.setShape({points:t.points}),l.setStyle({opacity:0}),c.initProps(l,{style:{opacity:u}},n,o)):c.updateProps(l,{style:{opacity:u},shape:{points:t.points}},n,o);var a=d.getModel("itemStyle"),h=r.getItemVisual(o,"color");l.setStyle(E.defaults({lineJoin:"round",fill:h},a.getItemStyle(["opacity"]))),l.hoverStyle=a.getModel("emphasis").getItemStyle(),this._updateLabel(r,o),c.setHoverStyle(this)},A._updateLabel=function(r,o){var s=this.childAt(1),l=this.childAt(2),n=r.hostModel,d=r.getItemModel(o),t=r.getItemLayout(o),u=t.label,a=r.getItemVisual(o,"color");c.updateProps(s,{shape:{points:u.linePoints||u.linePoints}},n,o),c.updateProps(l,{style:{x:u.x,y:u.y}},n,o),l.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var h=d.getModel("label"),v=d.getModel("emphasis.label"),y=d.getModel("labelLine"),O=d.getModel("emphasis.labelLine"),a=r.getItemVisual(o,"color");c.setLabelStyle(l.style,l.hoverStyle={},h,v,{labelFetcher:r.hostModel,labelDataIndex:o,defaultText:r.getName(o),autoColor:a,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign}),l.ignore=l.normalIgnore=!h.get("show"),l.hoverIgnore=!v.get("show"),s.ignore=s.normalIgnore=!y.get("show"),s.hoverIgnore=!O.get("show"),s.setStyle({stroke:a}),s.setStyle(y.getModel("lineStyle").getLineStyle()),s.hoverStyle=O.getModel("lineStyle").getLineStyle()},E.inherits(m,c.Group);var f=g.extend({type:"funnel",render:function(r,o,s){var l=r.getData(),n=this._data,d=this.group;l.diff(n).add(function(t){var u=new m(l,t);l.setItemGraphicEl(t,u),d.add(u)}).update(function(t,u){var a=n.getItemGraphicEl(u);a.updateData(l,t),d.add(a),l.setItemGraphicEl(t,a)}).remove(function(t){var u=n.getItemGraphicEl(t);d.remove(u)}).execute(),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),i=f;J.exports=i},TYVI:function(J,F,e){var c=e("5GtS"),E=e("T4UG"),g=E.extend({type:"series.gauge",getInitialData:function(A,b){return c(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=g;J.exports=m},Tghj:function(J,F,e){(function(c){var E;typeof window!="undefined"?E=window.__DEV__:typeof c!="undefined"&&(E=c.__DEV__),typeof E=="undefined"&&(E=!0);var g=E;F.__DEV__=g}).call(this,e("yLpj"))},ThAp:function(J,F,e){var c=e("bYtY"),E=e("5GtS"),g=e("T4UG"),m=e("7aKB"),A=m.encodeHTML,b=m.addCommas,f=e("cCMj"),i=e("KxfA"),r=i.retrieveRawAttr,o=e("W4dC"),s=e("D5nY"),l=s.makeSeriesEncodeForNameBased,n=g.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var u=E(this,{coordDimensions:["value"],encodeDefaulter:c.curry(l,this)}),a=u.mapDimension("value"),h=c.createHashMap(),v=[],y=[],O=0,S=u.count();O"+A(h+" : "+a)},getTooltipPosition:function(t){if(t!=null){var u=this.getData().getName(t),a=this.coordinateSystem,h=a.getRegion(u);return h&&a.dataToPoint(h.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});c.mixin(n,f);var d=n;J.exports=d},TkdX:function(J,F,e){var c=e("bYtY"),E=e("IwbS"),g={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,A=4;function b(n,d,t){E.Group.call(this);var u=new E.Sector({z2:m});u.seriesIndex=d.seriesIndex;var a=new E.Text({z2:A,silent:n.getModel("label").get("silent")});this.add(u),this.add(a),this.updateData(!0,n,"normal",d,t);function h(){a.ignore=a.hoverIgnore}function v(){a.ignore=a.normalIgnore}this.on("emphasis",h).on("normal",v).on("mouseover",h).on("mouseout",v)}var f=b.prototype;f.updateData=function(n,d,t,u,a){this.node=d,d.piece=this,u=u||this._seriesModel,a=a||this._ecModel;var h=this.childAt(0);h.dataIndex=d.dataIndex;var v=d.getModel(),y=d.getLayout(),O=c.extend({},y);O.label=null;var S=r(d,u,a);l(d,u,S);var x=v.getModel("itemStyle").getItemStyle(),L;if(t==="normal")L=x;else{var T=v.getModel(t+".itemStyle").getItemStyle();L=c.merge(T,x)}L=c.defaults({lineJoin:"bevel",fill:L.fill||S},L),n?(h.setShape(O),h.shape.r=y.r0,E.updateProps(h,{shape:{r:y.r}},u,d.dataIndex),h.useStyle(L)):typeof L.fill=="object"&&L.fill.type||typeof h.style.fill=="object"&&h.style.fill.type?(E.updateProps(h,{shape:O},u),h.useStyle(L)):E.updateProps(h,{shape:O,style:L},u),this._updateLabel(u,S,t);var w=v.getShallow("cursor");if(w&&h.attr("cursor",w),n){var C=u.getShallow("highlightPolicy");this._initEvents(h,d,u,C)}this._seriesModel=u||this._seriesModel,this._ecModel=a||this._ecModel,E.setHoverStyle(this)},f.onEmphasis=function(n){var d=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(d.node===t?t.piece.updateData(!1,t,"emphasis"):s(t,d.node,n)?t.piece.childAt(0).trigger("highlight"):n!==g.NONE&&t.piece.childAt(0).trigger("downplay"))})},f.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},f.onHighlight=function(){this.updateData(!1,this.node,"highlight")},f.onDownplay=function(){this.updateData(!1,this.node,"downplay")},f._updateLabel=function(n,d,t){var u=this.node.getModel(),a=u.getModel("label"),h=t==="normal"||t==="emphasis"?a:u.getModel(t+".label"),v=u.getModel("emphasis.label"),y=c.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);V("show")===!1&&(y="");var O=this.node.getLayout(),S=h.get("minAngle");S==null&&(S=a.get("minAngle")),S=S/180*Math.PI;var x=O.endAngle-O.startAngle;S!=null&&Math.abs(x)Math.PI/2?"right":"left"):!R||R==="center"?(N=(O.r+O.r0)/2,R="center"):R==="left"?(N=O.r0+B,T>Math.PI/2&&(R="right")):R==="right"&&(N=O.r-B,T>Math.PI/2&&(R="left")),L.attr("style",{text:y,textAlign:R,textVerticalAlign:V("verticalAlign")||"middle",opacity:V("opacity")});var U=N*w+O.cx,M=N*C+O.cy;L.attr("position",[U,M]);var j=V("rotate"),P=0;j==="radial"?(P=-T,P<-Math.PI/2&&(P+=Math.PI)):j==="tangential"?(P=Math.PI/2-T,P>Math.PI/2?P-=Math.PI:P<-Math.PI/2&&(P+=Math.PI)):typeof j=="number"&&(P=j*Math.PI/180),L.attr("rotation",P);function V(H){var k=h.get(H);return k==null?a.get(H):k}},f._initEvents=function(n,d,t,u){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,h=function(){a.onEmphasis(u)},v=function(){a.onNormal()},y=function(){a.onDownplay()},O=function(){a.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",h).on("mouseout",v).on("emphasis",h).on("normal",v).on("downplay",y).on("highlight",O)},c.inherits(b,E.Group);var i=b;function r(n,d,t){var u=n.getVisual("color"),a=n.getVisual("visualMeta");(!a||a.length===0)&&(u=null);var h=n.getModel("itemStyle").get("color");if(h)return h;if(u)return u;if(n.depth===0)return t.option.color[0];var v=t.option.color.length;return h=t.option.color[o(n)%v],h}function o(n){for(var d=n;d.depth>1;)d=d.parentNode;var t=n.getAncestors()[0];return c.indexOf(t.children,d)}function s(n,d,t){return t===g.NONE?!1:t===g.SELF?n===d:t===g.ANCESTOR?n===d||n.isAncestorOf(d):n===d||n.isDescendantOf(d)}function l(n,d,t){var u=d.getData();u.setItemVisual(n.dataIndex,"color",t)}J.exports=i},Tp9H:function(J,F,e){var c=e("ItGF"),E=e("Kagy"),g=e("IUWy"),m=E.toolbox.saveAsImage;function A(i){this.model=i}A.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},A.prototype.unusable=!c.canvasSupported;var b=A.prototype;b.onclick=function(i,r){var o=this.model,s=o.get("name")||i.get("title.0.text")||"echarts",l=r.getZr().painter.getType()==="svg",n=l?"svg":o.get("type",!0)||"png",d=r.getConnectedDataURL({type:n,backgroundColor:o.get("backgroundColor",!0)||i.get("backgroundColor")||"#fff",connectedBackgroundColor:o.get("connectedBackgroundColor"),excludeComponents:o.get("excludeComponents"),pixelRatio:o.get("pixelRatio")});if(typeof MouseEvent=="function"&&!c.browser.ie&&!c.browser.edge){var t=document.createElement("a");t.download=s+"."+n,t.target="_blank",t.href=d;var u=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob){for(var a=atob(d.split(",")[1]),h=a.length,v=new Uint8Array(h);h--;)v[h]=a.charCodeAt(h);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,s+"."+n)}else{var O=o.get("lang"),S='',x=window.open();x.document.write(S)}},g.register("saveAsImage",A);var f=A;J.exports=f},"U/Mo":function(J,F){function e(E){var g=E.coordinateSystem;if(g.type!=="view")return 1;var m=E.option.nodeScaleRatio,A=g.scale,b=A&&A[0]||1,f=g.getZoom(),i=(f-1)*m+1;return i/b}function c(E){var g=E.getVisual("symbolSize");return g instanceof Array&&(g=(g[0]+g[1])/2),+g}F.getNodeGlobalScale=e,F.getSymbolSize=c},UADf:function(J,F,e){},"UNi/":function(J,F){function e(c,E){for(var g=-1,m=Array(c);++g=0}function b(r,o){r=r.slice();var s=c.map(r,E.capitalFirst);o=(o||[]).slice();var l=c.map(o,E.capitalFirst);return function(n,d){c.each(r,function(t,u){for(var a={name:t,capital:s[u]},h=0;h=0}function n(t,u){var a=!1;return o(function(h){c.each(s(t,h)||[],function(v){u.records[h.name][v]&&(a=!0)})}),a}function d(t,u){u.nodes.push(t),o(function(a){c.each(s(t,a)||[],function(h){u.records[a.name][h]=!0})})}}F.isCoordSupported=A,F.createNameEach=b,F.eachAxisDim=f,F.createLinkedNodesFinder=i},Uc92:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var c={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"};F.default=c},UmKh:function(J,F,e){"use strict";var c=e("q1tI"),E=e.n(c),g=e("aGtg");function m(j){var P=[];return E.a.Children.forEach(j,function(V){P.push(V)}),P}function A(j,P){var V=null;return j&&j.forEach(function(H){if(V)return;H&&H.key===P&&(V=H)}),V}function b(j,P,V){var H=null;return j&&j.forEach(function(k){if(k&&k.key===P&&k.props[V]){if(H)throw new Error("two child with same key for children");H=k}}),H}function f(j,P,V){var H=0;return j&&j.forEach(function(k){if(H)return;H=k&&k.key===P&&!k.props[V]}),H}function i(j,P,V){var H=j.length===P.length;return H&&j.forEach(function(k,Z){var Y=P[Z];k&&Y&&((k&&!Y||!k&&Y||(k.key!==Y.key||V&&k.props[V]!==Y.props[V]))&&(H=!1))}),H}function r(j,P){var V=[],H={},k=[];return j.forEach(function(Z){Z&&A(P,Z.key)?k.length&&(H[Z.key]=k,k=[]):k.push(Z)}),P.forEach(function(Z){Z&&Object.prototype.hasOwnProperty.call(H,Z.key)&&(V=V.concat(H[Z.key])),V.push(Z)}),V=V.concat(k),V}var o=e("i8i4"),s=e.n(o),l=e("UwPn"),n={isAppearSupported:function(P){return P.transitionName&&P.transitionAppear||P.animation.appear},isEnterSupported:function(P){return P.transitionName&&P.transitionEnter||P.animation.enter},isLeaveSupported:function(P){return P.transitionName&&P.transitionLeave||P.animation.leave},allowAppearCallback:function(P){return P.transitionAppear||P.animation.appear},allowEnterCallback:function(P){return P.transitionEnter||P.animation.enter},allowLeaveCallback:function(P){return P.transitionLeave||P.animation.leave}},d=n,t=function(){function j(P,V){for(var H=0;H children");return E.a.createElement(O,{key:X.key,ref:function(te){H.childrenRefs[X.key]=te},animation:k.animation,transitionName:k.transitionName,transitionEnter:k.transitionEnter,transitionAppear:k.transitionAppear,transitionLeave:k.transitionLeave},X)}));var _=k.component;if(_){var Q=k;return typeof _=="string"&&(Q=S({className:k.className,style:k.style},k.componentProps)),E.a.createElement(_,Q,Y)}return Y[0]||null}}]),P}(E.a.Component);R.isAnimate=!0,R.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:B,onEnter:B,onLeave:B,onAppear:B};var U=function(){var P=this;this.performEnter=function(V){P.childrenRefs[V]&&(P.currentlyAnimatingKeys[V]=!0,P.childrenRefs[V].componentWillEnter(P.handleDoneAdding.bind(P,V,"enter")))},this.performAppear=function(V){P.childrenRefs[V]&&(P.currentlyAnimatingKeys[V]=!0,P.childrenRefs[V].componentWillAppear(P.handleDoneAdding.bind(P,V,"appear")))},this.handleDoneAdding=function(V,H){var k=P.props;if(delete P.currentlyAnimatingKeys[V],k.exclusive&&k!==P.nextProps)return;var Z=m(D(k));P.isValidChildByKey(Z,V)?H==="appear"?d.allowAppearCallback(k)&&(k.onAppear(V),k.onEnd(V,!0)):d.allowEnterCallback(k)&&(k.onEnter(V),k.onEnd(V,!0)):P.performLeave(V)},this.performLeave=function(V){P.childrenRefs[V]&&(P.currentlyAnimatingKeys[V]=!0,P.childrenRefs[V].componentWillLeave(P.handleDoneLeaving.bind(P,V)))},this.handleDoneLeaving=function(V){var H=P.props;if(delete P.currentlyAnimatingKeys[V],H.exclusive&&H!==P.nextProps)return;var k=m(D(H));if(P.isValidChildByKey(k,V))P.performEnter(V);else{var Z=function(){d.allowLeaveCallback(H)&&(H.onLeave(V),H.onEnd(V,!1))};i(P.state.children,k,H.showProp)?Z():P.setState({children:k},Z)}}},M=F.a=Object(g.a)(R)},UnoB:function(J,F,e){var c=e("bYtY"),E=e("OELB");function g(b,f){b.eachSeriesByType("themeRiver",function(i){var r=i.getData(),o=i.coordinateSystem,s={},l=o.getRect();s.rect=l;var n=i.get("boundaryGap"),d=o.getAxis();if(s.boundaryGap=n,d.orient==="horizontal"){n[0]=E.parsePercent(n[0],l.height),n[1]=E.parsePercent(n[1],l.height);var t=l.height-n[0]-n[1];m(r,i,t)}else{n[0]=E.parsePercent(n[0],l.width),n[1]=E.parsePercent(n[1],l.width);var u=l.width-n[0]-n[1];m(r,i,u)}r.setLayout("layoutInfo",s)})}function m(b,f,i){if(!b.count())return;for(var r=f.coordinateSystem,o=f.getLayerSeries(),s=b.mapDimension("single"),l=b.mapDimension("value"),n=c.map(o,function(S){return c.map(S.indices,function(x){var L=r.dataToPoint(b.get(s,x));return L[1]=b.get(l,x),L})}),d=A(n),t=d.y0,u=i/d.max,a=o.length,h=o[0].indices.length,v,y=0;ys&&(s=l),r.push(l)}for(var u=0;us&&(s=h)}return n.y0=o,n.max=s,n}J.exports=g},Urep:function(J,F,e){},V6Ve:function(J,F,e){var c=e("kekF"),E=c(Object.keys,Object);J.exports=E},V7ic:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("digP")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="FileTwoTone";var f=g.forwardRef(b);F.default=f},VFCP:function(J,F,e){e("dBmv"),e("KamJ")},VPsl:function(J,F){function e(c){c.eachSeriesByType("map",function(E){var g=E.get("color"),m=E.getModel("itemStyle"),A=m.get("areaColor"),b=m.get("color")||g[E.seriesIndex%g.length];E.getData().setVisual({areaColor:A,color:b})})}J.exports=e},VR9l:function(J,F,e){var c=e("KCsZ"),E=c([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),g={getItemStyle:function(m,A){var b=E(this,m,A),f=this.getBorderLineDash();return f&&(b.lineDash=f),b},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};J.exports=g},VSLf:function(J,F,e){e("I+Bx"),e("F0hE"),e("bBKM")},VXYp:function(J,F,e){var c=e("bYtY"),E=e("SgGq"),g=e("iLNv"),m="\0_ec_dataZoom_roams";function A(n,d){var t=i(n),u=d.dataZoomId,a=d.coordId;c.each(t,function(y,O){var S=y.dataZoomInfos;S[u]&&c.indexOf(d.allCoordIds,a)<0&&(delete S[u],y.count--)}),o(t);var h=t[a];h||(h=t[a]={coordId:a,dataZoomInfos:{},count:0},h.controller=r(n,h),h.dispatchAction=c.curry(s,n)),!h.dataZoomInfos[u]&&h.count++,h.dataZoomInfos[u]=d;var v=l(h.dataZoomInfos);h.controller.enable(v.controlType,v.opt),h.controller.setPointerChecker(d.containsPoint),g.createOrUpdate(h,"dispatchAction",d.dataZoomModel.get("throttle",!0),"fixRate")}function b(n,d){var t=i(n);c.each(t,function(u){u.controller.dispose();var a=u.dataZoomInfos;a[d]&&(delete a[d],u.count--)}),o(t)}function f(n){return n.type+"\0_"+n.id}function i(n){var d=n.getZr();return d[m]||(d[m]={})}function r(n,d){var t=new E(n.getZr());return c.each(["pan","zoom","scrollMove"],function(u){t.on(u,function(a){var h=[];c.each(d.dataZoomInfos,function(v){if(!a.isAvailableBehavior(v.dataZoomModel.option))return;var y=(v.getRange||{})[u],O=y&&y(d.controller,a);!v.dataZoomModel.get("disabled",!0)&&O&&h.push({dataZoomId:v.dataZoomId,start:O[0],end:O[1]})}),h.length&&d.dispatchAction(h)})}),t}function o(n){c.each(n,function(d,t){d.count||(d.controller.dispose(),delete n[t])})}function s(n,d){n.dispatchAction({type:"dataZoom",batch:d})}function l(n){var d,t="type_",u={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return c.each(n,function(h){var v=h.dataZoomModel,y=v.get("disabled",!0)?!1:v.get("zoomLock",!0)?"move":!0;u[t+y]>u[t+d]&&(d=y),a&=v.get("preventDefaultMouseMove",!0)}),{controlType:d,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}F.register=A,F.unregister=b,F.generateCoordId=f},VaNO:function(J,F){function e(c){return this.__data__.has(c)}J.exports=e},VaxA:function(J,F,e){var c=e("bYtY");function E(b,f,i){if(b&&c.indexOf(f,b.type)>=0){var r=i.getData().tree.root,o=b.targetNode;if(typeof o=="string"&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var s=b.targetNodeId;if(s!=null&&(o=r.getNodeById(s)))return{node:o}}}function g(b){for(var f=[];b;)b=b.parentNode,b&&f.push(b);return f.reverse()}function m(b,f){var i=g(b);return c.indexOf(i,f)>=0}function A(b,f){for(var i=[];b;){var r=b.dataIndex;i.push({name:b.name,dataIndex:r,value:f.getRawValue(r)}),b=b.parentNode}return i.reverse(),i}F.retrieveTargetInfo=E,F.getPathToRoot=g,F.aboveViewRoot=m,F.wrapTreePathInfo=A},Vi4m:function(J,F,e){var c=e("bYtY");function E(m){m!=null&&c.extend(this,m),this.otherDims={}}var g=E;J.exports=g},Vl3Y:function(J,F,e){"use strict";var c=e("pVnL"),E=e.n(c),g=e("J4zp"),m=e.n(g),A=e("lSNA"),b=e.n(A),f=e("q1tI"),i=e("TSYQ"),r=e.n(i),o=e("85Yc"),s=e("H84U"),l=e("BGR+"),n=f.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),d=f.createContext({updateItemErrors:function(){}}),t=function(ur){var Xt=Object(l.default)(ur,["prefixCls"]);return f.createElement(o.FormProvider,Xt)};function u(Lt){return Lt!=null&&typeof Lt=="object"&&Lt.nodeType===1}function a(Lt,ur){return ur&&Lt==="hidden"?!1:Lt!=="visible"&&Lt!=="clip"}function h(Lt){if(!Lt.ownerDocument||!Lt.ownerDocument.defaultView)return null;try{return Lt.ownerDocument.defaultView.frameElement}catch(ur){return null}}function v(Lt){var ur=h(Lt);return ur?ur.clientHeightur||qt>Lt&&de=ur&&ue>=Xt?qt-Lt-Zt:de>ur&&ueXt?de-ur+mr:0}var S=function(Lt,ur){var Xt=ur.scrollMode,Zt=ur.block,mr=ur.inline,qt=ur.boundary,de=ur.skipOverflowHiddenElements,ue=typeof qt=="function"?qt:function(Vt){return Vt!==qt};if(!u(Lt))throw new TypeError("Invalid target");for(var oe=document.scrollingElement||document.documentElement,ae=[],ye=Lt;u(ye)&&ue(ye);){if(ye=ye.parentNode,ye===oe){ae.push(ye);break}if(ye===document.body&&y(ye)&&!y(document.documentElement))continue;y(ye,de)&&ae.push(ye)}for(var Ce=window.visualViewport?visualViewport.width:innerWidth,Oe=window.visualViewport?visualViewport.height:innerHeight,Ie=window.scrollX||pageXOffset,xe=window.scrollY||pageYOffset,Ue=Lt.getBoundingClientRect(),it=Ue.height,yt=Ue.width,ee=Ue.top,ie=Ue.right,z=Ue.bottom,$=Ue.left,le=Zt==="start"||Zt==="nearest"?ee:Zt==="end"?z:ee+it/2,ge=mr==="center"?$+yt/2:mr==="end"?ie:$,Ae=[],Re=0;Re=0&&$>=0&&z<=Oe&&ie<=Ce&&ee>=Mt&&z<=zt&&$>=Ct&&ie<=_t)return Ae;var lr=getComputedStyle(Qe),Jt=parseInt(lr.borderLeftWidth,10),ke=parseInt(lr.borderTopWidth,10),et=parseInt(lr.borderRightWidth,10),We=parseInt(lr.borderBottomWidth,10),Ke=0,mt=0,dt="offsetWidth"in Qe?Qe.offsetWidth-Qe.clientWidth-Jt-et:0,He="offsetHeight"in Qe?Qe.offsetHeight-Qe.clientHeight-ke-We:0;if(oe===Qe)Zt==="start"?Ke=le:Zt==="end"?Ke=le-Oe:Zt==="nearest"?Ke=O(xe,xe+Oe,Oe,ke,We,xe+le,xe+le+it,it):Ke=le-Oe/2,mr==="start"?mt=ge:mr==="center"?mt=ge-Ce/2:mr==="end"?mt=ge-Ce:mt=O(Ie,Ie+Ce,Ce,Jt,et,Ie+ge,Ie+ge+yt,yt),Ke=Math.max(0,Ke+xe),mt=Math.max(0,mt+Ie);else{Zt==="start"?Ke=le-Mt-ke:Zt==="end"?Ke=le-zt+We+He:Zt==="nearest"?Ke=O(Mt,zt,Qt,ke,We+He,le,le+it,it):Ke=le-(Mt+Qt/2)+He/2,mr==="start"?mt=ge-Ct-Jt:mr==="center"?mt=ge-(Ct+Et/2)+dt/2:mr==="end"?mt=ge-_t+et+dt:mt=O(Ct,_t,Et,Jt,et+dt,ge,ge+yt,yt);var Ze=Qe.scrollLeft,ct=Qe.scrollTop;Ke=Math.max(0,Math.min(ct+Ke,Qe.scrollHeight-Qt+He)),mt=Math.max(0,Math.min(Ze+mt,Qe.scrollWidth-Et+dt)),le+=ct-Ke,ge+=Ze-mt}Ae.push({el:Qe,top:Ke,left:mt})}return Ae};function x(Lt){return Lt===Object(Lt)&&Object.keys(Lt).length!==0}function L(Lt,ur){ur===void 0&&(ur="auto");var Xt="scrollBehavior"in document.body.style;Lt.forEach(function(Zt){var mr=Zt.el,qt=Zt.top,de=Zt.left;mr.scroll&&Xt?mr.scroll({top:qt,left:de,behavior:ur}):(mr.scrollTop=qt,mr.scrollLeft=de)})}function T(Lt){return Lt===!1?{block:"end",inline:"nearest"}:x(Lt)?Lt:{block:"start",inline:"nearest"}}function w(Lt,ur){var Xt=!Lt.ownerDocument.documentElement.contains(Lt);if(x(ur)&&typeof ur.behavior=="function")return ur.behavior(Xt?[]:S(Lt,ur));if(Xt)return;var Zt=T(ur);return L(S(Lt,Zt),Zt.behavior)}var C=w;function N(Lt){return Lt===void 0||Lt===!1?[]:Array.isArray(Lt)?Lt:[Lt]}function D(Lt,ur){if(!Lt.length)return;var Xt=Lt.join("_");return ur?"".concat(ur,"_").concat(Xt):Xt}function B(Lt){var ur=N(Lt);return ur.join("_")}function R(Lt){var ur=Object(o.useForm)(),Xt=m()(ur,1),Zt=Xt[0],mr=Object(f.useRef)({}),qt=Object(f.useMemo)(function(){return Lt||E()(E()({},Zt),{__INTERNAL__:{itemRef:function(ue){return function(oe){var ae=B(ue);oe?mr.current[ae]=oe:delete mr.current[ae]}}},scrollToField:function(ue){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ae=N(ue),ye=D(ae,qt.__INTERNAL__.name),Ce=ye?document.getElementById(ye):null;Ce&&C(Ce,E()({scrollMode:"if-needed",block:"nearest"},oe))},getFieldInstance:function(ue){var oe=B(ue);return mr.current[oe]}})},[Lt,Zt]);return[qt]}var U=e("3Nzz"),M=function(Lt,ur){var Xt={};for(var Zt in Lt)Object.prototype.hasOwnProperty.call(Lt,Zt)&&ur.indexOf(Zt)<0&&(Xt[Zt]=Lt[Zt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mr=0,Zt=Object.getOwnPropertySymbols(Lt);mr0&&arguments[0]!==void 0?arguments[0]:{};return Q()(Cr[en],Qr)?Cr:E()(E()({},Cr),b()({},en,Qr))})},Rt=Kt();function hr(en,Qr,Cr,Gr){var Nr,sr;if(Zt&&!ie)return en;var fr=[];Object.keys(ke).forEach(function(Xr){fr=[].concat(Y()(fr),Y()(ke[Xr]||[]))});var or;ye!=null?or=N(ye):(or=Cr?Cr.errors:[],or=[].concat(Y()(or),Y()(fr)));var dr="";Oe!==void 0?dr=Oe:(Cr==null?void 0:Cr.validating)?dr="validating":((sr=Cr==null?void 0:Cr.errors)===null||sr===void 0?void 0:sr.length)||fr.length?dr="error":(Cr==null?void 0:Cr.touched)&&(dr="success"),_t&&ye&&(Ct.current=dr);var Sr=(Nr={},b()(Nr,"".concat(ct,"-item"),!0),b()(Nr,"".concat(ct,"-item-with-help"),_t||ye),b()(Nr,"".concat(ue),!!ue),b()(Nr,"".concat(ct,"-item-has-feedback"),dr&&ae),b()(Nr,"".concat(ct,"-item-has-success"),dr==="success"),b()(Nr,"".concat(ct,"-item-has-warning"),dr==="warning"),b()(Nr,"".concat(ct,"-item-has-error"),dr==="error"),b()(Nr,"".concat(ct,"-item-has-error-leave"),!ye&&_t&&Ct.current==="error"),b()(Nr,"".concat(ct,"-item-is-validating"),dr==="validating"),b()(Nr,"".concat(ct,"-item-hidden"),ie),Nr);return f.createElement(te.a,E()({className:r()(Sr),style:de,key:"row"},Object(l.default)(z,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),f.createElement(Be,E()({htmlFor:Qr,required:Gr,requiredMark:Qe},Lt,{prefixCls:ct})),f.createElement(kt,E()({},Lt,Cr,{errors:or,prefixCls:ct,onDomErrorVisibleChange:dt,validateStatus:dr}),f.createElement(d.Provider,{value:{updateItemErrors:Vt}},en)))}var pr=typeof Ie=="function",Er=f.useRef(0);if(Er.current+=1,!He&&!pr&&!mr)return hr(Ie);var Or={};return typeof Ue=="string"&&(Or.label=Ue),f.createElement(o.Field,E()({},Lt,{messageVariables:Or,trigger:yt,validateTrigger:mt,onReset:function(){dt(!1)}}),function(en,Qr,Cr){var Gr=Qr.errors,Nr=N(ur).length&&Qr?Qr.name:[],sr=D(Nr,Re);if(Zt){if(Ze.current=Y()(Nr),Xt){var fr=Array.isArray(Xt)?Xt:[Xt];Ze.current=[].concat(Y()(Nr.slice(0,-1)),Y()(fr))}Qt(Ze.current.join("__SPLIT__"),Gr)}var or=xe!==void 0?xe:!!(Ce&&Ce.some(function(Dn){if(Dn&&k()(Dn)==="object"&&Dn.required)return!0;if(typeof Dn=="function"){var jr=Dn(Cr);return jr&&jr.required}return!1})),dr=E()({},en),Sr=null;if(Object(be.a)(!(oe&&mr),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Ie)&&He)Object(be.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),Sr=Ie;else if(pr&&(!(oe||mr)||He))Object(be.a)(!!(oe||mr),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(be.a)(!He,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(mr&&!pr&&!He)Object(be.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ht.b)(Ie)){Object(be.a)(Ie.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Xr=E()(E()({},Ie.props),dr);Xr.id||(Xr.id=sr),Object(pe.c)(Ie)&&(Xr.ref=Rt(Nr,Ie));var cn=new Set([].concat(Y()(N(yt)),Y()(N(mt))));cn.forEach(function(Dn){Xr[Dn]=function(){for(var jr,Ln,gn,Un,Wn,Jn=arguments.length,Qn=new Array(Jn),Kn=0;KnA&&(l=i+r,i*=A/l,r*=A/l),o+s>A&&(l=o+s,o*=A/l,s*=A/l),r+o>b&&(l=r+o,r*=b/l,o*=b/l),i+s>b&&(l=i+s,i*=b/l,s*=b/l),c.moveTo(g+i,m),c.lineTo(g+A-r,m),r!==0&&c.arc(g+A-r,m+r,r,-Math.PI/2,0),c.lineTo(g+A,m+b-o),o!==0&&c.arc(g+A-o,m+b-o,o,0,Math.PI/2),c.lineTo(g+s,m+b),s!==0&&c.arc(g+s,m+b-s,s,Math.PI/2,Math.PI),c.lineTo(g,m+i),i!==0&&c.arc(g+i,m+i,i,Math.PI,Math.PI*1.5)}F.buildPath=e},"VrN/":function(J,F,e){(function(c,E){J.exports=E()})(this,function(){"use strict";var c=navigator.userAgent,E=navigator.platform,g=/gecko\/\d/i.test(c),m=/MSIE \d/.test(c),A=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),b=/Edge\/(\d+)/.exec(c),f=m||A||b,i=f&&(m?document.documentMode||6:+(b||A)[1]),r=!b&&/WebKit\//.test(c),o=r&&/Qt\/\d+\.\d+/.test(c),s=!b&&/Chrome\//.test(c),l=/Opera\//.test(c),n=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),t=/PhantomJS/.test(c),u=!b&&/AppleWebKit/.test(c)&&/Mobile\/\w+/.test(c),a=/Android/.test(c),h=u||a||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),v=u||/Mac/.test(E),y=/\bCrOS\b/.test(c),O=/win/i.test(E),S=l&&c.match(/Version\/(\d*\.\d*)/);S&&(S=Number(S[1])),S&&S>=15&&(l=!1,r=!0);var x=v&&(o||l&&(S==null||S<12.11)),L=g||f&&i>=9;function T(p){return new RegExp("(^|\\s)"+p+"(?:$|\\s)\\s*")}var w=function(I,W){var K=I.className,q=T(W).exec(K);if(q){var ve=K.slice(q.index+q[0].length);I.className=K.slice(0,q.index)+(ve?q[1]+ve:"")}};function C(p){for(var I=p.childNodes.length;I>0;--I)p.removeChild(p.firstChild);return p}function N(p,I){return C(p).appendChild(I)}function D(p,I,W,K){var q=document.createElement(p);if(W&&(q.className=W),K&&(q.style.cssText=K),typeof I=="string")q.appendChild(document.createTextNode(I));else if(I)for(var ve=0;ve=I)return Ye+(I-ve);Ye+=xt-ve,Ye+=W-Ye%W,ve=xt+1}}var Y=function(){this.id=null,this.f=null,this.time=0,this.handler=H(this.onTimeout,this)};Y.prototype.onTimeout=function(p){p.id=0,p.time<=+new Date?p.f():setTimeout(p.handler,p.time-+new Date)},Y.prototype.set=function(p,I){this.f=I;var W=+new Date+p;(!this.id||W=I)return K+Math.min(Ye,I-q);if(q+=ve-K,q+=W-q%W,K=ve+1,q>=I)return K}}var Se=[""];function ze(p){for(;Se.length<=p;)Se.push(Xe(Se)+" ");return Se[p]}function Xe(p){return p[p.length-1]}function wt(p,I){for(var W=[],K=0;K"\x80"&&(p.toUpperCase()!=p.toLowerCase()||at.test(p))}function bt(p,I){return I?I.source.indexOf("\\w")>-1&&$e(p)?!0:I.test(p):$e(p)}function ut(p){for(var I in p)if(p.hasOwnProperty(I)&&p[I])return!1;return!0}var At=/[\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 Ve(p){return p.charCodeAt(0)>=768&&At.test(p)}function gt(p,I,W){for(;(W<0?I>0:IW?-1:1;;){if(I==W)return I;var q=(I+W)/2,ve=K<0?Math.ceil(q):Math.floor(q);if(ve==I)return p(ve)?I:W;p(ve)?W=ve:I=ve+K}}function je(p,I,W,K){if(!p)return K(I,W,"ltr",0);for(var q=!1,ve=0;veI||I==W&&Ye.to==I)&&(K(Math.max(Ye.from,I),Math.min(Ye.to,W),Ye.level==1?"rtl":"ltr",ve),q=!0)}q||K(I,W,"ltr")}var De=null;function ht(p,I,W){var K;De=null;for(var q=0;qI)return q;ve.to==I&&(ve.from!=ve.to&&W=="before"?K=q:De=q),ve.from==I&&(ve.from!=ve.to&&W!="before"?K=q:De=q)}return K!=null?K:De}var It=function(){var p="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",I="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function W(jt){return jt<=247?p.charAt(jt):1424<=jt&&jt<=1524?"R":1536<=jt&&jt<=1785?I.charAt(jt-1536):1774<=jt&&jt<=2220?"r":8192<=jt&&jt<=8203?"w":jt==8204?"b":"L"}var K=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,q=/[stwN]/,ve=/[LRr]/,Ye=/[Lb1n]/,xt=/[1n]/;function Pt(jt,Lr,kr){this.level=jt,this.from=Lr,this.to=kr}return function(jt,Lr){var kr=Lr=="ltr"?"L":"R";if(jt.length==0||Lr=="ltr"&&!K.test(jt))return!1;for(var tn=jt.length,nn=[],xn=0;xn-1&&(K[I]=q.slice(0,ve).concat(q.slice(ve+1)))}}}function Kt(p,I){var W=nr(p,I);if(!W.length)return;for(var K=Array.prototype.slice.call(arguments,2),q=0;q0}function ft(p){p.prototype.on=function(I,W){Wt(this,I,W)},p.prototype.off=function(I,W){Bt(this,I,W)}}function nt(p){p.preventDefault?p.preventDefault():p.returnValue=!1}function se(p){p.stopPropagation?p.stopPropagation():p.cancelBubble=!0}function me(p){return p.defaultPrevented!=null?p.defaultPrevented:p.returnValue==!1}function lt(p){nt(p),se(p)}function Pe(p){return p.target||p.srcElement}function St(p){var I=p.which;return I==null&&(p.button&1?I=1:p.button&2?I=3:p.button&4&&(I=2)),v&&p.ctrlKey&&I==1&&(I=3),I}var Pr=function(){if(f&&i<9)return!1;var p=D("div");return"draggable"in p||"dragDrop"in p}(),Lt;function ur(p){if(Lt==null){var I=D("span","\u200B");N(p,D("span",[I,document.createTextNode("x")])),p.firstChild.offsetHeight!=0&&(Lt=I.offsetWidth<=1&&I.offsetHeight>2&&!(f&&i<8))}var W=Lt?D("span","\u200B"):D("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return W.setAttribute("cm-text",""),W}var Xt;function Zt(p){if(Xt!=null)return Xt;var I=N(p,document.createTextNode("A\u062EA")),W=R(I,0,1).getBoundingClientRect(),K=R(I,1,2).getBoundingClientRect();return C(p),!W||W.left==W.right?!1:Xt=K.right-W.right<3}var mr=` b`.split(/\n/).length!=3?function(p){for(var I=0,W=[],K=p.length;I<=K;){var q=p.indexOf(` `,I);q==-1&&(q=p.length);var ve=p.slice(I,p.charAt(q-1)=="\r"?q-1:q),Ye=ve.indexOf("\r");Ye!=-1?(W.push(ve.slice(0,Ye)),I+=Ye+1):(W.push(ve),I=q+1)}return W}:function(p){return p.split(/\r\n?|\n/)},qt=window.getSelection?function(p){try{return p.selectionStart!=p.selectionEnd}catch(I){return!1}}:function(p){var I;try{I=p.ownerDocument.selection.createRange()}catch(W){}return!I||I.parentElement()!=p?!1:I.compareEndPoints("StartToEnd",I)!=0},de=function(){var p=D("div");return"oncopy"in p?!0:(p.setAttribute("oncopy","return;"),typeof p.oncopy=="function")}(),ue=null;function oe(p){if(ue!=null)return ue;var I=N(p,D("span","x")),W=I.getBoundingClientRect(),K=R(I,0,1).getBoundingClientRect();return ue=Math.abs(W.left-K.left)>1}var ae={},ye={};function Ce(p,I){arguments.length>2&&(I.dependencies=Array.prototype.slice.call(arguments,2)),ae[p]=I}function Oe(p,I){ye[p]=I}function Ie(p){if(typeof p=="string"&&ye.hasOwnProperty(p))p=ye[p];else if(p&&typeof p.name=="string"&&ye.hasOwnProperty(p.name)){var I=ye[p.name];typeof I=="string"&&(I={name:I}),p=vt(I,p),p.name=I.name}else{if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(p))return Ie("application/xml");if(typeof p=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(p))return Ie("application/json")}return typeof p=="string"?{name:p}:p||{name:"null"}}function xe(p,I){I=Ie(I);var W=ae[I.name];if(!W)return xe(p,"text/plain");var K=W(p,I);if(Ue.hasOwnProperty(I.name)){var q=Ue[I.name];for(var ve in q){if(!q.hasOwnProperty(ve))continue;K.hasOwnProperty(ve)&&(K["_"+ve]=K[ve]),K[ve]=q[ve]}}if(K.name=I.name,I.helperType&&(K.helperType=I.helperType),I.modeProps)for(var Ye in I.modeProps)K[Ye]=I.modeProps[Ye];return K}var Ue={};function it(p,I){var W=Ue.hasOwnProperty(p)?Ue[p]:Ue[p]={};k(I,W)}function yt(p,I){if(I===!0)return I;if(p.copyState)return p.copyState(I);var W={};for(var K in I){var q=I[K];q instanceof Array&&(q=q.concat([])),W[K]=q}return W}function ee(p,I){for(var W;p.innerMode&&!(W=p.innerMode(I),!W||W.mode==p);)I=W.state,p=W.mode;return W||{mode:p,state:I}}function ie(p,I,W){return p.startState?p.startState(I,W):!0}var z=function(I,W,K){this.pos=this.start=0,this.string=I,this.tabSize=W||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=K};z.prototype.eol=function(){return this.pos>=this.string.length},z.prototype.sol=function(){return this.pos==this.lineStart},z.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},z.prototype.next=function(){if(this.posI},z.prototype.eatSpace=function(){for(var p=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>p},z.prototype.skipToEnd=function(){this.pos=this.string.length},z.prototype.skipTo=function(p){var I=this.string.indexOf(p,this.pos);if(I>-1)return this.pos=I,!0},z.prototype.backUp=function(p){this.pos-=p},z.prototype.column=function(){return this.lastColumnPos0?null:(ve&&I!==!1&&(this.pos+=ve[0].length),ve)}},z.prototype.current=function(){return this.string.slice(this.start,this.pos)},z.prototype.hideFirstChars=function(p,I){this.lineStart+=p;try{return I()}finally{this.lineStart-=p}},z.prototype.lookAhead=function(p){var I=this.lineOracle;return I&&I.lookAhead(p)},z.prototype.baseToken=function(){var p=this.lineOracle;return p&&p.baseToken(this.pos)};function $(p,I){if(I-=p.first,I<0||I>=p.size)throw new Error("There is no line "+(I+p.first)+" in the document.");for(var W=p;!W.lines;)for(var K=0;;++K){var q=W.children[K],ve=q.chunkSize();if(I=p.first&&IW?Et(W,$(p,W).text.length):et(I,$(p,I.line).text.length)}function et(p,I){var W=p.ch;return W==null||W>I?Et(p.line,I):W<0?Et(p.line,0):p}function We(p,I){for(var W=[],K=0;Kthis.maxLookAhead&&(this.maxLookAhead=p),I},mt.prototype.baseToken=function(p){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=p;)this.baseTokenPos+=2;var I=this.baseTokens[this.baseTokenPos+1];return{type:I&&I.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-p}},mt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},mt.fromSaved=function(p,I,W){return I instanceof Ke?new mt(p,yt(p.mode,I.state),W,I.lookAhead):new mt(p,yt(p.mode,I),W)},mt.prototype.save=function(p){var I=p!==!1?yt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ke(I,this.maxLookAhead):I};function dt(p,I,W,K){var q=[p.state.modeGen],ve={};Or(p,I.text,p.doc.mode,W,function(jt,Lr){return q.push(jt,Lr)},ve,K);for(var Ye=W.state,xt=function(Lr){W.baseTokens=q;var kr=p.state.overlays[Lr],tn=1,nn=0;W.state=!0,Or(p,I.text,kr.mode,W,function(xn,_n){for(var Zn=tn;nnxn&&q.splice(tn,1,xn,q[tn+1],$n),tn+=2,nn=Math.min(xn,$n)}if(!_n)return;if(kr.opaque)q.splice(Zn,tn-Zn,xn,"overlay "+_n),tn=Zn+2;else for(;Znp.options.maxHighlightLength&&yt(p.doc.mode,K.state),ve=dt(p,I,K);q&&(K.state=q),I.stateAfter=K.save(!q),I.styles=ve.styles,ve.classes?I.styleClasses=ve.classes:I.styleClasses&&(I.styleClasses=null),W===p.doc.highlightFrontier&&(p.doc.modeFrontier=Math.max(p.doc.modeFrontier,++p.doc.highlightFrontier))}return I.styles}function Ze(p,I,W){var K=p.doc,q=p.display;if(!K.mode.startState)return new mt(K,!0,I);var ve=en(p,I,W),Ye=ve>K.first&&$(K,ve-1).stateAfter,xt=Ye?mt.fromSaved(K,Ye,ve):new mt(K,ie(K.mode),ve);return K.iter(ve,I,function(Pt){ct(p,Pt.text,xt);var jt=xt.line;Pt.stateAfter=jt==I-1||jt%5==0||jt>=q.viewFrom&&jtI.start)return ve}throw new Error("Mode "+p.name+" failed to advance stream.")}var hr=function(I,W,K){this.start=I.start,this.end=I.pos,this.string=I.current(),this.type=W||null,this.state=K};function pr(p,I,W,K){var q=p.doc,ve=q.mode,Ye;I=ke(q,I);var xt=$(q,I.line),Pt=Ze(p,I.line,W),jt=new z(xt.text,p.options.tabSize,Pt),Lr;for(K&&(Lr=[]);(K||jt.posp.options.maxHighlightLength?(xt=!1,Ye&&ct(p,I,K,Lr.pos),Lr.pos=I.length,kr=null):kr=Er(Rt(W,Lr,K.state,tn),ve),tn){var nn=tn[0].name;nn&&(kr="m-"+(kr?nn+" "+kr:nn))}if(!xt||jt!=kr){for(;PtYe;--xt){if(xt<=ve.first)return ve.first;var Pt=$(ve,xt-1),jt=Pt.stateAfter;if(jt&&(!W||xt+(jt instanceof Ke?jt.lookAhead:0)<=ve.modeFrontier))return xt;var Lr=Z(Pt.text,null,p.options.tabSize);(q==null||K>Lr)&&(q=xt-1,K=Lr)}return q}function Qr(p,I){if(p.modeFrontier=Math.min(p.modeFrontier,I),p.highlightFrontierW;K--){var q=$(p,K).stateAfter;if(q&&(!(q instanceof Ke)||K+q.lookAhead=I:ve.to>I);(K||(K=[])).push(new fr(Ye,ve.from,Pt?null:ve.to))}}return K}function cn(p,I,W){var K;if(p)for(var q=0;q=I:ve.to>I);if(xt||ve.from==I&&Ye.type=="bookmark"&&(!W||ve.marker.insertLeft)){var Pt=ve.from==null||(Ye.inclusiveLeft?ve.from<=I:ve.from0&&xt)for(var Te=0;Te0)continue;var Lr=[Pt,1],kr=Mt(jt.from,xt.from),tn=Mt(jt.to,xt.to);(kr<0||!Ye.inclusiveLeft&&!kr)&&Lr.push({from:jt.from,to:xt.from}),(tn>0||!Ye.inclusiveRight&&!tn)&&Lr.push({from:xt.to,to:jt.to}),q.splice.apply(q,Lr),Pt+=Lr.length-3}return q}function gn(p){var I=p.markedSpans;if(!I)return;for(var W=0;WI)&&(!K||Qn(K,ve.marker)<0)&&(K=ve.marker)}return K}function xa(p,I,W,K,q){var ve=$(p,I),Ye=Gr&&ve.markedSpans;if(Ye)for(var xt=0;xt=0&&kr<=0||Lr<=0&&kr>=0)continue;if(Lr<=0&&(Pt.marker.inclusiveRight&&q.inclusiveLeft?Mt(jt.to,W)>=0:Mt(jt.to,W)>0)||Lr>=0&&(Pt.marker.inclusiveRight&&q.inclusiveLeft?Mt(jt.from,K)<=0:Mt(jt.from,K)<0))return!0}}function ta(p){for(var I;I=yn(p);)p=I.find(-1,!0).line;return p}function Ni(p){for(var I;I=on(p);)p=I.find(1,!0).line;return p}function Ci(p){for(var I,W;I=on(p);)p=I.find(1,!0).line,(W||(W=[])).push(p);return W}function Gn(p,I){var W=$(p,I),K=ta(W);return W==K?I:Re(K)}function Ia(p,I){if(I>p.lastLine())return I;var W=$(p,I),K;if(!mn(p,W))return I;for(;K=on(W);)W=K.find(1,!0).line;return Re(W)+1}function mn(p,I){var W=Gr&&I.markedSpans;if(W)for(var K=void 0,q=0;qI.maxLineLength&&(I.maxLineLength=q,I.maxLine=K)})}var ni=function(I,W,K){this.text=I,Un(this,W),this.height=K?K(this):1};ni.prototype.lineNo=function(){return Re(this)},ft(ni);function di(p,I,W,K){p.text=I,p.stateAfter&&(p.stateAfter=null),p.styles&&(p.styles=null),p.order!=null&&(p.order=null),gn(p),Un(p,W);var q=K?K(p):1;q!=p.height&&Ae(p,q)}function Da(p){p.parent=null,gn(p)}var Xi={},ma={};function _a(p,I){if(!p||/^\s*$/.test(p))return null;var W=I.addModeClass?ma:Xi;return W[p]||(W[p]=p.replace(/\S+/g,"cm-$&"))}function Xa(p,I){var W=B("span",null,null,r?"padding-right: .1px":null),K={pre:B("pre",[W],"CodeMirror-line"),content:W,col:0,pos:0,cm:p,trailingSpace:!1,splitSpaces:p.getOption("lineWrapping")};I.measure={};for(var q=0;q<=(I.rest?I.rest.length:0);q++){var ve=q?I.rest[q-1]:I.line,Ye=void 0;K.pos=0,K.addToken=Co,Zt(p.display.measure)&&(Ye=kt(ve,p.doc.direction))&&(K.addToken=Hi(K.addToken,Ye)),K.map=[];var xt=I!=p.display.externalMeasured&&Re(ve);ha(ve,K,He(p,ve,xt)),ve.styleClasses&&(ve.styleClasses.bgClass&&(K.bgClass=P(ve.styleClasses.bgClass,K.bgClass||"")),ve.styleClasses.textClass&&(K.textClass=P(ve.styleClasses.textClass,K.textClass||""))),K.map.length==0&&K.map.push(0,0,K.content.appendChild(ur(p.display.measure))),q==0?(I.measure.map=K.map,I.measure.cache={}):((I.measure.maps||(I.measure.maps=[])).push(K.map),(I.measure.caches||(I.measure.caches=[])).push({}))}if(r){var Pt=K.content.lastChild;(/\bcm-tab\b/.test(Pt.className)||Pt.querySelector&&Pt.querySelector(".cm-tab"))&&(K.content.className="cm-tab-wrap-hack")}return Kt(p,"renderLine",p,I.line,K.pre),K.pre.className&&(K.textClass=P(K.pre.className,K.textClass||"")),K}function Vi(p){var I=D("span","\u2022","cm-invalidchar");return I.title="\\u"+p.charCodeAt(0).toString(16),I.setAttribute("aria-label",I.title),I}function Co(p,I,W,K,q,ve,Ye){if(!I)return;var xt=p.splitSpaces?aa(I,p.trailingSpace):I,Pt=p.cm.state.specialChars,jt=!1,Lr;if(!Pt.test(I))p.col+=I.length,Lr=document.createTextNode(xt),p.map.push(p.pos,p.pos+I.length,Lr),f&&i<9&&(jt=!0),p.pos+=I.length;else{Lr=document.createDocumentFragment();for(var kr=0;;){Pt.lastIndex=kr;var tn=Pt.exec(I),nn=tn?tn.index-kr:I.length-kr;if(nn){var xn=document.createTextNode(xt.slice(kr,kr+nn));f&&i<9?Lr.appendChild(D("span",[xn])):Lr.appendChild(xn),p.map.push(p.pos,p.pos+nn,xn),p.col+=nn,p.pos+=nn}if(!tn)break;kr+=nn+1;var _n=void 0;if(tn[0]==" "){var Zn=p.cm.options.tabSize,$n=Zn-p.col%Zn;_n=Lr.appendChild(D("span",ze($n),"cm-tab")),_n.setAttribute("role","presentation"),_n.setAttribute("cm-text"," "),p.col+=$n}else tn[0]=="\r"||tn[0]==` `?(_n=Lr.appendChild(D("span",tn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),_n.setAttribute("cm-text",tn[0]),p.col+=1):(_n=p.cm.options.specialCharPlaceholder(tn[0]),_n.setAttribute("cm-text",tn[0]),f&&i<9?Lr.appendChild(D("span",[_n])):Lr.appendChild(_n),p.col+=1);p.map.push(p.pos,p.pos+1,_n),p.pos++}}if(p.trailingSpace=xt.charCodeAt(I.length-1)==32,W||K||q||jt||ve||Ye){var oi=W||"";K&&(oi+=K),q&&(oi+=q);var li=D("span",[Lr],oi,ve);if(Ye)for(var Te in Ye)Ye.hasOwnProperty(Te)&&Te!="style"&&Te!="class"&&li.setAttribute(Te,Ye[Te]);return p.content.appendChild(li)}p.content.appendChild(Lr)}function aa(p,I){if(p.length>1&&!/ /.test(p))return p;for(var W=I,K="",q=0;qjt&&kr.from<=jt);tn++);if(kr.to>=Lr)return p(W,K,q,ve,Ye,xt,Pt);p(W,K.slice(0,kr.to-jt),q,ve,null,xt,Pt),ve=null,K=K.slice(kr.to-jt),jt=kr.to}}}function ga(p,I,W,K){var q=!K&&W.widgetNode;q&&p.map.push(p.pos,p.pos+I,q),!K&&p.cm.display.input.needsContentAttribute&&(q||(q=p.content.appendChild(document.createElement("span"))),q.setAttribute("cm-marker",W.id)),q&&(p.cm.display.input.setUneditable(q),p.content.appendChild(q)),p.pos+=I,p.trailingSpace=!1}function ha(p,I,W){var K=p.markedSpans,q=p.text,ve=0;if(!K){for(var Ye=1;YePt||Ne.collapsed&&we.to==Pt&&we.from==Pt)){if(we.to!=null&&we.to!=Pt&&nn>we.to&&(nn=we.to,_n=""),Ne.className&&(xn+=" "+Ne.className),Ne.css&&(tn=(tn?tn+";":"")+Ne.css),Ne.startStyle&&we.from==Pt&&(Zn+=" "+Ne.startStyle),Ne.endStyle&&we.to==nn&&(Te||(Te=[])).push(Ne.endStyle,we.to),Ne.title&&((oi||(oi={})).title=Ne.title),Ne.attributes)for(var pt in Ne.attributes)(oi||(oi={}))[pt]=Ne.attributes[pt];Ne.collapsed&&(!$n||Qn($n.marker,Ne)<0)&&($n=we)}else we.from>Pt&&nn>we.from&&(nn=we.from)}if(Te)for(var $t=0;$t=xt)break;for(var Dr=Math.min(xt,nn);;){if(Lr){var Hr=Pt+Lr.length;if(!$n){var zr=Hr>Dr?Lr.slice(0,Dr-Pt):Lr;I.addToken(I,zr,kr?kr+xn:xn,Zn,Pt+zr.length==nn?_n:"",tn,oi)}if(Hr>=Dr){Lr=Lr.slice(Dr-Pt),Pt=Dr;break}Pt=Hr,Zn=""}Lr=q.slice(ve,ve=W[jt++]),kr=_a(W[jt++],I.cm.options)}}}function mo(p,I,W){this.line=I,this.rest=Ci(I),this.size=this.rest?Re(Xe(this.rest))-W+1:1,this.node=this.text=null,this.hidden=mn(p,I)}function Pn(p,I,W){for(var K=[],q,ve=I;ve2&&ve.push((Pt.bottom+jt.top)/2-W.top)}}ve.push(W.bottom-W.top)}}function wn(p,I,W){if(p.line==I)return{map:p.measure.map,cache:p.measure.cache};for(var K=0;KW)return{map:p.measure.maps[q],cache:p.measure.caches[q],before:!0}}function Hn(p,I){I=ta(I);var W=Re(I),K=p.display.externalMeasured=new mo(p.doc,I,W);K.lineN=W;var q=K.built=Xa(p,K);return K.text=q.pre,N(p.display.lineMeasure,q.pre),K}function Sn(p,I,W,K){return vn(p,Bn(p,I),W,K)}function bn(p,I){if(I>=p.display.viewFrom&&I=W.lineN&&II)&&(ve=Pt-xt,q=ve-1,I>=Pt&&(Ye="right")),q!=null){if(K=p[jt+2],xt==Pt&&W==(K.insertLeft?"left":"right")&&(Ye=W),W=="left"&&q==0)for(;jt&&p[jt-2]==p[jt-3]&&p[jt-1].insertLeft;)K=p[(jt-=3)+2],Ye="left";if(W=="right"&&q==Pt-xt)for(;jt=0&&!((W=p[q]).left!=W.right);q--);return W}function Yn(p,I,W,K){var q=En(I.map,W,K),ve=q.node,Ye=q.start,xt=q.end,Pt=q.collapse,jt;if(ve.nodeType==3){for(var Lr=0;Lr<4;Lr++){for(;Ye&&Ve(I.line.text.charAt(q.coverStart+Ye));)--Ye;for(;q.coverStart+xt0&&(Pt=K="right");var kr;p.options.lineWrapping&&(kr=ve.getClientRects()).length>1?jt=kr[K=="right"?kr.length-1:0]:jt=ve.getBoundingClientRect()}if(f&&i<9&&!Ye&&(!jt||!jt.left&&!jt.right)){var tn=ve.parentNode.getClientRects()[0];tn?jt={left:tn.left,right:tn.left+Ti(p.display),top:tn.top,bottom:tn.bottom}:jt=Mn}for(var nn=jt.top-I.rect.top,xn=jt.bottom-I.rect.top,_n=(nn+xn)/2,Zn=I.view.measure.heights,$n=0;$n=K.text.length?(Pt=K.text.length,jt="before"):Pt<=0&&(Pt=0,jt="after"),!xt)return Ye(jt=="before"?Pt-1:Pt,jt=="before");function Lr(xn,_n,Zn){var $n=xt[_n],oi=$n.level==1;return Ye(Zn?xn-1:xn,oi!=Zn)}var kr=ht(xt,Pt,jt),tn=De,nn=Lr(Pt,kr,jt=="before");return tn!=null&&(nn.other=Lr(Pt,tn,jt!="before")),nn}function mi(p,I){var W=0;I=ke(p.doc,I),p.options.lineWrapping||(W=Ti(p.display)*I.ch);var K=$(p.doc,I.line),q=On(K)+Ut(p.display);return{left:W,right:W,top:q,bottom:q+K.height}}function hi(p,I,W,K,q){var ve=Et(p,I,W);return ve.xRel=q,K&&(ve.outside=K),ve}function Ji(p,I,W){var K=p.doc;if(W+=p.display.viewOffset,W<0)return hi(K.first,0,null,-1,-1);var q=Qe(K,W),ve=K.first+K.size-1;if(q>ve)return hi(K.first+K.size-1,$(K,ve).text.length,null,1,1);I<0&&(I=0);for(var Ye=$(K,q);;){var xt=oa(p,Ye,q,I,W),Pt=ia(Ye,xt.ch+(xt.xRel>0||xt.outside>0?1:0));if(!Pt)return xt;var jt=Pt.find(1);if(jt.line==q)return jt;Ye=$(K,q=jt.line)}}function va(p,I,W,K){K-=kn(I);var q=I.text.length,ve=Je(function(Ye){return vn(p,W,Ye-1).bottom<=K},q,0);return q=Je(function(Ye){return vn(p,W,Ye).top>K},ve,q),{begin:ve,end:q}}function Ea(p,I,W,K){W||(W=Bn(p,I));var q=Mi(p,I,vn(p,W,K),"line").top;return va(p,I,W,q)}function Aa(p,I,W,K){return p.bottom<=W?!1:p.top>W?!0:(K?p.left:p.right)>I}function oa(p,I,W,K,q){q-=On(I);var ve=Bn(p,I),Ye=kn(I),xt=0,Pt=I.text.length,jt=!0,Lr=kt(I,p.doc.direction);if(Lr){var kr=(p.options.lineWrapping?Di:sa)(p,I,W,ve,Lr,K,q);jt=kr.level!=1,xt=jt?kr.from:kr.to-1,Pt=jt?kr.to:kr.from-1}var tn=null,nn=null,xn=Je(function(G){var we=vn(p,ve,G);return we.top+=Ye,we.bottom+=Ye,Aa(we,K,q,!1)?(we.top<=q&&we.left<=K&&(tn=G,nn=we),!0):!1},xt,Pt),_n,Zn,$n=!1;if(nn){var oi=K-nn.left=Te.bottom?1:0}return xn=gt(I.text,xn,1),hi(W,xn,Zn,$n,K-_n)}function sa(p,I,W,K,q,ve,Ye){var xt=Je(function(kr){var tn=q[kr],nn=tn.level!=1;return Aa(Bi(p,Et(W,nn?tn.to:tn.from,nn?"before":"after"),"line",I,K),ve,Ye,!0)},0,q.length-1),Pt=q[xt];if(xt>0){var jt=Pt.level!=1,Lr=Bi(p,Et(W,jt?Pt.from:Pt.to,jt?"after":"before"),"line",I,K);Aa(Lr,ve,Ye,!0)&&Lr.top>Ye&&(Pt=q[xt-1])}return Pt}function Di(p,I,W,K,q,ve,Ye){var xt=va(p,I,K,Ye),Pt=xt.begin,jt=xt.end;/\s/.test(I.text.charAt(jt-1))&&jt--;for(var Lr=null,kr=null,tn=0;tn=jt||nn.to<=Pt)continue;var xn=nn.level!=1,_n=vn(p,K,xn?Math.min(jt,nn.to)-1:Math.max(Pt,nn.from)).right,Zn=_nZn)&&(Lr=nn,kr=Zn)}return Lr||(Lr=q[q.length-1]),Lr.fromjt&&(Lr={from:Lr.from,to:jt,level:Lr.level}),Lr}var qn;function yi(p){if(p.cachedTextHeight!=null)return p.cachedTextHeight;if(qn==null){qn=D("pre",null,"CodeMirror-line-like");for(var I=0;I<49;++I)qn.appendChild(document.createTextNode("x")),qn.appendChild(D("br"));qn.appendChild(document.createTextNode("x"))}N(p.measure,qn);var W=qn.offsetHeight/50;return W>3&&(p.cachedTextHeight=W),C(p.measure),W||1}function Ti(p){if(p.cachedCharWidth!=null)return p.cachedCharWidth;var I=D("span","xxxxxxxxxx"),W=D("pre",[I],"CodeMirror-line-like");N(p.measure,W);var K=I.getBoundingClientRect(),q=(K.right-K.left)/10;return q>2&&(p.cachedCharWidth=q),q||10}function Ki(p){for(var I=p.display,W={},K={},q=I.gutters.clientLeft,ve=I.gutters.firstChild,Ye=0;ve;ve=ve.nextSibling,++Ye){var xt=p.display.gutterSpecs[Ye].className;W[xt]=ve.offsetLeft+ve.clientLeft+q,K[xt]=ve.clientWidth}return{fixedPos:Yi(I),gutterTotalWidth:I.gutters.offsetWidth,gutterLeft:W,gutterWidth:K,wrapperWidth:I.wrapper.clientWidth}}function Yi(p){return p.scroller.getBoundingClientRect().left-p.sizer.getBoundingClientRect().left}function bi(p){var I=yi(p.display),W=p.options.lineWrapping,K=W&&Math.max(5,p.display.scroller.clientWidth/Ti(p.display)-3);return function(q){if(mn(p.doc,q))return 0;var ve=0;if(q.widgets)for(var Ye=0;Ye0&&(jt=$(p.doc,Pt.line).text).length==Pt.ch){var Lr=Z(jt,jt.length,p.options.tabSize)-jt.length;Pt=Et(Pt.line,Math.max(0,Math.round((ve-yr(p.display).left)/Ti(p.display))-Lr))}return Pt}function la(p,I){if(I>=p.display.viewTo)return null;if(I-=p.display.viewFrom,I<0)return null;for(var W=p.display.view,K=0;KI)&&(q.updateLineNumbers=I),p.curOp.viewChanged=!0,I>=q.viewTo)Gr&&Gn(p.doc,I)q.viewFrom?Ba(p):(q.viewFrom+=K,q.viewTo+=K);else if(I<=q.viewFrom&&W>=q.viewTo)Ba(p);else if(I<=q.viewFrom){var ve=ra(p,W,W+K,1);ve?(q.view=q.view.slice(ve.index),q.viewFrom=ve.lineN,q.viewTo+=K):Ba(p)}else if(W>=q.viewTo){var Ye=ra(p,I,I,-1);Ye?(q.view=q.view.slice(0,Ye.index),q.viewTo=Ye.lineN):Ba(p)}else{var xt=ra(p,I,I,-1),Pt=ra(p,W,W+K,1);xt&&Pt?(q.view=q.view.slice(0,xt.index).concat(Pn(p,xt.lineN,Pt.lineN)).concat(q.view.slice(Pt.index)),q.viewTo+=K):Ba(p)}var jt=q.externalMeasured;jt&&(W=q.lineN&&I=K.viewTo)return;var ve=K.view[la(p,I)];if(ve.node==null)return;var Ye=ve.changes||(ve.changes=[]);_(Ye,W)==-1&&Ye.push(W)}function Ba(p){p.display.viewFrom=p.display.viewTo=p.doc.first,p.display.view=[],p.display.viewOffset=0}function ra(p,I,W,K){var q=la(p,I),ve,Ye=p.display.view;if(!Gr||W==p.doc.first+p.doc.size)return{index:q,lineN:W};for(var xt=p.display.viewFrom,Pt=0;Pt0){if(q==Ye.length-1)return null;ve=xt+Ye[q].size-I,q++}else ve=xt-I;I+=ve,W+=ve}for(;Gn(p.doc,W)!=W;){if(q==(K<0?0:Ye.length-1))return null;W+=K*Ye[q-(K<0?1:0)].size,q+=K}return{index:q,lineN:W}}function Qi(p,I,W){var K=p.display,q=K.view;q.length==0||I>=K.viewTo||W<=K.viewFrom?(K.view=Pn(p,I,W),K.viewFrom=I):(K.viewFrom>I?K.view=Pn(p,I,K.viewFrom).concat(K.view):K.viewFromW&&(K.view=K.view.slice(0,la(p,W)))),K.viewTo=W}function Ya(p){for(var I=p.display.view,W=0,K=0;K=p.display.viewTo||xt.to().line0?I.blinker=setInterval(function(){p.hasFocus()||Ii(p),I.cursorDiv.style.visibility=(W=!W)?"":"hidden"},p.options.cursorBlinkRate):p.options.cursorBlinkRate<0&&(I.cursorDiv.style.visibility="hidden")}function Qa(p){p.state.focused||(p.display.input.focus(),pa(p))}function za(p){p.state.delayingBlurEvent=!0,setTimeout(function(){p.state.delayingBlurEvent&&(p.state.delayingBlurEvent=!1,Ii(p))},100)}function pa(p,I){if(p.state.delayingBlurEvent&&(p.state.delayingBlurEvent=!1),p.options.readOnly=="nocursor")return;p.state.focused||(Kt(p,"focus",p,I),p.state.focused=!0,j(p.display.wrapper,"CodeMirror-focused"),!p.curOp&&p.display.selForContextMenu!=p.doc.sel&&(p.display.input.reset(),r&&setTimeout(function(){return p.display.input.reset(!0)},20)),p.display.input.receivedFocus()),vi(p)}function Ii(p,I){if(p.state.delayingBlurEvent)return;p.state.focused&&(Kt(p,"blur",p,I),p.state.focused=!1,w(p.display.wrapper,"CodeMirror-focused")),clearInterval(p.display.blinker),setTimeout(function(){p.state.focused||(p.display.shift=!1)},150)}function So(p){for(var I=p.display,W=I.lineDiv.offsetTop,K=0;K.005||Lr<-.005)&&(Ae(q.line,Ye),Wa(q.line),q.rest))for(var kr=0;krp.display.sizerWidth){var tn=Math.ceil(xt/Ti(p.display));tn>p.display.maxLineLength&&(p.display.maxLineLength=tn,p.display.maxLine=q.line,p.display.maxLineChanged=!0)}}}function Wa(p){if(p.widgets)for(var I=0;I=Ye&&(ve=Qe(I,On($(I,Pt))-p.wrapper.clientHeight),Ye=Pt)}return{from:ve,to:Math.max(Ye,ve+1)}}function Ja(p,I){if(Ge(p,"scrollCursorIntoView"))return;var W=p.display,K=W.sizer.getBoundingClientRect(),q=null;if(I.top+K.top<0?q=!0:I.bottom+K.top>(window.innerHeight||document.documentElement.clientHeight)&&(q=!1),q!=null&&!t){var ve=D("div","\u200B",null,`position: absolute; top: `+(I.top-W.viewOffset-Ut(p.display))+`px; height: `+(I.bottom-I.top+Br(p)+W.barHeight)+`px; left: `+I.left+"px; width: "+Math.max(2,I.right-I.left)+"px;");p.display.lineSpace.appendChild(ve),ve.scrollIntoView(q),p.display.lineSpace.removeChild(ve)}}function ho(p,I,W,K){K==null&&(K=0);var q;!p.options.lineWrapping&&I==W&&(I=I.ch?Et(I.line,I.sticky=="before"?I.ch-1:I.ch,"after"):I,W=I.sticky=="before"?Et(I.line,I.ch+1,"before"):I);for(var ve=0;ve<5;ve++){var Ye=!1,xt=Bi(p,I),Pt=!W||W==I?xt:Bi(p,W);q={left:Math.min(xt.left,Pt.left),top:Math.min(xt.top,Pt.top)-K,right:Math.max(xt.left,Pt.left),bottom:Math.max(xt.bottom,Pt.bottom)+K};var jt=to(p,q),Lr=p.doc.scrollTop,kr=p.doc.scrollLeft;if(jt.scrollTop!=null&&(Gi(p,jt.scrollTop),Math.abs(p.doc.scrollTop-Lr)>1&&(Ye=!0)),jt.scrollLeft!=null&&(go(p,jt.scrollLeft),Math.abs(p.doc.scrollLeft-kr)>1&&(Ye=!0)),!Ye)break}return q}function Ca(p,I){var W=to(p,I);W.scrollTop!=null&&Gi(p,W.scrollTop),W.scrollLeft!=null&&go(p,W.scrollLeft)}function to(p,I){var W=p.display,K=yi(p.display);I.top<0&&(I.top=0);var q=p.curOp&&p.curOp.scrollTop!=null?p.curOp.scrollTop:W.scroller.scrollTop,ve=rn(p),Ye={};I.bottom-I.top>ve&&(I.bottom=I.top+ve);var xt=p.doc.height+ir(W),Pt=I.topxt-K;if(I.topq+ve){var Lr=Math.min(I.top,(jt?xt:I.bottom)-ve);Lr!=q&&(Ye.scrollTop=Lr)}var kr=p.options.fixedGutter?0:W.gutters.offsetWidth,tn=p.curOp&&p.curOp.scrollLeft!=null?p.curOp.scrollLeft:W.scroller.scrollLeft-kr,nn=Rr(p)-W.gutters.offsetWidth,xn=I.right-I.left>nn;return xn&&(I.right=I.left+nn),I.left<10?Ye.scrollLeft=0:I.leftnn+tn-3&&(Ye.scrollLeft=I.right+(xn?0:10)-nn),Ye}function Oo(p,I){if(I==null)return;Ra(p),p.curOp.scrollTop=(p.curOp.scrollTop==null?p.doc.scrollTop:p.curOp.scrollTop)+I}function Ta(p){Ra(p);var I=p.getCursor();p.curOp.scrollToPos={from:I,to:I,margin:p.options.cursorScrollMargin}}function Fi(p,I,W){(I!=null||W!=null)&&Ra(p),I!=null&&(p.curOp.scrollLeft=I),W!=null&&(p.curOp.scrollTop=W)}function $a(p,I){Ra(p),p.curOp.scrollToPos=I}function Ra(p){var I=p.curOp.scrollToPos;if(I){p.curOp.scrollToPos=null;var W=mi(p,I.from),K=mi(p,I.to);pi(p,W,K,I.margin)}}function pi(p,I,W,K){var q=to(p,{left:Math.min(I.left,W.left),top:Math.min(I.top,W.top)-K,right:Math.max(I.right,W.right),bottom:Math.max(I.bottom,W.bottom)+K});Fi(p,q.scrollLeft,q.scrollTop)}function Gi(p,I){if(Math.abs(p.doc.scrollTop-I)<2)return;g||To(p,{top:I}),oo(p,I,!0),g&&To(p),ps(p,100)}function oo(p,I,W){if(I=Math.max(0,Math.min(p.display.scroller.scrollHeight-p.display.scroller.clientHeight,I)),p.display.scroller.scrollTop==I&&!W)return;p.doc.scrollTop=I,p.display.scrollbars.setScrollTop(I),p.display.scroller.scrollTop!=I&&(p.display.scroller.scrollTop=I)}function go(p,I,W,K){if(I=Math.max(0,Math.min(I,p.display.scroller.scrollWidth-p.display.scroller.clientWidth)),(W?I==p.doc.scrollLeft:Math.abs(p.doc.scrollLeft-I)<2)&&!K)return;p.doc.scrollLeft=I,ms(p),p.display.scroller.scrollLeft!=I&&(p.display.scroller.scrollLeft=I),p.display.scrollbars.setScrollLeft(I)}function fo(p){var I=p.display,W=I.gutters.offsetWidth,K=Math.round(p.doc.height+ir(p.display));return{clientHeight:I.scroller.clientHeight,viewHeight:I.wrapper.clientHeight,scrollWidth:I.scroller.scrollWidth,clientWidth:I.scroller.clientWidth,viewWidth:I.wrapper.clientWidth,barLeft:p.options.fixedGutter?W:0,docHeight:K,scrollHeight:K+Br(p)+I.barHeight,nativeBarWidth:I.nativeBarWidth,gutterWidth:W}}var La=function(I,W,K){this.cm=K;var q=this.vert=D("div",[D("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ve=this.horiz=D("div",[D("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");q.tabIndex=ve.tabIndex=-1,I(q),I(ve),Wt(q,"scroll",function(){q.clientHeight&&W(q.scrollTop,"vertical")}),Wt(ve,"scroll",function(){ve.clientWidth&&W(ve.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,f&&i<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};La.prototype.update=function(p){var I=p.scrollWidth>p.clientWidth+1,W=p.scrollHeight>p.clientHeight+1,K=p.nativeBarWidth;if(W){this.vert.style.display="block",this.vert.style.bottom=I?K+"px":"0";var q=p.viewHeight-(I?K:0);this.vert.firstChild.style.height=Math.max(0,p.scrollHeight-p.clientHeight+q)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(I){this.horiz.style.display="block",this.horiz.style.right=W?K+"px":"0",this.horiz.style.left=p.barLeft+"px";var ve=p.viewWidth-p.barLeft-(W?K:0);this.horiz.firstChild.style.width=Math.max(0,p.scrollWidth-p.clientWidth+ve)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&p.clientHeight>0&&(K==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:W?K:0,bottom:I?K:0}},La.prototype.setScrollLeft=function(p){this.horiz.scrollLeft!=p&&(this.horiz.scrollLeft=p),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},La.prototype.setScrollTop=function(p){this.vert.scrollTop!=p&&(this.vert.scrollTop=p),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},La.prototype.zeroWidthHack=function(){var p=v&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=p,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Y,this.disableVert=new Y},La.prototype.enableZeroWidthBar=function(p,I,W){p.style.pointerEvents="auto";function K(){var q=p.getBoundingClientRect(),ve=W=="vert"?document.elementFromPoint(q.right-1,(q.top+q.bottom)/2):document.elementFromPoint((q.right+q.left)/2,q.bottom-1);ve!=p?p.style.pointerEvents="none":I.set(1e3,K)}I.set(1e3,K)},La.prototype.clear=function(){var p=this.horiz.parentNode;p.removeChild(this.horiz),p.removeChild(this.vert)};var Pi=function(){};Pi.prototype.update=function(){return{bottom:0,right:0}},Pi.prototype.setScrollLeft=function(){},Pi.prototype.setScrollTop=function(){},Pi.prototype.clear=function(){};function Ma(p,I){I||(I=fo(p));var W=p.display.barWidth,K=p.display.barHeight;Ko(p,I);for(var q=0;q<4&&W!=p.display.barWidth||K!=p.display.barHeight;q++)W!=p.display.barWidth&&p.options.lineWrapping&&So(p),Ko(p,fo(p)),W=p.display.barWidth,K=p.display.barHeight}function Ko(p,I){var W=p.display,K=W.scrollbars.update(I);W.sizer.style.paddingRight=(W.barWidth=K.right)+"px",W.sizer.style.paddingBottom=(W.barHeight=K.bottom)+"px",W.heightForcer.style.borderBottom=K.bottom+"px solid transparent",K.right&&K.bottom?(W.scrollbarFiller.style.display="block",W.scrollbarFiller.style.height=K.bottom+"px",W.scrollbarFiller.style.width=K.right+"px"):W.scrollbarFiller.style.display="",K.bottom&&p.options.coverGutterNextToScrollbar&&p.options.fixedGutter?(W.gutterFiller.style.display="block",W.gutterFiller.style.height=K.bottom+"px",W.gutterFiller.style.width=I.gutterWidth+"px"):W.gutterFiller.style.display=""}var ro={native:La,null:Pi};function vo(p){p.display.scrollbars&&(p.display.scrollbars.clear(),p.display.scrollbars.addClass&&w(p.display.wrapper,p.display.scrollbars.addClass)),p.display.scrollbars=new ro[p.options.scrollbarStyle](function(I){p.display.wrapper.insertBefore(I,p.display.scrollbarFiller),Wt(I,"mousedown",function(){p.state.focused&&setTimeout(function(){return p.display.input.focus()},0)}),I.setAttribute("cm-not-content","true")},function(I,W){W=="horizontal"?go(p,I):Gi(p,I)},p),p.display.scrollbars.addClass&&j(p.display.wrapper,p.display.scrollbars.addClass)}var po=0;function Zi(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:++po},eo(p.curOp)}function xo(p){var I=p.curOp;I&&co(I,function(W){for(var K=0;K=W.viewTo)||W.maxLineChanged&&I.options.lineWrapping,p.update=p.mustUpdate&&new Yo(I,p.mustUpdate&&{top:p.scrollTop,ensure:p.scrollToPos},p.forceUpdate)}function Ns(p){p.updatedDisplay=p.mustUpdate&&Oa(p.cm,p.update)}function Cs(p){var I=p.cm,W=I.display;p.updatedDisplay&&So(I),p.barMeasure=fo(I),W.maxLineChanged&&!I.options.lineWrapping&&(p.adjustWidthTo=Sn(I,W.maxLine,W.maxLine.text.length).left+3,I.display.sizerWidth=p.adjustWidthTo,p.barMeasure.scrollWidth=Math.max(W.scroller.clientWidth,W.sizer.offsetLeft+p.adjustWidthTo+Br(I)+I.display.barWidth),p.maxScrollLeft=Math.max(0,W.sizer.offsetLeft+p.adjustWidthTo-Rr(I))),(p.updatedDisplay||p.selectionChanged)&&(p.preparedSelection=W.input.prepareSelection())}function Ls(p){var I=p.cm;p.adjustWidthTo!=null&&(I.display.sizer.style.minWidth=p.adjustWidthTo+"px",p.maxScrollLeft=p.display.viewTo)return;var W=+new Date+p.options.workTime,K=Ze(p,I.highlightFrontier),q=[];I.iter(K.line,Math.min(I.first+I.size,p.display.viewTo+500),function(ve){if(K.line>=p.display.viewFrom){var Ye=ve.styles,xt=ve.text.length>p.options.maxHighlightLength?yt(I.mode,K.state):null,Pt=dt(p,ve,K,!0);xt&&(K.state=xt),ve.styles=Pt.styles;var jt=ve.styleClasses,Lr=Pt.classes;Lr?ve.styleClasses=Lr:jt&&(ve.styleClasses=null);for(var kr=!Ye||Ye.length!=ve.styles.length||jt!=Lr&&(!jt||!Lr||jt.bgClass!=Lr.bgClass||jt.textClass!=Lr.textClass),tn=0;!kr&&tnW)return ps(p,p.options.workDelay),!0}),I.highlightFrontier=K.line,I.modeFrontier=Math.max(I.modeFrontier,K.line),q.length&&bo(p,function(){for(var ve=0;ve=W.viewFrom&&I.visible.to<=W.viewTo&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo)&&W.renderedView==W.view&&Ya(p)==0)return!1;ls(p)&&(Ba(p),I.dims=Ki(p));var q=K.first+K.size,ve=Math.max(I.visible.from-p.options.viewportMargin,K.first),Ye=Math.min(q,I.visible.to+p.options.viewportMargin);W.viewFromYe&&W.viewTo-Ye<20&&(Ye=Math.min(q,W.viewTo)),Gr&&(ve=Gn(p.doc,ve),Ye=Ia(p.doc,Ye));var xt=ve!=W.viewFrom||Ye!=W.viewTo||W.lastWrapHeight!=I.wrapperHeight||W.lastWrapWidth!=I.wrapperWidth;Qi(p,ve,Ye),W.viewOffset=On($(p.doc,W.viewFrom)),p.display.mover.style.top=W.viewOffset+"px";var Pt=Ya(p);if(!xt&&Pt==0&&!I.force&&W.renderedView==W.view&&(W.updateLineNumbers==null||W.updateLineNumbers>=W.viewTo))return!1;var jt=Os(p);return Pt>4&&(W.lineDiv.style.display="none"),ts(p,W.updateLineNumbers,I.dims),Pt>4&&(W.lineDiv.style.display=""),W.renderedView=W.view,Fa(jt),C(W.cursorDiv),C(W.selectionDiv),W.gutters.style.height=W.sizer.style.minHeight=0,xt&&(W.lastWrapHeight=I.wrapperHeight,W.lastWrapWidth=I.wrapperWidth,ps(p,400)),W.updateLineNumbers=null,!0}function Io(p,I){for(var W=I.viewport,K=!0;;K=!1){if(!K||!p.options.lineWrapping||I.oldDisplayWidth==Rr(p)){if(W&&W.top!=null&&(W={top:Math.min(p.doc.height+ir(p.display)-rn(p),W.top)}),I.visible=ja(p.display,p.doc,W),I.visible.from>=p.display.viewFrom&&I.visible.to<=p.display.viewTo)break}else K&&(I.visible=ja(p.display,p.doc,W));if(!Oa(p,I))break;So(p);var q=fo(p);zi(p),Ma(p,q),rs(p,q),I.force=!1}I.signal(p,"update",p),(p.display.viewFrom!=p.display.reportedViewFrom||p.display.viewTo!=p.display.reportedViewTo)&&(I.signal(p,"viewportChange",p,p.display.viewFrom,p.display.viewTo),p.display.reportedViewFrom=p.display.viewFrom,p.display.reportedViewTo=p.display.viewTo)}function To(p,I){var W=new Yo(p,I);if(Oa(p,W)){So(p),Io(p,W);var K=fo(p);zi(p),Ma(p,K),rs(p,K),W.finish()}}function ts(p,I,W){var K=p.display,q=p.options.lineNumbers,ve=K.lineDiv,Ye=ve.firstChild;function xt(xn){var _n=xn.nextSibling;return r&&v&&p.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),_n}for(var Pt=K.view,jt=K.viewFrom,Lr=0;Lr-1&&(nn=!1),Vr(p,kr,jt,W)),nn&&(C(kr.lineNumber),kr.lineNumber.appendChild(document.createTextNode(Qt(p.options,jt)))),Ye=kr.node.nextSibling}jt+=kr.size}for(;Ye;)Ye=xt(Ye)}function _o(p){var I=p.gutters.offsetWidth;p.sizer.style.marginLeft=I+"px"}function rs(p,I){p.display.sizer.style.minHeight=I.docHeight+"px",p.display.heightForcer.style.top=I.docHeight+"px",p.display.gutters.style.height=I.docHeight+p.display.barHeight+Br(p)+"px"}function ms(p){var I=p.display,W=I.view;if(!I.alignWidgets&&(!I.gutters.firstChild||!p.options.fixedGutter))return;for(var K=Yi(I)-I.scroller.scrollLeft+p.doc.scrollLeft,q=I.gutters.offsetWidth,ve=K+"px",Ye=0;YeYe.clientWidth,Pt=Ye.scrollHeight>Ye.clientHeight;if(!(K&&xt||q&&Pt))return;if(q&&v&&r){e:for(var jt=I.target,Lr=ve.view;jt!=Ye;jt=jt.parentNode)for(var kr=0;kr=0&&Mt(p,K.to())<=0)return W}return-1};var re=function(I,W){this.anchor=I,this.head=W};re.prototype.from=function(){return lr(this.anchor,this.head)},re.prototype.to=function(){return Ct(this.anchor,this.head)},re.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ce(p,I,W){var K=p&&p.options.selectionsMayTouch,q=I[W];I.sort(function(tn,nn){return Mt(tn.from(),nn.from())}),W=_(I,q);for(var ve=1;ve0:Pt>=0){var jt=lr(xt.from(),Ye.from()),Lr=Ct(xt.to(),Ye.to()),kr=xt.empty()?Ye.from()==Ye.head:xt.from()==xt.head;ve<=W&&--W,I.splice(--ve,2,new re(kr?Lr:jt,kr?jt:Lr))}}return new Tt(I,W)}function he(p,I){return new Tt([new re(p,I||p)],0)}function Le(p){return p.text?Et(p.from.line+p.text.length-1,Xe(p.text).length+(p.text.length==1?p.from.ch:0)):p.to}function ot(p,I){if(Mt(p,I.from)<0)return p;if(Mt(p,I.to)<=0)return Le(I);var W=p.line+I.text.length-(I.to.line-I.from.line)-1,K=p.ch;return p.line==I.to.line&&(K+=Le(I).ch-I.to.ch),Et(W,K)}function Nt(p,I){for(var W=[],K=0;K1&&p.remove(xt.line+1,xn-1),p.insert(xt.line+1,$n)}Ir(p,"change",p,I)}function Cn(p,I,W){function K(q,ve,Ye){if(q.linked)for(var xt=0;xt1&&!p.done[p.done.length-2].ranges)return p.done.pop(),Xe(p.done)}function Va(p,I,W,K){var q=p.history;q.undone.length=0;var ve=+new Date,Ye,xt;if((q.lastOp==K||q.lastOrigin==I.origin&&I.origin&&(I.origin.charAt(0)=="+"&&q.lastModTime>ve-(p.cm?p.cm.options.historyEventDelay:500)||I.origin.charAt(0)=="*"))&&(Ye=lo(q,q.lastOp==K)))xt=Xe(Ye.changes),Mt(I.from,I.to)==0&&Mt(I.from,xt.to)==0?xt.to=Le(I):Ye.changes.push(ji(p,I));else{var Pt=Xe(q.done);for((!Pt||!Pt.ranges)&&qa(p.sel,q.done),Ye={changes:[ji(p,I)],generation:q.generation},q.done.push(Ye);q.done.length>q.undoDepth;)q.done.shift(),q.done[0].ranges||q.done.shift()}q.done.push(W),q.generation=++q.maxGeneration,q.lastModTime=q.lastSelTime=ve,q.lastOp=q.lastSelOp=K,q.lastOrigin=q.lastSelOrigin=I.origin,xt||Kt(p,"historyAdded")}function Ao(p,I,W,K){var q=I.charAt(0);return q=="*"||q=="+"&&W.ranges.length==K.ranges.length&&W.somethingSelected()==K.somethingSelected()&&new Date-p.history.lastSelTime<=(p.cm?p.cm.options.historyEventDelay:500)}function yo(p,I,W,K){var q=p.history,ve=K&&K.origin;W==q.lastSelOp||ve&&q.lastSelOrigin==ve&&(q.lastModTime==q.lastSelTime&&q.lastOrigin==ve||Ao(p,ve,Xe(q.done),I))?q.done[q.done.length-1]=I:qa(I,q.done),q.lastSelTime=+new Date,q.lastSelOrigin=ve,q.lastSelOp=W,K&&K.clearRedo!==!1&&Sa(q.undone)}function qa(p,I){var W=Xe(I);W&&W.ranges&&W.equals(p)||I.push(p)}function Fo(p,I,W,K){var q=I["spans_"+p.id],ve=0;p.iter(Math.max(p.first,W),Math.min(p.first+p.size,K),function(Ye){Ye.markedSpans&&((q||(q=I["spans_"+p.id]={}))[ve]=Ye.markedSpans),++ve})}function Do(p){if(!p)return null;for(var I,W=0;W-1&&(Xe(xt)[kr]=jt[kr],delete jt[kr]))}}return K}function Xo(p,I,W,K){if(K){var q=p.anchor;if(W){var ve=Mt(I,q)<0;ve!=Mt(W,q)<0?(q=I,I=W):ve!=Mt(I,W)<0&&(I=W)}return new re(q,I)}else return new re(W||I,I)}function wo(p,I,W,K,q){q==null&&(q=p.cm&&(p.cm.display.shift||p.extend)),Eo(p,new Tt([Xo(p.sel.primary(),I,W,q)],0),K)}function cs(p,I,W){for(var K=[],q=p.cm&&(p.cm.display.shift||p.extend),ve=0;ve=I.ch:xt.to>I.ch))){if(q&&(Kt(Pt,"beforeCursorEnter"),Pt.explicitlyCleared))if(ve.markedSpans){--Ye;continue}else break;if(!Pt.atomic)continue;if(W){var kr=Pt.find(K<0?1:-1),tn=void 0;if((K<0?Lr:jt)&&(kr=ys(p,kr,-K,kr&&kr.line==I.line?ve:null)),kr&&kr.line==I.line&&(tn=Mt(kr,W))&&(K<0?tn<0:tn>0))return As(p,kr,I,K,q)}var nn=Pt.find(K<0?-1:1);return(K<0?jt:Lr)&&(nn=ys(p,nn,K,nn.line==I.line?ve:null)),nn?As(p,nn,I,K,q):null}}return I}function Bs(p,I,W,K,q){var ve=K||1,Ye=As(p,I,W,ve,q)||!q&&As(p,I,W,ve,!0)||As(p,I,W,-ve,q)||!q&&As(p,I,W,-ve,!0);return Ye||(p.cantEdit=!0,Et(p.first,0))}function ys(p,I,W,K){return W<0&&I.ch==0?I.line>p.first?ke(p,Et(I.line-1)):null:W>0&&I.ch==(K||$(p,I.line)).text.length?I.line=0;--q)ca(p,{from:K[q].from,to:K[q].to,text:q?[""]:I.text,origin:I.origin});else ca(p,I)}function ca(p,I){if(I.text.length==1&&I.text[0]==""&&Mt(I.from,I.to)==0)return;var W=Nt(p,I);Va(p,I,W,p.cm?p.cm.curOp.id:NaN),Vn(p,I,W,Dn(p,I));var K=[];Cn(p,function(q,ve){!ve&&_(K,q.history)==-1&&(Zo(q.history,I),K.push(q.history)),Vn(q,I,null,Dn(q,I))})}function ci(p,I,W){var K=p.cm&&p.cm.state.suppressEdits;if(K&&!W)return;for(var q=p.history,ve,Ye=p.sel,xt=I=="undo"?q.done:q.undone,Pt=I=="undo"?q.undone:q.done,jt=0;jt=0;--nn){var xn=tn(nn);if(xn)return xn.v}}function _i(p,I){if(I==0)return;if(p.first+=I,p.sel=new Tt(wt(p.sel.ranges,function(q){return new re(Et(q.anchor.line+I,q.anchor.ch),Et(q.head.line+I,q.head.ch))}),p.sel.primIndex),p.cm){gi(p.cm,p.first,p.first-I,I);for(var W=p.cm.display,K=W.viewFrom;Kp.lastLine())return;if(I.from.lineve&&(I={from:I.from,to:Et(ve,$(p,ve).text.length),text:[I.text[0]],origin:I.origin}),I.removed=le(p,I.from,I.to),W||(W=Nt(p,I)),p.cm?io(p.cm,I,K):An(p,I,K),ds(p,W,pe),p.cantEdit&&Bs(p,Et(p.firstLine(),0))&&(p.cantEdit=!1)}function io(p,I,W){var K=p.doc,q=p.display,ve=I.from,Ye=I.to,xt=!1,Pt=ve.line;p.options.lineWrapping||(Pt=Re(ta($(K,ve.line))),K.iter(Pt,Ye.line+1,function(nn){if(nn==q.maxLine)return xt=!0,!0})),K.sel.contains(I.from,I.to)>-1&&qe(p),An(K,I,W,bi(p)),p.options.lineWrapping||(K.iter(Pt,ve.line+I.text.length,function(nn){var xn=Nn(nn);xn>q.maxLineLength&&(q.maxLine=nn,q.maxLineLength=xn,q.maxLineChanged=!0,xt=!1)}),xt&&(p.curOp.updateMaxLine=!0)),Qr(K,ve.line),ps(p,400);var jt=I.text.length-(Ye.line-ve.line)-1;I.full?gi(p):ve.line==Ye.line&&I.text.length==1&&!ln(p.doc,I)?Ua(p,ve.line,"text"):gi(p,ve.line,Ye.line+1,jt);var Lr=st(p,"changes"),kr=st(p,"change");if(kr||Lr){var tn={from:ve,to:Ye,text:I.text,removed:I.removed,origin:I.origin};kr&&Ir(p,"change",p,tn),Lr&&(p.curOp.changeObjs||(p.curOp.changeObjs=[])).push(tn)}p.display.selForContextMenu=null}function Jo(p,I,W,K,q){var ve;K||(K=W),Mt(K,W)<0&&(ve=[K,W],W=ve[0],K=ve[1]),typeof I=="string"&&(I=p.splitLines(I)),bs(p,{from:W,to:K,text:I,origin:q})}function gs(p,I,W,K){W1||!(this.children[0]instanceof ws))){var Pt=[];this.collapse(Pt),this.children=[new ws(Pt)],this.children[0].parent=this}},collapse:function(I){for(var W=0;W50){for(var xt=ve.lines.length%25+25,Pt=xt;Pt10);I.parent.maybeSpill()},iterN:function(I,W,K){for(var q=0;qp.display.maxLineLength&&(p.display.maxLine=jt,p.display.maxLineLength=Lr,p.display.maxLineChanged=!0)}K!=null&&p&&this.collapsed&&gi(p,K,q+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,p&&Ms(p.doc)),p&&Ir(p,"markerCleared",p,this,K,q),I&&xo(p),this.parent&&this.parent.clear()},Ts.prototype.find=function(p,I){p==null&&this.type=="bookmark"&&(p=1);for(var W,K,q=0;q0||Ye==0&&ve.clearWhenEmpty!==!1)return ve;if(ve.replacedWith&&(ve.collapsed=!0,ve.widgetNode=B("span",[ve.replacedWith],"CodeMirror-widget"),K.handleMouseEvents||ve.widgetNode.setAttribute("cm-ignore-events","true"),K.insertLeft&&(ve.widgetNode.insertLeft=!0)),ve.collapsed){if(xa(p,I.line,I,W,ve)||I.line!=W.line&&xa(p,W.line,I,W,ve))throw new Error("Inserting collapsed marker partially overlapping an existing one");sr()}ve.addToHistory&&Va(p,{from:I,to:W,origin:"markText"},p.sel,NaN);var xt=I.line,Pt=p.cm,jt;if(p.iter(xt,W.line+1,function(kr){Pt&&ve.collapsed&&!Pt.options.lineWrapping&&ta(kr)==Pt.display.maxLine&&(jt=!0),ve.collapsed&&xt!=I.line&&Ae(kr,0),Sr(kr,new fr(ve,xt==I.line?I.ch:null,xt==W.line?W.ch:null)),++xt}),ve.collapsed&&p.iter(I.line,W.line+1,function(kr){mn(p,kr)&&Ae(kr,0)}),ve.clearOnEnter&&Wt(ve,"beforeCursorEnter",function(){return ve.clear()}),ve.readOnly&&(Nr(),(p.history.done.length||p.history.undone.length)&&p.clearHistory()),ve.collapsed&&(ve.id=++Nl,ve.atomic=!0),Pt){if(jt&&(Pt.curOp.updateMaxLine=!0),ve.collapsed)gi(Pt,I.line,W.line+1);else if(ve.className||ve.startStyle||ve.endStyle||ve.css||ve.attributes||ve.title)for(var Lr=I.line;Lr<=W.line;Lr++)Ua(Pt,Lr,"text");ve.atomic&&Ms(Pt.doc),Ir(Pt,"markerAdded",Pt,ve)}return ve}var qs=function(I,W){this.markers=I,this.primary=W;for(var K=0;K=0;Pt--)bs(this,K[Pt]);xt?Qo(this,xt):this.cm&&Ta(this.cm)}),undo:so(function(){ci(this,"undo")}),redo:so(function(){ci(this,"redo")}),undoSelection:so(function(){ci(this,"undo",!0)}),redoSelection:so(function(){ci(this,"redo",!0)}),setExtending:function(I){this.extend=I},getExtending:function(){return this.extend},historySize:function(){for(var I=this.history,W=0,K=0,q=0;q=I.ch)&&W.push(ve.marker.parent||ve.marker)}return W},findMarks:function(I,W,K){I=ke(this,I),W=ke(this,W);var q=[],ve=I.line;return this.iter(I.line,W.line+1,function(Ye){var xt=Ye.markedSpans;if(xt)for(var Pt=0;Pt=jt.to||jt.from==null&&ve!=I.line||jt.from!=null&&ve==W.line&&jt.from>=W.ch)&&(!K||K(jt.marker))&&q.push(jt.marker.parent||jt.marker)}++ve}),q},getAllMarks:function(){var I=[];return this.iter(function(W){var K=W.markedSpans;if(K)for(var q=0;qI)return W=I,!0;I-=Ye,++K}),ke(this,Et(K,W))},indexFromPos:function(I){I=ke(this,I);var W=I.ch;if(I.lineW&&(W=I.from),I.to!=null&&I.to-1){I.state.draggingText(p),setTimeout(function(){return I.display.input.focus()},20);return}try{var Lr=p.dataTransfer.getData("Text");if(Lr){var kr;if(I.state.draggingText&&!I.state.draggingText.copy&&(kr=I.listSelections()),ds(I.doc,he(W,W)),kr)for(var tn=0;tn=0;xt--)Jo(p.doc,"",K[xt].from,K[xt].to,"+delete");Ta(p)})}function dl(p,I,W){var K=gt(p.text,I+W,W);return K<0||K>p.text.length?null:K}function nl(p,I,W){var K=dl(p,I.ch,W);return K==null?null:new Et(I.line,K,W<0?"after":"before")}function hl(p,I,W,K,q){if(p){I.doc.direction=="rtl"&&(q=-q);var ve=kt(W,I.doc.direction);if(ve){var Ye=q<0?Xe(ve):ve[0],xt=q<0==(Ye.level==1),Pt=xt?"after":"before",jt;if(Ye.level>0||I.doc.direction=="rtl"){var Lr=Bn(I,W);jt=q<0?W.text.length-1:0;var kr=vn(I,Lr,jt).top;jt=Je(function(tn){return vn(I,Lr,tn).top==kr},q<0==(Ye.level==1)?Ye.from:Ye.to-1,jt),Pt=="before"&&(jt=dl(W,jt,1))}else jt=q<0?Ye.to:Ye.from;return new Et(K,jt,Pt)}}return new Et(K,q<0?W.text.length:0,q<0?"before":"after")}function xl(p,I,W,K){var q=kt(I,p.doc.direction);if(!q)return nl(I,W,K);W.ch>=I.text.length?(W.ch=I.text.length,W.sticky="before"):W.ch<=0&&(W.ch=0,W.sticky="after");var ve=ht(q,W.ch,W.sticky),Ye=q[ve];if(p.doc.direction=="ltr"&&Ye.level%2==0&&(K>0?Ye.to>W.ch:Ye.from=Ye.from&&tn>=Lr.begin)){var nn=kr?"before":"after";return new Et(W.line,tn,nn)}}var xn=function(oi,li,Te){for(var G=function(vr,Dr){return Dr?new Et(W.line,xt(vr,1),"before"):new Et(W.line,vr,"after")};oi>=0&&oi0==(we.level!=1),pt=Ne?Te.begin:xt(Te.end,-1);if(we.from<=pt&&pt0?Lr.end:xt(Lr.begin,-1);return Zn!=null&&!(K>0&&Zn==I.text.length)&&(_n=xn(K>0?0:q.length-1,K,jt(Zn)),_n)?_n:null}var Ws={selectAll:Fs,singleSelection:function(I){return I.setSelection(I.getCursor("anchor"),I.getCursor("head"),pe)},killLine:function(I){return Xs(I,function(W){if(W.empty()){var K=$(I.doc,W.head.line).text.length;return W.head.ch==K&&W.head.line0)ve=new Et(ve.line,ve.ch+1),I.replaceRange(Ye.charAt(ve.ch-1)+Ye.charAt(ve.ch-2),Et(ve.line,ve.ch-2),ve,"+transpose");else if(ve.line>I.doc.first){var xt=$(I.doc,ve.line-1).text;xt&&(ve=new Et(ve.line,1),I.replaceRange(Ye.charAt(0)+I.doc.lineSeparator()+xt.charAt(xt.length-1),Et(ve.line-1,xt.length-1),ve,"+transpose"))}}K.push(new re(ve,ve))}I.setSelections(K)})},newlineAndIndent:function(I){return bo(I,function(){for(var W=I.listSelections(),K=W.length-1;K>=0;K--)I.replaceRange(I.doc.lineSeparator(),W[K].anchor,W[K].head,"+input");W=I.listSelections();for(var q=0;qp&&Mt(I,this.pos)==0&&W==this.button};var al,$s;function Pl(p,I){var W=+new Date;return $s&&$s.compare(W,p,I)?(al=$s=null,"triple"):al&&al.compare(W,p,I)?($s=new xs(W,p,I),al=null,"double"):(al=new xs(W,p,I),$s=null,"single")}function Ll(p){var I=this,W=I.display;if(Ge(I,p)||W.activeTouch&&W.input.supportsTouch())return;if(W.input.ensurePolled(),W.shift=p.shiftKey,rt(W,p)){r||(W.scroller.draggable=!1,setTimeout(function(){return W.scroller.draggable=!0},100));return}if(Ol(I,p))return;var K=ua(I,p),q=St(p),ve=K?Pl(K,q):"single";if(window.focus(),q==1&&I.state.selectingText&&I.state.selectingText(p),K&&gl(I,q,K,ve,p))return;q==1?K?Ul(I,K,ve,p):Pe(p)==W.scroller&&nt(p):q==2?(K&&wo(I.doc,K),setTimeout(function(){return W.input.focus()},20)):q==3&&(L?I.display.input.onContextMenu(p):za(I))}function gl(p,I,W,K,q){var ve="Click";return K=="double"?ve="Double"+ve:K=="triple"&&(ve="Triple"+ve),ve=(I==1?"Left":I==2?"Middle":"Right")+ve,pl(p,Bl(ve,q),q,function(Ye){if(typeof Ye=="string"&&(Ye=Ws[Ye]),!Ye)return!1;var xt=!1;try{p.isReadOnly()&&(p.state.suppressEdits=!0),xt=Ye(p,W)!=X}finally{p.state.suppressEdits=!1}return xt})}function Xl(p,I,W){var K=p.getOption("configureMouse"),q=K?K(p,I,W):{};if(q.unit==null){var ve=y?W.shiftKey&&W.metaKey:W.altKey;q.unit=ve?"rectangle":I=="single"?"char":I=="double"?"word":"line"}return(q.extend==null||p.doc.extend)&&(q.extend=p.doc.extend||W.shiftKey),q.addNew==null&&(q.addNew=v?W.metaKey:W.ctrlKey),q.moveOnDrag==null&&(q.moveOnDrag=!(v?W.altKey:W.ctrlKey)),q}function Ul(p,I,W,K){f?setTimeout(H(Qa,p),0):p.curOp.focus=M();var q=Xl(p,W,K),ve=p.doc.sel,Ye;p.options.dragDrop&&Pr&&!p.isReadOnly()&&W=="single"&&(Ye=ve.contains(I))>-1&&(Mt((Ye=ve.ranges[Ye]).from(),I)<0||I.xRel>0)&&(Mt(Ye.to(),I)>0||I.xRel<0)?vl(p,K,I,q):su(p,K,I,q)}function vl(p,I,W,K){var q=p.display,ve=!1,Ye=Za(p,function(jt){r&&(q.scroller.draggable=!1),p.state.draggingText=!1,Bt(q.wrapper.ownerDocument,"mouseup",Ye),Bt(q.wrapper.ownerDocument,"mousemove",xt),Bt(q.scroller,"dragstart",Pt),Bt(q.scroller,"drop",Ye),ve||(nt(jt),K.addNew||wo(p.doc,W,null,null,K.extend),r&&!n||f&&i==9?setTimeout(function(){q.wrapper.ownerDocument.body.focus({preventScroll:!0}),q.input.focus()},20):q.input.focus())}),xt=function(Lr){ve=ve||Math.abs(I.clientX-Lr.clientX)+Math.abs(I.clientY-Lr.clientY)>=10},Pt=function(){return ve=!0};r&&(q.scroller.draggable=!0),p.state.draggingText=Ye,Ye.copy=!K.moveOnDrag,q.scroller.dragDrop&&q.scroller.dragDrop(),Wt(q.wrapper.ownerDocument,"mouseup",Ye),Wt(q.wrapper.ownerDocument,"mousemove",xt),Wt(q.scroller,"dragstart",Pt),Wt(q.scroller,"drop",Ye),za(p),setTimeout(function(){return q.input.focus()},20)}function Jl(p,I,W){if(W=="char")return new re(I,I);if(W=="word")return p.findWordAt(I);if(W=="line")return new re(Et(I.line,0),ke(p.doc,Et(I.line+1,0)));var K=W(p,I);return new re(K.from,K.to)}function su(p,I,W,K){var q=p.display,ve=p.doc;nt(I);var Ye,xt,Pt=ve.sel,jt=Pt.ranges;if(K.addNew&&!K.extend?(xt=ve.sel.contains(W),xt>-1?Ye=jt[xt]:Ye=new re(W,W)):(Ye=ve.sel.primary(),xt=ve.sel.primIndex),K.unit=="rectangle")K.addNew||(Ye=new re(W,W)),W=ua(p,I,!0,!0),xt=-1;else{var Lr=Jl(p,W,K.unit);K.extend?Ye=Xo(Ye,Lr.anchor,Lr.head,K.extend):Ye=Lr}K.addNew?xt==-1?(xt=jt.length,Eo(ve,ce(p,jt.concat([Ye]),xt),{scroll:!1,origin:"*mouse"})):jt.length>1&&jt[xt].empty()&&K.unit=="char"&&!K.extend?(Eo(ve,ce(p,jt.slice(0,xt).concat(jt.slice(xt+1)),0),{scroll:!1,origin:"*mouse"}),Pt=ve.sel):ns(ve,xt,Ye,te):(xt=0,Eo(ve,new Tt([Ye],0),te),Pt=ve.sel);var kr=W;function tn(li){if(Mt(kr,li)==0)return;if(kr=li,K.unit=="rectangle"){for(var Te=[],G=p.options.tabSize,we=Z($(ve,W.line).text,W.ch,G),Ne=Z($(ve,li.line).text,li.ch,G),pt=Math.min(we,Ne),$t=Math.max(we,Ne),vr=Math.min(W.line,li.line),Dr=Math.min(p.lastLine(),Math.max(W.line,li.line));vr<=Dr;vr++){var Hr=$(ve,vr).text,zr=be(Hr,pt,G);pt==$t?Te.push(new re(Et(vr,zr),Et(vr,zr))):Hr.length>zr&&Te.push(new re(Et(vr,zr),Et(vr,be(Hr,$t,G))))}Te.length||Te.push(new re(W,W)),Eo(ve,ce(p,Pt.ranges.slice(0,xt).concat(Te),xt),{origin:"*mouse",scroll:!1}),p.scrollIntoView(li)}else{var un=Ye,sn=Jl(p,li,K.unit),Fn=un.anchor,si;Mt(sn.anchor,Fn)>0?(si=sn.head,Fn=lr(un.from(),sn.anchor)):(si=sn.anchor,Fn=Ct(un.to(),sn.head));var zn=Pt.ranges.slice(0);zn[xt]=$l(p,new re(ke(ve,Fn),si)),Eo(ve,ce(p,zn,xt),te)}}var nn=q.wrapper.getBoundingClientRect(),xn=0;function _n(li){var Te=++xn,G=ua(p,li,!0,K.unit=="rectangle");if(!G)return;if(Mt(G,kr)!=0){p.curOp.focus=M(),tn(G);var we=ja(q,ve);(G.line>=we.to||G.linenn.bottom?20:0;Ne&&setTimeout(Za(p,function(){if(xn!=Te)return;q.scroller.scrollTop+=Ne,_n(li)}),50)}}function Zn(li){p.state.selectingText=!1,xn=Infinity,li&&(nt(li),q.input.focus()),Bt(q.wrapper.ownerDocument,"mousemove",$n),Bt(q.wrapper.ownerDocument,"mouseup",oi),ve.history.lastSelOrigin=null}var $n=Za(p,function(li){li.buttons===0||!St(li)?Zn(li):_n(li)}),oi=Za(p,Zn);p.state.selectingText=oi,Wt(q.wrapper.ownerDocument,"mousemove",$n),Wt(q.wrapper.ownerDocument,"mouseup",oi)}function $l(p,I){var W=I.anchor,K=I.head,q=$(p.doc,W.line);if(Mt(W,K)==0&&W.sticky==K.sticky)return I;var ve=kt(q);if(!ve)return I;var Ye=ht(ve,W.ch,W.sticky),xt=ve[Ye];if(xt.from!=W.ch&&xt.to!=W.ch)return I;var Pt=Ye+(xt.from==W.ch==(xt.level!=1)?0:1);if(Pt==0||Pt==ve.length)return I;var jt;if(K.line!=W.line)jt=(K.line-W.line)*(p.doc.direction=="ltr"?1:-1)>0;else{var Lr=ht(ve,K.ch,K.sticky),kr=Lr-Ye||(K.ch-W.ch)*(xt.level==1?-1:1);Lr==Pt-1||Lr==Pt?jt=kr<0:jt=kr>0}var tn=ve[Pt+(jt?-1:0)],nn=jt==(tn.level==1),xn=nn?tn.from:tn.to,_n=nn?"after":"before";return W.ch==xn&&W.sticky==_n?I:new re(new Et(W.line,xn,_n),K)}function Zl(p,I,W,K){var q,ve;if(I.touches)q=I.touches[0].clientX,ve=I.touches[0].clientY;else try{q=I.clientX,ve=I.clientY}catch(tn){return!1}if(q>=Math.floor(p.display.gutters.getBoundingClientRect().right))return!1;K&&nt(I);var Ye=p.display,xt=Ye.lineDiv.getBoundingClientRect();if(ve>xt.bottom||!st(p,W))return me(I);ve-=xt.top-Ye.viewOffset;for(var Pt=0;Pt=q){var Lr=Qe(p.doc,ve),kr=p.display.gutterSpecs[Pt];return Kt(p,W,p,Lr,kr.className,I),me(I)}}}function Ol(p,I){return Zl(p,I,"gutterClick",!0)}function ql(p,I){if(rt(p.display,I)||lu(p,I))return;if(Ge(p,I,"contextmenu"))return;L||p.display.input.onContextMenu(I)}function lu(p,I){return st(p,"gutterContextMenu")?Zl(p,I,"gutterContextMenu",!1):!1}function Il(p){p.display.wrapper.className=p.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+p.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ai(p)}var js={toString:function(){return"CodeMirror.Init"}},Tl={},Al={};function uu(p){var I=p.optionHandlers;function W(K,q,ve,Ye){p.defaults[K]=q,ve&&(I[K]=Ye?function(xt,Pt,jt){jt!=js&&ve(xt,Pt,jt)}:ve)}p.defineOption=W,p.Init=js,W("value","",function(K,q){return K.setValue(q)},!0),W("mode",null,function(K,q){K.doc.modeOption=q,Mr(K)},!0),W("indentUnit",2,Mr,!0),W("indentWithTabs",!1),W("smartIndent",!0),W("tabSize",4,function(K){qr(K),Ai(K),gi(K)},!0),W("lineSeparator",null,function(K,q){if(K.doc.lineSep=q,!q)return;var ve=[],Ye=K.doc.first;K.doc.iter(function(Pt){for(var jt=0;;){var Lr=Pt.text.indexOf(q,jt);if(Lr==-1)break;jt=Lr+q.length,ve.push(Et(Ye,Lr))}Ye++});for(var xt=ve.length-1;xt>=0;xt--)Jo(K.doc,q,ve[xt],Et(ve[xt].line,ve[xt].ch+q.length))}),W("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(K,q,ve){K.state.specialChars=new RegExp(q.source+(q.test(" ")?"":"| "),"g"),ve!=js&&K.refresh()}),W("specialCharPlaceholder",Vi,function(K){return K.refresh()},!0),W("electricChars",!0),W("inputStyle",h?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),W("spellcheck",!1,function(K,q){return K.getInputField().spellcheck=q},!0),W("autocorrect",!1,function(K,q){return K.getInputField().autocorrect=q},!0),W("autocapitalize",!1,function(K,q){return K.getInputField().autocapitalize=q},!0),W("rtlMoveVisually",!O),W("wholeLineUpdateBefore",!0),W("theme","default",function(K){Il(K),as(K)},!0),W("keyMap","default",function(K,q,ve){var Ye=Sl(q),xt=ve!=js&&Sl(ve);xt&&xt.detach&&xt.detach(K,Ye),Ye.attach&&Ye.attach(K,xt||null)}),W("extraKeys",null),W("configureMouse",null),W("lineWrapping",!1,ol,!0),W("gutters",[],function(K,q){K.display.gutterSpecs=Ds(q,K.options.lineNumbers),as(K)},!0),W("fixedGutter",!0,function(K,q){K.display.gutters.style.left=q?Yi(K.display)+"px":"0",K.refresh()},!0),W("coverGutterNextToScrollbar",!1,function(K){return Ma(K)},!0),W("scrollbarStyle","native",function(K){vo(K),Ma(K),K.display.scrollbars.setScrollTop(K.doc.scrollTop),K.display.scrollbars.setScrollLeft(K.doc.scrollLeft)},!0),W("lineNumbers",!1,function(K,q){K.display.gutterSpecs=Ds(K.options.gutters,q),as(K)},!0),W("firstLineNumber",1,as,!0),W("lineNumberFormatter",function(K){return K},as,!0),W("showCursorWhenSelecting",!1,zi,!0),W("resetSelectionOnContextMenu",!0),W("lineWiseCopyCut",!0),W("pasteLinesPerSelection",!0),W("selectionsMayTouch",!1),W("readOnly",!1,function(K,q){q=="nocursor"&&(Ii(K),K.display.input.blur()),K.display.input.readOnlyChanged(q)}),W("screenReaderLabel",null,function(K,q){q=q===""?null:q,K.display.input.screenReaderLabelChanged(q)}),W("disableInput",!1,function(K,q){q||K.display.input.reset()},!0),W("dragDrop",!0,cu),W("allowDropFileTypes",null),W("cursorBlinkRate",530),W("cursorScrollMargin",0),W("cursorHeight",1,zi,!0),W("singleCursorHeightPerLine",!0,zi,!0),W("workTime",100),W("workDelay",100),W("flattenSpans",!0,qr,!0),W("addModeClass",!1,qr,!0),W("pollInterval",100),W("undoDepth",200,function(K,q){return K.doc.history.undoDepth=q}),W("historyEventDelay",1250),W("viewportMargin",10,function(K){return K.refresh()},!0),W("maxHighlightLength",1e4,qr,!0),W("moveInputWithCursor",!0,function(K,q){q||K.display.input.resetPosition()}),W("tabindex",null,function(K,q){return K.display.input.getField().tabIndex=q||""}),W("autofocus",null),W("direction","ltr",function(K,q){return K.doc.setDirection(q)},!0),W("phrases",null)}function cu(p,I,W){var K=W&&W!=js;if(!I!=!K){var q=p.display.dragFunctions,ve=I?Wt:Bt;ve(p.display.scroller,"dragstart",q.start),ve(p.display.scroller,"dragenter",q.enter),ve(p.display.scroller,"dragover",q.over),ve(p.display.scroller,"dragleave",q.leave),ve(p.display.scroller,"drop",q.drop)}}function ol(p){p.options.lineWrapping?(j(p.display.wrapper,"CodeMirror-wrap"),p.display.sizer.style.minWidth="",p.display.sizerWidth=null):(w(p.display.wrapper,"CodeMirror-wrap"),jn(p)),ya(p),gi(p),Ai(p),setTimeout(function(){return Ma(p)},100)}function _e(p,I){var W=this;if(!(this instanceof _e))return new _e(p,I);this.options=I=I?k(I):{},k(Tl,I,!1);var K=I.value;typeof K=="string"?K=new es(K,I.mode,null,I.lineSeparator,I.direction):I.mode&&(K.modeOption=I.mode),this.doc=K;var q=new _e.inputStyles[I.inputStyle](this),ve=this.display=new Zs(p,K,q,I);ve.wrapper.CodeMirror=this,Il(this),I.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Y,keySeq:null,specialChars:null},I.autofocus&&!h&&ve.input.focus(),f&&i<11&&setTimeout(function(){return W.display.input.reset(!0)},20),ne(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Xn(this,K),I.autofocus&&!h||this.hasFocus()?setTimeout(function(){W.hasFocus()&&!W.state.focused&&pa(W)},20):Ii(this);for(var Ye in Al)Al.hasOwnProperty(Ye)&&Al[Ye](this,I[Ye],js);ls(this),I.finishInit&&I.finishInit(this);for(var xt=0;xt20*20}Wt(I.scroller,"touchstart",function(Pt){if(!Ge(p,Pt)&&!ve(Pt)&&!Ol(p,Pt)){I.input.ensurePolled(),clearTimeout(W);var jt=+new Date;I.activeTouch={start:jt,moved:!1,prev:jt-K.end<=300?K:null},Pt.touches.length==1&&(I.activeTouch.left=Pt.touches[0].pageX,I.activeTouch.top=Pt.touches[0].pageY)}}),Wt(I.scroller,"touchmove",function(){I.activeTouch&&(I.activeTouch.moved=!0)}),Wt(I.scroller,"touchend",function(Pt){var jt=I.activeTouch;if(jt&&!rt(I,Pt)&&jt.left!=null&&!jt.moved&&new Date-jt.start<300){var Lr=p.coordsChar(I.activeTouch,"page"),kr;!jt.prev||Ye(jt,jt.prev)?kr=new re(Lr,Lr):!jt.prev.prev||Ye(jt,jt.prev.prev)?kr=p.findWordAt(Lr):kr=new re(Et(Lr.line,0),ke(p.doc,Et(Lr.line+1,0))),p.setSelection(kr.anchor,kr.head),p.focus(),nt(Pt)}q()}),Wt(I.scroller,"touchcancel",q),Wt(I.scroller,"scroll",function(){I.scroller.clientHeight&&(Gi(p,I.scroller.scrollTop),go(p,I.scroller.scrollLeft,!0),Kt(p,"scroll",p))}),Wt(I.scroller,"mousewheel",function(Pt){return Is(p,Pt)}),Wt(I.scroller,"DOMMouseScroll",function(Pt){return Is(p,Pt)}),Wt(I.wrapper,"scroll",function(){return I.wrapper.scrollTop=I.wrapper.scrollLeft=0}),I.dragFunctions={enter:function(jt){Ge(p,jt)||lt(jt)},over:function(jt){Ge(p,jt)||(Ml(p,jt),lt(jt))},start:function(jt){return Rl(p,jt)},drop:Za(p,iu),leave:function(jt){Ge(p,jt)||yl(p)}};var xt=I.input.getField();Wt(xt,"keyup",function(Pt){return _s.call(p,Pt)}),Wt(xt,"keydown",Za(p,Vs)),Wt(xt,"keypress",Za(p,ks)),Wt(xt,"focus",function(Pt){return pa(p,Pt)}),Wt(xt,"blur",function(Pt){return Ii(p,Pt)})}var Ee=[];_e.defineInitHook=function(p){return Ee.push(p)};function tt(p,I,W,K){var q=p.doc,ve;W==null&&(W="add"),W=="smart"&&(q.mode.indent?ve=Ze(p,I).state:W="prev");var Ye=p.options.tabSize,xt=$(q,I),Pt=Z(xt.text,null,Ye);xt.stateAfter&&(xt.stateAfter=null);var jt=xt.text.match(/^\s*/)[0],Lr;if(!K&&!/\S/.test(xt.text))Lr=0,W="not";else if(W=="smart"&&(Lr=q.mode.indent(ve,xt.text.slice(jt.length),xt.text),Lr==X||Lr>150)){if(!K)return;W="prev"}W=="prev"?I>q.first?Lr=Z($(q,I-1).text,null,Ye):Lr=0:W=="add"?Lr=Pt+p.options.indentUnit:W=="subtract"?Lr=Pt-p.options.indentUnit:typeof W=="number"&&(Lr=Pt+W),Lr=Math.max(0,Lr);var kr="",tn=0;if(p.options.indentWithTabs)for(var nn=Math.floor(Lr/Ye);nn;--nn)tn+=Ye,kr+=" ";if(tnYe,Pt=mr(I),jt=null;if(xt&&K.ranges.length>1)if(Ot&&Ot.text.join(` `)==I){if(K.ranges.length%Ot.text.length==0){jt=[];for(var Lr=0;Lr=0;tn--){var nn=K.ranges[tn],xn=nn.from(),_n=nn.to();nn.empty()&&(W&&W>0?xn=Et(xn.line,xn.ch-W):p.state.overwrite&&!xt?_n=Et(_n.line,Math.min($(ve,_n.line).text.length,_n.ch+Xe(Pt).length)):xt&&Ot&&Ot.lineWise&&Ot.text.join(` `)==Pt.join(` `)&&(xn=_n=Et(xn.line,0)));var Zn={from:xn,to:_n,text:jt?jt[tn%jt.length]:Pt,origin:q||(xt?"paste":p.state.cutIncoming>Ye?"cut":"+input")};bs(p.doc,Zn),Ir(p,"inputRead",p,Zn)}I&&!xt&&Ar(p,I),Ta(p),p.curOp.updateInput<2&&(p.curOp.updateInput=kr),p.curOp.typing=!0,p.state.pasteIncoming=p.state.cutIncoming=-1}function ar(p,I){var W=p.clipboardData&&p.clipboardData.getData("Text");if(W)return p.preventDefault(),!I.isReadOnly()&&!I.options.disableInput&&bo(I,function(){return rr(I,W,0,null,"paste")}),!0}function Ar(p,I){if(!p.options.electricChars||!p.options.smartIndent)return;for(var W=p.doc.sel,K=W.ranges.length-1;K>=0;K--){var q=W.ranges[K];if(q.head.ch>100||K&&W.ranges[K-1].head.line==q.head.line)continue;var ve=p.getModeAt(q.head),Ye=!1;if(ve.electricChars){for(var xt=0;xt-1){Ye=tt(p,q.head.line,"smart");break}}else ve.electricInput&&(ve.electricInput.test($(p.doc,q.head.line).text.slice(0,q.head.ch))&&(Ye=tt(p,q.head.line,"smart")));Ye&&Ir(p,"electricInput",p,q.head.line)}}function Kr(p){for(var I=[],W=[],K=0;Kve&&(tt(this,xt.head.line,K,!0),ve=xt.head.line,Ye==this.doc.sel.primIndex&&Ta(this));else{var Pt=xt.from(),jt=xt.to(),Lr=Math.max(ve,Pt.line);ve=Math.min(this.lastLine(),jt.line-(jt.ch?0:1))+1;for(var kr=Lr;kr0&&ns(this.doc,Ye,new re(Pt,tn[Ye].to()),pe)}}}),getTokenAt:function(q,ve){return pr(this,q,ve)},getLineTokens:function(q,ve){return pr(this,Et(q),ve,!0)},getTokenTypeAt:function(q){q=ke(this.doc,q);var ve=He(this,$(this.doc,q.line)),Ye=0,xt=(ve.length-1)/2,Pt=q.ch,jt;if(Pt==0)jt=ve[2];else for(;;){var Lr=Ye+xt>>1;if((Lr?ve[Lr*2-1]:0)>=Pt)xt=Lr;else if(ve[Lr*2+1]jt&&(q=jt,xt=!0),Pt=$(this.doc,q)}else Pt=q;return Mi(this,Pt,{top:0,left:0},ve||"page",Ye||xt).top+(xt?this.doc.height-On(Pt):0)},defaultTextHeight:function(){return yi(this.display)},defaultCharWidth:function(){return Ti(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(q,ve,Ye,xt,Pt){var jt=this.display;q=Bi(this,ke(this.doc,q));var Lr=q.bottom,kr=q.left;if(ve.style.position="absolute",ve.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ve),jt.sizer.appendChild(ve),xt=="over")Lr=q.top;else if(xt=="above"||xt=="near"){var tn=Math.max(jt.wrapper.clientHeight,this.doc.height),nn=Math.max(jt.sizer.clientWidth,jt.lineSpace.clientWidth);(xt=="above"||q.bottom+ve.offsetHeight>tn)&&q.top>ve.offsetHeight?Lr=q.top-ve.offsetHeight:q.bottom+ve.offsetHeight<=tn&&(Lr=q.bottom),kr+ve.offsetWidth>nn&&(kr=nn-ve.offsetWidth)}ve.style.top=Lr+"px",ve.style.left=ve.style.right="",Pt=="right"?(kr=jt.sizer.clientWidth-ve.offsetWidth,ve.style.right="0px"):(Pt=="left"?kr=0:Pt=="middle"&&(kr=(jt.sizer.clientWidth-ve.offsetWidth)/2),ve.style.left=kr+"px"),Ye&&Ca(this,{left:kr,top:Lr,right:kr+ve.offsetWidth,bottom:Lr+ve.offsetHeight})},triggerOnKeyDown:Ga(Vs),triggerOnKeyPress:Ga(ks),triggerOnKeyUp:_s,triggerOnMouseDown:Ga(Ll),execCommand:function(q){if(Ws.hasOwnProperty(q))return Ws[q].call(null,this)},triggerElectric:Ga(function(K){Ar(this,K)}),findPosH:function(q,ve,Ye,xt){var Pt=1;ve<0&&(Pt=-1,ve=-ve);for(var jt=ke(this.doc,q),Lr=0;Lr0&&kr(Ye.charAt(xt-1));)--xt;for(;Pt.5||this.options.lineWrapping)&&ya(this),Kt(this,"refresh",this)}),swapDoc:Ga(function(K){var q=this.doc;return q.cm=null,this.state.selectingText&&this.state.selectingText(),Xn(this,K),Ai(this),this.display.input.reset(),Fi(this,K.scrollLeft,K.scrollTop),this.curOp.forceScroll=!0,Ir(this,"swapDoc",this,q),q}),phrase:function(q){var ve=this.options.phrases;return ve&&Object.prototype.hasOwnProperty.call(ve,q)?ve[q]:q},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}},ft(p),p.registerHelper=function(K,q,ve){W.hasOwnProperty(K)||(W[K]=p[K]={_global:[]}),W[K][q]=ve},p.registerGlobalHelper=function(K,q,ve,Ye){p.registerHelper(K,q,Ye),W[K]._global.push({pred:ve,val:Ye})}}function Jr(p,I,W,K,q){var ve=I,Ye=W,xt=$(p,I.line),Pt=q&&p.direction=="rtl"?-W:W;function jt(){var oi=I.line+Pt;return oi=p.first+p.size?!1:(I=new Et(oi,I.ch,I.sticky),xt=$(p,oi))}function Lr(oi){var li;if(K=="codepoint"){var Te=xt.text.charCodeAt(I.ch+(K>0?0:-1));isNaN(Te)?li=null:li=new Et(I.line,Math.max(0,Math.min(xt.text.length,I.ch+W*(Te>=55296&&Te<56320?2:1))),-W)}else q?li=xl(p.cm,xt,I,W):li=nl(xt,I,W);if(li==null)if(!oi&&jt())I=hl(q,p.cm,xt,I.line,Pt);else return!1;else I=li;return!0}if(K=="char"||K=="codepoint")Lr();else if(K=="column")Lr(!0);else if(K=="word"||K=="group")for(var kr=null,tn=K=="group",nn=p.cm&&p.cm.getHelper(I,"wordChars"),xn=!0;!(W<0&&!Lr(!xn));xn=!1){var _n=xt.text.charAt(I.ch)||` `,Zn=bt(_n,nn)?"w":tn&&_n==` `?"n":!tn||/\s/.test(_n)?null:"p";if(tn&&!xn&&!Zn&&(Zn="s"),kr&&kr!=Zn){W<0&&(W=1,Lr(),I.sticky="after");break}if(Zn&&(kr=Zn),W>0&&!Lr(!xn))break}var $n=Bs(p,I,ve,Ye,!0);return _t(ve,$n)&&($n.hitSide=!0),$n}function dn(p,I,W,K){var q=p.doc,ve=I.left,Ye;if(K=="page"){var xt=Math.min(p.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Pt=Math.max(xt-.5*yi(p.display),3);Ye=(W>0?I.bottom:I.top)+W*Pt}else K=="line"&&(Ye=W>0?I.bottom+3:I.top-3);for(var jt;!(jt=Ji(p,ve,Ye),!jt.outside);){if(W<0?Ye<=0:Ye>=q.height){jt.hitSide=!0;break}Ye+=W*5}return jt}var pn=function(I){this.cm=I,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Y,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(p){var I=this,W=this,K=W.cm,q=W.div=p.lineDiv;Yr(q,K.options.spellcheck,K.options.autocorrect,K.options.autocapitalize);function ve(xt){for(var Pt=xt.target;Pt;Pt=Pt.parentNode){if(Pt==q)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Pt.className))break}return!1}Wt(q,"paste",function(xt){if(!ve(xt)||Ge(K,xt)||ar(xt,K))return;i<=11&&setTimeout(Za(K,function(){return I.updateFromDOM()}),20)}),Wt(q,"compositionstart",function(xt){I.composing={data:xt.data,done:!1}}),Wt(q,"compositionupdate",function(xt){I.composing||(I.composing={data:xt.data,done:!1})}),Wt(q,"compositionend",function(xt){I.composing&&(xt.data!=I.composing.data&&I.readFromDOMSoon(),I.composing.done=!0)}),Wt(q,"touchstart",function(){return W.forceCompositionEnd()}),Wt(q,"input",function(){I.composing||I.readFromDOMSoon()});function Ye(xt){if(!ve(xt)||Ge(K,xt))return;if(K.somethingSelected())Yt({lineWise:!1,text:K.getSelections()}),xt.type=="cut"&&K.replaceSelection("",null,"cut");else if(K.options.lineWiseCopyCut){var Pt=Kr(K);Yt({lineWise:!0,text:Pt.text}),xt.type=="cut"&&K.operation(function(){K.setSelections(Pt.ranges,0,pe),K.replaceSelection("",null,"cut")})}else return;if(xt.clipboardData){xt.clipboardData.clearData();var jt=Ot.text.join(` `);if(xt.clipboardData.setData("Text",jt),xt.clipboardData.getData("Text")==jt){xt.preventDefault();return}}var Lr=_r(),kr=Lr.firstChild;K.display.lineSpace.insertBefore(Lr,K.display.lineSpace.firstChild),kr.value=Ot.text.join(` `);var tn=document.activeElement;V(kr),setTimeout(function(){K.display.lineSpace.removeChild(Lr),tn.focus(),tn==q&&W.showPrimarySelection()},50)}Wt(q,"copy",Ye),Wt(q,"cut",Ye)},pn.prototype.screenReaderLabelChanged=function(p){p?this.div.setAttribute("aria-label",p):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var p=Wi(this.cm,!1);return p.focus=document.activeElement==this.div,p},pn.prototype.showSelection=function(p,I){if(!p||!this.cm.display.view.length)return;(p.focus||I)&&this.showPrimarySelection(),this.showMultipleSelections(p)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var p=this.getSelection(),I=this.cm,W=I.doc.sel.primary(),K=W.from(),q=W.to();if(I.display.viewTo==I.display.viewFrom||K.line>=I.display.viewTo||q.line=I.display.viewFrom&&ei(I,K)||{node:xt[0].measure.map[2],offset:0},jt=q.linep.firstLine()&&(K=Et(K.line-1,$(p.doc,K.line-1).length)),q.ch==$(p.doc,q.line).text.length&&q.lineI.viewTo-1)return!1;var ve,Ye,xt;K.line==I.viewFrom||(ve=la(p,K.line))==0?(Ye=Re(I.view[0].line),xt=I.view[0].node):(Ye=Re(I.view[ve].line),xt=I.view[ve-1].node.nextSibling);var Pt=la(p,q.line),jt,Lr;if(Pt==I.view.length-1?(jt=I.viewTo-1,Lr=I.lineDiv.lastChild):(jt=Re(I.view[Pt+1].line)-1,Lr=I.view[Pt+1].node.previousSibling),!xt)return!1;for(var kr=p.doc.splitLines($i(p,xt,Lr,Ye,jt)),tn=le(p.doc,Et(Ye,0),Et(jt,$(p.doc,jt).text.length));kr.length>1&&tn.length>1;)if(Xe(kr)==Xe(tn))kr.pop(),tn.pop(),jt--;else if(kr[0]==tn[0])kr.shift(),tn.shift(),Ye++;else break;for(var nn=0,xn=0,_n=kr[0],Zn=tn[0],$n=Math.min(_n.length,Zn.length);nn<$n&&_n.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=Xe(kr),li=Xe(tn),Te=Math.min(oi.length-(kr.length==1?nn:0),li.length-(tn.length==1?nn:0));xnK.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;kr[kr.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),kr[0]=kr[0].slice(nn).replace(/\u200b+$/,"");var G=Et(Ye,nn),we=Et(jt,tn.length?Xe(tn).length-xn:0);if(kr.length>1||kr[0]||Mt(G,we))return Jo(p.doc,kr,G,we,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var p=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(p.readDOMTimeout=null,p.composing)if(p.composing.done)p.composing=null;else return;p.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var p=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(p.cm)})},pn.prototype.setUneditable=function(p){p.contentEditable="false"},pn.prototype.onKeyPress=function(p){if(p.charCode==0||this.composing)return;p.preventDefault(),this.cm.isReadOnly()||Za(this.cm,rr)(this.cm,String.fromCharCode(p.charCode==null?p.keyCode:p.charCode),0)},pn.prototype.readOnlyChanged=function(p){this.div.contentEditable=String(p!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(p,I){var W=bn(p,I.line);if(!W||W.hidden)return null;var K=$(p.doc,I.line),q=wn(W,K,I.line),ve=kt(K,p.doc.direction),Ye="left";if(ve){var xt=ht(ve,I.ch);Ye=xt%2?"right":"left"}var Pt=En(q.map,I.ch,Ye);return Pt.offset=Pt.collapse=="right"?Pt.end:Pt.start,Pt}function ui(p){for(var I=p;I;I=I.parentNode)if(/CodeMirror-gutter-wrapper/.test(I.className))return!0;return!1}function ii(p,I){return I&&(p.bad=!0),p}function $i(p,I,W,K,q){var ve="",Ye=!1,xt=p.doc.lineSeparator(),Pt=!1;function jt(nn){return function(xn){return xn.id==nn}}function Lr(){Ye&&(ve+=xt,Pt&&(ve+=xt),Ye=Pt=!1)}function kr(nn){nn&&(Lr(),ve+=nn)}function tn(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){kr(xn);return}var _n=nn.getAttribute("cm-marker"),Zn;if(_n){var $n=p.findMarks(Et(K,0),Et(q+1,0),jt(+_n));$n.length&&(Zn=$n[0].find(0))&&kr(le(p.doc,Zn.from,Zn.to).join(xt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Lr();for(var li=0;li=9&&I.hasSelection&&(I.hasSelection=null),W.poll()}),Wt(q,"paste",function(Ye){if(Ge(K,Ye)||ar(Ye,K))return;K.state.pasteIncoming=+new Date,W.fastPoll()});function ve(Ye){if(Ge(K,Ye))return;if(K.somethingSelected())Yt({lineWise:!1,text:K.getSelections()});else if(K.options.lineWiseCopyCut){var xt=Kr(K);Yt({lineWise:!0,text:xt.text}),Ye.type=="cut"?K.setSelections(xt.ranges,null,pe):(W.prevInput="",q.value=xt.text.join(` `),V(q))}else return;Ye.type=="cut"&&(K.state.cutIncoming=+new Date)}Wt(q,"cut",ve),Wt(q,"copy",ve),Wt(p.scroller,"paste",function(Ye){if(rt(p,Ye)||Ge(K,Ye))return;if(!q.dispatchEvent){K.state.pasteIncoming=+new Date,W.focus();return}var xt=new Event("paste");xt.clipboardData=Ye.clipboardData,q.dispatchEvent(xt)}),Wt(p.lineSpace,"selectstart",function(Ye){rt(p,Ye)||nt(Ye)}),Wt(q,"compositionstart",function(){var Ye=K.getCursor("from");W.composing&&W.composing.range.clear(),W.composing={start:Ye,range:K.markText(Ye,K.getCursor("to"),{className:"CodeMirror-composing"})}}),Wt(q,"compositionend",function(){W.composing&&(W.poll(),W.composing.range.clear(),W.composing=null)})},Ei.prototype.createField=function(p){this.wrapper=_r(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(p){p?this.textarea.setAttribute("aria-label",p):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var p=this.cm,I=p.display,W=p.doc,K=Wi(p);if(p.options.moveInputWithCursor){var q=Bi(p,W.sel.primary().head,"div"),ve=I.wrapper.getBoundingClientRect(),Ye=I.lineDiv.getBoundingClientRect();K.teTop=Math.max(0,Math.min(I.wrapper.clientHeight-10,q.top+Ye.top-ve.top)),K.teLeft=Math.max(0,Math.min(I.wrapper.clientWidth-10,q.left+Ye.left-ve.left))}return K},Ei.prototype.showSelection=function(p){var I=this.cm,W=I.display;N(W.cursorDiv,p.cursors),N(W.selectionDiv,p.selection),p.teTop!=null&&(this.wrapper.style.top=p.teTop+"px",this.wrapper.style.left=p.teLeft+"px")},Ei.prototype.reset=function(p){if(this.contextMenuPending||this.composing)return;var I=this.cm;if(I.somethingSelected()){this.prevInput="";var W=I.getSelection();this.textarea.value=W,I.state.focused&&V(this.textarea),f&&i>=9&&(this.hasSelection=W)}else p||(this.prevInput=this.textarea.value="",f&&i>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!h||M()!=this.textarea))try{this.textarea.focus()}catch(p){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var p=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){p.poll(),p.cm.state.focused&&p.slowPoll()})},Ei.prototype.fastPoll=function(){var p=!1,I=this;I.pollingFast=!0;function W(){var K=I.poll();!K&&!p?(p=!0,I.polling.set(60,W)):(I.pollingFast=!1,I.slowPoll())}I.polling.set(20,W)},Ei.prototype.poll=function(){var p=this,I=this.cm,W=this.textarea,K=this.prevInput;if(this.contextMenuPending||!I.state.focused||qt(W)&&!K&&!this.composing||I.isReadOnly()||I.options.disableInput||I.state.keySeq)return!1;var q=W.value;if(q==K&&!I.somethingSelected())return!1;if(f&&i>=9&&this.hasSelection===q||v&&/[\uf700-\uf7ff]/.test(q))return I.display.input.reset(),!1;if(I.doc.sel==I.display.selForContextMenu){var ve=q.charCodeAt(0);if(ve==8203&&!K&&(K="\u200B"),ve==8666)return this.reset(),this.cm.execCommand("undo")}for(var Ye=0,xt=Math.min(K.length,q.length);Ye1e3||q.indexOf(` `)>-1?W.value=p.prevInput="":p.prevInput=q,p.composing&&(p.composing.range.clear(),p.composing.range=I.markText(p.composing.start,I.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){f&&i>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(p){var I=this,W=I.cm,K=W.display,q=I.textarea;I.contextMenuPending&&I.contextMenuPending();var ve=ua(W,p),Ye=K.scroller.scrollTop;if(!ve||l)return;var xt=W.options.resetSelectionOnContextMenu;xt&&W.doc.sel.contains(ve)==-1&&Za(W,Eo)(W.doc,he(ve),pe);var Pt=q.style.cssText,jt=I.wrapper.style.cssText,Lr=I.wrapper.offsetParent.getBoundingClientRect();I.wrapper.style.cssText="position: static",q.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(p.clientY-Lr.top-5)+"px; left: "+(p.clientX-Lr.left-5)+`px; z-index: 1000; background: `+(f?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var kr;r&&(kr=window.scrollY),K.input.focus(),r&&window.scrollTo(null,kr),K.input.reset(),W.somethingSelected()||(q.value=I.prevInput=" "),I.contextMenuPending=nn,K.selForContextMenu=W.doc.sel,clearTimeout(K.detectingSelectAll);function tn(){if(q.selectionStart!=null){var _n=W.somethingSelected(),Zn="\u200B"+(_n?q.value:"");q.value="\u21DA",q.value=Zn,I.prevInput=_n?"":"\u200B",q.selectionStart=1,q.selectionEnd=Zn.length,K.selForContextMenu=W.doc.sel}}function nn(){if(I.contextMenuPending!=nn)return;if(I.contextMenuPending=!1,I.wrapper.style.cssText=jt,q.style.cssText=Pt,f&&i<9&&K.scrollbars.setScrollTop(K.scroller.scrollTop=Ye),q.selectionStart!=null){(!f||f&&i<9)&&tn();var _n=0,Zn=function $n(){K.selForContextMenu==W.doc.sel&&q.selectionStart==0&&q.selectionEnd>0&&I.prevInput=="\u200B"?Za(W,Fs)(W):_n++<10?K.detectingSelectAll=setTimeout($n,500):(K.selForContextMenu=null,K.input.reset())};K.detectingSelectAll=setTimeout(Zn,200)}}if(f&&i>=9&&tn(),L){lt(p);var xn=function _n(){Bt(window,"mouseup",_n),setTimeout(nn,20)};Wt(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(p){p||this.reset(),this.textarea.disabled=p=="nocursor",this.textarea.readOnly=!!p},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function uo(p,I){if(I=I?k(I):{},I.value=p.value,!I.tabindex&&p.tabIndex&&(I.tabindex=p.tabIndex),!I.placeholder&&p.placeholder&&(I.placeholder=p.placeholder),I.autofocus==null){var W=M();I.autofocus=W==p||p.getAttribute("autofocus")!=null&&W==document.body}function K(){p.value=xt.getValue()}var q;if(p.form&&(Wt(p.form,"submit",K),!I.leaveSubmitMethodAlone)){var ve=p.form;q=ve.submit;try{var Ye=ve.submit=function(){K(),ve.submit=q,ve.submit(),ve.submit=Ye}}catch(Pt){}}I.finishInit=function(Pt){Pt.save=K,Pt.getTextArea=function(){return p},Pt.toTextArea=function(){Pt.toTextArea=isNaN,K(),p.parentNode.removeChild(Pt.getWrapperElement()),p.style.display="",p.form&&(Bt(p.form,"submit",K),!I.leaveSubmitMethodAlone&&typeof p.form.submit=="function"&&(p.form.submit=q))}},p.style.display="none";var xt=_e(function(Pt){return p.parentNode.insertBefore(Pt,p.nextSibling)},I);return xt}function zo(p){p.off=Bt,p.on=Wt,p.wheelEventPixels=Ks,p.Doc=es,p.splitLines=mr,p.countColumn=Z,p.findColumn=be,p.isWordChar=$e,p.Pass=X,p.signal=Kt,p.Line=ni,p.changeEnd=Le,p.scrollbarModel=ro,p.Pos=Et,p.cmpPos=Mt,p.modes=ae,p.mimeModes=ye,p.resolveMode=Ie,p.getMode=xe,p.modeExtensions=Ue,p.extendMode=it,p.copyState=yt,p.startState=ie,p.innerMode=ee,p.commands=Ws,p.keyMap=Ss,p.keyName=Vl,p.isModifierKey=wl,p.lookupKey=Us,p.normalizeKeyMap=rl,p.StringStream=z,p.SharedTextMarker=qs,p.TextMarker=Ts,p.LineWidget=sl,p.e_preventDefault=nt,p.e_stopPropagation=se,p.e_stop=lt,p.addClass=j,p.contains=U,p.rmClass=w,p.keyNames=Ps}uu(_e),Fr(_e);var ao="iter insert remove copy getEditor constructor".split(" ");for(var ko in es.prototype)es.prototype.hasOwnProperty(ko)&&_(ao,ko)<0&&(_e.prototype[ko]=function(p){return function(){return p.apply(this.doc,arguments)}}(es.prototype[ko]));return ft(es),_e.inputStyles={textarea:Ei,contenteditable:pn},_e.defineMode=function(p){!_e.defaults.mode&&p!="null"&&(_e.defaults.mode=p),Ce.apply(this,arguments)},_e.defineMIME=Oe,_e.defineMode("null",function(){return{token:function(I){return I.skipToEnd()}}}),_e.defineMIME("text/plain","null"),_e.defineExtension=function(p,I){_e.prototype[p]=I},_e.defineDocExtension=function(p,I){es.prototype[p]=I},_e.fromTextArea=uo,zo(_e),_e.version="5.58.2",_e})},Vy0f:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var c=E(e("iYpf"));function E(m){return m&&m.__esModule?m:{default:m}}var g=c;F.default=g,J.exports=g},W2nI:function(J,F,e){var c=e("IwbS"),E=e("ProS"),g=e("bYtY"),m=["itemStyle","opacity"],A=["emphasis","itemStyle","opacity"],b=["lineStyle","opacity"],f=["emphasis","lineStyle","opacity"];function i(d,t){return d.getVisual("opacity")||d.getModel().get(t)}function r(d,t,u){var a=d.getGraphicEl(),h=i(d,t);u!=null&&(h==null&&(h=1),h*=u),a.downplay&&a.downplay(),a.traverse(function(v){v.type!=="group"&&v.setStyle("opacity",h)})}function o(d,t){var u=i(d,t),a=d.getGraphicEl();a.traverse(function(h){h.type!=="group"&&h.setStyle("opacity",u)}),a.highlight&&a.highlight()}var s=c.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(d,t){var u=t.extent;d.moveTo(t.x1,t.y1),d.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(d.lineTo(t.x2+u,t.y2),d.bezierCurveTo(t.cpx2+u,t.cpy2,t.cpx1+u,t.cpy1,t.x1+u,t.y1)):(d.lineTo(t.x2,t.y2+u),d.bezierCurveTo(t.cpx2,t.cpy2+u,t.cpx1,t.cpy1+u,t.x1,t.y1+u)),d.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),l=E.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(d,t,u){var a=this,h=d.getGraph(),v=this.group,y=d.layoutInfo,O=y.width,S=y.height,x=d.getData(),L=d.getData("edge"),T=d.get("orient");this._model=d,v.removeAll(),v.attr("position",[y.x,y.y]),h.eachEdge(function(w){var C=new s;C.dataIndex=w.dataIndex,C.seriesIndex=d.seriesIndex,C.dataType="edge";var N=w.getModel("lineStyle"),D=N.get("curveness"),B=w.node1.getLayout(),R=w.node1.getModel(),U=R.get("localX"),M=R.get("localY"),j=w.node2.getLayout(),P=w.node2.getModel(),V=P.get("localX"),H=P.get("localY"),k=w.getLayout(),Z,Y,_,Q,X,pe,te,fe;C.shape.extent=Math.max(1,k.dy),C.shape.orient=T,T==="vertical"?(Z=(U!=null?U*O:B.x)+k.sy,Y=(M!=null?M*S:B.y)+B.dy,_=(V!=null?V*O:j.x)+k.ty,Q=H!=null?H*S:j.y,X=Z,pe=Y*(1-D)+Q*D,te=_,fe=Y*D+Q*(1-D)):(Z=(U!=null?U*O:B.x)+B.dx,Y=(M!=null?M*S:B.y)+k.sy,_=V!=null?V*O:j.x,Q=(H!=null?H*S:j.y)+k.ty,X=Z*(1-D)+_*D,pe=Y,te=Z*D+_*(1-D),fe=Q),C.setShape({x1:Z,y1:Y,x2:_,y2:Q,cpx1:X,cpy1:pe,cpx2:te,cpy2:fe}),C.setStyle(N.getItemStyle());switch(C.style.fill){case"source":C.style.fill=w.node1.getVisual("color");break;case"target":C.style.fill=w.node2.getVisual("color");break}c.setHoverStyle(C,w.getModel("emphasis.lineStyle").getItemStyle()),v.add(C),L.setItemGraphicEl(w.dataIndex,C)}),h.eachNode(function(w){var C=w.getLayout(),N=w.getModel(),D=N.get("localX"),B=N.get("localY"),R=N.getModel("label"),U=N.getModel("emphasis.label"),M=new c.Rect({shape:{x:D!=null?D*O:C.x,y:B!=null?B*S:C.y,width:C.dx,height:C.dy},style:N.getModel("itemStyle").getItemStyle()}),j=w.getModel("emphasis.itemStyle").getItemStyle();c.setLabelStyle(M.style,j,R,U,{labelFetcher:d,labelDataIndex:w.dataIndex,defaultText:w.id,isRectText:!0}),M.setStyle("fill",w.getVisual("color")),c.setHoverStyle(M,j),v.add(M),x.setItemGraphicEl(w.dataIndex,M),M.dataType="node"}),x.eachItemGraphicEl(function(w,C){var N=x.getItemModel(C);N.get("draggable")&&(w.drift=function(D,B){a._focusAdjacencyDisabled=!0,this.shape.x+=D,this.shape.y+=B,this.dirty(),u.dispatchAction({type:"dragNode",seriesId:d.id,dataIndex:x.getRawIndex(C),localX:this.shape.x/O,localY:this.shape.y/S})},w.ondragend=function(){a._focusAdjacencyDisabled=!1},w.draggable=!0,w.cursor="move"),w.highlight=function(){this.trigger("emphasis")},w.downplay=function(){this.trigger("normal")},w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){a._focusAdjacencyDisabled||(a._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:d.id,dataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){a._focusAdjacencyDisabled||a._dispatchUnfocus(u)}))}),L.eachItemGraphicEl(function(w,C){var N=L.getItemModel(C);w.focusNodeAdjHandler&&w.off("mouseover",w.focusNodeAdjHandler),w.unfocusNodeAdjHandler&&w.off("mouseout",w.unfocusNodeAdjHandler),N.get("focusNodeAdjacency")&&(w.on("mouseover",w.focusNodeAdjHandler=function(){a._focusAdjacencyDisabled||(a._clearTimer(),u.dispatchAction({type:"focusNodeAdjacency",seriesId:d.id,edgeDataIndex:w.dataIndex}))}),w.on("mouseout",w.unfocusNodeAdjHandler=function(){a._focusAdjacencyDisabled||a._dispatchUnfocus(u)}))}),!this._data&&d.get("animation")&&v.setClipPath(n(v.getBoundingRect(),d,function(){v.removeClipPath()})),this._data=d.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(d){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,d.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(d,t,u,a){var h=d.getData(),v=h.graph,y=a.dataIndex,O=h.getItemModel(y),S=a.edgeDataIndex;if(y==null&&S==null)return;var x=v.getNodeByIndex(y),L=v.getEdgeByIndex(S);if(v.eachNode(function(w){r(w,m,.1)}),v.eachEdge(function(w){r(w,b,.1)}),x){o(x,A);var T=O.get("focusNodeAdjacency");T==="outEdges"?g.each(x.outEdges,function(w){if(w.dataIndex<0)return;o(w,f),o(w.node2,A)}):T==="inEdges"?g.each(x.inEdges,function(w){if(w.dataIndex<0)return;o(w,f),o(w.node1,A)}):T==="allEdges"&&g.each(x.edges,function(w){if(w.dataIndex<0)return;o(w,f),w.node1!==x&&o(w.node1,A),w.node2!==x&&o(w.node2,A)})}L&&(o(L,f),o(L.node1,A),o(L.node2,A))},unfocusNodeAdjacency:function(d,t,u,a){var h=d.getGraph();h.eachNode(function(v){r(v,m)}),h.eachEdge(function(v){r(v,b)})}});function n(d,t,u){var a=new c.Rect({shape:{x:d.x-10,y:d.y-10,width:0,height:d.height+20}});return c.initProps(a,{shape:{width:d.width+20}},t,u),a}J.exports=l},W4dC:function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("bYtY"),m=g.each,A=g.createHashMap,b=e("7DRL"),f=e("TIY9"),i=e("yS9w"),r=e("mFDi"),o={geoJSON:f,svg:i},s={load:function(t,u,a){var h=[],v=A(),y=A(),O,S=d(t);return m(S,function(x){var L=o[x.type].load(t,x,a);m(L.regions,function(w){var C=w.name;u&&u.hasOwnProperty(C)&&(w=w.cloneShallow(C=u[C])),h.push(w),v.set(C,w),y.set(C,w.center)});var T=L.boundingRect;T&&(O?O.union(T):O=T.clone())}),{regions:h,regionsMap:v,nameCoordMap:y,boundingRect:O||new r(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(t){return function(u,a){var h=d(u),v=[];return m(h,function(y){var O=o[y.type][t];O&&v.push(O(u,y,a))}),v}}function n(t){}function d(t){var u=b.retrieveMap(t)||[];return u}J.exports=s},WGYa:function(J,F,e){var c=e("7yuC"),E=c.forceLayout,g=e("HF/U"),m=g.simpleLayout,A=e("lOQZ"),b=A.circularLayout,f=e("OELB"),i=f.linearMap,r=e("QBsz"),o=e("bYtY");function s(l){l.eachSeriesByType("graph",function(n){var d=n.coordinateSystem;if(d&&d.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},u=n.getGraph(),a=u.data,h=u.edgeData,v=n.getModel("force"),y=v.get("initLayout");n.preservedPoints?a.each(function(R){var U=a.getId(R);a.setItemLayout(R,t[U]||[NaN,NaN])}):!y||y==="none"?m(n):y==="circular"&&b(n,"value");var O=a.getDataExtent("value"),S=h.getDataExtent("value"),x=v.get("repulsion"),L=v.get("edgeLength");o.isArray(x)||(x=[x,x]),o.isArray(L)||(L=[L,L]),L=[L[1],L[0]];var T=a.mapArray("value",function(R,U){var M=a.getItemLayout(U),j=i(R,O,x);return isNaN(j)&&(j=(x[0]+x[1])/2),{w:j,rep:j,fixed:a.getItemModel(U).get("fixed"),p:!M||isNaN(M[0])||isNaN(M[1])?null:M}}),w=h.mapArray("value",function(R,U){var M=u.getEdgeByIndex(U),j=i(R,S,L);isNaN(j)&&(j=(L[0]+L[1])/2);var P=M.getModel();return{n1:T[M.node1.dataIndex],n2:T[M.node2.dataIndex],d:j,curveness:P.get("lineStyle.curveness")||0,ignoreForceLayout:P.get("ignoreForceLayout")}}),d=n.coordinateSystem,C=d.getBoundingRect(),N=E(T,w,{rect:C,gravity:v.get("gravity"),friction:v.get("friction")}),D=N.step;N.step=function(R){for(var U=0,M=T.length;U=0&&o[n].disabled;n-=1);var d=null;return n!==-1&&(d=l[n],l.splice(n,1)),{values:l,removedValue:d}}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,f=b,i=0;function r(){var o;return f?(o=i,i+=1):o="TEST_OR_SSR",o}},"WN+l":function(J,F,e){var c=e("bYtY"),E=e("IwbS");function g(A,b,f,i){var r=f.axis;if(r.scale.isBlank())return;var o=f.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),n=i.coordinateSystem.getRect(),d=r.getTicksCoords({tickModel:o,clamp:!0});if(!d.length)return;var t=l.length,u=A.__splitAreaColors,a=c.createHashMap(),h=0;if(u)for(var v=0;v=0;D--)w[D]==null&&(delete C[T[D]],T.pop())}function l(L,T){var w=L.visual,C=[];c.isObject(w)?A(w,function(D){C.push(D)}):w!=null&&C.push(w);var N={color:1,symbol:1};!T&&C.length===1&&!N.hasOwnProperty(L.type)&&(C[1]=C[0]),y(L,C)}function n(L){return{applyVisual:function(T,w,C){T=this.mapValueToVisual(T),C("color",L(w("color"),T))},_doMap:h([0,1])}}function d(L){var T=this.option.visual;return T[Math.round(m(L,[0,1],[0,T.length-1],!0))]||{}}function t(L){return function(T,w,C){C(L,this.mapValueToVisual(T))}}function u(L){var T=this.option.visual;return T[this.option.loop&&L!==f?L%T.length:L]}function a(){return this.option.visual[0]}function h(L){return{linear:function(T){return m(T,L,this.option.visual,!0)},category:u,piecewise:function(T,w){var C=v.call(this,w);return C==null&&(C=m(T,L,this.option.visual,!0)),C},fixed:a}}function v(L){var T=this.option,w=T.pieceList;if(T.hasSpecialVisual){var C=i.findPieceIndex(L,w),N=w[C];if(N&&N.visual)return N.visual[this.type]}}function y(L,T){return L.visual=T,L.type==="color"&&(L.parsedVisual=c.map(T,function(w){return E.parse(w)})),T}var O={linear:function(L){return m(L,this.option.dataExtent,[0,1],!0)},piecewise:function(L){var T=this.option.pieceList,w=i.findPieceIndex(L,T,!0);if(w!=null)return m(w,[0,T.length-1],[0,1],!0)},category:function(L){var T=this.option.categories?this.option.categoryMap[L]:L;return T==null?f:T},fixed:c.noop};i.listVisualTypes=function(){var L=[];return c.each(r,function(T,w){L.push(w)}),L},i.addVisualHandler=function(L,T){r[L]=T},i.isValidType=function(L){return r.hasOwnProperty(L)},i.eachVisual=function(L,T,w){c.isObject(L)?c.each(L,T,w):T.call(w,L)},i.mapVisual=function(L,T,w){var C,N=c.isArray(L)?[]:c.isObject(L)?{}:(C=!0,null);return i.eachVisual(L,function(D,B){var R=T.call(w,D,B);C?N=R:N[B]=R}),N},i.retrieveVisuals=function(L){var T={},w;return L&&A(r,function(C,N){L.hasOwnProperty(N)&&(T[N]=L[N],w=!0)}),w?T:null},i.prepareVisualTypes=function(L){if(b(L)){var T=[];A(L,function(w,C){T.push(C)}),L=T}else if(c.isArray(L))L=L.slice();else return[];return L.sort(function(w,C){return C==="color"&&w!=="color"&&w.indexOf("color")===0?1:-1}),L},i.dependsOn=function(L,T){return T==="color"?!!(L&&L.indexOf(T)===0):L===T},i.findPieceIndex=function(L,T,w){for(var C,N=Infinity,D=0,B=T.length;D1&&arguments[1]!==void 0?arguments[1]:!1,R=D.getAttribute("id")||D.getAttribute("data-reactid")||D.getAttribute("name");if(B&&d[R])return d[R];var U=window.getComputedStyle(D),M=U.getPropertyValue("box-sizing")||U.getPropertyValue("-moz-box-sizing")||U.getPropertyValue("-webkit-box-sizing"),j=parseFloat(U.getPropertyValue("padding-bottom"))+parseFloat(U.getPropertyValue("padding-top")),P=parseFloat(U.getPropertyValue("border-bottom-width"))+parseFloat(U.getPropertyValue("border-top-width")),V=n.map(function(k){return"".concat(k,":").concat(U.getPropertyValue(k))}).join(";"),H={sizingStyle:V,paddingSize:j,borderSize:P,boxSizing:M};return B&&R&&(d[R]=H),H}function a(D){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),D.getAttribute("wrap")?t.setAttribute("wrap",D.getAttribute("wrap")):t.removeAttribute("wrap");var M=u(D,B),j=M.paddingSize,P=M.borderSize,V=M.boxSizing,H=M.sizingStyle;t.setAttribute("style","".concat(H,";").concat(l)),t.value=D.value||D.placeholder||"";var k=Number.MIN_SAFE_INTEGER,Z=Number.MAX_SAFE_INTEGER,Y=t.scrollHeight,_;if(V==="border-box"?Y+=P:V==="content-box"&&(Y-=j),R!==null||U!==null){t.value=" ";var Q=t.scrollHeight-j;R!==null&&(k=Q*R,V==="border-box"&&(k=k+j+P),Y=Math.max(k,Y)),U!==null&&(Z=Q*U,V==="border-box"&&(Z=Z+j+P),_=Y>Z?"":"hidden",Y=Math.min(Z,Y))}return{height:Y,minHeight:k,maxHeight:Z,overflowY:_}}function h(D,B){var R=Object.keys(D);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);B&&(U=U.filter(function(M){return Object.getOwnPropertyDescriptor(D,M).enumerable})),R.push.apply(R,U)}return R}function v(D){for(var B=1;B=0;if(!S)r(h,v,v,y),v.zrDelta=v.wheelDelta?v.wheelDelta/120:-(v.detail||0)/3;else{var x=O!=="touchend"?v.targetTouches[0]:v.changedTouches[0];x&&r(h,x,v,y)}var L=v.button;return v.which==null&&L!==void 0&&f.test(v.type)&&(v.which=L&1?1:L&2?3:L&4?2:0),v}function n(h,v,y,O){b?h.addEventListener(v,y,O):h.attachEvent("on"+v,y)}function d(h,v,y,O){b?h.removeEventListener(v,y,O):h.detachEvent("on"+v,y)}var t=b?function(h){h.preventDefault(),h.stopPropagation(),h.cancelBubble=!0}:function(h){h.returnValue=!1,h.cancelBubble=!0};function u(h){return h.which===2||h.which===3}function a(h){return h.which>1}F.clientToLocal=r,F.getNativeEvent=s,F.normalizeEvent=l,F.addEventListener=n,F.removeEventListener=d,F.stop=t,F.isMiddleOrRightButtonOnMouseUpDown=u,F.notLeftMouse=a},YNAk:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("QyFq")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="CaretDownFilled";var f=g.forwardRef(b);F.default=f},YNf1:function(J,F,e){var c=e("IwbS"),E=e("6Ic6"),g=.3,m=E.extend({type:"parallel",init:function(){this._dataGroup=new c.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(l,n,d,t){var u=this._dataGroup,a=l.getData(),h=this._data,v=l.coordinateSystem,y=v.dimensions,O=i(l);a.diff(h).add(S).update(x).remove(L).execute();function S(w){var C=f(a,u,w,y,v);r(C,a,w,O)}function x(w,C){var N=h.getItemGraphicEl(C),D=b(a,w,y,v);a.setItemGraphicEl(w,N);var B=t&&t.animation===!1?null:l;c.updateProps(N,{shape:{points:D}},B,w),r(N,a,w,O)}function L(w){var C=h.getItemGraphicEl(w);u.remove(C)}if(!this._initialized){this._initialized=!0;var T=A(v,l,function(){setTimeout(function(){u.removeClipPath()})});u.setClipPath(T)}this._data=a},incrementalPrepareRender:function(l,n,d){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(l,n,d){for(var t=n.getData(),u=n.coordinateSystem,a=u.dimensions,h=i(n),v=l.start;v65535?h:y}function S(_){var Q=_.constructor;return Q===Array?_.slice():new Q(_)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],L=["_extent","_approximateExtent","_rawExtent"];function T(_,Q){g.each(x.concat(Q.__wrappedMethods||[]),function(X){Q.hasOwnProperty(X)&&(_[X]=Q[X])}),_.__wrappedMethods=Q.__wrappedMethods,g.each(L,function(X){_[X]=g.clone(Q[X])}),_._calculationInfo=g.extend(Q._calculationInfo)}var w=function(_,Q){_=_||["x","y"];for(var X={},pe=[],te={},fe=0;fe<_.length;fe++){var be=_[fe];g.isString(be)?be=new l({name:be}):be instanceof l||(be=new l(be));var Se=be.name;be.type=be.type||"float",be.coordDim||(be.coordDim=Se,be.coordDimIndex=0),be.otherDims=be.otherDims||{},pe.push(Se),X[Se]=be,be.index=fe,be.createInvertedIndices&&(te[Se]=[])}this.dimensions=pe,this._dimensionInfos=X,this.hostModel=Q,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=te,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=w.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(_){return(typeof _=="number"||!isNaN(_)&&!this._dimensionInfos.hasOwnProperty(_))&&(_=this.dimensions[_]),_},C.getDimensionInfo=function(_){return this._dimensionInfos[this.getDimension(_)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(_,Q){var X=this._dimensionsSummary;if(Q==null)return X.encodeFirstDimNotExtra[_];var pe=X.encode[_];return Q===!0?(pe||[]).slice():pe&&pe[Q]},C.initData=function(_,Q,X){var pe=b.isInstance(_)||g.isArrayLike(_);pe&&(_=new r(_,this.dimensions.length)),this._rawData=_,this._storage={},this._indices=null,this._nameList=Q||[],this._idList=[],this._nameRepeatCount={},X||(this.hasItemOption=!1),this.defaultDimValueGetter=i[this._rawData.getSource().sourceFormat],this._dimValueGetter=X=X||this.defaultDimValueGetter,this._dimValueGetterArrayRows=i.arrayRows,this._rawExtent={},this._initDataFromProvider(0,_.count()),_.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(_){var Q=this._rawData,X=this.count();Q.appendData(_);var pe=Q.count();Q.persistent||(pe+=X),this._initDataFromProvider(X,pe)},C.appendValues=function(_,Q){for(var X=this._chunkSize,pe=this._storage,te=this.dimensions,fe=te.length,be=this._rawExtent,Se=this.count(),ze=Se+Math.max(_.length,Q?Q.length:0),Xe=this._chunkCount,wt=0;wtVe[1]&&(Ve[1]=At)}Q&&(this._nameList[vt]=Q[at])}this._rawCount=this._count=ze,this._extent={},D(this)},C._initDataFromProvider=function(_,Q){if(_>=Q)return;for(var X=this._chunkSize,pe=this._rawData,te=this._storage,fe=this.dimensions,be=fe.length,Se=this._dimensionInfos,ze=this._nameList,Xe=this._idList,wt=this._rawExtent,Be=this._nameRepeatCount={},Me,vt=this._chunkCount,at=0;atht[1]&&(ht[1]=De)}if(!pe.pure){var It=ze[At];if(ut&&It==null){if(ut.name!=null)ze[At]=It=ut.name;else if(Me!=null){var kt=fe[Me],Ht=te[kt][Ve];if(Ht){It=Ht[gt];var Wt=Se[kt].ordinalMeta;Wt&&Wt.categories.length&&(It=Wt.categories[It])}}}var nr=ut==null?null:ut.id;nr==null&&It!=null&&(Be[It]=Be[It]||0,nr=It,Be[It]>0&&(nr+="__ec__"+Be[It]),Be[It]++),nr!=null&&(Xe[At]=nr)}}!pe.persistent&&pe.clean&&pe.clean(),this._rawCount=this._count=Q,this._extent={},D(this)};function N(_,Q,X,pe,te){var fe=a[Q.type],be=pe-1,Se=Q.name,ze=_[Se][be];if(ze&&ze.length=0&&Q=0&&QSe&&(Se=Xe)}return fe=[be,Se],this._extent[_]=fe,fe},C.getApproximateExtent=function(_){return _=this.getDimension(_),this._approximateExtent[_]||this.getDataExtent(_)},C.setApproximateExtent=function(_,Q){Q=this.getDimension(Q),this._approximateExtent[Q]=_.slice()},C.getCalculationInfo=function(_){return this._calculationInfo[_]},C.setCalculationInfo=function(_,Q){n(_)?g.extend(this._calculationInfo,_):this._calculationInfo[_]=Q},C.getSum=function(_){var Q=this._storage[_],X=0;if(Q)for(var pe=0,te=this.count();pe=this._rawCount||_<0)return-1;if(!this._indices)return _;var Q=this._indices,X=Q[_];if(X!=null&&X_)te=fe-1;else return fe}return-1},C.indicesOfNearest=function(_,Q,X){var pe=this._storage,te=pe[_],fe=[];if(!te)return fe;X==null&&(X=Infinity);for(var be=Infinity,Se=-1,ze=0,Xe=0,wt=this.count();Xe=0&&Se<0)&&(be=Me,Se=Be,ze=0),Be===Se&&(fe[ze++]=Xe))}return fe.length=ze,fe},C.getRawIndex=R;function R(_){return _}function U(_){return _=0?this._indices[_]:-1}C.getRawDataItem=function(_){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(_));for(var Q=[],X=0;X=Xe&&At<=wt||isNaN(At))&&(be[Se++]=Me),Me++}Be=!0}else if(pe===2){for(var vt=this._storage[ze],Ve=this._storage[Q[1]],gt=_[Q[1]][0],Je=_[Q[1]][1],at=0;at=Xe&&At<=wt||isNaN(At))&&(De>=gt&&De<=Je||isNaN(De))&&(be[Se++]=Me),Me++}Be=!0}}if(!Be)if(pe===1)for(var ut=0;ut=Xe&&At<=wt||isNaN(At))&&(be[Se++]=ht)}else for(var ut=0;ut_[kt][1])&&(It=!1)}It&&(be[Se++]=this.getRawIndex(ut))}return Se=0?(te[Se]=H(fe[Se]),pe._rawExtent[Se]=k(),pe._extent[Se]=null):te[Se]=fe[Se])}return pe}function H(_){for(var Q=new Array(_.length),X=0;X<_.length;X++)Q[X]=S(_[X]);return Q}function k(){return[Infinity,-Infinity]}C.map=function(_,Q,X,pe){"use strict";X=X||pe||this,_=g.map(j(_),this.getDimension,this);var te=V(this,_);te._indices=this._indices,te.getRawIndex=te._indices?U:R;for(var fe=te._storage,be=[],Se=this._chunkSize,ze=_.length,Xe=this.count(),wt=[],Be=te._rawExtent,Me=0;MeJe[1]&&(Je[1]=gt)}}}return te},C.downSample=function(_,Q,X,pe){for(var te=V(this,[_]),fe=te._storage,be=[],Se=Math.floor(1/Q),ze=fe[_],Xe=this.count(),wt=this._chunkSize,Be=te._rawExtent[_],Me=new(O(this))(Xe),vt=0,at=0;atXe-at&&(Se=Xe-at,be.length=Se);for(var $e=0;$eBe[1]&&(Be[1]=Ve),Me[vt++]=gt}return te._count=vt,te._indices=Me,te.getRawIndex=U,te},C.getItemModel=function(_){var Q=this.hostModel;return new m(this.getRawDataItem(_),Q,Q&&Q.ecModel)},C.diff=function(_){var Q=this;return new A(_?_.getIndices():[],this.getIndices(),function(X){return M(_,X)},function(X){return M(Q,X)})},C.getVisual=function(_){var Q=this._visual;return Q&&Q[_]},C.setVisual=function(_,Q){if(n(_)){for(var X in _)_.hasOwnProperty(X)&&this.setVisual(X,_[X]);return}this._visual=this._visual||{},this._visual[_]=Q},C.setLayout=function(_,Q){if(n(_)){for(var X in _)_.hasOwnProperty(X)&&this.setLayout(X,_[X]);return}this._layout[_]=Q},C.getLayout=function(_){return this._layout[_]},C.getItemLayout=function(_){return this._itemLayouts[_]},C.setItemLayout=function(_,Q,X){this._itemLayouts[_]=X?g.extend(this._itemLayouts[_]||{},Q):Q},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(_,Q,X){var pe=this._itemVisuals[_],te=pe&&pe[Q];return te==null&&!X?this.getVisual(Q):te},C.setItemVisual=function(_,Q,X){var pe=this._itemVisuals[_]||{},te=this.hasItemVisual;if(this._itemVisuals[_]=pe,n(Q)){for(var fe in Q)Q.hasOwnProperty(fe)&&(pe[fe]=Q[fe],te[fe]=!0);return}pe[Q]=X,te[Q]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Z=function(_){_.seriesIndex=this.seriesIndex,_.dataIndex=this.dataIndex,_.dataType=this.dataType};C.setItemGraphicEl=function(_,Q){var X=this.hostModel;Q&&(Q.dataIndex=_,Q.dataType=this.dataType,Q.seriesIndex=X&&X.seriesIndex,Q.type==="group"&&Q.traverse(Z,Q)),this._graphicEls[_]=Q},C.getItemGraphicEl=function(_){return this._graphicEls[_]},C.eachItemGraphicEl=function(_,Q){g.each(this._graphicEls,function(X,pe){X&&(_&&_.call(Q,X,pe))})},C.cloneShallow=function(_){if(!_){var Q=g.map(this.dimensions,this.getDimensionInfo,this);_=new w(Q,this.hostModel)}if(_._storage=this._storage,T(_,this),this._indices){var X=this._indices.constructor;_._indices=new X(this._indices)}else _._indices=null;return _.getRawIndex=_._indices?U:R,_},C.wrapMethod=function(_,Q){var X=this[_];if(typeof X!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(_),this[_]=function(){var pe=X.apply(this,arguments);return Q.apply(this,[pe].concat(g.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var Y=w;J.exports=Y},YgsL:function(J,F,e){var c=e("QBsz"),E=c.distance;function g(A,b,f,i,r,o,s){var l=(f-A)*.5,n=(i-b)*.5;return(2*(b-f)+l+n)*s+(-3*(b-f)-2*l-n)*o+l*r+b}function m(A,b){for(var f=A.length,i=[],r=0,o=1;of-2?f-1:n+1],h=A[n>f-3?f-1:n+2]);var v=d*d,y=d*v;i.push([g(t[0],u[0],a[0],h[0],d,v,y),g(t[1],u[1],a[1],h[1],d,v,y)])}return i}J.exports=m},Yl7c:function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("bYtY"),m=".",A="___EC__COMPONENT__CONTAINER___";function b(t){var u={main:"",sub:""};return t&&(t=t.split(m),u.main=t[0]||"",u.sub=t[1]||""),u}function f(t){g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,u){t.$constructor=t,t.extend=function(a){var h=this,v=function(){a.$constructor?a.$constructor.apply(this,arguments):h.apply(this,arguments)};return g.extend(v.prototype,a),v.extend=this.extend,v.superCall=s,v.superApply=l,g.inherits(v,this),v.superClass=h,v}}var r=0;function o(t){var u=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[u]=!0,t.isInstance=function(a){return!!(a&&a[u])}}function s(t,u){var a=g.slice(arguments,2);return this.superClass.prototype[u].apply(t,a)}function l(t,u,a){return this.superClass.prototype[u].apply(t,a)}function n(t,u){u=u||{};var a={};t.registerClass=function(y,O){if(O){if(f(O),O=b(O),!O.sub)a[O.main]=y;else if(O.sub!==A){var S=h(O);S[O.sub]=y}}return y},t.getClass=function(y,O,S){var x=a[y];if(x&&x[A]&&(x=O?x[O]:null),S&&!x)throw new Error(O?"Component "+y+"."+(O||"")+" not exists. Load it first.":y+".type should be specified.");return x},t.getClassesByMainType=function(y){y=b(y);var O=[],S=a[y.main];return S&&S[A]?g.each(S,function(x,L){L!==A&&O.push(x)}):O.push(S),O},t.hasClass=function(y){return y=b(y),!!a[y.main]},t.getAllClassMainTypes=function(){var y=[];return g.each(a,function(O,S){y.push(S)}),y},t.hasSubTypes=function(y){y=b(y);var O=a[y.main];return O&&O[A]},t.parseClassType=b;function h(y){var O=a[y.main];return(!O||!O[A])&&(O=a[y.main]={},O[A]=!0),O}if(u.registerWhenExtend){var v=t.extend;v&&(t.extend=function(y){var O=v.call(this,y);return t.registerClass(O,y.type)})}return t}function d(t,u){}F.parseClassType=b,F.enableClassExtend=i,F.enableClassCheck=o,F.enableClassManagement=n,F.setReadOnly=d},Ynxi:function(J,F,e){var c=e("bYtY"),E=e("ProS"),g=e("IwbS"),m=e("+TT/"),A=m.getLayoutRect,b=e("7aKB"),f=b.windowOpen;E.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"}}}),E.extendComponentView({type:"title",render:function(i,r,o){if(this.group.removeAll(),!i.get("show"))return;var s=this.group,l=i.getModel("textStyle"),n=i.getModel("subtextStyle"),d=i.get("textAlign"),t=c.retrieve2(i.get("textBaseline"),i.get("textVerticalAlign")),u=new g.Text({style:g.setTextStyle({},l,{text:i.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),a=u.getBoundingRect(),h=i.get("subtext"),v=new g.Text({style:g.setTextStyle({},n,{text:h,textFill:n.getTextColor(),y:a.height+i.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),y=i.get("link"),O=i.get("sublink"),S=i.get("triggerEvent",!0);u.silent=!y&&!S,v.silent=!O&&!S,y&&u.on("click",function(){f(y,"_"+i.get("target"))}),O&&v.on("click",function(){f(y,"_"+i.get("subtarget"))}),u.eventData=v.eventData=S?{componentType:"title",componentIndex:i.componentIndex}:null,s.add(u),h&&s.add(v);var x=s.getBoundingRect(),L=i.getBoxLayoutParams();L.width=x.width,L.height=x.height;var T=A(L,{width:o.getWidth(),height:o.getHeight()},i.get("padding"));d||(d=i.get("left")||i.get("right"),d==="middle"&&(d="center"),d==="right"?T.x+=T.width:d==="center"&&(T.x+=T.width/2)),t||(t=i.get("top")||i.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?T.y+=T.height:t==="middle"&&(T.y+=T.height/2),t=t||"top"),s.attr("position",[T.x,T.y]);var w={textAlign:d,textVerticalAlign:t};u.setStyle(w),v.setStyle(w),x=s.getBoundingRect();var C=T.margin,N=i.getItemStyle(["color","opacity"]);N.fill=i.get("backgroundColor");var D=new g.Rect({shape:{x:x.x-C[3],y:x.y-C[0],width:x.width+C[1]+C[3],height:x.height+C[0]+C[2],r:i.get("borderRadius")},style:N,subPixelOptimize:!0,silent:!0});s.add(D)}})},YrtM:function(J,F,e){"use strict";e.d(F,"a",function(){return g});var c=e("q1tI"),E=e.n(c);function g(m,A,b){var f=c.useRef({});return(!("value"in f.current)||b(f.current.condition,A))&&(f.current.value=m(),f.current.condition=A),f.current.value}},Ywus:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("DO2E")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="DeleteOutlined";var f=g.forwardRef(b);F.default=f},Z0Lh:function(J,F,e){"use strict";var c=e("TqRt");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var E=c(e("pVnL")),g=c(e("HjOm")),m=c(e("Z6rY")),A={lang:(0,E.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},g.default),timePickerLocale:(0,E.default)({},m.default)};A.lang.ok="\u786E \u5B9A";var b=A;F.default=b},Z0cm:function(J,F){var e=Array.isArray;J.exports=e},Z1HP:function(J,F,e){var c=e("ycre"),E=e("quyA"),g=e("q4HE");function m(A){return E(A)?g(A):c(A)}J.exports=m},Z1r0:function(J,F){function e(c){var E=c.findComponents({mainType:"legend"});if(!E||!E.length)return;c.eachSeriesByType("graph",function(g){var m=g.getCategoriesData(),A=g.getGraph(),b=A.data,f=m.mapArray(m.getName);b.filterSelf(function(i){var r=b.getItemModel(i),o=r.getShallow("category");if(o!=null){typeof o=="number"&&(o=f[o]);for(var s=0;s0?1:-1,te=Q.height>0?1:-1;return{x:Q.x+pe*X/2,y:Q.y+te*X/2,width:Q.width-pe*X,height:Q.height-te*X}},polar:function(Z,Y,_){var Q=Z.getItemLayout(Y);return{cx:Q.cx,cy:Q.cy,r0:Q.r0,r:Q.r,startAngle:Q.startAngle,endAngle:Q.endAngle}}};function N(Z){return Z.startAngle!=null&&Z.endAngle!=null&&Z.startAngle===Z.endAngle}function D(Z,Y,_,Q,X,pe,te,fe){var be=Y.getItemVisual(_,"color"),Se=Y.getItemVisual(_,"opacity"),ze=Y.getVisual("borderColor"),Xe=Q.getModel("itemStyle"),wt=Q.getModel("emphasis.itemStyle").getBarItemStyle();fe||Z.setShape("r",Xe.get("barBorderRadius")||0),Z.useStyle(m.defaults({stroke:N(X)?"none":ze,fill:N(X)?"none":be,opacity:Se},Xe.getBarItemStyle()));var Be=Q.getShallow("cursor");Be&&Z.attr("cursor",Be);var Me=te?X.height>0?"bottom":"top":X.width>0?"left":"right";fe||f(Z.style,wt,Q,be,pe,_,Me),N(X)&&(wt.fill=wt.stroke="none"),A.setHoverStyle(Z,wt)}function B(Z,Y){var _=Z.get(a)||0,Q=isNaN(Y.width)?Number.MAX_VALUE:Math.abs(Y.width),X=isNaN(Y.height)?Number.MAX_VALUE:Math.abs(Y.height);return Math.min(_,Q,X)}var R=o.extend({type:"largeBar",shape:{points:[]},buildPath:function(Z,Y){for(var _=Y.points,Q=this.__startPoint,X=this.__baseDimIdx,pe=0;pe<_.length;pe+=2)Q[X]=_[pe+X],Z.moveTo(Q[0],Q[1]),Z.lineTo(_[pe],_[pe+1])}});function U(Z,Y,_){var Q=Z.getData(),X=[],pe=Q.getLayout("valueAxisHorizontal")?1:0;X[1-pe]=Q.getLayout("valueAxisStart");var te=Q.getLayout("largeDataIndices"),fe=Q.getLayout("barWidth"),be=Z.getModel("backgroundStyle"),Se=Z.get("showBackground",!0);if(Se){var ze=Q.getLayout("largeBackgroundPoints"),Xe=[];Xe[1-pe]=Q.getLayout("backgroundStart");var wt=new R({shape:{points:ze},incremental:!!_,__startPoint:Xe,__baseDimIdx:pe,__largeDataIndices:te,__barWidth:fe,silent:!0,z2:0});V(wt,be,Q),Y.add(wt)}var Be=new R({shape:{points:Q.getLayout("largePoints")},incremental:!!_,__startPoint:X,__baseDimIdx:pe,__largeDataIndices:te,__barWidth:fe});Y.add(Be),P(Be,Z,Q),Be.seriesIndex=Z.seriesIndex,Z.get("silent")||(Be.on("mousedown",M),Be.on("mousemove",M))}var M=n(function(Z){var Y=this,_=j(Y,Z.offsetX,Z.offsetY);Y.dataIndex=_>=0?_:null},30,!1);function j(Z,Y,_){var Q=Z.__baseDimIdx,X=1-Q,pe=Z.shape.points,te=Z.__largeDataIndices,fe=Math.abs(Z.__barWidth/2),be=Z.__startPoint[X];h[0]=Y,h[1]=_;for(var Se=h[Q],ze=h[1-Q],Xe=Se-fe,wt=Se+fe,Be=0,Me=pe.length/2;Be=Xe&&at<=wt&&(be<=$e?ze>=be&&ze<=$e:ze>=$e&&ze<=be))return te[Be]}return-1}function P(Z,Y,_){var Q=_.getVisual("borderColor")||_.getVisual("color"),X=Y.getModel("itemStyle").getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=_.getLayout("barWidth")}function V(Z,Y,_){var Q=Y.get("borderColor")||Y.get("color"),X=Y.getItemStyle(["color","borderColor"]);Z.useStyle(X),Z.style.fill=null,Z.style.stroke=Q,Z.style.lineWidth=_.getLayout("barWidth")}function H(Z,Y,_){var Q,X=_.type==="polar";return X?Q=_.getArea():Q=_.grid.getRect(),X?{cx:Q.cx,cy:Q.cy,r0:Z?Q.r0:Y.r0,r:Z?Q.r:Y.r,startAngle:Z?Y.startAngle:0,endAngle:Z?Y.endAngle:Math.PI*2}:{x:Z?Y.x:Q.x,y:Z?Q.y:Y.y,width:Z?Y.width:Q.width,height:Z?Q.height:Y.height}}function k(Z,Y,_){var Q=Z.type==="polar"?A.Sector:A.Rect;return new Q({shape:H(Y,_,Z),silent:!0,z2:0})}J.exports=y},ZCgT:function(J,F,e){var c=e("tLB3"),E=1/0,g=17976931348623157e292;function m(A){if(!A)return A===0?A:0;if(A=c(A),A===E||A===-E){var b=A<0?-1:1;return b*g}return A===A?A:0}J.exports=m},ZLWo:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var c={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"};F.default=c},ZMnZ:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("2oIt")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="UpOutlined";var f=g.forwardRef(b);F.default=f},ZTPi:function(J,F,e){"use strict";var c=e("pVnL"),E=e.n(c),g=e("lSNA"),m=e.n(g),A=e("q1tI"),b=e("ODXe"),f=e("Ff2n"),i=e("rePB"),r=e("TSYQ"),o=e.n(r),s=e("Zm9Q"),l=e("6cGi"),n=e("KQm4"),d=e("xEkU"),t=e.n(d),u=e("t23M");function a(Bt){var Kt=Object(A.useRef)(),Ge=Object(A.useRef)(!1);function qe(){for(var st=arguments.length,ft=new Array(st),nt=0;ntSt&&(ur=St-Lt),Object(A.useMemo)(function(){if(!ft.length)return[0,0];for(var Xt=ft.length,Zt=Xt,mr=0;mrPe+ur){Zt=mr-1;break}}for(var de=0,ue=Xt-1;ue>=0;ue-=1){var oe=Bt.get(ft[ue].key)||w;if(oe[lt]ie?(yt=Ue,Ce.current="x"):(yt=it,Ce.current="y");var z=Date.now();z-ae.current>100&&(ye.current=!1),(Kt(-yt,-yt)||ye.current)&&(xe.preventDefault(),ye.current=!0),ae.current=z}var Ie=Object(A.useRef)(null);Ie.current={onTouchStart:de,onTouchMove:ue,onTouchEnd:oe,onWheel:Oe},A.useEffect(function(){function xe(ee){Ie.current.onTouchStart(ee)}function Ue(ee){Ie.current.onTouchMove(ee)}function it(ee){Ie.current.onTouchEnd(ee)}function yt(ee){Ie.current.onWheel(ee)}return document.addEventListener("touchmove",Ue,{passive:!1}),document.addEventListener("touchend",it,{passive:!1}),Bt.current.addEventListener("touchstart",xe,{passive:!1}),Bt.current.addEventListener("wheel",yt),function(){document.removeEventListener("touchmove",Ue),document.removeEventListener("touchend",it)}},[])}function _(){var Bt=Object(A.useRef)(new Map);function Kt(qe){return Bt.current.has(qe)||Bt.current.set(qe,A.createRef()),Bt.current.get(qe)}function Ge(qe){Bt.current.delete(qe)}return[Kt,Ge]}function Q(Bt,Kt){var Ge=A.useRef(Bt),qe=A.useState({}),st=Object(b.a)(qe,2),ft=st[1];function nt(se){var me=typeof se=="function"?se(Ge.current):se;me!==Ge.current&&Kt(me,Ge.current),Ge.current=me,ft({})}return[Ge.current,nt]}function X(Bt,Kt){var Ge=Object.keys(Bt);if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Bt);Kt&&(qe=qe.filter(function(st){return Object.getOwnPropertyDescriptor(Bt,st).enumerable})),Ge.push.apply(Ge,qe)}return Ge}function pe(Bt){for(var Kt=1;KtHi?"left":"right"})}),yt=Object(b.a)(it,2),ee=yt[0],ie=yt[1],z=Q(0,function(aa,Hi){!Ue&&de&&de({direction:aa>Hi?"top":"bottom"})}),$=Object(b.a)(z,2),le=$[0],ge=$[1],Ae=Object(A.useState)(0),Re=Object(b.a)(Ae,2),Qe=Re[0],Ft=Re[1],Qt=Object(A.useState)(0),Et=Object(b.a)(Qt,2),Mt=Et[0],_t=Et[1],zt=Object(A.useState)(0),Ct=Object(b.a)(zt,2),lr=Ct[0],Jt=Ct[1],ke=Object(A.useState)(0),et=Object(b.a)(ke,2),We=et[0],Ke=et[1],mt=Object(A.useState)(null),dt=Object(b.a)(mt,2),He=dt[0],Ze=dt[1],ct=Object(A.useState)(null),Vt=Object(b.a)(ct,2),Rt=Vt[0],hr=Vt[1],pr=Object(A.useState)(0),Er=Object(b.a)(pr,2),Or=Er[0],en=Er[1],Qr=Object(A.useState)(0),Cr=Object(b.a)(Qr,2),Gr=Cr[0],Nr=Cr[1],sr=h(new Map),fr=Object(b.a)(sr,2),or=fr[0],dr=fr[1],Sr=T(ft,or,Qe),Xr="".concat(st,"-nav-operations-hidden"),cn=0,Dn=0;Ue?St?(cn=0,Dn=Math.max(0,Qe-He)):(cn=Math.min(0,He-Qe),Dn=0):(cn=Math.min(0,Rt-Mt),Dn=0);function jr(aa){return aaDn?[Dn,!1]:[aa,!0]}var Ln=Object(A.useRef)(),gn=Object(A.useState)(),Un=Object(b.a)(gn,2),Wn=Un[0],Jn=Un[1];function Qn(){Jn(Date.now())}function Kn(){window.clearTimeout(Ln.current)}Y(ue,function(aa,Hi){var ga=!1;function ha(mo,Pn){mo(function(qi){var eo=jr(qi+Pn),Lo=Object(b.a)(eo,2),co=Lo[0],er=Lo[1];return ga=er,co})}if(Ue){if(He>=Qe)return ga;ha(ie,aa)}else{if(Rt>=Mt)return ga;ha(ge,Hi)}return Kn(),Qn(),ga}),Object(A.useEffect)(function(){return Kn(),Wn&&(Ln.current=window.setTimeout(function(){Jn(0)},100)),Kn},[Wn]);function yn(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pe,Hi=Sr.get(aa);if(!Hi)return;if(Ue){var ga=ee;St?Hi.rightee+He&&(ga=Hi.right+Hi.width-He):Hi.left<-ee?ga=-Hi.left:Hi.left+Hi.width>-ee+He&&(ga=-(Hi.left+Hi.width-He)),ge(0),ie(jr(ga)[0])}else{var ha=le;Hi.top<-le?ha=-Hi.top:Hi.top+Hi.height>-le+Rt&&(ha=-(Hi.top+Hi.height-Rt)),ie(0),ge(jr(ha)[0])}}var on=C(Sr,{width:He,height:Rt,left:ee,top:le},{width:lr,height:We},{width:Or,height:Gr},pe(pe({},Bt),{},{tabs:ft})),ia=Object(b.a)(on,2),xa=ia[0],ta=ia[1],Ni=ft.map(function(aa){var Hi=aa.key;return A.createElement(O,{id:me,prefixCls:st,key:Hi,rtl:St,tab:aa,closable:aa.closable,editable:Lt,active:Hi===Pe,tabPosition:Xt,tabBarGutter:Zt,renderWrapper:mr,removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,ref:Ie(Hi),onClick:function(ha){qt(Hi,ha)},onRemove:function(){xe(Hi)},onFocus:function(){yn(Hi),Qn(),St||(ue.current.scrollLeft=0),ue.current.scrollTop=0}})}),Ci=a(function(){var aa,Hi,ga,ha,mo,Pn,qi,eo,Lo,co=((aa=ue.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,er=((Hi=ue.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Ir=((ga=ye.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Ur=((ha=ye.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Vr=((mo=ae.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Pn=ae.current)===null||Pn===void 0?void 0:Pn.offsetHeight)||0;Ze(co),hr(er),en(Ir),Nr(Ur);var Fe=(((qi=oe.current)===null||qi===void 0?void 0:qi.offsetWidth)||0)-Ir,Dt=(((eo=oe.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Ur;Ft(Fe),_t(Dt);var Gt=(Lo=ae.current)===null||Lo===void 0?void 0:Lo.className.includes(Xr);Jt(Fe-(Gt?0:Vr)),Ke(Dt-(Gt?0:hn)),dr(function(){var tr=new Map;return ft.forEach(function(Tr){var br=Tr.key,xr=Ie(br).current;xr&&tr.set(br,{width:xr.offsetWidth,height:xr.offsetHeight,left:xr.offsetLeft,top:xr.offsetTop})}),tr})}),Gn=ft.slice(0,xa),Ia=ft.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Ia)),In=Object(A.useState)(),On=Object(b.a)(In,2),Nn=On[0],jn=On[1],ni=Sr.get(Pe),di=Object(A.useRef)();function Da(){t.a.cancel(di.current)}Object(A.useEffect)(function(){var aa={};return ni&&(Ue?(St?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Da(),di.current=t()(function(){jn(aa)}),Da},[ni,Ue,St]),Object(A.useEffect)(function(){yn()},[Pe,ni,Sr,Ue]),Object(A.useEffect)(function(){Ci()},[St,Zt,Pe,ft.map(function(aa){return aa.key}).join("_")]);var Xi=!!mn.length,ma="".concat(st,"-nav-wrap"),_a,Xa,Vi,Co;return Ue?St?(Xa=ee>0,_a=ee+He0&&arguments[0]!==void 0?arguments[0]:"";return M+=1,"".concat(j).concat(M)}}(),R=function(M){o()(P,M);var j=l()(P);function P(V){var H;b()(this,P),H=j.call(this,V),H.responsiveHandler=function(Y){H.setState({below:Y.matches});var _=H.props.onBreakpoint,Q=H.state.collapsed;_&&_(Y.matches),Q!==Y.matches&&H.setCollapsed(Y.matches,"responsive")},H.setCollapsed=function(Y,_){"collapsed"in H.props||H.setState({collapsed:Y});var Q=H.props.onCollapse;Q&&Q(Y,_)},H.toggle=function(){var Y=!H.state.collapsed;H.setCollapsed(Y,"clickTrigger")},H.renderSider=function(Y){var _,Q=Y.getPrefixCls,X=H.props,pe=X.prefixCls,te=X.className,fe=X.theme,be=X.collapsible,Se=X.reverseArrow,ze=X.trigger,Xe=X.style,wt=X.width,Be=X.collapsedWidth,Me=X.zeroWidthTriggerStyle,vt=X.children,at=C(X,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),$e=H.state,bt=$e.collapsed,ut=$e.below,At=Q("layout-sider",pe),Ve=Object(u.default)(at,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),gt=bt?Be:wt,Je=w(gt)?"".concat(gt,"px"):String(gt),je=parseFloat(String(Be||0))===0?n.createElement("span",{onClick:H.toggle,className:t()("".concat(At,"-zero-width-trigger"),"".concat(At,"-zero-width-trigger-").concat(Se?"right":"left")),style:Me},ze||n.createElement(h.a,null)):null,De={expanded:Se?n.createElement(y.a,null):n.createElement(S.a,null),collapsed:Se?n.createElement(S.a,null):n.createElement(y.a,null)},ht=bt?"collapsed":"expanded",It=De[ht],kt=ze!==null?je||n.createElement("div",{className:"".concat(At,"-trigger"),onClick:H.toggle,style:{width:Je}},ze||It):null,Ht=m()(m()({},Xe),{flex:"0 0 ".concat(Je),maxWidth:Je,minWidth:Je,width:Je}),Wt=t()(te,At,"".concat(At,"-").concat(fe),(_={},E()(_,"".concat(At,"-collapsed"),!!bt),E()(_,"".concat(At,"-has-trigger"),be&&ze!==null&&!je),E()(_,"".concat(At,"-below"),!!ut),E()(_,"".concat(At,"-zero-width"),parseFloat(Je)===0),_));return n.createElement("aside",m()({className:Wt},Ve,{style:Ht}),n.createElement("div",{className:"".concat(At,"-children")},vt),be||ut&&je?kt:null)},H.uniqueId=B("ant-sider-");var k;typeof window!="undefined"&&(k=window.matchMedia),k&&V.breakpoint&&V.breakpoint in N&&(H.mql=k("(max-width: ".concat(N[V.breakpoint],")")));var Z;return"collapsed"in V?Z=V.collapsed:Z=V.defaultCollapsed,H.state={collapsed:Z,below:!1},H}return i()(P,[{key:"componentDidMount",value:function(){var H;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(H=this.props)===null||H===void 0||H.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var H,k;(H=this===null||this===void 0?void 0:this.mql)===null||H===void 0||H.removeListener(this.responsiveHandler),(k=this.props)===null||k===void 0||k.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var H=this.state.collapsed,k=this.props.collapsedWidth;return n.createElement(D.Provider,{value:{siderCollapsed:H,collapsedWidth:k}},n.createElement(L.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(H){return"collapsed"in H?{collapsed:H.collapsed}:null}}]),P}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var U=function(M){o()(P,M);var j=l()(P);function P(){return b()(this,P),j.apply(this,arguments)}return i()(P,[{key:"render",value:function(){var H=this;return n.createElement(x.a.Consumer,null,function(k){return n.createElement(R,m()({},k,H.props))})}}]),P}(n.Component)},ZYIC:function(J,F,e){var c=e("zM3Q"),E={seriesType:"lines",plan:c(),reset:function(g){var m=g.coordinateSystem,A=g.get("polyline"),b=g.pipelineContext.large;function f(i,r){var o=[];if(b){var s,l=i.end-i.start;if(A){for(var n=0,d=i.start;d>1)%2;h.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",d[v]+":0",t[y]+":0",d[1-v]+":auto",t[1-y]+":auto",""].join("!important;"),s.appendChild(a),n.push(a)}return n}function r(s,l,n){for(var d=n?"invTrans":"trans",t=l[d],u=l.srcCoords,a=!0,h=[],v=[],y=0;y<4;y++){var O=s[y].getBoundingClientRect(),S=2*y,x=O.left,L=O.top;h.push(x,L),a=a&&u&&x===u[S]&&L===u[S+1],v.push(s[y].offsetLeft,s[y].offsetTop)}return a&&t?t:(l.srcCoords=h,l[d]=n?g(v,h):g(h,v))}function o(s){return s.nodeName.toUpperCase()==="CANVAS"}F.transformLocalCoord=b,F.transformCoordWithViewport=f,F.isCanvasEl=o},Znkb:function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("ProS"),m=e("zTMp"),A=g.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(o,s,l,n){this.axisPointerClass&&m.fixValue(o),A.superApply(this,"render",arguments),b(this,o,s,l,n,!0)},updateAxisPointer:function(o,s,l,n,d){b(this,o,s,l,n,!1)},remove:function(o,s){var l=this._axisPointer;l&&l.remove(s),A.superApply(this,"remove",arguments)},dispose:function(o,s){f(this,s),A.superApply(this,"dispose",arguments)}});function b(o,s,l,n,d,t){var u=A.getAxisPointerClass(o.axisPointerClass);if(!u)return;var a=m.getAxisPointerModel(s);a?(o._axisPointer||(o._axisPointer=new u)).render(s,a,n,t):f(o,n)}function f(o,s,l){var n=o._axisPointer;n&&n.dispose(s,l),o._axisPointer=null}var i=[];A.registerAxisPointerClass=function(o,s){i[o]=s},A.getAxisPointerClass=function(o){return o&&i[o]};var r=A;J.exports=r},"Znn+":function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("9ama"),m=e.n(g)},ZqQs:function(J,F,e){var c=e("bYtY");function E(b){var f=b&&b.timeline;c.isArray(f)||(f=f?[f]:[]),c.each(f,function(i){if(!i)return;g(i)})}function g(b){var f=b.type,i={number:"value",time:"time"};if(i[f]&&(b.axisType=i[f],delete b.type),m(b),A(b,"controlPosition")){var r=b.controlStyle||(b.controlStyle={});A(r,"position")||(r.position=b.controlPosition),r.position==="none"&&!A(r,"show")&&(r.show=!1,delete r.position),delete b.controlPosition}c.each(b.data||[],function(o){c.isObject(o)&&!c.isArray(o)&&(!A(o,"value")&&A(o,"name")&&(o.value=o.name),m(o))})}function m(b){var f=b.itemStyle||(b.itemStyle={}),i=f.emphasis||(f.emphasis={}),r=b.label||b.label||{},o=r.normal||(r.normal={}),s={normal:1,emphasis:1};c.each(r,function(l,n){!s[n]&&!A(o,n)&&(o[n]=l)}),i.label&&!A(r,"emphasis")&&(r.emphasis=i.label,delete i.label)}function A(b,f){return b.hasOwnProperty(f)}J.exports=E},Zvw2:function(J,F,e){var c=e("bYtY"),E=e("hM6l"),g=function(A,b,f,i,r){E.call(this,A,b,f),this.type=i||"value",this.position=r||"bottom",this.orient=null};g.prototype={constructor:g,model:null,isHorizontal:function(){var A=this.position;return A==="top"||A==="bottom"},pointToData:function(A,b){return this.coordinateSystem.pointToData(A,b)[0]},toGlobalCoord:null,toLocalCoord:null},c.inherits(g,E);var m=g;J.exports=m},a7Wl:function(J,F,e){"use strict";Object.defineProperty(F,"__esModule",{value:!0});var c={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"};F.default=c},a9QJ:function(J,F){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function c(E,g){if(E==="world"){var m=e[g.name];if(m){var A=g.center;A[0]=m[0],A[1]=m[1]}}}J.exports=c},aCH8:function(J,F,e){(function(){var c=e("ANhw"),E=e("mmNF").utf8,g=e("BEtg"),m=e("mmNF").bin,A=function b(f,i){f.constructor==String?i&&i.encoding==="binary"?f=m.stringToBytes(f):f=E.stringToBytes(f):g(f)?f=Array.prototype.slice.call(f,0):!Array.isArray(f)&&f.constructor!==Uint8Array&&(f=f.toString());for(var r=c.bytesToWords(f),o=f.length*8,s=1732584193,l=-271733879,n=-1732584194,d=271733878,t=0;t>>24)&16711935|(r[t]<<24|r[t]>>>8)&4278255360;r[o>>>5]|=128<>>9<<4)+14]=o;for(var u=b._ff,a=b._gg,h=b._hh,v=b._ii,t=0;t>>0,l=l+O>>>0,n=n+S>>>0,d=d+x>>>0}return c.endian([s,l,n,d])};A._ff=function(b,f,i,r,o,s,l){var n=b+(f&i|~f&r)+(o>>>0)+l;return(n<>>32-s)+f},A._gg=function(b,f,i,r,o,s,l){var n=b+(f&r|i&~r)+(o>>>0)+l;return(n<>>32-s)+f},A._hh=function(b,f,i,r,o,s,l){var n=b+(f^i^r)+(o>>>0)+l;return(n<>>32-s)+f},A._ii=function(b,f,i,r,o,s,l){var n=b+(i^(f|~r))+(o>>>0)+l;return(n<>>32-s)+f},A._blocksize=16,A._digestsize=16,J.exports=function(b,f){if(b==null)throw new Error("Illegal argument "+b);var i=c.wordsToBytes(A(b,f));return f&&f.asBytes?i:f&&f.asString?m.bytesToString(i):c.bytesToHex(i)}})()},aHsQ:function(J,F,e){"use strict";var c=e("cIOH"),E=e.n(c),g=e("6D9b"),m=e.n(g)},aKvl:function(J,F,e){var c=e("Sj9i"),E=c.quadraticProjectPoint;function g(m,A,b,f,i,r,o,s,l){if(o===0)return!1;var n=o;if(l>A+n&&l>f+n&&l>r+n||lm+n&&s>b+n&&s>i+n||s0&&N>0&&!M&&(C=0),C<0&&N<0&&!j&&(N=0));var P=T.ecModel;if(P&&w==="time"){var V=r("bar",P),H;if(g.each(V,function(Y){H|=Y.getBaseAxis()===T.axis}),H){var k=o(V),Z=d(C,N,T,k);C=Z.min,N=Z.max}}return{extent:[C,N],fixMin:M,fixMax:j}}function d(L,T,w,C){var N=w.axis.getExtent(),D=N[1]-N[0],B=s(C,w.axis);if(B===void 0)return{min:L,max:T};var R=Infinity;g.each(B,function(H){R=Math.min(H.offset,R)});var U=-Infinity;g.each(B,function(H){U=Math.max(H.offset+H.width,U)}),R=Math.abs(R),U=Math.abs(U);var M=R+U,j=T-L,P=1-(R+U)/D,V=j/P-j;return T+=V*(U/M),L-=V*(R/M),{min:L,max:T}}function t(L,T){var w=n(L,T),C=w.extent,N=T.get("splitNumber");L.type==="log"&&(L.base=T.get("logBase"));var D=L.type;L.setExtent(C[0],C[1]),L.niceExtent({splitNumber:N,fixMin:w.fixMin,fixMax:w.fixMax,minInterval:D==="interval"||D==="time"?T.get("minInterval"):null,maxInterval:D==="interval"||D==="time"?T.get("maxInterval"):null});var B=T.get("interval");B!=null&&(L.setInterval&&L.setInterval(B))}function u(L,T){if(T=T||L.get("type"),T)switch(T){case"category":return new m(L.getOrdinalMeta?L.getOrdinalMeta():L.getCategories(),[Infinity,-Infinity]);case"value":return new A;default:return(b.getClass(T)||A).create(L)}}function a(L){var T=L.scale.getExtent(),w=T[0],C=T[1];return!(w>0&&C>0||w<0&&C<0)}function h(L){var T=L.getLabelModel().get("formatter"),w=L.type==="category"?L.scale.getExtent()[0]:null;return typeof T=="string"?(T=function(C){return function(N){return N=L.scale.getLabel(N),C.replace("{value}",N!=null?N:"")}}(T),T):typeof T=="function"?function(C,N){return w!=null&&(N=C-w),T(v(L,C),N)}:function(C){return L.scale.getLabel(C)}}function v(L,T){return L.type==="category"?L.scale.getLabel(T):T}function y(L){var T=L.model,w=L.scale;if(!T.get("axisLabel.show")||w.isBlank())return;var C=L.type==="category",N,D,B=w.getExtent();C?D=w.count():(N=w.getTicks(),D=N.length);var R=L.getLabelModel(),U=h(L),M,j=1;D>40&&(j=Math.ceil(D/40));for(var P=0;PZ.blockIndex,Q=_?Z.step:null,X=Y&&Y.modDataCount,pe=X!=null?Math.ceil(X/Q):null;return{step:Q,modBy:pe,modDataCount:X}},u.getPipeline=function(H){return this._pipelineMap.get(H)},u.updateStreamModes=function(H,k){var Z=this._pipelineMap.get(H.uid),Y=H.getData(),_=Y.count(),Q=Z.progressiveEnabled&&k.incrementalPrepareRender&&_>=Z.threshold,X=H.get("large")&&_>=H.get("largeThreshold"),pe=H.get("progressiveChunkMode")==="mod"?_:null;H.pipelineContext=Z.context={progressiveRender:Q,modDataCount:pe,large:X}},u.restorePipelines=function(H){var k=this,Z=k._pipelineMap=A();H.eachSeries(function(Y){var _=Y.getProgressive(),Q=Y.uid;Z.set(Q,{id:Q,head:null,tail:null,threshold:Y.getProgressiveThreshold(),progressiveEnabled:_&&!(Y.preventIncremental&&Y.preventIncremental()),blockIndex:-1,step:Math.round(_||700),count:0}),B(k,Y,Y.dataTask)})},u.prepareStageTasks=function(){var H=this._stageTaskMap,k=this.ecInstance.getModel(),Z=this.api;E(this._allHandlers,function(Y){var _=H.get(Y.uid)||H.set(Y.uid,[]);Y.reset&&v(this,Y,_,k,Z),Y.overallReset&&y(this,Y,_,k,Z)},this)},u.prepareView=function(H,k,Z,Y){var _=H.renderTask,Q=_.context;Q.model=k,Q.ecModel=Z,Q.api=Y,_.__block=!H.incrementalPrepareRender,B(this,k,_)},u.performDataProcessorTasks=function(H,k){a(this,this._dataProcessorHandlers,H,k,{block:!0})},u.performVisualTasks=function(H,k,Z){a(this,this._visualHandlers,H,k,Z)};function a(H,k,Z,Y,_){_=_||{};var Q;E(k,function(pe,te){if(_.visualType&&_.visualType!==pe.visualType)return;var fe=H._stageTaskMap.get(pe.uid),be=fe.seriesTaskMap,Se=fe.overallTask;if(Se){var ze,Xe=Se.agentStubMap;Xe.each(function(Be){X(_,Be)&&(Be.dirty(),ze=!0)}),ze&&Se.dirty(),h(Se,Y);var wt=H.getPerformArgs(Se,_.block);Xe.each(function(Be){Be.perform(wt)}),Q|=Se.perform(wt)}else be&&be.each(function(Be,Me){X(_,Be)&&Be.dirty();var vt=H.getPerformArgs(Be,_.block);vt.skip=!pe.performRawSeries&&Z.isSeriesFiltered(Be.context.model),h(Be,Y),Q|=Be.perform(vt)})});function X(pe,te){return pe.setDirty&&(!pe.dirtyMap||pe.dirtyMap.get(te.__pipeline.id))}H.unfinished|=Q}u.performSeriesTasks=function(H){var k;H.eachSeries(function(Z){k|=Z.dataTask.perform()}),this.unfinished|=k},u.plan=function(){this._pipelineMap.each(function(H){var k=H.tail;do{if(k.__block){H.blockIndex=k.__idxInPipeline;break}k=k.getUpstream()}while(k)})};var h=u.updatePayload=function(H,k){k!=="remain"&&(H.context.payload=k)};function v(H,k,Z,Y,_){var Q=Z.seriesTaskMap||(Z.seriesTaskMap=A()),X=k.seriesType,pe=k.getTargetSeries;k.createOnAllSeries?Y.eachRawSeries(te):X?Y.eachRawSeriesByType(X,te):pe&&pe(Y,_).each(te);function te(be){var Se=be.uid,ze=Q.get(Se)||Q.set(Se,i({plan:T,reset:w,count:D}));ze.context={model:be,ecModel:Y,api:_,useClearVisual:k.isVisual&&!k.isLayout,plan:k.plan,reset:k.reset,scheduler:H},B(H,be,ze)}var fe=H._pipelineMap;Q.each(function(be,Se){fe.get(Se)||(be.dispose(),Q.removeKey(Se))})}function y(H,k,Z,Y,_){var Q=Z.overallTask=Z.overallTask||i({reset:O});Q.context={ecModel:Y,api:_,overallReset:k.overallReset,scheduler:H};var X=Q.agentStubMap=Q.agentStubMap||A(),pe=k.seriesType,te=k.getTargetSeries,fe=!0,be=k.modifyOutputEnd;pe?Y.eachRawSeriesByType(pe,Se):te?te(Y,_).each(Se):(fe=!1,E(Y.getSeries(),Se));function Se(Xe){var wt=Xe.uid,Be=X.get(wt);Be||(Be=X.set(wt,i({reset:S,onDirty:L})),Q.dirty()),Be.context={model:Xe,overallProgress:fe,modifyOutputEnd:be},Be.agent=Q,Be.__block=fe,B(H,Xe,Be)}var ze=H._pipelineMap;X.each(function(Xe,wt){ze.get(wt)||(Xe.dispose(),Q.dirty(),X.removeKey(wt))})}function O(H){H.overallReset(H.ecModel,H.api,H.payload)}function S(H,k){return H.overallProgress&&x}function x(){this.agent.dirty(),this.getDownstream().dirty()}function L(){this.agent&&this.agent.dirty()}function T(H){return H.plan&&H.plan(H.model,H.ecModel,H.api,H.payload)}function w(H){H.useClearVisual&&H.data.clearAllVisual();var k=H.resetDefines=d(H.reset(H.model,H.ecModel,H.api,H.payload));return k.length>1?g(k,function(Z,Y){return N(Y)}):C}var C=N(0);function N(H){return function(k,Z){var Y=Z.data,_=Z.resetDefines[H];if(_&&_.dataEach)for(var Q=k.start;Q=0&&!(s[d]<=r);d--);d=Math.min(d,l-2)}else{for(var d=n;dr);d++);d=Math.min(d-1,l-2)}m.lerp(i.position,o[d],o[d+1],(r-s[d])/(s[d+1]-s[d]));var u=o[d+1][0]-o[d][0],a=o[d+1][1]-o[d][1];i.rotation=-Math.atan2(a,u)-Math.PI/2,this._lastFrame=d,this._lastFramePercent=r,i.ignore=!1},E.inherits(A,g);var f=A;J.exports=f},apAg:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("bsht")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="SearchOutlined";var f=g.forwardRef(b);F.default=f},as94:function(J,F,e){var c=e("7aKB"),E=e("3LNs"),g=e("IwbS"),m=e("/y7N"),A=e("Fofx"),b=e("+rIm"),f=e("Znkb"),i=E.extend({makeElOption:function(l,n,d,t,u){var a=d.axis;a.dim==="angle"&&(this.animationThreshold=Math.PI/18);var h=a.polar,v=h.getOtherAxis(a),y=v.getExtent(),O;O=a["dataTo"+c.capitalFirst(a.dim)](n);var S=t.get("type");if(S&&S!=="none"){var x=m.buildElStyle(t),L=o[S](a,h,O,y,x);L.style=x,l.graphicKey=L.type,l.pointer=L}var T=t.get("label.margin"),w=r(n,d,t,h,T);m.buildLabelElOption(l,d,t,u,w)}});function r(l,n,d,t,u){var a=n.axis,h=a.dataToCoord(l),v=t.getAngleAxis().getExtent()[0];v=v/180*Math.PI;var y=t.getRadiusAxis().getExtent(),O,S,x;if(a.dim==="radius"){var L=A.create();A.rotate(L,L,v),A.translate(L,L,[t.cx,t.cy]),O=g.applyTransform([h,-u],L);var T=n.getModel("axisLabel").get("rotate")||0,w=b.innerTextLayout(v,T*Math.PI/180,-1);S=w.textAlign,x=w.textVerticalAlign}else{var C=y[1];O=t.coordToPoint([C+u,h]);var N=t.cx,D=t.cy;S=Math.abs(O[0]-N)/C<.3?"center":O[0]>N?"left":"right",x=Math.abs(O[1]-D)/C<.3?"middle":O[1]>D?"top":"bottom"}return{position:O,align:S,verticalAlign:x}}var o={line:function(l,n,d,t,u){return l.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([t[0],d]),n.coordToPoint([t[1],d]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:d}}},shadow:function(l,n,d,t,u){var a=Math.max(1,l.getBandWidth()),h=Math.PI/180;return l.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,t[0],t[1],(-d-a/2)*h,(-d+a/2)*h)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,d-a/2,d+a/2,0,Math.PI*2)}}};f.registerAxisPointerClass("PolarAxisPointer",i);var s=i;J.exports=s},b56q:function(J,F,e){},b80T:function(J,F,e){var c=e("UNi/"),E=e("03A+"),g=e("Z0cm"),m=e("DSRE"),A=e("wJg7"),b=e("c6wG"),f=Object.prototype,i=f.hasOwnProperty;function r(o,s){var l=g(o),n=!l&&E(o),d=!l&&!n&&m(o),t=!l&&!n&&!d&&b(o),u=l||n||d||t,a=u?c(o.length,String):[],h=a.length;for(var v in o)(s||i.call(o,v))&&!(u&&(v=="length"||d&&(v=="offset"||v=="parent")||t&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||A(v,h)))&&a.push(v);return a}J.exports=r},b80e:function(J,F,e){"use strict";var c=e("TqRt"),E=e("284h");Object.defineProperty(F,"__esModule",{value:!0}),F.default=void 0;var g=E(e("q1tI")),m=c(e("gKaM")),A=c(e("KQxl")),b=function(r,o){return g.createElement(A.default,Object.assign({},r,{ref:o,icon:m.default}))};b.displayName="DoubleLeftOutlined";var f=g.forwardRef(b);F.default=f},b9oc:function(J,F,e){var c=e("bYtY"),E=c.each,g="\0_ec_hist_store";function m(r,o){var s=i(r);E(o,function(l,n){for(var d=s.length-1;d>=0;d--){var t=s[d];if(t[n])break}if(d<0){var u=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(u){var a=u.getPercentRange();s[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}}),s.push(o)}function A(r){var o=i(r),s=o[o.length-1];o.length>1&&o.pop();var l={};return E(s,function(n,d){for(var t=o.length-1;t>=0;t--){var n=o[t][d];if(n){l[d]=n;break}}}),l}function b(r){r[g]=null}function f(r){return i(r).length}function i(r){var o=r[g];return o||(o=r[g]=[{}]),o}F.push=m,F.pop=A,F.clear=b,F.count=f},bBKM:function(J,F,e){var c=e("Tghj"),E=c.__DEV__,g=e("ProS"),m=e("bYtY"),A=e("+rIm"),b=e("IwbS"),f=["axisLine","axisTickLabel","axisName"],i=g.extendComponentView({type:"radar",render:function(r,o,s){var l=this.group;l.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},_buildAxes:function(r){var o=r.coordinateSystem,s=o.getIndicatorAxes(),l=m.map(s,function(n){var d=new A(n.model,{position:[o.cx,o.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return d});m.each(l,function(n){m.each(f,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(r){var o=r.coordinateSystem,s=o.getIndicatorAxes();if(!s.length)return;var l=r.get("shape"),n=r.getModel("splitLine"),d=r.getModel("splitArea"),t=n.getModel("lineStyle"),u=d.getModel("areaStyle"),a=n.get("show"),h=d.get("show"),v=t.get("color"),y=u.get("color");v=m.isArray(v)?v:[v],y=m.isArray(y)?y:[y];var O=[],S=[];function x(V,H,k){var Z=k%H.length;return V[Z]=V[Z]||[],Z}if(l==="circle")for(var L=s[0].getTicksCoords(),T=o.cx,w=o.cy,C=0;C1&&arguments[1]!==void 0?arguments[1]:"",j=arguments.length>2?arguments[2]:void 0,P=b()(U),V=w(M,j);return V&&P.push(V),P},N=function(U){var M=U.prefixCls,j=U.separator,P=j===void 0?"/":j,V=U.style,H=U.className,k=U.routes,Z=U.children,Y=U.itemRender,_=Y===void 0?T:Y,Q=U.params,X=Q===void 0?{}:Q,pe=x(U,["prefixCls","separator","style","className","routes","children","itemRender","params"]),te=f.useContext(d.b),fe=te.getPrefixCls,be=te.direction,Se,ze=fe("breadcrumb",M);if(k&&k.length>0){var Xe=[];Se=k.map(function(Be){var Me=w(Be.path,X);Me&&Xe.push(Me);var vt;return Be.children&&Be.children.length&&(vt=f.createElement(y.a,null,Be.children.map(function(at){return f.createElement(y.a.Item,{key:at.path||at.breadcrumbName},_(at,X,k,C(Xe,at.path,X)))}))),f.createElement(a,{overlay:vt,separator:P,key:Me||Be.breadcrumbName},_(Be,X,k,Xe))})}else Z&&(Se=Object(o.a)(Z).map(function(Be,Me){return Be&&(Object(O.a)(Be.type&&(Be.type.__ANT_BREADCRUMB_ITEM===!0||Be.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(S.a)(Be,{separator:P,key:Me}))}));var wt=r()(H,ze,m()({},"".concat(ze,"-rtl"),be==="rtl"));return f.createElement("div",E()({className:wt,style:V},pe),Se)};N.Item=a,N.Separator=v;var D=N,B=F.a=D},bKJz:function(J,F,e){},bLfw:function(J,F,e){var c=e("bYtY"),E=e("Qxkt"),g=e("iRjW"),m=e("Yl7c"),A=m.enableClassManagement,b=m.parseClassType,f=e("4NO4"),i=f.makeInner,r=e("+TT/"),o=e("3hzK"),s=i(),l=E.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,u,a,h){E.call(this,t,u,a,h),this.uid=g.getUID("ec_cpt_model")},init:function(t,u,a,h){this.mergeDefaultAndTheme(t,a)},mergeDefaultAndTheme:function(t,u){var a=this.layoutMode,h=a?r.getLayoutParams(t):{},v=u.getTheme();c.merge(t,v.get(this.mainType)),c.merge(t,this.getDefaultOption()),a&&r.mergeLayoutParam(t,h,a)},mergeOption:function(t,u){c.merge(this.option,t,!0);var a=this.layoutMode;a&&r.mergeLayoutParam(this.option,t,a)},optionUpdated:function(t,u){},getDefaultOption:function(){var t=s(this);if(!t.defaultOption){for(var u=[],a=this.constructor;a;){var h=a.prototype.defaultOption;h&&u.push(h),a=a.superClass}for(var v={},y=u.length-1;y>=0;y--)v=c.merge(v,u[y],!0);t.defaultOption=v}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});A(l,{registerWhenExtend:!0}),g.enableSubTypeDefaulter(l),g.enableTopologicalTravel(l,n);function n(t){var u=[];return c.each(l.getClassesByMainType(t),function(a){u=u.concat(a.prototype.dependencies||[])}),u=c.map(u,function(a){return b(a).main}),t!=="dataset"&&c.indexOf(u,"dataset")<=0&&u.unshift("dataset"),u}c.mixin(l,o);var d=l;J.exports=d},bMXI:function(J,F,e){var c=e("bYtY"),E=e("QBsz"),g=e("Fofx"),m=e("mFDi"),A=e("DN4a"),b=E.applyTransform;function f(){A.call(this)}c.mixin(f,A);function i(s){this.name=s,this.zoomLimit,A.call(this),this._roamTransformable=new f,this._rawTransformable=new f,this._center,this._zoom}i.prototype={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(s,l,n,d){return this._rect=new m(s,l,n,d),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,l,n,d){this.transformTo(s,l,n,d),this._viewRect=new m(s,l,n,d)},transformTo:function(s,l,n,d){var t=this.getBoundingRect(),u=this._rawTransformable;u.transform=t.calculateTransform(new m(s,l,n,d)),u.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var l=this.zoomLimit;l&&(l.max!=null&&(s=Math.min(l.max,s)),l.min!=null&&(s=Math.max(l.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),l=s.x+s.width/2,n=s.y+s.height/2;return[l,n]},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(),l=this._roamTransformable,n=this.getDefaultCenter(),d=this.getCenter(),t=this.getZoom();d=E.applyTransform([],d,s),n=E.applyTransform([],n,s),l.origin=d,l.position=[n[0]-d[0],n[1]-d[1]],l.scale=[t,t],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,l=this._rawTransformable;l.parent=s,s.updateTransform(),l.updateTransform(),g.copy(this.transform||(this.transform=[]),l.transform||g.create()),this._rawTransform=l.getLocalTransform(),this.invTransform=this.invTransform||[],g.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,l=this._rawTransformable;return{roamTransform:s?c.slice(s):g.create(),rawScale:c.slice(l.scale),rawPosition:c.slice(l.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,l,n){var d=l?this._rawTransform:this.transform;return n=n||[],d?b(n,s,d):E.copy(n,s)},pointToData:function(s){var l=this.invTransform;return l?b([],s,l):[s[0],s[1]]},convertToPixel:c.curry(r,"dataToPoint"),convertFromPixel:c.curry(r,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},c.mixin(i,A);function r(s,l,n,d){var t=n.seriesModel,u=t?t.coordinateSystem:null;return u===this?u[s](d):null}var o=i;J.exports=o},bNin:function(J,F,e){var c=e("bYtY"),E=e("IwbS"),g=e("FBjb"),m=e("Itpr"),A=m.radialCoordinate,b=e("ProS"),f=e("4mN7"),i=e("bMXI"),r=e("Ae+d"),o=e("SgGq"),s=e("xSat"),l=s.onIrrelevantElement,n=e("Tghj"),d=n.__DEV__,t=e("OELB"),u=t.parsePercent,a=E.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(T,w){var C=w.childPoints,N=C.length,D=w.parentPoint,B=C[0],R=C[N-1];if(N===1){T.moveTo(D[0],D[1]),T.lineTo(B[0],B[1]);return}var U=w.orient,M=U==="TB"||U==="BT"?0:1,j=1-M,P=u(w.forkPosition,1),V=[];V[M]=D[M],V[j]=D[j]+(R[j]-D[j])*P,T.moveTo(D[0],D[1]),T.lineTo(V[0],V[1]),T.moveTo(B[0],B[1]),V[M]=B[M],T.lineTo(V[0],V[1]),V[M]=R[M],T.lineTo(V[0],V[1]),T.lineTo(R[0],R[1]);for(var H=1;HQ.x,te||(pe=pe-Math.PI));var be=te?"left":"right",Se=B.labelModel.get("rotate"),ze=Se*(Math.PI/180);Y.setStyle({textPosition:B.labelModel.get("position")||be,textRotation:Se==null?-pe:ze,textOrigin:"center",verticalAlign:"middle"})}S(D,U,j,C,k,H,Z,N,B)}function S(T,w,C,N,D,B,R,U,M){var j=M.edgeShape,P=N.__edge;if(j==="curve")w.parentNode&&w.parentNode!==C&&(P||(P=N.__edge=new E.BezierCurve({shape:L(M,D,D),style:c.defaults({opacity:0,strokeNoScale:!0},M.lineStyle)})),E.updateProps(P,{shape:L(M,B,R),style:{opacity:1}},T));else if(j==="polyline"&&(M.layout==="orthogonal"&&(w!==C&&w.children&&w.children.length!==0&&w.isExpand===!0))){for(var V=w.children,H=[],k=0;k